Compare commits

..

2541 Commits

Author SHA1 Message Date
rogerl%netscape.com
1be2a254ab Bug fix #31255, copied from tip.
git-svn-id: svn://10.0.0.236/branches/JS_150_RC2@76290 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 21:31:53 +00:00
mccabe%netscape.com
876455a0c2 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/branches/JS_150_RC2@76171 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 23:55:07 +00:00
mccabe%netscape.com
21e1124549 Quiet a few warnings.
git-svn-id: svn://10.0.0.236/branches/JS_150_RC2@76096 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 05:51:45 +00:00
mccabe%netscape.com
5b9d4d00fe Propagate mac-happy fix from tip.
git-svn-id: svn://10.0.0.236/branches/JS_150_RC2@76084 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 03:27:50 +00:00
mccabe%netscape.com
ec59086efc 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/branches/JS_150_RC2@76041 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:12:05 +00:00
mccabe%netscape.com
533b43cde1 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/branches/JS_150_RC2@76040 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:11:13 +00:00
mccabe%netscape.com
fe3675bafb 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/branches/JS_150_RC2@76039 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:10:03 +00:00
rogerl%netscape.com
054615e9b5 Implementation of fixes for bugs #44623 & #34276
git-svn-id: svn://10.0.0.236/branches/JS_150_RC2@75602 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-04 21:18:36 +00:00
(no author)
c254065b69 This commit was manufactured by cvs2svn to create branch 'JS_150_RC2'.
git-svn-id: svn://10.0.0.236/branches/JS_150_RC2@75386 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 03:58:00 +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
nboyd%atg.com
f3d136281d Fix 45928 NativeDate uses getDeclaredConstructor instead of getConstructor
git-svn-id: svn://10.0.0.236/trunk@74591 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 17:13:09 +00:00
dave%intrec.com
8fd36b7245 Fix for bug 46002 (reports.cgi allows users to view restricted products).
Patch submitted by jmrobins@tgix.com (Joe Robins)


git-svn-id: svn://10.0.0.236/trunk@74590 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 17:00:40 +00:00
tao%netscape.com
dc36edc43c add langenus to separate en-US files from browser.xpi. not part of build
yet.


git-svn-id: svn://10.0.0.236/trunk@74589 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 08:11:32 +00:00
dprice%netscape.com
f13bc9ce48 adding manifest file for chrome packaging
NOT IN THE BUILD


git-svn-id: svn://10.0.0.236/trunk@74588 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 06:46:53 +00:00
dprice%netscape.com
545922dd6d fixing typos
git-svn-id: svn://10.0.0.236/trunk@74587 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 06:39:21 +00:00
dprice%netscape.com
3d2cd88eaf adding manifest file for jar repackaging of the chrome
NOT IN THE BUILD


git-svn-id: svn://10.0.0.236/trunk@74586 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 06:38:38 +00:00
mcafee%netscape.com
303f666fe2 Adding norules=0 option.
git-svn-id: svn://10.0.0.236/trunk@74585 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 06:12:27 +00:00
mcafee%netscape.com
28d12a138f Adding named anchors.
git-svn-id: svn://10.0.0.236/trunk@74584 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 06:05:37 +00:00
beard%netscape.com
c60b287418 added jsmath.cpp/h
git-svn-id: svn://10.0.0.236/trunk@74583 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 05:07:29 +00:00
beard%netscape.com
ca49549765 XML project file.
git-svn-id: svn://10.0.0.236/trunk@74582 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 05:07:05 +00:00
beard%netscape.com
f30949654f update dependencies to include jsmath.o
git-svn-id: svn://10.0.0.236/trunk@74581 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 05:01:10 +00:00
beard%netscape.com
1481de28ca add jsmath.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@74580 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 05:00:43 +00:00
beard%netscape.com
13d5767bc1 scope of loop variables fix
git-svn-id: svn://10.0.0.236/trunk@74579 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 05:00:10 +00:00
mcafee%netscape.com
f2e743c74d Changing default of nocrap=1 to legend=0. This both renames nocrap and flips the default behaviour. Most of us don't need to see this stuff by default.
git-svn-id: svn://10.0.0.236/trunk@74578 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 04:55:45 +00:00
neeti%netscape.com
654207280e Fix for bug 38244 - modified files cached incorrectly,r=ruslan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74577 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 04:33:26 +00:00
mscott%netscape.com
e0ab81042f Bug #45689 --> someone left mimetypes.xpt (a necko library) out of the packages file. This caused the helper app
dialog to crash in release builds because it's the only JS code that tries to use interfaces in this .xpt file.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@74576 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 02:53:01 +00:00
mscott%netscape.com
ae43980cd5 Bug #45689 --> someone left mimetypes.xpt (a necko library) out of the packages file. This caused the helper app
dialog to crash in release builds because it's the only JS code that tries to use interfaces in this .xpt file.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@74575 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 02:52:32 +00:00
bryner%uiuc.edu
0b33e0b54b Fix for dogfood bug 45986. r=akkana.
git-svn-id: svn://10.0.0.236/trunk@74574 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 02:10:05 +00:00
rhp%netscape.com
b4d961042c Fix to prevent too much information being displayed to hackers - Bug 1566 - r: ducarroz
git-svn-id: svn://10.0.0.236/trunk@74573 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 01:19:23 +00:00
rogerl%netscape.com
fdde4baec8 Implementing Object.prototype object and global object for ECMA 3
Adding Math class support.


git-svn-id: svn://10.0.0.236/trunk@74572 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 01:16:49 +00:00
ddrinan%netscape.com
5aef7267a3 Added Netscape disclamer on the security advisor page
git-svn-id: svn://10.0.0.236/trunk@74571 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 01:15:55 +00:00
jband%netscape.com
4ac0a9c150 drastically reduce unnecessary malloc calls from js_Atomize. r=brendan@mozilla.org. a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74570 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 00:57:19 +00:00
dougt%netscape.com
1ffb08d2f2 more debug information. r=jband.
git-svn-id: svn://10.0.0.236/trunk@74569 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 00:53:07 +00:00
ben%netscape.com
d0ffb902c9 b44281, r=don, a=don
git-svn-id: svn://10.0.0.236/trunk@74568 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 00:38:04 +00:00
edburns%acm.org
beab87ba88 bug=23157
ra=av
This fix makes it so the plugins directory is correctly located
in the embedding case.


git-svn-id: svn://10.0.0.236/trunk@74567 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 00:27:36 +00:00
ruslan%netscape.com
aefd29455d Applying Justin's patch to fix 40203 (proxy ssl connect), a=gagan,r=myself
git-svn-id: svn://10.0.0.236/trunk@74566 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-21 00:03:39 +00:00
tao%netscape.com
1b0727f3d7 41054: Bundle 2-3 langpacks w/ Seamonkey.r=ssu.
git-svn-id: svn://10.0.0.236/trunk@74565 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 23:48:48 +00:00
mcafee%netscape.com
e5281c3074 Breaking mod.pl into three parts, sheriff.pl, status.pl, rules.pl. Cleaning up admin HTML. Some help from timeless getting this change started.
git-svn-id: svn://10.0.0.236/trunk@74564 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 23:33:11 +00:00
ftang%netscape.com
f75ec51bff fix 45876. patch proposed by brade r=ftang. Thanks brade for her help
git-svn-id: svn://10.0.0.236/trunk@74563 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 23:22:57 +00:00
tao%netscape.com
f7309572c6 41054: Bundle 2-3 langpacks with Seamonkey. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@74562 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 23:21:08 +00:00
edburns%acm.org
9b331dead2 bug=43280
a=av
r=av

Add a "don't show this dialog again" feature to the
"No Default Plugin Dialog".  In addition, don't display the dialog
more than once per mime-type per session.


git-svn-id: svn://10.0.0.236/trunk@74561 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 22:53:32 +00:00
dprice%netscape.com
54c8d45427 bug fixing
git-svn-id: svn://10.0.0.236/trunk@74560 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 22:28:01 +00:00
andreww%netscape.com
1179f18268 Needed for classic/modern skin polish bug #43658 r=prass
git-svn-id: svn://10.0.0.236/trunk@74559 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 22:01:28 +00:00
javi%netscape.com
ad5b61293e Allow signatures to be created even if there is no encryption cert to
be associated with the signature.


git-svn-id: svn://10.0.0.236/trunk@74558 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 21:57:31 +00:00
javi%netscape.com
27ddc1d974 Allow signatures to be created even if the user doesn't have an
encryption cert to go along with it.


git-svn-id: svn://10.0.0.236/trunk@74557 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 21:56:34 +00:00
roeber%netscape.com
2840cff26a Added tests of token object manipulation.
I actually did this two months ago, but forgot to
check it in before going on sabbatical.


git-svn-id: svn://10.0.0.236/trunk@74556 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 21:48:26 +00:00
pinkerton%netscape.com
305a338316 little patch for 45307, overlays leaving "b"'s as submenu titles. try to make them disabled if we do get them. r=saari.
git-svn-id: svn://10.0.0.236/trunk@74555 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 21:47:36 +00:00
tao%netscape.com
d0fb0891cc 41054 : Bundle 2-3 language packs with Seamonkey. Change en-GB->en-DE in
build and packaging process. r=ssu & sfraser.


git-svn-id: svn://10.0.0.236/trunk@74554 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 21:40:42 +00:00
ruslan%netscape.com
5dca0e9d36 FInally fix 42283; a=gagan,r=gordon
git-svn-id: svn://10.0.0.236/trunk@74553 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 21:25:19 +00:00
ruslan%netscape.com
d0867a8d77 WIP on 42283 - make nsNetModules to be thread-safe; r/a=gagan
git-svn-id: svn://10.0.0.236/trunk@74552 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 21:24:38 +00:00
rods%netscape.com
41db943a7f moved form registration code to Reflow instead of GetPrefSize, it wasn't being called correctly when wi/h was being set via style
b=45846 r=kin


git-svn-id: svn://10.0.0.236/trunk@74551 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 21:17:03 +00:00
ftang%netscape.com
5e50a75292 take out debuging code
git-svn-id: svn://10.0.0.236/trunk@74550 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 21:10:39 +00:00
ftang%netscape.com
f996731c51 more fix for 39790 which we forget. change intl.charset.default to navigator.properties
r=nhotta/cata


git-svn-id: svn://10.0.0.236/trunk@74549 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 21:09:11 +00:00
waterson%netscape.com
feac6527d6 Fix Mac bustage. I though 'L' was enabled on Win32 for NS_LITERAL_STRING(), too. Guess I was wrong.
git-svn-id: svn://10.0.0.236/trunk@74548 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 20:15:08 +00:00
leaf%mozilla.org
c9e947532d checking adding en-DE to l10n module -leaf
git-svn-id: svn://10.0.0.236/trunk@74547 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 20:10:07 +00:00
waterson%netscape.com
ea616dd6aa Bug 40817. Modernize string routines; use UTF-8 conversion instead of ASCII conversion on URLs. r=rjc
git-svn-id: svn://10.0.0.236/trunk@74546 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 19:49:47 +00:00
bryner%uiuc.edu
202d788d0f Fix for 37477. r=pavlov,av. a=av.
git-svn-id: svn://10.0.0.236/trunk@74545 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 19:27:20 +00:00
pinkerton%netscape.com
16ae2c7416 don't use webshell.mcp, use docshell.mcp. (bug #45723)
git-svn-id: svn://10.0.0.236/trunk@74544 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 19:11:53 +00:00
pinkerton%netscape.com
bcb3a5800f don't use webshell.mcp, use docshell.mcp.
git-svn-id: svn://10.0.0.236/trunk@74543 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 19:11:04 +00:00
edburns%acm.org
8c18443bc0 bug=16677
a=av
r=stanley.ho

This fix causes nsPluginHostImpl::FindProxyForURL to honor
the "no proxies for" list.


git-svn-id: svn://10.0.0.236/trunk@74542 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 19:09:50 +00:00
mkaply%us.ibm.com
1ce55e5a20 #45973
r=dougt, a=brendan
OS/2 specific changes for nsAppFileLocationProvider.cpp


git-svn-id: svn://10.0.0.236/trunk@74541 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 18:55:28 +00:00
tao%netscape.com
064a0c0cdc Update en-DE pack; not part of the build yet (not pulled).
git-svn-id: svn://10.0.0.236/trunk@74540 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 18:15:38 +00:00
mcgreer%netscape.com
28d8b69dd8 some compilers don't like the void* arithmetic
git-svn-id: svn://10.0.0.236/trunk@74539 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 16:58:32 +00:00
mkaply%us.ibm.com
c893a93e4e #45690
r=mkaply, a=brendan
Sync up nsLocalFileOS2.cpp with Windows changes


git-svn-id: svn://10.0.0.236/trunk@74538 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 14:54:24 +00:00
rods%netscape.com
94c34e2183 check in for andreas, it now checks to make sure that the image or lowimage is not
null before getting the width and height
b=36902, a=waterson


git-svn-id: svn://10.0.0.236/trunk@74537 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 14:50:17 +00:00
brade%netscape.com
2c2057c60e check if events have been handled already before dispatching them; r=saari; bug #45390
git-svn-id: svn://10.0.0.236/trunk@74536 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 14:32:30 +00:00
brade%netscape.com
4140981a9e comment out offensive line to get Mac green again
git-svn-id: svn://10.0.0.236/trunk@74535 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 13:46:43 +00:00
mscott%netscape.com
f50579e6a0 Bug #39736 --> we were always using the charset specified in the mail header instead of using the charset override
value if it was present. This broke forwarding inline for messages that had incorrect charsets assigned to them.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@74534 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 08:52:18 +00:00
dveditz%netscape.com
090045d327 Comment-out call to crashing ReloadChrome() so we can call bug 39367 fixed.
git-svn-id: svn://10.0.0.236/trunk@74533 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 08:33:54 +00:00
mscott%netscape.com
ab5be8b1b6 Bug #39736 --> for forward inline case, we need to make sure we pass in the right charset to mime when it fetches
the message body for quoting purposes.
r=nhotta.


git-svn-id: svn://10.0.0.236/trunk@74532 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 07:53:58 +00:00
mscott%netscape.com
811b05e4b5 Bug #39736 --> charset over ride has no effect on quoting. Fix is to use the charset
we just passed in.
r=nhotta


git-svn-id: svn://10.0.0.236/trunk@74531 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 07:42:14 +00:00
mscott%netscape.com
3670570dbc Bug #39736 --> set the charset on the compose field if we have one from the
top most message window.
r=nhotta


git-svn-id: svn://10.0.0.236/trunk@74530 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 07:41:51 +00:00
mscott%netscape.com
c79509bff4 Bug #39736 --> pass in the charset to quote the body with. this helps fix charset over ride has
no effect on quoting.
r=nhotta


git-svn-id: svn://10.0.0.236/trunk@74529 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 07:41:12 +00:00
pinkerton%netscape.com
d788fba357 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@74528 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 07:17:32 +00:00
jst%netscape.com
3b985a0c19 Trivial change to cut down on the noice in bug reports by not returning internal errors back to JS, this fixes harmless, but annoying JS exceptions when mousing over chromeless windows. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@74527 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 06:11:22 +00:00
pollmann%netscape.com
61d0f30aec Bug 42686: Remove an assertion which was preventing dogfood use on Mac. r=jst@netscape.com (thanks!)
git-svn-id: svn://10.0.0.236/trunk@74526 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 06:02:41 +00:00
nelsonb%netscape.com
3183f298c5 Use unsigned ints for length parameters to "octets" functions.
git-svn-id: svn://10.0.0.236/trunk@74525 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 04:47:24 +00:00
nelsonb%netscape.com
70e75128b3 Eliminate lots of warnings found by -fullwarn.
Add sanity test to s_mp_div().


git-svn-id: svn://10.0.0.236/trunk@74524 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 04:21:37 +00:00
nelsonb%netscape.com
83c50409ff Eliminate warnings found with -fullwarn.
git-svn-id: svn://10.0.0.236/trunk@74523 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 04:20:21 +00:00
uid408
98e8bbd097 Enable 8-bit alpha channel for images on Windows. Bug 36694. Patch thanks to VYV03354@nifty.ne.jp. r=kmcclusk,dcone a=brendan
git-svn-id: svn://10.0.0.236/trunk@74522 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 04:19:23 +00:00
dougt%netscape.com
a71892b0d3 disable test. damn sunos.
git-svn-id: svn://10.0.0.236/trunk@74521 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 03:21:31 +00:00
dougt%netscape.com
51025d5814 Fixing sunos bustage.
git-svn-id: svn://10.0.0.236/trunk@74520 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 03:17:58 +00:00
mcafee%netscape.com
2821eadc9b Moving EmitHtmlHeader to after tb_load_data call so we have a value for \tree
git-svn-id: svn://10.0.0.236/trunk@74519 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 02:52:11 +00:00
tao%netscape.com
f1e3a39463 not of part of the build yet. files for en-DE.
git-svn-id: svn://10.0.0.236/trunk@74518 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 02:19:11 +00:00
despotdaemon%netscape.com
4d22f7a9c5 Pseudo-automatic update of changes made by girish.manwani@eng.sun.com.
git-svn-id: svn://10.0.0.236/trunk@74517 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:53:36 +00:00
dougt%netscape.com
af24b67372 removing unneeded include.
git-svn-id: svn://10.0.0.236/trunk@74516 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:53:09 +00:00
pnunn%netscape.com
bd7a89fcf4 fix for bug#30852.(nsbeta2+). Image reloads not using necko reload attributes. pnunn.
rev:neeti; and tested on win/mac/linux.


git-svn-id: svn://10.0.0.236/trunk@74515 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:52:35 +00:00
waterson%netscape.com
ab0efcd0f0 Bug 37622. The rest of the patch that I somehow missed the first time around. r=blizzard,pavlov
git-svn-id: svn://10.0.0.236/trunk@74514 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:40:54 +00:00
dave%intrec.com
77d40ac9dc Fix for bug 31336 (separate bug groups from access groups in user editor)
git-svn-id: svn://10.0.0.236/trunk@74513 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:31:10 +00:00
nbhatla%netscape.com
ba102e4a5e Bug #43658 (Mac classic skin polish fixes) - Updated mac classic skin, adding background to slider, modifying autorepeat images, and adding sidebar collapse images to CSS. Bug #45336/#45725 (Mail app crashes after startup) Fixed this by removing border-top style from sidebar.css in .iframe-panel. Bug #44744 - Fixed checkmark spacing in menus in Windows Classic skin.
git-svn-id: svn://10.0.0.236/trunk@74512 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:21:15 +00:00
edburns%acm.org
65086659fd a=av
r=av
bug=38848

This bug enables nsIPluginHostImpl::GetValue(nsPluginManagerVariable_XDisplay)
to function correctly.

Thanks to Chris Waterson.

This has been built on win32 and solaris.


git-svn-id: svn://10.0.0.236/trunk@74511 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:16:52 +00:00
mstoltz%netscape.com
0d04dfcd48 fix for 42387, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@74510 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:16:15 +00:00
mstoltz%netscape.com
b9104f0941 Fix for 42387. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@74509 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:15:09 +00:00
dougt%netscape.com
62473e4262 Adding gtk embedding test application.
a=valeski@netscape.com - bug 43055


git-svn-id: svn://10.0.0.236/trunk@74508 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:12:25 +00:00
dougt%netscape.com
1d69377092 creating makefile for unix to export base browser depends for embedding
adjusting/update manifest file.


git-svn-id: svn://10.0.0.236/trunk@74507 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:08:43 +00:00
nbhatla%netscape.com
c68dd50f9c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@74506 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 01:01:38 +00:00
tao%netscape.com
5dcdd2f253 Replicated from en-US build
git-svn-id: svn://10.0.0.236/trunk@74504 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 00:59:09 +00:00
ducarroz%netscape.com
a39430b080 Fix for bug 45926. ContentWindow is now known as window._content. R=mscott
git-svn-id: svn://10.0.0.236/trunk@74503 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 00:47:34 +00:00
rbs%maths.uq.edu.au
10f9124e03 [not part of default build] fix an event propagation problem caused by the fact that a point wasn't translated to the frame's relative coordinate system. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74502 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 00:21:34 +00:00
sfraser%netscape.com
8727267960 Fix for blank windows on Mac bug 42289. Ensure we only validate regions which we've painted. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@74501 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 00:13:06 +00:00
pchen%netscape.com
7a5c6a15ff Completed client end work for bug 44281 r=pinkerton, call back end CMT code to get certificate authority string.
git-svn-id: svn://10.0.0.236/trunk@74500 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 00:12:54 +00:00
tao%netscape.com
087bd7172c 39790: [L12y] Move all localizable prefs into chrome://.a=ftang. piggy back
ftang's hacky code. To be replaced by ben.


git-svn-id: svn://10.0.0.236/trunk@74499 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-20 00:00:29 +00:00
mcgreer%netscape.com
cf69efb49b Change the startup/shutdown procedure. Now a minimum amount of seed bytes, MIN_SEED_COUNT, are required before output bytes can be extracted. Also, it is possible to do a full restart by calling RNG_RNGInit() and RNG_RNGShutdown() in succession. This is noted in the blapi.h comments for those functions.
git-svn-id: svn://10.0.0.236/trunk@74498 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 23:54:43 +00:00
waterson%netscape.com
8f34ddafd2 Bug 37622. Hackery to get <embed hidden='true'> to work. Check hidden attribute; if set, size to (0, 0) and don't create a widget. r=pavlov,blizzard.
git-svn-id: svn://10.0.0.236/trunk@74497 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 23:46:43 +00:00
danm%netscape.com
5822e6f87e now holds a strong reference to its chrome data source (mComposite). consequent circular reference is broken with stupid refcounting tricks. bug 44621 r=hyatt
git-svn-id: svn://10.0.0.236/trunk@74496 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 23:39:50 +00:00
varada%netscape.com
c2682c819f fix for bug #43229;folder and threaded message indentation;r=mscott
git-svn-id: svn://10.0.0.236/trunk@74495 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 23:26:49 +00:00
waterson%netscape.com
8684478ba7 Remove debugging cruft I left in.
git-svn-id: svn://10.0.0.236/trunk@74494 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 23:24:35 +00:00
nelsonb%netscape.com
a47b86cbb3 Build all mpi .c files with -DMP_API_COMPATIBLE
git-svn-id: svn://10.0.0.236/trunk@74493 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 23:23:24 +00:00
nelsonb%netscape.com
465370ca82 Implement 5 new functions for dealing with variable length integers
represented as unsigned and signed octet strings.
mp_read_unsigned_octets(), mp_unsigned_octet_size(),
mp_to_unsigned_octets(), mp_to_signed_octets(), mp_to_fixlen_octets()
See mpi.h for more info.


git-svn-id: svn://10.0.0.236/trunk@74492 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 23:22:43 +00:00
nelsonb%netscape.com
045155f5d6 All #defines now have MP_ prefix. To get old #defines, compile with
-DMP_API_COMPATIBLE .  mpi.c is compiled that way.


git-svn-id: svn://10.0.0.236/trunk@74491 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 23:18:08 +00:00
conrad%ingress.com
8df03a265e - Not yet part of build -
Changed name of Debug target


git-svn-id: svn://10.0.0.236/trunk@74490 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 22:43:50 +00:00
ftang%netscape.com
9cfa299191 fix 39790 . r=tao,nhotta move send_default_charset , view_default_charset to property
git-svn-id: svn://10.0.0.236/trunk@74489 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 22:39:37 +00:00
mcafee%netscape.com
2a89d880df Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@74488 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 22:13:17 +00:00
ddrinan%netscape.com
ea15ea5126 Fix for getting ca name
git-svn-id: svn://10.0.0.236/trunk@74487 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 22:10:55 +00:00
dougt%netscape.com
a8bf96a79b Damnit., missed this file.
git-svn-id: svn://10.0.0.236/trunk@74486 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 22:10:49 +00:00
larryh%netscape.com
3cf1228683 BugZilla: 45623
git-svn-id: svn://10.0.0.236/trunk@74485 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 22:03:36 +00:00
akkana%netscape.com
29b5ed46ed Remove a debug dump statement. r=ducarroz, a=mcafee
git-svn-id: svn://10.0.0.236/trunk@74484 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 22:00:16 +00:00
conrad%ingress.com
cff571d667 Not part of build!
Added some <includes> needed on Mac


git-svn-id: svn://10.0.0.236/trunk@74483 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 21:47:08 +00:00
conrad%ingress.com
0c7794b33d Removed shared lib targets - Not yet part of build
git-svn-id: svn://10.0.0.236/trunk@74482 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 21:45:42 +00:00
waterson%netscape.com
6c20af3ad5 Bug 37522. Implement ns4xPlugin::GetMIMEDescription() and ns4xPlugin::GetValue(); alter nsPluginsDirUNIX to use these routines (instead of directly calling the NP_* routine) while grovelling through 4.x plugins. r=av
git-svn-id: svn://10.0.0.236/trunk@74481 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 21:43:46 +00:00
mscott%netscape.com
7a5aa52cef Bug #45816 --> fix i18n breakage of intl-accept pref by calling getLocalizedUnicharPref
git-svn-id: svn://10.0.0.236/trunk@74480 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 21:42:18 +00:00
mscott%netscape.com
7ebcebcd5b Bug #45816 --> fix i18n breakage of intl-accept pref by calling getLocalizedUnicharPref
r=tao


git-svn-id: svn://10.0.0.236/trunk@74479 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 21:41:59 +00:00
don%netscape.com
82e9409289 Partial fix for bug 5236 (yes, one that old) which changes the font-family but not font-size to make Linux/Unix suck less. r=akkana,german a=don
git-svn-id: svn://10.0.0.236/trunk@74478 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 21:37:05 +00:00
dbragg%netscape.com
bc96ad79ee Fix for nsbeta2+ bug #45653. Removed code that appends a '/' since the call to Append is taking care of that for us. This was resulting in a double slash at the end of the mURL string and the Mac gagged on it.
git-svn-id: svn://10.0.0.236/trunk@74477 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 21:32:37 +00:00
dougt%netscape.com
5cdd26357c turning on xpfe application locations. r=conrad a=valeski bug 44314.
This TURNS on my last checks!


git-svn-id: svn://10.0.0.236/trunk@74476 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 21:31:33 +00:00
dougt%netscape.com
b561c24014 turning on xpfe application locations. r=conrad a=valeski bug 44314.
This TURN on my last checks!


git-svn-id: svn://10.0.0.236/trunk@74475 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 21:29:40 +00:00
ddrinan%netscape.com
793d28755f Fix for cert renewal bug
git-svn-id: svn://10.0.0.236/trunk@74474 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 21:21:46 +00:00
dougt%netscape.com
ab785b76a4 Adding UNIX makefiles.
making compile on unix

(NOT PART OF BUILD)


git-svn-id: svn://10.0.0.236/trunk@74473 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 21:20:35 +00:00
morse%netscape.com
25595f5631 bug 44146, parent window for modal dialogs, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@74472 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 21:10:03 +00:00
attinasi%netscape.com
d21b6a133e Checkin patch for Robert O'Callahan: fixed HandlePostedDOMEvents and HandlePostedAttributeChanges to deal with re-entrant calls. b=45510,45361[nsb2+] r=evaughan,attinasi
git-svn-id: svn://10.0.0.236/trunk@74471 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 20:09:59 +00:00
leaf%mozilla.org
80d95e4c7f Automated update
git-svn-id: svn://10.0.0.236/trunk@74470 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 20:00:09 +00:00
dougt%netscape.com
29d31a319e Fixing line feeds.
Adding makefiles for windows.
Making compile on windows.


(not part of build!)


git-svn-id: svn://10.0.0.236/trunk@74469 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 19:58:35 +00:00
tor%cs.brown.edu
582be3088f Bug 40748 - officially kill the SUNWspro4.2 build. r=cls, a=waterson
git-svn-id: svn://10.0.0.236/trunk@74468 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 19:53:01 +00:00
mscott%netscape.com
d8174a05f7 Bug #44397 --> quick fix to the bookmarks problem with create new profile, if the
url is about:blank then don't try to instantiate bookmarks just to get a charset!
i'm not sure this bookmarks code belongs here anyway. We'll file another bug to get it moved out.
r,a=waterson


git-svn-id: svn://10.0.0.236/trunk@74467 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 19:51:20 +00:00
brade%netscape.com
d2cff52a17 move webshell shared library to Components for valeski (a=leaf)
git-svn-id: svn://10.0.0.236/trunk@74466 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 18:25:48 +00:00
valeski%netscape.com
75f3656c64 fixing IID collision, a=leaf
git-svn-id: svn://10.0.0.236/trunk@74465 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 17:23:20 +00:00
mcgreer%netscape.com
914728ee65 initial checkin of PRNG code
git-svn-id: svn://10.0.0.236/trunk@74464 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 17:01:31 +00:00
dave%intrec.com
98bd394231 Fix for bug 27248 (Bug listings saved with .html extension). Patch
submitted by mhamby@logicon.com (Mark Hamby).


git-svn-id: svn://10.0.0.236/trunk@74463 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 16:05:52 +00:00
law%netscape.com
1a586ddce3 Bug 17282; change submenu id so overlay is applied; r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74462 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 14:08:22 +00:00
mkaply%us.ibm.com
68a8e865d9 #40177
r=cls, a=brendan
Delete OS/2 specific build files during the clobber


git-svn-id: svn://10.0.0.236/trunk@74461 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 14:03:25 +00:00
mkaply%us.ibm.com
4141a1a3da #40177
r=cls, a=brendan
OS/2 build changes to get webshell/tests/viewer building


git-svn-id: svn://10.0.0.236/trunk@74460 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 13:58:45 +00:00
jdunn%netscape.com
ab359db843 Fixing hpux bustage.
The define needed in the header file, doesn't get set till after the
header file is included.
Also added newline to headerfile at the end for hpux.


git-svn-id: svn://10.0.0.236/trunk@74459 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 13:36:35 +00:00
dprice%netscape.com
21607e2f66 adding jar manifest for xpfe/global
NOT IN THE BUILD


git-svn-id: svn://10.0.0.236/trunk@74458 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 10:03:39 +00:00
warren%netscape.com
087c3b48c2 Reverted change from doronr@naboonline.com to print warning. This gets called erroneously when the program quits.
git-svn-id: svn://10.0.0.236/trunk@74457 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 09:32:35 +00:00
dprice%netscape.com
915fc73419 adding jar manifest for ender
NOT IN THE BUILD


git-svn-id: svn://10.0.0.236/trunk@74456 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 09:25:50 +00:00
wtc%netscape.com
9af1a53422 Map "Darwin" to "Rhapsody".
git-svn-id: svn://10.0.0.236/trunk@74454 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 07:04:26 +00:00
ftang%netscape.com
19ca43a9dc add one space to add check in comment for last check in
fix bug 49790. r=tao move intl.charetmenu.* pref to property file


git-svn-id: svn://10.0.0.236/trunk@74453 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 06:30:52 +00:00
ftang%netscape.com
6038f9ff2d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@74452 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 06:24:47 +00:00
jband%netscape.com
548b116d73 fix for crash that can happen when wrapped JS objects get accessed after xpconnect shutdown. This was burning outside users of xpconnect. bug 45669. r=mccabe@netscape.com a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74451 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 06:15:32 +00:00
jband%netscape.com
83610ad141 fix bustage from dougt's last change to this file. not part of build. r=dougt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74450 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 06:11:12 +00:00
dmose%mozilla.org
3df77ff076 Fixed a bug where people with priviledges being removed would be
counted as new checkers-in.  Separated out the source and doc tree
components of the new checkers-in statistic.


git-svn-id: svn://10.0.0.236/trunk@74449 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 05:57:40 +00:00
waterson%netscape.com
48a15edd1c Doh! Botched patch application. Sorry!
git-svn-id: svn://10.0.0.236/trunk@74448 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 05:23:09 +00:00
warren%netscape.com
0f3fa580d1 Added another .get()
git-svn-id: svn://10.0.0.236/trunk@74447 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 05:12:23 +00:00
waterson%netscape.com
b92de9cfda Bug 21456. Support for 'alt=' attribute on applet frames. Patch submitted by edburns@acm.org, r=waterson, nisheeth, a=waterson.
git-svn-id: svn://10.0.0.236/trunk@74446 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 05:06:55 +00:00
dave%intrec.com
f797a36a52 Fix for bug 32220 (checksetup.pl gives bad permissions). Majority of
patch submitted by seth@cs.brandeis.edu (Seth Landsman).  checksetup.pl
now no longer twiddles the permissions of the contrib folder, and
properly sets the permissions on the folders inside the data folder.


git-svn-id: svn://10.0.0.236/trunk@74445 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 04:34:52 +00:00
warren%netscape.com
268cbb9aaa Added dredded .get()
git-svn-id: svn://10.0.0.236/trunk@74444 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 04:28:15 +00:00
warren%netscape.com
68783ed706 Added nsIRDFDataSource::HasArcIn/HasArcOut. Changed nsXULTemplateBuilder.cpp to use it (ifdef'd for now). Speed up folder loading by about 24%. r=waterson,alecf
git-svn-id: svn://10.0.0.236/trunk@74441 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 03:58:25 +00:00
jband%netscape.com
a01b2be7a8 patches from madams@janna.com to build xpconnect standalone. bug 42026. r=leaf@mozilla.org a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74440 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 03:36:27 +00:00
valeski%netscape.com
2540c443ba removing webshell lib dependency, the webshell is now built into the docshell
git-svn-id: svn://10.0.0.236/trunk@74439 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 03:26:04 +00:00
valeski%netscape.com
b3479dc559 45723. removing the hard init of the webshell
git-svn-id: svn://10.0.0.236/trunk@74433 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 02:58:49 +00:00
valeski%netscape.com
194dc0bbee moving the docshell lib to the components dir and macro'izing some decls. 45723
git-svn-id: svn://10.0.0.236/trunk@74432 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 02:57:05 +00:00
racham%netscape.com
fe18eb1dd1 Fixing bug 45569. Migrated account is shown along with any other partial accounts. r=alecf
git-svn-id: svn://10.0.0.236/trunk@74431 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 02:37:09 +00:00
dveditz%netscape.com
dd855dbc43 fixing mac long-long bustage
git-svn-id: svn://10.0.0.236/trunk@74430 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 01:53:43 +00:00
warren%netscape.com
5279d895c1 Took out -o from make-jars.pl because it didn't work.
git-svn-id: svn://10.0.0.236/trunk@74429 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 01:38:09 +00:00
valeski%netscape.com
2bcea721e9 removing dependency on webshell lib
git-svn-id: svn://10.0.0.236/trunk@74428 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 01:21:33 +00:00
valeski%netscape.com
7ab521def4 adding xpidl module
git-svn-id: svn://10.0.0.236/trunk@74427 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 00:45:53 +00:00
valeski%netscape.com
aa185940a8 adding xpt's to the packager for the new webshell idls
git-svn-id: svn://10.0.0.236/trunk@74426 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 00:41:41 +00:00
ddrinan%netscape.com
e12b2a0ddb Fix pickle and unpickle of the CA name
git-svn-id: svn://10.0.0.236/trunk@74425 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 00:21:39 +00:00
pinkerton%netscape.com
4cfed13f3e File Removed.
git-svn-id: svn://10.0.0.236/trunk@74424 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 00:20:14 +00:00
pinkerton%netscape.com
f0702df329 doing the fix-the-tree-asap dance. r=valeski.
git-svn-id: svn://10.0.0.236/trunk@74423 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 00:18:50 +00:00
pinkerton%netscape.com
ac8ece4a98 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@74422 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 00:12:08 +00:00
pinkerton%netscape.com
67f588e49e File Removed.
git-svn-id: svn://10.0.0.236/trunk@74421 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 00:10:41 +00:00
valeski%netscape.com
a73dbc1d0b mac is still building this, pulling nsweb stuff
git-svn-id: svn://10.0.0.236/trunk@74420 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 00:09:40 +00:00
mkaply%us.ibm.com
12f3948192 # 44864
r = mkaply, a = brendan
AltGr not working on OS/2


git-svn-id: svn://10.0.0.236/trunk@74419 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 00:06:15 +00:00
valeski%netscape.com
181de06fa6 do not need the dot specifier for unix
git-svn-id: svn://10.0.0.236/trunk@74418 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 00:04:25 +00:00
pinkerton%netscape.com
fdc79dc6da adding nsIContentViewerEdit.idl to fix bustage. r=valeski.
git-svn-id: svn://10.0.0.236/trunk@74417 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:52:37 +00:00
dveditz%netscape.com
0eac386724 Bug 42548 approximate 6x XPInstall performance improvement, r=dbragg
git-svn-id: svn://10.0.0.236/trunk@74416 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:46:00 +00:00
valeski%netscape.com
eada5b3feb 45723. r=rpotts. webshell-docshell consolodation changes.
git-svn-id: svn://10.0.0.236/trunk@74414 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:37:53 +00:00
wtc%netscape.com
2d9ccf03e3 Bugzilla bug #42900: implement timeout for PR_Connect.
git-svn-id: svn://10.0.0.236/trunk@74413 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:35:24 +00:00
mcafee%netscape.com
0564f3470d HTML-4.0-izing about page (39231). patch=gemal@gemal.dk, r=mcafee, a=waterson
git-svn-id: svn://10.0.0.236/trunk@74412 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:34:57 +00:00
valeski%netscape.com
7c62b02e4e 45723. r=rpotts. no longer building the webshell shared lib, webshell is now in docshell.
git-svn-id: svn://10.0.0.236/trunk@74411 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:26:39 +00:00
jj%netscape.com
4fbe52795f removed obsolete NetworkModular.shlb and renamed MRJInaBox to MRJPlugin from [browser]
git-svn-id: svn://10.0.0.236/trunk@74410 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:22:21 +00:00
valeski%netscape.com
7bdbdf782f 45723. idl'ized some ifaces and removed some cruft
git-svn-id: svn://10.0.0.236/trunk@74409 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:21:25 +00:00
valeski%netscape.com
cd73fc940a 45723, r=rpotts. docshell contains webshell stuff now
git-svn-id: svn://10.0.0.236/trunk@74408 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:17:38 +00:00
valeski%netscape.com
8dd5ebb6bc 45723. r=rpotts. moving webshell over to docshell dir for consolodation. this does *not* mean teh two will merge in object space.
git-svn-id: svn://10.0.0.236/trunk@74407 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:13:53 +00:00
valeski%netscape.com
37012edc37 45723. r=rpotts. webshell-docshell consolodation changes.
git-svn-id: svn://10.0.0.236/trunk@74406 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:13:07 +00:00
pinkerton%netscape.com
4d88da0c4a remove .h files that have been moved into idl. r=valeski (bug #45723).
git-svn-id: svn://10.0.0.236/trunk@74405 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:11:33 +00:00
pinkerton%netscape.com
d8e3d452ce adding IDL project for webshell and a new manifest file for idl in webshell/public. r=valeski (bug 45723).
git-svn-id: svn://10.0.0.236/trunk@74404 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:11:05 +00:00
akkana%netscape.com
f2b8ee5431 42885: Load browser and editor bindings from
chrome://communicator/content
  rather than chrome://global/content. r=ben


git-svn-id: svn://10.0.0.236/trunk@74403 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:08:36 +00:00
akkana%netscape.com
3ef413d57d 42885: Move browser and editor XUL bindings out of global (i.e.
widget-toolkit) and into communicator (i.e. core).
  Also remove the obsolete files platformInputBindings.xul and
  platformTextAreaBindings.xul: text controls use XBL bindings now,
  and the XUL bindings are no longer used.   r=ben,saari


git-svn-id: svn://10.0.0.236/trunk@74402 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:04:24 +00:00
pinkerton%netscape.com
08857bf0bd First Checked In.
git-svn-id: svn://10.0.0.236/trunk@74401 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:02:39 +00:00
wtc%netscape.com
b3a1802399 Declare the _nt_nonblock_xxx functions static. Changed the second
argument of _nt_nonblock_accept to be "struct sockaddr *".


git-svn-id: svn://10.0.0.236/trunk@74400 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 22:45:58 +00:00
chuang%netscape.com
d6a0121e4b Fix absync bug 1425 - add record key for migrated address book. r=rhp
git-svn-id: svn://10.0.0.236/trunk@74399 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 22:31:10 +00:00
radha%netscape.com
20cc26d58c Possible fix for 45297. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@74398 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 22:24:27 +00:00
rhp%netscape.com
0abc352ceb Fix to make absync more tolerant on migration - Bug #: 1425 - r: chuang
git-svn-id: svn://10.0.0.236/trunk@74397 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 22:23:18 +00:00
bryner%uiuc.edu
c045206358 Backing out changes for 45661- this was causing regression bug 45749.
git-svn-id: svn://10.0.0.236/trunk@74396 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 22:17:39 +00:00
kin%netscape.com
ed8c32d80b Fix for bug #42263: Unable to invoke IME in the receipient and subject field on plain text mail composer
Replaced GetDeepestWidget() with new function GetEditorContentWindow().
Modified ForceCompositionEnd() to call GetEditorContentWindow().

r=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@74395 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 22:11:31 +00:00
radha%netscape.com
50ef8aca6b Fix for bug # 37324 r=rpotts
git-svn-id: svn://10.0.0.236/trunk@74394 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 21:55:37 +00:00
mcafee%netscape.com
bf5c105437 Removing -pref from -help output, we don't do -pref anymore (40698). r=radha
git-svn-id: svn://10.0.0.236/trunk@74393 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 21:55:29 +00:00
shanjian%netscape.com
de958bb539 #45543
Use empty cmap for those charsets not easily to determin its cmap.
r=ftang r=rbs


git-svn-id: svn://10.0.0.236/trunk@74392 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 21:54:33 +00:00
javi%netscape.com
72c3d2cef1 Modify JavaScript for prefs so that Mozilla correctly saves them.
git-svn-id: svn://10.0.0.236/trunk@74391 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 21:53:08 +00:00
attinasi%netscape.com
9883f75dbb Checkin for timeless@bemail.org: Fixed rounding error making LARGER work for font sizes less than 9px. b=12461, r=attinasi@netscape.com,disttsc@bart.nl a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74390 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 21:48:51 +00:00
mcafee%netscape.com
a8403bfdcc Converting use of depreciated macro NS_IMPL_QUERY_INTERFACE to use NS_IMPL_ISUPPORTS1 (39270). r=alecf
git-svn-id: svn://10.0.0.236/trunk@74389 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 21:37:25 +00:00
rogerl%netscape.com
f236eeaaff Removed all xxxCall, using simple call for everything.
Changed methods to use mMethods vector instead.
Various other fixes etc.


git-svn-id: svn://10.0.0.236/trunk@74388 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 20:53:03 +00:00
despotdaemon%netscape.com
ba3cb610a6 Pseudo-automatic update of changes made by roc+@cs.cmu.edu.
git-svn-id: svn://10.0.0.236/trunk@74387 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 20:35:16 +00:00
despotdaemon%netscape.com
845a00fb82 Pseudo-automatic update of changes made by roc+@cs.cmu.edu.
git-svn-id: svn://10.0.0.236/trunk@74386 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 20:34:11 +00:00
despotdaemon%netscape.com
7f9523449e Pseudo-automatic update of changes made by roc+@cs.cmu.edu.
git-svn-id: svn://10.0.0.236/trunk@74385 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 20:33:44 +00:00
dprice%netscape.com
c0f5c6403e adding jar manifest file for messenger
NOT IN BUILD


git-svn-id: svn://10.0.0.236/trunk@74384 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 20:33:43 +00:00
despotdaemon%netscape.com
c9f04c4668 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@74383 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 20:30:55 +00:00
javi%netscape.com
d9402479a3 Fix the printf parameter.
git-svn-id: svn://10.0.0.236/trunk@74379 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 18:21:51 +00:00
dave%intrec.com
54523e9cba Fix for bug 42037 (user passwords visible in editusers.cgi). Patch
submitted by JRobertson@medevolve.com (Jon Robertson)


git-svn-id: svn://10.0.0.236/trunk@74378 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 16:01:42 +00:00
dave%intrec.com
0eb2643368 Fix for bug 45586. When using 'usebuggroupsentry', prevent users from
seeing products the don't have access to on the query page.


git-svn-id: svn://10.0.0.236/trunk@74377 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 15:28:19 +00:00
valeski%netscape.com
ba47bca9e1 not part of the build. adding idl'ized version of this iface
git-svn-id: svn://10.0.0.236/trunk@74376 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 15:03:16 +00:00
valeski%netscape.com
060e64fefb not in build. removing this one as one in docshell is going to replace it
git-svn-id: svn://10.0.0.236/trunk@74375 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 06:59:30 +00:00
warren%netscape.com
101ff3ed31 Reverted dougt's silly change that spews all sorts of crap in the build.
git-svn-id: svn://10.0.0.236/trunk@74374 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 06:03:18 +00:00
morse%netscape.com
419ab26efe minor wording change to hide the fact that mozilla and ns tree are improperly shadowed
git-svn-id: svn://10.0.0.236/trunk@74373 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 06:01:10 +00:00
alecf%netscape.com
a4bf0ed0dd adding clarifying comments because this was confusing me and timeless - comments only, does not affect product
git-svn-id: svn://10.0.0.236/trunk@74372 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 04:21:28 +00:00
mscott%netscape.com
02e1a5824a Bug #45689, 45651 --> helper app dialog isn't coming up in release builds
possibly because exthandler.xpt isn't part of the packages.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@74371 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 03:37:17 +00:00
dave%intrec.com
96a21c260d Fix for bug 32971, patch submitted by mtakacs@pacbell.net
git-svn-id: svn://10.0.0.236/trunk@74370 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 02:15:24 +00:00
morse%netscape.com
4b365f587d fix bug 44146, parent window for dialogs, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@74369 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 02:03:57 +00:00
tao%netscape.com
8c115850aa 41054: Bundle 2-3 langpacks w/ Seamonkey. Move all URLs to the bottom of
the file. r=amasri.


git-svn-id: svn://10.0.0.236/trunk@74368 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 01:46:17 +00:00
javi%netscape.com
e32a440548 zeroize the output before converting to utf8 so that we get the sting
length right in all cases.  This allows us to remove the hack where
we hard code the out length to be half the original length.  Which may
or may not be true depending on what we're converting.


git-svn-id: svn://10.0.0.236/trunk@74367 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 01:30:04 +00:00
beard%netscape.com
c793f631eb Added ClassOutput.java, WrapHandler.java.
git-svn-id: svn://10.0.0.236/trunk@74366 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 01:29:34 +00:00
mcgreer%netscape.com
f286a09459 initial checkin of ARCFour.
git-svn-id: svn://10.0.0.236/trunk@74362 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 00:56:09 +00:00
valeski%netscape.com
3d169563fb 45723. not part of the build. idl'izing some interfaces. will throw the switch tomorrow
git-svn-id: svn://10.0.0.236/trunk@74361 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 00:35:55 +00:00
bryner%uiuc.edu
447acb183f Patch from Jan Varga <varga@fri.utcru.sk> to fix bug 45661 (localizability
and keyboard navigation for Linux filepicker).  r=me.


git-svn-id: svn://10.0.0.236/trunk@74360 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 00:25:07 +00:00
sgehani%netscape.com
fdf860dece Fix "local display" crash for Linux installer. No longer destroying gtk
widgets that were already freed during a prior call to gtk_exit().

[nsbeta2+ b=36781; r=ssu]


git-svn-id: svn://10.0.0.236/trunk@74359 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 00:09:29 +00:00
mscott%netscape.com
af93eec0ee Bug #39518 --> we keep showing the security warning when submitting insecure documents even if you check on the
checkbox saying please don't show me this again. We were always setting the pref to true if we ready something out of prefs. =)
The fix is trivial....
r=blake


git-svn-id: svn://10.0.0.236/trunk@74358 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 00:08:38 +00:00
idk%eng.sun.com
db7f3c0f7c ** not part of tbuild **
Updated README for linux build.


git-svn-id: svn://10.0.0.236/trunk@74357 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 00:03:47 +00:00
hyatt%netscape.com
2d8a44eedd Fix for 45248. r=saari
git-svn-id: svn://10.0.0.236/trunk@74356 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 23:55:25 +00:00
bienvenu%netscape.com
b2a8ba1e55 turn on green icon for local folders that get messages filtered into them from pop, fix clearing it for local folder msgs r=gayatrib 43884
git-svn-id: svn://10.0.0.236/trunk@74355 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 23:18:37 +00:00
bienvenu%netscape.com
58afd75e83 turn on green icon for local folders that get messages filtered into them from pop, r=gayatrib 43884
git-svn-id: svn://10.0.0.236/trunk@74354 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 23:16:38 +00:00
danm%netscape.com
ca41dc9d3b fix GetMostRecentWindow by fixing faulty code to locate the correct window in UpdateWindowTimeStamp. code=becki@talkware.net. r=me
git-svn-id: svn://10.0.0.236/trunk@74353 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 23:06:43 +00:00
nbhatla%netscape.com
a9d0bb6615 Bug #43658. Changes to menus and toolbar buttons for mac classic skin. r=hangas
git-svn-id: svn://10.0.0.236/trunk@74352 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 23:02:09 +00:00
nbhatla%netscape.com
9de53cea97 Bug #43658. Classic skin changes to addressbook, buttons (to make look Mac-like), colors, navigation toolbar buttons (to produce better mouse-over behavior), and small changes to spacing in radio buttons, menus, and checkboxes. r=hangas
git-svn-id: svn://10.0.0.236/trunk@74351 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 23:00:45 +00:00
bienvenu%netscape.com
01274d0894 fix upgrading of imap -> local filters by making GetChildByURI discover sub-folders, r=mscott 37320
git-svn-id: svn://10.0.0.236/trunk@74350 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:54:22 +00:00
javi%netscape.com
426d3ef9a5 Re-work some of the JavaScript for prefs so that Mozilla just "does the right thing."
git-svn-id: svn://10.0.0.236/trunk@74349 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:54:07 +00:00
wtc%netscape.com
bba25f392b Bugzilla bug #45683: define FD_SETSIZE to be 4096. This patch is
contributed by Jerry Kirk <Jerry.Kirk@nexwarecorp.com>.


git-svn-id: svn://10.0.0.236/trunk@74348 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:51:42 +00:00
nelsonb%netscape.com
f60e905611 Fix "random" modulus so it is odd and has msb of most significant digit
set to 1, and "random" base to be less than modulus.


git-svn-id: svn://10.0.0.236/trunk@74345 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:37:55 +00:00
nelsonb%netscape.com
d62ea6a2a7 Fix script to run on certain unix platforms.
git-svn-id: svn://10.0.0.236/trunk@74344 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:34:30 +00:00
nelsonb%netscape.com
fb62d50402 Shorten this test so it completes in less time.
git-svn-id: svn://10.0.0.236/trunk@74343 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:33:46 +00:00
nelsonb%netscape.com
1648745d5f Fix mpp_pprime() so it doesn't stop after first succesful iteration.
git-svn-id: svn://10.0.0.236/trunk@74342 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:32:46 +00:00
nelsonb%netscape.com
69a36bf77c Add support for 32-bit digits (64-bit words) on platforms that can
multiply two 32-bit values yielding a 64-bit product in hardware.
Fix bug in s_mp_div that computed a quotient digit q > DIGIT_MAX
when b > DIGIT_MAX/2 and b < a <= DIGIT_MAX.


git-svn-id: svn://10.0.0.236/trunk@74341 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:31:18 +00:00
nelsonb%netscape.com
0e27ece50b Elimintate type mismatch warning.
git-svn-id: svn://10.0.0.236/trunk@74340 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:23:23 +00:00
nelsonb%netscape.com
ed1059eeab Turn on MP_CRYPTO flag by default. Increase default size to 32 digits.
git-svn-id: svn://10.0.0.236/trunk@74339 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:22:28 +00:00
danm%netscape.com
bb4fcd441e enumerators GetNext() now returns the current window and then immediately advances to the next, rather than holding the last window and advancing before returning. fixes a skip when windows are deleted beneath them. bug 39633. r=bryner@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74338 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:21:47 +00:00
nelsonb%netscape.com
6fb1c065c7 Get file to work with SysV make on IRIX.
Add .i target (preprocessor output).


git-svn-id: svn://10.0.0.236/trunk@74337 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:21:42 +00:00
javi%netscape.com
79c1d2b05f Make the 'if' statement a '==' instead of a '='
git-svn-id: svn://10.0.0.236/trunk@74336 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:16:42 +00:00
pinkerton%netscape.com
2835498ba0 fix for 45238, add kung-fu death grip on widget while we're processing the event. r=saari.
git-svn-id: svn://10.0.0.236/trunk@74335 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 22:00:30 +00:00
pinkerton%netscape.com
c75e6e6e91 Temp workaround for bug 44369, r=saari. Don't deal with images on the clipboard that aren't
8 or 24 bits (sigh).


git-svn-id: svn://10.0.0.236/trunk@74334 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 21:49:12 +00:00
nbhatla%netscape.com
32522b9f8e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@74333 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 21:15:05 +00:00
nhotta%netscape.com
7716643591 Added mailnews.send_default_charset, mailnews.view_default_charset, check in for ftang, bug 39790, r=tao.
git-svn-id: svn://10.0.0.236/trunk@74332 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 21:13:36 +00:00
nhotta%netscape.com
9e54d32e99 Added intl.charsetmenu.browser, intl.charsetmenu.mailedit, check in for ftang, bug 39790, r=tao.
git-svn-id: svn://10.0.0.236/trunk@74331 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 21:12:30 +00:00
beard%netscape.com
0b017cf27b Shouldn't be putting PSMStubs in Components, causes a crash. a=jj
git-svn-id: svn://10.0.0.236/trunk@74330 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 21:05:44 +00:00
nbhatla%netscape.com
4b9873dfac For bug #43658. Modifies dialog overlays to have proper buttons on MacOS. Also modified other platforms to allow for specially-styled dialog buttons. r=hangas
git-svn-id: svn://10.0.0.236/trunk@74329 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 21:04:43 +00:00
despotdaemon%netscape.com
b5baaf1cdd Pseudo-automatic update of changes made by dave@intrec.com.
git-svn-id: svn://10.0.0.236/trunk@74328 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 21:04:18 +00:00
ben%netscape.com
d109178db9 modify navigator tooltip to remove location for links
git-svn-id: svn://10.0.0.236/trunk@74327 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 20:46:51 +00:00
beard%netscape.com
c62f4a9ee1 cleaned up by removing widenCString() calls when using world.identifiers
git-svn-id: svn://10.0.0.236/trunk@74326 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 20:39:19 +00:00
pavlov%netscape.com
f0a7ca3db0 changing createInstance to getService to fix 45439 r=gramps
git-svn-id: svn://10.0.0.236/trunk@74325 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 20:28:58 +00:00
radha%netscape.com
470491c9d8 Fallout from previous checkin for bug # 45520. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@74324 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 20:12:27 +00:00
tao%netscape.com
d28f96d96c silent linux build process.
git-svn-id: svn://10.0.0.236/trunk@74323 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 19:59:18 +00:00
rhp%netscape.com
cbbdadaa20 Fix for Bug 1193 - I18N problem with phone numbers - r: brade
git-svn-id: svn://10.0.0.236/trunk@74322 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 19:58:52 +00:00
dbragg%netscape.com
398eb325ab Fix for regression nsbeta2+ bug #45299. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@74321 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 19:56:53 +00:00
mkaply%us.ibm.com
2838858147 #42637
r=mkaply, a=brendan
Implement DrawTile so background images are displayed


git-svn-id: svn://10.0.0.236/trunk@74320 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 19:50:21 +00:00
mkaply%us.ibm.com
239be1d8f2 #42637
r=mkaply, a=brendan
Assert switching skins - add additional font types for OS/2


git-svn-id: svn://10.0.0.236/trunk@74319 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 19:47:39 +00:00
conrad%ingress.com
14ebd77604 1. Added Get/SetPersistentDescriptor. Use this instead of GetPath/InitWithPath.
2. It is now possible to pass nsnull for the path param to NS_NewLocalFile(). This allows one to create an unspecified file.
r = dougt


git-svn-id: svn://10.0.0.236/trunk@74318 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 15:03:05 +00:00
conrad%ingress.com
a4ee995bf1 Added Get/SetPersistentDescriptor. Use this instead of GetPath/InitWithPath.
r = dougt


git-svn-id: svn://10.0.0.236/trunk@74317 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 15:01:10 +00:00
conrad%ingress.com
377de8996f Added Get/SetPersistentDescriptor method. Use this instead of GetPath/InitWithPath.
git-svn-id: svn://10.0.0.236/trunk@74316 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 14:57:14 +00:00
nboyd%atg.com
6cdb0ab2d5 Fix javadoc error.
git-svn-id: svn://10.0.0.236/trunk@74315 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 14:08:28 +00:00
Jerry.Kirk%Nexwarecorp.com
106990278f This test relies on GTK libraries and header files, it is not
buildable on other non-GTK unix builds, like Photon. This change to
the Makefile makes sure this test is only built if GTK is enabled.
r=cls


git-svn-id: svn://10.0.0.236/trunk@74314 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 13:06:50 +00:00
mj%digicool.com
641eacf787 Adjust for nsIHTTPChannel API change, and fix small bug in entity handling; &gt;
means '>' =/


git-svn-id: svn://10.0.0.236/trunk@74313 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 11:36:12 +00:00
bienvenu%netscape.com
d6acb6706e fix AND imap search r=alecf 45419
git-svn-id: svn://10.0.0.236/trunk@74312 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 09:56:20 +00:00
ducarroz%netscape.com
18dcb2bea3 Fix for bug 42329. Use oninput events instead of onkeypress in order to be compatible with IME. R=putterman
git-svn-id: svn://10.0.0.236/trunk@74311 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 04:28:48 +00:00
svn%xmlterm.org
59639cf42d --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
"make xpi" in xmlterm/scripts directory now creates an XPI file for XMLterm.
Removed last vestiges of WebShell!
Deleted outdated GeckoTerm files.


git-svn-id: svn://10.0.0.236/trunk@74310 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 04:11:24 +00:00
tor%cs.brown.edu
3e92dbcf9c Clip 8-bit alpha composited images for bug 44735.
git-svn-id: svn://10.0.0.236/trunk@74309 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 03:02:31 +00:00
morse%netscape.com
2b7dbd27f5 bug 44146, get parent window for modal dialogs
git-svn-id: svn://10.0.0.236/trunk@74308 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 01:37:15 +00:00
shanjian%netscape.com
41b78e469d #42837
Disable charset menu after the document has been modified.
r=cmanske


git-svn-id: svn://10.0.0.236/trunk@74307 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 01:13:10 +00:00
shanjian%netscape.com
85b3673106 #42837
Disable charset menus after the document has been modified.
r=cmanske


git-svn-id: svn://10.0.0.236/trunk@74306 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-17 01:12:10 +00:00
mcafee%netscape.com
bf2a76dc7d Removing extensions/xmlextras/soap/base, there is no code checked into this directory yet.
git-svn-id: svn://10.0.0.236/trunk@74305 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-16 20:13:43 +00:00
valeski%netscape.com
9f98974650 updating a comment
git-svn-id: svn://10.0.0.236/trunk@74304 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-16 15:05:31 +00:00
conrad%ingress.com
24e95eef9a First checkin - Not yet part of build.
git-svn-id: svn://10.0.0.236/trunk@74303 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-16 14:20:33 +00:00
conrad%ingress.com
bd16cdc083 First checkin - Not yet part of build
git-svn-id: svn://10.0.0.236/trunk@74302 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-16 14:18:11 +00:00
jfrancis%netscape.com
e0dcede60f exporting nsIEditorObserver.h
git-svn-id: svn://10.0.0.236/trunk@74301 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-16 07:13:03 +00:00
jfrancis%netscape.com
6d22c9ff81 making the text frame use nsIEditorObserver (instead of nsIDocumentObserver). this is for bug 42329: autocompletion firing in the middle of uncommitted ime entry. r=fm
git-svn-id: svn://10.0.0.236/trunk@74300 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-16 06:43:34 +00:00
jfrancis%netscape.com
b583093ee1 adding in support for nsIEditorObserver. this is for bug 42329: autocompletion firing in the middle of uncommitted ime entry. r=fm
git-svn-id: svn://10.0.0.236/trunk@74299 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-16 06:36:27 +00:00
waterson%netscape.com
4b0eb75e6e Bug 45568. Don't flush notifications while looking for the nsIEditor object! The content sink may be in a crazy state where it's trying to rotate the content model. r=mozbot, because this is a smoketest blocker.
git-svn-id: svn://10.0.0.236/trunk@74298 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 20:51:01 +00:00
brendan%mozilla.org
26dfd37419 Remove unused vars and WIN16 crap; improve freelist-scavenging code to avoid taking too big an arena off the freelist in the case where nb > arenasize (41381 again, r=jband@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@74297 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 19:12:49 +00:00
edburns%acm.org
7e42c828a0 Thanks to Andy Tripp <atripp@home.com> the DOMViewer
now scrolls to the shift-clicked node.


git-svn-id: svn://10.0.0.236/trunk@74296 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 18:56:30 +00:00
wtc%netscape.com
54151cf995 Map error codes.
git-svn-id: svn://10.0.0.236/trunk@74295 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 17:32:33 +00:00
wtc%netscape.com
aa7c6da4d5 Bugzilla bug #25981: BSD-derived systems use systcl() to get the number
of processors.  Thanks to Hans Lambermont <hans@blender.nl> for pointing
out the use of sysctl().


git-svn-id: svn://10.0.0.236/trunk@74294 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 17:23:57 +00:00
mcafee%netscape.com
8ba8ceb464 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@74293 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 15:57:43 +00:00
mcafee%netscape.com
3f66cf83ee Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@74292 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 15:56:34 +00:00
mcafee%netscape.com
a848569bbc Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@74289 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 15:50:33 +00:00
rbs%maths.uq.edu.au
ccce3a7633 Temp. turn off non-TT fonts from the gGlobalFonts list in MathML-enabled builds. Change suggested by erik before going for his sabbatical
git-svn-id: svn://10.0.0.236/trunk@74288 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 08:07:24 +00:00
Peter.VanderBeken%pandora.be
dbef22ac56 Adding SOAP to mac projects. Not part of build. a=vidur.
git-svn-id: svn://10.0.0.236/trunk@74287 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 06:37:21 +00:00
idk%eng.sun.com
736f68d6bc ** Not tbuild part **
Ported BlackConnect to Linux. It is working wuth IBM jdk1.3


git-svn-id: svn://10.0.0.236/trunk@74286 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 06:18:54 +00:00
gagan%netscape.com
6a2e29868d Complete fix for bug 41433 (assert/crash in DNS for offline-online) We were not destroying the monitor in shutdown. r=bryner.
git-svn-id: svn://10.0.0.236/trunk@74285 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 01:47:30 +00:00
warren%netscape.com
0b5670eee7 Fixed reentrancy into service manager getting the PSM component. Fixed some warnings too. r=dprice
git-svn-id: svn://10.0.0.236/trunk@74284 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 01:38:32 +00:00
idk%eng.sun.com
24ef32241f ** not part of tbox build **
Renamed makefiles.


git-svn-id: svn://10.0.0.236/trunk@74283 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 01:37:28 +00:00
javi%netscape.com
61e6729143 Fix P12 import on Solaris given the new NLS package.
git-svn-id: svn://10.0.0.236/trunk@74282 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 01:18:33 +00:00
vidur%netscape.com
b7674a0e8e SOAP listeners now get the protocol status as part of the response. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@74281 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 00:24:27 +00:00
warren%netscape.com
6717724971 Fixed GetSearch to deal with urls that don't implement nsIURL. r=waterson
git-svn-id: svn://10.0.0.236/trunk@74280 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 00:14:02 +00:00
gagan%netscape.com
9723b01e4d Fixed bug 39610. Failed http auth were not being deleted from the single signon database. r=morse.
git-svn-id: svn://10.0.0.236/trunk@74279 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 00:12:27 +00:00
rginda%netscape.com
f05ffa274c removing bogus assert (per rogerl)
git-svn-id: svn://10.0.0.236/trunk@74278 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-15 00:01:25 +00:00
rjc%netscape.com
20494f74f7 Part of fix for nsbeta2+ bug # 28787: FTP listings of non-ascii filenames. r=gagan
git-svn-id: svn://10.0.0.236/trunk@74277 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 23:21:48 +00:00
dbaron%fas.harvard.edu
d8fbca3fa0 Fix bug 42895 (nsbeta2+), a huge leak whenever a text input receieves an event, by propogating SetDocument(null,...) calls to the anonymous content in ender-lite widgets so that script objects for that content are unrooted. r=hyatt, mjudge
git-svn-id: svn://10.0.0.236/trunk@74276 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 23:20:48 +00:00
mscott%netscape.com
e3c43054ee Bug #43691 --> fix pop uidl urls by supressing OnStart and OnStopRequest calls
if the url we are running isn't going to result in any new content.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@74275 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 23:16:47 +00:00
javi%netscape.com
2b12d6c373 Make solaris join the realm of XPCOM
git-svn-id: svn://10.0.0.236/trunk@74274 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 23:13:45 +00:00
beard%netscape.com
04ddc4f4ec added operator[](const char*) to StringAtomTable.
git-svn-id: svn://10.0.0.236/trunk@74273 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 23:10:02 +00:00
ruslan%netscape.com
8573c07ccc Fix 45398, a=valeski, r=gagan
git-svn-id: svn://10.0.0.236/trunk@74272 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 23:01:53 +00:00
jfrancis%netscape.com
d07d2c5ad9 adding nsIEditorObserver
git-svn-id: svn://10.0.0.236/trunk@74271 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 22:42:52 +00:00
radha%netscape.com
1ecf6739ae Fix for 45297 r=pollmann
git-svn-id: svn://10.0.0.236/trunk@74270 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 22:42:33 +00:00
jfrancis%netscape.com
1aef464ec1 first checked in
git-svn-id: svn://10.0.0.236/trunk@74269 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 22:42:23 +00:00
jst%netscape.com
14a7bb93fc Fixing IDLC to play nicely in the new string world, not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@74268 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 22:37:55 +00:00
hangas%netscape.com
ba18a5248d Work on bug 43658 for classic skin, also fixes bug 45294 on win32 and linux. written by german, r= hangas
git-svn-id: svn://10.0.0.236/trunk@74267 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 22:35:05 +00:00
mcafee%netscape.com
d52690c937 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@74266 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 22:28:05 +00:00
rogerl%netscape.com
b8f931c969 Fixed slots for non-function vars, plus bug in slot xcrement.
git-svn-id: svn://10.0.0.236/trunk@74265 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 22:23:20 +00:00
andreas.otte%primus-online.de
f49c76a6d8 fix for bug 42342 [[regression] Text before ':' in URL is interpreted as protocol], we now try the www...com trick instead, not much better, but in alignment with our current fixup strategy, r=valeski@netscape.com, a=waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74264 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 22:21:52 +00:00
sfraser%netscape.com
495ff80f0b Fix for nsbeta2+ bug 31134 -- paste in edit menu not enabled correctly. Add a new command set for clipboard-related menu items, and fire it on Copy. Also ensure that UpdateCommands("focus") gets called on window activation, and when unfocussing a wiget in page.
r=hyatt, saari


git-svn-id: svn://10.0.0.236/trunk@74263 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 22:06:31 +00:00
sfraser%netscape.com
90b67a19b8 Fix for nsbeta2+ bug 31134 -- paste in edit menu not enabled correctly. Add a new command set for clipboard-related menu items, and fire it on Copy. Also ensure that Undo/Redo commands are updated correctly, and avoid bogus command updating in plain text compose (since that caused JS errors). r=kin,jfrancis.
git-svn-id: svn://10.0.0.236/trunk@74262 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 21:58:50 +00:00
tao%netscape.com
aa8deabe77 rip out obsolete code.
git-svn-id: svn://10.0.0.236/trunk@74261 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 21:35:55 +00:00
tao%netscape.com
6a9c00a7e0 45262 Check-In "View | Set Language/Region" code to better
expose the Counrty Picker feature to user.r=ftang


git-svn-id: svn://10.0.0.236/trunk@74260 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 21:27:43 +00:00
radha%netscape.com
9546eaefab fix for 44963.crash in SH while clicking in the throbber. r=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74259 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 21:06:20 +00:00
law%netscape.com
db1ec9cb0c Bug 32357; fix context menus for file/directory listings; r=waterson
git-svn-id: svn://10.0.0.236/trunk@74258 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 20:30:07 +00:00
kin%netscape.com
19eb078c58 Fix for bug #45002: Password displayed in clear text.
layout/html/forms/src/nsGfxTextControlFrame2.cpp
      - Modified CreateAnonymousContent() to disable forced
        refreshes and reflows in the editor, and call
        SetTextControlFrameState() to set the intial value
        of the text widget.
      - Fixed leak in SetTextControlFrameState().

    editor/public/nsIHTMLEditor.h
      - Added DisableForcedUpdates and DisableForcedRefreshes flags.

    editor/base/nsEditor.cpp
      - Modified EndUpdateViewBatch() so that it uses the new
        DisableForcedUpdates and DisableForcedRefreshes flags.
      - We now also close the reflow batch before we close the
        update batch.

r=brade@netscape.com


git-svn-id: svn://10.0.0.236/trunk@74257 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 20:26:09 +00:00
jfrancis%netscape.com
51f6b4f01c reserving iid for nsIEditorObserver; NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@74256 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 19:12:30 +00:00
dougt%netscape.com
06927daab1 First draft of a unix export file.
(not part of build)


git-svn-id: svn://10.0.0.236/trunk@74255 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 18:44:40 +00:00
anthonyd%netscape.com
57bfacee97 fix for regression, bug#45477
cant insert hrules, images, etc...
r=brade, a=granrose


git-svn-id: svn://10.0.0.236/trunk@74254 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 18:38:24 +00:00
dougt%netscape.com
eb35e21bbf Updating with the latest and greatest listing.
git-svn-id: svn://10.0.0.236/trunk@74253 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 17:26:58 +00:00
vidur%netscape.com
1ce8e67131 Fixed Mac casting problem. This is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@74252 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 16:25:09 +00:00
granrose%netscape.com
9d84bbcfc3 removing three lines from packages-unix that were deleting files that don't exist and generating warnings during packaging.
git-svn-id: svn://10.0.0.236/trunk@74251 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 15:34:49 +00:00
terry%mozilla.org
f9b5e013ed Don't lowercase the entries in legal_keywords.
git-svn-id: svn://10.0.0.236/trunk@74250 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 15:31:43 +00:00
Jerry.Kirk%Nexwarecorp.com
d8c3615da0 NOT PART OF MAIN BUILD - PHOTON ONLY
I needed export a few more files for the test app and add a new virtual
method that has been added since I last checked in this code.
r=jerry.kirk


git-svn-id: svn://10.0.0.236/trunk@74249 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 14:54:04 +00:00
Jerry.Kirk%Nexwarecorp.com
ebec5605e4 NOT PART OF BUILD - PHOTON ONLY
Added a little character conversion to get some special characters
to display correctly on yahoo and abcnews. This has already been
added for other platforms like GTK. author=briane@qnx.com
r=jerry.kirk


git-svn-id: svn://10.0.0.236/trunk@74248 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 14:03:03 +00:00
Peter.VanderBeken%pandora.be
5aaef2956a Make sure to return the prefix for attributes if necessary. Not part of build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@74247 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 10:32:52 +00:00
rjc%netscape.com
873cf151d5 Part of fix for nsbeta2+ bug # 28787: FTP listings of non-ascii filenames. r=me
git-svn-id: svn://10.0.0.236/trunk@74246 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 09:07:13 +00:00
mscott%netscape.com
36f11fb439 fix mac breakge. I don't think we did it correctly last time. (mscott and bhuvan)
git-svn-id: svn://10.0.0.236/trunk@74245 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 08:29:45 +00:00
idk%eng.sun.com
49187dc0e6 ** NOT PART OF TBOX BUILDS**
Add checking code for component creation


git-svn-id: svn://10.0.0.236/trunk@74244 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 07:19:49 +00:00
mscott%netscape.com
6d34885b89 Backing out gagan's check in as this causes linux to crash on exit which is turning all the linux
builds orange.


git-svn-id: svn://10.0.0.236/trunk@74243 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 06:27:54 +00:00
mscott%netscape.com
3c994edb8d Bug #35744 --> fix hang when fetching urls that don't exist. The fix was to
implement nsIWebProgressListener by the url fetcher. This will tell us when
we've failed to fetch the url. Also had to make sure we passed in a valid load group to the
channel. And added protection to make sure the OnStopRequest doesn't get processed twice.

One caveat is still left with this bug: you are still prompted after each url we fail to load. This
is pretty annoying.

r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@74242 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 06:18:44 +00:00
brendan%mozilla.org
b5e74c9818 Fix for..in loop bug that reopened 41126 (r=jband@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@74241 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 05:37:40 +00:00
brendan%mozilla.org
00f93edbeb Fix 41381 regression from last fix attempt (r=jband).
git-svn-id: svn://10.0.0.236/trunk@74240 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 05:35:08 +00:00
jband%netscape.com
8ddf28d7f5 Fix dropProperty crash. This is needed because the JSObjects used by xpconnect wrapped natives need to act both as host objects with non-slot properties and as a plain JSObjects using the default JSOps and all that entails. So, we can't be passing the host-style props to dropProperty though we do still need to do so for other props. This has only been working up to now by luck. r=brendan@mozilla.org a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74239 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 05:34:46 +00:00
mscott%netscape.com
82915331fc fix mac breakge (mscott and bhuvan)
git-svn-id: svn://10.0.0.236/trunk@74238 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 05:13:16 +00:00
neeti%netscape.com
8289d2fcfe fix for bug 40449, Cache does not store latest value of pages, r/a=gagan
git-svn-id: svn://10.0.0.236/trunk@74237 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 03:58:02 +00:00
gagan%netscape.com
27cf2fa9c2 Removed a not-being-used file.
git-svn-id: svn://10.0.0.236/trunk@74236 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 03:20:33 +00:00
endico%mozilla.org
f0886fcfef change '@::legal_resolution_no_dup' to '@::settable_resolutions'. This a list of resolutions which a bug may be changed to in the bug form and consists of all legal resolutions except 'MOVED' and 'DUPLICATE', since setting a bug to those resolutions requires a special process.
git-svn-id: svn://10.0.0.236/trunk@74235 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 03:20:17 +00:00
racham%netscape.com
e83db94f62 Fixing bug 13850. Profile Manager now handles out of disk space errors passed by prefmigrator. r=dbragg
git-svn-id: svn://10.0.0.236/trunk@74234 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 03:10:18 +00:00
gagan%netscape.com
e4e57e4361 Fix for bug 41433 (assert/crash in DNS for offline-online) We were not destroying the monitor in shutdown. r=bryner
git-svn-id: svn://10.0.0.236/trunk@74233 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 03:07:35 +00:00
gagan%netscape.com
55c1bd36bb Removed a not-being-used file. r=warren
git-svn-id: svn://10.0.0.236/trunk@74232 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 02:43:12 +00:00
morse%netscape.com
9d0c30d762 partial fix for 44514 -- slow on first form submission, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@74231 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 01:58:18 +00:00
tao%netscape.com
32a68c36df back out unintentional checkin.
git-svn-id: svn://10.0.0.236/trunk@74230 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 01:53:15 +00:00
rogerl%netscape.com
3b8f784bce Backed out time()
git-svn-id: svn://10.0.0.236/trunk@74229 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 01:46:14 +00:00
dbaron%fas.harvard.edu
30fe01caa1 Clean up stack trace horribly mangled by some editor. Documentation changes only (not part of build).
git-svn-id: svn://10.0.0.236/trunk@74228 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 01:41:11 +00:00
mscott%netscape.com
b489157351 Bug #44587 --> fix send mail via aol. caching of smtp values was breaking this. so
you could only send one message. Subsequent message sends fail.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@74227 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 01:38:55 +00:00
rogerl%netscape.com
d2493254c5 Type targetted binary operators.
Added 'time()' function as native.


git-svn-id: svn://10.0.0.236/trunk@74226 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 01:00:53 +00:00
dbaron%fas.harvard.edu
eaf444d02e "AUTHOR INFO HERE" isn't a very useful comment. Add author info.
git-svn-id: svn://10.0.0.236/trunk@74225 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 00:54:24 +00:00
pavlov%netscape.com
ec2c7e75ed sigh. checking in a better fix
git-svn-id: svn://10.0.0.236/trunk@74224 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 00:49:27 +00:00
nelsonb%netscape.com
4a93e035ae 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@74223 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 00:45:02 +00:00
pavlov%netscape.com
02ffe41ed5 fixing stupid mac build bustage
git-svn-id: svn://10.0.0.236/trunk@74222 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 00:35:26 +00:00
vidur%netscape.com
986c918c92 Got rid of unused, unimplemented nsISOAPCall:SetSimpleParameters. The script version of nsISOAPCall::SetParameters does exactly this. This is not part of the default build
git-svn-id: svn://10.0.0.236/trunk@74221 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 00:34:50 +00:00
vidur%netscape.com
f6317563bc Added xmlextras/soap to allmakefiles.sh (not part of default build)
git-svn-id: svn://10.0.0.236/trunk@74220 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 00:26:38 +00:00
tao%netscape.com
465800e1c1 39790 : [L12y] Move all localizable prefs into chrome://.r=rjc
git-svn-id: svn://10.0.0.236/trunk@74219 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 00:06:38 +00:00
endico%mozilla.org
784fc13494 oops, remove testing cruft
git-svn-id: svn://10.0.0.236/trunk@74218 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 00:03:48 +00:00
tao%netscape.com
6566e383a8 39790 : [L12y] Move all localizable prefs into chrome:// .r=rjc.
git-svn-id: svn://10.0.0.236/trunk@74217 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-14 00:01:33 +00:00
endico%mozilla.org
65ae75ca0b move the 'Move Bug" button so its less likely to be confused with the commit button
git-svn-id: svn://10.0.0.236/trunk@74216 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:57:18 +00:00
pavlov%netscape.com
1886d77b58 fix for secure imap and news bug 39154 r=mscott
git-svn-id: svn://10.0.0.236/trunk@74215 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:53:54 +00:00
pchen%netscape.com
cb62757f25 Partial fix 44281 r=dougt, add certificate authority status bar XUL item and a spring to make it stick to immediate left of security lock icon
git-svn-id: svn://10.0.0.236/trunk@74214 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:52:22 +00:00
pchen%netscape.com
0a774f4ecd Partial fix 44281 r=dougt, add mCertificateAuthorityDisplay member
git-svn-id: svn://10.0.0.236/trunk@74213 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:52:10 +00:00
pchen%netscape.com
a62d5fca9b Partial fix 4428 r=dougt, set mCertificateAuthorityDisplay inside init(), change it whenever we change security lock status
git-svn-id: svn://10.0.0.236/trunk@74212 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:52:09 +00:00
pchen%netscape.com
1c97a2a7c9 Partial fix 44281 r=dougt, get certificate authority XUL element and pass that into secruityUI.init()
git-svn-id: svn://10.0.0.236/trunk@74211 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:52:08 +00:00
pchen%netscape.com
956ccecfa1 Partial fix 44281 r=dougt, added certauth parameter to init()
git-svn-id: svn://10.0.0.236/trunk@74210 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:52:07 +00:00
tao%netscape.com
016fdbee0e 39790 : [L12y] Move all localizable prefs into chrome:// .r=morse
git-svn-id: svn://10.0.0.236/trunk@74209 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:51:35 +00:00
tao%netscape.com
a9fb1d5249 39790 : [L12y] Move all localizable prefs into chrome:// .r=morse,valeski.
git-svn-id: svn://10.0.0.236/trunk@74208 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:50:21 +00:00
tao%netscape.com
45a87f1bff 39790 : [L12y] Move all localizable prefs into chrome://.r=morse.
git-svn-id: svn://10.0.0.236/trunk@74207 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:46:53 +00:00
tao%netscape.com
55e8b84196 39790 : [L12y] Move all localizable prefs into chrome:// .r=valeski.
git-svn-id: svn://10.0.0.236/trunk@74206 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:45:10 +00:00
dbragg%netscape.com
764d71efbd Fixed some potential NASTY bugs related to fix for bug #36249. Specifically corrupting the users 4.x prefs.js file. Very bad. r=racham
git-svn-id: svn://10.0.0.236/trunk@74205 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:29:24 +00:00
cmanske%netscape.com
6718684d1e Fixed wrong method call to set background image for Table Dialog. Part of work for 20973, r=mjudge
git-svn-id: svn://10.0.0.236/trunk@74204 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:20:42 +00:00
mjudge%netscape.com
d6fdcca880 storing the factory as a weak reference. speeding up ender-lite. r= anthonyd, r= jfrancis
git-svn-id: svn://10.0.0.236/trunk@74203 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:20:15 +00:00
mjudge%netscape.com
1e328a1b18 removing unnecessary ifdef
git-svn-id: svn://10.0.0.236/trunk@74202 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:19:21 +00:00
mjudge%netscape.com
58aa190a55 making the element factory support weak references. needed to make ender-lite faster.
git-svn-id: svn://10.0.0.236/trunk@74201 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:18:37 +00:00
mcafee%netscape.com
078be2dc0e Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@74200 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:15:42 +00:00
mjudge%netscape.com
1f23cf0495 anthonyd: r=mjudge bug 39919 letting DOM level 2 stuff work for the editor. eliminating createelementNS and using the factory instead.
git-svn-id: svn://10.0.0.236/trunk@74199 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:15:41 +00:00
endico%mozilla.org
47f5d073f0 Bug moving code is now fully implemented. To use it, turn on the param and set the move related params.
git-svn-id: svn://10.0.0.236/trunk@74198 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:12:52 +00:00
vidur%netscape.com
bc2de9b1ae Added SOAP component tothe XMLExtras module. This is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@74197 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:12:39 +00:00
vidur%netscape.com
a84fc8ed95 SOAP calling tests
git-svn-id: svn://10.0.0.236/trunk@74196 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:11:59 +00:00
vidur%netscape.com
24c3708e0f Additional SOAP call work. This is not part of the Seamonkey project.
git-svn-id: svn://10.0.0.236/trunk@74195 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:11:16 +00:00
vidur%netscape.com
f50db6ee93 Commented nsIXMLHttpRequest. Used the new nsIXPCNativeCallContext::SetReturnValueWasSet method to deal with returning event handler function objects to script callers of nsIXMLHttpRequest::Onload and Onerror. Turned on synchronous requests. This is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@74194 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:08:30 +00:00
jband%netscape.com
7b95a566f5 add THREADSAFE nsISupports implementation macros to some of the classes which lacked them. bug 45404. a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74193 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:04:15 +00:00
hyatt%netscape.com
c23002ba84 Fix for 43467. r=bryner
git-svn-id: svn://10.0.0.236/trunk@74192 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 23:00:59 +00:00
tao%netscape.com
7b07c56907 42748 After selecting locale for new profile, different profile does not
switch back.(r,a)=hyatt


git-svn-id: svn://10.0.0.236/trunk@74191 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 22:59:22 +00:00
akkana%netscape.com
b1d2c282a3 Take my name out of a debug printf -- tired of seeing all that output
git-svn-id: svn://10.0.0.236/trunk@74190 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 22:50:39 +00:00
akkana%netscape.com
bc856a5cb9 42885: The other platforms define cut/copy/paste in their platform files (why?), so, sigh, do the same thing, for now. r=saari
git-svn-id: svn://10.0.0.236/trunk@74189 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 22:21:42 +00:00
akkana%netscape.com
956e3e05a8 42885: Add cut/copy/paste/undo/redo bindings. r-saari
git-svn-id: svn://10.0.0.236/trunk@74188 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 22:10:13 +00:00
morse%netscape.com
acbc713c55 sidestep bug 43200, coded by jrgm, r=morse&hyatt
git-svn-id: svn://10.0.0.236/trunk@74187 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 21:54:37 +00:00
jst%netscape.com
f3b7df1a2e Fixing (partially at least) nsbeta2+ bug 38951, the problem was that properties on closed window objects were not accessible due to the document being destroyed to soon. We still destroy the document too soon but now we at least hold on to the document principal in the window object so that we don't bail on every security check done for every access to properties the closed window. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74186 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 21:48:25 +00:00
varada%netscape.com
f147f23011 fix for bug#41678 -need printplus in addressbook.xul;r=scottip
git-svn-id: svn://10.0.0.236/trunk@74185 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 21:46:52 +00:00
akkana%netscape.com
01ccd93d46 42885: Add cut/copy/paste bindings for input fields and text areas. r=saari
git-svn-id: svn://10.0.0.236/trunk@74184 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 21:38:32 +00:00
endico%mozilla.org
8a584f071d Add 'MOVED' as a default resolution. If CheckEnumField alters the bug db then update the shadow db too.
git-svn-id: svn://10.0.0.236/trunk@74183 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 21:38:15 +00:00
matt%netscape.com
4f1747de4a changing url for chrome to fix bug 43223
r=ben


git-svn-id: svn://10.0.0.236/trunk@74182 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 21:36:40 +00:00
ftang%netscape.com
de073507d6 fix bug 43272. r=ssu/dvetidz . check nsresult by using NS_FAILED instead of NS_OK !=
becaues the Japanese to Unicode converter may return success code whihc is not NS_OK


git-svn-id: svn://10.0.0.236/trunk@74181 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 21:21:24 +00:00
erik%netscape.com
5eeeba2ff6 bug 39570; we were using the Western font to determine the height of the
URL bar, and this caused the Japanese text to be truncated; we now use the
locale's language group when the caller does not pass us the correct one;
r=nhotta


git-svn-id: svn://10.0.0.236/trunk@74180 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 21:13:13 +00:00
erik%netscape.com
028aa255d5 bug 39570; was using Korean font for Japanese text; we now use the locale's
language group when the document is in Unicode; r=nhotta


git-svn-id: svn://10.0.0.236/trunk@74179 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 21:10:34 +00:00
erik%netscape.com
c6b2ec4689 bug 22031; enabling raster (bitmap) fonts on Windows, e.g. for UI;
r=rods,rbs


git-svn-id: svn://10.0.0.236/trunk@74178 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 21:08:37 +00:00
chuang%netscape.com
e36a60e6a5 Bug 45282 No Address Book in today's Linux build. r=alecf
git-svn-id: svn://10.0.0.236/trunk@74177 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 21:07:01 +00:00
mkaply%us.ibm.com
6f5c8bba6b #39218
r = ben, a = waterson
I am checking this in for jag - new animation for modern skin that has rounded edges


git-svn-id: svn://10.0.0.236/trunk@74176 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 21:04:54 +00:00
evaughan%netscape.com
51491965b2 Fix for bug #44576
-r jrgm

PS: Last checkin was reviewed by waterson. Forgot the -r


git-svn-id: svn://10.0.0.236/trunk@74175 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 20:58:42 +00:00
nhotta%netscape.com
98c610b5a9 Added a charset load listener for mail, bug 28869,r=cata.
git-svn-id: svn://10.0.0.236/trunk@74174 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 20:57:46 +00:00
nhotta%netscape.com
4861d70cd9 Added a mail charset menu cache support, bug 28869,r=cata.
git-svn-id: svn://10.0.0.236/trunk@74173 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 20:55:52 +00:00
nhotta%netscape.com
97a395aadf Changed to check override case before set a charset to msgWindow, bug 28869, r=mscott.
git-svn-id: svn://10.0.0.236/trunk@74172 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 20:53:57 +00:00
evaughan%netscape.com
10a4df8c45 Fix for ender clip widget bug #42451
git-svn-id: svn://10.0.0.236/trunk@74171 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 20:51:39 +00:00
dougt%netscape.com
5db9479d39 *NOT PART OF BUILD*
Embedding exporter.


git-svn-id: svn://10.0.0.236/trunk@74170 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 20:40:21 +00:00
varada%netscape.com
95a6488ff8 changing the exe name from Netscapesetup to N6setup
git-svn-id: svn://10.0.0.236/trunk@74169 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 20:31:14 +00:00
terry%mozilla.org
bec7111c1d Oops. How did I let that horrible typo get in?
git-svn-id: svn://10.0.0.236/trunk@74168 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 20:07:20 +00:00
terry%mozilla.org
9126128ba9 Keywords were already enforced to never differ only in capitalization. So, changed the code so that case no longer matters when typing in the name of a keyword.
git-svn-id: svn://10.0.0.236/trunk@74167 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 20:04:15 +00:00
mkaply%us.ibm.com
0814704e83 #42637
r = mkaply, a = brendan
TINDERBOXBREAK - THIS FILE IS OS/2 ONLY


git-svn-id: svn://10.0.0.236/trunk@74166 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 15:39:52 +00:00
kin%netscape.com
d848b855b4 Fix for bug #43208: readonly text fields are not readonly
Modified CreateAnonymousContent() and AttributeChanged()
to set the editor's readonly and disabled flags.
r=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@74165 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 13:51:37 +00:00
blizzard%redhat.com
467bf3303a fix focus problems documented in bug #45351. make sure that key press events are not passed to mozilla windows when an external gtk widget has focus and make sure that key press events are passed to mozilla when it has focus and a key press event happens outside of its windows. r=pavlov a=waterson
git-svn-id: svn://10.0.0.236/trunk@74164 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 11:48:28 +00:00
taka%netscape.com
7fd6e8e721 fix for #43219. r=alecf,nhotta
git-svn-id: svn://10.0.0.236/trunk@74163 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 07:17:03 +00:00
mscott%netscape.com
1cefd5cc5e Bug #43583 --> bring up the save as dialog from the backend instead of from the front end.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@74162 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 06:26:25 +00:00
mscott%netscape.com
0182f2a741 Bug #43583 --> set the application description field on the mime info object based on a registry setting if we are getting the
information from the windows registry. This is later used by the helper app dialog. Correctly implement different
behaviors for mime info action types of useSystemDefault vs. useHelperApp
r=alecf


git-svn-id: svn://10.0.0.236/trunk@74161 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 06:25:53 +00:00
brendan%mozilla.org
5ecfd2355f Why didn't the lack of this break Linux, where I tested?
git-svn-id: svn://10.0.0.236/trunk@74160 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 05:56:28 +00:00
mscott%netscape.com
cec6947904 Bug #44603 --> hack to get around an infinite loop if we try to open a .eml attachment
The fix: if the attachment is of type message/rfc822 then treat the outgoing content
as raw data to force a new browser window to come up and display the content.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@74159 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 05:28:51 +00:00
syd%netscape.com
33ca3be564 Add makefiles for JS profiler
git-svn-id: svn://10.0.0.236/trunk@74158 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 05:19:46 +00:00
syd%netscape.com
3ffc713fbf Add support to JS profiler for collecting min, max, and average execution
times of functions. Doesn't yet handle rentrancy. Create Makefile.in files
so this stuff will build on *nix. r=jband, a=leaf


git-svn-id: svn://10.0.0.236/trunk@74157 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 05:19:22 +00:00
alecf%netscape.com
fde537da4e Fix for #37302, among other things - bring lots of mail menus up to spec- patch contributed by timeless@bemail.org r=alecf, a=brendan
git-svn-id: svn://10.0.0.236/trunk@74156 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 05:18:17 +00:00
brendan%mozilla.org
854313ee5e Try again for bug 41381, r=wtc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74155 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 05:08:35 +00:00
rbs%maths.uq.edu.au
284a2a04fc [not part of default build] perf. enh. in the land of stretchy chars. a:waterson
git-svn-id: svn://10.0.0.236/trunk@74154 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 04:18:35 +00:00
rbs%maths.uq.edu.au
7c42c8c238 Fix build bustage. b:42793. a:waterson
git-svn-id: svn://10.0.0.236/trunk@74153 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 04:16:01 +00:00
rhp%netscape.com
bc7240cef6 Fix for crashing in forward - reply - Bug #: 45216 - r: alecf
git-svn-id: svn://10.0.0.236/trunk@74152 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 04:02:35 +00:00
brendan%mozilla.org
281682666b Uh oh. Back out last change until I'm sure I'm not an idiot.
git-svn-id: svn://10.0.0.236/trunk@74151 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 04:00:33 +00:00
brendan%mozilla.org
8f313d2720 Fix ancient bugs: compare-and-swap is not threadsafe given A-B-A address replay via malloc/free; release to mark in pool->first empty arena would not free anything, as troy@tellme.com found (41381, r=wtc@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@74150 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 03:49:22 +00:00
idk%eng.sun.com
4f30d77c4b ** NOT PART OF TBOX BUILDS**
Addon to previous check in


git-svn-id: svn://10.0.0.236/trunk@74149 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 03:41:24 +00:00
idk%eng.sun.com
1b048e4a15 ** NOT PART OF TBOX BUILDS**
Upgraded blackConnect for M16.
Added make files for win


git-svn-id: svn://10.0.0.236/trunk@74148 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 03:36:02 +00:00
waterson%netscape.com
9f71ef28c6 Inline 'operator PRUnichar*()', 'operator char*()'; add inline 'get()' methods. r=brendan
git-svn-id: svn://10.0.0.236/trunk@74147 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 03:20:28 +00:00
sgehani%netscape.com
a4160a0f93 *** NOT PART OF TBOX BUILDS ***
1> Enabling talkback in Unix and Mac builds [bugscape nsbeta2+ b=1405]
2> Adding en-US and en-GB language packs to installers [nsbeta2+ b=41054]

[r=ssu]


git-svn-id: svn://10.0.0.236/trunk@74146 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 02:56:21 +00:00
jst%netscape.com
d32b36fc15 Fixing nsbeta2+ bug 44022. Loading javascript: URL's from a plugin wasn't always working. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74144 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 02:44:14 +00:00
brendan%mozilla.org
0bbe899178 Avoid costly GetScheme on nsSimpleURI, and avoid yet another "javascript:" string literal and the consequent PL_strcasecmp call, in favor of a fast NUL first-char test.
git-svn-id: svn://10.0.0.236/trunk@74143 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 02:30:16 +00:00
beard%netscape.com
c9aa3f4e54 need <stdio.h> for fopen on the Mac.
git-svn-id: svn://10.0.0.236/trunk@74142 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 02:23:55 +00:00
morse%netscape.com
f33ac9074e restore what I backed out last night -- it wasn't breaking the build after all
git-svn-id: svn://10.0.0.236/trunk@74141 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 01:45:55 +00:00
beard%netscape.com
29fcfa000e fixing readEvalFile to save off important Context data members. implemented identical_Default for string
git-svn-id: svn://10.0.0.236/trunk@74140 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 01:35:57 +00:00
despotdaemon%netscape.com
594bb3c2bb Pseudo-automatic update of changes made by asa@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@74139 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 00:55:24 +00:00
mscott%netscape.com
312b35db9d quick patch to fix the mac build. Mac doesn't seem to like NS_LITERAL_STRING for a const char * defined using a #define.
git-svn-id: svn://10.0.0.236/trunk@74138 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 00:49:53 +00:00
despotdaemon%netscape.com
596fcc9f66 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@74137 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 00:45:59 +00:00
beard%netscape.com
fe002abe93 fixing readEvalFile() by creating another Context
git-svn-id: svn://10.0.0.236/trunk@74136 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 00:44:30 +00:00
law%netscape.com
463bdcadbe Bug 43583; tweaks to new helper app launch dialog; r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74135 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 00:44:26 +00:00
rogerl%netscape.com
1fc062cb5a Switching to generic binary operator in order to distinguish situation
where Operators package had been loaded and be able to generate typed
versions of the binary operators otherwise.


git-svn-id: svn://10.0.0.236/trunk@74134 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 00:14:54 +00:00
hyatt%netscape.com
c66b181658 Additional fix for not scrolling to bottom of tree (dogfood bug), r=bryner
git-svn-id: svn://10.0.0.236/trunk@74133 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 00:12:38 +00:00
ssu%netscape.com
0143fd2ac8 fixing bug #45256 - added comments to config.ini for localization scripts to key off of. Not part of tinderbox build. nsbeta2+. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@74132 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 00:11:52 +00:00
ssu%netscape.com
97aa35a9c3 to aid in fixing bug #45256. These files are not part of the build, and won't be. They are tools to help the localization team
git-svn-id: svn://10.0.0.236/trunk@74131 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-13 00:09:41 +00:00
dougt%netscape.com
db020b04c0 Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@74130 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:59:33 +00:00
vidur%netscape.com
ffd0cb1a4e Fix for bug 44608. Added nsIDocShellTreeOwner::ExitModalLoop() and nsIWebBrowserChrome::ExitModalEventLoop(). r=rpotts,a=valeski
git-svn-id: svn://10.0.0.236/trunk@74129 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:56:14 +00:00
jfrancis%netscape.com
fb9119fcee fix for 36570; mail signature shows up in middle of quoted text
git-svn-id: svn://10.0.0.236/trunk@74128 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:44:56 +00:00
dougt%netscape.com
db2c70c95b bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@74127 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:31:31 +00:00
pnunn%netscape.com
86f53d33c9 fix for bug#40785, #40767: added new state so gif load can be aborted without
an error. pnunn   rev:kin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@74126 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:27:54 +00:00
jfrancis%netscape.com
57a7c5fa33 fix for 43903; making a list after inline contnet doesnt work
git-svn-id: svn://10.0.0.236/trunk@74125 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:21:49 +00:00
ruslan%netscape.com
a5bf6f1545 Fix MAC bustage
git-svn-id: svn://10.0.0.236/trunk@74124 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:20:04 +00:00
dmose%mozilla.org
cd24ad0abe added a few issues that came up while revamping the callback model
git-svn-id: svn://10.0.0.236/trunk@74123 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:08:11 +00:00
dmose%mozilla.org
5b8b7f50cf a per-connection nsILDAPMessageListener is no longer necessary. removed. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@74122 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:06:37 +00:00
dmose%mozilla.org
429ae87836 Revamped callback code so that nsILDAPMessageListener is a per operation attribute rather than a per connection attribute. This allows for much more flexibility in handling LDAP messages received, as well as sharing of LDAP connections (a performance win). Also modified nsISupports proxy usage so that I can callback to nsILDAPMessageListeners implemented in JS (thanks dougt). a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@74121 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:05:27 +00:00
bienvenu%netscape.com
e16a8ebe53 fix 45184 crash involving rdf literals r=alecf
git-svn-id: svn://10.0.0.236/trunk@74120 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 22:54:45 +00:00
mscott%netscape.com
c3d34064e6 Bug #44635 --> when replying or forwarding a message, we were passing in a bogus channel when we tried to fetch
the message for quoting purposes. As a result, the content type (which includes the charset information for the message)
was not getting set on the right channel. I changed things so we pass in the real channel and not a bogus one.

r=alecf


git-svn-id: svn://10.0.0.236/trunk@74119 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 22:54:19 +00:00
syd%netscape.com
2dd747e17f r=law, vishy
This is part of a ns commercial nsbeta2+ bug fix. Instead of hardcoding the
DDE application name (e.g., Mozilla), read it from a string table for win32.


git-svn-id: svn://10.0.0.236/trunk@74118 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 22:45:11 +00:00
mcgreer%netscape.com
951eff21a1 fingerprint had to handled in certutil for now since SECU_PrintCertificate receives a decoded DER. see #45303
git-svn-id: svn://10.0.0.236/trunk@74117 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 22:42:57 +00:00
mkaply%us.ibm.com
133bba6441 #40177
r=cls, a=brendan
Tinderbox break - need MOZ_JS_LIBS - cls approved on #mozilla


git-svn-id: svn://10.0.0.236/trunk@74116 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 22:42:41 +00:00
ruslan%netscape.com
d6f50841f6 Fix 45061, a/r=gagan
git-svn-id: svn://10.0.0.236/trunk@74115 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 22:41:26 +00:00
jdunn%netscape.com
8dd9b14bc1 do not include -lm for HPUX (as well as BeOS)
r= leaf@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@74114 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 22:41:17 +00:00
mkaply%us.ibm.com
072d598cd8 r=cls, a=brendan
Because of the raptor to gk change, we don't need SHORT_LIBNAME - for some things


git-svn-id: svn://10.0.0.236/trunk@74113 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 22:38:28 +00:00
akkana%netscape.com
a97601cfa7 Partial fix for 42885: several of the bindings weren't there, but even
when they're there, the XBL events still don't work right. r=saari


git-svn-id: svn://10.0.0.236/trunk@74112 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 22:34:16 +00:00
dougt%netscape.com
79296d7ae4 removing -nologo. It is reduntant. ra=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@74111 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 22:33:55 +00:00
hyatt%netscape.com
5882acb105 Fix for smoketest blocker. r=saari, bug#=35952
git-svn-id: svn://10.0.0.236/trunk@74110 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 22:24:29 +00:00
mcgreer%netscape.com
72e2f0642e add fingerprints to info dumped with certificate
git-svn-id: svn://10.0.0.236/trunk@74109 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 20:48:47 +00:00
brade%netscape.com
60e2ec2dcd add id to print item; r=kin; bug #43904
git-svn-id: svn://10.0.0.236/trunk@74105 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 14:48:13 +00:00
rhp%netscape.com
f01f98e198 Properties change for prompt language change - Bug #: 1429 - r: sol
git-svn-id: svn://10.0.0.236/trunk@74104 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 14:04:42 +00:00
Jerry.Kirk%Nexwarecorp.com
24515c014a Added new Photon Embedding directories.
git-svn-id: svn://10.0.0.236/trunk@74103 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 13:56:39 +00:00
Jerry.Kirk%Nexwarecorp.com
709aac5742 NOT PART OF BUILD - PHOTON ONLY
Adding the PtMozilla widget for the first time.
Submited by briane@qnx.com
r=kirkj


git-svn-id: svn://10.0.0.236/trunk@74102 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 13:53:29 +00:00
ben%netscape.com
737d0ac5dd fix for profile manager header (fix circle and icon)
git-svn-id: svn://10.0.0.236/trunk@74101 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 07:55:58 +00:00
dprice%netscape.com
d728d07b1e NOT IN THE BUILD
adding jar.mn file to chatzilla for the eventual repackaging of the chrome into jar files.


git-svn-id: svn://10.0.0.236/trunk@74100 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 07:52:02 +00:00
dprice%netscape.com
7c8108bb0e NOT IN THE BUILD
git-svn-id: svn://10.0.0.236/trunk@74099 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 07:50:37 +00:00
dprice%netscape.com
59521ec65a NOT IN THE BUILD
Modified the xinstall:: rule


git-svn-id: svn://10.0.0.236/trunk@74098 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 07:45:26 +00:00
dprice%netscape.com
95be416760 fixed a crasher when getting the length of an empty string.
git-svn-id: svn://10.0.0.236/trunk@74097 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 07:39:34 +00:00
ben%netscape.com
24df298bdb fix for b28186, rename to existing profile does not re-prompt for correct profile name
git-svn-id: svn://10.0.0.236/trunk@74096 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 07:20:06 +00:00
ben%netscape.com
b22151fdfd 27526 - focus tree widget in profile manager on startup.
git-svn-id: svn://10.0.0.236/trunk@74095 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 07:07:55 +00:00
ben%netscape.com
68b6b97dca fixes for 39923 and 38201, urlbar history popup navigation problems
git-svn-id: svn://10.0.0.236/trunk@74094 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 06:44:12 +00:00
mscott%netscape.com
f4d3d99bbf Bug #43583 --> throw the switch for the helper app dialog. Start invoking the helper app dialog and bring it
up whenever the user trys to launch a helper app. This was submitted by bill law. r=mscott

also, use the file name in the url as the basis for the temporary file name.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@74093 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 06:09:02 +00:00
cls%seawood.org
a376fa0f63 Fix for BeOS bustage.
git-svn-id: svn://10.0.0.236/trunk@74092 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 06:08:19 +00:00
ben%netscape.com
a86d220748 fix for 32255, remove placeholder text in migrate before-delete dialog, and updated code to reflect correct behaviour.
git-svn-id: svn://10.0.0.236/trunk@74091 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 05:19:28 +00:00
mscott%netscape.com
090ca37720 Fix for Bug #41707 --> JS and data urls were not getting an owner set on them when they were entered from the urlbar. this
prevented them from getting executed properly. For now, we'll inherit the owner of the current document in these
two cases.
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@74090 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 05:06:28 +00:00
ben%netscape.com
78d12f7e91 fixes for 32034 (sidebar search won't work from mail) and other search
problems (cannot sort search engines, etc)


git-svn-id: svn://10.0.0.236/trunk@74089 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 05:01:34 +00:00
tonyr%fbdesigns.com
0841f06eb3 Fix for bustage, added msgUtil.lib projects to link.
git-svn-id: svn://10.0.0.236/trunk@74088 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 04:43:55 +00:00
morse%netscape.com
b0d6619126 backing out change temporarily till I figure out why it broke the mac build
git-svn-id: svn://10.0.0.236/trunk@74087 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 04:30:05 +00:00
tonyr%fbdesigns.com
ddc5d37277 Fix up strings for localisation. r=alecf, b=36483,39004
git-svn-id: svn://10.0.0.236/trunk@74086 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:58:17 +00:00
tonyr%fbdesigns.com
2f1ede35b7 fix for importing mutlibyte charset messages. r=rhp, b=33291
git-svn-id: svn://10.0.0.236/trunk@74085 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:57:10 +00:00
bienvenu%netscape.com
d198d723a4 fix imap subscribe ui problems, r=mscott 42106
git-svn-id: svn://10.0.0.236/trunk@74084 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:50:40 +00:00
sgehani%netscape.com
e3ee0afabe Make Linux and Mac installers install to the target directory instead of the
platform-specific notion of temp.

[dogfood+ b=45166; r=dveditz]


git-svn-id: svn://10.0.0.236/trunk@74083 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:42:35 +00:00
ben%netscape.com
2043381a3b small ammendment to earlier tooltip checkin for browser
git-svn-id: svn://10.0.0.236/trunk@74082 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:35:54 +00:00
jst%netscape.com
ce446bb897 Fixing nsbeta2+ bug 38610, don't throw a JS exception when .complete is accessed on an Image created in JS. r=pollman@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74081 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:35:13 +00:00
racham%netscape.com
c59ec4122f Fixing bug 37398. Converting the migrated profile strings into the right type for i18n. r=nhotta
git-svn-id: svn://10.0.0.236/trunk@74080 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:25:24 +00:00
dbaron%fas.harvard.edu
130136440f Document recent changes to XPCOM memory tools. (Documentation. Not part of build.)
git-svn-id: svn://10.0.0.236/trunk@74079 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:21:45 +00:00
mstoltz%netscape.com
9e2ab39e7d Fixing 40159 and 44822, both [nsbeta2+] regressions on signed scripts. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@74078 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 03:10:33 +00:00
jst%netscape.com
eb460aaa2a Fixing nsbeta2+ bug 44115, properly handle area elements even if the href is a relative url, r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74077 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:42:28 +00:00
mcafee%netscape.com
cabdf873fd Fixing comment within comment warnings, duh. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@74076 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:35:59 +00:00
jst%netscape.com
97c25ed004 Fixing nsbeta2+ bug 44434, problems with width and height properties on preloaded images. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74075 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:30:42 +00:00
morse%netscape.com
9b7a0ffdc8 bug 44146, improperly parented modal dialogs, r=danm
git-svn-id: svn://10.0.0.236/trunk@74074 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:29:53 +00:00
dimator%netscape.com
2eef533bb3 bug 44252. Checking in for sspitzer. r=putterman
git-svn-id: svn://10.0.0.236/trunk@74073 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:23:10 +00:00
mcafee%netscape.com
1112918ea1 Checking in null pointer fix for bugscape:1205, netscape nsbeta2+ bug. r=saari
git-svn-id: svn://10.0.0.236/trunk@74072 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:22:41 +00:00
jst%netscape.com
a607a900c8 Fixing nsbeta2+ bug 44001, nulling out output parameters to avoid crasing. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74071 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 02:15:27 +00:00
mcafee%netscape.com
b3d537adfc Backing out last change to fix linux bustage. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@74070 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 01:47:00 +00:00
brendan%mozilla.org
d6a267cf1e Fix 'out of order' malloc failure-handling bug found by cgn1234@yahoo.com (41022, r=cgn1234).
git-svn-id: svn://10.0.0.236/trunk@74069 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 01:44:12 +00:00
dbaron%fas.harvard.edu
bafb8a90d7 Add the refcount balancer to mozilla/tools so it can be maintained more easily. This tool was written by Chris Waterson with contributions by a number of other people. I modified the files being added here from the most recent versions on http://www.mozilla.org/performance/refcnt-balancer.html in the following ways:
1) add find-comptr-leakers.pl to find leaks in nsCOMPtr logs
2) allow make-tree.pl to subtract nsCOMPtr logs


git-svn-id: svn://10.0.0.236/trunk@74068 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 01:32:54 +00:00
brendan%mozilla.org
69f9a89e40 Cleanups: don't decimate Unicode property ids to ISO-Latin-1 in CheckAccess; do use NS_SUCCEEDED instead of NS_OK==; don't use bogus tabs for indentation (r=jst@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@74067 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 01:20:49 +00:00
cmanske%netscape.com
c7e1286f2d Fixed warnings revealed by Linux build in table editing code
git-svn-id: svn://10.0.0.236/trunk@74066 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 01:15:17 +00:00
cmanske%netscape.com
e22e9309a7 Tweaked previous fix -- sfraser suggested a more efficient fix
git-svn-id: svn://10.0.0.236/trunk@74065 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 01:05:35 +00:00
cmanske%netscape.com
4a40e3830c Fixed build bustage for linux (why can't Linus do NS_LITERAL_STRING correctly!)
git-svn-id: svn://10.0.0.236/trunk@74064 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 01:00:58 +00:00
warren%netscape.com
9a47a3f8f6 Bug 40810 - warning message. Checking in for doronr@naboonline.com r=warren
git-svn-id: svn://10.0.0.236/trunk@74063 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 00:28:57 +00:00
javi%netscape.com
cb74a19f3a Make viewing CA certs during import work again.
git-svn-id: svn://10.0.0.236/trunk@74062 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 00:22:23 +00:00
ben%netscape.com
c530f2e58e fix for 27828, TITLE attribute shows tooltip in content area. patch from robert o'callahan, r=me.
git-svn-id: svn://10.0.0.236/trunk@74061 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 00:20:08 +00:00
hyatt%netscape.com
f72d1d522c Fix for XBL being able to execute scripts in skins. Bugzilla is down, so I can't give the number. r=danm
git-svn-id: svn://10.0.0.236/trunk@74060 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 00:17:07 +00:00
wtc%netscape.com
e6eb3e9a5c Bugzilla bug #45141: checked in an OS/2 patch from Michael Kaply
<mkaply@us.ibm.com>. a=waterson@mozilla.org.


git-svn-id: svn://10.0.0.236/trunk@74059 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 00:10:37 +00:00
nhotta%netscape.com
adfbc32c15 Changed to set mailCharacterSet in nsIMsgWindow so that the value can be used for a checkmark in charset menu, bug 28869, r=mscott.
git-svn-id: svn://10.0.0.236/trunk@74055 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:51:38 +00:00
nhotta%netscape.com
c2421f5d7a Added mailCharacterSet to nsIMsgWindow to keep the charset used by libmime, bug 28869, r=mscott.
git-svn-id: svn://10.0.0.236/trunk@74054 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:51:21 +00:00
rogerl%netscape.com
0fbe7a0bf0 Implemented Import -only it's not in the parser yet.
Added missing defineXXX functions.


git-svn-id: svn://10.0.0.236/trunk@74053 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:49:20 +00:00
edburns%acm.org
efad92ec96 Removed runem.solaris because we now have the cross platform runem.pl.
git-svn-id: svn://10.0.0.236/trunk@74052 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:44:35 +00:00
edburns%acm.org
2b9f6c2b26 Make it so params are correctly passed to runem.pl on Solaris.
git-svn-id: svn://10.0.0.236/trunk@74051 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:43:20 +00:00
cmanske%netscape.com
fbb8adfdad Finishing table editing+dialog work (b=20973, r=jfrancis), and disabling commands when in HTML Source mode (b=38875, r=sfraser)
git-svn-id: svn://10.0.0.236/trunk@74050 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:41:22 +00:00
cmanske%netscape.com
48a4fe23f1 Adding test for command enable state when calling a command. Part of fix for 38875. r=sfraser, a=ben
git-svn-id: svn://10.0.0.236/trunk@74049 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:38:23 +00:00
ericb%neoplanet.com
98fbff54e6 forgot to add these files r:hyatt a:hyatt
git-svn-id: svn://10.0.0.236/trunk@74048 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:37:00 +00:00
ericb%neoplanet.com
ecef542f84 resizers and titlebars r:hyatt a:hyatt
git-svn-id: svn://10.0.0.236/trunk@74047 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:34:44 +00:00
dbragg%netscape.com
1d539e2fb0 With more thorough testing, found a couple of bad side effects of initial fix for bug #36249. Fixes contained here. r=racham
git-svn-id: svn://10.0.0.236/trunk@74046 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:19:37 +00:00
law%netscape.com
442efb715c Bug 43583; implement new helper app launch confirmation dialog interface; r=mcafee@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74045 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:17:34 +00:00
mscott%netscape.com
52c882c23a Bug #43583 --> Add a separate boolean for asking the user before handling content using an external application.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@74044 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:15:49 +00:00
alecf%netscape.com
f2d9248272 fix for #44350 - clear the search results pane each time a search starts.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@74043 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:12:35 +00:00
mscott%netscape.com
1b49a1acb9 Bug #43583 --> new state for using system default. Add a separate boolean
for asking the user before handling.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@74041 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:11:59 +00:00
av%netscape.com
16b5150046 #44422, r=buster
git-svn-id: svn://10.0.0.236/trunk@74040 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:10:29 +00:00
rginda%netscape.com
f86893a190 cleaned up linux warnings, minor debugger tweaks
git-svn-id: svn://10.0.0.236/trunk@74039 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:08:03 +00:00
alecf%netscape.com
0fc26ac4c5 fix for #39576 r=chuang
localize the "Card for" string for the address card view


git-svn-id: svn://10.0.0.236/trunk@74038 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:03:48 +00:00
mcafee%netscape.com
e378098f03 Removing mcafee from debug output. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@74037 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 22:49:22 +00:00
rods%netscape.com
d804eae647 setting parent to null to make sure there are no dnagling pointers from children
to their parents
b=44266, r=jst


git-svn-id: svn://10.0.0.236/trunk@74036 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 22:17:38 +00:00
blizzard%redhat.com
757fa0cb81 fix for bug #44116. rewrite gtk focus handling. r=pavlov,akk a=brendan
git-svn-id: svn://10.0.0.236/trunk@74035 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 21:57:43 +00:00
pavlov%netscape.com
61c5a61fcc 4.x unix plugin changes for bug 37477 r=pollmann, av
git-svn-id: svn://10.0.0.236/trunk@74034 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 21:44:39 +00:00
pavlov%netscape.com
b100308bc8 gtkxtbin fixes for unix plugin crasher bug 37477 r=blizzard
git-svn-id: svn://10.0.0.236/trunk@74033 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 21:43:18 +00:00
cotter%netscape.com
ea9aa7827c Added info about OCSP in cases of invalid email signature.
git-svn-id: svn://10.0.0.236/trunk@74032 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 21:32:19 +00:00
dbaron%fas.harvard.edu
e70cfcfce2 Prevent builds on Win95/Win98 from excessively going through the unused libs phase by removing the Win95/Win98 libs phase rules. r=warren a=waterson b=42428
This should affect only builds done on Win95/Win98 (where WINOS=WIN95).


git-svn-id: svn://10.0.0.236/trunk@74031 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 21:17:37 +00:00
rods%netscape.com
03ae64ba6e removing accidental checkin
git-svn-id: svn://10.0.0.236/trunk@74030 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 21:00:22 +00:00
evaughan%netscape.com
bda75841a4 fix for #44576
git-svn-id: svn://10.0.0.236/trunk@74029 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:58:59 +00:00
blizzard%redhat.com
312b544165 fix memory leak in scrolling code. make sure to destroy a temporary region before jumping to the end of the function. a=brendan
git-svn-id: svn://10.0.0.236/trunk@74028 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:56:35 +00:00
pinkerton%netscape.com
11786e264b landing patch for crash when document goes away after tooltip timer has fired. basically, make mPossibleTooltipNode a strong ref. patch from roc+moz@cs.cmu.edu r=pinkerton, bug# 27828.
git-svn-id: svn://10.0.0.236/trunk@74027 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:55:57 +00:00
rods%netscape.com
0a4a5cf302 option elements no longer add and remove themselves from the select, the select now does all the housekeeping. b=44266, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@74026 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:55:21 +00:00
rods%netscape.com
8fb75d5063 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@74025 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:55:20 +00:00
rogerl%netscape.com
6a8822a673 More on @ operator. Fixed R 4billion print bug.
git-svn-id: svn://10.0.0.236/trunk@74024 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:54:06 +00:00
bienvenu%netscape.com
9e9bbd2c90 fix 45146 edit message as new crashing r=mscott
git-svn-id: svn://10.0.0.236/trunk@74023 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:49:52 +00:00
leaf%mozilla.org
4c0f5aa7a0 Automated update
git-svn-id: svn://10.0.0.236/trunk@74022 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:45:12 +00:00
jdunn%netscape.com
5852c7694d Applying jgaunt's & jim_nance's change (see rev 1.647 & 1.649) to
hpux in general (for 10.20) as opposed to hpux11 specfic for bug #=39747
using blanket approval of r=waterson for port changes (hpux specific)


git-svn-id: svn://10.0.0.236/trunk@74021 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:33:33 +00:00
saari%netscape.com
07ed8efec1 Fix for nsbeta2+ bug 36470: colors are wrong across multiple monitors of different bit depths on MacOS. r= pinkerton
git-svn-id: svn://10.0.0.236/trunk@74020 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:27:42 +00:00
chuang%netscape.com
f09e97a233 Bug 33980 'Collected Addresses' being corrupted when saved to prefs.js, r=alecf
git-svn-id: svn://10.0.0.236/trunk@74019 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:18:38 +00:00
bnesse%netscape.com
6e87c2f462 Moved code which was initalizing the memory allocation service from the constructor into the CreatePlugin function because it wasn't being called early enough for some plugins. Need to proceed on Bug 19931. r=av.
git-svn-id: svn://10.0.0.236/trunk@74018 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:08:05 +00:00
bnesse%netscape.com
34aa1fbbf3 Removed code which was painting rectangles over the plugin objects on the Mac. Bug #41016. r=av
git-svn-id: svn://10.0.0.236/trunk@74017 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:06:05 +00:00
jfrancis%netscape.com
6ca6c35a74 fix for 43366; r=kin
git-svn-id: svn://10.0.0.236/trunk@74016 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 19:51:36 +00:00
dbragg%netscape.com
0972f612cf Optimized Javascript library got added to the wrong target. #36249.
git-svn-id: svn://10.0.0.236/trunk@74015 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 19:40:55 +00:00
dbragg%netscape.com
ca159a6f0d Fix for bug #36249. r=racham@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74014 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 19:28:43 +00:00
dbragg%netscape.com
ea876774ce makefile and MANIFEST file changes to display out-of-space dialog. Fix for bug#36249. r=racham@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74013 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 19:26:09 +00:00
dbragg%netscape.com
5b76ae572a Had to add a library to the mcp file to fix bug #36249. r=racham@netscape.com
git-svn-id: svn://10.0.0.236/trunk@74012 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 19:23:34 +00:00
ftang%netscape.com
7b0b6650b9 fix bug 21418. change the converter to UTF-8 and handle the \uxxxx and \r \n \t in the
lexical level (scanner) r=tao


git-svn-id: svn://10.0.0.236/trunk@74011 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 19:14:59 +00:00
brendan%mozilla.org
20112d6fb4 Make NS_TraceMallocShutdown idempotent just in case it's called more than once (doesn't affect default builds: #ifdef NS_TRACE_MALLOC).
git-svn-id: svn://10.0.0.236/trunk@74010 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 19:10:52 +00:00
brendan%mozilla.org
c027820f7f Remove explicit NS_TraceMallocShutdown call, it's done via atexit (doesn't affect default builds: #ifdef NS_TRACE_MALLOC).
git-svn-id: svn://10.0.0.236/trunk@74009 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 19:09:44 +00:00
javi%netscape.com
0420d12c6d Fix a type-o.
git-svn-id: svn://10.0.0.236/trunk@74008 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 18:45:40 +00:00
valeski%netscape.com
bb30b7766f r=mscott, 42505. somehow a switch enum was dropped from a previous checkin.
git-svn-id: svn://10.0.0.236/trunk@74007 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 15:00:59 +00:00
dbragg%netscape.com
11cb93c0ec Added new .dtd file for bug #36249
git-svn-id: svn://10.0.0.236/trunk@74006 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 14:16:07 +00:00
dbragg%netscape.com
2e4b4f4511 Added new .xul and js files for bug #36249
git-svn-id: svn://10.0.0.236/trunk@74005 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 14:15:05 +00:00
axel%pike.org
9cffc6b4d7 Getting the build process up for Windows, thanx to Arthur Barrett
not part of build, still need to conditionally add transformiix to
extensions/makefile.win


git-svn-id: svn://10.0.0.236/trunk@74004 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 10:32:17 +00:00
axel%pike.org
b9d8e62616 Use own impl of rint for windows and platforms without one, not on mac
not part of build


git-svn-id: svn://10.0.0.236/trunk@74003 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 09:47:37 +00:00
warren%netscape.com
daeb105206 Fixed warning.
git-svn-id: svn://10.0.0.236/trunk@74002 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 09:46:51 +00:00
ftang%netscape.com
b852b1dc76 fix 40739 (dup as 45048. the fix is in 45048)
Change do_QueryInterface to do_QueryReference for mContenWindow for SetDocumentCharacterSet
method.


git-svn-id: svn://10.0.0.236/trunk@74001 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 07:50:00 +00:00
leaf%mozilla.org
028fc724dc Automated update
git-svn-id: svn://10.0.0.236/trunk@74000 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 07:45:09 +00:00
axel%pike.org
d3d74fb230 Adding rint to AC_CHECK_FUNCS, r=cls@seawood.org, a=waterson
git-svn-id: svn://10.0.0.236/trunk@73999 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 07:42:07 +00:00
warren%netscape.com
3e244f5dd6 Reordered atom table destruction to be last because memory shutdown still needs it. Moved nsIThread shutdown up just to be safe. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@73998 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 07:31:50 +00:00
warren%netscape.com
71943eddb6 Removed assertion to allow UnregisterObserver to be called after Shutdown (harmlessly). r=dbaron
git-svn-id: svn://10.0.0.236/trunk@73997 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 07:29:05 +00:00
warren%netscape.com
5bdd73acae Fixed monitor destructor because NS_TraceMallocShutdown is called twice. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@73996 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 07:28:14 +00:00
ssu%netscape.com
67fe63056f fixing bug #19034 - Install.log needs to be created in XPCOM's notion of cwd.
This bug affects several things.  what I'm checking in is a fix to the windows
wizard installer to:
1) pass new parameter to xpi_init() - which Samir checked in tonight.
2) update windows wizard installer to know of the new install.log location.
3) changed the installer to create/update the log filename passed to xpi_init() (install_wizard.log).

This fix affects the installer (setup.exe) and the uninstaller (uninstall.exe).
This bug is marked as nsbeta2+ and was already verified by QA, but they were not aware
of the affects to the native windows installer (which is part of this bug).

The windows installer will be dead in the morning without this checkin.

r=sgehani
affects windows platforms only
This file does not affect tinderbox builds


git-svn-id: svn://10.0.0.236/trunk@73995 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 07:02:29 +00:00
ssu%netscape.com
cd59a04f8b fixing bug #19034 - Install.log needs to be created in XPCOM's notion of cwd.
This bug affects several things.  what I'm checking in is a fix to the windows
wizard installer to:
1) pass new parameter to xpi_init() - which Samir checked in tonight.
2) update windows wizard installer to know of the new install.log location.
3) changed the installer to create/update the log filename passed to xpi_init() (install_wizard.log).

This fix affects the installer (setup.exe) and the uninstaller (uninstall.exe).
This bug is marked as nsbeta2+ and was already verified by QA, but they were not aware
of the affects to the native windows installer (which is part of this bug).

The windows installer will be dead in the morning without this checkin.

r=sgehani
affects windows platforms only


git-svn-id: svn://10.0.0.236/trunk@73994 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 07:00:21 +00:00
warren%netscape.com
24b9b58ef8 Defensive programming for UnregisterObserver after Shutdown. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@73993 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 06:56:06 +00:00
Peter.VanderBeken%pandora.be
8843306977 Import mathml.css into ua.css when building MathML. Not part of build. r=jj. a=waterson.
git-svn-id: svn://10.0.0.236/trunk@73992 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 06:47:53 +00:00
dprice%netscape.com
c86bfb42f8 NOT IN THE BUILD
git-svn-id: svn://10.0.0.236/trunk@73991 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 06:40:09 +00:00
ftang%netscape.com
871ddb275e fix bug 39902. check in for m_kato@ga2.so-net.ne.jp a=waterson r=ftang
git-svn-id: svn://10.0.0.236/trunk@73990 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 06:10:38 +00:00
warren%netscape.com
6f96f77089 Fixed nsMemoryImpl to release memory pressure observers on shutdown. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@73989 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 06:03:08 +00:00
brendan%mozilla.org
b59ce41b0d Must unregister memory pressure observer in \~nsXBLService (nsMemory doesn't clean up after us; r=warren).
git-svn-id: svn://10.0.0.236/trunk@73988 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 05:43:34 +00:00
mscott%netscape.com
b92acc47f7 Bug #45047 --> accept plain/text content type by default.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@73987 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 05:09:42 +00:00
ben%netscape.com
88abd6e147 search editor dialog was busted because of:
a) current engine list wasn't properly converted to new tree syntax
b) sizing of widgets was making it look really odd in the Classic skin


git-svn-id: svn://10.0.0.236/trunk@73986 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 03:30:25 +00:00
ben%netscape.com
964b084f7f fix for 42964 - sidebar add panel and add search engine dialogs are not localizable
git-svn-id: svn://10.0.0.236/trunk@73985 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 03:14:22 +00:00
mscott%netscape.com
c331375f49 Fix build breakge by samir. I'm not really sure how this could have compiled =).
git-svn-id: svn://10.0.0.236/trunk@73984 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 01:52:53 +00:00
warren%netscape.com
43db39eeb6 Bug 44342 - hang on startup. Added back a lock to mutually exclude cancel/suspend/resume. Seems to work on Mac (i.e. can't reproduce the problem now). Also cleaned up file transport service, removing unused stuff.
git-svn-id: svn://10.0.0.236/trunk@73983 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 01:52:12 +00:00
brendan%mozilla.org
f98b2a3b00 XBLService implements nsIMemoryPressureObserver (44352, r=hyatt).
git-svn-id: svn://10.0.0.236/trunk@73980 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 01:28:36 +00:00
sgehani%netscape.com
233510a972 Part of fix for nsbeta2+ bug 37168. [r=mstoltz]
git-svn-id: svn://10.0.0.236/trunk@73979 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 01:10:20 +00:00
law%netscape.com
48189e65bb Bug 43583; build new dialog on Mac; r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73978 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 01:09:28 +00:00
vidur%netscape.com
01f014fcec Work in progress on SOAP call component. This is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@73977 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 00:54:39 +00:00
vidur%netscape.com
cefda6ac40 Work in progress on SOAP call component
git-svn-id: svn://10.0.0.236/trunk@73976 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 00:52:30 +00:00
javi%netscape.com
55006c8f22 Make the button in the security advisor for CRL's look like the other
buttons.


git-svn-id: svn://10.0.0.236/trunk@73975 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 00:50:12 +00:00
law%netscape.com
3391789285 Bug 43583; build new dialog; r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73973 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 00:42:55 +00:00
dougt%netscape.com
ccb740ceaa First check in. NOT PART OF BUILD.
git-svn-id: svn://10.0.0.236/trunk@73972 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 00:10:34 +00:00
law%netscape.com
c7ba90ff47 Bug 36658; notify urlwidget component on page load; r=matt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73971 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 23:56:02 +00:00
av%netscape.com
6899b34dd6 #22954, fixing Mac glitch, r=brade
git-svn-id: svn://10.0.0.236/trunk@73969 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 23:54:31 +00:00
sgehani%netscape.com
91aaef8262 Part of fix for nsbeta2+ bug 37168. [r=ssu]
git-svn-id: svn://10.0.0.236/trunk@73968 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 23:44:35 +00:00
bryner%uiuc.edu
98421d423b Fixing 43459. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@73967 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 23:42:46 +00:00
av%netscape.com
edef5863b0 #43500, adding the default plugin to the packager on Windows, r=leaf
git-svn-id: svn://10.0.0.236/trunk@73966 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 23:32:13 +00:00
law%netscape.com
e966fb16cd Bug 43583; new helper app launch confirmation dialog; r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73965 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 23:18:59 +00:00
rogerl%netscape.com
11c82ac5b9 Some parts of x@<name> working.
git-svn-id: svn://10.0.0.236/trunk@73964 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 23:18:07 +00:00
sgehani%netscape.com
008fb4035e Add optional log file leaf name param to XPI_Init for Win32 uninstall logging.
Part of fix for nsbeta2+ bug 37168.  [r=ssu]


git-svn-id: svn://10.0.0.236/trunk@73963 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 23:15:46 +00:00
endico%mozilla.org
605f7ed5a9 Add "Windows ME" operating system and a comment about how to add new os's (et al) to an already installed system
git-svn-id: svn://10.0.0.236/trunk@73962 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 23:01:26 +00:00
ddrinan%netscape.com
7e9f7e8f61 Made changes to the password retry text to fix bugs 399954 and 44110
git-svn-id: svn://10.0.0.236/trunk@73961 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 22:53:58 +00:00
matt%netscape.com
5ff8a76db7 taking out security policies pane as per bug 44121
r:tornduff


git-svn-id: svn://10.0.0.236/trunk@73960 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 22:50:37 +00:00
jband%netscape.com
473f5b8879 add previously overlooked support for nsIXPCNativeCallContext implementors to signal that they have set the method return value for the JS caller. a=brendan@mozilla.org r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73959 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 22:39:37 +00:00
bienvenu%netscape.com
8aa45589da fix crash searching newsgroup which you've never opened r=alecf 45028
git-svn-id: svn://10.0.0.236/trunk@73958 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 22:34:08 +00:00
shanjian%netscape.com
ff9c87f68a #42422
Fix the crash, contentLen should not be extended futher than the
text fragment's length.


git-svn-id: svn://10.0.0.236/trunk@73957 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 22:32:54 +00:00
bienvenu%netscape.com
ecd2e345aa forgot this part of the fix for 35678, posting to correct news server, r=mscott, ducarroz
git-svn-id: svn://10.0.0.236/trunk@73956 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 22:32:28 +00:00
nhotta%netscape.com
ff5ef51b79 Changed to pass a charset to openDialog so that a new window inherits the charset, bug 27646, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@73955 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 22:29:33 +00:00
radha%netscape.com
ae741cd1bc Fix for feature bug 44427. checking in code on behalf of jce2@po.cwru.edu
r=myself. a=brendan


git-svn-id: svn://10.0.0.236/trunk@73954 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 22:07:47 +00:00
mkaply%us.ibm.com
176282916f r=cls, a=brendan
Because of the raptor to gk change, we don't need SHORT_LIBNAME


git-svn-id: svn://10.0.0.236/trunk@73953 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 22:04:17 +00:00
av%netscape.com
bcd2073647 Addressing #22954, fixing the glitch when layout returned OK even if did not find a plugin causing a crash, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@73952 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:51:15 +00:00
dmose%mozilla.org
edabaedfe6 Updated description of directories in the tree. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73950 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:27:05 +00:00
dimator%netscape.com
f59147699d Bugs: 37153, 38700. Localized status and priority strings in threadpane. r=putterman
git-svn-id: svn://10.0.0.236/trunk@73949 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:25:37 +00:00
dmose%mozilla.org
641b51dd55 Makefile.in
git-svn-id: svn://10.0.0.236/trunk@73948 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:24:55 +00:00
dmose%mozilla.org
1d9f7feffd some tests of the LDAP code, currently just for the datasource
git-svn-id: svn://10.0.0.236/trunk@73947 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:24:45 +00:00
dmose%mozilla.org
3a9a1aa9d3 initial code for an LDAP datasource; not yet working or complete. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73946 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:22:17 +00:00
mscott%netscape.com
a9821acb38 Bug #43583 --> pass the window context into the helper app launcher which will in turn be used by
the helper app dialog to get at a dom window.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@73945 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:21:10 +00:00
mkaply%us.ibm.com
76391cde9e r=cls, a=brendan
Because of the raptor to gk change, we don't need SHORT_LIBNAME


git-svn-id: svn://10.0.0.236/trunk@73944 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:18:48 +00:00
dmose%mozilla.org
3a26f91c9e updated the TODO list. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73943 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:17:59 +00:00
dmose%mozilla.org
c4f7d926f5 adjust some comments. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73942 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:17:04 +00:00
mkaply%us.ibm.com
c71389b6e5 r=cls, a=brendan
Because of the raptor to gk change, we don't need SHORT_LIBNAME


git-svn-id: svn://10.0.0.236/trunk@73941 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:08:54 +00:00
sgehani%netscape.com
f5bd2c5b5e Make Install.execute() work on Unix.
[nsbeta2+ b = 37168; r = ssu]


git-svn-id: svn://10.0.0.236/trunk@73940 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:02:16 +00:00
mkaply%us.ibm.com
0157bbf377 r=cls, a=brendan
Because of the raptor to gk change, we don't need SHORT_LIBNAME


git-svn-id: svn://10.0.0.236/trunk@73939 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:48:42 +00:00
waterson%netscape.com
fd592d59e3 Remove spurious call to RegisterDataSource(). r=hyatt
git-svn-id: svn://10.0.0.236/trunk@73938 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:42:56 +00:00
mkaply%us.ibm.com
d866d504b4 Tinderbox break - change OS/2 only code - third time is a charm
git-svn-id: svn://10.0.0.236/trunk@73937 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:38:41 +00:00
mkaply%us.ibm.com
8ca37c9ffe Tinderbox break - remove OS/2 only code
git-svn-id: svn://10.0.0.236/trunk@73936 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:29:36 +00:00
rogerl%netscape.com
09961860fe r=brendan@mozilla.org, Fix for #31255, support '-->' on line by itself as
a line comment - allows old, bogus HTML to execute a la 4.X.


git-svn-id: svn://10.0.0.236/trunk@73935 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:23:54 +00:00
rogerl%netscape.com
babc9d3604 r=brendan@mozilla.org, Fix for #44013 - enforce security for defineGetter
& defineSetter by calling OBJ_CHECK_ACCESS.


git-svn-id: svn://10.0.0.236/trunk@73934 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:21:38 +00:00
dimator%netscape.com
d8d2b2a144 Bugs: 37153, 38700. Localized status and priority strings in threadpane.
git-svn-id: svn://10.0.0.236/trunk@73933 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:21:08 +00:00
bryner%uiuc.edu
afbe202d32 Fixing 44859. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@73932 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:19:32 +00:00
saari%netscape.com
bd2c6303f1 Adding file for evaughan
git-svn-id: svn://10.0.0.236/trunk@73931 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:17:48 +00:00
evaughan%netscape.com
933f75ed4e disable gfx scrollbars #44576
grid fixes for tree bugs

-r Hyatt


git-svn-id: svn://10.0.0.236/trunk@73930 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:10:27 +00:00
edburns%acm.org
b971436627 Put dom after util and before webclient
git-svn-id: svn://10.0.0.236/trunk@73929 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:06:44 +00:00
edburns%acm.org
efd8882a09 Put classes first so top level java build works.
git-svn-id: svn://10.0.0.236/trunk@73928 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:06:07 +00:00
edburns%acm.org
2d11ae2a16 nsSetupRegistry_link_problems
git-svn-id: svn://10.0.0.236/trunk@73927 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 20:02:49 +00:00
edburns%acm.org
db74b4ad01 Use the new xp runem.pl script instead of building the smarts into
the batch file.


git-svn-id: svn://10.0.0.236/trunk@73926 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 19:48:47 +00:00
akkana%netscape.com
84c9d71b9a 38232 (nsbeta2+): Make line break character configurable in the
output system, and use \n (the DOM linebreak character) when getting
output from text controls.  Also fix some warnings.  r=kin.


git-svn-id: svn://10.0.0.236/trunk@73925 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 19:46:59 +00:00
edburns%acm.org
2d15d02c8f Changes to Makefile.in to allow proper running on solaris.
Added motif/README to explain why some files in this directory
don't get put into this directory's dll.


git-svn-id: svn://10.0.0.236/trunk@73924 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 19:00:51 +00:00
miodrag%netscape.com
bc8ed0c9db Updates for LDAPJDK 4.12
git-svn-id: svn://10.0.0.236/trunk@73923 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 18:41:40 +00:00
dmose%mozilla.org
73deb5f9dc various updates. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73922 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 17:50:32 +00:00
edburns%acm.org
8ad979c383 Removed "^M" characters.
git-svn-id: svn://10.0.0.236/trunk@73921 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 17:49:19 +00:00
cls%seawood.org
0227cd8ec8 Fix for objdir build bustage.
git-svn-id: svn://10.0.0.236/trunk@73920 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 17:21:17 +00:00
rbs%maths.uq.edu.au
538d474bfd Enable the real x-height. r:erik,waterson. a:waterson
git-svn-id: svn://10.0.0.236/trunk@73919 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 16:10:12 +00:00
cls%seawood.org
1e9c39aa30 Ugh, introduced c++ comments to a c file which causes havoc with many non-gnu compilers
git-svn-id: svn://10.0.0.236/trunk@73918 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 15:14:37 +00:00
mkaply%us.ibm.com
8c831728da #42637
r = mkaply, a = brendan
OS/2 bringup - OS/2 only - no OK Cancel buttons in preferences


git-svn-id: svn://10.0.0.236/trunk@73917 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 14:50:36 +00:00
mkaply%us.ibm.com
d728ef74e0 OS/2 only tinderbox break - we will probably still break on a link, but at least we will compile
git-svn-id: svn://10.0.0.236/trunk@73916 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 14:48:47 +00:00
rbs%maths.uq.edu.au
a654430535 Remove files that have ceased to be used
git-svn-id: svn://10.0.0.236/trunk@73915 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 14:02:44 +00:00
rbs%maths.uq.edu.au
26d68c1ce5 Convert examples to XHTML now that mathml.css is imported in the ua.css on MathML-enabled builds. a:waterson
git-svn-id: svn://10.0.0.236/trunk@73914 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 13:58:55 +00:00
rbs%maths.uq.edu.au
b445880e79 [not part of default build] @import MathML CSS rules in the ua.css on MathML-enabled builds. Paul Gartside <gartside@maths.ox.ac.uk> and Peter Van der Beken <Peter.VanderBeken@pandora.be> have verified that all went well on Linux and Mac, respectively. a:waterson
git-svn-id: svn://10.0.0.236/trunk@73913 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 13:58:27 +00:00
rbs%maths.uq.edu.au
80299f6024 [not part of default build] Some updates in the land of stretchy chars. partial fix for b:45010
git-svn-id: svn://10.0.0.236/trunk@73912 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 13:57:52 +00:00
mkaply%us.ibm.com
d3fc3a08d8 Tinderbox break - remove OS/2 includes
git-svn-id: svn://10.0.0.236/trunk@73911 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 12:53:08 +00:00
axel%pike.org
4d86057bf1 Fix nested relative includes, not part of build, a=leaf
git-svn-id: svn://10.0.0.236/trunk@73910 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 12:08:00 +00:00
cls%seawood.org
897f28a4b4 Explicitly include nspr header when needed
git-svn-id: svn://10.0.0.236/trunk@73909 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 08:40:05 +00:00
cls%seawood.org
a8b952cf3d Mac needs History_entry struct.
git-svn-id: svn://10.0.0.236/trunk@73908 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 08:12:01 +00:00
dbaron%fas.harvard.edu
8f65b0106d Fix build bustage by changing #idef to #ifdef (I hope).
git-svn-id: svn://10.0.0.236/trunk@73907 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 07:59:02 +00:00
cls%seawood.org
4a2be35697 Explicitly include xp_mem.h since it is needed
git-svn-id: svn://10.0.0.236/trunk@73906 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 07:42:53 +00:00
cls%seawood.org
c665553b5e Ok, so the mac isn't ready to have its mind freed.
git-svn-id: svn://10.0.0.236/trunk@73905 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 07:40:08 +00:00
cls%seawood.org
50a5bb697c Start tedious process of removing obsolete mozilla/include files from build. This patch should take us down to 19 of 101. Bug #38061
git-svn-id: svn://10.0.0.236/trunk@73904 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 07:13:31 +00:00
alecf%netscape.com
a0f273206b remove a debugging line from this XUL - this is just a bonehead line I left in here on friday
r=mozbot, and everyone else on IRC at the moment


git-svn-id: svn://10.0.0.236/trunk@73903 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 06:46:41 +00:00
bienvenu%netscape.com
369ba65719 fix problem posting to wrong news server r=mscott 35678
git-svn-id: svn://10.0.0.236/trunk@73902 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 02:45:21 +00:00
bienvenu%netscape.com
63155d6abe fix problem posting to wrong news server r=mscott 35678
git-svn-id: svn://10.0.0.236/trunk@73901 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 02:38:22 +00:00
bienvenu%netscape.com
d43118ab80 fix 41292, r=waterson, problem with rdf factory cache
git-svn-id: svn://10.0.0.236/trunk@73900 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 02:35:50 +00:00
waterson%netscape.com
ca4f830c71 Register bookmarks datasource with RDF service *last*, because an other failure will leave the RDF service with a dangling pointer. Also, add assertion if we're unable to create a timer, because this is an *extremely* common platform porting error. r=rjc
git-svn-id: svn://10.0.0.236/trunk@73899 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-09 23:49:41 +00:00
av%netscape.com
8bfea858f8 #22954, adding unix and mac flavors, r=pierre
git-svn-id: svn://10.0.0.236/trunk@73898 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-09 22:26:44 +00:00
mcafee%netscape.com
4dc1f0ba46 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@73897 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-09 21:10:01 +00:00
cls%seawood.org
536147ea5d Check for BUILD_OFFICIAL as well as MOZILLA_OFFICIAL
git-svn-id: svn://10.0.0.236/trunk@73896 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-09 15:02:24 +00:00
cls%seawood.org
178d7f72df Check for BUILD_OFFICIAL as well as MOZILLA_OFFICIAL
git-svn-id: svn://10.0.0.236/trunk@73895 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-09 15:01:27 +00:00
brendan%mozilla.org
523a153c14 First cut at reusable trace-malloc logfile reader, factored from bloatblame.
git-svn-id: svn://10.0.0.236/trunk@73894 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-09 08:53:46 +00:00
morse%netscape.com
b3a5a9b468 fix bug 44351, crash in cookie viewer and signon viewer, r=evaughan
git-svn-id: svn://10.0.0.236/trunk@73893 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 23:40:06 +00:00
rhp%netscape.com
5bfc0c9913 Fixing problem with dropping Nickname and display name in sync - Bug #: 1371 - r: jefft
git-svn-id: svn://10.0.0.236/trunk@73892 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 20:51:31 +00:00
colin%theblakes.com
9af477049e Need to break up large groups of files to prevent command overflow. r,a=leaf
git-svn-id: svn://10.0.0.236/trunk@73891 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 12:56:41 +00:00
morse%netscape.com
592ef1c1cb bug 40682, minor wording change, submitter= gabriel@pixle.demon.co.uk, r+a=morse
git-svn-id: svn://10.0.0.236/trunk@73890 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 12:56:39 +00:00
leaf%mozilla.org
ac45a17607 Automated update
git-svn-id: svn://10.0.0.236/trunk@73889 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 11:45:09 +00:00
cls%seawood.org
e9f7740e5b Updated NetBSD section so that mozilla will build on NetBSD-current. Bug #41524 Thanks to Shin'ichiro TAYA <taya@sm.sony.co.jp> for the patch.
git-svn-id: svn://10.0.0.236/trunk@73888 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 11:39:05 +00:00
cls%seawood.org
1a16368373 Changing default debug & opt flags for qnx Bug #44133. Removed autoconf 2.13 specific macro
git-svn-id: svn://10.0.0.236/trunk@73887 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 11:27:25 +00:00
cls%seawood.org
57ed321e90 Change test to check for file (-f) rather than exists (-e) which broke under solaris.
git-svn-id: svn://10.0.0.236/trunk@73884 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 10:25:59 +00:00
cls%seawood.org
0c83d0ce15 Remove hacks that fixed tmp vpath screwups.
git-svn-id: svn://10.0.0.236/trunk@73883 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 09:39:16 +00:00
cls%seawood.org
4c0366b0d7 The unix builds will use a generated build_number (rather than the checked in version) that will forcibly be 000000000 unless MOZILLA_OFFICIAL is set. Bug #26798
Chrome files that need the build date set for MOZILLA_OFFICIAL builds will no longer be modified in the source tree.  The source tree copies will be used as a template for a generated version.  Bug #29597


git-svn-id: svn://10.0.0.236/trunk@73882 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 09:36:01 +00:00
rpotts%netscape.com
f002160c22 More session history cleanup... Reorganizing the code and removing SH_IN_FRAMES ifdefs... (r=radha)
git-svn-id: svn://10.0.0.236/trunk@73881 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 05:17:49 +00:00
leaf%mozilla.org
496dbd6742 Automated update
git-svn-id: svn://10.0.0.236/trunk@73880 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 05:00:14 +00:00
cls%seawood.org
574788b111 Add --disable-libIDL option for use with standalone modules.
git-svn-id: svn://10.0.0.236/trunk@73879 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 04:45:49 +00:00
leaf%mozilla.org
85f65dee34 Automated update
git-svn-id: svn://10.0.0.236/trunk@73878 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 03:45:10 +00:00
tor%cs.brown.edu
17606985ac Remove unneeded AC_DEFINE, clean up warnings, and take out debug printfs.
git-svn-id: svn://10.0.0.236/trunk@73877 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 03:39:21 +00:00
ben%netscape.com
c817d1c11b more Application Helper Pref panel stuff (supporting removal of handlers)
git-svn-id: svn://10.0.0.236/trunk@73876 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 03:21:23 +00:00
cls%seawood.org
60e105a9d9 Commented out compaq compiler test as the test still fails after new compiler was installed
git-svn-id: svn://10.0.0.236/trunk@73875 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 03:02:43 +00:00
brendan%mozilla.org
659430c492 Patch around bad in-place modification of .../build/build_number, and consequent removal of it by distclean, which leaves one with a build that breaks here. This patch cures the broken build, but results in at least four modified source files: build_number, nsBuildID.h, and two related files under xpfe (r=cls@seawood.org).
git-svn-id: svn://10.0.0.236/trunk@73874 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 02:39:40 +00:00
brendan%mozilla.org
c096fdd686 Fix an out-of-date comment.
git-svn-id: svn://10.0.0.236/trunk@73873 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 02:35:56 +00:00
blizzard%redhat.com
b2d851d0bf fix for bug #44790. Fix TestGtkEmbed crash on startup. Ignore the return value from nsIChromeRegistry::CheckForNewChrome(). Also, clean up event queue start up and shut down, fix tabs in file, some 80 col violations and some other code formatting cleanups. r,a=brendan
git-svn-id: svn://10.0.0.236/trunk@73872 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 02:16:34 +00:00
brendan%mozilla.org
e59f31abff Make it safe to nest a GC from js_AllocGCThing, ultimately from the interpreter; also make sure we collect all garbage (even garbage created by finalizers who unroot or unlock GC-things) when destroying the last context (39125, 44376, r=mccabe@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@73871 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 02:06:01 +00:00
edburns%acm.org
460a0e83d5 runem.pl now successfully runs webclient on solaris. However,
webclient on solaris doesn't run yet.


git-svn-id: svn://10.0.0.236/trunk@73870 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 01:36:37 +00:00
cyeh%bluemartini.com
ea6257f545 Fix for 42041. Patch from Dave Miller (dave@intrec.com).
git-svn-id: svn://10.0.0.236/trunk@73869 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 01:31:23 +00:00
mscott%netscape.com
5030ca1e3f Bug #44166 --> fix news modal dialog problems by using correct nsIPrompt object
r=alecf


git-svn-id: svn://10.0.0.236/trunk@73868 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 01:13:08 +00:00
mscott%netscape.com
479a437941 Bug #44167 --> fix news modal dialog problems by using correct nsIPrompt object. part of this fix meant making
sure all news urls were initialized with the currect message window. Hence the change to ConstructNntpUrl.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@73867 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 01:12:30 +00:00
mscott%netscape.com
9469caada6 Bug #44158 --> fix modal dialog problems by using correct nsIPrompt object obtained from the message window
associated with the current url.

r=alecf


git-svn-id: svn://10.0.0.236/trunk@73866 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 01:10:30 +00:00
rogerl%netscape.com
07b641917e Support for 'constructor'.
git-svn-id: svn://10.0.0.236/trunk@73865 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 01:08:29 +00:00
mcafee%netscape.com
690e440a47 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@73864 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 00:24:33 +00:00
mcafee%netscape.com
946ff8bb43 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@73863 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 00:23:48 +00:00
brendan%mozilla.org
d940aad83b Constipation (r=lumpy,a=jack).
git-svn-id: svn://10.0.0.236/trunk@73862 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 00:23:12 +00:00
pollmann%netscape.com
9c987c7201 Bug 4891: Allow flushes to occur outside parsing of the <script> tag. This allows us to keep content lists up to date through document.writes in event handlers r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@73861 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 00:19:44 +00:00
ben%netscape.com
3d0a23244c swap ordering of apps and layout prefs in debug panel so it is possible to turn off box debugging
git-svn-id: svn://10.0.0.236/trunk@73860 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 00:18:31 +00:00
blizzard%redhat.com
c0994b4e21 remove Makefile since we have a Makefile.in that works a=brendan
git-svn-id: svn://10.0.0.236/trunk@73859 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-08 00:09:36 +00:00
warren%netscape.com
e705a0a4d7 Fixed comment
git-svn-id: svn://10.0.0.236/trunk@73858 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 23:43:00 +00:00
Peter.VanderBeken%pandora.be
b1684c5863 Remove redundant define. Not part of build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@73857 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 23:34:12 +00:00
edburns%acm.org
fcb4a4b0c8 First pass at automating the creation of the runem script. I hope runem.pl
can be used on both win32 and unix.


git-svn-id: svn://10.0.0.236/trunk@73856 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 23:32:43 +00:00
mcafee%netscape.com
f6aa6f7fa1 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@73855 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 23:27:47 +00:00
jfrancis%netscape.com
930530f695 fixing increase/decrease font bustage in editor
git-svn-id: svn://10.0.0.236/trunk@73854 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 23:17:37 +00:00
waterson%netscape.com
2f1231c921 Bug 37621. Add necessary logic to retract and fire rules in nsXULTemplateBuilder::OnChange(). I lost these when I re-wrote this method :-(. r=rjc
git-svn-id: svn://10.0.0.236/trunk@73853 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 23:01:14 +00:00
alecf%netscape.com
01ef98bfe4 fix for #29568 - automatically disable other ISP accounts when newsgroup is selected
(skinned to make it work) r=putterman


git-svn-id: svn://10.0.0.236/trunk@73852 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 22:33:45 +00:00
jefft%netscape.com
22fe5e325f fixed bug 44699 -- IMAP does not check result param from nsIMsgAccountManager::FindServer(); r=bienvenu, alecf
git-svn-id: svn://10.0.0.236/trunk@73851 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 22:27:03 +00:00
evaughan%netscape.com
bd0857d1fe Fixed body resizing bug #35681
-r pinkerton


git-svn-id: svn://10.0.0.236/trunk@73848 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 22:24:06 +00:00
saari%netscape.com
c262eae9c3 fixing crashing popups on Windows. Smoketest blocker. Simple null check, nsPIDOMWindow QI result wasn't checked. Not sure why this fails suddenly, I would think everyone shoudl be implementing nsPIDOMWindow.... r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@73847 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 22:17:00 +00:00
ruslan%netscape.com
5038376f85 WIP on 40449, a/r=gagan
git-svn-id: svn://10.0.0.236/trunk@73846 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 22:02:47 +00:00
leaf%mozilla.org
79e35dc667 Automated update
git-svn-id: svn://10.0.0.236/trunk@73845 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 22:00:12 +00:00
mkaply%us.ibm.com
b4ac0fbc7c #42637
r = sspitzer, a = brendan
OS/2 bringup - I have no idea how systemDir( got changed to system(


git-svn-id: svn://10.0.0.236/trunk@73844 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:59:01 +00:00
mscott%netscape.com
3a58e17d6b Bug #43661 --> open attachment needs to pass in the file name
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@73843 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:57:39 +00:00
mkaply%us.ibm.com
ea813c8f0a #42637
r = sspitzer, a = brendan
OS/2 bringup - Our profile is located in the OS2 directory


git-svn-id: svn://10.0.0.236/trunk@73842 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:56:48 +00:00
mscott%netscape.com
dcd9b3c47c Bug #43661 --> pass in the file name for the attachment
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@73841 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:56:38 +00:00
Peter.VanderBeken%pandora.be
36140ae09f Get rid of MOZILLA, use MOZ_XSL. Not part of build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@73840 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:54:52 +00:00
dbragg%netscape.com
8953692d7d Fix for bug #42719. SetLeafName was not removing the old leaf name before appending a new one. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@73839 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:54:08 +00:00
Peter.VanderBeken%pandora.be
18da283dee Add nsDOMParser.cpp. Not part of build. a=vidur.
git-svn-id: svn://10.0.0.236/trunk@73838 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:53:28 +00:00
Peter.VanderBeken%pandora.be
efe71a3df0 Add nsIDOMParser.idl. Not part of build. a=vidur.
git-svn-id: svn://10.0.0.236/trunk@73837 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:53:00 +00:00
tor%cs.brown.edu
0bc270927d Turning on MNG decoder by default on all platforms.
configure.in change r=cls.  a=pnunn,brendan.


git-svn-id: svn://10.0.0.236/trunk@73836 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:52:23 +00:00
Jerry.Kirk%Nexwarecorp.com
91b22a828c NOT PART OF BUILD - PHOTON ONLY
Various fixes to make it draw again from Brian Edmond of QNX
r=kirkj


git-svn-id: svn://10.0.0.236/trunk@73835 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:49:05 +00:00
mkaply%us.ibm.com
556f639044 #42637
r = mkaply, a = brendan
OS/2 bringup - We weren't returning a value from CallMethodFromVTable


git-svn-id: svn://10.0.0.236/trunk@73834 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:46:12 +00:00
mscott%netscape.com
83144a292b part of the fix for Bug #43661 --> need to register the browser as the handler for text/plain so we can open text documents
and have them get dispatched to the browser.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@73833 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:45:40 +00:00
mscott%netscape.com
b273ad2aa2 Bug #44082 --> fail if we couldn't find mimeTypes.rdf during the data source init phase.
patch from jst
r=mscott


git-svn-id: svn://10.0.0.236/trunk@73832 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:44:11 +00:00
mscott%netscape.com
0107d848c4 Bug #44568 -> don't fall out and not open the url if we failed to set the load
attributes on a channel. This broke mailto urls because the mailto channel
is just a stub and doesn't implement this method.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@73831 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:43:16 +00:00
mscott%netscape.com
9940c9a434 Bug #43652 --> fix running of JS urls by returning the error status of the
underlying file transport if the input stream channel doesn't have an error
of it's own.
r=warren


git-svn-id: svn://10.0.0.236/trunk@73830 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:42:15 +00:00
javi%netscape.com
9e6a833ac3 Correctly define CORE_DEPTH
git-svn-id: svn://10.0.0.236/trunk@73829 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:17:31 +00:00
terry%mozilla.org
aec3218cee Fixed links off of 'Most doomed' reports to only list bugs that match the product we're reporting about.
git-svn-id: svn://10.0.0.236/trunk@73828 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 21:05:19 +00:00
edburns%acm.org
294650864a Build_with_mozilla_build_system
git-svn-id: svn://10.0.0.236/trunk@73827 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 19:54:43 +00:00
edburns%acm.org
468587270c a=edburns
r=ashuk
bugs: 44327, 44328

NativeEventThread:

Re-instate the policy of creating an EventQueue for each window.
Put in a superfluous printf in processEventLoop that fixes 44327.

nsActions.{cpp,h}:

Added wsDeallocateInitContextEvent, to enable the correct
removal of the eventQueue, 44328

WindowControlImpl

Fire the wsDeallocateInitcontextEvent in nativeDestroyInitContext.


git-svn-id: svn://10.0.0.236/trunk@73826 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 18:53:07 +00:00
edburns%acm.org
472deb45c4 a=edburns
r=ashuk
bugs: 44327, 44328

WindowControl:

Don't call nativeDestroyInitContext

NativeEventThread

Call windowControl.nativeDestroyInitContext when the run()
loop exits.


git-svn-id: svn://10.0.0.236/trunk@73825 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 18:49:09 +00:00
edburns%acm.org
d54e7976c1 a=edburns
r=ashuk
bugs: 44327, 44328

Comment out the bookmarks test code.


git-svn-id: svn://10.0.0.236/trunk@73824 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 18:47:25 +00:00
bryner%uiuc.edu
fe224fa891 Fixing 44782, but with my original fixes intact. r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@73823 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 18:33:16 +00:00
varada%netscape.com
d4be327220 removing the hash from the list of dirs in makefile.win
git-svn-id: svn://10.0.0.236/trunk@73822 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 17:35:29 +00:00
bienvenu%netscape.com
5f3ccad6dd backout bryner's changes that break tree selection, a=leaf bug 44782
git-svn-id: svn://10.0.0.236/trunk@73821 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 17:03:14 +00:00
svn%xmlterm.org
6e074bd11e --NOT PART OF DEFAULT BUILD--
XMLterm changes only. Updated UUIDs list.


git-svn-id: svn://10.0.0.236/trunk@73820 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 14:48:55 +00:00
svn%xmlterm.org
6645bbc669 --NOT PART OF DEFAULT BUILD--
XMLterm changes only. Implemented chrome overlay a la Chatzilla to insert
XMLterm into the Tasks menu. Also implemented command line option "-terminal"
and URL handler "telnet://" to invoke XMLterm.


git-svn-id: svn://10.0.0.236/trunk@73819 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 14:44:26 +00:00
nboyd%atg.com
6081b3a66b Deprecate FlattenedObject.
git-svn-id: svn://10.0.0.236/trunk@73818 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 14:41:35 +00:00
mkaply%us.ibm.com
557dfac3c1 r=mkaply, a=brendan
Tinderbox break - need os2 changes for uriloader - I am just taking the UNIX for now - hope it builds


git-svn-id: svn://10.0.0.236/trunk@73817 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 14:14:32 +00:00
axel%pike.org
f809c05535 Removing unused Makefile.in, not in allmakefiles.sh, not part of build
git-svn-id: svn://10.0.0.236/trunk@73816 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 11:09:23 +00:00
cls%seawood.org
77c4097f60 Explicitly use $topsrcdir so that mozconfig files are removed even for objdir builds
git-svn-id: svn://10.0.0.236/trunk@73815 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 10:34:45 +00:00
cls%seawood.org
bbece9132c Remove .mozconfig files generated by client.mk Bug #42167
git-svn-id: svn://10.0.0.236/trunk@73814 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 10:26:38 +00:00
jband%netscape.com
dc8c60aa5e Fix yet another instance of the qsort bug that was biting OS/2 only. See explanation in cvs log comment for revision 1.25 of xpt_link.c. Thanks to Javier Pedemonte <pedemont@us.ibm.com>. a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@73813 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 07:32:50 +00:00
sgehani%netscape.com
6fac7551f9 Prevent multiple downloads for mixed keyboard and mouse input. [nsbeta2+ b = 31042; r=dbragg]
git-svn-id: svn://10.0.0.236/trunk@73812 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 06:45:43 +00:00
ben%netscape.com
0b5d210876 latest updates to helper apps pref panel (now support editing of types, and overwriting old types with new ones! =D)
git-svn-id: svn://10.0.0.236/trunk@73811 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 05:44:53 +00:00
dougt%netscape.com
5425c4be74 Debuggin code
a=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@73810 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 04:17:24 +00:00
rhp%netscape.com
8d21b799ba Fix for bug 31589 - Problem with Japanese in vCard tag fields - r: nhotta
git-svn-id: svn://10.0.0.236/trunk@73809 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 03:17:33 +00:00
mscott%netscape.com
6f9957f6d8 Bug #41707, #43652 --> JS urls aren't working. We need to check for the correct return value and don't propogate
the on start request in that case.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@73808 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 02:23:19 +00:00
mscott%netscape.com
384e564c90 Bug #43583 --> updates for helper app launching to work with the dialog.
git-svn-id: svn://10.0.0.236/trunk@73807 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 01:48:57 +00:00
mscott%netscape.com
e07b1b0394 Bug #43583 --> re-organizing how we launch helper apps to work with the helper app dialog.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@73806 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 01:48:17 +00:00
mscott%netscape.com
38f8c40206 Bug #43583 --> re-organizing how we launch helper apps to work with the helper app dialog.
Add nsIExternalAppLauncher interface which is used by the helper app dialog.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@73805 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 01:48:05 +00:00
rods%netscape.com
aa114453e4 If the click is not on on item in the dropdown and not in the comboxbox display area then
the click count is set to zero so the JS event doesn't get fired. If it IS over the combobox
display area then the JS event does get fired.
b=40382 r=pollmann


git-svn-id: svn://10.0.0.236/trunk@73804 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 01:35:23 +00:00
chrisk%netscape.com
d8ac3852c6 Added -d option
-p option now also works for decoding


git-svn-id: svn://10.0.0.236/trunk@73802 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 00:57:39 +00:00
av%netscape.com
6d93cedf23 Addressing 22954, r=mscott
git-svn-id: svn://10.0.0.236/trunk@73801 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 00:10:54 +00:00
nhotta%netscape.com
0560c4754e Fix warnings caused by my last check in.
git-svn-id: svn://10.0.0.236/trunk@73800 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 23:46:20 +00:00
nhotta%netscape.com
f79422dff2 Added a force charset override support, bug 43101, r=mscott.
git-svn-id: svn://10.0.0.236/trunk@73799 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 23:30:57 +00:00
nhotta%netscape.com
b108a12fd8 Added a force charset override UI, bug 43101, r=mscott.
git-svn-id: svn://10.0.0.236/trunk@73798 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 23:29:44 +00:00
nhotta%netscape.com
409ad593a7 Removed the code to set a folder charset by charset menu, we only use charset menu for message override, bug 43101, r=mscott.
git-svn-id: svn://10.0.0.236/trunk@73797 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 23:26:49 +00:00
nhotta%netscape.com
07964d38ea Added force_charset_override, bug 43101, r=mscott.
git-svn-id: svn://10.0.0.236/trunk@73796 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 23:25:40 +00:00
mozilla.BenB%bucksch.org
23f7344526 38494: Attribution line: actually use authorStr; reorder code a bit to make more sense. r=ducarroz, a=waterson
git-svn-id: svn://10.0.0.236/trunk@73794 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 23:00:43 +00:00
ssu%netscape.com
c22f0b274e fixing nsbeta2+ bug 43404 - Update delete dialog text to be less scary. r=dbragg. Affects windows platforms only.
git-svn-id: svn://10.0.0.236/trunk@73793 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 22:56:57 +00:00
dmose%mozilla.org
1dee72d1cb two calls to PR_fprintf were not properly bracketed by ifdef DEBUG, causing non-debugging builds to fail. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73792 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 22:38:11 +00:00
nbhatla%netscape.com
65ee5ea5d1 Work on bug #43658. Fixes to the Mac Classic skin: Radio buttons, Checkbox buttons, Window "platinum" colors, Fonts, Scrollbars, Popup Menus, Trees and Twisties. r=hangas
git-svn-id: svn://10.0.0.236/trunk@73791 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 22:22:19 +00:00
bryner%uiuc.edu
a27aafc7ee Fix for bug 43417. r=pinkerton.
git-svn-id: svn://10.0.0.236/trunk@73790 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 22:20:32 +00:00
radha%netscape.com
768e16fd5e fix for bug nsbeta2+ 40643. urlbar autocomplete busted.
git-svn-id: svn://10.0.0.236/trunk@73789 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 22:01:46 +00:00
ducarroz%netscape.com
9476188f62 Fix Linux bustage.
git-svn-id: svn://10.0.0.236/trunk@73788 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 21:51:11 +00:00
av%netscape.com
636fee1b46 Addressing 22954, removed tag info query for full page plugins, r=edburns@acm.org
git-svn-id: svn://10.0.0.236/trunk@73787 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 21:44:38 +00:00
morse%netscape.com
a283eb91b9 fix bug 44683, real minor wording change, submitted by blaker1234, r=morse
git-svn-id: svn://10.0.0.236/trunk@73786 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 21:39:25 +00:00
colin%theblakes.com
1aba125d84 Need to link against MOZ_JS_LIBS. r=vidur
git-svn-id: svn://10.0.0.236/trunk@73785 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 21:23:46 +00:00
dougt%netscape.com
9a2a3876e4 Removing -d "$(CVSROOT)" option. This messes up under 4nt.
a=leaf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@73784 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 21:20:26 +00:00
nbhatla%netscape.com
04942a81e2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@73783 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 21:19:42 +00:00
wtc%netscape.com
4a00fce6ce Bugzilla bug #41524: fixed build problems on NetBSD-current with ELF
object format. r=taya@sm.sony.co.jp. a=brendan@mozilla.org.
Modified files: NetBSD.mk, _netbsd.h, prlink.c


git-svn-id: svn://10.0.0.236/trunk@73782 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 21:14:15 +00:00
radha%netscape.com
ec65503895 fix for dogfood+ bug 44558. r=rpotts.
git-svn-id: svn://10.0.0.236/trunk@73779 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 21:04:02 +00:00
waterson%netscape.com
387e910910 Fix a string leak that dbaron found with leaksoup. r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@73778 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 20:58:29 +00:00
dougt%netscape.com
93e9cb0462 44665
submitted by dbaron@fas.harvard.edu
a=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@73777 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 20:56:24 +00:00
waterson%netscape.com
1cebde4f7e Brendan meant to add jsdhash.h to the Mac build, too.
git-svn-id: svn://10.0.0.236/trunk@73776 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 20:55:23 +00:00
waterson%netscape.com
c198a05e61 Brendan meant add jsdhash.c to the Mac build, too.
git-svn-id: svn://10.0.0.236/trunk@73775 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 20:54:17 +00:00
ducarroz%netscape.com
1f53a7c58d Fix for bug 43448. Add code to populate mailing list during the send/send later process. R=mscott
git-svn-id: svn://10.0.0.236/trunk@73772 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 20:44:06 +00:00
harishd%netscape.com
acf667a3db 40809 ( nsbeta2+ ) - Replace "\r\n" with "\n" and CR with LF instead of stripping off CRs altogether - in view source.
r=dbaran@fas.harvard.edu


git-svn-id: svn://10.0.0.236/trunk@73771 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 20:40:26 +00:00
colin%theblakes.com
b66b98f8a8 Need to link against MOZ_JS_LIBS. r=cls
git-svn-id: svn://10.0.0.236/trunk@73770 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 20:13:57 +00:00
colin%theblakes.com
5a93fe8776 Remove VMS specific code; not needed any more. r,a=leaf
git-svn-id: svn://10.0.0.236/trunk@73769 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 20:11:38 +00:00
sgehani%netscape.com
91d89cecaf Create install log file in XPCOM's notion of cwd.
[nsbeta2+ b = 19034; r = ssu]


git-svn-id: svn://10.0.0.236/trunk@73768 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 19:44:09 +00:00
rogerl%netscape.com
ceb54a7f92 Removed preprocess step, consolidated identifier handling.
git-svn-id: svn://10.0.0.236/trunk@73767 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 18:26:26 +00:00
karnaze%netscape.com
10de8f5166 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@73766 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 14:07:15 +00:00
dcone%netscape.com
e3d69b4f52 Printing now calls RenderViews instead of just the top view. R=rods. b= 44547
git-svn-id: svn://10.0.0.236/trunk@73765 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 14:06:47 +00:00
rhp%netscape.com
d1c31b9361 Fix for Bug 44086 - problem with saving attachments over existing files - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@73764 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 14:05:47 +00:00
karnaze%netscape.com
14ce92879a bug 40721 - put back fix that was erroneously backed out. r=rods from before.
git-svn-id: svn://10.0.0.236/trunk@73763 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:58:54 +00:00
karnaze%netscape.com
71bc897032 bug 39799 - map NS_STYLE_TEXT_ALIGN_CENTER to align=center, r=syd.
git-svn-id: svn://10.0.0.236/trunk@73762 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:42:57 +00:00
bienvenu%netscape.com
82e2d0a593 fix memory leaks in imap header parsing, r=jefft
git-svn-id: svn://10.0.0.236/trunk@73761 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:41:10 +00:00
karnaze%netscape.com
0bdadeb834 bug 43732 - correctly calculate preferred width of table and cache it. r=syd.
git-svn-id: svn://10.0.0.236/trunk@73760 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:37:28 +00:00
rods%netscape.com
1921a95c8a A "margin" variable isn't being set up in the correct spot.
b=41472 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@73759 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:22:12 +00:00
rods%netscape.com
794167383a an extra keypress was being generated for semicolon, equals, comma, period, slash
it now checks to makes it isn't one of these keys
alos, the subtract key is it's very own special key and is handled separately
b=44189, r=brade


git-svn-id: svn://10.0.0.236/trunk@73758 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 13:16:22 +00:00
axel%pike.org
aecffff28c Code cleanup in extensions/transformiix, getting rid of -DMOZILLA
not part of build


git-svn-id: svn://10.0.0.236/trunk@73757 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 12:35:44 +00:00
BlakeR1234%aol.com
9633504e4e Fix for bug 35057, patch by timeless@bemail.org r=me a=brendan
git-svn-id: svn://10.0.0.236/trunk@73756 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 08:16:23 +00:00
sdv%sparc.spb.su
5f5d17aedf fix for bug=44196
git-svn-id: svn://10.0.0.236/trunk@73755 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 08:01:07 +00:00
BlakeR1234%aol.com
57226a41c8 Fix bug 43277 r=me
git-svn-id: svn://10.0.0.236/trunk@73754 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 07:43:50 +00:00
brendan%mozilla.org
352c59dcb8 Fix lying comment, pick control flow nit (r=lumpy,a=jack).
git-svn-id: svn://10.0.0.236/trunk@73753 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 07:38:11 +00:00
BlakeR1234%aol.com
a2dfa3c0c1 erg. fix indentation.
git-svn-id: svn://10.0.0.236/trunk@73752 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 07:37:48 +00:00
BlakeR1234%aol.com
e2e6c9beeb Fix tiny mistake in my previous checkin.
git-svn-id: svn://10.0.0.236/trunk@73751 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 07:23:44 +00:00
dougt%netscape.com
162fc83684 44046
r=dveditz@netscape.com
pdt+


git-svn-id: svn://10.0.0.236/trunk@73750 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 06:58:28 +00:00
BlakeR1234%aol.com
9bdd33ca46 Compatibility with the mail spec
git-svn-id: svn://10.0.0.236/trunk@73749 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 06:52:46 +00:00
BlakeR1234%aol.com
1a9195f268 Compatibility with the mail spec - http://www.mozilla.org/mailnews/specs/threepane/MailMenusM.html
git-svn-id: svn://10.0.0.236/trunk@73748 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 06:49:11 +00:00
brendan%mozilla.org
65b8bdd99e Add jsdhash.h to export/install lists, and jsdhash.c/.obj.
git-svn-id: svn://10.0.0.236/trunk@73747 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 04:46:18 +00:00
radha%netscape.com
1e4d6f8713 More changes regarding feature bug 36547 r=rpotts
git-svn-id: svn://10.0.0.236/trunk@73746 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 04:34:52 +00:00
waterson%netscape.com
e4de1c9239 Update regression test for 22037 to include fun new test cases.
git-svn-id: svn://10.0.0.236/trunk@73745 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 04:33:16 +00:00
waterson%netscape.com
ec244a11cf Bug 22037. Detect when CantRenderReplacedElement() is inserting a block frame into an inline. When this happens, 'split' the frame model to the nearest containing block. Re-arranged some of ConstructInline()'s support routines to share code with new method SplitToContainingBlock(). r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@73744 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 04:31:33 +00:00
waterson%netscape.com
c117abb0b3 Fix silly leak that dbaron found with leaksoup. r=jack,a=lumpy.
git-svn-id: svn://10.0.0.236/trunk@73743 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 04:27:10 +00:00
BlakeR1234%aol.com
c968f39b76 Fix for bugs 20832 and 42202 r=dveditz
git-svn-id: svn://10.0.0.236/trunk@73742 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 04:05:48 +00:00
despotdaemon%netscape.com
52aa37fc2d Pseudo-automatic update of changes made by taka@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@73741 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 03:56:30 +00:00
despotdaemon%netscape.com
9da10fed96 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@73740 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 03:43:45 +00:00
mkaply%us.ibm.com
7cdf888f8c # 42637
r = mkaply, a = brendan
OS/2 bring-up - Need header file for Henry's changes


git-svn-id: svn://10.0.0.236/trunk@73739 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 02:52:58 +00:00
bryner%uiuc.edu
1ecd025623 Fix for crasher bug 44444. r=jst.
git-svn-id: svn://10.0.0.236/trunk@73738 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 02:44:48 +00:00
gagan%netscape.com
5a64fdff92 Fix for bug 22405 (proxy authentication) We were skipping over proxy authentication becuz proxytransparent was false. r=ruslan
git-svn-id: svn://10.0.0.236/trunk@73737 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 02:37:15 +00:00
mozilla.BenB%bucksch.org
93f3722bc1 40862: Fix bug 9202 for this class, temporarily remove the wrapping <div class=text-flowed> in the quoting case.
43453: Check in the nsbr conversion for flowed paragraphs, if we're in an HTML tag (as e.g. outputted by the TXT->HTML converter).
43455: Allow space-stuffing even for otherwise empty (or quoted) lines.


git-svn-id: svn://10.0.0.236/trunk@73736 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 02:22:59 +00:00
dougt%netscape.com
6515a284db 44046
r=dveditz@netscape.com
pdt+


git-svn-id: svn://10.0.0.236/trunk@73734 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 02:05:51 +00:00
mozilla.BenB%bucksch.org
9d287f3ecd 39370: Use format=flowed for quoting
git-svn-id: svn://10.0.0.236/trunk@73733 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 01:45:02 +00:00
ben%netscape.com
3262466594 initial checkin for bug 10958 (exception feature), application helper pref panel.
Supports adding a new override but not editing or removing. Will work on that next.


git-svn-id: svn://10.0.0.236/trunk@73732 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 01:43:17 +00:00
law%netscape.com
24eb4820e4 Bug 43583; add interface for helper app dialog; r=varada@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73731 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 01:42:46 +00:00
javi%netscape.com
63cb8e2904 More entries that were multiply defined are now fixed.
git-svn-id: svn://10.0.0.236/trunk@73730 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 01:38:51 +00:00
ben%netscape.com
b22a01f1ed small change in ds to support Helper Apps pref panel
git-svn-id: svn://10.0.0.236/trunk@73729 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 01:35:03 +00:00
mozilla.BenB%bucksch.org
37c6644e37 Rest of 29653: Use a valid "mid" URL as value for the cite attribute of <blockquote> instead of just the raw Msg-ID.
git-svn-id: svn://10.0.0.236/trunk@73728 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 01:33:19 +00:00
javi%netscape.com
a023887c50 Removed some properties that were multiply defined and correctly defined some
hdr property entires to avoid over-writing properties.


git-svn-id: svn://10.0.0.236/trunk@73727 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 01:31:30 +00:00
despotdaemon%netscape.com
afb3f69ee9 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@73726 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 01:27:30 +00:00
ben%netscape.com
a4cee924f4 ...and again. I suck.
git-svn-id: svn://10.0.0.236/trunk@73725 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 01:24:35 +00:00
cmanske%netscape.com
9450698144 Temporary fix for HTML source window being overwritten by regular editor window when window is resized b=34414. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@73724 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 01:23:47 +00:00
ben%netscape.com
6c08503cf6 fix braindead stuff. (make global variable local, oops)
git-svn-id: svn://10.0.0.236/trunk@73723 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 01:22:59 +00:00
brendan%mozilla.org
729aa3812c Avoid 80th column violations and unnecessary local variable.
git-svn-id: svn://10.0.0.236/trunk@73722 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 01:15:08 +00:00
warren%netscape.com
1f54371807 Bug 43858. Fix to make wallet dlls be optional.
git-svn-id: svn://10.0.0.236/trunk@73720 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 00:45:00 +00:00
warren%netscape.com
5c26c6e8c5 Fix for lost status/error return value. Affects javascript: urls. r=gagan
git-svn-id: svn://10.0.0.236/trunk@73719 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 00:40:53 +00:00
edburns%acm.org
64743fd04d compile_under_solaris
git-svn-id: svn://10.0.0.236/trunk@73718 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 00:39:53 +00:00
brendan%mozilla.org
2bec829503 Undo teeny optimization from rev 3.28, alas it breaks ECMA Ed. 3, 15.5.4.15.
git-svn-id: svn://10.0.0.236/trunk@73717 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 00:30:46 +00:00
edburns%acm.org
12c5493511 Compile_String_changes_with_M16
git-svn-id: svn://10.0.0.236/trunk@73716 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 00:25:23 +00:00
dougt%netscape.com
5c4e30eccb Mike Kaply <mkaply@us.ibm.com> pointed out a malloc(0) bug as well as a free(null).
a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@73715 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 00:22:17 +00:00
law%netscape.com
45f1ba66f8 Bug 43583; add new interface for helper app dialog
git-svn-id: svn://10.0.0.236/trunk@73714 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 00:09:51 +00:00
ben%netscape.com
dbb0db1507 toolbar drag and drop
git-svn-id: svn://10.0.0.236/trunk@73713 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:55:48 +00:00
ben%netscape.com
09d9409283 toolbar drag and drop
git-svn-id: svn://10.0.0.236/trunk@73712 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:55:39 +00:00
jefft%netscape.com
54fd4379aa fixed bug 44164 - improperly parented modal dialog in nsPop3Protocol; r=mscott
git-svn-id: svn://10.0.0.236/trunk@73711 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:55:17 +00:00
ben%netscape.com
9030716697 give toolbar buttons a max width of 10em to prevent ridiculously large personal toolbar buttons.
git-svn-id: svn://10.0.0.236/trunk@73710 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:50:30 +00:00
ben%netscape.com
138436a31b personal toolbar drag and drop and a fix for 42692, [disabled by default!]
git-svn-id: svn://10.0.0.236/trunk@73709 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:49:31 +00:00
law%netscape.com
bd38d4fa33 Bug 43583; add new interface file for helper app dialog;r=varada@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73708 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:41:14 +00:00
cmanske%netscape.com
ec6be6cf62 Fixed setting value on multiline textarea - get value from content node instead of frame. Fixed by kin, b=42646, r=mjudge, a=beppe
git-svn-id: svn://10.0.0.236/trunk@73707 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:38:26 +00:00
jefft%netscape.com
88334e2247 fixed bug 33986 -- IMAP: Quit with unsaved draft, save to draft crashes & bug 44203 -- Closing last mail compose crashes the app; r=alecf
git-svn-id: svn://10.0.0.236/trunk@73706 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:19:24 +00:00
pinkerton%netscape.com
af868ff566 when passing drag event into gecko, correctly compute offset to child widget. r=damn bug 43405
git-svn-id: svn://10.0.0.236/trunk@73705 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:14:14 +00:00
pinkerton%netscape.com
cfbebe7bb0 take into account the scroll position of the tree's view when computing frame-relative mouse coordinates. r=damn bug 43405
git-svn-id: svn://10.0.0.236/trunk@73704 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:12:35 +00:00
rpotts%netscape.com
bc20fd3c03 Moved session history methods from nsIWebNavigation into a new interface called nsIDocShellHistory. Also made docshells persist layout state before being destroyed (this is necesssary for framesets).
git-svn-id: svn://10.0.0.236/trunk@73703 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 23:10:29 +00:00
ruslan%netscape.com
bb6667a9c2 Make XPCOM_CHECK_THREADSAFE env. variable to actually be useful
git-svn-id: svn://10.0.0.236/trunk@73702 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 22:58:28 +00:00
ruslan%netscape.com
9d5c85f6e4 Fix 42377 - make http SetNotificationCallbacks go through the proxy object, thus
avoiding crashers when OpenInputStream is used, a=gagan,warren


git-svn-id: svn://10.0.0.236/trunk@73701 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 22:57:50 +00:00
av%netscape.com
e0616cee81 #43500, making the default plugin part of the build on Windows, r=pollmann
git-svn-id: svn://10.0.0.236/trunk@73700 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 22:51:34 +00:00
danm%netscape.com
2d19de477f added nsIDocShellHistory for rpotts
git-svn-id: svn://10.0.0.236/trunk@73699 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 22:44:57 +00:00
bienvenu%netscape.com
c0ceccd221 fix mork memory leak, a+r=waterson 35913
git-svn-id: svn://10.0.0.236/trunk@73698 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 22:40:17 +00:00
rpotts%netscape.com
f8caaea71c New session history interface for the DocShell... not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@73697 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 22:28:24 +00:00
bienvenu%netscape.com
492290e8c3 check in fix for 40746 for putterman, crash hitting next unread in empty folder, r=me
git-svn-id: svn://10.0.0.236/trunk@73696 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 22:26:55 +00:00
danm%netscape.com
dcfe9c7095 stick Macintosh modal windows on top, correct other platforms' dependent window z-level, all with icky XP_ ifdefs. bug 44117 r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@73695 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 22:24:44 +00:00
danm%netscape.com
af282c07d8 remove dependence on modality for z-ordering. bug 44117 r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@73694 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 22:22:58 +00:00
varada%netscape.com
9f629f086b fix for bug #36155 -default identity for compose message must be the selected identity in messenger windows; r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@73693 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 22:06:34 +00:00
leaf%mozilla.org
805708df41 Automated update
git-svn-id: svn://10.0.0.236/trunk@73692 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 21:30:10 +00:00
mkaply%us.ibm.com
843d43b5a2 #40177
r = cls, a = brendan
OS/2 bringup - Changes so we can build mng


git-svn-id: svn://10.0.0.236/trunk@73691 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 21:28:07 +00:00
kin%netscape.com
682a69e783 Backout passing of PR_FALSE to GetText() in CreateAnonymousContent(). That
was a debug change in my tree that I accidentally included in my previous
checkin.


git-svn-id: svn://10.0.0.236/trunk@73690 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 21:23:35 +00:00
mkaply%us.ibm.com
bd9e5900cc #40177
r = cls, a = brendan
OS/2 bringup - XP_OS2_EMX should be defined for EMX builds no matter what


git-svn-id: svn://10.0.0.236/trunk@73689 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 21:21:54 +00:00
kin%netscape.com
b1c5d5cd44 Fix for bug #43679: lose sender when scrolling in the addressing pane
Modified CreateAnonymousContent() to use mCachedState if it exists.

r=ducarroz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@73688 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 20:51:08 +00:00
edburns%acm.org
da177fe5fd Whitespace formatting changes.
git-svn-id: svn://10.0.0.236/trunk@73687 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 20:27:41 +00:00
morse%netscape.com
09065955f6 fix bug 44581, minor wording change, submitter=Blake Ross, r=morse
git-svn-id: svn://10.0.0.236/trunk@73686 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 20:14:30 +00:00
tor%cs.brown.edu
73bb269933 Build MNG decoder when MOZ_MNG is set. r=roc+@cs.cmu.edu, a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@73685 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 19:54:33 +00:00
edburns%acm.org
c3f688ff6d Make it so it compiles on UNIX.
git-svn-id: svn://10.0.0.236/trunk@73684 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 19:53:24 +00:00
mkaply%us.ibm.com
8d7beef6d9 #42637
r = mkaply, a = brendan
OS/2 bringup - remove obsolete widgets, begin font work, get filepicker working


git-svn-id: svn://10.0.0.236/trunk@73683 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 19:53:21 +00:00
tor%cs.brown.edu
a097baa88d Update libmng snapshot. Not in default build.
git-svn-id: svn://10.0.0.236/trunk@73682 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 19:32:22 +00:00
mstoltz%netscape.com
2566397fdc DOM properties default to same origin access only. Bug 28443. r=rginda
git-svn-id: svn://10.0.0.236/trunk@73681 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 19:08:20 +00:00
vidur%netscape.com
02818e5c1a Cleaning up simple cgi. This is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@73680 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 18:49:41 +00:00
ssu%netscape.com
827783da2c fixing bug 43901 - fixing makeall.pl to build windows installer under win2k. a=leaf r=sgehani
git-svn-id: svn://10.0.0.236/trunk@73679 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 18:29:33 +00:00
slamm%netscape.com
a3127beff0 Change ~/.mozconfig to $HOME/.mozconfig for OS2 folks.
git-svn-id: svn://10.0.0.236/trunk@73678 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 18:24:28 +00:00
cyeh%bluemartini.com
8e0ab1fd6e fixes for the attachment widths. fix by dave@intrec.com (Dave Miller),
original bug found by timeless@bemail.org


git-svn-id: svn://10.0.0.236/trunk@73677 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 18:21:54 +00:00
rpallath%eng.sun.com
c159e73577 Altered test files
git-svn-id: svn://10.0.0.236/trunk@73676 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 17:17:34 +00:00
rpallath%eng.sun.com
04de8efbac Modified Test Cases. All previously unsupported methods have been
supported. Test Cases for the same have been updated.


git-svn-id: svn://10.0.0.236/trunk@73675 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 17:16:15 +00:00
nboyd%atg.com
e100ec45de Remove obsolete references to NodeFactory.
git-svn-id: svn://10.0.0.236/trunk@73674 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 17:08:26 +00:00
vidur%netscape.com
af010cf93a Added new parser interface that does string/stream to DOM document parsing. This is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@73672 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 16:55:53 +00:00
terry%mozilla.org
d22aab65d0 If bugs with an invalid product/component are found, provide a link to bring up the list of invalid bugs.
git-svn-id: svn://10.0.0.236/trunk@73671 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 15:17:36 +00:00
mkaply%us.ibm.com
d1ae27be7b 42637
r=dougt, a=brendan
OS/2 bringup - DLL names need to be 8.3 on OS/2


git-svn-id: svn://10.0.0.236/trunk@73670 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 13:53:12 +00:00
mkaply%us.ibm.com
d3b1c79d63 #42637
r=sspitzer, a=brendan
OS/2 bringup - VisualAge treats this like a cast - according to nsFileSpec.h, our way is correct


git-svn-id: svn://10.0.0.236/trunk@73669 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 13:48:12 +00:00
mkaply%us.ibm.com
b00f430573 #42637
r=mscott, a=brendan
OS/2 bringup - VisualAge treats this like a cast - according to nsFileSpec.h, our way is correct


git-svn-id: svn://10.0.0.236/trunk@73668 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 13:44:44 +00:00
mkaply%us.ibm.com
b9f715c40a #42637
r=dougt, a=brendan
OS/2 bringup - change to locate DLL in components dir


git-svn-id: svn://10.0.0.236/trunk@73667 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 13:40:53 +00:00
mkaply%us.ibm.com
b3f87a2180 #42637
r=waterson, a=waterson
OS/2 bringup - this is a Windows path, not an XP_PC path


git-svn-id: svn://10.0.0.236/trunk@73666 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 13:39:07 +00:00
mkaply%us.ibm.com
f86f54f07f #42637
r=mkaply, a=brendan
Support for subkeyboard types, like Dvorak


git-svn-id: svn://10.0.0.236/trunk@73665 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 13:37:09 +00:00
BlakeR1234%aol.com
85a54ba8bb Rest of the fix for 42318 (r=ben, see previous checkin)
git-svn-id: svn://10.0.0.236/trunk@73664 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 05:14:49 +00:00
BlakeR1234%aol.com
f383184545 Partial fix for bug 42318 r=ben, fix for 44240 r=disttsc@bart.nl, a=brendan
git-svn-id: svn://10.0.0.236/trunk@73663 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 05:10:47 +00:00
sgehani%netscape.com
432e9a5c80 Use passive mode when downloading. (Checking in for Jeffrey Baker.)
[nsbeta2+ b = 40655; r=sgehani,dbragg]


git-svn-id: svn://10.0.0.236/trunk@73662 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 03:55:54 +00:00
sgehani%netscape.com
58c60d3a91 Prevent multiple redundant downloads when default (return) key is hit more than once.
[nsbeta2+ b = 31042; r=ssu]


git-svn-id: svn://10.0.0.236/trunk@73661 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-05 03:53:09 +00:00
dougt%netscape.com
846f904556 Adding files to cvs for test application.
git-svn-id: svn://10.0.0.236/trunk@73660 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-04 22:42:09 +00:00
dougt%netscape.com
fed912c428 I am an idiot.
git-svn-id: svn://10.0.0.236/trunk@73659 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-04 22:08:41 +00:00
dougt%netscape.com
bf51a63eae 44113, 44190, 44191.
r/a=valeski@netscape.com

nsDocShellTreeOwner not handling chrome/content correctly.
Asserts when no toplevel window set.
Need to start chrome up from NS_InitEmbedding()
Test App changes.


git-svn-id: svn://10.0.0.236/trunk@73658 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-04 21:53:27 +00:00
dougt%netscape.com
4aa12d035b 44113 r/a=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73657 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-04 21:49:27 +00:00
brendan%mozilla.org
e508a48538 Fix unused new Object before literal.
git-svn-id: svn://10.0.0.236/trunk@73656 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-04 19:06:26 +00:00
blizzard%redhat.com
0fd07c8cdf fix for bug #43305. reduce the number of paints and fix leaking items into a linked list when scrolling. this should make linux a little faster. r=bryner,pavlov,imoT a=brendan
git-svn-id: svn://10.0.0.236/trunk@73655 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-04 19:05:47 +00:00
radha%netscape.com
8949f863cb Enabling feature "Session History in frameset pages". bug # 36547. Reviewer for this checkin
as well as several previous checkins related to this bug is rpotts.


git-svn-id: svn://10.0.0.236/trunk@73654 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-04 18:51:14 +00:00
morse%netscape.com
d100122d25 workaround for bug 43573, select user not working
git-svn-id: svn://10.0.0.236/trunk@73653 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-04 03:07:39 +00:00
cls%seawood.org
a1ee73cf32 Remove generated config files on distclean. Bug #43142
git-svn-id: svn://10.0.0.236/trunk@73651 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-03 21:41:48 +00:00
nboyd%atg.com
a1a769b259 Subject:
Re: Rhino1.5.R1: problems with multithreaded embedded application.
        Date:
             Mon, 03 Jul 2000 14:38:56 -0400
       From:
             Norris Boyd <nboyd@atg.com>
 Organization:
             Art Technology Group
         To:
             Fergus Gallagher <Fergus.Gallagher@orbisuk.com>
 Newsgroups:
             netscape.public.mozilla.jseng
  References:
             1




You found a bug in Rhino; I wonder if others have been running into the same thing.

The problem is with a class called LazilyLoadedCtor. I wrote this class to reduce the
time
required by initStandardObjects by only creating standard objects when the associated
constructors are first accessed. The problem is that this class was not threadsafe.
I've
made changes to that class, and to ScriptableObject as well. The design of dynamic
properties calling getters and setters (which LazilyLoadedCtor uses) didn't really
allow
any way for the getter/setter to replace itself without a thread hazard. I've now
extended
setters so that they can return a value which replaces the getter/setter to avoid this
problem.

Thanks for finding this problem. There have been a couple of other reports of problems
in
this area, so I hope this will fix them.

The patch follows.

--N

Index: LazilyLoadedCtor.java
===================================================================
RCS file: /cvsroot/mozilla/js/rhino/org/mozilla/javascript/LazilyLoadedCtor.java,v
retrieving revision 1.1
diff -u -r1.1 LazilyLoadedCtor.java
--- LazilyLoadedCtor.java 2000/02/29 21:34:37 1.1
+++ LazilyLoadedCtor.java 2000/07/03 18:31:03
@@ -58,9 +58,12 @@
     }

     public Object getProperty(ScriptableObject obj) {
-        obj.delete(ctorName);
         try {
-            ScriptableObject.defineClass(obj, Class.forName(className));
+            synchronized (obj) {
+                if (!isReplaced)
+                    ScriptableObject.defineClass(obj, Class.forName(className));
+                isReplaced = true;
+            }
         }
         catch (ClassNotFoundException e) {
             throw WrappedException.wrapException(e);
@@ -83,11 +86,14 @@
         return obj.get(ctorName, obj);
     }

-    public void setProperty(ScriptableObject obj, Object val) {
-        obj.delete(ctorName);
-        obj.put(ctorName, obj, val);
+    public Object setProperty(ScriptableObject obj, Object val) {
+        synchronized (obj) {
+            isReplaced = true;
+            return val;
+        }
     }

     private String ctorName;
     private String className;
+    private boolean isReplaced;
 }
Index: ScriptableObject.java
===================================================================
RCS file: /cvsroot/mozilla/js/rhino/org/mozilla/javascript/ScriptableObject.java,v
retrieving revision 1.17
diff -u -r1.17 ScriptableObject.java
--- ScriptableObject.java 2000/03/13 17:12:36 1.17
+++ ScriptableObject.java 2000/07/03 18:31:04
@@ -246,11 +246,21 @@
                             break;
                         }
                     }
-                    getterSlot.setter.invoke(start, arg);
+                    Object v = getterSlot.setter.invoke(start, arg);
+                    if (getterSlot.setterReturnsValue) {
+                        slots[slotIndex].value = v;
+                        if (!(v instanceof Method))
+                            slots[slotIndex].flags = 0;
+                    }
                     return;
                 }
                 Object[] args = { this, actualArg };
-                getterSlot.setter.invoke(getterSlot.delegateTo, args);
+                Object v = getterSlot.setter.invoke(getterSlot.delegateTo, args);
+                if (getterSlot.setterReturnsValue) {
+                    slots[slotIndex].value = v;
+                    if (!(v instanceof Method))
+                        slots[slotIndex].flags = 0;
+                }
                 return;
             }
             catch (InvocationTargetException e) {
@@ -1183,6 +1193,7 @@
         slot.delegateTo = delegateTo;
         slot.getter = getter;
         slot.setter = setter;
+        slot.setterReturnsValue = setter != null && setter.getReturnType() !=
Void.TYPE;
         slot.value = null;
         slot.attributes = (short) attributes;
         slot.flags = flags;
@@ -1551,6 +1562,7 @@
     Object delegateTo;  // OPT: merge with "value"
     Method getter;
     Method setter;
+    boolean setterReturnsValue;
 }




Fergus Gallagher wrote:

> I am having problems getting my head around contexts and scopes and my
> multi-threaded application fall over.
>
> If I set "global=false" the following code used a per-thread
> initStandardObject() and this seems to work.  But when I set
> "global=true", the global "parentScope" is used and I get some wierd
> errors.
>
> If I change "__CODE__.slice(0,5)" to
> 1. "__CODE__" - works
> 2. "__CODE__.substring(0,5)" - fails
> 3. "__CODE__.toString()" - works
>
> Any help appreciated.
>
> Fergus
>
> ===== Test.java =========================================
> import java.io.*;
> import org.mozilla.javascript.*;
>
> public class Test implements Runnable {
>         private Script script;
>         private Scriptable parentScope;
>         private String __CODE__="ABCDEFGHIJK";
>         private boolean global = true;
>         private static Context globalContext = null;
>         public Test() throws Exception {
>                 String js= "java.lang.System.out.println(__CODE__.slice(0,5));";
>                 globalContext.setCompileFunctionsWithDynamicScope(false);
>                 parentScope = globalContext.initStandardObjects(null);
>                 StringReader sr = new StringReader(js);
>                 script = globalContext.compileReader(parentScope, sr, "(compiled)",
> 1,null);
>         }
>
>         public void run() {
>                 try {
>                         Context context = Context.enter();
>                         Scriptable threadScope;
>                         if (global) {
>                                 threadScope = context.newObject(parentScope);
>                                 threadScope.setPrototype(parentScope);
>                                 threadScope.setParentScope(null);
>                         } else {
>                                 threadScope = context.initStandardObjects(null);
>                         }
>                         threadScope.put("__CODE__",threadScope,__CODE__);
>                         script.exec(context,threadScope);
>                 }
>                 catch (Exception e) {
>                         System.err.println(e.getClass().getName()+":
"+e.getMessage());
>                 }
>                 finally {
>                         Context.exit();
>                 }
>         }
>
>         public static void main(String args[]) throws Exception {
>         globalContext = Context.enter();
>                 Test me = new Test();
>                 int count=10;
>                 Thread[] threads = new Thread[count];
>                 for (int i=0; i<count; i++) {
>                         Thread t = new Thread(me);
>                         threads[i] = t;
>                         t.start();
>                 }
>                 for (int i=0; i<count; i++) {
>                         threads[i].join();
>                 }
>                 Context.exit();
>         }
> }
>
> ==== OUTPUT ===============================================
> ABCDE
> ABCDE
> org.mozilla.javascript.EcmaError: undefined is not a function.
> org.mozilla.javascript.EvaluatorException: Constructor for "String" not
> found.
> org.mozilla.javascript.EvaluatorException: Constructor for "String" not
> found.
> org.mozilla.javascript.EvaluatorException: Constructor for "String" not
> found.
> org.mozilla.javascript.EvaluatorException: Constructor for "String" not
> found.
> org.mozilla.javascript.EvaluatorException: Constructor for "String" not
> found.
> org.mozilla.javascript.EvaluatorException: Constructor for "String" not
> found.
> org.mozilla.javascript.EvaluatorException: Constructor for "String" not
> found.
> ===========================================================
>
> The number and type of exceptions is highly variable from run to run -
> anywhere from 1-9 out of 10.
> The EcmaError in particular only happens occasionally.
>
> --
> Fergus Gallagher          Tel: +44 (20) 8 987 0717
> Orbis                     Fax: +44 (20) 8 742 2649
> The Swan Centre           email: Fergus.Gallagher@orbisuk.com
> Fishers Lane              Web: http://www.orbisuk.com
> London W4 1RX / UK


git-svn-id: svn://10.0.0.236/trunk@73650 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-03 18:40:35 +00:00
BlakeR1234%aol.com
3794a301da Fix for 44442. r=me
git-svn-id: svn://10.0.0.236/trunk@73649 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-03 05:56:58 +00:00
rbs%maths.uq.edu.au
ab59c260ce [not part of default build] Fix bug 43443, and some updates in the stretchy chars land. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@73648 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-03 05:40:13 +00:00
BlakeR1234%aol.com
35b930e4b5 Partial fix for bug 44442. Thanks to walk84@usa.net for catching it r=me
git-svn-id: svn://10.0.0.236/trunk@73647 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-03 00:41:30 +00:00
bienvenu%netscape.com
3ffd988c06 fix OS2 build bustage
git-svn-id: svn://10.0.0.236/trunk@73646 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-02 23:56:10 +00:00
jband%netscape.com
1cf39227e9 updating readme. Not part of build
git-svn-id: svn://10.0.0.236/trunk@73645 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-02 19:37:57 +00:00
cls%seawood.org
7fb57d53ad Removing last vestiges of raptor from unix build. Since some libs were renamed, a 'make distclean' is recommeneded to remove the old copies of those libs. Bug #8228 r=bryner
git-svn-id: svn://10.0.0.236/trunk@73643 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-02 18:44:42 +00:00
bienvenu%netscape.com
9ae501b0eb fix OS2 build bustage
git-svn-id: svn://10.0.0.236/trunk@73642 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-02 18:16:47 +00:00
bienvenu%netscape.com
9a4b6f8f61 fix os2 build bustage
git-svn-id: svn://10.0.0.236/trunk@73641 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-02 18:11:32 +00:00
ben%netscape.com
e1e301e649 tweaks to classic skin for mac (make throbber normal size, make splitter the right colour)
git-svn-id: svn://10.0.0.236/trunk@73640 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-02 07:03:16 +00:00
morse%netscape.com
38ca00123e fix bug 43227, quickfill still in menu on mac
git-svn-id: svn://10.0.0.236/trunk@73639 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-02 04:00:02 +00:00
dbaron%fas.harvard.edu
be229d0ebf Ignore the correct generated files (rather than the list copied from leaky).
git-svn-id: svn://10.0.0.236/trunk@73638 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-02 00:44:31 +00:00
dbaron%fas.harvard.edu
2b71a5740c Fix bug 35355 by not reading before the beginning of an array. Patch from Robert O'Callahan <roc+moz@cs.cmu.edu>.
Fix ConditionRect so really wide documents repaint correctly on Win95.
r=kmcclusk, a=waterson


git-svn-id: svn://10.0.0.236/trunk@73636 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 22:12:23 +00:00
leaf%mozilla.org
327240ef2a Automated update
git-svn-id: svn://10.0.0.236/trunk@73635 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 21:45:08 +00:00
dbaron%fas.harvard.edu
7c7f971183 Fix leak of content from trees introduced recently. r=hyatt,waterson
git-svn-id: svn://10.0.0.236/trunk@73634 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 21:45:06 +00:00
dbaron%fas.harvard.edu
43225d6206 Add Vidur's xmlextras to the list of *all* extensions (what you get with --with-extensions=all). Does not affect default build. r=vidur
git-svn-id: svn://10.0.0.236/trunk@73633 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 21:41:48 +00:00
dbaron%fas.harvard.edu
4606a3e8e6 Allow Vidur's xmlextras to be built on Linux (not part of default build). r=vidur
git-svn-id: svn://10.0.0.236/trunk@73632 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 21:40:53 +00:00
jab%atdot.org
e7e15146f2 A typo in the Windows makefile...
git-svn-id: svn://10.0.0.236/trunk@73631 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 12:41:53 +00:00
jab%atdot.org
c5fa278001 The mac build was not getting my new MANIFEST file. I think this might fix it.
git-svn-id: svn://10.0.0.236/trunk@73627 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 11:05:41 +00:00
jab%atdot.org
828533791e I had an extra tab after one of the makefile lines...
git-svn-id: svn://10.0.0.236/trunk@73626 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 10:49:06 +00:00
jab%atdot.org
027f444ba4 a=brendan@mozilla.org
Bug #16103
Support for SOCKS proxies in HTTP, HTTPS, and FTP protocols.
Also includes the prefs configuration and UI bits.


git-svn-id: svn://10.0.0.236/trunk@73625 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 10:25:25 +00:00
ssu%netscape.com
057942a772 fixing bug 44006 - Please don't use Windows extended dialogs in setupsrc.dll. nsbeta2+ r=sgehani
git-svn-id: svn://10.0.0.236/trunk@73624 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 08:50:44 +00:00
andreas.otte%primus-online.de
b0e4bff161 fix bug 43659, URL bar does not accept hexadecimal domain names, r=gagan@netscape.com, a=waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@73623 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 06:29:13 +00:00
rpotts%netscape.com
42b6d06869 Fixed a leak where child SHEntry were not being released when the parent SHEntry was deleted.
git-svn-id: svn://10.0.0.236/trunk@73622 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 05:37:40 +00:00
sspitzer%netscape.com
9a5dbb3cb7 last check in before sabbatical! fix for nsbeta2+ bugscape bug #1149.
install default templates in the case where the profile's locale
is not set.  r=mscott


git-svn-id: svn://10.0.0.236/trunk@73621 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 02:38:27 +00:00
brendan%mozilla.org
33739aa4fc Reference-count XBL JSClass structs, and LRU-cache unreferenced ones up to some quota, to avoid bloat and shutdown crashes due to unavoidable manual delete/last-use misorder (42530, r=hyatt).
git-svn-id: svn://10.0.0.236/trunk@73620 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 02:36:18 +00:00
nisheeth%netscape.com
d3c0d42db2 Fix for nsbeta2+ bug 12152. r=vidur, pollmann. Setting the src property during document load works on <IMG> and <INPUT type="image"> elements.
git-svn-id: svn://10.0.0.236/trunk@73619 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 02:26:30 +00:00
cmanske%netscape.com
dd3d32b37c Don't include current URL when building Recent Files menu. Checking in work for Ryan Cassin, b=17502, r=cmanske
git-svn-id: svn://10.0.0.236/trunk@73618 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 02:16:04 +00:00
dougt%netscape.com
44732d3a61 submitted by Quy Tonthat <quy@igelaus.com.au>
a=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@73617 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 02:12:52 +00:00
javi%netscape.com
a11f6a01a8 Get the CRL dialog window to properly close and refresh the Signers pane
when no more CRL's are left.


git-svn-id: svn://10.0.0.236/trunk@73616 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 01:26:42 +00:00
javi%netscape.com
23bd6cfb23 First shot at having UI for deleting CRLs.
git-svn-id: svn://10.0.0.236/trunk@73615 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 01:19:22 +00:00
javi%netscape.com
f9f93685e4 Remove an unused button from dialog.
git-svn-id: svn://10.0.0.236/trunk@73614 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 01:15:28 +00:00
javi%netscape.com
f7a4c2177a Changes for having a dialog that does CRL deleting.
git-svn-id: svn://10.0.0.236/trunk@73613 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 01:14:22 +00:00
morse%netscape.com
7dd42d1f29 fix bug 42550, unable to delete single-signon database, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@73612 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 00:43:42 +00:00
jst%netscape.com
1a6f29b8e9 Checking in patch from timelesss@bemail.org, add access keys to javascript console menus, r=me, a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@73611 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 00:43:03 +00:00
tao%netscape.com
309b762723 Fix the broken localeSwitcher in "QA|Languages->". a=ben
git-svn-id: svn://10.0.0.236/trunk@73610 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 00:41:20 +00:00
cmanske%netscape.com
71c3960c36 Table Properties dialog and UI commands work. b=20973, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@73609 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 00:37:38 +00:00
cmanske%netscape.com
b0cfe32ef3 Changed Composer test because of added parameter for JoinTableCells in connection with work for bug 20973. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@73608 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 00:37:23 +00:00
cmanske%netscape.com
d916040dae Table editing work. b=20973, r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@73607 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 00:37:12 +00:00
hangas%netscape.com
bab0278a37 Fixing stop and print buttons in Classic skin. Wirtten by German r=hangas
git-svn-id: svn://10.0.0.236/trunk@73606 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 23:53:00 +00:00
hangas%netscape.com
1eef8580c5 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@73605 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 23:50:37 +00:00
tor%cs.brown.edu
444120c5b6 Update libmng snapshot. Not in default build.
git-svn-id: svn://10.0.0.236/trunk@73604 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 23:41:12 +00:00
valeski%netscape.com
d2709265b5 39474. r=rpotts,mscott. We now can load a stream directly into the uri loader (bypassing necko). built and pre-checkin tested on linux and win
git-svn-id: svn://10.0.0.236/trunk@73603 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 23:39:30 +00:00
vidur%netscape.com
f831750c24 Simple posting tests. This is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@73602 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 23:10:56 +00:00
vidur%netscape.com
cc45defb2d Added support for synchronous posting. Got rid of unbreakable circular reference in the abort case. This is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@73601 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 23:09:26 +00:00
rpotts%netscape.com
23edfd5232 Fixed the nsIWebNavigation methods on the docshell when SH_IN_FRAMES is defined...
git-svn-id: svn://10.0.0.236/trunk@73600 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 22:05:32 +00:00
edburns%acm.org
8e2c512db6 Automatically_generate_JAVAH_headers
git-svn-id: svn://10.0.0.236/trunk@73599 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 21:08:30 +00:00
edburns%acm.org
a8d3fcb4e4 Finally_make_use_of_Sherry_Shen_changes
git-svn-id: svn://10.0.0.236/trunk@73598 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 19:03:27 +00:00
edburns%acm.org
8c4107130e Finally_make_use_of_Sherry_Shen_changes
git-svn-id: svn://10.0.0.236/trunk@73597 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 18:50:02 +00:00
despotdaemon%netscape.com
fc06dfe5aa Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@73596 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 18:30:36 +00:00
edburns%acm.org
3560f2869c feature:
Now you can shift click to select a node in the DOM viewer.


git-svn-id: svn://10.0.0.236/trunk@73595 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 17:53:58 +00:00
edburns%acm.org
b5ac5f55b7 a=av
bug=23775
This is the last bit of the checkin that George Drapeau started
for bug 23775.  He didn't finish due to conflicts with this file
and, being the good engineer that he is, he waited for the author
to return from vacation.

George said I could check this in under the same approval for
the rest of 23775.


git-svn-id: svn://10.0.0.236/trunk@73594 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 17:31:02 +00:00
svn%xmlterm.org
322e1ee8a7 --NOT PART OF DEFAULT BUILD--
XMLterm changes only. Absolute URL chrome://xmlterm/skin/xmltpage.css is not
recognized in xmlterm.html. Using relative URL ../skin/xmltpage.css as a
workaround.


git-svn-id: svn://10.0.0.236/trunk@73593 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 14:53:19 +00:00
kin%netscape.com
f65d1b5fba Fix for bug #42178 Back causes data corruption
Modified CreateAnonymousContent() so that if the text widget has
a default value, it adds it as a text node under the div after it
is created. Add better error checking to avoid possible problems.
Removed calls to SetTextControlState() that were used
to initialize the text widget contents from GetPrefSize() because
it was causing a reflow within a reflow and the editor to be re-entered.
Added missing call to GetText() in Reset().

r=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@73592 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 14:51:58 +00:00
bienvenu%netscape.com
2a1e519fc2 more fixes for progress meteors,r=mscott 38598
git-svn-id: svn://10.0.0.236/trunk@73591 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 13:30:02 +00:00
locka%iol.ie
c811c9255a Fixed problem with chrome content docshells
git-svn-id: svn://10.0.0.236/trunk@73590 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 12:40:52 +00:00
locka%iol.ie
647d05c9f4 NOT PART OF BUILD. Update the address field url after clicking on link
git-svn-id: svn://10.0.0.236/trunk@73589 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 12:37:05 +00:00
locka%iol.ie
29b59b41cc NOT PART OF BUILD. Tiny graphics for mini-nav
git-svn-id: svn://10.0.0.236/trunk@73588 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 12:25:49 +00:00
sdv%sparc.spb.su
cab8ea17e5 fixed a memory leak
git-svn-id: svn://10.0.0.236/trunk@73587 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 10:46:49 +00:00
locka%iol.ie
07a38859b7 NOT PART OF BUILD. Win32 only. Simple test of embedding APIs dumps out memory statistics.
git-svn-id: svn://10.0.0.236/trunk@73586 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 10:40:12 +00:00
cls%seawood.org
91d683a067 Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
git-svn-id: svn://10.0.0.236/trunk@73583 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 08:08:04 +00:00
warren%netscape.com
9c9d05c025 Bug 37463. Fixed javascript: url deadlock. Also made the file transport more efficient in the process by eliminating the lock. r=waterson
git-svn-id: svn://10.0.0.236/trunk@73582 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 07:18:52 +00:00
alecf%netscape.com
530465ca79 mozilla side of fix for #34140
r=sspitzer

Allow protocol-specific attributes to be set in the ISP RDF file


git-svn-id: svn://10.0.0.236/trunk@73581 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 06:07:36 +00:00
mscott%netscape.com
ae61ab852e Bug #43887 --> fix build bustage on WIN2K platform. Not beta2 plussed yet but it's fixing build breakage.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@73580 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 06:03:43 +00:00
alecf%netscape.com
892e042699 update ISP example (not part of build)
git-svn-id: svn://10.0.0.236/trunk@73579 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 06:03:21 +00:00
alecf%netscape.com
9bcdb3ba49 fix for #43911 - make double-clicking of messages in the search window open the target
message in a standalone message window - mostly moving files into threadPane.js and
abstracting out the folder datasource
r=putterman


git-svn-id: svn://10.0.0.236/trunk@73578 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 06:02:30 +00:00
mscott%netscape.com
8cc210d5a4 Bug #43887 --> fix build bustage on Win2K. This bug wasn't nsbeta2 plussed yet but it's build breakage fix!!
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@73577 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 06:02:27 +00:00
jfrancis%netscape.com
890c0d5e35 fixing max text length initialization for text fields. 43275
git-svn-id: svn://10.0.0.236/trunk@73576 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 05:51:34 +00:00
jfrancis%netscape.com
6e3a97f5c5 fix for undo in ender-lite (text fields, url bar, etc)
git-svn-id: svn://10.0.0.236/trunk@73575 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 04:58:34 +00:00
jband%netscape.com
ce4fc31a2d Fix dogfood/crash bugs: 42750, 39858 and fix 43897 and improve JS/XPConnect error reporting to help with crasher 40792. r=mccabe@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@73574 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 04:04:46 +00:00
mcafee%netscape.com
e5d58071f5 Properly set up pref callbacks for intl.accept_languages (41046). r=gagan
git-svn-id: svn://10.0.0.236/trunk@73573 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 02:58:13 +00:00
rjc%netscape.com
51b30b4584 Fix bug # 44284: fix bookmark schedule XUL. Code from danm. r=me
git-svn-id: svn://10.0.0.236/trunk@73571 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 01:56:03 +00:00
hangas%netscape.com
37d6b09f85 More work on bug 43658 classic skin repair. Written by german. r= hangas.
git-svn-id: svn://10.0.0.236/trunk@73569 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 01:35:40 +00:00
dbaron%fas.harvard.edu
f7cbe48388 Add new regression tests. Does not affect build.
git-svn-id: svn://10.0.0.236/trunk@73568 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 01:26:06 +00:00
danm%netscape.com
08d1dbfe04 change last revision to use general API rather than requiring a new one. r=morse@netscape.com. bug 25684
git-svn-id: svn://10.0.0.236/trunk@73567 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 01:23:16 +00:00
danm%netscape.com
5089e8ba38 get window for dialog parent from channel before defaulting to HiddenWindow in OnEndDocumentLoad. Fixes behaviour of the 'select a user' modal dialog. bugs 25684,44149. r=morse@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73566 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 01:13:37 +00:00
danm%netscape.com
2fa9187ebc the 'url has changed' alert in OnStopRequest now asks the channel for an nsIPrompt before defaulting to nsNetSupportDialog. bugs 25684,44171. r=rjc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73565 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 00:47:01 +00:00
rginda%netscape.com
fd342c5cf5 -- not part of build --
make cview show up under tasks->tools when it is installed


git-svn-id: svn://10.0.0.236/trunk@73564 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 00:07:46 +00:00
morse%netscape.com
d48e534e40 partial fix for bug 43738, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@73563 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 00:05:03 +00:00
ashuk%eng.sun.com
ad8ed2e23e bug=44279
a=edburns
r=edburns
author=ashuk.

This code makes Webclient work with Mozilla M16.


git-svn-id: svn://10.0.0.236/trunk@73562 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 00:01:58 +00:00
ashuk%eng.sun.com
25d27834af The current webclient only works with M13, and the
old webclient, in classes and src, works with pre M13.

This change removes the old webclient.


git-svn-id: svn://10.0.0.236/trunk@73561 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 23:59:12 +00:00
hyatt%netscape.com
5943c19c08 Fix for dogfood bug#43169. r=pink
git-svn-id: svn://10.0.0.236/trunk@73560 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 23:34:46 +00:00
attinasi%netscape.com
e69e3af93f Temporarily turned off style context sharing while I figure out why it is causing incorrect styling of some XUL elements. b=43490
git-svn-id: svn://10.0.0.236/trunk@73559 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 23:13:46 +00:00
harishd%netscape.com
4fa2effbda Bug 40477 ( nsbeta2+ ) - Don't rely on ';' to terminate entities.
r=pollmann.


git-svn-id: svn://10.0.0.236/trunk@73558 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 23:05:46 +00:00
harishd%netscape.com
9fb7479d71 Bug 43274 ( nsbeta2+ ) - Checkin for Rickg.
r=harishd


git-svn-id: svn://10.0.0.236/trunk@73557 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 23:04:24 +00:00
danm%netscape.com
439598308a reverting the 2^# 'fix manifest' part of Ben's last checkin. (bug 43684, introduced five days ago)
git-svn-id: svn://10.0.0.236/trunk@73556 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:56:56 +00:00
rjc%netscape.com
f319773a37 Fix bug # 43906: non-existant file URLs can cause template failure for bookmarks. R=waterson
git-svn-id: svn://10.0.0.236/trunk@73555 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:47:24 +00:00
sfraser%netscape.com
3ace47ff12 Fix for 44118 and nsbeta2+ bug 42625, r=kin. Update selection-based commands (e.g. cut/copy) when the selection changes from collapsed to non-collapsed and vice versa, not just when it is uncollapsed.
git-svn-id: svn://10.0.0.236/trunk@73554 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:36:10 +00:00
jj%netscape.com
f3d839b628 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@73553 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:34:11 +00:00
sfraser%netscape.com
a4946e4c9c Fix for nsbeta2+ bug 42625, written by brade, r=sfraser. When checking whether to get a special text field selection, QI to test for text area as well as input.
git-svn-id: svn://10.0.0.236/trunk@73552 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:33:36 +00:00
miodrag%netscape.com
95b10ba929 Updates for LDAPJDK 4.11
git-svn-id: svn://10.0.0.236/trunk@73551 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:31:17 +00:00
morse%netscape.com
74d3ff5e9d update wallet tables, not part of build
git-svn-id: svn://10.0.0.236/trunk@73550 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:30:40 +00:00
pinkerton%netscape.com
ee4f55f0c4 Fix for 42250, popups holding onto deleted frame crash during reflow. fixed to only hold onto content, not frame, and use GetPrimaryFrameFor(). r=hyatt
git-svn-id: svn://10.0.0.236/trunk@73549 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:30:27 +00:00
pinkerton%netscape.com
44237ffeab part of 42250, make sure we close the popup when the listener is removed. just to be safe. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@73548 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:29:20 +00:00
jj%netscape.com
bf08b8ad48 bringing ASEncoder upt-to-date using new Universal Headers -- not part of the build. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@73547 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:28:59 +00:00
jband%netscape.com
59b22e86f2 updating status page - Not part of build
git-svn-id: svn://10.0.0.236/trunk@73546 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:17:54 +00:00
scc%mozilla.org
e2e3b170e1 fix self assignment, self append, self replace problems. r=waterson
git-svn-id: svn://10.0.0.236/trunk@73545 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:17:53 +00:00
scc%mozilla.org
8acd633ba4 bug #17294, fixed a dogfood+ assert, there's more to this bug, but the rest isn't dogfood. r=BenB; a=jar
git-svn-id: svn://10.0.0.236/trunk@73544 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:04:28 +00:00
scc%mozilla.org
70db954721 bug #17294, fixed a dogfood+ assert described in this bug, though unrelated to the underlying problem 17294 is really about. r=BenB; a=jar
git-svn-id: svn://10.0.0.236/trunk@73543 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:04:22 +00:00
mozilla.BenB%bucksch.org
d0f1d9df13 32336: Ignore formatting, if it was inserted by our or 4.x' TXT->HTML or HTML->HTML converter. r=akk, scc. a=waterson.
git-svn-id: svn://10.0.0.236/trunk@73542 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:04:13 +00:00
dbaron%fas.harvard.edu
f756eb4076 Fix bug 43882 (dogfood+) by removing special handling of empty P elements. (Most of the diffs are whitespace changes.) This also fixes bugs 43369, 43991, and 18050. However, it exposes a few other issues as well (the most important of which, nuking top margins on first *normal flow* children of BODY and TD, was previously fixed only in some cases, but shouldn't be hard to fix in general). r=waterson
git-svn-id: svn://10.0.0.236/trunk@73541 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:03:42 +00:00
av%netscape.com
5dc532340c Addressing 43075, patch by amusil, r=av
git-svn-id: svn://10.0.0.236/trunk@73540 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 21:51:15 +00:00
radha%netscape.com
c8ae707155 More code for feature 36547. CODE NOT PART OF THE BUILD. Will provide reviewer when
feature is enabled.


git-svn-id: svn://10.0.0.236/trunk@73539 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 21:48:18 +00:00
av%netscape.com
b7f9ac3860 Addressing 22954, patch by amusil, r=av
git-svn-id: svn://10.0.0.236/trunk@73538 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 21:48:09 +00:00
av%netscape.com
8c4649b786 Addressing 22954, patch by amusil, r=av
git-svn-id: svn://10.0.0.236/trunk@73537 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 21:42:13 +00:00
harishd%netscape.com
36b124ebdc Regression Test files.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@73536 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 21:41:02 +00:00
tor%cs.brown.edu
23041af290 Update libmng snapshot. Not in default build.
git-svn-id: svn://10.0.0.236/trunk@73535 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 21:40:43 +00:00
relyea%netscape.com
049f0ca5d6 Fix memory leak when using hardware acceleraters.
git-svn-id: svn://10.0.0.236/trunk@73534 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 21:26:17 +00:00
relyea%netscape.com
743720da87 merge changes from NSS 3.0 branch to allow NT automated tests to work.
git-svn-id: svn://10.0.0.236/trunk@73533 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 21:25:41 +00:00
relyea%netscape.com
727ca98a0a merge 3.0_Branch changes to get NT to run back unto the tip.
git-svn-id: svn://10.0.0.236/trunk@73532 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 21:23:37 +00:00
bryner%uiuc.edu
4e013ab7eb Fixing smoketest blocker 44235. r=smfr.
git-svn-id: svn://10.0.0.236/trunk@73531 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 20:53:08 +00:00
beard%netscape.com
57307567af Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@73530 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 18:40:58 +00:00
mcgreer%netscape.com
5f0477176f add a > wordsize test for RC4
git-svn-id: svn://10.0.0.236/trunk@73529 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 18:38:30 +00:00
rogerl%netscape.com
a02f6ce0d8 use handleDot for call, too.
git-svn-id: svn://10.0.0.236/trunk@73525 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 18:30:47 +00:00
javi%netscape.com
4491af2512 Don't stop sending text to a log file just because one Write failed.
This way subsequent DEBUG messages may still get printed.


git-svn-id: svn://10.0.0.236/trunk@73524 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 18:19:03 +00:00
beard%netscape.com
ea7ae68414 delete property support.
git-svn-id: svn://10.0.0.236/trunk@73523 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 18:14:14 +00:00
beard%netscape.com
8f71e889d8 DELETE_PROP
git-svn-id: svn://10.0.0.236/trunk@73522 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 18:13:46 +00:00
beard%netscape.com
1ef1eb154f DELETE_PROP
git-svn-id: svn://10.0.0.236/trunk@73521 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 17:14:56 +00:00
beard%netscape.com
aa7664867d added DELETE_PROP instruction to implement the "delete" operation.
git-svn-id: svn://10.0.0.236/trunk@73520 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 17:11:50 +00:00
tor%cs.brown.edu
d56893b078 Fix test for 32bit type. Not in default build.
git-svn-id: svn://10.0.0.236/trunk@73519 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 13:48:01 +00:00
terry%mozilla.org
1061c1e126 Added some missing newlines.
git-svn-id: svn://10.0.0.236/trunk@73518 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 13:33:10 +00:00
tor%cs.brown.edu
c40af55f26 Off by one error in refresh(). Not in default build.
git-svn-id: svn://10.0.0.236/trunk@73517 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 12:40:42 +00:00
tor%cs.brown.edu
c3bdf7d5ec Update libmng snapshot. Not in default build.
git-svn-id: svn://10.0.0.236/trunk@73516 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 12:32:04 +00:00
jfrancis%netscape.com
aa3d7d7f48 bug fixes:
41744 - editor shouldnt be quite as loosy goosy about html 4.0 as CnavDTD is;

41746 - editor ui state (paragraph format feedback) wrong if a <br> is embedded inside the current block;

41971 - using alignment inside table cells gives unexpected results.


git-svn-id: svn://10.0.0.236/trunk@73515 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 09:23:41 +00:00
dbaron%fas.harvard.edu
e642f1b6f5 Some more regression tests for bug 43882 and collapsing margin issues. Does not affect build.
git-svn-id: svn://10.0.0.236/trunk@73514 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 07:59:29 +00:00
Peter.VanderBeken%pandora.be
7e2e76befb Correct typo. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@73513 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 07:09:06 +00:00
beard%netscape.com
b669d93d26 unused parameter warning
git-svn-id: svn://10.0.0.236/trunk@73512 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 05:48:09 +00:00
beard%netscape.com
a0bbecd587 complementary operator delete(void*, JSClass*).
git-svn-id: svn://10.0.0.236/trunk@73511 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 05:46:36 +00:00
mjudge%netscape.com
261be0b4ae r=saari 42074 pd+dogfood ect. i think we finally nailed this one. focused objects now being passed focus events even when previous document couldnt take focus and is simply returning it. aka hitting return in url bar trying to focus document that will be destroyed to fetch new page.
git-svn-id: svn://10.0.0.236/trunk@73510 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 05:27:05 +00:00
mjudge%netscape.com
6b543c3d28 r=hyatt bug36617, sfrasier bug. simple change for select all to work.
git-svn-id: svn://10.0.0.236/trunk@73509 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 05:25:01 +00:00
mjudge%netscape.com
e40b754d98 oninput and on change now firing. this should be working completely now. bug 42045 uncommenting out lines that I had commented out for someone on accident. also this fixes listeners not firing for textareas and only for text inputs. pdt+dogfood+ ect.
git-svn-id: svn://10.0.0.236/trunk@73508 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 05:17:58 +00:00
beard%netscape.com
25cba868b5 some classes to test js2 with.
git-svn-id: svn://10.0.0.236/trunk@73507 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 04:49:48 +00:00
beard%netscape.com
a2b5cc5c2b updated dependencies
git-svn-id: svn://10.0.0.236/trunk@73506 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 04:25:10 +00:00
beard%netscape.com
963708a821 Changed StaticCall to use static slot.
git-svn-id: svn://10.0.0.236/trunk@73505 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 04:23:56 +00:00
beard%netscape.com
e88e8c2639 Fixing static dotted expressions.
git-svn-id: svn://10.0.0.236/trunk@73504 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 04:23:20 +00:00
beard%netscape.com
16f447e7ad now uses conditional compilation #if defined(OPCODE_NAMES), so that a simple "icode.h" can be included by vmtypes.h and vmtypes.cpp.
git-svn-id: svn://10.0.0.236/trunk@73503 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 04:21:00 +00:00
beard%netscape.com
41cb724c61 moved all machine generated classes, etc. to icode.h.
git-svn-id: svn://10.0.0.236/trunk@73502 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 04:19:19 +00:00
beard%netscape.com
4bd45aa1f8 Generated by tools/gencode.pl.
git-svn-id: svn://10.0.0.236/trunk@73501 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 04:18:16 +00:00
despotdaemon%netscape.com
8326043820 Pseudo-automatic update of changes made by mozilla.BenB@bucksch.org.
git-svn-id: svn://10.0.0.236/trunk@73500 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 03:17:25 +00:00
beard%netscape.com
ca9ef8f4a5 fixed static calls.
git-svn-id: svn://10.0.0.236/trunk@73499 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 03:15:52 +00:00
BlakeR1234%aol.com
fc6a0c74b6 Fix for 42204, a=trudelle
git-svn-id: svn://10.0.0.236/trunk@73498 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 03:15:05 +00:00
despotdaemon%netscape.com
54b5c8dd8d Pseudo-automatic update of changes made by ericb@neoplanet.com.
git-svn-id: svn://10.0.0.236/trunk@73497 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 03:06:45 +00:00
cls%seawood.org
3ccf18874c Erk, wrong identifier for OS/2
git-svn-id: svn://10.0.0.236/trunk@73496 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 03:03:43 +00:00
pollmann%netscape.com
ba1a3e50a6 Bug 41013: Prevent event passing from frames to content during document destruction r=joki
git-svn-id: svn://10.0.0.236/trunk@73495 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 02:02:43 +00:00
rogerl%netscape.com
0e43b9fadb Implicit this and class lookup stuff.
git-svn-id: svn://10.0.0.236/trunk@73493 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 01:21:41 +00:00
morse%netscape.com
6007530a61 fix bug 43235, wallet editor clipped on right side, r=ben
git-svn-id: svn://10.0.0.236/trunk@73492 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 01:20:45 +00:00
valeski%netscape.com
645ec1114b bustage fix
git-svn-id: svn://10.0.0.236/trunk@73491 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 01:19:45 +00:00
Jerry.Kirk%Nexwarecorp.com
f14ab80ee3 NOT PART OF BUILD - PHOTON ONLY
Fix the fonts so they are extenting properly


git-svn-id: svn://10.0.0.236/trunk@73490 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 01:13:25 +00:00
dbaron%fas.harvard.edu
96e57b18bd Add more regression tests for bug 43882. Does not affect build.
git-svn-id: svn://10.0.0.236/trunk@73489 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 01:09:53 +00:00
despotdaemon%netscape.com
041162eebe Pseudo-automatic update of changes made by nbhatla@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@73488 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 01:03:15 +00:00
despotdaemon%netscape.com
de5bd7ec25 Pseudo-automatic update of changes made by dimator@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@73487 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 01:01:21 +00:00
valeski%netscape.com
4a64f9c451 43050. r=dougt. null checking and ctor null init'ing
git-svn-id: svn://10.0.0.236/trunk@73486 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 00:49:13 +00:00
dbaron%fas.harvard.edu
56ff07cb95 Adding regression tests to list. Does not affect build.
git-svn-id: svn://10.0.0.236/trunk@73482 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 00:42:14 +00:00
dbaron%fas.harvard.edu
7f87ecb955 Adding regression tests (related to bug 43882). Does not affect build.
git-svn-id: svn://10.0.0.236/trunk@73480 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 00:39:53 +00:00
wtc%netscape.com
1a5e114101 Bugzilla bug #44133: checked in NTO patches contributed by
Jerry Kirk <Jerry.Kirk@nexwarecorp.com>.


git-svn-id: svn://10.0.0.236/trunk@73479 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 00:31:42 +00:00
tao%netscape.com
27c3925e1f Remove obsolete pull l10n commands.
git-svn-id: svn://10.0.0.236/trunk@73476 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 00:18:55 +00:00
morse%netscape.com
c00b70fe9c fix bug 44045, master password was needed when deleting database, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@73475 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 00:05:41 +00:00
Peter.VanderBeken%pandora.be
d63cd8dfc3 Corrected small typo. Doesn't affect regular build.
git-svn-id: svn://10.0.0.236/trunk@73474 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 23:46:12 +00:00
Peter.VanderBeken%pandora.be
e0679adc12 Adding build logic for MNG, LDAP and XML Extras. Turned off by default.
Added/corrected build steps for Transformiix and cview. r=jj.


git-svn-id: svn://10.0.0.236/trunk@73473 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 23:16:49 +00:00
law%netscape.com
e7cfe89be4 New interface for displaying helper app launch confirm dialog; bug 43583
git-svn-id: svn://10.0.0.236/trunk@73472 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 23:14:57 +00:00
Peter.VanderBeken%pandora.be
b7424d7d9e Adding option flags for MNG, LDAP and XML Extras. Turned off by default. r=jj.
git-svn-id: svn://10.0.0.236/trunk@73471 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 23:11:40 +00:00
matt%netscape.com
d8a5f70577 adding localization for bug 30456.
R=law


git-svn-id: svn://10.0.0.236/trunk@73470 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 23:11:32 +00:00
Peter.VanderBeken%pandora.be
d8f977cd2f Adding Mac projects for MNG. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@73469 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 23:04:06 +00:00
Peter.VanderBeken%pandora.be
470f48a3f7 Adding locale files. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@73468 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 23:01:14 +00:00
Peter.VanderBeken%pandora.be
b65075f0d7 Adding locale info. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@73467 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 22:57:42 +00:00
Peter.VanderBeken%pandora.be
6e3a97a4bd Fixing access paths. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@73466 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 22:55:26 +00:00
cls%seawood.org
3e05da0165 wrap ifndef XPCONNECT_STANDALONE around xpconnect test components that require external interfaces. Thanks to Mark Adams <madams@janna.com> for the patch. Bug 42026
git-svn-id: svn://10.0.0.236/trunk@73465 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 22:53:55 +00:00
jst%netscape.com
a5659583f9 Fixing nsbeta2+ bug 37051, always set the form associated with a form control as the parent of the form controls script object, this meks form controls always be in the scope of the form they're in. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73464 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 22:50:06 +00:00
larryh%netscape.com
7f7c6608e0 BugZilla: 43337. Better implementation
git-svn-id: svn://10.0.0.236/trunk@73463 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 22:36:25 +00:00
cls%seawood.org
b966210cad OS/2's cmd.exe doesn't support the no-op ':' .
git-svn-id: svn://10.0.0.236/trunk@73462 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 22:31:12 +00:00
cls%seawood.org
bddf8befbd Reverting mkaply's checkin as it breaks --enable-elf-dynstr-gc on optimized builds.
git-svn-id: svn://10.0.0.236/trunk@73461 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 22:29:38 +00:00
evaughan%netscape.com
aa55de687f Fixes for gfx scrollbars and absolute/fixed positioning.
40494
28505
41294
36211
41763
23806


git-svn-id: svn://10.0.0.236/trunk@73460 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 22:19:54 +00:00
javi%netscape.com
1eb433ecd5 Change P12 file path request strings to be consistent with terms used in
Security Advisor.


git-svn-id: svn://10.0.0.236/trunk@73459 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 22:16:11 +00:00
mkaply%us.ibm.com
55548d119c #42637
r = dougt, a = brendan
Rather than using cast and &operator to get spec, use the Spec member function


git-svn-id: svn://10.0.0.236/trunk@73458 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 21:56:49 +00:00
dmose%mozilla.org
68f5f9d545 Added an item about thread death. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73457 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 21:42:15 +00:00
javi%netscape.com
6c78d1a039 Add some text to the cases where S/MIME signatures fail when OCSP is enabled.
git-svn-id: svn://10.0.0.236/trunk@73456 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 21:37:09 +00:00
javi%netscape.com
228ce2267f Fix to add some text to security advisor when S/MIME signatures faile
when OCSP is enabled.


git-svn-id: svn://10.0.0.236/trunk@73455 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 21:36:36 +00:00
ddrinan%netscape.com
dd9faec463 Fix for bug# 398838
git-svn-id: svn://10.0.0.236/trunk@73454 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 21:20:38 +00:00
locka%iol.ie
1f7530e509 added missing files
git-svn-id: svn://10.0.0.236/trunk@73453 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 21:15:09 +00:00
rginda%netscape.com
dec447e1d7 -- not part of build --
fixing windows makefiles
updating references to tasksOverlay.xul


git-svn-id: svn://10.0.0.236/trunk@73452 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 21:02:30 +00:00
chuang%netscape.com
21914ca7b3 Bug GetCardForEmailAddress() is case sensitive, r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@73451 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:57:48 +00:00
saari%netscape.com
fcda4acc7f simple null check to stop crasher. r=joki
git-svn-id: svn://10.0.0.236/trunk@73450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:56:29 +00:00
rginda%netscape.com
add749b4b4 -- chatzilla changes only --
whitespace changes
fix default dalnet server


git-svn-id: svn://10.0.0.236/trunk@73449 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:51:40 +00:00
locka%iol.ie
8fdfd98bdc Now uses embedding API. Added some context menu & property page support
git-svn-id: svn://10.0.0.236/trunk@73448 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:42:50 +00:00
locka%iol.ie
6a58f5fdb2 Updated VC project
git-svn-id: svn://10.0.0.236/trunk@73447 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:40:29 +00:00
locka%iol.ie
1a51b71c8c Added property dialogs
git-svn-id: svn://10.0.0.236/trunk@73446 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:40:10 +00:00
locka%iol.ie
1937e5aa0c Added clipboard interfaces. Added interface refcount debugging
git-svn-id: svn://10.0.0.236/trunk@73445 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:39:42 +00:00
locka%iol.ie
5cb4c2a8ca Added proper MPL header
git-svn-id: svn://10.0.0.236/trunk@73444 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:38:53 +00:00
locka%iol.ie
192acf6d6a Changed makefile.win to use embedding APIs
git-svn-id: svn://10.0.0.236/trunk@73443 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:37:39 +00:00
locka%iol.ie
d753e3fa36 Added code for write/writeln to IE DOM. Thanks to Arne de Bruijn <arne@knoware.nl> for this contribution
git-svn-id: svn://10.0.0.236/trunk@73442 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:35:51 +00:00
bryner%uiuc.edu
1dd6e32fe1 Fixing bug 43710 - removing old mousewheel cruft and updating to work with
new tree.  r=hyatt,saari.


git-svn-id: svn://10.0.0.236/trunk@73441 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:35:32 +00:00
locka%iol.ie
054c650ff4 Removed unused CIDs and IIDs
git-svn-id: svn://10.0.0.236/trunk@73440 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:31:43 +00:00
locka%iol.ie
d05d21d7ae Changed diagnostic macro
git-svn-id: svn://10.0.0.236/trunk@73439 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:30:33 +00:00
locka%iol.ie
404dd0fb6d Added nsIContextMenuListener. Fixed some memory leaks
git-svn-id: svn://10.0.0.236/trunk@73438 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:29:49 +00:00
locka%iol.ie
d98ec92664 NOT PART OF BUILD. Added a DTD and localized the file somewhat
git-svn-id: svn://10.0.0.236/trunk@73437 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:27:51 +00:00
locka%iol.ie
d11baf7e00 NOT PART OF BUILD. Added some strings
git-svn-id: svn://10.0.0.236/trunk@73436 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:27:15 +00:00
dbragg%netscape.com
39dea0d743 Fix for nsbeta2+ bug 340786 r=sgehani
git-svn-id: svn://10.0.0.236/trunk@73435 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:26:39 +00:00
locka%iol.ie
46c5ef3b20 NOT PART OF BUILD. Removing obselete file
git-svn-id: svn://10.0.0.236/trunk@73434 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:26:28 +00:00
blizzard%redhat.com
488ebf1dbd fix bug #41820. The gtk embedding widget will now startup and shutdown XPCOM properly. Also, fix code that was broken when the nsIWebProgress changes happened. Only build tests when tests are built. Add interface to get the nsIWebBrowser object from the embedding widget. r=dougt,bryner a=brendan
git-svn-id: svn://10.0.0.236/trunk@73433 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 20:24:28 +00:00
dmose%mozilla.org
41245246c9 Added and updated a few more issues. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73432 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:56:08 +00:00
beard%netscape.com
487de01748 implemented JSClass::printProperties().
git-svn-id: svn://10.0.0.236/trunk@73431 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:46:13 +00:00
beard%netscape.com
43420973f7 Enhanced printing of types.
git-svn-id: svn://10.0.0.236/trunk@73430 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:45:44 +00:00
beard%netscape.com
8d4ccf1e51 Type of a JSType* is Type_Type (wow, recursive). Changed mBaseType to be JSType* instead of const JSType*.
git-svn-id: svn://10.0.0.236/trunk@73429 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:45:09 +00:00
dmose%mozilla.org
e52529dc5c gave the threading model a good whack. pushed the threading from the callers (eg nsLDAPChannel) down into the XPCOM wrapper code itself, so that the calling code doesn't need to deal with threading directly ( it gets callbacks via nsISupports proxies ) . this allows LDAP code to be written in Javascript without hanging the UI thread of the browser. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73428 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:39:32 +00:00
sspitzer%netscape.com
301082731b fix classic skin problems. r=german
git-svn-id: svn://10.0.0.236/trunk@73427 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:31:29 +00:00
sspitzer%netscape.com
1626125790 fix addressbook splitter for classic skin. r=german
git-svn-id: svn://10.0.0.236/trunk@73426 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:25:05 +00:00
sspitzer%netscape.com
271ce07f58 fix bustage.
git-svn-id: svn://10.0.0.236/trunk@73425 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:17:51 +00:00
sspitzer%netscape.com
cf277676fb fix bustage.
git-svn-id: svn://10.0.0.236/trunk@73424 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:17:00 +00:00
hangas%netscape.com
1b6a8d8de9 Bug 43658 fixes to Classic Skin - written by german, r=hangas
git-svn-id: svn://10.0.0.236/trunk@73423 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:08:59 +00:00
hangas%netscape.com
fe3d3e85ff First Checked In.
git-svn-id: svn://10.0.0.236/trunk@73422 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:03:04 +00:00
dmose%mozilla.org
cc89543233 Updated documentation. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@73421 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:02:27 +00:00
hangas%netscape.com
212ccec140 Bug 43658 fixes to Classic Skin - written by bdonohoe, r=hangas
git-svn-id: svn://10.0.0.236/trunk@73420 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:01:15 +00:00
rogerl%netscape.com
b1eb71fadb First set of unified 'dot' handling changes for statics.
git-svn-id: svn://10.0.0.236/trunk@73418 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 18:41:30 +00:00
beard%netscape.com
9b99e9786f added jsclasses.h
git-svn-id: svn://10.0.0.236/trunk@73417 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 18:10:04 +00:00
cyeh%bluemartini.com
045c3716f1 fix for bug #44040 "sanitycheck.cgi dies if apostrophes in product, component, version,
or milestone". thanks to dave@intrec.com (Dave Miller) for the patch


git-svn-id: svn://10.0.0.236/trunk@73416 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 17:54:11 +00:00
mkaply%us.ibm.com
d771157655 #42637
r = leaf, a = leaf
Accidental bloat on pointer file


git-svn-id: svn://10.0.0.236/trunk@73415 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 16:51:24 +00:00
beard%netscape.com
fc7df849f1 Fix string <.
git-svn-id: svn://10.0.0.236/trunk@73414 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 16:38:20 +00:00
beard%netscape.com
98b2fcbf59 Fixed dynamic lookup of static slots. Added code to compare strings.
git-svn-id: svn://10.0.0.236/trunk@73413 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 16:32:52 +00:00
beard%netscape.com
e4a70d59c1 GET_STATIC/SET_STATIC/STATIC_XCR now use an index rather than a name. Implemented GET_PROP/SET_PROP for class objects (looks up slot dynamically, etc.)
git-svn-id: svn://10.0.0.236/trunk@73412 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 16:15:06 +00:00
beard%netscape.com
a031ccd333 GET_STATIC/SET_STATIC/STATIC_XCR now use an index rather than a name. Now using JSClass::hasStatic() rather than looking up statics in class' scope.
git-svn-id: svn://10.0.0.236/trunk@73411 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 16:14:18 +00:00
beard%netscape.com
c616ad04eb GET_STATIC/SET_STATIC/STATIC_XCR now use an index rather than a name.
git-svn-id: svn://10.0.0.236/trunk@73410 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 16:13:12 +00:00
beard%netscape.com
05cbd424c7 Static slots.
git-svn-id: svn://10.0.0.236/trunk@73409 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 16:11:54 +00:00
brade%netscape.com
bf51706d0a submission by Ryan Cassin (rcassin@supernova.org); recent files menu for editor; bug #17502; approved beppe
git-svn-id: svn://10.0.0.236/trunk@73408 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 14:58:36 +00:00
mkaply%us.ibm.com
527223a169 #42637
r=mkaply, a=brendan
OS/2 bringup - rewrite of nsFileSpecOS2.cpp to be more like Windows


git-svn-id: svn://10.0.0.236/trunk@73407 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 14:50:12 +00:00
mkaply%us.ibm.com
3e32a6af4d #43877
r=dougt, a=dougt
Using this pointer rather than other pointer causes crash


git-svn-id: svn://10.0.0.236/trunk@73406 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 14:37:25 +00:00
mkaply%us.ibm.com
83a1153237 #43357
NO ONE AROUND TO REVIEW
The change for ELF broke our tinderbox. The second ELF line should be in the else case for OS/2.


git-svn-id: svn://10.0.0.236/trunk@73405 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 14:19:33 +00:00
cls%seawood.org
d2e0e22ae5 Commented out check for multiple variables on a single line as this causes Makefiles that have multiple dir VPATHs to be only partially generated. Uncommented warning for unknown variables.
git-svn-id: svn://10.0.0.236/trunk@73404 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 10:21:53 +00:00
leaf%mozilla.org
51ffc5c580 Automated update
git-svn-id: svn://10.0.0.236/trunk@73403 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 08:00:17 +00:00
cls%seawood.org
73f8c0769a Check for -pthread support on OpenBSD as well.
git-svn-id: svn://10.0.0.236/trunk@73402 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 07:53:26 +00:00
cls%seawood.org
12054495f0 Do not explicitly link against -lc_r on OpenBSD. Bug #36467 r=wtc
git-svn-id: svn://10.0.0.236/trunk@73401 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 07:42:56 +00:00
leaf%mozilla.org
11c4cf7e8d Automated update
git-svn-id: svn://10.0.0.236/trunk@73400 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 07:15:07 +00:00
warren%netscape.com
90e03f1827 Fixed spelling.
git-svn-id: svn://10.0.0.236/trunk@73399 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 07:06:09 +00:00
cls%seawood.org
159e1068fd June cleaning.
git-svn-id: svn://10.0.0.236/trunk@73398 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 07:04:52 +00:00
cls%seawood.org
94c6107c67 Tweaks to build xpconnect standalone. Bug #42024. Thanks to Mark Adams <madams@janna.com> for the patches.
git-svn-id: svn://10.0.0.236/trunk@73397 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 07:03:13 +00:00
warren%netscape.com
20dce9fab9 Added hasSubstitutions for Hyatt & chrome protocol.
git-svn-id: svn://10.0.0.236/trunk@73396 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 06:54:56 +00:00
brendan%mozilla.org
f912d63a39 Interim checkin: -u option for unified (-f and standard) output, down/next links for sorted subgraph navigation, some -j (js-mode) support.
git-svn-id: svn://10.0.0.236/trunk@73395 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 06:42:29 +00:00
brendan%mozilla.org
b2b5554261 Work around unsolved bug reported by rusty.lynch@intel.com.
git-svn-id: svn://10.0.0.236/trunk@73391 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 06:22:29 +00:00
dougt%netscape.com
7afba7fd34 Forgot to check these changes is which were submitted by roc+moz@cs.cmu.edu
and approved by brendan.  See bug 43314.


git-svn-id: svn://10.0.0.236/trunk@73390 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 06:14:09 +00:00
waterson%netscape.com
417a2140ba Bug 43644. Better fix: nsLayoutAtoms::[AddRefAtoms|ReleaseAtoms] calls are unnecessary, as dbaron pointed out to me.
git-svn-id: svn://10.0.0.236/trunk@73388 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 05:36:32 +00:00
gordon%netscape.com
21cd8701fd Bug 19119 [dogfood+] Mac build of PSM in-process. r = beard.
Remove redundant build commands for security.


git-svn-id: svn://10.0.0.236/trunk@73387 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 05:01:34 +00:00
gordon%netscape.com
64c80082ed Bug 19119 [dogfood+] Mac build of PSM in-process. r = beard.
Added $build{security}.


git-svn-id: svn://10.0.0.236/trunk@73386 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 05:01:04 +00:00
tor%cs.brown.edu
fec03b23a5 Plug a region leak in nsRegionGTK::SetTo(). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@73385 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 05:00:20 +00:00
BlakeR1234%aol.com
3e6da5568f Fix access key for Switch Theme button...the old one, a, no longer applies.
git-svn-id: svn://10.0.0.236/trunk@73384 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:49:48 +00:00
cls%seawood.org
515873b762 Adding configure option --enable-elf-dynstr-gc. Bug #43357
git-svn-id: svn://10.0.0.236/trunk@73383 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:32:15 +00:00
waterson%netscape.com
343c89fa5b Bug 43644. Add 'wildcard' atom to nsLayoutAtoms and use it instead of a statically leaked atom. r=jst,inaky.gonzales@intel.com
git-svn-id: svn://10.0.0.236/trunk@73382 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:17:26 +00:00
mjudge%netscape.com
a8730b8081 removing observer. put in on accident. editor will handle oninput changes. if not i can un comment this
git-svn-id: svn://10.0.0.236/trunk@73381 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:16:44 +00:00
gordon%netscape.com
ebc8514bc4 Bug 19119 [dogfood+] Mac build of PSM in-process. r = beard.
Initialize member to 0, to avoid crash.


git-svn-id: svn://10.0.0.236/trunk@73380 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:15:39 +00:00
gordon%netscape.com
22b85094e2 Bug 19119 [dogfood+] Mac build of PSM in-process. r = beard.
git-svn-id: svn://10.0.0.236/trunk@73379 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:12:26 +00:00
gordon%netscape.com
941dda2341 Bug 19119 [dogfood+] Mac build of PSM in-process. r = beard.
Add PSM to build commands.  Changed branch tags for pulling mozilla/security (on Mac only).


git-svn-id: svn://10.0.0.236/trunk@73378 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:12:04 +00:00
gordon%netscape.com
1c841d26be Bug 19119 [dogfood+] Mac build of PSM in-process. r = beard.
Change to link against PSMStubs.shlb


git-svn-id: svn://10.0.0.236/trunk@73377 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:10:04 +00:00
mjudge%netscape.com
771787b6c1 r=jfrancis,r=hyatt 42045 beta2+ 42675 beta2+ hitting return on text area not putting new line. onchange,oninput.
git-svn-id: svn://10.0.0.236/trunk@73374 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 04:00:12 +00:00
mjudge%netscape.com
eac23d41e2 wrong ifdef. 25% increase in editor typing on windows r=ftang
git-svn-id: svn://10.0.0.236/trunk@73373 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 03:41:32 +00:00
wtc%netscape.com
26f52bbdb4 Bugzilla bug #43507: install the SIGALRM signal handler in
_MD_EnableClockInterrupts before starting the interval timer.
Modified files: _unixos.h, unix.c


git-svn-id: svn://10.0.0.236/trunk@73372 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 02:49:24 +00:00
bryner%uiuc.edu
e23ddc4506 Attempting to fix mac bustage.
git-svn-id: svn://10.0.0.236/trunk@73371 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 02:32:45 +00:00
rginda%netscape.com
2d632ff5f8 -- chatzilla changes only --
Change default EFNet server to irc.mcs.net (no ident req'd.)


git-svn-id: svn://10.0.0.236/trunk@73370 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 02:23:12 +00:00
jim_nance%yahoo.com
0e8a2a6830 Fix build problem on Tru64 Unix. Scc says the code should run faster
this way anyhow.  r=scc


git-svn-id: svn://10.0.0.236/trunk@73369 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 02:07:25 +00:00
wtc%netscape.com
46fcf0e269 Avoid code duplication.
git-svn-id: svn://10.0.0.236/trunk@73368 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 01:42:54 +00:00
morse%netscape.com
53913ca457 bug 44039, back out unintentional change that caused regression
git-svn-id: svn://10.0.0.236/trunk@73367 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 01:26:56 +00:00
ddrinan%netscape.com
bbbbc2787d Added target to release the xpi file
git-svn-id: svn://10.0.0.236/trunk@73366 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 01:19:20 +00:00
wtc%netscape.com
9d4d1aa833 Bugzilla bug #42874: allow OpenProcessToken to fail with
ERROR_CALL_NOT_IMPLEMENTED (on non-NT systems) or ERROR_ACCESS_DENIED
(processes with insufficient access permissions).


git-svn-id: svn://10.0.0.236/trunk@73365 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 01:13:33 +00:00
BlakeR1234%aol.com
104188730b Part of bug 44025. r=dveditz a=johng
git-svn-id: svn://10.0.0.236/trunk@73364 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 01:04:12 +00:00
javi%netscape.com
1313dff449 Make the Pretty print window smaller so that it doesn't run off the bottom of
the screen w/ Mozilla.


git-svn-id: svn://10.0.0.236/trunk@73362 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 00:11:17 +00:00
wtc%netscape.com
77c8a1cc50 Bugzilla bug #39712: backed out the workaround for a compiler bug.
The compiler bug is fixed in Service Pack 4 of MSVC 6.0.


git-svn-id: svn://10.0.0.236/trunk@73361 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 00:10:29 +00:00
wtc%netscape.com
01ba4b5b2e Bugzilla bug #41832: set the error codes if pthread_cond_wait or
pthread_cond_timedwait fails.


git-svn-id: svn://10.0.0.236/trunk@73360 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 00:01:49 +00:00
evaughan%netscape.com
fbf211b82c Forgot file add for last checkin.
git-svn-id: svn://10.0.0.236/trunk@73359 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 00:01:19 +00:00
evaughan%netscape.com
3d5cc870c3 Clean up for autoscrolling menu landing. ScrollBox events need their own type and should not be
on top of menu events.

-r hyatt


git-svn-id: svn://10.0.0.236/trunk@73358 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 00:00:18 +00:00
cmanske%netscape.com
a13486f050 Changed AppendFilters when loading into Composer to favor HTML and TXT over 'All Files'. b=43834, r=brade, a=law
git-svn-id: svn://10.0.0.236/trunk@73357 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 23:55:12 +00:00
bienvenu%netscape.com
886f483b0f part of fix for throbber, r=jefft,mscott 38598
git-svn-id: svn://10.0.0.236/trunk@73356 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 23:54:57 +00:00
bienvenu%netscape.com
b17f453a49 fix problem with imap messages arriving out of order, r=jefft,mscott 40701
git-svn-id: svn://10.0.0.236/trunk@73355 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 23:52:05 +00:00
granrose%netscape.com
9c947a979b fixing xptlink.pl to work on mac as well as linux and win32 (43999).
git-svn-id: svn://10.0.0.236/trunk@73354 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 23:51:35 +00:00
varada%netscape.com
db092a1cea adding sidebar subdirectory in workspace
git-svn-id: svn://10.0.0.236/trunk@73353 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 23:43:55 +00:00
bryner%uiuc.edu
9f03a0e916 Fixing bug 43939 - timer leaks on Linux. r=scc.
git-svn-id: svn://10.0.0.236/trunk@73352 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 23:25:32 +00:00
tor%cs.brown.edu
78504e75e8 Update libmng snapshot. Not in default build.
git-svn-id: svn://10.0.0.236/trunk@73351 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 23:22:13 +00:00
varada%netscape.com
49c5f42f51 Fix for bug #43890 -faulty ini file
git-svn-id: svn://10.0.0.236/trunk@73350 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 23:16:28 +00:00
cyeh%bluemartini.com
943388e1b3 lot's of stuff:
add whoid usergroupset comment query to bug data fields
add AppendComment function
add CanChangeField function to check if a person can change a field
add display() for quick dumps of the bug
add Collision to check for midair collisions before changing a bug
added a stub function for changing a bug in the database
init_bug will now take either a userid or an e-mail address as a valid parameter


git-svn-id: svn://10.0.0.236/trunk@73346 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 23:16:08 +00:00
rusty.lynch%intel.com
14e24dcb5c new fix for bug #43958. r=gagan
git-svn-id: svn://10.0.0.236/trunk@73345 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 22:53:29 +00:00
leaf%mozilla.org
723a9b2e4b removing pull of l10n from scripts, SeaMonkeyL10n is now part of SeaMonkeyAll
git-svn-id: svn://10.0.0.236/trunk@73344 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 22:38:59 +00:00
leaf%mozilla.org
51d9272109 adding SeaMonkeyL10n to SeaMonkeyAll -leaf
git-svn-id: svn://10.0.0.236/trunk@73343 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 22:37:26 +00:00
mkaply%us.ibm.com
89b244e2bc #42637
r=pinkerton, a=brendan
OS/2 bringup - Change from waterson and vidur - don't modify members in a const function


git-svn-id: svn://10.0.0.236/trunk@73342 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 22:31:43 +00:00
dbaron%fas.harvard.edu
0e664f2e7d Clean up the deprecated (and never really official) HTML namespace by replacing with the official XHTML namespace. b=7834,42280 r=vidur
git-svn-id: svn://10.0.0.236/trunk@73341 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 22:28:59 +00:00
mkaply%us.ibm.com
cceaef4079 #40177
r=leaf, a=brendan
OS/2 bringup - This really should be a semicolon for OS/2


git-svn-id: svn://10.0.0.236/trunk@73340 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 22:24:54 +00:00
tao%netscape.com
19e741ee13 39790: [L12y] Move all localizable prefs into chrome://.r=alecf.
git-svn-id: svn://10.0.0.236/trunk@73339 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 22:13:23 +00:00
gagan%netscape.com
68c7d26b63 Not in the build. Allow POST requests to handle special cases too.
git-svn-id: svn://10.0.0.236/trunk@73338 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 22:10:27 +00:00
mkaply%us.ibm.com
68127ac939 #42637
r=mkaply, a=brendan
OS/2 bringup - Makefiles to build RC files for objdir and non objdir builds


git-svn-id: svn://10.0.0.236/trunk@73337 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 22:07:30 +00:00
javi%netscape.com
2f50f7a064 When FIPS is enabled, do verification of detached signatures on a separate thread
to prevent dead-locking the front end thread.


git-svn-id: svn://10.0.0.236/trunk@73336 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:55:59 +00:00
dbaron%fas.harvard.edu
d42b7f141f Fix leak (holding past XPCOM shutdown) of 16 strings. r=waterson
git-svn-id: svn://10.0.0.236/trunk@73335 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:54:28 +00:00
javi%netscape.com
cc9f8602bd When verifying a cert, pass in the control connection as the wincx so
that when FIPS is enabled, we don't crash.


git-svn-id: svn://10.0.0.236/trunk@73334 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:53:59 +00:00
blizzard%redhat.com
3fabae78ee remove extra -lelf from the link line. make cvs shaddap. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@73333 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:53:41 +00:00
dbaron%fas.harvard.edu
104b4c3dd8 Fix leak of an atom. r=gagan
git-svn-id: svn://10.0.0.236/trunk@73332 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:51:38 +00:00
mcafee%netscape.com
28367fd850 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@73331 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:46:26 +00:00
dougt%netscape.com
d3d5fc8a04 Check for null. If a NS_EXTERNALHELPERAPPSERVICE_PROGID was not found,
crash would occur.


git-svn-id: svn://10.0.0.236/trunk@73330 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:43:17 +00:00
mkaply%us.ibm.com
cd9d156541 #42637
r=mkaply, a=brendan
OS/2 bringup - Need to increment appshell refcount to prevent crash


git-svn-id: svn://10.0.0.236/trunk@73329 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:39:05 +00:00
mkaply%us.ibm.com
852a1ef060 #42637
r=mkaply, a=brendan
OS/2 bringup - Handle failure return from WinGetMsg


git-svn-id: svn://10.0.0.236/trunk@73328 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:38:07 +00:00
ftang%netscape.com
cae2e05f83 Check in the fix for jbetak. Move the priority of the bookmark / cache up. fix bug 18022
r=jbetak/ftang


git-svn-id: svn://10.0.0.236/trunk@73327 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:29:28 +00:00
ftang%netscape.com
b2f067bb44 fix 35076. r=vidur. escape the URL if it contains non ASCII character. Escape from the position
which the first non ASCII char appear.


git-svn-id: svn://10.0.0.236/trunk@73326 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:27:30 +00:00
robinf%netscape.com
a754e86ed3 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@73325 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:24:48 +00:00
mkaply%us.ibm.com
5bc9a0d2d2 #42637
r=valeski, a=brendan
OS/2 bringup - Support for OS/2 special system directories


git-svn-id: svn://10.0.0.236/trunk@73324 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:23:51 +00:00
morse%netscape.com
73cb88057f fix bug 43886, single signon no longer works, r=jefft
git-svn-id: svn://10.0.0.236/trunk@73323 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:13:50 +00:00
dougt%netscape.com
2e42013815 Adding windows embedding test harness to build.
43054
r=valeski
a=valeski & pdt.


git-svn-id: svn://10.0.0.236/trunk@73322 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:10:25 +00:00
blizzard%redhat.com
7d3b07b8ab fix for bug #42008. make HTTP basic auth case insensitive. r=shaver,brendan,gagan,valeski a=brendan.
git-svn-id: svn://10.0.0.236/trunk@73321 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 21:06:41 +00:00
dougt%netscape.com
d7128e8164 Initializing var before use. simple fix.
git-svn-id: svn://10.0.0.236/trunk@73320 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 20:55:54 +00:00
blizzard%redhat.com
521fbec8ee turn on base directory for unix ( part of previous checkin )
git-svn-id: svn://10.0.0.236/trunk@73319 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 20:55:11 +00:00
blizzard%redhat.com
28a52581a9 build the embedding/base code on unix. fix trailing newline in nsEmbedBase.h and put the thread hack back in until we get a long term solution. bug #43952. r=adamlock,valeski a=brendan
git-svn-id: svn://10.0.0.236/trunk@73318 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 20:54:15 +00:00
wtc%netscape.com
d2d95abe26 Bugzilla bug #42714: removed dependency on winmm.dll. Replaced
timeGetTime() with GetTickCount().
Modified files: pr/src/Makefile, pr/src/Makefile.in, ntinrval.c


git-svn-id: svn://10.0.0.236/trunk@73317 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 20:54:02 +00:00
dougt%netscape.com
1cdcbb34f4 Adding assert on invalid init of textTransformer. see bug 43094
Basic check for null.

Without this assert, you will crash if there is no nsILineBreakerFactory
found.


git-svn-id: svn://10.0.0.236/trunk@73316 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 20:54:01 +00:00
jst%netscape.com
475e145ee0 Fixing tree blocker 43958 by backing out the last change to this file since it broke my.netscape.com, developer.netscape.com, webmail.netscape.com and probably other sites too. a=granrose
git-svn-id: svn://10.0.0.236/trunk@73315 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 20:42:01 +00:00
mcafee%netscape.com
2fd11dd285 Upping the ante for bloat URLs. Adding test6 to test tables, adding test8 again to test cache. r=warren, a=leaf
git-svn-id: svn://10.0.0.236/trunk@73314 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 18:58:58 +00:00
despotdaemon%netscape.com
d53ddfefca Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@73313 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 18:21:13 +00:00
leaf%mozilla.org
2369f3b07f creating a SeaMonkeyL10n module for inclusion into SeaMonkeyAll -leaf
git-svn-id: svn://10.0.0.236/trunk@73312 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 18:12:04 +00:00
brade%netscape.com
48039fdde4 check in patch for buster; bug #42630; GetChildFrameContainingOffset was hiding inherited
git-svn-id: svn://10.0.0.236/trunk@73306 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 14:47:21 +00:00
tor%cs.brown.edu
cd57a86bb7 Update libmng snapshot. Not in default build.
git-svn-id: svn://10.0.0.236/trunk@73305 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 14:40:32 +00:00
cls%seawood.org
0d5bee3573 For whatever reason, just calling "do" on the tinder-config.pl script was not causing the defaults to be overriden, so we manually read & process tinder-config.pl as we did tinder-defaults.pl.
git-svn-id: svn://10.0.0.236/trunk@73304 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 12:21:46 +00:00
locka%iol.ie
0678e56a3b NOT PART OF BUILD. Added popup menus
git-svn-id: svn://10.0.0.236/trunk@73303 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 12:01:24 +00:00
axel%pike.org
4fdb0334a9 Not part of build, r=kvisco, don't add abundant text nodes to document
git-svn-id: svn://10.0.0.236/trunk@73302 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 10:40:57 +00:00
Peter.VanderBeken%pandora.be
8f2fca0cbe Finishing jj's work on bug 39959. r=jj@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@73301 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 07:56:48 +00:00
nisheeth%netscape.com
7a3c35beaa Fix for bug 42196. A simple patch from Rod Spears to prevent asserts that were firing on reading mail messages.
git-svn-id: svn://10.0.0.236/trunk@73300 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 06:56:08 +00:00
mang%subcarrier.org
0f37a10bed progid no longer defined in nsISample.idl
Part of previous fix to bug 10904


git-svn-id: svn://10.0.0.236/trunk@73299 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 06:35:17 +00:00
alecf%netscape.com
f6d96a42e0 back out part of amasari@netscape.com's checkin. no reviewer, because this
string should never have been removed in the first place!
thanks to timeless@bemail.org for finding the error


git-svn-id: svn://10.0.0.236/trunk@73298 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 06:19:53 +00:00
ducarroz%netscape.com
28728c1f75 Fix for bug 43468. We need also to use .value when we pre file a recipient else we will loose the content of every non visible fields! This is more a work around that the reall fix which should be in the textcontrolframe code. R=putterman
git-svn-id: svn://10.0.0.236/trunk@73297 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 06:14:42 +00:00
cls%seawood.org
500003732d Given the statement "a == b ? c : d;" , the WorkShop 5.0 compiler expects c & d to be of the same type.
git-svn-id: svn://10.0.0.236/trunk@73296 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 06:10:21 +00:00
rich.burridge%sun.com
b779e86645 Fix to prevent build bustage on nebiros with Sun compilers.
The Sun compiler expects a specific format for the function
used by the #pragma statement. It should return void and
have no arguments. It also needs an initial function prototype.
r=cls
Fix for breakage for checkin for bug #40769.


git-svn-id: svn://10.0.0.236/trunk@73295 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 05:58:00 +00:00
mang%subcarrier.org
658e2df19f partial fix for bug 10904 - sample now works in M15
- moves CID/ProgID into header file
- adds more calls to enablePrivilege
- renames "write" callback to something that works as intended

a=brendan@mozilla.org
r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@73294 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 05:54:46 +00:00
ben%netscape.com
ea23f52dda fix for 8002, patch from Peter Annema, r=ben
git-svn-id: svn://10.0.0.236/trunk@73293 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 05:47:07 +00:00
ben%netscape.com
0575090c65 fix for 42737, patch by Robert Kaiser, r=ben
git-svn-id: svn://10.0.0.236/trunk@73292 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 05:46:23 +00:00
alecf%netscape.com
5a51ad8bf4 fix for #43794 contributed by blaker1234@aol.com
r=alecf - just a tiny spelling error - "Outoing" -> "Outgoing"


git-svn-id: svn://10.0.0.236/trunk@73291 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 05:33:31 +00:00
alecf%netscape.com
3df82822e1 fix for #41645 contributed by <timeless@bemail.org> r=alecf
git-svn-id: svn://10.0.0.236/trunk@73290 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 05:30:19 +00:00
ducarroz%netscape.com
af2a45c882 Fix for bug 43575. Back out a line that Rods accidently change while checkin rev 1.40 R=hyatt
git-svn-id: svn://10.0.0.236/trunk@73289 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 05:26:28 +00:00
leaf%mozilla.org
1d0d34db54 Automated update
git-svn-id: svn://10.0.0.236/trunk@73288 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 04:45:09 +00:00
alecf%netscape.com
af28f7c68c make window sizable, part of #33101 r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@73287 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 04:42:34 +00:00
sspitzer%netscape.com
abf8ea00c6 back out part of jerry kirk's check in. not sure why he turned this off.
git-svn-id: svn://10.0.0.236/trunk@73286 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 04:37:15 +00:00
despotdaemon%netscape.com
4e8cabf2fc Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@73285 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 03:57:50 +00:00
beard%netscape.com
67503192d6 Win-specific operator== noise.
git-svn-id: svn://10.0.0.236/trunk@73284 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 03:52:56 +00:00
beard%netscape.com
b661c5b8ce Fixed unitialized static class members.
git-svn-id: svn://10.0.0.236/trunk@73283 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 03:43:40 +00:00
beard%netscape.com
e1bf2e7c86 addSlot -> defineSlot, added defineStatic.
git-svn-id: svn://10.0.0.236/trunk@73282 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 03:42:42 +00:00
dougt%netscape.com
ba45beb562 Bug 43314.
r=Henry Sobotka <sobotka@axess.com>
a=brendan@mozilla.org
s=Robert O'Callahan <roc+moz@cs.cmu.edu>


git-svn-id: svn://10.0.0.236/trunk@73281 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 03:35:32 +00:00
brendan%mozilla.org
efb5386074 Not again\!
git-svn-id: svn://10.0.0.236/trunk@73280 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 03:29:49 +00:00
beard%netscape.com
be8e774ffe Fixed type management.
git-svn-id: svn://10.0.0.236/trunk@73279 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 03:21:33 +00:00
brendan%mozilla.org
0270629fde Fix my stupid missing comma bustage.
git-svn-id: svn://10.0.0.236/trunk@73278 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 03:17:47 +00:00
leaf%mozilla.org
fb8db5157c Automated update
git-svn-id: svn://10.0.0.236/trunk@73277 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 03:00:11 +00:00
Jerry.Kirk%Nexwarecorp.com
8b32f1a0e2 Changes to allow the Photon version of Mozilla to not be a
MONOLITHIC_TOOLKIT any longer.
r=cls


git-svn-id: svn://10.0.0.236/trunk@73276 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 02:45:09 +00:00
rogerl%netscape.com
0ab4d1b650 lots of stuff me and Patrick did
git-svn-id: svn://10.0.0.236/trunk@73275 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 02:39:32 +00:00
brendan%mozilla.org
2a9d76e574 Fix JS_SetPrototype and __proto__ setting to deal with shared scopes; use JSObjectOps for setProto and setParent operations, and add spare op slots (41126, r=shaver@mozilla.org,pschwartau@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@73274 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 02:37:25 +00:00
javi%netscape.com
9e1cf0b293 Sigh. Preceed all <LINK ..> blocks with a <SCRIPT></SCRIPT> to work around
a bug in 4.x Communicator Solaris where the contents of the style sheet get
dumped to the screen.  Not sure why this solves that problem, but it does.


git-svn-id: svn://10.0.0.236/trunk@73273 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 01:32:39 +00:00
law%netscape.com
545f2ef5f6 Fix for bug 43892; properly calculate unicode string length; r=matt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73272 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 01:30:23 +00:00
dougt%netscape.com
01cf26060b simplify, simplify, simplify...
added editor support.
added multiple document support.
reduced what interfaces were needed by the WebBrowser class.


Not Part of build!


git-svn-id: svn://10.0.0.236/trunk@73271 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 01:30:20 +00:00
ddrinan%netscape.com
8db6580aa2 Build the PSM xpi files
git-svn-id: svn://10.0.0.236/trunk@73270 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 01:21:41 +00:00
nisheeth%netscape.com
ab324a8e94 Fix for bug 43019. Does not affect current build. Fixes a unix compile problem for XSL hooks in mozilla.
git-svn-id: svn://10.0.0.236/trunk@73269 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 01:12:44 +00:00
javi%netscape.com
9f043c0b2b Doh!! Forgot to add the psm executable to the xpi file.
git-svn-id: svn://10.0.0.236/trunk@73268 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 00:55:05 +00:00
jst%netscape.com
bf4dfc972a Fixing the remaining details in nsbeta2+ bug 38495, mozilla is now backwards compatible with existing plugin content as long as the plugins are updated. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73267 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 00:54:44 +00:00
javi%netscape.com
a6545ceffd Add an html file that can be used to install the xpi
git-svn-id: svn://10.0.0.236/trunk@73265 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 00:34:03 +00:00
endico%mozilla.org
7f200ff1ac added item on copying db from one installation to another
git-svn-id: svn://10.0.0.236/trunk@73264 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 00:27:10 +00:00
tao%netscape.com
bd20adbe0f 41054: Bundle 2-3 language packs with Seamonkey.r=jbetak
git-svn-id: svn://10.0.0.236/trunk@73263 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 00:24:48 +00:00
javi%netscape.com
0b43e84fbb Add a rule to automatically create XPi files.
git-svn-id: svn://10.0.0.236/trunk@73262 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 00:20:07 +00:00
ducarroz%netscape.com
f2590dfb53 Fix build bustage for rhp. Add msgUtils library to the Mac project (both target)
git-svn-id: svn://10.0.0.236/trunk@73261 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 00:12:48 +00:00
javi%netscape.com
825e2983b3 Checking in the file we use for xpi install on UNIX with mozilla.
git-svn-id: svn://10.0.0.236/trunk@73260 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 23:44:28 +00:00
cyeh%bluemartini.com
861e0acb60 fix for DBI compatibility
git-svn-id: svn://10.0.0.236/trunk@73259 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 23:04:40 +00:00
rhp%netscape.com
37687de29e Fix to use the server and port from AB Sync server - Bug # 43782 - r: jefft
git-svn-id: svn://10.0.0.236/trunk@73258 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 23:04:37 +00:00
sgehani%netscape.com
722315f24b Fix font issue: make license readable in installer.
[nsbeta2+ b=40960; r=ssu]


git-svn-id: svn://10.0.0.236/trunk@73257 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 22:41:27 +00:00
cotter%netscape.com
5da5c16f30 Updated installation and what's new sections re Security directory on Windows, which no longer needs to be renamed when installing Netscape 6 after PSM for Communicator (or vice versa).
git-svn-id: svn://10.0.0.236/trunk@73256 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 22:32:55 +00:00
av%netscape.com
fc3f0b75fd Not part of the build yet. Default plugin.
git-svn-id: svn://10.0.0.236/trunk@73255 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 22:30:38 +00:00
leaf%mozilla.org
18ada066a1 Automated update
git-svn-id: svn://10.0.0.236/trunk@73254 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 22:30:09 +00:00
rich.burridge%sun.com
92fa85731e Fix to allow refcnt'ing on the Solaris platform.
r=scc@mozilla.org a=brendan@mozilla.org
Bug #40769


git-svn-id: svn://10.0.0.236/trunk@73253 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 22:23:47 +00:00
cls%seawood.org
c0ab59d720 Added BeOS debugger to debugger list. bug #43723
git-svn-id: svn://10.0.0.236/trunk@73252 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 21:52:27 +00:00
law%netscape.com
53bb7777ca Fix for bug 35956; turn off gzip content encodng when downloading via http; r=gagan
git-svn-id: svn://10.0.0.236/trunk@73251 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 21:36:28 +00:00
cmanske%netscape.com
2ba9df27e7 Added flag to be sure file exists when loading a file using Windows filepicker. part of fix for 43834, r&a=rods
git-svn-id: svn://10.0.0.236/trunk@73250 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 21:16:01 +00:00
nisheeth%netscape.com
3ac334fdb1 r=vidur, jst. Fix for bug 9076. The nodeName property is now case sensitive for XHTML elements and folded to uppercase for HTML elements.
git-svn-id: svn://10.0.0.236/trunk@73249 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 21:05:16 +00:00
sspitzer%netscape.com
79039ebdbd fix for #1144 (and various other bugs, I'm sure.)
export absync.properties on the Mac.  r=mscott


git-svn-id: svn://10.0.0.236/trunk@73248 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 21:03:55 +00:00
rusty.lynch%intel.com
d32014ccc6 David Baron's patch to fix bug #41172. r=waterson
git-svn-id: svn://10.0.0.236/trunk@73247 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 21:03:19 +00:00
evaughan%netscape.com
c91452df4c Fix for dogfood bug #43474
git-svn-id: svn://10.0.0.236/trunk@73246 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 21:00:44 +00:00
rusty.lynch%intel.com
dc44b012ca part of a fix for bug #40321. r=gagan
git-svn-id: svn://10.0.0.236/trunk@73245 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 20:58:04 +00:00
mkaply%us.ibm.com
ea8f1202b8 #42637
r=mscott, a=brendan
OS/2 bringup - need casts for VisualAge


git-svn-id: svn://10.0.0.236/trunk@73244 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 20:39:19 +00:00
Jerry.Kirk%Nexwarecorp.com
77d5ef4dab NOT PART oF BUILD - PHOTON ONLY
Made the timers for photon work as a component by defining
NS_TIMER_PH_CID and changing the component name to the new name.


git-svn-id: svn://10.0.0.236/trunk@73243 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 20:37:03 +00:00
endico%mozilla.org
0a6c3cfd47 change wording of mail notification
git-svn-id: svn://10.0.0.236/trunk@73242 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 20:29:10 +00:00
shanjian%netscape.com
165f5ef435 related to #40734
The rule has been changed. '=' will no longer be breakable in western
languages. Akkana agreed the change.


git-svn-id: svn://10.0.0.236/trunk@73241 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 20:26:47 +00:00
dougt%netscape.com
7515b96e14 Removing bookmark requirement.
43082.
r=jbetak@netscape.com
a=valeski@netscape.com


git-svn-id: svn://10.0.0.236/trunk@73240 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 20:26:16 +00:00
shanjian%netscape.com
dc73ec9814 #40734
Checkin the code again with small modification from previous one. The
failure in test should be corrected by changing the test case. The rule
has been changed. Akkana agreed the change.


git-svn-id: svn://10.0.0.236/trunk@73239 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 20:25:41 +00:00
mkaply%us.ibm.com
09621b24a4 r=cls, a=cls
Broken objdir stuff


git-svn-id: svn://10.0.0.236/trunk@73238 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 20:18:21 +00:00
mkaply%us.ibm.com
dd8be9c7b4 #42637
r=jst, a=brendan
OS/2 bring up - PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@73237 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 19:59:18 +00:00
neeti%netscape.com
76dd70d02c Removing an useless include xpcomio_s from the Makefile.r/a=gagan
git-svn-id: svn://10.0.0.236/trunk@73236 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 19:57:41 +00:00
mkaply%us.ibm.com
d7d989774e #42637
r=mkaply, a=brendan
OS/2 bring up - Change window list behavior to be more like Windows - windows are only in the task list if they are visible


git-svn-id: svn://10.0.0.236/trunk@73235 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 19:54:19 +00:00
mkaply%us.ibm.com
8b0c128d62 #42637
r=mkaply, a=brendan
OS/2 bring up - Fixes for our cursors


git-svn-id: svn://10.0.0.236/trunk@73234 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 19:52:41 +00:00
cls%seawood.org
db4eb3374a Ok, that was a stupid mistake
git-svn-id: svn://10.0.0.236/trunk@73233 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 19:23:36 +00:00
rpallath%eng.sun.com
0f0ebad037 Added this test case
git-svn-id: svn://10.0.0.236/trunk@73232 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 18:09:44 +00:00
beard%netscape.com
ccd4698faf JSValue::operator==: added CASE(type) to fix warning.
git-svn-id: svn://10.0.0.236/trunk@73231 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 17:47:07 +00:00
beard%netscape.com
9ce999f990 added JSObject::deleteProperty(), and changed mName in JSType to be a JSString. Need to revisit other uses of String soon.
git-svn-id: svn://10.0.0.236/trunk@73230 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 17:42:20 +00:00
beard%netscape.com
248c6cb94b simplified string addition
git-svn-id: svn://10.0.0.236/trunk@73229 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 17:25:25 +00:00
beard%netscape.com
3054177c8b defined JSStringBase, and constructors from in JSString
git-svn-id: svn://10.0.0.236/trunk@73228 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 17:24:57 +00:00
beard%netscape.com
e530a8d939 String addition: don't share structure with LHS.
git-svn-id: svn://10.0.0.236/trunk@73227 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 17:09:27 +00:00
beard%netscape.com
38b67e2e27 added constructor from JSString&.
git-svn-id: svn://10.0.0.236/trunk@73226 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 16:55:01 +00:00
beard%netscape.com
dcf06c37e9 Reset register usage after generating each initializer statement.
git-svn-id: svn://10.0.0.236/trunk@73225 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 15:19:45 +00:00
beard%netscape.com
8764a7d072 Simplified NEW_CLASS, using a single do .. while loop, introducing nextPC instruction iterator to simplify initial case. now calls all defined constructors.
git-svn-id: svn://10.0.0.236/trunk@73224 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 15:06:36 +00:00
bienvenu%netscape.com
a100917856 fix for 38598 progress not working r=mscott
git-svn-id: svn://10.0.0.236/trunk@73223 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 14:54:28 +00:00
locka%iol.ie
d6ecfb9d7f NOT PART OF BUILD. Fixed DTD makefile
git-svn-id: svn://10.0.0.236/trunk@73222 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 14:50:53 +00:00
mkaply%us.ibm.com
b94aaf3d70 #42637
r=mkaply, a=brendan
OS/2 bring up - Set mresolvepath - OS/2 only


git-svn-id: svn://10.0.0.236/trunk@73221 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 14:50:20 +00:00
locka%iol.ie
a936ff0df5 NOT PART OF BUILD. First working cut of the mini navigator chrome
git-svn-id: svn://10.0.0.236/trunk@73220 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 14:49:39 +00:00
locka%iol.ie
5550039780 NOT PART OF BUILD. Fixed some path problems in makefiles & manifest
git-svn-id: svn://10.0.0.236/trunk@73219 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 14:48:54 +00:00
mkaply%us.ibm.com
12d5704c62 #40177
r=cls, a=brendan
OS/2 bring up - Forgot OSDIR to specify location of cpp file


git-svn-id: svn://10.0.0.236/trunk@73218 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 14:46:18 +00:00
bienvenu%netscape.com
edde59dd98 fix for 38598 progress not working r=mscott
git-svn-id: svn://10.0.0.236/trunk@73217 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 14:24:05 +00:00
bryner%uiuc.edu
572054010f Oops, need to check for microseconds overflow into full seconds. bug
43789.  r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@73216 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 06:46:01 +00:00
pavlov%netscape.com
797bce8c48 fix for timers not firing accurately bug 43789. r=blizzard, syd, bryner
git-svn-id: svn://10.0.0.236/trunk@73215 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 05:58:17 +00:00
rjc%netscape.com
f4103e6374 Fix nsbeta2+ bug # 43498: search file update. R/A=me
git-svn-id: svn://10.0.0.236/trunk@73214 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 05:24:45 +00:00
rjc%netscape.com
bab06adffb Fix nsbeta2+ bug # 42887: allow charset specification in a search dataset. Code: nhotta R/A: me
git-svn-id: svn://10.0.0.236/trunk@73213 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 05:08:23 +00:00
dbaron%fas.harvard.edu
9f0ca0e3b5 Undo my previous change, which was wrong. PR_TRUE is the correct way to continue enumeration for |nsHashtable|s. I don't know what is causing the leak (bug 43707). r=hyatt
git-svn-id: svn://10.0.0.236/trunk@73212 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 02:39:49 +00:00
conrad%ingress.com
8f63a1e61f * Not part of build *
Filled in some nsIWebBrowserChrome and nsIBaseWindowMethods which were only stubbed out before.


git-svn-id: svn://10.0.0.236/trunk@73211 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 02:25:16 +00:00
conrad%ingress.com
946e16276a * Not part of build *
Changd nsAllocator::Free() to nsCRT::free()


git-svn-id: svn://10.0.0.236/trunk@73210 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 02:23:10 +00:00
conrad%ingress.com
0e814bc032 * Not part of build *
Hooked up progress UI


git-svn-id: svn://10.0.0.236/trunk@73209 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 02:21:51 +00:00
conrad%ingress.com
7b8b984943 * Not part of build *
Hooked up progress UI.


git-svn-id: svn://10.0.0.236/trunk@73208 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 02:21:27 +00:00
conrad%ingress.com
59a8e842e2 * Not part of build *
Added SetWebBrowser()


git-svn-id: svn://10.0.0.236/trunk@73207 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 02:20:54 +00:00
conrad%ingress.com
8fb6d2a0fc * Not part of build *
Took out calls to Repeater and PR_Sleep.
Added SetWebBrowser()


git-svn-id: svn://10.0.0.236/trunk@73206 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 02:20:04 +00:00
conrad%ingress.com
9ab457a9fb * Not part of build *
Moved calls to Repeater to ProcessEvent(). This used to be done in the SpendTime() method of each CBrowserShell which was wrong.


git-svn-id: svn://10.0.0.236/trunk@73205 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 02:18:32 +00:00
conrad%ingress.com
b478b71b4d * Not part of build *
Added res ID for plain browser window.


git-svn-id: svn://10.0.0.236/trunk@73204 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 02:13:19 +00:00
conrad%ingress.com
3f686dc68d * Not part of build *
Added progress bar.


git-svn-id: svn://10.0.0.236/trunk@73203 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 02:12:32 +00:00
ben%netscape.com
2b8fab70e7 tree tweak for classic skin.
git-svn-id: svn://10.0.0.236/trunk@73202 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-26 01:20:53 +00:00
mkaply%us.ibm.com
ae0e56406c # 40177
r = mkaply, a = brendan
OS/2 bring-up - Versions of these files for OS/2


git-svn-id: svn://10.0.0.236/trunk@73201 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 22:42:16 +00:00
mkaply%us.ibm.com
1b4a50ead4 # 40177
r = cls, a = brendan
OS/2 bring-up - Change so this builds on OS/2


git-svn-id: svn://10.0.0.236/trunk@73200 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 22:39:51 +00:00
Peter.VanderBeken%pandora.be
59914605fb Added expat to optimized target. Not part of build yet.
git-svn-id: svn://10.0.0.236/trunk@73199 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 20:57:37 +00:00
rhp%netscape.com
be18301515 Fixing problem with printing - simple one line JS fix for a missing call - Bug #43478 - r: jefft
git-svn-id: svn://10.0.0.236/trunk@73198 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 17:33:57 +00:00
beard%netscape.com
8bb1ef70ac Only call non-null constructors.
git-svn-id: svn://10.0.0.236/trunk@73197 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 17:04:38 +00:00
beard%netscape.com
1bb0ae2fc2 Conditionally set constructor, if it has any instructions.
git-svn-id: svn://10.0.0.236/trunk@73196 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 17:04:01 +00:00
beard%netscape.com
75fa0c383f updated dependencies
git-svn-id: svn://10.0.0.236/trunk@73195 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 16:44:29 +00:00
beard%netscape.com
0935fcf077 check for non-null superClass
git-svn-id: svn://10.0.0.236/trunk@73194 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 16:43:25 +00:00
beard%netscape.com
491725a122 hooked up superClass' scope as the prototype of a class's scope, to do method inheritance, removed bogus JSInstance::getSlotCount(), which overcounted slots.
git-svn-id: svn://10.0.0.236/trunk@73193 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 16:35:33 +00:00
mkaply%us.ibm.com
534fd167f6 # 40177
r = cls, a = brendan
OS/2 bring-up - the PS dir is only needed for *IX platforms


git-svn-id: svn://10.0.0.236/trunk@73192 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 14:42:08 +00:00
ben%netscape.com
652948ad51 fixes for classic skin, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@73190 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 06:07:54 +00:00
tao%netscape.com
521fd4f1a0 back out l10n changes.
git-svn-id: svn://10.0.0.236/trunk@73189 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 04:05:08 +00:00
tao%netscape.com
ff8f01d63b Back out l10n changes
git-svn-id: svn://10.0.0.236/trunk@73188 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 04:01:42 +00:00
tao%netscape.com
6e79c944f9 Back out l10n changes.
git-svn-id: svn://10.0.0.236/trunk@73187 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 04:00:27 +00:00
tao%netscape.com
2329db2be4 change dirs ordering to see if this fixes install order.
git-svn-id: svn://10.0.0.236/trunk@73182 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-25 01:59:57 +00:00
beard%netscape.com
a3a1f59b43 Added calls to superClass constructors.
git-svn-id: svn://10.0.0.236/trunk@73177 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 22:42:43 +00:00
beard%netscape.com
5e640f5cf7 JSInstance::getSlotCount() no longer recursive.
git-svn-id: svn://10.0.0.236/trunk@73176 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 22:42:15 +00:00
beard%netscape.com
7f094b555a Beginning support for superclass slots.
git-svn-id: svn://10.0.0.236/trunk@73175 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 22:07:00 +00:00
tao%netscape.com
ed9af13cb6 41054: Bundle 2-3 language packs with Seamonkey.r=jbetak.
git-svn-id: svn://10.0.0.236/trunk@73174 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 21:48:17 +00:00
sspitzer%netscape.com
7657985439 comment out my printf.
git-svn-id: svn://10.0.0.236/trunk@73173 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 21:45:08 +00:00
sspitzer%netscape.com
53d802af6a fix for #39853. when populating the subscribe dialog from disk, we'd
block the entire ui.  this was bad if the hostinfo.dat file was big.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@73172 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 21:35:59 +00:00
sspitzer%netscape.com
3676e6c34a fix for #41062. pop up an alert on news errors, like auth failure.
r=mscott.


git-svn-id: svn://10.0.0.236/trunk@73171 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 21:22:47 +00:00
jst%netscape.com
cafa975bba Fixing nsbeta2+ bug 13350, add a JS branch callback to the DOM code that runs the JS GC and also lets users abort extremely long running scripts (i.e. infinite JS loops). r=vidur&brendan
git-svn-id: svn://10.0.0.236/trunk@73170 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 16:18:41 +00:00
beard%netscape.com
3d0c7e4a46 Added emptyArgs, removed unused return value in readEvalFile
git-svn-id: svn://10.0.0.236/trunk@73169 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 05:42:51 +00:00
beard%netscape.com
b4ef9b75fb enable RTTI
git-svn-id: svn://10.0.0.236/trunk@73168 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 05:36:52 +00:00
beard%netscape.com
0f9a13273f VC++ doesn't like local classes in templates.
git-svn-id: svn://10.0.0.236/trunk@73167 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 05:36:09 +00:00
beard%netscape.com
8ee63e4a30 major surgery to enable the "load()" native function.
git-svn-id: svn://10.0.0.236/trunk@73166 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 05:25:33 +00:00
beard%netscape.com
032e7d113c Experiment with looking up methods in the prototype chain.
git-svn-id: svn://10.0.0.236/trunk@73165 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 05:22:23 +00:00
beard%netscape.com
771cfb9f71 Always use the target object, regardless of where a method property is found along the prototype chain.
git-svn-id: svn://10.0.0.236/trunk@73164 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 05:21:49 +00:00
beard%netscape.com
3fa84e139b When generating a reference to "this" use the current code generator's mClass when appropriate.
git-svn-id: svn://10.0.0.236/trunk@73163 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 05:21:03 +00:00
ben%netscape.com
544b1501f0 fix for 38262, 38497, r=verah@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73162 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 04:55:47 +00:00
ben%netscape.com
f1af12c6d0 more classic skin work
git-svn-id: svn://10.0.0.236/trunk@73161 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 04:52:59 +00:00
ben%netscape.com
ee8907c483 more classic skin work + fix manifest
git-svn-id: svn://10.0.0.236/trunk@73160 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 04:52:33 +00:00
morse%netscape.com
3557f39e20 update wallet tables, not part of build
git-svn-id: svn://10.0.0.236/trunk@73159 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 04:34:18 +00:00
joki%netscape.com
c1ec0c7d3c Part of fix for 42418, patch up event target from PresShell after re-entrant events to avoid null targets. r:nisheeth
git-svn-id: svn://10.0.0.236/trunk@73158 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 03:58:13 +00:00
tor%cs.brown.edu
875aaade38 Dangling symbol reference was causing problems with Tru64 and MacOS.
Not in default build.


git-svn-id: svn://10.0.0.236/trunk@73157 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 03:54:35 +00:00
mcafee%netscape.com
f9fb471e4b Removing unused 4.x prefs (39812). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@73156 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 03:32:40 +00:00
mcafee%netscape.com
6cbafd115c file is dead, removing. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@73155 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 03:20:39 +00:00
morse%netscape.com
830640e80c bug 42774, fix typo
git-svn-id: svn://10.0.0.236/trunk@73154 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 03:09:11 +00:00
mcafee%netscape.com
70eea3db84 Don't inherit the 4.x cache file location for mozilla (39812). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@73153 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 03:04:51 +00:00
rginda%netscape.com
0670e54423 fixing source stepping (opcode stepping to come back later)
debugger is now quiet by default.


git-svn-id: svn://10.0.0.236/trunk@73152 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 02:53:29 +00:00
beard%netscape.com
6c8e7ab7a9 Removed JSType::isClassType().
git-svn-id: svn://10.0.0.236/trunk@73151 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 02:51:34 +00:00
beard%netscape.com
e24d5dd777 Added JSClass::get/setConstructor().
git-svn-id: svn://10.0.0.236/trunk@73150 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 02:51:03 +00:00
beard%netscape.com
d5f478e4b2 Added call to constructor when executing NEW_CLASS.
git-svn-id: svn://10.0.0.236/trunk@73149 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 02:50:23 +00:00
beard%netscape.com
eb882da672 Generating default constructor to run slot initializers.
git-svn-id: svn://10.0.0.236/trunk@73148 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 02:49:45 +00:00
ben%netscape.com
591f0a6158 [classic-skin] fix mac sidebar css to use correct colours
git-svn-id: svn://10.0.0.236/trunk@73147 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 02:16:38 +00:00
dougt%netscape.com
2c89b23807 fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@73146 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 02:10:17 +00:00
gagan%netscape.com
0e6114432b Fix for bug 42841. We were sending a Host: foo:80 header for the default port cases. Several server cgi's that rely on this for virtual hosts were failing to compare the two as same. r=dougt,rjc Ooops... I think I ran this file thru my deruslanizer too.
git-svn-id: svn://10.0.0.236/trunk@73145 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 02:02:19 +00:00
dougt%netscape.com
5e1c69c466 adding helper source. Not part of built.
git-svn-id: svn://10.0.0.236/trunk@73144 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 02:01:29 +00:00
dougt%netscape.com
d647fb0127 Adjusting user of makeUnique. a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@73143 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 01:55:40 +00:00
dougt%netscape.com
b4fae1275b nsIFile unique file creation is racy and insecure
bug 43314. a=brendan@mozilla.org
written by Robert O'Callahan <roc+moz@cs.cmu.edu>


git-svn-id: svn://10.0.0.236/trunk@73142 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 01:50:53 +00:00
alecf%netscape.com
7b4aa37af0 fix for 39345 - remove save password from all UI
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@73141 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 01:32:12 +00:00
dougt%netscape.com
5a016c0fee Change nsIDOMXULDocument --> nsIDOMDocument
bug 43424
r=akkana@netscape.com
a=phil@netscape.com ?


git-svn-id: svn://10.0.0.236/trunk@73140 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 01:29:58 +00:00
mscott%netscape.com
e2331d355d Bug #43651 --> can't read news without crashing. Implement GetContentType for nntp protocol.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@73139 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 01:17:02 +00:00
ducarroz%netscape.com
97ce0a7bba Fix for bug 41266. Don't close the popup menu when pressing the up/down arrow key. R=mscott
git-svn-id: svn://10.0.0.236/trunk@73138 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 01:15:42 +00:00
mscott%netscape.com
381890bc97 Gee wizz...i didn't check in the progid registration for the external helper app service last night.
Bug #38374, 30157, 10802
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@73137 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 01:14:52 +00:00
thayes%netscape.com
216910f39a Add tests for Secret Decoder Ring (SDR)
git-svn-id: svn://10.0.0.236/trunk@73136 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 01:06:26 +00:00
beard%netscape.com
154282855d testCompile() is static
git-svn-id: svn://10.0.0.236/trunk@73135 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 01:04:58 +00:00
rogerl%netscape.com
e8e7f3718b typing 'this'
git-svn-id: svn://10.0.0.236/trunk@73134 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 01:02:34 +00:00
rogerl%netscape.com
9d9a6a599f Got newClass working, added printProperties for instances, some slot
stuff is happening.


git-svn-id: svn://10.0.0.236/trunk@73133 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 00:50:59 +00:00
endico%mozilla.org
13c209ac50 add comment explaining how to set up mail alias
git-svn-id: svn://10.0.0.236/trunk@73132 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 00:13:55 +00:00
cltbld%netscape.com
420f7b4f04 added patches to build Mac with XSLT, SVG, MathML. fix for #39959. (activated by Options{} switches - default is off) --jj.
git-svn-id: svn://10.0.0.236/trunk@73131 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 00:06:58 +00:00
cltbld%netscape.com
999c778b9e added Options{} table. part of fix for #39959 -- jj.
git-svn-id: svn://10.0.0.236/trunk@73130 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 00:03:50 +00:00
dougt%netscape.com
bf15c34b53 I IDL-ifying the nsProxyObjectManager.
I have updated all users that I found
grepping the source tree.

r=valeski@netscape.com
a=waterson@netscape.com
b=43131

Also checking in changes to the window's embed test which is NOT
hooked up to the build system.


git-svn-id: svn://10.0.0.236/trunk@73129 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 00:03:10 +00:00
cltbld%netscape.com
9528ea55c9 added DefinesOptions.h to Mac build. part of fix for #39959
git-svn-id: svn://10.0.0.236/trunk@73128 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-24 00:02:31 +00:00
valeski%netscape.com
dce89aed9d a=waterson. adding idl file, part of dougt's checkin.
git-svn-id: svn://10.0.0.236/trunk@73127 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:56:55 +00:00
endico%mozilla.org
b4a89b36f1 add more whitespace to exporter's log message
git-svn-id: svn://10.0.0.236/trunk@73126 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:54:35 +00:00
radha%netscape.com
83f086107a More checkins for feature bug 36547. CODE NOT PART OF THE BUILD. reviewer will be provided
when feature is enabled.


git-svn-id: svn://10.0.0.236/trunk@73125 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:54:30 +00:00
cltbld%netscape.com
509b1f5c01 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@73124 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:53:02 +00:00
endico%mozilla.org
c7416d554f move new path code to beginning
git-svn-id: svn://10.0.0.236/trunk@73123 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:52:32 +00:00
beard%netscape.com
f0d31a051c added NEW_CLASS instruction, to instantiate classes.
git-svn-id: svn://10.0.0.236/trunk@73122 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:49:48 +00:00
beard%netscape.com
b8d21f902b added NEW_CLASS instruction.
git-svn-id: svn://10.0.0.236/trunk@73121 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:49:17 +00:00
cltbld%netscape.com
173d29e9cc added XSLT, SVG, MathML to Mac build. fix for #39959
git-svn-id: svn://10.0.0.236/trunk@73119 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:47:11 +00:00
dveditz%netscape.com
645075a3e5 42762 create English language pack for l10n
git-svn-id: svn://10.0.0.236/trunk@73118 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:46:29 +00:00
cltbld%netscape.com
f52bc38217 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@73117 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:45:00 +00:00
rogerl%netscape.com
071facaac6 Adding slot handling to code gen.
git-svn-id: svn://10.0.0.236/trunk@73116 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:43:24 +00:00
beard%netscape.com
5d613bac76 added NEW_CLASS instruction.
git-svn-id: svn://10.0.0.236/trunk@73115 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:41:27 +00:00
dougt%netscape.com
a08152032b Adding idl'ifed nsIProxyObjectManager interface file.
git-svn-id: svn://10.0.0.236/trunk@73114 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:34:11 +00:00
dveditz%netscape.com
bd33c6c595 42762 create English language pack for l10n, r=ssu
git-svn-id: svn://10.0.0.236/trunk@73113 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:33:01 +00:00
beard%netscape.com
324cafdec3 Added JSClass::hasSlot, getSlotCount(), and JSInstance.
git-svn-id: svn://10.0.0.236/trunk@73112 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:25:55 +00:00
beard%netscape.com
5bb59bebb9 JSValue::type now JSType* instead of const JSType*, all predefined JSType objects no longer const as well.
git-svn-id: svn://10.0.0.236/trunk@73111 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:25:14 +00:00
tor%cs.brown.edu
ef95bf8be2 Update libmng snapshot. Not in default build.
git-svn-id: svn://10.0.0.236/trunk@73110 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:59:51 +00:00
bryner%uiuc.edu
20f5e42ebc Fixing bug 43628. r=hyatt,pavlov.
git-svn-id: svn://10.0.0.236/trunk@73109 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:59:18 +00:00
ssu%netscape.com
c8156ba838 fixing bug #41054 - adding language packs to seamonkey product. r=dveditz,sgehani
git-svn-id: svn://10.0.0.236/trunk@73108 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:57:34 +00:00
endico%mozilla.org
74595fe77d include error messages for each bug in the exporter's confirmation mail
git-svn-id: svn://10.0.0.236/trunk@73107 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:56:45 +00:00
rogerl%netscape.com
f0dcf103dd Removed FUNCTION instruction, other class related junk.
git-svn-id: svn://10.0.0.236/trunk@73106 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:53:09 +00:00
vidur%netscape.com
19893b2add Fix for bug 35010. Since this is just a test case, I don't need an a= or r=. font.html
git-svn-id: svn://10.0.0.236/trunk@73105 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:52:39 +00:00
law%netscape.com
fb5f84dae8 Bug 31578; add 'Reload Frame' to context menu; r=matt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73104 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:49:05 +00:00
endico%mozilla.org
7959e0c5a2 find the path this script lives in and add it to @INC and to the current working directory.
git-svn-id: svn://10.0.0.236/trunk@73103 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:43:21 +00:00
cyeh%bluemartini.com
0714929f7c add voters to text
git-svn-id: svn://10.0.0.236/trunk@73102 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:35:38 +00:00
rginda%netscape.com
0deba46ad9 Added debugger opcode, change InstructionMap to a std::map, print source lines while tracing
git-svn-id: svn://10.0.0.236/trunk@73101 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:27:17 +00:00
thayes%netscape.com
a2172d1094 Add SDR test command
git-svn-id: svn://10.0.0.236/trunk@73100 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:25:22 +00:00
vidur%netscape.com
153de75d02 Fix for bug 31376. Just modifying an incorrect comment.
git-svn-id: svn://10.0.0.236/trunk@73099 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:23:37 +00:00
saari%netscape.com
b98ddb60b1 adding null check to prevent a few crashers on windows and linux that I introduced (exposed new code path). r=bryner
git-svn-id: svn://10.0.0.236/trunk@73098 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:18:54 +00:00
dbaron%fas.harvard.edu
88967dd6f9 Add new style classes to the leak/bloat logs. This should increase the bloat statistics. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@73097 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 21:57:39 +00:00
javi%netscape.com
fc49242917 Move some localizable strings from psm_ui.properties.in to psm_text.properties.in
git-svn-id: svn://10.0.0.236/trunk@73096 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 21:54:32 +00:00
bryner%uiuc.edu
af531aefa9 Patching more (hopefully all) trees to work with the new tree widget (bug
30511).  r=hyatt.


git-svn-id: svn://10.0.0.236/trunk@73095 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 21:44:48 +00:00
jim_nance%yahoo.com
8b699a2717 Added line to print working directory of commands which fail.
git-svn-id: svn://10.0.0.236/trunk@73094 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 21:31:42 +00:00
matt%netscape.com
8213d2f2d9 pulling out search string from JS to a properties file.
R:law
bug:35124


git-svn-id: svn://10.0.0.236/trunk@73093 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 21:23:44 +00:00
rogerl%netscape.com
60220bebd1 Add return statement if the function doesn't end with one
git-svn-id: svn://10.0.0.236/trunk@73092 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 21:20:03 +00:00
waqar%netscape.com
d28f9e07c1 #=24871
r=pavlov@netscape.com
d=New timer code for GTK. This should speed up navigation quite a bit.


git-svn-id: svn://10.0.0.236/trunk@73091 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 20:54:02 +00:00
dcone%netscape.com
1db3197083 Printing regression test samples were revised. Does not effect the build.
git-svn-id: svn://10.0.0.236/trunk@73090 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 20:33:26 +00:00
joki%netscape.com
b25ef2eeab Temporary fix for bug 43390, allow modal dialogs/windows to be raised from script. r:vidur
git-svn-id: svn://10.0.0.236/trunk@73089 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 20:32:45 +00:00
dcone%netscape.com
cd2c52ab8a Added two files to build.. nsPrintOptionsImpl.cpp and nsPrintOptionsMac.cpp. r = kmclusky b=36796
git-svn-id: svn://10.0.0.236/trunk@73088 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 20:21:50 +00:00
attinasi%netscape.com
9a8808a5fa Checkin for dcone: Adding print options object to makefile. b=36796 r=attinasi
git-svn-id: svn://10.0.0.236/trunk@73087 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 20:15:59 +00:00
mkaply%us.ibm.com
fb2b5a0c8b r = pchen, a = pchen
EROFS is not defined in VisualAge so it breaks our Tinderbox


git-svn-id: svn://10.0.0.236/trunk@73086 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 20:13:04 +00:00
mcs%netscape.com
6d63f2fe67 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@73085 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 19:42:37 +00:00
endico%mozilla.org
5b205da46a give more verbose error messages
git-svn-id: svn://10.0.0.236/trunk@73084 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 19:41:38 +00:00
cyeh%bluemartini.com
56d7c8e6ac committing to close bug 6682 "Chart all bug states". patches
contributed by mhamby@logicon.com


git-svn-id: svn://10.0.0.236/trunk@73083 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 18:59:48 +00:00
valeski%netscape.com
308822e8ed making urlinfo threadsafe for test harness a=granrose
git-svn-id: svn://10.0.0.236/trunk@73082 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 18:49:07 +00:00
chrisk%netscape.com
04c4ea3f80 Added and corrected some comments
Added $layercounter
Clarified $boundary generation (a boundary has leading AND trailing CRLFs!)


git-svn-id: svn://10.0.0.236/trunk@73081 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 18:37:33 +00:00
cyeh%bluemartini.com
97fb8ee283 checkin to fix Bug 25010 "Need a way to edit the list of available groups".
Patches and work contributed by dave@intrec.com (Dave Miller).
Some cleanup work needs to be done with regards to permissions and bit-twiddling
see other bugs that are dependent on 25010 for details.


git-svn-id: svn://10.0.0.236/trunk@73080 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 18:03:47 +00:00
sdv%sparc.spb.su
c1383224df added note about cvs tag DOM_PR1
git-svn-id: svn://10.0.0.236/trunk@73079 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 17:35:51 +00:00
sdv%sparc.spb.su
4f491022e3 got rid of dependance on java\config\localdefs.mak
git-svn-id: svn://10.0.0.236/trunk@73078 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 17:16:29 +00:00
sdv%sparc.spb.su
75efb3494b fix for bug=41494
removed headers generated by javah
updated makefiles


git-svn-id: svn://10.0.0.236/trunk@73077 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 17:14:11 +00:00
chrisk%netscape.com
2b65c3df83 Preliminary checkin at a state where smime can parse messages generated
by itself.


git-svn-id: svn://10.0.0.236/trunk@73076 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 16:40:31 +00:00
vidur%netscape.com
b674c84709 Allowed complete script access to our components. This is WIP and not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@73075 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 15:51:47 +00:00
dcone%netscape.com
4d3af51cc1 Added the IDL file for Vidur.
git-svn-id: svn://10.0.0.236/trunk@73074 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 15:22:38 +00:00
german%netscape.com
4130b46949 Fixing messenger 3-pane splitter in classic skin by updating align='vertical' to orient='vertical'.
git-svn-id: svn://10.0.0.236/trunk@73073 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:51:05 +00:00
jst%netscape.com
23bcfd2e8d Removing references to removed makefiles. r=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73072 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:41:50 +00:00
dcone%netscape.com
1a95dd11e1 Added a new interface file to compile for nsPrintOptions. r=kmmclusky b=36796
git-svn-id: svn://10.0.0.236/trunk@73071 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:41:06 +00:00
dcone%netscape.com
af00864e4f Added a new interface definition for nsIPrintOptons. r=kmmclusky. b=36796
git-svn-id: svn://10.0.0.236/trunk@73070 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:39:58 +00:00
mkaply%us.ibm.com
abfefdd565 #42637
r=mkaply, a=brendan
OS/2 bring up - Menus sometimes not drawing correctly


git-svn-id: svn://10.0.0.236/trunk@73069 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:38:08 +00:00
dcone%netscape.com
57052b8469 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@73068 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:35:57 +00:00
dcone%netscape.com
06b7383369 Added new class definitions for the PrintOptions class. r=kmmclusky b=36796
git-svn-id: svn://10.0.0.236/trunk@73067 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:34:17 +00:00
vidur%netscape.com
0ff74154af Checking in for mccabe, since he had to leave town. Partial fix for bug 41429. Adding a new interface that components can implement to control the capabilities needed for XPConnect access to them - default is UniversalXPConnect. r=vidur
git-svn-id: svn://10.0.0.236/trunk@73066 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:32:38 +00:00
dcone%netscape.com
9ece460fe3 Added class definitions for the PrintOptions class. r=kmmclusky b=36796
git-svn-id: svn://10.0.0.236/trunk@73065 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:32:06 +00:00
dcone%netscape.com
a510a98f69 Added class definitions for PrintOptions. r=kmmclusky b=36796
git-svn-id: svn://10.0.0.236/trunk@73064 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:30:55 +00:00
dcone%netscape.com
1d31530d44 new CID's for the PrintOptions class. r=kmmclusky b=36796
git-svn-id: svn://10.0.0.236/trunk@73063 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:28:54 +00:00
sdv%sparc.spb.su
5b284d85a5 updated patch to webshell, so it works with the
latest version.


git-svn-id: svn://10.0.0.236/trunk@73062 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:14:23 +00:00
jst%netscape.com
18d9bb2095 Fixing nsbeta2+ bug 41953, form element regressions. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73061 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:12:24 +00:00
sdv%sparc.spb.su
7a90f857bc fix for bug=43293
git-svn-id: svn://10.0.0.236/trunk@73060 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 14:09:19 +00:00
neeti%netscape.com
734b991480 fix for bug 43345.browser.cache.enable check, r=warren/gagan
git-svn-id: svn://10.0.0.236/trunk@73059 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 13:42:46 +00:00
neeti%netscape.com
dce6bd2291 fix for bug 39717 - Disk cache directory not being recreated after it's deleted.r=gagan
git-svn-id: svn://10.0.0.236/trunk@73058 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 13:39:44 +00:00
jdunn%netscape.com
b2fb06a133 fix for hp bustage. the last entry in enum can't have a ','
git-svn-id: svn://10.0.0.236/trunk@73057 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 13:21:57 +00:00
rods%netscape.com
26ec507dd2 Better fix for printf spewage.
git-svn-id: svn://10.0.0.236/trunk@73056 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 13:19:50 +00:00
sdv%sparc.spb.su
d4b0a9436d fix for bug=43473
git-svn-id: svn://10.0.0.236/trunk@73055 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 13:17:29 +00:00
locka%iol.ie
182b2fa29c NOT PART OF BUILD. Prototype (and currently non-functional) chrome for embedding apps
git-svn-id: svn://10.0.0.236/trunk@73054 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 10:17:13 +00:00
waterson%netscape.com
0c6159b166 Fix nsAReadableString assertions. r=jst.
git-svn-id: svn://10.0.0.236/trunk@73053 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 08:49:04 +00:00
warren%netscape.com
01f208bc5c Removed DNS_TIMING stuff from release builds. Bug 29534.
git-svn-id: svn://10.0.0.236/trunk@73052 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 08:01:54 +00:00
tajima%eng.sun.com
f1d0769832 XUL based print dialog on UNIX paltform,r=syd
git-svn-id: svn://10.0.0.236/trunk@73051 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 08:00:10 +00:00
mscott%netscape.com
89cbc0175c Bug #38374 --> make sure the temp file we are saving the file to is unqiue by calling make unique.
This call will be replaced by createUnique once that gets checked in. I also need to fix the temp file
name I use as well.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@73050 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 06:42:14 +00:00
waterson%netscape.com
6a43f0364b Added MOZ_COUNT_CTOR/DTOR macros for ftp events. r=warren
git-svn-id: svn://10.0.0.236/trunk@73049 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 06:32:48 +00:00
evaughan%netscape.com
911083bad3 Fix for linux horkage.
git-svn-id: svn://10.0.0.236/trunk@73048 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 06:10:33 +00:00
beard%netscape.com
7fb39e02e0 added assertion to ensure that mPC is always valid before fetching the next instruction.
git-svn-id: svn://10.0.0.236/trunk@73047 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 06:10:14 +00:00
ben%netscape.com
86f82b0f06 fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@73046 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 06:09:05 +00:00
vidur%netscape.com
91fa351b69 Getting rid of debug spewage left in by one of the last couple of checkins
git-svn-id: svn://10.0.0.236/trunk@73045 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 05:51:07 +00:00
saari%netscape.com
107a69004e Fix for nsbeta2+ bug 38673. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@73044 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 05:37:08 +00:00
saari%netscape.com
f8eecd30b7 updating mac project files for evaughan's checkin
git-svn-id: svn://10.0.0.236/trunk@73043 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 05:15:23 +00:00
evaughan%netscape.com
a87e4943ba Autoscrolling menus feature landing #32730
-r hyatt, saari


git-svn-id: svn://10.0.0.236/trunk@73042 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 05:15:04 +00:00
beard%netscape.com
c7d7e1af40 Additional JSClass processing: defining slots, generating methods.
git-svn-id: svn://10.0.0.236/trunk@73041 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 05:13:04 +00:00
beard%netscape.com
af70f28237 When using a JSScope that has a parent scope, don't bother defining the standard properties, they will be shared.
git-svn-id: svn://10.0.0.236/trunk@73040 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 05:10:46 +00:00
beard%netscape.com
62d8ad0434 A JSClass is a JSType now, and has a JSScope. Added addSlot, getSlot, getScope.
git-svn-id: svn://10.0.0.236/trunk@73039 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 05:09:37 +00:00
morse%netscape.com
dd870b875c fix bug 43211, missing text in select-user dialog
git-svn-id: svn://10.0.0.236/trunk@73038 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:59:11 +00:00
ben%netscape.com
dfa14ec130 more classic skin work
git-svn-id: svn://10.0.0.236/trunk@73037 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:57:28 +00:00
mscott%netscape.com
657cc24036 Bug #30157 --> add "network.protocols.useSystemDefaults" preference which is currently FALSE.
if set to TRUE, then link clicks will be dispatched to OS specified default protocol
handlers.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@73036 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:49:47 +00:00
ben%netscape.com
78603c1dd7 didn't mean to check in changes to these files just yet...
git-svn-id: svn://10.0.0.236/trunk@73035 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:49:15 +00:00
mscott%netscape.com
17ef196c7c Bug #10802 --> in order to impelement open attachments, I needed to make sure the
stream converter passes out the same channel it is given. This makes the converter
much more transparant in the conversion process.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@73034 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:48:29 +00:00
mscott%netscape.com
d79f1f4825 Bug #10802 --> remove special case of message/rfc822 content. we resolve this diffently now in order to make
open attachments work.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@73033 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:47:30 +00:00
waterson%netscape.com
b502fc0e74 Fixed refcounting. r=warren
git-svn-id: svn://10.0.0.236/trunk@73032 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:46:58 +00:00
ben%netscape.com
12fc3f3df5 more classic skin work
git-svn-id: svn://10.0.0.236/trunk@73031 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:46:10 +00:00
mscott%netscape.com
c89cf4f0fc Bug #30157 --> add the ability to launch urls using OS default protocol handlers. You must set a pref to
enable this behavior.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@73030 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:44:36 +00:00
mscott%netscape.com
b5e2f56993 Bug #38374, 30157, 10802 --> turn on launching of helper applications to handle content types we don't know how to handle!!
turn on the ability to launch urls using OS default protocol handlers.
uri loader modifications to make open attachment possible.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@73029 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:43:28 +00:00
sspitzer%netscape.com
fe883b7d25 get launching of external apps working on the mac.
also, on the mac only, dump the temp file to the desktop.
r=mscott #38374.


git-svn-id: svn://10.0.0.236/trunk@73028 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:43:13 +00:00
dbaron%fas.harvard.edu
9487e204b2 Clean up the deprecated (and never really official) HTML namespace by replacing with the official XHTML namespace. b=7834,42280 r=vidur
git-svn-id: svn://10.0.0.236/trunk@73027 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:41:29 +00:00
waterson%netscape.com
03f3db19c0 Bug 43566. Fix nsPSMComponent leak. r=dougt
git-svn-id: svn://10.0.0.236/trunk@73026 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:10:25 +00:00
beard%netscape.com
64b6987bb7 remove unused file.
git-svn-id: svn://10.0.0.236/trunk@73025 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:10:04 +00:00
mjudge%netscape.com
88b03321ef fix for 42188,42347 r=akkana . use selection controller to tell the doc if it should display non-text-selection.
git-svn-id: svn://10.0.0.236/trunk@73024 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:01:19 +00:00
mjudge%netscape.com
57f0cefd69 fix for 42188, r=akkana 42347. use selection controller to tell the doc if it should display non-text-selection.
git-svn-id: svn://10.0.0.236/trunk@73023 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 04:00:45 +00:00
racham%netscape.com
56efcd2764 enabling biff bug 36011 review=scottip
git-svn-id: svn://10.0.0.236/trunk@73022 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 03:20:35 +00:00
gayatrib%netscape.com
774bf17511 Enabling biff bug 36011 review=scottip
git-svn-id: svn://10.0.0.236/trunk@73021 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 03:19:21 +00:00
gayatrib%netscape.com
658f7a601e Biff Feature bug 36011 review=scottip
git-svn-id: svn://10.0.0.236/trunk@73020 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 03:19:17 +00:00
mscott%netscape.com
889a4c8fd1 Bug #10802 --> in order to implement open attachment i need the mail news channels to implement set owner
and set/get contenttype
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@73019 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 03:11:20 +00:00
rods%netscape.com
6601b1f95f It wasn't call the NavQuirks sizing code when in NavQuirks mode.
Bug 42521,41629 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@73018 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 02:30:38 +00:00
drapeau%eng.sun.com
ca8d63a49a Two main things:
1) Fix for 23775 (three files changed for this)

2) Many OJI unit tests added.


git-svn-id: svn://10.0.0.236/trunk@73017 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 02:28:31 +00:00
rods%netscape.com
3031721539 minor fixes for reflow so textfield size correctly
Bug 42521, r=evaughan


git-svn-id: svn://10.0.0.236/trunk@73016 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 02:28:01 +00:00
beard%netscape.com
4fa1b03210 putting the JSClass* in the current global scope, and looking up superclass rereferences.
git-svn-id: svn://10.0.0.236/trunk@73015 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 02:22:55 +00:00
waterson%netscape.com
ab0925e6a8 Bug 21650. Add an assertion if the service manager is improperly re-entered. r=dbaron,warren
git-svn-id: svn://10.0.0.236/trunk@73014 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 02:02:48 +00:00
waterson%netscape.com
bb20e07c08 Bugs 21650, 42586. Remove nsISocketTransportService::LateInit(), move code that gets string bundles to lazily grab the bundle when it's needed. This avoids re-entrancy into the service manager which causes a leak. r=dbaron,warren
git-svn-id: svn://10.0.0.236/trunk@73013 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 02:02:04 +00:00
vidur%netscape.com
f8b5560630 Added Mac projects and make requirements from peter.vanderbeken@pandora.be. This is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@73012 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 01:55:42 +00:00
bryner%uiuc.edu
dfdbb96740 Bulletproofing fix for bug 41116. r=saari.
git-svn-id: svn://10.0.0.236/trunk@73011 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 01:54:20 +00:00
varada%netscape.com
b517c67e65 fix for bug#37180 -change nsIFileSpecWithUI to nsIFilePicker; r=scottip
git-svn-id: svn://10.0.0.236/trunk@73010 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 01:38:59 +00:00
sspitzer%netscape.com
0317e3c55d fix for #43548, and possibly #43392.
if internet config tells us the string is of zero length, set the 
out string to null.  r=mscott


git-svn-id: svn://10.0.0.236/trunk@73008 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 01:08:53 +00:00
rusty.lynch%intel.com
048f497f01 fix crasher on read-only filesystem (bug #43512)
-r=dveditz


git-svn-id: svn://10.0.0.236/trunk@73007 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 01:01:39 +00:00
law%netscape.com
f5c930b9a8 Bug 36658; adds urlwidgt dll/xpt to package list for windows
git-svn-id: svn://10.0.0.236/trunk@73006 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:57:23 +00:00
tao%netscape.com
e0f4b4416d Minimum set of langpack files.
git-svn-id: svn://10.0.0.236/trunk@73005 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:53:01 +00:00
saari%netscape.com
0bf1559e41 adding GetRootCommandDispatcher to nsPIDOMWindow for utility.
Needed for beta2+ bug 38673. r=hyatt


git-svn-id: svn://10.0.0.236/trunk@73004 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:42:21 +00:00
law%netscape.com
3ec75d6bd2 Bug 36658; patch submitted by Jesse Burris (JBurris@mmxi.com); adds urlwidget to component list; r=law
git-svn-id: svn://10.0.0.236/trunk@73003 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:36:00 +00:00
law%netscape.com
92fb4d990d Bug 36658; patch submitted by Jesse Burris (JBurris@mmxi.com); r=law
git-svn-id: svn://10.0.0.236/trunk@73002 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:31:24 +00:00
kmcclusk%netscape.com
6e1642ddc9 Nested divs with overflow now correctly position their child divs which have negative translations (patch from Robert O'Callahan) b=41153 r=attinasi@netscape.com tested on WIN32, Linux
git-svn-id: svn://10.0.0.236/trunk@73001 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:27:12 +00:00
jst%netscape.com
52bb73928e Fixing nsbeta2+ bug 33477, completing (more or less) the DOM Level 2 NamedNodeMap implementation, this includes modifying the XML content sink to properly pass attribute prefixes to the content objects. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@73000 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:21:32 +00:00
attinasi%netscape.com
37da4e4434 Additional BuildID parsing needed by Bindu. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@72999 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:18:09 +00:00
inaky.gonzalez%intel.com
adbc59c7c4 Bug #39323. Change nsSoftwareUpdate::mMasterListener to be a
dynamically allocated object instead of a member, so we don't have to
do ugly tricks AddRefing it manually not to get it destroyed (and thus
segfaulting). r=waterson,dvedit a=dvedit


git-svn-id: svn://10.0.0.236/trunk@72998 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:14:22 +00:00
endico%mozilla.org
4739b31161 fix subject on confirmation mail
git-svn-id: svn://10.0.0.236/trunk@72997 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:10:34 +00:00
rogerl%netscape.com
4587e4f98f Added support for 'debugger' as a statement. (Rob made me)
git-svn-id: svn://10.0.0.236/trunk@72996 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:08:10 +00:00
sgehani%netscape.com
5e5606e05e Subdir in Linux installer tarball. (nsbeta2+)
[b=39735; r=ssu]


git-svn-id: svn://10.0.0.236/trunk@72995 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:04:24 +00:00
mscott%netscape.com
e6f27ed02d Bug #10802 --> register mime as a message/rfc822 to */* converter.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72994 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 00:00:52 +00:00
attinasi%netscape.com
aaba2428f9 When the PresShell is notified that a styleshet's state has changed, it now notifies the StyleSet so it can rebuild the rule processors. Part of fix for b=38026 that I missed checking in before (r=karnaze)
git-svn-id: svn://10.0.0.236/trunk@72993 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 23:58:03 +00:00
ftang%netscape.com
34555304c6 fix bug 35076. r=gagan add UCS2toUTF8 conversion before assign UTF8 back to nsString
git-svn-id: svn://10.0.0.236/trunk@72992 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 23:53:21 +00:00
ducarroz%netscape.com
9efa70383e Fix for bug 41137. Add support for mailing list. R=alecf
git-svn-id: svn://10.0.0.236/trunk@72991 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 23:47:16 +00:00
waterson%netscape.com
d0a0fc5cc4 Bug 41534. Fix 'style' attribute on XUL elements; use nsXULAtoms instead of hard-coded atoms. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72990 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 23:29:43 +00:00
dveditz%netscape.com
3a162a7ca2 removing obsolete files
git-svn-id: svn://10.0.0.236/trunk@72989 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 23:18:56 +00:00
av%netscape.com
c45a57b7cb Addressing 41197, r=serge
git-svn-id: svn://10.0.0.236/trunk@72988 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 23:17:50 +00:00
dveditz%netscape.com
a204e818a3 removing obsolete files. These are already not part of the build, but people keep editing them as they match patterns in global chrome cleanup sweeps
git-svn-id: svn://10.0.0.236/trunk@72987 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 23:17:12 +00:00
law%netscape.com
69b71eb39d Fix for 42384; make sure to deallocate using right method; r=bryner
git-svn-id: svn://10.0.0.236/trunk@72986 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 23:17:03 +00:00
chuang%netscape.com
98ddb5a878 Bug 43134 Dragging scrollbar thumb in the threadPane initiates a drag, fix the address book part. r=putterman
git-svn-id: svn://10.0.0.236/trunk@72985 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 23:15:08 +00:00
terry%mozilla.org
981fe96b56 TripleDB has been completely rewritten. Now requires Sleepycat Berkeley DB.
git-svn-id: svn://10.0.0.236/trunk@72984 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 23:11:37 +00:00
alecf%netscape.com
4cca076194 polish for #33101 contributed by
Josh Soref <soref@wam.umd.edu>
thanks timeless!
r=alecf


git-svn-id: svn://10.0.0.236/trunk@72983 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 23:08:07 +00:00
alecf%netscape.com
9629770f21 update paths to mailWidgets.xml for #33101 r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@72982 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 23:04:14 +00:00
tao%netscape.com
c6136ee1ce 41289: Proivde UI in the Browser (View | International Web Content) to
langpack download page.r=jbetak


git-svn-id: svn://10.0.0.236/trunk@72981 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:59:46 +00:00
rginda%netscape.com
0ffbfef04f -- Chatzilla only --
fix for 42947 and 43414 and an unreported regression with the view buttons


git-svn-id: svn://10.0.0.236/trunk@72980 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:57:09 +00:00
alecf%netscape.com
3020a9f247 oops, back out a debugging statement (doesn't affect release build)
git-svn-id: svn://10.0.0.236/trunk@72979 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:53:06 +00:00
alecf%netscape.com
83983a7bb3 pre-select the search folder when brought up from the 3-pane UI, for #33101
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72978 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:52:05 +00:00
av%netscape.com
ec53ea8c95 Part of 23667 fix, r=sean@beatnik.com
git-svn-id: svn://10.0.0.236/trunk@72977 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:51:36 +00:00
dbaron%fas.harvard.edu
38aa3f85f2 Fix leak of a string. r=waterson
git-svn-id: svn://10.0.0.236/trunk@72976 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:51:05 +00:00
morse%netscape.com
b44d6f0356 bug 43451, crash bringing up image viewer
git-svn-id: svn://10.0.0.236/trunk@72975 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:50:19 +00:00
dbaron%fas.harvard.edu
16f95fc441 Fix leak of an atom. r=waterson
git-svn-id: svn://10.0.0.236/trunk@72974 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:49:44 +00:00
dbaron%fas.harvard.edu
e01c1a7a60 Fix leak of nsInputDimensionSpec. r=waterson
git-svn-id: svn://10.0.0.236/trunk@72973 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:49:02 +00:00
alecf%netscape.com
3ea36ac882 move mailWidgets.xml into content - remove from skin
for #33101 r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72972 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:42:25 +00:00
alecf%netscape.com
d98c5ed0b7 move mailWidgets.xml out of skin and into content
(per security requirements) so search (#33101) will keep working


git-svn-id: svn://10.0.0.236/trunk@72971 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:38:24 +00:00
mscott%netscape.com
eca3622e2e 10802 --> implement open attachment
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@72970 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:37:22 +00:00
mscott%netscape.com
a3054b7102 Bug #10802 --> implement open attachment
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@72969 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:36:41 +00:00
av%netscape.com
f81e62f45e Part of 23667 fix, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72968 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:36:37 +00:00
mscott%netscape.com
b5764b3e7d Bug #10802 --> add new interface for fetch mime part
which is only implemented by imap currently...this helps
free up the OpenAttachment name space that this method was
hogging before =).
modify the signature of open attachment to match my needs
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@72967 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:36:06 +00:00
ddrinan%netscape.com
02fa74a0b6 Changed version to 1.2
git-svn-id: svn://10.0.0.236/trunk@72966 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:21:16 +00:00
morse%netscape.com
c507956149 undo change that caused clipping in cookie pref panel
git-svn-id: svn://10.0.0.236/trunk@72965 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:20:11 +00:00
morse%netscape.com
66635ad512 undo change that caused clipping in wallet pref panel
git-svn-id: svn://10.0.0.236/trunk@72964 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:19:36 +00:00
morse%netscape.com
9f16c3ff39 bug 42774, changed security wording, coded=verah, r=morse
git-svn-id: svn://10.0.0.236/trunk@72963 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:17:48 +00:00
sspitzer%netscape.com
e631459f52 work for bug #38374 helperApps.rdf is now mimeTypes.rdf. use the file locator to get the mimeTypes file. fix the unix implementation of nsOSHelperAppService.cpp to go to the base class to determine what application to launch. r=mscott
git-svn-id: svn://10.0.0.236/trunk@72962 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:17:25 +00:00
morse%netscape.com
20528a066d bug 43452, can't get to cookie viewer from prefs panel, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@72961 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:16:55 +00:00
mscott%netscape.com
def6033604 Bug #10802 --> add open attachment action type
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@72960 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:16:07 +00:00
morse%netscape.com
75c3a6876c bug 43201, columns not aligned, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72959 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:15:38 +00:00
sspitzer%netscape.com
d2c8b6c51c work for bug #38374
helperApps.rdf is now mimeTypes.rdf.
use the file locator to get the mimeTypes file.
fix the unix implementation of nsOSHelperAppService.cpp
to go to the base class to determine what application to launch.

r=mscott


git-svn-id: svn://10.0.0.236/trunk@72958 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:14:53 +00:00
mkaply%us.ibm.com
ac7a4c5ce3 #40177
r=cls, a=brendan
OS/2 bring up - need IMPORT_LIBS on OS/2


git-svn-id: svn://10.0.0.236/trunk@72957 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:11:45 +00:00
mkaply%us.ibm.com
2871a99309 #40177
r=cls, a=brendan
OS/2 bring up - copy dirent.h and getopt.h to the dist for VisualAge build


git-svn-id: svn://10.0.0.236/trunk@72956 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:10:43 +00:00
nhotta%netscape.com
67f0a6be64 Changed "force_ascii_search" to false as default, bug 5933, r=bienvenu,taka.
git-svn-id: svn://10.0.0.236/trunk@72955 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:07:32 +00:00
nhotta%netscape.com
74d2221f3b Hooked up charset converter and fixed a couple of bugs
(fixed charset passing to EncodeImap, GetImapCharsetParam to generate "CHARSET" param), bug 5933,r=bienvenu,taka.


git-svn-id: svn://10.0.0.236/trunk@72954 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:07:01 +00:00
ducarroz%netscape.com
e0d586af5d Fix for bug 43365. Avoid to divide by 0 when the tree doesn't have any row. R=hyatt
git-svn-id: svn://10.0.0.236/trunk@72953 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:06:38 +00:00
mscott%netscape.com
9ff01af610 Bug #10802 --> properly report the content type especially in the case of
attachments instead of always reporting "raw"
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72952 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:04:13 +00:00
attinasi%netscape.com
a33c356794 Daily run added for 6-20. Not part of build
git-svn-id: svn://10.0.0.236/trunk@72951 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:03:24 +00:00
andreas.otte%primus-online.de
ffab53289f small performance patch for SetDirectory from jst@netscape.com, r/a=gagan@netscape.com, a=waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@72950 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 22:02:47 +00:00
bryner%uiuc.edu
a660cd8052 Fix bug 43494 - client.mk should stop if you had checkout
conflicts.  r=alecf.


git-svn-id: svn://10.0.0.236/trunk@72949 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 21:56:41 +00:00
vidur%netscape.com
dc8257a1fa Added Unix makefiles and incorporated Andreas Otte's changes for building on Linux. This is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@72948 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 21:41:37 +00:00
javi%netscape.com
0d6134438a Update SSMVersionString value.
git-svn-id: svn://10.0.0.236/trunk@72947 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 21:05:42 +00:00
cotter%netscape.com
aa6d326b2b Minor correction to View Certificate Details section.
git-svn-id: svn://10.0.0.236/trunk@72945 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 20:36:11 +00:00
endico%mozilla.org
3b54fdbe7c send error messages as mail to appropriate parties instead of to stdout
git-svn-id: svn://10.0.0.236/trunk@72944 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 20:00:14 +00:00
larryh%netscape.com
c67cc20fa5 BugZilla: 39942. PR_SetError() calls free()
git-svn-id: svn://10.0.0.236/trunk@72943 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 19:46:28 +00:00
hyatt%netscape.com
78554c2d8f Remove error-checking for bad XUL.
git-svn-id: svn://10.0.0.236/trunk@72942 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 19:34:29 +00:00
alecf%netscape.com
f39732b7d3 fix for assertions - toolbarseparator->separator
a=granrose


git-svn-id: svn://10.0.0.236/trunk@72941 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 18:44:14 +00:00
alecf%netscape.com
cdec49d0cd fix for #43469 - trouble creating a POP account
r=putterman
a=granrose


git-svn-id: svn://10.0.0.236/trunk@72940 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 18:33:42 +00:00
vidur%netscape.com
bd78ce0927 Updated to the new version of nsIPrivateDOMImplementation. We now get a base URL for our own URL resolution from the subject codebase principal. This checkin is for code that is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@72939 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 18:06:49 +00:00
javi%netscape.com
9d491e66f5 We need ssm_swap_bytes defined regardless of whether we're building on a
little endian machine.


git-svn-id: svn://10.0.0.236/trunk@72938 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 17:36:34 +00:00
bienvenu%netscape.com
43a9218387 try to fix build bustage on solaris
git-svn-id: svn://10.0.0.236/trunk@72936 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 14:37:17 +00:00
mkaply%us.ibm.com
2eaaa6d201 # 42637
r = mscott, a = brendan
OS/2 bring-up  - Used false instead of PR_FALSE


git-svn-id: svn://10.0.0.236/trunk@72935 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 14:25:27 +00:00
locka%iol.ie
165bf158bf Fix for incorrect cache checking. Checking in for Tomi.Leppikangas@oulu.fi
b=42505,r=adamlock


git-svn-id: svn://10.0.0.236/trunk@72934 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 14:18:03 +00:00
morse%netscape.com
c9469d0634 remove <div>, change suggested by hyatt, r=morse
git-svn-id: svn://10.0.0.236/trunk@72933 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 14:17:01 +00:00
mkaply%us.ibm.com
a5a6cc46e2 #42637
r=mkaply, a=brendan
OS/2 bring up - Make menus disappear when frame is clicked on


git-svn-id: svn://10.0.0.236/trunk@72932 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 14:00:16 +00:00
mkaply%us.ibm.com
186f173413 #42637
r=mkaply, a=brendan
OS/2 bring up - Make submenus appear


git-svn-id: svn://10.0.0.236/trunk@72931 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 13:59:05 +00:00
jefft%netscape.com
92cc0229f1 fixed bug 18293 - My ISP complains about not receiving a HELO command first; r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@72930 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 13:56:07 +00:00
bienvenu%netscape.com
70517dd15d fix build warning 14653
git-svn-id: svn://10.0.0.236/trunk@72929 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 13:55:44 +00:00
dcone%netscape.com
1ac6576e79 added a new file to the make for the print options. Effects windows only. r=KMcCluskey b=36976
git-svn-id: svn://10.0.0.236/trunk@72928 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 13:39:09 +00:00
dcone%netscape.com
26f1085525 Added an IDL file to the make. Effects Windows build only. r=KMcCluskey b=36796
git-svn-id: svn://10.0.0.236/trunk@72927 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 13:36:45 +00:00
jst%netscape.com
cc6b0ad6cd Fixing linux build bustage introduced by rich.burridge@sun.com. r=andreas.otte@primus-online.de
git-svn-id: svn://10.0.0.236/trunk@72926 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 12:29:14 +00:00
leaf%mozilla.org
6ec92428cb Automated update
git-svn-id: svn://10.0.0.236/trunk@72925 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 11:00:11 +00:00
rich.burridge%sun.com
1c219936b0 Fix to allow Mozilla to build/run on the Solaris Intel platform with
Sun native compilers (SC 5.0 and Workshop 6 aka Forte). The two
xptc...uniish_x86.cpp files are forced to be compiled optimised to
generate the correct assembly code.
r=mccabe@netscape.com a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@72924 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 10:58:06 +00:00
cls%seawood.org
4ad72b621b *sigh*. VPATH is seeing the old .o in unix for the non-objdir builds that recently ran so we need to remove it.
git-svn-id: svn://10.0.0.236/trunk@72923 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 09:23:09 +00:00
mscott%netscape.com
0f0df2f5bc maybe this wasn't the breakage...I was just backing out the makefile too quickly. linux went greeen
before this change went in the build.


git-svn-id: svn://10.0.0.236/trunk@72922 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 08:53:11 +00:00
mscott%netscape.com
cd1188e9a4 backing out dauphin's fix for my objdir breakage as it seems to break non-objdir linux builds.
git-svn-id: svn://10.0.0.236/trunk@72921 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 08:46:18 +00:00
ben%netscape.com
754a08046f fix call palcement, suggested by jag on IRC, r=me
git-svn-id: svn://10.0.0.236/trunk@72920 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 08:43:41 +00:00
pinkerton%netscape.com
0017dac901 fix leaked timer, bug 28226, r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@72919 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 08:42:18 +00:00
pinkerton%netscape.com
d3b1d2fab8 Adding drag auto-scrolling to trees. bug 28226, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72918 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 08:41:49 +00:00
pinkerton%netscape.com
e28bd7bc82 Adding drag auto-scrolling to trees, bug#28226, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72917 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 08:41:16 +00:00
pinkerton%netscape.com
c68de33028 Add drag auto-scrolling to trees. bug#28226, r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@72916 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 08:40:37 +00:00
cls%seawood.org
b5963d1ade Prepend additional paths to LD_LIBRARY_PATH rather than overriding it.
Pass ConfigureEnvArgs to make.


git-svn-id: svn://10.0.0.236/trunk@72915 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 08:14:54 +00:00
cls%seawood.org
4adca1d390 Fixed objdir bustage. r=bryner
git-svn-id: svn://10.0.0.236/trunk@72914 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 07:52:35 +00:00
ben%netscape.com
de5b7895b3 fix assert on startup
git-svn-id: svn://10.0.0.236/trunk@72913 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 07:43:40 +00:00
Peter.VanderBeken%pandora.be
8fe9d99bb1 Use StringList (instead of hashmap) for namespace URIs. Not part of build yet. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@72912 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 07:30:07 +00:00
Peter.VanderBeken%pandora.be
2faa5c64d3 Fix UNICODE_CHAR bustage. Not part of build yet. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@72911 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 07:29:20 +00:00
Peter.VanderBeken%pandora.be
af1ffa59d8 Remove include workaround. Not part of build yet. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@72910 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 07:27:54 +00:00
mscott%netscape.com
c7232c80dc Bug #10802 --> expose load types to load info class so callers can set the load type
this is needed to implement things like open attachment so we can make the doc shell
think a user click happened when it talks to the uriloader.

I removed two boolean fields which were representing two load types. Simplified the api by allowing you
to pass in any of our load types.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@72909 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 07:22:23 +00:00
mscott%netscape.com
374400d4d9 Bug #38374 --> we were throwing an assertion in correctly because we couldn't create a content viewer. This is
actually an okay case, we'll later try to fire a helper app in this condition. No need to assert.

r=valeski


git-svn-id: svn://10.0.0.236/trunk@72908 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:55:10 +00:00
ben%netscape.com
8f13170c10 classic skin work
git-svn-id: svn://10.0.0.236/trunk@72907 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:49:43 +00:00
morse%netscape.com
6c6c5ea322 fix bugs 42298 and 42299, wallet broken on mac, r=rjc
git-svn-id: svn://10.0.0.236/trunk@72906 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:47:34 +00:00
mscott%netscape.com
f3b76591bd add new files to mac project
git-svn-id: svn://10.0.0.236/trunk@72905 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:39:49 +00:00
mscott%netscape.com
09fc8199e6 add new files to idl project.
git-svn-id: svn://10.0.0.236/trunk@72904 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:39:33 +00:00
mscott%netscape.com
8778a786e8 export the idl files for exthandler
git-svn-id: svn://10.0.0.236/trunk@72903 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:38:45 +00:00
morse%netscape.com
1b667ee1ea update wallet tables, not part of build
git-svn-id: svn://10.0.0.236/trunk@72902 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:31:58 +00:00
mscott%netscape.com
20c904f160 Start linking with exthandler static lib.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72901 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:26:05 +00:00
mscott%netscape.com
0fef56a4c7 Throw the switch and start building exthandler on unix. Not actually called by anything yet.
Bug #38374 and #30157
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72900 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:25:45 +00:00
mscott%netscape.com
29f9399b0a Add nsHelperAppRDF.h to the build.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72899 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:24:50 +00:00
mscott%netscape.com
beb4dfc2a4 Throw the switch and start building the exthandler directory on windows. None of this code being called yet.
this if for Bug #38374 and #30157 (launch external applications and launch using default protocol handlers)
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72898 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:24:01 +00:00
alecf%netscape.com
ee07919d75 fix for 43134 r=putterman
git-svn-id: svn://10.0.0.236/trunk@72897 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:20:14 +00:00
mscott%netscape.com
ffe8c6543d not part of the build!!!
fixes to get this buildling on the mac


git-svn-id: svn://10.0.0.236/trunk@72896 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:04:23 +00:00
mscott%netscape.com
970ba5efdb not part of the build!!!
fixes to get this building on the mac.


git-svn-id: svn://10.0.0.236/trunk@72895 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:04:06 +00:00
ben%netscape.com
b4d8067d91 fix prefwindow js errors
git-svn-id: svn://10.0.0.236/trunk@72894 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:03:09 +00:00
ben%netscape.com
6b36362463 fix prefwindow js errors, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72893 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 06:03:02 +00:00
pierre%netscape.com
27b7750cd1 #31136 (Rename prefs from "browser.xxx" to "browser.display.xxx"). Final and trivial touch to the larger fix from mcafee.
git-svn-id: svn://10.0.0.236/trunk@72892 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:41:11 +00:00
cmanske%netscape.com
290fb40fb7 Implement switching betweeen TH and TD elements for table editing. b=20973, r=jfrancis, akkana
git-svn-id: svn://10.0.0.236/trunk@72891 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:39:54 +00:00
pierre%netscape.com
f74c146d92 #12403 "border-style: hidden should force border-width: 0". Fixed RecalcData() to handle 'hidden' similarly to 'none'. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@72890 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:38:26 +00:00
rpotts%netscape.com
d40c34e0a8 DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer
git-svn-id: svn://10.0.0.236/trunk@72889 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:38:07 +00:00
radha%netscape.com
228d30b9de More code for feature bug 36547. CODE NOT PART OF TEH BUILD. reviewer will be provided when the feature is enabled.
git-svn-id: svn://10.0.0.236/trunk@72888 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:36:13 +00:00
pierre%netscape.com
5f1fee244c #42325 "Won't show page on www.teamtalk.com". Fix the parsing of ROWS="*%" in FRAMESETs. r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@72887 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:32:56 +00:00
pierre%netscape.com
59320e5d39 #42029 "Dynamic use of the clip property is causing repaint problems". Make the clip area coordinates conform to the latest spec. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@72886 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:28:36 +00:00
cmanske%netscape.com
301d82ee01 Checkin for sfraser: Fix document-load listener to work when loading URL into an existing Composer window. b=41584, r=cmanske
git-svn-id: svn://10.0.0.236/trunk@72885 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:24:42 +00:00
attinasi%netscape.com
b50c868ad4 Eliminated warnings from recent checkin (trivial changes).
git-svn-id: svn://10.0.0.236/trunk@72884 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:14:32 +00:00
mscott%netscape.com
b51a2c172a Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

oops i reall don't want this file...take it back.


git-svn-id: svn://10.0.0.236/trunk@72883 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:06:02 +00:00
mscott%netscape.com
abe4af79de Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

add manifest file for the mac


git-svn-id: svn://10.0.0.236/trunk@72882 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 04:59:45 +00:00
cmanske%netscape.com
c17dd40810 Checking for brade: Use PreventDefault instead of returning NS_ERROR_BASE to stop event processing in mouse listners. b=42510, r=cmanske
git-svn-id: svn://10.0.0.236/trunk@72881 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 04:54:55 +00:00
mscott%netscape.com
baac52dea7 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

More mac file updates.


git-svn-id: svn://10.0.0.236/trunk@72880 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 04:41:36 +00:00
mcafee%netscape.com
d5a767b7c7 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@72879 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 04:26:39 +00:00
rhp%netscape.com
dd0ef651da Adding COOL Auth to ABSync - Bug #: 43022 - r: jefft
git-svn-id: svn://10.0.0.236/trunk@72878 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 04:21:43 +00:00
mcafee%netscape.com
710e85fe09 Contributed by Ken Estes <kestes@staff.mail.com>. Not part of normal mozilla build.
git-svn-id: svn://10.0.0.236/trunk@72877 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 04:17:19 +00:00
ben%netscape.com
9149f0da73 appearance fixes for browser main window (classic skin), expands upon german/hangas' earlier work.
git-svn-id: svn://10.0.0.236/trunk@72876 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 04:03:35 +00:00
tao%netscape.com
b65e8650fd 41054: Bundle 2-3 language packs with Seamonkey.r=jbetak.
git-svn-id: svn://10.0.0.236/trunk@72875 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 03:38:12 +00:00
tao%netscape.com
b52dc9675c 41054: Bundle 2-3 language packs with Seamonkey. r=jbetak.
git-svn-id: svn://10.0.0.236/trunk@72874 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 03:36:02 +00:00
mscott%netscape.com
351bcb91e4 Bug #10802 --> for open attachment, the mime converter needs to remember the
content type of the part is about to output.
r=rhp


git-svn-id: svn://10.0.0.236/trunk@72873 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 03:25:22 +00:00
cmanske%netscape.com
5b42cf3b3e Changes to <tree> usage for lists to conform to new XUL requiring <treecolgroup>. b=30511, r=bryner. Table editing xul/js work for bug 20973, r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@72872 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 03:13:08 +00:00
cmanske%netscape.com
f84202a2dd Simple comment change for clarity relating to table editing. b=20973, r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@72871 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 03:09:19 +00:00
tao%netscape.com
8912b6beee Use MOZ_LANGPACKS to control whether to build subdirs.
git-svn-id: svn://10.0.0.236/trunk@72870 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 02:52:03 +00:00
pollmann%netscape.com
5979bfb8c3 Bug 41585: Don't chop of query string when POSTing forms, only when GETting them r=harishd
git-svn-id: svn://10.0.0.236/trunk@72869 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 02:49:01 +00:00
pollmann%netscape.com
abe0bd1dd3 Bug 23571: Send an onchange event when a checkbox is (un)checked r=harishd
git-svn-id: svn://10.0.0.236/trunk@72868 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 02:46:53 +00:00
mcafee%netscape.com
4ab84e10d6 Adding PSM menu item to debug menu, localizing Composer test page menu (31521). r=matt, cmanske
git-svn-id: svn://10.0.0.236/trunk@72867 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 01:56:43 +00:00
bryner%uiuc.edu
4d12825f17 Fixing bug 15555. r=danm.
git-svn-id: svn://10.0.0.236/trunk@72866 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 01:39:40 +00:00
ben%netscape.com
1a32d9adc2 [classic skin] file organisation tango (share securityOverlay betw. platforms, fix classic skin startup failure by telling css file to get icons from right place)
git-svn-id: svn://10.0.0.236/trunk@72865 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 01:34:06 +00:00
javi%netscape.com
cf33ce111f Fix unicode conversion for win32 so that p12 export/import works again.
git-svn-id: svn://10.0.0.236/trunk@72864 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 01:28:03 +00:00
alecf%netscape.com
259f5d07b7 fix for #38027 - temporarily workaround broken html:selects by using a menulist and a hidden input
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72863 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 01:20:25 +00:00
cmanske%netscape.com
53059d96ce Fixed xul to use new treecolgroup in Composer main window b=30511 (by bryner, r=cmanske). Removed textfield in colorpicker - doesn't work, crashes in Linux b=41619, r=akkana
git-svn-id: svn://10.0.0.236/trunk@72862 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 01:13:28 +00:00
hyatt%netscape.com
b4bfe37959 Same bug as prev. checkin
git-svn-id: svn://10.0.0.236/trunk@72861 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 01:02:11 +00:00
shanjian%netscape.com
cb25c83080 Back out my previous change because the test failed on Linux.
Need to find out what's happening.


git-svn-id: svn://10.0.0.236/trunk@72860 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:54:43 +00:00
cls%seawood.org
8c810432fd Initial version. Bug #43357
git-svn-id: svn://10.0.0.236/trunk@72859 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:52:57 +00:00
evaughan%netscape.com
4445f1d95b Fix for dogfood bug #43206
git-svn-id: svn://10.0.0.236/trunk@72858 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:48:49 +00:00
danm%netscape.com
2972eb8e6e tracking change of name of window.content to _content. (bug 33650) r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72857 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:48:45 +00:00
hangas%netscape.com
e68d6e8c82 Fixing toolbar appearance on Classic Skin Mac, Win, Linux. Bug 41272. Written by German r=hangas
git-svn-id: svn://10.0.0.236/trunk@72856 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:48:41 +00:00
danm%netscape.com
0d626426f0 changing name of window.content to _content. bug 33650. r=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72855 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:42:34 +00:00
larryh%netscape.com
288570b7b7 BugZilla: 43337. PR_GetPeerName() asserts on NT
git-svn-id: svn://10.0.0.236/trunk@72854 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:42:05 +00:00
anthonyd%netscape.com
4abc5bba4f bug fix for #40742
crasher in DrillDownToEndOfLine()
r:mjudge a:beppe precheckin test done


git-svn-id: svn://10.0.0.236/trunk@72853 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:41:42 +00:00
attinasi%netscape.com
8bfb7bdd72 Reversed the order of testing for link-elements so that the most common (anchors) are tested first. Update to earlier checkin.
git-svn-id: svn://10.0.0.236/trunk@72852 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:41:25 +00:00
cata%netscape.com
20be06a0d4 Turning on charset override by default. r=nhotta a=ftang bug #41620.
git-svn-id: svn://10.0.0.236/trunk@72851 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:41:02 +00:00
bryner%uiuc.edu
cd180f189c First part of fix for 42345. Also fixes 42035. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@72850 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:39:49 +00:00
hyatt%netscape.com
b4f657bd5d XBL groundwork for 41145. r=ben
git-svn-id: svn://10.0.0.236/trunk@72849 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:36:19 +00:00
mcafee%netscape.com
14f60387b7 History was loading tasksOverlay.xul from the wrong place. (43043) r=akkana,jrgm
git-svn-id: svn://10.0.0.236/trunk@72848 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 00:07:42 +00:00
vidur%netscape.com
d9c3fc48fb Fix for bug 42278. Thought I'd got it with my prior checkin, but didn't notice rbs@maths.uq.edu.au's prior checkin to switch the namespace string literals. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72847 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:59:21 +00:00
beard%netscape.com
b2ad6db1a4 JSClass support.
git-svn-id: svn://10.0.0.236/trunk@72846 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:58:17 +00:00
beard%netscape.com
36c74a5208 initial checkin, starting on a representation for JS2 classes.
git-svn-id: svn://10.0.0.236/trunk@72845 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:57:09 +00:00
vidur%netscape.com
756dc76c80 Fix for bug 38349. Implemented nsIDOMNode::CloneNode() and ImportNode() for XML and HTML documents as part of finishing out our DOM1 and DOM2 implementations. Cleanup of DOMImplementation::createDocument. r=jst
git-svn-id: svn://10.0.0.236/trunk@72844 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:56:52 +00:00
attinasi%netscape.com
7eb58b89d3 Fixed bug 6306: AREA and LINK elements are now treated like links when it comes to matching selectors. Cleaned up SelectorMatches as well by moving link-logic into new method. r=kmcclusk@netscape.com b=6306
git-svn-id: svn://10.0.0.236/trunk@72842 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:48:21 +00:00
shanjian%netscape.com
77c22fe3b4 #40734 URL wrap
r = ftang
do the line breaking using western rule (dominant space). If a CJK
char is found, back to 4051.


git-svn-id: svn://10.0.0.236/trunk@72841 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:33:50 +00:00
ddrinan%netscape.com
112cd9a345 Add new attribute id to socket status resource. Bug #39680
git-svn-id: svn://10.0.0.236/trunk@72840 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:31:28 +00:00
ddrinan%netscape.com
447ae6670e Checked in fix for bug# 39680
git-svn-id: svn://10.0.0.236/trunk@72839 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:26:53 +00:00
nhotta%netscape.com
ba83736aa1 Changed to apply UTF-8 to UCS2 conversion before assigning the string to nsString, bug 42873, r=cata.
git-svn-id: svn://10.0.0.236/trunk@72838 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:26:36 +00:00
gagan%netscape.com
274afa85cf Part fix for bug 35956. HTTP now has an API to turn off automatic gunziping. r=rjc
git-svn-id: svn://10.0.0.236/trunk@72836 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:18:12 +00:00
varada%netscape.com
fc227477f9 fix for bug #20183;warn before deleting addressbook r=mscott
git-svn-id: svn://10.0.0.236/trunk@72835 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:15:54 +00:00
shanjian%netscape.com
cb49b8d942 #40734 URL wrap
r = ftang
'<' and '>' should be treated as open and close quote, because
they are often used that way.


git-svn-id: svn://10.0.0.236/trunk@72833 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:07:34 +00:00
wtc%netscape.com
0fec63268c bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser
git-svn-id: svn://10.0.0.236/trunk@72832 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:05:27 +00:00
shanjian%netscape.com
4cb5796071 #40734 URLs wrap
r = ftang
'<' and '>' should be treated as open and close quote, because they are
often used that way.


git-svn-id: svn://10.0.0.236/trunk@72831 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:04:25 +00:00
shanjian%netscape.com
6ba48000f9 #40463 Cannot type anything in Composer at selecting Auto-Detect menus
After a new charset dectector is selected, url should be reloaded.
r=sfraser


git-svn-id: svn://10.0.0.236/trunk@72830 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 22:59:59 +00:00
av%netscape.com
56e5653a55 Addressing #23667 patch by sean@beatnik.com, r=av, a=brendan
git-svn-id: svn://10.0.0.236/trunk@72829 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 22:57:17 +00:00
wtc%netscape.com
d0d24a7d8c Checked in IPv6 patch for OpenVMS from Colin Blake <colin@theblakes.com>.
git-svn-id: svn://10.0.0.236/trunk@72828 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 22:51:45 +00:00
ducarroz%netscape.com
fc14561611 Fix for bug 43222
git-svn-id: svn://10.0.0.236/trunk@72827 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 22:46:03 +00:00
leaf%mozilla.org
31353b21fa added mozilla/tools/elf-dynstr-gc to SeaMonkeyCore for smaller elf binaries
git-svn-id: svn://10.0.0.236/trunk@72826 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 22:42:31 +00:00
andreas.otte%primus-online.de
a481b30ea1 fix bug 42342, [regression} Text before ':' in URL is interpreted as protocol, r=Adam Lock, Scott Collins, a=Chris Waterson
git-svn-id: svn://10.0.0.236/trunk@72825 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 22:36:50 +00:00
rogerl%netscape.com
c263fddb6c Work to support 'this'.
git-svn-id: svn://10.0.0.236/trunk@72823 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 22:32:21 +00:00
dcone%netscape.com
df06ab5472 New interface definition for printer options. a=KMcCluskey
git-svn-id: svn://10.0.0.236/trunk@72821 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 22:21:34 +00:00
bryner%uiuc.edu
0c97e4d4cb Moving persistence-related methods from nsIXULWindow to
nsIWebBrowserChrome as a basis for fixing bug 15555.  r=valeski.


git-svn-id: svn://10.0.0.236/trunk@72820 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 22:05:28 +00:00
sspitzer%netscape.com
2e200ba0fb fix for #42216. don't migrate the remember password pref for a server.
git-svn-id: svn://10.0.0.236/trunk@72819 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 22:03:03 +00:00
alecf%netscape.com
343cfc160f fix for #42330 contributed by gemal@gemal.dk
r=alecf
a=waterson


git-svn-id: svn://10.0.0.236/trunk@72818 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 21:41:28 +00:00
alecf%netscape.com
3c73f4ee7c fix for #42346 contributed by gemal@gemal.dk
a=waterson
r=alecf


git-svn-id: svn://10.0.0.236/trunk@72817 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 21:39:43 +00:00
radha%netscape.com
02769e6ea5 Fix for bug # 41555 r=pollmann. Update SH with form values on reload too.
A fallout from one of the earlier checkins. THis should also fix another
bug pollmann has.


git-svn-id: svn://10.0.0.236/trunk@72816 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 21:33:17 +00:00
robinf%netscape.com
16b188fc34 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@72815 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 21:17:44 +00:00
alecf%netscape.com
3e155e7b77 hook up nsIMsgWindow and status feedback to search #33101
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72814 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 21:15:55 +00:00
robinf%netscape.com
1cf864a66e *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@72813 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 21:12:02 +00:00
ducarroz%netscape.com
911c02c5ee Fix for bug 31693. Disable UI element when a Send/Save is in process. R=putterman
git-svn-id: svn://10.0.0.236/trunk@72812 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 21:11:53 +00:00
alecf%netscape.com
6f73f586b5 move mail status bar into a common overlay so that it can be used elsewhere like search (#33101)
r=putterman


git-svn-id: svn://10.0.0.236/trunk@72811 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 21:11:34 +00:00
blizzard%redhat.com
df1e752a39 string library vs. gcc 2.7.2. Round 3. Fight!
git-svn-id: svn://10.0.0.236/trunk@72810 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 21:09:54 +00:00
wtc%netscape.com
d0c72e3f1e Removed unused makefile variable DSO_LDFLAGS.
Modified files: FreeBSD.mk, HP-UX.mk, Linux.mk, NEWS-OS.mk, NetBSD.mk,
OpenBSD.mk


git-svn-id: svn://10.0.0.236/trunk@72809 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 21:07:10 +00:00
dougt%netscape.com
641e13e99c removing lame asserts so you can see it work.
NOT PART OF BUILD - test app work


git-svn-id: svn://10.0.0.236/trunk@72808 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 21:05:39 +00:00
harishd%netscape.com
0afaf65820 Fix bugs
18480 (nsbeta2+) - Hack to contain stack over flow
patch=jst, r=harishd.

40216 (nsbeta2+) - Shouldn't deal with mInsideNoXXXTag memeber for NOLAYER ( ON  by default ).
patch=rginda, r=harishd.


git-svn-id: svn://10.0.0.236/trunk@72807 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 20:53:10 +00:00
ddrinan%netscape.com
0d3c2e325b Some bug fixes
git-svn-id: svn://10.0.0.236/trunk@72806 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 20:52:33 +00:00
harishd%netscape.com
5288903c8f Fix bug
40713 ( nsbeta2+ ) - Style should leak out of TABLE.

r=dbaron@fas.harvard.edu


git-svn-id: svn://10.0.0.236/trunk@72804 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 20:50:00 +00:00
attinasi%netscape.com
84978456a9 Implemented Style Context Data sharing, reducing the amount of memory used in style by about 40%. Performance will degrade by about 10%, that is being worked on now. b=39618 r=waterson
git-svn-id: svn://10.0.0.236/trunk@72803 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 20:44:59 +00:00
ddrinan%netscape.com
739d6e076c Must convert unicode to/from NBO/HBO on little endian systems
git-svn-id: svn://10.0.0.236/trunk@72802 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 20:43:30 +00:00
mscott%netscape.com
b07d95d06c Bug #38374 --> fix refcounting problem on the application field
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72801 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 20:38:52 +00:00
blizzard%redhat.com
3c719298b1 try to fix solaris
git-svn-id: svn://10.0.0.236/trunk@72800 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 20:22:55 +00:00
javi%netscape.com
134fb8be7d Give these files a license.
git-svn-id: svn://10.0.0.236/trunk@72798 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 19:38:03 +00:00
morse%netscape.com
6e18a41b73 fix bug 43227 error in mac menu, r=dbragg
git-svn-id: svn://10.0.0.236/trunk@72797 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 19:36:33 +00:00
morse%netscape.com
96e56036bb fix bugs 43235,43241,42415, polish wallet editor, r=dbragg
git-svn-id: svn://10.0.0.236/trunk@72796 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 19:34:55 +00:00
blizzard%redhat.com
cb71cab2ab fix backwards check in GtkMozEmbedChrome::FindNamedBrowserItem as pointed out by Steven Work <steve@renlabs.com> r,a=brendan,waterson
git-svn-id: svn://10.0.0.236/trunk@72795 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 19:26:38 +00:00
chuang%netscape.com
74471ccdf1 Bug 32286 Exception Feature - Edit mailing list in address book, r=putterman
git-svn-id: svn://10.0.0.236/trunk@72794 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 19:25:45 +00:00
granrose%netscape.com
fb08825cd1 changing milestone from M16 to M17 in user agent string.
git-svn-id: svn://10.0.0.236/trunk@72793 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 19:23:51 +00:00
blizzard%redhat.com
867d6d38f4 fix for bug #42031. fix string leaks in moz remote code that I caused. r=waterson,scc a=waterson
git-svn-id: svn://10.0.0.236/trunk@72792 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 19:20:44 +00:00
cyeh%bluemartini.com
37dd6ebd32 Checkin for Bug 42851 'Use listbox with input for CC management on bug form'
contributed by dave@intrec.com (Dave Miller)


git-svn-id: svn://10.0.0.236/trunk@72791 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 19:03:45 +00:00
tao%netscape.com
e7c9b31277 Add langpacks.
git-svn-id: svn://10.0.0.236/trunk@72788 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 18:48:16 +00:00
chrisk%netscape.com
ad3c068fdf Added some comments and asserts
git-svn-id: svn://10.0.0.236/trunk@72781 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 18:12:02 +00:00
brendan%mozilla.org
ad1e1644ba Hoist loop invariant.
git-svn-id: svn://10.0.0.236/trunk@72780 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 18:03:34 +00:00
brendan%mozilla.org
fd75093332 Comment fixes.
git-svn-id: svn://10.0.0.236/trunk@72779 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 18:03:01 +00:00
tao%netscape.com
38c8ec60b9 Creating a placeholder for en-GB
git-svn-id: svn://10.0.0.236/trunk@72777 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 18:02:11 +00:00
brendan%mozilla.org
3d43822a6a Fix skip-one-frame-too-many backtrace lossage; update TODO.
git-svn-id: svn://10.0.0.236/trunk@72776 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 17:59:30 +00:00
nboyd%atg.com
b3f84fe9a2 Fix javadoc warning
git-svn-id: svn://10.0.0.236/trunk@72775 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 15:49:14 +00:00
cmanske%netscape.com
35ce501ebc Adding simple up, down, left, right arrow images for use by Composer Table Properties dialog (bug 20973) and also needed by prefs dialog. Changed editor CSS files to use these images. r=ben
git-svn-id: svn://10.0.0.236/trunk@72774 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 14:32:53 +00:00
Jerry.Kirk%Nexwarecorp.com
109c165e9a NOT PART OF BUILD - PHOTON ONLY
Simple for the Photon font name


git-svn-id: svn://10.0.0.236/trunk@72773 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 14:26:25 +00:00
brade%netscape.com
05541b0c69 don't let shift-keybinding work for new message, undo, redo, select all, cut, copy, paste (explicitly set shift="false") for bug #41989 (r=Pike,jst)
git-svn-id: svn://10.0.0.236/trunk@72772 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 14:26:16 +00:00
brade%netscape.com
85d8f0e5c2 don't let shift-keybinding work for open local, open remote, save, close, print, quit, find, find next, check spelling, bold, italic, underline (explicitly set shift="false") for bug #41989; r=jst, Pike
git-svn-id: svn://10.0.0.236/trunk@72771 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 14:20:42 +00:00
Jerry.Kirk%Nexwarecorp.com
478f158cba NOT PART OF BUILD - PHOTON ONLY
Small fix to remove GetCurrentSession method


git-svn-id: svn://10.0.0.236/trunk@72770 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 14:08:53 +00:00
bienvenu%netscape.com
cf68d00d31 fix running search twice, send notification on search done, add support for interrupting search , 33101 r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@72769 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 14:04:34 +00:00
dbragg%netscape.com
7a4c1b2e85 Fix for nsbeta2+ bug #40783 r=ssu
git-svn-id: svn://10.0.0.236/trunk@72768 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 13:43:37 +00:00
dbragg%netscape.com
0ab8a40f04 Fix for nsbeta2+ bug #37855 r=ssu
git-svn-id: svn://10.0.0.236/trunk@72767 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 13:43:07 +00:00
dbragg%netscape.com
b2bf67c3b3 Fix for nsbeta2+ bug #37848 r=ssu
git-svn-id: svn://10.0.0.236/trunk@72766 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 13:42:26 +00:00
locka%iol.ie
5df8ab853a NOT PART OF BUILD. Fixed a memory leak. Added a stop button. Added code to update the URL field when a page is loaded
git-svn-id: svn://10.0.0.236/trunk@72765 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 13:30:31 +00:00
locka%iol.ie
a0d9972be0 NOT PART OF BUILD. Created variant of NS_InitEmbedding that accepts an nsILocalFile object as a parameter
git-svn-id: svn://10.0.0.236/trunk@72764 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 13:19:12 +00:00
locka%iol.ie
7998f606b0 Added new enum for docshell tree items that own chrome content
git-svn-id: svn://10.0.0.236/trunk@72763 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 13:07:22 +00:00
locka%iol.ie
c1eb9afb8d NOT PART OF BUILD. Moved API declarations into nsEmbedAPI.h
git-svn-id: svn://10.0.0.236/trunk@72762 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 13:05:49 +00:00
locka%iol.ie
41b06f8880 NOT PART OF BUILD. Added exports for nsEmbedAPI.h, fixed a duff dependency rule
git-svn-id: svn://10.0.0.236/trunk@72761 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 13:05:21 +00:00
locka%iol.ie
0b2556aef4 NOT PART OF BUILD. Added preliminary header file for embedding API
git-svn-id: svn://10.0.0.236/trunk@72760 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 13:03:05 +00:00
locka%iol.ie
ab02ebf7ba Added nsIContextMenuListener to build
git-svn-id: svn://10.0.0.236/trunk@72759 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 12:50:38 +00:00
locka%iol.ie
d7fc50add6 New nsIContextMenuListener interface
git-svn-id: svn://10.0.0.236/trunk@72758 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 12:49:58 +00:00
locka%iol.ie
6d162b6454 Commented out both embedding hacks by default
git-svn-id: svn://10.0.0.236/trunk@72757 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 12:48:11 +00:00
brade%netscape.com
6a0493cc90 diff submitted by Josh Soref (soref@wam.umd.edu); add class and statusbar=true to progressmeter (a=waterson; r=sfraser) bug #41645
git-svn-id: svn://10.0.0.236/trunk@72756 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 12:42:24 +00:00
sdv%sparc.spb.su
4e33cfefc1 fix for bug=43290
git-svn-id: svn://10.0.0.236/trunk@72755 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 12:20:08 +00:00
mscott%netscape.com
0ca2097747 Bug #38374 --> NOT PART OF THE BUILD YET!!!!
more unix updates for helper application support


git-svn-id: svn://10.0.0.236/trunk@72754 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 08:37:32 +00:00
mscott%netscape.com
41fad92076 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

unix updates


git-svn-id: svn://10.0.0.236/trunk@72753 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 08:34:58 +00:00
mscott%netscape.com
e4964f6ab4 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

export our rdf vocabulary header file.


git-svn-id: svn://10.0.0.236/trunk@72752 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 08:29:47 +00:00
mscott%netscape.com
04fe2e2da5 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Landing of the RDF data source which keeps track of all the user specified mime type information.
Landing implementation of user over ride information when determining what helper app to run. now we'll
check the information stored in the data source first. If we don't ahve any over-ride information, then
fall back to the OS defaults.


git-svn-id: svn://10.0.0.236/trunk@72751 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 08:29:13 +00:00
radha%netscape.com
b3b4c14d9e New methods in nsIwebNavigation
git-svn-id: svn://10.0.0.236/trunk@72750 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 08:04:00 +00:00
endico%mozilla.org
b8a1d4b946 forgot the reporter and URL fields
git-svn-id: svn://10.0.0.236/trunk@72749 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 07:52:25 +00:00
endico%mozilla.org
df67d5c475 was converting from dbid to login + real name. Remove the real name
git-svn-id: svn://10.0.0.236/trunk@72748 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 07:50:16 +00:00
radha%netscape.com
2e86ea57c7 Dummy implementation for 2 new methods in nsIWebNavigation. fix burning tree.
git-svn-id: svn://10.0.0.236/trunk@72747 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 07:28:45 +00:00
BlakeR1234%aol.com
5f3c82bbcc Fix for bug 40591. r=scc, alecf a=pink
git-svn-id: svn://10.0.0.236/trunk@72746 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 07:08:10 +00:00
alecf%netscape.com
e420477f3c fix solaris bustage
git-svn-id: svn://10.0.0.236/trunk@72745 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 06:57:03 +00:00
BlakeR1234%aol.com
55034c0981 Fix for bug 43261, just a typo.
git-svn-id: svn://10.0.0.236/trunk@72744 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 06:43:00 +00:00
radha%netscape.com
48f3b6c24f More checkins for feature bug 36547. r=self(module owner) All code in this checkin are unused
ie., feature  not enabled.


git-svn-id: svn://10.0.0.236/trunk@72743 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 06:40:08 +00:00
BlakeR1234%aol.com
d1c84c620c Fix for bug 43263, just a typo.
git-svn-id: svn://10.0.0.236/trunk@72742 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 06:39:35 +00:00
alecf%netscape.com
8111b9a788 extra files I missed in the last checkin r=putterman
git-svn-id: svn://10.0.0.236/trunk@72741 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 06:35:58 +00:00
alecf%netscape.com
18d0a94766 move out threadpane-specific code so it can be reused in the search dialog for #33101 r=putterman
git-svn-id: svn://10.0.0.236/trunk@72740 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 06:34:59 +00:00
mscott%netscape.com
cdad905fd9 Bug #38374 --> add application and user preferred handle action to mime info.
I'm going to be storing this information in the helper app code.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@72739 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 06:34:43 +00:00
mscott%netscape.com
d92552bbfe Bug #33768 --> add MakeUnqiue to nsIFile. this is actually dougt's code.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@72738 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 06:32:45 +00:00
mscott%netscape.com
61621593ad Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD!!!!!!!!!)
code review will come when this is done and gets turned on.

RDF header file which defines our vocabulary for the mime mapping data source.


git-svn-id: svn://10.0.0.236/trunk@72737 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 05:27:29 +00:00
scc%mozilla.org
a6b40ede8b fix for commercial bustage on Mac (adding |operator const CharT*() const| to |basic_nsLiteralString|). fix for blizzards linux changes needing working |Substring|. r=beard,syd
git-svn-id: svn://10.0.0.236/trunk@72736 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 05:13:10 +00:00
dmose%mozilla.org
1ffa061258 made bindname an attribute of nsILDAPConnection. folded all remaining code from ldapSearch.cpp into various parts of nsLDAPChannel in preparation for pushing threading down out of nsLDAPChannel and into the core SDK wrapper classes (nsILDAP{Connection,Operation,Message}). added an (as-yet unimplemented) toString method to nsILDAPMessage; some of the code in nsLDAPChannel should eventually move there. a=r=(notbuilt)
git-svn-id: svn://10.0.0.236/trunk@72735 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 04:44:58 +00:00
endico%mozilla.org
ce7d9ee170 oops, bonsai was slow because the data dir had filled up with 27K temp files. lets delete them when we're done
git-svn-id: svn://10.0.0.236/trunk@72734 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 04:02:53 +00:00
pinkerton%netscape.com
5e191add7c adding nsIDragTracker.idl bug #28226
git-svn-id: svn://10.0.0.236/trunk@72733 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 03:46:22 +00:00
pinkerton%netscape.com
0ae9c3cd2f add NS_IS_DRAG_EVENT macro r=saari, bug 28226
git-svn-id: svn://10.0.0.236/trunk@72732 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 03:43:40 +00:00
pinkerton%netscape.com
5105a50cb9 add nsIDragTracker.idl bug #28226
git-svn-id: svn://10.0.0.236/trunk@72731 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 03:38:07 +00:00
pinkerton%netscape.com
ed0e0e5a67 add nsIDragTracker.idl
git-svn-id: svn://10.0.0.236/trunk@72730 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 03:37:32 +00:00
pinkerton%netscape.com
92fbe0bbe0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@72729 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 03:36:59 +00:00
waterson%netscape.com
2658ae08e5 Add regression tests for 22413, 27211, 39211, and 41521.
git-svn-id: svn://10.0.0.236/trunk@72727 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 02:37:05 +00:00
waterson%netscape.com
d31aa06379 Bugs 22413, 27211, 39211. On nsCSSFrameConstructor::ContentRemoved(), check the *child* instead of the parent to see if we need to reframe. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72726 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 02:35:28 +00:00
dougt%netscape.com
15900fdb04 check for null.
git-svn-id: svn://10.0.0.236/trunk@72725 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 02:29:08 +00:00
alecf%netscape.com
b693bd1379 add support for searching twice.... clear the scope term list between every search - #33101 r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@72724 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 02:17:14 +00:00
scc%mozilla.org
0b0baaac67 added blizzards tests for problems with |Substring|
git-svn-id: svn://10.0.0.236/trunk@72723 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 02:06:29 +00:00
scc%mozilla.org
8e52cd329b had to add a bunch of libraries to get the debug target to build
git-svn-id: svn://10.0.0.236/trunk@72722 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 02:05:54 +00:00
hyatt%netscape.com
2d0da42def Fix for 42806. r=waterson
git-svn-id: svn://10.0.0.236/trunk@72721 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 02:02:24 +00:00
av%netscape.com
5651f628be Filtering plugins from old installation down to three as per decision in 23856, r=amusil
git-svn-id: svn://10.0.0.236/trunk@72720 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 01:44:55 +00:00
mkaply%us.ibm.com
991b76195e #42637
r=mkaply, a=brendan
OS/2 bring up - Need io.h for GCC build


git-svn-id: svn://10.0.0.236/trunk@72719 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 01:35:21 +00:00
amusil%netscape.com
41f4fe3176 Turn on wchar_t
git-svn-id: svn://10.0.0.236/trunk@72718 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 01:31:09 +00:00
ben%netscape.com
81034ad1a4 Fix mac classic skin to have correct toolbar and other asstd main window styles.
git-svn-id: svn://10.0.0.236/trunk@72717 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 01:29:43 +00:00
sspitzer%netscape.com
ec061ef297 fix for #40051. thanks to Henrik Gemal <gemal@gemal.dk> for the patch.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72716 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 01:17:32 +00:00
sspitzer%netscape.com
a5c5ec8bf1 Bug #38374 --> more updates for external helper application support.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@72715 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 01:16:32 +00:00
dbaron%fas.harvard.edu
99d1cb0540 Slightly refine my previous fix for string assertions so things behave exactly as before. r=pollmann b=42936
git-svn-id: svn://10.0.0.236/trunk@72714 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 01:13:10 +00:00
javi%netscape.com
b868f2ab85 added files: mozilla/extensions/psm-glue/src/nsKeygenHandler.cpp
git-svn-id: svn://10.0.0.236/trunk@72713 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 01:02:44 +00:00
mkaply%us.ibm.com
a9e4b20c22 #40177
r=cls, a=brendan
OS/2 bring up - Change some hardcoded values into variable - remove some extra loops that OS/2 was going down.


git-svn-id: svn://10.0.0.236/trunk@72712 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:54:56 +00:00
dbaron%fas.harvard.edu
a2903880c8 Fix leak by continuing to enumerate. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72711 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:54:42 +00:00
dbaron%fas.harvard.edu
1e33476ff7 Fix string assertions. b=42936 code=jst,dbaron r=harishd
git-svn-id: svn://10.0.0.236/trunk@72710 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:53:34 +00:00
vidur%netscape.com
a86b544c90 Fix for bug 9392. document.plugins now aliases to window.navigator.plugins. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72709 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:53:26 +00:00
vidur%netscape.com
0962618074 Fix for bug 42278. Switched around positions of old REC-html40 namespace URI and new XHTML namespace URI in the table so that we do the reverse mapping from namespaceID to URI correctly. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72708 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:49:22 +00:00
pavlov%netscape.com
4147bb60c2 moving ssl state icons from navigator to communicator. fix for bug 43175. r=valeski
git-svn-id: svn://10.0.0.236/trunk@72707 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:47:29 +00:00
ben%netscape.com
8febb91359 fix mac classic toolbars, 41272
git-svn-id: svn://10.0.0.236/trunk@72706 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:44:15 +00:00
javi%netscape.com
b640bf0549 Fixes for Bug #15623 and Bug #28430 r=thayes
psm-glue work for KEYGEN tag is in.

KEYGEN tag will work with PSM 1.2


git-svn-id: svn://10.0.0.236/trunk@72705 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:43:57 +00:00
vidur%netscape.com
26c84935a5 Fix for bug 42860. nsIScriptNameSpaceManager::RegisterGlobalName() now takes an additional IID parameter. If the IID is that of the nsIScriptObjectOwner interface, we assume it's an old-style idlc interface. Otherwise we try to wrap it using XPConnect. r=rginda
git-svn-id: svn://10.0.0.236/trunk@72704 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:42:59 +00:00
pollmann%netscape.com
31acca5c90 Bug 25300: Enable activation of buttons by the keyboard (space or enter) r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72703 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:40:11 +00:00
bienvenu%netscape.com
2a7fc5b929 fix 31411 problems interrupting imap message load r=jefft
git-svn-id: svn://10.0.0.236/trunk@72702 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:34:43 +00:00
BlakeR1234%aol.com
b48bba9005 Fix for bug 43217, regression which caused Go menu to disappear. r=smfr, disttsc@bart.nl
git-svn-id: svn://10.0.0.236/trunk@72701 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:34:13 +00:00
joki%netscape.com
1dadc3af0b fix for 29517, prevent DOM event access from regular content to anonymous content inside a file control.
git-svn-id: svn://10.0.0.236/trunk@72700 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:23:28 +00:00
mkaply%us.ibm.com
bd6a9629de #40177
r=cls, a=brendan
OS/2 bring up - remove trailing slash


git-svn-id: svn://10.0.0.236/trunk@72699 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:21:57 +00:00
joki%netscape.com
948602adcc Part of fix for 38117, prevent scripts from running event handlers on windows from other domains. r:mstoltz
git-svn-id: svn://10.0.0.236/trunk@72698 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:21:50 +00:00
joki%netscape.com
04fd4c2598 Fix for bug 25117, check security when sizing/positioning/configuring windows. r:danm
git-svn-id: svn://10.0.0.236/trunk@72697 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:20:39 +00:00
mkaply%us.ibm.com
f44461554c #40177
r=cls, a=brendan
OS/2 bring up - fix some various build problems relating to nsinstall and SHELL


git-svn-id: svn://10.0.0.236/trunk@72696 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:16:45 +00:00
pavlov%netscape.com
3e6091c956 forgot this file...
patch from Scott Schram (scott@ruthie.com) to add css2/3 cursor support on unix (bug 38444) a=brendan


git-svn-id: svn://10.0.0.236/trunk@72694 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:11:42 +00:00
mkaply%us.ibm.com
9698e13717 # 42637
r = valeski, a = brendan
OS/2 bring-up  - PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@72693 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:07:57 +00:00
ben%netscape.com
de15bb5971 install classic skin into chrome registry on installation, 41272
git-svn-id: svn://10.0.0.236/trunk@72692 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:06:44 +00:00
ben%netscape.com
e0a40aa060 forgot to add files
git-svn-id: svn://10.0.0.236/trunk@72691 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:06:07 +00:00
bryner%uiuc.edu
7ae1b28e6d Fixing bugs 33549, 34033. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@72690 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:05:55 +00:00
ben%netscape.com
85dc94eb23 fixing classic skin so that it doesnt hang on startup, improving back and forward buttons. b41272
git-svn-id: svn://10.0.0.236/trunk@72689 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:05:00 +00:00
chrisk%netscape.com
ac3e94b5b9 Oops - fixed the fix. The prototype now correctly unpacks into a
DHPublicKey structure.


git-svn-id: svn://10.0.0.236/trunk@72688 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:04:38 +00:00
beard%netscape.com
225060e4fa bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser
git-svn-id: svn://10.0.0.236/trunk@72686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:10:06 +00:00
rogerl%netscape.com
ae69e1c56c Changed use of Register to TypedRegister throughout.
git-svn-id: svn://10.0.0.236/trunk@72685 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 22:45:45 +00:00
rogerl%netscape.com
656a834b8a Support for TypedRegister
git-svn-id: svn://10.0.0.236/trunk@72684 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 22:44:46 +00:00
javi%netscape.com
5efdef3fe4 Don't block forever waiting for socket status to get created. Mozilla
may call that function after the connection is gone in which case the
socket status will not exist.


git-svn-id: svn://10.0.0.236/trunk@72683 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 22:39:24 +00:00
wtc%netscape.com
0d28d012f4 Bugzilla bug #40941: added assembly language implementation of atomic
routines for IA-64 Linux.  Thanks to David Mosberger <davidm@hpl.hp.com>
for the code review.
Modifies files: configure, configure.in, _linux.h, pr/src/md/unix/Makefile,
pr/src/md/unix/Makefile.in, pr/src/md/unix/objs.mk
Added files: os_Linux_ia64.s


git-svn-id: svn://10.0.0.236/trunk@72682 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 22:22:23 +00:00
larryh%netscape.com
5044d318b8 BugZilla: 42367. Fix copyright date, Original Code
git-svn-id: svn://10.0.0.236/trunk@72681 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 21:48:45 +00:00
brade%netscape.com
00a24d0d7e File Removed.
git-svn-id: svn://10.0.0.236/trunk@72680 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 21:19:10 +00:00
edburns%acm.org
10bd03fb23 bug=41197
r=av
a=waterson.

This checkin makes it possible to use the default plugin even
for Java.


git-svn-id: svn://10.0.0.236/trunk@72679 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 21:04:52 +00:00
brade%netscape.com
4888e028ce File Removed.
git-svn-id: svn://10.0.0.236/trunk@72678 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 21:00:52 +00:00
sspitzer%netscape.com
091011aaae Bug #38374 --> more updates for external helper application support.
(NOT PART OF THE BUILD) r=mscott


git-svn-id: svn://10.0.0.236/trunk@72677 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 20:57:21 +00:00
sspitzer%netscape.com
a30e941673 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD) r=mscott
git-svn-id: svn://10.0.0.236/trunk@72676 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 20:43:54 +00:00
wtc%netscape.com
6f20b930cf Changed default host name to www.mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@72675 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 20:11:24 +00:00
mscott%netscape.com
2f7bb16fbd Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Unix stub files for the OS helper app service implementation.

a=granrose


git-svn-id: svn://10.0.0.236/trunk@72670 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 18:22:47 +00:00
endico%mozilla.org
8e873af9e0 rename move.cgi to move.pl
git-svn-id: svn://10.0.0.236/trunk@72665 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 17:14:00 +00:00
chrisk%netscape.com
f773ad5402 Fix OID for DC AVAs - the root OID in RFC2247 is not different from
the root OID in RFC1274 - so the one we had was WRONG.
I don't know where it came from.


git-svn-id: svn://10.0.0.236/trunk@72664 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 16:31:31 +00:00
chrisk%netscape.com
0cffe12987 Add code for generation of SMIMEProfile and SMIMEKeyEncryptionPreference
git-svn-id: svn://10.0.0.236/trunk@72663 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 16:28:59 +00:00
chrisk%netscape.com
6d6ec2de90 First feeble attempt at fixing the problem that our definition of
Diffie-Hellman key parameters does not encompass all the optional
fields defined in RFC2459, section 7.3.2 (namely j and validationParams).

I added comments reminding us of the fact that PQGParams need to be
extended to hold these, and fixed the ASN1 prototype from its previous
totally broken status to one that decodes prime, subPrime and base
correctly, and skips the rest.

This avoids failure in public key extraction (which is part of verification)
with DH certs.


git-svn-id: svn://10.0.0.236/trunk@72662 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 16:22:36 +00:00
chrisk%netscape.com
7ff55a4d25 Fix problem where DH certs were always rejected when verifying them
for EMail encryption.
A Diffie-Hellman key needs to be tested for KU_KEY_AGREEMENT, not
KU_KEY_ENCIPHERMENT.


git-svn-id: svn://10.0.0.236/trunk@72661 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 16:15:32 +00:00
chrisk%netscape.com
4be6618598 Fixed bug in sequence printing code: array counter was overshooting by one
git-svn-id: svn://10.0.0.236/trunk@72660 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 14:35:17 +00:00
brade%netscape.com
57c4115007 fix returned error codes (as part of bug #42510)
git-svn-id: svn://10.0.0.236/trunk@72659 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 14:25:34 +00:00
brade%netscape.com
9f2a620177 call PreventDefault for key events which we want to "consume" (bug #42510); r=smfr
git-svn-id: svn://10.0.0.236/trunk@72658 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 14:23:43 +00:00
mkaply%us.ibm.com
330dd35387 #42637
r=mkaply, a=brendan
OS/2 bring up - rewrite some nsLocalFileOS2 stuff to be more like Windows


git-svn-id: svn://10.0.0.236/trunk@72657 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 14:06:00 +00:00
mkaply%us.ibm.com
1e74f6b8a9 #42637
r=valeski, a=brendan
OS/2 bring up - Change DebugBreak code for OS/2 to make it a little easier


git-svn-id: svn://10.0.0.236/trunk@72656 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 13:59:17 +00:00
mkaply%us.ibm.com
a22e45a75a #42637
r=hyatt, a=brendan
OS/2 bring up - change menu code so clicks are NOT passed to the default window proc if they are handled.
This fix has been tested on Linux, Windows, OS/2 - does not affect Mac.


git-svn-id: svn://10.0.0.236/trunk@72655 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 13:49:24 +00:00
mkaply%us.ibm.com
bbc83a1967 #42637
r=mkaply, a=brendan
OS/2 bring up - Trap when typing in URL bar


git-svn-id: svn://10.0.0.236/trunk@72654 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 13:24:52 +00:00
chrisk%netscape.com
6db98da95b Fix bug in decoder:
When encoding indefinitely & encountering an optional field at the end of
a sequence, right after an IMPLICIT or POINTER template, the decoder
was not propagating the optionalness and the end-of-contents condition
correctly as it hits the end-of-contents octets instead of the optional
field. This is because IMPLICIT and POINTER push TWO states to look
for the next tag, not just one.
(The first state is "afterImplicit" or "afterPointer", the second one
starts with "beforeIdentifier" as usual).
This finally makes decoding envelopedData messages in cmsutil work.


git-svn-id: svn://10.0.0.236/trunk@72653 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 13:24:01 +00:00
mkaply%us.ibm.com
eb1ac6eaf8 #42637
r=mkaply, a=brendan
Makefile change to build timer


git-svn-id: svn://10.0.0.236/trunk@72652 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 13:22:43 +00:00
mkaply%us.ibm.com
77bd26d806 #42637
r=mkaply, a=brendan
Remove OS/2 debugging messages during bringup


git-svn-id: svn://10.0.0.236/trunk@72651 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 13:21:22 +00:00
ben%netscape.com
0ef5ba9960 forgot to add classic skin to packager files in earlier checkin
git-svn-id: svn://10.0.0.236/trunk@72649 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 10:30:19 +00:00
ben%netscape.com
1575c6f556 fix for skin switching writing to install directory instead of profile, 30536, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72648 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 09:47:33 +00:00
hyatt%netscape.com
52384c15ff 33524. r=ben
git-svn-id: svn://10.0.0.236/trunk@72647 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 09:21:42 +00:00
pinkerton%netscape.com
c46cbc5873 Migrating d&d back into new tree-grid. bug# 30511, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72646 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 08:13:14 +00:00
rpotts%netscape.com
5c4ca89c3b Added Set/GetLoadCookie methods to nsDocShell. The mLoadCookie is no longer directly set by the nsDSURIContentListener class!
git-svn-id: svn://10.0.0.236/trunk@72645 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 08:01:19 +00:00
rpotts%netscape.com
7a02e24f0f Made the nsDocShell a nsIWebProgressListener. This is a first step for the Session History changes and ultimately removing the nsIDocumentLoaderObserver interface...
git-svn-id: svn://10.0.0.236/trunk@72644 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 07:59:45 +00:00
466 changed files with 134048 additions and 8059 deletions

View File

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

View File

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

View File

@@ -1,4 +0,0 @@
nsIPSMComponent.idl
nsIPSMUIHandler.idl
nsISecureBrowserUI.idl
nsISSLSocketProvider.idl

View File

@@ -1,45 +0,0 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Hubbie Shaw
# Doug Turner <dougt@netscape.com>
# Terry Hayes <thayes@netscape.com>
#
MODULE = psmglue
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
XPIDLSRCS = \
nsIPSMComponent.idl \
nsIPSMUIHandler.idl \
nsISecureBrowserUI.idl \
nsIPSMSocketInfo.idl \
nsISSLSocketProvider.idl \
nsISecretDecoderRing.idl \
$(NULL)
PREF_JS_EXPORTS = $(srcdir)/psm-glue.js
include $(topsrcdir)/config/rules.mk

View File

@@ -1,53 +0,0 @@
#!nmake
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Hubbie Shaw
# Doug Turner <dougt@netscape.com>
# Terry Hayes <thayes@netscape.com>
#
MODULE = psmglue
DEPTH=..\..\..
IGNORE_MANIFEST=1
DLLNAME = psmglue
PDBFILE = $(DLLNAME).pdb
MAPFILE = $(DLLNAME).map
DLL = .\$(OBJDIR)\$(DLLNAME).dll
MAKE_OBJ_TYPE = DLL
include <$(DEPTH)/config/config.mak>
XPIDL_INCLUDES=-I$(DEPTH)\..\mozilla\dist\idl
XPIDLSRCS= \
.\nsIPSMComponent.idl \
.\nsIPSMUIHandler.idl \
.\nsISecureBrowserUI.idl \
.\nsISSLSocketProvider.idl \
.\nsIPSMSocketInfo.idl \
.\nsISecretDecoderRing.idl \
$(NULL)
include <$(DEPTH)\config\rules.mak>
install::
$(MAKE_INSTALL) .\psm-glue.js $(DIST)\bin\defaults\pref

View File

@@ -1,58 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
* Mitch Stoltz <mstoltz@netscape.com>
*/
#include "nsISupports.idl"
interface nsIPrincipal;
%{C++
#include "cmtcmn.h"
%}
[ptr] native nsCMTControlStar(CMT_CONTROL);
[scriptable, uuid(9e482670-5412-11d3-bbc8-0000861d1237)]
interface nsIPSMComponent : nsISupports
{
[noscript] nsCMTControlStar getControlConnection( );
/**
* Display the Security Advisor. PickledStatus and hostName can be null.
* If they are, the "Selected Info" dialog will be empty.
*/
void displaySecurityAdvisor(in string pickledStatus, in string hostName);
/**
* This will send PSM all preferences that we know about.
*/
void passPrefs();
};
%{C++
#define PSM_COMPONENT_PROGID "component://netscape/psm"
#define PSM_COMPONENT_CLASSNAME "Mozilla PSM Component"
%}

View File

@@ -1,50 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Doug Turner <dougt@netscape.com>
*/
#include "nsISupports.idl"
%{C++
#include "cmtcmn.h"
#include "nsPSMShimLayer.h"
%}
[ptr] native psmtControlStar(CMT_CONTROL);
[ptr] native cmSocketStar(CMSocket);
[ptr] native nsFileDescStar(PRFileDesc);
[noscript, uuid(deeb8dfc-fb7a-11d3-ac84-00c04fa0d26b)]
interface nsIPSMSocketInfo : nsISupports {
readonly attribute string hostName;
readonly attribute PRInt32 hostPort;
readonly attribute string proxyName;
readonly attribute PRInt32 proxyPort;
readonly attribute psmtControlStar controlPtr;
readonly attribute cmSocketStar socketPtr;
readonly attribute nsFileDescStar fileDescPtr;
void getPickledStatus(out charPtr pickledStatus);
};

View File

@@ -1,36 +0,0 @@
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Mozilla browser.
*
* The Initial Developer of the Original Code is Netscape
* Communications, Inc. Portions created by Netscape are
* Copyright (C) 1999, Mozilla. All Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
*/
#include "nsISupports.idl"
[scriptable, uuid(d92be9b0-601b-11d3-8c4a-000064657374)]
interface nsIPSMUIHandler : nsISupports
{
void DisplayURI(in long width, in long height, in PRBool modal, in string urlStr);
void PromptForFile(in wstring prompt, in string fileRegEx, in boolean shouldFileExist, out string outFile);
};
%{C++
#define PSM_UI_HANLDER_PROGID "component://netscape/psm/ui"
#define PSM_UI_HANLDER_CLASSNAME "Mozilla PSM UI Handler"
%}

View File

@@ -1,35 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
*/
#include "nsISocketProvider.idl"
[noscript, uuid(856a93d0-5415-11d3-bbc8-0000861d1237)]
interface nsISSLSocketProvider : nsISocketProvider {
};
%{C++
#define NS_ISSLSOCKETPROVIDER_PROGID NS_NETWORK_SOCKET_PROGID_PREFIX "ssl"
#define NS_ISSLSOCKETPROVIDER_CLASSNAME "Mozilla SSL Socket Provider Component"
%}

View File

@@ -1,63 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* thayes@netscape.com
*
*/
#include "nsISupports.idl"
/* Buffer type - for storing 8-bit octet values */
[ptr] native buffer(unsigned char);
[scriptable, uuid(0EC80360-075C-11d4-9FD4-00C04F1B83D8)]
interface nsISecretDecoderRing: nsISupports {
/* Encrypt a buffer - callable only from C++ */
[noscript] long encrypt(in buffer data, in long dataLen, out buffer result);
/* Decrypt a buffer - callable only from C++ */
[noscript] long decrypt(in buffer data, in long dataLen, out buffer result);
/* Encrypt nul-terminated string to BASE64 output */
string encryptString(in string text);
/* Decrypt BASE64 input to nul-terminated string output */
/* There is no check for embedded nul values in the decrypted output */
string decryptString(in string crypt);
/* Prompt the user to change the password on the SDR key */
void changePassword();
/* Logout of the security device that protects the SDR key */
void logout();
};
/*
* Configuration interface for the Secret Decoder Ring
* - this interface allows setting the window that will be
* used as parent for dialog windows (such as password prompts)
*/
[scriptable, uuid(01D8C0F0-0CCC-11d4-9FDD-000064657374)]
interface nsISecretDecoderRingConfig: nsISupports {
void setWindow(in nsISupports w);
};

View File

@@ -1,44 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
*/
#include "nsISupports.idl"
interface nsIDOMWindow;
interface nsIDOMElement;
[scriptable, uuid(081e31e0-a144-11d3-8c7c-00609792278c)]
interface nsSecureBrowserUI : nsISupports
{
void init(in nsIDOMWindow window, in nsIDOMElement button);
void displayPageInfoUI();
};
%{C++
#define NS_SECURE_BROWSER_UI_PROGID "component://netscape/secure_browser_ui"
#define NS_SECURE_BROWSER_UI_CLASSNAME "Mozilla Secure Browser UI Handler"
#define NS_SECURE_BROWSER_UI_CID \
{ 0x10fe7ea0, 0xa10a, 0x11d3, {0x8c, 0x7c, 0x00, 0x60, 0x97, 0x92, 0x27, 0x8c}}
%}

View File

@@ -1,11 +0,0 @@
pref("general.useragent.security", "U");
pref("security.enable_ssl2", true);
pref("security.enable_ssl3", true);
pref("security.default_personal_cert", "Select Automatically");
pref("security.ask_for_password", 0);
pref("security.password_lifetime", 30);
pref("security.warn_entering_secure", true);
pref("security.warn_leaving_secure", true);
pref("security.warn_viewing_mixed", true);
pref("security.warn_submit_insecure", true);

View File

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

View File

@@ -1,3 +0,0 @@
securityOverlay.xul
securityUI.js
PSMTaskMenu.xul

View File

@@ -1,38 +0,0 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
DEPTH = ../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
COMMUNICATOR_CONTENT_DIR = $(DIST)/bin/chrome/packages/core/communicator/content/
COMMUNICATOR_EXPORT_CONTENT = \
$(srcdir)/securityOverlay.xul \
$(srcdir)/securityUI.js \
$(srcdir)/PSMTaskMenu.xul \
$(NULL)
install::
$(INSTALL) $(COMMUNICATOR_EXPORT_CONTENT) $(COMMUNICATOR_CONTENT_DIR)

View File

@@ -1,22 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE window SYSTEM "chrome://communicator/locale/PSMTaskMenu.dtd" >
<overlay id="psmTaskMenuID"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script language="JavaScript">
function displaySecurityAdvisor()
{
var psm = Components.classes["component://netscape/psm"].getService();
psm = psm.QueryInterface(Components.interfaces.nsIPSMComponent);
psm.displaySecurityAdvisor( null, null );
}
</script>
<menupopup id="personalManagers">
<menuitem id="PSMMentItem" position="1" value="&PSMCmd.label;" oncommand="displaySecurityAdvisor()"/>
</menupopup>
</overlay>

View File

@@ -1,35 +0,0 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..\..\..
include <$(DEPTH)/config/config.mak>
include <$(DEPTH)\config\rules.mak>
install:: $(DLL)
$(MAKE_INSTALL) securityOverlay.xul $(DIST)\bin\chrome\packages\core\communicator\content
$(MAKE_INSTALL) securityUI.js $(DIST)\bin\chrome\packages\core\communicator\content
$(MAKE_INSTALL) PSMTaskMenu.xul $(DIST)\bin\chrome\packages\core\communicator\content
clobber::
$(RM) $(DIST)\bin\chrome\packages\core\communicator\content\securityOverlay.xul
$(RM) $(DIST)\bin\chrome\packages\core\communicator\content\securityUI.js
$(RM) $(DIST)\bin\chrome\packages\core\communicator\content\PSMTaskMenu.xul

View File

@@ -1,14 +0,0 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://communicator/skin/securityOverlay.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://communicator/locale/securityOverlay.dtd">
<overlay id="NavSecurityOverlay"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script language="JavaScript" src="chrome://communicator/content/securityUI.js" />
<statusbarpanel id="security-button" onclick="displayPageInfo()" tooltip="aToolTip" tooltiptext="&lockIcon.label;"/>
</overlay>

View File

@@ -1,45 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
window.addEventListener("load", SetSecurityButton, false);
var securityUI;
function SetSecurityButton()
{
dump("in SetSecurityButton\n");
var ui = Components.classes["component://netscape/secure_browser_ui"].createInstance();
securityUI = ui.QueryInterface(Components.interfaces.nsSecureBrowserUI);
var button = document.getElementById('security-button');
if (button && window.content)
securityUI.init(window.content, button);
}
function displayPageInfo()
{
if (securityUI)
securityUI.displayPageInfoUI();
}

View File

@@ -1,3 +0,0 @@
PSMTaskMenu.dtd
securityOverlay.dtd
security.properties

View File

@@ -1,41 +0,0 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
DEPTH = ../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
COMMUNICATOR_RESOURCE_CONTENT = \
$(srcdir)/PSMTaskMenu.dtd \
$(srcdir)/security.properties \
$(srcdir)/securityOverlay.dtd \
$(NULL)
include $(topsrcdir)/config/rules.mk
install::
$(INSTALL) $(COMMUNICATOR_RESOURCE_CONTENT) $(DIST)/bin/chrome/locales/en-US/communicator/locale

View File

@@ -1 +0,0 @@
<!ENTITY PSMCmd.label "Security Manager">

View File

@@ -1,37 +0,0 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..\..\..\..
include <$(DEPTH)\config\rules.mak>
COMMUNICATOR_DIST=$(DIST)\bin\chrome\locales\en-US\communicator\locale
install::
$(MAKE_INSTALL) PSMTaskMenu.dtd $(COMMUNICATOR_DIST)
$(MAKE_INSTALL) security.properties $(COMMUNICATOR_DIST)
$(MAKE_INSTALL) securityOverlay.dtd $(COMMUNICATOR_DIST)
clobber::
$(RM) -f $(DIST)\bin\chrome\locales\en-US\communicator\locale\PSMTaskMenu.dtd
$(RM) -f $(DIST)\bin\chrome\locales\en-US\communicator\locale\security.properties
$(RM) -f $(DIST)\bin\chrome\locales\en-US\communicator\locale\securityOverlay.dtd

View File

@@ -1,29 +0,0 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
Title=Security Warning
MixedContentMessage=You have requested a secure document that contains some insecure information.
LeaveSiteMessage=You have requested an insecure document. The document and any information you send back could be observed by a third party while in transit.
EnterSiteMessage=You have requested a secure document. The document and any information you send back are encrypted for privacy while in transit.
PostToInsecure=Warning! Although this document is secure, the information you have submitted is insecure and could be observed by a third party while in transit. If you are submitting passwords, credit card numbers, or other information you would like to keep private, it would be safer for you to cancel the submission.
PostToInsecureFromInsecure=Any information you submit is insecure and could be observed by a third party while in transit. If you are submitting passwords, credit card numbers, or other information you would like to keep private, it would be safer for you to cancel the submission.
DontShowAgain=Show Me This Alert Next Time.
FindText=Please find the Personal Security Manager application

View File

@@ -1,2 +0,0 @@
<!ENTITY lockIcon.label "Show security information for this window">

View File

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

View File

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

View File

@@ -1,66 +0,0 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Hubbie Shaw
# Doug Turner <dougt@netscape.com>
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = psmglue
IS_COMPONENT = 1
LIBRARY_NAME = psmglue
CPPSRCS = \
nsPSMComponent.cpp \
nsPSMUICallbacks.cpp \
nsSSLSocketProvider.cpp \
nsPSMModule.cpp \
nsSSLIOLayer.cpp \
nsSecureBrowserUIImpl.cpp \
nsSDR.cpp \
nsFSDR.cpp \
nsCrypto.cpp \
nsKeygenHandler.cpp \
$(NULL)
CSRCS = \
nsPSMMutex.c \
nsPSMShimLayer.c \
$(NULL)
EXTRA_DSO_LDOPTS = \
$(MOZ_COMPONENT_LIBS) \
-lcmt \
-lprotocol \
$(MOZ_JS_LIBS) \
$(NULL)
include $(topsrcdir)/config/rules.mk
INCLUDES += \
-I$(srcdir) \
$(NULL)

View File

@@ -1,72 +0,0 @@
#!nmake
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Hubbie Shaw
# Doug Turner <dougt@netscape.com>
#
MODULE = psmglue
DEPTH=..\..\..
IGNORE_MANIFEST=1
DLLNAME = psmglue
PDBFILE = $(DLLNAME).pdb
MAPFILE = $(DLLNAME).map
DLL = .\$(OBJDIR)\$(DLLNAME).dll
MAKE_OBJ_TYPE = DLL
include <$(DEPTH)/config/config.mak>
LINCS = $(LINCS) \
-I$(PUBLIC) \
-I$(PUBLIC)/security \
$(NULL)
LLIBS = \
$(LIBNSPR) \
$(DIST)\lib\neckobase_s.lib \
$(DIST)\lib\xpcom.lib \
$(DIST)\lib\js3250.lib \
$(DIST)\lib\cmt.lib \
$(DIST)\lib\protocol.lib \
$(DIST)\lib\mozreg.lib \
$(DIST)\lib\jsdom.lib \
$(NULL)
OBJS = \
.\$(OBJDIR)\nsPSMMutex.obj \
.\$(OBJDIR)\nsPSMShimLayer.obj \
.\$(OBJDIR)\nsPSMComponent.obj \
.\$(OBJDIR)\nsPSMUICallbacks.obj \
.\$(OBJDIR)\nsPSMModule.obj \
.\$(OBJDIR)\nsSecureBrowserUIImpl.obj \
.\$(OBJDIR)\nsSSLIOLayer.obj \
.\$(OBJDIR)\nsSSLSocketProvider.obj \
.\$(OBJDIR)\nsSDR.obj \
.\$(OBJDIR)\nsFSDR.obj \
.\$(OBJDIR)\nsCrypto.obj \
.\$(OBJDIR)\nsKeygenHandler.obj \
$(NULL)
include <$(DEPTH)\config\rules.mak>
install:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin\components

File diff suppressed because it is too large Load Diff

View File

@@ -1,112 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#ifndef _nsCrypto_h_
#define _nsCrypto_h_
#include "nsIDOMCRMFObject.h"
#include "nsIDOMCrypto.h"
#include "nsIScriptObjectOwner.h"
#include "nsIDOMPkcs11.h"
#define NS_CRYPTO_CLASSNAME "Crypto JavaScript Class"
#define NS_CRYPTO_CID \
{0x929d9320, 0x251e, 0x11d4, { 0x8a, 0x7c, 0x00, 0x60, 0x08, 0xc8, 0x44, 0xc3} }
#define NS_PKCS11_CLASSNAME "Pkcs11 JavaScript Class"
#define NS_PKCS11_CID \
{0x74b7a390, 0x3b41, 0x11d4, { 0x8a, 0x80, 0x00, 0x60, 0x08, 0xc8, 0x44, 0xc3} }
class nsIPSMComponent;
class nsIDOMScriptObjectFactory;
class nsCRMFObject : public nsIDOMCRMFObject,
public nsIScriptObjectOwner {
public:
nsCRMFObject();
virtual ~nsCRMFObject();
NS_DECL_IDOMCRMFOBJECT
NS_DECL_ISUPPORTS
NS_IMETHOD GetScriptObject(nsIScriptContext *aContext, void** aScriptObject);
NS_IMETHOD SetScriptObject(void* aScriptObject);
nsresult init();
nsresult SetCRMFRequest(char *inRequest);
private:
nsString mBase64Request;
void *mScriptObject;
};
class nsCrypto: public nsIDOMCrypto,
public nsIScriptObjectOwner {
public:
nsCrypto();
virtual ~nsCrypto();
nsresult init();
NS_IMETHOD GetScriptObject(nsIScriptContext *aContext, void** aScriptObject);
NS_IMETHOD SetScriptObject(void* aScriptObject);
NS_DECL_ISUPPORTS
NS_DECL_IDOMCRYPTO
static nsresult GetScriptObjectFactory(nsIDOMScriptObjectFactory **aResult);
static nsIDOMScriptObjectFactory *gScriptObjectFactory;
static nsIPrincipal* GetScriptPrincipal(JSContext *cx);
static const char *kPSMComponentProgID;
private:
nsIPSMComponent *mPSM;
nsString mVersionString;
PRBool mVersionStringSet;
void *mScriptObject;
};
class nsPkcs11 : public nsIDOMPkcs11,
public nsIScriptObjectOwner {
public:
nsPkcs11();
virtual ~nsPkcs11();
nsresult init();
NS_DECL_ISUPPORTS
NS_DECL_IDOMPKCS11
NS_IMETHOD GetScriptObject(nsIScriptContext *aContext, void** aScriptObject);
NS_IMETHOD SetScriptObject(void* aScriptObject);
private:
nsIPSMComponent *mPSM;
void *mScriptObject;
};
nsresult
getPSMComponent(nsIPSMComponent ** retPSM);
#endif //_nsCrypto_h_

File diff suppressed because it is too large Load Diff

View File

@@ -1,60 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Terry Hayes <thayes@netscape.com>
* Steve Morse <morse@netscape.com>
*/
#ifndef _NSFSDR_H_
#define _NSFSDR_H_
#include "nsISecretDecoderRing.h"
// ===============================================
// nsFSecretDecoderRing - "fake" implementation of nsISecretDecoderRing
// ===============================================
#define NS_FSDR_CLASSNAME "Fake Secret Decoder Ring"
#define NS_FSDR_CID \
{ 0x1ee28720, 0x2b93, 0x11d4, { 0xa0, 0xa4, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } }
#define NS_FSDR_PROGID "netscape.security.fsdr"
class nsFSecretDecoderRing : public nsISecretDecoderRing
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSISECRETDECODERRING
nsFSecretDecoderRing();
virtual ~nsFSecretDecoderRing();
nsresult init();
private:
nsIPSMComponent *mPSM;
static const char *kPSMComponentProgID;
nsresult encode(const unsigned char *data, PRInt32 dataLen, char **_retval);
nsresult decode(const char *data, unsigned char **result, PRInt32 * _retval);
};
#endif /* _NSFSDR_H_ */

View File

@@ -1,255 +0,0 @@
//For some weird reason, nsProxiedService has to be the first file
//included. Don't ask me, I'm just the messenger.
#include "nsProxiedService.h"
#include "nsKeygenHandler.h"
#include "nsVoidArray.h"
#include "nsSecureBrowserUIImpl.h"
#include "nsIServiceManager.h"
#include "nsIDOMHTMLSelectElement.h"
#include "nsIContent.h"
#include "nsIPSMComponent.h"
#include "nsIPSMUIHandler.h"
#include "nsPSMUICallbacks.h"
#include "nsCrypto.h"
#include "cmtcmn.h"
#include "cmtjs.h"
//These defines are taken from the PKCS#11 spec
#define CKM_RSA_PKCS_KEY_PAIR_GEN 0x00000000
#define CKM_DH_PKCS_KEY_PAIR_GEN 0x00000020
#define CKM_DSA_KEY_PAIR_GEN 0x00000010
static NS_DEFINE_IID(kFormProcessorIID, NS_IFORMPROCESSOR_IID);
static NS_DEFINE_IID(kIDOMHTMLSelectElementIID, NS_IDOMHTMLSELECTELEMENT_IID);
static const char *mozKeyGen = "-mozilla-keygen";
NS_IMPL_ADDREF(nsKeygenFormProcessor);
NS_IMPL_RELEASE(nsKeygenFormProcessor);
NS_IMPL_QUERY_INTERFACE(nsKeygenFormProcessor, kFormProcessorIID);
nsKeygenFormProcessor::nsKeygenFormProcessor()
{
NS_INIT_REFCNT();
getPSMComponent(&mPSM);
}
char *
nsKeygenFormProcessor::ChooseToken(PCMT_CONTROL control,
CMKeyGenTagArg *psmarg,
CMKeyGenTagReq *reason)
{
CMUint32 resID;
CMTStatus crv;
CMTItem url;
char *keyString = nsnull;
nsresult rv = NS_OK;
NameList *tokenNames;
int i;
// In this case, PSM provided us with a list of potential tokens to choose
// from, but we're gonna make it use it's UI for now, so let's delte the
// memory associated with the structure it sent back.
tokenNames = (NameList*)psmarg->current;
for (i=0; i < tokenNames->numitems; i++) {
nsCRT::free(tokenNames->names[i]);
}
nsCRT::free((char*)tokenNames);
resID = psmarg->rid;
memset(&url, 0, sizeof(CMTItem));
NS_WITH_PROXIED_SERVICE(nsIPSMUIHandler, handler, nsPSMUIHandlerImpl::GetCID(), NS_UI_THREAD_EVENTQ, &rv);
crv = CMT_GetStringAttribute(control, resID, SSM_FID_CHOOSE_TOKEN_URL, &url);
if (crv != CMTSuccess) {
goto loser;
}
if (NS_SUCCEEDED(rv)) {
handler->DisplayURI(400, 300, PR_TRUE, (char*)url.data);
} else {
goto loser;
}
return CMT_GetGenKeyResponse(control, psmarg, reason);
loser:
if (keyString)
nsCRT::free(keyString);
return nsnull;
}
char *
nsKeygenFormProcessor::SetUserPassword(PCMT_CONTROL control,
CMKeyGenTagArg *psmarg,
CMKeyGenTagReq *reason)
{
nsresult rv;
CMTStatus crv;
CMTItem url;
char *keystring=nsnull;
// We need to delete the memory the PSM client API allocated for us since
// we're just gonna tell it to use it's own UI.
nsCRT::free((char*)psmarg->current);
NS_WITH_PROXIED_SERVICE(nsIPSMUIHandler, handler, nsPSMUIHandlerImpl::GetCID(), NS_UI_THREAD_EVENTQ, &rv);
memset (&url, 0, sizeof(CMTItem));
crv = CMT_GetStringAttribute(control,psmarg->rid, SSM_FID_INIT_DB_URL, &url);
if (crv != CMTSuccess || NS_FAILED(rv)){
goto loser;
}
handler->DisplayURI(500, 450, PR_TRUE, (char*)url.data);
return CMT_GetGenKeyResponse(control, psmarg, reason);
loser:
if (keystring)
nsCRT::free(keystring);
return nsnull;
}
nsresult
nsKeygenFormProcessor::GetPublicKey(nsString& value, nsString& challenge,
nsString& keyType,
nsString& outPublicKey, nsString& pqg)
{
PCMT_CONTROL control;
nsresult rv;
CMKeyGenParams *params = nsnull;
CMKeyGenTagArg *psmarg = nsnull;
CMKeyGenTagReq reason;
char *emptyCString = "null";
char *keystring = nsnull;
rv = mPSM->GetControlConnection(&control);
if (NS_FAILED(rv)) {
goto loser;
}
params = new CMKeyGenParams;
if (params == nsnull) {
goto loser;
}
params->typeString = (keyType.IsEmpty()) ? emptyCString :
keyType.ToNewCString();
params->challenge = (challenge.IsEmpty()) ? emptyCString :
challenge.ToNewCString();
params->choiceString = value.ToNewCString();
params->pqgString = (pqg.IsEmpty()) ? emptyCString : pqg.ToNewCString();
psmarg = new CMKeyGenTagArg;
if (psmarg == nsnull) {
goto loser;
}
// ARGH, while this is going on, we need to lock the control
// connection so that the event loop doesn't drop our response on
// the floor.
CMT_LockConnection(control);
psmarg->op = CM_KEYGEN_START;
psmarg->rid = 0;
psmarg->tokenName = NULL;
psmarg->current = params;
keystring = CMT_GenKeyOldStyle(control, psmarg, &reason);
while (!keystring) {
psmarg->op = reason;
switch (psmarg->op) {
case CM_KEYGEN_PICK_TOKEN:
keystring = ChooseToken(control, psmarg, &reason);
break;
case CM_KEYGEN_SET_PASSWORD:
keystring = SetUserPassword(control, psmarg, &reason);
break;
case CM_KEYGEN_ERR:
default:
goto loser;
}
}
CMT_UnlockConnection(control);
outPublicKey.AssignWithConversion(keystring);
nsCRT::free(keystring);
return NS_OK;
loser:
return NS_ERROR_FAILURE;
}
NS_METHOD
nsKeygenFormProcessor::ProcessValue(nsIDOMHTMLElement *aElement,
const nsString& aName,
nsString& aValue)
{
#ifdef DEBUG_javi
char *name = aName.ToNewCString();
char *value = aValue.ToNewCString();
printf("ProcessValue: name %s value %s\n", name, value);
delete [] name;
delete [] value;
#endif
nsresult rv = NS_OK;
nsCOMPtr<nsIDOMHTMLSelectElement>selectElement;
nsresult res = aElement->QueryInterface(kIDOMHTMLSelectElementIID,
getter_AddRefs(selectElement));
if (NS_SUCCEEDED(res)) {
nsAutoString keygenvalue;
nsAutoString challengeValue;
nsString publicKey;
nsString mozillaKeygen;
nsString mozType;
mozType.AssignWithConversion("_moz-type");
mozillaKeygen.AssignWithConversion(mozKeyGen);
res = selectElement->GetAttribute(mozType, keygenvalue);
if (NS_CONTENT_ATTR_HAS_VALUE == res && keygenvalue.Equals(mozillaKeygen)) {
nsString challenge;
nsString keyType;
nsString keyTypeValue;
nsString pqg, pqgValue;
challenge.AssignWithConversion("challenge");
pqg.AssignWithConversion("pqg");
res = selectElement->GetAttribute(pqg, pqgValue);
keyType.AssignWithConversion("keytype");
res = selectElement->GetAttribute(keyType, keyTypeValue);
if (NS_FAILED(res) || keyTypeValue.IsEmpty()) {
// If this field is not present, we default to rsa.
keyTypeValue.AssignWithConversion("rsa");
}
res = selectElement->GetAttribute(challenge, challengeValue);
rv = GetPublicKey(aValue, challenge, keyTypeValue,
publicKey, pqgValue);
aValue = publicKey;
}
}
return rv;
}
NS_METHOD nsKeygenFormProcessor::ProvideContent(const nsString& aFormType,
nsVoidArray& aContent,
nsString& aAttribute)
{
nsString selectString;
nsresult rv;
PCMT_CONTROL control;
PRUint32 i;
selectString.AssignWithConversion("SELECT");
if (aFormType.EqualsIgnoreCase(selectString)) {
nsString *selectString;
char **result;
rv = mPSM->GetControlConnection(&control);
if (NS_FAILED(rv)) {
goto loser;
}
result = CMT_GetKeyChoiceList(control, "rsa"/*Need to figure out if DSA*/,
nsnull);
for (i=0; result[i] != nsnull; i++) {
selectString = new nsString;
selectString->AssignWithConversion(result[i]);
aContent.AppendElement(selectString);
delete []result[i];
}
delete []result;
aAttribute.AssignWithConversion(mozKeyGen);
}
return NS_OK;
loser:
return NS_ERROR_FAILURE;
}

View File

@@ -1,32 +0,0 @@
#ifndef _NSKEYGENHANDLER_H_
#define _NSKEYGENHANDLER_H_
// Form Processor
#include "nsIFormProcessor.h"
#include "ssmdefs.h"
#include "cmtcmn.h"
class nsIPSMComponent;
class nsKeygenFormProcessor : public nsIFormProcessor {
public:
nsKeygenFormProcessor();
NS_IMETHOD ProcessValue(nsIDOMHTMLElement *aElement,
const nsString& aName,
nsString& aValue);
NS_IMETHOD ProvideContent(const nsString& aFormType,
nsVoidArray& aContent,
nsString& aAttribute);
NS_DECL_ISUPPORTS
protected:
nsresult GetPublicKey(nsString& value, nsString& challenge,
nsString& keyType, nsString& outPublicKey,
nsString& pqg);
char * ChooseToken(PCMT_CONTROL control, CMKeyGenTagArg *psmarg,
CMKeyGenTagReq *reason);
char * SetUserPassword(PCMT_CONTROL control, CMKeyGenTagArg *psmarg,
CMKeyGenTagReq *reason);
nsIPSMComponent *mPSM;
};
#endif //_NSKEYGENHANDLER_H_

View File

@@ -1,935 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
* Mitch Stoltz <mstoltz@netscape.com>
*/
#include "nsProxiedService.h"
#include "nsPSMUICallbacks.h"
#include "VerReg.h"
#include "nspr.h"
#include "nsPSMComponent.h"
#include "nsCRT.h"
#include "nsNetUtil.h"
#include "nsIURI.h"
#include "nsIChannel.h"
#include "nsIInputStream.h"
#include "nsIStreamListener.h"
#include "nsIPref.h"
#include "nsIProfile.h"
#include "nsILocalFile.h"
#include "nsDirectoryService.h"
#include "rsrcids.h"
#include "nsPSMMutex.h"
#include "nsPSMShimLayer.h"
#include "nsPSMUICallbacks.h"
#include "nsISecureBrowserUI.h"
#include "nsIDocumentLoaderObserver.h"
#include "nsIScriptSecurityManager.h"
#include "nsICertificatePrincipal.h"
#include "nsIProtocolProxyService.h"
#define PSM_VERSION_REG_KEY "/Netscape/Personal Security Manager"
#ifdef WIN32
#define PSM_FILE_NAME "psm.exe"
#elif XP_UNIX
#define PSM_FILE_NAME "start-psm"
#else
#define PSM_FILE_NAME "psm"
#endif
static NS_DEFINE_CID(kCStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID);
static NS_DEFINE_CID(kProfileCID, NS_PROFILE_CID);
static NS_DEFINE_CID(kPrefCID, NS_PREF_CID);
static NS_DEFINE_CID(kProtocolProxyServiceCID, NS_PROTOCOLPROXYSERVICE_CID);
nsPSMComponent* nsPSMComponent::mInstance = nsnull;
nsPSMComponent::nsPSMComponent()
{
NS_INIT_REFCNT();
mControl = nsnull;
}
nsPSMComponent::~nsPSMComponent()
{
if (mControl)
{
CMT_CloseControlConnection(mControl);
mControl = nsnull;
}
}
NS_IMETHODIMP
nsPSMComponent::CreatePSMComponent(nsISupports* aOuter, REFNSIID aIID, void **aResult)
{
if (!aResult) {
return NS_ERROR_INVALID_POINTER;
}
if (aOuter) {
*aResult = nsnull;
return NS_ERROR_NO_AGGREGATION;
}
if (mInstance == nsnull)
{
mInstance = new nsPSMComponent();
}
if (mInstance == nsnull)
return NS_ERROR_OUT_OF_MEMORY;
nsresult rv = mInstance->QueryInterface(aIID, aResult);
if (NS_FAILED(rv))
{
*aResult = nsnull;
}
return rv;
}
/* nsISupports Implementation for the class */
NS_IMPL_THREADSAFE_ISUPPORTS3(nsPSMComponent,
nsIPSMComponent,
nsIContentHandler,
nsISignatureVerifier);
#define INIT_NUM_PREFS 100
/* preference types */
#define STRING_PREF 0
#define BOOL_PREF 1
#define INT_PREF 2
/* resizable list struct that contains pref items */
typedef struct CMSetPrefList {
int n; /* number of filled items */
int capacity; /* allocated memory */
CMTSetPrefElement* list; /* actual list */
} CMSetPrefList;
static void get_pack_bool_pref(nsIPref *prefManager, char* key, CMTSetPrefElement* list, int* n)
{
PRBool boolpref;
list[*n].key = nsCRT::strdup(key);
list[*n].type = BOOL_PREF;
if ((prefManager->GetBoolPref(key, &boolpref) != 0) || boolpref)
{
list[*n].value = nsCRT::strdup("true");
}
else
{
list[*n].value = nsCRT::strdup("false");
}
(*n)++; /* increment the counter after done packing */
return;
}
static void SaveAllPrefs(int number, CMTSetPrefElement* list)
{
nsCOMPtr<nsIPref> prefManager;
nsresult res = nsServiceManager::GetService(kPrefCID,
nsIPref::GetIID(),
getter_AddRefs(prefManager));
if (NS_FAILED(res) || !prefManager)
{
return;
}
int i;
int intval;
for (i = 0; i < number; i++)
{
if (list[i].key == nsnull)
{
/* misconfigured item: next */
continue;
}
switch (list[i].type)
{
case 0: /* string type */
prefManager->SetCharPref(list[i].key, list[i].value);
break;
case 1: /* boolean type */
if (strcmp(list[i].value, "true") == 0) {
prefManager->SetBoolPref(list[i].key, (PRBool)1);
}
else if (strcmp(list[i].value, "false") == 0) {
prefManager->SetBoolPref(list[i].key, (PRBool)0);
}
break;
case 2:
intval = atoi(list[i].value);
prefManager->SetIntPref(list[i].key, intval);
break;
default:
break;
}
}
return;
}
NS_IMETHODIMP
nsPSMComponent::PassPrefs()
{
// if we have not passed anything to psm yet, this function can just return.
if (!mControl)
return NS_OK;
int i;
nsresult rv = NS_ERROR_FAILURE;
char* strpref = NULL;
int intpref;
PRBool boolpref;
CMSetPrefList prefs = {0};
CMTSetPrefElement* list = NULL;
char* pickAuto = "Select Automatically";
char* alwaysAsk = "Ask Every Time";
nsCOMPtr<nsIPref> prefManager;
nsresult res = nsServiceManager::GetService(kPrefCID,
nsIPref::GetIID(),
getter_AddRefs(prefManager));
if (NS_OK != res)
{
return NS_ERROR_FAILURE;
}
/* allocate memory for list */
prefs.n = 0; /* counter */
prefs.capacity = INIT_NUM_PREFS;
prefs.list = (CMTSetPrefElement*) new char[(INIT_NUM_PREFS * sizeof(CMTSetPrefElement))];
if (prefs.list == NULL)
{
return rv;
}
/* shorthand */
list = prefs.list;
/* get preferences */
get_pack_bool_pref(prefManager, "security.enable_ssl2", (CMTSetPrefElement*)list, &(prefs.n));
get_pack_bool_pref(prefManager, "security.enable_ssl3", (CMTSetPrefElement*)list, &(prefs.n));
/* this pref is a boolean pref in nature but a string pref for
* historical reason
*/
list[prefs.n].key = nsCRT::strdup("security.default_personal_cert");
list[prefs.n].type = STRING_PREF;
if ((prefManager->CopyCharPref(list[prefs.n].key, &strpref) == 0) && (strcmp(strpref, pickAuto) == 0))
{
list[prefs.n].value = nsCRT::strdup(pickAuto);
}
else
{
/* although one could choose a specific cert for client auth in
* Nova, that mode is deprecated with PSM and mapped to ASK
*/
list[prefs.n].value = nsCRT::strdup(alwaysAsk);
}
prefs.n++;
if (strpref != NULL)
{
nsCRT::free(strpref);
}
list[prefs.n].key = nsCRT::strdup("security.default_mail_cert");
list[prefs.n].type = STRING_PREF;
if (prefManager->CopyCharPref(list[prefs.n].key, &list[prefs.n].value) != 0)
{
list[prefs.n].value = NULL;
}
prefs.n++;
list[prefs.n].key = nsCRT::strdup("security.ask_for_password");
list[prefs.n].type = INT_PREF;
if (prefManager->GetIntPref(list[prefs.n].key, &intpref) != 0)
{
intpref = 0; /* default */
}
list[prefs.n].value = PR_smprintf("%d", intpref);
prefs.n++;
list[prefs.n].key = nsCRT::strdup("security.password_lifetime");
list[prefs.n].type = INT_PREF;
if (prefManager->GetIntPref(list[prefs.n].key, &intpref) != 0)
{
intpref = 30; /* default */
}
list[prefs.n].value = PR_smprintf("%d", intpref);
prefs.n++;
/* OCSP preferences */
/* XXX since these are the new ones added by PSM, we will be more
* error-tolerant in fetching them
*/
if (prefManager->GetBoolPref("security.OCSP.enabled", &boolpref) == 0)
{
if (boolpref)
{
list[prefs.n].value = nsCRT::strdup("true");
}
else
{
list[prefs.n].value = nsCRT::strdup("false");
}
list[prefs.n].key = nsCRT::strdup("security.OCSP.enabled");
list[prefs.n].type = BOOL_PREF;
prefs.n++;
}
if (prefManager->GetBoolPref("security.OCSP.useDefaultResponder", &boolpref) == 0)
{
if (boolpref)
{
list[prefs.n].value = nsCRT::strdup("true");
}
else
{
list[prefs.n].value = nsCRT::strdup("false");
}
list[prefs.n].key = nsCRT::strdup("security.OCSP.useDefaultResponder");
list[prefs.n].type = BOOL_PREF;
prefs.n++;
}
if (prefManager->CopyCharPref("security.OCSP.URL", &strpref) == 0)
{
list[prefs.n].value = strpref;
list[prefs.n].key = nsCRT::strdup("security.OCSP.URL");
list[prefs.n].type = STRING_PREF;
prefs.n++;
}
if (prefManager->CopyCharPref("security.OCSP.signingCA", &strpref) == 0)
{
list[prefs.n].value = strpref;
list[prefs.n].key = nsCRT::strdup("security.OCSP.signingCA");
list[prefs.n].type = STRING_PREF;
prefs.n++;
}
/* now application-specific preferences */
/* get navigator preferences */
get_pack_bool_pref(prefManager, "security.warn_entering_secure", (CMTSetPrefElement*)list, &prefs.n);
get_pack_bool_pref(prefManager, "security.warn_leaving_secure", (CMTSetPrefElement*)list, &prefs.n);
get_pack_bool_pref(prefManager, "security.warn_viewing_mixed", (CMTSetPrefElement*)list, &prefs.n);
get_pack_bool_pref(prefManager, "security.warn_submit_insecure", (CMTSetPrefElement*)list, &prefs.n);
// Add any other prefs here such as ldap or mail/news.
CMT_SetSavePrefsCallback(mControl, (savePrefsCallback_fn)SaveAllPrefs);
if (CMT_PassAllPrefs(mControl, prefs.n, (CMTSetPrefElement*)prefs.list) != CMTSuccess)
{
goto loser;
}
rv = NS_OK; /* success */
loser:
/* clean out memory for prefs */
for (i = 0; i < prefs.n; i++)
{
if (prefs.list[i].key != NULL)
{
nsCRT::free(prefs.list[i].key);
}
if (prefs.list[i].value != NULL)
{
nsCRT::free(prefs.list[i].value);
}
}
if (prefs.list != NULL)
{
delete(prefs.list);
}
return rv;
}
#ifdef XP_MAC
extern "C" {
void RunMacPSM(void* arg);
PRThread* SSM_CreateAndRegisterThread(PRThreadType type, void (*start)(void *arg),
void *arg, PRThreadPriority priority,
PRThreadScope scope, PRThreadState state,
PRUint32 stackSize);
void SSM_KillAllThreads(void);
}
#endif
NS_IMETHODIMP
nsPSMComponent::GetControlConnection( CMT_CONTROL * *_retval )
{
nsresult rv;
*_retval = nsnull;
if (mControl)
{
*_retval = mControl;
return NS_OK;
}
else /* initialize mutex, sock table, etc. */
{
if (nsPSMMutexInit() != PR_SUCCESS)
return NS_ERROR_FAILURE;
#ifdef XP_MAC
/* FIXME: Really need better error handling in PSM, which simply exits on error. */
/* use a cached monitor to rendezvous with the PSM thread. */
PRMonitor* monitor = PR_CEnterMonitor(this);
if (monitor != nsnull) {
/* create the Cartman thread, and let it run awhile to get things going. */
PRThread* cartmanThread = SSM_CreateAndRegisterThread(PR_USER_THREAD, RunMacPSM,
this, PR_PRIORITY_NORMAL,
PR_LOCAL_THREAD, PR_UNJOINABLE_THREAD, 0);
if (cartmanThread != nsnull) {
/* need a good way to rendezvouz with the Cartman thread. */
PR_CWait(this, PR_INTERVAL_NO_TIMEOUT);
}
PR_CExitMonitor(this);
}
#endif
// Try to see if it is open already
mControl = CMT_ControlConnect(&nsPSMMutexTbl, &nsPSMShimTbl);
// Find the one in the bin directory
if (mControl == nsnull)
{
nsCOMPtr<nsILocalFile> psmAppFile;
NS_WITH_SERVICE(nsIProperties, directoryService, NS_DIRECTORY_SERVICE_PROGID, &rv);
if (NS_FAILED(rv)) return rv;
directoryService->Get("system.OS_CurrentProcessDirectory",
NS_GET_IID(nsIFile),
getter_AddRefs(psmAppFile));
psmAppFile->Append("psm");
psmAppFile->Append(PSM_FILE_NAME);
PRBool isExecutable, exists;
psmAppFile->Exists(&exists);
psmAppFile->IsExecutable(&isExecutable);
if (exists && isExecutable)
{
nsXPIDLCString path;
psmAppFile->GetPath(getter_Copies(path));
// FIX THIS. using a file path is totally wrong here.
mControl = CMT_EstablishControlConnection((char*)(const char*)path, &nsPSMShimTbl, &nsPSMMutexTbl);
}
}
// Get the one in the version registry
if (mControl == nsnull)
{
//Try to find it.
int err;
char filepath[MAXREGPATHLEN];
err = VR_GetPath(PSM_VERSION_REG_KEY, sizeof(filepath), filepath);
if ( err == REGERR_OK )
{
nsFileSpec psmSpec(filepath);
psmSpec += PSM_FILE_NAME;
if (psmSpec.Exists())
{
mControl = CMT_EstablishControlConnection((char *)psmSpec.GetNativePathCString(), &nsPSMShimTbl, &nsPSMMutexTbl);
}
}
}
if (!mControl || InitPSMUICallbacks(mControl) != PR_SUCCESS)
goto failure;
nsFileSpec profileSpec;
PRUnichar* profileName;
NS_WITH_SERVICE(nsIProfile, profile, kProfileCID, &rv);
if (NS_FAILED(rv)) goto failure;
rv = profile->GetCurrentProfileDir(&profileSpec);
if (NS_FAILED(rv)) goto failure;;
#ifdef XP_MAC
profileSpec += "Security";
// make sure the dir exists
profileSpec.CreateDirectory();
#endif
rv = profile->GetCurrentProfile(&profileName);
if (NS_FAILED(rv)) goto failure;
CMTStatus psmStatus;
nsCAutoString profilenameC;
profilenameC.AssignWithConversion(profileName);
psmStatus = CMT_Hello( mControl,
PROTOCOL_VERSION,
profilenameC,
(char*)profileSpec.GetNativePathCString());
if (psmStatus == CMTFailure)
{
PR_FREEIF(profileName);
goto failure;
}
if (InitPSMEventLoop(mControl) != PR_SUCCESS)
{
PR_FREEIF(profileName);
goto failure;
}
if (NS_FAILED(PassPrefs()))
{
PR_FREEIF(profileName);
goto failure;
}
PR_FREEIF(profileName);
nsCOMPtr<nsIProtocolProxyService> proxySvc = do_GetService(kProtocolProxyServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
proxySvc->AddNoProxyFor("127.0.0.1", mControl->port);
*_retval = mControl;
return NS_OK;
}
failure:
#ifdef DEBUG
printf("*** Failure setting up Cartman! \n");
#endif
if (mControl)
{
CMT_CloseControlConnection(mControl);
mControl = NULL;
}
// TODO we need to unregister our UI callback BEFORE destroying our mutex.
// nsPSMMutexDestroy();
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP
nsPSMComponent::DisplaySecurityAdvisor(const char *pickledStatus, const char *hostName)
{
CMT_CONTROL *controlConnection;
GetControlConnection( &controlConnection );
if (DisplayPSMUIDialog(controlConnection, pickledStatus, hostName) == PR_SUCCESS)
return NS_OK;
return NS_ERROR_FAILURE;
}
class CertDownloader : public nsIStreamListener
{
public:
CertDownloader() {NS_ASSERTION(0, "don't use this constructor."); }
CertDownloader(PRInt32 type);
virtual ~CertDownloader();
NS_DECL_ISUPPORTS
NS_DECL_NSISTREAMOBSERVER
NS_DECL_NSISTREAMLISTENER
protected:
char* mByteData;
PRInt32 mBufferOffset;
PRInt32 mContentLength;
PRInt32 mType;
};
CertDownloader::CertDownloader(PRInt32 type)
{
NS_INIT_REFCNT();
mByteData = nsnull;
mType = type;
}
CertDownloader::~CertDownloader()
{
if (mByteData)
nsMemory::Free(mByteData);
}
NS_IMPL_ISUPPORTS(CertDownloader,NS_GET_IID(nsIStreamListener));
NS_IMETHODIMP
CertDownloader::OnStartRequest(nsIChannel* channel, nsISupports* context)
{
channel->GetContentLength(&mContentLength);
if (mContentLength == -1)
return NS_ERROR_FAILURE;
mBufferOffset = 0;
mByteData = (char*) nsMemory::Alloc(mContentLength);
if (!mByteData)
return NS_ERROR_OUT_OF_MEMORY;
return NS_OK;
}
NS_IMETHODIMP
CertDownloader::OnDataAvailable(nsIChannel* channel,
nsISupports* context,
nsIInputStream *aIStream,
PRUint32 aSourceOffset,
PRUint32 aLength)
{
if (!mByteData)
return NS_ERROR_OUT_OF_MEMORY;
PRUint32 amt;
nsresult err;
do
{
err = aIStream->Read(mByteData+mBufferOffset, mContentLength-mBufferOffset, &amt);
if (amt == 0) break;
if (NS_FAILED(err)) return err;
aLength -= amt;
mBufferOffset += amt;
} while (aLength > 0);
return NS_OK;
}
NS_IMETHODIMP
CertDownloader::OnStopRequest(nsIChannel* channel,
nsISupports* context,
nsresult aStatus,
const PRUnichar* aMsg)
{
nsCOMPtr<nsIPSMComponent> psm = do_QueryInterface(context);
if (!psm) return NS_ERROR_FAILURE;
CMT_CONTROL *controlConnection;
psm->GetControlConnection( &controlConnection );
unsigned int certID;
certID = CMT_DecodeAndCreateTempCert(controlConnection, mByteData, mContentLength, mType);
if (certID)
CMT_DestroyResource(controlConnection, certID, SSM_RESTYPE_CERTIFICATE);
return NS_OK;
}
/* other mime types that we should handle sometime:
application/x-pkcs7-crl
application/x-pkcs7-mime
application/pkcs7-signature
application/pre-encrypted
*/
NS_IMETHODIMP
nsPSMComponent::HandleContent(const char * aContentType,
const char * aCommand,
const char * aWindowTarget,
nsISupports* aWindowContext,
nsIChannel * aChannel)
{
// We were called via CI. We better protect ourselves and addref.
NS_ADDREF_THIS();
nsresult rv = NS_OK;
if (!aChannel) return NS_ERROR_NULL_POINTER;
CMUint32 type = -1;
if ( nsCRT::strcasecmp(aContentType, "application/x-x509-ca-cert") == 0)
{
type = 1; //CA cert
}
else if (nsCRT::strcasecmp(aContentType, "application/x-x509-server-cert") == 0)
{
type = 2; //Server cert
}
else if (nsCRT::strcasecmp(aContentType, "application/x-x509-user-cert") == 0)
{
type = 3; //User cert
}
else if (nsCRT::strcasecmp(aContentType, "application/x-x509-email-cert") == 0)
{
type = 4; //Someone else's email cert
}
if (type != -1)
{
// I can't directly open the passed channel cause it fails :-(
nsCOMPtr<nsIURI> uri;
rv = aChannel->GetURI(getter_AddRefs(uri));
if (NS_FAILED(rv)) return rv;
nsCOMPtr<nsIChannel> channel;
rv = NS_OpenURI(getter_AddRefs(channel), uri);
if (NS_FAILED(rv)) return rv;
return channel->AsyncRead(new CertDownloader(type), NS_STATIC_CAST(nsIPSMComponent*,this));
}
return NS_ERROR_NOT_IMPLEMENTED;
}
//---------------------------------------------
// Functions Implenenting NSISignatureVerifier
//---------------------------------------------
NS_IMETHODIMP
nsPSMComponent::HashBegin(PRUint32 alg, PRUint32* id)
{
CMT_CONTROL *controlConnection;
if (NS_FAILED(GetControlConnection( &controlConnection )))
return NS_ERROR_FAILURE;
if(CMT_HashCreate(controlConnection, alg, (CMUint32*)id) != CMTSuccess)
return NS_ERROR_FAILURE;
if(CMT_HASH_Begin(controlConnection, *id) != CMTSuccess)
return NS_ERROR_FAILURE;
return NS_OK;
}
NS_IMETHODIMP
nsPSMComponent::HashUpdate(PRUint32 id, const char* buf, PRUint32 buflen)
{
CMT_CONTROL *controlConnection;
if (NS_FAILED(GetControlConnection( &controlConnection )))
return NS_ERROR_FAILURE;
if (CMT_HASH_Update(controlConnection, id,
(const unsigned char*)buf, buflen) != CMTSuccess)
return NS_ERROR_FAILURE;
return NS_OK;
}
NS_IMETHODIMP
nsPSMComponent::HashEnd(PRUint32 id, unsigned char** hash,
PRUint32* hashLen, PRUint32 maxLen)
{
if (!hash)
return NS_ERROR_ILLEGAL_VALUE;
CMT_CONTROL *controlConnection;
if (NS_FAILED(GetControlConnection( &controlConnection )))
return NS_ERROR_FAILURE;
if(CMT_HASH_End(controlConnection, id, *hash,
(CMUint32*)hashLen, maxLen) != CMTSuccess)
return NS_ERROR_FAILURE;
CMT_HASH_Destroy(controlConnection, id);
return NS_OK;
}
NS_IMETHODIMP
nsPSMComponent::CreatePrincipalFromSignature(const char* aRSABuf, PRUint32 aRSABufLen,
nsIPrincipal** aPrincipal)
{
PRInt32 errorCode;
return VerifySignature(aRSABuf, aRSABufLen, nsnull, 0, &errorCode, aPrincipal);
}
PR_STATIC_CALLBACK(void)
UselessPK7DataSink(void* arg, const char* buf, CMUint32 len)
{
}
NS_IMETHODIMP
nsPSMComponent::VerifySignature(const char* aRSABuf, PRUint32 aRSABufLen,
const char* aPlaintext, PRUint32 aPlaintextLen,
PRInt32* aErrorCode,
nsIPrincipal** aPrincipal)
{
if (!aPrincipal || !aErrorCode)
return NS_ERROR_NULL_POINTER;
*aErrorCode = 0;
*aPrincipal = nsnull;
CMT_CONTROL *controlConnection;
if (NS_FAILED(GetControlConnection( &controlConnection )))
return NS_ERROR_FAILURE;
//-- Decode the signature stream
CMUint32 decoderID;
CMInt32* blah = nsnull;
CMTStatus result = CMT_PKCS7DecoderStart(controlConnection, nsnull,
&decoderID, blah,
UselessPK7DataSink, nsnull);
if (result != CMTSuccess) return NS_ERROR_FAILURE;
result = CMT_PKCS7DecoderUpdate(controlConnection, decoderID, aRSABuf, aRSABufLen);
if (result != CMTSuccess) return NS_ERROR_FAILURE;
CMUint32 contentInfo;
result = CMT_PKCS7DecoderFinish(controlConnection,
decoderID, &contentInfo);
if (result != CMTSuccess) return NS_ERROR_FAILURE;
CMTItem hashItem;
hashItem.data = 0;
hashItem.len = 0;
//-- If a plaintext was provided, hash it.
if (aPlaintext)
{
CMUint32 hashId;
CMT_HashCreate(controlConnection, nsISignatureVerifier::SHA1, &hashId);
CMT_HASH_Begin(controlConnection, hashId);
CMTStatus result = CMT_HASH_Update(controlConnection, hashId,
(const unsigned char*)aPlaintext, aPlaintextLen);
if (result != CMTSuccess) return NS_ERROR_FAILURE;
unsigned char* hash = (unsigned char*)PR_MALLOC(nsISignatureVerifier::SHA1_LENGTH);
if (!hash) return NS_ERROR_OUT_OF_MEMORY;
CMUint32 hashLen;
result = CMT_HASH_End(controlConnection, hashId, hash,
&hashLen, nsISignatureVerifier::SHA1_LENGTH);
if (result != CMTSuccess)
{
PR_FREEIF(hash);
return NS_ERROR_FAILURE;
}
NS_ASSERTION(hashLen == nsISignatureVerifier::SHA1_LENGTH,
"PSMComponent: Hash too short.");
CMT_HASH_Destroy(controlConnection, hashId);
hashItem.data = hash;
hashItem.len = hashLen;
}
//-- Verify signature
// We need to call this function even if we're only creating a principal, not
// verifying, because PSM won't give us certificate information unless this
// function has been called.
result = CMT_PKCS7VerifyDetachedSignature(controlConnection, contentInfo,
6 /* =Object Signing Cert */,
3 /* =SHA1 algorithm (MD5=2)*/,
1,/* Save Certificate */
&hashItem, (CMInt32*)aErrorCode);
if (result != CMTSuccess) return NS_ERROR_FAILURE;
if (aPlaintext && *aErrorCode != 0) return NS_OK; // Verification failed.
CMUint32 certID;
result = CMT_GetRIDAttribute(controlConnection, contentInfo,
SSM_FID_P7CINFO_SIGNER_CERT, &certID);
if ((result != CMTSuccess) || !certID) return NS_OK; // No signature present
CMTItem fingerprint;
result = CMT_GetStringAttribute(controlConnection, certID,
SSM_FID_CERT_FINGERPRINT, &fingerprint);
if (result != CMTSuccess) return NS_ERROR_FAILURE;
//-- Get a principal
nsresult rv;
NS_WITH_SERVICE(nsIScriptSecurityManager, secMan,
NS_SCRIPTSECURITYMANAGER_PROGID, &rv)
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
rv = secMan->GetCertificatePrincipal((char*)fingerprint.data,
aPrincipal);
if (NS_FAILED(rv)) return rv;
//-- Get common name and store it in the principal.
// Using common name + organizational unit as the user-visible certificate name
nsCOMPtr<nsICertificatePrincipal> certificate = do_QueryInterface(*aPrincipal, &rv);
if (NS_FAILED(rv)) return NS_ERROR_FAILURE;
CMTItem common;
result = CMT_GetStringAttribute(controlConnection, certID,
SSM_FID_CERT_COMMON_NAME, &common);
if (result != CMTSuccess) return NS_ERROR_FAILURE;
CMTItem subject;
result = CMT_GetStringAttribute(controlConnection, certID,
SSM_FID_CERT_SUBJECT_NAME, &subject);
if (result != CMTSuccess) return NS_ERROR_FAILURE;
nsCAutoString commonName;
commonName = (char*)common.data;
static const char orgUnitTag[] = " OU=";
char* orgUnitPos = PL_strstr((char*)subject.data, orgUnitTag);
if (orgUnitPos)
{
orgUnitPos += sizeof(orgUnitTag)-1;
char* orgUnitEnd = PL_strchr(orgUnitPos, ',');
PRInt32 orgUnitLen;
if(orgUnitEnd)
orgUnitLen = orgUnitEnd - orgUnitPos;
else
orgUnitLen = PL_strlen(orgUnitPos);
commonName.Append(' ');
commonName.Append(orgUnitPos, orgUnitLen);
}
char* commonChar = commonName.ToNewCString();
if (!commonChar) return NS_ERROR_OUT_OF_MEMORY;
rv = certificate->SetCommonName(commonChar);
Recycle(commonChar);
return rv;
}

View File

@@ -1,60 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
*/
#include "nscore.h"
#include "nsIPSMComponent.h"
#include "nsISignatureVerifier.h"
#include "nsIStringBundle.h"
#include "nsIContentHandler.h"
#define SECURITY_STRING_BUNDLE_URL "chrome://communicator/locale/security.properties"
#define NS_PSMCOMPONENT_CID {0xddcae170, 0x5412, 0x11d3, {0xbb, 0xc8, 0x00, 0x00, 0x86, 0x1d, 0x12, 0x37}}
// Implementation of the PSM component interface.
class nsPSMComponent : public nsIPSMComponent,
public nsIContentHandler,
public nsISignatureVerifier
{
public:
NS_DEFINE_STATIC_CID_ACCESSOR( NS_PSMCOMPONENT_CID );
nsPSMComponent();
virtual ~nsPSMComponent();
NS_DECL_ISUPPORTS
NS_DECL_NSIPSMCOMPONENT
NS_DECL_NSICONTENTHANDLER
NS_DECL_NSISIGNATUREVERIFIER
static NS_METHOD CreatePSMComponent(nsISupports* aOuter, REFNSIID aIID, void **aResult);
private:
PCMT_CONTROL mControl;
nsCOMPtr<nsISupports> mSecureBrowserIU;
static nsPSMComponent* mInstance;
};

View File

@@ -1,178 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
*/
#include "nsIModule.h"
#include "nsIGenericFactory.h"
#include "nsPSMUICallbacks.h"
#include "nsPSMComponent.h"
#include "nsISecureBrowserUI.h"
#include "nsSecureBrowserUIImpl.h"
#include "nsSSLSocketProvider.h"
#include "nsSDR.h"
#include "nsFSDR.h"
#include "nsCrypto.h"
#include "nsKeygenHandler.h"
//For the NS_CRYPTO_PROGID define
#include "nsDOMCID.h"
#include "nsCURILoader.h"
#include "nsISupportsUtils.h"
// Define SDR object constructor
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
static NS_DEFINE_IID(kFormProcessorCID, NS_IFORMPROCESSOR_CID);
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsSecretDecoderRing, init)
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsFSecretDecoderRing, init)
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsCrypto, init)
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsPkcs11, init)
static nsModuleComponentInfo components[] =
{
{
PSM_COMPONENT_CLASSNAME,
NS_PSMCOMPONENT_CID,
PSM_COMPONENT_PROGID,
nsPSMComponent::CreatePSMComponent
},
{
"PSM Content Handler - application/x-x509-ca-cert",
NS_PSMCOMPONENT_CID,
NS_CONTENT_HANDLER_PROGID_PREFIX"application/x-x509-ca-cert",
nsPSMComponent::CreatePSMComponent
},
{
"PSM Content Handler - application/x-x509-server-cert",
NS_PSMCOMPONENT_CID,
NS_CONTENT_HANDLER_PROGID_PREFIX"application/x-x509-server-cert",
nsPSMComponent::CreatePSMComponent
},
{
"PSM Content Handler - application/x-x509-user-cert",
NS_PSMCOMPONENT_CID,
NS_CONTENT_HANDLER_PROGID_PREFIX"application/x-x509-user-cert",
nsPSMComponent::CreatePSMComponent
},
{
"PSM Content Handler - application/x-x509-email-cert",
NS_PSMCOMPONENT_CID,
NS_CONTENT_HANDLER_PROGID_PREFIX"application/x-x509-email-cert",
nsPSMComponent::CreatePSMComponent
},
{
PSM_UI_HANLDER_CLASSNAME,
NS_PSMUIHANDLER_CID,
PSM_UI_HANLDER_PROGID,
nsPSMUIHandlerImpl::CreatePSMUIHandler
},
{
NS_SECURE_BROWSER_UI_CLASSNAME,
NS_SECURE_BROWSER_UI_CID,
NS_SECURE_BROWSER_UI_PROGID,
nsSecureBrowserUIImpl::Create
},
{
NS_SECURE_BROWSER_DOCOBSERVER_CLASSNAME,
NS_SECURE_BROWSER_DOCOBSERVER_CID,
NS_SECURE_BROWSER_DOCOBSERVER_PROGID,
nsSecureBrowserUIImpl::Create
},
{
NS_ISSLSOCKETPROVIDER_CLASSNAME,
NS_SSLSOCKETPROVIDER_CID,
NS_ISSLSOCKETPROVIDER_PROGID,
nsSSLSocketProvider::Create
},
{
NS_SDR_CLASSNAME,
NS_SDR_CID,
NS_SDR_PROGID,
nsSecretDecoderRingConstructor
},
{
NS_FSDR_CLASSNAME,
NS_FSDR_CID,
NS_FSDR_PROGID,
nsFSecretDecoderRingConstructor
},
{
NS_CRYPTO_CLASSNAME,
NS_CRYPTO_CID,
NS_CRYPTO_PROGID,
nsCryptoConstructor
},
{
NS_PKCS11_CLASSNAME,
NS_PKCS11_CID,
NS_PKCS11_PROGID,
nsPkcs11Constructor
}
};
#if 0
NS_IMPL_NSGETMODULE("PSMComponent", components);
#endif
extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr,
nsIFile* location,
nsIModule** result)
{
nsresult rv;
// Put in code to register KEYGEN form input handler.
rv= NS_NewGenericModule("PSMComponent",
sizeof(components) / sizeof(components[0]),
components, nsnull, result);
// Register a form processor. The form processor has the opportunity to
// modify the value's passed during form submission.
nsKeygenFormProcessor* testFormProcessor = new nsKeygenFormProcessor();
nsCOMPtr<nsISupports> formProcessor;
rv = testFormProcessor->QueryInterface(kISupportsIID,
getter_AddRefs(formProcessor));
if (NS_SUCCEEDED(rv) && formProcessor) {
rv = nsServiceManager::RegisterService(kFormProcessorCID, formProcessor);
}
return rv;
}

View File

@@ -1,72 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
*/
#include "prmon.h"
#include "prtypes.h"
#include "nsPSMMutex.h"
static PRMonitor *_nsPSMMutexVar;
PRStatus
nsPSMMutexInit()
{
if (!_nsPSMMutexVar)
_nsPSMMutexVar = PR_NewMonitor();
return _nsPSMMutexVar ? PR_SUCCESS : PR_FAILURE;
}
PRStatus
nsPSMMutexDestroy()
{
if (!_nsPSMMutexVar)
return PR_FAILURE;
PR_Wait(_nsPSMMutexVar, PR_INTERVAL_NO_TIMEOUT);
PR_DestroyMonitor(_nsPSMMutexVar);
return PR_SUCCESS;
}
static void
nsPSMMutexLock(CMTMutexPointer *p)
{
PR_EnterMonitor(*(PRMonitor **)p);
return;
}
static void
nsPSMMutexUnlock(CMTMutexPointer *p)
{
PR_ExitMonitor(*(PRMonitor **)p);
return;
}
CMT_MUTEX nsPSMMutexTbl =
{
&_nsPSMMutexVar,
(CMTMutexFunction)nsPSMMutexLock,
(CMTMutexFunction)nsPSMMutexUnlock
};

View File

@@ -1,39 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
*/
#ifndef _NSPSMMUTEX_H
#define _NSPSMMUTEX_H
#include "cmtcmn.h"
PR_BEGIN_EXTERN_C
PR_EXTERN(CMT_MUTEX) nsPSMMutexTbl;
PR_EXTERN(PRStatus) nsPSMMutexInit(void);
PR_EXTERN(PRStatus) nsPSMMutexDestroy(void);
PR_END_EXTERN_C
#endif

View File

@@ -1,293 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
*/
#include "nspr.h"
#include "nsPSMShimLayer.h"
#ifdef XP_UNIX
#include <sys/stat.h>
#include <unistd.h>
#include "private/pprio.h" /* for PR_Socket */
#endif
#define PSM_TIMEOUT_IN_SEC 300
#define NSPSMSHIMMAXFD 50
static PRIntervalTime gTimeout = PR_INTERVAL_NO_TIMEOUT;
CMT_SocketFuncs nsPSMShimTbl =
{
nsPSMShimGetSocket,
nsPSMShimConnect,
nsPSMShimVerifyUnixSocket,
nsPSMShimSend,
nsPSMShimSelect,
nsPSMShimReceive,
nsPSMShimShutdown,
nsPSMShimClose
};
CMTSocket
nsPSMShimGetSocket(int unixSock)
{
PRStatus rv;
PRFileDesc *fd;
CMSocket *sock;
PRSocketOptionData sockopt;
/*
if (PR_INTERVAL_NO_WAIT == gTimeout)
{
gTimeout = PR_SecondsToInterval(PSM_TIMEOUT_IN_SEC);
}
*/
if (unixSock)
{
#ifndef XP_UNIX
return NULL;
#else
fd = PR_Socket(PR_AF_LOCAL, PR_SOCK_STREAM, 0);
PR_ASSERT(fd);
#endif
}
else
{
fd = PR_NewTCPSocket();
PR_ASSERT(fd);
/* disable Nagle algorithm delay for control sockets */
sockopt.option = PR_SockOpt_NoDelay;
sockopt.value.no_delay = PR_TRUE;
rv = PR_SetSocketOption(fd, &sockopt);
PR_ASSERT(PR_SUCCESS == rv);
}
sock = (CMSocket *)PR_Malloc(sizeof(CMSocket));
if (sock == NULL)
return sock;
sock->fd = fd;
sock->isUnix = unixSock;
memset(&sock->netAddr, 0, sizeof(PRNetAddr));
return (CMTSocket)sock;
}
CMTStatus
nsPSMShimConnect(CMTSocket sock, short port, char *path)
{
CMTStatus rv = CMTSuccess;
PRStatus err;
PRErrorCode errcode;
PRSocketOptionData sockopt;
PRBool nonBlocking;
CMSocket *cmSock = (CMSocket *)sock;
if (!sock) return CMTFailure;
if (cmSock->isUnix)
{
#ifndef XP_UNIX
return CMTFailure;
#else
int pathLen;
if (!path)
{
return CMTFailure;
}
/* check buffer overrun */
pathLen = strlen(path)+1;
pathLen = pathLen < sizeof(cmSock->netAddr.local.path)
? pathLen : sizeof(cmSock->netAddr.local.path);
memcpy(&cmSock->netAddr.local.path, path, pathLen);
cmSock->netAddr.local.family = PR_AF_LOCAL;
#endif
}
else /* cmSock->isUnix */
{
cmSock->netAddr.inet.family = PR_AF_INET;
cmSock->netAddr.inet.port = PR_htons(port);
cmSock->netAddr.inet.ip = PR_htonl(PR_INADDR_LOOPBACK);
}
/* Save non-blocking status */
sockopt.option = PR_SockOpt_Nonblocking;
err = PR_GetSocketOption(cmSock->fd, &sockopt);
PR_ASSERT(PR_SUCCESS == err);
nonBlocking = sockopt.value.non_blocking;
/* make connect blocking for now */
sockopt.option = PR_SockOpt_Nonblocking;
sockopt.value.non_blocking = PR_FALSE;
err = PR_SetSocketOption(cmSock->fd, &sockopt);
PR_ASSERT(PR_SUCCESS == err);
err = PR_Connect( cmSock->fd, &cmSock->netAddr, PR_INTERVAL_MAX );
if (err == PR_FAILURE)
{
errcode = PR_GetError();
if (PR_IS_CONNECTED_ERROR != errcode)
rv = CMTFailure;
}
/* restore nonblock status */
if (nonBlocking) {
sockopt.option = PR_SockOpt_Nonblocking;
sockopt.value.non_blocking = nonBlocking;
err = PR_SetSocketOption(cmSock->fd, &sockopt);
PR_ASSERT(PR_SUCCESS == err);
}
return rv;
}
CMTStatus
nsPSMShimVerifyUnixSocket(CMTSocket sock)
{
#ifndef XP_UNIX
return CMTFailure;
#else
int rv;
CMSocket *cmSock;
struct stat statbuf;
cmSock = (CMSocket *)sock;
if (!cmSock || !cmSock->isUnix)
return CMTFailure;
rv = stat(cmSock->netAddr.local.path, &statbuf);
if (rv < 0 || statbuf.st_uid != geteuid() )
{
PR_Close(cmSock->fd);
cmSock->fd = NULL;
PR_Free(cmSock);
return CMTFailure;
}
return CMTSuccess;
#endif
}
size_t
nsPSMShimSend(CMTSocket sock, void *buffer, size_t length)
{
CMSocket *cmSock = (CMSocket *)sock;
if (!sock) return CMTFailure;
return PR_Send(cmSock->fd, buffer, length, 0, gTimeout);
}
size_t
nsPSMShimReceive(CMTSocket sock, void *buffer, size_t bufSize)
{
CMSocket *cmSock = (CMSocket *)sock;
if (!sock) return CMTFailure;
return PR_Recv(cmSock->fd, buffer, bufSize, 0, gTimeout);
}
CMTSocket
nsPSMShimSelect(CMTSocket *socks, int numsocks, int poll)
{
CMSocket **sockArr = (CMSocket **)socks;
PRPollDesc readPDs[NSPSMSHIMMAXFD];
PRIntervalTime timeout;
PRInt32 cnt;
int i;
if (!socks) return NULL;
memset(readPDs, 0, sizeof(readPDs));
PR_ASSERT(NSPSMSHIMMAXFD >= numsocks);
for (i=0; i<numsocks; i++)
{
readPDs[i].fd = sockArr[i]->fd;
readPDs[i].in_flags = PR_POLL_READ;
}
timeout = poll ? PR_INTERVAL_NO_WAIT : PR_INTERVAL_NO_TIMEOUT;
cnt = PR_Poll(readPDs, numsocks, timeout);
/* Figure out which socket was selected */
if (cnt > 0)
{
for (i=0; i<numsocks; i++)
{
if (readPDs[i].out_flags & PR_POLL_READ)
{
return (CMTSocket)sockArr[i];
}
}
}
return NULL;
}
CMTStatus
nsPSMShimShutdown(CMTSocket sock)
{
CMSocket *cmSock = (CMSocket*)sock;
PRStatus rv;
if (!sock) return CMTFailure;
rv = PR_Shutdown(cmSock->fd, PR_SHUTDOWN_SEND);
return (PR_SUCCESS == rv) ? CMTSuccess : CMTFailure;
}
CMTStatus
nsPSMShimClose(CMTSocket sock)
{
CMSocket *cmSock = (CMSocket*)sock;
PRStatus rv = PR_SUCCESS;
PR_ASSERT(cmSock);
if (!sock) return CMTFailure;
rv = PR_Close(cmSock->fd);
cmSock->fd = NULL;
PR_Free(cmSock);
return (PR_SUCCESS == rv) ? CMTSuccess : CMTFailure;
}

View File

@@ -1,67 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
*/
#ifndef _NSPSMSHIMLAYER_H_
#define _NSPSMSHIMLAYER_H_
#include "cmtcmn.h"
#include "prio.h"
PR_BEGIN_EXTERN_C
typedef struct CMSocket {
PRFileDesc *fd;
PRBool isUnix;
PRNetAddr netAddr;
} CMSocket;
PR_EXTERN(CMT_SocketFuncs) nsPSMShimTbl;
PR_EXTERN(CMTSocket)
nsPSMShimGetSocket(int unixSock);
PR_EXTERN(CMTStatus)
nsPSMShimConnect(CMTSocket sock, short port, char *path);
PR_EXTERN(CMTStatus)
nsPSMShimVerifyUnixSocket(CMTSocket sock);
PR_EXTERN(size_t)
nsPSMShimSend(CMTSocket sock, void *buffer, size_t length);
PR_EXTERN(CMTSocket)
nsPSMShimSelect(CMTSocket *socks, int numsocks, int poll);
PR_EXTERN(size_t)
nsPSMShimReceive(CMTSocket sock, void *buffer, size_t bufSize);
PR_EXTERN(CMTStatus)
nsPSMShimShutdown(CMTSocket sock);
PR_EXTERN(CMTStatus)
nsPSMShimClose(CMTSocket sock);
PR_END_EXTERN_C
#endif /* _NSPSMSHIMLAYER_H_ */

View File

@@ -1,348 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
*/
#include "nsProxiedService.h"
#include "nsIEventQueueService.h"
#include "nsPSMUICallbacks.h"
#include "nsINetSupportDialogService.h"
#include "nsIFilePicker.h"
#include "nsAppShellCIDs.h"
#include "prprf.h"
#include "prmem.h"
#include "nsSSLIOLayer.h" // for SSMSTRING_PADDED_LENGTH
#include "ssmdefs.h"
#include "rsrcids.h"
// Interfaces Needed
#include "nsIAppShellService.h"
#include "nsIDocShell.h"
#include "nsIDOMWindow.h"
#include "nsIInterfaceRequestor.h"
#include "nsIPrompt.h"
#include "nsIScriptGlobalObject.h"
#include "nsIURL.h"
#include "nsIXULWindow.h"
static NS_DEFINE_IID(kAppShellServiceCID, NS_APPSHELL_SERVICE_CID);
static NS_DEFINE_CID(kNetSupportDialogCID, NS_NETSUPPORTDIALOG_CID);
// Happy callbacks
static char * PromptUserCallback(void *arg, char *prompt, int isPasswd);
static char * FilePathPromptCallback(void *arg, char *prompt, char *fileRegEx, CMUint32 shouldFileExist);
static void ApplicationFreeCallback(char *userInput);
static void * CartmanUIHandler(uint32 resourceID, void* clientContext, uint32 width, uint32 height,
CMBool isModal, char* urlStr, void *data);
extern "C" void CARTMAN_UIEventLoop(void *data);
/* nsISupports Implementation for the class */
NS_IMPL_THREADSAFE_ISUPPORTS1(nsPSMUIHandlerImpl, nsIPSMUIHandler)
NS_METHOD
nsPSMUIHandlerImpl::DisplayURI(PRInt32 width, PRInt32 height, PRBool modal, const char *urlStr)
{
nsresult rv;
nsCOMPtr<nsIDOMWindow> hiddenWindow;
JSContext *jsContext;
NS_WITH_SERVICE(nsIAppShellService, appShell, kAppShellServiceCID, &rv);
if (NS_SUCCEEDED(rv))
{
rv = appShell->GetHiddenWindowAndJSContext( getter_AddRefs( hiddenWindow ),
&jsContext );
if ( NS_SUCCEEDED( rv ) )
{
// Set up arguments for "window.open"
void *stackPtr;
char params[36];
if (modal) // if you change this, remember to change the buffer size above.
strcpy(params, "menubar=no,height=%d,width=%d,modal");
else
strcpy(params, "menubar=no,height=%d,width=%d");
char buffer[256];
PR_snprintf(buffer,
sizeof(buffer),
params,
height,
width );
jsval *argv = JS_PushArguments(jsContext, &stackPtr, "sss", urlStr, "_blank", buffer);
if (argv)
{
// open the window
nsIDOMWindow *newWindow;
hiddenWindow->Open(jsContext, argv, 3, &newWindow);
newWindow->ResizeTo(width, height);
JS_PopArguments(jsContext, stackPtr);
}
}
}
return rv;
}
NS_IMETHODIMP
nsPSMUIHandlerImpl::PromptForFile(const PRUnichar *prompt, const char *fileRegEx, PRBool shouldFileExist, char **outFile)
{
NS_ENSURE_ARG_POINTER(outFile);
nsCOMPtr<nsIFilePicker> fp = do_CreateInstance("component://mozilla/filepicker");
if (!fp)
return NS_ERROR_NULL_POINTER;
fp->Init(nsnull, prompt, nsIFilePicker::modeOpen);
fp->AppendFilter(NS_ConvertASCIItoUCS2(fileRegEx).GetUnicode(), NS_ConvertASCIItoUCS2(fileRegEx).GetUnicode());
fp->AppendFilters(nsIFilePicker::filterAll);
PRInt16 mode;
nsresult rv = fp->Show(&mode);
if (NS_FAILED(rv) || (mode == nsIFilePicker::returnCancel))
return rv;
nsCOMPtr<nsILocalFile> file;
rv = fp->GetFile(getter_AddRefs(file));
if (file)
file->GetPath(outFile);
return rv;
}
NS_METHOD
nsPSMUIHandlerImpl::CreatePSMUIHandler(nsISupports* aOuter, REFNSIID aIID, void **aResult)
{
nsresult rv = NS_OK;
if ( aResult )
{
/* Allocate new find component object. */
nsPSMUIHandlerImpl *component = new nsPSMUIHandlerImpl();
if ( component )
{
/* Allocated OK, do query interface to get proper */
/* pointer and increment refcount. */
rv = component->QueryInterface( aIID, aResult );
if ( NS_FAILED( rv ) )
{
/* refcount still at zero, delete it here. */
delete component;
}
}
else
{
rv = NS_ERROR_OUT_OF_MEMORY;
}
}
else
{
rv = NS_ERROR_NULL_POINTER;
}
return rv;
}
extern "C" void CARTMAN_UIEventLoop(void *data)
{
CMT_EventLoop((PCMT_CONTROL)data);
}
PRStatus InitPSMEventLoop(PCMT_CONTROL control)
{
PR_CreateThread(PR_USER_THREAD,
CARTMAN_UIEventLoop,
control,
PR_PRIORITY_NORMAL,
PR_GLOBAL_THREAD,
PR_UNJOINABLE_THREAD,
0);
return PR_SUCCESS;
}
PRStatus InitPSMUICallbacks(PCMT_CONTROL control)
{
if (!control)
return PR_FAILURE;
CMT_SetPromptCallback(control, (promptCallback_fn)PromptUserCallback, nsnull);
CMT_SetAppFreeCallback(control, (applicationFreeCallback_fn) ApplicationFreeCallback);
CMT_SetFilePathPromptCallback(control, (filePathPromptCallback_fn) FilePathPromptCallback, nsnull);
if (CMT_SetUIHandlerCallback(control, (uiHandlerCallback_fn) CartmanUIHandler, NULL) != CMTSuccess)
return PR_FAILURE;
return PR_SUCCESS;
}
PRStatus DisplayPSMUIDialog(PCMT_CONTROL control, const char *pickledStatus, const char *hostName)
{
CMUint32 advRID = 0;
CMInt32 width = 0;
CMInt32 height = 0;
CMTItem urlItem = {0, NULL, 0};
CMTStatus rv = CMTSuccess;
CMTItem advisorContext = {0, NULL, 0};
void * pwin;
CMTSecurityAdvisorData data;
memset(&data, '\0', sizeof(CMTSecurityAdvisorData));
if (hostName)
{
// if there is a hostName, than this request is about
// a webpage.
data.hostname = (char*) hostName;
data.infoContext = SSM_BROWSER;
if (pickledStatus)
{
CMTItem pickledResource = {0, NULL, 0};
CMUint32 socketStatus = 0;
pickledResource.len = *(int*)(pickledStatus);
pickledResource.data = (unsigned char*) PR_Malloc(SSMSTRING_PADDED_LENGTH(pickledResource.len));
if (! pickledResource.data) return PR_FAILURE;
memcpy(pickledResource.data, pickledStatus+sizeof(int), pickledResource.len);
/* Unpickle the SSL Socket Status */
if (CMT_UnpickleResource( control,
SSM_RESTYPE_SSL_SOCKET_STATUS,
pickledResource,
&socketStatus) == CMTSuccess)
{
data.infoContext = SSM_BROWSER;
data.resID = socketStatus;
}
PR_FREEIF(pickledResource.data);
}
}
/* Create a Security Advisor context object. */
rv = CMT_SecurityAdvisor(control, &data, &advRID);
if (rv != CMTSuccess)
return PR_FAILURE;
/* Get the URL, width, height, etc. from the advisor context. */
rv = CMT_GetStringAttribute(control,
advRID,
SSM_FID_SECADVISOR_URL,
&urlItem);
if ((rv != CMTSuccess) || (!urlItem.data))
return PR_FAILURE;
rv = CMT_GetNumericAttribute(control,
advRID,
SSM_FID_SECADVISOR_WIDTH,
&width);
if (rv != CMTSuccess)
return PR_FAILURE;
rv = CMT_GetNumericAttribute(control,
advRID,
SSM_FID_SECADVISOR_HEIGHT,
&height);
if (rv != CMTSuccess)
return PR_FAILURE;
/* Fire the URL up in a window of its own. */
pwin = CartmanUIHandler(advRID, nsnull, width, height, CM_FALSE, (char*)urlItem.data, NULL);
//allocated by cmt, we can free with free:
free(urlItem.data);
return PR_SUCCESS;
}
void* CartmanUIHandler(uint32 resourceID, void* clientContext, uint32 width, uint32 height, CMBool isModal, char* urlStr, void *data)
{
nsresult rv = NS_OK;
NS_WITH_PROXIED_SERVICE(nsIPSMUIHandler, handler, nsPSMUIHandlerImpl::GetCID(), NS_UI_THREAD_EVENTQ, &rv);
if(NS_SUCCEEDED(rv))
handler->DisplayURI(width, height, isModal, urlStr);
return nsnull;
}
char * PromptUserCallback(void *arg, char *prompt, int isPasswd)
{
nsresult rv = NS_OK;
PRUnichar *password;
PRBool value;
NS_WITH_PROXIED_SERVICE(nsIPrompt, dialog, kNetSupportDialogCID, NS_UI_THREAD_EVENTQ, &rv);
if (NS_SUCCEEDED(rv)) {
rv = dialog->PromptPassword(nsnull, NS_ConvertASCIItoUCS2(prompt).GetUnicode(),
NS_ConvertASCIItoUCS2(" ").GetUnicode(), // hostname
PR_TRUE, &password, &value);
if (NS_SUCCEEDED(rv) && value) {
nsString a(password);
char* str = a.ToNewCString();
Recycle(password);
return str;
}
}
return nsnull;
}
void ApplicationFreeCallback(char *userInput)
{
nsMemory::Free(userInput);
}
char * FilePathPromptCallback(void *arg, char *prompt, char *fileRegEx, CMUint32 shouldFileExist)
{
nsresult rv = NS_OK;
char* filePath = nsnull;
NS_WITH_PROXIED_SERVICE(nsIPSMUIHandler, handler, nsPSMUIHandlerImpl::GetCID(), NS_UI_THREAD_EVENTQ, &rv);
if(NS_SUCCEEDED(rv))
handler->PromptForFile(NS_ConvertASCIItoUCS2(prompt).GetUnicode(), fileRegEx, (PRBool)shouldFileExist, &filePath);
return filePath;
}

View File

@@ -1,56 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
*/
#ifndef _NSPSMUICALLBACKS_H
#define _NSPSMUICALLBACKS_H
#include "prtypes.h"
#include "cmtcmn.h"
#include "nsIPSMUIHandler.h"
PRStatus InitPSMUICallbacks(PCMT_CONTROL gControl);
PRStatus InitPSMEventLoop(PCMT_CONTROL gControl);
PRStatus DisplayPSMUIDialog(PCMT_CONTROL control, const char* pickledStatus, const char *hostName);
#define NS_PSMUIHANDLER_CID {0x15944e30, 0x601e, 0x11d3, {0x8c, 0x4a, 0x00, 0x00, 0x64, 0x65, 0x73, 0x74}}
class nsPSMUIHandlerImpl : public nsIPSMUIHandler
{
public:
NS_DEFINE_STATIC_CID_ACCESSOR( NS_PSMUIHANDLER_CID );
/* ctor/dtor */
nsPSMUIHandlerImpl() { NS_INIT_REFCNT(); }
virtual ~nsPSMUIHandlerImpl() { }
NS_DECL_ISUPPORTS
NS_DECL_NSIPSMUIHANDLER
static NS_METHOD CreatePSMUIHandler(nsISupports* aOuter, REFNSIID aIID, void **aResult);
};
#endif

View File

@@ -1,320 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* thayes@netscape.com
*/
#include "stdlib.h"
#include "plstr.h"
#include "nsMemory.h"
#include "nsIServiceManager.h"
#include "plbase64.h"
#include "nsISecretDecoderRing.h"
#include "cmtcmn.h"
#include "nsIPSMComponent.h"
#include "nsSDR.h"
NS_IMPL_ISUPPORTS1(nsSecretDecoderRing, nsISecretDecoderRing)
nsSecretDecoderRing::nsSecretDecoderRing()
{
NS_INIT_ISUPPORTS();
mPSM = NULL;
}
nsSecretDecoderRing::~nsSecretDecoderRing()
{
if (mPSM) mPSM->Release();
}
/* Init the new instance */
nsresult nsSecretDecoderRing::
init()
{
nsresult rv;
nsISupports *psm;
rv = nsServiceManager::GetService(kPSMComponentProgID, NS_GET_IID(nsIPSMComponent),
&psm);
if (rv != NS_OK) goto loser; /* Should promote error */
mPSM = (nsIPSMComponent *)psm;
loser:
return rv;
}
/* [noscript] long encrypt (in buffer data, in long dataLen, out buffer result); */
NS_IMETHODIMP nsSecretDecoderRing::
Encrypt(unsigned char * data, PRInt32 dataLen, unsigned char * *result, PRInt32 *_retval)
{
nsresult rv = NS_OK;
unsigned char *r = 0;
CMT_CONTROL *control;
CMTStatus status;
CMUint32 cLen;
if (data == nsnull || result == nsnull || _retval == nsnull) {
rv = NS_ERROR_INVALID_POINTER;
goto loser;
}
/* Check object initialization */
NS_ASSERTION(mPSM != nsnull, "SDR object not initialized");
if (mPSM == nsnull) { rv = NS_ERROR_NOT_INITIALIZED; goto loser; }
/* Get the control connect to use for the request */
rv = mPSM->GetControlConnection(&control);
if (rv != NS_OK) { rv = NS_ERROR_NOT_AVAILABLE; goto loser; }
status = CMT_SDREncrypt(control, (void *)0, (const unsigned char *)0, 0,
data, dataLen, result, &cLen);
if (status != CMTSuccess) { rv = NS_ERROR_FAILURE; goto loser; } /* XXX */
/* Copy returned data to nsMemory buffer ? */
*_retval = cLen;
loser:
return rv;
}
/* [noscript] long decrypt (in buffer data, in long dataLen, out buffer result); */
NS_IMETHODIMP nsSecretDecoderRing::
Decrypt(unsigned char * data, PRInt32 dataLen, unsigned char * *result, PRInt32 *_retval)
{
nsresult rv = NS_OK;
CMTStatus status;
CMT_CONTROL *control;
CMUint32 len;
if (data == nsnull || result == nsnull || _retval == nsnull) {
rv = NS_ERROR_INVALID_POINTER;
goto loser;
}
/* Check object initialization */
NS_ASSERTION(mPSM != nsnull, "SDR object not initialized");
if (mPSM == nsnull) { rv = NS_ERROR_NOT_INITIALIZED; goto loser; }
/* Get the control connection */
rv = mPSM->GetControlConnection(&control);
if (rv != NS_OK) { rv = NS_ERROR_NOT_AVAILABLE; goto loser; }
/* Call PSM to decrypt the value */
status = CMT_SDRDecrypt(control, (void *)0, data, dataLen, result, &len);
if (status != CMTSuccess) { rv = NS_ERROR_FAILURE; goto loser; } /* Promote? */
/* Copy returned data to nsMemory buffer ? */
*_retval = len;
loser:
return rv;
}
/* string encryptString (in string text); */
NS_IMETHODIMP nsSecretDecoderRing::
EncryptString(const char *text, char **_retval)
{
nsresult rv = NS_OK;
unsigned char *encrypted = 0;
PRInt32 eLen;
if (text == nsnull || _retval == nsnull) {
rv = NS_ERROR_INVALID_POINTER;
goto loser;
}
rv = Encrypt((unsigned char *)text, PL_strlen(text), &encrypted, &eLen);
if (rv != NS_OK) { goto loser; }
rv = encode(encrypted, eLen, _retval);
loser:
if (encrypted) nsMemory::Free(encrypted);
return rv;
}
/* string decryptString (in string crypt); */
NS_IMETHODIMP nsSecretDecoderRing::
DecryptString(const char *crypt, char **_retval)
{
nsresult rv = NS_OK;
char *r = 0;
unsigned char *decoded = 0;
PRInt32 decodedLen;
unsigned char *decrypted = 0;
PRInt32 decryptedLen;
if (crypt == nsnull || _retval == nsnull) {
rv = NS_ERROR_INVALID_POINTER;
goto loser;
}
rv = decode(crypt, &decoded, &decodedLen);
if (rv != NS_OK) goto loser;
rv = Decrypt(decoded, decodedLen, &decrypted, &decryptedLen);
if (rv != NS_OK) goto loser;
// Convert to NUL-terminated string
r = (char *)nsMemory::Alloc(decryptedLen+1);
if (!r) { rv = NS_ERROR_OUT_OF_MEMORY; goto loser; }
memcpy(r, decrypted, decryptedLen);
r[decryptedLen] = 0;
*_retval = r;
r = 0;
loser:
if (r) nsMemory::Free(r);
if (decrypted) nsMemory::Free(decrypted);
if (decoded) nsMemory::Free(decoded);
return rv;
}
/* void changePassword(); */
NS_IMETHODIMP nsSecretDecoderRing::
ChangePassword()
{
nsresult rv = NS_OK;
CMTStatus status;
CMT_CONTROL *control;
rv = mPSM->GetControlConnection(&control);
if (rv != NS_OK) { rv = NS_ERROR_NOT_AVAILABLE; goto loser; }
status = CMT_SDRChangePassword(control, (void*)0);
loser:
return rv;
}
/* void logout(); */
NS_IMETHODIMP nsSecretDecoderRing::
Logout()
{
nsresult rv = NS_OK;
CMTStatus status;
CMT_CONTROL *control;
/* Check object initialization */
NS_ASSERTION(mPSM != nsnull, "SDR object not initialized");
if (mPSM == nsnull) { rv = NS_ERROR_NOT_INITIALIZED; goto loser; }
/* Get the control connection */
rv = mPSM->GetControlConnection(&control);
if (rv != NS_OK) { rv = NS_ERROR_NOT_AVAILABLE; goto loser; }
/* Call PSM to decrypt the value */
status = CMT_LogoutAllTokens(control);
if (status != CMTSuccess) { rv = NS_ERROR_FAILURE; goto loser; } /* Promote? */
loser:
return rv;
}
// Support routines
nsresult nsSecretDecoderRing::
encode(const unsigned char *data, PRInt32 dataLen, char **_retval)
{
nsresult rv = NS_OK;
*_retval = PL_Base64Encode((const char *)data, dataLen, NULL);
if (!*_retval) { rv = NS_ERROR_OUT_OF_MEMORY; goto loser; }
loser:
return rv;
#if 0
nsresult rv = NS_OK;
char *r = 0;
// Allocate space for encoded string (with NUL)
r = (char *)nsMemory::Alloc(dataLen+1);
if (!r) { rv = NS_ERROR_OUT_OF_MEMORY; goto loser; }
memcpy(r, data, dataLen);
r[dataLen] = 0;
*_retval = r;
r = 0;
loser:
if (r) nsMemory::Free(r);
return rv;
#endif
}
nsresult nsSecretDecoderRing::
decode(const char *data, unsigned char **result, PRInt32 * _retval)
{
nsresult rv = NS_OK;
PRUint32 len = PL_strlen(data);
int adjust = 0;
/* Compute length adjustment */
if (data[len-1] == '=') {
adjust++;
if (data[len-2] == '=') adjust++;
}
*result = (unsigned char *)PL_Base64Decode(data, len, NULL);
if (!*result) { rv = NS_ERROR_ILLEGAL_VALUE; goto loser; }
*_retval = (len*3)/4 - adjust;
loser:
return rv;
#if 0
nsresult rv = NS_OK;
unsigned char *r = 0;
PRInt32 rLen;
// Allocate space for decoded string (missing NUL)
rLen = PL_strlen(data);
r = (unsigned char *)nsMemory::Alloc(rLen);
if (!r) { rv = NS_ERROR_OUT_OF_MEMORY; goto loser; }
memcpy(r, data, rLen);
*result = r;
r = 0;
*_retval = rLen;
loser:
if (r) nsMemory::Free(r);
return rv;
#endif
}
const char * nsSecretDecoderRing::kPSMComponentProgID = PSM_COMPONENT_PROGID;

View File

@@ -1,58 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Terry Hayes <thayes@netscape.com>
*/
#ifndef _NSSDR_H_
#define _NSSDR_H_
#include "nsISecretDecoderRing.h"
// ===============================================
// nsSecretDecoderRing - implementation of nsISecretDecoderRing
// ===============================================
#define NS_SDR_CLASSNAME "Secret Decoder Ring"
#define NS_SDR_CID \
{ 0xd9a0341, 0xce7, 0x11d4, { 0x9f, 0xdd, 0x0, 0x0, 0x64, 0x65, 0x73, 0x74 } }
#define NS_SDR_PROGID "netscape.security.sdr"
class nsSecretDecoderRing : public nsISecretDecoderRing
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSISECRETDECODERRING
nsSecretDecoderRing();
virtual ~nsSecretDecoderRing();
nsresult init();
private:
nsIPSMComponent *mPSM;
static const char *kPSMComponentProgID;
nsresult encode(const unsigned char *data, PRInt32 dataLen, char **_retval);
nsresult decode(const char *data, unsigned char **result, PRInt32 * _retval);
};
#endif /* _NSSDR_H_ */

View File

@@ -1,550 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#include "nspr.h"
#include "nsString.h"
#include "cmtcmn.h"
#include "nsIPSMComponent.h"
#include "nsIPSMSocketInfo.h"
#include "nsIServiceManager.h"
#include "nsPSMShimLayer.h"
#include "nsSSLIOLayer.h"
static PRDescIdentity nsSSLIOLayerIdentity;
static PRIOMethods nsSSLIOLayerMethods;
static nsIPSMComponent* gPSMService = nsnull;
class nsPSMSocketInfo : public nsIPSMSocketInfo
{
public:
nsPSMSocketInfo();
virtual ~nsPSMSocketInfo();
NS_DECL_ISUPPORTS
NS_DECL_NSIPSMSOCKETINFO
// internal functions to psm-glue.
nsresult SetSocketPtr(CMSocket *socketPtr);
nsresult SetControlPtr(CMT_CONTROL *aControlPtr);
nsresult SetFileDescPtr(PRFileDesc *aControlPtr);
nsresult SetHostName(char *aHostName);
nsresult SetProxyName(char *aName);
nsresult SetHostPort(PRInt32 aPort);
nsresult SetProxyPort(PRInt32 aPort);
nsresult SetPickledStatus();
protected:
CMT_CONTROL* mControl;
CMSocket* mSocket;
PRFileDesc* mFd;
nsString mHostName;
PRInt32 mHostPort;
nsString mProxyName;
PRInt32 mProxyPort;
unsigned char* mPickledStatus;
};
static PRStatus PR_CALLBACK
nsSSLIOLayerConnect(PRFileDesc *fd, const PRNetAddr *addr, PRIntervalTime timeout)
{
nsresult result;
PRStatus rv = PR_SUCCESS;
CMTStatus status = CMTFailure;
/* Set the error in case of failure. */
PR_SetError(PR_UNKNOWN_ERROR, status);
if (!fd || !addr || !fd->secret || !gPSMService)
return PR_FAILURE;
char ipBuffer[PR_NETDB_BUF_SIZE];
rv = PR_NetAddrToString(addr, (char*)&ipBuffer, PR_NETDB_BUF_SIZE);
if (rv != PR_SUCCESS)
return PR_FAILURE;
if (addr->raw.family == PR_AF_INET6 && PR_IsNetAddrType(addr, PR_IpAddrV4Mapped))
{
/* Chop off the leading "::ffff:" */
strcpy(ipBuffer, ipBuffer + 7);
}
CMT_CONTROL *control;
result = gPSMService->GetControlConnection(&control);
if (result != PR_SUCCESS)
return PR_FAILURE;
CMSocket* cmsock = (CMSocket *)PR_Malloc(sizeof(CMSocket));
if (!cmsock)
return PR_FAILURE;
memset(cmsock, 0, sizeof(CMSocket));
cmsock->fd = fd->lower;
cmsock->isUnix = PR_FALSE;
nsPSMSocketInfo *infoObject = (nsPSMSocketInfo *)fd->secret;
infoObject->SetControlPtr(control);
infoObject->SetSocketPtr(cmsock);
char* proxyName;
char* hostName;
infoObject->GetProxyName(&proxyName);
infoObject->GetHostName(&hostName);
if (!proxyName)
{
// Direct connection
status = CMT_OpenSSLConnection(control,
cmsock,
SSM_REQUEST_SSL_DATA_SSL,
PR_ntohs(addr->inet.port),
ipBuffer,
(hostName ? hostName : ipBuffer),
CM_FALSE,
nsnull);
}
else
{
// not supported yet.
return PR_FAILURE;
#if 0
PRInt32 destPort;
infoObject->GetProxyPort(&destPort);
status = CMT_OpenSSLProxyConnection(control,
cmsock,
destPort,
proxyName, // wants IP
hostName);
#endif
}
if (hostName) Recycle(hostName);
if (proxyName) Recycle(proxyName);
if (CMTSuccess == status)
{
// since our stuff can block, what we want to do is return PR_FAILURE,
// but set the nspr ERROR to BLOCK. This will put us into a select
// q.
PR_SetError(PR_WOULD_BLOCK_ERROR, status);
return PR_FAILURE;
}
return PR_FAILURE;
}
/* CMT_DestroyDataConnection(ctrl, sock); */
/* need to strip our layer, pass result to DestroyDataConnection */
/* which will clean up the CMT accounting of sock, then call our */
/* shim layer to translate back to NSPR */
static PRStatus PR_CALLBACK
nsSSLIOLayerClose(PRFileDesc *fd)
{
nsPSMSocketInfo *infoObject = (nsPSMSocketInfo *)fd->secret;
PRDescIdentity id = PR_GetLayersIdentity(fd);
if (infoObject && id == nsSSLIOLayerIdentity)
{
CMInt32 errorCode = PR_FAILURE;
CMT_CONTROL* control;
CMSocket* socket;
PR_Shutdown(fd, PR_SHUTDOWN_BOTH);
infoObject->GetControlPtr(&control);
infoObject->GetSocketPtr(&socket);
infoObject->SetPickledStatus();
CMT_GetSSLDataErrorCode(control, socket, &errorCode);
CMT_DestroyDataConnection(control, socket);
NS_RELEASE(infoObject); // if someone is interested in us, the better have an addref.
fd->identity = PR_INVALID_IO_LAYER;
return (PRStatus)errorCode;
}
return PR_FAILURE;
}
static PRInt32 PR_CALLBACK
nsSSLIOLayerRead( PRFileDesc *fd, void *buf, PRInt32 amount)
{
if (!fd)
return PR_FAILURE;
PRInt32 result = PR_Recv(fd, buf, amount, 0, PR_INTERVAL_MIN);
if (result > 0)
return result;
if (result == -1)
{
PRErrorCode code = PR_GetError();
if (code == PR_IO_TIMEOUT_ERROR )
PR_SetError(PR_WOULD_BLOCK_ERROR, PR_WOULD_BLOCK_ERROR);
return PR_FAILURE;
}
if (result == 0)
{
nsPSMSocketInfo *infoObject = (nsPSMSocketInfo *)fd->secret;
PRDescIdentity id = PR_GetLayersIdentity(fd);
if (infoObject && id == nsSSLIOLayerIdentity)
{
CMInt32 errorCode = PR_FAILURE;
CMT_CONTROL* control;
CMSocket* socket;
infoObject->GetControlPtr(&control);
infoObject->GetSocketPtr(&socket);
CMT_GetSSLDataErrorCode(control, socket, &errorCode);
if (errorCode == PR_IO_TIMEOUT_ERROR)
{
PR_SetError(PR_WOULD_BLOCK_ERROR, PR_WOULD_BLOCK_ERROR);
return PR_FAILURE;
}
PR_SetError(0, 0);
return errorCode;
}
}
return result;
}
static PRInt32 PR_CALLBACK
nsSSLIOLayerWrite( PRFileDesc *fd, const void *buf, PRInt32 amount)
{
if (!fd)
return PR_FAILURE;
PRInt32 result = PR_Send(fd, buf, amount, 0, PR_INTERVAL_MIN);
if (result > 0)
return result;
if (result == -1)
{
PRErrorCode code = PR_GetError();
if (code == PR_IO_TIMEOUT_ERROR )
PR_SetError(PR_WOULD_BLOCK_ERROR, PR_WOULD_BLOCK_ERROR);
return PR_FAILURE;
}
if (result == 0)
{
nsPSMSocketInfo *infoObject = (nsPSMSocketInfo *)fd->secret;
PRDescIdentity id = PR_GetLayersIdentity(fd);
if (infoObject && id == nsSSLIOLayerIdentity)
{
CMInt32 errorCode = PR_FAILURE;
CMT_CONTROL* control;
CMSocket* socket;
infoObject->GetControlPtr(&control);
infoObject->GetSocketPtr(&socket);
CMT_GetSSLDataErrorCode(control, socket, &errorCode);
PR_SetError(0, 0);
return errorCode;
}
}
return result;
}
nsPSMSocketInfo::nsPSMSocketInfo()
{
NS_INIT_REFCNT();
mControl = nsnull;
mSocket = nsnull;
mPickledStatus = nsnull;
}
nsPSMSocketInfo::~nsPSMSocketInfo()
{
PR_FREEIF(mPickledStatus);
}
NS_IMPL_THREADSAFE_ISUPPORTS1(nsPSMSocketInfo, nsIPSMSocketInfo);
NS_IMETHODIMP
nsPSMSocketInfo::GetControlPtr(CMT_CONTROL * *aControlPtr)
{
*aControlPtr = mControl;
return NS_OK;
}
nsresult
nsPSMSocketInfo::SetControlPtr(CMT_CONTROL *aControlPtr)
{
mControl = aControlPtr;
return NS_OK;
}
NS_IMETHODIMP
nsPSMSocketInfo::GetSocketPtr(CMSocket * *socketPtr)
{
*socketPtr = mSocket;
return NS_OK;
}
nsresult
nsPSMSocketInfo::SetSocketPtr(CMSocket *socketPtr)
{
mSocket = socketPtr;
return NS_OK;
}
NS_IMETHODIMP
nsPSMSocketInfo::GetFileDescPtr(PRFileDesc * *aFilePtr)
{
*aFilePtr = mFd;
return NS_OK;
}
nsresult
nsPSMSocketInfo::SetFileDescPtr(PRFileDesc *aFilePtr)
{
mFd = aFilePtr;
return NS_OK;
}
NS_IMETHODIMP
nsPSMSocketInfo::GetHostName(char * *aHostName)
{
if (mHostName.IsEmpty())
*aHostName = nsnull;
else
*aHostName = mHostName.ToNewCString();
return NS_OK;
}
nsresult
nsPSMSocketInfo::SetHostName(char *aHostName)
{
mHostName.AssignWithConversion(aHostName);
return NS_OK;
}
NS_IMETHODIMP
nsPSMSocketInfo::GetHostPort(PRInt32 *aPort)
{
*aPort = mHostPort;
return NS_OK;
}
nsresult
nsPSMSocketInfo::SetHostPort(PRInt32 aPort)
{
mHostPort = aPort;
return NS_OK;
}
NS_IMETHODIMP
nsPSMSocketInfo::GetProxyName(char * *aName)
{
if (mProxyName.IsEmpty())
*aName = nsnull;
else
*aName = mProxyName.ToNewCString();
return NS_OK;
}
nsresult
nsPSMSocketInfo::SetProxyName(char *aName)
{
mProxyName.AssignWithConversion(aName);
return NS_OK;
}
NS_IMETHODIMP
nsPSMSocketInfo::GetProxyPort(PRInt32 *aPort)
{
*aPort = mProxyPort;
return NS_OK;
}
nsresult
nsPSMSocketInfo::SetProxyPort(PRInt32 aPort)
{
mProxyPort = aPort;
return NS_OK;
}
nsresult
nsPSMSocketInfo::SetPickledStatus()
{
PR_FREEIF(mPickledStatus);
long level;
CMTItem pickledStatus = {0, nsnull, 0};
unsigned char* ret = nsnull;
if (CMT_GetSSLSocketStatus(mControl, mSocket, &pickledStatus, &level) != PR_FAILURE)
{
ret = (unsigned char*) PR_Malloc( (SSMSTRING_PADDED_LENGTH(pickledStatus.len) + sizeof(int)) );
if (ret)
{
*(int*)ret = pickledStatus.len;
memcpy(ret+sizeof(int), pickledStatus.data, *(int*)ret);
}
PR_FREEIF(pickledStatus.data);
mPickledStatus = ret;
}
return NS_OK;
}
NS_IMETHODIMP
nsPSMSocketInfo::GetPickledStatus(char * *pickledStatusString)
{
if (!mPickledStatus)
SetPickledStatus();
if (mPickledStatus)
{
PRInt32 len = *(int*)mPickledStatus;
char *out = (char *)nsMemory::Alloc(len);
memcpy(out, mPickledStatus, len);
*pickledStatusString = out;
return NS_OK;
}
*pickledStatusString = nsnull;
return NS_ERROR_FAILURE;
}
nsresult
nsSSLIOLayerNewSocket( const char *host,
PRInt32 port,
const char *proxyHost,
PRInt32 proxyPort,
PRFileDesc **fd,
nsISupports** info)
{
static PRBool firstTime = PR_TRUE;
if (firstTime)
{
nsSSLIOLayerIdentity = PR_GetUniqueIdentity("Cartman layer");
nsSSLIOLayerMethods = *PR_GetDefaultIOMethods();
nsSSLIOLayerMethods.connect = nsSSLIOLayerConnect;
nsSSLIOLayerMethods.close = nsSSLIOLayerClose;
nsSSLIOLayerMethods.read = nsSSLIOLayerRead;
nsSSLIOLayerMethods.write = nsSSLIOLayerWrite;
nsresult result = nsServiceManager::GetService( PSM_COMPONENT_PROGID,
NS_GET_IID(nsIPSMComponent),
(nsISupports**)&gPSMService);
if (NS_FAILED(result))
return PR_FAILURE;
firstTime = PR_FALSE;
}
PRFileDesc * sock;
PRFileDesc * layer;
PRStatus rv;
/* Get a normal NSPR socket */
sock = PR_NewTCPSocket();
if (! sock) return NS_ERROR_OUT_OF_MEMORY;
/* disable Nagle algorithm delay for control sockets */
PRSocketOptionData sockopt;
sockopt.option = PR_SockOpt_NoDelay;
sockopt.value.no_delay = PR_TRUE;
rv = PR_SetSocketOption(sock, &sockopt);
PR_ASSERT(PR_SUCCESS == rv);
layer = PR_CreateIOLayerStub(nsSSLIOLayerIdentity, &nsSSLIOLayerMethods);
if (! layer)
{
PR_Close(sock);
return NS_ERROR_FAILURE;
}
nsPSMSocketInfo *infoObject = new nsPSMSocketInfo();
if (!infoObject)
{
PR_Close(sock);
// clean up IOLayerStub.
return NS_ERROR_FAILURE;
}
NS_ADDREF(infoObject);
infoObject->SetHostName((char*)host);
infoObject->SetHostPort(port);
infoObject->SetProxyName((char*)proxyHost);
infoObject->SetProxyPort(proxyPort);
layer->secret = (PRFilePrivate*) infoObject;
rv = PR_PushIOLayer(sock, PR_GetLayersIdentity(sock), layer);
if (rv == PR_SUCCESS)
{
*fd = sock;
*info = infoObject;
NS_ADDREF(*info);
return NS_OK;
}
PR_Close(sock);
return NS_ERROR_FAILURE;
}

View File

@@ -1,39 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#ifndef _NSSSLIOLAYER_H
#define _NSSSLIOLAYER_H
#include "prtypes.h"
#include "prio.h"
#include "nsIPSMSocketInfo.h"
// define taken from 4.x cartman glue code.
#define SSMSTRING_PADDED_LENGTH(x) ((((x)+3)/4)*4)
nsresult nsSSLIOLayerNewSocket(const char *host,
PRInt32 port,
const char *proxyHost,
PRInt32 proxyPort,
PRFileDesc **fd,
nsISupports **securityInfo);
#endif /* _NSSSLIOLAYER_H */

View File

@@ -1,94 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#include "nsIComponentManager.h"
#include "nsIServiceManager.h"
#include "nsSSLSocketProvider.h"
#include "nsSSLIOLayer.h"
////////////////////////////////////////////////////////////////////////////////
nsSSLSocketProvider::nsSSLSocketProvider()
{
NS_INIT_REFCNT();
}
nsresult
nsSSLSocketProvider::Init()
{
nsresult rv = NS_OK;
return rv;
}
nsSSLSocketProvider::~nsSSLSocketProvider()
{
}
NS_IMPL_THREADSAFE_ISUPPORTS2(nsSSLSocketProvider, nsISocketProvider, nsISSLSocketProvider);
NS_METHOD
nsSSLSocketProvider::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult)
{
nsresult rv;
nsSSLSocketProvider * inst;
if (NULL == aResult) {
rv = NS_ERROR_NULL_POINTER;
return rv;
}
*aResult = NULL;
if (NULL != aOuter) {
rv = NS_ERROR_NO_AGGREGATION;
return rv;
}
NS_NEWXPCOM(inst, nsSSLSocketProvider);
if (NULL == inst) {
rv = NS_ERROR_OUT_OF_MEMORY;
return rv;
}
NS_ADDREF(inst);
rv = inst->QueryInterface(aIID, aResult);
NS_RELEASE(inst);
return rv;
}
NS_IMETHODIMP
nsSSLSocketProvider::NewSocket(const char *host,
PRInt32 port,
const char *proxyHost,
PRInt32 proxyPort,
PRFileDesc **_result,
nsISupports **securityInfo)
{
nsresult rv = nsSSLIOLayerNewSocket(host,
port,
proxyHost,
proxyPort,
_result,
securityInfo);
return (NS_FAILED(rv)) ? NS_ERROR_SOCKET_CREATE_FAILED : NS_OK;
}

View File

@@ -1,54 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#ifndef _NSSSLSOCKETPROVIDER_H_
#define _NSSSLSOCKETPROVIDER_H_
#include "nsISSLSocketProvider.h"
/* 274418d0-5437-11d3-bbc8-0000861d1237 */
#define NS_SSLSOCKETPROVIDER_CID { 0x274418d0, 0x5437, 0x11d3, {0xbb, 0xc8, 0x00, 0x00, 0x86, 0x1d, 0x12, 0x37}}
class nsSSLSocketProvider : public nsISSLSocketProvider
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSISOCKETPROVIDER
NS_DECL_NSISSLSOCKETPROVIDER
// nsSSLSocketProvider methods:
nsSSLSocketProvider();
virtual ~nsSSLSocketProvider();
static NS_METHOD
Create(nsISupports *aOuter, REFNSIID aIID, void **aResult);
nsresult Init();
protected:
};
#endif /* _NSSSLSOCKETPROVIDER_H_ */

View File

@@ -1,654 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
* Stuart Parmenter <pavlov@netscape.com>
*/
#include "nspr.h"
#include "prlog.h"
#include "nsISecureBrowserUI.h"
#include "nsSecureBrowserUIImpl.h"
#include "nsIPSMComponent.h"
#include "nsPSMComponent.h"
#include "nsCOMPtr.h"
#include "nsIInterfaceRequestor.h"
#include "nsIServiceManager.h"
#include "nsIScriptGlobalObject.h"
#include "nsIObserverService.h"
#include "nsIDocumentLoader.h"
#include "nsCURILoader.h"
#include "nsIDocShell.h"
#include "nsIDocumentViewer.h"
#include "nsCURILoader.h"
#include "nsIDocument.h"
#include "nsIDOMHTMLDocument.h"
#include "nsIDOMXULDocument.h"
#include "nsIDOMElement.h"
#include "nsIDOMWindow.h"
#include "nsIContent.h"
#include "nsIWebProgress.h"
#include "nsIChannel.h"
#include "nsIPSMSocketInfo.h"
#include "nsIURI.h"
#include "prmem.h"
#include "nsINetSupportDialogService.h"
#include "nsIPrompt.h"
#include "nsICommonDialogs.h"
#include "nsIPref.h"
#include "nsIFormSubmitObserver.h"
static NS_DEFINE_CID(kCStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID);
static NS_DEFINE_CID(kCommonDialogsCID, NS_CommonDialog_CID );
static NS_DEFINE_CID(kPrefCID, NS_PREF_CID);
#define ENTER_SITE_PREF "security.warn_entering_secure"
#define LEAVE_SITE_PREF "security.warn_leaving_secure"
#define MIXEDCONTENT_PREF "security.warn_viewing_mixed"
#define INSECURE_SUBMIT_PREF "security.warn_submit_insecure"
#if defined(PR_LOGGING)
//
// Log module for nsSecureBroswerUI logging...
//
// To enable logging (see prlog.h for full details):
//
// set NSPR_LOG_MODULES=nsSecureBroswerUI:5
// set NSPR_LOG_FILE=nspr.log
//
// this enables PR_LOG_DEBUG level information and places all output in
// the file nspr.log
//
PRLogModuleInfo* gSecureDocLog = nsnull;
#endif /* PR_LOGGING */
NS_IMETHODIMP
nsSecureBrowserUIImpl::Create(nsISupports *aOuter, REFNSIID aIID, void **aResult)
{
nsresult rv;
nsSecureBrowserUIImpl * inst;
if (NULL == aResult) {
rv = NS_ERROR_NULL_POINTER;
return rv;
}
*aResult = NULL;
if (NULL != aOuter) {
rv = NS_ERROR_NO_AGGREGATION;
return rv;
}
NS_NEWXPCOM(inst, nsSecureBrowserUIImpl);
if (NULL == inst) {
rv = NS_ERROR_OUT_OF_MEMORY;
return rv;
}
NS_ADDREF(inst);
rv = inst->QueryInterface(aIID, aResult);
NS_RELEASE(inst);
return rv;
}
nsSecureBrowserUIImpl::nsSecureBrowserUIImpl()
{
NS_INIT_REFCNT();
#if defined(PR_LOGGING)
if (nsnull == gSecureDocLog) {
gSecureDocLog = PR_NewLogModule("nsSecureBroswerUI");
}
#endif /* PR_LOGGING */
mIsSecureDocument = mMixContentAlertShown = mIsDocumentBroken = PR_FALSE;
mLastPSMStatus = nsnull;
mCurrentURI = nsnull;
mSecurityButton = nsnull;
}
nsSecureBrowserUIImpl::~nsSecureBrowserUIImpl()
{
PR_FREEIF(mLastPSMStatus);
}
NS_IMPL_ISUPPORTS4(nsSecureBrowserUIImpl,
nsSecureBrowserUI,
nsIWebProgressListener,
nsIFormSubmitObserver,
nsIObserver);
NS_IMETHODIMP
nsSecureBrowserUIImpl::Init(nsIDOMWindow *window, nsIDOMElement *button)
{
mSecurityButton = button;
mWindow = window;
nsresult rv = nsServiceManager::GetService( kPrefCID,
NS_GET_IID(nsIPref),
getter_AddRefs(mPref));
if (NS_FAILED(rv)) return rv;
NS_WITH_SERVICE(nsIStringBundleService, service, kCStringBundleServiceCID, &rv);
if (NS_FAILED(rv)) return rv;
nsILocale* locale = nsnull;
rv = service->CreateBundle(SECURITY_STRING_BUNDLE_URL, locale, getter_AddRefs(mStringBundle));
if (NS_FAILED(rv)) return rv;
// hook up to the form post notifications:
nsIObserverService *svc = 0;
rv = nsServiceManager::GetService(NS_OBSERVERSERVICE_PROGID,
NS_GET_IID(nsIObserverService),
(nsISupports**)&svc );
if (NS_SUCCEEDED(rv) && svc) {
nsString topic; topic.AssignWithConversion(NS_FORMSUBMIT_SUBJECT);
rv = svc->AddObserver( this, topic.GetUnicode());
nsServiceManager::ReleaseService( NS_OBSERVERSERVICE_PROGID, svc );
}
// hook up to the webprogress notifications.
nsCOMPtr<nsIDocShell> docShell;
nsCOMPtr<nsIScriptGlobalObject> sgo = do_QueryInterface(window);
if (!sgo) return NS_ERROR_NULL_POINTER;
sgo->GetDocShell(getter_AddRefs(docShell));
if (!docShell) return NS_ERROR_NULL_POINTER;
nsCOMPtr<nsIWebProgress> wp = do_GetInterface(docShell);
if (!wp) return NS_ERROR_NULL_POINTER;
wp->AddProgressListener(NS_STATIC_CAST(nsIWebProgressListener*,this));
mInitByLocationChange = PR_TRUE;
return NS_OK;
}
NS_IMETHODIMP
nsSecureBrowserUIImpl::DisplayPageInfoUI()
{
nsresult res;
NS_WITH_SERVICE(nsIPSMComponent, psm, PSM_COMPONENT_PROGID, &res);
if (NS_FAILED(res))
return res;
nsXPIDLCString host;
if (mCurrentURI)
mCurrentURI->GetHost(getter_Copies(host));
return psm->DisplaySecurityAdvisor(mLastPSMStatus, host);
}
NS_IMETHODIMP
nsSecureBrowserUIImpl::Observe(nsISupports*, const PRUnichar*, const PRUnichar*)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
static nsresult IsChildOfDomWindow(nsIDOMWindow *parent, nsIDOMWindow *child, PRBool* value)
{
*value = PR_FALSE;
if (parent == child)
{
*value = PR_TRUE;
return NS_OK;
}
nsCOMPtr<nsIDOMWindow> childsParent;
child->GetParent(getter_AddRefs(childsParent));
if (childsParent && childsParent.get() != child)
IsChildOfDomWindow(parent, childsParent, value);
return NS_OK;
}
NS_IMETHODIMP
nsSecureBrowserUIImpl::Notify(nsIContent* formNode, nsIDOMWindow* window, nsIURI* actionURL)
{
// Return NS_OK unless we want to prevent this form from submitting.
if (!window || !actionURL || !formNode) {
return NS_OK;
}
nsCOMPtr<nsIDocument> document;
formNode->GetDocument(*getter_AddRefs(document));
if (!document) return NS_OK;
nsCOMPtr<nsIScriptGlobalObject> globalObject;
document->GetScriptGlobalObject(getter_AddRefs(globalObject));
nsCOMPtr<nsIDOMWindow> postingWindow = do_QueryInterface(globalObject);
PRBool isChild;
IsChildOfDomWindow(mWindow, postingWindow, &isChild);
if (!isChild)
return NS_OK;
PRBool okayToPost;
nsresult res = CheckPost(actionURL, &okayToPost);
if (NS_SUCCEEDED(res) && okayToPost)
return NS_OK;
return NS_ERROR_FAILURE;
}
// nsIWebProgressListener
NS_IMETHODIMP
nsSecureBrowserUIImpl::OnProgressChange(nsIWebProgress* aWebProgress,
nsIRequest* aRequest,
PRInt32 aCurSelfProgress,
PRInt32 aMaxSelfProgress,
PRInt32 aCurTotalProgress,
PRInt32 aMaxTotalProgress)
{
return NS_OK;
}
NS_IMETHODIMP
nsSecureBrowserUIImpl::OnStateChange(nsIWebProgress* aWebProgress,
nsIRequest* aRequest,
PRInt32 aProgressStateFlags,
nsresult aStatus)
{
nsresult res = NS_OK;
if (aRequest == nsnull || !mSecurityButton || !mPref)
return NS_ERROR_NULL_POINTER;
// Get the channel from the request...
// If the request is not network based, then ignore it.
nsCOMPtr<nsIChannel> channel;
channel = do_QueryInterface(aRequest, &res);
if (NS_FAILED(res))
return NS_OK;
nsCOMPtr<nsIURI> loadingURI;
channel->GetURI(getter_AddRefs(loadingURI));
#if defined(DEBUG)
nsXPIDLCString temp;
loadingURI->GetSpec(getter_Copies(temp));
PR_LOG(gSecureDocLog, PR_LOG_DEBUG, ("SecureUI:%p: OnStateChange: %x :%s\n", this, aProgressStateFlags,(const char*)temp));
#endif
// A Document is starting to load...
if ((aProgressStateFlags & flag_start) &&
(aProgressStateFlags & flag_is_network))
{
// starting to load a webpage
PR_FREEIF(mLastPSMStatus); mLastPSMStatus = nsnull;
mIsSecureDocument = mMixContentAlertShown = mIsDocumentBroken = PR_FALSE;
res = CheckProtocolContextSwitch( loadingURI, mCurrentURI);
return res;
}
// A document has finished loading
if ((aProgressStateFlags & flag_stop) &&
(aProgressStateFlags & flag_is_network) &&
mIsSecureDocument)
{
if (!mIsDocumentBroken) // and status is okay FIX
{
// qi for the psm information about this channel load.
nsCOMPtr<nsISupports> info;
channel->GetSecurityInfo(getter_AddRefs(info));
nsCOMPtr<nsIPSMSocketInfo> psmInfo = do_QueryInterface(info);
if (psmInfo)
{
// Everything looks okay. Lets stash the picked status.
PR_FREEIF(mLastPSMStatus);
res = psmInfo->GetPickledStatus(&mLastPSMStatus);
if (NS_SUCCEEDED(res)) {
PR_LOG(gSecureDocLog, PR_LOG_DEBUG, ("SecureUI:%p: Icon set to lock\n", this));
res = mSecurityButton->SetAttribute( NS_ConvertASCIItoUCS2("level"), NS_ConvertASCIItoUCS2("high") );
return res;
}
}
}
PR_LOG(gSecureDocLog, PR_LOG_DEBUG, ("SecureUI:%p: Icon set to broken\n", this));
mIsDocumentBroken = PR_TRUE;
res = mSecurityButton->SetAttribute( NS_ConvertASCIItoUCS2("level"), NS_ConvertASCIItoUCS2("broken"));
return res;
}
/// if (aProgressStateFlags == nsIWebProgress::flag_net_redirecting)
/// {
/// // need to implmentent.
/// }
// don't need to do anything more if the page is broken or not secure...
if (!mIsSecureDocument || mIsDocumentBroken)
return NS_OK;
// A URL is starting to load...
if ((aProgressStateFlags & flag_start) &&
(aProgressStateFlags & flag_is_request))
{ // check to see if we are going to mix content.
return CheckMixedContext(loadingURI);
}
// A URL has finished loading...
if ((aProgressStateFlags & flag_stop) &&
(aProgressStateFlags & flag_is_request))
{
if (1) // FIX status from the flag...
{
nsCOMPtr<nsISupports> info;
channel->GetSecurityInfo(getter_AddRefs(info));
nsCOMPtr<nsIPSMSocketInfo> psmInfo = do_QueryInterface(info, &res);
// qi for the psm information about this channel load.
if (psmInfo) {
return NS_OK;
}
}
PR_LOG(gSecureDocLog, PR_LOG_DEBUG, ("SecureUI:%p: OnStateChange - Icon set to broken\n", this));
mSecurityButton->SetAttribute( NS_ConvertASCIItoUCS2("level"), NS_ConvertASCIItoUCS2("broken") );
mIsDocumentBroken = PR_TRUE;
}
return res;
}
NS_IMETHODIMP
nsSecureBrowserUIImpl::OnLocationChange(nsIURI* aLocation)
{
mCurrentURI = aLocation;
if (mInitByLocationChange)
{
IsURLHTTPS(mCurrentURI, &mIsSecureDocument);
mInitByLocationChange = PR_FALSE;
}
return NS_OK;
}
nsresult
nsSecureBrowserUIImpl::IsURLHTTPS(nsIURI* aURL, PRBool* value)
{
*value = PR_FALSE;
if (!aURL)
return NS_OK;
char* scheme;
aURL->GetScheme(&scheme);
if (scheme == nsnull)
return NS_ERROR_NULL_POINTER;
if ( PL_strncasecmp(scheme, "https", 5) == 0 )
*value = PR_TRUE;
nsMemory::Free(scheme);
return NS_OK;
}
void nsSecureBrowserUIImpl::GetBundleString(const nsString& name, nsString &outString)
{
if (mStringBundle && name.Length() > 0) {
PRUnichar *ptrv = nsnull;
if (NS_SUCCEEDED(mStringBundle->GetStringFromName(name.GetUnicode(), &ptrv)))
outString = ptrv;
else
outString.SetLength(0);;
nsMemory::Free(ptrv);
} else {
outString.SetLength(0);;
}
}
nsresult
nsSecureBrowserUIImpl::CheckProtocolContextSwitch( nsIURI* newURI, nsIURI* oldURI)
{
nsresult res;
PRBool isNewSchemeSecure, isOldSchemeSecure, boolpref;
res = IsURLHTTPS(oldURI, &isOldSchemeSecure);
if (NS_FAILED(res))
return res;
res = IsURLHTTPS(newURI, &isNewSchemeSecure);
if (NS_FAILED(res))
return res;
// Check to see if we are going from a secure page to and insecure page
if ( !isNewSchemeSecure && isOldSchemeSecure)
{
mSecurityButton->RemoveAttribute( NS_ConvertASCIItoUCS2("level") );
if ((mPref->GetBoolPref(LEAVE_SITE_PREF, &boolpref) != 0))
boolpref = PR_TRUE;
if (boolpref)
{
NS_WITH_SERVICE(nsICommonDialogs, dialog, kCommonDialogsCID, &res);
if (NS_FAILED(res))
return res;
nsAutoString windowTitle, message, dontShowAgain;
GetBundleString(NS_ConvertASCIItoUCS2("Title"), windowTitle);
GetBundleString(NS_ConvertASCIItoUCS2("LeaveSiteMessage"), message);
GetBundleString(NS_ConvertASCIItoUCS2("DontShowAgain"), dontShowAgain);
PRBool outCheckValue = PR_TRUE;
dialog->AlertCheck(mWindow,
windowTitle.GetUnicode(),
message.GetUnicode(),
dontShowAgain.GetUnicode(),
&outCheckValue);
if (!outCheckValue) {
mPref->SetBoolPref(LEAVE_SITE_PREF, PR_FALSE);
NS_WITH_SERVICE(nsIPSMComponent, psm, PSM_COMPONENT_PROGID, &res);
if (NS_FAILED(res))
return res;
psm->PassPrefs();
}
}
}
// check to see if we are going from an insecure page to a secure one.
else if (isNewSchemeSecure && !isOldSchemeSecure)
{
if ((mPref->GetBoolPref(ENTER_SITE_PREF, &boolpref) != 0))
boolpref = PR_TRUE;
if (boolpref)
{
NS_WITH_SERVICE(nsICommonDialogs, dialog, kCommonDialogsCID, &res);
if (NS_FAILED(res))
return res;
nsAutoString windowTitle, message, dontShowAgain;
GetBundleString(NS_ConvertASCIItoUCS2("Title"), windowTitle);
GetBundleString(NS_ConvertASCIItoUCS2("EnterSiteMessage"), message);
GetBundleString(NS_ConvertASCIItoUCS2("DontShowAgain"), dontShowAgain);
PRBool outCheckValue = PR_TRUE;
dialog->AlertCheck(mWindow,
windowTitle.GetUnicode(),
message.GetUnicode(),
dontShowAgain.GetUnicode(),
&outCheckValue);
if (!outCheckValue)
{
mPref->SetBoolPref(ENTER_SITE_PREF, PR_FALSE);
NS_WITH_SERVICE(nsIPSMComponent, psm, PSM_COMPONENT_PROGID, &res);
if (NS_FAILED(res))
return res;
psm->PassPrefs();
}
}
}
mIsSecureDocument = isNewSchemeSecure;
return NS_OK;
}
nsresult
nsSecureBrowserUIImpl::CheckMixedContext(nsIURI* nextURI)
{
PRBool secure;
nsresult rv = IsURLHTTPS(nextURI, &secure);
if (NS_FAILED(rv))
return rv;
if (!secure && mIsSecureDocument)
{
mIsDocumentBroken = PR_TRUE;
mSecurityButton->SetAttribute( NS_ConvertASCIItoUCS2("level"), NS_ConvertASCIItoUCS2("broken") );
if (!mPref) return NS_ERROR_NULL_POINTER;
PRBool boolpref;
if ((mPref->GetBoolPref(MIXEDCONTENT_PREF, &boolpref) != 0))
boolpref = PR_TRUE;
if (boolpref && !mMixContentAlertShown)
{
NS_WITH_SERVICE(nsICommonDialogs, dialog, kCommonDialogsCID, &rv);
if (NS_FAILED(rv))
return rv;
nsAutoString windowTitle, message, dontShowAgain;
GetBundleString(NS_ConvertASCIItoUCS2("Title"), windowTitle);
GetBundleString(NS_ConvertASCIItoUCS2("MixedContentMessage"), message);
GetBundleString(NS_ConvertASCIItoUCS2("DontShowAgain"), dontShowAgain);
PRBool outCheckValue = PR_TRUE;
dialog->AlertCheck(mWindow,
windowTitle.GetUnicode(),
message.GetUnicode(),
dontShowAgain.GetUnicode(),
&outCheckValue);
if (!outCheckValue) {
mPref->SetBoolPref(MIXEDCONTENT_PREF, PR_FALSE);
NS_WITH_SERVICE(nsIPSMComponent, psm, PSM_COMPONENT_PROGID, &rv);
if (NS_FAILED(rv))
return rv;
psm->PassPrefs();
}
mMixContentAlertShown = PR_TRUE;
}
}
return NS_OK;
}
nsresult
nsSecureBrowserUIImpl::CheckPost(nsIURI *actionURL, PRBool *okayToPost)
{
PRBool secure;
nsresult rv = IsURLHTTPS(actionURL, &secure);
if (NS_FAILED(rv))
return rv;
// if we are posting to a secure link from a secure page, all is okay.
if (secure && mIsSecureDocument)
return NS_OK;
PRBool boolpref;
// posting to a non https URL.
if ((mPref->GetBoolPref(INSECURE_SUBMIT_PREF, &boolpref) != 0))
boolpref = PR_TRUE;
if (boolpref) {
NS_WITH_SERVICE(nsICommonDialogs, dialog, kCommonDialogsCID, &rv);
if (NS_FAILED(rv))
return rv;
nsAutoString windowTitle, message, dontShowAgain;
GetBundleString(NS_ConvertASCIItoUCS2("Title"), windowTitle);
GetBundleString(NS_ConvertASCIItoUCS2("DontShowAgain"), dontShowAgain);
// posting to insecure webpage from a secure webpage.
if (!secure && mIsSecureDocument && !mIsDocumentBroken) {
GetBundleString(NS_ConvertASCIItoUCS2("PostToInsecure"), message);
} else { // anything else, post generic warning
GetBundleString(NS_ConvertASCIItoUCS2("PostToInsecureFromInsecure"), message);
}
PRBool outCheckValue = PR_TRUE;
dialog->ConfirmCheck(mWindow,
windowTitle.GetUnicode(),
message.GetUnicode(),
dontShowAgain.GetUnicode(),
&outCheckValue,
okayToPost);
if (!outCheckValue) {
mPref->SetBoolPref(INSECURE_SUBMIT_PREF, PR_FALSE);
NS_WITH_SERVICE(nsIPSMComponent, psm, PSM_COMPONENT_PROGID, &rv);
if (NS_FAILED(rv))
return rv;
psm->PassPrefs();
}
} else {
*okayToPost = PR_TRUE;
}
return NS_OK;
}

View File

@@ -1,108 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Hubbie Shaw
* Doug Turner <dougt@netscape.com>
*/
#ifndef nsSecureBrowserUIImpl_h_
#define nsSecureBrowserUIImpl_h_
#include "nsCOMPtr.h"
#include "nsXPIDLString.h"
#include "nsString.h"
#include "nsIObserver.h"
#include "nsIDocumentLoaderObserver.h"
#include "nsIDOMElement.h"
#include "nsIDOMWindow.h"
#include "nsIStringBundle.h"
#include "nsISecureBrowserUI.h"
#include "nsIDocShell.h"
#include "nsIPref.h"
#include "nsIWebProgressListener.h"
#include "nsIFormSubmitObserver.h"
#include "nsIURI.h"
#define NS_SECURE_BROWSER_DOCOBSERVER_CLASSNAME "Mozilla Secure Browser Doc Observer"
#define NS_SECURE_BROWSER_DOCOBSERVER_CID \
{0x97c06c30, 0xa145, 0x11d3, \
{0x8c, 0x7c, 0x00, 0x60, 0x97, 0x92, 0x27, 0x8c}}
#define NS_SECURE_BROWSER_DOCOBSERVER_PROGID "component://netscape/secure_browser_docobserver"
class nsSecureBrowserUIImpl : public nsSecureBrowserUI,
public nsIWebProgressListener,
public nsIFormSubmitObserver,
public nsIObserver
{
public:
nsSecureBrowserUIImpl();
virtual ~nsSecureBrowserUIImpl();
static NS_METHOD Create(nsISupports *aOuter, REFNSIID aIID, void **aResult);
NS_DECL_ISUPPORTS
NS_DECL_NSIWEBPROGRESSLISTENER
NS_DECL_NSSECUREBROWSERUI
// nsIObserver
NS_DECL_NSIOBSERVER
NS_IMETHOD Notify(nsIContent* formNode, nsIDOMWindow* window, nsIURI *actionURL);
protected:
nsCOMPtr<nsIDOMWindow> mWindow;
nsCOMPtr<nsIDOMElement> mSecurityButton;
nsCOMPtr<nsIDocumentLoaderObserver> mOldWebShellObserver;
nsCOMPtr<nsIPref> mPref;
nsCOMPtr<nsIStringBundle> mStringBundle;
nsCOMPtr<nsIURI> mCurrentURI;
PRBool mIsSecureDocument; // is https loaded
PRBool mIsDocumentBroken; //
PRBool mMixContentAlertShown;
PRBool mInitByLocationChange;
char* mLastPSMStatus;
void GetBundleString(const nsString& name, nsString &outString);
nsresult LoadStringBundle();
nsresult CheckProtocolContextSwitch( nsIURI* newURI, nsIURI* oldURI);
nsresult CheckMixedContext(nsIURI* nextURI);
nsresult CheckPost(nsIURI *actionURL, PRBool *okayToPost);
nsresult IsURLHTTPS(nsIURI* aURL, PRBool *value);
};
#endif /* nsSecureBrowserUIImpl_h_ */

48
mozilla/js/src/MANIFEST Normal file
View File

@@ -0,0 +1,48 @@
# This file is required for the Mac client mozilla build.
# This is a list of local files which get copied to the mozilla:dist directory
#
js.msg
jsapi.h
jsarena.h
jspubtd.h
jsarray.h
jsatom.h
jsbool.h
jsclist.h
jscntxt.h
jscompat.h
jsconfig.h
jscpucfg.h
jsdate.h
jsdbgapi.h
jsdhash.h
jsdtoa.h
jsemit.h
jsfun.h
jsgc.h
jshash.h
jsinterp.h
jslock.h
jslong.h
jsmath.h
jsnum.h
jsobj.h
jsopcode.tbl
jsopcode.h
jsosdep.h
jsotypes.h
jsparse.h
jsprf.h
jsprvtd.h
jspubtd.h
jsregexp.h
jsscan.h
jsscope.h
jsscript.h
jsstr.h
jstypes.h
jsutil.h
jsxdrapi.h

337
mozilla/js/src/Makefile.in Normal file
View File

@@ -0,0 +1,337 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = js
LIBRARY_NAME = mozjs
DIRS = fdlibm
CSRCS = \
jsapi.c \
jsarena.c \
jsarray.c \
jsatom.c \
jsbool.c \
jscntxt.c \
jsdate.c \
jsdbgapi.c \
jsdhash.c \
jsdtoa.c \
jsemit.c \
jsexn.c \
jsfun.c \
jsgc.c \
jshash.c \
jsinterp.c \
jslock.c \
jslog2.c \
jslong.c \
jsmath.c \
jsnum.c \
jsobj.c \
jsopcode.c \
jsparse.c \
jsprf.c \
jsregexp.c \
jsscan.c \
jsscope.c \
jsscript.c \
jsstr.c \
jsutil.c \
jsxdrapi.c \
prmjtime.c \
$(NULL)
EXPORTS = \
js.msg \
jsapi.h \
jsarray.h \
jsarena.h \
jsatom.h \
jsbit.h \
jsbool.h \
jsclist.h \
jscntxt.h \
jscompat.h \
jsconfig.h \
jsdate.h \
jsdbgapi.h \
jsdhash.h \
jsemit.h \
jsfun.h \
jsgc.h \
jshash.h \
jsinterp.h \
jslock.h \
jslong.h \
jsmath.h \
jsnum.h \
jsobj.h \
jsopcode.tbl \
jsopcode.h \
jsosdep.h \
jsotypes.h \
jsparse.h \
jsprf.h \
jsprvtd.h \
jspubtd.h \
jsregexp.h \
jsscan.h \
jsscope.h \
jsscript.h \
jsstr.h \
jstypes.h \
jsutil.h \
jsxdrapi.h \
jsstddef.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
FDLIBM_LIBRARY = fdlibm/libfdm.$(LIB_SUFFIX)
JSMATH_PRELINK = jsmathtemp.o
JS_SAFE_ARENA = 1
DASH_R = -r
include $(topsrcdir)/config/config.mk
ifeq ($(OS_ARCH),OS2)
ifneq ($(MOZ_WIDGET_TOOLKIT),os2)
ifndef XCFLAGS
OS2_IMPLIB = 1
LIBRARY = js$(MOZ_BITS)$(VERSION_NUMBER).$(LIB_SUFFIX)
DEF_FILE = jsos2$(VERSION_NUMBER).def
EXTRA_LIBS = $(NSPR_LIBS) $(LIBNSJAVA)
else
EXTRA_LIBS = $(NSPR_LIBS) $(LIBNSJAVA) libjs.lib
endif
OS_CFLAGS += -tm-
endif
endif
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_NSPR_LIBS)
# When using gcc the assembly is inlined in the C-file (see jslock.c)
ifdef NS_USE_NATIVE
ASFILES = $(notdir $(wildcard $(srcdir)/*_$(OS_ARCH).s))
endif
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
DEF_OBJS = jsapi.o jsarena.o jsdbgapi.o jsdhash.o jsdtoa.o jsgc.o jshash.o \
jsinterp.o jslog2.o jslong.o jsprf.o jsutil.o jsxdrapi.o prmjtime.o
#ADD_TO_DEF_FILE = cat < $(srcdir)/extradefs.os2 >>$(DEF_FILE)
endif
ifndef BUILD_OPT
MOCHAFILE = 1
endif
ifndef NSBUILDROOT
JSJAVA_STUBHEADERS = \
-I$(topsrcdir)/sun-java/include/_gen \
-I$(topsrcdir)/sun-java/netscape/javascript/_jri \
-I$(topsrcdir)/sun-java/netscape/security/_jri
else
JSJAVA_STUBHEADERS = -I$(JRI_GEN_DIR) -I$(JDK_GEN_DIR)
endif
JSJAVA_CFLAGS = \
-I$(topsrcdir)/sun-java/md-include \
-I$(topsrcdir)/sun-java/include \
$(JSJAVA_STUBHEADERS)
include $(topsrcdir)/config/rules.mk
DEFINES += -DEXPORT_JS_API
INCLUDES += -I$(srcdir)
GARBAGE += $(JSMATH_PRELINK) jscpucfg.o jsautocfg.h jsautocfg.tmp jscpucfg
TARGETS += jscpucfg$(BIN_SUFFIX)
ifdef JS_SAFE_ARENA
DEFINES += -DJS_USE_SAFE_ARENA
endif
ifdef JS_THREADSAFE
DEFINES += -DJS_THREADSAFE
endif
ifdef JS_NO_THIN_LOCKS
DEFINES += -DJS_USE_ONLY_NSPR_LOCKS
endif
ifdef JS_VERSION
DEFINES += -DJS_VERSION=$(JS_VERSION)
endif
ifneq ($(findstring -L,$(NSPR_LIBS)),)
NSPR_STATIC_PATH = $(subst -L,,$(findstring -L,$(NSPR_LIBS)))
else
NSPR_STATIC_PATH = $(DIST)/lib
endif
LDFLAGS += $(pathsubst -l%,$(NSPR_STATIC_PATH)/%.a,$(NSPR_LIBS))
# BeOS and HP-UX do not require the extra linking of "-lm"
ifeq (,$(filter BeOS HP-UX,$(OS_ARCH)))
LDFLAGS += -lm
endif
ifeq ($(OS_ARCH),FreeBSD)
LDFLAGS += -pthread
endif
ifeq ($(OS_ARCH),IRIX)
ifneq ($(basename $(OS_RELEASE)),5)
LDFLAGS += -n32
DASH_R += -n32
endif
endif
ifeq ($(OS_ARCH),Linux)
LDFLAGS += -ldl
endif
ifeq ($(OS_ARCH),OSF1)
LDFLAGS += -lc_r
endif
ifeq ($(OS_ARCH),SunOS)
ifeq ($(CPU_ARCH),sparc)
ifndef JS_NO_ULTRA
ULTRA_OPTIONS := -xarch=v8plus,-DULTRA_SPARC
ULTRA_OPTIONSCC := -DULTRA_SPARC
else
ULTRA_OPTIONS := -xarch=v8
ULTRA_OPTIONSCC :=
endif
ifeq ($(shell uname -m),sun4u)
ASFLAGS += -Wa,$(ULTRA_OPTIONS),-P,-L,-D_ASM,-D__STDC__=0 $(ULTRA_OPTIONSCC)
else
ASFLAGS += -Wa,-xarch=v8,-P,-L,-D_ASM,-D__STDC__=0
endif
endif
ifeq ($(OS_RELEASE),4.1)
LDFLAGS += -ldl -lnsl
else
LDFLAGS += -lposix4 -ldl -lnsl -lsocket
endif
endif
ifeq ($(OS_ARCH),QNX)
ifneq ($(OS_TARGET),NTO)
# Don't use wildcard here, because we only want this resolved at link time.
OBJS += fdlibm/*.o
endif
endif
# OS/2 linkers expect to create executables or dlls, not object files
# so we pull in what's needed from fdlibm when creating the js dll
ifneq ($(MOZ_WIDGET_TOOLKIT),os2)
# special rule for jsmath.o since we want to incrementally link
# against fdlibm to pull in only what is needed
jsmath.o: $(FDLIBM_LIBRARY) $(JSMATH_PRELINK)
ifeq ($(OS_ARCH),QNX)
ifneq ($(OS_TARGET),NTO)
@cp $(JSMATH_PRELINK) $@
else
$(LD) $(DASH_R) -o $@ $(JSMATH_PRELINK) $(FDLIBM_LIBRARY)
endif
else
$(LD) $(DASH_R) -o $@ $(JSMATH_PRELINK) $(FDLIBM_LIBRARY)
endif
$(JSMATH_PRELINK): jsmath.c
ifeq ($(OS_ARCH),WINNT)
$(CC) -Fo$@ -c $(CFLAGS) $<
else
$(CC) -o $@ -c $(COMPILE_CFLAGS) $<
endif
endif
# An AIX Optimization bug causes PR_dtoa() & JS_dtoa to produce wrong result.
# This suppresses optimization for this single compilation unit.
ifeq ($(OS_ARCH),AIX)
jsdtoa.o: jsdtoa.c
$(CC) -o $@ -c $(filter-out -O, $(COMPILE_CFLAGS)) $<
endif
$(FDLIBM_LIBRARY):
@$(CONTINUE_ON_ERROR) \
$(MAKE) -C $(@D) $(@F); \
$(EXIT_ON_ERROR)
jsopcode.h jsopcode.c: jsopcode.tbl
jsautocfg.h: jscpucfg$(BIN_SUFFIX)
@rm -f $@ jsautocfg.tmp
./jscpucfg > jsautocfg.tmp
mv jsautocfg.tmp $@
# jscpucfg is a strange target
# Needs to be built with the host compiler but needs to include
# the mdcpucfg for the target so it needs the appropriate target defines
ifdef HOST_NSPR_MDCPUCFG
HOST_CC := $(HOST_CC) -DMDCPUCFG=$(TARGET_NSPR_MDCPUCFG)
endif
ifeq ($(OS_ARCH),QNX)
ifneq ($(OS_TARGET),NTO)
# QNX's compiler apparently can't build a binary directly from a source file.
jscpucfg.o: jscpucfg.c
$(HOST_CC) $(HOST_CFLAGS) -c $(DEFINES) $(NSPR_CFLAGS) -o $@ $<
jscpucfg: jscpucfg.o
$(HOST_CC) $(HOST_CFLAGS) $(DEFINES) -o $@ $<
endif
else
jscpucfg$(BIN_SUFFIX): jscpucfg.c
ifeq ($(MOZ_OS2_TOOLS),VACPP)
$(HOST_CC) $(HOST_CFLAGS) $(DEFINES) $(NSPR_CFLAGS) /Fe$@ $<
else
$(HOST_CC) $(HOST_CFLAGS) $(DEFINES) $(NSPR_CFLAGS) -o $@ $<
endif
endif
export:: jsautocfg.h
$(INSTALL) -m 444 $< $(PUBLIC)

344
mozilla/js/src/Makefile.ref Normal file
View File

@@ -0,0 +1,344 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Michael Ang <mang@subcarrier.org>
#
#
# 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.
#
# JSRef GNUmake makefile.
#
DEPTH = .
include config.mk
#NS_USE_NATIVE = 1
ifdef USE_MSVC
OTHER_LIBS += fdlibm/$(OBJDIR)/fdlibm.lib
else
OTHER_LIBS += -Lfdlibm/$(OBJDIR) -lfdm
endif
ifdef JS_THREADSAFE
DEFINES += -DJS_THREADSAFE
INCLUDES += -I../../dist/$(OBJDIR)/include
ifdef USE_MSVC
OTHER_LIBS += ../../dist/$(OBJDIR)/lib/libnspr3.lib
else
OTHER_LIBS += -L../../dist/$(OBJDIR)/lib -lnspr3
endif
endif
ifdef JS_NO_THIN_LOCKS
DEFINES += -DJS_USE_ONLY_NSPR_LOCKS
endif
ifdef JS_HAS_FILE_OBJECT
DEFINES += -DJS_HAS_FILE_OBJECT
endif
#
# XCFLAGS may be set in the environment or on the gmake command line
#
CFLAGS += $(OPTIMIZER) $(OS_CFLAGS) $(DEFINES) $(INCLUDES) $(XCFLAGS)
LDFLAGS = $(XLDFLAGS)
ifndef NO_LIBM
LDFLAGS += -lm
endif
#
# Ask perl what flags it was built with, so we can build js with similar flags
# and link properly. Viva gmake.
#
ifdef JS_PERLCONNECT
DEFINES += -DPERLCONNECT -D_GNU_SOURCE
PERLCFLAGS := $(shell perl -MExtUtils::Embed -e ccopts)
PERLLDFLAGS := $(shell perl -MExtUtils::Embed -e ldopts)
# perl erroneously reports compiler flag -rdynamic (interpreted by ld
# as -r) when it really meant -export-dynamic.
PERLLDFLAGS := $(subst -rdynamic,-export-dynamic,$(PERLLDFLAGS))
CFLAGS += $(PERLCFLAGS)
LDFLAGS += $(PERLLDFLAGS)
endif
#
# Server-related changes :
#
ifdef NES40
DEFINES += -DNES40
endif
#
# Line editing support.
# Define JS_READLINE or JS_EDITLINE to enable line editing in the
# js command-line interpreter.
#
ifdef JS_READLINE
# For those platforms with the readline library installed.
DEFINES += -DEDITLINE
PROG_LIBS += -lreadline
else
ifdef JS_EDITLINE
# Use the editline library, built locally.
PREDIRS += editline
DEFINES += -DEDITLINE
PROG_LIBS += -Leditline/$(OBJDIR) -ledit
endif
endif
# For purify
PURE_CFLAGS = -DXP_UNIX $(OPTIMIZER) $(PURE_OS_CFLAGS) $(DEFINES) \
$(INCLUDES) $(XCFLAGS)
#
# JS file lists
#
JS_HFILES = \
jsarray.h \
jsatom.h \
jsbool.h \
jsconfig.h \
jscntxt.h \
jsdate.h \
jsemit.h \
jsexn.h \
jsfun.h \
jsgc.h \
jsinterp.h \
jslibmath.h \
jslock.h \
jsmath.h \
jsnum.h \
jsobj.h \
jsopcode.h \
jsparse.h \
jsarena.h \
jsclist.h \
jsdtoa.h \
jshash.h \
jslong.h \
jsosdep.h \
jstypes.h \
jsprvtd.h \
jspubtd.h \
jsregexp.h \
jsscan.h \
jsscope.h \
jsscript.h \
jsstr.h \
jsxdrapi.h \
$(NULL)
API_HFILES = \
jsapi.h \
jsdbgapi.h \
$(NULL)
OTHER_HFILES = \
jsbit.h \
jscompat.h \
jscpucfg.h \
jsotypes.h \
jsstddef.h \
prmjtime.h \
resource.h \
jsopcode.tbl \
js.msg \
jsshell.msg \
$(NULL)
ifndef PREBUILT_CPUCFG
OTHER_HFILES += $(OBJDIR)/jsautocfg.h
endif
HFILES = $(JS_HFILES) $(API_HFILES) $(OTHER_HFILES)
JS_CFILES = \
jsapi.c \
jsarena.c \
jsarray.c \
jsatom.c \
jsbool.c \
jscntxt.c \
jsdate.c \
jsdbgapi.c \
jsdtoa.c \
jsemit.c \
jsexn.c \
jsfun.c \
jsgc.c \
jshash.c \
jsinterp.c \
jslock.c \
jslog2.c \
jslong.c \
jsmath.c \
jsnum.c \
jsobj.c \
jsopcode.c \
jsparse.c \
jsprf.c \
jsregexp.c \
jsscan.c \
jsscope.c \
jsscript.c \
jsstr.c \
jsutil.c \
jsxdrapi.c \
prmjtime.c \
$(NULL)
PREDIRS += fdlibm
ifdef USE_MSVC
FDLIBM_LIBRARY = fdlibm/$(OBJDIR)/fdlibm.lib
else
FDLIBM_LIBRARY = fdlibm/$(OBJDIR)/libfdm.a
endif
JSMATH_PRELINK = $(OBJDIR)/jsmathtemp.o
# Flag for incremental linking
DASH_R = -r
ifeq ($(OS_ARCH),QNX)
ifneq ($(OS_TARGET),NTO)
# Don't use wildcard here, because we only want this resolved at link time.
OBJS += fdlibm/*.o
endif
endif
ifdef JS_LIVECONNECT
DIRS += liveconnect
endif
ifdef JS_PERLCONNECT
JS_CFILES += perlconnect/jsperl.c
endif
ifdef JS_HAS_FILE_OBJECT
JS_CFILES += jsfile.c
JS_HFILES += jsfile.h
endif
LIB_CFILES = $(JS_CFILES)
LIB_ASFILES := $(wildcard *_$(OS_ARCH).s)
PROG_CFILES = js.c
ifdef USE_MSVC
LIBRARY = $(OBJDIR)/js32.lib
SHARED_LIBRARY = $(OBJDIR)/js32.dll
PROGRAM = $(OBJDIR)/js.exe
else
LIBRARY = $(OBJDIR)/libjs.a
SHARED_LIBRARY = $(OBJDIR)/libjs.$(SO_SUFFIX)
PROGRAM = $(OBJDIR)/js
endif
include rules.mk
MOZ_DEPTH = ../..
include jsconfig.mk
nsinstall-target:
cd ../../config; $(MAKE) OBJDIR=$(OBJDIR) OBJDIR_NAME=$(OBJDIR)
ifdef USE_MSVC
$(PROGRAM): $(PROG_OBJS) $(LIBRARY) $(FDLIBM_LIBRARY)
link.exe -out:"$@" $(EXE_LINK_FLAGS) $^
else
$(PROGRAM): $(PROG_OBJS) $(LIBRARY) $(FDLIBM_LIBRARY)
$(CC) -o $@ $(CFLAGS) $(PROG_OBJS) $(LIBRARY) $(LDFLAGS) $(OTHER_LIBS) \
$(PROG_LIBS)
endif
$(PROGRAM).pure: $(PROG_OBJS) $(LIBRARY)
purify $(PUREFLAGS) \
$(CC) -o $@ $(PURE_OS_CFLAGS) $(PROG_OBJS) $(LIBRARY) $(LDFLAGS) \
$(OTHER_LIBS) $(PROG_LIBS)
ifndef PREBUILT_CPUCFG
$(HFILES) $(CFILES): $(OBJDIR)/jsautocfg.h
$(OBJDIR)/jsautocfg.h: $(OBJDIR)/jscpucfg
rm -f $@
$(OBJDIR)/jscpucfg > $@
$(OBJDIR)/jscpucfg: $(OBJDIR)/jscpucfg.o
$(CC) -o $@ $(OBJDIR)/jscpucfg.o
# Look in OBJDIR to find jsautocfg.h
INCLUDES += -I$(OBJDIR)
# Add to TARGETS for clobber rule
TARGETS += $(OBJDIR)/jsautocfg.h $(OBJDIR)/jscpucfg $(OBJDIR)/jscpucfg.o
endif
# special rule for jsmath.o since we want to incrementally link
# against fdlibm to pull in only what is needed
$(OBJDIR)/jsmath.o: $(FDLIBM_LIBRARY) $(JSMATH_PRELINK)
ifeq ($(OS_ARCH),QNX)
ifneq ($(OS_TARGET),NTO)
@cp $(JSMATH_PRELINK) $@
else
$(LD) $(DASH_R) -o $@ $(JSMATH_PRELINK) $(FDLIBM_LIBRARY)
endif
else
ifdef USE_MSVC
@echo Warning: to use $(LIBRARY) must also link against $(FDLIBM_LIBRARY)
@cp $(JSMATH_PRELINK) $@
endif
$(LD) $(DASH_R) -o $@ $(JSMATH_PRELINK) $(FDLIBM_LIBRARY)
endif
$(JSMATH_PRELINK): jsmath.c
ifneq (,$(filter OS2 WINNT,$(OS_ARCH)))
$(CC) -Fo$@ -c $(CFLAGS) $<
else
$(CC) -o $@ -c $(CFLAGS) $<
endif
#
# Hardwire dependencies on jsopcode.tbl
#
jsopcode.h jsopcode.c: jsopcode.tbl
-include $(DEPENDENCIES)
TARNAME = jsref.tar
TARFILES = files `cat files`
SUFFIXES: .i
%.i: %.c
$(CC) -C -E $(CFLAGS) $< > $*.i

804
mozilla/js/src/README.html Normal file
View File

@@ -0,0 +1,804 @@
<!--
- The contents of this file are subject to the Netscape Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/NPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla Communicator client code, released
- March 31, 1998.
-
- The Initial Developer of the Original Code is Netscape
- Communications Corporation. Portions created by Netscape are
- Copyright (C) 1998-1999 Netscape Communications Corporation. All
- Rights Reserved.
-
- Contributor(s):
-
- Alternatively, the contents of this file may be used under the
- terms of the 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.
-->
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.5 [en] (WinNT; I) [Netscape]">
<title>JavaScript Reference Implementation (JSRef) README</title>
</head>
<body>
<h2>
Table of Contents</h2>
<ul>
<li>
<a href="#Introduction">Introduction</a></li>
<li>
<a href="#Build">Build conventions (standalone JS engine and shell)</a></li>
<li>
<a href="#Debugging">Debugging notes</a></li>
<li>
<a href="#Conventions">Naming and coding conventions</a></li>
<li>
<a href="#JSAPI">Using the JS API</a></li>
<li>
<a href="#Design">Design walk-through</a></li>
<li>
<a href="#Resources">Additional Resources (links, API docs, and newsgroups)</a></li>
</ul>
<h2>
<a NAME="Introduction"></a>Introduction</h2>
This is the README file for the&nbsp;<span CLASS=LXRSHORTDESC>JavaScript
Reference (JSRef) implementation.</span> It consists of build conventions
and instructions, source code conventions, a design walk-through, and a
brief file-by-file description of the source.
<p><span CLASS=LXRLONGDESC>JSRef builds a library or DLL containing the
JavaScript runtime (compiler, interpreter, decompiler, garbage collector,
atom manager, standard classes). It then compiles a small "shell" program
and links that with the library to make an interpreter that can be used
interactively and with test .js files to run scripts.&nbsp; The code has
no dependencies on the Navigator code.</span>
<p><i>Quick start tip</i>: skip to "Using the JS API" below, build the
js shell, and play with the object named "it" (start by setting 'it.noisy
= true').
<h2>
<a NAME="Build"></a>Build conventions (standalone JS engine and shell)</h2>
These build directions refer only to building the standalone JavaScript
engine and shell.&nbsp; To build within the browser, refer to the <a href="http://www.mozilla.org/docs/">build
directions</a> on the mozilla.org website.
<p>By default, all platforms build a version of the JS engine that is <i>not</i>
threadsafe.&nbsp; If you require thread-safety, you must also populate
the <tt>mozilla/dist</tt> directory with <a href="http://www.mozilla.org/docs/tplist/catCode/nsprdesc.htm">NSPR</a>
headers and libraries.&nbsp; (NSPR implements a portable threading library,
among other things.&nbsp; The source is downloadable via <a href="http://www.mozilla.org/cvs.html">CVS</a>
from <tt><a href="http://lxr.mozilla.org/mozilla/source/nsprpub">mozilla/nsprpub</a></tt>.)&nbsp;
Next, you must define <tt>JS_THREADSAFE</tt> when building the JS engine,
either on the command-line (gmake/nmake) or in a universal header file.
<h3>
Windows</h3>
<ul>
<li>
Use MSVC 4.2 or 5.0.</li>
<li>
For building from the IDE use <tt>js/src/js.mdp</tt>.&nbsp; (<tt>js.mdp</tt>
is an MSVC4.2 project file, but if you load it into MSVC5, it will be converted
to the newer project file format.)&nbsp; <font color="#CC0000">NOTE: makefile.win
is an nmake file used only for building the JS-engine in the Mozilla browser.&nbsp;
Don't attempt to use it to build the standalone JS-engine.</font></li>
<li>
If you prefer to build from the command-line, use '<tt>nmake -f js.mak</tt>'</li>
<li>
Executable shell <tt>js.exe</tt> and runtime library <tt>js32.dll</tt>
are created in either <tt>js/src/Debug</tt> or <tt>js/src/Release</tt>.</li>
</ul>
<h3>
Macintosh</h3>
<ul>
<li>
Use CodeWarrior 3.x</li>
<li>
Load the project file <tt>js:src:macbuild:JSRef.mcp </tt>and select "Make"
from the menu.</li>
</ul>
<h3>
Unix</h3>
<ul>
<li>
Use '<tt>gmake -f Makefile.ref</tt>' to build. To compile optimized code,
pass <tt>BUILD_OPT=1</tt> on the gmake command line or preset it in the
environment or <tt>Makefile.ref</tt>.&nbsp; <font color="#CC0000">NOTE:
Do not attempt to use Makefile to build the standalone JavaScript engine.&nbsp;
This file is used only for building the JS-engine in the Mozilla browser.</font></li>
<li>
<font color="#000000">Each platform on which JS is built must have a <tt>*.mk</tt>
configuration file in the <tt>js/src/config</tt> directory.&nbsp; The configuration
file specifies the compiler/linker to be used and allows for customization
of command-line options.&nbsp; To date, the build system has been tested
on Solaris, AIX, HP/UX, OSF, IRIX, x86 Linux and Windows NT.</font></li>
<li>
<font color="#000000">Most platforms will work with either the vendor compiler
</font>or
<a href="ftp://prep.ai.mit.edu/pub/gnu">gcc</a>.&nbsp;
(Except that HP builds only work using the native compiler.&nbsp; gcc won't
link correctly with shared libraries on that platform.&nbsp; If someone
knows a way to fix this, <a href="mailto:wynholds@netscape.com">let us
know</a>.)</li>
<li>
<font color="#000000">If you define <tt>JS_LIVECONNECT</tt>, gmake will
descend into the liveconnect directory and build
<a href="http://lxr.mozilla.org/mozilla/source/js/src/liveconnect/README.html">LiveConnect</a>
after building the JS engine.</font></li>
<li>
To build a binary drop (a zip'ed up file of headers, libraries, binaries),
check out <tt>mozilla/config</tt> and <tt>mozilla/nsprpub/config</tt>.&nbsp;
Use '<tt>gmake -f Makefile.ref nsinstall-target all export ship</tt>'</li>
</ul>
<h2>
<a NAME="Debugging"></a>Debugging notes</h2>
<ul>
<li>
To turn on GC instrumentation, define <tt>JS_GCMETER</tt>.</li>
<li>
To turn on the arena package's instrumentation, define <tt>JS_ARENAMETER</tt>.</li>
<li>
To turn on the hash table package's metering, define <tt>JS_HASHMETER</tt>.</li>
</ul>
<h2>
<a NAME="Conventions"></a>Naming and coding conventions</h2>
<ul>
<li>
Public function names begin with <tt>JS_</tt> followed by capitalized "intercaps",
e.g. <tt>JS_NewObject</tt>.</li>
<li>
Extern but library-private function names use a <tt>js_</tt> prefix and
mixed case, e.g. <tt>js_LookupSymbol</tt>.</li>
<li>
Most static function names have unprefixed, mixed-case names: <tt>GetChar</tt>.</li>
<li>
But static native methods of JS objects have lowercase, underscore-separated
or intercaps names, e.g., <tt>str_indexOf</tt>.</li>
<li>
And library-private and static data use underscores, not intercaps (but
library-private data do use a <tt>js_</tt> prefix).</li>
<li>
Scalar type names are lowercase and js-prefixed: <tt>jsdouble</tt>.</li>
<li>
Aggregate type names are JS-prefixed and mixed-case: <tt>JSObject.</tt></li>
<li>
Macros are generally <tt>ALL_CAPS </tt>and underscored, to call out potential
side effects, multiple uses of a formal argument, etc. - Four spaces of
indentation per statement nesting level.</li>
<li>
Tabs are taken to be eight spaces, and an Emacs magic comment at the top
of each file tries to help. If you're using MSVC or similar, you'll want
to set tab width to 8, or convert these files to be space-filled.</li>
<li>
DLL entry points have their return type expanded within a <tt>JS_PUBLIC_API()</tt>
macro call, to get the right Windows secret type qualifiers in the right
places for both 16- and 32-bit builds.</li>
<li>
Callback functions that might be called from a DLL are similarly macroized
with <tt>JS_STATIC_DLL_CALLBACK</tt> (if the function otherwise would be
static to hide its name) or <tt>JS_DLL_CALLBACK</tt> (this macro takes
no type argument; it should be used after the return type and before the
function name).</li>
</ul>
<h2>
<a NAME="JSAPI"></a>Using the JS API</h2>
<h4>
Starting up</h4>
<pre><tt>&nbsp;&nbsp;&nbsp; /*
&nbsp;&nbsp;&nbsp;&nbsp; * Tune this to avoid wasting space for shallow stacks, while saving on
&nbsp;&nbsp;&nbsp;&nbsp; * malloc overhead/fragmentation for deep or highly-variable stacks.
&nbsp;&nbsp;&nbsp;&nbsp; */
&nbsp;&nbsp;&nbsp; #define STACK_CHUNK_SIZE&nbsp;&nbsp;&nbsp; 8192
&nbsp;&nbsp;&nbsp; JSRuntime *rt;
&nbsp;&nbsp;&nbsp; JSContext *cx;
&nbsp;&nbsp;&nbsp; /* You need a runtime and one or more contexts to do anything with JS. */
&nbsp;&nbsp;&nbsp; rt = JS_Init(1000000L);
&nbsp;&nbsp;&nbsp; if (!rt)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fail("can't create JavaScript runtime");
&nbsp;&nbsp;&nbsp; cx = JS_NewContext(rt, STACK_CHUNK_SIZE);
&nbsp;&nbsp;&nbsp; if (!cx)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fail("can't create JavaScript context");
&nbsp;&nbsp;&nbsp; /*
&nbsp;&nbsp;&nbsp;&nbsp; * The context definitely wants a global object, in order to have standard
&nbsp;&nbsp;&nbsp;&nbsp; * classes and functions like Date and parseInt.&nbsp; See below for details on
&nbsp;&nbsp;&nbsp;&nbsp; * JS_NewObject.
&nbsp;&nbsp;&nbsp;&nbsp; */
&nbsp;&nbsp;&nbsp; JSObject *globalObj;
&nbsp;&nbsp;&nbsp; globalObj = JS_NewObject(cx, &amp;my_global_class, 0, 0);
&nbsp;&nbsp;&nbsp; JS_InitStandardClasses(cx, globalObj);</tt></pre>
<h4>
Defining objects and properties</h4>
<pre><tt>&nbsp;&nbsp;&nbsp; /* Statically initialize a class to make "one-off" objects. */
&nbsp;&nbsp;&nbsp; JSClass my_class = {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "MyClass",
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* All of these can be replaced with the corresponding JS_*Stub
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function pointers. */
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my_addProperty, my_delProperty, my_getProperty, my_setProperty,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my_enumerate,&nbsp;&nbsp; my_resolve,&nbsp;&nbsp;&nbsp;&nbsp; my_convert,&nbsp;&nbsp;&nbsp;&nbsp; my_finalize
&nbsp;&nbsp;&nbsp; };
&nbsp;&nbsp;&nbsp; JSObject *obj;
&nbsp;&nbsp;&nbsp; /*
&nbsp;&nbsp;&nbsp;&nbsp; * Define an object named in the global scope that can be enumerated by
&nbsp;&nbsp;&nbsp;&nbsp; * for/in loops.&nbsp; The parent object is passed as the second argument, as
&nbsp;&nbsp;&nbsp;&nbsp; * with all other API calls that take an object/name pair.&nbsp; The prototype
&nbsp;&nbsp;&nbsp;&nbsp; * passed in is null, so the default object prototype will be used.
&nbsp;&nbsp;&nbsp;&nbsp; */
&nbsp;&nbsp;&nbsp; obj = JS_DefineObject(cx, globalObj, "myObject", &amp;my_class, 0,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JSPROP_ENUMERATE);
&nbsp;&nbsp;&nbsp; /*
&nbsp;&nbsp;&nbsp;&nbsp; * Define a bunch of properties with a JSPropertySpec array statically
&nbsp;&nbsp;&nbsp;&nbsp; * initialized and terminated with a null-name entry.&nbsp; Besides its name,
&nbsp;&nbsp;&nbsp;&nbsp; * each property has a "tiny" identifier (MY_COLOR, e.g.) that can be used
&nbsp;&nbsp;&nbsp;&nbsp; * in switch statements (in a common my_getProperty function, for example).
&nbsp;&nbsp;&nbsp;&nbsp; */
&nbsp;&nbsp;&nbsp; enum my_tinyid {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MY_COLOR, MY_HEIGHT, MY_WIDTH, MY_FUNNY, MY_ARRAY, MY_RDONLY
&nbsp;&nbsp;&nbsp; };
&nbsp;&nbsp;&nbsp; static JSPropertySpec my_props[] = {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {"color",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MY_COLOR,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JSPROP_ENUMERATE},
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {"height",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MY_HEIGHT,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JSPROP_ENUMERATE},
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {"width",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MY_WIDTH,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JSPROP_ENUMERATE},
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {"funny",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MY_FUNNY,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JSPROP_ENUMERATE},
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {"array",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MY_ARRAY,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JSPROP_ENUMERATE},
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {"rdonly",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MY_RDONLY,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; JSPROP_READONLY},
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {0}
&nbsp;&nbsp;&nbsp; };
&nbsp;&nbsp;&nbsp; JS_DefineProperties(cx, obj, my_props);
&nbsp;&nbsp;&nbsp; /*
&nbsp;&nbsp;&nbsp;&nbsp; * Given the above definitions and call to JS_DefineProperties, obj will
&nbsp;&nbsp;&nbsp;&nbsp; * need this sort of "getter" method in its class (my_class, above).&nbsp; See
&nbsp;&nbsp;&nbsp;&nbsp; * the example for the "It" class in js.c.
&nbsp;&nbsp;&nbsp;&nbsp; */
&nbsp;&nbsp;&nbsp; static JSBool
&nbsp;&nbsp;&nbsp; my_getProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
&nbsp;&nbsp;&nbsp; {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (JSVAL_IS_INT(id)) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; switch (JSVAL_TO_INT(id)) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case MY_COLOR:&nbsp; *vp = . . .; break;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case MY_HEIGHT: *vp = . . .; break;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case MY_WIDTH:&nbsp; *vp = . . .; break;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case MY_FUNNY:&nbsp; *vp = . . .; break;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case MY_ARRAY:&nbsp; *vp = . . .; break;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case MY_RDONLY: *vp = . . .; break;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return JS_TRUE;
&nbsp;&nbsp;&nbsp; }</tt></pre>
<h4>
Defining functions</h4>
<pre><tt>&nbsp;&nbsp;&nbsp; /* Define a bunch of native functions first: */
&nbsp;&nbsp;&nbsp; static JSBool
&nbsp;&nbsp;&nbsp; my_abs(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
&nbsp;&nbsp;&nbsp; {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; jsdouble x, z;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!JS_ValueToNumber(cx, argv[0], &amp;x))
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return JS_FALSE;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; z = (x &lt; 0) ? -x : x;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return JS_NewDoubleValue(cx, z, rval);
&nbsp;&nbsp;&nbsp; }
&nbsp;&nbsp;&nbsp; . . .
&nbsp;&nbsp;&nbsp; /*
&nbsp;&nbsp;&nbsp;&nbsp; * Use a JSFunctionSpec array terminated with a null name to define a
&nbsp;&nbsp;&nbsp;&nbsp; * bunch of native functions.
&nbsp;&nbsp;&nbsp;&nbsp; */
&nbsp;&nbsp;&nbsp; static JSFunctionSpec my_functions[] = {
&nbsp;&nbsp;&nbsp; /*&nbsp;&nbsp;&nbsp; name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; native&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nargs&nbsp;&nbsp;&nbsp; */
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {"abs",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my_abs,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1},
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {"acos",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my_acos,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1},
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {"asin",&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my_asin,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1},
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . . .
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {0}
&nbsp;&nbsp;&nbsp; };
&nbsp;&nbsp;&nbsp; /*
&nbsp;&nbsp;&nbsp;&nbsp; * Pass a particular object to define methods for it alone.&nbsp; If you pass
&nbsp;&nbsp;&nbsp;&nbsp; * a prototype object, the methods will apply to all instances past and
&nbsp;&nbsp;&nbsp;&nbsp; * future of the prototype's class (see below for classes).
&nbsp;&nbsp;&nbsp;&nbsp; */
&nbsp;&nbsp;&nbsp; JS_DefineFunctions(cx, globalObj, my_functions);</tt></pre>
<h4>
Defining classes</h4>
<pre><tt>&nbsp;&nbsp;&nbsp; /*
&nbsp;&nbsp;&nbsp;&nbsp; * This pulls together the above API elements by defining a constructor
&nbsp;&nbsp;&nbsp;&nbsp; * function, a prototype object, and properties of the prototype and of
&nbsp;&nbsp;&nbsp;&nbsp; * the constructor, all with one API call.
&nbsp;&nbsp;&nbsp;&nbsp; *
&nbsp;&nbsp;&nbsp;&nbsp; * Initialize a class by defining its constructor function, prototype, and
&nbsp;&nbsp;&nbsp;&nbsp; * per-instance and per-class properties.&nbsp; The latter are called "static"
&nbsp;&nbsp;&nbsp;&nbsp; * below by analogy to Java.&nbsp; They are defined in the constructor object's
&nbsp;&nbsp;&nbsp;&nbsp; * scope, so that 'MyClass.myStaticProp' works along with 'new MyClass()'.
&nbsp;&nbsp;&nbsp;&nbsp; *
&nbsp;&nbsp;&nbsp;&nbsp; * JS_InitClass takes a lot of arguments, but you can pass null for any of
&nbsp;&nbsp;&nbsp;&nbsp; * the last four if there are no such properties or methods.
&nbsp;&nbsp;&nbsp;&nbsp; *
&nbsp;&nbsp;&nbsp;&nbsp; * Note that you do not need to call JS_InitClass to make a new instance of
&nbsp;&nbsp;&nbsp;&nbsp; * that class -- otherwise there would be a chicken-and-egg problem making
&nbsp;&nbsp;&nbsp;&nbsp; * the global object -- but you should call JS_InitClass if you require a
&nbsp;&nbsp;&nbsp;&nbsp; * constructor function for script authors to call via new, and/or a class
&nbsp;&nbsp;&nbsp;&nbsp; * prototype object ('MyClass.prototype') for authors to extend with new
&nbsp;&nbsp;&nbsp;&nbsp; * properties at run-time.
&nbsp;&nbsp;&nbsp;&nbsp; */
&nbsp;&nbsp;&nbsp; protoObj = JS_InitClass(cx, globalObj, NULL, &amp;my_class,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* native constructor function and min arg count */
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MyClass, 0,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* prototype object properties and methods -- these
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; will be "inherited" by all instances through
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delegation up the instance's prototype link. */
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my_props, my_methods,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* class constructor properties and methods */
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; my_static_props, my_static_methods);</tt></pre>
<h4>
Running scripts</h4>
<pre><tt>&nbsp;&nbsp;&nbsp; /* These should indicate source location for diagnostics. */
&nbsp;&nbsp;&nbsp; char *filename;
&nbsp;&nbsp;&nbsp; uintN lineno;
&nbsp;&nbsp;&nbsp; /*
&nbsp;&nbsp;&nbsp;&nbsp; * The return value comes back here -- if it could be a GC thing, you must
&nbsp;&nbsp;&nbsp;&nbsp; * add it to the GC's "root set" with JS_AddRoot(cx, &amp;thing) where thing
&nbsp;&nbsp;&nbsp;&nbsp; * is a JSString *, JSObject *, or jsdouble *, and remove the root before
&nbsp;&nbsp;&nbsp;&nbsp; * rval goes out of scope, or when rval is no longer needed.
&nbsp;&nbsp;&nbsp;&nbsp; */
&nbsp;&nbsp;&nbsp; jsval rval;
&nbsp;&nbsp;&nbsp; JSBool ok;
&nbsp;&nbsp;&nbsp; /*
&nbsp;&nbsp;&nbsp;&nbsp; * Some example source in a C string.&nbsp; Larger, non-null-terminated buffers
&nbsp;&nbsp;&nbsp;&nbsp; * can be used, if you pass the buffer length to JS_EvaluateScript.
&nbsp;&nbsp;&nbsp;&nbsp; */
&nbsp;&nbsp;&nbsp; char *source = "x * f(y)";
&nbsp;&nbsp;&nbsp; ok = JS_EvaluateScript(cx, globalObj, source, strlen(source),
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; filename, lineno, &amp;rval);
&nbsp;&nbsp;&nbsp; if (ok) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* Should get a number back from the example source. */
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; jsdouble d;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ok = JS_ValueToNumber(cx, rval, &amp;d);
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; . . .
&nbsp;&nbsp;&nbsp; }</tt></pre>
<h4>
Calling functions</h4>
<pre><tt>&nbsp;&nbsp;&nbsp; /* Call a global function named "foo" that takes no arguments. */
&nbsp;&nbsp;&nbsp; ok = JS_CallFunctionName(cx, globalObj, "foo", 0, 0, &amp;rval);
&nbsp;&nbsp;&nbsp; jsval argv[2];
&nbsp;&nbsp;&nbsp; /* Call a function in obj's scope named "method", passing two arguments. */
&nbsp;&nbsp;&nbsp; argv[0] = . . .;
&nbsp;&nbsp;&nbsp; argv[1] = . . .;
&nbsp;&nbsp;&nbsp; ok = JS_CallFunctionName(cx, obj, "method", 2, argv, &amp;rval);</tt></pre>
<h4>
Shutting down</h4>
<pre><tt>&nbsp;&nbsp;&nbsp; /* For each context you've created: */
&nbsp;&nbsp;&nbsp; JS_DestroyContext(cx);
&nbsp;&nbsp;&nbsp; /* And finally: */
&nbsp;&nbsp;&nbsp; JS_Finish(rt);</tt></pre>
<h4>
Debugging API</h4>
See the<tt> trap, untrap, watch, unwatch, line2pc</tt>, and <tt>pc2line</tt>
commands in <tt>js.c</tt>. Also the (scant) comments in <i>jsdbgapi.h</i>.
<h2>
<a NAME="Design"></a>Design walk-through</h2>
This section must be brief for now -- it could easily turn into a book.
<h4>
JS "JavaScript Proper"</h4>
JS modules declare and implement the JavaScript compiler, interpreter,
decompiler, GC and atom manager, and standard classes.
<p>JavaScript uses untyped bytecode and runtime type tagging of data values.
The <tt>jsval</tt> type is a signed machine word that contains either a
signed integer value (if the low bit is set), or a type-tagged pointer
or boolean value (if the low bit is clear). Tagged pointers all refer to
8-byte-aligned things in the GC heap.
<p>Objects consist of a possibly shared structural description, called
the map or scope; and unshared property values in a vector, called the
slots. Object properties are associated with nonnegative integers stored
in <tt>jsval</tt>'s, or with atoms (unique string descriptors) if named
by an identifier or a non-integral index expression.
<p>Scripts contain bytecode, source annotations, and a pool of string,
number, and identifier literals. Functions are objects that extend scripts
or native functions with formal parameters, a literal syntax, and a distinct
primitive type ("function").
<p>The compiler consists of a recursive-descent parser and a random-logic
rather than table-driven lexical scanner. Semantic and lexical feedback
are used to disambiguate hard cases such as missing semicolons, assignable
expressions ("lvalues" in C parlance), etc. The parser generates bytecode
as it parses, using fixup lists for downward branches and code buffering
and rewriting for exceptional cases such as for loops. It attempts no error
recovery. The interpreter executes the bytecode of top-level scripts, and
calls itself indirectly to interpret function bodies (which are also scripts).
All state associated with an interpreter instance is passed through formal
parameters to the interpreter entry point; most implicit state is collected
in a type named JSContext. Therefore, all API and almost all other functions
in JSRef take a JSContext pointer as their first argument.
<p>The decompiler translates postfix bytecode into infix source by consulting
a separate byte-sized code, called source notes, to disambiguate bytecodes
that result from more than one grammatical production.
<p>The GC is a mark-and-sweep, non-conservative (perfect) collector. It
can allocate only fixed-sized things -- the current size is two machine
words. It is used to hold JS object and string descriptors (but not property
lists or string bytes), and double-precision floating point numbers. It
runs automatically only when maxbytes (as passed to <tt>JS_Init()</tt>)
bytes of GC things have been allocated and another thing-allocation request
is made. JS API users should call <tt>JS_GC()</tt> or <tt>JS_MaybeGC()</tt>
between script executions or from the branch callback, as often as necessary.
<p>An important point about the GC's "perfection": you must add roots for
new objects created by your native methods if you store references to them
into a non-JS structure in the malloc heap or in static data. Also, if
you make a new object in a native method, but do not store it through the
<tt>rval</tt>
result parameter (see math_abs in the "Using the JS API" section above)
so that it is in a known root, the object is guaranteed to survive only
until another new object is created. Either lock the first new object when
making two in a row, or store it in a root you've added, or store it via
rval.
<p>The atom manager consists of a hash table associating strings uniquely
with scanner/parser information such as keyword type, index in script or
function literal pool, etc. Atoms play three roles in JSRef: as literals
referred to by unaligned 16-bit immediate bytecode operands, as unique
string descriptors for efficient property name hashing, and as members
of the root GC set for perfect GC. This design therefore requires atoms
to be manually reference counted, from script literal pools (<tt>JSAtomMap</tt>)
and object symbol (<tt>JSSymbol</tt>) entry keys.
<p>Native objects and methods for arrays, booleans, dates, functions, numbers,
and strings are implemented using the JS API and certain internal interfaces
used as "fast paths".
<p>In general, errors are signaled by false or unoverloaded-null return
values, and are reported using <tt>JS_ReportError()</tt> or one of its
variants by the lowest level in order to provide the most detail. Client
code can substitute its own error reporting function and suppress errors,
or reflect them into Java or some other runtime system as exceptions, GUI
dialogs, etc..
<h2>
File walk-through (BADLY OUT OF DATE!)</h2>
<h4>
jsapi.c, jsapi.h</h4>
The public API to be used by almost all client code.&nbsp; If your client
code can't make do with <tt>jsapi.h</tt>, and must reach into a friend
or private js* file, please let us know so we can extend <tt>jsapi.h</tt>
to include what you need in a fashion that we can support over the long
run.
<h4>
jspubtd.h, jsprvtd.h</h4>
These files exist to group struct and scalar typedefs so they can be used
everywhere without dragging in struct definitions from N different files.
The <tt>jspubtd.h</tt> file contains public typedefs, and is included by
<tt>jsapi.h</tt>.
The <tt>jsprvtd.h</tt> file contains private typedefs and is included by
various .h files that need type names, but not type sizes or declarations.
<h4>
jsdbgapi.c, jsdbgapi.h</h4>
The Debugging API, still very much under development. Provided so far:
<ul>
<li>
Traps, with which breakpoints, single-stepping, step over, step out, and
so on can be implemented. The debugger will have to consult jsopcode.def
on its own to figure out where to plant trap instructions to implement
functions like step out, but a future jsdbgapi.h will provide convenience
interfaces to do these things. At most one trap per bytecode can be set.
When a script (<tt>JSScript</tt>) is destroyed, all traps set in its bytecode
are cleared.</li>
<li>
Watchpoints, for intercepting set operations on properties and running
a debugger-supplied function that receives the old value and a pointer
to the new one, which it can use to modify the new value being set.</li>
<li>
Line number to PC and back mapping functions. The line-to-PC direction
"rounds" toward the next bytecode generated from a line greater than or
equal to the input line, and may return the PC of a for-loop update part,
if given the line number of the loop body's closing brace. Any line after
the last one in a script or function maps to a PC one byte beyond the last
bytecode in the script. An example, from perfect.js:</li>
<pre><tt>14&nbsp;&nbsp; function perfect(n)
15&nbsp;&nbsp; {
16&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print("The perfect numbers up to " +&nbsp; n + " are:");
17
18&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // We build sumOfDivisors[i] to hold a string expression for
19&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // the sum of the divisors of i, excluding i itself.
20&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var sumOfDivisors = new ExprArray(n+1,1);
21&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (var divisor = 2; divisor &lt;= n; divisor++) {
22&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (var j = divisor + divisor; j &lt;= n; j += divisor) {
23&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sumOfDivisors[j] += " + " + divisor;
24&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
25&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // At this point everything up to 'divisor' has its sumOfDivisors
26&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // expression calculated, so we can determine whether it's perfect
27&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // already by evaluating.
28&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (eval(sumOfDivisors[divisor]) == divisor) {
29&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print("" + divisor + " = " + sumOfDivisors[divisor]);
30&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
31&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delete sumOfDivisors;
33&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print("That's all.");
34&nbsp;&nbsp; }</tt></pre>
The line number to PC and back mappings can be tested using the js program
with the following script:
<pre><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; load("perfect.js")
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print(perfect)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dis(perfect)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print()
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (var ln = 0; ln &lt;= 40; ln++) {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var pc = line2pc(perfect,ln)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var ln2 = pc2line(perfect,pc)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print("\tline " + ln + " => pc " + pc + " => line " + ln2)
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</tt></pre>
The result of the for loop over lines 0 to 40 inclusive is:
<pre><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 0 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 1 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 2 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 3 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 4 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 5 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 6 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 7 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 8 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 9 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 10 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 11 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 12 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 13 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 14 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 15 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 16 => pc 0 => line 16
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 17 => pc 19 => line 20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 18 => pc 19 => line 20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 19 => pc 19 => line 20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 20 => pc 19 => line 20
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 21 => pc 36 => line 21
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 22 => pc 53 => line 22
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 23 => pc 74 => line 23
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 24 => pc 92 => line 22
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 25 => pc 106 => line 28
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 26 => pc 106 => line 28
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 27 => pc 106 => line 28
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 28 => pc 106 => line 28
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 29 => pc 127 => line 29
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 30 => pc 154 => line 21
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 31 => pc 154 => line 21
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 32 => pc 161 => line 32
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 33 => pc 172 => line 33
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 34 => pc 172 => line 33
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 35 => pc 172 => line 33
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 36 => pc 172 => line 33
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 37 => pc 172 => line 33
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 38 => pc 172 => line 33
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 39 => pc 172 => line 33
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; line 40 => pc 172 => line 33</tt></pre>
</ul>
<h4>
jsconfig.h</h4>
Various configuration macros defined as 0 or 1 depending on how <tt>JS_VERSION</tt>
is defined (as 10 for JavaScript 1.0, 11 for JavaScript 1.1, etc.). Not
all macros are tested around related code yet. In particular, JS 1.0 support
is missing from JSRef. JS 1.2 support will appear in a future JSRef release.
<br>&nbsp;
<h4>
js.c</h4>
The "JS shell", a simple interpreter program that uses the JS API and more
than a few internal interfaces (some of these internal interfaces could
be replaced by <tt>jsapi.h</tt> calls). The js program built from this
source provides a test vehicle for evaluating scripts and calling functions,
trying out new debugger primitives, etc.
<h4>
jsarray.*, jsbool.*, jdsdate.*, jsfun.*, jsmath.*, jsnum.*, jsstr.*</h4>
These file pairs implement the standard classes and (where they exist)
their underlying primitive types. They have similar structure, generally
starting with class definitions and continuing with internal constructors,
finalizers, and helper functions.
<h4>
jsobj.*, jsscope.*</h4>
These two pairs declare and implement the JS object system. All of the
following happen here:
<ul>
<li>
creating objects by class and prototype, and finalizing objects;</li>
<li>
defining, looking up, getting, setting, and deleting properties;</li>
<li>
creating and destroying properties and binding names to them.</li>
</ul>
The details of an object map (scope) are mostly hidden in <tt>jsscope.[ch]</tt>,
where scopes start out as linked lists of symbols, and grow after some
threshold into PR hash tables.
<h4>
jsatom.c, jsatom.h</h4>
The atom manager. Contains well-known string constants, their atoms, the
global atom hash table and related state, the js_Atomize() function that
turns a counted string of bytes into an atom, and literal pool (<tt>JSAtomMap</tt>)
methods.
<h4>
jsgc.c, jsgc.h</h4>
[TBD]
<h4>
jsinterp.*, jscntxt.*</h4>
The bytecode interpreter, and related functions such as Call and AllocStack,
live in <i>jsinterp.c</i>. The JSContext constructor and destructor are
factored out into <i>jscntxt.c</i> for minimal linking when the compiler
part of JS is split from the interpreter part into a separate program.
<h4>
jsemit.*, jsopcode.tbl, jsopcode.*, jsparse.*, jsscan.*, jsscript.*</h4>
Compiler and decompiler modules. The <i>jsopcode.tbl</i> file is a C preprocessor
source that defines almost everything there is to know about JS bytecodes.
See its major comment for how to use it. For now, a debugger will use it
and its dependents such as <i>jsopcode.h</i> directly, but over time we
intend to extend <i>jsdbgapi.h</i> to hide uninteresting details and provide
conveniences. The code generator is split across paragraphs of code in
<i>jsparse.c</i>,
and the utility methods called on <tt>JSCodeGenerator</tt> appear in <i>jsemit.c</i>.
Source notes generated by <i>jsparse.c</i> and
<i>jsemit.c</i> are used
in <i>jsscript.c</i> to map line number to program counter and back.
<h4>
jstypes.h, jslog2.c</h4>
Fundamental representation types and utility macros. This file alone among
all .h files in JSRef must be included first by .c files. It is not nested
in .h files, as other prerequisite .h files generally are, since it is
also a direct dependency of most .c files and would be over-included if
nested in addition to being directly included. The one "not-quite-a-macro
macro" is the <tt>JS_CeilingLog2()</tt> function in <i>jslog2.c</i>.
<h4>
jsarena.c, jsarena.h</h4>
Last-In-First-Out allocation macros that amortize malloc costs and allow
for en-masse freeing. See the paper mentioned in prarena.h's major comment.
<h4>
jsutil.c, jsutil.h</h4>
The <tt>JS_ASSERT</tt> macro is used throughout JSRef source as a proof
device to make invariants and preconditions clear to the reader, and to
hold the line during maintenance and evolution against regressions or violations
of assumptions that it would be too expensive to test unconditionally at
run-time. Certain assertions are followed by run-time tests that cope with
assertion failure, but only where I'm too smart or paranoid to believe
the assertion will never fail...
<h4>
jsclist.h</h4>
Doubly-linked circular list struct and macros.
<h4>
jscpucfg.c</h4>
This standalone program generates <i>jscpucfg.h</i>, a header file containing
bytes per word and other constants that depend on CPU architecture and
C compiler type model. It tries to discover most of these constants by
running its own experiments on the build host, so if you are cross-compiling,
beware.
<h4>
prdtoa.c, prdtoa.h</h4>
David Gay's portable double-precision floating point to string conversion
code, with Permission To Use notice included.
<h4>
prhash.c, prhash.h</h4>
Portable, extensible hash tables. These use multiplicative hash for strength
reduction over division hash, yet with very good key distribution over
power of two table sizes. Collisions resolve via chaining, so each entry
burns a malloc and can fragment the heap.
<h4>
prlong.c, prlong.h</h4>
64-bit integer emulation, and compatible macros that use C's long long
type where it exists (my last company mapped long long to a 128-bit type,
but no real architecture does 128-bit ints yet).
<h4>
jsosdep.h</h4>
Annoying OS dependencies rationalized into a few "feature-test" macros
such as <tt>JS_HAVE_LONG_LONG</tt>.
<h4>
jsprf.*</h4>
Portable, buffer-overrun-resistant sprintf and friends. For no good reason
save lack of time, the %e, %f, and %g formats cause your system's native
sprintf, rather than <tt>JS_dtoa()</tt>, to be used. This bug doesn't affect
JSRef, because it uses its own <tt>JS_dtoa()</tt> call in <i>jsnum.c</i>
to convert from double to string, but it's a bug that we'll fix later,
and one you should be aware of if you intend to use a <tt>JS_*printf()</tt>&nbsp;
function with your own floating type arguments - various vendor sprintf's
mishandle NaN, +/-Inf, and some even print normal floating values inaccurately.
<h4>
prmjtime.c, prmjtime.h</h4>
Time functions. These interfaces are named in a way that makes local vs.
universal time confusion likely. Caveat emptor, and we're working on it.
To make matters worse, Java (and therefore JavaScript) uses "local" time
numbers (offsets from the epoch) in its Date class.
<h2>
<a NAME="Resources"></a>Additional Resources (links, API docs, and newsgroups)</h2>
<ul>
<li><a href ="http://www.mozilla.org/js/">http://www.mozilla.org/js/</a>
<li><a href ="http://www.mozilla.org/js/spidermonkey/">http://www.mozilla.org/js/spidermonkey/</a>
<li><a href ="news://news.mozilla.org/netscape.public.mozilla.jseng">news://news.mozilla.org/netscape.public.mozilla.jseng</a>
</ul>
</body>
</html>

View File

@@ -0,0 +1,12 @@
mozilla/js/src/*
mozilla/js/src/config/*
mozilla/js/src/fdlibm/*
mozilla/js/src/liveconnect/*
mozilla/js/src/liveconnect/_jni/*
mozilla/js/src/liveconnect/classes/*
mozilla/js/src/liveconnect/classes/netscape/*
mozilla/js/src/liveconnect/classes/netscape/javascript/*
mozilla/js/src/liveconnect/config/*
mozilla/js/src/liveconnect/macbuild/*
mozilla/js/src/liveconnect/macbuild/JavaSession/*
mozilla/js/src/macbuild/*

125
mozilla/js/src/config.mk Normal file
View File

@@ -0,0 +1,125 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998-1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the 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.
#
ifdef JS_DIST
DIST = $(JS_DIST)
else
DIST = $(DEPTH)/../../dist/$(OBJDIR)
endif
# Set os+release dependent make variables
OS_ARCH := $(subst /,_,$(shell uname -s | sed /\ /s//_/))
# Attempt to differentiate between SunOS 5.4 and x86 5.4
OS_CPUARCH := $(shell uname -m)
ifeq ($(OS_CPUARCH),i86pc)
OS_RELEASE := $(shell uname -r)_$(OS_CPUARCH)
else
ifeq ($(OS_ARCH),AIX)
OS_RELEASE := $(shell uname -v).$(shell uname -r)
else
OS_RELEASE := $(shell uname -r)
endif
endif
ifeq ($(OS_ARCH),IRIX64)
OS_ARCH := IRIX
endif
# Virtually all Linux versions are identical.
# Any distinctions are handled in linux.h
ifeq ($(OS_ARCH),Linux)
OS_CONFIG := Linux_All
else
ifeq ($(OS_ARCH),dgux)
OS_CONFIG := dgux
else
OS_CONFIG := $(OS_ARCH)$(OS_OBJTYPE)$(OS_RELEASE)
endif
endif
ASFLAGS =
DEFINES =
ifeq ($(OS_ARCH), WINNT)
INSTALL = nsinstall
CP = cp
else
INSTALL = $(DEPTH)/../../dist/$(OBJDIR)/bin/nsinstall
CP = cp
endif
ifdef BUILD_OPT
OPTIMIZER = -O
DEFINES += -UDEBUG -DNDEBUG -UDEBUG_$(shell whoami)
OBJDIR_TAG = _OPT
else
ifdef USE_MSVC
OPTIMIZER = -Zi
else
OPTIMIZER = -g
endif
DEFINES += -DDEBUG -DDEBUG_$(shell whoami)
OBJDIR_TAG = _DBG
endif
SO_SUFFIX = so
NS_USE_NATIVE = 1
# Java stuff
CLASSDIR = $(DEPTH)/liveconnect/classes
JAVA_CLASSES = $(patsubst %.java,%.class,$(JAVA_SRCS))
TARGETS += $(addprefix $(CLASSDIR)/$(OBJDIR)/$(JARPATH)/, $(JAVA_CLASSES))
JAVAC = $(JDK)/bin/javac
JAVAC_FLAGS = -classpath "$(CLASSPATH)" -d $(CLASSDIR)/$(OBJDIR)
ifeq ($(OS_ARCH), WINNT)
SEP = ;
else
SEP = :
endif
CLASSPATH = $(JDK)/lib/classes.zip$(SEP)$(CLASSDIR)/$(OBJDIR)
include $(DEPTH)/config/$(OS_CONFIG).mk
# Name of the binary code directories
ifdef BUILD_IDG
OBJDIR = $(OS_CONFIG)$(OBJDIR_TAG).OBJD
else
OBJDIR = $(OS_CONFIG)$(OBJDIR_TAG).OBJ
endif
VPATH = $(OBJDIR)
# Automatic make dependencies file
DEPENDENCIES = $(OBJDIR)/.md
LCJAR = js14lc30.jar

View File

@@ -0,0 +1,59 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for AIX
#
CC = xlC_r
CCC = xlC_r
RANLIB = ranlib
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<
ARCH := aix
CPU_ARCH = rs6000
GFX_ARCH = x
INLINES = js_compare_and_swap:js_fast_lock1:js_fast_unlock1:js_lock_get_slot:js_lock_set_slot:js_lock_scope1
OS_CFLAGS = -qarch=com -qinline+$(INLINES) -DXP_UNIX -DAIX -DAIXV3 -DSYSV
OS_LIBS = -lbsd -lsvld -lm
#-lpthreads -lc_r
MKSHLIB = $(LD) -bM:SRE -bh:4 -bnoentry -berok
XLDFLAGS += -lc
ifdef JS_THREADSAFE
XLDFLAGS += -lsvld
endif

View File

@@ -0,0 +1,58 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for AIX
#
CC = xlC_r
CCC = xlC_r
CFLAGS += -qarch=com -qnoansialias -qinline+$(INLINES) -DXP_UNIX -DAIX -DAIXV3 -DSYSV
RANLIB = ranlib
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<
ARCH := aix
CPU_ARCH = rs6000
GFX_ARCH = x
INLINES = js_compare_and_swap:js_fast_lock1:js_fast_unlock1:js_lock_get_slot:js_lock_set_slot:js_lock_scope1
#-lpthreads -lc_r
MKSHLIB = /usr/lpp/xlC/bin/makeC++SharedLib_r -p 0 -G -berok
ifdef JS_THREADSAFE
XLDFLAGS += -ldl
endif

View File

@@ -0,0 +1,59 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for AIX
#
CC = xlC_r
CCC = xlC_r
CFLAGS += -qarch=com -qnoansialias -qinline+$(INLINES) -DXP_UNIX -DAIX -DAIXV3 -DSYSV -DAIX4_3
RANLIB = ranlib
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<
ARCH := aix
CPU_ARCH = rs6000
GFX_ARCH = x
INLINES = js_compare_and_swap:js_fast_lock1:js_fast_unlock1:js_lock_get_slot:js_lock_set_slot:js_lock_scope1
#-lpthreads -lc_r
MKSHLIB_BIN = /usr/lpp/xlC/bin/makeC++SharedLib_r
MKSHLIB = $(MKSHLIB_BIN) -p 0 -G -berok -bM:UR
ifdef JS_THREADSAFE
XLDFLAGS += -ldl
endif

View File

@@ -0,0 +1,71 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for HPUX
#
# CC = gcc
# CCC = g++
# CFLAGS += -Wall -Wno-format -fPIC
CC = cc -Ae +Z
CCC = CC -Ae +a1 +eh +Z
RANLIB = echo
MKSHLIB = $(LD) -b
SO_SUFFIX = sl
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<
CPU_ARCH = hppa
GFX_ARCH = x
OS_CFLAGS = -DXP_UNIX -DHPUX -DSYSV
OS_LIBS = -ldld
ifeq ($(OS_RELEASE),B.10)
PLATFORM_FLAGS += -DHPUX10 -Dhpux10
PORT_FLAGS += -DRW_NO_OVERLOAD_SCHAR -DHAVE_MODEL_H
ifeq ($(OS_VERSION),.10)
PLATFORM_FLAGS += -DHPUX10_10
endif
ifeq ($(OS_VERSION),.20)
PLATFORM_FLAGS += -DHPUX10_20
endif
ifeq ($(OS_VERSION),.30)
PLATFORM_FLAGS += -DHPUX10_30
endif
endif

View File

@@ -0,0 +1,71 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for HPUX
#
# CC = gcc
# CCC = g++
# CFLAGS += -Wall -Wno-format -fPIC
CC = cc -Ae +Z
CCC = CC -Ae +a1 +eh +Z
RANLIB = echo
MKSHLIB = $(LD) -b
SO_SUFFIX = sl
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<
CPU_ARCH = hppa
GFX_ARCH = x
OS_CFLAGS = -DXP_UNIX -DHPUX -DSYSV
OS_LIBS = -ldld
ifeq ($(OS_RELEASE),B.10)
PLATFORM_FLAGS += -DHPUX10 -Dhpux10
PORT_FLAGS += -DRW_NO_OVERLOAD_SCHAR -DHAVE_MODEL_H
ifeq ($(OS_VERSION),.10)
PLATFORM_FLAGS += -DHPUX10_10
endif
ifeq ($(OS_VERSION),.20)
PLATFORM_FLAGS += -DHPUX10_20
endif
ifeq ($(OS_VERSION),.30)
PLATFORM_FLAGS += -DHPUX10_30
endif
endif

View File

@@ -0,0 +1,74 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for HPUX
#
ifdef NS_USE_NATIVE
CC = cc +Z +DAportable +DS2.0 +u4
# LD = aCC +Z -b -Wl,+s -Wl,-B,symbolic
else
CC = gcc -Wall -Wno-format -fPIC
CCC = g++ -Wall -Wno-format -fPIC
endif
RANLIB = echo
MKSHLIB = $(LD) -b
SO_SUFFIX = sl
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<
CPU_ARCH = hppa
GFX_ARCH = x
OS_CFLAGS = -DXP_UNIX -DHPUX -DSYSV -D_HPUX -DNATIVE -D_POSIX_C_SOURCE=199506L
OS_LIBS = -ldld
XLDFLAGS = -lpthread
ifeq ($(OS_RELEASE),B.10)
PLATFORM_FLAGS += -DHPUX10 -Dhpux10
PORT_FLAGS += -DRW_NO_OVERLOAD_SCHAR -DHAVE_MODEL_H
ifeq ($(OS_VERSION),.10)
PLATFORM_FLAGS += -DHPUX10_10
endif
ifeq ($(OS_VERSION),.20)
PLATFORM_FLAGS += -DHPUX10_20
endif
ifeq ($(OS_VERSION),.30)
PLATFORM_FLAGS += -DHPUX10_30
endif
endif

View File

@@ -0,0 +1,81 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for IRIX
#
CPU_ARCH = mips
GFX_ARCH = x
RANLIB = /bin/true
#NS_USE_GCC = 1
ifndef NS_USE_NATIVE
CC = gcc
CCC = g++
AS = $(CC) -x assembler-with-cpp
ODD_CFLAGS = -Wall -Wno-format
ifdef BUILD_OPT
OPTIMIZER = -O6
endif
else
ifeq ($(OS_RELEASE),6.2)
CC = cc -n32 -DIRIX6_2
endif
ifeq ($(OS_RELEASE),6.3)
CC = cc -n32 -DIRIX6_3
endif
ifeq ($(OS_RELEASE),6.5)
CC = cc -n32 -DIRIX6_5
endif
CCC = CC
# LD = CC
ODD_CFLAGS = -fullwarn -xansi
ifdef BUILD_OPT
OPTIMIZER += -Olimit 4000
endif
endif
# For purify
HAVE_PURIFY = 1
PURE_OS_CFLAGS = $(ODD_CFLAGS) -DXP_UNIX -DSVR4 -DSW_THREADS -DIRIX
OS_CFLAGS = $(PURE_OS_CFLAGS) -MDupdate $(DEPENDENCIES)
BSDECHO = echo
MKSHLIB = $(LD) -n32 -shared
# Use the editline library to provide line-editing support.
JS_EDITLINE = 1

View File

@@ -0,0 +1,38 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for IRIX5.3
#
include $(DEPTH)/config/IRIX.mk

View File

@@ -0,0 +1,38 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for IRIX6.3
#
include $(DEPTH)/config/IRIX.mk

View File

@@ -0,0 +1,38 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for IRIX6.3
#
include $(DEPTH)/config/IRIX.mk

View File

@@ -0,0 +1,38 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for IRIX6.3
#
include $(DEPTH)/config/IRIX.mk

View File

@@ -0,0 +1,38 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for IRIX6.3
#
include $(DEPTH)/config/IRIX.mk

View File

@@ -0,0 +1,82 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config for all versions of Linux
#
CC = gcc
CCC = g++
CFLAGS += -Wall -Wno-format
OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE
RANLIB = echo
MKSHLIB = $(LD) -shared $(XMKSHLIBOPTS)
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<
CPU_ARCH = $(shell uname -m)
ifeq (86,$(findstring 86,$(CPU_ARCH)))
CPU_ARCH = x86
OS_CFLAGS+= -DX86_LINUX
ifeq (gcc, $(CC))
# if using gcc on x86, check version for opt bug
# (http://bugzilla.mozilla.org/show_bug.cgi?id=24892)
GCC_VERSION := $(shell gcc -v 2>&1 | grep version | awk '{ print $$3 }')
GCC_LIST:=$(sort 2.91.66 $(GCC_VERSION) )
ifeq (2.91.66, $(firstword $(GCC_LIST)))
CFLAGS+= -DGCC_OPT_BUG
endif
endif
endif
GFX_ARCH = x
OS_LIBS = -lm -lc
ASFLAGS += -x assembler-with-cpp
ifeq ($(CPU_ARCH),alpha)
# Ask the C compiler on alpha linux to let us work with denormalized
# double values, which are required by the ECMA spec.
OS_CFLAGS += -mieee
endif
# Use the editline library to provide line-editing support.
JS_EDITLINE = 1

View File

@@ -0,0 +1,77 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Steve Zellers (zellers@apple.com)
#
# 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.
#
#
# Config for Mac OS X as of PR3
# Just ripped from Linux config
#
CC = cc
CCC = g++
CFLAGS += -Wall -Wno-format
OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE
-DRHAPSODY
RANLIB = ranlib
MKSHLIB = libtool -dynamic $(XMKSHLIBOPTS) -framework System
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<
CPU_ARCH = $(shell uname -m)
ifeq (86,$(findstring 86,$(CPU_ARCH)))
CPU_ARCH = x86
OS_CFLAGS+= -DX86_LINUX
endif
GFX_ARCH = x
OS_LIBS = -lc -framework System
ASFLAGS += -x assembler-with-cpp
ifeq ($(CPU_ARCH),alpha)
# Ask the C compiler on alpha linux to let us work with denormalized
# double values, which are required by the ECMA spec.
OS_CFLAGS += -mieee
endif
# Use the editline library to provide line-editing support.
JS_EDITLINE = 1
# Don't allow Makefile.ref to use libmath
NO_LIBM = 1

View File

@@ -0,0 +1,66 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for Data General DG/UX
#
#
# Initial DG/UX port by Marc Fraioli (fraioli@dg-rtp.dg.com)
#
ifndef NS_USE_NATIVE
CC = gcc
CCC = g++
CFLAGS += -mieee -Wall -Wno-format
else
CC = cc
CCC = cxx
CFLAGS += -ieee -std
# LD = cxx
endif
RANLIB = echo
MKSHLIB = $(LD) -shared -taso -all -expect_unresolved "*"
#
# _DGUX_SOURCE is needed to turn on a lot of stuff in the headers if
# you're not using DG's compiler. It shouldn't hurt if you are.
#
# _POSIX4A_DRAFT10_SOURCE is needed to pick up localtime_r, used in
# prtime.c
#
OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -DDGUX -D_DGUX_SOURCE -D_POSIX4A_DRAFT10_SOURCE -DOSF1
OS_LIBS = -lsocket -lnsl
NOSUCHFILE = /no-such-file

View File

@@ -0,0 +1,95 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for SunOS4.1
#
CC = gcc
CCC = g++
RANLIB = ranlib
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<
CPU_ARCH = sparc
GFX_ARCH = x
# A pile of -D's to build xfe on sunos
MOZ_CFLAGS = -DSTRINGS_ALIGNED -DNO_REGEX -DNO_ISDIR -DUSE_RE_COMP \
-DNO_REGCOMP -DUSE_GETWD -DNO_MEMMOVE -DNO_ALLOCA \
-DBOGUS_MB_MAX -DNO_CONST
# Purify doesn't like -MDupdate
NOMD_OS_CFLAGS = -DXP_UNIX -Wall -Wno-format -DSW_THREADS -DSUNOS4 -DNEED_SYSCALL \
$(MOZ_CFLAGS)
OS_CFLAGS = $(NOMD_OS_CFLAGS) -MDupdate $(DEPENDENCIES)
OS_LIBS = -ldl -lm
MKSHLIB = $(LD) -L$(MOTIF)/lib
HAVE_PURIFY = 1
MOTIF = /home/motif/usr
MOTIFLIB = -L$(MOTIF)/lib -lXm
INCLUDES += -I/usr/X11R5/include -I$(MOTIF)/include
NOSUCHFILE = /solaris-rm-f-sucks
LOCALE_MAP = $(DEPTH)/cmd/xfe/intl/sunos.lm
EN_LOCALE = en_US
DE_LOCALE = de
FR_LOCALE = fr
JP_LOCALE = ja
SJIS_LOCALE = ja_JP.SJIS
KR_LOCALE = ko
CN_LOCALE = zh
TW_LOCALE = zh_TW
I2_LOCALE = i2
IT_LOCALE = it
SV_LOCALE = sv
ES_LOCALE = es
NL_LOCALE = nl
PT_LOCALE = pt
LOC_LIB_DIR = /usr/openwin/lib/locale
BSDECHO = echo
#
# These defines are for building unix plugins
#
BUILD_UNIX_PLUGINS = 1
DSO_LDOPTS =
DSO_LDFLAGS =

View File

@@ -0,0 +1,85 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for SunOS5.3
#
CC = gcc
CCC = g++
CFLAGS += -Wall -Wno-format
#CC = /opt/SUNWspro/SC3.0.1/bin/cc
RANLIB = echo
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<
CPU_ARCH = sparc
GFX_ARCH = x
OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -DSOLARIS
OS_LIBS = -lsocket -lnsl -ldl
ASFLAGS += -P -L -K PIC -D_ASM -D__STDC__=0
HAVE_PURIFY = 1
NOSUCHFILE = /solaris-rm-f-sucks
ifndef JS_NO_ULTRA
ULTRA_OPTIONS := -xarch=v8plus
ULTRA_OPTIONSD := -DULTRA_SPARC
else
ULTRA_OPTIONS := -xarch=v8
ULTRA_OPTIONSD :=
endif
ifeq ($(OS_CPUARCH),sun4u)
DEFINES += $(ULTRA_OPTIONSD)
ifeq ($(findstring gcc,$(CC)),gcc)
DEFINES += -Wa,$(ULTRA_OPTIONS),$(ULTRA_OPTIONSD)
else
ASFLAGS += $(ULTRA_OPTIONS) $(ULTRA_OPTIONSD)
endif
endif
ifeq ($(OS_CPUARCH),sun4m)
ifeq ($(findstring gcc,$(CC)),gcc)
DEFINES += -Wa,-xarch=v8
else
ASFLAGS += -xarch=v8
endif
endif
MKSHLIB = $(LD) -G

View File

@@ -0,0 +1,86 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for SunOS5.4
#
ifdef NS_USE_NATIVE
CC = cc
CCC = CC
else
CC = gcc
CCC = g++
CFLAGS += -Wall -Wno-format
endif
RANLIB = echo
CPU_ARCH = sparc
GFX_ARCH = x
OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D__svr4 -DSOLARIS
OS_LIBS = -lsocket -lnsl -ldl
ASFLAGS += -P -L -K PIC -D_ASM -D__STDC__=0
HAVE_PURIFY = 1
NOSUCHFILE = /solaris-rm-f-sucks
ifndef JS_NO_ULTRA
ULTRA_OPTIONS := -xarch=v8plus
ULTRA_OPTIONSD := -DULTRA_SPARC
else
ULTRA_OPTIONS := -xarch=v8
ULTRA_OPTIONSD :=
endif
ifeq ($(OS_CPUARCH),sun4u)
DEFINES += $(ULTRA_OPTIONSD)
ifeq ($(findstring gcc,$(CC)),gcc)
DEFINES += -Wa,$(ULTRA_OPTIONS),$(ULTRA_OPTIONSD)
else
ASFLAGS += $(ULTRA_OPTIONS) $(ULTRA_OPTIONSD)
endif
endif
ifeq ($(OS_CPUARCH),sun4m)
ifeq ($(findstring gcc,$(CC)),gcc)
DEFINES += -Wa,-xarch=v8
else
ASFLAGS += -xarch=v8
endif
endif
MKSHLIB = $(LD) -G

View File

@@ -0,0 +1,38 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for SunOS5.5.1
#
include $(DEPTH)/config/SunOS5.5.mk

View File

@@ -0,0 +1,81 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for SunOS5.5
#
AS = as
ifndef NS_USE_NATIVE
CC = gcc
CCC = g++
CFLAGS += -Wall -Wno-format
else
CC = cc
CCC = CC
endif
RANLIB = echo
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<
CPU_ARCH = sparc
GFX_ARCH = x
OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -DSOLARIS
OS_LIBS = -lsocket -lnsl -ldl
ASFLAGS += -P -L -K PIC -D_ASM -D__STDC__=0
HAVE_PURIFY = 1
NOSUCHFILE = /solaris-rm-f-sucks
ifeq ($(OS_CPUARCH),sun4u) # ultra sparc?
ifeq ($(CC),gcc) # using gcc?
ifndef JS_NO_ULTRA # do we want ultra?
ifdef JS_THREADSAFE # only in thread-safe mode
DEFINES += -DULTRA_SPARC
DEFINES += -Wa,-xarch=v8plus,-DULTRA_SPARC
else
ASFLAGS += -xarch=v8plus -DULTRA_SPARC
endif
endif
endif
endif
MKSHLIB = $(LD) -G
# Use the editline library to provide line-editing support.
JS_EDITLINE = 1

View File

@@ -0,0 +1,83 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for SunOS5.5
#
AS = as
ifndef NS_USE_NATIVE
CC = gcc
CCC = g++
CFLAGS += -Wall -Wno-format
else
CC = cc
CCC = CC
CFLAGS += -mt -KPIC
# LD = CC
endif
RANLIB = echo
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<
CPU_ARCH = sparc
GFX_ARCH = x
OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -DSOLARIS
OS_LIBS = -lsocket -lnsl -ldl
ASFLAGS += -P -L -K PIC -D_ASM -D__STDC__=0
HAVE_PURIFY = 1
NOSUCHFILE = /solaris-rm-f-sucks
ifeq ($(OS_CPUARCH),sun4u) # ultra sparc?
ifeq ($(CC),gcc) # using gcc?
ifndef JS_NO_ULTRA # do we want ultra?
ifdef JS_THREADSAFE # only in thread-safe mode
DEFINES += -DULTRA_SPARC
DEFINES += -Wa,-xarch=v8plus,-DULTRA_SPARC
else
ASFLAGS += -xarch=v8plus -DULTRA_SPARC
endif
endif
endif
endif
MKSHLIB = $(LD) -G
# Use the editline library to provide line-editing support.
JS_EDITLINE = 1

View File

@@ -0,0 +1,38 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 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.
#
#
# Config stuff for SunOS5.7
#
include $(DEPTH)/config/SunOS5.5.mk

View File

@@ -0,0 +1,103 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
# Config for Windows NT using MS Visual C++ (version?)
#
CC = cl
RANLIB = echo
#.c.o:
# $(CC) -c -MD $*.d $(CFLAGS) $<
CPU_ARCH = x86 # XXX fixme
GFX_ARCH = win32
# MSVC compiler options for both debug/optimize
# /nologo - suppress copyright message
# /W3 - Warning level 3
# /Gm - enable minimal rebuild
# /Z7 - put debug info into the executable, not in .pdb file
# /YX - automatic precompiled headers
# /GX - enable C++ exception support
WIN_CFLAGS = /nologo /W3 /Fp$(OBJDIR)/js.pch
# MSVC compiler options for debug builds linked to MSVCRTD.DLL
# /MDd - link with MSVCRTD.LIB (Dynamically-linked, multi-threaded, debug C-runtime)
# /Od - minimal optimization
WIN_IDG_CFLAGS = /MDd /Od /Z7
# MSVC compiler options for debug builds linked to MSVCRT.DLL
# /MD - link with MSVCRT.LIB (Dynamically-linked, multi-threaded, debug C-runtime)
# /Od - minimal optimization
WIN_DEBUG_CFLAGS = /MD /Od /Z7
# MSVC compiler options for release (optimized) builds
# /MD - link with MSVCRT.LIB (Dynamically-linked, multi-threaded, C-runtime)
# /O2 - Optimize for speed
# /G5 - Optimize for Pentium
WIN_OPT_CFLAGS = /MD /O2
ifdef BUILD_OPT
OPTIMIZER = $(WIN_OPT_CFLAGS)
else
ifdef BUILD_IDG
OPTIMIZER = $(WIN_IDG_CFLAGS)
else
OPTIMIZER = $(WIN_DEBUG_CFLAGS)
endif
endif
OS_CFLAGS = -DXP_PC -DWIN32 -D_WINDOWS -D_WIN32 $(WIN_CFLAGS)
JSDLL_CFLAGS = -DEXPORT_JS_API
OS_LIBS = -lm -lc
PREBUILT_CPUCFG = 1
USE_MSVC = 1
LIB_LINK_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib oldnames.lib /nologo\
/subsystem:windows /dll /debug /pdb:none\
/machine:I386
EXE_LINK_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib\
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib oldnames.lib /nologo\
/subsystem:console /debug /pdb:none\
/machine:I386
# CAFEDIR = t:/cafe
# JCLASSPATH = $(CAFEDIR)/Java/Lib/classes.zip
# JAVAC = $(CAFEDIR)/Bin/sj.exe
# JAVAH = $(CAFEDIR)/Java/Bin/javah.exe
# JCFLAGS = -I$(CAFEDIR)/Java/Include -I$(CAFEDIR)/Java/Include/win32

View File

@@ -0,0 +1,58 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
#
# Config stuff for Data General DG/UX
#
#
# Initial DG/UX port by Marc Fraioli (fraioli@dg-rtp.dg.com)
#
AS = as
CC = gcc
CCC = g++
RANLIB = echo
#
# _DGUX_SOURCE is needed to turn on a lot of stuff in the headers if
# you're not using DG's compiler. It shouldn't hurt if you are.
#
# _POSIX4A_DRAFT10_SOURCE is needed to pick up localtime_r, used in
# prtime.c
#
OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -DDGUX -D_DGUX_SOURCE -D_POSIX4A_DRAFT10_SOURCE
OS_LIBS = -lsocket -lnsl
NOSUCHFILE = /no-such-file

View File

@@ -0,0 +1,122 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# 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.
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = js
LIBRARY_NAME = fdm
CSRCS = \
e_acos.c \
e_asin.c \
e_atan2.c \
e_exp.c \
e_fmod.c \
e_log.c \
e_pow.c \
e_rem_pio2.c \
s_scalbn.c \
e_sqrt.c \
k_cos.c \
k_sin.c \
k_rem_pio2.c \
k_tan.c \
s_atan.c \
s_ceil.c \
s_copysign.c \
s_cos.c \
s_fabs.c \
s_finite.c \
s_floor.c \
s_isnan.c \
s_lib_version.c \
s_sin.c \
s_tan.c \
w_acos.c \
w_asin.c \
w_atan2.c \
w_exp.c \
w_fmod.c \
w_log.c \
w_pow.c \
w_sqrt.c \
$(NULL)
EXPORTS = fdlibm.h
# we need to force a static lib for the linking that js/src/Makefile.in wants
# to do, and we don't really need a shared library ever, so:
override NO_SHARED_LIB=1
override NO_STATIC_LIB=
include $(topsrcdir)/config/rules.mk
#
# Default IEEE libm
#
CFLAGS += -D_IEEE_LIBM -DGCC_OPT_BUG
ifeq ($(OS_ARCH),Linux)
LDFLAGS += -ldl
endif
ifeq ($(OS_ARCH),OSF1)
LDFLAGS += -lc_r
endif
ifeq ($(OS_ARCH),SunOS)
LDFLAGS += -lposix4 -ldl -lnsl -lsocket
ifeq ($(CPU_ARCH),sparc)
ifndef JS_NO_ULTRA
ULTRA_OPTIONS := -xarch=v8plus,-DULTRA_SPARC
ULTRA_OPTIONSCC := -DULTRA_SPARC
else
ULTRA_OPTIONS := -xarch=v8
ULTRA_OPTIONSCC :=
endif
ifeq ($(shell uname -m),sun4u)
ASFLAGS += -Wa,$(ULTRA_OPTIONS),-P,-L,-D_ASM,-D__STDC__=0 $(ULTRA_OPTIONSCC)
else
ASFLAGS += -Wa,-xarch=v8,-P,-L,-D_ASM,-D__STDC__=0
endif
endif
endif

View File

@@ -0,0 +1,183 @@
#
# 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 Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Sun Microsystems,
# Inc. Portions created by Netscape are
# Copyright (C) 1998 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 1.4 95/01/18
#
# ====================================================
# Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
#
# Developed at SunSoft, a Sun Microsystems, Inc. business.
# Permission to use, copy, modify, and distribute this
# software is freely granted, provided that this notice
# is preserved.
# ====================================================
#
#
#
# There are two options in making libm at fdlibm compile time:
# _IEEE_LIBM --- IEEE libm; smaller, and somewhat faster
# _MULTI_LIBM --- Support multi-standard at runtime by
# imposing wrapper functions defined in
# fdlibm.h:
# _IEEE_MODE -- IEEE
# _XOPEN_MODE -- X/OPEN
# _POSIX_MODE -- POSIX/ANSI
# _SVID3_MODE -- SVID
#
# Here is how to set up CFLAGS to create the desired libm at
# compile time:
#
# CFLAGS = -D_IEEE_LIBM ... IEEE libm (recommended)
# CFLAGS = -D_SVID3_MODE ... Multi-standard supported
# libm with SVID as the
# default standard
# CFLAGS = -D_XOPEN_MODE ... Multi-standard supported
# libm with XOPEN as the
# default standard
# CFLAGS = -D_POSIX_MODE ... Multi-standard supported
# libm with POSIX as the
# default standard
# CFLAGS = ... Multi-standard supported
# libm with IEEE as the
# default standard
#
# NOTE: if scalb's second arguement is an int, then one must
# define _SCALB_INT in CFLAGS. The default prototype of scalb
# is double scalb(double, double)
#
DEPTH = ..
include $(DEPTH)/config.mk
#
# Default IEEE libm
#
CFLAGS += -DXP_UNIX $(OPTIMIZER) $(OS_CFLAGS) $(DEFINES) $(INCLUDES) \
-DJSFILE $(XCFLAGS) -D_IEEE_LIBM
#CC = cc
INCFILES = fdlibm.h
.INIT: $(INCFILES)
.KEEP_STATE:
FDLIBM_CFILES = \
k_standard.c k_rem_pio2.c \
k_cos.c k_sin.c k_tan.c \
e_acos.c e_acosh.c e_asin.c e_atan2.c \
e_atanh.c e_cosh.c e_exp.c e_fmod.c \
e_gamma.c e_gamma_r.c e_hypot.c e_j0.c \
e_j1.c e_jn.c e_lgamma.c e_lgamma_r.c \
e_log.c e_log10.c e_pow.c e_rem_pio2.c e_remainder.c \
e_scalb.c e_sinh.c e_sqrt.c \
w_acos.c w_acosh.c w_asin.c w_atan2.c \
w_atanh.c w_cosh.c w_exp.c w_fmod.c \
w_gamma.c w_gamma_r.c w_hypot.c w_j0.c \
w_j1.c w_jn.c w_lgamma.c w_lgamma_r.c \
w_log.c w_log10.c w_pow.c w_remainder.c \
w_scalb.c w_sinh.c w_sqrt.c \
s_asinh.c s_atan.c s_cbrt.c s_ceil.c s_copysign.c \
s_cos.c s_erf.c s_expm1.c s_fabs.c s_finite.c s_floor.c \
s_frexp.c s_ilogb.c s_isnan.c s_ldexp.c s_lib_version.c \
s_log1p.c s_logb.c s_matherr.c s_modf.c s_nextafter.c \
s_rint.c s_scalbn.c s_signgam.c s_significand.c s_sin.c \
s_tan.c s_tanh.c
ifdef USE_MSVC
FDLIBM_OBJS = $(addprefix $(OBJDIR)/, $(FDLIBM_CFILES:.c=.obj))
else
FDLIBM_OBJS = $(addprefix $(OBJDIR)/, $(FDLIBM_CFILES:.c=.o))
endif
ifdef USE_MSVC
LIBRARY = $(OBJDIR)/fdlibm.lib
else
LIBRARY = $(OBJDIR)/libfdm.a
endif
define MAKE_OBJDIR
if test ! -d $(@D); then rm -rf $(@D); mkdir $(@D); fi
endef
all: $(LIBRARY)
export:
$(OBJDIR)/%: %.c
@$(MAKE_OBJDIR)
$(CC) -o $@ $(CFLAGS) $*.c $(LDFLAGS)
$(OBJDIR)/%.o: %.c
@$(MAKE_OBJDIR)
$(CC) -o $@ -c $(CFLAGS) $*.c
$(OBJDIR)/%.o: %.s
@$(MAKE_OBJDIR)
$(AS) -o $@ $(ASFLAGS) $*.s
# windows only
$(OBJDIR)/%.obj: %.c
@$(MAKE_OBJDIR)
$(CC) -Fo$(OBJDIR)/ -c $(CFLAGS) $*.c
ifeq ($(OS_ARCH),OS2)
$(LIBRARY): $(FDLIBM_OBJS)
$(AR) $@ $? $(AR_OS2_SUFFIX)
$(RANLIB) $@
else
ifdef USE_MSVC
$(LIBRARY): $(FDLIBM_OBJS)
lib.exe /out:"$@" $?
else
$(LIBRARY): $(FDLIBM_OBJS)
$(AR) rv $@ $?
$(RANLIB) $@
endif
endif
libfdm.a : $(FDLIBM_OBJS)
$(AR) cru $(OBJDIR)/libfdm.a $(FDLIBM_OBJS)
$(RANLIB) $(OBJDIR)/libfdm.a
clean:
rm -rf $(FDLIBM_OBJS)
clobber:
rm -rf $(FDLIBM_OBJS) $(LIBRARY) $(DEPENDENCIES)
SUFFIXES: .i
%.i: %.c
$(CC) -C -E $(CFLAGS) $< > $*.i

View File

@@ -0,0 +1,143 @@
/* -*- Mode: C; 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Netscape are
* Copyright (C) 1998 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.
*/
/* @(#)e_acos.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
/* __ieee754_acos(x)
* Method :
* acos(x) = pi/2 - asin(x)
* acos(-x) = pi/2 + asin(x)
* For |x|<=0.5
* acos(x) = pi/2 - (x + x*x^2*R(x^2)) (see asin.c)
* For x>0.5
* acos(x) = pi/2 - (pi/2 - 2asin(sqrt((1-x)/2)))
* = 2asin(sqrt((1-x)/2))
* = 2s + 2s*z*R(z) ...z=(1-x)/2, s=sqrt(z)
* = 2f + (2c + 2s*z*R(z))
* where f=hi part of s, and c = (z-f*f)/(s+f) is the correction term
* for f so that f+c ~ sqrt(z).
* For x<-0.5
* acos(x) = pi - 2asin(sqrt((1-|x|)/2))
* = pi - 0.5*(s+s*z*R(z)), where z=(1-|x|)/2,s=sqrt(z)
*
* Special cases:
* if x is NaN, return x itself;
* if |x|>1, return NaN with invalid signal.
*
* Function needed: sqrt
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
one= 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */
pi = 3.14159265358979311600e+00, /* 0x400921FB, 0x54442D18 */
pio2_hi = 1.57079632679489655800e+00, /* 0x3FF921FB, 0x54442D18 */
pio2_lo = 6.12323399573676603587e-17, /* 0x3C91A626, 0x33145C07 */
pS0 = 1.66666666666666657415e-01, /* 0x3FC55555, 0x55555555 */
pS1 = -3.25565818622400915405e-01, /* 0xBFD4D612, 0x03EB6F7D */
pS2 = 2.01212532134862925881e-01, /* 0x3FC9C155, 0x0E884455 */
pS3 = -4.00555345006794114027e-02, /* 0xBFA48228, 0xB5688F3B */
pS4 = 7.91534994289814532176e-04, /* 0x3F49EFE0, 0x7501B288 */
pS5 = 3.47933107596021167570e-05, /* 0x3F023DE1, 0x0DFDF709 */
qS1 = -2.40339491173441421878e+00, /* 0xC0033A27, 0x1C8A2D4B */
qS2 = 2.02094576023350569471e+00, /* 0x40002AE5, 0x9C598AC8 */
qS3 = -6.88283971605453293030e-01, /* 0xBFE6066C, 0x1B8D0159 */
qS4 = 7.70381505559019352791e-02; /* 0x3FB3B8C5, 0xB12E9282 */
#ifdef __STDC__
double __ieee754_acos(double x)
#else
double __ieee754_acos(x)
double x;
#endif
{
#ifdef GCC_OPT_BUG
volatile double df;
#else
double df;
#endif
double z,p,q,r,w,s,c;
int hx,ix;
hx = __HI(x);
ix = hx&0x7fffffff;
if(ix>=0x3ff00000) { /* |x| >= 1 */
if(((ix-0x3ff00000)|__LO(x))==0) { /* |x|==1 */
if(hx>0) return 0.0; /* acos(1) = 0 */
else return pi+2.0*pio2_lo; /* acos(-1)= pi */
}
return (x-x)/(x-x); /* acos(|x|>1) is NaN */
}
if(ix<0x3fe00000) { /* |x| < 0.5 */
if(ix<=0x3c600000) return pio2_hi+pio2_lo;/*if|x|<2**-57*/
z = x*x;
p = z*(pS0+z*(pS1+z*(pS2+z*(pS3+z*(pS4+z*pS5)))));
q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4)));
r = p/q;
return pio2_hi - (x - (pio2_lo-x*r));
} else if (hx<0) { /* x < -0.5 */
z = (one+x)*0.5;
p = z*(pS0+z*(pS1+z*(pS2+z*(pS3+z*(pS4+z*pS5)))));
q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4)));
s = fd_sqrt(z);
r = p/q;
w = r*s-pio2_lo;
return pi - 2.0*(s+w);
} else { /* x > 0.5 */
z = (one-x)*0.5;
s = fd_sqrt(z);
df = s;
__LO(df) = 0;
c = (z-df*df)/(s+df);
p = z*(pS0+z*(pS1+z*(pS2+z*(pS3+z*(pS4+z*pS5)))));
q = one+z*(qS1+z*(qS2+z*(qS3+z*qS4)));
r = p/q;
w = r*s+c;
return 2.0*(df+w);
}
}

View File

@@ -0,0 +1,98 @@
/* -*- Mode: C; 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Netscape are
* Copyright (C) 1998 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.
*/
/* @(#)e_acosh.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*
*/
/* __ieee754_acosh(x)
* Method :
* Based on
* acosh(x) = log [ x + sqrt(x*x-1) ]
* we have
* acosh(x) := log(x)+ln2, if x is large; else
* acosh(x) := log(2x-1/(sqrt(x*x-1)+x)) if x>2; else
* acosh(x) := log1p(t+sqrt(2.0*t+t*t)); where t=x-1.
*
* Special cases:
* acosh(x) is NaN with signal if x<1.
* acosh(NaN) is NaN without signal.
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
one = 1.0,
ln2 = 6.93147180559945286227e-01; /* 0x3FE62E42, 0xFEFA39EF */
#ifdef __STDC__
double __ieee754_acosh(double x)
#else
double __ieee754_acosh(x)
double x;
#endif
{
double t;
int hx;
hx = __HI(x);
if(hx<0x3ff00000) { /* x < 1 */
return (x-x)/(x-x);
} else if(hx >=0x41b00000) { /* x > 2**28 */
if(hx >=0x7ff00000) { /* x is inf of NaN */
return x+x;
} else
return __ieee754_log(x)+ln2; /* acosh(huge)=log(2x) */
} else if(((hx-0x3ff00000)|__LO(x))==0) {
return 0.0; /* acosh(1) = 0 */
} else if (hx > 0x40000000) { /* 2**28 > x > 2 */
t=x*x;
return __ieee754_log(2.0*x-one/(x+fd_sqrt(t-one)));
} else { /* 1<x<2 */
t = x-one;
return fd_log1p(t+fd_sqrt(2.0*t+t*t));
}
}

View File

@@ -0,0 +1,152 @@
/* -*- Mode: C; 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Netscape are
* Copyright (C) 1998 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.
*/
/* @(#)e_asin.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
/* __ieee754_asin(x)
* Method :
* Since asin(x) = x + x^3/6 + x^5*3/40 + x^7*15/336 + ...
* we approximate asin(x) on [0,0.5] by
* asin(x) = x + x*x^2*R(x^2)
* where
* R(x^2) is a rational approximation of (asin(x)-x)/x^3
* and its remez error is bounded by
* |(asin(x)-x)/x^3 - R(x^2)| < 2^(-58.75)
*
* For x in [0.5,1]
* asin(x) = pi/2-2*asin(sqrt((1-x)/2))
* Let y = (1-x), z = y/2, s := sqrt(z), and pio2_hi+pio2_lo=pi/2;
* then for x>0.98
* asin(x) = pi/2 - 2*(s+s*z*R(z))
* = pio2_hi - (2*(s+s*z*R(z)) - pio2_lo)
* For x<=0.98, let pio4_hi = pio2_hi/2, then
* f = hi part of s;
* c = sqrt(z) - f = (z-f*f)/(s+f) ...f+c=sqrt(z)
* and
* asin(x) = pi/2 - 2*(s+s*z*R(z))
* = pio4_hi+(pio4-2s)-(2s*z*R(z)-pio2_lo)
* = pio4_hi+(pio4-2f)-(2s*z*R(z)-(pio2_lo+2c))
*
* Special cases:
* if x is NaN, return x itself;
* if |x|>1, return NaN with invalid signal.
*
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */
really_big = 1.000e+300,
pio2_hi = 1.57079632679489655800e+00, /* 0x3FF921FB, 0x54442D18 */
pio2_lo = 6.12323399573676603587e-17, /* 0x3C91A626, 0x33145C07 */
pio4_hi = 7.85398163397448278999e-01, /* 0x3FE921FB, 0x54442D18 */
/* coefficient for R(x^2) */
pS0 = 1.66666666666666657415e-01, /* 0x3FC55555, 0x55555555 */
pS1 = -3.25565818622400915405e-01, /* 0xBFD4D612, 0x03EB6F7D */
pS2 = 2.01212532134862925881e-01, /* 0x3FC9C155, 0x0E884455 */
pS3 = -4.00555345006794114027e-02, /* 0xBFA48228, 0xB5688F3B */
pS4 = 7.91534994289814532176e-04, /* 0x3F49EFE0, 0x7501B288 */
pS5 = 3.47933107596021167570e-05, /* 0x3F023DE1, 0x0DFDF709 */
qS1 = -2.40339491173441421878e+00, /* 0xC0033A27, 0x1C8A2D4B */
qS2 = 2.02094576023350569471e+00, /* 0x40002AE5, 0x9C598AC8 */
qS3 = -6.88283971605453293030e-01, /* 0xBFE6066C, 0x1B8D0159 */
qS4 = 7.70381505559019352791e-02; /* 0x3FB3B8C5, 0xB12E9282 */
#ifdef __STDC__
double __ieee754_asin(double x)
#else
double __ieee754_asin(x)
double x;
#endif
{
#ifdef GCC_OPT_BUG
volatile double w;
#else
double w;
#endif
double t,p,q,c,r,s;
int hx,ix;
hx = __HI(x);
ix = hx&0x7fffffff;
if(ix>= 0x3ff00000) { /* |x|>= 1 */
if(((ix-0x3ff00000)|__LO(x))==0)
/* asin(1)=+-pi/2 with inexact */
return x*pio2_hi+x*pio2_lo;
return (x-x)/(x-x); /* asin(|x|>1) is NaN */
} else if (ix<0x3fe00000) { /* |x|<0.5 */
if(ix<0x3e400000) { /* if |x| < 2**-27 */
if(really_big+x>one) return x;/* return x with inexact if x!=0*/
} else
t = x*x;
p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5)))));
q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
w = p/q;
return x+x*w;
}
/* 1> |x|>= 0.5 */
w = one-fd_fabs(x);
t = w*0.5;
p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5)))));
q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
s = fd_sqrt(t);
if(ix>=0x3FEF3333) { /* if |x| > 0.975 */
w = p/q;
t = pio2_hi-(2.0*(s+s*w)-pio2_lo);
} else {
w = s;
__LO(w) = 0;
c = (t-w*w)/(s+w);
r = p/q;
p = 2.0*s*r-(pio2_lo-2.0*c);
q = pio4_hi-2.0*w;
t = pio4_hi-(p-q);
}
if(hx>0) return t; else return -t;
}

View File

@@ -0,0 +1,156 @@
/* -*- Mode: C; 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Netscape are
* Copyright (C) 1998 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.
*/
/* @(#)e_atan2.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*
*/
/* __ieee754_atan2(y,x)
* Method :
* 1. Reduce y to positive by atan2(y,x)=-atan2(-y,x).
* 2. Reduce x to positive by (if x and y are unexceptional):
* ARG (x+iy) = arctan(y/x) ... if x > 0,
* ARG (x+iy) = pi - arctan[y/(-x)] ... if x < 0,
*
* Special cases:
*
* ATAN2((anything), NaN ) is NaN;
* ATAN2(NAN , (anything) ) is NaN;
* ATAN2(+-0, +(anything but NaN)) is +-0 ;
* ATAN2(+-0, -(anything but NaN)) is +-pi ;
* ATAN2(+-(anything but 0 and NaN), 0) is +-pi/2;
* ATAN2(+-(anything but INF and NaN), +INF) is +-0 ;
* ATAN2(+-(anything but INF and NaN), -INF) is +-pi;
* ATAN2(+-INF,+INF ) is +-pi/4 ;
* ATAN2(+-INF,-INF ) is +-3pi/4;
* ATAN2(+-INF, (anything but,0,NaN, and INF)) is +-pi/2;
*
* Constants:
* The hexadecimal values are the intended ones for the following
* constants. The decimal values may be used, provided that the
* compiler will convert from decimal to binary accurately enough
* to produce the hexadecimal values shown.
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
tiny = 1.0e-300,
zero = 0.0,
pi_o_4 = 7.8539816339744827900E-01, /* 0x3FE921FB, 0x54442D18 */
pi_o_2 = 1.5707963267948965580E+00, /* 0x3FF921FB, 0x54442D18 */
pi = 3.1415926535897931160E+00, /* 0x400921FB, 0x54442D18 */
pi_lo = 1.2246467991473531772E-16; /* 0x3CA1A626, 0x33145C07 */
#ifdef __STDC__
double __ieee754_atan2(double y, double x)
#else
double __ieee754_atan2(y,x)
double y,x;
#endif
{
double z;
int k,m,hx,hy,ix,iy;
unsigned lx,ly;
hx = __HI(x); ix = hx&0x7fffffff;
lx = __LO(x);
hy = __HI(y); iy = hy&0x7fffffff;
ly = __LO(y);
if(((ix|((lx|-(int)lx)>>31))>0x7ff00000)||
((iy|((ly|-(int)ly)>>31))>0x7ff00000)) /* x or y is NaN */
return x+y;
if(((hx-0x3ff00000)|lx)==0) return fd_atan(y); /* x=1.0 */
m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
/* when y = 0 */
if((iy|ly)==0) {
switch(m) {
case 0:
case 1: return y; /* atan(+-0,+anything)=+-0 */
case 2: return pi+tiny;/* atan(+0,-anything) = pi */
case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */
}
}
/* when x = 0 */
if((ix|lx)==0) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
/* when x is INF */
if(ix==0x7ff00000) {
if(iy==0x7ff00000) {
switch(m) {
case 0: return pi_o_4+tiny;/* atan(+INF,+INF) */
case 1: return -pi_o_4-tiny;/* atan(-INF,+INF) */
case 2: return 3.0*pi_o_4+tiny;/*atan(+INF,-INF)*/
case 3: return -3.0*pi_o_4-tiny;/*atan(-INF,-INF)*/
}
} else {
switch(m) {
case 0: return zero ; /* atan(+...,+INF) */
case 1: return -zero ; /* atan(-...,+INF) */
case 2: return pi+tiny ; /* atan(+...,-INF) */
case 3: return -pi-tiny ; /* atan(-...,-INF) */
}
}
}
/* when y is INF */
if(iy==0x7ff00000) return (hy<0)? -pi_o_2-tiny: pi_o_2+tiny;
/* compute y/x */
k = (iy-ix)>>20;
if(k > 60) z=pi_o_2+0.5*pi_lo; /* |y/x| > 2**60 */
else if(hx<0&&k<-60) z=0.0; /* |y|/x < -2**60 */
else z=fd_atan(fd_fabs(y/x)); /* safe to do y/x */
switch (m) {
case 0: return z ; /* atan(+,+) */
case 1: __HI(z) ^= 0x80000000;
return z ; /* atan(-,+) */
case 2: return pi-(z-pi_lo);/* atan(+,-) */
default: /* case 3 */
return (z-pi_lo)-pi;/* atan(-,-) */
}
}

View File

@@ -0,0 +1,101 @@
/* -*- Mode: C; 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Netscape are
* Copyright (C) 1998 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.
*/
/* @(#)e_atanh.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*
*/
/* __ieee754_atanh(x)
* Method :
* 1.Reduced x to positive by atanh(-x) = -atanh(x)
* 2.For x>=0.5
* 1 2x x
* atanh(x) = --- * log(1 + -------) = 0.5 * log1p(2 * --------)
* 2 1 - x 1 - x
*
* For x<0.5
* atanh(x) = 0.5*log1p(2x+2x*x/(1-x))
*
* Special cases:
* atanh(x) is NaN if |x| > 1 with signal;
* atanh(NaN) is that NaN with no signal;
* atanh(+-1) is +-INF with signal.
*
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double one = 1.0, really_big = 1e300;
#else
static double one = 1.0, really_big = 1e300;
#endif
static double zero = 0.0;
#ifdef __STDC__
double __ieee754_atanh(double x)
#else
double __ieee754_atanh(x)
double x;
#endif
{
double t;
int hx,ix;
unsigned lx;
hx = __HI(x); /* high word */
lx = __LO(x); /* low word */
ix = hx&0x7fffffff;
if ((ix|((lx|(-(int)lx))>>31))>0x3ff00000) /* |x|>1 */
return (x-x)/(x-x);
if(ix==0x3ff00000)
return x/zero;
if(ix<0x3e300000&&(really_big+x)>zero) return x; /* x<2**-28 */
__HI(x) = ix; /* x <- |x| */
if(ix<0x3fe00000) { /* x < 0.5 */
t = x+x;
t = 0.5*fd_log1p(t+t*x/(one-x));
} else
t = 0.5*fd_log1p((x+x)/(one-x));
if(hx>=0) return t; else return -t;
}

View File

@@ -0,0 +1,126 @@
/* -*- Mode: C; 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Netscape are
* Copyright (C) 1998 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.
*/
/* @(#)e_cosh.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
/* __ieee754_cosh(x)
* Method :
* mathematically cosh(x) if defined to be (exp(x)+exp(-x))/2
* 1. Replace x by |x| (cosh(x) = cosh(-x)).
* 2.
* [ exp(x) - 1 ]^2
* 0 <= x <= ln2/2 : cosh(x) := 1 + -------------------
* 2*exp(x)
*
* exp(x) + 1/exp(x)
* ln2/2 <= x <= 22 : cosh(x) := -------------------
* 2
* 22 <= x <= lnovft : cosh(x) := exp(x)/2
* lnovft <= x <= ln2ovft: cosh(x) := exp(x/2)/2 * exp(x/2)
* ln2ovft < x : cosh(x) := huge*huge (overflow)
*
* Special cases:
* cosh(x) is |x| if x is +INF, -INF, or NaN.
* only cosh(0)=1 is exact for finite x.
*/
#include "fdlibm.h"
#ifdef _WIN32
#define huge myhuge
#endif
#ifdef __STDC__
static const double one = 1.0, half=0.5, really_big = 1.0e300;
#else
static double one = 1.0, half=0.5, really_big = 1.0e300;
#endif
#ifdef __STDC__
double __ieee754_cosh(double x)
#else
double __ieee754_cosh(x)
double x;
#endif
{
double t,w;
int ix;
unsigned lx;
/* High word of |x|. */
ix = __HI(x);
ix &= 0x7fffffff;
/* x is INF or NaN */
if(ix>=0x7ff00000) return x*x;
/* |x| in [0,0.5*ln2], return 1+expm1(|x|)^2/(2*exp(|x|)) */
if(ix<0x3fd62e43) {
t = fd_expm1(fd_fabs(x));
w = one+t;
if (ix<0x3c800000) return w; /* cosh(tiny) = 1 */
return one+(t*t)/(w+w);
}
/* |x| in [0.5*ln2,22], return (exp(|x|)+1/exp(|x|)/2; */
if (ix < 0x40360000) {
t = __ieee754_exp(fd_fabs(x));
return half*t+half/t;
}
/* |x| in [22, log(maxdouble)] return half*exp(|x|) */
if (ix < 0x40862E42) return half*__ieee754_exp(fd_fabs(x));
/* |x| in [log(maxdouble), overflowthresold] */
lx = *( (((*(unsigned*)&one)>>29)) + (unsigned*)&x);
if (ix<0x408633CE ||
(ix==0x408633ce)&&(lx<=(unsigned)0x8fb9f87d)) {
w = __ieee754_exp(half*fd_fabs(x));
t = half*w;
return t*w;
}
/* |x| > overflowthresold, cosh(x) overflow */
return really_big*really_big;
}

View File

@@ -0,0 +1,200 @@
/* -*- Mode: C; 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Netscape are
* Copyright (C) 1998 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.
*/
/* @(#)e_exp.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
/* __ieee754_exp(x)
* Returns the exponential of x.
*
* Method
* 1. Argument reduction:
* Reduce x to an r so that |r| <= 0.5*ln2 ~ 0.34658.
* Given x, find r and integer k such that
*
* x = k*ln2 + r, |r| <= 0.5*ln2.
*
* Here r will be represented as r = hi-lo for better
* accuracy.
*
* 2. Approximation of exp(r) by a special rational function on
* the interval [0,0.34658]:
* Write
* R(r**2) = r*(exp(r)+1)/(exp(r)-1) = 2 + r*r/6 - r**4/360 + ...
* We use a special Reme algorithm on [0,0.34658] to generate
* a polynomial of degree 5 to approximate R. The maximum error
* of this polynomial approximation is bounded by 2**-59. In
* other words,
* R(z) ~ 2.0 + P1*z + P2*z**2 + P3*z**3 + P4*z**4 + P5*z**5
* (where z=r*r, and the values of P1 to P5 are listed below)
* and
* | 5 | -59
* | 2.0+P1*z+...+P5*z - R(z) | <= 2
* | |
* The computation of exp(r) thus becomes
* 2*r
* exp(r) = 1 + -------
* R - r
* r*R1(r)
* = 1 + r + ----------- (for better accuracy)
* 2 - R1(r)
* where
* 2 4 10
* R1(r) = r - (P1*r + P2*r + ... + P5*r ).
*
* 3. Scale back to obtain exp(x):
* From step 1, we have
* exp(x) = 2^k * exp(r)
*
* Special cases:
* exp(INF) is INF, exp(NaN) is NaN;
* exp(-INF) is 0, and
* for finite argument, only exp(0)=1 is exact.
*
* Accuracy:
* according to an error analysis, the error is always less than
* 1 ulp (unit in the last place).
*
* Misc. info.
* For IEEE double
* if x > 7.09782712893383973096e+02 then exp(x) overflow
* if x < -7.45133219101941108420e+02 then exp(x) underflow
*
* Constants:
* The hexadecimal values are the intended ones for the following
* constants. The decimal values may be used, provided that the
* compiler will convert from decimal to binary accurately enough
* to produce the hexadecimal values shown.
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
one = 1.0,
halF[2] = {0.5,-0.5,},
really_big = 1.0e+300,
twom1000= 9.33263618503218878990e-302, /* 2**-1000=0x01700000,0*/
o_threshold= 7.09782712893383973096e+02, /* 0x40862E42, 0xFEFA39EF */
u_threshold= -7.45133219101941108420e+02, /* 0xc0874910, 0xD52D3051 */
ln2HI[2] ={ 6.93147180369123816490e-01, /* 0x3fe62e42, 0xfee00000 */
-6.93147180369123816490e-01,},/* 0xbfe62e42, 0xfee00000 */
ln2LO[2] ={ 1.90821492927058770002e-10, /* 0x3dea39ef, 0x35793c76 */
-1.90821492927058770002e-10,},/* 0xbdea39ef, 0x35793c76 */
invln2 = 1.44269504088896338700e+00, /* 0x3ff71547, 0x652b82fe */
P1 = 1.66666666666666019037e-01, /* 0x3FC55555, 0x5555553E */
P2 = -2.77777777770155933842e-03, /* 0xBF66C16C, 0x16BEBD93 */
P3 = 6.61375632143793436117e-05, /* 0x3F11566A, 0xAF25DE2C */
P4 = -1.65339022054652515390e-06, /* 0xBEBBBD41, 0xC5D26BF1 */
P5 = 4.13813679705723846039e-08; /* 0x3E663769, 0x72BEA4D0 */
#ifdef __STDC__
double __ieee754_exp(double x) /* default IEEE double exp */
#else
double __ieee754_exp(x) /* default IEEE double exp */
double x;
#endif
{
#ifdef GCC_OPT_BUG
volatile int xsb;
#else
int xsb;
#endif
double y,hi,lo,c,t;
int k;
unsigned hx;
hx = __HI(x); /* high word of x */
xsb = (hx>>31)&1; /* sign bit of x */
hx &= 0x7fffffff; /* high word of |x| */
k = 0; /* prevent warning */
/* filter out non-finite argument */
if(hx >= 0x40862E42) { /* if |x|>=709.78... */
if(hx>=0x7ff00000) {
if(((hx&0xfffff)|__LO(x))!=0)
return x+x; /* NaN */
else return (xsb==0)? x:0.0; /* exp(+-inf)={inf,0} */
}
if(x > o_threshold) return really_big*really_big; /* overflow */
if(x < u_threshold) return twom1000*twom1000; /* underflow */
}
/* argument reduction */
if(hx > 0x3fd62e42) { /* if |x| > 0.5 ln2 */
if(hx < 0x3FF0A2B2) { /* and |x| < 1.5 ln2 */
hi = x-ln2HI[xsb]; lo=ln2LO[xsb]; k = 1-xsb-xsb;
} else {
k = (int)(invln2*x+halF[xsb]);
t = k;
hi = x - t*ln2HI[0]; /* t*ln2HI is exact here */
lo = t*ln2LO[0];
}
x = hi - lo;
}
else if(hx < 0x3e300000) { /* when |x|<2**-28 */
if(really_big+x>one) return one+x;/* trigger inexact */
}
else {
k = 0;
hi = 0; /* Unused when k = 0, but prevent warning. */
lo = 0;
}
/* x is now in primary range */
t = x*x;
c = x - t*(P1+t*(P2+t*(P3+t*(P4+t*P5))));
if(k==0) return one-((x*c)/(c-2.0)-x);
else y = one-((lo-(x*c)/(2.0-c))-hi);
if(k >= -1021) {
__HI(y) += (k<<20); /* add k to y's exponent */
return y;
} else {
__HI(y) += ((k+1000)<<20);/* add k to y's exponent */
return y*twom1000;
}
}

View File

@@ -0,0 +1,173 @@
/* -*- Mode: C; 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Netscape are
* Copyright (C) 1998 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.
*/
/* @(#)e_fmod.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
/*
* __ieee754_fmod(x,y)
* Return x mod y in exact arithmetic
* Method: shift and subtract
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double one = 1.0, Zero[] = {0.0, -0.0,};
#else
static double one = 1.0, Zero[] = {0.0, -0.0,};
#endif
#ifdef __STDC__
double __ieee754_fmod(double x, double y)
#else
double __ieee754_fmod(x,y)
double x,y ;
#endif
{
int n,hx,hy,hz,ix,iy,sx,i;
unsigned lx,ly,lz;
hx = __HI(x); /* high word of x */
lx = __LO(x); /* low word of x */
hy = __HI(y); /* high word of y */
ly = __LO(y); /* low word of y */
sx = hx&0x80000000; /* sign of x */
hx ^=sx; /* |x| */
hy &= 0x7fffffff; /* |y| */
/* purge off exception values */
if((hy|ly)==0||(hx>=0x7ff00000)|| /* y=0,or x not finite */
((hy|((ly|-(int)ly)>>31))>0x7ff00000)) /* or y is NaN */
return (x*y)/(x*y);
if(hx<=hy) {
if((hx<hy)||(lx<ly)) return x; /* |x|<|y| return x */
if(lx==ly)
return Zero[(unsigned)sx>>31]; /* |x|=|y| return x*0*/
}
/* determine ix = ilogb(x) */
if(hx<0x00100000) { /* subnormal x */
if(hx==0) {
for (ix = -1043, i=lx; i>0; i<<=1) ix -=1;
} else {
for (ix = -1022,i=(hx<<11); i>0; i<<=1) ix -=1;
}
} else ix = (hx>>20)-1023;
/* determine iy = ilogb(y) */
if(hy<0x00100000) { /* subnormal y */
if(hy==0) {
for (iy = -1043, i=ly; i>0; i<<=1) iy -=1;
} else {
for (iy = -1022,i=(hy<<11); i>0; i<<=1) iy -=1;
}
} else iy = (hy>>20)-1023;
/* set up {hx,lx}, {hy,ly} and align y to x */
if(ix >= -1022)
hx = 0x00100000|(0x000fffff&hx);
else { /* subnormal x, shift x to normal */
n = -1022-ix;
if(n<=31) {
hx = (hx<<n)|(lx>>(32-n));
lx <<= n;
} else {
hx = lx<<(n-32);
lx = 0;
}
}
if(iy >= -1022)
hy = 0x00100000|(0x000fffff&hy);
else { /* subnormal y, shift y to normal */
n = -1022-iy;
if(n<=31) {
hy = (hy<<n)|(ly>>(32-n));
ly <<= n;
} else {
hy = ly<<(n-32);
ly = 0;
}
}
/* fix point fmod */
n = ix - iy;
while(n--) {
hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1;
if(hz<0){hx = hx+hx+(lx>>31); lx = lx+lx;}
else {
if((hz|lz)==0) /* return sign(x)*0 */
return Zero[(unsigned)sx>>31];
hx = hz+hz+(lz>>31); lx = lz+lz;
}
}
hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1;
if(hz>=0) {hx=hz;lx=lz;}
/* convert back to floating value and restore the sign */
if((hx|lx)==0) /* return sign(x)*0 */
return Zero[(unsigned)sx>>31];
while(hx<0x00100000) { /* normalize x */
hx = hx+hx+(lx>>31); lx = lx+lx;
iy -= 1;
}
if(iy>= -1022) { /* normalize output */
hx = ((hx-0x00100000)|((iy+1023)<<20));
__HI(x) = hx|sx;
__LO(x) = lx;
} else { /* subnormal output */
n = -1022 - iy;
if(n<=20) {
lx = (lx>>n)|((unsigned)hx<<(32-n));
hx >>= n;
} else if (n<=31) {
lx = (hx<<(32-n))|(lx>>n); hx = sx;
} else {
lx = hx>>(n-32); hx = sx;
}
__HI(x) = hx|sx;
__LO(x) = lx;
x *= one; /* create necessary signal */
}
return x; /* exact output */
}

View File

@@ -0,0 +1,66 @@
/* -*- Mode: C; 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Netscape are
* Copyright (C) 1998 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.
*/
/* @(#)e_gamma.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*
*/
/* __ieee754_gamma(x)
* Return the logarithm of the Gamma function of x.
*
* Method: call __ieee754_gamma_r
*/
#include "fdlibm.h"
extern int signgam;
#ifdef __STDC__
double __ieee754_gamma(double x)
#else
double __ieee754_gamma(x)
double x;
#endif
{
return __ieee754_gamma_r(x,&signgam);
}

View File

@@ -0,0 +1,65 @@
/* -*- Mode: C; 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Netscape are
* Copyright (C) 1998 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.
*/
/* @(#)e_gamma_r.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*
*/
/* __ieee754_gamma_r(x, signgamp)
* Reentrant version of the logarithm of the Gamma function
* with user provide pointer for the sign of Gamma(x).
*
* Method: See __ieee754_lgamma_r
*/
#include "fdlibm.h"
#ifdef __STDC__
double __ieee754_gamma_r(double x, int *signgamp)
#else
double __ieee754_gamma_r(x,signgamp)
double x; int *signgamp;
#endif
{
return __ieee754_lgamma_r(x,signgamp);
}

View File

@@ -0,0 +1,148 @@
/* -*- Mode: C; 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Netscape are
* Copyright (C) 1998 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.
*/
/* @(#)e_hypot.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
/* __ieee754_hypot(x,y)
*
* Method :
* If (assume round-to-nearest) z=x*x+y*y
* has error less than sqrt(2)/2 ulp, than
* sqrt(z) has error less than 1 ulp (exercise).
*
* So, compute sqrt(x*x+y*y) with some care as
* follows to get the error below 1 ulp:
*
* Assume x>y>0;
* (if possible, set rounding to round-to-nearest)
* 1. if x > 2y use
* x1*x1+(y*y+(x2*(x+x1))) for x*x+y*y
* where x1 = x with lower 32 bits cleared, x2 = x-x1; else
* 2. if x <= 2y use
* t1*y1+((x-y)*(x-y)+(t1*y2+t2*y))
* where t1 = 2x with lower 32 bits cleared, t2 = 2x-t1,
* y1= y with lower 32 bits chopped, y2 = y-y1.
*
* NOTE: scaling may be necessary if some argument is too
* large or too tiny
*
* Special cases:
* hypot(x,y) is INF if x or y is +INF or -INF; else
* hypot(x,y) is NAN if x or y is NAN.
*
* Accuracy:
* hypot(x,y) returns sqrt(x^2+y^2) with error less
* than 1 ulps (units in the last place)
*/
#include "fdlibm.h"
#ifdef __STDC__
double __ieee754_hypot(double x, double y)
#else
double __ieee754_hypot(x,y)
double x, y;
#endif
{
double a=x,b=y,t1,t2,y1,y2,w;
int j,k,ha,hb;
ha = __HI(x)&0x7fffffff; /* high word of x */
hb = __HI(y)&0x7fffffff; /* high word of y */
if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;}
__HI(a) = ha; /* a <- |a| */
__HI(b) = hb; /* b <- |b| */
if((ha-hb)>0x3c00000) {return a+b;} /* x/y > 2**60 */
k=0;
if(ha > 0x5f300000) { /* a>2**500 */
if(ha >= 0x7ff00000) { /* Inf or NaN */
w = a+b; /* for sNaN */
if(((ha&0xfffff)|__LO(a))==0) w = a;
if(((hb^0x7ff00000)|__LO(b))==0) w = b;
return w;
}
/* scale a and b by 2**-600 */
ha -= 0x25800000; hb -= 0x25800000; k += 600;
__HI(a) = ha;
__HI(b) = hb;
}
if(hb < 0x20b00000) { /* b < 2**-500 */
if(hb <= 0x000fffff) { /* subnormal b or 0 */
if((hb|(__LO(b)))==0) return a;
t1=0;
__HI(t1) = 0x7fd00000; /* t1=2^1022 */
b *= t1;
a *= t1;
k -= 1022;
} else { /* scale a and b by 2^600 */
ha += 0x25800000; /* a *= 2^600 */
hb += 0x25800000; /* b *= 2^600 */
k -= 600;
__HI(a) = ha;
__HI(b) = hb;
}
}
/* medium size a and b */
w = a-b;
if (w>b) {
t1 = 0;
__HI(t1) = ha;
t2 = a-t1;
w = fd_sqrt(t1*t1-(b*(-b)-t2*(a+t1)));
} else {
a = a+a;
y1 = 0;
__HI(y1) = hb;
y2 = b - y1;
t1 = 0;
__HI(t1) = ha+0x00100000;
t2 = a - t1;
w = fd_sqrt(t1*y1-(w*(-w)-(t1*y2+t2*b)));
}
if(k!=0) {
t1 = 1.0;
__HI(t1) += (k<<20);
return t1*w;
} else return w;
}

View File

@@ -0,0 +1,511 @@
/* -*- Mode: C; 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Netscape are
* Copyright (C) 1998 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.
*/
/* @(#)e_j0.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
/* __ieee754_j0(x), __ieee754_y0(x)
* Bessel function of the first and second kinds of order zero.
* Method -- j0(x):
* 1. For tiny x, we use j0(x) = 1 - x^2/4 + x^4/64 - ...
* 2. Reduce x to |x| since j0(x)=j0(-x), and
* for x in (0,2)
* j0(x) = 1-z/4+ z^2*R0/S0, where z = x*x;
* (precision: |j0-1+z/4-z^2R0/S0 |<2**-63.67 )
* for x in (2,inf)
* j0(x) = sqrt(2/(pi*x))*(p0(x)*cos(x0)-q0(x)*sin(x0))
* where x0 = x-pi/4. It is better to compute sin(x0),cos(x0)
* as follow:
* cos(x0) = cos(x)cos(pi/4)+sin(x)sin(pi/4)
* = 1/sqrt(2) * (cos(x) + sin(x))
* sin(x0) = sin(x)cos(pi/4)-cos(x)sin(pi/4)
* = 1/sqrt(2) * (sin(x) - cos(x))
* (To avoid cancellation, use
* sin(x) +- cos(x) = -cos(2x)/(sin(x) -+ cos(x))
* to compute the worse one.)
*
* 3 Special cases
* j0(nan)= nan
* j0(0) = 1
* j0(inf) = 0
*
* Method -- y0(x):
* 1. For x<2.
* Since
* y0(x) = 2/pi*(j0(x)*(ln(x/2)+Euler) + x^2/4 - ...)
* therefore y0(x)-2/pi*j0(x)*ln(x) is an even function.
* We use the following function to approximate y0,
* y0(x) = U(z)/V(z) + (2/pi)*(j0(x)*ln(x)), z= x^2
* where
* U(z) = u00 + u01*z + ... + u06*z^6
* V(z) = 1 + v01*z + ... + v04*z^4
* with absolute approximation error bounded by 2**-72.
* Note: For tiny x, U/V = u0 and j0(x)~1, hence
* y0(tiny) = u0 + (2/pi)*ln(tiny), (choose tiny<2**-27)
* 2. For x>=2.
* y0(x) = sqrt(2/(pi*x))*(p0(x)*cos(x0)+q0(x)*sin(x0))
* where x0 = x-pi/4. It is better to compute sin(x0),cos(x0)
* by the method mentioned above.
* 3. Special cases: y0(0)=-inf, y0(x<0)=NaN, y0(inf)=0.
*/
#include "fdlibm.h"
#ifdef __STDC__
static double pzero(double), qzero(double);
#else
static double pzero(), qzero();
#endif
#ifdef __STDC__
static const double
#else
static double
#endif
really_big = 1e300,
one = 1.0,
invsqrtpi= 5.64189583547756279280e-01, /* 0x3FE20DD7, 0x50429B6D */
tpi = 6.36619772367581382433e-01, /* 0x3FE45F30, 0x6DC9C883 */
/* R0/S0 on [0, 2.00] */
R02 = 1.56249999999999947958e-02, /* 0x3F8FFFFF, 0xFFFFFFFD */
R03 = -1.89979294238854721751e-04, /* 0xBF28E6A5, 0xB61AC6E9 */
R04 = 1.82954049532700665670e-06, /* 0x3EBEB1D1, 0x0C503919 */
R05 = -4.61832688532103189199e-09, /* 0xBE33D5E7, 0x73D63FCE */
S01 = 1.56191029464890010492e-02, /* 0x3F8FFCE8, 0x82C8C2A4 */
S02 = 1.16926784663337450260e-04, /* 0x3F1EA6D2, 0xDD57DBF4 */
S03 = 5.13546550207318111446e-07, /* 0x3EA13B54, 0xCE84D5A9 */
S04 = 1.16614003333790000205e-09; /* 0x3E1408BC, 0xF4745D8F */
static double zero = 0.0;
#ifdef __STDC__
double __ieee754_j0(double x)
#else
double __ieee754_j0(x)
double x;
#endif
{
double z, s,c,ss,cc,r,u,v;
int hx,ix;
hx = __HI(x);
ix = hx&0x7fffffff;
if(ix>=0x7ff00000) return one/(x*x);
x = fd_fabs(x);
if(ix >= 0x40000000) { /* |x| >= 2.0 */
s = fd_sin(x);
c = fd_cos(x);
ss = s-c;
cc = s+c;
if(ix<0x7fe00000) { /* make sure x+x not overflow */
z = -fd_cos(x+x);
if ((s*c)<zero) cc = z/ss;
else ss = z/cc;
}
/*
* j0(x) = 1/sqrt(pi) * (P(0,x)*cc - Q(0,x)*ss) / sqrt(x)
* y0(x) = 1/sqrt(pi) * (P(0,x)*ss + Q(0,x)*cc) / sqrt(x)
*/
if(ix>0x48000000) z = (invsqrtpi*cc)/fd_sqrt(x);
else {
u = pzero(x); v = qzero(x);
z = invsqrtpi*(u*cc-v*ss)/fd_sqrt(x);
}
return z;
}
if(ix<0x3f200000) { /* |x| < 2**-13 */
if(really_big+x>one) { /* raise inexact if x != 0 */
if(ix<0x3e400000) return one; /* |x|<2**-27 */
else return one - 0.25*x*x;
}
}
z = x*x;
r = z*(R02+z*(R03+z*(R04+z*R05)));
s = one+z*(S01+z*(S02+z*(S03+z*S04)));
if(ix < 0x3FF00000) { /* |x| < 1.00 */
return one + z*(-0.25+(r/s));
} else {
u = 0.5*x;
return((one+u)*(one-u)+z*(r/s));
}
}
#ifdef __STDC__
static const double
#else
static double
#endif
u00 = -7.38042951086872317523e-02, /* 0xBFB2E4D6, 0x99CBD01F */
u01 = 1.76666452509181115538e-01, /* 0x3FC69D01, 0x9DE9E3FC */
u02 = -1.38185671945596898896e-02, /* 0xBF8C4CE8, 0xB16CFA97 */
u03 = 3.47453432093683650238e-04, /* 0x3F36C54D, 0x20B29B6B */
u04 = -3.81407053724364161125e-06, /* 0xBECFFEA7, 0x73D25CAD */
u05 = 1.95590137035022920206e-08, /* 0x3E550057, 0x3B4EABD4 */
u06 = -3.98205194132103398453e-11, /* 0xBDC5E43D, 0x693FB3C8 */
v01 = 1.27304834834123699328e-02, /* 0x3F8A1270, 0x91C9C71A */
v02 = 7.60068627350353253702e-05, /* 0x3F13ECBB, 0xF578C6C1 */
v03 = 2.59150851840457805467e-07, /* 0x3E91642D, 0x7FF202FD */
v04 = 4.41110311332675467403e-10; /* 0x3DFE5018, 0x3BD6D9EF */
#ifdef __STDC__
double __ieee754_y0(double x)
#else
double __ieee754_y0(x)
double x;
#endif
{
double z, s,c,ss,cc,u,v;
int hx,ix,lx;
hx = __HI(x);
ix = 0x7fffffff&hx;
lx = __LO(x);
/* Y0(NaN) is NaN, y0(-inf) is Nan, y0(inf) is 0 */
if(ix>=0x7ff00000) return one/(x+x*x);
if((ix|lx)==0) return -one/zero;
if(hx<0) return zero/zero;
if(ix >= 0x40000000) { /* |x| >= 2.0 */
/* y0(x) = sqrt(2/(pi*x))*(p0(x)*sin(x0)+q0(x)*cos(x0))
* where x0 = x-pi/4
* Better formula:
* cos(x0) = cos(x)cos(pi/4)+sin(x)sin(pi/4)
* = 1/sqrt(2) * (sin(x) + cos(x))
* sin(x0) = sin(x)cos(3pi/4)-cos(x)sin(3pi/4)
* = 1/sqrt(2) * (sin(x) - cos(x))
* To avoid cancellation, use
* sin(x) +- cos(x) = -cos(2x)/(sin(x) -+ cos(x))
* to compute the worse one.
*/
s = fd_sin(x);
c = fd_cos(x);
ss = s-c;
cc = s+c;
/*
* j0(x) = 1/sqrt(pi) * (P(0,x)*cc - Q(0,x)*ss) / sqrt(x)
* y0(x) = 1/sqrt(pi) * (P(0,x)*ss + Q(0,x)*cc) / sqrt(x)
*/
if(ix<0x7fe00000) { /* make sure x+x not overflow */
z = -fd_cos(x+x);
if ((s*c)<zero) cc = z/ss;
else ss = z/cc;
}
if(ix>0x48000000) z = (invsqrtpi*ss)/fd_sqrt(x);
else {
u = pzero(x); v = qzero(x);
z = invsqrtpi*(u*ss+v*cc)/fd_sqrt(x);
}
return z;
}
if(ix<=0x3e400000) { /* x < 2**-27 */
return(u00 + tpi*__ieee754_log(x));
}
z = x*x;
u = u00+z*(u01+z*(u02+z*(u03+z*(u04+z*(u05+z*u06)))));
v = one+z*(v01+z*(v02+z*(v03+z*v04)));
return(u/v + tpi*(__ieee754_j0(x)*__ieee754_log(x)));
}
/* The asymptotic expansions of pzero is
* 1 - 9/128 s^2 + 11025/98304 s^4 - ..., where s = 1/x.
* For x >= 2, We approximate pzero by
* pzero(x) = 1 + (R/S)
* where R = pR0 + pR1*s^2 + pR2*s^4 + ... + pR5*s^10
* S = 1 + pS0*s^2 + ... + pS4*s^10
* and
* | pzero(x)-1-R/S | <= 2 ** ( -60.26)
*/
#ifdef __STDC__
static const double pR8[6] = { /* for x in [inf, 8]=1/[0,0.125] */
#else
static double pR8[6] = { /* for x in [inf, 8]=1/[0,0.125] */
#endif
0.00000000000000000000e+00, /* 0x00000000, 0x00000000 */
-7.03124999999900357484e-02, /* 0xBFB1FFFF, 0xFFFFFD32 */
-8.08167041275349795626e+00, /* 0xC02029D0, 0xB44FA779 */
-2.57063105679704847262e+02, /* 0xC0701102, 0x7B19E863 */
-2.48521641009428822144e+03, /* 0xC0A36A6E, 0xCD4DCAFC */
-5.25304380490729545272e+03, /* 0xC0B4850B, 0x36CC643D */
};
#ifdef __STDC__
static const double pS8[5] = {
#else
static double pS8[5] = {
#endif
1.16534364619668181717e+02, /* 0x405D2233, 0x07A96751 */
3.83374475364121826715e+03, /* 0x40ADF37D, 0x50596938 */
4.05978572648472545552e+04, /* 0x40E3D2BB, 0x6EB6B05F */
1.16752972564375915681e+05, /* 0x40FC810F, 0x8F9FA9BD */
4.76277284146730962675e+04, /* 0x40E74177, 0x4F2C49DC */
};
#ifdef __STDC__
static const double pR5[6] = { /* for x in [8,4.5454]=1/[0.125,0.22001] */
#else
static double pR5[6] = { /* for x in [8,4.5454]=1/[0.125,0.22001] */
#endif
-1.14125464691894502584e-11, /* 0xBDA918B1, 0x47E495CC */
-7.03124940873599280078e-02, /* 0xBFB1FFFF, 0xE69AFBC6 */
-4.15961064470587782438e+00, /* 0xC010A370, 0xF90C6BBF */
-6.76747652265167261021e+01, /* 0xC050EB2F, 0x5A7D1783 */
-3.31231299649172967747e+02, /* 0xC074B3B3, 0x6742CC63 */
-3.46433388365604912451e+02, /* 0xC075A6EF, 0x28A38BD7 */
};
#ifdef __STDC__
static const double pS5[5] = {
#else
static double pS5[5] = {
#endif
6.07539382692300335975e+01, /* 0x404E6081, 0x0C98C5DE */
1.05125230595704579173e+03, /* 0x40906D02, 0x5C7E2864 */
5.97897094333855784498e+03, /* 0x40B75AF8, 0x8FBE1D60 */
9.62544514357774460223e+03, /* 0x40C2CCB8, 0xFA76FA38 */
2.40605815922939109441e+03, /* 0x40A2CC1D, 0xC70BE864 */
};
#ifdef __STDC__
static const double pR3[6] = {/* for x in [4.547,2.8571]=1/[0.2199,0.35001] */
#else
static double pR3[6] = {/* for x in [4.547,2.8571]=1/[0.2199,0.35001] */
#endif
-2.54704601771951915620e-09, /* 0xBE25E103, 0x6FE1AA86 */
-7.03119616381481654654e-02, /* 0xBFB1FFF6, 0xF7C0E24B */
-2.40903221549529611423e+00, /* 0xC00345B2, 0xAEA48074 */
-2.19659774734883086467e+01, /* 0xC035F74A, 0x4CB94E14 */
-5.80791704701737572236e+01, /* 0xC04D0A22, 0x420A1A45 */
-3.14479470594888503854e+01, /* 0xC03F72AC, 0xA892D80F */
};
#ifdef __STDC__
static const double pS3[5] = {
#else
static double pS3[5] = {
#endif
3.58560338055209726349e+01, /* 0x4041ED92, 0x84077DD3 */
3.61513983050303863820e+02, /* 0x40769839, 0x464A7C0E */
1.19360783792111533330e+03, /* 0x4092A66E, 0x6D1061D6 */
1.12799679856907414432e+03, /* 0x40919FFC, 0xB8C39B7E */
1.73580930813335754692e+02, /* 0x4065B296, 0xFC379081 */
};
#ifdef __STDC__
static const double pR2[6] = {/* for x in [2.8570,2]=1/[0.3499,0.5] */
#else
static double pR2[6] = {/* for x in [2.8570,2]=1/[0.3499,0.5] */
#endif
-8.87534333032526411254e-08, /* 0xBE77D316, 0xE927026D */
-7.03030995483624743247e-02, /* 0xBFB1FF62, 0x495E1E42 */
-1.45073846780952986357e+00, /* 0xBFF73639, 0x8A24A843 */
-7.63569613823527770791e+00, /* 0xC01E8AF3, 0xEDAFA7F3 */
-1.11931668860356747786e+01, /* 0xC02662E6, 0xC5246303 */
-3.23364579351335335033e+00, /* 0xC009DE81, 0xAF8FE70F */
};
#ifdef __STDC__
static const double pS2[5] = {
#else
static double pS2[5] = {
#endif
2.22202997532088808441e+01, /* 0x40363865, 0x908B5959 */
1.36206794218215208048e+02, /* 0x4061069E, 0x0EE8878F */
2.70470278658083486789e+02, /* 0x4070E786, 0x42EA079B */
1.53875394208320329881e+02, /* 0x40633C03, 0x3AB6FAFF */
1.46576176948256193810e+01, /* 0x402D50B3, 0x44391809 */
};
#ifdef __STDC__
static double pzero(double x)
#else
static double pzero(x)
double x;
#endif
{
#ifdef __STDC__
const double *p,*q;
#else
double *p,*q;
#endif
double z,r,s;
int ix;
ix = 0x7fffffff&__HI(x);
if(ix>=0x40200000) {p = pR8; q= pS8;}
else if(ix>=0x40122E8B){p = pR5; q= pS5;}
else if(ix>=0x4006DB6D){p = pR3; q= pS3;}
else if(ix>=0x40000000){p = pR2; q= pS2;}
z = one/(x*x);
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4]))));
return one+ r/s;
}
/* For x >= 8, the asymptotic expansions of qzero is
* -1/8 s + 75/1024 s^3 - ..., where s = 1/x.
* We approximate pzero by
* qzero(x) = s*(-1.25 + (R/S))
* where R = qR0 + qR1*s^2 + qR2*s^4 + ... + qR5*s^10
* S = 1 + qS0*s^2 + ... + qS5*s^12
* and
* | qzero(x)/s +1.25-R/S | <= 2 ** ( -61.22)
*/
#ifdef __STDC__
static const double qR8[6] = { /* for x in [inf, 8]=1/[0,0.125] */
#else
static double qR8[6] = { /* for x in [inf, 8]=1/[0,0.125] */
#endif
0.00000000000000000000e+00, /* 0x00000000, 0x00000000 */
7.32421874999935051953e-02, /* 0x3FB2BFFF, 0xFFFFFE2C */
1.17682064682252693899e+01, /* 0x40278952, 0x5BB334D6 */
5.57673380256401856059e+02, /* 0x40816D63, 0x15301825 */
8.85919720756468632317e+03, /* 0x40C14D99, 0x3E18F46D */
3.70146267776887834771e+04, /* 0x40E212D4, 0x0E901566 */
};
#ifdef __STDC__
static const double qS8[6] = {
#else
static double qS8[6] = {
#endif
1.63776026895689824414e+02, /* 0x406478D5, 0x365B39BC */
8.09834494656449805916e+03, /* 0x40BFA258, 0x4E6B0563 */
1.42538291419120476348e+05, /* 0x41016652, 0x54D38C3F */
8.03309257119514397345e+05, /* 0x412883DA, 0x83A52B43 */
8.40501579819060512818e+05, /* 0x4129A66B, 0x28DE0B3D */
-3.43899293537866615225e+05, /* 0xC114FD6D, 0x2C9530C5 */
};
#ifdef __STDC__
static const double qR5[6] = { /* for x in [8,4.5454]=1/[0.125,0.22001] */
#else
static double qR5[6] = { /* for x in [8,4.5454]=1/[0.125,0.22001] */
#endif
1.84085963594515531381e-11, /* 0x3DB43D8F, 0x29CC8CD9 */
7.32421766612684765896e-02, /* 0x3FB2BFFF, 0xD172B04C */
5.83563508962056953777e+00, /* 0x401757B0, 0xB9953DD3 */
1.35111577286449829671e+02, /* 0x4060E392, 0x0A8788E9 */
1.02724376596164097464e+03, /* 0x40900CF9, 0x9DC8C481 */
1.98997785864605384631e+03, /* 0x409F17E9, 0x53C6E3A6 */
};
#ifdef __STDC__
static const double qS5[6] = {
#else
static double qS5[6] = {
#endif
8.27766102236537761883e+01, /* 0x4054B1B3, 0xFB5E1543 */
2.07781416421392987104e+03, /* 0x40A03BA0, 0xDA21C0CE */
1.88472887785718085070e+04, /* 0x40D267D2, 0x7B591E6D */
5.67511122894947329769e+04, /* 0x40EBB5E3, 0x97E02372 */
3.59767538425114471465e+04, /* 0x40E19118, 0x1F7A54A0 */
-5.35434275601944773371e+03, /* 0xC0B4EA57, 0xBEDBC609 */
};
#ifdef __STDC__
static const double qR3[6] = {/* for x in [4.547,2.8571]=1/[0.2199,0.35001] */
#else
static double qR3[6] = {/* for x in [4.547,2.8571]=1/[0.2199,0.35001] */
#endif
4.37741014089738620906e-09, /* 0x3E32CD03, 0x6ADECB82 */
7.32411180042911447163e-02, /* 0x3FB2BFEE, 0x0E8D0842 */
3.34423137516170720929e+00, /* 0x400AC0FC, 0x61149CF5 */
4.26218440745412650017e+01, /* 0x40454F98, 0x962DAEDD */
1.70808091340565596283e+02, /* 0x406559DB, 0xE25EFD1F */
1.66733948696651168575e+02, /* 0x4064D77C, 0x81FA21E0 */
};
#ifdef __STDC__
static const double qS3[6] = {
#else
static double qS3[6] = {
#endif
4.87588729724587182091e+01, /* 0x40486122, 0xBFE343A6 */
7.09689221056606015736e+02, /* 0x40862D83, 0x86544EB3 */
3.70414822620111362994e+03, /* 0x40ACF04B, 0xE44DFC63 */
6.46042516752568917582e+03, /* 0x40B93C6C, 0xD7C76A28 */
2.51633368920368957333e+03, /* 0x40A3A8AA, 0xD94FB1C0 */
-1.49247451836156386662e+02, /* 0xC062A7EB, 0x201CF40F */
};
#ifdef __STDC__
static const double qR2[6] = {/* for x in [2.8570,2]=1/[0.3499,0.5] */
#else
static double qR2[6] = {/* for x in [2.8570,2]=1/[0.3499,0.5] */
#endif
1.50444444886983272379e-07, /* 0x3E84313B, 0x54F76BDB */
7.32234265963079278272e-02, /* 0x3FB2BEC5, 0x3E883E34 */
1.99819174093815998816e+00, /* 0x3FFFF897, 0xE727779C */
1.44956029347885735348e+01, /* 0x402CFDBF, 0xAAF96FE5 */
3.16662317504781540833e+01, /* 0x403FAA8E, 0x29FBDC4A */
1.62527075710929267416e+01, /* 0x403040B1, 0x71814BB4 */
};
#ifdef __STDC__
static const double qS2[6] = {
#else
static double qS2[6] = {
#endif
3.03655848355219184498e+01, /* 0x403E5D96, 0xF7C07AED */
2.69348118608049844624e+02, /* 0x4070D591, 0xE4D14B40 */
8.44783757595320139444e+02, /* 0x408A6645, 0x22B3BF22 */
8.82935845112488550512e+02, /* 0x408B977C, 0x9C5CC214 */
2.12666388511798828631e+02, /* 0x406A9553, 0x0E001365 */
-5.31095493882666946917e+00, /* 0xC0153E6A, 0xF8B32931 */
};
#ifdef __STDC__
static double qzero(double x)
#else
static double qzero(x)
double x;
#endif
{
#ifdef __STDC__
const double *p,*q;
#else
double *p,*q;
#endif
double s,r,z;
int ix;
ix = 0x7fffffff&__HI(x);
if(ix>=0x40200000) {p = qR8; q= qS8;}
else if(ix>=0x40122E8B){p = qR5; q= qS5;}
else if(ix>=0x4006DB6D){p = qR3; q= qS3;}
else if(ix>=0x40000000){p = qR2; q= qS2;}
z = one/(x*x);
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*(q[4]+z*q[5])))));
return (-.125 + r/s)/x;
}

View File

@@ -0,0 +1,510 @@
/* -*- Mode: C; 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Netscape are
* Copyright (C) 1998 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.
*/
/* @(#)e_j1.c 1.3 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
/* __ieee754_j1(x), __ieee754_y1(x)
* Bessel function of the first and second kinds of order zero.
* Method -- j1(x):
* 1. For tiny x, we use j1(x) = x/2 - x^3/16 + x^5/384 - ...
* 2. Reduce x to |x| since j1(x)=-j1(-x), and
* for x in (0,2)
* j1(x) = x/2 + x*z*R0/S0, where z = x*x;
* (precision: |j1/x - 1/2 - R0/S0 |<2**-61.51 )
* for x in (2,inf)
* j1(x) = sqrt(2/(pi*x))*(p1(x)*cos(x1)-q1(x)*sin(x1))
* y1(x) = sqrt(2/(pi*x))*(p1(x)*sin(x1)+q1(x)*cos(x1))
* where x1 = x-3*pi/4. It is better to compute sin(x1),cos(x1)
* as follow:
* cos(x1) = cos(x)cos(3pi/4)+sin(x)sin(3pi/4)
* = 1/sqrt(2) * (sin(x) - cos(x))
* sin(x1) = sin(x)cos(3pi/4)-cos(x)sin(3pi/4)
* = -1/sqrt(2) * (sin(x) + cos(x))
* (To avoid cancellation, use
* sin(x) +- cos(x) = -cos(2x)/(sin(x) -+ cos(x))
* to compute the worse one.)
*
* 3 Special cases
* j1(nan)= nan
* j1(0) = 0
* j1(inf) = 0
*
* Method -- y1(x):
* 1. screen out x<=0 cases: y1(0)=-inf, y1(x<0)=NaN
* 2. For x<2.
* Since
* y1(x) = 2/pi*(j1(x)*(ln(x/2)+Euler)-1/x-x/2+5/64*x^3-...)
* therefore y1(x)-2/pi*j1(x)*ln(x)-1/x is an odd function.
* We use the following function to approximate y1,
* y1(x) = x*U(z)/V(z) + (2/pi)*(j1(x)*ln(x)-1/x), z= x^2
* where for x in [0,2] (abs err less than 2**-65.89)
* U(z) = U0[0] + U0[1]*z + ... + U0[4]*z^4
* V(z) = 1 + v0[0]*z + ... + v0[4]*z^5
* Note: For tiny x, 1/x dominate y1 and hence
* y1(tiny) = -2/pi/tiny, (choose tiny<2**-54)
* 3. For x>=2.
* y1(x) = sqrt(2/(pi*x))*(p1(x)*sin(x1)+q1(x)*cos(x1))
* where x1 = x-3*pi/4. It is better to compute sin(x1),cos(x1)
* by method mentioned above.
*/
#include "fdlibm.h"
#ifdef __STDC__
static double pone(double), qone(double);
#else
static double pone(), qone();
#endif
#ifdef __STDC__
static const double
#else
static double
#endif
really_big = 1e300,
one = 1.0,
invsqrtpi= 5.64189583547756279280e-01, /* 0x3FE20DD7, 0x50429B6D */
tpi = 6.36619772367581382433e-01, /* 0x3FE45F30, 0x6DC9C883 */
/* R0/S0 on [0,2] */
r00 = -6.25000000000000000000e-02, /* 0xBFB00000, 0x00000000 */
r01 = 1.40705666955189706048e-03, /* 0x3F570D9F, 0x98472C61 */
r02 = -1.59955631084035597520e-05, /* 0xBEF0C5C6, 0xBA169668 */
r03 = 4.96727999609584448412e-08, /* 0x3E6AAAFA, 0x46CA0BD9 */
s01 = 1.91537599538363460805e-02, /* 0x3F939D0B, 0x12637E53 */
s02 = 1.85946785588630915560e-04, /* 0x3F285F56, 0xB9CDF664 */
s03 = 1.17718464042623683263e-06, /* 0x3EB3BFF8, 0x333F8498 */
s04 = 5.04636257076217042715e-09, /* 0x3E35AC88, 0xC97DFF2C */
s05 = 1.23542274426137913908e-11; /* 0x3DAB2ACF, 0xCFB97ED8 */
static double zero = 0.0;
#ifdef __STDC__
double __ieee754_j1(double x)
#else
double __ieee754_j1(x)
double x;
#endif
{
double z, s,c,ss,cc,r,u,v,y;
int hx,ix;
hx = __HI(x);
ix = hx&0x7fffffff;
if(ix>=0x7ff00000) return one/x;
y = fd_fabs(x);
if(ix >= 0x40000000) { /* |x| >= 2.0 */
s = fd_sin(y);
c = fd_cos(y);
ss = -s-c;
cc = s-c;
if(ix<0x7fe00000) { /* make sure y+y not overflow */
z = fd_cos(y+y);
if ((s*c)>zero) cc = z/ss;
else ss = z/cc;
}
/*
* j1(x) = 1/sqrt(pi) * (P(1,x)*cc - Q(1,x)*ss) / sqrt(x)
* y1(x) = 1/sqrt(pi) * (P(1,x)*ss + Q(1,x)*cc) / sqrt(x)
*/
if(ix>0x48000000) z = (invsqrtpi*cc)/fd_sqrt(y);
else {
u = pone(y); v = qone(y);
z = invsqrtpi*(u*cc-v*ss)/fd_sqrt(y);
}
if(hx<0) return -z;
else return z;
}
if(ix<0x3e400000) { /* |x|<2**-27 */
if(really_big+x>one) return 0.5*x;/* inexact if x!=0 necessary */
}
z = x*x;
r = z*(r00+z*(r01+z*(r02+z*r03)));
s = one+z*(s01+z*(s02+z*(s03+z*(s04+z*s05))));
r *= x;
return(x*0.5+r/s);
}
#ifdef __STDC__
static const double U0[5] = {
#else
static double U0[5] = {
#endif
-1.96057090646238940668e-01, /* 0xBFC91866, 0x143CBC8A */
5.04438716639811282616e-02, /* 0x3FA9D3C7, 0x76292CD1 */
-1.91256895875763547298e-03, /* 0xBF5F55E5, 0x4844F50F */
2.35252600561610495928e-05, /* 0x3EF8AB03, 0x8FA6B88E */
-9.19099158039878874504e-08, /* 0xBE78AC00, 0x569105B8 */
};
#ifdef __STDC__
static const double V0[5] = {
#else
static double V0[5] = {
#endif
1.99167318236649903973e-02, /* 0x3F94650D, 0x3F4DA9F0 */
2.02552581025135171496e-04, /* 0x3F2A8C89, 0x6C257764 */
1.35608801097516229404e-06, /* 0x3EB6C05A, 0x894E8CA6 */
6.22741452364621501295e-09, /* 0x3E3ABF1D, 0x5BA69A86 */
1.66559246207992079114e-11, /* 0x3DB25039, 0xDACA772A */
};
#ifdef __STDC__
double __ieee754_y1(double x)
#else
double __ieee754_y1(x)
double x;
#endif
{
double z, s,c,ss,cc,u,v;
int hx,ix,lx;
hx = __HI(x);
ix = 0x7fffffff&hx;
lx = __LO(x);
/* if Y1(NaN) is NaN, Y1(-inf) is NaN, Y1(inf) is 0 */
if(ix>=0x7ff00000) return one/(x+x*x);
if((ix|lx)==0) return -one/zero;
if(hx<0) return zero/zero;
if(ix >= 0x40000000) { /* |x| >= 2.0 */
s = fd_sin(x);
c = fd_cos(x);
ss = -s-c;
cc = s-c;
if(ix<0x7fe00000) { /* make sure x+x not overflow */
z = fd_cos(x+x);
if ((s*c)>zero) cc = z/ss;
else ss = z/cc;
}
/* y1(x) = sqrt(2/(pi*x))*(p1(x)*sin(x0)+q1(x)*cos(x0))
* where x0 = x-3pi/4
* Better formula:
* cos(x0) = cos(x)cos(3pi/4)+sin(x)sin(3pi/4)
* = 1/sqrt(2) * (sin(x) - cos(x))
* sin(x0) = sin(x)cos(3pi/4)-cos(x)sin(3pi/4)
* = -1/sqrt(2) * (cos(x) + sin(x))
* To avoid cancellation, use
* sin(x) +- cos(x) = -cos(2x)/(sin(x) -+ cos(x))
* to compute the worse one.
*/
if(ix>0x48000000) z = (invsqrtpi*ss)/fd_sqrt(x);
else {
u = pone(x); v = qone(x);
z = invsqrtpi*(u*ss+v*cc)/fd_sqrt(x);
}
return z;
}
if(ix<=0x3c900000) { /* x < 2**-54 */
return(-tpi/x);
}
z = x*x;
u = U0[0]+z*(U0[1]+z*(U0[2]+z*(U0[3]+z*U0[4])));
v = one+z*(V0[0]+z*(V0[1]+z*(V0[2]+z*(V0[3]+z*V0[4]))));
return(x*(u/v) + tpi*(__ieee754_j1(x)*__ieee754_log(x)-one/x));
}
/* For x >= 8, the asymptotic expansions of pone is
* 1 + 15/128 s^2 - 4725/2^15 s^4 - ..., where s = 1/x.
* We approximate pone by
* pone(x) = 1 + (R/S)
* where R = pr0 + pr1*s^2 + pr2*s^4 + ... + pr5*s^10
* S = 1 + ps0*s^2 + ... + ps4*s^10
* and
* | pone(x)-1-R/S | <= 2 ** ( -60.06)
*/
#ifdef __STDC__
static const double pr8[6] = { /* for x in [inf, 8]=1/[0,0.125] */
#else
static double pr8[6] = { /* for x in [inf, 8]=1/[0,0.125] */
#endif
0.00000000000000000000e+00, /* 0x00000000, 0x00000000 */
1.17187499999988647970e-01, /* 0x3FBDFFFF, 0xFFFFFCCE */
1.32394806593073575129e+01, /* 0x402A7A9D, 0x357F7FCE */
4.12051854307378562225e+02, /* 0x4079C0D4, 0x652EA590 */
3.87474538913960532227e+03, /* 0x40AE457D, 0xA3A532CC */
7.91447954031891731574e+03, /* 0x40BEEA7A, 0xC32782DD */
};
#ifdef __STDC__
static const double ps8[5] = {
#else
static double ps8[5] = {
#endif
1.14207370375678408436e+02, /* 0x405C8D45, 0x8E656CAC */
3.65093083420853463394e+03, /* 0x40AC85DC, 0x964D274F */
3.69562060269033463555e+04, /* 0x40E20B86, 0x97C5BB7F */
9.76027935934950801311e+04, /* 0x40F7D42C, 0xB28F17BB */
3.08042720627888811578e+04, /* 0x40DE1511, 0x697A0B2D */
};
#ifdef __STDC__
static const double pr5[6] = { /* for x in [8,4.5454]=1/[0.125,0.22001] */
#else
static double pr5[6] = { /* for x in [8,4.5454]=1/[0.125,0.22001] */
#endif
1.31990519556243522749e-11, /* 0x3DAD0667, 0xDAE1CA7D */
1.17187493190614097638e-01, /* 0x3FBDFFFF, 0xE2C10043 */
6.80275127868432871736e+00, /* 0x401B3604, 0x6E6315E3 */
1.08308182990189109773e+02, /* 0x405B13B9, 0x452602ED */
5.17636139533199752805e+02, /* 0x40802D16, 0xD052D649 */
5.28715201363337541807e+02, /* 0x408085B8, 0xBB7E0CB7 */
};
#ifdef __STDC__
static const double ps5[5] = {
#else
static double ps5[5] = {
#endif
5.92805987221131331921e+01, /* 0x404DA3EA, 0xA8AF633D */
9.91401418733614377743e+02, /* 0x408EFB36, 0x1B066701 */
5.35326695291487976647e+03, /* 0x40B4E944, 0x5706B6FB */
7.84469031749551231769e+03, /* 0x40BEA4B0, 0xB8A5BB15 */
1.50404688810361062679e+03, /* 0x40978030, 0x036F5E51 */
};
#ifdef __STDC__
static const double pr3[6] = {
#else
static double pr3[6] = {/* for x in [4.547,2.8571]=1/[0.2199,0.35001] */
#endif
3.02503916137373618024e-09, /* 0x3E29FC21, 0xA7AD9EDD */
1.17186865567253592491e-01, /* 0x3FBDFFF5, 0x5B21D17B */
3.93297750033315640650e+00, /* 0x400F76BC, 0xE85EAD8A */
3.51194035591636932736e+01, /* 0x40418F48, 0x9DA6D129 */
9.10550110750781271918e+01, /* 0x4056C385, 0x4D2C1837 */
4.85590685197364919645e+01, /* 0x4048478F, 0x8EA83EE5 */
};
#ifdef __STDC__
static const double ps3[5] = {
#else
static double ps3[5] = {
#endif
3.47913095001251519989e+01, /* 0x40416549, 0xA134069C */
3.36762458747825746741e+02, /* 0x40750C33, 0x07F1A75F */
1.04687139975775130551e+03, /* 0x40905B7C, 0x5037D523 */
8.90811346398256432622e+02, /* 0x408BD67D, 0xA32E31E9 */
1.03787932439639277504e+02, /* 0x4059F26D, 0x7C2EED53 */
};
#ifdef __STDC__
static const double pr2[6] = {/* for x in [2.8570,2]=1/[0.3499,0.5] */
#else
static double pr2[6] = {/* for x in [2.8570,2]=1/[0.3499,0.5] */
#endif
1.07710830106873743082e-07, /* 0x3E7CE9D4, 0xF65544F4 */
1.17176219462683348094e-01, /* 0x3FBDFF42, 0xBE760D83 */
2.36851496667608785174e+00, /* 0x4002F2B7, 0xF98FAEC0 */
1.22426109148261232917e+01, /* 0x40287C37, 0x7F71A964 */
1.76939711271687727390e+01, /* 0x4031B1A8, 0x177F8EE2 */
5.07352312588818499250e+00, /* 0x40144B49, 0xA574C1FE */
};
#ifdef __STDC__
static const double ps2[5] = {
#else
static double ps2[5] = {
#endif
2.14364859363821409488e+01, /* 0x40356FBD, 0x8AD5ECDC */
1.25290227168402751090e+02, /* 0x405F5293, 0x14F92CD5 */
2.32276469057162813669e+02, /* 0x406D08D8, 0xD5A2DBD9 */
1.17679373287147100768e+02, /* 0x405D6B7A, 0xDA1884A9 */
8.36463893371618283368e+00, /* 0x4020BAB1, 0xF44E5192 */
};
#ifdef __STDC__
static double pone(double x)
#else
static double pone(x)
double x;
#endif
{
#ifdef __STDC__
const double *p,*q;
#else
double *p,*q;
#endif
double z,r,s;
int ix;
ix = 0x7fffffff&__HI(x);
if(ix>=0x40200000) {p = pr8; q= ps8;}
else if(ix>=0x40122E8B){p = pr5; q= ps5;}
else if(ix>=0x4006DB6D){p = pr3; q= ps3;}
else if(ix>=0x40000000){p = pr2; q= ps2;}
z = one/(x*x);
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*q[4]))));
return one+ r/s;
}
/* For x >= 8, the asymptotic expansions of qone is
* 3/8 s - 105/1024 s^3 - ..., where s = 1/x.
* We approximate pone by
* qone(x) = s*(0.375 + (R/S))
* where R = qr1*s^2 + qr2*s^4 + ... + qr5*s^10
* S = 1 + qs1*s^2 + ... + qs6*s^12
* and
* | qone(x)/s -0.375-R/S | <= 2 ** ( -61.13)
*/
#ifdef __STDC__
static const double qr8[6] = { /* for x in [inf, 8]=1/[0,0.125] */
#else
static double qr8[6] = { /* for x in [inf, 8]=1/[0,0.125] */
#endif
0.00000000000000000000e+00, /* 0x00000000, 0x00000000 */
-1.02539062499992714161e-01, /* 0xBFBA3FFF, 0xFFFFFDF3 */
-1.62717534544589987888e+01, /* 0xC0304591, 0xA26779F7 */
-7.59601722513950107896e+02, /* 0xC087BCD0, 0x53E4B576 */
-1.18498066702429587167e+04, /* 0xC0C724E7, 0x40F87415 */
-4.84385124285750353010e+04, /* 0xC0E7A6D0, 0x65D09C6A */
};
#ifdef __STDC__
static const double qs8[6] = {
#else
static double qs8[6] = {
#endif
1.61395369700722909556e+02, /* 0x40642CA6, 0xDE5BCDE5 */
7.82538599923348465381e+03, /* 0x40BE9162, 0xD0D88419 */
1.33875336287249578163e+05, /* 0x4100579A, 0xB0B75E98 */
7.19657723683240939863e+05, /* 0x4125F653, 0x72869C19 */
6.66601232617776375264e+05, /* 0x412457D2, 0x7719AD5C */
-2.94490264303834643215e+05, /* 0xC111F969, 0x0EA5AA18 */
};
#ifdef __STDC__
static const double qr5[6] = { /* for x in [8,4.5454]=1/[0.125,0.22001] */
#else
static double qr5[6] = { /* for x in [8,4.5454]=1/[0.125,0.22001] */
#endif
-2.08979931141764104297e-11, /* 0xBDB6FA43, 0x1AA1A098 */
-1.02539050241375426231e-01, /* 0xBFBA3FFF, 0xCB597FEF */
-8.05644828123936029840e+00, /* 0xC0201CE6, 0xCA03AD4B */
-1.83669607474888380239e+02, /* 0xC066F56D, 0x6CA7B9B0 */
-1.37319376065508163265e+03, /* 0xC09574C6, 0x6931734F */
-2.61244440453215656817e+03, /* 0xC0A468E3, 0x88FDA79D */
};
#ifdef __STDC__
static const double qs5[6] = {
#else
static double qs5[6] = {
#endif
8.12765501384335777857e+01, /* 0x405451B2, 0xFF5A11B2 */
1.99179873460485964642e+03, /* 0x409F1F31, 0xE77BF839 */
1.74684851924908907677e+04, /* 0x40D10F1F, 0x0D64CE29 */
4.98514270910352279316e+04, /* 0x40E8576D, 0xAABAD197 */
2.79480751638918118260e+04, /* 0x40DB4B04, 0xCF7C364B */
-4.71918354795128470869e+03, /* 0xC0B26F2E, 0xFCFFA004 */
};
#ifdef __STDC__
static const double qr3[6] = {
#else
static double qr3[6] = {/* for x in [4.547,2.8571]=1/[0.2199,0.35001] */
#endif
-5.07831226461766561369e-09, /* 0xBE35CFA9, 0xD38FC84F */
-1.02537829820837089745e-01, /* 0xBFBA3FEB, 0x51AEED54 */
-4.61011581139473403113e+00, /* 0xC01270C2, 0x3302D9FF */
-5.78472216562783643212e+01, /* 0xC04CEC71, 0xC25D16DA */
-2.28244540737631695038e+02, /* 0xC06C87D3, 0x4718D55F */
-2.19210128478909325622e+02, /* 0xC06B66B9, 0x5F5C1BF6 */
};
#ifdef __STDC__
static const double qs3[6] = {
#else
static double qs3[6] = {
#endif
4.76651550323729509273e+01, /* 0x4047D523, 0xCCD367E4 */
6.73865112676699709482e+02, /* 0x40850EEB, 0xC031EE3E */
3.38015286679526343505e+03, /* 0x40AA684E, 0x448E7C9A */
5.54772909720722782367e+03, /* 0x40B5ABBA, 0xA61D54A6 */
1.90311919338810798763e+03, /* 0x409DBC7A, 0x0DD4DF4B */
-1.35201191444307340817e+02, /* 0xC060E670, 0x290A311F */
};
#ifdef __STDC__
static const double qr2[6] = {/* for x in [2.8570,2]=1/[0.3499,0.5] */
#else
static double qr2[6] = {/* for x in [2.8570,2]=1/[0.3499,0.5] */
#endif
-1.78381727510958865572e-07, /* 0xBE87F126, 0x44C626D2 */
-1.02517042607985553460e-01, /* 0xBFBA3E8E, 0x9148B010 */
-2.75220568278187460720e+00, /* 0xC0060484, 0x69BB4EDA */
-1.96636162643703720221e+01, /* 0xC033A9E2, 0xC168907F */
-4.23253133372830490089e+01, /* 0xC04529A3, 0xDE104AAA */
-2.13719211703704061733e+01, /* 0xC0355F36, 0x39CF6E52 */
};
#ifdef __STDC__
static const double qs2[6] = {
#else
static double qs2[6] = {
#endif
2.95333629060523854548e+01, /* 0x403D888A, 0x78AE64FF */
2.52981549982190529136e+02, /* 0x406F9F68, 0xDB821CBA */
7.57502834868645436472e+02, /* 0x4087AC05, 0xCE49A0F7 */
7.39393205320467245656e+02, /* 0x40871B25, 0x48D4C029 */
1.55949003336666123687e+02, /* 0x40637E5E, 0x3C3ED8D4 */
-4.95949898822628210127e+00, /* 0xC013D686, 0xE71BE86B */
};
#ifdef __STDC__
static double qone(double x)
#else
static double qone(x)
double x;
#endif
{
#ifdef __STDC__
const double *p,*q;
#else
double *p,*q;
#endif
double s,r,z;
int ix;
ix = 0x7fffffff&__HI(x);
if(ix>=0x40200000) {p = qr8; q= qs8;}
else if(ix>=0x40122E8B){p = qr5; q= qs5;}
else if(ix>=0x4006DB6D){p = qr3; q= qs3;}
else if(ix>=0x40000000){p = qr2; q= qs2;}
z = one/(x*x);
r = p[0]+z*(p[1]+z*(p[2]+z*(p[3]+z*(p[4]+z*p[5]))));
s = one+z*(q[0]+z*(q[1]+z*(q[2]+z*(q[3]+z*(q[4]+z*q[5])))));
return (.375 + r/s)/x;
}

View File

@@ -0,0 +1,305 @@
/* -*- Mode: C; 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 Mozilla Communicator client code, released
* March 31, 1998.
*
* The Initial Developer of the Original Code is Sun Microsystems,
* Inc. Portions created by Netscape are
* Copyright (C) 1998 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.
*/
/* @(#)e_jn.c 1.4 95/01/18 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunSoft, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
/*
* __ieee754_jn(n, x), __ieee754_yn(n, x)
* floating point Bessel's function of the 1st and 2nd kind
* of order n
*
* Special cases:
* y0(0)=y1(0)=yn(n,0) = -inf with division by zero signal;
* y0(-ve)=y1(-ve)=yn(n,-ve) are NaN with invalid signal.
* Note 2. About jn(n,x), yn(n,x)
* For n=0, j0(x) is called,
* for n=1, j1(x) is called,
* for n<x, forward recursion us used starting
* from values of j0(x) and j1(x).
* for n>x, a continued fraction approximation to
* j(n,x)/j(n-1,x) is evaluated and then backward
* recursion is used starting from a supposed value
* for j(n,x). The resulting value of j(0,x) is
* compared with the actual value to correct the
* supposed value of j(n,x).
*
* yn(n,x) is similar in all respects, except
* that forward recursion is used for all
* values of n>1.
*
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
invsqrtpi= 5.64189583547756279280e-01, /* 0x3FE20DD7, 0x50429B6D */
two = 2.00000000000000000000e+00, /* 0x40000000, 0x00000000 */
one = 1.00000000000000000000e+00; /* 0x3FF00000, 0x00000000 */
static double zero = 0.00000000000000000000e+00;
#ifdef __STDC__
double __ieee754_jn(int n, double x)
#else
double __ieee754_jn(n,x)
int n; double x;
#endif
{
int i,hx,ix,lx, sgn;
double a, b, temp, di;
double z, w;
/* J(-n,x) = (-1)^n * J(n, x), J(n, -x) = (-1)^n * J(n, x)
* Thus, J(-n,x) = J(n,-x)
*/
hx = __HI(x);
ix = 0x7fffffff&hx;
lx = __LO(x);
/* if J(n,NaN) is NaN */
if((ix|((unsigned)(lx|-lx))>>31)>0x7ff00000) return x+x;
if(n<0){
n = -n;
x = -x;
hx ^= 0x80000000;
}
if(n==0) return(__ieee754_j0(x));
if(n==1) return(__ieee754_j1(x));
sgn = (n&1)&(hx>>31); /* even n -- 0, odd n -- sign(x) */
x = fd_fabs(x);
if((ix|lx)==0||ix>=0x7ff00000) /* if x is 0 or inf */
b = zero;
else if((double)n<=x) {
/* Safe to use J(n+1,x)=2n/x *J(n,x)-J(n-1,x) */
if(ix>=0x52D00000) { /* x > 2**302 */
/* (x >> n**2)
* Jn(x) = cos(x-(2n+1)*pi/4)*sqrt(2/x*pi)
* Yn(x) = sin(x-(2n+1)*pi/4)*sqrt(2/x*pi)
* Let s=sin(x), c=cos(x),
* xn=x-(2n+1)*pi/4, sqt2 = sqrt(2),then
*
* n sin(xn)*sqt2 cos(xn)*sqt2
* ----------------------------------
* 0 s-c c+s
* 1 -s-c -c+s
* 2 -s+c -c-s
* 3 s+c c-s
*/
switch(n&3) {
case 0: temp = fd_cos(x)+fd_sin(x); break;
case 1: temp = -fd_cos(x)+fd_sin(x); break;
case 2: temp = -fd_cos(x)-fd_sin(x); break;
case 3: temp = fd_cos(x)-fd_sin(x); break;
}
b = invsqrtpi*temp/fd_sqrt(x);
} else {
a = __ieee754_j0(x);
b = __ieee754_j1(x);
for(i=1;i<n;i++){
temp = b;
b = b*((double)(i+i)/x) - a; /* avoid underflow */
a = temp;
}
}
} else {
if(ix<0x3e100000) { /* x < 2**-29 */
/* x is tiny, return the first Taylor expansion of J(n,x)
* J(n,x) = 1/n!*(x/2)^n - ...
*/
if(n>33) /* underflow */
b = zero;
else {
temp = x*0.5; b = temp;
for (a=one,i=2;i<=n;i++) {
a *= (double)i; /* a = n! */
b *= temp; /* b = (x/2)^n */
}
b = b/a;
}
} else {
/* use backward recurrence */
/* x x^2 x^2
* J(n,x)/J(n-1,x) = ---- ------ ------ .....
* 2n - 2(n+1) - 2(n+2)
*
* 1 1 1
* (for large x) = ---- ------ ------ .....
* 2n 2(n+1) 2(n+2)
* -- - ------ - ------ -
* x x x
*
* Let w = 2n/x and h=2/x, then the above quotient
* is equal to the continued fraction:
* 1
* = -----------------------
* 1
* w - -----------------
* 1
* w+h - ---------
* w+2h - ...
*
* To determine how many terms needed, let
* Q(0) = w, Q(1) = w(w+h) - 1,
* Q(k) = (w+k*h)*Q(k-1) - Q(k-2),
* When Q(k) > 1e4 good for single
* When Q(k) > 1e9 good for double
* When Q(k) > 1e17 good for quadruple
*/
/* determine k */
double t,v;
double q0,q1,h,tmp; int k,m;
w = (n+n)/(double)x; h = 2.0/(double)x;
q0 = w; z = w+h; q1 = w*z - 1.0; k=1;
while(q1<1.0e9) {
k += 1; z += h;
tmp = z*q1 - q0;
q0 = q1;
q1 = tmp;
}
m = n+n;
for(t=zero, i = 2*(n+k); i>=m; i -= 2) t = one/(i/x-t);
a = t;
b = one;
/* estimate log((2/x)^n*n!) = n*log(2/x)+n*ln(n)
* Hence, if n*(log(2n/x)) > ...
* single 8.8722839355e+01
* double 7.09782712893383973096e+02
* long double 1.1356523406294143949491931077970765006170e+04
* then recurrent value may overflow and the result is
* likely underflow to zero
*/
tmp = n;
v = two/x;
tmp = tmp*__ieee754_log(fd_fabs(v*tmp));
if(tmp<7.09782712893383973096e+02) {
for(i=n-1,di=(double)(i+i);i>0;i--){
temp = b;
b *= di;
b = b/x - a;
a = temp;
di -= two;
}
} else {
for(i=n-1,di=(double)(i+i);i>0;i--){
temp = b;
b *= di;
b = b/x - a;
a = temp;
di -= two;
/* scale b to avoid spurious overflow */
if(b>1e100) {
a /= b;
t /= b;
b = one;
}
}
}
b = (t*__ieee754_j0(x)/b);
}
}
if(sgn==1) return -b; else return b;
}
#ifdef __STDC__
double __ieee754_yn(int n, double x)
#else
double __ieee754_yn(n,x)
int n; double x;
#endif
{
int i,hx,ix,lx;
int sign;
double a, b, temp;
hx = __HI(x);
ix = 0x7fffffff&hx;
lx = __LO(x);
/* if Y(n,NaN) is NaN */
if((ix|((unsigned)(lx|-lx))>>31)>0x7ff00000) return x+x;
if((ix|lx)==0) return -one/zero;
if(hx<0) return zero/zero;
sign = 1;
if(n<0){
n = -n;
sign = 1 - ((n&1)<<1);
}
if(n==0) return(__ieee754_y0(x));
if(n==1) return(sign*__ieee754_y1(x));
if(ix==0x7ff00000) return zero;
if(ix>=0x52D00000) { /* x > 2**302 */
/* (x >> n**2)
* Jn(x) = cos(x-(2n+1)*pi/4)*sqrt(2/x*pi)
* Yn(x) = sin(x-(2n+1)*pi/4)*sqrt(2/x*pi)
* Let s=sin(x), c=cos(x),
* xn=x-(2n+1)*pi/4, sqt2 = sqrt(2),then
*
* n sin(xn)*sqt2 cos(xn)*sqt2
* ----------------------------------
* 0 s-c c+s
* 1 -s-c -c+s
* 2 -s+c -c-s
* 3 s+c c-s
*/
switch(n&3) {
case 0: temp = fd_sin(x)-fd_cos(x); break;
case 1: temp = -fd_sin(x)-fd_cos(x); break;
case 2: temp = -fd_sin(x)+fd_cos(x); break;
case 3: temp = fd_sin(x)+fd_cos(x); break;
}
b = invsqrtpi*temp/fd_sqrt(x);
} else {
a = __ieee754_y0(x);
b = __ieee754_y1(x);
/* quit if b is -inf */
for(i=1;i<n&&(__HI(b) != 0xfff00000);i++){
temp = b;
b = ((double)(i+i)/x)*b - a;
a = temp;
}
}
if(sign>0) return b; else return -b;
}

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