Compare commits

..

3596 Commits

Author SHA1 Message Date
pschwartau%netscape.com
0c12ed46e0 Updated JS_GetImplementationVersion() to date of RC3 release (67111, r=rginda, sr=jband).
git-svn-id: svn://10.0.0.236/branches/JS_150_RC3@89115 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 07:44:30 +00:00
pschwartau%netscape.com
8a585b0aec Getting shaver's fix for bug 71107 into JS_150_RC3 branch -
git-svn-id: svn://10.0.0.236/branches/JS_150_RC3@88804 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 07:40:18 +00:00
pschwartau%netscape.com
790a56c162 Better fix from mkaply for bug 59855: DON'T include jstypes.h in fdlibm.h.
git-svn-id: svn://10.0.0.236/branches/JS_150_RC3@88803 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 07:30:19 +00:00
pschwartau%netscape.com
1b1beb2e73 Mike Kaply's fix for bug 59855. I'm checking this into the JS_150_RC3 branch only, for now -
git-svn-id: svn://10.0.0.236/branches/JS_150_RC3@88677 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 19:51:57 +00:00
pschwartau%netscape.com
6d338b0ac0 Mike Kaply's fix for bug 59855. I'm checking this into the JS_150_RC3 branch only, for now -
git-svn-id: svn://10.0.0.236/branches/JS_150_RC3@88675 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 19:43:27 +00:00
pschwartau%netscape.com
38a4eb5102 Mike Kaply's fix for bug 59855. I'm checking this into the JS_150_RC3 branch -
git-svn-id: svn://10.0.0.236/branches/JS_150_RC3@88670 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 19:25:48 +00:00
(no author)
6a305c9469 This commit was manufactured by cvs2svn to create branch 'JS_150_RC3'.
git-svn-id: svn://10.0.0.236/branches/JS_150_RC3@88545 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 15:41:13 +00:00
beard%netscape.com
d03e470251 Bug #70883, leaks in LiveConnect. sr/r=brendan
git-svn-id: svn://10.0.0.236/trunk@88544 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 15:41:12 +00:00
axel%pike.org
23ad4cc403 not part of build; adding color and scrollbars, thanx to peterv. Adding late population of grid, respecting the search entry
git-svn-id: svn://10.0.0.236/trunk@88543 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 15:39:28 +00:00
dcone%netscape.com
a042b9aa8f Changed the int size from 8 to16. r=mcclusky sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88542 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 15:25:23 +00:00
beard%netscape.com
97d0601ea0 [not part of build] Initial cache performance test.
git-svn-id: svn://10.0.0.236/trunk@88541 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 15:23:59 +00:00
colin%theblakes.com
acd8df8b41 Removal of unused build defines. r=cls. b=70724
git-svn-id: svn://10.0.0.236/trunk@88540 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 12:15:43 +00:00
gordon%netscape.com
94bca0664c [not part of build]
Added conditional deletion of mLock and mCondVar to nsCacheRequest destructor.

Added nsCacheServide::NotifyListener() to called cache clients' OnDescriptorAvailable() method for AsyncOpenCacheEntry().

Added ProcessPendingRequests() to process requests on CloseDescriptor, ValidateEntry, and DoomEntry.

Rough cut of AsyncOpenCacheEntry is in place, but needs testing.


git-svn-id: svn://10.0.0.236/trunk@88539 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 10:45:33 +00:00
timeless%mac.com
7e83b823a9 fix Bug 42406 autostretch="never" needs to be added for checkboxes
fix by walk84@usa.net r=timeless, a=ben


git-svn-id: svn://10.0.0.236/trunk@88538 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 10:01:38 +00:00
matthias%sorted.org
5f924b87ef * made shell.Global a subclass of ImporterTopLevel
* fixed ImporterTopLevel constructor - it now calls
cx.initStandardObjects before defining any functions. The old
constructor is still around for backwards compatibility.


git-svn-id: svn://10.0.0.236/trunk@88537 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 08:46:10 +00:00
cls%seawood.org
b396e14ff6 Make sure that the gopher gifs are part of the package.
Bug #46309 r=sgehani sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@88536 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 07:43:51 +00:00
gordon%netscape.com
0ea21fde31 [not part of build]
Restructured open cache entry code in preparation for async implementation, to better share code with synchronous version.

Changed nsCacheRequest, nsCacheEntry, nsCacheEntryDescriptor to inherit from PRCList rather than include mListLink member, and removed extraneous GetListNode/GetInstance methods.

Consolidated mAccessRequested, mStreamBased, and mStoragePolicy into a single PRUint32 in nsCacheRequest.  Added PRLock, PRCondVar, and a 'wait for validation' flag, used for synchronously opening cache entries.  Added accessor functions for these "attributes".

Record current event queue for asychronous requests to be used with GetProxyForObject().  Removed mRequestThread.


git-svn-id: svn://10.0.0.236/trunk@88535 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 07:17:58 +00:00
bryner%uiuc.edu
b2477d93b9 Set SUBMAKEFILES so that the Makefile auto-update rule is used; otherwise a clean build fails because the Makefiles don't get generated.
git-svn-id: svn://10.0.0.236/trunk@88534 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 03:51:58 +00:00
beard%netscape.com
351ca94786 Release mCacheEntry in nsFtpState::StopProcessing() rather than when reallocated in nsFtpState::Connect(). This causes the cache entry to closed sooner only when MOZ_NEW_CACHE is defined. r=dougt, sr=gagan
git-svn-id: svn://10.0.0.236/trunk@88533 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 03:50:14 +00:00
beard%netscape.com
dc0e82dc0d Since file streams can't be non-blocking, return that fact from nsFileOutputStream::GetNonBlocking(). r=dougt, sr=gagan
git-svn-id: svn://10.0.0.236/trunk@88531 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 03:43:33 +00:00
beard%netscape.com
429495dabc Fix bug where overridden Close() doesn't get called in base class destructor. r=dougt, sr=gagan
git-svn-id: svn://10.0.0.236/trunk@88530 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 03:42:24 +00:00
beard%netscape.com
85476d81ef Delegate GetNonBlocking/SetNonBlocking to wrapped output stream. r=dougt, sr=gagan
git-svn-id: svn://10.0.0.236/trunk@88529 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 03:40:41 +00:00
blakeross%telocity.com
969a4f7e3a Middle-click to paste broken (70773). r=timeless sr=jst
git-svn-id: svn://10.0.0.236/trunk@88527 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 01:54:19 +00:00
maolson%earthlink.net
be84526d79 Embedding part of bug 56680 - use a xul <stringbundle/> instead of including the strres.js code
r=blake, sr=blizzard via irc


git-svn-id: svn://10.0.0.236/trunk@88526 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 01:53:33 +00:00
timeless%mac.com
1100791ebf fix bug 63114 Text box too small in address book preference
fix by walk84@usa.net r=timeless, a=ben


git-svn-id: svn://10.0.0.236/trunk@88525 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 00:51:49 +00:00
javi%netscape.com
05a5efe9e2 Fix win32 build bustage.
git-svn-id: svn://10.0.0.236/trunk@88524 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 00:26:21 +00:00
javi%netscape.com
7e1928adf1 Allow developers to build PSM 2.0 on the Mac.
Bug 70384 sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@88522 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 23:13:49 +00:00
javi%netscape.com
a789a9f21a Enable developers to build PSM 2.0 in win32 platforms.
Bug 70368 patch provided by leaf, r=javi, sr=cls


git-svn-id: svn://10.0.0.236/trunk@88521 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 23:05:45 +00:00
javi%netscape.com
18ee4e5210 Allow developers to build PSM 2.0 on Unix.
Fix for Bug 70343 sr=cls


git-svn-id: svn://10.0.0.236/trunk@88520 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 22:55:18 +00:00
beard%netscape.com
d712afef1f fix for bug #69210, r/sr=brendan
git-svn-id: svn://10.0.0.236/trunk@88517 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 21:26:19 +00:00
beard%netscape.com
e7578f4ab2 bug #70240, sr=beard, r=brendan
git-svn-id: svn://10.0.0.236/trunk@88516 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 21:20:31 +00:00
axel%pike.org
947aba9152 not part of build, the string wrapper misses the last char in ::toCharArray()
git-svn-id: svn://10.0.0.236/trunk@88515 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 21:17:33 +00:00
pavlov%netscape.com
395f385329 [NOT PART OF BUILD!@#!@#] changing line ending of makefile so it works on windows r=gordon
git-svn-id: svn://10.0.0.236/trunk@88514 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 20:57:33 +00:00
maolson%earthlink.net
2ced440a21 Fix bug 66087 - Status Bar; Document: Done (0.78secs) should be changed to Document: Done (0.78 secs)
r=jag, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@88513 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 20:57:19 +00:00
maolson%earthlink.net
bb81745201 Fix bug 64591 - javascript strict warnings in bm-props.js.
Also fixes a problem with simultaneously changing the bookmark URL and other properties.
r=jag, a=ben


git-svn-id: svn://10.0.0.236/trunk@88512 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 20:50:16 +00:00
dbaron%fas.harvard.edu
c9c6a24507 Improve GTK system colors for menus and buttons by creating menu and button widgets and asking for their colors so that theme rules specifically for menus and buttons are reflected in the system colors. Undo some changes I made before that were probably incorrect. r=bryner@netscape.com sr=blizzard@mozilla.org b=67448
git-svn-id: svn://10.0.0.236/trunk@88511 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 20:15:45 +00:00
dbaron%fas.harvard.edu
89aac6c67f Fix reversal of inner and outer highlighted border colors on buttons. b=67448 r=hewitt@netscape.com sr=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88510 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 19:55:04 +00:00
dbaron%fas.harvard.edu
c39d3e611f Fix leak on sending message caused by circular ownership between nsMsgCompose and nsMsgComposeSendListener. b=66887 r=ducarroz@netscape.com sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88509 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 19:51:05 +00:00
dbaron%fas.harvard.edu
3f32ed622e Fix bad vi modeline that caused text to wrap at 2 characters. r=gagan (Comment changes only.)
git-svn-id: svn://10.0.0.236/trunk@88508 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 19:43:55 +00:00
beard%netscape.com
357055f247 [not part of build] fix bustage (LL_ZERO is not compatible with PRUint32 type).
git-svn-id: svn://10.0.0.236/trunk@88507 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 19:27:39 +00:00
beard%netscape.com
a65752e733 [not part of build] fix memory leak of full_classpath.
git-svn-id: svn://10.0.0.236/trunk@88506 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 19:23:51 +00:00
evaughan%netscape.com
8bad619439 Updated accesibility code. NOT IN BUILD PROCCESS
git-svn-id: svn://10.0.0.236/trunk@88501 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 02:31:28 +00:00
cmanske%netscape.com
1a07540ae6 Better error message, b=69560, r=robinf, sr=kin
git-svn-id: svn://10.0.0.236/trunk@88500 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 00:25:30 +00:00
gordon%netscape.com
3631c00985 [not part of build] Changed nsCacheEntry data members from PRTime to PRUint32. Changed //** comments to // XXX to make it easier to search for 'to do' items. Added dooming of expired entries.
git-svn-id: svn://10.0.0.236/trunk@88499 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 00:11:30 +00:00
bryner%uiuc.edu
9af7f2289b Bug 62185 - Make the filepicker select the first filter automatically. r=ben, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@88498 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 23:27:30 +00:00
syd%netscape.com
67117500d7 Deprecate nsStr->GetBuffer(). r=jag, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88497 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 22:07:45 +00:00
hyatt%netscape.com
83b8fd7c59 Fix for 67351. sr=waterson, r=danm
git-svn-id: svn://10.0.0.236/trunk@88496 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 22:01:01 +00:00
hyatt%netscape.com
47a980eb45 Fix for 70704, r=brendan, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88495 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 21:57:56 +00:00
blakeross%telocity.com
2805a246f4 The rest of 70755.
git-svn-id: svn://10.0.0.236/trunk@88492 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 20:54:26 +00:00
blakeross%telocity.com
0b84fe8026 Removing some tabs that snuck in with the reversion...
git-svn-id: svn://10.0.0.236/trunk@88491 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 20:52:50 +00:00
blakeross%telocity.com
165e9adb12 Shift/ctrl-click don't work in trees (smoketest blocker, 70755). sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@88490 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 20:47:15 +00:00
beard%netscape.com
17251d492c [not part of build] use correct calling conventions when OJI is #defined.
git-svn-id: svn://10.0.0.236/trunk@88489 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 19:30:17 +00:00
jst%netscape.com
abd9bd3994 Adding ElementCSSInlineStyle interface, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@88485 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 11:43:56 +00:00
jst%netscape.com
0b074a2a80 Renaming nsIDOMHTMLIEElement to nsIDOMNSHTMLElement. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@88481 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 09:39:08 +00:00
roc+%cs.cmu.edu
9ac96a81af Don't paint floating views unless the root view for the repaint is floating. This ensures that if we paint a window under a transient, the actual window contents are painted and not the transient's contents. Fix for new view manager bug 69346. r=kmcclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88479 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 06:18:11 +00:00
shanjian%netscape.com
795c51719f #68376 remove event handlers from within <template> in charsetDetectorsOverlay.xul
r = nhotta sr=alecf


git-svn-id: svn://10.0.0.236/trunk@88477 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 04:46:51 +00:00
gordon%netscape.com
9618aa2ef4 [not part of build] Make MarkDoomed(), MarkActive(), MarkInactive() private, and check for entry before calling MarkInitialized() in nsCacheService::ActivateEntry().
git-svn-id: svn://10.0.0.236/trunk@88476 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 04:42:21 +00:00
beard%netscape.com
222053e4a2 Added nsInputStreamTee.cpp. r=gordon, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88475 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 04:05:17 +00:00
beard%netscape.com
64965d930d Added nsIInputStreamTee.idl. r=gordon
git-svn-id: svn://10.0.0.236/trunk@88474 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 04:01:48 +00:00
beard%netscape.com
effc8c2d28 [not part of build] removed memory transport files.
git-svn-id: svn://10.0.0.236/trunk@88472 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 03:42:57 +00:00
beard%netscape.com
be2c672aec [not part of build] Added debug harness, explicit doom.
git-svn-id: svn://10.0.0.236/trunk@88471 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 03:42:10 +00:00
beard%netscape.com
c433468142 [not part of build] dooming works during forced write, and explicitly, see TestDiskCache.js for example.
git-svn-id: svn://10.0.0.236/trunk@88470 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 03:41:38 +00:00
jst%netscape.com
4f2d85f9ba Adding window interface for JS specific methods. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@88468 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 03:10:02 +00:00
darin%netscape.com
ec8ade5492 OS/2 didn't like inheriting a nsStorageTransport::ns{In,Out}putStream from
nsStorageTransport::nsBlockingStream since both are declared with private
access in nsStorageTransport.  This should fix the problem.


git-svn-id: svn://10.0.0.236/trunk@88467 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 03:07:10 +00:00
harishd%netscape.com
a552b6d057 Backing out a unintentional change.
r=jst


git-svn-id: svn://10.0.0.236/trunk@88464 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 02:52:57 +00:00
cls%seawood.org
91da280a07 Bump height to 150 so ports page does not scroll
git-svn-id: svn://10.0.0.236/trunk@88462 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 02:33:53 +00:00
cls%seawood.org
c106772de4 Add knowledge of SeaMonkey-Ports
git-svn-id: svn://10.0.0.236/trunk@88461 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 02:30:49 +00:00
gordon%netscape.com
036ebd2234 [not part of build] Restructured nsCacheService:ActivateEntry() to properly handle a FORCE-WRITE. Cleaned up ownership of key between request and entry. Add deletion of request for synchronous open. Add deletion of unbound entries on deactivation.
git-svn-id: svn://10.0.0.236/trunk@88458 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 02:27:49 +00:00
darin%netscape.com
52ec0ead2f [not part of the build] updated the module file for the removal of nsMemoryCacheTransport
git-svn-id: svn://10.0.0.236/trunk@88457 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 02:27:18 +00:00
beard%netscape.com
82205a7500 Added nsStorageTransport.cpp. r=gordon
git-svn-id: svn://10.0.0.236/trunk@88456 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 02:21:37 +00:00
darin%netscape.com
6c5b4ad937 Fixes bug 66181. Content-Disposition with attachment=filename did not accept
a quoted-string as the filename.  r=gagan, sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@88455 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 02:20:28 +00:00
mcafee%netscape.com
fbf87fc517 support for embedtest
git-svn-id: svn://10.0.0.236/trunk@88454 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 02:14:29 +00:00
darin%netscape.com
3af89f510c Bug 70707. Added CID/ContractID for nsStorageTransport.
git-svn-id: svn://10.0.0.236/trunk@88447 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 02:11:19 +00:00
javi%netscape.com
69c467f545 Touch Makefile.in so that dynamic Makefiles get generated.
git-svn-id: svn://10.0.0.236/trunk@88446 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 01:59:36 +00:00
sonmi%netscape.com
d775be23f9 fixed a typo in an echo
git-svn-id: svn://10.0.0.236/trunk@88445 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 01:59:29 +00:00
darin%netscape.com
1f2afac93b [not part of the build] Make mem cache use nsStorageTransport.
git-svn-id: svn://10.0.0.236/trunk@88444 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 01:59:03 +00:00
darin%netscape.com
6997865d06 Bug 70707. Pulled generic transport implementation out of new memory cache
and created netwerk/base/src/nsStorageTransport.{h,cpp}


git-svn-id: svn://10.0.0.236/trunk@88443 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 01:57:37 +00:00
dougt%netscape.com
3bce74f3a1 This is not part of the build (it is currently IFDEF'ed off. Conditionally allows ftp to use the new cache. r=gagan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88440 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 01:40:36 +00:00
sfraser%netscape.com
149c6222b3 Fix bug 69729, nsIObserverList had bogus params. Also make it possible to CreateInstance one. r=jag, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@88439 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 01:24:36 +00:00
beard%netscape.com
200dfdb949 Automatically load "xpcshell.js" if available. sr=jband
git-svn-id: svn://10.0.0.236/trunk@88438 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 01:01:20 +00:00
valeski%netscape.com
71ac843c4b sr=rpotts. 61160. allowing buffering if we haven't started a sub response yet.
git-svn-id: svn://10.0.0.236/trunk@88437 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:59:42 +00:00
harishd%netscape.com
51479e52fd Correcting an error.
r=heikki


git-svn-id: svn://10.0.0.236/trunk@88436 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:54:53 +00:00
glazman%netscape.com
0c17ea7bbc enhancement for the 3 new attributes selectors in CSS 3. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88435 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:54:04 +00:00
harishd%netscape.com
29c29db267 Added more properties(font,background,padding,border,z-index..etc) for getComputedStyle().
r=heikki,sr=jst.


git-svn-id: svn://10.0.0.236/trunk@88434 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:44:19 +00:00
sgehani%netscape.com
489e85e9a6 (*) Honor umask when creating the destination directory.
b = 38755
r = dbragg
sr = alecf


(*) Initialize var so HP-UX and Sun compilers are happy.

b = 46558
r = sgehani (checking in for jdunn)
sr = mscott


git-svn-id: svn://10.0.0.236/trunk@88433 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:43:19 +00:00
harishd%netscape.com
f3d5b4d94d Moving a couple of methods to nsCSSProps to be used by nsGetComputedStyle().
r=heikki, sr=jst


git-svn-id: svn://10.0.0.236/trunk@88432 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:43:12 +00:00
harishd%netscape.com
a7cfbd40f7 Added refresh & setcookie atoms
r=heikki,sr=vidur


git-svn-id: svn://10.0.0.236/trunk@88431 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:41:02 +00:00
harishd%netscape.com
791b756202 3248 - Added Support for http headers ( link,content-base,default-style ) in the sink.
r=heikki,sr=vidur


git-svn-id: svn://10.0.0.236/trunk@88430 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:39:29 +00:00
harishd%netscape.com
e34c00fa3f Added refresh & setcookie
r=heikki,sr=vidur


git-svn-id: svn://10.0.0.236/trunk@88429 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:38:39 +00:00
harishd%netscape.com
9a1300e224 69160 - Parser stack & sink stack should be 1:1 even when handling nested MAPs.
3248  - Added Support for http headers ( link,content-base,default-style ) in the sink.
41426 - Making sure that XML like syntax ( <tag/> ) does not produce an extra end tag ( <tag></tag> ) in view-source.
62803 - Stop processing NOFRAME content ( will have to add support to process the content once we have to ability to turn off frames).

r=heikki,sr=vidur


git-svn-id: svn://10.0.0.236/trunk@88427 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:37:04 +00:00
nicolson%netscape.com
8cf2fb88ca Get rid of unnecessary heapsize option.
git-svn-id: svn://10.0.0.236/trunk@88426 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:36:17 +00:00
beard%netscape.com
b056176026 [not part of build] removed dirty flag from DiskCacheEntry, added key comparision to readDiskCacheEntry().
git-svn-id: svn://10.0.0.236/trunk@88425 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:35:33 +00:00
naving%netscape.com
311d427ca1 70476. Backing out my changes for #68875. No reviewer
git-svn-id: svn://10.0.0.236/trunk@88424 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:23:39 +00:00
naving%netscape.com
bf27aea8a7 70476. Backing out my changes for bug #65630. No reviewer
git-svn-id: svn://10.0.0.236/trunk@88423 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:22:12 +00:00
tara%tequilarista.org
c37e6cc237 Backing out Gerv's brainspasm for him
git-svn-id: svn://10.0.0.236/trunk@88422 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:17:07 +00:00
sonmi%netscape.com
759d8e53ce fix for bug 69582, empty scripts due to a full /tmp cause programms to
bahave wrong - instead of generating temorary scripts the input comes directly
from this script, redirected via <<


git-svn-id: svn://10.0.0.236/trunk@88421 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:14:17 +00:00
gordon%netscape.com
e67acee03a [not part of build] REALLY fix nsCacheEntryHashTable::RemoveEntry. This time for sure!
git-svn-id: svn://10.0.0.236/trunk@88419 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-03 00:00:29 +00:00
gordon%netscape.com
246e6753ae [not part of build] Fix nsCacheEntryHashTable::RemoveEntry(). r=beard.
git-svn-id: svn://10.0.0.236/trunk@88418 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 23:50:53 +00:00
sonmi%netscape.com
ee01e5d0d2 added fix fo bug 69588 - QA failure not recognized - now a certain #
of passes is reqiired, otherwise an incomplete line is generated
if more tests than expected a warning is issued in the text scetion


git-svn-id: svn://10.0.0.236/trunk@88417 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 23:37:21 +00:00
waldemar%netscape.com
9f82587400 More expression semantics
git-svn-id: svn://10.0.0.236/trunk@88414 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 23:15:54 +00:00
waldemar%netscape.com
69f7a96c5a Renamed string-equal to string=
git-svn-id: svn://10.0.0.236/trunk@88412 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 23:15:33 +00:00
waldemar%netscape.com
781c19a1b4 Added ^, hex, mod, and string comparison operators
git-svn-id: svn://10.0.0.236/trunk@88411 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 23:14:11 +00:00
darin%netscape.com
c2993ecc29 [not part of the build] Added implementation of nsMemoryCacheReadRequest::Available
git-svn-id: svn://10.0.0.236/trunk@88409 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 22:28:38 +00:00
beard%netscape.com
1684c3dc88 [not part of build] slight optimization, check for cache file existence before creating an entry and attempting to open a transport for it.
git-svn-id: svn://10.0.0.236/trunk@88408 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 20:14:41 +00:00
beard%netscape.com
933ebd7a67 [not part of build] need a way to transfer ownership of key from request to entry. for now just leak and dont' crash.
git-svn-id: svn://10.0.0.236/trunk@88407 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 20:04:08 +00:00
dbaron%fas.harvard.edu
53583a3df9 Fix smoketest blocker bug 70683 by making some changes blake missed with his fix for bug 60703. r=mao sr=alecf a=kysmith
git-svn-id: svn://10.0.0.236/trunk@88406 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 18:39:22 +00:00
kestes%tradinglinx.com
5c9aa2145a remove taintedness.
git-svn-id: svn://10.0.0.236/trunk@88405 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 17:19:59 +00:00
rods%netscape.com
b52bb22cc1 Noe processing the current event so click works on alt text
Bug 65747 r=pollmann sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@88403 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 15:45:35 +00:00
leaf%mozilla.org
e7bbfec2c8 Automated update
git-svn-id: svn://10.0.0.236/trunk@88402 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 15:45:11 +00:00
blizzard%redhat.com
abe6b4fbee Remove extra ] in xinerama test. r=cls
git-svn-id: svn://10.0.0.236/trunk@88401 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 15:37:19 +00:00
kin%netscape.com
647e7526ff Initial checkin of nsTransactionList.cpp and nsTransactionList.h.
NOT PART OF THE BUILD.


git-svn-id: svn://10.0.0.236/trunk@88400 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 15:18:56 +00:00
brade%netscape.com
0458303c1d add keybindings to input, textarea, editor for alt-backspace (undo); r=akkana; sr=kin
git-svn-id: svn://10.0.0.236/trunk@88399 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 14:23:04 +00:00
brade%netscape.com
8fc782c488 stop propagation on drop over non-editable fields (unfortunately we have to additionally catch it in the drop since someone else might have accepted the drag for us); sr=kin
git-svn-id: svn://10.0.0.236/trunk@88398 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 14:11:55 +00:00
brade%netscape.com
846215befe add missing keybindings (to input, textareas, editors) for ctrl-home/end (with and without shift); r=akkana; sr=kin
git-svn-id: svn://10.0.0.236/trunk@88397 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 14:11:24 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
darin%netscape.com
949670283e Added interface and implementation for tee'ing off an input stream read to
a blocking output stream.  r=dougt,gagan sr=scc


git-svn-id: svn://10.0.0.236/trunk@88393 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 06:10:00 +00:00
stephend%netscape.com
f9a8e37906 Checking in the wording fix for bug 70397, r=timeless@mac.com r=varada@netscape.com, sr=jst@netscape.com pref-formatting.dtd
git-svn-id: svn://10.0.0.236/trunk@88391 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 05:31:28 +00:00
jband%netscape.com
a4499bc48e [not part of build] adding placeholders for new files
git-svn-id: svn://10.0.0.236/trunk@88390 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 05:25:04 +00:00
blakeross%telocity.com
d124c702c5 Mac Classic menu autoscrollers are missing arrow image (patch by lordpixel, 70435). r=jag sr=ben
git-svn-id: svn://10.0.0.236/trunk@88389 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 05:03:04 +00:00
beard%netscape.com
c4ab5cd534 [not part of build] Added metadata test.
git-svn-id: svn://10.0.0.236/trunk@88387 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 05:00:34 +00:00
wtc%netscape.com
2182d16f69 Bugzilla bug #62877: deleted unused code added in the previous checkin.
git-svn-id: svn://10.0.0.236/trunk@88386 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 04:58:06 +00:00
beard%netscape.com
eea23d2145 [not part of build] took out unnecessary OpenTransport libraries.
git-svn-id: svn://10.0.0.236/trunk@88385 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 04:57:42 +00:00
beard%netscape.com
1c6cccf159 Now reading/writing all metadata into disk cache.
git-svn-id: svn://10.0.0.236/trunk@88384 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 04:57:09 +00:00
beard%netscape.com
94cfac8135 [not part of build] Added CalculateSize() to account for null termination of strings.
git-svn-id: svn://10.0.0.236/trunk@88382 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 04:54:27 +00:00
nicolson%netscape.com
4bedd1e62d Shift around native methods in SSL package.
git-svn-id: svn://10.0.0.236/trunk@88381 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 04:38:33 +00:00
nicolson%netscape.com
3c69504baf Add the last of the methods to SSLServerSocket for backward compatibility.
Split out common functionality into SocketBase (not the same as SocketImpl!).


git-svn-id: svn://10.0.0.236/trunk@88380 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 04:38:14 +00:00
dbaron%fas.harvard.edu
db38e9b73a Fix "Open Link in New Window" which has been broken for the past 4 hours, since mstoltz changed the case of checkLoadURI in nsIScriptSecurityManager.idl. r=blake sr=jst
git-svn-id: svn://10.0.0.236/trunk@88379 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 04:35:23 +00:00
beard%netscape.com
9091fd41d7 [not part of build] Added FlattenMetaData()/UnflattenMetaData().
git-svn-id: svn://10.0.0.236/trunk@88378 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 04:09:01 +00:00
timeless%mac.com
1e934d6c9a fix bug 70569 dead code doesn't belong in tree
r=morse, sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@88377 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 04:04:35 +00:00
axel%pike.org
d1b4ee8210 not part of build; adding a XUL interface to use the xalan conformance tests for transformiix
git-svn-id: svn://10.0.0.236/trunk@88376 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 03:45:29 +00:00
axel%pike.org
9e3f87d1c6 not part of build; Calling ::Normalize() on result document, hack to get the xalan buster return useful hints on errors
git-svn-id: svn://10.0.0.236/trunk@88375 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 03:40:48 +00:00
hewitt%netscape.com
3717732b56 70541 - xbl content attribute setting, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@88374 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 03:35:04 +00:00
blakeross%telocity.com
e4cbd86ff0 UIEvent button property is incorrect according to the DOM2 spec. Changing values to 0, 1, 2 (left, middle, right mouse buttons respectively) from 1, 2, 3. |event.which| continues to use the old values for backwards compatibility. This affects future xbl, js, and c++ event button checks so please see the newsgroups for more info (60703). r=timeless sr=jst
git-svn-id: svn://10.0.0.236/trunk@88373 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 03:07:53 +00:00
pollmann%netscape.com
9703d515be Bug 70510: Remove needless nsAutoString wrappers, patch by jag <disttsc@bart.nl>, r=pollmann@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88372 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 02:55:24 +00:00
nelsonb%netscape.com
973c57e81f Use $TMP, $TMPDIR, or $TEMP for directory to hold server SID cache file.
Implements RFE 70617.


git-svn-id: svn://10.0.0.236/trunk@88371 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 02:52:21 +00:00
wtc%netscape.com
d6c2df8634 Bugzilla bug #62877: checked in patches contributed by Javier Pedemonte
<pedemont@us.ibm.com> and Dmitry Kubov <dmitry@north.cs.msu.su>.
Modified files: prinet.h, _os2.h, os2poll.c, and os2sock.c.


git-svn-id: svn://10.0.0.236/trunk@88370 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 02:40:52 +00:00
timeless%mac.com
549afd40be fix bug 70033 UI elements need to be disabled if the PrefIsLocked is true.
fix by eddyk@netscape.com r=timeless, sr=ben


git-svn-id: svn://10.0.0.236/trunk@88368 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 02:21:18 +00:00
timeless%mac.com
9f547a399c fix bug 49164 Secure IMAP on wrong port
fix by len@intelligenesis.net r=bienvenu, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@88367 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 02:18:15 +00:00
timeless%mac.com
84afda0f9a fix bug 51588 'Edit' and 'Remove' buttons should appear disabled in Helper apps window when no app is chosen
patches by ksosez@softhome.net, bzbarsky@mit.edu r=bz,timeless sr=alecf


git-svn-id: svn://10.0.0.236/trunk@88366 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 02:18:02 +00:00
gordon%netscape.com
8403d04279 Fix casing of SetMetaDataElement method.
git-svn-id: svn://10.0.0.236/trunk@88365 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 01:52:29 +00:00
gordon%netscape.com
383d3db210 [not part of build]
Fixed cache meta data. Implemented eviction list for memory cache device. Worked on entry deactivation, validation, and doom.


git-svn-id: svn://10.0.0.236/trunk@88364 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 01:51:41 +00:00
javi%netscape.com
56da764588 Give the nsNSSCertDB class a virtual destructor.
Gets rid of a warning on Linux.


git-svn-id: svn://10.0.0.236/trunk@88362 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 01:37:11 +00:00
beard%netscape.com
43f7d4e089 Switch from NS_STATIC_CAST to NS_REINTERPRET_CAST to fix bustage on Mac. r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@88357 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 01:13:35 +00:00
naving%netscape.com
7ae51e6617 #70419. r=racham, sr=bienvenu. Don't initiate an inputFileStream on nsIFileSpec. Use
existing mInputSream.


git-svn-id: svn://10.0.0.236/trunk@88354 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 01:08:27 +00:00
andreww%netscape.com
04f545a4c8 bugzilla 48746 r=jelwell, sr=hewitt - fixing mac classic communicator pref panel button wierdness.
git-svn-id: svn://10.0.0.236/trunk@88351 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 01:00:54 +00:00
andreww%netscape.com
3eeb3970a2 bugzilla: 62781 r=jelwell , sr= hewitt, missing gifs in profile dialog - classic skin all platforms.
git-svn-id: svn://10.0.0.236/trunk@88350 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:56:10 +00:00
andreww%netscape.com
e53c1260be First Checked In.
git-svn-id: svn://10.0.0.236/trunk@88349 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:54:14 +00:00
andreww%netscape.com
828f3a8169 bug 65211 r-timeless, sr-hewitt - fixing inverted tabs in composer. mac classic skin.
git-svn-id: svn://10.0.0.236/trunk@88348 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:52:01 +00:00
jst%netscape.com
70bd9730e8 Removing unused IID. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88347 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:50:05 +00:00
jst%netscape.com
f1c950aacf Removing unused files. r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88346 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:35:33 +00:00
jst%netscape.com
e0bc7c26b2 Don't export unused nsXIFDTD.h file. r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88345 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:33:13 +00:00
av%netscape.com
82649c56f1 Fixing 69736, adding npp->pdata check before calling NPP_* functions, sr=jst
git-svn-id: svn://10.0.0.236/trunk@88344 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:29:33 +00:00
rogerl%netscape.com
4c50bb8ccb Fix #61751. sr=brendan,r=mang. #define changes to fix floating point bug
in JavaScript on NetBSD/arm32.


git-svn-id: svn://10.0.0.236/trunk@88343 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:20:11 +00:00
erik%netscape.com
d3f13240d8 bug 70028; author=simon@softel.co.il; r=ftang; sr=erik; updating the tool
that generates the symmetric swapping table for bidi characters


git-svn-id: svn://10.0.0.236/trunk@88342 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:20:02 +00:00
beard%netscape.com
4f9819f668 options cache 1 now implies #define MOZ_NEW_CACHE 1. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@88341 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:19:29 +00:00
rogerl%netscape.com
066fe07164 Fix bug #67773. sr=brendan, r=rginda. Fixes doubly nested quantifiers in
reg.exps when deeper sub-expression has to backup without failing. Some
other clean-up changes, too.


git-svn-id: svn://10.0.0.236/trunk@88340 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:17:48 +00:00
jst%netscape.com
17245c1709 Removing unused files. r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88339 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:10:33 +00:00
mkaply%us.ibm.com
cd05b9bf8a #58627
r=cls
Remove timer.dll from OS/2 build - make it a part of widget


git-svn-id: svn://10.0.0.236/trunk@88338 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:10:24 +00:00
dbragg%netscape.com
2945059191 Adding Unix verion of the cleanup util and its makefile. NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@88337 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:10:10 +00:00
mstoltz%netscape.com
0932f41358 bug 47905, adding security check to XMLHttpRequest.open(). r=heikki, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@88336 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:09:20 +00:00
jfrancis%netscape.com
104f638696 bug 30763: splitting mailcites in plaintext mail reply was broken. r=akkana; sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@88335 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 00:08:20 +00:00
ducarroz%netscape.com
eb6f17b982 Fix for smoketest blocker 70500. identity->GetSignature can return a null file despite rv=NS_OK. R=varada
git-svn-id: svn://10.0.0.236/trunk@88331 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 23:42:33 +00:00
javi%netscape.com
8f4e1ca390 Add a -C lib to the gmake line to prevent nmake from getting
confused.


git-svn-id: svn://10.0.0.236/trunk@88324 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 22:54:10 +00:00
javi%netscape.com
dfe619698d Checking in some logging functionality I wrote to help debugging on the Mac.
git-svn-id: svn://10.0.0.236/trunk@88321 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 22:33:32 +00:00
javi%netscape.com
911eedc3ce Remove extra reference to ssl.lib
git-svn-id: svn://10.0.0.236/trunk@88320 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 22:31:11 +00:00
dave%intrec.com
2f9356d728 Fix for bug 54690: security holes in cvsview2.cgi by lax validation of the http query string. Fixed by retrieving parms via CGI.pm instead of trying to dynamically parse them from the query string. Patch by Adam Spiers <adam@spiers.net>
git-svn-id: svn://10.0.0.236/trunk@88318 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 22:18:55 +00:00
kirke%netscape.com
d01533357d Bug 69582 endless loop on EOF reading Extensions
git-svn-id: svn://10.0.0.236/trunk@88316 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 21:45:33 +00:00
dougt%netscape.com
8db9510204 not part of build. we should init the cache meta data.
git-svn-id: svn://10.0.0.236/trunk@88315 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 21:27:11 +00:00
gordon%netscape.com
a3710877c5 [not part of build]
Mark cache entry meta data dirty when key/value pair added.


git-svn-id: svn://10.0.0.236/trunk@88310 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 20:06:16 +00:00
gordon%netscape.com
5105be9508 [not part of build]
Add utility method to nsCacheEntryDescriptor to change the data size for the associated cache entry.


git-svn-id: svn://10.0.0.236/trunk@88309 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 19:52:06 +00:00
sonmi%netscape.com
d9c827db48 tools tests activated
git-svn-id: svn://10.0.0.236/trunk@88308 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 19:48:52 +00:00
despotdaemon%netscape.com
4d4cd61e4b Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@88307 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 19:40:13 +00:00
darin%netscape.com
5e3138cd0b [not part of the build] Removed knowledge of nsCacheEntry from nsMemoryCacheTransport,
and fixed a bug in the blocking output stream (it claimed to be non blocking).


git-svn-id: svn://10.0.0.236/trunk@88306 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 19:33:00 +00:00
beard%netscape.com
78e0e5edf9 [not part of build] Forgot NS_INIT_ISUPPORTS() in DiskCacheEntry constructor.
git-svn-id: svn://10.0.0.236/trunk@88305 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 19:32:41 +00:00
nboyd%atg.com
5d2b4a77dd More changes from Igor.
git-svn-id: svn://10.0.0.236/trunk@88304 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 19:28:37 +00:00
beard%netscape.com
b77ee33765 [not part of build] When OpenOutputStream() is called for a descriptor with nsICache::ACCESS_WRITE, set initial cache entry size to 0.
git-svn-id: svn://10.0.0.236/trunk@88303 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 19:24:10 +00:00
kestes%tradinglinx.com
998a8d5480 fix the arguments to make all_build_names and build_names consistent
(no self).  This could not have worked before (since revision 1.12)
all calls to all_build_names were incorrect.


git-svn-id: svn://10.0.0.236/trunk@88301 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 18:42:30 +00:00
beard%netscape.com
8751f25fe1 [not part of build] Use NS_IMPL_THREADSAFE_ISUPPORTS0 to avoid thread-safety asserts in DiskCacheEntry.
git-svn-id: svn://10.0.0.236/trunk@88300 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 17:48:36 +00:00
beard%netscape.com
cfd2ba927c [not part of build] Added DiskCacheEntry to store internal data in nsCacheEntry. Now saving metadata when DiskCacheEntry becomes dirty.
git-svn-id: svn://10.0.0.236/trunk@88299 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 17:31:06 +00:00
matthias%sorted.org
fe76af8e96 fixed two instances where prefix match would return undefined instead of null
git-svn-id: svn://10.0.0.236/trunk@88298 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 16:52:23 +00:00
locka%iol.ie
a00cf47159 Removed some unused forward definitions, added documentation. b=64327 sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88296 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 13:42:49 +00:00
matthias%sorted.org
458ccfba57 getInstance now uses ScriptableObject.getProperty instead of
Scriptable.get. This way Global can (again) be used in prototype
chain.


git-svn-id: svn://10.0.0.236/trunk@88295 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 13:33:55 +00:00
locka%iol.ie
00bbdc9508 Removed calls to regsvr32 when building on 95/98/Me. Checked in for syd@netscape.com, r=adamlock@netscape.com b=69737
git-svn-id: svn://10.0.0.236/trunk@88294 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 11:19:15 +00:00
disttsc%bart.nl
5ae44de764 When cancel is pressed in the print dialog, this, by its current nature, causes an exception to be thrown, resulting in a really scary message on the console (for those blessed with one). This here patch quietens it. bug=64594, r=timeless, a=ben
git-svn-id: svn://10.0.0.236/trunk@88293 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 10:49:15 +00:00
beard%netscape.com
27f7e2d911 [not part of build] Make ~nsCacheOutputStream() virtual
git-svn-id: svn://10.0.0.236/trunk@88292 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 09:51:22 +00:00
beard%netscape.com
4bdd006d95 [not part of build] Fix LL bustage.
git-svn-id: svn://10.0.0.236/trunk@88291 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 08:38:50 +00:00
beard%netscape.com
8c8ca7ce95 [not part of build] First cut at wrapper nsIOutputStream for tallying total bytes written to a cache entry.
git-svn-id: svn://10.0.0.236/trunk@88290 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 08:29:43 +00:00
javi%netscape.com
edc0418afe Remove bogus statements that were used upon a time to help in debuggin.
git-svn-id: svn://10.0.0.236/trunk@88289 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 07:33:02 +00:00
dougt%netscape.com
084bd4331d NOT PART BUILD BUILD YET. Checking in indexed to html converter
git-svn-id: svn://10.0.0.236/trunk@88288 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 07:22:19 +00:00
bryner%uiuc.edu
56b9765530 Removing a Makefile I deleted a few days ago.
git-svn-id: svn://10.0.0.236/trunk@88287 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 06:19:55 +00:00
waldemar%netscape.com
4cf938a094 Initial version
git-svn-id: svn://10.0.0.236/trunk@88286 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 05:37:45 +00:00
waldemar%netscape.com
9fac641ef6 Added progn and compacted the formatting of several forms
git-svn-id: svn://10.0.0.236/trunk@88285 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 05:36:32 +00:00
waldemar%netscape.com
b5c9aee2ef Renamed double to float64, added progn, and added support for ? within rules
git-svn-id: svn://10.0.0.236/trunk@88284 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 05:35:44 +00:00
waldemar%netscape.com
22f094c0e8 Brought up to date
git-svn-id: svn://10.0.0.236/trunk@88283 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 05:34:37 +00:00
waldemar%netscape.com
474649b6f1 Added support for .. in directory paths
git-svn-id: svn://10.0.0.236/trunk@88282 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 05:34:14 +00:00
waldemar%netscape.com
338e5bbcb9 Added save-block-style
git-svn-id: svn://10.0.0.236/trunk@88281 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 05:33:45 +00:00
waldemar%netscape.com
8fca1f6efe Added save-block-style and *html-to-rtf-definitions*
git-svn-id: svn://10.0.0.236/trunk@88280 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 05:33:25 +00:00
waldemar%netscape.com
78f428bf2f Renamed double to float64
git-svn-id: svn://10.0.0.236/trunk@88279 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 05:32:08 +00:00
waldemar%netscape.com
9cf24a521b Started work on expression semantics
git-svn-id: svn://10.0.0.236/trunk@88278 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 05:31:28 +00:00
waldemar%netscape.com
742b85af02 Fixed terminal-action bug
git-svn-id: svn://10.0.0.236/trunk@88277 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 05:29:57 +00:00
cls%seawood.org
bc78fd1d40 Fix problem of not being able to do debug & opt builds under win32 in the same tree by forcing nspr to always use objdir.
Bug #70445


git-svn-id: svn://10.0.0.236/trunk@88276 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 05:04:23 +00:00
gordon%netscape.com
9bbc213f93 [not part of build]
Changed OnDataSizeChanged() to OnDataSizeChange() and added a deltaSize parameter.  Added OnDataSizeChange() method on nsCacheService so we can grab the service lock and bind the entry if necessary.

Commented out the implementation of nsCacheEntryDescriptor::AsyncWrite(), since we are not planning to provide it.


git-svn-id: svn://10.0.0.236/trunk@88275 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 05:01:43 +00:00
dave%intrec.com
6b97b7b63c Fix for bug 70544: QuickSearch drops everything after the first negated word
patch by afranke@ags.uni-sb.de (Andreas Franke)


git-svn-id: svn://10.0.0.236/trunk@88272 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 03:34:08 +00:00
yokoyama%netscape.com
c29af6c4a4 Fix for 68224. /r=ftang, /sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@88271 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 03:33:44 +00:00
blakeross%telocity.com
baab453654 Wrong focus effect for classic radiobuttons (67283, by neil@parkwaycc.co.uk). r=blake sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@88270 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 03:30:59 +00:00
yokoyama%netscape.com
99cc01527b Fix for 67520; /r=ftang , /sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@88269 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 03:22:52 +00:00
beard%netscape.com
7ca128866f [not part of build] needed to add nsITransport to QueryInterface.
git-svn-id: svn://10.0.0.236/trunk@88266 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 02:51:07 +00:00
darin%netscape.com
a31f0fcaf2 [not part of the build] Added code to update the entry's data size as data is streamed
to the memory cache.


git-svn-id: svn://10.0.0.236/trunk@88265 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 02:49:26 +00:00
gordon%netscape.com
2169cc19f4 [not part of build]
Add finalization code to cache entry hashtables to delete remaining entries.


git-svn-id: svn://10.0.0.236/trunk@88264 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 02:46:12 +00:00
dr%netscape.com
ef9cd51fae 70386 (warning fix), r=timeless
git-svn-id: svn://10.0.0.236/trunk@88263 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 02:44:24 +00:00
leaf%mozilla.org
2b05ea5bef use the find.exe in the path, sr=jband, r=granrose
git-svn-id: svn://10.0.0.236/trunk@88262 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 02:26:22 +00:00
gordon%netscape.com
e925522cc0 [not part of build]
Changed nsCacheEntryDescriptor to implement nsITransport as a wrapper that checks access priviledges for the underlying transport provided by the device.

Added code to lazily allocate the underlying transport for the cache descriptor.

Added NS_ENSURE_ARG_POINTER() to all necessary interface methods. r=beard.


git-svn-id: svn://10.0.0.236/trunk@88261 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 02:25:07 +00:00
dougt%netscape.com
62963fd66f Adding check for null. r=dveditz/sr=nullcheck
git-svn-id: svn://10.0.0.236/trunk@88260 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 02:20:37 +00:00
darin%netscape.com
8318852b21 [not part of the build] Cleans up ReadRequestCompleted; there was no reason
to be walking the list of read requests!


git-svn-id: svn://10.0.0.236/trunk@88259 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 02:20:35 +00:00
bryner%uiuc.edu
aa526e0c60 First cut at SSL proxy support. r=ddrinan.
git-svn-id: svn://10.0.0.236/trunk@88258 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 02:04:35 +00:00
gordon%netscape.com
60782a007c Added error codes for read/write access denied.
git-svn-id: svn://10.0.0.236/trunk@88257 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 01:56:29 +00:00
dr%netscape.com
74c5148b38 fix for 58477 (null check), r=jag, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@88256 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 01:35:12 +00:00
relyea%netscape.com
e671c31a3f change '-p' to '-P' to be consistant with other tools.
git-svn-id: svn://10.0.0.236/trunk@88252 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 01:21:56 +00:00
pschwartau%netscape.com
9e1f32a005 Correcting an error in the testcase -
git-svn-id: svn://10.0.0.236/trunk@88251 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 01:06:48 +00:00
erik%netscape.com
ab1b4c5b52 checkin for bstell@netscape.com:
bug 61108, r=ftang@netscape.com, sr=brendan@mozilla.org
make the (Unix) XP locale parse return the XP version
rework the locale string parsing code to handle variable
length language codes


git-svn-id: svn://10.0.0.236/trunk@88250 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 01:06:30 +00:00
erik%netscape.com
425f7d4dbe checkin for bstell@netscape.com:
bug 61108, r=ftang@netscape.com, sr=brendan@mozilla.org
we now store both the XP and Unix platform specific local
the the platform locale is under <tag>##PLATFORM
eg: save the XP locale under
   NSILOCALE_TIME
and save the platform locale under
   NSILOCALE_TIME##PLATFORM


git-svn-id: svn://10.0.0.236/trunk@88249 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 01:03:23 +00:00
erik%netscape.com
04027bdf0a checkin for bstell@netscape.com:
bug 61108, r=ftang@netscape.com, sr=brendan@mozilla.org
we now store both the XP and Unix platform specific local
the the platform locale is under <tag>##PLATFORM
eg: save the XP locale under
   NSILOCALE_COLLATE
and save the platform locale under
   NSILOCALE_COLLATE##PLATFORM


git-svn-id: svn://10.0.0.236/trunk@88248 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 01:01:10 +00:00
erik%netscape.com
6d86c8c0f3 checkin for bstell@netscape.com:
bug 61108, r=ftang@netscape.com, sr=brendan@mozilla.org
store both the XP and Unix platform specific local
save the platform locale under <tag>##PLATFORM
eg: save the XP locale under
   NSILOCALE_COLLATE
and save the platform locale under
   NSILOCALE_COLLATE##PLATFORM


git-svn-id: svn://10.0.0.236/trunk@88247 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:58:35 +00:00
bryner%uiuc.edu
0c9256f563 Don't return an async proxied object when the socket transport is asked for its ProgressEventSink. r=dougt, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@88245 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:55:08 +00:00
gordon%netscape.com
f5211da068 Added comments to netCore.h declaring error ranges for SocketTransport and CacheService. r=beard.
git-svn-id: svn://10.0.0.236/trunk@88244 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:54:29 +00:00
erik%netscape.com
195fd73c03 checkin for bstell@netscape.com:
bug 61108, r=ftang@netscape.com, sr=brendan@mozilla.org
add a "zh" Chinese language group in addition to zh-CN or zn-TW


git-svn-id: svn://10.0.0.236/trunk@88243 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:52:28 +00:00
erik%netscape.com
9367907411 checkin for bstell@netscape.com:
bug 61108, r=ftang@netscape.com, sr=brendan@mozilla.org
add defines for language/country/extra/locale buffer lenghts


git-svn-id: svn://10.0.0.236/trunk@88242 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:49:31 +00:00
erik%netscape.com
78d2265c77 checkin for bstell@netscape.com:
bug 60826, r=ftang@netscape.com, sr=brendan@mozilla.org
map GBK 0xFE50 - 0xFE9F to private use ala microsoft 936-2000


git-svn-id: svn://10.0.0.236/trunk@88240 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:43:31 +00:00
sonmi%netscape.com
e71528f338 was still running ksh
git-svn-id: svn://10.0.0.236/trunk@88239 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:43:24 +00:00
sonmi%netscape.com
48cbaad3d4 restructuring of NSS QA
git-svn-id: svn://10.0.0.236/trunk@88238 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:40:38 +00:00
erik%netscape.com
f3a16307e3 checkin for bstell@netscape.com:
bug 61422, r=ftang@netscape.com, sr=brendan@mozilla.org
add 8 additional code points to the cns <=> unicode converter
Note: because this is a generated (optimized) file almost
every line is changed. see bugzilla 61422 for the converter
source file.


git-svn-id: svn://10.0.0.236/trunk@88237 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:39:15 +00:00
sgehani%netscape.com
d6ad5375e3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@88236 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:36:00 +00:00
sgehani%netscape.com
bf7add45ee Port libxpnet to the mac.
b = 67248
r = dbragg
sr = mscott


git-svn-id: svn://10.0.0.236/trunk@88235 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:35:25 +00:00
erik%netscape.com
0e69235fa3 checkin for bstell@netscape.com:
bug 61422, r=ftang@netscape.com, sr=brendan@mozilla.org
Add the XLDF charset/encoding tags for the sub planes of a cns font.
It is really just one font split into sub-planes.


git-svn-id: svn://10.0.0.236/trunk@88234 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:34:50 +00:00
erik%netscape.com
ceca102036 checkin for bstell@netscape.com:
bug 61422, r=ftang@netscape.com, sr=brendan@mozilla.org
In the font preference menu only show one plane of a cns font
since it is really just one font split into sub-planes
ie: show cns11643-1 but not both cns11643-1 and cns11643-2.


git-svn-id: svn://10.0.0.236/trunk@88233 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:32:54 +00:00
sgehani%netscape.com
c7aa126e52 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@88231 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:26:39 +00:00
timeless%mac.com
7492e6a117 fix bug 67884 Show Add Bookmark dialog pref is reversed between dialog & pref panel
r=mao, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@88229 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:24:34 +00:00
beard%netscape.com
e8b08f7a03 [not part of build] stores nsISupportsString in object cache.
git-svn-id: svn://10.0.0.236/trunk@88228 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:24:33 +00:00
dougt%netscape.com
bd562529bf fixes 66873. fixes WFTPD incompatibility. r=gagan, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@88227 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:23:36 +00:00
stephend%netscape.com
5d466f9f0b Bug 70241 - r=timeless@mac.com sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88226 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:22:37 +00:00
sgehani%netscape.com
4ef624cc98 Remove so we can add as binary instead of text. Ooops!
git-svn-id: svn://10.0.0.236/trunk@88225 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:13:38 +00:00
danm%netscape.com
4cb0a289a6 hooking up windowwatcher. bug 65229 code=ccarlen,me. r=brendan
git-svn-id: svn://10.0.0.236/trunk@88224 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:13:32 +00:00
sgehani%netscape.com
108ef76a6e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@88223 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:12:12 +00:00
beard%netscape.com
c432350a7a [not part of build] Now wraps nsIInputStream with an nsIScriptableInputStream.
git-svn-id: svn://10.0.0.236/trunk@88222 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:07:23 +00:00
beard%netscape.com
a7f2de4745 [not part of build] changed linker output to cache.headers rather than necko.headers.
git-svn-id: svn://10.0.0.236/trunk@88221 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:05:31 +00:00
dbragg%netscape.com
d9b812806f New Post-install replace and delete utility phase 1 checkin.
NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@88220 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:02:19 +00:00
leaf%mozilla.org
ff92c4063c Automated update
git-svn-id: svn://10.0.0.236/trunk@88219 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 00:00:11 +00:00
beard%netscape.com
822bdffa55 [not part of build] Now tests opening output and input streams.
git-svn-id: svn://10.0.0.236/trunk@88218 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:52:20 +00:00
heikki%netscape.com
83465be4dc Bug 36790, support XHTML style element. Also fix CDATA section handling for title and textarea elements. r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@88217 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:51:35 +00:00
dbragg%netscape.com
30767e9d5a Translating Alert and Confirm to serve as titles in the alert and confirm dialog titlebars. r=sgehani, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@88216 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:47:59 +00:00
timeless%mac.com
ff13c71667 fix bug 68959 Wording Mismatch between History and Bookmarks
r=lordpixel, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@88215 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:47:19 +00:00
heikki%netscape.com
35768dd3ef Bug 49572, implemented responseText property for XMLHttpRequest object. Also some minor nsCOMPtr initialization optimizations and updated tests. r=harishd, rpotts (stream reading part), sr=jst.
git-svn-id: svn://10.0.0.236/trunk@88214 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:46:59 +00:00
erik%netscape.com
83c6751dc5 bug 70389; author=simon@softel.co.il; r=cls; sr=erik; adding changes to
build system to conditionally compile the IBM bidi code (for Arabic and
Hebrew bidirectional text)


git-svn-id: svn://10.0.0.236/trunk@88212 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:45:40 +00:00
heikki%netscape.com
36f5ade2c2 Bug 63559, attributes are lost on XHTML elements if the document is loaded as data. r=jst, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@88211 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:42:10 +00:00
dougt%netscape.com
4cd8b71c64 Fixing 69836. Increasing data buffer sizes which improves perf on Mac. r=sfraser, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@88210 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:37:03 +00:00
cyeh%bluemartini.com
f1dedfdcf1 fix for 69147: reports.cgi still refers to gif (bugzilla 2.11)
patch contributed to dave@intrec.com (Dave Miller).
remove useless code.


git-svn-id: svn://10.0.0.236/trunk@88209 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:36:49 +00:00
sonmi%netscape.com
7095b3e560 restructuring of NSS QA
git-svn-id: svn://10.0.0.236/trunk@88208 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:35:21 +00:00
cyeh%bluemartini.com
de65e1a912 fix for 61637: Code bit for upgrading from 2.5
based on patch submitted by ehanson@talkware.net (Eric Hanson)
support for changes comments table to longdescs, but only if comments
table exists.


git-svn-id: svn://10.0.0.236/trunk@88207 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:33:01 +00:00
cyeh%bluemartini.com
c41d610d45 missed last documentation change
git-svn-id: svn://10.0.0.236/trunk@88206 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:08:52 +00:00
cyeh%bluemartini.com
bf77dc5223 fix for 69793: check in new files for QuickSearch
patch contributed by franke@ags.uni-sb.de (Andreas Franke)
Now add quicksearch functionality to the main index page.


git-svn-id: svn://10.0.0.236/trunk@88205 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:07:26 +00:00
cyeh%bluemartini.com
9c010ec17b fix for 58436: javascript strict warnings in query.cgi
patch submitted by sidney@sidney.com (Sidney Markowitz)
wrap javascript around Param("usetargetmilestone")


git-svn-id: svn://10.0.0.236/trunk@88204 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 23:00:28 +00:00
cls%seawood.org
b4a961bc83 Quick fix for app crash on compose problem. Bug #70505 r=jgmyers a=leaf
git-svn-id: svn://10.0.0.236/trunk@88203 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 22:59:54 +00:00
nelsonb%netscape.com
fd200bd21c Increase the temp cert db's memory buffer size from 64KB to 256KB.
This reduces the liklihood that it will overflow into a disk file.
This is a partial fix for bug 67953.


git-svn-id: svn://10.0.0.236/trunk@88202 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 22:50:12 +00:00
gordon%netscape.com
c08d7ab02c Fix access mode for new entries. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@88201 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 22:39:07 +00:00
sonmi%netscape.com
86d7e6bcb3 complete restructuring and cleanup of the QA suites.
bug 65000 and 68878


git-svn-id: svn://10.0.0.236/trunk@88200 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 22:12:47 +00:00
pchen%netscape.com
70f8d815ed fix for blocker bug 70232, no one ever put mozilla/extensions/cookie/jar.mn into the mac build list
git-svn-id: svn://10.0.0.236/trunk@88198 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 20:50:16 +00:00
despotdaemon%netscape.com
ee28139500 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@88195 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 19:43:04 +00:00
javi%netscape.com
9321aeb404 Make Makefile.in more recent than static Makefile
git-svn-id: svn://10.0.0.236/trunk@88190 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 18:11:18 +00:00
javi%netscape.com
16f477df45 Resurrected the incorrect version earlier. Bringing back the
version that existed before removing.


git-svn-id: svn://10.0.0.236/trunk@88189 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 18:10:29 +00:00
markh%activestate.com
34797f42c7 Sample plugin: Not part of the build
Fix up the resizing on Linux (rearranging the code for more reuse across platforms), and add a note to the readme re focus problems on Linux.  Change windows to use a multi-line edit control so it is easier to visually confirm the child window is resizing correctly.


git-svn-id: svn://10.0.0.236/trunk@88187 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 12:26:17 +00:00
beard%netscape.com
f02cafb056 [not part of build] truncate files when mode = nsICache::ACCESS_WRITE.
git-svn-id: svn://10.0.0.236/trunk@88186 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 12:09:41 +00:00
beard%netscape.com
6a9fa46232 [not part of build] create up to 3 different transports for different nsCacheAccessMode values.
git-svn-id: svn://10.0.0.236/trunk@88185 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 11:30:39 +00:00
beard%netscape.com
287f2bca71 [not part of build] renamed PRUint32 parameters to nsCacheAccessMode. Set initial descriptor mode to be requested as temporary workaround.
git-svn-id: svn://10.0.0.236/trunk@88184 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 11:29:22 +00:00
beard%netscape.com
ff1dfa18a0 [not part of build] enforce nsCacheAccessMode when creating transports.
git-svn-id: svn://10.0.0.236/trunk@88183 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 10:04:27 +00:00
gordon%netscape.com
5454a1d722 Begin implementing enumeration of MetaData for cache devices.
git-svn-id: svn://10.0.0.236/trunk@88181 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 07:13:32 +00:00
timeless%mac.com
3ce5f97531 fix bug 68070 CSS error in themes/classic/global/win/tree.css
r=glazman a=ben


git-svn-id: svn://10.0.0.236/trunk@88180 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 07:08:51 +00:00
gordon%netscape.com
9a415d634d Added check in ReadRequestCompleted() in case aReader paramter is not found in the mReadRequests list.
git-svn-id: svn://10.0.0.236/trunk@88178 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 05:48:00 +00:00
gordon%netscape.com
b08393bf09 Adding test for cache service.
git-svn-id: svn://10.0.0.236/trunk@88177 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 05:28:50 +00:00
beard%netscape.com
f789459be3 [not part of build] Tests disk cache using XPConnnect.
git-svn-id: svn://10.0.0.236/trunk@88176 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 05:06:25 +00:00
beard%netscape.com
3ed3c24937 [not part of build] successfully creates writeable nsITransport for cache files!
git-svn-id: svn://10.0.0.236/trunk@88175 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 05:05:29 +00:00
darin%netscape.com
f9d0b10277 Minor tweak [not part of the build]
git-svn-id: svn://10.0.0.236/trunk@88174 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 04:37:46 +00:00
darin%netscape.com
caa5ad9408 Made nsMemoryCacheDevice::BindEntry return NS_OK
git-svn-id: svn://10.0.0.236/trunk@88173 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 04:36:51 +00:00
darin%netscape.com
5609d90e44 Completed nsCacheService::BindEntry
git-svn-id: svn://10.0.0.236/trunk@88172 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 04:34:41 +00:00
darin%netscape.com
a96a6eabef Removed an extraneous QI from nsCacheEntry::Open()
git-svn-id: svn://10.0.0.236/trunk@88171 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 04:28:15 +00:00
blakeross%telocity.com
ff6523852d The rest of an earlier fix of mine, forgot to check it in (caused 70405). was already reviewed.
git-svn-id: svn://10.0.0.236/trunk@88170 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 04:25:00 +00:00
beard%netscape.com
30cfa8e6e2 [not part of build] must call init on hashtable in nsDiskCacheDevice::Init().
git-svn-id: svn://10.0.0.236/trunk@88169 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 04:17:56 +00:00
beard%netscape.com
8e20116d8b [not part of build] really delegate GetTransport() to the cache service.
git-svn-id: svn://10.0.0.236/trunk@88168 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 04:17:24 +00:00
gordon%netscape.com
19a0033de2 Added GetTransportForEntry(), DoomEntry() to public methods, and BindEntry() and DoomEntry_Internal() to private methods.
git-svn-id: svn://10.0.0.236/trunk@88167 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 04:10:43 +00:00
darin%netscape.com
ecb2d9cb1d Added MOZ_NEW_CACHE ifdef to Makefile.in to prevent building of cache tests
by default.


git-svn-id: svn://10.0.0.236/trunk@88166 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 04:06:06 +00:00
beard%netscape.com
a10e2443b8 [not part of build] using nsIPref to find cache directory, first cut at creating nsITransport for cache entries.
git-svn-id: svn://10.0.0.236/trunk@88165 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 04:00:08 +00:00
beard%netscape.com
6a7b1a85f9 [not part of build] removed redundant NULL check in MarkValid().
git-svn-id: svn://10.0.0.236/trunk@88164 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 03:59:02 +00:00
gordon%netscape.com
d55b83e12f Added MarkDoomed(), MarkStreamData(), and set StreamData in constructor.
git-svn-id: svn://10.0.0.236/trunk@88163 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 03:54:16 +00:00
gordon%netscape.com
4fe759cae0 Added DoomEntry() to nsCacheDevice.
git-svn-id: svn://10.0.0.236/trunk@88162 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 03:42:33 +00:00
blakeross%telocity.com
86d8837087 Context doesn't persist in find/replace dialog and other cleanup (66456). r=timeless sr=kin
git-svn-id: svn://10.0.0.236/trunk@88160 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 03:40:16 +00:00
blakeross%telocity.com
4c4f3da252 The content area, not the urlbar, should be focused when you open links in new windows (53549). r=saari,timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@88159 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 03:22:46 +00:00
blakeross%telocity.com
3cb6bd0231 UI cleanup in Customize Character Coding dialog (patch by Mark Olson, maolson@earthlink.net, for 65973). r=jag sr=erik
git-svn-id: svn://10.0.0.236/trunk@88158 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 03:12:42 +00:00
darin%netscape.com
b51b0ef672 [not part of the build] Added code to the descriptor to call GetTransportForEntry()
git-svn-id: svn://10.0.0.236/trunk@88157 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 02:19:14 +00:00
relyea%netscape.com
6e5c224ecb On NT, it looks like isatty doesn't always work. Since we always use stdin for this use
that test instead.


git-svn-id: svn://10.0.0.236/trunk@88155 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 01:58:02 +00:00
relyea%netscape.com
fe509d4e2e Finish WinNT changes.
git-svn-id: svn://10.0.0.236/trunk@88154 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 01:57:08 +00:00
jst%netscape.com
4e494bafeb Fixing bug 70014. Making td.chOff use the correct atom when looking up the attribute 'charoff'. r=heikki@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88152 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 01:54:40 +00:00
darin%netscape.com
f0ac194aeb [not part of the build] Added hooks to enable streaming to the mem cache!
git-svn-id: svn://10.0.0.236/trunk@88149 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 01:41:02 +00:00
jj%netscape.com
f1e056bc07 bugzilla 68643. fixed scope of my($target). r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@88148 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 01:37:06 +00:00
jj%netscape.com
8a3e9d1b5a Updated verison to '0.8+' + cleaned up 'vers' resources. bugzilla 68231 r=endico
git-svn-id: svn://10.0.0.236/trunk@88147 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 01:31:28 +00:00
relyea%netscape.com
edc0c6a995 Add '-p' to specify a dbprefix.
Move the Tempfile created on input to /tmp so the code works in directories
that aren't writeable.
Fix the code to remove the Tempfile when done.
Use SECU_ConfigureDir so that we get the same defaultdb as other tools.


git-svn-id: svn://10.0.0.236/trunk@88146 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 01:21:11 +00:00
wtc%netscape.com
c1fb07a3f2 Bugzilla bug #70381: zero the ipv6.ip field after we fail to parse a
string as an IPv6 address.  Thanks to Chris Elving for the bug report.


git-svn-id: svn://10.0.0.236/trunk@88145 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 01:02:45 +00:00
danm%netscape.com
f952bb367b adding nsIDOMWindow to GetInterface. More hookup of WindowWatcher from last revision. bug 65229 r=brendan and by extension hyatt
git-svn-id: svn://10.0.0.236/trunk@88141 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 00:43:01 +00:00
beard%netscape.com
c269fc2228 [not part of build] allocate the nsDiskCacheDevice.
git-svn-id: svn://10.0.0.236/trunk@88139 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 00:36:07 +00:00
danm%netscape.com
94220c96fe hook up WindowWatcher. bug 65229 r=brendan,chak
git-svn-id: svn://10.0.0.236/trunk@88138 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 00:34:41 +00:00
beard%netscape.com
2657260ee7 [not part of build] changed fragment name to CACHE_DLL instead of NECKO_DLL (oops).
git-svn-id: svn://10.0.0.236/trunk@88137 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 00:33:24 +00:00
brendan%mozilla.org
aac624f910 Fix JS_ARENA_GROW_CAST so it doesn't round up both size and incr, which overestimates and wastes space (44009, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@88136 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 00:27:10 +00:00
brendan%mozilla.org
38d9d8b234 Fix 'import *;' (70308, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@88135 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 00:17:19 +00:00
gordon%netscape.com
b99a60e359 Changed 'getters' on nsCacheEntry to simply return values, rather than require out parameters.
Added a PRCList member and accessors for linking entries on eviction and doom lists.

Moved check for IsStreamBased() from nsCacheEntry::GetData() to nsCacheEntryDescriptor::GetData(), to allow cache devices to set the mData member.

Added checks to nsCacheEntryDescriptor methods to return NS_ERROR_NOT_AVAILABLE if the descriptor is already closed.


git-svn-id: svn://10.0.0.236/trunk@88133 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 00:06:13 +00:00
mcafee%netscape.com
5e3aa79728 Backing out my attempt to fix (68208). sr=alecf
git-svn-id: svn://10.0.0.236/trunk@88132 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-28 00:00:27 +00:00
erik%netscape.com
47b8485aac bug 70385; author=simon@softel.co.il; r=kmcclusk; sr=erik; register the
bidi keyboard class that was recently added to mozilla/widget


git-svn-id: svn://10.0.0.236/trunk@88131 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:56:19 +00:00
mkaply%us.ibm.com
9d3b7c0d62 No bug
r=mkaply, a=blizzard
Backing out nsRenderingContextOS2 - causing weird painting


git-svn-id: svn://10.0.0.236/trunk@88127 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:52:49 +00:00
pinkerton%netscape.com
13f476bd27 fix for menus being unresponsive in classic build when no windows are available. commented out a bit added for fizzilla where the two platforms are at odds. sr=sfraser. bug# 68766
git-svn-id: svn://10.0.0.236/trunk@88126 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:35:46 +00:00
nhotta%netscape.com
29fe6d96c0 Moved collation setting from pref to property for localizability, bug 62015, r=tao, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@88125 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:33:47 +00:00
nhotta%netscape.com
6e93af2087 For menu item sorting, changed to store collation keys instead of creating them for each comparison, bug 64146, r=ftang, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@88123 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:31:20 +00:00
andreww%netscape.com
95b92843bb bugzilla 63616 r=jelwell, sr=hewitt. Implementing comboxes in mac classic. (editable menulists)
git-svn-id: svn://10.0.0.236/trunk@88122 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:29:06 +00:00
andreww%netscape.com
1636e0720d bugzilla 69520 r=jelwell, sr=hewitt. Fixing default disabled state of buttons in mac classic.
git-svn-id: svn://10.0.0.236/trunk@88120 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:25:46 +00:00
andreww%netscape.com
61e972d392 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@88119 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:24:42 +00:00
jgmyers%netscape.com
7e18188fee fix mime_decode_filename() and callers, make override_charset a PRBool: bug 65277 r=nhotta r=ducarroz sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@88118 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:23:17 +00:00
darin%netscape.com
868027c6c7 updating the .cvsignore file
git-svn-id: svn://10.0.0.236/trunk@88116 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:17:58 +00:00
darin%netscape.com
5c09a8d4b4 [not part of the build] Forgot to update the WIN32 makefile after adding the
CID for the memory cache transport.


git-svn-id: svn://10.0.0.236/trunk@88115 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:15:57 +00:00
locka%iol.ie
43fbe03949 Changed installation macro to copy installed-chrome.txt rather than link to it to solve nightly tarball issue. b=62762, sr=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@88114 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:15:34 +00:00
javi%netscape.com
654354fef7 Adding white space so that Makefile.in appears newer than static
Makefile to autoconf guaranteeing dynamic Makefile's are created.


git-svn-id: svn://10.0.0.236/trunk@88112 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 23:00:59 +00:00
mcafee%netscape.com
e2e2d012c0 Brief file descriptions
git-svn-id: svn://10.0.0.236/trunk@88109 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 22:41:45 +00:00
javi%netscape.com
cd8f0d1575 Make a diff so the Makefile.in is newer than static Makefile forcing
autoconf to always generate a new Makefile.


git-svn-id: svn://10.0.0.236/trunk@88108 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 22:37:42 +00:00
javi%netscape.com
31fda06d90 Resurrect old coreconf Makefiles which are actually still need by
windows builds.


git-svn-id: svn://10.0.0.236/trunk@88107 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 22:36:50 +00:00
pavlov%netscape.com
24267a3241 removing ImageLogging.h from this makefile
git-svn-id: svn://10.0.0.236/trunk@88106 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 22:35:07 +00:00
javi%netscape.com
c655d78bab Merge the changes from NSS_CLIENT_TAG onto trunk.
git-svn-id: svn://10.0.0.236/trunk@88105 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 21:43:33 +00:00
mcafee%netscape.com
9d426937f3 embed.mk not part of this process right now.
git-svn-id: svn://10.0.0.236/trunk@88103 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 20:57:06 +00:00
javi%netscape.com
b060f504b2 Remove coreconf specific Makefiles that conflict with client
builds and are no longer used.


git-svn-id: svn://10.0.0.236/trunk@88102 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 19:48:01 +00:00
beard%netscape.com
1c310582a5 [not part of build] added nsMemoryCacheTransport.cpp.
git-svn-id: svn://10.0.0.236/trunk@88100 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 19:41:13 +00:00
despotdaemon%netscape.com
60254d490f Pseudo-automatic update of changes made by Xiaobin.Lu@eng.Sun.com.
git-svn-id: svn://10.0.0.236/trunk@88098 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 19:23:33 +00:00
mcafee%netscape.com
95fe1bffe5 branch is out, embed is in
git-svn-id: svn://10.0.0.236/trunk@88097 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 18:53:53 +00:00
mcafee%netscape.com
6adb9c22d7 First-pass hack attempt at embed tinderbox script
git-svn-id: svn://10.0.0.236/trunk@88095 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 18:47:21 +00:00
timeless%mac.com
aa31f8d959 fix smoketest blocker bug 70312
Bookmarks deleted on exit
patch by hwaara, r=timeless, a=leaf, built by hwaara


git-svn-id: svn://10.0.0.236/trunk@88094 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 18:09:17 +00:00
kestes%tradinglinx.com
822b917569 no longer needed, we have a cleaner interface now.
git-svn-id: svn://10.0.0.236/trunk@88093 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 17:53:51 +00:00
oeschger%netscape.com
59ede56afb adding some localization (incomplete) to help viewer, not part of build
git-svn-id: svn://10.0.0.236/trunk@88091 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 16:01:21 +00:00
kestes%tradinglinx.com
d2547fc5eb *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@88090 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 15:43:34 +00:00
kestes%tradinglinx.com
86b62e505f Document that the default_conf must not use any other library.
git-svn-id: svn://10.0.0.236/trunk@88089 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 15:26:43 +00:00
kestes%tradinglinx.com
d5d389fd66 change the default directories to be more like the more recent Redhat distributions.
Document that the default_conf must not use any other library.


git-svn-id: svn://10.0.0.236/trunk@88088 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 15:26:29 +00:00
kestes%tradinglinx.com
5682ec31e2 Document that the default_conf must not use any other library.
ignore bugs which have null state.


git-svn-id: svn://10.0.0.236/trunk@88087 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 15:24:34 +00:00
kestes%tradinglinx.com
d6369ef130 uncomment the %clean section
ensure the local_conf directory exists but is empty.


git-svn-id: svn://10.0.0.236/trunk@88086 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 15:16:02 +00:00
kestes%tradinglinx.com
a3cfe38c7c uncomment the %clean section
add the directory /var/log/tinderbox2


git-svn-id: svn://10.0.0.236/trunk@88085 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 15:13:42 +00:00
kestes%tradinglinx.com
c9d59d4e87 the code to ensure that builds do not start too quickly was buggy.
git-svn-id: svn://10.0.0.236/trunk@88084 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 15:10:52 +00:00
kestes%tradinglinx.com
1e0a66524a allow users to determine which states they do not want to see.
some documention was changed as it was incorrect.


git-svn-id: svn://10.0.0.236/trunk@88083 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 15:10:09 +00:00
kestes%tradinglinx.com
c207f3e117 restrict path since we do not rely on the path to find anything.
git-svn-id: svn://10.0.0.236/trunk@88082 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 15:09:14 +00:00
dcone%netscape.com
e7d3e49ac4 Checking for a printer before some optimizations.. which are not good for printing. sr=attinasi r=karnaze
git-svn-id: svn://10.0.0.236/trunk@88081 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 14:52:07 +00:00
locka%iol.ie
4e443b4d68 Removed buildinURLs.rdf from embedding manifest. Smoketest blocker. b=70238
git-svn-id: svn://10.0.0.236/trunk@88080 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 13:27:54 +00:00
disttsc%bart.nl
7e6e255483 Whoops, forgot to check this in as part of bug 70112. r=timeless, a=ben
git-svn-id: svn://10.0.0.236/trunk@88079 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 13:20:25 +00:00
valeski%netscape.com
5ce21403d9 sr=rpotts. 39987. handling broken servers which don't provide a boundary token in the first block. also protecting against stray parsing which can result in crashes.
git-svn-id: svn://10.0.0.236/trunk@88077 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 12:33:12 +00:00
disttsc%bart.nl
f9b30197da Move "About Mozilla" from properties to dtd, fix up xul, js and mac menu c++ code. bug=70112, r=saari, a=ben
git-svn-id: svn://10.0.0.236/trunk@88076 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 11:31:52 +00:00
darin%netscape.com
afc9096e12 Fixed a minor bug.
git-svn-id: svn://10.0.0.236/trunk@88075 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 09:38:09 +00:00
darin%netscape.com
11cc98f2a6 Adding myself in the contributor section.
git-svn-id: svn://10.0.0.236/trunk@88074 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 09:34:12 +00:00
darin%netscape.com
8fe14063e3 Added a test file for exercising the mem cache transport.
git-svn-id: svn://10.0.0.236/trunk@88073 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 09:30:41 +00:00
darin%netscape.com
d846f7a5bc [not part of the build] Added a debug-only CID for nsMemoryCacheTransport
to allow this class to be independently tested.


git-svn-id: svn://10.0.0.236/trunk@88072 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 09:06:11 +00:00
dveditz%netscape.com
43d3a31b45 fix for topcrash bug 65798, r=neeti, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@88071 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 07:41:55 +00:00
wtc%netscape.com
8f4e692317 Bugzilla bug #70295: do not hold _pr_flock_lock while calling the MD
lockfile function to avoid a deadlock.  The lockCount field of
PRFilePrivate may have the value of -1 to indicate that the MD lockfile
function is in progress.  Use _pr_flock_cv to wait for the completion
of the MD lockfile function.
Modified files: primpl.h, prfile.c, prio.c, ptio.c


git-svn-id: svn://10.0.0.236/trunk@88070 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 06:51:44 +00:00
pavlov%netscape.com
474874f5b1 fixing the stupid jpeg decoder to work right
git-svn-id: svn://10.0.0.236/trunk@88067 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 06:06:22 +00:00
beard%netscape.com
6398b53627 build XPCShell.mcp when testing the new cache. r=gordon
git-svn-id: svn://10.0.0.236/trunk@88066 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 06:03:47 +00:00
beard%netscape.com
12949a3944 [not part of build] added other new files.
git-svn-id: svn://10.0.0.236/trunk@88065 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 05:50:57 +00:00
beard%netscape.com
932c8a19cf Gordon has much more to say about the last few checkins... But we forgot to wire up nsCacheEntryDescriptor::MarkValid() to nsCacheEntry::MarkValid(). Enjoy the ride.
git-svn-id: svn://10.0.0.236/trunk@88064 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 05:43:16 +00:00
gordon%netscape.com
8b61a442bc Changed GetKey() to return key as return value, rather than out parameter. Added flag predicates for storage policy.
git-svn-id: svn://10.0.0.236/trunk@88063 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 05:35:53 +00:00
gordon%netscape.com
cee3eac4fa Add virtual methods for desctructor and Init(). Changed ActivateEntryIfFound() to FindEntry().
git-svn-id: svn://10.0.0.236/trunk@88062 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 05:33:34 +00:00
gordon%netscape.com
74143c8568 Add explicit close() method to decouple descriptor state from cache entry. Close() is an idempotent operation, and will be called by default from the descriptor's destructor. This allows Javascript to release the cache entry earlier than the descriptor may be garbage collected.
git-svn-id: svn://10.0.0.236/trunk@88061 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 05:29:25 +00:00
beard%netscape.com
dcaf9b0b3e tests new object cache.
git-svn-id: svn://10.0.0.236/trunk@88060 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 05:27:55 +00:00
bryner%uiuc.edu
917e416a51 Bug 40611:
- add ctrl+tab/ctrl+shift+tab binding to tabcontrol to switch tabs
- check view visibility before shifting focus, this prevents us from
tabbing into inactive panes in a deck.
r=saari,blake.  sr=ben.


git-svn-id: svn://10.0.0.236/trunk@88059 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 04:43:04 +00:00
dprice%netscape.com
8e4007e560 # 65845 sr=waterson, new order files will greatly reduce the number of link warnings.
git-svn-id: svn://10.0.0.236/trunk@88058 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 04:38:19 +00:00
mkaply%us.ibm.com
df4f6268bf Removing unused files
git-svn-id: svn://10.0.0.236/trunk@88057 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 04:37:09 +00:00
darin%netscape.com
da5420843a [not part of the build] Added AsyncRead support to nsMemoryCacheTransport.
git-svn-id: svn://10.0.0.236/trunk@88056 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 04:29:24 +00:00
dbaron%fas.harvard.edu
42a3c31c61 Fix viewer crash on some types of exit resulting from a mistake in my previous startup crash fix. b=70160 r=jst@netscape.com (Viewer changes only.)
git-svn-id: svn://10.0.0.236/trunk@88055 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 03:46:54 +00:00
pschwartau%netscape.com
27169ef1d0 Initial add. Regression test for bug 44009.
git-svn-id: svn://10.0.0.236/trunk@88054 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 03:41:13 +00:00
rginda%netscape.com
4dd25e7410 -- NOT PART OF THE BUILD --
Don't break 0.8 users just yet.


git-svn-id: svn://10.0.0.236/trunk@88053 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 03:30:35 +00:00
dougt%netscape.com
e596ad7b22 conditionally compiling new cache. r=dougt/a=gagan
git-svn-id: svn://10.0.0.236/trunk@88051 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 03:16:59 +00:00
beard%netscape.com
47b722b21f remove dependence on $main::CARBON, add $main::options{cache} to conditionally build new cache projects. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@88047 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 02:44:26 +00:00
dougt%netscape.com
da9719c954 Conditionally compiling new cache. r=dougt/a=gagan
git-svn-id: svn://10.0.0.236/trunk@88046 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 02:27:21 +00:00
pavlov%netscape.com
a0b1903b8b make jpegs work.
git-svn-id: svn://10.0.0.236/trunk@88045 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 02:25:25 +00:00
ftang%netscape.com
fbaaf3f369 check in for smontagu@il.ibm.com
fix bug 70028. r=ftang sr=erik
add bidi utility interface and implementation
Not building yet, should not affect the build


git-svn-id: svn://10.0.0.236/trunk@88044 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 02:06:55 +00:00
beard%netscape.com
5afc1e5f84 Be able to build with GC leak detector. r=gordon
git-svn-id: svn://10.0.0.236/trunk@88043 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 02:05:02 +00:00
alecf%netscape.com
ae864e0b02 fix for bug 58631 r=jag, a=ben
fix warnings in history.js and initialize history panel


git-svn-id: svn://10.0.0.236/trunk@88042 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 01:40:07 +00:00
dave%intrec.com
7cf3f3d7c8 fix for bug 67482: parens in user's real name was confusing bugzilla. Patch by jake@acutex.net
git-svn-id: svn://10.0.0.236/trunk@88041 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 01:32:27 +00:00
dave%intrec.com
b7fb8f56b7 Fix for bug 50279: a couple executable files were missing from the list of files that checksetup considers executable when it's resetting permissions.
git-svn-id: svn://10.0.0.236/trunk@88038 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 01:20:55 +00:00
beard%netscape.com
7676b9bce7 [not part of build] "fixes" the stack during GC initialization, so later stack crawls won't crash.
git-svn-id: svn://10.0.0.236/trunk@88037 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 01:09:44 +00:00
mcafee%netscape.com
44869ab3a5 Switching pref type from string to int (68208). r=pchen, sr=alecf. New bug filed for string/radio problem.
git-svn-id: svn://10.0.0.236/trunk@88036 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 01:08:17 +00:00
radha%netscape.com
baa71eaf89 Fix for bug # 46813. Assertion while trying to go back. r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@88035 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 00:55:49 +00:00
pinkerton%netscape.com
0f44674f6c make ChromeListener's dtor virtual, since the class has virtual methods. r=jag/sr=scc.
git-svn-id: svn://10.0.0.236/trunk@88034 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 00:46:27 +00:00
dougt%netscape.com
4c288c490c NOT PART OF BUILD. Updating new cache windows makefile to produce a dll. Removing the empty virtual destructor in nsCacheDevice.h
git-svn-id: svn://10.0.0.236/trunk@88031 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 23:51:03 +00:00
cyeh%bluemartini.com
edaf29f386 fix for 47726: Doesn't display properly in IE5.5 because bug url & are not encoded
patch submitted by rufus@nonstuff.de (Rufus)
call QuoteXMLChars on bug_file_loc and attachment desc


git-svn-id: svn://10.0.0.236/trunk@88030 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 23:46:01 +00:00
mkaply%us.ibm.com
8dfc7bd3de No bug
r=mkaply, a=blizzard
Code from jkobal - rewrite of nsRenderingContext to be more like Windows


git-svn-id: svn://10.0.0.236/trunk@88028 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 23:32:11 +00:00
cyeh%bluemartini.com
1eb8f5b435 stupid lamo fix for 69621: Keyword cache not updated on keyword rename/delete.
now give warning to admin that keyword cache should be rebuilt after any keyword
edit or deletion.


git-svn-id: svn://10.0.0.236/trunk@88026 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 23:25:22 +00:00
cmanske%netscape.com
02f95728bb For recent changes r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@88025 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 23:24:38 +00:00
cmanske%netscape.com
4a7ce22181 Forgot interface headers! DOH!
git-svn-id: svn://10.0.0.236/trunk@88024 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 23:21:37 +00:00
mkaply%us.ibm.com
ab57588e8d No bug
r=mkaply, a=blizzard
Code from dainis - continuing fixes for printing transparent bitmaps


git-svn-id: svn://10.0.0.236/trunk@88022 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 22:57:44 +00:00
cyeh%bluemartini.com
45e7f30e33 fix for bug 51670: Dependency loops are possible
we now search each list (dependson, blocks) to see if a bug number shows
up in each list. a bug can't be dependent upon and block the same bug.
also make it so you can't set a bug blocking or dependent on itself.


git-svn-id: svn://10.0.0.236/trunk@88020 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 22:50:58 +00:00
darin%netscape.com
165bf1520d Corrected copyright headers.
git-svn-id: svn://10.0.0.236/trunk@88019 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 22:29:40 +00:00
cmanske%netscape.com
8c2db5d429 Changed menu position for 'Send Page' because of added 'Export to Text' menuitem in Composer for bug 51798. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@88018 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 22:06:05 +00:00
cmanske%netscape.com
a6c3260a9b Make setting doc title undoable (add SetDocumentTitle transaction) b=60129, add export to text file, b=51798, some interface param changes to table editing methods as part of embedding work (b=66300). r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@88017 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 22:02:58 +00:00
cmanske%netscape.com
5dfd9bae88 UI changes for export to text file (51798) and adding read-only DOCTYPE display in HTML Source (58650), and new command to update Recent Files menu (part of 60129). r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@88016 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 22:02:07 +00:00
cmanske%netscape.com
2a78d1e0c8 Fixed table editing bug 63439. r=brade,jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@88015 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 22:02:06 +00:00
cmanske%netscape.com
e73e42c7ef Make setting <title> and <meta> contents undoable transactions. Part of bug 60129, r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@88014 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 21:51:44 +00:00
mcgreer%netscape.com
bcfcb64bd1 Add support for CA cert downloading, including UI.
git-svn-id: svn://10.0.0.236/trunk@88013 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 21:50:54 +00:00
beard%netscape.com
8fec369fc8 Fix carbon redraw non-existence. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@88011 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 21:21:54 +00:00
nhotta%netscape.com
119c1f8da2 Changed to enable charset conversion error alert only for "send now" to avoid the data loss when called for window close, bug 57083, r=ducarroz, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@88010 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 20:41:49 +00:00
stephend%netscape.com
181689bee1 Checking in the fix for bug 68520, r=racham@netscape.com, sr=sspitzer@netscape.com (patch by me)
git-svn-id: svn://10.0.0.236/trunk@88009 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 20:40:04 +00:00
despotdaemon%netscape.com
53fff6bec4 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@88007 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 20:16:43 +00:00
cmanske%netscape.com
ae334ddc57 Fixed Table dialog bugs 57206 and 69795. Cleanup up warinings in Insert Chars dialog. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@88006 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 20:00:17 +00:00
varada%netscape.com
44523ff80d fix for bug#37928;adding preferences to the mailnews.js file;r=ducarroz;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@88005 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 19:48:03 +00:00
timeless%mac.com
a3a0de1fdc fix bug 58572 javascript strict warnings in mailWidgets.xml
patch by maolson@earthlink.net r=timeless, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@88004 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 19:43:23 +00:00
naving%netscape.com
79ee028b88 #65630 sr=sspitzer, bienvenu. The folder stream should be opened on the berkeley mailbox
rather than on the summary file.


git-svn-id: svn://10.0.0.236/trunk@88003 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 19:05:01 +00:00
naving%netscape.com
1b49853391 68875. r=sspitzer, sr=bienvenu. fixing a small leak. The fix was dependent on #69862.
git-svn-id: svn://10.0.0.236/trunk@88002 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 18:59:52 +00:00
naving%netscape.com
8eaf0734de 69862. r=bienvenu sr=scc@mozilla.org. Check and close the file stream in the destructor
git-svn-id: svn://10.0.0.236/trunk@88000 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 18:50:25 +00:00
nboyd%atg.com
5306f03d5c Commit new scheme for builtin objects, courtesy of
Igor Bukanov <igor@icesoft.no>. This new scheme is
faster and consumes less memory.


git-svn-id: svn://10.0.0.236/trunk@87997 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 16:16:46 +00:00
beard%netscape.com
178933b7a7 [not part of build] added nsCacheSession.cpp.
git-svn-id: svn://10.0.0.236/trunk@87996 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 15:54:11 +00:00
beard%netscape.com
d908473d6c [not part of build] I changed all the declaration of all PRInt32 storagePolicy variables to nsCacheStoragePolicy.
git-svn-id: svn://10.0.0.236/trunk@87994 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 15:53:31 +00:00
mkaply%us.ibm.com
e8d0a4fe90 REGR
r=mkaply, a=blizzard
Code from dainis - regression with job properties


git-svn-id: svn://10.0.0.236/trunk@87993 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 15:43:40 +00:00
mkaply%us.ibm.com
cba442d911 #61820
r=mkaply, a=blizzard
Code from jkobal to prevent focus from leaving browser when window is destroyed


git-svn-id: svn://10.0.0.236/trunk@87992 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 15:42:38 +00:00
brade%netscape.com
1ac0227019 fix copy/paste error in code logic (2 cmd_scrollPage* and no cmd_movePage*); r=akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@87991 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 15:37:25 +00:00
nboyd%atg.com
5135849e77 Change ClassOutput to take a top-level boolean parameter.
git-svn-id: svn://10.0.0.236/trunk@87989 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 15:32:15 +00:00
nboyd%atg.com
d1ad4038dc Add top-level boolean parameter so ClassOutput implementors can determine
which class to load to execute a script.


git-svn-id: svn://10.0.0.236/trunk@87988 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 15:28:17 +00:00
ccarlen%netscape.com
395017ccda Bug 27857 - nsIFile not complete on Mac. Adding CopyToFollowingLinks(). r=sdagley@netscape.com, sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87987 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 15:22:17 +00:00
gordon%netscape.com
22ffc2d35a Update Makefile.in to build cache service as separate module.
git-svn-id: svn://10.0.0.236/trunk@87986 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 14:58:58 +00:00
gordon%netscape.com
97665f1086 Begin implementing eviction of memory cache entries.
git-svn-id: svn://10.0.0.236/trunk@87985 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 14:57:40 +00:00
gordon%netscape.com
e1904579fd Updated methods for addition of nsCacheSession.
git-svn-id: svn://10.0.0.236/trunk@87984 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 14:55:58 +00:00
gordon%netscape.com
0d6b0b8d35 Add the session's storagePolicy to nsCacheRequest, and changed type of mAccessRequested to nsCacheAccessMode.
git-svn-id: svn://10.0.0.236/trunk@87983 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 14:53:28 +00:00
gordon%netscape.com
f0a2bc60d4 Fix HashKey method.
git-svn-id: svn://10.0.0.236/trunk@87982 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 14:46:54 +00:00
gordon%netscape.com
314bc3bb0a Add stub methods for getting/setting data size, and getting the transport for a cache entry descriptor. Update for change to Substring parameters.
git-svn-id: svn://10.0.0.236/trunk@87981 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 14:45:45 +00:00
gordon%netscape.com
f3232e9065 Add code for removing requests and descriptors from cache entries.
git-svn-id: svn://10.0.0.236/trunk@87980 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 14:42:50 +00:00
gordon%netscape.com
f724c5e169 Adding files for nsCacheSession implementation.
git-svn-id: svn://10.0.0.236/trunk@87979 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 14:40:22 +00:00
gordon%netscape.com
7588c50017 Add constants to indicate whether a cache session is streamBased or not. This interface file is not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@87978 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 14:27:16 +00:00
dave%intrec.com
83baca46a1 Fix for bug 69670: Chart::Base only reports its version number as 0.99, regardless of the fact that you have 0.99b or 0.99c installed. So checksetup.pl needs to look for 0.99 instead of 0.99b.
git-svn-id: svn://10.0.0.236/trunk@87977 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 08:19:50 +00:00
darin%netscape.com
30a096b582 Initial memory cache nsITransport implementation (not part of the build).
git-svn-id: svn://10.0.0.236/trunk@87976 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 07:40:34 +00:00
scc%mozilla.org
70258477c7 bug #70161: make mac build machinery for inspector. still to be done --- add to the build, add optimized libraries to the inspector.mcp project (still not part of the build ((like that's an excuse!)))
git-svn-id: svn://10.0.0.236/trunk@87975 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 07:33:59 +00:00
pavlov%netscape.com
1fe9a419cc adding a warning if we call close on the jpeg decoder without us having made it to the end of decoding
git-svn-id: svn://10.0.0.236/trunk@87974 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 04:59:40 +00:00
pavlov%netscape.com
c6bf0f6987 moving the logging code around a bit
fixing a crash in the jpeg code and a few other minor things


git-svn-id: svn://10.0.0.236/trunk@87973 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 04:22:47 +00:00
danm%netscape.com
cb3c5d5da8 adding embedcomponents
git-svn-id: svn://10.0.0.236/trunk@87972 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 03:07:28 +00:00
danm%netscape.com
a8dfac9d49 fix case of EmbedComponents.xpt (not critical, but it bugged me)
git-svn-id: svn://10.0.0.236/trunk@87971 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 02:55:58 +00:00
danm%netscape.com
28e9cdd8e9 reorder includes more appropriately, get rid of no longer correct comment
git-svn-id: svn://10.0.0.236/trunk@87970 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 02:19:26 +00:00
danm%netscape.com
9e60409128 change name of WindowCreator function to fix inexplicable Windows error necessitating careful ordering of includes files
git-svn-id: svn://10.0.0.236/trunk@87969 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 02:17:02 +00:00
danm%netscape.com
5192e16712 fix compiler warnings
git-svn-id: svn://10.0.0.236/trunk@87968 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 02:00:38 +00:00
gayatrib%netscape.com
fd68ac5b8a Fix for bug 40360--filter rules dialog missing new folder button. r=racham,sspitzer sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@87967 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 01:58:27 +00:00
disttsc%bart.nl
f917e2cc0f Fix MOZ_TRACK_MODULE_DEPS=1 builds (senna) bustage by adding "windowwatcher embed_base" to REQUIRES
git-svn-id: svn://10.0.0.236/trunk@87966 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 01:35:24 +00:00
disttsc%bart.nl
e94b3d6d88 Fix MOZ_TRACK_MODULE_DEPS=1 build (senna) bustage by adding windowwatcher to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@87965 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 01:29:27 +00:00
blakeross%telocity.com
de1ab3bc71 Backing out doug to fix win bustage.
git-svn-id: svn://10.0.0.236/trunk@87963 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:55:18 +00:00
danm%netscape.com
392acc42be adding ability to open windows from JS. code copied from winEmbed. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@87962 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:42:17 +00:00
danm%netscape.com
8051c5aa24 moving window opening code to WindowWatcher component. bug 67368 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@87961 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:37:55 +00:00
danm%netscape.com
a1ccde1543 general fixes to openwindow code. bug 67368 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@87960 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:36:54 +00:00
danm%netscape.com
cc89f62b3a fix bad declaration
git-svn-id: svn://10.0.0.236/trunk@87959 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:35:41 +00:00
danm%netscape.com
9810c2e5ca teach GetInterface about nsIDOMWindow. bug 67369 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@87958 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:34:57 +00:00
danm%netscape.com
ec7aac0d73 teach GetInterface about nsIDOMWindow and nsIDocShellTreeItem. bug 67368 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@87957 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:33:48 +00:00
danm%netscape.com
063bcbee40 initialize window creator at startup. bug 67368 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@87956 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:31:44 +00:00
danm%netscape.com
20307d86c4 adding new file nsWindowCreator. bug 67368 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@87955 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:30:58 +00:00
danm%netscape.com
27e380ec26 new callback bridging Mozilla and embedding window creation. bug 67368 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@87954 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:29:16 +00:00
blakeross%telocity.com
8fb7590d01 Making editor's |dont_AddRef| usages easier on the eyes (56033). r=timeless sr=scc
git-svn-id: svn://10.0.0.236/trunk@87953 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:28:58 +00:00
pavlov%netscape.com
30bfd0f2bc do the offsetting based on the bytes per row of the dest frame
git-svn-id: svn://10.0.0.236/trunk@87952 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:26:37 +00:00
saari%netscape.com
3c893ef190 JPEGs limping enough for preliminary performance numbers
git-svn-id: svn://10.0.0.236/trunk@87951 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:17:36 +00:00
dougt%netscape.com
db6a52c778 Adding New Cache interfaces to build
git-svn-id: svn://10.0.0.236/trunk@87950 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:02:44 +00:00
blakeross%telocity.com
a4a7f0ac04 Mail search matching (69418). r=gayatrib sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@87949 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 23:28:53 +00:00
pavlov%netscape.com
6bbecfe3cf fixing unix makefile
git-svn-id: svn://10.0.0.236/trunk@87948 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 23:13:51 +00:00
cls%seawood.org
82dff731aa Fix nspr autoconf for OpenVMS.
Thanks to Colin Blake <colin@theblakes.com> for the patch.
Bug #69842 r=cls


git-svn-id: svn://10.0.0.236/trunk@87947 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 21:50:47 +00:00
cls%seawood.org
81a1916449 Fix nspr autoconf support for OpenVMS.
Thanks to Colin Blake <colin@theblakes.com> for the patch.
Bug #69842 r=cls


git-svn-id: svn://10.0.0.236/trunk@87946 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 21:45:18 +00:00
pavlov%netscape.com
ab5843e7ea removing stupid code
git-svn-id: svn://10.0.0.236/trunk@87943 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 09:02:25 +00:00
pavlov%netscape.com
dff3da99af blah blah blah
git-svn-id: svn://10.0.0.236/trunk@87941 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 08:37:26 +00:00
pavlov%netscape.com
c3f1762956 fixing the cancel nonsense to avoid longass page loads
git-svn-id: svn://10.0.0.236/trunk@87938 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 08:28:36 +00:00
wtc%netscape.com
d18ebeb694 Bugzilla bug #70116: make NSPR build on Win 98 with autoconf. Thanks to
David Avery <daa@distributed.net> for the bug report.
Modified files: configure, configure.in


git-svn-id: svn://10.0.0.236/trunk@87937 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 07:36:26 +00:00
dougt%netscape.com
f8929b57e1 Fixing return type:
git-svn-id: svn://10.0.0.236/trunk@87936 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 07:31:13 +00:00
dougt%netscape.com
f51053bf67 NOT PART OF BUILD!!
This is the windows makefile for the new cache.


git-svn-id: svn://10.0.0.236/trunk@87934 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 07:18:36 +00:00
saari%netscape.com
f7ddad65b8 updating tip version of gfx2 macbuild
git-svn-id: svn://10.0.0.236/trunk@87932 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 05:14:43 +00:00
pavlov%netscape.com
5ef72566e7 removing files
git-svn-id: svn://10.0.0.236/trunk@87931 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 05:13:16 +00:00
bryner%uiuc.edu
b1aa300c2f Removing unused sun-java stubs. r=edburns, jj.
git-svn-id: svn://10.0.0.236/trunk@87930 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 02:58:39 +00:00
bryner%uiuc.edu
1d4b101772 Bug 68094 - set correct notification callbacks on channel for SMTP. r=sspitzer, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@87929 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 02:42:17 +00:00
jst%netscape.com
91cb1df9bf Adding content_base.xpt to the windows and unix package files to fix bug 69993. r=disttsc@bart.nl, sr=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87928 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 02:31:34 +00:00
pavlov%netscape.com
8c6a168fb3 remove the channel cancelation stuff... don't do this here...
git-svn-id: svn://10.0.0.236/trunk@87927 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 02:23:55 +00:00
timeless%mac.com
c5af3d1b47 fix bug 67790 javascript strict warnings in bookmarksOverlay.js
fix by maolson@earthlink.net r=timeless,a=alecf


git-svn-id: svn://10.0.0.236/trunk@87926 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 00:25:52 +00:00
jst%netscape.com
8cf3fa503e Fixing bug 69840. Implementing XULDocument.createProcessingInstruction(). r=jag, sr=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87925 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-25 00:00:52 +00:00
pavlov%netscape.com
837a6cf014 added a parameter to a function that is part of the new imagelib.. passing nsnull to it in the image preloading code (ifdef'd out (not part of build)) sr=jst :-)
git-svn-id: svn://10.0.0.236/trunk@87924 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 23:56:07 +00:00
pavlov%netscape.com
38c7aaf639 adding a loadgroup param
git-svn-id: svn://10.0.0.236/trunk@87923 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 23:45:30 +00:00
blakeross%telocity.com
1f2c1bafc1 The rest of the fix for 52308. Forgot to check this in earlier with something else, was r=timeless sr=erik.
git-svn-id: svn://10.0.0.236/trunk@87921 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 23:16:39 +00:00
wtc%netscape.com
73310966c3 Bugzilla bug #70058: define XP_UNIX on FreeBSD. Thanks to
Eric Hodel <drbrain-bugzilla@segment7.net> for the bug report.
Modified files: configure, configure.in


git-svn-id: svn://10.0.0.236/trunk@87920 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 22:00:46 +00:00
scc%mozilla.org
941d2902e4 bug #53209: removing "nsSharedString.h"
git-svn-id: svn://10.0.0.236/trunk@87918 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 21:08:21 +00:00
roc+%cs.cmu.edu
c0f3d7c52d Fix for bug 67478. Fix for BodyFixupRule so that if both the BODY and HTML elements have a transparent background, we make sure to give the canvas the default background (chosen by the PresShell). r=kmcclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@87917 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 20:37:06 +00:00
roc+%cs.cmu.edu
819e90359e Fix for new view manager bug 69146. Changed the way we compute the 'opaque region' consisting of widgets that cover the widget being painted. r=kmcclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@87916 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 20:29:58 +00:00
scc%mozilla.org
4c2db16544 bug #53209: remove |nsSharedString|. It was already out of the build last night, now it's time to CVS remove it
git-svn-id: svn://10.0.0.236/trunk@87915 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 19:47:45 +00:00
dbaron%fas.harvard.edu
a6f3d9e8e7 Fix crash on startup in viewer by removing static construction. b=70004 r=waterson@netscape.com (Viewer changes only)
git-svn-id: svn://10.0.0.236/trunk@87912 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 17:15:50 +00:00
ccarlen%netscape.com
e5334c9c90 Bug 68908 - EmbedComponents.mcp was missing some files and produced a useless dll. a=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87911 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 16:44:58 +00:00
bernd.mielke%snafu.de
1767b5e275 enable the overflow:hidden from CSS2 for table cells (fixed layout)
bug 44505. r=karnaze sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87910 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 14:30:12 +00:00
jst%netscape.com
8171050d4e Adding interface not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@87907 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 12:47:22 +00:00
jst%netscape.com
265adb22aa Adding new makefile, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@87906 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 12:44:27 +00:00
jst%netscape.com
02a695cbb7 Addign XBL DOM interface files, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@87905 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 12:28:46 +00:00
jst%netscape.com
480d9c3cc5 New domstubs.idl file, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@87903 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 12:15:01 +00:00
jst%netscape.com
71ef27fa82 Initial checkin of DOM class info files needed when the DOM starts using XPConnect, this is still very much WIP, and not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@87894 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 10:26:14 +00:00
cls%seawood.org
ea631a6d3e Work for 9x users too
git-svn-id: svn://10.0.0.236/trunk@87892 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 08:18:12 +00:00
dougt%netscape.com
1e2620b0a8 fixes blocker. r=darin, sr=irc
git-svn-id: svn://10.0.0.236/trunk@87890 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 07:31:59 +00:00
jband%netscape.com
12e3ac585a fix xpconnect_standalone bustage on Win32. bug 69763. sr=leaf r=cls
git-svn-id: svn://10.0.0.236/trunk@87889 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 06:54:44 +00:00
cls%seawood.org
acf2896d3a Adding and updating necessary .cvsignore files. Bug #61550
git-svn-id: svn://10.0.0.236/trunk@87888 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 06:22:49 +00:00
cls%seawood.org
dca4381d2d Fix for OS/2 nspr autoconf bustage.
Thanks to Mike Kaply <mkaply@us.ibm.com> for the patch
Bug #70015 r=cls


git-svn-id: svn://10.0.0.236/trunk@87887 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 05:43:14 +00:00
cls%seawood.org
d89896b8db Initial OS/2 nspr autoconf support. Bug #58804
Thanks to "Javier H Pedemonte" <pedemont@us.ibm.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@87886 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 05:39:43 +00:00
cls%seawood.org
7471c078ff OS/2 platform dependent objs file. Thanks to Javier H. Pedemonte <pedemont@us.ibm.com> for the file. Bug #58804
git-svn-id: svn://10.0.0.236/trunk@87885 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 05:32:47 +00:00
cls%seawood.org
67ed708bca More generated files to ignore
git-svn-id: svn://10.0.0.236/trunk@87884 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 05:31:07 +00:00
scc%mozilla.org
0be7c78830 attempting to fix build bustage on Solaris
git-svn-id: svn://10.0.0.236/trunk@87882 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 04:49:34 +00:00
beard%netscape.com
3dbc04b8e1 [not part of build] changes to build correctly on Mac, and link correctly on all platforms.
git-svn-id: svn://10.0.0.236/trunk@87881 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 04:22:19 +00:00
beard%netscape.com
893e02ee0c [not part of build] projects to build new cache on Mac.
git-svn-id: svn://10.0.0.236/trunk@87880 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 04:21:26 +00:00
pavlov%netscape.com
376094d16e add define incase of non-debug
git-svn-id: svn://10.0.0.236/trunk@87879 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 04:21:18 +00:00
pschwartau%netscape.com
f69bd4cd9d Added Stephen Ostermiller's pattern-match from bug 69989 to this test -
git-svn-id: svn://10.0.0.236/trunk@87877 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 03:23:27 +00:00
scc%mozilla.org
c9f67a34b5 bug #53209: remove unused file from the build
git-svn-id: svn://10.0.0.236/trunk@87876 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 03:17:53 +00:00
scc%mozilla.org
2453a286e9 bug #53209: removing |nsSharedString| here, just from my test harness.
git-svn-id: svn://10.0.0.236/trunk@87875 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 03:13:51 +00:00
scc%mozilla.org
745130da47 bug #67876: r=jst, sr=alecf. Added comment documenting `NULL' string infrastructure.
git-svn-id: svn://10.0.0.236/trunk@87874 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 03:11:23 +00:00
scc%mozilla.org
13d898f873 bug #69941: r=jag, sr=alecf. Fixed signature of |FindCharInReadable|.
git-svn-id: svn://10.0.0.236/trunk@87873 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 03:09:04 +00:00
brendan%mozilla.org
c2e2e1c98a Don't deprecate __proto__, there ain't no forward-compatible alternative (68401, r=timeless, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@87872 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 03:07:58 +00:00
brendan%mozilla.org
713ac17d77 - Shaver hacked this fix with advice from me, and I carried it to check-in. We now avoid a heavyweight outer function when the inner one is defined at top-level or in an expression (is not a JSOP_CLOSURE, IOW), and it doesn't refer to any non-local names. See bug 65308 for details on the win. (r=rogerl, sr=brendan)
- Fix scope chain for nested functions at top-level (JSOP_DEFFUN), in a part of another statement (JSOP_CLOSURE), and unnamed in an expression (JSOP_ANONFUNOBJ) to match ECMA-262 13.2.  My bad: fp->varobj was used up till now, instead of fp->scopeChain; we still *bind* the name of a statement-level (top or not) nested function in fp->varobj.  This fixes bug 69559.  (r=rogerl, sr=jband)
- Add an Intern command to the shell, for GC vs. intern'ed atom testing.


git-svn-id: svn://10.0.0.236/trunk@87871 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 03:00:56 +00:00
scc%mozilla.org
ce4e310532 bug #'s 69940 and 69289: r=dbaron, sr=waterson. Fix parameters to, templatization of |Substring()|.
git-svn-id: svn://10.0.0.236/trunk@87870 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 02:55:46 +00:00
morse%netscape.com
b763dfefa9 bug 70018, image blocking busted, r=hwaara@chello.se, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87869 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 02:48:51 +00:00
gordon%netscape.com
dc98924724 Include nsNetCID.h for cache service contract id.
git-svn-id: svn://10.0.0.236/trunk@87867 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 02:47:37 +00:00
gordon%netscape.com
6cda0c5946 Adding contract id for new cache service. r=beard.
git-svn-id: svn://10.0.0.236/trunk@87866 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 02:44:43 +00:00
darin%netscape.com
a97777c89d Made accessGranted be of type nsCacheAccessMode. This is not part of the mozilla build.
git-svn-id: svn://10.0.0.236/trunk@87865 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 01:36:11 +00:00
darin%netscape.com
1b288a7e6a Updating cache IDL documentation. This is not part of the mozilla build.
git-svn-id: svn://10.0.0.236/trunk@87864 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 01:27:49 +00:00
gordon%netscape.com
c1cbcd4c4c Updated new cache source to build with recent changes to interface files. These files are not part of the build. r=beard, darin.
git-svn-id: svn://10.0.0.236/trunk@87862 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 01:02:37 +00:00
pavlov%netscape.com
9ffa728122 cleanup of timer, etc code
git-svn-id: svn://10.0.0.236/trunk@87861 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 00:31:45 +00:00
pavlov%netscape.com
a15ba6d7ac check to see if numframes > 1
git-svn-id: svn://10.0.0.236/trunk@87860 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 00:31:08 +00:00
javi%netscape.com
f6a36002fc Implement the SSL dialog warnings for Domain Mismatch and
server cert expired.


git-svn-id: svn://10.0.0.236/trunk@87858 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 00:20:32 +00:00
beard%netscape.com
18e084377d [not part of build] stand-alone cache module.
git-svn-id: svn://10.0.0.236/trunk@87857 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-24 00:19:43 +00:00
gordon%netscape.com
101fdd4466 Remove inheritance from interface, and provide transport as an attribute. This change is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@87856 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 23:55:42 +00:00
pavlov%netscape.com
c980204ec8 return
git-svn-id: svn://10.0.0.236/trunk@87855 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 23:49:34 +00:00
pavlov%netscape.com
fa34c686a2 adding StartAnimation()
git-svn-id: svn://10.0.0.236/trunk@87854 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 23:48:25 +00:00
pavlov%netscape.com
27e4d596e9 adding animation restart capibilities
git-svn-id: svn://10.0.0.236/trunk@87853 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 23:48:08 +00:00
radha%netscape.com
3f81cbbe27 Fix for blocker bug 69843. r=valeski, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87852 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 23:37:41 +00:00
nicolson%netscape.com
aa06fd63bc Elimintate some JDK 1.2isms so that we are still JDK1.1 compatible.
git-svn-id: svn://10.0.0.236/trunk@87850 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 23:30:08 +00:00
nicolson%netscape.com
7bb174c51d add additional include path under AIX.
git-svn-id: svn://10.0.0.236/trunk@87849 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 23:29:34 +00:00
gordon%netscape.com
8831b05581 Add nsICache.idl for common typedefs and constants. These changes are not part of the build. r = beard, darin.
git-svn-id: svn://10.0.0.236/trunk@87848 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 23:20:15 +00:00
despotdaemon%netscape.com
e0c27080d7 Pseudo-automatic update of changes made by stephend@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@87846 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 23:18:11 +00:00
despotdaemon%netscape.com
ae56ddc15a Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@87845 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 23:14:27 +00:00
despotdaemon%netscape.com
d099146803 Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@87844 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 23:00:23 +00:00
nicolson%netscape.com
3c62e2a0a6 When creating the mapfile, we need to create OBJDIR first if it
doesn't already exist.


git-svn-id: svn://10.0.0.236/trunk@87842 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 22:45:29 +00:00
pavlov%netscape.com
d0d8202359 use gfxImageContainer on windows too
git-svn-id: svn://10.0.0.236/trunk@87841 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 22:42:42 +00:00
pavlov%netscape.com
ed2ab4a78a update animation stuff
git-svn-id: svn://10.0.0.236/trunk@87840 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 22:31:43 +00:00
gordon%netscape.com
86c0c4d0d0 New interfaces for cache service. These are not part of the build. r=beard, darin, gagan.
git-svn-id: svn://10.0.0.236/trunk@87839 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 22:23:55 +00:00
cyeh%bluemartini.com
53f88c7858 fix for 54566: Software error generated when adding invalid dependencies
if we call PuntTryAgain(), make sure we've unlocked tables


git-svn-id: svn://10.0.0.236/trunk@87835 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 21:40:03 +00:00
ducarroz%netscape.com
3869392884 Fix for bug 69966 (smoketest blocker). Do need to do an extra copy especially when this one is bogus. R=jgmyers, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@87832 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 21:26:36 +00:00
gordon%netscape.com
61c1231a4e Adding Makefile.in for new cache service.
git-svn-id: svn://10.0.0.236/trunk@87830 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 21:05:32 +00:00
pavlov%netscape.com
df8e834229 adding cvsignore files
git-svn-id: svn://10.0.0.236/trunk@87828 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 20:52:12 +00:00
pavlov%netscape.com
991ca4e1af making a base imagecontainer impl that handles animation, etc. the platform specific container should inherit from this and overwrite GetPreferredAlphaFormat() and have its draw methods, etc.
git-svn-id: svn://10.0.0.236/trunk@87827 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 20:51:24 +00:00
blakeross%telocity.com
01188f844c Smoketest blocker/autocompletion fix (69949).
git-svn-id: svn://10.0.0.236/trunk@87826 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 20:40:29 +00:00
cls%seawood.org
b81dcfc6cb Use full path on nspr dependency. (missed one last night). Thanks to leaf for the patch. r=cls sr=granrose
git-svn-id: svn://10.0.0.236/trunk@87823 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 20:35:18 +00:00
dave%intrec.com
964eb35031 Oops, typo in patch. = -> eq
git-svn-id: svn://10.0.0.236/trunk@87821 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 19:32:13 +00:00
pavlov%netscape.com
df3268752e returning ns_Error_not_implemented
git-svn-id: svn://10.0.0.236/trunk@87820 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 18:57:05 +00:00
pavlov%netscape.com
f282bc6ac2 using NS_STATIC_CAST(void*, this)
git-svn-id: svn://10.0.0.236/trunk@87819 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 18:40:29 +00:00
pavlov%netscape.com
8fc3684dde append __LINE__ to the local var name when using LOG_SCOPE()
git-svn-id: svn://10.0.0.236/trunk@87818 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 18:32:09 +00:00
rbs%maths.uq.edu.au
589ac66d85 Ignorable whitespace frames are gone - Additions to the inter-frame spacing - Typos - Rework the style of scripting elements - fix for bugs 67451,15402 - this check-in was contingent on the check-in for bug 68411 - sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87817 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 16:10:51 +00:00
rbs%maths.uq.edu.au
842edf4946 First check-in
git-svn-id: svn://10.0.0.236/trunk@87816 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 16:09:14 +00:00
oeschger%netscape.com
359e340bba updates to help chrome, NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@87815 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 14:57:34 +00:00
locka%iol.ie
61cbbb9dd8 NOT PART OF BUILD. Prototype replacement for nsIWebBrowserSiteWindow. b=68581
git-svn-id: svn://10.0.0.236/trunk@87814 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 14:44:58 +00:00
despotdaemon%netscape.com
305023582e Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@87813 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 14:40:19 +00:00
despotdaemon%netscape.com
0c52f2106c Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@87812 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 14:39:04 +00:00
leaf%mozilla.org
97f2ec3949 Automated update
git-svn-id: svn://10.0.0.236/trunk@87811 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 13:30:09 +00:00
jdunn%netscape.com
1c6e899326 defining _REENTRANT for hpux 11.00 & aix 4.3
r= cls@seawood.org
# 69808


git-svn-id: svn://10.0.0.236/trunk@87810 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 13:24:49 +00:00
gordon%netscape.com
cfbd099fb3 Rough first cut of cache service and memory object cache. It currently builds on linux.
git-svn-id: svn://10.0.0.236/trunk@87809 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 13:18:01 +00:00
locka%iol.ie
5237da31b9 NOT PART OF BUILD. Fixed recent breakage and merged export/install dirs into single list. b=68668
git-svn-id: svn://10.0.0.236/trunk@87808 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:54:24 +00:00
rbs%maths.uq.edu.au
a966ddfd0a Declare atoms, update css rules, init a variable to zero - sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87807 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:49:38 +00:00
rbs%maths.uq.edu.au
c07653792a When requested, avoid to create frames for ignorable whitespace - bug 68411 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87806 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:45:19 +00:00
rbs%maths.uq.edu.au
d9c1a81f37 Shift frame-state bits in implementations to the 12 higher bits - bug 68411 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87805 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:42:12 +00:00
rbs%maths.uq.edu.au
1a3029c4da Avoid ignorable whitespace in tables by setting the frame state-bit to this effect - bug 68411 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87804 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:35:34 +00:00
rbs%maths.uq.edu.au
a87f5009f0 Reserve additional frame state-bits - implementations are now only allowed to use the 12 higher bits. The 20 lowest bits are reserved for general use - bug 6841 r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87803 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:31:28 +00:00
pavlov%netscape.com
f162519ea9 more prlog fun.. added class to do scope based logging (enter/exit messages)
git-svn-id: svn://10.0.0.236/trunk@87802 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 10:57:00 +00:00
jst%netscape.com
8be0275595 Adding XUL DOM interfaces, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@87800 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 10:07:18 +00:00
tao%netscape.com
d0a9d4d7f3 fixed bustage (lines slipped in solving conflicts)
git-svn-id: svn://10.0.0.236/trunk@87799 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 09:28:21 +00:00
cls%seawood.org
ce5afdc7d5 Use full pathnames in dependency lists as nmake has a nasty habit of keeping the cwd set across targets.
git-svn-id: svn://10.0.0.236/trunk@87798 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 09:24:23 +00:00
tao%netscape.com
c415f1bb5f Fix bustage on linux: white spaces -> tab.
git-svn-id: svn://10.0.0.236/trunk@87797 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 09:05:33 +00:00
pavlov%netscape.com
589a920f49 adding missing methods
git-svn-id: svn://10.0.0.236/trunk@87796 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 08:42:27 +00:00
pavlov%netscape.com
121915c64a more prlog stuff. some useful info should be generatable from this stuff now
git-svn-id: svn://10.0.0.236/trunk@87795 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 08:36:51 +00:00
tao%netscape.com
1b325908d5 62171: "Separate content from UI". Split langenus.xpi into regus.xpi.
browser: (r=pchen,sr=alecf), mailnews: (r=yamamoto,sr=sspitzer),
editor: (r=cmonske,sr=sfraser), xpinstall (r=ssu,sr=dveditz).


git-svn-id: svn://10.0.0.236/trunk@87794 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 08:34:10 +00:00
sgehani%netscape.com
ee3057c3c0 Make async Install.execute() work again resoolving backward compatibility.
(Checking in for dbragg.)

b = 68356
r = sgehani, dveditz
sr = mscott


git-svn-id: svn://10.0.0.236/trunk@87793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 07:36:49 +00:00
pschwartau%netscape.com
f92ca7f466 Initial add. Regression test for bug 69607.
git-svn-id: svn://10.0.0.236/trunk@87792 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 07:35:47 +00:00
jst%netscape.com
3e16437cb6 Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@87790 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 07:17:27 +00:00
jst%netscape.com
d273de0bf6 Adding file back since it's needed after all, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@87789 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 07:16:56 +00:00
sfraser%netscape.com
de1ba7f8ad TESTING please ignore
git-svn-id: svn://10.0.0.236/trunk@87786 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 06:57:41 +00:00
nisheeth%netscape.com
bcdcfa2b17 r=harishd. sr=vidur. Fix for bug 44094. Fixes off by one error in column number in XML error message.
git-svn-id: svn://10.0.0.236/trunk@87783 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 06:44:37 +00:00
jst%netscape.com
935038b94f Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@87782 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 06:37:55 +00:00
scc%mozilla.org
cdf2240955 bug #67577: r=jag, sr=(ben, hyatt). short circuit full compare with length test
git-svn-id: svn://10.0.0.236/trunk@87781 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 06:28:13 +00:00
cls%seawood.org
6b421e564b So, if the Makefiles do not exist when we want to clean up the directory, make them.
git-svn-id: svn://10.0.0.236/trunk@87780 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 06:07:56 +00:00
morse%netscape.com
97bcbeaa7e bug 69667, wallet and cookie ui missing, r=tao@netscape.com, sr=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87779 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 05:33:33 +00:00
cls%seawood.org
069adb6c70 Set autoconf as the default build method for NSPR on the NSPRPUB_CLIENT_BRANCH. Bug #58804
git-svn-id: svn://10.0.0.236/trunk@87778 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 05:30:00 +00:00
cls%seawood.org
f5bd2a307b Setting autoconf as the default build method for NSPR on the NSPRPUB_CLIENT_BRANCH
Bug #58804


git-svn-id: svn://10.0.0.236/trunk@87777 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 05:27:47 +00:00
cltbld%netscape.com
6ccf6f3820 fix bustage TARGET_CARBON. r=sdagley
git-svn-id: svn://10.0.0.236/trunk@87775 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 04:11:57 +00:00
cltbld%netscape.com
ae2b05b5bc bug 65219, change nsAutoString::Recycle() to delete. r=scc
git-svn-id: svn://10.0.0.236/trunk@87774 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 04:10:38 +00:00
darin%netscape.com
277f829ede Fixes bug 51237. HTTP keep-alive confuses multiple ports on same host. r=gagan, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@87773 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 03:36:21 +00:00
blakeross%telocity.com
ca0ebededd Forced reload, stop button, ability to use bookmark keywords in Open Web Location dialog, persist window choice, .8 -> .9, moving things to more appropriate places (60498, 62078, 49773, others). r=timeless/jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@87772 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 03:31:46 +00:00
blakeross%telocity.com
8d63d5ee77 Forced reload, stop button, ability to use bookmark keywords in Open Web Location dialog, persist window choice, .8 -> .9, moving things to more appropriate places (60498, 62078, 49773, others)
git-svn-id: svn://10.0.0.236/trunk@87771 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 03:27:22 +00:00
jst%netscape.com
3c119e05f6 Fixing regression bug 69716. Make nsHTMLImageElement::GetImageFrame() always initialize the out parameter. r=heikki@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87768 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 03:04:38 +00:00
blakeross%telocity.com
c30a10c7c0 Adding files. Not yet part of build.
git-svn-id: svn://10.0.0.236/trunk@87767 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 03:04:37 +00:00
blakeross%telocity.com
761c7e9508 Adding files. Not part of build yet.
git-svn-id: svn://10.0.0.236/trunk@87766 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 02:58:59 +00:00
blakeross%telocity.com
bd19e52c1e Adding files. Not yet part of build.
git-svn-id: svn://10.0.0.236/trunk@87765 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 02:52:04 +00:00
racham%netscape.com
7730db1c8c Fixing bug 66460. Adding pref needed to implement Check new mail at startup feature. r=bienvenu, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@87764 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 02:48:35 +00:00
scc%mozilla.org
f3c858afc8 bug #69907: rs=brendan. Fix file-level comments in (to be) obsolete string files so they are clearer in LXR directory views.
git-svn-id: svn://10.0.0.236/trunk@87763 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 02:43:42 +00:00
racham%netscape.com
5c0e00b8ac Fixing busg 66460, 66442, 66447, 66376, 69358 and 69909. Bug 66460 - Check new mail at startup introduced. All the accounts with this option turned on will perform biff at startup. Bug 66442 - AccountCentral for alternate layout introduced. Bug 66447 - Modifying the AccountCentral header format. Bug 66376 - Read Messages link in AccountCentral fetches new mail. Bug 69358 - A performance improvement at startup. Bug 69909 - Fixing the AccountCentral headers broken by new stringbundle checkins. r=gayatrib, bienvenu, timeless, blakeross sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@87761 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 02:42:31 +00:00
mstoltz%netscape.com
04525d0f1f bug 63451. Adding nsIJAR.idl to mac project file
git-svn-id: svn://10.0.0.236/trunk@87757 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 02:31:14 +00:00
sspitzer%netscape.com
ba6dbde3d6 control the default url for sound to play on new mail with a pref,
instead of hard coding it.  (really, this is a back door for mac users,
until we have a UI for this.) #64462
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@87756 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 02:27:53 +00:00
sonmi%netscape.com
8445c46d9c improvements, bugfixes, intermediate checkin before trying to make
everything run in . and relative paths to also work on cygnus
not yet activated


git-svn-id: svn://10.0.0.236/trunk@87755 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 02:23:05 +00:00
scc%mozilla.org
3f930de8f0 bug #65219: (work done by dbaron) r=jag, sr=scc. Remove leaking string recyclers.
git-svn-id: svn://10.0.0.236/trunk@87754 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 02:03:02 +00:00
jst%netscape.com
2b8664ff14 Fixing bug 68493. document.body should point to the outermost frameset element in a frameset document. r=pollmann@netscape.com, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@87753 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 02:01:30 +00:00
hyatt%netscape.com
1f709d7c7b Changing the name of my #ifdef.
git-svn-id: svn://10.0.0.236/trunk@87752 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:56:46 +00:00
rods%netscape.com
ba2e2347f8 Now only doing 1 reflow for each reflow request in the ListControlFrame
for initial and full resize reflows
Bug 69869 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87751 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:45:45 +00:00
naving%netscape.com
723bb2038a 66676. r=racham, sr=bienvenu. Maintain the parent-child relationship when adding
folders to trash.


git-svn-id: svn://10.0.0.236/trunk@87750 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:39:42 +00:00
akkana%netscape.com
342ff352ea DougT suggests this change to fix the orange bloat test
git-svn-id: svn://10.0.0.236/trunk@87749 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:39:36 +00:00
darin%netscape.com
7eb78575a5 Whitespace and indentation cleanup.
git-svn-id: svn://10.0.0.236/trunk@87748 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:33:52 +00:00
dave%intrec.com
fa8a6b8b1c Fix for bug 69879: initial owner getting set to NULL if someone was specified on the new bug form. This bug was introduced in the patch for bug 66876 (v1.29 of post_bug.cgi)
git-svn-id: svn://10.0.0.236/trunk@87746 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:04:01 +00:00
rods%netscape.com
77b173f072 factoring of code for Submit/Reset in control frames
Bug 65747 r=pollmann sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87745 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:01:08 +00:00
beard%netscape.com
71004b5db8 restore NeckoCarbon[Debug].shlb targets. r=sfraser, a=jj
git-svn-id: svn://10.0.0.236/trunk@87744 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:00:43 +00:00
darin%netscape.com
642848f637 Updating test files.
git-svn-id: svn://10.0.0.236/trunk@87743 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:53:08 +00:00
dbaron%fas.harvard.edu
75a281929f Fix MOZ_TRACK_MODULE_DEPS bustage (senna tinderbox) by updating requires.
git-svn-id: svn://10.0.0.236/trunk@87742 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:52:11 +00:00
sspitzer%netscape.com
6c52b95c86 fix for #68365. r=hwaara, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@87741 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:46:10 +00:00
andreww%netscape.com
5fb894d212 bugzilla 58747 r=hangas, sr=hewitt - adding back smiley face to pref panel in classic.
git-svn-id: svn://10.0.0.236/trunk@87740 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:45:12 +00:00
andreww%netscape.com
7daa3f23fc First Checked In.
git-svn-id: svn://10.0.0.236/trunk@87739 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:43:08 +00:00
blakeross%telocity.com
79c67cd012 onclick doesn't fire on middle click, and only fires on double right click (63950, 63073, also fixes middle-click link opening like 58354). r=rods sr=alecf
git-svn-id: svn://10.0.0.236/trunk@87737 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:40:19 +00:00
andreww%netscape.com
05864d6a38 bug 57488 r-timeless, sr-hewitt - converting to css system fonts instead of hard-coded fonts.
git-svn-id: svn://10.0.0.236/trunk@87736 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:39:02 +00:00
blakeross%telocity.com
c5f621e37f Using xul <stringbundle/> in mailnews instead of including strres.js everywhere (56680). Patch by Mark Olson (maolson@earthlink.net). r=jag sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@87734 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:28:34 +00:00
rogerl%netscape.com
253c5f239c Need to pass context now.
git-svn-id: svn://10.0.0.236/trunk@87733 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:23:53 +00:00
rogerl%netscape.com
604931d1a7 Added toBoolean handling. Fixed toString & toPrimitive to match spec.
git-svn-id: svn://10.0.0.236/trunk@87732 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:18:46 +00:00
darin%netscape.com
8c215f3458 Partially resolves bug 10733. XP_UNIX does not have an async DNS implementation. r=rpotts, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@87731 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:15:35 +00:00
mstoltz%netscape.com
68e9bdd8c0 bug 63451 - moved signature verification functions from nsIZipReader to nsIJAR. r=sgehani, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@87730 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:15:04 +00:00
cls%seawood.org
e28eb27169 Fix standalone psm bustage.
git-svn-id: svn://10.0.0.236/trunk@87729 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:14:28 +00:00
varada%netscape.com
6004732f36 fix for bug#63889; tabbing to the header section in the addressing widget; r= ben, ducarroz;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@87728 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:13:03 +00:00
gordon%netscape.com
b226a94440 Adding interface files for new cache service.
git-svn-id: svn://10.0.0.236/trunk@87727 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:11:10 +00:00
varada%netscape.com
43aae47ea7 fix for bug#37928;adding domains section to sendformat pref panel;r=ducarroz;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@87726 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:09:31 +00:00
radha%netscape.com
589d2938f4 Fix for bug # 69713. Get rid of unused #defines. r=timeless, adamlock
git-svn-id: svn://10.0.0.236/trunk@87725 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:09:00 +00:00
darin%netscape.com
cb660a141a Fixes bug 66837. Query interface needed. r=dougt, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@87724 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:07:58 +00:00
timeless%mac.com
b1305d9d00 fix bug "Bookmark Search Results" wrongly worded
fix by stephend@netscape.com r=hewitt a=ben


git-svn-id: svn://10.0.0.236/trunk@87723 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:07:16 +00:00
radha%netscape.com
b40312d02f Fix for bug # 69713. Get rid of unused SH_IN_FRAMES #defines. r=timeless, adamlock
git-svn-id: svn://10.0.0.236/trunk@87722 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:05:54 +00:00
waldemar%netscape.com
bd44416b3a Replaced \Q by \_
git-svn-id: svn://10.0.0.236/trunk@87721 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:04:17 +00:00
darin%netscape.com
267630fb89 Fixes bug 58655. nsSyncHelper uses a native event queue. r=dougt, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@87720 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:00:04 +00:00
dougt%netscape.com
c838c4676c Fixes 53152. Basically loosens the restrictions on appending relative paths on windows.
r=brendan/shaver,sr=alecf


git-svn-id: svn://10.0.0.236/trunk@87718 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:52:26 +00:00
hyatt%netscape.com
ba47430c6b Adding image-loading code #ifdefed to XBL. Also eliminating a warning in WIndowDragHandler while I'm here. sr=alecf, r=danm
git-svn-id: svn://10.0.0.236/trunk@87717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:47:30 +00:00
hyatt%netscape.com
1d9c05fae0 Patch to further reduce the time of progress meter and status updates. r=pchen, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@87716 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:46:19 +00:00
naving%netscape.com
38967ee649 59501 r=naving sr=bienvenu. Thanks to spayne@dccnet.com for providing the patch.
Propagate return values.


git-svn-id: svn://10.0.0.236/trunk@87715 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:45:50 +00:00
naving%netscape.com
55da2c3704 59501 r=naving sr=bienvenu. Thanks to spayne@dccnet.com for providing the patch.
Propagate return values


git-svn-id: svn://10.0.0.236/trunk@87714 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:44:53 +00:00
naving%netscape.com
d962e4ef9e 59501 r=naving sr=bienvenu. Thanks to spayne@dccnet.com for providing the patch.
Replacing error codes with XPCOM error codes


git-svn-id: svn://10.0.0.236/trunk@87713 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:43:46 +00:00
naving%netscape.com
9db7ac25da 59501 r=naving sr=bienvenu. Thanks to spayne@dccnet.com for providing the patch.
Stop the cursor when there is an exception


git-svn-id: svn://10.0.0.236/trunk@87711 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:42:48 +00:00
dougt%netscape.com
cc437986fa Enabling FTP on tinderbox bloat tests. (66611)
git-svn-id: svn://10.0.0.236/trunk@87707 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:39:22 +00:00
waterson%netscape.com
fc459b31d8 Obsolete.
git-svn-id: svn://10.0.0.236/trunk@87706 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:38:34 +00:00
wtc%netscape.com
66eee73ceb Bugzilla bug #69496: set the minimum thread stack size on OpenVMS.
r=colin@theblakes.com.
Modified files: _openvms.h, ptthread.c


git-svn-id: svn://10.0.0.236/trunk@87705 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:38:32 +00:00
blakeross%telocity.com
9c7d5fd5db Search filtering options aren't localizable (52308). r=timeless sr=erik
git-svn-id: svn://10.0.0.236/trunk@87704 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:38:02 +00:00
waterson%netscape.com
a1905efe20 Bug 43121. Remove some cruft left over from landing last night.
git-svn-id: svn://10.0.0.236/trunk@87703 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:37:22 +00:00
waterson%netscape.com
d13cb376f5 Bug 69778. Be sure to shut down nsXULContentUtils. r=dbaron, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@87701 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:36:06 +00:00
blakeross%telocity.com
4f80c953b5 Tabs should only change on right click (69245). r=timeless sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@87700 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:35:41 +00:00
mcgreer%netscape.com
68f924d35c fix for #63982, -o not using file password
git-svn-id: svn://10.0.0.236/trunk@87699 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:35:17 +00:00
blakeross%telocity.com
3220ed3be0 My Sidebar won't stay minimized (by Fabian Guisset, 60715). r=alecf sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@87698 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:34:42 +00:00
blakeross%telocity.com
6c2fd532e6 Using xul <stringbundle/> in mailnews instead of including strres.js everywhere. Patch by Mark Olson (maolson@earthlink.net). r=jag sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@87697 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:32:13 +00:00
hewitt%netscape.com
f85c4bdb7c brings inspector back to life after layout split (not part of build)
git-svn-id: svn://10.0.0.236/trunk@87695 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:29:05 +00:00
nhotta%netscape.com
423d4d4837 Changed to cache unicode decoder, bug 68826, r=yokoyama, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@87694 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:27:53 +00:00
nhotta%netscape.com
5144cc62b6 Changed to use OS API to convert to unicode, bug 68826, r=yokoyama, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@87693 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:27:11 +00:00
dbragg%netscape.com
375db8cd33 Preventing multiple shutdowns of nsXPInstallManager to fix bug #51098. r=dveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@87692 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 23:26:47 +00:00
cyeh%bluemartini.com
70e7510837 cleanup footer when not logged in and if using voting.
git-svn-id: svn://10.0.0.236/trunk@87689 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 22:11:27 +00:00
mcafee%netscape.com
85b8d8a4b8 Backing out embed.* change, we should create embed module. a=leaf
git-svn-id: svn://10.0.0.236/trunk@87688 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 22:05:37 +00:00
cyeh%bluemartini.com
44689e7095 break Find and Report links to a seperate line so that it looks cleaner
on browser windows with shorter widths. also, the second line
matches nicely with the other table cell.


git-svn-id: svn://10.0.0.236/trunk@87687 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 21:59:25 +00:00
mcafee%netscape.com
14cd4bb8d7 Adding embed.mk, embed.mak to SeaMonkeyCore for now. Better modules for embedding project need to happen at some point. a=leaf
git-svn-id: svn://10.0.0.236/trunk@87686 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 21:53:21 +00:00
dougt%netscape.com
b26d76a76a fixes 69764. r=darin, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@87683 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 20:19:50 +00:00
darin%netscape.com
ebd8a9c423 Fixes bug 69798. Crash on sending TLS mail message. r=darin, sr=dougt.
git-svn-id: svn://10.0.0.236/trunk@87682 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 19:51:08 +00:00
cyeh%bluemartini.com
3852ce3cfd fix for 69688: buglist.cgi: the intermediate "please stand by" page is ugly
patch submitted by st.n@gmx.net (Stephan Niemz [faniz])


git-svn-id: svn://10.0.0.236/trunk@87681 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 18:36:06 +00:00
relyea%netscape.com
d7b55573fe Fix mismatched parameter problem.
git-svn-id: svn://10.0.0.236/trunk@87680 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 18:27:28 +00:00
despotdaemon%netscape.com
768333a030 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@87679 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 18:26:35 +00:00
cyeh%bluemartini.com
d9a28fb8af fix for 66876: Using userids (mediumint) for initialowner and initialqacontact
based on patch submitted by baulig@suse.de (Martin Baulig).


git-svn-id: svn://10.0.0.236/trunk@87678 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 18:11:29 +00:00
attinasi%netscape.com
0df6d938bb new testcase. NPOB
git-svn-id: svn://10.0.0.236/trunk@87677 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 16:06:46 +00:00
attinasi%netscape.com
3697f43a52 New regression testcase. BPOB
git-svn-id: svn://10.0.0.236/trunk@87676 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 16:06:18 +00:00
nboyd%atg.com
9519af4e3a Real fix for last problem.
git-svn-id: svn://10.0.0.236/trunk@87675 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 14:45:10 +00:00
dbaron%fas.harvard.edu
27db430146 Fix MOZ_TRACK_MODULE_DEPS bustage resulting from string and xul changes.
git-svn-id: svn://10.0.0.236/trunk@87674 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 14:06:14 +00:00
gerv%gerv.net
11e53170a3 Made dupe table populating code not break on multi-line dupe comments. Thanks to Alex Melnick <alex@get.topica.com>. No bug number.
git-svn-id: svn://10.0.0.236/trunk@87673 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 14:05:34 +00:00
dbaron%fas.harvard.edu
ad4eab1513 Fix standalone PSM bustage from layout/content split by adding content/base/public.
git-svn-id: svn://10.0.0.236/trunk@87672 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 14:01:05 +00:00
rods%netscape.com
737c22dbf1 Added additional reflow count info on a frame by frame basis
Bug 69361 r=attinasi sr=waterson


git-svn-id: svn://10.0.0.236/trunk@87671 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 13:58:17 +00:00
dbaron%fas.harvard.edu
fee1de6feb Fix broken (from waterson's changes yesterday) BUILD_MODULES=psm build by removing rdf/content/public (which no longer has a Makefile) from the list for PSM. I can't tell which new directory, if any, is needed, since there's other bustage preventing a psm build without having already built mozilla.
git-svn-id: svn://10.0.0.236/trunk@87670 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 13:56:31 +00:00
dbaron%fas.harvard.edu
170f8e9628 Fix MOZ_TRACK_MODULE_DEPS bustage resulting from string and xul changes.
git-svn-id: svn://10.0.0.236/trunk@87669 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 13:06:50 +00:00
dbaron%fas.harvard.edu
193b073352 Fix MOZ_TRACK_MODULE_DEPS bustage resulting from string and xul changes.
git-svn-id: svn://10.0.0.236/trunk@87668 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 12:48:42 +00:00
dbaron%fas.harvard.edu
22d8d8d8e5 Fix MOZ_TRACK_MODULE_DEPS bustage resulting from string and xul changes.
git-svn-id: svn://10.0.0.236/trunk@87667 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 12:20:04 +00:00
disttsc%bart.nl
f5c4b8c9f6 Update REQUIRES to fix senna bustage
git-svn-id: svn://10.0.0.236/trunk@87666 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 12:18:48 +00:00
dbaron%fas.harvard.edu
4b36795153 Fix MOZ_TRACK_MODULE_DEPS bustage resulting from string changes.
git-svn-id: svn://10.0.0.236/trunk@87665 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 12:13:32 +00:00
rods%netscape.com
b62ed3f96e In some cases the mForm pointer doesn't get set because of the way the content can be constructed
and added via the DOM. So before it is used try to find and set its value again.
Bug 62799 r=harishd sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87664 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 11:33:57 +00:00
rods%netscape.com
3800dd7170 The loop looking for the domText should only quit when a non-zero string is found.
Bug 68963 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87663 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 11:30:53 +00:00
timeless%mac.com
f87074c57e fix bug 43675 Download alert shouldn't say "Netscape"
fix by hwaara@chello.se r=timeless, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@87662 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 11:11:58 +00:00
markh%activestate.com
8aa9825717 New plugin sample. Shows how to use native widgets and events in a plugin.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@87661 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 11:03:16 +00:00
disttsc%bart.nl
d65e5cd817 More REQUIRES updating to fix senna.
git-svn-id: svn://10.0.0.236/trunk@87660 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 10:45:51 +00:00
timeless%mac.com
18c4f97d32 fix bug 68924 -remote option not listed in --help due to mis-spelling
fix by bzbarsky@mit.edu r=timeless, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@87659 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 10:23:11 +00:00
timeless%mac.com
2f43c71a22 fix bug 41083 Signature path not stored correctly when containing non-english characters
patch by alecf, updated by timeless and bz. r=sspitzer,alecf sr=mscott,alecf


git-svn-id: svn://10.0.0.236/trunk@87658 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 10:18:54 +00:00
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +00:00
cls%seawood.org
73863300a2 Let the standalone xpcom build know about the string library dependency. Bug 69718
git-svn-id: svn://10.0.0.236/trunk@87653 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:24:57 +00:00
hyatt%netscape.com
06042ec866 Fix for 69142. r=attinasi, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87652 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:24:50 +00:00
pavlov%netscape.com
7ce8d7e09c oops, not on branch... reverting
git-svn-id: svn://10.0.0.236/trunk@87651 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:19:28 +00:00
pavlov%netscape.com
2e85c22512 imglib2 changes based on 20010222 tree
git-svn-id: svn://10.0.0.236/trunk@87650 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:19:27 +00:00
pavlov%netscape.com
1988bc5313 use the new necko interfaces/apis
git-svn-id: svn://10.0.0.236/trunk@87649 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 08:41:20 +00:00
morse%netscape.com
0725387397 bug 69667, repackage wallet/cookie overlays, r=dougt@netacape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87648 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 07:40:56 +00:00
brendan%mozilla.org
b32bfc9ddd Fix duplicate parsenode recycle in constant-folded if/else or ?: (69607, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@87647 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 07:30:57 +00:00
gayatrib%netscape.com
8ec9747fa8 Checking in patch for bug 68505--cant delete mail filter. Patch submitted by jag. r=gayatrib sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@87646 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 07:27:10 +00:00
ftang%netscape.com
cb02b25851 fix bug 67840 sr=erik r=ftang submit by David Baron
git-svn-id: svn://10.0.0.236/trunk@87644 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 07:16:13 +00:00
timeless%mac.com
e6dd3c4be7 fix bug 69394 address book field names should be less U.S.-centric, even in U.S. version
fix by stephend@netscape.com r=chuang sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@87643 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 06:39:29 +00:00
nicolson%netscape.com
b7c6610996 update version names and numbers.
git-svn-id: svn://10.0.0.236/trunk@87642 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 06:20:44 +00:00
nicolson%netscape.com
54c7bdf950 Add build flags for other unix platforms. These were copied and pasted
out of NSS's config.mk.


git-svn-id: svn://10.0.0.236/trunk@87641 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 06:16:41 +00:00
nicolson%netscape.com
755ad2603f Symbol map for creating the JSS DLL.
git-svn-id: svn://10.0.0.236/trunk@87640 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 06:14:31 +00:00
waterson%netscape.com
4d9333a0b1 Remove nsReadableUtils.obj and nsSharedBufferList.obj from build; moved to top-level strings directory yesterday.
git-svn-id: svn://10.0.0.236/trunk@87639 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 05:17:28 +00:00
blakeross%telocity.com
d362abcd82 ack...missed the t'box message asking to hold off on checkins. Maybe it should be in red or something. Oh, it is...
git-svn-id: svn://10.0.0.236/trunk@87638 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 05:03:32 +00:00
blakeross%telocity.com
386e6443f2 Search options aren't localizable (52308). r=timeless sr=erik
git-svn-id: svn://10.0.0.236/trunk@87637 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 05:01:20 +00:00
mkaply%us.ibm.com
a84b5bc4c5 OS/2 TB break
Need PR_STATIC_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@87636 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 04:47:26 +00:00
mkaply%us.ibm.com
012b826b59 #69642
r=cls
Need SHORT_LIBNAME for OS/2


git-svn-id: svn://10.0.0.236/trunk@87635 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 04:33:59 +00:00
sdagley%netscape.com
1a401b09cb This file was supposed to be part of the Carbon carpool last week but somehow didn't get comitted. Trying again.
git-svn-id: svn://10.0.0.236/trunk@87633 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 04:24:36 +00:00
sdagley%netscape.com
3520fbb56e Fix #40101 - Remove inclusion of 68K secific header. Patch supplied by gordon@sunvalley.net, r=sdagley, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87632 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 04:22:27 +00:00
sfraser%netscape.com
f130cc329b Add SetDocTitleTxn.cpp for cmanske
git-svn-id: svn://10.0.0.236/trunk@87631 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 04:18:20 +00:00
scc%mozilla.org
0ad00947ce bug #59429: CVS remove all the files that have moved to the new string library
git-svn-id: svn://10.0.0.236/trunk@87629 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 04:03:36 +00:00
pollmann%netscape.com
b264a9f1ba Bug 69365: Fix mail reply-all by reverting pres-state optimizations r=ducarroz@netscape.com, sr=jst@netscape.com,vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87628 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 03:16:34 +00:00
jgmyers%netscape.com
e8377c838d override Available method needed for dougt landing r=javi
git-svn-id: svn://10.0.0.236/trunk@87626 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 03:03:17 +00:00
jgmyers%netscape.com
dbe988175c header decoding should use folder charset: bug 65277, allow spaces bug 69251 r=ducarroz r=nhotta sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@87625 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 03:02:00 +00:00
waterson%netscape.com
072b4036bc Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@87623 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 03:01:34 +00:00
cyeh%bluemartini.com
f681222363 fix for 67278: Footer lines need separation
patch submitted by shie9022@msmailhub.oulan.ou.edu (Alan Shields)
make saved queries display better


git-svn-id: svn://10.0.0.236/trunk@87621 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 02:20:58 +00:00
pavlov%netscape.com
08fc2e42e9 remove lots of useless ifdef PR_LOGGING lines
git-svn-id: svn://10.0.0.236/trunk@87620 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 02:12:21 +00:00
pavlov%netscape.com
8130651827 add pr logging of stuff, fixing places where we try to remove an observer multiple times. use GetOriginalURI isntead of GetURI on the channel when an error occurs and we have to remove ourselves from the cache
git-svn-id: svn://10.0.0.236/trunk@87619 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 02:06:24 +00:00
jgmyers%netscape.com
4ec9ee9a5b reapply bryner's fixes for dougt landing. Not part of build. r=javi
git-svn-id: svn://10.0.0.236/trunk@87618 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 01:42:12 +00:00
leaf%mozilla.org
5dcf428396 making xpcom be just mozilla/xpcom again, rather than listed as individual
directories. -leaf


git-svn-id: svn://10.0.0.236/trunk@87616 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 01:32:46 +00:00
sonmi%netscape.com
2fe3df4663 new script to do the certificate portion of the nss QA
git-svn-id: svn://10.0.0.236/trunk@87609 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 23:56:14 +00:00
sfraser%netscape.com
5c83fc84ba Remove extra access paths into zlib's macbuild dir, in non-debug targets. Should avoid "files missing from view hierarchy" errors.
git-svn-id: svn://10.0.0.236/trunk@87603 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 23:03:03 +00:00
dougt%netscape.com
18dd01466d Suggested fix from scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@87602 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 23:02:29 +00:00
disttsc%bart.nl
0fb2740ab9 Fix senna bustage (and bustage to be), update REQUIRES for dougt's channel changes and scc's string lib changes. r=cls
git-svn-id: svn://10.0.0.236/trunk@87601 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 22:35:36 +00:00
relyea%netscape.com
08c4323d94 Fix bug 69471 and bug 69472 : Memory leak in PK11_VerifyMechanisms and incorrectly
calling EnterSlotMonitor rather than ExitSlotMonitor on an error condition.

bob


git-svn-id: svn://10.0.0.236/trunk@87599 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 22:22:33 +00:00
relyea%netscape.com
bc95daf620 Leave a reference to the static version strings so agressive linkers linkers
like AIS won't optimize the id strings away.


git-svn-id: svn://10.0.0.236/trunk@87598 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 22:18:42 +00:00
dougt%netscape.com
ac5656785e making the SunOS complier happy with an static cast
git-svn-id: svn://10.0.0.236/trunk@87597 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 22:15:31 +00:00
dave%intrec.com
b72541c22a Fix for bug 49306: Resolution field getting cleared on midair-collision.
git-svn-id: svn://10.0.0.236/trunk@87596 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 22:13:34 +00:00
dougt%netscape.com
05c628db82 fixing typo.
git-svn-id: svn://10.0.0.236/trunk@87595 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 21:51:50 +00:00
dougt%netscape.com
175245e2de Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
relyea%netscape.com
ab692d2668 Add wrapper bindings for AES so S/MIME and SSL may implement their AES suites.
git-svn-id: svn://10.0.0.236/trunk@87582 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 19:52:12 +00:00
brade%netscape.com
6c8f84ae7e comment out HideImage() which was moved (to fix blocker #69669) r=granrose
git-svn-id: svn://10.0.0.236/trunk@87581 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 19:13:14 +00:00
wtc%netscape.com
865f988f77 Bugzilla bug #1816: allow building on Windows 98 with MKS or Cygwin tools.
git-svn-id: svn://10.0.0.236/trunk@87578 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 17:13:05 +00:00
blizzard%redhat.com
69610cc3f2 Fix bug #67988. Fix focus problems in mail/news. Don't always grab the gtk widget when someone requests focus...after all it's just a request. This also might fix bug #68004. r=bryer,saari sr=shaver
git-svn-id: svn://10.0.0.236/trunk@87577 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 15:58:59 +00:00
scc%mozilla.org
727c3ba7dc bug #59429: xpcom gets string code from mozilla/string instead of locally
git-svn-id: svn://10.0.0.236/trunk@87576 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 14:05:29 +00:00
disttsc%bart.nl
aed241cdb6 Put strings in MODULE=string, sr=scc
git-svn-id: svn://10.0.0.236/trunk@87575 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 14:04:08 +00:00
disttsc%bart.nl
160208ac22 Fix senna REQUIRES bustage
git-svn-id: svn://10.0.0.236/trunk@87574 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 13:38:30 +00:00
scc%mozilla.org
16239c89d8 fix build bustage on senna (ports) by adding |REQUIRES|. r=jag
git-svn-id: svn://10.0.0.236/trunk@87573 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 12:35:31 +00:00
locka%iol.ie
d98e6475d7 Added new targets for recent layout/content split. b=68668
git-svn-id: svn://10.0.0.236/trunk@87572 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 12:27:49 +00:00
locka%iol.ie
91fac1c6b1 NOT PART OF BUILD. Updated Unix/Linux embedding makefile to work once more. Changed target modules for recent layout/content split. b=68668
git-svn-id: svn://10.0.0.236/trunk@87571 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 12:27:11 +00:00
scc%mozilla.org
e00711225b bug #59429: r=jst. Add the string module to the build.
git-svn-id: svn://10.0.0.236/trunk@87570 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 11:14:59 +00:00
scc%mozilla.org
04fb6422cc bug #59429: (makefile work actually done by jst) r=glazou, sr=scc. Add the string module to the build.
git-svn-id: svn://10.0.0.236/trunk@87569 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 11:09:35 +00:00
brendan%mozilla.org
63fc86174f Remove unused code (sr=jband, r=mozbot).
git-svn-id: svn://10.0.0.236/trunk@87568 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 10:49:35 +00:00
idk%eng.sun.com
85dd7da758 (not part of TBOX builds)
Fix for 69234


git-svn-id: svn://10.0.0.236/trunk@87567 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 09:09:55 +00:00
morse%netscape.com
8f374ff271 fix bustage
git-svn-id: svn://10.0.0.236/trunk@87564 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 08:04:20 +00:00
morse%netscape.com
c4364257e8 bug 31967, wallet overlays, r=alecf@netscape.com, sr=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87559 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 05:28:18 +00:00
timeless%mac.com
129d9f9909 fix bug 58408 Trailing whitespace not stripped from filename being printed to
fix by bzbarsky@mit.edu r=mao,timeless sr=alecf


git-svn-id: svn://10.0.0.236/trunk@87556 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 05:19:59 +00:00
scc%mozilla.org
30691a17ec adding this file temporarily, till leaf can copy over the CVS file for the original (currently in mozilla/xpcom/ds/bufferRoutines.h). Need this file here to turn this library in the build
git-svn-id: svn://10.0.0.236/trunk@87555 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 05:15:50 +00:00
morse%netscape.com
a9aa95c87d new file, not yet part of build
git-svn-id: svn://10.0.0.236/trunk@87554 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 05:14:11 +00:00
endico%mozilla.org
725d8ca0eb Allow double quotes around LXRSHORTDESC and LXRLONGDESC since to be valid html, these must be quoted.
git-svn-id: svn://10.0.0.236/trunk@87553 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 05:14:10 +00:00
morse%netscape.com
65ce099540 new file, not yet part of build
git-svn-id: svn://10.0.0.236/trunk@87552 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 05:04:31 +00:00
hyatt%netscape.com
8938f0616b Fix a frame creation slowdown caused by XBL. 2-3% speedup. r=danm, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87542 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 03:18:45 +00:00
nboyd%atg.com
9b21df1f8a Subject:
Rhino Context.setTargetClassFileName() null pointer exception
        Date:
             Tue, 20 Feb 2001 15:28:20 -0800
       From:
             "Ryan Manwiller" <rdm@europa.com>
 Organization:
             Another Netscape Collabra Server User
 Newsgroups:
             netscape.public.mozilla.jseng




I'm setting the file name to compile to a file. However, on subsequent
compiles, I don't want to compile to a file, so I tried
setTargetClassFileName(null). This causes a NullPpinterException in
OptClassNameHelper.setTargetClassFileName(OptClassNameHelper.java:76)

It seems that Context.setTargetClassFileName() should check for null.

Thanks


git-svn-id: svn://10.0.0.236/trunk@87535 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 02:08:05 +00:00
sonmi%netscape.com
e2a8e09477 added a function to watch for hanging rsh processes, if an rsh does not
return for 60 seconds it will be killed


git-svn-id: svn://10.0.0.236/trunk@87534 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 01:53:00 +00:00
morse%netscape.com
d5c532574a *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@87533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 01:40:07 +00:00
mkaply%us.ibm.com
e504a5ea8f #69422
r=blake, a=alecf
Wrong accesskey for background color


git-svn-id: svn://10.0.0.236/trunk@87532 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 01:15:52 +00:00
waterson%netscape.com
1ee20e4e32 First checked in; not yet part of the build.
git-svn-id: svn://10.0.0.236/trunk@87529 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 01:13:03 +00:00
pschwartau%netscape.com
d1d7723af6 Minor whitespace deletion -
git-svn-id: svn://10.0.0.236/trunk@87527 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 00:58:41 +00:00
waterson%netscape.com
30f03e46e7 These files got whacked when they shouldn't have. Reverting.
git-svn-id: svn://10.0.0.236/trunk@87525 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 00:40:13 +00:00
pschwartau%netscape.com
f926ec54a5 Minor change to comment -
git-svn-id: svn://10.0.0.236/trunk@87524 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 00:39:46 +00:00
andreww%netscape.com
3d4042fe3d bugzilla 68693 r-blake, sr-hewitt - fixing min height for buttons.
git-svn-id: svn://10.0.0.236/trunk@87522 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 00:36:44 +00:00
syd%netscape.com
c862eacd1b Fix for bug 67981. checking in for anatoliya@netscape.com r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@87521 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 00:34:04 +00:00
pschwartau%netscape.com
eb40cad89a Improving error message -
git-svn-id: svn://10.0.0.236/trunk@87520 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 00:27:13 +00:00
jband%netscape.com
f990e0318c Avoid use of dead JSContext in dtor. bug 69463. Thanks to Waleri Todorov <waleri@gti.bg> for pointing out this bug. r=shaver sr=brendan
git-svn-id: svn://10.0.0.236/trunk@87518 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 00:01:30 +00:00
leaf%mozilla.org
710885dd18 adding mozilla/string to SeaMonkeyBase -leaf
git-svn-id: svn://10.0.0.236/trunk@87516 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:52:15 +00:00
timeless%mac.com
6d926e3447 fix bug 69012 vi control characters added to string accidentally
by maolson@earthlink.net r=timeless, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@87515 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:51:56 +00:00
pavlov%netscape.com
98da3aecfa aw yeah
git-svn-id: svn://10.0.0.236/trunk@87514 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:49:46 +00:00
pavlov%netscape.com
2f25e783d0 fixing decl stuff
git-svn-id: svn://10.0.0.236/trunk@87513 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:49:13 +00:00
pavlov%netscape.com
c9d3f54b45 changing libpr0n filenames to img*
git-svn-id: svn://10.0.0.236/trunk@87512 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:45:51 +00:00
cyeh%bluemartini.com
6e64e8d9cf fix for 61648: SQL inserts do not match constraints
patch submitted by kevin.brannen@springbow.com (Kevin Brannen)
change checksetup inserts to match database constraints.


git-svn-id: svn://10.0.0.236/trunk@87511 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:43:32 +00:00
pavlov%netscape.com
bd80e45a2f build baby build
git-svn-id: svn://10.0.0.236/trunk@87510 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:35:22 +00:00
tara%tequilarista.org
5473401e61 Yeah, this is pretty cool. Checking in patch for bug #27669 by Stephan Niemz
git-svn-id: svn://10.0.0.236/trunk@87509 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:33:28 +00:00
pavlov%netscape.com
4cdf778bcf renaming
git-svn-id: svn://10.0.0.236/trunk@87508 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:29:43 +00:00
pinkerton%netscape.com
f09007a9e1 Support for CF_HTML flavor when copying data to other win32 apps.
r=saari/sr=hyatt. bug#69363


git-svn-id: svn://10.0.0.236/trunk@87507 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:27:57 +00:00
dbragg%netscape.com
b60b93d745 Fix for regression bug 69166. No longer checking return of MoveTo call and returning UNEXPECTED_ERROR. r=dvedtiz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@87506 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:27:53 +00:00
pavlov%netscape.com
60fa8a1272 lets do imgIRequest instead of lpIImageRequest
git-svn-id: svn://10.0.0.236/trunk@87505 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:27:48 +00:00
waterson%netscape.com
f52e260e89 Bug 69009. Don't look for duplicates when reading in bookmarks. r=ben, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@87504 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:18:13 +00:00
pavlov%netscape.com
6af424d329 s/NS_DECL_NSIIMAGE/NS_DECL_GFXIIMAGE/g
git-svn-id: svn://10.0.0.236/trunk@87503 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:15:26 +00:00
pavlov%netscape.com
b168433663 fix build issues
git-svn-id: svn://10.0.0.236/trunk@87502 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:13:54 +00:00
sonmi%netscape.com
1a9886c867 test choked on a ]# - replaced by ] #
git-svn-id: svn://10.0.0.236/trunk@87501 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:11:55 +00:00
pavlov%netscape.com
0cebdf2f2d changing to new interface names
git-svn-id: svn://10.0.0.236/trunk@87499 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:09:09 +00:00
pavlov%netscape.com
5a963e4eb3 adding file...
git-svn-id: svn://10.0.0.236/trunk@87498 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:03:47 +00:00
pavlov%netscape.com
40a8fd9072 renaming nsIImageRequest2
git-svn-id: svn://10.0.0.236/trunk@87497 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:02:50 +00:00
pavlov%netscape.com
0b2579b071 changes for build
git-svn-id: svn://10.0.0.236/trunk@87496 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:00:49 +00:00
pavlov%netscape.com
b27d2f1168 changing nsIImageRequest[2] to lpImageRequest
git-svn-id: svn://10.0.0.236/trunk@87493 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 22:55:53 +00:00
pavlov%netscape.com
fb0ba267e1 changing nsIImageRequest2.idl to lpIImageRequest.idl
git-svn-id: svn://10.0.0.236/trunk@87492 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 22:55:15 +00:00
pavlov%netscape.com
d6b3bc3ee0 adding gif decoder.. oops
git-svn-id: svn://10.0.0.236/trunk@87488 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 22:45:10 +00:00
pavlov%netscape.com
9c0c9a9cbc merge from IMGLIB_20010126_BRANCH
git-svn-id: svn://10.0.0.236/trunk@87487 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 22:43:56 +00:00
pavlov%netscape.com
a57660fda5 merging from IMGLIB2_20010126_BRANCH
git-svn-id: svn://10.0.0.236/trunk@87486 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 22:41:47 +00:00
pavlov%netscape.com
26ddec0273 mering from the IMGLIB2_20010126_BRANCH
git-svn-id: svn://10.0.0.236/trunk@87485 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 22:40:03 +00:00
pavlov%netscape.com
9ad1630409 removing files on tip
git-svn-id: svn://10.0.0.236/trunk@87484 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 22:33:58 +00:00
pavlov%netscape.com
55488b992b removing gfx2 stuff on head in prep for merge from branch
git-svn-id: svn://10.0.0.236/trunk@87482 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 22:27:56 +00:00
dave%intrec.com
54e1bf6623 Fix for bug 69269: misleading comment for reassign by component when QA Contact is in use.
git-svn-id: svn://10.0.0.236/trunk@87479 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 22:19:10 +00:00
pschwartau%netscape.com
abca09bf72 Revising error in test. See bug 69441, where this was pointed out -
git-svn-id: svn://10.0.0.236/trunk@87478 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 22:11:44 +00:00
sonmi%netscape.com
be0c5ddedd formatted to tabstop 8
git-svn-id: svn://10.0.0.236/trunk@87477 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 22:00:50 +00:00
sonmi%netscape.com
206a3fd408 formated to tabstop 8
git-svn-id: svn://10.0.0.236/trunk@87475 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 21:55:47 +00:00
sonmi%netscape.com
65706d1efe deleted comments, formated with tabstop 8
git-svn-id: svn://10.0.0.236/trunk@87474 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 21:53:52 +00:00
cyeh%bluemartini.com
89d9949ee8 fix for 9302: Would be nice if attachment + number was a link too.
patch submitted by afranke@ags.uni-sb.de (Andreas Franke)
thanks for the patch. Now can reference attachments in other bugs as an HTML
link.


git-svn-id: svn://10.0.0.236/trunk@87473 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 21:49:59 +00:00
sonmi%netscape.com
26d903d031 formatted according to the nss tab 8 rules
git-svn-id: svn://10.0.0.236/trunk@87472 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 21:49:30 +00:00
rogerl%netscape.com
667f2a187d Fixed unused vars. Added string literal as alternative function name.
Implemented invokeCall to use override.


git-svn-id: svn://10.0.0.236/trunk@87471 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 21:39:59 +00:00
cyeh%bluemartini.com
e77aaa22b0 fix for 58436 : javascript strict warnings in query.cgi
changed to f.target_milestone


git-svn-id: svn://10.0.0.236/trunk@87468 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 21:15:12 +00:00
mkaply%us.ibm.com
ee762b76ac OS/2 Bustage
SHORT_LIBNAME should be 8 characters or less


git-svn-id: svn://10.0.0.236/trunk@87466 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 20:38:28 +00:00
waterson%netscape.com
f543934a03 Bug 69523. Add content DLLs to xpinstall package lists. a=leaf
git-svn-id: svn://10.0.0.236/trunk@87465 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 20:29:11 +00:00
waterson%netscape.com
940a2a2356 Bug 69475. Fix bogo checking for last night. Not sure how I lost this line. a=leaf
git-svn-id: svn://10.0.0.236/trunk@87463 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 20:07:10 +00:00
locka%iol.ie
dd6758b5f8 Fix embedding package after recent layout/content split a=leaf@mozilla.org r=valeski@netscape.com b=68942
git-svn-id: svn://10.0.0.236/trunk@87462 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 19:57:32 +00:00
locka%iol.ie
f99cec7b5b Fix embedding package after the recent layout/content split. a=leaf@mozilla.org r=valeski@netscape.com b=68942
git-svn-id: svn://10.0.0.236/trunk@87461 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 19:56:37 +00:00
despotdaemon%netscape.com
a594f94687 Pseudo-automatic update of changes made by cpratt@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@87459 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 19:06:36 +00:00
beard%netscape.com
44c9757970 [not part of build] drawThemeButton has same signature as others, and assumes a "kind=pushButton" argument. added drawThemeProgressbar.
git-svn-id: svn://10.0.0.236/trunk@87455 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 16:53:32 +00:00
mkaply%us.ibm.com
aadb898618 #67477
r=mkaply, a=blizzard
Code from jkobal - need to filter another char message


git-svn-id: svn://10.0.0.236/trunk@87451 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 15:50:58 +00:00
oeschger%netscape.com
3680885d6e just renaming the HTML files checked in last night (sr=alecf, r=leaf, b=67376), extra r=bz on renaming files in cvs
git-svn-id: svn://10.0.0.236/trunk@87449 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 15:01:31 +00:00
dbaron%fas.harvard.edu
aeb8d09853 Improve the boehm GC's ability to dump all leaked objects at shutdown. Patch partly by waterson@netscape.com, partly by me. r=beard@netscape.com sr=brendan@mozilla.org b=59967
git-svn-id: svn://10.0.0.236/trunk@87448 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 13:50:26 +00:00
dbaron%fas.harvard.edu
ef702b8243 Make ImageListener not confuse leak logging by doing refcounting the way we do it everywhere else. r=disttsc@bart.nl sr=brendan@mozilla.org b=64452
git-svn-id: svn://10.0.0.236/trunk@87447 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 13:46:59 +00:00
dbaron%fas.harvard.edu
a1ecca2ca4 Remove static constructor for nsStyleColor. r=disttsc@bart.nl sr=brendan@mozilla.org b=67341
git-svn-id: svn://10.0.0.236/trunk@87446 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 13:44:43 +00:00
locka%iol.ie
db431b7f8a Added a missing break statement to embedding API. b=68934
git-svn-id: svn://10.0.0.236/trunk@87445 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 13:34:22 +00:00
markh%activestate.com
7ed8ac770d Final tweak for Windows - now that jband's xpcom changes are in it builds fine.
git-svn-id: svn://10.0.0.236/trunk@87444 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 11:42:53 +00:00
jband%netscape.com
c142926d43 bug 66610 - add xpconnect support for DOMStrings. r=jst sr=brendan
git-svn-id: svn://10.0.0.236/trunk@87443 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 08:09:19 +00:00
hewitt%netscape.com
56f3995543 Enables deletion of nodes in tree, inspecting of <browser> and <iframe> documents. (Not Part of Build) (No small animals were injured in the making of this checkin)
git-svn-id: svn://10.0.0.236/trunk@87442 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 06:34:18 +00:00
nicolson%netscape.com
bdda5a2d24 Get everything building and linking on WINNT.
git-svn-id: svn://10.0.0.236/trunk@87441 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 05:38:45 +00:00
nicolson%netscape.com
dd61294527 Use ' instead of " for classpath.
git-svn-id: svn://10.0.0.236/trunk@87440 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 05:37:43 +00:00
brendan%mozilla.org
71380173a4 Don't flush cached properties one-by-one if GC'ing, because the GC flushes the whole thing (68735, r=jst, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@87439 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 05:01:14 +00:00
beard%netscape.com
c5794ab91f [not part of build] added gThemeActions dispatch table.
git-svn-id: svn://10.0.0.236/trunk@87433 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 04:17:09 +00:00
waterson%netscape.com
0290f55184 Remove layoutxsl.o from optimized build, too.
git-svn-id: svn://10.0.0.236/trunk@87431 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 03:55:02 +00:00
waterson%netscape.com
b73433a6f5 Bug 15586. Call nsIRDFXMLSinkObservers on synchronous load, too. r=dougt, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@87430 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 03:31:24 +00:00
dbaron%fas.harvard.edu
6a595eb388 Remove unused file that should have been removed with all the others in today's carpool. r=jst
git-svn-id: svn://10.0.0.236/trunk@87429 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 03:07:13 +00:00
mkaply%us.ibm.com
b7dc5f623b #60412
r=kmcclusk, sr=erik
Lowercase mGeneric before using it


git-svn-id: svn://10.0.0.236/trunk@87428 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 03:06:40 +00:00
waterson%netscape.com
50746d2650 Really remove nsStyleCoord.cpp
git-svn-id: svn://10.0.0.236/trunk@87427 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 02:33:54 +00:00
oeschger%netscape.com
6a4524bcef checking in inert help files for eventual building in mozilla, r=leaf, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@87426 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 02:03:24 +00:00
dbaron%fas.harvard.edu
549444f5f5 Fixing IRIX bustage by adding libgkconbase_s to libs since libgkbase_s was split.
git-svn-id: svn://10.0.0.236/trunk@87424 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:59:11 +00:00
jst%netscape.com
61b8cafc64 Removing unused empty file.
git-svn-id: svn://10.0.0.236/trunk@87422 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:50:38 +00:00
sfraser%netscape.com
cb0bb2e184 Remove nsStyleCoord.cpp for jst.
git-svn-id: svn://10.0.0.236/trunk@87420 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:40:23 +00:00
jst%netscape.com
4d2e1014d9 Removing empty file from the build system.
git-svn-id: svn://10.0.0.236/trunk@87418 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:33:17 +00:00
brendan%mozilla.org
94c7e8ce8d Fix constant folder to recycle moved node, not whole tree, when simplifying 'true ? foo() : bar()' into 'foo()' (69345, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@87415 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:25:39 +00:00
pinkerton%netscape.com
0404f17999 no need to worry about the title bar when computing which screen the window is on. it's only an approximation, and subtracting out the title bar showed up on profiler runs as about 8%. r=saari/sr=sfraser, bug# 69101.
git-svn-id: svn://10.0.0.236/trunk@87414 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:15:26 +00:00
pinkerton%netscape.com
96252aef68 don't re-create 1000 element array's of nsPoints every time the routine is called. r=dcone/sr=sfraser. bug 69101.
git-svn-id: svn://10.0.0.236/trunk@87413 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:14:03 +00:00
jst%netscape.com
9f1594bf72 Removing files that were moved to mozilla/content/... part of the carpool.
git-svn-id: svn://10.0.0.236/trunk@87412 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:12:42 +00:00
naving%netscape.com
aa6f98812e 61380 67637 68958. r=chuang sr=bienvenu. Made drag and drop of folders work on mac. fixed
white spaces and made it so that the "stop" sign is displayed when message is dragged
to source folder


git-svn-id: svn://10.0.0.236/trunk@87411 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:12:38 +00:00
jst%netscape.com
5d766a1e9d Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@87410 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:08:30 +00:00
waterson%netscape.com
8c9e87458a Bug 39054, redux. Hack around problem (?) with XBL child nodes: we'll just query for the list of real kids up front. Also, need to break 'AddSubtreeToDocument()' into pre- and post-order steps. r=hyatt, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@87409 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:05:34 +00:00
jgmyers%netscape.com
ac61c3a1c8 fix account manager labels: bug 68071 r=racham sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@87408 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 01:04:13 +00:00
dbaron%fas.harvard.edu
3e13ce2b2c Fix MOZ_TRACK_MODULE_DEPS bustage by adding dom to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@87405 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 00:57:23 +00:00
dbaron%fas.harvard.edu
920dae5fa0 Fix MOZ_TRACK_MODULE_DEPS bustage by adding pref to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@87403 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 00:30:53 +00:00
sfraser%netscape.com
e52e94697c More jst bustage fixing; we need nsIHTMLStyleSheet.h here.
git-svn-id: svn://10.0.0.236/trunk@87402 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 00:28:57 +00:00
dbaron%fas.harvard.edu
1249492aca Fix MOZ_TRACK_MODULE_DEPS bustage by updating REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@87401 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 00:21:26 +00:00
dbaron%fas.harvard.edu
4edb50e09b Fixing objdir build bustage by adding $(srcdir)/ to directories in include path.
git-svn-id: svn://10.0.0.236/trunk@87399 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 00:17:30 +00:00
nicolson%netscape.com
0448e0420f Remove cdbhdl.h, which is now a private export. Instead we cut and paste
its contents into our file.


git-svn-id: svn://10.0.0.236/trunk@87398 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 00:13:45 +00:00
ben%netscape.com
155d9bb3cc Fix jst bustage
git-svn-id: svn://10.0.0.236/trunk@87395 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 23:53:33 +00:00
despotdaemon%netscape.com
c17d5d6d0b Pseudo-automatic update of changes made by jrgm@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@87392 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 23:30:15 +00:00
jst%netscape.com
692d111a29 Attempting to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@87391 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 23:18:12 +00:00
heikki%netscape.com
2ffd79491a Removing files which were moved to content, part of content/layout carpool.
git-svn-id: svn://10.0.0.236/trunk@87388 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 22:43:19 +00:00
leaf%mozilla.org
59b28d5ffe changing where we put the gbdate file.
git-svn-id: svn://10.0.0.236/trunk@87387 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 22:30:35 +00:00
timeless%mac.com
f9d9394707 fix bug 49727 Grammar incorrect in alert message when deleting mail folder
fix by stephend@netscape.com r=timeless, naving, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@87385 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 22:30:12 +00:00
Peter.VanderBeken%pandora.be
f3e7960f70 Content/layout splitup carpool.
git-svn-id: svn://10.0.0.236/trunk@87384 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:51:22 +00:00
heikki%netscape.com
26d94ba9b0 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:50:04 +00:00
Peter.VanderBeken%pandora.be
8578436af7 Content/layout split-up carpool. r=jst@netscape.com, sr=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@87382 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:45:29 +00:00
leaf%mozilla.org
61cb28dbe9 Part of jst@netscape.com's layout/content landing.
git-svn-id: svn://10.0.0.236/trunk@87381 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:40:39 +00:00
jst%netscape.com
0132b97d46 Backing out my previous changes.
git-svn-id: svn://10.0.0.236/trunk@87378 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 20:33:57 +00:00
Peter.VanderBeken%pandora.be
483a540a29 Content/Layout splitup. Not part of default build. r=jst@netscape.com, sr=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@87376 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 20:13:40 +00:00
jst%netscape.com
ea40c8d825 Changes needed for splitting layout
git-svn-id: svn://10.0.0.236/trunk@87372 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 18:46:07 +00:00
nicolson%netscape.com
dcc51aea93 add method for setting cipher policy.
git-svn-id: svn://10.0.0.236/trunk@87371 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 18:29:49 +00:00
nicolson%netscape.com
82f58afdb1 Tweak library rules for WINNT
git-svn-id: svn://10.0.0.236/trunk@87370 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 18:28:55 +00:00
Peter.VanderBeken%pandora.be
1d79617f03 Content/layout split-up. Not part of the build. r=jst@netscape.com, sr=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@87369 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 18:11:03 +00:00
Peter.VanderBeken%pandora.be
bad04a33a1 Content/layout split-up. Not part of the build. r=jst@netscape.com, sr=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@87368 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 17:51:42 +00:00
leaf%mozilla.org
64cb1d2c27 commiting change to modules for layout->layout,content meiosis -leaf
git-svn-id: svn://10.0.0.236/trunk@87362 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 15:31:02 +00:00
Peter.VanderBeken%pandora.be
57fc439641 Corrected CAPS. r=jst@netscape.com, sr=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@87361 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 14:29:10 +00:00
Peter.VanderBeken%pandora.be
25e390fa7d Removing to correct CAPS. r=jst@netscape.com, sr=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@87360 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 14:27:36 +00:00
jst%netscape.com
6c03d356f7 Fixing win32 build bustage.
git-svn-id: svn://10.0.0.236/trunk@87359 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 14:19:42 +00:00
jst%netscape.com
2487b0e057 Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@87358 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 13:14:10 +00:00
heikki%netscape.com
80b36e2891 Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
git-svn-id: svn://10.0.0.236/trunk@87357 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:55:42 +00:00
rods%netscape.com
8a61b9395c making spacebar click on key up
Bug 68850 sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87355 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:36:01 +00:00
heikki%netscape.com
c98fb5c6a1 Adding new files needed for splitting layout into two separate libraries (some of these files have been moved from mozilla/layout). r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
git-svn-id: svn://10.0.0.236/trunk@87354 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:21:27 +00:00
heikki%netscape.com
b23ac2426f Adding new files needed for splitting layout into two separate libraries (some of these files have been moved from mozilla/layout). r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
git-svn-id: svn://10.0.0.236/trunk@87353 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:10:13 +00:00
scc%mozilla.org
db3da69269 bug #59429: adding directories, readme's, a mac project, and other things that will be filled in as I move the string code out of xpcom and into its own library. This is not yet part of the build, but jst reviewed it for me anyway. I'll get appropriate review and super-review before adding this directory to the module and to the build.
git-svn-id: svn://10.0.0.236/trunk@87352 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:06:34 +00:00
heikki%netscape.com
547ee0941d Adding new files needed for splitting layout into two separate libraries (some of these files have been moved from mozilla/layout). r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
git-svn-id: svn://10.0.0.236/trunk@87351 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 11:56:40 +00:00
scc%mozilla.org
9a6e52725a bug #69315: removing unused and confusing string files
git-svn-id: svn://10.0.0.236/trunk@87349 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 11:27:41 +00:00
markh%activestate.com
45379517dd License info is now in each file (in the standard format)
git-svn-id: svn://10.0.0.236/trunk@87348 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 10:20:22 +00:00
scc%mozilla.org
ac9727a0c3 we're still a part of XPCOM physically (if not logically) and to get exports right need _IMPL_NS_COM
git-svn-id: svn://10.0.0.236/trunk@87347 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 10:19:21 +00:00
scc%mozilla.org
b2890c0c6f MANIFEST files require Mac line endings
git-svn-id: svn://10.0.0.236/trunk@87346 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 10:15:47 +00:00
scc%mozilla.org
aeabe4c25e missed nsFragmentedString.h and .cpp in the initial check-in ... adding them
git-svn-id: svn://10.0.0.236/trunk@87345 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 08:55:34 +00:00
scc%mozilla.org
5d8907dc7b bug #59429: adding directories, readme's, a mac project, and other things that will be filled in as I move the string code out of xpcom and into its own library. This is not yet part of the build, but jst reviewed it for me anyway. I'll get appropriate review and super-review before adding this directory to the module and to the build.
git-svn-id: svn://10.0.0.236/trunk@87344 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 08:54:09 +00:00
markh%activestate.com
8d2f296cfd Update the way the license is expressed and minor makefile mods.
Still not building pending a decision on bug 66610.


git-svn-id: svn://10.0.0.236/trunk@87343 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 08:31:46 +00:00
scc%mozilla.org
39bb9d2a95 bug #59429: adding directories, readme's, a mac project, and other things that will be filled in as I move the string code out of xpcom and into its own library. This is not yet part of the build, but jst reviewed it for me anyway. I'll get appropriate review and super-review before adding this directory to the module and to the build.
git-svn-id: svn://10.0.0.236/trunk@87338 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 07:42:20 +00:00
mkaply%us.ibm.com
e7d6ef40d0 OS/2 TB Bustage
Need PR_STATIC_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@87335 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 07:07:56 +00:00
blakeross%telocity.com
fd309ab762 mac bustage
git-svn-id: svn://10.0.0.236/trunk@87332 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 05:58:47 +00:00
markh%activestate.com
abe83923e1 First checkin of the Python XPCOM bindings.
git-svn-id: svn://10.0.0.236/trunk@87331 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 05:24:45 +00:00
blakeross%telocity.com
0b610ca389 DIE PNG DIE
git-svn-id: svn://10.0.0.236/trunk@87330 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 04:26:00 +00:00
blakeross%telocity.com
0709564eca adding as binaries.
git-svn-id: svn://10.0.0.236/trunk@87329 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 04:03:24 +00:00
blakeross%telocity.com
ac03b3baa6 Okay, timeless says I may need to specify -kb when adding the png's. Trying that.
git-svn-id: svn://10.0.0.236/trunk@87328 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 04:00:48 +00:00
blakeross%telocity.com
817ff95713 updating jar.
git-svn-id: svn://10.0.0.236/trunk@87327 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 03:51:11 +00:00
blakeross%telocity.com
afd1449c0a nothing to see here, move along.
git-svn-id: svn://10.0.0.236/trunk@87326 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 03:50:05 +00:00
blakeross%telocity.com
135bd8ea10 *sigh*
git-svn-id: svn://10.0.0.236/trunk@87325 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 03:48:30 +00:00
blakeross%telocity.com
0167f29d05 trying again...
git-svn-id: svn://10.0.0.236/trunk@87324 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 03:31:12 +00:00
blakeross%telocity.com
82afb96212 something happened with the first two images. take 2.
git-svn-id: svn://10.0.0.236/trunk@87323 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 03:30:17 +00:00
blakeross%telocity.com
40a2343381 Appearance improvements to Mac Classic scrollbars (patch by lordpixel, 67491). r=timeless sr=ben
git-svn-id: svn://10.0.0.236/trunk@87321 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 03:21:01 +00:00
blakeross%telocity.com
aa09590aba Appearance improvements to Mac Classic scrollbars (patch by lordpixel, 67491). r=timeless sr=ben
git-svn-id: svn://10.0.0.236/trunk@87319 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 03:12:02 +00:00
dougt%netscape.com
4a2b3ad811 Fixes small memleaks. bug 53931. r=ccarlen@netscape.com, a=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87318 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 03:09:57 +00:00
scc%mozilla.org
368313f173 bug #69315: r=dbaron, a=ben. Remove unused experimental string files that have never been part of the build
git-svn-id: svn://10.0.0.236/trunk@87313 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 01:34:34 +00:00
brendan%mozilla.org
c372c27928 Fix related eval and setTimeout regressions caused by bug 68498's patch (69165&69175, r=jband, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@87312 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 00:31:20 +00:00
shaver%mozilla.org
e340798f8e Fold constants correctly when emitting as we compile (TCF_COMPILING).
(#69304, r=jband, sr=brendan)


git-svn-id: svn://10.0.0.236/trunk@87310 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-18 20:58:08 +00:00
dbaron%fas.harvard.edu
3bc5fd186d Fix gcc 2.7.2.3 bustage with NS_READABLE_CAST.
git-svn-id: svn://10.0.0.236/trunk@87309 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-18 18:08:18 +00:00
dbaron%fas.harvard.edu
4d55f78945 Fix excessive string conversion / bad string usage. r=disttsc@bart.nl sr=brendan@mozilla.org b=68653
git-svn-id: svn://10.0.0.236/trunk@87308 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-18 17:11:44 +00:00
dbaron%fas.harvard.edu
e231537eca Remove static constructors from nsRelatedLinksHandler. r=disttsc@bart.nl sr=brendan@mozilla.org b=67314
git-svn-id: svn://10.0.0.236/trunk@87307 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-18 17:07:19 +00:00
dbaron%fas.harvard.edu
92987dae72 Remove static constructors from nsXULSortService and nsXULTemplateBuilder. r=waterson@netscape.com sr=brendan@mozilla.org b=67310
git-svn-id: svn://10.0.0.236/trunk@87306 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-18 17:04:11 +00:00
dbaron%fas.harvard.edu
f0e564ff4e Add makefile and script to compile and run leaksoup easily. r=waterson@netscape.com sr=brendan@mozilla.org b=66424
git-svn-id: svn://10.0.0.236/trunk@87305 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-18 16:51:46 +00:00
dbaron%fas.harvard.edu
fbe55d9be7 Fix leaks in single signon and clean up some build warnings, etc. r=morse@netscape.com sr=brendan@mozilla.org b=67119
git-svn-id: svn://10.0.0.236/trunk@87304 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-18 16:40:04 +00:00
leaf%mozilla.org
6351e0f0c4 Automated update
git-svn-id: svn://10.0.0.236/trunk@87303 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-18 16:30:14 +00:00
blizzard%redhat.com
799045efe5 Fix bug #68882. Don't build xinerama support since it crashes the dynamic loader on stock RH 7.0. Add an explicit --enable-xinerama flag. r=cls
git-svn-id: svn://10.0.0.236/trunk@87302 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-18 16:16:54 +00:00
pschwartau%netscape.com
a50adc75c5 Regression test for bug 68498. Derived from Brendan's attachment to the bug -
git-svn-id: svn://10.0.0.236/trunk@87298 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-18 03:31:17 +00:00
tor%cs.brown.edu
e44584673d Bug 68970 - tune libimg throttling constants for better performance.
r=saari, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@87297 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-18 01:05:45 +00:00
disttsc%bart.nl
fc52717eed ``Acct Settings:Acct Name Field:Letters with descenders being cut off'', bug=67245, author=Håkan B. Waara <hwaara@chello.se>, r=jag, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@87296 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 23:49:54 +00:00
javi%netscape.com
5168c4c0ea Add nsNSSCertificate.cpp to the Mac build.
git-svn-id: svn://10.0.0.236/trunk@87294 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 20:25:42 +00:00
dbaron%fas.harvard.edu
ec5f2b06ba Fix leak in message compose window (and probably other places) by breaking a global->controllers->controller->global cycle resulting from having implementations of nsIController in JavaScript. b=56703 r=waterson@netscape.com sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@87293 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 19:02:25 +00:00
dbaron%fas.harvard.edu
aca0d1a170 Improve GTK system colors by choosing colors in a way more similar to the way GTK chooses them, although it's still not perfect. b=67448 r=bryner,pavlov sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@87292 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 18:55:01 +00:00
dbaron%fas.harvard.edu
f7ad87049c Add REQUIRES line to fix --enable-ldap + MOZ_TRACK_MODULE_DEPS bustage.
git-svn-id: svn://10.0.0.236/trunk@87291 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 18:30:12 +00:00
dbaron%fas.harvard.edu
a6e6b7d1e7 Fixing xprint bustage from dcone's checkin. (Not part of default build.)
git-svn-id: svn://10.0.0.236/trunk@87290 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 18:20:28 +00:00
dbaron%fas.harvard.edu
bf2301d393 Add REQUIRES line so that xprint will build with MOZ_TRACK_MODULE_DEPS.
git-svn-id: svn://10.0.0.236/trunk@87289 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 18:15:49 +00:00
ben%netscape.com
07ef2223d6 fix some XBL insertion point warnings for bookmarks window & modern skin. r=sfraser, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@87286 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 10:06:54 +00:00
heikki%netscape.com
610c029420 Checking in new files needed for layout split. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@87285 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 09:53:29 +00:00
dbaron%fas.harvard.edu
9a96675501 Fix MOZ_TRACK_MODULE_DEPS bustage (senna tinderbox) by adding to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@87283 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 06:23:08 +00:00
dbaron%fas.harvard.edu
36926faf04 Fix Sun WS 5.0 (nebiros tinderbox) bustage by using |PL_strchr| instead of |strchr|.
git-svn-id: svn://10.0.0.236/trunk@87279 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 06:00:07 +00:00
rginda%netscape.com
ef1256d8c3 -- NOT PART OF THE BUILD --
clean out some bitrot in cview, add an install.js file.
xpi will be located at www.hacksrus.com/~ginda/cview shortly.


git-svn-id: svn://10.0.0.236/trunk@87278 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 05:55:01 +00:00
dbaron%fas.harvard.edu
c96767f6d7 Fix MOZ_TRACK_MODULE_DEPS bustage (senna tinderbox) by adding to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@87277 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 05:54:05 +00:00
dbaron%fas.harvard.edu
d5ea810517 Back out hyatt's one line change to fix selection in textfields. b=68994 r=cmanske a=ben
git-svn-id: svn://10.0.0.236/trunk@87273 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 04:59:59 +00:00
mkaply%us.ibm.com
96406b0a3d Fix senna REQUIRES bustage
git-svn-id: svn://10.0.0.236/trunk@87272 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 04:47:43 +00:00
mkaply%us.ibm.com
d5c24acb11 Fix senna REQUIRES bustage
git-svn-id: svn://10.0.0.236/trunk@87271 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 04:11:55 +00:00
danm%netscape.com
0d92deb59c adding embedding components, which will be used by both embedding apps and Mozilla. bug 67368 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@87265 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 02:47:56 +00:00
danm%netscape.com
077ae05a77 preparing to move window opening code to a component, but currently ifdefed out. bug 67368 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@87264 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 02:46:48 +00:00
danm%netscape.com
fac88bc14a adding ability to WindowWatcher to open windows without parents. bug 67368 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@87263 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 02:45:42 +00:00
danm%netscape.com
c22f5b073f cleaning up window ownership model a la scc@netscape.com, adding WindowCreator callback. bug 67368 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@87262 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 02:43:58 +00:00
danm%netscape.com
6864012e14 fix destruction order crash. no bug #. r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@87261 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 02:37:06 +00:00
danm%netscape.com
c6a145bc23 hooking up EmbedIDL.mcp. bug 67368 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@87260 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 02:33:03 +00:00
danm%netscape.com
48c781f375 just changing the case of target names to be more Mac-like. bug 67368 (peripherally) r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@87259 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 02:31:43 +00:00
danm%netscape.com
5edbc494f6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@87258 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 02:27:36 +00:00
danm%netscape.com
88d7b63372 implementation of WindowCreator callback. bug 67368 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@87257 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 02:24:53 +00:00
danm%netscape.com
a82ff633f7 adding a window creator callback. r=hyatt,pinkerton,(valeski didn't complain)
git-svn-id: svn://10.0.0.236/trunk@87256 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 02:22:51 +00:00
sspitzer%netscape.com
7b5ac2a5e8 adding some debugging printfs, for my benefit. no reviewer.
git-svn-id: svn://10.0.0.236/trunk@87255 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 02:21:44 +00:00
danm%netscape.com
9516599e58 bits of dom's nsJSUtils copied here to avoid linking with that lib. bug 67368 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@87254 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 02:20:08 +00:00
mcafee%netscape.com
0c181463f8 0.8
git-svn-id: svn://10.0.0.236/trunk@87253 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 02:03:23 +00:00
mcafee%netscape.com
89369f67bd tinderboxen
git-svn-id: svn://10.0.0.236/trunk@87252 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 02:00:47 +00:00
blakeross%telocity.com
6df9558b00 Removing old prefs code (68964). r=mcafee sr=ben
git-svn-id: svn://10.0.0.236/trunk@87248 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 01:55:32 +00:00
heikki%netscape.com
cfffc4ac48 New interfaces needed for layout splitup. Not part of the build yet
git-svn-id: svn://10.0.0.236/trunk@87246 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 01:54:26 +00:00
akkana%netscape.com
0f2421018e 67337: Initial implementation of Tableize. r=aaronl sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87245 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 01:33:07 +00:00
hewitt%netscape.com
93c3b0b24e 66489 - default treecol width, r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@87244 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 01:19:35 +00:00
rogerl%netscape.com
62ae472ce8 New icodes to handle instanceof/is. Moved operator name handling to icg
for now (pending a semantics phase). Added a generic new and prototype
setting.


git-svn-id: svn://10.0.0.236/trunk@87238 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 23:15:34 +00:00
pinkerton%netscape.com
20ba9ade9f coalesce nearby rects into a single rect based on ratio of combined area in comparison to their bounding box area. r=saari/sr=sfraser. bug# 53657.
git-svn-id: svn://10.0.0.236/trunk@87236 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 22:58:56 +00:00
javi%netscape.com
1de01e99cc Make the new server cert dialog for SSL warning work.
git-svn-id: svn://10.0.0.236/trunk@87233 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 22:17:52 +00:00
nhotta%netscape.com
ab548dcf1a Removed two functions from nsICollation which use nsString, r=mkaply@us.ibm.com, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@87232 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 22:10:35 +00:00
roc+%cs.cmu.edu
0018bf9a4e Force nsViewManager to respect DONT_BITBLT flags on descendant views when we scroll a parent view. Fix for bug 68499. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@87230 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 21:41:52 +00:00
timeless%mac.com
74d561bd54 fix for bug 52653 regxpcom creates .mozilla in Real User's home
fix by shaver, r=dveditz, sr=scc


git-svn-id: svn://10.0.0.236/trunk@87229 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 21:35:34 +00:00
cmanske%netscape.com
6c9ac5fa85 No real code change: added comment to explain fix to bug 57206, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@87228 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 21:10:01 +00:00
cmanske%netscape.com
38e5a9cb4e Part of fix for bug 57206, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@87227 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 21:04:41 +00:00
waterson%netscape.com
14c9594720 Add logging instructions.
git-svn-id: svn://10.0.0.236/trunk@87226 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 20:34:30 +00:00
kestes%tradinglinx.com
8f65e6d884 typo wrote $tree_state meant $new_tree_state
git-svn-id: svn://10.0.0.236/trunk@87225 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 20:08:32 +00:00
kestes%tradinglinx.com
3392c1ea0f only print values that we have data for.
git-svn-id: svn://10.0.0.236/trunk@87224 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 20:07:30 +00:00
kestes%tradinglinx.com
c8255491e4 allow users to run processmail_bugs without using sendmail.
git-svn-id: svn://10.0.0.236/trunk@87223 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 20:07:03 +00:00
kestes%tradinglinx.com
78910fa746 suck some bugzilla parameters off Subject line in mail message.
allow users to run processmail_bugs without using sendmail.
some updates do not have any status value, ignore those.


git-svn-id: svn://10.0.0.236/trunk@87222 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 20:06:28 +00:00
kestes%tradinglinx.com
654064ed78 Do not put any testing (if present) directories into the package.
do not create unused tinderbox2 directory.


git-svn-id: svn://10.0.0.236/trunk@87221 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 20:04:56 +00:00
kestes%tradinglinx.com
31a6f926f4 create a BT_URL entry.
fix possible security risk in default $ADMINISTRATIVE_NETWORK_PAT


git-svn-id: svn://10.0.0.236/trunk@87220 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 20:04:08 +00:00
kestes%tradinglinx.com
5613dbbab5 minor fixes to local variables.
is_status_final  did not recieve its arguments from @_ properly.


git-svn-id: svn://10.0.0.236/trunk@87219 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 20:03:13 +00:00
kestes%tradinglinx.com
3fe97485d0 get default BT_URL from TinderConfig
git-svn-id: svn://10.0.0.236/trunk@87218 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 20:02:21 +00:00
m_kato%ga2.so-net.ne.jp
b1a850b1ee bug=63656, r=ducarroz, sr=bienvenu
more support RFC2231


git-svn-id: svn://10.0.0.236/trunk@87217 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 18:30:55 +00:00
dbaron%fas.harvard.edu
f86c9b273c Scripts shouldn't be in TARGETS, because it makes them be removed by 'make clean'.
git-svn-id: svn://10.0.0.236/trunk@87216 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 18:20:06 +00:00
thesteve%netscape.com
8cc637ecb8 dded a rule to recognize <nsScanner> responsibility for an allocation. r=waterson
git-svn-id: svn://10.0.0.236/trunk@87215 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 18:17:11 +00:00
cyeh%bluemartini.com
6448ffe265 fix for 68873 : Bugzilla install doesn't work over NFS; mention this in README
patch submitted by tstromberg@rtci.com (Thomas Stromberg).


git-svn-id: svn://10.0.0.236/trunk@87214 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 18:07:54 +00:00
cyeh%bluemartini.com
f47f716a5d fix for 17773: Checksetup.pl should create maintainer if database is empty.
patch submitted by dave@intrec.com (Dave Miller)
create an administrator if we don't find one in the db or if new.


git-svn-id: svn://10.0.0.236/trunk@87213 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 17:56:05 +00:00
bryner%uiuc.edu
fbf2dbc80e Bug 68444 - add back "lines" label to the right of textfield in mousewheel prefs panel. r=timeless, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@87212 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 17:52:04 +00:00
harishd%netscape.com
5dc914c42b Modified parser test script.
** NOT PART OF THE BUILD **


git-svn-id: svn://10.0.0.236/trunk@87211 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 17:44:23 +00:00
dcone%netscape.com
3f0b291771 using the passed in title for the jobname. r=rods sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@87210 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 17:36:54 +00:00
dcone%netscape.com
c7dfbc704b r=rods sr=attinasi Passing in the title to begindocument
git-svn-id: svn://10.0.0.236/trunk@87209 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 17:36:02 +00:00
bryner%uiuc.edu
023537c125 Bug 68260 - quiet unicode converter registration on non-debug builds. r=yokoyama, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@87208 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 15:16:02 +00:00
mkaply%us.ibm.com
76ef93e1bc No bug
r=mkaply, a=blizzard
Adding in the nsDeviceContext ADDREF that other platforms got


git-svn-id: svn://10.0.0.236/trunk@87207 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 14:56:53 +00:00
chak%netscape.com
8cc542b40a Fix for bug #68594 - Find functionality does not work in MfcEmbed from the
embed packaging..
r=ccarlen


git-svn-id: svn://10.0.0.236/trunk@87201 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 05:54:27 +00:00
chak%netscape.com
6089073ae0 Fix for #68617 - Must be able to specify the test harness to be pkgd.
r=ccarlen


git-svn-id: svn://10.0.0.236/trunk@87200 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 05:53:19 +00:00
chak%netscape.com
4e6e0dc92e Fix for bug # 67688 - mfcEmbed should be turned on in the builds.
r=ccarlen


git-svn-id: svn://10.0.0.236/trunk@87199 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 05:52:03 +00:00
cmanske%netscape.com
72a6c84c0f Minor change to remove compile warning
git-svn-id: svn://10.0.0.236/trunk@87198 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 05:12:08 +00:00
dbaron%fas.harvard.edu
381c69bbde Fix gcc 2.95/2.96 bustage by adding |NS_CONST_CAST| to |char*| to work around what I think is a bug in gcc. Patch from Bradley Baetz <bbaetz@sympatico.ca>, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@87192 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 04:33:21 +00:00
aaronl%chorus.net
923a6784ad Extension to add builtin accessibility. In the future it will support text-to-speech and braille displays for visually impaired users. See README, bug=65158, r=jst, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@87191 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 04:11:39 +00:00
aaronl%chorus.net
be522873fa Extension to add builtin accessibility. In the future it will support text-to-speech and braille displays for visually impaired users. See README, bug=65158, r=jst, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@87190 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 04:03:58 +00:00
blakeross%telocity.com
7ad8e730cf Make tab and shift+tab move to the next and previous (focusable) elements for textfields (2083, 47282). r=brade sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87189 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:40:15 +00:00
dbaron%fas.harvard.edu
e54698548e Fix objdir build bustage by not trying to install from the objdir a script that is in the srcdir. r=bryner
git-svn-id: svn://10.0.0.236/trunk@87188 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:39:57 +00:00
cmanske%netscape.com
1b646aae6a Fixed Cell Properties navigation in dialog bug 68836. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87187 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:37:26 +00:00
cmanske%netscape.com
8f00db7796 Fixed link properties bug 68064. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87186 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:36:03 +00:00
cmanske%netscape.com
e90ad9978f Fixed Spell Check dialog layout bug 57398. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87185 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:35:02 +00:00
cmanske%netscape.com
03c6fb909b Fixed Spell Check dialog default button bug 56531. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87184 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:34:29 +00:00
cmanske%netscape.com
041b074635 Fixed initializing widgets in prefs dialog, b=53275, r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87182 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:33:27 +00:00
cmanske%netscape.com
a3c222fbe7 Fixed table selection bug 68860. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87181 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:33:12 +00:00
cmanske%netscape.com
4e8dfea52a UI for Insert Break, b=47545, r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87180 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:33:07 +00:00
cmanske%netscape.com
aba8389b45 Fixed string truncation bug 68684; r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87179 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:32:55 +00:00
cmanske%netscape.com
b4f96f8877 Part of fix for composer prefs bug 53275. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87178 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:32:54 +00:00
cmanske%netscape.com
72aff190bc Fixed Send Page bug 68197, Table Properties dialog bug 68835, Implement Insert Break (bug 47544); r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87177 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:32:49 +00:00
cmanske%netscape.com
9ef6302b34 New files for SetDocumentTitle transaction. Not part of build yet. r=kin
git-svn-id: svn://10.0.0.236/trunk@87176 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 03:15:35 +00:00
naving%netscape.com
2e5b91311d fix a small mistake that was part of earlier checkin.
git-svn-id: svn://10.0.0.236/trunk@87173 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 02:24:48 +00:00
hyatt%netscape.com
e14fbb5420 Not part of build.
git-svn-id: svn://10.0.0.236/trunk@87171 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 02:21:34 +00:00
jband%netscape.com
994a488bd2 rest of the fix for bug 68971 - can't share a kungfoodeathgrip. sr=brendan r=shaver
git-svn-id: svn://10.0.0.236/trunk@87170 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 02:21:22 +00:00
brendan%mozilla.org
77da20c8b2 Don't crash on a newborn object (68971, r=jband, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@87169 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 02:09:42 +00:00
naving%netscape.com
8d57b923a3 64751, 64753. sr =sspitzer, bienvenu. Adding Compact Folders feature to file_menu and Compact This Folder when
you right click on a folder. thanks to sspitzer and bienvenu for good review. Thanks to
david for providing nsMsgFolder::ListDescendents function and all the help.


git-svn-id: svn://10.0.0.236/trunk@87168 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 02:05:41 +00:00
brendan%mozilla.org
cb6ad315e2 The rest of the fix for bug 68498, see the extensive comments in that bug (r=jband, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@87167 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 02:04:12 +00:00
kestes%tradinglinx.com
8a7e68993a more comments,
allow each ticket to go to multiple trees.


git-svn-id: svn://10.0.0.236/trunk@87166 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 01:43:49 +00:00
kestes%tradinglinx.com
b6a5529466 more comments,
parenthesize some localize variables
change the scaling of the window to better suite the installed netscape.
there should be a better way to autosize the windows!


git-svn-id: svn://10.0.0.236/trunk@87165 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 01:41:28 +00:00
kestes%tradinglinx.com
3d93e14ab8 more comments,
localize some variables which were not local by accident.
change function name update2bug_url to  bug_id2bug_url


git-svn-id: svn://10.0.0.236/trunk@87164 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 01:40:08 +00:00
hyatt%netscape.com
f3eecabbdd Not part of build.
git-svn-id: svn://10.0.0.236/trunk@87163 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 01:37:19 +00:00
mcafee%netscape.com
5013969855 Adding percentage column for flat profile, hits/totalhits.
git-svn-id: svn://10.0.0.236/trunk@87162 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 01:36:58 +00:00
kestes%tradinglinx.com
4c0ebaa0a4 change the default window sizes to work with the installed version of
netscape.  There has to be a better way to size these windows!


git-svn-id: svn://10.0.0.236/trunk@87161 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 01:34:37 +00:00
cyeh%bluemartini.com
22a18ea2de fix for 65396:
Remember This Query should give option to add to page footer
patch submitted by st.n@gmx.net (Stephan Niemz)


git-svn-id: svn://10.0.0.236/trunk@87160 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 01:22:39 +00:00
blakeross%telocity.com
1d07b05942 bustage
git-svn-id: svn://10.0.0.236/trunk@87158 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 00:37:17 +00:00
mcafee%netscape.com
38615556e3 Removing unuxed MOZ_OLD_LI_STUFF ifdef & code (68964). r=blake, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@87157 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 00:23:56 +00:00
blakeross%telocity.com
058a90133b (moving brace to proper spot)
git-svn-id: svn://10.0.0.236/trunk@87156 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 00:15:46 +00:00
blakeross%telocity.com
518b475e16 Attempt to fix shanjian's bustage.
git-svn-id: svn://10.0.0.236/trunk@87155 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 00:11:35 +00:00
kestes%tradinglinx.com
b9f135a1dd do not run both bonsai and cvs by default. People will find it strange.
git-svn-id: svn://10.0.0.236/trunk@87154 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 00:10:48 +00:00
kestes%tradinglinx.com
2d46d3db4a typo, there was a missing @_ in a function, so no local variables were
getting instatiated.


git-svn-id: svn://10.0.0.236/trunk@87153 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 00:09:54 +00:00
kestes%tradinglinx.com
d05654c2e0 use new function (BuildStatus::is_status_final($buildstatus)) to allow users
to change default of ( ($buildstatus eq 'not_running') || ($buildstatus eq 'building') ) .
make more consistent use of  build_names($tree); to find the ordered
list of buildnames.
my notion of mindate/maxdate was the reverse of bonsai so fix it here.
the notion of $previous_rec was illdefined and causing problems.


git-svn-id: svn://10.0.0.236/trunk@87152 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-16 00:08:53 +00:00
kestes%tradinglinx.com
e225e671ae typo in use of FileStructure::URLS
git-svn-id: svn://10.0.0.236/trunk@87151 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 23:58:04 +00:00
kestes%tradinglinx.com
1e1a481d68 some variables were not being interpolated because they were in single quotes.
This could not have worked.


git-svn-id: svn://10.0.0.236/trunk@87149 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 23:53:33 +00:00
shanjian%netscape.com
94cfd83778 bug 65010 Japanese file name become garbage in file name text field ...
r = bill law
sr = erik.


git-svn-id: svn://10.0.0.236/trunk@87148 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 23:39:07 +00:00
waterson%netscape.com
c4c21be07f Don't try to use win32.order files in a debug build. sr=jband
git-svn-id: svn://10.0.0.236/trunk@87147 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 23:04:33 +00:00
cyeh%bluemartini.com
6e713e8510 fix for 28676 :
When a bug is marked duplicate, the reporter should be added to the bug that it duplicated.
patch submitted by jake@acutex.net (Jake).


git-svn-id: svn://10.0.0.236/trunk@87145 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 22:42:13 +00:00
blakeross%telocity.com
eb806dd827 Removing duplicate include.
git-svn-id: svn://10.0.0.236/trunk@87144 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 22:41:44 +00:00
mcafee%netscape.com
33329f8e60 Cleaning up html, strip libs warning
git-svn-id: svn://10.0.0.236/trunk@87142 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 22:22:52 +00:00
hyatt%netscape.com
b830ac7325 Fixing Win32 bustage on pink's checkin. r=pink
git-svn-id: svn://10.0.0.236/trunk@87141 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 22:20:44 +00:00
pinkerton%netscape.com
f3f2d2b54f actually use the mime mapping flavor when determining if a flavor is in a drag item, rather than relying on the defaults. r=saari,sr=sfraser. bug# 68828.
git-svn-id: svn://10.0.0.236/trunk@87140 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 22:08:39 +00:00
pinkerton%netscape.com
dabd5e0f1f force trees to synchronously update the area invalidated by a mousewheel scroll. r=bryner,a=hyatt, bug#63465
git-svn-id: svn://10.0.0.236/trunk@87139 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 22:07:06 +00:00
akkana%netscape.com
ae6e52b625 25779: alternate win cut/copy/paste keys. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87137 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:53:13 +00:00
akkana%netscape.com
286762ff55 25779: Add/improve alternate windows cut/copy/paste key bindings: r=brade sr=sfraser.
68747: Remove redundant code in nsHTMLEditor. sr=sfraser.


git-svn-id: svn://10.0.0.236/trunk@87136 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:51:25 +00:00
hewitt%netscape.com
e248d7dba2 famous last words -> "NOT PART OF BUILD"
git-svn-id: svn://10.0.0.236/trunk@87135 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:38:57 +00:00
axel%pike.org
b278904131 not part of build; fixing Makefile rules to have TABS, r=hewitt
git-svn-id: svn://10.0.0.236/trunk@87134 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:34:12 +00:00
sspitzer%netscape.com
71363b1709 fix for #68594. (checking in for chak@netscape.com)
r=ccarlen,sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@87133 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:33:17 +00:00
hyatt%netscape.com
3f460ba63e Fix for 67739. r=pierre,attinasi, sr=ben
git-svn-id: svn://10.0.0.236/trunk@87132 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:25:31 +00:00
hyatt%netscape.com
8244a8912e Fix for 67739. r=pierre,attinasi sr=ben
git-svn-id: svn://10.0.0.236/trunk@87131 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:24:47 +00:00
hyatt%netscape.com
0bdfaeae2f Not part of build.
git-svn-id: svn://10.0.0.236/trunk@87129 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:15:21 +00:00
kestes%tradinglinx.com
8faaa97452 update info for new release
git-svn-id: svn://10.0.0.236/trunk@87128 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:13:53 +00:00
kestes%tradinglinx.com
190b95987b update the version number
git-svn-id: svn://10.0.0.236/trunk@87127 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:13:33 +00:00
axel%pike.org
ddc3106d9a and windows, too. Thought it grabbed it first time. fixing rep.; a=leaf
git-svn-id: svn://10.0.0.236/trunk@87124 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:13:04 +00:00
axel%pike.org
ecce300538 yet another try to fix the rep.; not part of build, a=leaf
git-svn-id: svn://10.0.0.236/trunk@87123 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:12:08 +00:00
kestes%tradinglinx.com
82f1a91cfa add func sort_tree_buildnames
git-svn-id: svn://10.0.0.236/trunk@87122 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:11:40 +00:00
kestes%tradinglinx.com
112944bb78 add func is_status_final
add 1; to end of file


git-svn-id: svn://10.0.0.236/trunk@87121 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:11:04 +00:00
kestes%tradinglinx.com
5dc779d8b3 sync with CVS module, mostly parenthesis were different.
git-svn-id: svn://10.0.0.236/trunk@87119 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:07:55 +00:00
kestes%tradinglinx.com
37e7a86a89 localize many variables which were accidentally global.
fix bugs in the way the extra treestate data was trimmed from the DB.
change name of package so we can run CVS and BONSAI VC's at the same time for debugging.


git-svn-id: svn://10.0.0.236/trunk@87118 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:00:51 +00:00
kestes%tradinglinx.com
40f58e95c6 now works and is insync with VC_CVS.pm
git-svn-id: svn://10.0.0.236/trunk@87117 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 20:56:58 +00:00
kestes%tradinglinx.com
59f5751006 Add bonsai support.
Make $BRIEF_LOG_TRIM_DAYS &  $FULL_LOG_TRIM_DAYS have same default.


git-svn-id: svn://10.0.0.236/trunk@87116 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 20:55:49 +00:00
kestes%tradinglinx.com
b3988dfd96 now default variables can be overriden by variables in the environment.
allow users to have a cgibin directory which only holds '*.cgi' files.


git-svn-id: svn://10.0.0.236/trunk@87115 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 20:54:32 +00:00
kestes%tradinglinx.com
27aa947c55 add new email address
git-svn-id: svn://10.0.0.236/trunk@87114 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 20:52:26 +00:00
kestes%tradinglinx.com
c8670099e7 round the time down to even seconds. initalize two variables to null string.
git-svn-id: svn://10.0.0.236/trunk@87113 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 20:51:58 +00:00
kestes%tradinglinx.com
f2ad788bdc fix the display of the printing of the bonsai version number
git-svn-id: svn://10.0.0.236/trunk@87112 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 20:49:56 +00:00
kestes%tradinglinx.com
ac5c49edf8 A working version for TreeState using BonsaiData
git-svn-id: svn://10.0.0.236/trunk@87111 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 20:48:37 +00:00
kestes%tradinglinx.com
41ffba6db4 do not pass remote information to bonsai. This allows us to run both
CVS and Bonsai mode at the same time for the same tree while testing.


git-svn-id: svn://10.0.0.236/trunk@87110 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 20:47:53 +00:00
kestes%tradinglinx.com
ac41735fd3 Relax the check for ID's which are considered daemon (root).
git-svn-id: svn://10.0.0.236/trunk@87109 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 20:44:48 +00:00
kestes%tradinglinx.com
e0224c8883 cleaner interface to bonsai
git-svn-id: svn://10.0.0.236/trunk@87108 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 20:41:25 +00:00
kestes%tradinglinx.com
7eddcfe58f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@87107 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 20:40:30 +00:00
mkaply%us.ibm.com
8a178e4bbe #68794
r=mkaply, a=blizzard
Commented out too much code


git-svn-id: svn://10.0.0.236/trunk@87106 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 19:54:52 +00:00
locka%iol.ie
98d594c207 Fixed an issue where the current window had no primary content area and the tree owner went off searching for one in other windows via the windows mediator but forgot to addref the result. b=58639, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@87105 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 19:26:39 +00:00
radha%netscape.com
af35982fcc Fix for bug # 39938. Client side redirection messes up SH. r=rpotts, adamlock
git-svn-id: svn://10.0.0.236/trunk@87104 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 19:10:16 +00:00
dbragg%netscape.com
4a00098a6e Renaming temp files to .new or .old during installations so they don't get auto registered. Bug 67703. r=dveditz sr=mscott
git-svn-id: svn://10.0.0.236/trunk@87103 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 19:03:34 +00:00
dbaron%fas.harvard.edu
78915e633d Adding newline to end of file to fix HP bustage.
git-svn-id: svn://10.0.0.236/trunk@87100 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 15:22:22 +00:00
alecf%netscape.com
a763566cb9 part of fix for #46488 - http startup handlers get an Observe() call as well
r=valeski, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@87099 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 14:43:34 +00:00
jfrancis%netscape.com
c905838848 bug 50497: plaintext copy loses newlines on paste
bug 57292: copy of table cell contents shouldn't copy cell
bug 57170: some inline style not preserved across copy paste
for all above: r=akkana; sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@87098 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 13:22:26 +00:00
jfrancis%netscape.com
13c4b81358 bug 63760: improving iterator speed in aid of selection performance and many editor operations. r=akkana; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@87097 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 13:19:14 +00:00
hyatt%netscape.com
e80f6cd039 Not part of build.
git-svn-id: svn://10.0.0.236/trunk@87096 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 09:43:11 +00:00
axel%pike.org
fda8649a46 not part of build, improve XSLT performance, code by keith, r=me (peterv)
git-svn-id: svn://10.0.0.236/trunk@87089 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 09:21:03 +00:00
hewitt%netscape.com
831720e707 (NOT PART OF BUILD) Document Inspector
git-svn-id: svn://10.0.0.236/trunk@87088 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 09:14:18 +00:00
hewitt%netscape.com
6d4f091694 (NOT PART OF BUILD) Document Inspector
git-svn-id: svn://10.0.0.236/trunk@87087 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 09:07:37 +00:00
timeless%mac.com
85eb1b03f0 fix bug 61802 javascript strict warnings in FilterEditor.js
patch by maolson@earthlink.net r=jag,timeless sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@87084 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 07:40:23 +00:00
timeless%mac.com
166d2544a3 fix bug 53321 New text needed when no recipients are specified
patch by gemal@gemal.dk r=timeless,varada, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@87083 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 06:49:15 +00:00
gayatrib%netscape.com
2775cf6d91 Fix for bug 44591--Search UI: any state shows document done text. r=racham sr=bienvenu. This also fixes bugs 68221 and 44354.
git-svn-id: svn://10.0.0.236/trunk@87082 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 06:37:03 +00:00
sspitzer%netscape.com
41651a14f9 fix js warnings. #68525. thanks to hwaara for the patch. r=timeless, sr=alecf,sspitzer
fix exception when right clicking on an empty
thread pane.  remove duplicated code.  also,
disable "open in new window" and "edit as new" in the
thread pane context menu, if nothing is selected.  sr=bienvenu.  #60632


git-svn-id: svn://10.0.0.236/trunk@87081 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 06:29:47 +00:00
ducarroz%netscape.com
6897e51900 Fix for bug 67693. We need to be smarter when we retrieve the name of an AppleDouble attachment, it can be in any of the parts. Also We need to assign a default name if we don't have one for any kind of attachment. R=sspitzer, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@87079 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 05:49:50 +00:00
nicolson%netscape.com
61532d8098 Make server-side SSL work. Put common code in common.c.
git-svn-id: svn://10.0.0.236/trunk@87078 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 05:46:33 +00:00
nicolson%netscape.com
6de20faf61 make it build better.
git-svn-id: svn://10.0.0.236/trunk@87077 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 05:44:28 +00:00
aaronl%chorus.net
902b73bf1e Pref accessibility.browsewithcaret implemented, bug=49508, r=sfraser, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87076 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 05:07:46 +00:00
blakeross%telocity.com
5e6380d653 52751 in last checkin.
git-svn-id: svn://10.0.0.236/trunk@87074 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 04:37:15 +00:00
blakeross%telocity.com
9497853045 cmd+. in mac dialogs should cancel them and hitting enter/return dismisses dialogs when their default buttons are disabled (52571, 68649). r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@87073 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 04:36:04 +00:00
dcone%netscape.com
624e081b30 Changed the API to BeginDocument.. changed the call in here. sr=attinasi r=rods
git-svn-id: svn://10.0.0.236/trunk@87070 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 03:52:13 +00:00
dcone%netscape.com
d1b776b726 Changed BeginDocument API call.. added parameter. r=rods sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@87069 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 03:49:44 +00:00
thayes%netscape.com
117280162f Add preferences for security/ssl
git-svn-id: svn://10.0.0.236/trunk@87068 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 03:42:30 +00:00
mcafee%netscape.com
a0babfe77b Adding doc links to output format, cleaning up some of the href UI.
git-svn-id: svn://10.0.0.236/trunk@87067 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 03:37:46 +00:00
disttsc%bart.nl
4c2073f943 ``background-position not relative to padding edge when background-repeat is not 'no-repeat' [BG]''. bug=7039, author=Hixie,jag, r=jag,Hixie,dcone, moa=dcone, sr=buster
git-svn-id: svn://10.0.0.236/trunk@87066 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 03:25:22 +00:00
mcafee%netscape.com
fbbb33dee5 anchor tags #flat, #hier
git-svn-id: svn://10.0.0.236/trunk@87065 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 03:24:41 +00:00
mcafee%netscape.com
03dda90c70 Adding support for JP_REALTIME=1, which uses ALRM signal to start.
git-svn-id: svn://10.0.0.236/trunk@87063 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 03:03:04 +00:00
mcafee%netscape.com
1fd8e07b3e Adding jprofsig helper script to make it easier to use jprof. Usage: jprofsig [start|stop]
git-svn-id: svn://10.0.0.236/trunk@87062 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 02:47:14 +00:00
erik%netscape.com
6dfb1440cf better NS_IMPL_ISUPPORTS usage (to be consistent with others)
git-svn-id: svn://10.0.0.236/trunk@87060 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 01:17:44 +00:00
erik%netscape.com
3df144c1b0 better NS_IMPL_ISUPPORTS usage (to be consistent with others)
git-svn-id: svn://10.0.0.236/trunk@87059 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 01:09:01 +00:00
erik%netscape.com
f6ac7cd2cb better NS_IMPL_ISUPPORTS usage (to be consistent with others)
git-svn-id: svn://10.0.0.236/trunk@87058 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 00:59:33 +00:00
ftang%netscape.com
649e30708e check in bidi tools and data files for smontagu@il.ibm.com
r=ftang@netscape.com sr=erik@netscape.com
b=62777
there are no direct connection to the build system so it won't
impact and build status on tinderbox


git-svn-id: svn://10.0.0.236/trunk@87057 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 00:47:21 +00:00
javi%netscape.com
4b1ab74c50 Update version number for PSM
git-svn-id: svn://10.0.0.236/trunk@87055 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 00:39:38 +00:00
javi%netscape.com
00fd658ad2 Update protocol version string.
git-svn-id: svn://10.0.0.236/trunk@87054 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 00:38:51 +00:00
despotdaemon%netscape.com
cddbcef64b Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@87053 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 00:37:54 +00:00
despotdaemon%netscape.com
470226ebcf Pseudo-automatic update of changes made by aaronl@chorus.net.
git-svn-id: svn://10.0.0.236/trunk@87052 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 00:37:16 +00:00
ftang%netscape.com
d1cc1a48b0 land the mac nsBidiKeyboard build change for b 68732.
git-svn-id: svn://10.0.0.236/trunk@87051 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 00:13:14 +00:00
ftang%netscape.com
f59f639c00 fix mac iid problem. r=erik
git-svn-id: svn://10.0.0.236/trunk@87050 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 00:11:29 +00:00
erik%netscape.com
ea985fdf1c fixing build bustage; discovered by ftang
git-svn-id: svn://10.0.0.236/trunk@87049 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 00:10:04 +00:00
ducarroz%netscape.com
2b0978b116 Fix for bug 68212. Oops, I've ifdefed too much code. R=sspitzer, SR=mscott, A=asa
git-svn-id: svn://10.0.0.236/trunk@87048 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 00:05:02 +00:00
rogerl%netscape.com
5016c3b1d9 Cleaning up all over. New Operator enumeration.
git-svn-id: svn://10.0.0.236/trunk@87044 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 23:54:27 +00:00
ftang%netscape.com
6a0e079832 check in for smontagu@il.ibm.com b=62777 r=ftang/waterson(for all.js) sr=erik
Add charset name for IBMBIDI landing. Add pref for IBMBIDI landing


git-svn-id: svn://10.0.0.236/trunk@87043 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 23:45:58 +00:00
erik%netscape.com
3854878e8a bug 68739; r=kmcclusk; sr=erik; author=simon@softel.co.il (IBM bidi
project); new files for querying and setting bidi properties of the
keyboard


git-svn-id: svn://10.0.0.236/trunk@87042 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 23:13:07 +00:00
peterlubczynski%netscape.com
b2163df77e Fix for bug 59394. Number of cached plugins is now a pref:
browser.plugins.max_num_cached_plugins or defaults to 10. a=av sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87041 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 23:03:47 +00:00
mkaply%us.ibm.com
e21bafb130 No bug
r=mkaply, a=blizzard
Handle Shift+Enter properly


git-svn-id: svn://10.0.0.236/trunk@87040 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 23:02:36 +00:00
timeless%mac.com
e7c9912e49 fix bug 66506 Copyright in about: should be updated (2000 -> 2001)
patches from timeless, and gemal@gemal.dk, r=fabian sr from mitchell,hecker@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@87039 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 22:49:42 +00:00
mkaply%us.ibm.com
919f6e058d #60412
r=mkaply, a=blizzard
Make generic font names not case sensitive


git-svn-id: svn://10.0.0.236/trunk@87038 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 22:39:24 +00:00
erik%netscape.com
5b31b2f5f5 bug 68739; r=kmcclusk; sr=erik; author=simon@softel.co.il (IBM bidi
project); adding new files for querying and setting bidi properties of the
keyboard


git-svn-id: svn://10.0.0.236/trunk@87037 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 22:37:33 +00:00
brendan%mozilla.org
aa67a82272 Restore the much-loved, albeit non-ECMA, function caller property (65683, r=rogerl, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@87036 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 22:33:26 +00:00
erik%netscape.com
041e9eda29 bug 68739; r=kmcclusk; sr=erik; new file nsIBidiKeyboard.idl from IBM bidi
project (simon@softel.co.il) for querying and setting bidi properties of
the keyboard


git-svn-id: svn://10.0.0.236/trunk@87035 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 22:32:26 +00:00
brendan%mozilla.org
d4d7f80d47 Don't assert about leaked atoms, do DEBUG fprints instead (68765, r=timeless, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@87034 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 22:25:30 +00:00
mcgreer%netscape.com
a4313bd2b1 configure PKCS#11 strings in PSM.
r=javi


git-svn-id: svn://10.0.0.236/trunk@87033 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 22:15:53 +00:00
leaf%mozilla.org
66412b58b9 Automated update
git-svn-id: svn://10.0.0.236/trunk@87032 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 22:15:15 +00:00
andreww%netscape.com
1566f7c120 bugzilla 47817 - r=blake sr=hewitt -fixing wizard and other large alert boxes. Note: this has the _real_ bug number and the _real_ description. The fix I just posted had a typo in the bug #.
git-svn-id: svn://10.0.0.236/trunk@87031 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 22:12:42 +00:00
andreww%netscape.com
68e4c212b8 bugzilla 42331 - r=hangas, sr=hewitt (real) titlebox fix. the other bug I just committed was for fixing another type of box issue
git-svn-id: svn://10.0.0.236/trunk@87030 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 22:08:52 +00:00
andreww%netscape.com
9ac7301485 bugzilla 48717 - r=blake sr=hewitt -fixing titlebox wierdness.
git-svn-id: svn://10.0.0.236/trunk@87029 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 22:07:03 +00:00
blizzard%redhat.com
9a3403a449 Fix bug #32612. Add xinerama support for linux systems. r=bryner, pinkerton, leaf sr=alecf
git-svn-id: svn://10.0.0.236/trunk@87028 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 22:05:03 +00:00
bnesse%netscape.com
f04156cb5e Initial installation into CVS repository.
(Not part of the build)


git-svn-id: svn://10.0.0.236/trunk@87027 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 22:04:26 +00:00
jgmyers%netscape.com
24f3cc6dde remove dead code: bug 63834 r=ducarroz sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@87026 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 21:56:21 +00:00
hyatt%netscape.com
1da00daa14 Not part of build.
git-svn-id: svn://10.0.0.236/trunk@87024 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 21:38:17 +00:00
chuang%netscape.com
b287fc5fa1 bug57021 Mailing list msg displays multiple copies of addressees. r=ducarroz, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@87022 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 21:08:41 +00:00
evaughan%netscape.com
6dd729eb13 Accessibility DLL. Not in build.
git-svn-id: svn://10.0.0.236/trunk@87021 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 20:51:33 +00:00
dmose%mozilla.org
fe2693b9e6 fix for bug found in original 17464 patch, where removal from the CC list was not generating a mail. r=donm@bluemartini.com
git-svn-id: svn://10.0.0.236/trunk@87020 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 20:41:26 +00:00
chuang%netscape.com
86419543c1 Bug68000 JS exception in stand alone message window, r=bienvenu, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@87019 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 20:32:03 +00:00
hyatt%netscape.com
8ca35b66ce Not part of build.
git-svn-id: svn://10.0.0.236/trunk@87018 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 20:26:18 +00:00
hyatt%netscape.com
eba2bfa45d Fix for 68103. r=the world
git-svn-id: svn://10.0.0.236/trunk@87017 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 20:21:04 +00:00
hyatt%netscape.com
590d3ae87d Not part of build.
git-svn-id: svn://10.0.0.236/trunk@87016 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 20:16:02 +00:00
blakeross%telocity.com
78cfb7b30e getElementsByTagName fails to find namespaced content when called on anonymous content (by Alex Fritze). r=blake sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@87015 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 20:13:34 +00:00
thayes%netscape.com
0ecf523f83 Add MPL license text.
git-svn-id: svn://10.0.0.236/trunk@87014 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 20:11:25 +00:00
thayes%netscape.com
03007b423d Change initialization of NSSDialog object
git-svn-id: svn://10.0.0.236/trunk@87013 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 20:10:00 +00:00
thayes%netscape.com
4848154c1f Implement nsISecurityWarningDialogs in the NSSDialogs object.
git-svn-id: svn://10.0.0.236/trunk@87012 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 20:09:33 +00:00
thayes%netscape.com
5233db2d20 Use NSSDialogs service to implement security warning dialogs.
git-svn-id: svn://10.0.0.236/trunk@87011 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 20:00:01 +00:00
thayes%netscape.com
4f4eea10fb Define new SecurityWarningDialogs interface
git-svn-id: svn://10.0.0.236/trunk@87010 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 19:58:21 +00:00
hyatt%netscape.com
8ae0c51330 Not part of build.
git-svn-id: svn://10.0.0.236/trunk@87007 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 19:44:38 +00:00
hyatt%netscape.com
f830c05b95 Not part of build.
git-svn-id: svn://10.0.0.236/trunk@87005 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 19:39:20 +00:00
disttsc%bart.nl
7ceaa3fc18 Fix javascript strict warnings in pref-charset.js, clean up. bug=60630, author=Mark Olson <maolson@earthlink.net>, r=nhotta, a=alecf
git-svn-id: svn://10.0.0.236/trunk@87004 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 18:57:15 +00:00
bnesse%netscape.com
7508bd193f Removing unused (and now outdated as well) files from the tree.
git-svn-id: svn://10.0.0.236/trunk@87003 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 18:49:19 +00:00
beard%netscape.com
353d07be25 Fixed crashing bugs by using PowerPC struct alignment. Reorganized project to link against Mac libraries, rather than having JS2.lib bring them in.
git-svn-id: svn://10.0.0.236/trunk@87002 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 18:38:12 +00:00
disttsc%bart.nl
97d6a4320c Make "Save File" in XP FilePicker warn when you're trying to save to a non-existant directory. bug=27612, r=bryner, a=alecf
git-svn-id: svn://10.0.0.236/trunk@87001 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 18:36:19 +00:00
beard%netscape.com
d4e2e853d1 Fixing assertion in test case, so js2 shell will start correctly.
git-svn-id: svn://10.0.0.236/trunk@87000 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 18:30:03 +00:00
Peter.VanderBeken%pandora.be
f2e1b1b574 Not part of default build. Keep Transformiix compiling on Mac.
git-svn-id: svn://10.0.0.236/trunk@86998 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 15:59:53 +00:00
rods%netscape.com
ac4b548c62 copy/paste coding error - simple change from Height to Width
Bug 67497 sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@86997 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 15:40:26 +00:00
axel%pike.org
dec26c03ce NOT PART OF BUILD, mozilla module should take stylesheet URL as base, too; r=peterv
git-svn-id: svn://10.0.0.236/trunk@86996 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 15:14:20 +00:00
ftang%netscape.com
1c5f39473d check in the module change for smontagu@il.ibm.com
r=yokoyama@netscape.com and ftang@netscape.com
bug 62777


git-svn-id: svn://10.0.0.236/trunk@86995 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 14:08:18 +00:00
locka%iol.ie
cad02c4d6f Update viewer to use nsIWebBrowserSiteWindow. b=67723, sr=buster
git-svn-id: svn://10.0.0.236/trunk@86994 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 13:14:41 +00:00
rods%netscape.com
a4c6556f22 Fixed bad spelling
Bug 68465 r=dcone,sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@86993 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 12:39:57 +00:00
rods%netscape.com
35291118e4 I couldn't find any documentation explaining on this specifically (classic Microsoft)
But it appears if you set nMinPage to 0, and then nFromPage, nTomPage, & nMaxPage to 0xFFFF
the dialog behaves the way you want it to for "All Pages" and "Page Range"
Plus, it appears you need to pre-set the flags to both "PD_ALLPAGES | PD_RETURNDEFAULT"
in order for the dialog to not appear and have the "::PrintDlg(&prntdlg);" call return.
Bug 61075 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@86992 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 12:04:55 +00:00
brendan%mozilla.org
04e985c325 Crash fix (first part, two more files to come) for old-style obj.eval in a function (68498, r=bryner, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@86990 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 09:11:09 +00:00
mscott%netscape.com
d02c098f0f (NOT PART OF THE BUILD)
contains basic style rules for the new outliner widget for the modern
theme.


git-svn-id: svn://10.0.0.236/trunk@86986 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 07:18:38 +00:00
pchen%netscape.com
5f48936303 bug 68105, r=alecf, sr=mscott, moved deletion of previous version of mime mapping pref up in file, appears to prevent empty mapping from being created, yes, that's a scary statement; while here, also fix case changing a mime mapping pref to overwrite an existing one, delete existing one before saving edits
git-svn-id: svn://10.0.0.236/trunk@86985 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 05:47:46 +00:00
dcone%netscape.com
602792ee45 Release the Presentation Context.. fixes printing leak r=kmmclusk, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@86984 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 05:45:05 +00:00
attinasi%netscape.com
32ec04c869 Patch provided by khiggins@scu.edu - fixes memory leak in viewer. b=44003 r=buster,attinasi
Thanks, Kevin!


git-svn-id: svn://10.0.0.236/trunk@86983 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 05:33:57 +00:00
kmcclusk%netscape.com
eb86eabc8e Invalidate the incremently loaded portion of an image instead of the entire image if the image is not tiled. bug 41134 r=rods@netscape.com sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86982 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 05:31:02 +00:00
jband%netscape.com
1e76ea317d not part of the build - to be used in xpconnect flattening etc.
git-svn-id: svn://10.0.0.236/trunk@86981 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 04:26:03 +00:00
pinkerton%netscape.com
d1f883ec46 doh! forgot to reset the baseAddr of the pixmaps after re-locking the handles in ConvertToPICT. Thanks lordpixel@mac.com. r=saari/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86973 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 03:24:10 +00:00
valeski%netscape.com
e0b53db01a sr=scc. 68187. making weak reference implementation on the browser listener part requirement explicit. API change.
git-svn-id: svn://10.0.0.236/trunk@86970 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 03:12:33 +00:00
dcone%netscape.com
2e0a8e2b04 Added a refcount to the nsDeviceContext. sr=attinasi r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@86968 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 02:57:07 +00:00
javi%netscape.com
04f4b5e3d0 Whenever we get the NSS Dialogs, make it a proxied service to avoid
all the assertions and eventual abort my JavaScript when we try to
open a window on a thread other than the UI thread.


git-svn-id: svn://10.0.0.236/trunk@86963 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 01:45:28 +00:00
disttsc%bart.nl
845066bbe2 "javascript strict warnings in importDialog.js". bug=60632, author=Mark Olson <maolson@earthlink.net>, r=tonyr, r=chuang, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86962 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 01:28:54 +00:00
akkana%netscape.com
d55c8bfefb 18508: Allow for user-specified XBL bindings. sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@86960 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 01:24:45 +00:00
akkana%netscape.com
db324cca20 61757: fix a character type problem. Fix provided by Charles Hannum <mycroft@netbsd.org>, r=me, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86959 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 01:23:23 +00:00
jgmyers%netscape.com
6b68fd0751 fix SMTP/SSL prefs: bug 32018 r=brendan sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86958 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 01:18:33 +00:00
colin%theblakes.com
08ebf3965d Almost forgot the prefs file. b=56243 r=dveditz sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86957 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 01:16:30 +00:00
colin%theblakes.com
20a3706c3b OpenVMS specific pref file support. b=56243 r=dveditz sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86956 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 01:11:45 +00:00
locka%iol.ie
f3e48423e8 Removed a dud command from clobber rule which deleted a file needed for build.
git-svn-id: svn://10.0.0.236/trunk@86954 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 00:43:51 +00:00
dbragg%netscape.com
e7b1cabf70 Now closing the download dialog if Cancel is clicked. Fix for bug 58573. r=sgehani, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86953 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 00:42:11 +00:00
mkaply%us.ibm.com
1b9d2db431 #58501
r=brade, sr=sfraser
Remove unnecessary .99 opacity


git-svn-id: svn://10.0.0.236/trunk@86952 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 00:35:57 +00:00
mkaply%us.ibm.com
3c52f5fd82 OS/2 only
r=mkaply, a=blizzard
Default (npnul) plugin for OS/2


git-svn-id: svn://10.0.0.236/trunk@86951 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 00:29:14 +00:00
mstoltz%netscape.com
116003b599 Bug 66331, nsCodebasePrincipal::GetOrigin needs to specify the port
if nonstnandard. Fixes a bug in LiveConnect. r=dougt, sr=jband.


git-svn-id: svn://10.0.0.236/trunk@86950 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 00:27:34 +00:00
mcafee%netscape.com
28ecbd50b3 Ignore generated files
git-svn-id: svn://10.0.0.236/trunk@86949 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 00:22:38 +00:00
mkaply%us.ibm.com
3c64f057a2 OS/2 only
r=mkaply, a=blizzard
Default (npnul) plugin for OS/2


git-svn-id: svn://10.0.0.236/trunk@86948 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 00:17:52 +00:00
naving%netscape.com
5e8b660b17 50722, 58083. sr=sspitzer, bienvenu No need to reset the ImapConnection. The IMAP code
now uses the exisiting connection.


git-svn-id: svn://10.0.0.236/trunk@86947 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 00:17:15 +00:00
nhotta%netscape.com
1a3a889799 Changed to ignore invalid META charset for certain unicode charsets, bug 56626, r=ftang, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@86945 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 00:04:06 +00:00
nhotta%netscape.com
4bb63e5494 Changed the class to cache unicode converter to avoid extra createinstances, bug 68075, r=yokoyama, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@86944 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 00:02:45 +00:00
hewitt%netscape.com
b14481b727 68709 - mail text change (for stephend), r=hewitt, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86943 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 23:55:46 +00:00
bryner%uiuc.edu
5ef02ce8a7 Bug 68642 - incorrect Union behavior when width or height is 0. r=pavlov, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@86942 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 23:54:13 +00:00
javi%netscape.com
7e1f08d739 Checking in the patch that gets Carbon builds working for PSM 1.x
git-svn-id: svn://10.0.0.236/trunk@86939 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 22:44:51 +00:00
pinkerton%netscape.com
4c94bdb338 carbon changes. r=pink/sdagley/beard. a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86937 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:48:26 +00:00
despotdaemon%netscape.com
b337dcf484 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@86936 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:44:25 +00:00
scc%mozilla.org
c1d8f1bc86 bug #66562: r=harish, sr=brendan, a=blizzard. Make |document.write| work.
git-svn-id: svn://10.0.0.236/trunk@86935 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 21:26:58 +00:00
waterson%netscape.com
b55a3421e5 Backing out changes for 39054, which caused several template regressions.
git-svn-id: svn://10.0.0.236/trunk@86928 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 19:22:56 +00:00
dcone%netscape.com
d9c487d050 had to comment out the release.. the Mac is breaking.. have to figure out why
git-svn-id: svn://10.0.0.236/trunk@86925 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 15:55:34 +00:00
dcone%netscape.com
2f9c2d524f Added the release for the printing presentation context, fixes big leak. r=kmcclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@86924 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 15:05:49 +00:00
dcone%netscape.com
ee715090f3 Put in an AddRef for the newly created DeviceContext for printing. r=kmcclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@86923 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 15:03:50 +00:00
timeless%mac.com
46a1ac74d3 fix bug 61801 javascript strict warnings in FilterListDialog.js
patch by maolson@earthlink.net, r=jag, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@86922 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 14:40:49 +00:00
locka%iol.ie
8068863d46 NOT PART OF BUILD. Updated embed.mak to work again. b=68688
git-svn-id: svn://10.0.0.236/trunk@86921 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 14:24:24 +00:00
locka%iol.ie
27cdc2e270 Added mozctlx.dll to the install package list. b=67682, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86920 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 14:20:05 +00:00
locka%iol.ie
250d03d906 Added control_kicker (mozctlx.dll) to the build. b=67682, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86919 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 14:18:50 +00:00
Peter.VanderBeken%pandora.be
64fff9d17b Not part of the build. Correcting depth.
git-svn-id: svn://10.0.0.236/trunk@86918 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 14:16:28 +00:00
Peter.VanderBeken%pandora.be
e3134bfbb3 Not part of the build. Adding a QI.
git-svn-id: svn://10.0.0.236/trunk@86917 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 14:15:42 +00:00
glazman%netscape.com
7b1e8c9811 patch for #62607 : cssText field of CSSRule is incomplete, missing curly braces. r=brade, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@86916 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 14:10:38 +00:00
glazman%netscape.com
d1b1be34d9 patch for #65448 : css parser refused multiple ID selectors in same sequence; r=dbaron,attinasi sr=attinasi (buster's delegation)
git-svn-id: svn://10.0.0.236/trunk@86915 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 14:06:29 +00:00
waterson%netscape.com
a0e81491ad Break down string and void* data.
git-svn-id: svn://10.0.0.236/trunk@86914 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 10:24:28 +00:00
waterson%netscape.com
71a50f4b44 Fix linux bustage.
git-svn-id: svn://10.0.0.236/trunk@86907 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 07:55:34 +00:00
waterson%netscape.com
5d0fdcbd76 Bug 39054. Make XUL templates work properly inside XBL. r=hyatt,alecf; sr=ben
git-svn-id: svn://10.0.0.236/trunk@86906 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 07:04:55 +00:00
timeless%mac.com
eefc3fda2c fix bug 68484 Account Manager : Change "Delete" to "Remove Account"?
patch by stephend@netscape.com, r=racham, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@86904 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 05:37:59 +00:00
jst%netscape.com
65d14da946 Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@86903 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 05:20:40 +00:00
timeless%mac.com
b1f50f0c42 fix bug 48668 Blank line before URL when selecting Send Page
patch by gemal@gemal.dk, r=timeless, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@86901 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 05:06:33 +00:00
beard%netscape.com
31f9a73ef6 Fixed crashing bugs by using PowerPC struct alignment.
git-svn-id: svn://10.0.0.236/trunk@86900 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 05:05:59 +00:00
timeless%mac.com
28f7773460 fix bug 67827 don't linkify single words in account central UI
fix by stephend@netscape.com, r=timeless, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@86898 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 04:58:46 +00:00
beard%netscape.com
f596ffc004 Took out other libraries, transferred to driver projects.
git-svn-id: svn://10.0.0.236/trunk@86897 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 04:29:55 +00:00
alecf%netscape.com
f119a15095 back myself out to see if I'm causing orange
git-svn-id: svn://10.0.0.236/trunk@86896 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 04:08:26 +00:00
jst%netscape.com
32f6723ad2 Fixing bug 68266 (patch from brendan@mozilla.org). nsJSContext::EvalueateScript n' friends didn't return the complete result string if the result contained embedded null characters. r=jst@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86895 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 04:00:59 +00:00
beard%netscape.com
0a905526e1 friend class ICodeModule; not friend ICodeModule;
git-svn-id: svn://10.0.0.236/trunk@86894 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 03:59:09 +00:00
andreww%netscape.com
3d3a696a5f bugzilla 64353 r-ben sr-hewitt - making mac classic buttons scalable
git-svn-id: svn://10.0.0.236/trunk@86892 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 03:28:09 +00:00
andreww%netscape.com
c6ecd955b4 64353 r=ben, sr=hewitt - making mac classic buttons scalable
git-svn-id: svn://10.0.0.236/trunk@86891 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 03:27:34 +00:00
andreww%netscape.com
b42efc1f48 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@86890 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 03:25:39 +00:00
hewitt%netscape.com
16c4971f6f 68254 - fix classic mail "File" button, r=andreww, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86888 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 03:17:00 +00:00
hewitt%netscape.com
0ea10d8059 68047 - getmsg/mark button weirdness, r=racham, sr=sspitzer, AND
52865 - new folder dialog cleanup, r=blake, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@86885 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 03:05:34 +00:00
timeless%mac.com
85512ab7ff fix bug 67819 javascript strict warnings in pref-smartupdate.xul
patch by maolson@earthlink.net r=timeless, a=alecf


git-svn-id: svn://10.0.0.236/trunk@86884 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 02:56:32 +00:00
dprice%netscape.com
fe020ec48a 65845 first cut of the order files
git-svn-id: svn://10.0.0.236/trunk@86883 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 02:48:02 +00:00
timeless%mac.com
3a92458ec2 fix bug 67818 javascript strict warnings in pref-proxies.js
patch by maolson@earthlink.net r=timeless a=alecf


git-svn-id: svn://10.0.0.236/trunk@86882 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 02:47:54 +00:00
blizzard%redhat.com
68efe2be6f Fix bug #68158. This should fix the crash after the second window is closed. Use a GtkWidget instead of a GdkWindow. r=bryner sr=alecf
git-svn-id: svn://10.0.0.236/trunk@86881 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 02:44:05 +00:00
dprice%netscape.com
38cab83075 65845 First cut of the order files
git-svn-id: svn://10.0.0.236/trunk@86879 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 02:34:59 +00:00
timeless%mac.com
b0566e7bac fix build bustage in bug 67680, adding PRInt32
git-svn-id: svn://10.0.0.236/trunk@86878 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 02:32:21 +00:00
alecf%netscape.com
b8bf57494c fix for #62401, attempt #2 - only cleanup prefs JSContext when the shutdown event comes in, so we
don't fiddle with pointers to freed objects
sr=brendan


git-svn-id: svn://10.0.0.236/trunk@86876 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 02:23:17 +00:00
alecf%netscape.com
e7c2219b61 part of fix for #46488 - not yet part of build, but sr=waterson, r=valeski
create an HTTP startup listener which will initialize the user agent from gecko


git-svn-id: svn://10.0.0.236/trunk@86874 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 02:18:22 +00:00
jgmyers%netscape.com
aca87c5f31 fallback to HELO even if SMTP AUTH enabled: bug 67538 r=bryner sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86871 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 02:09:25 +00:00
alecf%netscape.com
539ff68101 fix for #66418 r=radha, a=ben - fix leaks in url bar history
git-svn-id: svn://10.0.0.236/trunk@86869 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 01:46:33 +00:00
alecf%netscape.com
2a3af2590c fix for 67475 sr=scc, waterson, r=blizzard, jag
observer stuff was using nsString junk when it didn't need to


git-svn-id: svn://10.0.0.236/trunk@86868 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 01:34:14 +00:00
attinasi%netscape.com
fc915e2d7c Explicit registering for load progress to make the Gecko Performance test run again. Patch from ccarlen, r=attinasi
git-svn-id: svn://10.0.0.236/trunk@86866 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 01:23:20 +00:00
nhotta%netscape.com
2dd996accf Changed to control entity (CER) generation by a document charset, bug 65324, r=jst, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@86864 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 01:00:14 +00:00
brendan%mozilla.org
be138b52b8 - Keep interned string atoms around across zero-context episodes on a runtime,
until JS_DestroyRuntime is called (68450, r=rginda, sr=jband).
- NUL-terminate tagbuf in tagify, for the HTML helpers such as string.big()
  (66648, r=timeless, sr=jband).


git-svn-id: svn://10.0.0.236/trunk@86863 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 00:57:10 +00:00
javi%netscape.com
3cd6be6653 Remove all ^M characters
git-svn-id: svn://10.0.0.236/trunk@86862 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 00:27:27 +00:00
pinkerton%netscape.com
a845545a46 change iid's to make them unique. bug 68073, r=pchen/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86861 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 00:10:33 +00:00
pinkerton%netscape.com
7a02550a14 fix for 67406, re-instate the drag handlers for carbon, make them UPPs, make them per-window, not static. r=pchen/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@86860 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 23:39:50 +00:00
hyatt%netscape.com
d3772d830c Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86859 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 23:37:37 +00:00
waterson%netscape.com
214693cd4a Bug 65146. Fix deadlock potential in proxy code; remove unncessary locks from nsPipe2. r=darin,dougt; sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86858 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 23:33:11 +00:00
blakeross%telocity.com
c2a7e86a14 removing another crack dump() compliments of ben.
git-svn-id: svn://10.0.0.236/trunk@86857 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 23:05:27 +00:00
yokoyama%netscape.com
9d4b981959 checkin bstell: bug 60826: add a GBK converter that indicates the X fonts
are missing the ascii glpyhs; r=ftang; sr=erik


git-svn-id: svn://10.0.0.236/trunk@86856 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 22:56:52 +00:00
yokoyama%netscape.com
e3f60ed0dc checkin for bstell: bug 60826: add a GBK converter that indicated that
the X fonts are missing the ascii glyphs; r=ftang; sr=erik


git-svn-id: svn://10.0.0.236/trunk@86855 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 22:52:56 +00:00
mkaply%us.ibm.com
6248277fcc r=mkaply, a=blizzard
Get OS/2 printing working again


git-svn-id: svn://10.0.0.236/trunk@86854 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 22:51:56 +00:00
yokoyama%netscape.com
3930cea879 checkin for bstell: bug 60826: add a GBK converter that indicates that
for GBK X fonts the ascii glyphs are missing; r=ftang; sr=erik


git-svn-id: svn://10.0.0.236/trunk@86853 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 22:48:17 +00:00
yokoyama%netscape.com
3579fe70f5 checking in for bstell: bug 60826: add a GBK converter that indicates the
GBK font does not have ascii glyphs; r=ftang; sr=erik


git-svn-id: svn://10.0.0.236/trunk@86852 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 22:40:41 +00:00
naving%netscape.com
4dc4f30562 64982. sr=sspitzer, bienvenu. No need to add back the folder. It is the same
folder.


git-svn-id: svn://10.0.0.236/trunk@86850 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 22:25:12 +00:00
blakeross%telocity.com
189474ac6d more dump() removal.
git-svn-id: svn://10.0.0.236/trunk@86849 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 22:21:14 +00:00
blakeross%telocity.com
b03b98428b Removing Ben's crackhead date dumps.
git-svn-id: svn://10.0.0.236/trunk@86848 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 22:18:27 +00:00
nhotta%netscape.com
906471ebff Changed to pass a default charset to MIME decoder.
The decoder can use the default if it's indicated in case no charset specified in the header itself,
bug 66098, r=ducarroz, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@86845 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 21:55:19 +00:00
blakeross%telocity.com
82b2fb8487 Scroll the page if single-line textfields have focus instead of doing nothing when scrolling with the mousewheel (62431). r=bryner,akkana sr=alecf
git-svn-id: svn://10.0.0.236/trunk@86843 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 21:53:34 +00:00
pinkerton%netscape.com
385f6f9294 fix 'about mozilla' item in apple menu. make sure we call HandleDOMEvent on the correct dom node ;) r=pchen/a=sfraser. bug 43935
git-svn-id: svn://10.0.0.236/trunk@86842 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 21:50:14 +00:00
blakeross%telocity.com
9211a89ab3 Only declare a string ptr when necessary. r=timeless
git-svn-id: svn://10.0.0.236/trunk@86841 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 21:48:01 +00:00
blakeross%telocity.com
236e541761 Fixing broken url and text d&d (68058). r=timeless sr=ben
git-svn-id: svn://10.0.0.236/trunk@86840 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 21:44:29 +00:00
naving%netscape.com
91eea36d2c 63866. sr=sspitzer, bienvenu. Get Subfolders for 'trash' and not 'this'
git-svn-id: svn://10.0.0.236/trunk@86839 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 21:38:48 +00:00
blakeross%telocity.com
5fd65bc5fb Inconsistent wording usage (by gemal, 50826). r=hwaara sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@86838 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 21:31:45 +00:00
blakeross%telocity.com
7e6aa12cf9 Only get the type when we need it. r=hixie
git-svn-id: svn://10.0.0.236/trunk@86837 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 21:19:23 +00:00
blakeross%telocity.com
ffdd58fa50 Removing unnecessary initialization. r=timeless
git-svn-id: svn://10.0.0.236/trunk@86835 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 21:16:02 +00:00
bryner%uiuc.edu
2453816edc We don't need to distribute any sample components in our .xpi files. r/sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@86829 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 15:25:18 +00:00
locka%iol.ie
ae50a9c335 Changed embedding installation to package embedding chrome into an embed.jar file. b=67423, r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86828 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 14:36:46 +00:00
locka%iol.ie
f40af0f745 New embedding jar file manifest. r=valeski@netscape.com, b=67423
git-svn-id: svn://10.0.0.236/trunk@86827 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 14:33:29 +00:00
glazman%netscape.com
a374c1978c #52381 corrects pseudo-elmts handling in nsCSSSelector::ToString ; r=attinasi,saslawsky sr=vidur,waterson
git-svn-id: svn://10.0.0.236/trunk@86826 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 13:04:06 +00:00
disttsc%bart.nl
2e6557696e Make <stringbundle/> more complete, add getFormattedString. bug=68449, r=timeless, a=ben
git-svn-id: svn://10.0.0.236/trunk@86824 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 11:28:34 +00:00
ben%netscape.com
eece69d490 Bug 67680, remove CreateFolder method from nsIBookmarksService. r=jag, a=alecf.
git-svn-id: svn://10.0.0.236/trunk@86823 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 10:54:27 +00:00
beard%netscape.com
883976806a Initial check-in.
git-svn-id: svn://10.0.0.236/trunk@86821 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 10:17:08 +00:00
hyatt%netscape.com
38e16fbbdd Sample files. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86819 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 08:25:24 +00:00
beard%netscape.com
0ac9ad19ad Access path bustage fix.
git-svn-id: svn://10.0.0.236/trunk@86818 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 08:22:03 +00:00
hyatt%netscape.com
2ddc44f4f7 Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86816 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 08:16:20 +00:00
morse%netscape.com
a3ad039f3c bug 55052 (r=nhotta, sr= alecf) search text field changes what user types, and bug 28137 (r=sgehani, sr=alecf, URL search bar should reset category popup
git-svn-id: svn://10.0.0.236/trunk@86815 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 08:09:54 +00:00
morse%netscape.com
350d664657 bug 55052 (r=nhotta, sr= alecf) search text field changes what user types, and bug 28137 (r=sgehani, sr=alecf, URL search bar should reset category popup
git-svn-id: svn://10.0.0.236/trunk@86814 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 08:02:58 +00:00
beard%netscape.com
0ea05f04d2 Remove hard linkage against xpcom to preempt possible bustage. Now obtaining component manager from service manager.
git-svn-id: svn://10.0.0.236/trunk@86813 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 08:00:11 +00:00
beard%netscape.com
d0a97fcdb6 fix for bug #68338, r=mstoltz, sr=brendan, a=leaf
git-svn-id: svn://10.0.0.236/trunk@86812 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 07:48:49 +00:00
beard%netscape.com
86c68b32ff fix for bug #63466, r=mstoltz, sr=brendan, a=leaf
git-svn-id: svn://10.0.0.236/trunk@86811 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 07:47:28 +00:00
buster%netscape.com
4ce43e99f9 bug 47549 (Floaters cause entire page to redraw as content is appended (block paint perf))
r=kmcclusk@netscape.com
sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86810 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 07:06:49 +00:00
buster%netscape.com
0bce73b69f bug 64696 (DOM UI events should be allocated from a recycler)
r=attinasi
sr=waterson


git-svn-id: svn://10.0.0.236/trunk@86808 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 06:54:31 +00:00
timeless%mac.com
f57f7ebd62 fix bug 68194 Wording changes to Account Settings panel
patch by stephend@netscape.com r=timeless, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@86807 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 06:24:30 +00:00
chak%netscape.com
9fd98a2943 NOT PART OF THE BUILD.
Fixes for the following bugs:
#67970 - Fix MfcEmbed to reflect the FindNamedBrowserItem changes
#68190 - MfcEmbed must turn on Single Sign-on Support by default.
#68225 - MfcEMbed should implement nsIwebBrowserFind
r=adamlock, r=ccarlen


git-svn-id: svn://10.0.0.236/trunk@86806 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 06:09:07 +00:00
buster%netscape.com
cb15939f85 bug 68366 (asserts prevent automated regression tests from being run)
sr=waterson
just removed an unnecessary assertion (and early termination side effect)


git-svn-id: svn://10.0.0.236/trunk@86805 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 05:37:25 +00:00
buster%netscape.com
5ee5a1b9f6 bug 68366 (asserts prevent automated regression tests from being run)
implementing nsIPrompt in viewer test app to avoid assertions.  all methods are no-ops.
r=waterson (note, changes to viewer app require only one level of review)


git-svn-id: svn://10.0.0.236/trunk@86804 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 05:35:04 +00:00
ben%netscape.com
b08ac85456 update classic skin README. not part of build.
git-svn-id: svn://10.0.0.236/trunk@86796 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 04:15:32 +00:00
bryner%uiuc.edu
92f7627173 Backing out dougt's channel changes.
git-svn-id: svn://10.0.0.236/trunk@86794 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:20:46 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
disttsc%bart.nl
5d2ade1fb4 From Small Gods, by Terry Pratchett:
The light was brilliant, crystalline, in a black sky filled with stars.
'Ah. There really is a desert. Does everyone get this?' said Brutha.
WHO KNOWS?
'And what is at the end of the desert?'
JUDGEMENT.
Brutha considered this.
'Which end?'
Death grinned and stepped aside.
What Brutha had thought was a rock in the sand was a hunched figure, sitting clutching its knees. It looked paralysed with fear.
He stared.
'Vorbis?' he said.
He looked at Death.
'But Vorbis died a hundred years ago!'
YES. HE HAD TO WALK IT ALL ALONE. ALL ALONE WITH HIMSELF. IF HE DARED.
'He's been here fore a hundred years?'
POSSIBLY NOT. TIME IS DIFFERENT HERE. IT IS . . . MORE PERSONAL.
'Ah. You mean a hundred years can pass like a few seconds?'
A HUNDRED YEARS CAN PASS LIKE INFINITY.
The black-on-black eyes stared imploringly at Brutha, who reached out automatically, without thinking . . . and then hesitated.
HE WAS A MURDERER, said Death. AND A CREATOR OF MURDERERS. A TORTURER. WITHOUT PASSION. CRUEL. CALLOUS. COMPASSIONLESS.
'Yes. I know. He's Vorbis,' said Brutha. Vorbis changed people. Sometimes he changed them into dead people. But he always changed them. That was his triumph.
He sighed.
'But I'm me,' he said.
Vorbis stood up, uncertainly, and followed Brutha across the desert.
Death watched them walk away.

The End.


git-svn-id: svn://10.0.0.236/trunk@86792 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:13:48 +00:00
disttsc%bart.nl
e2205bb1be From Small Gods, by Terry Pratchett:
The light was brilliant, crystalline, in a black sky filled with stars.
'Ah. There really is a desert. Does everyone get this?' said Brutha.
WHO KNOWS?
'And what is at the end of the desert?'
JUDGEMENT.
Brutha considered this.
'Which end?'
Death grinned and stepped aside.
What Brutha had thought was a rock in the sand was a hunched figure, sitting clutching its knees. It looked paralysed with fear.
He stared.
'Vorbis?' he said.
He looked at Death.
'But Vobis died a hundred years ago!'
YES. HE HAD TO WALK IT ALL ALONE. ALL ALONE WITH HIMSELF. IF HE DARED.
'He's been here fore a hundred years?'
POSSIBLY NOT. TIME IS DIFFERENT HERE. IT IS . . . MORE PERSONAL.
'Ah. You mean a hundred years can pass like a few seconds?'
A HUNDRED YEARS CAN PASS LIKE INFINITY.
The black-on-black eyes stared imploringly at Brutha, who reached out automatically, without thinking . . . and then hesitated.
HE WAS A MURDERER, said Death. AND A CREATOR OF MURDERERS. A TORTURER. WITHOUT PASSION. CRUEL. CALLOUS. COMPASSIONLESS.
'Yes. I know. He's Vorbis,' said Brutha. Vorbis changed people. Sometimes he changed them into dead people. But he always changed them. That was his triumph.
He sighed.
'But I'm me,' he said.
Vobis stood up, uncertainly, and followed Brutha across the desert.
Death watched them walk away.

The End.


git-svn-id: svn://10.0.0.236/trunk@86791 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:12:57 +00:00
disttsc%bart.nl
5399ec9bc4 Fix incorrect change from nsIChannel to nsIRequest. r=dbaron, r=dougt
git-svn-id: svn://10.0.0.236/trunk@86776 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-11 18:42:40 +00:00
ben%netscape.com
ffcd5908c6 update classic skin README. not part of build.
git-svn-id: svn://10.0.0.236/trunk@86775 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-11 08:47:48 +00:00
mkaply%us.ibm.com
84b1786a08 OS/2 ONLY - Get printer dialog working again
r=mkaply, a=blizzard


git-svn-id: svn://10.0.0.236/trunk@86751 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 17:00:52 +00:00
mscott%netscape.com
11b80343fb work around to get opening mail attachments and replying to
messages working again (Bugs #68392 and 68371). For imap, if the
AsyncRead on the cache entry returns any kind of error, punt on reading
from the mem cache and hit the network again.


git-svn-id: svn://10.0.0.236/trunk@86750 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 08:43:32 +00:00
jst%netscape.com
26229f750d Interface cleanup. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@86749 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 05:03:46 +00:00
disttsc%bart.nl
2ebbb1e4f8 Fix bustage (at least on linux with GCC) in LDAP by adding missing NS_IMETHODIMP for nsLDAPChannel::AsyncOpen
git-svn-id: svn://10.0.0.236/trunk@86748 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 04:47:37 +00:00
dbaron%fas.harvard.edu
5e7361301a Fix OS/2 bustage by updating to new necko interfaces by applying the exact same patch used in the GTK port.
git-svn-id: svn://10.0.0.236/trunk@86747 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 04:05:05 +00:00
jst%netscape.com
f78146ca58 Interface cleanup. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@86746 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 03:51:13 +00:00
dbaron%fas.harvard.edu
9eb66eebf7 Update REQUIRES to fix senna bustage.
git-svn-id: svn://10.0.0.236/trunk@86745 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 03:12:32 +00:00
dbaron%fas.harvard.edu
43880accc9 Update REQUIRES to fix senna bustage.
git-svn-id: svn://10.0.0.236/trunk@86744 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 03:06:49 +00:00
dbaron%fas.harvard.edu
b946dbe441 Updating to new necko interfaces to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@86743 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 03:02:13 +00:00
dbaron%fas.harvard.edu
1b7eec341f Fix OS/2 bustage from dougt's changes with PR_STATIC_CALLBACK.
git-svn-id: svn://10.0.0.236/trunk@86742 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 02:54:47 +00:00
javi%netscape.com
80a1abcf9f Make the nsINSSDialogs a base class that we do a QI to
figure out if it implements the interface we want.

Change the implementation in pippki to register its UI handling
with this new method.


git-svn-id: svn://10.0.0.236/trunk@86741 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 02:53:10 +00:00
nicolson%netscape.com
1e1fe544f6 fill out SSLSocket with more methods.
git-svn-id: svn://10.0.0.236/trunk@86740 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 02:49:33 +00:00
bryner%uiuc.edu
92fcaa5b02 Removing #ifdef DEBUG_bryner code which I don't care about any more and which breaks with dougt's changes. a=jag.
git-svn-id: svn://10.0.0.236/trunk@86739 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 02:47:00 +00:00
disttsc%bart.nl
91b274f99e Fix senna bustage, update REQUIRES
git-svn-id: svn://10.0.0.236/trunk@86738 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 02:44:55 +00:00
bryner%uiuc.edu
bf39a2ad7a Catching up with dougt's necko changes. r=javi.
git-svn-id: svn://10.0.0.236/trunk@86737 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 02:29:46 +00:00
relyea%netscape.com
ed82589e54 OK, let's not get sloppy on the types... flags should be a PRUint32.
git-svn-id: svn://10.0.0.236/trunk@86732 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 02:05:19 +00:00
relyea%netscape.com
cfdefcfcde Make the public interface use a flags variable instead of a billion little
Bools.

suggested and reviewed by wtc in bug 66230


git-svn-id: svn://10.0.0.236/trunk@86731 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 02:03:03 +00:00
relyea%netscape.com
ffc4ae9be7 Bug 68234. Handle automatic update of NES2.0, and NES 3.X databases.
reviewed by nelsonb


git-svn-id: svn://10.0.0.236/trunk@86728 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 01:44:34 +00:00
scc%mozilla.org
1ee3d0b751 fix bustage caused by access violations not caught in CodeWarrior <sorry>
git-svn-id: svn://10.0.0.236/trunk@86722 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 01:05:43 +00:00
dougt%netscape.com
dbb7bc5232 updating to new necko interfaces. r=rginda@netscape.com a=dougt
git-svn-id: svn://10.0.0.236/trunk@86721 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:46:19 +00:00
rogerl%netscape.com
c39bbd6aa8 Added new icodes for xcrement ops, unary ops etc. Changed override
resolution mechanism.


git-svn-id: svn://10.0.0.236/trunk@86720 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:45:45 +00:00
dougt%netscape.com
7af79c83df Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
dougt%netscape.com
0d5a6bbe0d necko channel changes. r=darin, a=rpotts
git-svn-id: svn://10.0.0.236/trunk@86716 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:05:02 +00:00
scc%mozilla.org
9ffaf9da8b bug #66562: r=harishd, sr=brendan, a=brendan. Allow insertion into sliding string buffers
git-svn-id: svn://10.0.0.236/trunk@86715 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:02:28 +00:00
jst%netscape.com
f6e45f80b3 Fixing regression bug 68139. Accessing radiobutton.value always returning the defalue value. r=harishd, sr=vidur, a=blizzard@mozilla.org/asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86713 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 23:45:41 +00:00
rginda%netscape.com
8aef0119b1 adding .prefix files for the tests
git-svn-id: svn://10.0.0.236/trunk@86710 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 23:32:03 +00:00
rginda%netscape.com
c2871dd95c changes to get the tests building again on the mac
git-svn-id: svn://10.0.0.236/trunk@86709 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 23:31:11 +00:00
mkaply%us.ibm.com
8e3640be69 #67515
r=mkaply, a=blizzard
OS/2 ONLY - Ignore extraneous WM_MOUSEMOVE so the event manager doesn't think we are dragging


git-svn-id: svn://10.0.0.236/trunk@86707 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 23:24:54 +00:00
harishd%netscape.com
ad2e158d13 68008 - After evaluating the external JS content make sure to that the parser is not blocked before resumeparsing.
r=jst sr=vidur a=blizzard
68160 - Set stream listener state to eOnStop only on the final context.
r=nisheeth sr=vidur a=blizzard.


git-svn-id: svn://10.0.0.236/trunk@86704 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 22:36:23 +00:00
dprice%netscape.com
ece33350d8 Correcting config.mak, define /Gh independently of MOZ_DEBUG
(65845) rs=leaf,r=waterson,a=blizzard


git-svn-id: svn://10.0.0.236/trunk@86703 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 22:28:31 +00:00
mkaply%us.ibm.com
b8c434c891 #68343
r=mkaply, a=blizzard
OS/2 ONLY - Change OS/2 to use real XPCOM component registration to fix printing


git-svn-id: svn://10.0.0.236/trunk@86702 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 22:25:08 +00:00
mkaply%us.ibm.com
b9335c452a #68343
r=pavlov, sr=blizzard, a=blizzard
Change OS/2 to use real XPCOM component registration to fix printing


git-svn-id: svn://10.0.0.236/trunk@86701 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 22:23:13 +00:00
dbaron%fas.harvard.edu
b2ff7cfd4c Add stub for nsFontEnumeratorXlib::HaveFontFor (same stub as for GTK) to fix xlib bustage. b=67840 a=cls,blizzard
git-svn-id: svn://10.0.0.236/trunk@86700 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 22:21:52 +00:00
mcgreer%netscape.com
16e3c37907 add a script for testing various nss commands. not run by default for now.
git-svn-id: svn://10.0.0.236/trunk@86699 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 22:06:16 +00:00
nicolson%netscape.com
f7a7e492d2 Export the JavaVM so we can access it from SSL callbacks.
git-svn-id: svn://10.0.0.236/trunk@86698 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 21:47:29 +00:00
cls%seawood.org
c230aba827 Allow spaces in --enable-optimize args. Bug #68246 r=leaf a=brendan
git-svn-id: svn://10.0.0.236/trunk@86697 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 21:30:14 +00:00
nicolson%netscape.com
d9e5636a80 remove /s/b/c/ from jdk.mk. To Netscape-chauvinistic.
git-svn-id: svn://10.0.0.236/trunk@86696 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 21:25:50 +00:00
bryner%uiuc.edu
f95f8cafa9 Fixing compile for tip NSS. r=javi. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86693 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 20:17:05 +00:00
rogerl%netscape.com
70893d1e66 Added WIN32 warning suppression pragma.
git-svn-id: svn://10.0.0.236/trunk@86691 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 19:11:04 +00:00
rogerl%netscape.com
389949045d Added pragma to disable overlong identifiers warning
git-svn-id: svn://10.0.0.236/trunk@86690 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 19:10:18 +00:00
rogerl%netscape.com
290c4cf524 Turned on RTTI
git-svn-id: svn://10.0.0.236/trunk@86689 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 19:09:23 +00:00
ccarlen%netscape.com
bd093b7b53 Mac embedding sample code only. Embedding sample needs to use new nsIWebBrowserFind API (68169). r=valeski,sfraser a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@86686 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 17:51:00 +00:00
kestes%tradinglinx.com
0ab4c7ce99 add new type for password field which will not display value on cgi page.
git-svn-id: svn://10.0.0.236/trunk@86684 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 15:16:57 +00:00
hyatt%netscape.com
3eb84331cc Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86683 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 12:18:52 +00:00
hyatt%netscape.com
821dd41230 Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86681 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 12:12:53 +00:00
jst%netscape.com
ca416d91d9 Interface cleanup. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@86680 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 12:01:35 +00:00
jst%netscape.com
d94ed88bbb Interface cleanup. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@86679 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 11:56:32 +00:00
jst%netscape.com
ef97af2d2b Interface cleanup. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@86678 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 11:47:40 +00:00
jst%netscape.com
fd1c64aa9b Interface cleanup. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@86677 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 11:39:07 +00:00
jst%netscape.com
47d4553933 Interface cleanup. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@86676 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 11:30:21 +00:00
nicolson%netscape.com
01e05d2ed4 some new utilities for the SSL code.
git-svn-id: svn://10.0.0.236/trunk@86675 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 11:28:01 +00:00
nicolson%netscape.com
9e7fd25eef build ssl now.
git-svn-id: svn://10.0.0.236/trunk@86674 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 11:27:13 +00:00
nicolson%netscape.com
af37a24ab9 remove libfort, add lib jssssl.
git-svn-id: svn://10.0.0.236/trunk@86673 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 11:26:48 +00:00
nicolson%netscape.com
a88a676381 Checkin new SSL code. SSLClient test works.
git-svn-id: svn://10.0.0.236/trunk@86672 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 11:26:34 +00:00
jst%netscape.com
2384344de6 Interface cleanup, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@86671 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 11:20:07 +00:00
hyatt%netscape.com
7e942f6c3d Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86670 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 09:48:33 +00:00
hyatt%netscape.com
9ca1c0645a Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86668 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 07:46:46 +00:00
hyatt%netscape.com
ccc6173a9e Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86667 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 07:38:16 +00:00
hyatt%netscape.com
e4a661e743 Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86665 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 07:21:01 +00:00
sspitzer%netscape.com
c6f9f8bb99 performance tweak. see #68174
git-svn-id: svn://10.0.0.236/trunk@86663 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 06:33:32 +00:00
waldemar%netscape.com
494f89b821 A few new semantics
git-svn-id: svn://10.0.0.236/trunk@86656 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 05:00:28 +00:00
leaf%mozilla.org
22cee6deab change user agent string to reflect reality better (m18->0.8). r=timelese, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@86655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 04:48:26 +00:00
nelsonb%netscape.com
f48a3d214e Modify ssl_FindSocket() to set error PR_BAD_DESCRIPTOR_ERROR when it
cannot find the SSL layer on the specified PRFileDesc. Ensure all
callers detect when ssl_FindSocket returns NULL and handle it properly.
Bug 68241. Reviewed by jgmyers and relyea.
Modified Files:
 	prelib.c sslauth.c sslsecur.c sslsock.c


git-svn-id: svn://10.0.0.236/trunk@86651 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 02:11:31 +00:00
javi%netscape.com
e5ac847da3 Clean up the NSS initialization code including loading of Root Cert module.
git-svn-id: svn://10.0.0.236/trunk@86650 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 01:56:29 +00:00
relyea%netscape.com
82187a130c update certutil and modutil to use the new NSS_Initialize signature.
modutil can now specify it's nocertdb paramter.

bug 64260 reviewed by wtc


git-svn-id: svn://10.0.0.236/trunk@86649 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 01:38:04 +00:00
relyea%netscape.com
cc22e11556 Allow applications to initialize nss without necessarily initializing databases.Needed to keep old modutil semantics. Bug 66230. reviewed by wtc.
git-svn-id: svn://10.0.0.236/trunk@86648 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 01:34:12 +00:00
relyea%netscape.com
265e3cd9af Move cdbhdl.h to private exports. bug 64260 revied by nelsonb.
git-svn-id: svn://10.0.0.236/trunk@86647 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 01:32:42 +00:00
mscott%netscape.com
f9b7b5bb14 Bug #67481 --> our JS object needs to implement nsIWeakReference
sr=sspitzer/alecf
r=blake
a=asa


git-svn-id: svn://10.0.0.236/trunk@86646 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 01:12:57 +00:00
ben%netscape.com
53f1dcdc80 workaround for .8 for 630seven8, r=blake, cmanske, sr=alecf, a=asa. bug remains open
as this is just a temporary workaround to prevent mac optimized crash.


git-svn-id: svn://10.0.0.236/trunk@86645 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 01:09:00 +00:00
nelsonb%netscape.com
42affac00d Allow application to customize cert verification slop time.
Default is 24 hours.  Bug 48300. Reviewed by wtc.
Modified Files:
 	lib/nss/nss.def lib/certdb/cert.h lib/certdb/certdb.c


git-svn-id: svn://10.0.0.236/trunk@86644 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 01:06:41 +00:00
nelsonb%netscape.com
e00b59a1ac Make SSL API consistent in using SECStatus as return value for functions
that return only values in that enumeration.  Bug 68097. R&A = relyea.
Modified Files:
 	lib/ssl/ssl.h lib/ssl/sslauth.c lib/ssl/sslsecur.c
 	lib/ssl/sslsnce.c lib/ssl/sslsock.c cmd/selfserv/selfserv.c
 	cmd/strsclnt/strsclnt.c


git-svn-id: svn://10.0.0.236/trunk@86642 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 00:32:14 +00:00
sspitzer%netscape.com
a3f7b90648 NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@86641 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 00:23:50 +00:00
rginda%netscape.com
8460e8da04 mac build goop for tests/cpp and utilities.cpp fix for debug targets on mac
git-svn-id: svn://10.0.0.236/trunk@86640 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-09 00:08:22 +00:00
sspitzer%netscape.com
aaf9c63438 hoy hoy hoy! NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@86639 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 23:57:20 +00:00
sspitzer%netscape.com
863b29262e NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@86637 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 23:44:47 +00:00
javi%netscape.com
411914a6e7 Fix for Bug 68063
r=nelsonb, a=wtc

Make NSS_Init backwards compatible for the Mac.


git-svn-id: svn://10.0.0.236/trunk@86636 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 23:43:00 +00:00
jj%netscape.com
c4f0bdc9aa #65764 / Bugscape #3508: Update Mac version strings to 0.8. a=r=leaf
git-svn-id: svn://10.0.0.236/trunk@86635 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 23:33:46 +00:00
hyatt%netscape.com
aff1c3e139 XBL insertion point fixes: 67990, 67574, and the dependent bug 55292 all get fixed.
git-svn-id: svn://10.0.0.236/trunk@86634 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 23:24:55 +00:00
rginda%netscape.com
2e949f338a Changes to get mac building the js2 library
git-svn-id: svn://10.0.0.236/trunk@86633 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 23:05:53 +00:00
kestes%tradinglinx.com
fe5ae82cd2 Fixed typo form.
maxdate field was not formatted in the same way as the
mindate field, this caused the value to not be loaded from the URL.


git-svn-id: svn://10.0.0.236/trunk@86632 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 22:53:34 +00:00
sspitzer%netscape.com
7319b4a837 more hacking with the anipals. NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@86631 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 22:43:29 +00:00
kin%netscape.com
7fa6e060fc Initial checkin of XPIDL'ized TransactionManager interfaces.
NOT PART OF THE BUILD YET!


git-svn-id: svn://10.0.0.236/trunk@86630 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 22:12:30 +00:00
sspitzer%netscape.com
8ac2684102 more hacking with bienvenu. NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@86629 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 22:04:50 +00:00
sspitzer%netscape.com
7069d5af1b NOT PART OF THE BUILD. more hacking with bienvenu.
git-svn-id: svn://10.0.0.236/trunk@86628 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 22:02:48 +00:00
rginda%netscape.com
0e004ee709 Turn on RTTI
git-svn-id: svn://10.0.0.236/trunk@86627 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 21:48:19 +00:00
rginda%netscape.com
766afea1ed Adding windows build goop for the tests
git-svn-id: svn://10.0.0.236/trunk@86626 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 21:38:52 +00:00
waterson%netscape.com
22ec416bf6 Bug 67900. Unitialized bare pointer with nsCOMPtr, avoiding crash if GetElementResource() fails, and fixing a leak to boot. r=scottip,rjesup; sr=alecf; a=blizzard
git-svn-id: svn://10.0.0.236/trunk@86625 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 21:25:13 +00:00
rginda%netscape.com
cf6ba95c5e Changes to get the lib building in vcc
git-svn-id: svn://10.0.0.236/trunk@86624 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 21:13:16 +00:00
pinkerton%netscape.com
3d24858249 Backout of 30841 to fix menus not going away when clicking in the title bar
r=pink/sr=hyatt/a=asa


git-svn-id: svn://10.0.0.236/trunk@86623 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 21:06:43 +00:00
rginda%netscape.com
99284a3872 ok, let's try that again.
git-svn-id: svn://10.0.0.236/trunk@86622 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 21:04:06 +00:00
rginda%netscape.com
82434eae00 Changed vc build to make a library instead of an exe
git-svn-id: svn://10.0.0.236/trunk@86621 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 20:56:56 +00:00
blizzard%redhat.com
3b1a681c73 Fix bug #68057. Track visibility changes so that windows opened via window.open() actually open properly.
git-svn-id: svn://10.0.0.236/trunk@86620 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 20:12:13 +00:00
nboyd%atg.com
b20d1996bb Fix for problem:
Subject:
             Rhino Exception Handling: Inconsistency btw Old/New Versions of 1.5
        Date:
             Mon, 05 Feb 2001 06:07:07 -0800
       From:
             Timothy Bergeron <bergeron@resumerabbit.com>
 Organization:
             Another Netscape Collabra Server User
 Newsgroups:
             netscape.public.mozilla.jseng




I've been using Rhino for about a year with almost no problems. However,
I downloaded the latest Rhino tip (rhino15R2pre) and discovered a
significant difference in exception handling.

I rely heavily on JavaScript code like the following:

try {
   var em  = new ExceptionMaker();
   em.npe();  // method throws a java.lang.NullPointerException
   //em.ae();  // method throws a Packages.AutomationException
}
catch (e if (e instanceof java.lang.NullPointerException)) {
   java.lang.System.out.println("Caught a NullPointerException");
   e.printStackTrace();
}
catch (e if (e instanceof Packages.AutomationException)) {
   java.lang.System.out.println("Caught an AutomationException");
}
catch (e) {
   java.lang.System.out.println("Caught an unexpected exception: "+e);
}
finally {
   java.lang.System.out.println("Finally!");
}

Previous Rhino versions worked as expected. The exception thrown from
within the host object would be caught and the appropriate actions could
be taken.

With the most recent tip, the thrown exceptions simply are not caught
within the JavaScript. They propagate back to the Java function invoking
the (in my case) Context.evaluateReader() method.

Running the above JS fragement with the older tip displayed the
following stack trace (when the NullPointerException was caught):

Rhino Version: JavaScript-Java 1.5 release 1 2000 03 15
Caught a NullPointerException
java.lang.NullPointerException
        at java.lang.Throwable.<init>(Throwable.java:84)
        at java.lang.Exception.<init>(Exception.java:35)
        at java.lang.RuntimeException.<init>(RuntimeException.java:39)
        at
java.lang.NullPointerException.<init>(NullPointerException.java:45)
        at ExceptionMaker.jsFunction_npe(ExceptionMaker.java:13)
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.mozilla.javascript.FunctionObject.call(FunctionObject.java:497)
        at
org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1205)
        at org.mozilla.javascript.gen.c1.call(exception.js:3)
        at org.mozilla.javascript.gen.c1.exec(exception.js)
        at
org.mozilla.javascript.Context.evaluateReader(Context.java:739)
        at js.main(js.java:14)
Finally!

When run with the latest tip, the output is:

Rhino Version: JavaScript-Java 1.5 release 1 2000 03
15                                          Finally!
Exception in thread "main" java.lang.NullPointerException
        at java.lang.Throwable.<init>(Throwable.java:84)
        at java.lang.Exception.<init>(Exception.java:35)
        at java.lang.RuntimeException.<init>(RuntimeException.java:39)
        at
java.lang.NullPointerException.<init>(NullPointerException.java:45)
        at ExceptionMaker.jsFunction_npe(ExceptionMaker.java:13)
        at inv2.invoke()
        at
org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:843)
        at
org.mozilla.javascript.FunctionObject.call(FunctionObject.java:486)
        at
org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1199)
        at org.mozilla.javascript.gen.c1.call(Unknown Source)
        at org.mozilla.javascript.gen.c1.exec(Unknown Source)
        at
org.mozilla.javascript.Context.evaluateReader(Context.java:778)
        at js.main(js.java:14)

Curiously, both Rhino versions seem to be returning the same string from
Context.getImplementionVerison();

Anyway, the results from the two runs are clearly different: In the
first case, the exception is thown, the correct catch block is invoked
(hence the stace trace), and the finally block is invoked. In the second
case, the exception is thrown, the finally block is invoked, and the
exception is handled by the calling Java method rather than being
handled by the JavaScript code.

After some research, it appears this change was introducted by a
modification to FunctionObject.call()  (See
http://bugzilla.mozilla.org/show_bug.cgi?id=64788) which used to have:

       try {
            Object result = (method != null)
                            ? method.invoke(thisObj, invokeArgs)
                            : ctor.newInstance(invokeArgs);
            return hasVoidReturn ? Undefined.instance : result;
        }

but now has:

            Object result = method == null ?
ctor.newInstance(invokeArgs)
                                           : doInvoke(thisObj,
invokeArgs);

If I comment out the new code and replace it with the old, the expected
exception handling returns. Is this just an oversight or the new
expected behavior? Are there any negative side effects (other then the
speed decrease in method invocation) if I use the latest tip but use the
old method invocation procedure in FunctionObject.call() rather than the
new?


git-svn-id: svn://10.0.0.236/trunk@86615 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 18:56:58 +00:00
bienvenu%netscape.com
0ae313ebc7 more work on db view NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@86611 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 17:46:54 +00:00
sspitzer%netscape.com
72a2933cb0 fix for #68031.
select all (in an empty thread pane) crashes.
sr=hyatt,brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@86610 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 17:30:17 +00:00
waterson%netscape.com
9d6b9b8323 Add brendan's js regexp fu.
git-svn-id: svn://10.0.0.236/trunk@86609 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 06:45:38 +00:00
waterson%netscape.com
d1ebacb2bd Add support for regexps.
git-svn-id: svn://10.0.0.236/trunk@86608 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 06:45:29 +00:00
sspitzer%netscape.com
bf36b6593c NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@86607 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 06:18:32 +00:00
sspitzer%netscape.com
f22728fd6d NOT PART OF THE BUILD. hacking with bienvenu...
git-svn-id: svn://10.0.0.236/trunk@86606 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 06:17:57 +00:00
rginda%netscape.com
3c6b8bf2ab add some directories to the common makefile
git-svn-id: svn://10.0.0.236/trunk@86605 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 06:08:42 +00:00
rginda%netscape.com
15f2bf64cb is there no way to combine two .a files?
git-svn-id: svn://10.0.0.236/trunk@86604 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 06:06:33 +00:00
rginda%netscape.com
94fa1139ec changes to get js2_shell to build
git-svn-id: svn://10.0.0.236/trunk@86603 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 06:01:54 +00:00
rginda%netscape.com
16e47f0dbe Changes to get the back end building again.
Removed "dependencies" file (part of old make system.)


git-svn-id: svn://10.0.0.236/trunk@86602 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 05:02:10 +00:00
rginda%netscape.com
5e81783b05 removing these tests, they've been relocated to js2/tests/js
git-svn-id: svn://10.0.0.236/trunk@86601 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 04:59:21 +00:00
pschwartau%netscape.com
05924e2c37 Exported functionality common to RegExp tests to new file js/tests/ecma_3/RegExp/shell.js
git-svn-id: svn://10.0.0.236/trunk@86599 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 04:04:48 +00:00
pschwartau%netscape.com
0e4d80ef89 Exported functionality common to RegExp testing to new file js/tests/ecma_3/RegExp/shell.js
git-svn-id: svn://10.0.0.236/trunk@86598 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 04:03:02 +00:00
pschwartau%netscape.com
2a61965abe Initial add. Contains functionality common to RegExp testing
git-svn-id: svn://10.0.0.236/trunk@86597 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 03:58:58 +00:00
bienvenu%netscape.com
3de3de49ae more work on db view NOT YET PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@86596 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 03:27:25 +00:00
sspitzer%netscape.com
85b681cdbb fix for #63186, crash in subscribe dialog. the UW IMAP server
is sending us folders names that aren't modified UTF7 and this
causes us to crash.  also fix a warning.
r=jgmyers,sr=bienvenu,a=brendan


git-svn-id: svn://10.0.0.236/trunk@86595 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 02:54:21 +00:00
javi%netscape.com
16477abaa8 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@86594 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 02:25:25 +00:00
bienvenu%netscape.com
4fa248053b fix one cause of 67989, meteors never stop spinning in mail news r/sr mscott/sspitzer a=brendan
git-svn-id: svn://10.0.0.236/trunk@86593 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 01:55:35 +00:00
pschwartau%netscape.com
618bff09a2 Whitespace cleanup
git-svn-id: svn://10.0.0.236/trunk@86592 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 01:32:58 +00:00
nelsonb%netscape.com
db44eb8ae5 Changes suggested by Wan-Teh.
git-svn-id: svn://10.0.0.236/trunk@86591 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 01:32:32 +00:00
pschwartau%netscape.com
4726c109cb *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@86590 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 01:30:15 +00:00
wtc%netscape.com
b8a55225bc Set NSS version to 3.2.
git-svn-id: svn://10.0.0.236/trunk@86589 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 01:22:01 +00:00
pschwartau%netscape.com
e9d77081c6 More minor adjustments -
git-svn-id: svn://10.0.0.236/trunk@86588 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 01:18:55 +00:00
pschwartau%netscape.com
8167f15d05 Minor adjustments -
git-svn-id: svn://10.0.0.236/trunk@86587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 01:05:23 +00:00
rginda%netscape.com
dc46142fa0 changes to add runtime code into the library
git-svn-id: svn://10.0.0.236/trunk@86586 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 00:48:12 +00:00
dr%netscape.com
599b785704 fix for 30841. r=pinkerton, sr=hyatt, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@86585 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 00:44:36 +00:00
javi%netscape.com
11c8029318 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@86584 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 00:41:58 +00:00
despotdaemon%netscape.com
e0a0c83770 Pseudo-automatic update of changes made by markh@activestate.com.
git-svn-id: svn://10.0.0.236/trunk@86583 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 00:41:53 +00:00
javi%netscape.com
c749888413 Add the new nsPK11DB.cpp file to the Mac project.
correctly append Security to the user path when initializing on the Mac.


git-svn-id: svn://10.0.0.236/trunk@86582 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 00:41:42 +00:00
ducarroz%netscape.com
8c9072bbfe Fix for bug 37697. noHTMLRecipient wasn't retreived correctly. R=sspitzer, SR=mscott, A=asa
git-svn-id: svn://10.0.0.236/trunk@86581 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 00:17:58 +00:00
rginda%netscape.com
48f1e22266 fixing filenames, none of these files had prior history.
git-svn-id: svn://10.0.0.236/trunk@86580 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 00:14:20 +00:00
jgmyers%netscape.com
bf00f5e7f3 fix MIME encoded-word decoder: bugs 51453 58114 r=ducarroz sr=sspitzer a=asa
git-svn-id: svn://10.0.0.236/trunk@86579 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-08 00:12:50 +00:00
wtc%netscape.com
726255b18e Bugzilla bug #62855: put my checkin back in again. Sorry about the
flipflop.
Modified files: arch.mk, config.mk


git-svn-id: svn://10.0.0.236/trunk@86578 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 23:52:11 +00:00
javi%netscape.com
6b0e47be4f One last fix for the OS/2 guys. Make the cmt libraries a static
library.  Fix for Bug 63209

  r=cls, javi


git-svn-id: svn://10.0.0.236/trunk@86577 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 23:43:29 +00:00
thayes%netscape.com
e5f23b05e6 Fix compiler warnings/failures on Linus/Mac
git-svn-id: svn://10.0.0.236/trunk@86575 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 23:38:59 +00:00
wtc%netscape.com
63b30c8724 Checked in Javier Pedemonte's patch (<pedemont@us.ibm.com) to fix OS/2
build breakage.  r=wtc@netscape.com.  a=leaf@mozilla.org.


git-svn-id: svn://10.0.0.236/trunk@86574 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 23:38:39 +00:00
pschwartau%netscape.com
bcb6d488a4 Initial add. Regression test for bug 67773
git-svn-id: svn://10.0.0.236/trunk@86573 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 23:19:12 +00:00
bryner%uiuc.edu
c1bf394e29 Cleaning up indenting. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86572 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 23:07:56 +00:00
rginda%netscape.com
39cef48623 ok, that was silly, removing generated Makefiles
git-svn-id: svn://10.0.0.236/trunk@86571 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 21:33:02 +00:00
rginda%netscape.com
0328eb0a54 Adding Makefiles
git-svn-id: svn://10.0.0.236/trunk@86570 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 21:29:36 +00:00
rginda%netscape.com
6ec2e22b7a adding automake file
git-svn-id: svn://10.0.0.236/trunk@86569 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 21:27:25 +00:00
rginda%netscape.com
0d19733052 initial checkin for source reorg. leaf copied mozilla/js/js2 to mozilla/js2/src, mozilla/js/js2/jsc to mozilla/js2/jsc, mozilla/js/js2/tools to mozilla/js2/tools, and mozilla/js/semantics to mozilla/js2/semantics
unix now has an autoconf based make system.  currently the new make system only makes parser related files, back end stuff to be added soon.

mac and windows makesystems will be checked in next.

parser.cpp has been factored into token.*, lexer.*, and parser.*
utilities.cpp has been factored into formatter.*, exception.*, mem.*, strings.*,ds.h, stlcfg.h, and algo.h


git-svn-id: svn://10.0.0.236/trunk@86568 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 21:21:22 +00:00
javi%netscape.com
a33d7991f1 Final patch for Bug 6856. OS/2 port for PSM.
git-svn-id: svn://10.0.0.236/trunk@86567 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 21:05:21 +00:00
leaf%mozilla.org
be0b7f9935 part of backout of dbragg, suggested dveditz, r=dbragg. bug 68001
git-svn-id: svn://10.0.0.236/trunk@86566 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 20:50:27 +00:00
leaf%mozilla.org
15b6ecfe34 backing out dbragg's changes to fix 68001, dveditz suggested, r=dbragg
git-svn-id: svn://10.0.0.236/trunk@86565 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 20:46:15 +00:00
blakeross%telocity.com
efbec6b028 Bookmarks on personal toolbar don't do anything when clicked. r=jag sr=blizzard (one of the .8 critical bugs)
git-svn-id: svn://10.0.0.236/trunk@86564 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 20:15:05 +00:00
yokoyama%netscape.com
71f7b5e95e Fix for 67978; invalid reg key
/a=leaf, 408-391-7842 in case you need to contact me.


git-svn-id: svn://10.0.0.236/trunk@86563 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 20:10:01 +00:00
thayes%netscape.com
f199438ba3 Add PIPPKI module to UNIX builds
git-svn-id: svn://10.0.0.236/trunk@86562 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 19:53:41 +00:00
bienvenu%netscape.com
d6916915de change name of view type to avoid conflicts NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@86561 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 19:27:59 +00:00
bienvenu%netscape.com
81b104b5b5 add files to build so Seth and I can work on them NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@86560 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 19:27:00 +00:00
wtc%netscape.com
5fee645459 Bugzilla bug #62855: backed out my previous checkin, which doesn't quite
work.  Will look at this later.
Modified files: arch.mk, config.mk


git-svn-id: svn://10.0.0.236/trunk@86559 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 19:12:04 +00:00
javi%netscape.com
e72e90facf Create an interface nsINSSComponent that we can use to look up
service for nsNSSComponent from the NSS callbacks.


git-svn-id: svn://10.0.0.236/trunk@86557 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 19:00:52 +00:00
thayes%netscape.com
86e9c36f2b Create DTD for pippki module
git-svn-id: svn://10.0.0.236/trunk@86556 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 18:51:23 +00:00
sspitzer%netscape.com
486cf5cba5 checking in a file so bienvenu and I can hack away.
NOT PART OF THE BUILD.


git-svn-id: svn://10.0.0.236/trunk@86555 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 18:45:12 +00:00
wtc%netscape.com
0000a2f04f Need to include "prthread.h" for the PRThread type.
git-svn-id: svn://10.0.0.236/trunk@86554 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 17:50:43 +00:00
thayes%netscape.com
c7183a50ea Fix incorrect module name on chrome URL
git-svn-id: svn://10.0.0.236/trunk@86553 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 17:35:40 +00:00
brade%netscape.com
9c1527faea preventdefault on drag&drop over non-editable fields
git-svn-id: svn://10.0.0.236/trunk@86545 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 13:42:24 +00:00
disttsc%bart.nl
e675e7d933 Fix hotaix bustage, also see bug 67961.
git-svn-id: svn://10.0.0.236/trunk@86542 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 13:02:11 +00:00
disttsc%bart.nl
b195dc666b More REQUIRES fixing for senna bustage.
git-svn-id: svn://10.0.0.236/trunk@86540 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 12:40:35 +00:00
disttsc%bart.nl
4be76b4858 Fixing senna bustage, updating REQUIRES
git-svn-id: svn://10.0.0.236/trunk@86538 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 11:56:10 +00:00
disttsc%bart.nl
774534dad3 Fix REQUIRES
git-svn-id: svn://10.0.0.236/trunk@86537 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 10:39:27 +00:00
jfrancis%netscape.com
f0c5617179 fix for text widget copy -> html composer paste giving you a seperate pre block for each paste. (bugzilla refuses to cough up the bug number right now).
git-svn-id: svn://10.0.0.236/trunk@86536 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 10:34:17 +00:00
jfrancis%netscape.com
f02aa82ffa thank heavens i'm paranoid, or i wouldn't have found prob with ancient patch
git-svn-id: svn://10.0.0.236/trunk@86534 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 10:07:59 +00:00
pierre%netscape.com
8944a57fe0 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
jfrancis%netscape.com
29b58f1bd6 bug 62235 All new data lost after deleting some text
bug 56880 backspace can delete entire contents of style node
bug 56168 Missing character after closing inline tag which spans lines
r=fm; sr=kin


git-svn-id: svn://10.0.0.236/trunk@86532 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:26:51 +00:00
jfrancis%netscape.com
f0074c6245 bug 64152: unstyling styled text sometimes fails, r=sf; sr=kin
git-svn-id: svn://10.0.0.236/trunk@86531 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:24:21 +00:00
disttsc%bart.nl
fe0501530a Fix senna by adding REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@86530 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:01:26 +00:00
disttsc%bart.nl
be535e7899 Fix bustage. nsMoveMailService:: -> nsMovemailService::
git-svn-id: svn://10.0.0.236/trunk@86529 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 08:47:55 +00:00
ducarroz%netscape.com
0693b31cdf Fix Windows build bustage. Forget to return a value.
git-svn-id: svn://10.0.0.236/trunk@86528 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 08:14:38 +00:00
ccarlen%netscape.com
650c14d8cc Bug 67857 - Profile Mgr resets all prefs which is SLOW.
r=racham, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@86526 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 07:56:10 +00:00
syd%netscape.com
58fd47cb6a Editor overlay smilie menus. r=syd, sr=sfraser, checking in for
anatoliya@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86525 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 07:52:02 +00:00
hyatt%netscape.com
369992b4f1 Fix for 67435. sr=ben
git-svn-id: svn://10.0.0.236/trunk@86524 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 07:45:36 +00:00
jst%netscape.com
3c1e0e6cf4 Fixing bug 37763. Making applet elements that are not associated with an Java applet still be scriptable as a normal DOM node. r=pollmann@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86523 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 07:39:20 +00:00
racham%netscape.com
c13d71aa45 Fixing bug 12165. Adding the ability to get messages for multiple accounts from the GetMsg button and file menu dropdown of messenger application. r=bienvenu sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86522 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 07:37:04 +00:00
racham%netscape.com
9522b075b4 Fixing bug 12165. Styles for dropdown marker on GetMsg button for modern skin. r=bienvenu, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86521 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 07:36:47 +00:00
despotdaemon%netscape.com
c43dcc78a8 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@86520 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 07:24:06 +00:00
despotdaemon%netscape.com
469b8191f1 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@86519 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 07:22:25 +00:00
joki%netscape.com
49b7f5db7d Fix for bug 53669, allow combination :focus/:active state notifications so that pre-focused HTML4 buttons work. r:saari,sr:jst
git-svn-id: svn://10.0.0.236/trunk@86518 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 07:05:56 +00:00
blizzard%redhat.com
3ca3944591 Fix bug #67843. This removes the hang when popups are created in the embedding widget. r=jst sr=shaver
git-svn-id: svn://10.0.0.236/trunk@86517 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 07:05:33 +00:00
disttsc%bart.nl
c4446b656e Make navigator windows not load the home page when opened programmatically (say |window.open(url);|). bug=65993, r=blake, a=ben
git-svn-id: svn://10.0.0.236/trunk@86516 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 07:03:04 +00:00
despotdaemon%netscape.com
7428a6feb3 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@86514 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:57:07 +00:00
despotdaemon%netscape.com
76544fc8a8 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@86512 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:56:31 +00:00
despotdaemon%netscape.com
91cab2a93c Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@86511 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:55:56 +00:00
despotdaemon%netscape.com
ac6e71212a Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@86510 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:55:45 +00:00
despotdaemon%netscape.com
9dbe9c2ca5 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@86509 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:55:21 +00:00
ducarroz%netscape.com
43f36a0eb9 File Removed.
git-svn-id: svn://10.0.0.236/trunk@86508 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:54:50 +00:00
ducarroz%netscape.com
1eb8fbc0e7 Part of fix for bug 45225. Due to new AppleDouble implementation, remove old code. SR=mscott
git-svn-id: svn://10.0.0.236/trunk@86507 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:52:30 +00:00
bratell%lysator.liu.se
c4bbc667c3 Removing files that are no longer used. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86506 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:52:24 +00:00
pinkerton%netscape.com
5f0af57773 per the current universal headers, ::DrawGrowIcon() has been depricated since MacOS 8.0 (the wdef does it). removing the two places we call it. r=danm/sr=scc.
git-svn-id: svn://10.0.0.236/trunk@86505 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:51:21 +00:00
ducarroz%netscape.com
73decc4752 Part of fix for bug 45225. I forget to rename the class nsAppleFileDecoder before the initial checkin. SR=mscott
git-svn-id: svn://10.0.0.236/trunk@86504 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:44:07 +00:00
pavlov%netscape.com
84781cc715 fixing bug 60739 r=blizzard sr=shaver
git-svn-id: svn://10.0.0.236/trunk@86503 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:37:59 +00:00
ccarlen%netscape.com
0844a9de31 This was supposed to go in with the rest for bug 46869 but didn't.
git-svn-id: svn://10.0.0.236/trunk@86502 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 06:03:35 +00:00
mkaply%us.ibm.com
31c04dae84 #67353
r=timeless,brade sr=sfraser
Cleanup image editor hotspot dialog


git-svn-id: svn://10.0.0.236/trunk@86501 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:58:09 +00:00
mscott%netscape.com
bf6199d527 Bug #63193 --> if we can't find a protocol handler for the specified scheme then create the default protocol handler
and use it instead.
sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@86500 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:54:35 +00:00
gayatrib%netscape.com
552acefe69 66944. had checked in a less updated file by mistake. rechecking in this file.
git-svn-id: svn://10.0.0.236/trunk@86499 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:38:03 +00:00
gayatrib%netscape.com
36d1256f57 fix for bug 66944--Open button functionality in search dialog. r=racham sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@86498 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:27:15 +00:00
mscott%netscape.com
bc268e0986 Bug #63193 --> the external protocol handler should only return a url or a new channel if we really do
have an external app that can handle the url. otherwise return NS_ERROR_UNKNOWN_PROTOCOL so we'll throw up an alert
dialog later on.
sr=sspizter


git-svn-id: svn://10.0.0.236/trunk@86497 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:24:27 +00:00
mscott%netscape.com
7e550f385d remove two extra dump statments.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@86496 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:17:27 +00:00
danm%netscape.com
d3ea233b57 copy embed components
git-svn-id: svn://10.0.0.236/trunk@86495 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:17:17 +00:00
danm%netscape.com
ffd64a4ddd rearranging window creation (see WebBrowserChrome.cpp 1.15), adding subwindow null checks supporting chromeless dialog (see winEmbed.rc 1.8) r=scc,valeski
git-svn-id: svn://10.0.0.236/trunk@86494 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:15:55 +00:00
sspitzer%netscape.com
ad8b9590f1 sr=mscott. minor performance fix, use NS_LITERAL_STRING() instead of
AssignWithConversion().  just sitting in my tree, k-i-s-s-i-n-g.


git-svn-id: svn://10.0.0.236/trunk@86493 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:14:13 +00:00
dbaron%fas.harvard.edu
1dbfefa514 Fix orange by correcting mismatch of strings and return values. r=disttsc@bart.nl
git-svn-id: svn://10.0.0.236/trunk@86492 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:12:18 +00:00
danm%netscape.com
628421e2d5 removing FindNamedBrowserItem, rearranging window creation (and hooking it up to nsDocShellTreeOwner), adding cheesy implementation of nsIPrompt and chrome flags
git-svn-id: svn://10.0.0.236/trunk@86491 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:10:46 +00:00
waldemar%netscape.com
9a3975216a Added more semantics
git-svn-id: svn://10.0.0.236/trunk@86490 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:08:44 +00:00
waldemar%netscape.com
bb3b6b8746 Added read-eval-print loop
git-svn-id: svn://10.0.0.236/trunk@86489 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:08:09 +00:00
waldemar%netscape.com
e0c44b2f3d Updated to correspond to js2 site
git-svn-id: svn://10.0.0.236/trunk@86488 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:07:37 +00:00
waldemar%netscape.com
fd9eb7b14a Added :semantic-comment and :vector-construct.
git-svn-id: svn://10.0.0.236/trunk@86487 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:07:05 +00:00
waldemar%netscape.com
0eb7313715 Added vector comprehensions. Changed compiler to emit globals of functional type into the lisp function rather than value slots of symbols; this simplifies debugging.
git-svn-id: svn://10.0.0.236/trunk@86486 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:06:22 +00:00
waldemar%netscape.com
d39676fa53 Added vector comprehensions and extra mode parameter for %section, %subsection, and %text.
git-svn-id: svn://10.0.0.236/trunk@86485 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:05:39 +00:00
danm%netscape.com
07213f4304 rearranging window creation; a function needed to be shared. thus a new header file. bug 65229 (peripherally) r=scc,valeski
git-svn-id: svn://10.0.0.236/trunk@86484 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:04:38 +00:00
timeless%mac.com
c043f6eda6 fix bug 63956 This pre-loaded bookmark is a dead link
r=jag sr=waterson


git-svn-id: svn://10.0.0.236/trunk@86483 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:04:36 +00:00
danm%netscape.com
78a9560fa8 hooking up window watcher. bug 65229 r=scc,valeski
git-svn-id: svn://10.0.0.236/trunk@86482 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:03:09 +00:00
danm%netscape.com
d09dbbd146 implementing FindItemWithName. bug 65229 (peripherally) r=scc,valeski
git-svn-id: svn://10.0.0.236/trunk@86481 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 05:02:06 +00:00
danm%netscape.com
3918a72341 removing nsIWebBrowserChrome::FindNamedBrowserItem per 5 Feb 01 API review. functionality has been moved to nsDocShellTreeOwner. r=scc,valeski
git-svn-id: svn://10.0.0.236/trunk@86480 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:59:43 +00:00
sspitzer%netscape.com
26586098bd some minor performance tweaks. comment out some dump statements. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@86479 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:40:40 +00:00
chuang%netscape.com
54b5444aa3 Bug44668 Confusion as to how to edit/send a Draft message, sr=sspitzer+mscott
git-svn-id: svn://10.0.0.236/trunk@86478 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:35:37 +00:00
law%netscape.com
a8d10f7803 Long lost patch for bugs 27609,35161, et al; r=mcafee, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86477 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:33:39 +00:00
mkaply%us.ibm.com
a5aa7cb695 r=dougt, a=blizzard
OS/2 only code to handle DBCS properly in nsFileSpec


git-svn-id: svn://10.0.0.236/trunk@86476 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:32:24 +00:00
karnaze%netscape.com
b45820e80c bug 67861 - don't rebalance table to calculate max width; cache last available width in outer table; improved debug reflow timing; sr=attinasi, r=peterl
git-svn-id: svn://10.0.0.236/trunk@86475 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:31:38 +00:00
ccarlen%netscape.com
08ac70912c Bug=46869 - Embedding apps need find functionality. r=kin, sr=vidur,sr=alecf
git-svn-id: svn://10.0.0.236/trunk@86474 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:31:36 +00:00
mkaply%us.ibm.com
562ead4c5d r=mkaply, a=blizzard
Quite possibly one of the ugliest pieces of code ever. Good thing it is OS/2 only.
Workaround for WSOD2 bug - if DosCopy fails with a 65, use the OS COPY command.


git-svn-id: svn://10.0.0.236/trunk@86473 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:29:57 +00:00
mscott%netscape.com
c1900da38b Bug #45225 --> poor man's way to get rid of the 2 dialogs when opening
a mail attachment. Always treat the selection of the attachment as an "open"
action. This causes the url to get run via the uriloader. If it requires an exthandler
THEN you get the helper app dialog. o.t. we open it internally and you have to save it
yourself.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@86472 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:26:13 +00:00
mscott%netscape.com
63dc88b0dd Bug #63193 --> register our default protocol handler
sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@86471 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:23:34 +00:00
sspitzer%netscape.com
f537952c31 fix for #55872. add Ctrl + M to the stand alone message window.
fix from andersma@luther.edu, r=timeless, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@86470 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:20:33 +00:00
blizzard%redhat.com
d77120840a Fix bug #16766. This should fix the requirement to release the mouse before context menus work. r=pavlov, sr=blizzard. Patch from Kevin Buhr <buhr@stat.wisc.edu>. Thanks.
git-svn-id: svn://10.0.0.236/trunk@86469 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:16:20 +00:00
ducarroz%netscape.com
2f051af7be Part of fix for bug 45225. Need to move part of appledouble decoder to uriLoader. SR=mscott
git-svn-id: svn://10.0.0.236/trunk@86468 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:10:41 +00:00
syd%netscape.com
e672169b10 Smilie images, r=syd, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86467 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:09:49 +00:00
syd%netscape.com
ef62b6a4b9 Smilie menu css file, r=syd, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86466 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:09:22 +00:00
ducarroz%netscape.com
ed92604001 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@86465 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:09:11 +00:00
mscott%netscape.com
7e469afb47 Bug #67555 --> rewrite OnStart/OnStopMeteors
to use timers for performance.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@86464 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:09:03 +00:00
waterson%netscape.com
018d737816 Bug 67796. Don't update aMetrics.mMaximumWidth or .maxElementSize in ComputeFinalSize(): the maxElementSize computation was wrong, and it's not clear that the mMaximumWidth is safe to update here either. Patch from rbs@maths.uq.edu.au, r=waterson, sr=karnaze
git-svn-id: svn://10.0.0.236/trunk@86463 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:05:59 +00:00
dbaron%fas.harvard.edu
42a90b64a0 Add TestCOMPtrEq back to the build now that we know it works on HP. b=65664 r=scc@mozilla.org sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86462 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:04:12 +00:00
danm%netscape.com
83e030da95 now building embedding components
git-svn-id: svn://10.0.0.236/trunk@86461 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:00:54 +00:00
danm%netscape.com
f7766ab033 adding embedding/components
git-svn-id: svn://10.0.0.236/trunk@86460 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:00:41 +00:00
dbaron%fas.harvard.edu
2c4716628a Fix UMR (returning an uninitialized result) that caused bonsai query results to disappear sometimes. b=67854 r=karnaze@netscape.com sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86459 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:00:40 +00:00
leaf%mozilla.org
f3a7555b2f Automated update
git-svn-id: svn://10.0.0.236/trunk@86458 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 04:00:09 +00:00
danm%netscape.com
0fe62a3a05 adding windowwatcher files
git-svn-id: svn://10.0.0.236/trunk@86457 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:59:33 +00:00
dbaron%fas.harvard.edu
92e1f7fafd Re-enable the autoconf test that fixes the nsCOMPtr operator== ambiguities on Linux and HP now that we know it works correctly on HP. b=65664 r=scc@mozilla.org sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86456 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:56:31 +00:00
racham%netscape.com
8c20a5a165 Fixing bug 67327. For any given server, login at startup only if the user chooses to do so via log onto this account at startup pref. r=gayatrib, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86455 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:55:46 +00:00
disttsc%bart.nl
ec03335629 Hide menuseparator on Mac. bug=10893, r=blake, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86454 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:55:04 +00:00
mkaply%us.ibm.com
e4f925125c r=mkaply, a=blizzard
Code from jkobal to optimize tiling


git-svn-id: svn://10.0.0.236/trunk@86453 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:44:21 +00:00
mkaply%us.ibm.com
5e2ab4feaa Printing regression
git-svn-id: svn://10.0.0.236/trunk@86452 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:40:34 +00:00
blakeross%telocity.com
18671680f5 Directory listings have wrong context menu (for bbaetz, 67013). r=blake a=ben
git-svn-id: svn://10.0.0.236/trunk@86451 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:38:01 +00:00
dmose%mozilla.org
a5f31096e5 backing out inadvertant checkin; not in default build
git-svn-id: svn://10.0.0.236/trunk@86450 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:32:44 +00:00
dmose%mozilla.org
b664e998e2 backing out inadvertant checkin; not in default build
git-svn-id: svn://10.0.0.236/trunk@86449 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:24:13 +00:00
dmose%mozilla.org
ee1f5d9512 fix bug 67357. link-time bustage in ldap module caused by earlier nsIURI::SchemeIs change. not in default build. r=gagan@netscape.com, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86448 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:20:33 +00:00
danm%netscape.com
408694fccd now building embedding components
git-svn-id: svn://10.0.0.236/trunk@86447 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:09:15 +00:00
dbaron%fas.harvard.edu
b7928862f7 Fix build bustage by removing extra right paren.
git-svn-id: svn://10.0.0.236/trunk@86446 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:04:46 +00:00
blakeross%telocity.com
19207609e4 JS strict warnings in wizardHandlerSet.js (65937). r=blake a=ben
git-svn-id: svn://10.0.0.236/trunk@86445 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:53:49 +00:00
anthonyd%netscape.com
1f2d33fe42 landing jfrancis fix for 67109 - Drag and drop to and from textfields is broken
sr=kin
r=anthonyd


git-svn-id: svn://10.0.0.236/trunk@86444 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:50:05 +00:00
blizzard%redhat.com
38adde3f58 Fix bug #64027. Tooltips should work on the mozilla embedding widget. r=pavlov, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@86443 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:47:34 +00:00
mscott%netscape.com
0771bb3280 Bug #67598 --> we no longer need to invoke the ucth dialog here.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@86442 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:44:09 +00:00
mscott%netscape.com
336f3c5ff8 Bug #67598 --> remove CanHandleContent and DoContent
as this code has been reconsolidated in the base class for
all to use. For everyone, if the mime type is unknown or octet,
then try to guess a content type by file extension in doContent.
Also, if we can't find a mime type, create a new one for all platforms
so we don't need to bring up the ucth dialog.

sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@86441 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:43:18 +00:00
hewitt%netscape.com
ddbe7abdc1 reverting accidentally clobbered changes, r=blake, sr=ben
git-svn-id: svn://10.0.0.236/trunk@86440 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:33:58 +00:00
scc%mozilla.org
28c68103ce bug #57087: r=dmose, sr=waterson. Allow for multi-line literals.
git-svn-id: svn://10.0.0.236/trunk@86439 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:32:49 +00:00
hewitt%netscape.com
56a0489e00 67633 - sidebar tab color correctness, r=blake, sr=ben
git-svn-id: svn://10.0.0.236/trunk@86438 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:32:01 +00:00
ssu%netscape.com
722cf61163 fixing bug 64727 - Uninstaller for mozilla file associations need to be restored.
sr=mscott, r=dveditz
affects only windows platforms.


git-svn-id: svn://10.0.0.236/trunk@86437 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:21:13 +00:00
dprice%netscape.com
cfd9a9a689 65845: sr=leaf r=waterson.
don't do coverage analysis for the xpidl stuff.  Slows building horribly


git-svn-id: svn://10.0.0.236/trunk@86436 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:21:03 +00:00
dprice%netscape.com
1cd2234585 65845: sr=leaf r=waterson
adding code coverage into the make system.  generates order files to rearrange
the functions in the dll.  reduces the resident set size of the app while running.


git-svn-id: svn://10.0.0.236/trunk@86435 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:19:29 +00:00
gagan%netscape.com
9a0f373087 Adding ldap optimization cuz dmose wants it real bad. r=dmose
git-svn-id: svn://10.0.0.236/trunk@86434 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:14:52 +00:00
nelsonb%netscape.com
db6ff863fa When half-duplex applications (e.g. one thread per socket, doing alternate
reading and writing) call PR_Send and PR_Recv with a non-infinite timeout
value, use that value for both underlying read and write operations.
Fixes bug 67402.  Reviewed by Wan-Teh.


git-svn-id: svn://10.0.0.236/trunk@86433 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:06:05 +00:00
mscott%netscape.com
f2f1bfde92 bug #63193 --> add nsExternalProtocolHandler to the unix build
git-svn-id: svn://10.0.0.236/trunk@86432 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:03:55 +00:00
mscott%netscape.com
6b9402995e Bug #63193 --> add classid for external protocol handler
sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@86431 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 02:00:09 +00:00
mscott%netscape.com
7dd1309da4 add new extprotocolhandler file to the windows build
git-svn-id: svn://10.0.0.236/trunk@86430 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:58:58 +00:00
nelsonb%netscape.com
1c41ad80b8 Big changes to get better SSL performance out of selfserv.
Launch all connection handler threads at program startup, and reuse those
threads for new connections, rather than creating new threads for each
connection and having them terminate at the end of each connection.
The main thread is now the acceptor thread.  It creates a queue of
accepted but unprocessed connections.  NSPR Condition variables are used
to schedule the connection handler threads.
Only one GET /stop message is now required to terminate selfserv.
Note, the -2 (full duplex) option is temporarily disabled until I get it
to work with this new thread model.
Add new -D command line option to suppress TCP Nagle delays.
Used to verify the fix to bug 67898.


git-svn-id: svn://10.0.0.236/trunk@86429 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:56:30 +00:00
nelsonb%netscape.com
f8fa659d39 Add new -D command line option to suppress TCP Nagle delays.
This is used to verify the fix for bug 67898.


git-svn-id: svn://10.0.0.236/trunk@86428 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:50:46 +00:00
ccarlen%netscape.com
c6ac4deda5 Bug 46869 - Embedding apps need text finding functionaity. Adding new files - will add to build next.
r=kin,sr=vidur, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@86427 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:48:24 +00:00
danm%netscape.com
4b397de9c2 adding chromeless browser dialog definition r=scc,valeski
git-svn-id: svn://10.0.0.236/trunk@86426 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:46:13 +00:00
shaver%mozilla.org
66c5f1c302 fix plugger crash by coping with trailing MIME-list separator (#60844, r=av, sr=blizzard)
git-svn-id: svn://10.0.0.236/trunk@86425 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:38:52 +00:00
danm%netscape.com
22f6db6e09 oops. correcting contract id.
git-svn-id: svn://10.0.0.236/trunk@86424 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:35:06 +00:00
nhotta%netscape.com
fbd40cabe8 Check in for yokoyama, fix for 65685; /r=valeski, /sr=ftang.
git-svn-id: svn://10.0.0.236/trunk@86423 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:26:57 +00:00
yokoyama%netscape.com
416546a1ae checkin for bstell: backout previous change until we can resolve the name-case issue
git-svn-id: svn://10.0.0.236/trunk@86422 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:26:05 +00:00
ftang%netscape.com
2500725d12 fix os2 and beos bustage. bug 67840
git-svn-id: svn://10.0.0.236/trunk@86421 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:25:53 +00:00
thayes%netscape.com
0c337d5030 Create PKI module for implementation of callback
functions for user interaction.


git-svn-id: svn://10.0.0.236/trunk@86420 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:25:16 +00:00
mscott%netscape.com
a2ec5045b5 Bug #63193 --> add these two new files for a default protocol handler which will kick urls out to the OS
sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@86419 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:21:58 +00:00
yokoyama%netscape.com
ad8e2904c5 Fix for 65685; /r=valeski, /sr=ftang
git-svn-id: svn://10.0.0.236/trunk@86418 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:21:55 +00:00
mcafee%netscape.com
46b6b31d53 Removing unused entities that now live in taskbar.rdf. r=pavlov, sr=ben
git-svn-id: svn://10.0.0.236/trunk@86417 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:17:51 +00:00
timeless%mac.com
137a90dac9 fix bug 67746 Change casing of "Settings" to "settings" in msgAccountCentral.dtd
patch by stephend@netscape.com r=racham, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@86416 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:15:10 +00:00
gagan%netscape.com
54ad263259 A left over change for the optimization in bug 66577. r=mstoltz, sr=shaver, brendan.
git-svn-id: svn://10.0.0.236/trunk@86415 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:14:37 +00:00
peterlubczynski%netscape.com
6d0c8d4a99 Allow for a common directory among installs for scanning for plugins bugscape 3863 a=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@86414 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:13:01 +00:00
gagan%netscape.com
23c2955906 More of the scheme compare changes. This fixes the javascript: urls that I so shamelessly broke. The bug numbers are 66577 and 67347. r=mstoltz sr=brendan,shaver.
git-svn-id: svn://10.0.0.236/trunk@86413 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:12:19 +00:00
yokoyama%netscape.com
e3ce573805 check-in for bstell : add converter for X display of big5 fonts (which have no ascii glyphs)
bug 60826, r=ftang, sr=erik


git-svn-id: svn://10.0.0.236/trunk@86412 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:11:44 +00:00
timeless%mac.com
946b7dc4fa fix bug 60662 javascript strict warnings in overrideHandler.js
patch by maolson@earthlink.net r=jag sr=alecf


git-svn-id: svn://10.0.0.236/trunk@86411 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:10:47 +00:00
morse%netscape.com
044c474d9a bug 67644, cookies added in wrong order, r=freax@pandora.be, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86410 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:10:41 +00:00
blakeross%telocity.com
7aa6aab30b Messages are downloaded and deleted if user doesn't have write permissions for inbox (by Keyser Sosez, 62480). r=doron sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86409 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:05:51 +00:00
nhotta%netscape.com
83fab732f8 Check in for bstell, added a file nsunicodetogbknoascii.cpp to project, bug 60826, r=ftang, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@86408 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:05:34 +00:00
yokoyama%netscape.com
a9934ab255 check-in for bstell : add CID GBK no ascii converter
Bug no: 60826


git-svn-id: svn://10.0.0.236/trunk@86407 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:03:43 +00:00
gordon%netscape.com
c500b18253 fix for bug 66508. r=pinkerton, sr=sfraser. Landing fix from 6.0 branch to detect orderlyDisconnects.
git-svn-id: svn://10.0.0.236/trunk@86406 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:03:35 +00:00
yokoyama%netscape.com
c550643a34 check-in for bstell : for X display of big5 fonts (which have no ascii glyphs)
git-svn-id: svn://10.0.0.236/trunk@86405 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 01:00:11 +00:00
sdagley%netscape.com
afeca0533f Added nsISHistoryListener.idl for radha
git-svn-id: svn://10.0.0.236/trunk@86404 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:52:44 +00:00
nhotta%netscape.com
9669d56569 Forward as attachment should use message send default charset, removed the code which was re-setting the charset which had been initialized to a default charset
by the nsMsgCompose constructor, bug 58494, r=ducarroz, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@86403 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:48:09 +00:00
pchen%netscape.com
255dddbf58 bug 46435, r=pinkerton, sr=sfraser, change name of SetOSTypeFromExtension() to SetOSTypeAndCreatorFromExtension() and added ExtensionIsOnExceptionList()
git-svn-id: svn://10.0.0.236/trunk@86402 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:47:01 +00:00
pchen%netscape.com
5ccee25513 bug 46435, r=pinkerton, sr=sfraser, since we went to all the trouble of calling Internet Config in SetOSTypeFromExtension, set file creator as well, but not before consulting an exceptions list so that certain files, e.g. .html and .htm files, always have our app creator code
git-svn-id: svn://10.0.0.236/trunk@86401 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:46:58 +00:00
beard%netscape.com
362aa398db [not part of build] builds "classic" (non-Carbon) plugin support library.
git-svn-id: svn://10.0.0.236/trunk@86400 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:40:28 +00:00
blakeross%telocity.com
d5518335ea HTML tabindex attribute doesn't work for <button> and <input type="button"> (36217). r=hixie a=ben
git-svn-id: svn://10.0.0.236/trunk@86399 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:39:29 +00:00
nelsonb%netscape.com
870eb23c89 Coalesce the final Finished message in the SSL handshake and the first
record of application data into a single write, when possible, to avoid
TCP's "Nagle" delays.  Fixes bug 67898.  r&a: wtc.  Modified Files:
	ssl3con.c sslimpl.h sslsecur.c sslsock.c


git-svn-id: svn://10.0.0.236/trunk@86398 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:34:56 +00:00
radha%netscape.com
6437338383 Test code for history listener r=valeski sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@86397 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:33:11 +00:00
radha%netscape.com
deb9261347 Changes related to history listener bug 65608 r=valeski sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@86396 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:32:04 +00:00
radha%netscape.com
fd8657b7c4 Changes related to history listener interface 65608 r=valeski sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@86395 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:31:18 +00:00
radha%netscape.com
2a9cf1bda7 Initial checkin for history listener interface bug 65608 r=valeski sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@86394 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:30:01 +00:00
ducarroz%netscape.com
d0c89e63da Fix for bug 66438. Fix leak and remove unused variable. Patch submitted by Kevin Higgins <khiggins@scu.edu>. R=ducarroz, SR=mscott.
git-svn-id: svn://10.0.0.236/trunk@86393 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:22:38 +00:00
blizzard%redhat.com
00ae6597e1 Fix for bug #60083. Check for QI return code and help prevent crashes. r=me sr=shaver
git-svn-id: svn://10.0.0.236/trunk@86392 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:19:15 +00:00
leaf%mozilla.org
838cf6a143 Automated update
git-svn-id: svn://10.0.0.236/trunk@86391 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:15:10 +00:00
dveditz%netscape.com
932338a552 bug 42704 missing initialization in nsLocalFile::GetFileSize, r=dougt/sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86390 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:14:33 +00:00
dveditz%netscape.com
d40645e347 bug 64835 r=ssu/sr=mscott: InstallTrigger.compareVersion() returning bad result
bug 11682 r=dbragg/sr=mscott: version registry requires UTF8, add missing conversions


git-svn-id: svn://10.0.0.236/trunk@86389 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:12:58 +00:00
blizzard%redhat.com
fc6980d192 Add checks for xinerama libraries. This is the start of multi-monitor setups for linux. r=cls
git-svn-id: svn://10.0.0.236/trunk@86388 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:10:17 +00:00
rods%netscape.com
ada662d519 forgot to set the value into the printService
Bug 67537 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@86386 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 00:01:43 +00:00
javi%netscape.com
119d221eee Patch from Javier Pedemonte from IBM to get PSM building on OS/2
Fix for Bug 62856


git-svn-id: svn://10.0.0.236/trunk@86385 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:59:42 +00:00
mcafee%netscape.com
84a4616db9 Renaming Find menu item to Search (44733) r=matt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@86384 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:56:38 +00:00
yokoyama%netscape.com
31ef95e456 Fix for 65685; /r=valeski, /sr=ftang
git-svn-id: svn://10.0.0.236/trunk@86383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:54:12 +00:00
ftang%netscape.com
ae4b3a6dd7 check in for IBM bidi team . sr=ftang add cp864i converters
git-svn-id: svn://10.0.0.236/trunk@86382 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:51:11 +00:00
ftang%netscape.com
35b9420bc0 check in for ibm bidi team. sr=ftang add cp864i converter
git-svn-id: svn://10.0.0.236/trunk@86381 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:50:19 +00:00
javi%netscape.com
e83fb48130 Remove C++ comments from C file.
git-svn-id: svn://10.0.0.236/trunk@86380 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:50:12 +00:00
cmanske%netscape.com
26084afd8f Fix for menulist width bug 67396 by hewitt, r=cmanske, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86379 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:50:04 +00:00
ftang%netscape.com
9b0f31909f add cp684i converter. check in for IBM bidi team. sr=ftang
git-svn-id: svn://10.0.0.236/trunk@86378 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:49:25 +00:00
beard%netscape.com
d5d3da7cb4 [not part of build] builds "classic" (non-Carbon) plugin support library.
git-svn-id: svn://10.0.0.236/trunk@86377 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:49:16 +00:00
ftang%netscape.com
0fda5fd680 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@86376 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:44:14 +00:00
javi%netscape.com
de07ac8337 Fix for Bug 66939 r=javi, sr=mscott
check in patch to allow profile switching on the Mac.  Original patch provided by ccarlen.


git-svn-id: svn://10.0.0.236/trunk@86375 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:43:27 +00:00
blakeross%telocity.com
bee55771be Titlebar when viewing images not localizable (57549). r=attinasi sr=erik
git-svn-id: svn://10.0.0.236/trunk@86374 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:39:46 +00:00
harishd%netscape.com
6cb66fa5cb 63423 - Unblock parser before evaluating external js content.
63661 - Do not create an end token automatically if the tag did not contain '>'
33051 - Handle residual style before closing a tag.
58992 - Leaf content should go thro' the normal HandleToken path.
61462 - Release parser bundle only when the parser is about to shutdown

r=jst
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@86373 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:35:29 +00:00
blakeross%telocity.com
b944446817 Adding file for 57549; not part of build.
git-svn-id: svn://10.0.0.236/trunk@86372 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:35:08 +00:00
javi%netscape.com
4dfeb5439d Fix for Bug 66939.
r=javi, sr=mscott

Checking code in for ccarlen.  This is to get profile switching working with PSM 1.x


git-svn-id: svn://10.0.0.236/trunk@86371 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:34:32 +00:00
harishd%netscape.com
155017d753 Use resumeParsing instead of EnableParse().
r=jst
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@86370 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:31:17 +00:00
javi%netscape.com
8e215ec1a2 Fix for psm-glue crashes when (Bug 67502)asking for passwords when not
associated with an SSL connection.

r=thayes, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@86369 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:29:25 +00:00
waterson%netscape.com
c19863b651 Remove unnecessary #include that breaks gcc-3.0; r=pierre,harishd.
git-svn-id: svn://10.0.0.236/trunk@86368 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:28:44 +00:00
blakeross%telocity.com
1ed614fe94 Moving a variable declaration after a |return|. r=hixie
git-svn-id: svn://10.0.0.236/trunk@86367 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:28:17 +00:00
brendan%mozilla.org
8cae336e68 Fix for bug 44009 (r=rogerl, sr=shaver)
- Remove bogus JS_ASSERT(!outermost) from the code that deals with a "#n="
  type string being returned from js_EnterSharpObject, where the hash entry
  is not yet sharp (because we haven't seen the object twice during depth
  first search).  This case trivially arises for the outermost object in,
  e.g., 'o={}; o.foo=o; uneval(o)'.
- Avoid parenthesizing #n={...} object initializers for uneval, as they are
  not ambiguous (whereas {foo:1}, e.g., is ambiguous because it could be a
  block statement containing a labeled expression statement, or it could be
  an object initializer).
- Death to tabs!


git-svn-id: svn://10.0.0.236/trunk@86365 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:19:44 +00:00
scc%mozilla.org
fe019074bb bug #53067: r=danm, sr=alecf. Eliminate copying versions of |BeginReading|, |EndReading|, |BeginWriting|, |EndWriting|, and fix callers
git-svn-id: svn://10.0.0.236/trunk@86364 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:18:20 +00:00
naving%netscape.com
d02f094038 63300. r=racham, sr=bienvenu. Making IMAP folders case-sensitive and local folders
case-insensitive as done in 4x.


git-svn-id: svn://10.0.0.236/trunk@86363 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:17:26 +00:00
matt%netscape.com
ff29d5d766 r=law
sr=ben
adding focus to search panel when opened


git-svn-id: svn://10.0.0.236/trunk@86361 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:13:37 +00:00
bryner%uiuc.edu
8f5663cd4c bug 67527 -- cleaning up psm module registration (both psm 1.x and PIP). r=javi, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@86360 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:10:16 +00:00
mscott%netscape.com
36c3cc94b2 remove obsolete files that are no longer part of the build from the repository.
git-svn-id: svn://10.0.0.236/trunk@86359 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:08:19 +00:00
dcone%netscape.com
eb4518c420 Initial version. r=kmmclusky. Does not effect the build
git-svn-id: svn://10.0.0.236/trunk@86358 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:07:47 +00:00
scc%mozilla.org
028f9f3180 bug #53071: r=danm, sr=alecf. Eliminate redundant implemenations, resolve resulting ambiguities.
git-svn-id: svn://10.0.0.236/trunk@86357 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:07:24 +00:00
dbragg%netscape.com
59cc2707dd Name change for in-use files to .new or .old. Fixes bug 67703. r=dveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86356 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:06:32 +00:00
thayes%netscape.com
f187aec669 Add public directory
git-svn-id: svn://10.0.0.236/trunk@86355 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:05:19 +00:00
mscott%netscape.com
0a8bc9aff4 Bug #67489 --> use a separator without a class=thin before the checkbox.
git-svn-id: svn://10.0.0.236/trunk@86354 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:03:48 +00:00
blakeross%telocity.com
44015cabc0 JS warnings in messengerdnd.js (for mao, 58561). r=blake,jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@86353 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:03:38 +00:00
rods%netscape.com
ca25456113 Printing of selected frameset frames and Iframes
Bug 66783 r=dcone sr=buster,attinasi


git-svn-id: svn://10.0.0.236/trunk@86352 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:03:17 +00:00
thayes%netscape.com
a4627a45d1 Add nsPK11TokenDB. Modify SDR to throw set-password dialog.
git-svn-id: svn://10.0.0.236/trunk@86351 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:01:33 +00:00
scc%mozilla.org
60326ad647 bug #66278: r=danm, sr=alecf. Fix signed vs. unsigned warngins in |nsFragmentedString::SetLength|
git-svn-id: svn://10.0.0.236/trunk@86350 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:00:39 +00:00
thayes%netscape.com
3d9b4cd0e1 Remove SecureDevicePrompt idl
git-svn-id: svn://10.0.0.236/trunk@86349 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:00:18 +00:00
thayes%netscape.com
705853787b Add INSSDialogs IDL
git-svn-id: svn://10.0.0.236/trunk@86348 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 22:58:57 +00:00
thayes%netscape.com
6763ea592c Add PK11TokenDB IDL
git-svn-id: svn://10.0.0.236/trunk@86347 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 22:52:10 +00:00
javi%netscape.com
cc192ccdc5 Make the Bundle methods non-static. This is the first of 2 parts.
The next part fix will create a private interface for looking up
the nsNSSComponent from the callbacks instead of type-casting
nsISecurityManagerComponent pointer.


git-svn-id: svn://10.0.0.236/trunk@86345 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 20:09:27 +00:00
mcgreer%netscape.com
c81d2c6862 bug 67132. certutil crashes on -C -x combination, deny it for now.
certutil -C was not recognizing the -a (ascii) option, implement it.
r=wtc


git-svn-id: svn://10.0.0.236/trunk@86344 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 18:26:30 +00:00
sspitzer%netscape.com
0bdd36c8bc fix #67398. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@86342 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 15:59:45 +00:00
sspitzer%netscape.com
decc17d3a5 fix for #67388. r=gayatrib, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@86341 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 15:49:33 +00:00
ccarlen%netscape.com
f6ce79b6e6 Bug 65907 - remove dependency on chrome from XPCOM.
r=racham@netscape.com,tao@netscape.com, cls@seawood.org, sr=hyatt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86340 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 15:41:37 +00:00
colin%theblakes.com
fd24419bbf VMS specific fix; tagFile name needs a case blind compare. b=55950 r=rpotts
git-svn-id: svn://10.0.0.236/trunk@86339 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 15:28:11 +00:00
ftang%netscape.com
291474e48e add HaveFontFor method for nsIFontEnumerator sr=erik
git-svn-id: svn://10.0.0.236/trunk@86338 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 13:44:11 +00:00
ftang%netscape.com
f494b01f9b add HaveFontFor method for nsIFontEnumerator . sr=erik
git-svn-id: svn://10.0.0.236/trunk@86337 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 12:48:59 +00:00
ftang%netscape.com
d61a375dd8 add HaveFontFor method to nsIFontEnumerator sr=erik
git-svn-id: svn://10.0.0.236/trunk@86336 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 12:48:45 +00:00
ftang%netscape.com
e85fc19507 add nsFontPackage for font downloading trigger code. sr=erik
git-svn-id: svn://10.0.0.236/trunk@86335 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 12:40:23 +00:00
ftang%netscape.com
2fa939f6fa add nsFontPackage.cpp to implement interface for font downloading sr=erik
git-svn-id: svn://10.0.0.236/trunk@86334 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 12:38:09 +00:00
ftang%netscape.com
f7d80bf628 add font download interfaces . sr=erik
git-svn-id: svn://10.0.0.236/trunk@86333 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 12:37:10 +00:00
ftang%netscape.com
d8d0234c8a add font download interface sr=erik
git-svn-id: svn://10.0.0.236/trunk@86332 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 12:35:41 +00:00
pschwartau%netscape.com
e01724fa6d Made this testcase acknowledge that indirect eval is LEGAL; see bug 38512.
git-svn-id: svn://10.0.0.236/trunk@86328 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 07:57:17 +00:00
ssu%netscape.com
6b06ed6af6 fixing bug 67728 - update installer build process to support urls. r=dveditz,leaf sr=mscott. not part of tinderbox builds. affects only windows
git-svn-id: svn://10.0.0.236/trunk@86327 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 07:43:25 +00:00
pschwartau%netscape.com
63cbcf8c21 Made this testcase acknowledge that indirect eval is LEGAL; see bug 38512.
git-svn-id: svn://10.0.0.236/trunk@86326 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 07:33:28 +00:00
pinkerton%netscape.com
ce9fa42472 Removing HTML->text sink from the parser. r=akkana/sr=vidur. bug 62432.
git-svn-id: svn://10.0.0.236/trunk@86325 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 07:15:32 +00:00
ssu%netscape.com
5cdc2d128a fixing bug 49456 - installer memory usage too high. r=dveditz, sr=mscott. windows platform only.
git-svn-id: svn://10.0.0.236/trunk@86324 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 07:15:13 +00:00
pschwartau%netscape.com
6bebd00d88 Made this testase acknowledge that indirect eval is LEGAL; see bug 38512.
git-svn-id: svn://10.0.0.236/trunk@86323 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 06:52:59 +00:00
pchen%netscape.com
3fa5f329c2 bug 61079, r=blake, a/sr=ben, fix editing of helper app mappings, by creating a full new mapping (which will actually show up in the list) and deleting the old one (makes old one go away, duh)
git-svn-id: svn://10.0.0.236/trunk@86322 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 06:50:02 +00:00
pchen%netscape.com
b524f1cc3f bug 56226, r=blake, sr=mscott, remove about attributes from NC:fileExtensions tags which causes barf (exception thrown) in helper apps pref code and such attributes are written out from prefs code anyways
git-svn-id: svn://10.0.0.236/trunk@86321 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 06:29:53 +00:00
pschwartau%netscape.com
8e3699294e Deleting this testcase. It expected indirect eval to throw an exception. Wrong - this is legal: see bug 38512.
git-svn-id: svn://10.0.0.236/trunk@86320 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 06:06:18 +00:00
blakeross%telocity.com
241a599d8f Just moving a variable declaration to declare it only when needed...
git-svn-id: svn://10.0.0.236/trunk@86319 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 05:50:31 +00:00
pollmann%netscape.com
2d0d3de45d Bug 42892: Split FlushPendingNotifications in to content and content+frames cases (speed up content list access), r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86318 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 05:46:46 +00:00
pinkerton%netscape.com
31c1059829 fix for 51053, where we'd throw too early when trying to close popups. added try/catch around each individual QI. r=ben/sr=scc.
git-svn-id: svn://10.0.0.236/trunk@86317 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 05:33:28 +00:00
mscott%netscape.com
bc538f063f Don't build this obsolete directory.
git-svn-id: svn://10.0.0.236/trunk@86316 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 05:17:18 +00:00
kandrot%netscape.com
c9eb4ec82c r=waterson sr=cls
Adding a newer version of the libc malloc.c from the author.  It is
 compiled switched in via --enable-lea.


git-svn-id: svn://10.0.0.236/trunk@86315 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 04:52:19 +00:00
rbs%maths.uq.edu.au
c31ecb5605 Fix for shift/jump/overlap in the incremental reflow of tables containing text-inputs and images. Bug 45562 and related dups. sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86313 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 04:42:31 +00:00
mscott%netscape.com
593691b225 don't build this obsolete directory.
git-svn-id: svn://10.0.0.236/trunk@86312 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 04:40:32 +00:00
cmanske%netscape.com
eee619855a Fixed saving over existing file bug 66745. r,m=Makoto Hamanaka (VYA04230@nifty.com), sr=sfraser.'
git-svn-id: svn://10.0.0.236/trunk@86311 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 04:38:08 +00:00
leaf%mozilla.org
9a08521705 Automated update
git-svn-id: svn://10.0.0.236/trunk@86310 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 04:30:13 +00:00
kandrot%netscape.com
e85eadc659 r=waterson sr=cls
Adding a newer version of the libc malloc.c from the author.  It is
 compiled switched in via --enable-lea.


git-svn-id: svn://10.0.0.236/trunk@86309 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 04:28:59 +00:00
kandrot%netscape.com
4025fd2a95 r=waterson sr=cls
Adding a newer version of the libc malloc.c from the author.  It is
compiled switched in via --enable-lea.


git-svn-id: svn://10.0.0.236/trunk@86308 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 04:26:58 +00:00
mscott%netscape.com
45ef91c2f7 Bug #67555 --> rewrite OnStart/OnStopMeteors to use timers for performance benefits.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@86307 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 04:13:08 +00:00
mscott%netscape.com
a59699fbfb Bug #67555 --> remove obsolete timer code
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@86306 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 04:11:21 +00:00
beard%netscape.com
fe3a8c3643 build system changes for Carbon, bug #64484, r=pinkerton, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86305 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 04:00:52 +00:00
hyatt%netscape.com
562d3aa608 Backing out my checkin of menulistBIndings.xml. That was an accident.
git-svn-id: svn://10.0.0.236/trunk@86304 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 03:07:42 +00:00
hyatt%netscape.com
cb67cdc8b1 Oh to heck with it. It's just a file nobody is using yet. Adding to JAR.
git-svn-id: svn://10.0.0.236/trunk@86303 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:59:44 +00:00
hyatt%netscape.com
a27086dfc0 Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86302 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:57:58 +00:00
bryner%uiuc.edu
5460bd061d Bug 67709 - assertions when typing in editor due to uninitialized return value. r=blake, dbaron. sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@86301 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:55:06 +00:00
ftang%netscape.com
3502ce15cd rename aReloadPages to aRedrawPages according to erik's review comment
sr=erik
not part of the build yet.


git-svn-id: svn://10.0.0.236/trunk@86300 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:50:07 +00:00
leaf%mozilla.org
1aa89adcd3 Automated update
git-svn-id: svn://10.0.0.236/trunk@86299 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:45:09 +00:00
javi%netscape.com
33995d2cc6 Remove references to coreconf from the Makefile for building
pipnss


git-svn-id: svn://10.0.0.236/trunk@86298 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:44:15 +00:00
pollmann%netscape.com
5bc0062eb0 Bug 62713: Save strings in SH in UTF8 instead of UCS2 to reduce memory usage plus cleanup (thanks jst), r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86297 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:41:15 +00:00
ftang%netscape.com
740aab8640 not part of the build yet
check in support class for "font download" work
sr=erik


git-svn-id: svn://10.0.0.236/trunk@86296 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:34:46 +00:00
ftang%netscape.com
2adbe3b921 not part of the build yet
check in interface for "font download" work.
sr=erik


git-svn-id: svn://10.0.0.236/trunk@86295 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:33:52 +00:00
cls%seawood.org
b06b981d83 Automatically run config.status if configure changes.
git-svn-id: svn://10.0.0.236/trunk@86293 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:33:34 +00:00
tor%cs.brown.edu
595ed2e704 libpng update to 1.0.9. sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86292 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:32:50 +00:00
pollmann%netscape.com
c7b33ed83b Bug 62713: Only save scroll position in SH if offset from origin, only put entries in state table if state was created, cleanups, r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86291 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:32:04 +00:00
jst%netscape.com
5f8747c230 Fixing regression (bug 67713) that I introduced in my content code re-org in the end of december. Adding a missing interface to the QI implementation of nsHTMLButtonElement. r=nisheeth@netscape.com, sr=n/a
git-svn-id: svn://10.0.0.236/trunk@86290 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:31:31 +00:00
hyatt%netscape.com
e8a0cb4736 Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86288 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:22:31 +00:00
bienvenu%netscape.com
f7342cf6c4 add some specific error codes so we can start getting rid of uses of NS_ERROR_FAILURE r=naving, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86287 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:17:47 +00:00
blakeross%telocity.com
3c506db00b Caching the browser in navigator.js so we don't keep retrieving it on startup (67262). r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@86286 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:17:27 +00:00
blakeross%telocity.com
da0a1e64cc Wording in BasicAuth username/password dialog says "Confirm Password" (by bzbarsky@mit.edu, 55111). r=doron sr=alecf
git-svn-id: svn://10.0.0.236/trunk@86285 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:13:54 +00:00
jst%netscape.com
a535469076 Fixing bug 67563. Adding null pointer checks to avoid crasing when accessing certain properties on orphan OPTION, TD and TH elements. r=harishd@netscape.com, r=nisheeth@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86284 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:11:30 +00:00
blakeross%telocity.com
9f134d8098 Page info panes should have adjustable and have scrollbars (by db48x@yahoo.com, 63913). r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@86283 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:11:22 +00:00
bienvenu%netscape.com
86b352b18f add some specific error codes so we can start getting rid of uses of NS_ERROR_FAILURE fix notification of filtered messages in pop folders 67556 r=naving, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86282 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:10:43 +00:00
bienvenu%netscape.com
98f5beb1af use a constant for offline folder flag r=naving, sr=mscott 67608
git-svn-id: svn://10.0.0.236/trunk@86281 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:07:04 +00:00
bienvenu%netscape.com
224b36b3f5 add some specific error codes so we can start getting rid of uses of NS_ERROR_FAILURE r=naving, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86280 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 02:05:31 +00:00
pollmann%netscape.com
07a6277aa1 Bug 62713: Only save form input values in SH if changed plus cleanups (error handling, NS_LITERAL_STRING), r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86279 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 01:59:59 +00:00
disttsc%bart.nl
f20bf9b223 Fix strict warnings in mailWidgets.xml, clean up a little. bug=58572, patch by Mark Olsen <maolson@earthlink.net>, r=jag, a=alecf
git-svn-id: svn://10.0.0.236/trunk@86278 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 01:43:39 +00:00
pollmann%netscape.com
0ac44b8f3d Bug 55988 + 64415: Hidden inputs and buttons save state in session history, r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86275 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 01:31:18 +00:00
brendan%mozilla.org
554bf9f199 Fix compile-statements-as-we-go to work with warn-about-missing-final-return (66928, r=jband, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@86274 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 01:23:29 +00:00
relyea%netscape.com
6bce3244ca Bug 67501: Fix suggested by Nelson. Make '-d' option work again in sdrtest.
git-svn-id: svn://10.0.0.236/trunk@86271 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 01:05:21 +00:00
waterson%netscape.com
85078796cd Bug 61337. Fix rounded corners on <hr> with NOSHADE. Patch submitted by Dainis Jonitis (Dainis_Jonitis@swh-t.lv), r=waterson, sr=buster.
git-svn-id: svn://10.0.0.236/trunk@86270 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 01:00:35 +00:00
pollmann%netscape.com
04dee7132e Bug 8065: Prevent crashing on infinitely recursive framesets, r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86269 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 00:52:36 +00:00
pollmann%netscape.com
63fba26584 Bug 61605: Make <isindex> be a block element, r=jst@netscape.com sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86267 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 00:49:32 +00:00
bryner%uiuc.edu
09de6a14df bug 67582 - set channel on security info object for ssl-forcehandshake sockets. r=pavlov, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@86263 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 00:31:56 +00:00
saari%netscape.com
0090028000 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@86260 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 00:22:05 +00:00
ben%netscape.com
d63f86f960 fix numerous XBL related warnings for new windows. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@86258 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 00:16:22 +00:00
ben%netscape.com
4370c53ee6 Fix for bug 67695, crashes in attempting to load bookmarks window. sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86257 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 00:15:01 +00:00
relyea%netscape.com
38181cdadc Bug 67068. Fix Crash in SECMOD_Shutdown. reviewed by wtc.
git-svn-id: svn://10.0.0.236/trunk@86255 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 00:11:24 +00:00
relyea%netscape.com
24aa28ba93 Fix error value to return a less misleading generic error when the bignum libraries fail
git-svn-id: svn://10.0.0.236/trunk@86254 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 00:09:54 +00:00
bryner%uiuc.edu
9ece830937 Bug 67507 - implement TLSStepUp(). r=javi. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86246 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 21:46:24 +00:00
mkaply%us.ibm.com
2ed7e2dab7 Backing out 58668 until we can figure out Mac problem.
git-svn-id: svn://10.0.0.236/trunk@86244 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 20:11:07 +00:00
ben%netscape.com
11be478496 mac build needs to know how to find extra jar.mn. builds not starting. a=granrose.
git-svn-id: svn://10.0.0.236/trunk@86241 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 18:52:24 +00:00
ben%netscape.com
abdb829247 remove dup jar.mn entry for textcontent.dtd and remove merge conflicts.
former was causing packaging problems, a=granrose.


git-svn-id: svn://10.0.0.236/trunk@86240 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 18:51:22 +00:00
blizzard%redhat.com
e541aa844a add missing Makefile.in to resources dir and add entry to DIRS so we can find the jar.mn file. a=leaf
git-svn-id: svn://10.0.0.236/trunk@86239 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 18:29:24 +00:00
pschwartau%netscape.com
56bded9e2e Deleting this testcase, which expected this.eval() to throw an exception. On the contrary: indirect eval is LEGAL; see Bugzilla bug 38512.
git-svn-id: svn://10.0.0.236/trunk@86238 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 18:27:36 +00:00
Peter.VanderBeken%pandora.be
62c334a3f7 Not part of the build. Eliminate JS warning. Correct error in CID. Add debugging info.
git-svn-id: svn://10.0.0.236/trunk@86234 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 15:46:51 +00:00
brade%netscape.com
644f57503b caret method renamed to GetCaretCoordinates; r=kin; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86233 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 15:44:38 +00:00
brade%netscape.com
3440aa2597 cleanup of FetchDesiredX; r=kin; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86232 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 15:43:46 +00:00
brade%netscape.com
007eabca99 rename to GetCaretCoordinates, parameter/code cleanup; r=kin; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86231 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 15:43:24 +00:00
brade%netscape.com
d2a0ee08bd method rename; r=kin; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86230 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 15:43:10 +00:00
brade%netscape.com
afcf9816d8 add coordinate enums, rename GetWindowCoordinates to GetCaretCoordinates; r=kin; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86229 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 15:42:58 +00:00
ccarlen%netscape.com
0ec134cf3f Add explicit registration of nsIWebProgressListener which is now required.
r=valeski@netscape.com, sr=blizzard@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@86228 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 15:23:36 +00:00
disttsc%bart.nl
31beb62d48 ``death to iostreams in htmlparser!''. For real this time. bug=58344, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86227 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 14:37:33 +00:00
mkaply%us.ibm.com
8c0c1f6ef0 OS/2 and other ports breakage
git-svn-id: svn://10.0.0.236/trunk@86226 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 14:11:15 +00:00
ben%netscape.com
2e3eb9bab9 removing dump
git-svn-id: svn://10.0.0.236/trunk@86225 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 13:44:59 +00:00
rbs%maths.uq.edu.au
5c82c57502 Remove gratuitous parentheses in a declaration, and allow trailing #comments in MathFont Property Files
git-svn-id: svn://10.0.0.236/trunk@86224 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 13:39:20 +00:00
ben%netscape.com
d35493a252 fix a couple of regressions related to tree.css merge conflict repair.
git-svn-id: svn://10.0.0.236/trunk@86223 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 13:26:31 +00:00
ben%netscape.com
fa1d061823 fix some merge boo-boos
git-svn-id: svn://10.0.0.236/trunk@86222 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 12:34:47 +00:00
ben%netscape.com
d341c6d265 fix some more merge boo-boos
git-svn-id: svn://10.0.0.236/trunk@86221 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 12:34:22 +00:00
ben%netscape.com
9b3014a03c fix some tree merge conflict hell.
git-svn-id: svn://10.0.0.236/trunk@86220 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 11:50:42 +00:00
locka%iol.ie
397a03c159 Added js linker dependency. sr=mscott@netscape.com b=41241
git-svn-id: svn://10.0.0.236/trunk@86219 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 11:31:27 +00:00
locka%iol.ie
943f32caaf Removed some dud commented out macros
git-svn-id: svn://10.0.0.236/trunk@86218 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 11:29:34 +00:00
locka%iol.ie
71f99fce9b Major resync to track recent embedding API changes. Persistence code updated, web browser listener updated, clipboard commands updated. Removal of a lot of STL templates to reduce bloat. Implemented popup menu actions b=59040
git-svn-id: svn://10.0.0.236/trunk@86217 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 11:29:05 +00:00
locka%iol.ie
58269d8348 Reworked IE DOM emulation to make it slightly more accurate & efficient.
git-svn-id: svn://10.0.0.236/trunk@86216 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 11:24:33 +00:00
locka%iol.ie
bea0d727f3 Fixed clipboard problem where an ascii format was used instead of unicode.
git-svn-id: svn://10.0.0.236/trunk@86215 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 11:22:32 +00:00
locka%iol.ie
5f77c68f90 Added new ambient appearance properties.
git-svn-id: svn://10.0.0.236/trunk@86214 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 11:21:26 +00:00
locka%iol.ie
bb1c820b2e Added code to create a new window for _blank, _new targets before URI loader tries to push content into it and fails. sr=mscott@netscape.com b=41241
git-svn-id: svn://10.0.0.236/trunk@86213 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 10:50:33 +00:00
locka%iol.ie
7e8aa60979 Added linker dependency to js engine, sr=mscott@netscape.com, b=41241
git-svn-id: svn://10.0.0.236/trunk@86212 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 10:46:24 +00:00
gayatrib%netscape.com
4b63778a64 Fix for bug 44582--stop in search dialog. r=racham sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@86211 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 10:45:23 +00:00
mozilla.BenB%bucksch.org
86f9e69842 65488: Small speed improvements. Obviously intended by mscott, but not actually taken advantage of, till now. sr=mscott, r=dougt.
git-svn-id: svn://10.0.0.236/trunk@86210 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 10:25:00 +00:00
ben%netscape.com
ad30fb569e little eager with the string removal there. repair import/export
git-svn-id: svn://10.0.0.236/trunk@86209 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 10:14:11 +00:00
ben%netscape.com
72cb9fd9c0 oops
git-svn-id: svn://10.0.0.236/trunk@86207 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 08:01:26 +00:00
ben%netscape.com
eb7ff438e2 double oops
git-svn-id: svn://10.0.0.236/trunk@86206 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 07:58:40 +00:00
ben%netscape.com
e080d44c62 Drag and drop API change, call site patches. r=jag, a=hyatt (r=jag for nsDND part of other checkin too)
git-svn-id: svn://10.0.0.236/trunk@86205 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 07:53:02 +00:00
ben%netscape.com
339caff959 Bookmarks Window Updates, includes fixes for
27495, 38004, 42080, 43146, 43753, 47494, 50835, 53403, 55447, 55448, 55787
r=blake, a=hyatt


git-svn-id: svn://10.0.0.236/trunk@86204 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 07:48:03 +00:00
ben%netscape.com
976de3b55a jar.mn fu
git-svn-id: svn://10.0.0.236/trunk@86203 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 07:33:47 +00:00
hyatt%netscape.com
0f62e32e14 not part of build,
git-svn-id: svn://10.0.0.236/trunk@86201 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 07:06:36 +00:00
hyatt%netscape.com
634ec4f0ec not part of build,
git-svn-id: svn://10.0.0.236/trunk@86200 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 07:03:42 +00:00
pschwartau%netscape.com
14f6f455f9 Changed comma expresions in this testcase from trivial to non-trivial. Explanation is in the introduction.
git-svn-id: svn://10.0.0.236/trunk@86199 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 04:58:39 +00:00
hyatt%netscape.com
50865c3788 not part of build,
git-svn-id: svn://10.0.0.236/trunk@86198 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 02:45:55 +00:00
hyatt%netscape.com
9667f06ec7 Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86197 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 02:01:24 +00:00
leaf%mozilla.org
972aeb64b3 Automated update
git-svn-id: svn://10.0.0.236/trunk@86196 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 01:15:10 +00:00
dbaron%fas.harvard.edu
f1ad97d247 Disable earlier changes for bug 65664 for fear they might cause HP-only bustage.
git-svn-id: svn://10.0.0.236/trunk@86195 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 01:04:38 +00:00
hyatt%netscape.com
3bfc627e3e Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86194 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 22:39:05 +00:00
hyatt%netscape.com
9c8b8ebced Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86193 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 22:33:23 +00:00
hyatt%netscape.com
6f9ea0a313 Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86192 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 22:32:21 +00:00
blizzard%redhat.com
b363d35081 Fix bug #31146. Fix problems where popup windows get focus when the are shown. r=pavlov, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@86191 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 21:54:21 +00:00
blakeross%telocity.com
1c04ae6e97 Removing extra "Save As..." item and separator in browser context menus (65014). r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@86190 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 20:05:18 +00:00
leaf%mozilla.org
7be5afe122 Automated update
git-svn-id: svn://10.0.0.236/trunk@86189 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 20:00:09 +00:00
dbaron%fas.harvard.edu
71d400bd45 Add TestCOMPtrEq to the build to make sure that all nsCOMPtr operator== will work correctly across platforms. r=scc@mozilla.org sr=brendan@mozilla.org b=65664
git-svn-id: svn://10.0.0.236/trunk@86188 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 19:57:33 +00:00
dbaron%fas.harvard.edu
d4faa6cbde Make |nsCOMPtr<T>::operator&| private so that it is not used by clients. Legitimate users should use |address_of| instead. b=59414 r=disttsc@bart.nl sr=scc@mozilla.org
Fix ambiguities relating to the various forms of |operator==| defined for nsCOMPtrs by avoiding |const| for parameters for compilers where it (incorrectly) confuses overload resolution.  r=scc@mozilla.org  sr=brendan@mozilla.org  b=65664


git-svn-id: svn://10.0.0.236/trunk@86187 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 19:57:29 +00:00
dbaron%fas.harvard.edu
b8d2951522 Add test for problems in overload resolution related to const and volatile to fix bug 65664. r=scc@mozilla.org sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86186 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 19:57:17 +00:00
dbaron%fas.harvard.edu
f4291c82db Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl
git-svn-id: svn://10.0.0.236/trunk@86185 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 19:39:56 +00:00
dbaron%fas.harvard.edu
47d423cd60 Fix incorrect usage of |nsCOMPtr<T>::operator&| was used in place of |getter_AddRefs| since the former will soon become |private| to prevent things like this. r=disttsc@bart.nl b=59414
git-svn-id: svn://10.0.0.236/trunk@86184 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 19:37:36 +00:00
bratell%lysator.liu.se
c884f81147 Fixing mac breakage. It seems as if the mac compiler actually follows the C++ standard.
git-svn-id: svn://10.0.0.236/trunk@86183 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 10:49:33 +00:00
hyatt%netscape.com
9842a3bb63 Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86182 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 09:50:59 +00:00
bratell%lysator.liu.se
46085fae6d Bug 29241, nsID::Parse used scanf to parse UUID:s which was very slow. This custom parsing should shave 1.6% of mozilla startup time. r=jag sr=jband
git-svn-id: svn://10.0.0.236/trunk@86181 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 09:36:22 +00:00
blakeross%telocity.com
02f78b1c80 Removing (unbuilt) files for now. Looks like we won't need them for awhile after all.
git-svn-id: svn://10.0.0.236/trunk@86179 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 07:56:55 +00:00
blakeross%telocity.com
2aeb8e955c Removing redundant includes.
git-svn-id: svn://10.0.0.236/trunk@86177 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 06:48:19 +00:00
jband%netscape.com
ad06ad0847 fix bug 67557 - bad use of NS_LITERAL_STRING to initialize static const PRUnichar* literals. r=jag sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86176 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 06:47:44 +00:00
cls%seawood.org
48ee7d7d9d Fix fdlibm/mozjs dependency problem by making sure that fdlibm is always built before mozjs.
git-svn-id: svn://10.0.0.236/trunk@86175 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 06:27:59 +00:00
wtc%netscape.com
8d05a89175 Bugzilla bug #62855: remembered the right way to have OS/2 include a
single OS2.mk for all OS releases.
Modified files: arch.mk, config.mk


git-svn-id: svn://10.0.0.236/trunk@86173 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 06:09:52 +00:00
wtc%netscape.com
7906a156a2 Bugzilla bug #60143: checked in OpenVMS patch from Colin Blake
<colin@theblakes.com>.
Modified Files:
	coreconf/OpenVMS.mk coreconf/arch.mk coreconf/rules.mk
	coreconf/ruleset.mk nss/cmd/lib/secpwd.c nss/lib/nss/nss.h
	nss/lib/nss/nssinit.c


git-svn-id: svn://10.0.0.236/trunk@86172 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 05:52:42 +00:00
cls%seawood.org
e38d29302c Add -d to STRIP for bsdi 4.x
git-svn-id: svn://10.0.0.236/trunk@86171 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 04:59:26 +00:00
mkaply%us.ibm.com
53009eff82 Fix Mac bustage
git-svn-id: svn://10.0.0.236/trunk@86169 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 04:56:58 +00:00
mkaply%us.ibm.com
7e92c066a9 Guess at IRIX breakage
git-svn-id: svn://10.0.0.236/trunk@86168 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 04:12:37 +00:00
mkaply%us.ibm.com
bc4e642d32 Diff merged bad, but it worked on Windows
git-svn-id: svn://10.0.0.236/trunk@86167 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 04:00:36 +00:00
mkaply%us.ibm.com
ad3aca9a62 #58668
r=dveditz, sr=brendan
Change registry buffered I/O APIs to use NSPR rather than C runtime for file I/O
These APIs are used most commonly to read and write to component.reg


git-svn-id: svn://10.0.0.236/trunk@86166 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 03:17:10 +00:00
ducarroz%netscape.com
1c8409b156 Fix for bug 67469. Don't try to encode a bogus attachment. The HTML converted body should be marked as a bogus attachment. Also fix function nsMsgIsMacFile. R=blake, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@86165 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 01:42:33 +00:00
bryner%uiuc.edu
080e6eb880 Bug 67530 - failure sending mail if PSM not installed. r/sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@86164 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 01:16:13 +00:00
danm%netscape.com
3a7c43cce0 partial nsWindowMediator embedding analogue (not yet hooked up to build) r=sfraser,valeski
git-svn-id: svn://10.0.0.236/trunk@86163 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-04 00:32:43 +00:00
valeski%netscape.com
b55566bd31 removing unused static method
git-svn-id: svn://10.0.0.236/trunk@86162 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 23:43:59 +00:00
hyatt%netscape.com
edbb9db5a5 Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86161 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 23:13:53 +00:00
danm%netscape.com
eca48e5678 fix wonky string usage in rev 1.59. still bug 67079 r=brendan
git-svn-id: svn://10.0.0.236/trunk@86160 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 23:08:19 +00:00
blakeross%telocity.com
6da0b5379c Removing an unused string (for khiggins, 67562). r=blake sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@86159 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 20:37:25 +00:00
bienvenu%netscape.com
ae08f87fba fix for solaris bustage
git-svn-id: svn://10.0.0.236/trunk@86157 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 18:34:32 +00:00
bienvenu%netscape.com
688568e436 more work on playback of offline imap ops 15865 r=naving,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86156 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 17:48:24 +00:00
bienvenu%netscape.com
2ef6bca7fc listen for going offline notification and shutdown open connections when we receive it 15865 r=naving, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86155 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 17:45:31 +00:00
bienvenu%netscape.com
76bd1adb3a add support for limiting offline download size to base server class 15865 r=naving, sr=mscott (also make sure replied flag is set appropriately during reparse)
git-svn-id: svn://10.0.0.236/trunk@86154 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 17:44:20 +00:00
bienvenu%netscape.com
418205c06a add support for limiting offline download size to base server class 15865 r=naving, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86153 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 17:43:24 +00:00
chak%netscape.com
e6c5eceb47 NOT PART OF THE BUILD
Fix for Bug#67490 - MfcEmbed needs to implement nsIWebBrowserSiteWindow
r=adamlock@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86152 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 17:26:49 +00:00
disttsc%bart.nl
9e8b3d1803 Lazily load the properties file. bug=67538, r=mao, a=ben
git-svn-id: svn://10.0.0.236/trunk@86151 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 12:10:53 +00:00
disttsc%bart.nl
7a698aed57 Replace iostream.h cerr << dependancy with NS_WARNING. bug=67536, r=jst, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@86150 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 09:09:24 +00:00
disttsc%bart.nl
d34700daad Remove dead |#include "iostream.h"|.
git-svn-id: svn://10.0.0.236/trunk@86149 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 07:15:47 +00:00
anthonyd%netscape.com
810a9820ad fix for bug #55921 - Clicking to the right of a link doesn't clear selection
sr/r=joki, sfraser


git-svn-id: svn://10.0.0.236/trunk@86148 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 07:07:15 +00:00
kvisco%ziplink.net
7d1c6873b3 Not part of regular build. Updated to allow standalone linux version to build.
git-svn-id: svn://10.0.0.236/trunk@86147 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 06:35:05 +00:00
ben%netscape.com
83667ac01f Fix bug 67073, remove form toolbar. r=jag, blake, jst, a=brendan
8:51 PM 2/2/2001


git-svn-id: svn://10.0.0.236/trunk@86146 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 04:45:56 +00:00
jst%netscape.com
158ac28425 Moving methods around to make this file make more sense. no code changes.
git-svn-id: svn://10.0.0.236/trunk@86145 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 03:50:04 +00:00
bryner%uiuc.edu
340ebaf84a No longer build unused sun-java stubs. r=edburns@acm.org, jeff.dyer@compilercompany.com.
git-svn-id: svn://10.0.0.236/trunk@86144 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 03:23:55 +00:00
bryner%uiuc.edu
5a0c65dc76 Bug 67412 - set the NotificationCallbacks object on the imap channel so that PSM can get its nsIPrompt. r=jag, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@86143 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 02:59:01 +00:00
edburns%acm.org
c97f1c2f4a bug 49336
r=av
sr=waterson

This code makes sure that if the prefs say to USE DIRECT instead of using
a proxy, the plugin sees it that way.


git-svn-id: svn://10.0.0.236/trunk@86142 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 02:56:28 +00:00
naving%netscape.com
8d74be650c 23089. sr=bienvenu. Do not updateMailboxinfo when imapAction is LiteSelectFolder (undo/redo)
git-svn-id: svn://10.0.0.236/trunk@86141 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 02:18:27 +00:00
jst%netscape.com
a66e71b587 Removing obsolete file.
git-svn-id: svn://10.0.0.236/trunk@86140 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 02:17:37 +00:00
anthonyd%netscape.com
481385c4ae fix for bug # 67007 user defined tags being consumed
sr= harishd
r= kin


git-svn-id: svn://10.0.0.236/trunk@86139 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 01:24:53 +00:00
jst%netscape.com
e0215f1fd4 Fixing bug 58753. Making document.referrer work for documents in [i]frames and window.open()'ed windows. r=mstoltz@netscape.com and pollmann@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86138 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 01:17:00 +00:00
heikki%netscape.com
b991c17f24 Bugs 53615 and 51815. XHTML title element did not change window title, and textarea did not have default text. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@86137 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 01:16:20 +00:00
heikki%netscape.com
a4f8173ec8 Bug 44564. Problems with internal subset, especially with view source XML. Also fixed CDATA section problems. Some cleanups. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@86136 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 01:13:55 +00:00
mscott%netscape.com
3e25d39c45 Bug #67489 --> xul clean up of the helper app dnd dialog.
add a separator before the checkbox so it's more balanced.
Make sure the checkbox outliner works correctly.
change onclick to oncommand handlers
place the cancel/close button on the far left and the reveal/launch on the right side of the dialog instead of
centering them.

sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@86135 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 01:08:10 +00:00
peterlubczynski%netscape.com
15aff1c4d0 Fix relative URLs in 'pluginspage' attribute honor BASE tag bug 46405 a=av, sr=buster
git-svn-id: svn://10.0.0.236/trunk@86134 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 00:43:09 +00:00
nhotta%netscape.com
778fa387d4 Changed to initialize a charset in msgWindow to the folder charset in nsStreamConverter, bug 61285, sr=mscott,bienvenu.
git-svn-id: svn://10.0.0.236/trunk@86133 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 00:39:40 +00:00
sfraser%netscape.com
1dda573065 Adding Mac projects for embedding components, and idl for command manager interface. NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@86132 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 00:24:53 +00:00
jgmyers%netscape.com
5a4ce93882 Fix SMTP/SSL: bug 32018 sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86131 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 00:17:52 +00:00
jgmyers%netscape.com
3f0e9b60a8 utf-8 decoder no longer accepts overlong sequences: bug 50702 r,sr=ftang
git-svn-id: svn://10.0.0.236/trunk@86130 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 00:08:40 +00:00
ssu%netscape.com
fe3c220dae fixing bug 67331 - Installer appends to installed-chrome.txt file rather than overwriting. r=dvetiz, sr=mscott not part of tinderbox builds.
git-svn-id: svn://10.0.0.236/trunk@86129 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 00:02:20 +00:00
mkaply%us.ibm.com
bbc14ef79b #66450
r=timeless, sr=hyatt
Don't open installed-chrome.txt read/write unnecessarily - just open it read


git-svn-id: svn://10.0.0.236/trunk@86128 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-03 00:01:52 +00:00
ssu%netscape.com
a8b5f9186f fixing bug 67220 - Win95 cannot download files. r=dveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@86127 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 23:59:44 +00:00
av%netscape.com
dec4c7f030 Bug 61388 -- implementing refresh plugins mechanism without restarting, rs=waterson, r=peterl, a=r=av
git-svn-id: svn://10.0.0.236/trunk@86125 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 23:48:17 +00:00
ducarroz%netscape.com
f76ac49322 Fix for bug 37697. Add support of preferFormat and html and plaintext domains list. R=chuang, SR=mscott,bienvenu
git-svn-id: svn://10.0.0.236/trunk@86124 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 23:39:43 +00:00
blakeross%telocity.com
c81ca53fb7 Adding file for 64831. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86123 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 22:51:11 +00:00
mscott%netscape.com
757640bd46 remove reference to an obsolete gif
git-svn-id: svn://10.0.0.236/trunk@86122 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 22:47:59 +00:00
rbs%maths.uq.edu.au
3ac9c045fe Fix UMR, and failures of GetGlyphOutline() - bug 46438 - sr:erik@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86121 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 22:46:48 +00:00
blakeross%telocity.com
cb08fff918 Adding file for 64831. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86120 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 22:45:14 +00:00
mscott%netscape.com
5479e9059e Remove obsolete directory from mime.
git-svn-id: svn://10.0.0.236/trunk@86119 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 22:44:58 +00:00
hyatt%netscape.com
c878fc524f Files aren't part of Mozilla build.
git-svn-id: svn://10.0.0.236/trunk@86118 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 22:44:39 +00:00
hyatt%netscape.com
eb7ea8d50d Files aren't part of Mozilla build.
git-svn-id: svn://10.0.0.236/trunk@86117 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 22:43:15 +00:00
hyatt%netscape.com
21b43759d3 Files aren't part of Mozilla build.
git-svn-id: svn://10.0.0.236/trunk@86116 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 22:34:52 +00:00
harishd%netscape.com
f0f841f430 67426 - Fixing up a regression caused when fixing bug 54453.
r=heikki


git-svn-id: svn://10.0.0.236/trunk@86115 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 22:07:38 +00:00
rbs%maths.uq.edu.au
ad33435ec7 Keep things uniform by letting these frames fill the bounding metrics for the caller
git-svn-id: svn://10.0.0.236/trunk@86114 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 21:31:23 +00:00
rbs%maths.uq.edu.au
3c211ae779 Keep things uniform by letting these frames fill the bounding metrics for the caller. Enabled operators that need to be centered around the axis for fonts that are not math-aware
git-svn-id: svn://10.0.0.236/trunk@86113 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 21:29:21 +00:00
rbs%maths.uq.edu.au
2ed1509d4d Added a flag for operators that need to be centered around the axis
git-svn-id: svn://10.0.0.236/trunk@86112 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 21:25:07 +00:00
nhotta%netscape.com
86c40b47bd Changed to cache unicode decoder in nsMimeConverter instead of calling ConvertToUnicode(), bug 20520, r=ducarroz, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@86111 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 21:19:55 +00:00
attinasi%netscape.com
4b332fa4e7 Floated list items are now handled correctly. b=32200, r=buster sr=waterson
git-svn-id: svn://10.0.0.236/trunk@86110 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 21:17:01 +00:00
attinasi%netscape.com
9e2454cabf Leave floated list-items as display:list-item. b=32200, r=buster sr=waterson
git-svn-id: svn://10.0.0.236/trunk@86109 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 21:16:00 +00:00
brendan%mozilla.org
38f5a7159a Include function total size in JS profiler output (67467, r=hyatt, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@86108 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 20:52:06 +00:00
naving%netscape.com
683df5eaa9 25589. r=timeless, sr=bienvenu, sspitzer. Adding feature drag and drop of folder.
Thanks to sspitzer and david for good review.


git-svn-id: svn://10.0.0.236/trunk@86107 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 20:21:52 +00:00
locka%iol.ie
a7fd5e9473 Reinstated some lines accidentally removed during porting to nsIWebBrowserSiteWindow. b=46852
git-svn-id: svn://10.0.0.236/trunk@86106 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 19:24:28 +00:00
kin%netscape.com
b9aa3d4ab3 Backing out part of fix for bug #67007 that cause bug #67408. (Can't type newlines in textareas)
a=leaf


git-svn-id: svn://10.0.0.236/trunk@86105 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 16:32:27 +00:00
mkaply%us.ibm.com
75aa25c948 Fix FreeBSD bustage
git-svn-id: svn://10.0.0.236/trunk@86104 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 16:07:50 +00:00
Peter.VanderBeken%pandora.be
20b2c4bb0f Not part of the build. Basic scaffolding for the LDAP datasource.
git-svn-id: svn://10.0.0.236/trunk@86103 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:58:09 +00:00
locka%iol.ie
a649731e25 Updated to use new nsIWebBrowserSiteWindow interface. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86102 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:53:46 +00:00
locka%iol.ie
aebc8bbb67 Changed control to use nsIWebBrowserSiteWindow interface. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86101 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:49:16 +00:00
dbaron%fas.harvard.edu
355d86274a Fix HPUX bustage. Declaration within class definition shouldn't include class name.
git-svn-id: svn://10.0.0.236/trunk@86100 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:31:03 +00:00
mcgreer%netscape.com
1469b41a38 get pk12util working with shared libs. Change ciphersuites to
be disabled by default to allow user control.  Export a couple
more functions to allow ciphersuite preferences.


git-svn-id: svn://10.0.0.236/trunk@86099 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:24:29 +00:00
nboyd%atg.com
a8eb3512ae Subject:
Re: [Rhino in Java] compiling .js to class file gives "bad local" error
        Date:
             Wed, 31 Jan 2001 09:41:45 +0100
       From:
             "Sylvia E. Schleutermann" <ses@h-m-s.com>
 Organization:
             .hms Health Management Systems
 Newsgroups:
             netscape.public.mozilla.jseng
  References:
             1 , 2




I have found out some more. Looking really quickly over the JVM specs, I
found that
indeed the astore-command requires that the variables index be below 128.
However,
the book also said that if more index space is needed, a "wide" command can
be used to
be able to address up to 65xxx variables.
Question: is there a possibility to integrate this "wide"-command into the
class compiler?
Some option, that can be set?  Or am I on the wrong tracks?

Please help, since I want to avoid spreading the script over many classes to
avoid the
size limitation. Cheers, Sylvia


Sylvia E. Schleutermann <ses@h-m-s.com> wrote in message
news:956sv9$9g53@secnews.netscape.com...
> I have found out that it is definitely the number of variables.
> I removed all variables and then the script compiled into class files
> with one base class and inner classes for each function in the script.
>
> What is the limitation exactly, i.e. does anyone know how many (global)
> variables
> I can use? Or is there some other kind of work around?
>
> Cheers, Sylvia
>
>
> Sylvia E. Schleutermann <ses@h-m-s.com> wrote in message
> news:956qtv$6kh3@secnews.netscape.com...
> > Hello,
> > when compiling a *.js file to class file, I get a "bad local" runtime
> > exception.
> > Stepping through the source, the following happens in reverse order:
> >
> > Codegen.xstore (75, 58, 209)
> >     -> in the switch - default case, there is a comparison
> >         for local (=209), which is compared to Byte.MAX_VALUE (=127).
> >         When greater, the above exception is thrown.
> >
> > Codegen.astore (209)
> >     -> calls Codegen.xstore (ByteCode.ASTORE_0, ByteCode.ASTORE, 209)
> >
> > Codegen.generatePrologue (<context>, <tree>, true, -1) // -1 is
> > directParameterCount
> >     -> sets itsZeroArgArray = getNewWordLocal(); // here, the 209 is
> > produced
> >     -> calls astore (itsZeroArgArray)
> >
> > From what I can read from the source code, the 209 seems to be a counter
> for
> > "locals", perhaps
> > local variables?? The function that is being compiled does initialize
many
> > variables - would it help
> > to move the initialize code out of the function into separate code
blocks?
> >
> > The function looks like this
> >
> > function rule_Disclaimer()
> > {
> >     try { VAR1 = <init code 1>;} catch (exception) { VAR1 = <default
init
> > code 1>; }
> >     try { VAR2 = <init code 2>;} catch (exception) { VAR2 = <default
init
> > code 2>;}
> >         ... (about 58 such variables)
> >
> >     var cond = true;
> >
> >     < rest of code>
> > }
> >
> > When I compile the script for interpreted mode, all works well. The
> > variables VAR1 to VAR58 are to be global
> > variables (global to the whole script).
> >
> > I appreciate any help! Thanks, Sylvia
> >
> >
>
>


git-svn-id: svn://10.0.0.236/trunk@86098 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:20:03 +00:00
mkaply%us.ibm.com
06eaccd0c0 Attempt to fix senna REQUIRES bustage
git-svn-id: svn://10.0.0.236/trunk@86097 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:10:30 +00:00
ccarlen%netscape.com
1972d72ae8 Bug 52473 - Add Mac embedding sample to the build.
r=jj@netscape.com, sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86096 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:10:01 +00:00
rbs%maths.uq.edu.au
8d372479e0 [not part of default build] Undo unintended changes, they were not meant for the TB tree
git-svn-id: svn://10.0.0.236/trunk@86095 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:43:36 +00:00
locka%iol.ie
f3ebf69fda Updated powerplant sample to use new nsIWebBrowserSiteWindow interface. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86094 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:28:20 +00:00
rbs%maths.uq.edu.au
f0255f60c7 [not part of default build] Removed debug flag that shouldn't have been left, and corrected some invariants
git-svn-id: svn://10.0.0.236/trunk@86093 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:27:38 +00:00
rbs%maths.uq.edu.au
6c09b08bdb [not part of default build] Removed debug flag that shouldn't have been left, and corrected some invariants
git-svn-id: svn://10.0.0.236/trunk@86092 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:27:16 +00:00
rbs%maths.uq.edu.au
2af68aa589 [not part of default build] Removed debug flag that shouldn't have been left, and corrected some invariants
git-svn-id: svn://10.0.0.236/trunk@86091 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:25:44 +00:00
rbs%maths.uq.edu.au
18aa5409ea [not part of default build] Set the namespace properly
git-svn-id: svn://10.0.0.236/trunk@86090 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:01:59 +00:00
mkaply%us.ibm.com
4d9b865091 OS/2 TB breakage
Need cast to pass C++ function


git-svn-id: svn://10.0.0.236/trunk@86089 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 13:54:03 +00:00
locka%iol.ie
b2a449e24d Implemented nsIWebBrowserSiteWindow interface. b=46852, sr=blizzard@mozilla.org
Also added menu option for profile switching.


git-svn-id: svn://10.0.0.236/trunk@86088 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 13:24:50 +00:00
locka%iol.ie
46517b9ccb Changed gtkEmbed to use new nsIWebBrowserSiteWindow interface. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86087 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 13:16:58 +00:00
locka%iol.ie
473ef9c888 Changed nsDocShellTreeOwner to call out to embedder's nsIWebBrowserSiteWindow interface instead of nsIBaseWindow. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86086 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 12:52:44 +00:00
locka%iol.ie
3a5f5ab229 Added nsIWebBrowserSiteWindow to makefile. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86085 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 12:46:14 +00:00
locka%iol.ie
1ae214399f Added nsIWebBrowserSiteWindow.idl. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86084 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 12:44:52 +00:00
locka%iol.ie
8526f624b2 Added nsIWebBrowserSiteWindow. sr=blizzard@mozilla.org, b=46852
git-svn-id: svn://10.0.0.236/trunk@86083 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 12:41:14 +00:00
locka%iol.ie
56bdefe743 New nsIWebBrowserSiteWindow interface - contains the 'up' set of functions from nsIBaseWindow making it easier for embedders to implement. b=46852, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86082 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 12:39:35 +00:00
Peter.VanderBeken%pandora.be
71adac432a [not part of the build] ... and should use srcdir.
git-svn-id: svn://10.0.0.236/trunk@86081 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:46:41 +00:00
hyatt%netscape.com
5cc9bc1805 Checking in some sample interfaces. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86080 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:42:40 +00:00
hyatt%netscape.com
ef54e960f9 Checking in some sample interfaces. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86079 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:33:15 +00:00
jst%netscape.com
415d2aa8a8 Fixing bug 64755. Moving code around to make plugins instantiated from an <object> tag be scriptable. r=pollmann@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86078 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:31:08 +00:00
hyatt%netscape.com
e223af8c66 Checking in some sample interfaces. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86077 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:29:48 +00:00
hyatt%netscape.com
4c7e9c7a27 Checking in some sample interfaces. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@86076 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:25:11 +00:00
Peter.VanderBeken%pandora.be
6959fe472a [not part of the build] Should use unix path-separators.
git-svn-id: svn://10.0.0.236/trunk@86075 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 11:15:27 +00:00
jband%netscape.com
6afc607467 the rest of the fix for bug 66950 to add nsISupportsWeakReference support of xpconnect wrapped JSObjects. r=rogerl sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86074 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 10:01:56 +00:00
rbs%maths.uq.edu.au
10d8142923 [not part of default build] Set the namespace properly
git-svn-id: svn://10.0.0.236/trunk@86073 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:52:22 +00:00
rbs%maths.uq.edu.au
a43a702f6b Remove obsolete file
git-svn-id: svn://10.0.0.236/trunk@86072 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:47:24 +00:00
rbs%maths.uq.edu.au
617801e196 [not part of default build] MathFont Property Files. The Operator Dictionary and stretchy characters can now be described in external extensible lists - Another pass will be needed to remove the PUA codes and switch to the recently approved Unicode points of MathML characters
git-svn-id: svn://10.0.0.236/trunk@86071 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:41:27 +00:00
rbs%maths.uq.edu.au
64f671ecde [not part of default build] Removed the static ctors and the hard-coding of the mutable characters. These characters and their attributes are now described in external extensible sets of MathFont property files
git-svn-id: svn://10.0.0.236/trunk@86070 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:40:53 +00:00
rbs%maths.uq.edu.au
69af6767db [not part of default build] Recover from API changes and improve the position of the index in mroot to eliminate the risk of collision with the sqrt symbol
git-svn-id: svn://10.0.0.236/trunk@86069 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:39:18 +00:00
rbs%maths.uq.edu.au
18baf8bf80 [not part of default build] Recover from API changes and update the compression flag to match TeX
git-svn-id: svn://10.0.0.236/trunk@86068 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:38:48 +00:00
rbs%maths.uq.edu.au
6e0b6f967b [not part of default build] Merged my tree with Shyjan changes, enabling the italic correction, the inter-frame spacing, and the support for moveablimits. Updated the returned bounding metrics to keep the bounding boxes aligned in the visual debug mode
git-svn-id: svn://10.0.0.236/trunk@86067 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:37:14 +00:00
rbs%maths.uq.edu.au
9d96f961ad [not part of default build] API changes
git-svn-id: svn://10.0.0.236/trunk@86066 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:35:28 +00:00
rbs%maths.uq.edu.au
b470d417d0 [not part of default build] Operator Dictionary - reworked the code to use a hashtable instead of an AVL tree. Allowed lazy population of the dictionary from the MathFont property file. Added helper methods so that nsMathMLChar can now query the dictionary for attributes of stretchy operators instead of keeping its own separate data
git-svn-id: svn://10.0.0.236/trunk@86065 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:34:15 +00:00
rbs%maths.uq.edu.au
0df4be4513 [not part of default build] Added atoms for the 'types' of MathML frames
git-svn-id: svn://10.0.0.236/trunk@86064 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:33:38 +00:00
jband%netscape.com
19a022fd40 the rest of the fix for bug 67258 to avoid empry Components.results and the similar pattern in nsJSIID. r=dmose sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86063 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:57:47 +00:00
jband%netscape.com
34256201c6 backing out two changed inadvertantly committed!
git-svn-id: svn://10.0.0.236/trunk@86062 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:52:22 +00:00
jband%netscape.com
9806ddbcdd part of the fix for bug 67258 to avoid empry Components.results. r=dmose sr=brendan xpccomponents.cpp
git-svn-id: svn://10.0.0.236/trunk@86061 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:48:28 +00:00
jband%netscape.com
5c45f126ae part of the fix to bug 66950. Add support for cheaply tracking the lifetime of arbitrary JSObject by extending the GC callback mechanism to notify after marking is done but before sweeping, and by providing an api function that can be called at that point to determine if any given gcthing is about to be finalized. r=rogerl sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86060 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:44:24 +00:00
rods%netscape.com
5b130d03e0 Added UI for printing selectd frame
Bug 66783 r=kmcclusk,ben,dcone sr=buster


git-svn-id: svn://10.0.0.236/trunk@86059 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:42:53 +00:00
jband%netscape.com
121ec88311 part of the fix to bug 66950. For xpconnect the class we mixin to sometimes needs to know if any weak references are outstanding. r=rogerl sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86058 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:40:01 +00:00
jband%netscape.com
0e9f463997 part of the fix to bug 66950. r=rogerl sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86057 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:38:06 +00:00
taka%netscape.com
73bae8fde6 check ConvertFromUnicode() result and handle error - #66958, sr=sspitzer, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@86056 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:13:12 +00:00
jst%netscape.com
275ac49856 Fixing bug 63484. Making mozilla not spit out messages about javascript errors when reporting a javascript warning. r=pollmann.netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86055 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 08:10:53 +00:00
hewitt%netscape.com
e0e40863fe 66210 - addressing widget, r=ducarroz, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86053 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 06:34:47 +00:00
jst%netscape.com
43af8f2a32 Checking in patch from toml@us.ibm.com. This fixes bug 66413, crash when closing windows after using LiveConnect. r=me, sr=jband@netscaoe.com
git-svn-id: svn://10.0.0.236/trunk@86052 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 06:05:17 +00:00
sspitzer%netscape.com
74eddaa350 fix for #67394. make mark button line up right. patch by hewitt. sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86051 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 05:34:06 +00:00
sspitzer%netscape.com
44b57f6eed use an incorrect icon for mark, but at least there is no transparency issues.
still waiting for the correct icon from marlon.


git-svn-id: svn://10.0.0.236/trunk@86050 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 05:06:45 +00:00
hewitt%netscape.com
747ade89db 57429 - win classic system colors/fonts, r=hyatt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@86049 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 04:34:21 +00:00
wtc%netscape.com
cf9a078cd3 Bugzilla bug #63768: removed references to the obsolete make variable
PURE_LIBRARY in PSM files.  Reviewed by Javier Delgadillo.
Modified files: psm/lib/client/config.mk, psm/lib/client/sample/config.mk,
psm/lib/protocol/config.mk


git-svn-id: svn://10.0.0.236/trunk@86048 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 04:13:10 +00:00
dave%intrec.com
79201226b9 Fix for bug 22041: Bug page title now includes bug summary. Patch by st.n@gmx.net (Stephan Niemz (faniz))
git-svn-id: svn://10.0.0.236/trunk@86047 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 03:44:47 +00:00
ducarroz%netscape.com
dd58f05fc8 Fix for bug 37967. We need to remove null lines caused by an earlier database corruption. R=naving, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@86046 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 03:43:52 +00:00
sspitzer%netscape.com
dd3d086a7f fix for #64772 and #64242
the problem with the mark toolbar is that the menupopup items would
execute both their commands, and the toolbar button command.
thanks to racham for the fix.  sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@86045 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 03:32:22 +00:00
dave%intrec.com
af3661d576 Fix for bug 66149: better error message on connection failures. Patch by shie9022@msmailhub.oulan.ou.edu (Alan Shields)
git-svn-id: svn://10.0.0.236/trunk@86044 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 03:29:26 +00:00
hewitt%netscape.com
68842b6293 57429 - win classic system colors/fonts, r=hyatt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@86043 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 03:27:57 +00:00
hewitt%netscape.com
2abca0db74 66210 - treecell headers, r=hyatt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@86042 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 03:17:47 +00:00
sspitzer%netscape.com
f59df25fab fix for #67378. r=racham
fix the folder pane context menu.


git-svn-id: svn://10.0.0.236/trunk@86041 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 03:11:05 +00:00
hewitt%netscape.com
6d65963678 50439 - classic bookmark icons, r=hyatt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@86040 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 03:03:32 +00:00
hewitt%netscape.com
3aa6b45c83 66210 - treecell headers, r=hyatt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@86039 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 02:50:33 +00:00
wtc%netscape.com
c0117cf4f6 Bugzilla bug #63768: removed references to obsolete make variables
HAVE_PURIFY and PURE_LIBRARY in JSS files.  Reviewed by James Nicolson.
Modified files: jss/config/libnames.mk, jss/lib/config.mk, jss/lib/rules.mk


git-svn-id: svn://10.0.0.236/trunk@86037 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 02:34:26 +00:00
hewitt%netscape.com
2e39f92d75 58961 - location bar popup, r=jag, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@86036 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 02:30:39 +00:00
hewitt%netscape.com
80800b0260 45060 - addressing widget cleanup, r=ducarroz, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86035 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 02:24:27 +00:00
hewitt%netscape.com
247595da7c 45060 - addressing widget cleanup, r=ducarroz, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86034 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 02:18:13 +00:00
sfraser%netscape.com
5aeaecb15e Add nsXBLInsertionPoint.cpp for hyatt
git-svn-id: svn://10.0.0.236/trunk@86033 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 02:08:37 +00:00
hyatt%netscape.com
6f841386d8 Fix linux bustage.
git-svn-id: svn://10.0.0.236/trunk@86032 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 02:05:57 +00:00
gagan%netscape.com
d2d6cae18e Fix for bug 61756. r=saari, sr=tor@cs.brown.edu. checking for a pending abort and returning early.
git-svn-id: svn://10.0.0.236/trunk@86031 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 02:03:48 +00:00
hewitt%netscape.com
2984a9d5ce 55323 - classic radio focus box, r=timeless, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@86030 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:52:54 +00:00
wtc%netscape.com
9e6c133c84 Bugzilla bug #63768: removed references to the obsolete PURE_LIBRARY,
HAVE_PURIFY etc. make variables in NSS files.  Reviewed by nelson Bolyard.
Modified Files:
	cmd/platrules.mk cmd/crmf-cgi/config.mk cmd/crmftest/config.mk
	cmd/lib/config.mk cmd/zlib/config.mk lib/base/config.mk
	lib/certdb/config.mk lib/certhigh/config.mk lib/ckfw/config.mk
	lib/crmf/config.mk lib/cryptohi/config.mk
	lib/fortcrypt/swfort/config.mk lib/freebl/config.mk
	lib/jar/config.mk lib/nss/config.mk lib/pk11wrap/config.mk
	lib/pkcs12/config.mk lib/pkcs7/config.mk lib/smime/config.mk
	lib/softoken/config.mk lib/ssl/config.mk lib/util/config.mk


git-svn-id: svn://10.0.0.236/trunk@86029 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:49:57 +00:00
hewitt%netscape.com
fb64cd120d 61773 - js console warnings, r=timeless, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@86028 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:42:02 +00:00
hewitt%netscape.com
e52d3dc40a 58248 - bookmarks menu cropping, r=timeless, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@86027 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:38:24 +00:00
jst%netscape.com
0711f33ca7 Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@86026 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:35:59 +00:00
jst%netscape.com
85af37cfab Fixing bug 53860. Making inputElement.getAttribute('checked') return the value 'checked' if the attribute was ever set. r=pollmann@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86025 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:34:57 +00:00
hewitt%netscape.com
dd1821c61d 65411 - add throbber-box id, r=hwaara, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@86024 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:32:57 +00:00
hewitt%netscape.com
a97fba91c1 62064 - don't install editmodetabs.css, r=jag, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@86023 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:29:49 +00:00
hewitt%netscape.com
9aa224a791 58764 - remove abstat.gif (by timeless), r=hewitt, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@86022 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:25:28 +00:00
wtc%netscape.com
9cc5346bd9 Bugzilla bug #62855: added rule to build import libraries on OS/2. Thanks
to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Modified files: OS2.mk, rules.mk, ruleset.mk


git-svn-id: svn://10.0.0.236/trunk@86021 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:17:58 +00:00
blakeross%telocity.com
ee454ae88f Fix 67340: bookmarks localization. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@86020 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:14:13 +00:00
hyatt%netscape.com
768e3b004c Checking in new files (r=ben, sr=brendan).
git-svn-id: svn://10.0.0.236/trunk@86019 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:14:07 +00:00
hewitt%netscape.com
aa9022381d 55209 - puffy mac menulists/buttons, r=sfraser, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@86018 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:10:32 +00:00
hewitt%netscape.com
878ca6dc80 55144 - "find more tabs" link (by hwaara), r=hewitt, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@86017 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:08:19 +00:00
rogerl%netscape.com
aca62ad2c9 Fixed case, sorry
git-svn-id: svn://10.0.0.236/trunk@86016 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:08:06 +00:00
rogerl%netscape.com
b6bc3b5328 Added ICodeEmitter
git-svn-id: svn://10.0.0.236/trunk@86015 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:06:30 +00:00
rogerl%netscape.com
c3685a0c71 Added icodeEmitter to VC++ build
git-svn-id: svn://10.0.0.236/trunk@86014 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:05:38 +00:00
rogerl%netscape.com
33757c2cc9 Re-structuring some ICG details.
git-svn-id: svn://10.0.0.236/trunk@86013 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 01:04:22 +00:00
hewitt%netscape.com
635ac21e76 65743 - remove unix classic, r=timeless, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@86012 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 00:58:12 +00:00
cls%seawood.org
c6ecc9bcc3 bsdi 4.2 needs _PR_HAVE_GETPROTO_R & _PR_HAVE_GETPROTO_R_POINTER
git-svn-id: svn://10.0.0.236/trunk@86011 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 00:58:11 +00:00
hyatt%netscape.com
b98496bb42 Fix for 55292, r=ben, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@86010 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 00:54:47 +00:00
hewitt%netscape.com
b4acaa8de5 65743 - remove unix classic, r=timeless, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@86009 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 00:37:43 +00:00
cmanske%netscape.com
26e21ae9db Fixed color picker buttons in dialogs, b=66417, r=blake, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86008 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 00:14:43 +00:00
cmanske%netscape.com
0d3f625f7e Fixed color picker button (b=66417) and align menulist in image properties dialog (b=66354). r=blake, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86007 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 00:14:32 +00:00
cmanske%netscape.com
c351cbf858 Fixed align menulist in Image properties dialog, b=66354, r=blake, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86006 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 00:14:29 +00:00
anthonyd%netscape.com
df07100265 bug fix for 67007, user tags being consumed
r=akkana
sr=harishd


git-svn-id: svn://10.0.0.236/trunk@86005 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 23:57:24 +00:00
dcone%netscape.com
5555721a96 Created new nsIPrintSettings object for embedding
git-svn-id: svn://10.0.0.236/trunk@86004 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 23:04:07 +00:00
rods%netscape.com
5301e853f6 makes optgroups so they you can't click on them and it fixes the focus issue.
Bug 63006 r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@86003 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 22:45:32 +00:00
cmanske%netscape.com
ef209dfcbc Fix bug 66745 for OS2. r,m=mkaply sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@86002 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 22:45:05 +00:00
harishd%netscape.com
d0e63392d0 Trying to fix the orangeness!
git-svn-id: svn://10.0.0.236/trunk@86001 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 22:26:44 +00:00
blakeross%telocity.com
77ecfb1ffe Disabling autostretch where necessary (42406). r=gemal a=ben
git-svn-id: svn://10.0.0.236/trunk@86000 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 22:11:05 +00:00
javi%netscape.com
1d245b0ea5 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@85999 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:59:09 +00:00
javi%netscape.com
f60ecf6e95 I couldn't figure out why the ConvertMacPathToUnixPath symbol is no longer exported by the NSPR library, so we'll include our implementation in the meantime.
git-svn-id: svn://10.0.0.236/trunk@85998 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:54:22 +00:00
javi%netscape.com
5a0aa581f1 Bring projects up to date for NSS 3.2
git-svn-id: svn://10.0.0.236/trunk@85997 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:52:03 +00:00
dcone%netscape.com
295a1b184b Took out bad #ifdefs.. added newline for warnings
git-svn-id: svn://10.0.0.236/trunk@85996 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:44:18 +00:00
disttsc%bart.nl
438478e56f Fix "No newline at end of file" which causes bustage on some platforms. r=bryner
git-svn-id: svn://10.0.0.236/trunk@85994 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:37:05 +00:00
dcone%netscape.com
22b47a442d Fixed a define problem
git-svn-id: svn://10.0.0.236/trunk@85993 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:30:14 +00:00
harishd%netscape.com
759915d51b 54453 - Killing an annoying assertion.
r=heikki


git-svn-id: svn://10.0.0.236/trunk@85992 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:04:48 +00:00
harishd%netscape.com
4541137502 61630 - propagate onstop request.
48256 - Verify hierarchy requested by a child tag.
43678 - Make TABLE a legal child of P.
58942 - MAP is not a legal child of TR!
57999 - When the parser is enabled make sure to pass correct information to ResumeParse().
59669 - Remove a warning.

r=heikki
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@85991 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 21:03:48 +00:00
dcone%netscape.com
be2a576407 Added routines for finding the currently selected frame. sr=buster. r=peterl
git-svn-id: svn://10.0.0.236/trunk@85990 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 20:49:10 +00:00
cls%seawood.org
8c4b409050 Add AC_SUBST for MOZ_XPCTOOLS
git-svn-id: svn://10.0.0.236/trunk@85989 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 20:36:43 +00:00
jband%netscape.com
618727c88f Add a depend target for xpconnect_standalone. No effect on mozilla builds. r=cls
git-svn-id: svn://10.0.0.236/trunk@85987 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 19:58:12 +00:00
mkaply%us.ibm.com
b564a9edbe #58668
r=dveditz, sr=brendan
Put makefile back so OS/2 uses buffered I/O


git-svn-id: svn://10.0.0.236/trunk@85986 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 19:44:52 +00:00
relyea%netscape.com
8d89b225b4 Add code to shutdown the PKCS #11 subsystem so NSS can be called to switch profiles.
git-svn-id: svn://10.0.0.236/trunk@85984 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 19:09:23 +00:00
relyea%netscape.com
ac8ccd2734 remove cdbhdl.h and recode. bug 64206 reviewed by wtc.
git-svn-id: svn://10.0.0.236/trunk@85983 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 19:05:10 +00:00
kin%netscape.com
8904793cdb Fix for bug #67256: ReplaceAll with WrapAround should stop replacing before passing initial caret position.
Fixed the off by +1 error GetCurrentBlockIndex() so it now returns the
correct block index. Modified DoFind() to compare mCurrentSelOffset and
mStartSelOffset to check if we are passing the initial caret position.
We now only call GetCurrentBlockIndex() if we are wrapping.
r=akkana@netscape.com sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@85982 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 19:00:40 +00:00
disttsc%bart.nl
5ffbbc25d2 Fix senna bustage, update REQUIRES (add imap).
git-svn-id: svn://10.0.0.236/trunk@85981 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 18:49:13 +00:00
mkaply%us.ibm.com
b59476b60e OS/2 TB break
Need JS_STATIC_DLL_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@85980 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 18:39:38 +00:00
mkaply%us.ibm.com
d8abd33145 OK, seriously, we fixed the TB to handle this now
git-svn-id: svn://10.0.0.236/trunk@85979 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 18:32:15 +00:00
wtc%netscape.com
2884d11d86 Bugzilla bug #62855: make the rule to build .cpp files work for OS/2
VACPP.  Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@85977 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 18:19:47 +00:00
relyea%netscape.com
2edf510fba remove cdbhdl.h bug 64260 reviewed by wtc.
git-svn-id: svn://10.0.0.236/trunk@85976 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 18:09:50 +00:00
disttsc%bart.nl
6f82cd744a Fix senna bustage, add REQUIRES line. r=mkaply
git-svn-id: svn://10.0.0.236/trunk@85975 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 18:07:08 +00:00
sspitzer%netscape.com
6767714919 fix for #67255. define a default for "mail.content_disposition_type"
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@85972 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 15:53:05 +00:00
leaf%mozilla.org
83bbb87789 Automated update
git-svn-id: svn://10.0.0.236/trunk@85971 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 15:45:11 +00:00
sspitzer%netscape.com
7bf846da9b fix for #67205. get --enable-xpctools to work again.
it will build the JS profiler.  r=leaf,bryner, sr=cls


git-svn-id: svn://10.0.0.236/trunk@85970 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 15:36:59 +00:00
bienvenu%netscape.com
8d09b522c1 more work on offline imap downloadg, sr=sspitzer,mscott 15865
git-svn-id: svn://10.0.0.236/trunk@85969 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 15:27:28 +00:00
bienvenu%netscape.com
ae66db48c7 add imap src to include path
git-svn-id: svn://10.0.0.236/trunk@85968 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 15:25:36 +00:00
bienvenu%netscape.com
63e11886b8 add imapoffline sync to build sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@85967 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 15:24:36 +00:00
bienvenu%netscape.com
b0531c2cc8 add nsImapOfflineSync to build, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@85966 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 15:23:49 +00:00
bienvenu%netscape.com
7bb2636ce1 more work on offline imap downloadg, sr=sspitzer,mscott 15865
git-svn-id: svn://10.0.0.236/trunk@85965 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 15:20:31 +00:00
bienvenu%netscape.com
930cbafe6d more work on offline imap operation playback r=naving, sr=sspitzer,mscott 15865
git-svn-id: svn://10.0.0.236/trunk@85964 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 15:16:28 +00:00
rods%netscape.com
ba9b1a7ddb focus rects should now be hidden
r=pollmann sr=buster


git-svn-id: svn://10.0.0.236/trunk@85963 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 12:24:35 +00:00
leaf%mozilla.org
ea62c24efe Automated update
git-svn-id: svn://10.0.0.236/trunk@85960 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 11:00:10 +00:00
colin%theblakes.com
67a4737067 Define the new USE_PTHREADS for OpenVMS. r=cls
git-svn-id: svn://10.0.0.236/trunk@85959 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 10:54:04 +00:00
disttsc%bart.nl
21b9a4552c Nothing to see here. Not removing important stuff at all. bug=67009, r=timeless, a=ben
git-svn-id: svn://10.0.0.236/trunk@85958 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 09:55:42 +00:00
ssu%netscape.com
e653f7d673 fixing bug 47959 - New component names and descriptions
(suggestions/patches from Henrik Gemal)

bug 40708 - Mozilla installer should not install files into a subfolder

r=dveditz
sr=mscott

affects only windows platforms.
Not part of tinderbox builds.


git-svn-id: svn://10.0.0.236/trunk@85957 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 09:54:55 +00:00
disttsc%bart.nl
c76dd31d27 Move over, strres.js, the new, sexy <stringbundle/> is in Browser Town. bug=56680, r=timeless, a=ben
git-svn-id: svn://10.0.0.236/trunk@85956 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 09:53:38 +00:00
gayatrib%netscape.com
5c44ddbaf7 Fixes for bugs 41715 (filter ui: launch to selected account in folder pane) and 62106 (double click filter doesn't open for editing). Review/super review sspitzer and bienvenu.
git-svn-id: svn://10.0.0.236/trunk@85946 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 07:26:38 +00:00
kmcclusk%netscape.com
53ee4f7141 Removed unused code in view module. bug 62675 sr=roc+moz r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85943 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 06:00:02 +00:00
cmanske%netscape.com
d961d5b358 Fixed bug 66745 on Windows (saving over existing file). r=law, sr=kin
git-svn-id: svn://10.0.0.236/trunk@85940 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 05:16:30 +00:00
tao%netscape.com
488aa124ab add regus.js; not part of build.
git-svn-id: svn://10.0.0.236/trunk@85938 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 04:46:14 +00:00
bryner%uiuc.edu
bf0cbb539e Fix bug 67203 (https URL's not loading). r=dbaron, a=ben.
git-svn-id: svn://10.0.0.236/trunk@85936 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 04:10:35 +00:00
dbaron%fas.harvard.edu
db5144e3a1 Fix bustage with xlib + MOZ_TRACK_MODULE_DEPS by adding necessary directories to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@85935 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 03:50:19 +00:00
waldemar%netscape.com
87b8587c69 Fixed comment
git-svn-id: svn://10.0.0.236/trunk@85933 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 03:42:25 +00:00
waldemar%netscape.com
6449b48219 Added make-and-compile-grammar cache
git-svn-id: svn://10.0.0.236/trunk@85932 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 03:41:54 +00:00
waldemar%netscape.com
02679117ff Added hash-table-=
git-svn-id: svn://10.0.0.236/trunk@85931 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 03:41:18 +00:00
waldemar%netscape.com
bc3f6fe763 Added the id type
git-svn-id: svn://10.0.0.236/trunk@85930 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 03:40:56 +00:00
waldemar%netscape.com
7dfe7c6fc4 Removed namespace inheritance.
Begun implementing semantics.


git-svn-id: svn://10.0.0.236/trunk@85929 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 03:39:26 +00:00
bryner%uiuc.edu
1126cb28ee Make pipnss's version of nsSecureBrowserUIImpl support weak refs, as was already done to psm-glue. r=thayes.
git-svn-id: svn://10.0.0.236/trunk@85928 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 03:25:48 +00:00
karnaze%netscape.com
edb1ea12e8 more peformance work on test case of bug 60494. Removed redundant calls to recompute colspan widths. Added more debug reflow timing code. r=peterl.
git-svn-id: svn://10.0.0.236/trunk@85925 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 02:29:14 +00:00
karnaze%netscape.com
b6047b1170 mispelled #ifdef DEBUG
git-svn-id: svn://10.0.0.236/trunk@85924 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 02:26:26 +00:00
mscott%netscape.com
5e9c7354f1 helperAppDldProgress.js Bug #67047 --> use the correct pref for the checkbox.
*doh*

sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85922 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 01:45:47 +00:00
dbaron%fas.harvard.edu
9877b212f8 Fix previous bustage fix: NS_INTERFACE_MAP_ENTRY_AMBIGUOUS(nsISupports, nsIWebProgressListener) only adds an entry for nsISupports, not nsIWebProgressListener. r=jag, valeski
git-svn-id: svn://10.0.0.236/trunk@85921 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 01:41:57 +00:00
kirke%netscape.com
0f5d395bad Resolved merge conflict with Ian.
git-svn-id: svn://10.0.0.236/trunk@85920 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 01:29:04 +00:00
despotdaemon%netscape.com
d13df36b5d Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@85919 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 01:09:07 +00:00
rogerl%netscape.com
cd77ddf59d Removed unused parameter.
git-svn-id: svn://10.0.0.236/trunk@85918 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 01:06:53 +00:00
rogerl%netscape.com
33c966518e Changed Cast to take a JSValue containing a type instead of type directly.
Added LoadType to help support that. Also added LoadNull.


git-svn-id: svn://10.0.0.236/trunk@85917 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 00:59:21 +00:00
mkaply%us.ibm.com
e63f3b1ef4 OS/2 TB breakage - need PR_CALLBACK
git-svn-id: svn://10.0.0.236/trunk@85916 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 00:57:56 +00:00
kirke%netscape.com
36a11bbc0f Fixed bogus tab introduced by my previous checkin.
git-svn-id: svn://10.0.0.236/trunk@85915 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 00:57:26 +00:00
racham%netscape.com
2fd4ebf7dc Fixing bug 66655. Making the status bar appear with AccountCentral page and not to cause any resize problems. sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@85914 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 00:54:08 +00:00
sspitzer%netscape.com
2610c3bc32 fix spelling in comment. no bug #.
git-svn-id: svn://10.0.0.236/trunk@85913 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 00:29:40 +00:00
mscott%netscape.com
0efd67c50d initialize the refcount to fix some annoying assertions
r=darin,dougt


git-svn-id: svn://10.0.0.236/trunk@85910 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 00:06:14 +00:00
mkaply%us.ibm.com
28ff7a5167 Putting it back until I figure out the bustage
git-svn-id: svn://10.0.0.236/trunk@85909 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 00:03:12 +00:00
chak%netscape.com
b76bc17daf NOT PART OF THE BUILD
Fix for Bug#66920
Forgot to add the makefile.win in prev checkin
r=valeski,sr=valeski


git-svn-id: svn://10.0.0.236/trunk@85908 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:59:33 +00:00
jfrancis%netscape.com
d50f8babc0 bug 67241: regression from the mongo embedding landing. now the smarts (for adding extra br's at the end of blocks when you hit return) are turned back on for html editors. r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@85907 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:58:42 +00:00
chak%netscape.com
9f9717e59a NOT PART OF THE BUILD
Fix for Bug#66920
This is an MFC test harness for the embedding APIs
   r=valeski,sr=valeski


git-svn-id: svn://10.0.0.236/trunk@85906 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:58:32 +00:00
despotdaemon%netscape.com
47a8766edd Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@85905 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:53:00 +00:00
wtc%netscape.com
ac46fb12e3 Bugzilla bug #62855: added stubs for the SSL session cache functions so
that selfserv can link without unresolved symbols on OS/2.


git-svn-id: svn://10.0.0.236/trunk@85903 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:43:47 +00:00
mkaply%us.ibm.com
fc3730319c OS/2 only
r=dbaron
Add static to OS/2 JS_STATIC_CALLBACK so I don't break the build like I did yesterday


git-svn-id: svn://10.0.0.236/trunk@85902 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:40:42 +00:00
mkaply%us.ibm.com
33096635e1 #59855
r=mccabe, sr=brendan
Proper building of fdlibm standalone


git-svn-id: svn://10.0.0.236/trunk@85898 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:26:00 +00:00
alecf%netscape.com
53e03a0189 Fix for #65988 - add chardet.xpt to the release builds so that we can access the right interfaces. r=jag sr=ftang
git-svn-id: svn://10.0.0.236/trunk@85897 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:25:28 +00:00
kirke%netscape.com
55dbf03443 Resolves bug 66244 - Many NSS command do not detect failure of NSS_Init* functions. Introduced SECU_PrintPRandOSError(progName); to print on failure. Each command is responsible for exiting with appropriate status to distinguish failure points.
git-svn-id: svn://10.0.0.236/trunk@85896 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:25:02 +00:00
mkaply%us.ibm.com
36d7476c0f #59855
r=mccabe, sr=brendan
OS/2 needs fdlibm copysign


git-svn-id: svn://10.0.0.236/trunk@85895 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:24:27 +00:00
mkaply%us.ibm.com
cde5530610 #59855
r=mccabe, sr=brendan
Fix Javascript to get Endianness from jstypes.h


git-svn-id: svn://10.0.0.236/trunk@85894 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:23:42 +00:00
ducarroz%netscape.com
f2fbc5346b Fix for bug 22090. Implement Appledouble (encoding & decoding). R=sspitzer, R=sfraser, SR=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@85892 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:22:18 +00:00
wtc%netscape.com
3e002d4191 Bugzilla bug #54711: OS/2 does not need to build nsinstall.
git-svn-id: svn://10.0.0.236/trunk@85891 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:21:28 +00:00
waterson%netscape.com
334b39bebc Bug 67125. If the hint fails, start over to avoid problems when hint is an out-of-flow frame. r=attinasi, sr=buster
git-svn-id: svn://10.0.0.236/trunk@85890 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:20:39 +00:00
disttsc%bart.nl
dc5adae542 Update REQUIRES (add necko) to fix senna bustage. r=bryner
git-svn-id: svn://10.0.0.236/trunk@85889 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:15:42 +00:00
sspitzer%netscape.com
5390feb512 fix for #67234. sr=bienvenu
Date is the secondary for the thread pane (unless we are sorting by Date, in which case there is no secondary sort.)
the XULSortService will do a GetTarget() on Date?collation=true, then Date?sort=true, and then Date.  this performance optimization (although minor) does save us a call to GetTarget().


git-svn-id: svn://10.0.0.236/trunk@85888 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:02:06 +00:00
sspitzer%netscape.com
02275a1346 fix for #58085. r=hwaara, ducarroz. sr=bienvenu.
based on initial patch from hwaara@chello.se.
fix the reply button tooltip, fix the reply to sender ui elements,
and get reply to sender to work correctly.


git-svn-id: svn://10.0.0.236/trunk@85887 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:00:18 +00:00
ducarroz%netscape.com
f88009bf46 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@85886 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 22:56:24 +00:00
akkana%netscape.com
b6e95d2517 66718: fix a signed/unsigned problem. r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@85885 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 22:55:15 +00:00
sspitzer%netscape.com
c1f60b16c2 adding file for bienvenu.
git-svn-id: svn://10.0.0.236/trunk@85884 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 22:32:26 +00:00
bienvenu%netscape.com
788bd98162 more work on offline imap sync, NOT YET PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@85883 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 22:30:19 +00:00
valeski%netscape.com
6be5d6e2e6 resolving ambiguities
git-svn-id: svn://10.0.0.236/trunk@85882 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 22:08:35 +00:00
blakeross%telocity.com
4394b4fef9 Minor QI optimization. r=blake sr=scc
git-svn-id: svn://10.0.0.236/trunk@85881 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 22:05:28 +00:00
disttsc%bart.nl
0b78766dd3 Remove some redundant code from nsComponentManager.cpp. bug=66865, patch=bratell@lysator.liu.se (Daniel Bratell), r=jag, a=scc.
git-svn-id: svn://10.0.0.236/trunk@85880 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 22:00:17 +00:00
mkaply%us.ibm.com
9c560a732b r=mkaply, a=blizzard
Extern mbsrchr so nsFileSpec can use it


git-svn-id: svn://10.0.0.236/trunk@85879 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:58:27 +00:00
mkaply%us.ibm.com
6b681205c6 r=mkaply, a=blizzard
Missing MoveToDir implementation on OS/2


git-svn-id: svn://10.0.0.236/trunk@85878 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:47:40 +00:00
sspitzer%netscape.com
faffacfa88 #61956
quiet purify and don't memcpy 0 bytes.  sr=scc


git-svn-id: svn://10.0.0.236/trunk@85877 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:35:12 +00:00
sfraser%netscape.com
3cebc9a71b Remove linkage with the jar component libararies to fix bug 65621. sr=sgehani, r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@85876 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:35:05 +00:00
wtc%netscape.com
b2b423ac4a Bugzilla bug #62855: checked in OS/2 makefile patches from Javier
Pedemonte <pedemont@us.ibm.com>.
Modified Files:
	coreconf/OS2.mk coreconf/arch.mk coreconf/prefix.mk
	coreconf/rules.mk coreconf/suffix.mk nss/Makefile
	nss/cmd/platlibs.mk nss/lib/ckfw/builtins/config.mk


git-svn-id: svn://10.0.0.236/trunk@85875 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:29:31 +00:00
disttsc%bart.nl
5b3bd491e5 Remove (unused) nsUnicharBuffer from nsXPComInit.cpp. bug=64097, r=dbaron, a=scc.
git-svn-id: svn://10.0.0.236/trunk@85874 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:25:18 +00:00
mkaply%us.ibm.com
6b8f3aa5a1 #59855
r=mccabe, sr=brendan
Fix Javascript to get Endianness from jstypes.h - start with a Makefile change and let it cycle once


git-svn-id: svn://10.0.0.236/trunk@85873 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:07:16 +00:00
despotdaemon%netscape.com
6b976577fb Pseudo-automatic update of changes made by chak@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@85872 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:05:47 +00:00
valeski%netscape.com
39be2fdaeb r=ccarlen, sr=rpotts. 65925. making webprogress listeners support weak ref
git-svn-id: svn://10.0.0.236/trunk@85871 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:04:10 +00:00
mscott%netscape.com
b2d31e135e Bug #63346 --> implment reveal and launch methods for OS/2.
code contributed by mkaply
r=mkaply
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@85870 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:04:04 +00:00
valeski%netscape.com
9d0b443a39 r=ccarlen, sr=rpotts. 65925. adding support for listener queueing in the webbrowser, and weak reference support to webprogress listeners.
git-svn-id: svn://10.0.0.236/trunk@85869 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:03:40 +00:00
valeski%netscape.com
379823f579 r=ccarlen, sr=rpotts. 65925/63552. making psmUI progress listener support weak ref.
git-svn-id: svn://10.0.0.236/trunk@85868 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:02:21 +00:00
valeski%netscape.com
038cdde0c2 r=ccarlen, sr=rpotts. 65925. making webprogress implementation store weak refs to listeners.
git-svn-id: svn://10.0.0.236/trunk@85867 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:02:08 +00:00
valeski%netscape.com
49bb20ae5c r-ccarlen, sr=rpotts, 65925. making webprogress listeners support weak refs.
git-svn-id: svn://10.0.0.236/trunk@85866 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:02:00 +00:00
valeski%netscape.com
e0434b928f r=ccarlen, sr=rpotts. 65925. making webprogress listeners support weak refs
git-svn-id: svn://10.0.0.236/trunk@85865 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:01:51 +00:00
valeski%netscape.com
85c2e0dc3d r=ccarlen, sr=rpotts. 65925. making editor progress listener support weak refs
git-svn-id: svn://10.0.0.236/trunk@85864 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:01:41 +00:00
kin%netscape.com
e8d448c157 Fix for bug #65857: Trailing whitespaces confuse form field value
Modified SetTextControlFrameState() to use GetTextControlFrameState() when
comparing the current value.
r=akkana@netscape.com sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@85863 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:00:43 +00:00
mscott%netscape.com
bb801e7c32 Bug #3754 and Bug #3369 --> the total message size we are using when fetching by chunks may just be an approximation.
after the first fetch, we'll possibly get back a RFC822.SIZE which will have the exact size of the total message.
Update the # bytes we need to download to match this new value if appropriate.

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@85862 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 20:57:57 +00:00
bienvenu%netscape.com
04c85f4b85 add support for downloading all msgs for offline r=naving, sr=sspitzer 15865
git-svn-id: svn://10.0.0.236/trunk@85859 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 20:34:12 +00:00
sspitzer%netscape.com
47cf80a992 fix for #67095, disable news biff by default, and allow us to
default biff (on or off) on a per protocol basis.
r=racham, sr=bienvenu.

turning news biff off will help us to stop pounding news.mozilla.org


git-svn-id: svn://10.0.0.236/trunk@85857 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 20:25:33 +00:00
blizzard%redhat.com
74c6466ccb Fix bug #59505. Change XP_UNIX to MOZ_ENABLE_XREMOTE for systems that are unix but don't have X ( like QNX. ) Patch from Marcus Fellinger <marcus.fellinger@tomcat.de> r=me, sr/a=alecf
git-svn-id: svn://10.0.0.236/trunk@85856 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 20:22:41 +00:00
dbragg%netscape.com
17f80ce7c1 Creating a subdir in the system temp directory rather than just using the temp itself. Fixes 58371. a,r=racham, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85855 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 20:22:38 +00:00
alecf%netscape.com
f62c630a06 fix for #64060 - bulk delete history entries by hostname & domainname
also add a new history controller for future history coolness
a=ben, r=jag, and a bit of r=timeless


git-svn-id: svn://10.0.0.236/trunk@85854 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 20:21:37 +00:00
dbaron%fas.harvard.edu
3148eb6d03 Add a test to test all the combinations of |operator==| with nsCOMPtr so we can make sure that they will all compile on all platforms (to help with bug 65664). sr=scc@mozilla.org Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@85853 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 20:18:47 +00:00
despotdaemon%netscape.com
ac796c8936 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@85852 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 20:17:39 +00:00
blakeross%telocity.com
5d14da5b5c Fix 50277: mao's patch for context enabled/disabled features in languages pref pane. r=timeless,blake sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85850 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 20:11:38 +00:00
sfraser%netscape.com
ab63ca5b81 Fix the modifier for the cmd_cut binding, bug 67113. r=jag, akkana, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@85849 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 20:08:13 +00:00
blakeross%telocity.com
6ee064e6b6 Fix 60628: mao's patch for warnings in tabBindings.xml. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85848 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 20:07:33 +00:00
despotdaemon%netscape.com
3212f9e2b1 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@85847 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 20:03:42 +00:00
wtc%netscape.com
470980c477 I found that #include <unistd.h> is still needed on Unix for getpid().
git-svn-id: svn://10.0.0.236/trunk@85843 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 19:18:09 +00:00
wtc%netscape.com
7eaf8ab4ae Bugzilla bug #62855: checked in OS/2 patches from Javier Pedemonte
<pedemont@us.ibm.com>.
Modified files: selfserv.c, swfutl.c, os2_rand.c.


git-svn-id: svn://10.0.0.236/trunk@85842 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 19:09:48 +00:00
sdv%sparc.spb.su
4ca83d3630 initial checking.
git-svn-id: svn://10.0.0.236/trunk@85841 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 19:05:04 +00:00
despotdaemon%netscape.com
ad9e89bf59 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@85840 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 19:04:04 +00:00
despotdaemon%netscape.com
ed9b56212d Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@85839 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 19:02:34 +00:00
despotdaemon%netscape.com
9b3cfd392b Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@85838 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 18:59:51 +00:00
wtc%netscape.com
008eff7f2b Bugzilla bug #62855: do not use the XP_PC macro. Use XP_WIN16 when we mean
Win 16.  Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@85836 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 18:27:15 +00:00
thayes%netscape.com
5570895680 Reorganize password callback context (uses nsIInterfaceRequestor).
Fix several bugs in the SDR implementation.


git-svn-id: svn://10.0.0.236/trunk@85834 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 18:03:49 +00:00
wtc%netscape.com
7374eada86 Bugzilla bug #67122: put PR_CALLBACK after the return type in function
declarations.  This is the order required by OS/2 compilers.  Thanks to
Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Modified files: hashops.c, tracker.c, certt.h, oid.c.


git-svn-id: svn://10.0.0.236/trunk@85833 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 18:01:53 +00:00
mcgreer%netscape.com
ac86952e60 bug 67100, memory leaks in rsa.c and pqg.c fixed.
git-svn-id: svn://10.0.0.236/trunk@85832 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 15:49:19 +00:00
matthias%sorted.org
910d37834b introduced "sync" helper function for converting a Javascript function
into a Java-style synchronized method


git-svn-id: svn://10.0.0.236/trunk@85831 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 13:05:21 +00:00
matthias%sorted.org
c113577e8a added support for implementing Java-style synchronized methods in Javascript
git-svn-id: svn://10.0.0.236/trunk@85830 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 13:02:42 +00:00
locka%iol.ie
eee9db22d7 NOT PART OF BUILD. Added copyright headers
git-svn-id: svn://10.0.0.236/trunk@85829 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 12:06:05 +00:00
locka%iol.ie
35af30ad75 NOT PART OF BUILD. Command line makefile for mozctlx.dll
git-svn-id: svn://10.0.0.236/trunk@85828 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 12:04:30 +00:00
Peter.VanderBeken%pandora.be
904028eb68 Fix for bug 67024. Not part of the build. r=Pike.
git-svn-id: svn://10.0.0.236/trunk@85827 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 11:48:55 +00:00
ben%netscape.com
129ef60c11 more incremental updates, not part of build
git-svn-id: svn://10.0.0.236/trunk@85826 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 10:58:21 +00:00
ssu%netscape.com
c17ffdbdbf fixing bug 33349 - Directory name in Create Directory dialog needs to be left aligned
bug 50525 - Directories should be lowercase

patches from Henrik Gemal.

r=ssu, sr=mscott

affects windows platforms only.


git-svn-id: svn://10.0.0.236/trunk@85822 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 06:55:14 +00:00
ssu%netscape.com
edae6ed9fd fixing bug 67041 - Can't install with stub or sea bits
r=dveditz
sr=mscott

affects windows platforms only.


git-svn-id: svn://10.0.0.236/trunk@85821 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 06:55:12 +00:00
bryner%uiuc.edu
0c7ab20a85 fix a compiler warning. sr=scc.
git-svn-id: svn://10.0.0.236/trunk@85820 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 06:48:25 +00:00
disttsc%bart.nl
f1219cf3d5 Fix senna bustage. One of them .get() thingies. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@85816 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 04:37:37 +00:00
blizzard%redhat.com
573f8a698a Fix bug #66798. Only output our warning on DEBUG builds. r=pavlov, sr=blizzard r=doron
git-svn-id: svn://10.0.0.236/trunk@85815 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 04:31:35 +00:00
wtc%netscape.com
d56852a8a7 Backed out the previous checkin as it requires
sec_port_ucs4_utf8_conversion_function and
sec_port_ucs2_utf8_conversion_function be exported on Unix.


git-svn-id: svn://10.0.0.236/trunk@85812 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 03:44:43 +00:00
wtc%netscape.com
cce6466b5f We can just pass NULL as the 'envp' argument to PR_CreateProcess, so we
do not need to get the declaration of 'environ' on Unix.  Reviewed by
Nelson Bolyard.


git-svn-id: svn://10.0.0.236/trunk@85811 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 03:39:59 +00:00
dveditz%netscape.com
79219dcf9f enable win32 XPC_TOOLS_SUPPORT environment var to turn on js profiler hooks. r=mcafee,sr=jband
git-svn-id: svn://10.0.0.236/trunk@85810 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 03:26:31 +00:00
danm%netscape.com
94645e47eb stagger new windows against all extant similar windows. another cut at bug 25455, but now bug 67079. r=ben,hyatt
git-svn-id: svn://10.0.0.236/trunk@85809 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 03:25:07 +00:00
sspitzer%netscape.com
5777b67f5b fix for #58567. fix js warnings. r=jag,sr=sspitzer
thanks to mao (Mark Olson) for the fix.


git-svn-id: svn://10.0.0.236/trunk@85807 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 03:00:56 +00:00
blakeross%telocity.com
03f8780087 Fix 66500 (plaintext editor case): paste is disabled for readonly textfields. r=timeless sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85806 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 02:50:16 +00:00
sspitzer%netscape.com
796bfd8f9e make Ctrl + E "edit message as new".
#66864
patch from Stephen Walker (walk84@usa.net).
r=timeless,blake,sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85805 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 02:46:41 +00:00
saari%netscape.com
c6c4727eb1 fix for breakage. Doh.
git-svn-id: svn://10.0.0.236/trunk@85804 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 02:45:31 +00:00
jband%netscape.com
c4d3afea71 NOT PART OF THE BUILD - simple observer test to demonstrate use of weak references
git-svn-id: svn://10.0.0.236/trunk@85803 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 02:32:39 +00:00
blakeross%telocity.com
b5e483304d Fix 66852: bookmarks sidebar panel context menu has a context menu. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85802 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 02:32:14 +00:00
blakeross%telocity.com
70d3208ffc Fix 66813: removing redundant methods from bindings that obtain them by extending the bindings for related widgets. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85801 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 02:30:53 +00:00
blakeross%telocity.com
b8974739ce Fix 66808: Bookmark Search Results button is broken. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85800 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 02:29:05 +00:00
naving%netscape.com
ac280f986f 66004, 66956. r=racham, sr=bienvenu. Calculating the linebreak_len for
each line of the data copied. Needed to avoid extraneous characters at the
end of line


git-svn-id: svn://10.0.0.236/trunk@85799 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 02:02:26 +00:00
pinkerton%netscape.com
17eed4b7e0 change the default file type to 'TEXT' to avoid creating files that are useless to every app on the planet. r=pchen/a=sfraser. bug# 64704
git-svn-id: svn://10.0.0.236/trunk@85798 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 01:35:16 +00:00
gagan%netscape.com
f3f5b36700 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85797 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 01:33:03 +00:00
brendan%mozilla.org
960e43639c Throw EvalError for indirect eval calls iff strict+werror (38512, r=rogerl, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@85796 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 01:12:15 +00:00
disttsc%bart.nl
4b70804622 Let's try this again. No changes since the last time, it looks like I was bitten by something else that was checked in and I just happened to trigger the bug. It all seems to work fine now, so:
More appCore killing. bug=46200, r=ben, a=alecf.


git-svn-id: svn://10.0.0.236/trunk@85795 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 01:08:51 +00:00
ftang%netscape.com
faafeef8ed fix bug 51753 , 58473 and 51975 . all typing issue.
git-svn-id: svn://10.0.0.236/trunk@85793 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 01:00:51 +00:00
alecf%netscape.com
1e1602d9bb add default pref for #67072, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@85792 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 00:59:30 +00:00
alecf%netscape.com
349148e2e2 fix for #67072 - honor the hidden pref mailnews.nav_crosses_folders preference that 4.x used, to optionally prompt when someone hits 'next' to cross to a folder
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85791 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 00:58:48 +00:00
mkaply%us.ibm.com
4996a2487d #67061
r=hwaara, sr=sspitzer
Colors prefs don't display


git-svn-id: svn://10.0.0.236/trunk@85789 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 00:55:07 +00:00
nelsonb%netscape.com
5bc2557a28 Fix memory leak in mpp_make_prime. Bug 67094.
git-svn-id: svn://10.0.0.236/trunk@85788 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 00:37:40 +00:00
saari%netscape.com
5b7ad74543 checking in stub implementation of nsIWebBrowserFocus interface for embedding. r=pavlov, sr=valeski
git-svn-id: svn://10.0.0.236/trunk@85787 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 00:34:28 +00:00
saari%netscape.com
39bfb47761 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@85786 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 00:28:10 +00:00
andreww%netscape.com
e2bf8d9d4d bug # 56326 - changing customize arrow to point to right.
r=hewitt, a=hangas


git-svn-id: svn://10.0.0.236/trunk@85781 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 22:10:00 +00:00
sspitzer%netscape.com
97dfc71345 fix for #67088. sr=bienvenu.
1) on batch deletes, we quickly bail out of ThreadPaneSelectionChange()
2) we only call document.commandDispatcher.updateCommands('threadTree-select');
once per delete, next, move, selection, folder loading.
3) general cleanup


git-svn-id: svn://10.0.0.236/trunk@85780 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 22:02:27 +00:00
sspitzer%netscape.com
cdd12ad2d8 fix for #67003. make mailCharsetLoadListener() more efficient.
r=nhotta, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@85779 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 21:51:43 +00:00
sfraser%netscape.com
81210305fd Fix for bugs 64978 and 24312. Add a call to SystemTask into the autoreg loop to ensure that the OS has time to grow its File Control Block tables, to avoid running out of FCBs when doing autoreg after rebooting the machine. r=ccarlen, sdagley, sr=scc
git-svn-id: svn://10.0.0.236/trunk@85778 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 21:29:53 +00:00
dcone%netscape.com
238bc595f3 r=karnaze sr=buster. Updated the API for a nsIDeviceContextSpecFactory to pass in a nsIWidget.
git-svn-id: svn://10.0.0.236/trunk@85777 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 21:22:16 +00:00
sspitzer%netscape.com
a88b8e95cb fix for #29199. r=gemal@gemal.dk. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85776 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 21:07:36 +00:00
sspitzer%netscape.com
29e64a9737 fix FMM. #66790. general code cleanup. r=bratell, sr=bienvenu.
thanks to bratell for finding the FMM.


git-svn-id: svn://10.0.0.236/trunk@85775 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 21:05:47 +00:00
wtc%netscape.com
50931f27c7 Bugzilla bug #66367: rename the internal NSS functions that we have to
export from the NSS shared library.  Reviewed by Bob Relyea.
Modified Files:
	nss/lib/certdb/certdb.c nss/lib/certdb/pcertdb.c
	nss/lib/nss/Makefile nss/lib/nss/manifest.mn
	nss/lib/nss/nss.def nss/lib/pk11wrap/pk11skey.c
	nss/lib/pkcs12/p12d.c nss/lib/pkcs12/p12e.c
	nss/lib/pkcs12/p12local.c nss/lib/pkcs7/certread.c
	nss/lib/pkcs7/p7decode.c nss/lib/pkcs7/p7encode.c
	nss/lib/smime/cmsutil.c nss/lib/softoken/secpkcs5.c
	nss/lib/ssl/ssl3con.c nss/lib/ssl/sslcon.c
	nss/lib/ssl/sslnonce.c nss/lib/ssl/sslsnce.c
	nss/lib/util/nsslocks.c
Added Files:
	nss/lib/nss/nssrenam.h


git-svn-id: svn://10.0.0.236/trunk@85774 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 21:02:28 +00:00
disttsc%bart.nl
e719b75004 Bug 10893: add text size menu to mail/news viewers (3pane, message). r=timeless, sr=sspitzer
Bug 56534: make "Open in new message window" work when viewpane is closed. r=racham, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85773 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 20:45:50 +00:00
edburns%acm.org
e3c8a91a97 bug:66729
sr=waterson
r=akkana
Change PRUint32 to PRInt32.


git-svn-id: svn://10.0.0.236/trunk@85772 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 20:39:55 +00:00
blizzard%redhat.com
5409ddeb54 Fix bug #66882. Turn off the _MOZILLA_REMOTE property on the hidden window otherwise the embedded widget will respond to remote requests. r=pavlov, sr=alecf-the-x-head
git-svn-id: svn://10.0.0.236/trunk@85771 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 20:35:14 +00:00
mcgreer%netscape.com
c44732627e change pk12util to use shared libs.
git-svn-id: svn://10.0.0.236/trunk@85769 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 19:49:52 +00:00
mcgreer%netscape.com
3deed93443 export PKCS#12 symbols via the S/MIME DSO. Change default cipher list
to enable all available ciphersuites.


git-svn-id: svn://10.0.0.236/trunk@85768 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 19:47:39 +00:00
wtc%netscape.com
9666abf3c8 Bugzilla bug #66889: do not export the Windows import libraries for the
loadable PKCS#11 modules fort32.dll, swft32.dll, and nssckbi.dll.
Reviewed by Bob Relyea.
Modified files:
	nss/lib/ckfw/builtins/Makefile nss/lib/ckfw/builtins/config.mk
	nss/lib/fortcrypt/config.mk
	nss/lib/fortcrypt/swfort/pkcs11/config.mk


git-svn-id: svn://10.0.0.236/trunk@85767 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 19:43:26 +00:00
wtc%netscape.com
f2d112dba5 Bugzilla bug #54989: Use the AIX -brtl linker option to link the NSS
utilities with NSPR shared libraries.  Reviewed by Bob Relyea.


git-svn-id: svn://10.0.0.236/trunk@85766 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 19:11:22 +00:00
javi%netscape.com
66800f3f17 Add first cut at exportable interfaces.
git-svn-id: svn://10.0.0.236/trunk@85765 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 18:34:22 +00:00
mkaply%us.ibm.com
63d6a42ecd #67044
smoketest blocker


git-svn-id: svn://10.0.0.236/trunk@85761 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 16:58:29 +00:00
matthias%sorted.org
5a3da87e1d added support for incremental/prefix matching of regular
expressions. The method "prefix" on a RegExp behaves exactly the same
as the "exec" method except it returns "undefined" if the match failed
because there was an insufficient number of characters in the
input. E.g.
/^foo/.prefix("foo")	=> ["foo"] (just like exec)
/^foo/.prefix("fox")	=> null (just like exec)
/^foo/.prefix("fo")	=> undefined (whereas exec returns null)


git-svn-id: svn://10.0.0.236/trunk@85760 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 16:38:21 +00:00
dbaron%fas.harvard.edu
844a7882f7 Attempt to fix build bustage from mkaply's checkin. r=kin
git-svn-id: svn://10.0.0.236/trunk@85759 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 16:31:43 +00:00
mkaply%us.ibm.com
ceb8b2cef8 #62003
r=mccabe, sr=brendan
Fixing up some Javascript CALLBACKs


git-svn-id: svn://10.0.0.236/trunk@85758 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 15:53:38 +00:00
mkaply%us.ibm.com
2ca45a2991 #62003
r=mccabe, sr=brendan
Fixing up some Javascript CALLBACKs


git-svn-id: svn://10.0.0.236/trunk@85757 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 15:43:35 +00:00
bienvenu%netscape.com
2edf58fab6 more work on playback of offline imap operations NOT YET PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@85756 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 15:29:11 +00:00
valeski%netscape.com
6fada005c5 adding necko chrome so the .properties get included in the packaging. 65919. sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@85755 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 15:27:21 +00:00
brade%netscape.com
5fe8dda538 fix typo; r=cmanske; sr=kin
git-svn-id: svn://10.0.0.236/trunk@85754 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 15:19:24 +00:00
ccarlen%netscape.com
45d97baba0 Bug 58014 - Make sure certain profile files exist whenever requested.
r=racham@netscape.com, sr=alecf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@85753 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 14:11:09 +00:00
nboyd%atg.com
c4a246e8db Fix bug:
Subject:
             [Rhino] Question
        Date:
             Tue, 30 Jan 2001 20:18:21 +0900
       From:
             "get21" <get21@secsm.org>
 Organization:
             Another Netscape Collabra Server User
 Newsgroups:
             netscape.public.mozilla.jseng




I found something unusual to me when I hacking the Rhino source code.

In tagify method of NativeString Class,

When it adds tag to its string(this.string), it does not use quotation
marks.

For example, the result of tagify("A HREF", "A", value) in
jsFunction_link(String value) is

<A HREF=Some Value>Original String Value</A>

Not,

<A HREF="Some Value">Original String Value</A>

This question might sound silly, but I'm curious why.

Thanks in advance,

Nam

--
email : get21@secsm.org
home : http://get21.secsm.org
phone : 011-9092-1802


git-svn-id: svn://10.0.0.236/trunk@85752 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 13:47:19 +00:00
ben%netscape.com
96ca783349 intrinsically sized dialogs were broken by my previous checkin because XULElement::GetAttribute
was not returning an empty string for attributes that were not set. Patch this, & fix logic.
a=hyatt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@85751 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 11:30:12 +00:00
ben%netscape.com
d856c0d901 fix a multiple monitor issue with my earlier fix for 25455, r=pinkerton@netscape.com, a=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85750 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 08:23:27 +00:00
hewitt%netscape.com
7a50e8a76f 61830 - [Modern] progressmeter border (by hwaara), r=hewitt, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@85749 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 07:51:14 +00:00
hewitt%netscape.com
317bda5bac 64535 - subscribe dialog, r=andreww, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@85748 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 07:47:13 +00:00
hewitt%netscape.com
6f6428da1e 65735 - import text dialog, r=andreww, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@85747 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 07:32:10 +00:00
hewitt%netscape.com
7db07dde40 58951 - menu alignment, r=andreww, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@85746 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 07:21:36 +00:00
timeless%mac.com
d28cacbf21 fix for bug 61806
javascript strict warnings in globalOverlay.js
patch by maolson@earthlink.net, r=jag, a=alecf


git-svn-id: svn://10.0.0.236/trunk@85745 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 07:18:33 +00:00
hewitt%netscape.com
f4eb468065 46961 - classic disabled buttons, r=blake, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@85744 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 07:13:25 +00:00
hewitt%netscape.com
78fe57e73b 56210 - autorepeat button, r=andreww, sr=ben
git-svn-id: svn://10.0.0.236/trunk@85743 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 07:03:13 +00:00
hewitt%netscape.com
bb95dc536b 64914 - themes pref panel tree, r=andreww, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@85742 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 07:01:08 +00:00
m_kato%ga2.so-net.ne.jp
78f2fde000 bug 63044 r=nhotta, sr=alecf
fixed incorrect unicode convertion


git-svn-id: svn://10.0.0.236/trunk@85741 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 06:52:23 +00:00
sspitzer%netscape.com
1c238f234c backing racham out. this fix causes resize problems and other weirdness.
thanks to bryner for finding it.  r=bryner


git-svn-id: svn://10.0.0.236/trunk@85740 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 06:03:53 +00:00
disttsc%bart.nl
3a241b0df2 Fix warnings 'n stuff. bug=60627, patch=mao, r=jag, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@85739 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 05:20:08 +00:00
sspitzer%netscape.com
fd58317ae6 remove tests from build. sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85738 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 05:07:43 +00:00
mscott%netscape.com
683f166536 Bug #63346 --> implement reveal and launch for the mac. Most of this code was contributed by Paul Hangas. Thanks Paul!!
r=conrad,hangas
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85737 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 05:03:38 +00:00
mscott%netscape.com
d36ff4d4a0 Bug #63346 --> add methods for reveal and launch to a local file. Stub implementions for OS/2 and Unix right now.
r=conrad
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85736 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 05:02:48 +00:00
karnaze%netscape.com
81a3ff9143 bug 65750 - fix error with negative numerator in colspan calculations. sr=none, r=bernd.mielke.snafu.de.
git-svn-id: svn://10.0.0.236/trunk@85735 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 05:00:44 +00:00
mscott%netscape.com
c932bcd3c9 Bug #63346 --> add checkbox for keeping dialog alive when transfer is done and for a reveal and launch button
support Reveal File and Launch File buttons on the progress dialog.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85734 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:59:42 +00:00
mscott%netscape.com
761c9dee76 Bug #63346 --> add new labels for some new buttons (launch and reveal)
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85733 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:58:55 +00:00
mscott%netscape.com
0c856590d8 remove obsolete files
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85732 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:56:37 +00:00
mscott%netscape.com
051be0d8a7 remove obsolete directories
git-svn-id: svn://10.0.0.236/trunk@85731 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:55:49 +00:00
mscott%netscape.com
138a4d5c5b remove obsolet files
git-svn-id: svn://10.0.0.236/trunk@85730 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:55:30 +00:00
mscott%netscape.com
1b2bcf3cbc remove obsolete test files
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85729 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:54:07 +00:00
mscott%netscape.com
dd30a8bc5d remove obosolet files
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85728 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:53:32 +00:00
mscott%netscape.com
4fed97f7b9 remove obsolete test directories
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85727 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:50:42 +00:00
mkaply%us.ibm.com
2f72df7111 #61253
r=mkaply,a=blizzard
Check whether or not text color has been set


git-svn-id: svn://10.0.0.236/trunk@85726 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:49:32 +00:00
sspitzer%netscape.com
46be49446b remove unused tests. sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85725 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:48:46 +00:00
mscott%netscape.com
43746b4e25 stop building obsolete test directories
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85724 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:47:24 +00:00
sspitzer%netscape.com
1617f1bfbf remove the old, unused tests. sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85723 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:47:05 +00:00
mscott%netscape.com
20ce61941b remove obsolete test directories
git-svn-id: svn://10.0.0.236/trunk@85722 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:44:39 +00:00
sspitzer%netscape.com
2f5fc3fcc0 remove the old, unused tests. sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85721 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:44:09 +00:00
sspitzer%netscape.com
3d2a576fc2 remove the unused tests. sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85720 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:44:02 +00:00
mscott%netscape.com
7fe7f6be5e kill obsolete test directory
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85719 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:43:09 +00:00
mkaply%us.ibm.com
8f3746bf61 #60160
r=blake, sr=alecf
Remove Win32 specific code for system colors - make it XP using nsLookAndFeel


git-svn-id: svn://10.0.0.236/trunk@85718 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:41:49 +00:00
mscott%netscape.com
265ec8162c stop building an obsolete test directory
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85717 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:41:46 +00:00
sspitzer%netscape.com
855f0b7ba9 remove the old, unused tests.
git-svn-id: svn://10.0.0.236/trunk@85716 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:41:44 +00:00
sspitzer%netscape.com
4c67138ab2 remove unnecessary call to GetFilterList().
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@85715 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:25:15 +00:00
jst%netscape.com
e9e4bff118 Fixing bug 44615. Making the default value of radio buttons be "on" to match older browsers. r=rods@netscape.com&heikki@netscape.com, sr=brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@85714 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:22:24 +00:00
sspitzer%netscape.com
b7bc3070da turning off timing code (unless the hidden timing pref is true).
remove unused tests. sr=mscott


git-svn-id: svn://10.0.0.236/trunk@85713 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:19:30 +00:00
sspitzer%netscape.com
ec974f4cda remove the unused tests from the package. sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85712 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 04:16:50 +00:00
leaf%mozilla.org
3d90c8eaf6 Automated update
git-svn-id: svn://10.0.0.236/trunk@85711 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 03:45:13 +00:00
shaver%mozilla.org
1730f912f2 update --enable-ldap help message (r=syd, sr=waterson)
git-svn-id: svn://10.0.0.236/trunk@85710 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 03:44:15 +00:00
thayes%netscape.com
71d72ba386 Initial versions of SDR. Doesn't do change/set password yet.
git-svn-id: svn://10.0.0.236/trunk@85709 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 02:47:43 +00:00
racham%netscape.com
39433bd01c Fixing bug 66655. Make status bar appear when AccountCentral page is displayed. sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@85707 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 02:32:20 +00:00
bryner%uiuc.edu
16e8c2d58d Bug 66886 - parent PSM dialogs correctly. This fixes all of the cases in PSM2 and several cases in PSM1. r=javi,danm. sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@85704 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 02:12:53 +00:00
wtc%netscape.com
a8f41a3675 Bugzilla bug #64306: added stubs for PR_SetError and PR_SetErrorText.
Reviewed by Nelson Bolyard.


git-svn-id: svn://10.0.0.236/trunk@85702 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 02:03:47 +00:00
darin%netscape.com
4f853e0178 Fixes bug 61406. Finger protocol uses wrong context in listener callbacks.
patch=bbaetz@student.usyd.edu.au, r=darin@netscape.com, sr=mscott@netscape.com


git-svn-id: svn://10.0.0.236/trunk@85701 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 02:02:20 +00:00
shanjian%netscape.com
6f79a63379 #4237 Line breaking-line which contains "\" and "??" does not break.
Zenkaku characters have been included in CJK range.
#37862 zero-width space not treated as whitespace character
0x000C and 0x200B have been added as whitespace.

r = ftang sr=erik


git-svn-id: svn://10.0.0.236/trunk@85698 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 01:54:51 +00:00
wtc%netscape.com
ac41e872c6 Bugzilla bug #63935: use our own macro LINUX instead of the compiler
predefined macro __linux as __linux is not defined by some compilers.
Thanks to jsmith@penguinppc.org for the bug report and a suggested fix.


git-svn-id: svn://10.0.0.236/trunk@85697 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 01:52:47 +00:00
dbaron%fas.harvard.edu
5bcca241df Add lwbrk to REQUIRES to fix MOZ_TRACK_MODULE_DEPS bustage.
git-svn-id: svn://10.0.0.236/trunk@85696 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 01:52:15 +00:00
shanjian%netscape.com
c45332243f #4237 Line breaking-line which contains "\" and "??" does not break.
r=ftang sr=erik
Zenkaku characters are included in CJK range, and 0x5C has been put
back to its category.


git-svn-id: svn://10.0.0.236/trunk@85695 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 01:51:42 +00:00
ssu%netscape.com
7f9276a9a4 fixing bug 66768 - uninstaller has no product name
bug 66851 - Cannot download over modem using new download agent
r=dveditz,sgehani
sr=mscott

affects windows platforms only.


git-svn-id: svn://10.0.0.236/trunk@85694 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 01:47:31 +00:00
bienvenu%netscape.com
b852ff57c1 fix news connection cache with busy connections, r/sr == mscott,sspitzer 65927
git-svn-id: svn://10.0.0.236/trunk@85693 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 01:36:03 +00:00
dbaron%fas.harvard.edu
85a014d876 Add lwbrk to REQUIRES to fix MOZ_TRACK_MODULE_DEPS bustage.
git-svn-id: svn://10.0.0.236/trunk@85692 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 01:27:47 +00:00
tor%cs.brown.edu
12b2e21d96 Bug 66989 - update libmng, flush animation frames, quiet warnings.
r=pavlov, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@85691 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 01:04:13 +00:00
valeski%netscape.com
f315d1acb1 sr=mscott. fixing extraneous QI. 66942
git-svn-id: svn://10.0.0.236/trunk@85690 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 00:58:26 +00:00
disttsc%bart.nl
9bf29f7069 Fix js strict warning, bug=60646, patch=Henrik Gemal, r=mao, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85689 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 00:49:37 +00:00
disttsc%bart.nl
6810cef971 Fix mac bustage.
git-svn-id: svn://10.0.0.236/trunk@85686 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 00:23:02 +00:00
disttsc%bart.nl
40622e4a86 Update REQUIRES to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@85685 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-30 00:17:27 +00:00
ben%netscape.com
b01b8d8afb Fix for bug 25455, prevent new windows of a given type (browser, mailcompose, editor, etc)
from coming up exactly on top of the previous window. r=danm@netscape.com, a=hyatt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@85684 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 23:47:36 +00:00
mkaply%us.ibm.com
8a13e158e1 Stupid misspelling
git-svn-id: svn://10.0.0.236/trunk@85683 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 23:35:54 +00:00
mkaply%us.ibm.com
ac1207cbbd OK, I give up. We even tested this on the TB itself. Why doesn't it work?
git-svn-id: svn://10.0.0.236/trunk@85682 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 23:34:21 +00:00
disttsc%bart.nl
4d21783e1b Clean-up of nsDocument.(h|cpp), r=jst, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@85681 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 23:17:55 +00:00
mscott%netscape.com
b07bb4b4ae Back out changes I added for implementing a launch and reveal method on nsIExternalProtocolService.
I've decided to move that functionality over to nsILocaFile where it makes more sense.


git-svn-id: svn://10.0.0.236/trunk@85680 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 21:35:12 +00:00
mscott%netscape.com
8670add168 Bug #63346 --> add a pref for keeping the progress download dialog open
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85679 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 21:32:16 +00:00
mkaply%us.ibm.com
1255161f55 #65880
r=cls
Taking this back out - it was a TB problem


git-svn-id: svn://10.0.0.236/trunk@85678 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 20:49:35 +00:00
brendan%mozilla.org
c9caa129f3 Better branch callback failure message.
git-svn-id: svn://10.0.0.236/trunk@85677 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 20:32:57 +00:00
brendan%mozilla.org
cfe27a306d Make branch callback optional, parameterize its limit, and give a warning when it fails.
git-svn-id: svn://10.0.0.236/trunk@85676 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 20:27:30 +00:00
nhotta%netscape.com
a9e0b49981 Notify the user's charset change to msgWindow so the charset menu to be checked correctly, bug 66227, sr=mscott,bienvenu.
git-svn-id: svn://10.0.0.236/trunk@85674 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 20:00:46 +00:00
mcgreer%netscape.com
650c0b7bde handle leading zeroes in q bug (66558). suggested by nicolson; r=mcgreer,a=wtc
git-svn-id: svn://10.0.0.236/trunk@85672 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 14:24:57 +00:00
ben%netscape.com
f9747337ac incremental update, not part of build.
git-svn-id: svn://10.0.0.236/trunk@85671 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 11:49:31 +00:00
cls%seawood.org
aee860bbcc Landing autoconf support for all platforms except OS/2.
git-svn-id: svn://10.0.0.236/trunk@85670 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 05:36:31 +00:00
cls%seawood.org
aafededb1a Remove INSTALL. Add CPU_ARCH.
git-svn-id: svn://10.0.0.236/trunk@85669 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 05:34:20 +00:00
bryner%uiuc.edu
47425ce58b Use the "distclean" target for nsprpub instead of clobber_all. r=cls.
git-svn-id: svn://10.0.0.236/trunk@85668 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-29 04:28:15 +00:00
jfrancis%netscape.com
655e1adfc6 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@85667 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 20:56:55 +00:00
jfrancis%netscape.com
7cde2dddd5 bug 66290: embedding work: refactor editor to allow smaller plaintext only library. Embedding clients may be interested inthis library if they want to embed a browser but not composer/mail-compose. Reduces library footprint for plaintext-only library by over 50% on all three platforms. r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@85666 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 20:13:07 +00:00
dbaron%fas.harvard.edu
b48ee3a7d2 Checking back in change (rev. 3.410) that was mistakenly backed out (in rev. 3.411):
bug 13553 (Table doesn't render properly)
patch submitted by bernd.mielke@snafu.de
r=waterson
sr=buster


git-svn-id: svn://10.0.0.236/trunk@85665 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 17:00:19 +00:00
pinkerton%netscape.com
6ccbd64690 fix for 66823. we weren't correctly setting the port before calling LocalToGlobal, which would cause ::MoveWindow() to be skipped in some situations (2nd browser window). r=danm/sr=ben.
git-svn-id: svn://10.0.0.236/trunk@85661 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 02:12:58 +00:00
saari%netscape.com
82933775b2 fix for crashing plugin problem 65687, r=pinkerton, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85658 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 01:36:21 +00:00
saari%netscape.com
3dd49e0040 fix for 656687, plugins don't scroll. r=bnesse, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85657 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 00:37:48 +00:00
dbaron%fas.harvard.edu
df62a9f1c7 Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85656 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 00:07:57 +00:00
dbaron%fas.harvard.edu
63bf4cc356 Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85655 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:31:15 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
cls%seawood.org
2505e732ba Create MOZ_CHECK_PTHREADS() macro that compiles a small test case using <pthread.h> so that systems like hpux & osf/1 will properly detect pthreads.
git-svn-id: svn://10.0.0.236/trunk@85653 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 22:57:59 +00:00
cls%seawood.org
15c4d9d6c5 Landing the following HPUX changes from the client branch:
1.18.19 - 1.18.2.22

Bring hpux section inline with HPUX.mk

Do not add +DA & +DS flags to CFLAGS until we figure out exactly how user define
d CFLAGS are supposed to interact with those.

Bug 58804


git-svn-id: svn://10.0.0.236/trunk@85652 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 22:55:12 +00:00
cls%seawood.org
98bfdfe1ff Create MOZ_CHECK_PTHREADS() macro that compiles a small test case using <pthread.h> so that systems like hpux & osf/1 will properly detect pthreads.
git-svn-id: svn://10.0.0.236/trunk@85651 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 22:47:16 +00:00
sspitzer%netscape.com
a67859610c fix #66789. don't display the quoted '.'
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@85650 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 19:52:52 +00:00
mkaply%us.ibm.com
d124df1bae Stupid OS/2 VPATH problems breaking Os/2 build
git-svn-id: svn://10.0.0.236/trunk@85649 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 19:24:27 +00:00
bienvenu%netscape.com
ece34d8926 fix linux build bustage
git-svn-id: svn://10.0.0.236/trunk@85648 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 19:04:31 +00:00
bienvenu%netscape.com
3517a20dad add nsImapOfflineSync.cpp,h NOT YET PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@85647 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 18:59:17 +00:00
bienvenu%netscape.com
53fc379a63 more work for offline imap, add offline imap operation class r=sspitzer, sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@85646 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 18:47:21 +00:00
bienvenu%netscape.com
cc8cfdcb69 more work for offline imap r=sspitzer, sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@85645 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 18:42:58 +00:00
cls%seawood.org
e708dca5cb sed regex needs to be quoted
git-svn-id: svn://10.0.0.236/trunk@85644 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 18:42:15 +00:00
sspitzer%netscape.com
745ae8af02 add file to build for bienvenu
git-svn-id: svn://10.0.0.236/trunk@85643 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 18:40:39 +00:00
bienvenu%netscape.com
0d75d5b0b5 more work for offline imap r=sspitzer, sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@85642 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 18:35:10 +00:00
sspitzer%netscape.com
012c296e1e add nsIMsgOfflineImapOperation.idl to the build
git-svn-id: svn://10.0.0.236/trunk@85641 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 18:23:04 +00:00
dbaron%fas.harvard.edu
4e968a6d22 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023
git-svn-id: svn://10.0.0.236/trunk@85640 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 17:50:41 +00:00
bienvenu%netscape.com
6ca9d48fb0 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@85639 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 17:37:14 +00:00
dbaron%fas.harvard.edu
bfc35757e1 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023
git-svn-id: svn://10.0.0.236/trunk@85638 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:58:15 +00:00
bienvenu%netscape.com
859241204a add nsIMsgOfflineImapOperation.idl to build r=sspitzer,sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@85637 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:39:20 +00:00
mcgreer%netscape.com
8e4edb82dc Per bug #66551, remove all HMAC_ calls from exported symbol list. All
HMAC_ functionality can be done the PKCS#11 interface.


git-svn-id: svn://10.0.0.236/trunk@85636 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:38:45 +00:00
darin%netscape.com
de9306dece Fixes bug 66494. Assertion in nsAutoLock. r/sr=brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@85634 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:35:21 +00:00
mcgreer%netscape.com
89893cb892 Change all HMAC_ calls to use PKCS#11 interface. Now the PKCS#12 library
only depends on functions already exported from the NSS DSO (the HMAC_
calls will be removed from the exported symbol list).
r=nelsonb


git-svn-id: svn://10.0.0.236/trunk@85633 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:34:27 +00:00
leaf%mozilla.org
6213332605 Automated update
git-svn-id: svn://10.0.0.236/trunk@85632 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 15:45:09 +00:00
mkaply%us.ibm.com
494ba72034 #65880
r=cls, a=blizzard
OS/2 only change - if filename passed in contains a drive letter, just use it


git-svn-id: svn://10.0.0.236/trunk@85631 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 15:37:46 +00:00
mkaply%us.ibm.com
e84e0199ce #65880
r=cls
Enable OBJDIR builds for OS/2


git-svn-id: svn://10.0.0.236/trunk@85630 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 15:36:41 +00:00
wtc%netscape.com
48e5aa01ee Bugzilla bug #54796: PR_InitializeNetAddr and PR_SetNetAddr should zero
the socket address if the 'val' argument is not PR_IpAddrNull.
Reviewed by John Myers.


git-svn-id: svn://10.0.0.236/trunk@85627 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 15:22:02 +00:00
axel%pike.org
d8a716fe41 not part of build, fixing 65987, current() function. Code by kvisco@ziplink.net, r=peterv,me.
git-svn-id: svn://10.0.0.236/trunk@85626 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 15:05:41 +00:00
rods%netscape.com
b23e7af50b This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
brendan%mozilla.org
88999be56e Fixes for bug 33390 (r=mccabe, sr=shaver)
- Optimize compile (parse+emit) operation to generate code for each top-level
  statement or function in turn, recycling JSParseNodes as we go for greatly
  reduced "long linear script" footprint.
- Fix O(n**2) growth problems in bytecode and srcnote generation.
- Add js_ParseTokenStream entry point to compiler, for tree-generation without
  code-generation.  Move JSOP_EVAL instruction selection from code-generator to
  parser, to match other such specializations and enable js_ParseTokenStream.
- Fix js_CompileTokenStream (and get it right in new js_ParseTokenStream) to
  respect JSOPTION_VAROBJFIX.
- Clean up bracing, multi-line conditions, and overlong lines.


git-svn-id: svn://10.0.0.236/trunk@85619 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 08:00:45 +00:00
attinasi%netscape.com
10423d5fdd Put link color: blue back in for composer. b=66578 r=beppe
git-svn-id: svn://10.0.0.236/trunk@85618 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 07:16:33 +00:00
attinasi%netscape.com
796ab90cd9 Performance fix: moves content-specific queries out of SelectorMatches to reduce number of times called in rule matching. b= 53620 r=dbaron sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85616 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 05:48:41 +00:00
cls%seawood.org
adf8c3f42b Add MOZ_ENABLE_XREMOTE flag so that xremote is only compiled for X-based platforms.
Bug #59505


git-svn-id: svn://10.0.0.236/trunk@85615 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 03:50:07 +00:00
ssu%netscape.com
e65ac294e3 changed the default ftp URL back to default (used to be my test url). It's not part of any tinderbox build. part of fix for bug 66480
git-svn-id: svn://10.0.0.236/trunk@85613 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 02:54:18 +00:00
dave%intrec.com
6e760674f5 Fix for bug 66154, fixes error introduced in v1.42 of reports.cgi from bug 39159. Patch by Alan Shields <shie9022@msmailhub.oulan.ou.edu>
git-svn-id: svn://10.0.0.236/trunk@85610 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 02:34:17 +00:00
cls%seawood.org
f35d4f8c06 Fix perl test to use $] for the version number.
Check for Config.pm as a separate test.
Bug #66443


git-svn-id: svn://10.0.0.236/trunk@85609 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 02:32:30 +00:00
blakeross%telocity.com
f454fb424b backing out previous fix since Ben is going to check it in with his bookmarks landing (to avoid merge conflicts)...
git-svn-id: svn://10.0.0.236/trunk@85608 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 01:50:44 +00:00
ssu%netscape.com
11e6095aa8 This check-in will fix the following bugs:
Bug 52417 (add downloader code)
Bug 64179 ('K' should be 'KB')
Bug 62560 (misspelled 'Existence')
Bug 64550 (remove 'Seamonkey' reference)
Bug 60352 (add crc check to installer)
Bug 62991 (psm check crashes n6 setup)
Bug 58267 (npoji600.dll)
Bug 47274 (Title should be 'Mozilla Setup')
Bug 66497 (installer need to clean up windows registry)
Bug 66498 (uninstaller checking itself)
Bug 64566 (shouldn't be able to start multiple Setup)
Bug 56292 (Alt-r conflict in Setup Type dialog)
Bug 31821 (force-upgrade support)

r=deveditz
sr=mscott

affects windows platforms only!


git-svn-id: svn://10.0.0.236/trunk@85607 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 01:49:57 +00:00
mstoltz%netscape.com
579b002a49 Bug 66369, adding support for per-file permissions granting to caps. r=jst, sr=jband.
git-svn-id: svn://10.0.0.236/trunk@85606 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 01:42:20 +00:00
andreww%netscape.com
3c4a279416 bugzilla=66614,
r=hewitt,
a=hangas,
history dropdown menus changed width when target button pressed.Now they behave properly. mac classic.


git-svn-id: svn://10.0.0.236/trunk@85605 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 01:40:47 +00:00
cls%seawood.org
82e15b006c Add locking to installed-chrome.txt updates. Bug #55174
git-svn-id: svn://10.0.0.236/trunk@85604 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 01:40:15 +00:00
cls%seawood.org
de7e28bb3f Tweak previous fix to check for zero-length strings.
git-svn-id: svn://10.0.0.236/trunk@85603 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 01:31:44 +00:00
darin%netscape.com
5bdcf4f717 Fixes bug 66493. nsSocketTransport changes broke in-process PSM.
r=bryner,gagan,brendan,dougt sr=mscott


git-svn-id: svn://10.0.0.236/trunk@85602 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 01:28:00 +00:00
akkana%netscape.com
8d173621f0 56296: Disable popping up new window on target=, pref controlled. r=dveditz, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85601 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 01:08:36 +00:00
cls%seawood.org
f16cc677ba Fix for IBM compiler related bustage.
Thanks to Jim Dunn <jdunn@netscape.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@85600 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 00:46:21 +00:00
javi%netscape.com
2f6339e93e Insert some white space into Makefile.in so that autoconf makes
Makefile from it after a check-out.  This fixes srcdir builds
on a fresh pull.


git-svn-id: svn://10.0.0.236/trunk@85599 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 00:45:42 +00:00
hyatt%netscape.com
d5d5ce42a8 Impl getAnonymousElementByAttr, r=jst, sr=ben
git-svn-id: svn://10.0.0.236/trunk@85598 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 00:43:54 +00:00
nelsonb%netscape.com
4c5f28388a Add multi-process server capability to selfserv. Bug 66630.
New -M command line option runs multiple selfserv processes,
all serving in parallel on the same TCP listen socket.


git-svn-id: svn://10.0.0.236/trunk@85597 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 00:36:15 +00:00
rogerl%netscape.com
336b3f3b1f Fixes for bugs #66234 (57572, 57631, 61266, 61766) sr=brendan, r=mccabe,
r=rginda,r=rogerl. Also 60925, 60926 by virtue of being subsumed by above.


git-svn-id: svn://10.0.0.236/trunk@85596 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 00:31:32 +00:00
morse%netscape.com
52132b362a bug 64588, remove javascript warning, r=gemal@gemal.dk, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85595 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 00:09:41 +00:00
dbragg%netscape.com
bd2b3a4d06 This is the XPInstall side of bug 62167 that uses nsIProcess which was checked in earlier. a,r=dvedtiz sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85593 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 00:05:08 +00:00
jeff.dyer%compilercompany.com
50228758c5 First cut a xml code generation.
git-svn-id: svn://10.0.0.236/trunk@85591 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 23:55:32 +00:00
yokoyama%netscape.com
358348e69f fix for 22921; use nsIModule;
git-svn-id: svn://10.0.0.236/trunk@85590 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 23:54:31 +00:00
karnaze%netscape.com
1ca24c2bf7 new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@85589 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 23:47:57 +00:00
jeff.dyer%compilercompany.com
ac8bd7812e Unneeded file
git-svn-id: svn://10.0.0.236/trunk@85588 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 23:46:06 +00:00
karnaze%netscape.com
7ed07e7ca8 bug 34176 - correct fixed table layout over allocated cols. sr=waterson, r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@85587 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 23:44:59 +00:00
jgmyers%netscape.com
eaa13097ff unfold all headers per RFC 822: bug 23635 r=ducarroz sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85586 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 23:41:08 +00:00
karnaze%netscape.com
f6ee0a099e bug 62502 - null pointer check. sr=waterson, r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@85585 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 23:40:36 +00:00
jgaunt%netscape.com
727177938a backing out changes
fixing bustage on speedracer


git-svn-id: svn://10.0.0.236/trunk@85584 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 23:38:09 +00:00
beard%netscape.com
32cea14d26 MRJPlugin 1.0b2 release. sr=bnesse, r=tnoyes@mac.com
git-svn-id: svn://10.0.0.236/trunk@85580 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 23:32:56 +00:00
jgaunt%netscape.com
b7931b6b90 bug# 62361 fix profile migration when running remotely on a unix system
r=ccarlen@netscape.com sr=bienvenu@netscape.com


git-svn-id: svn://10.0.0.236/trunk@85577 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 22:44:55 +00:00
javi%netscape.com
2238995cdb Fix Win32 opt build bustage.
git-svn-id: svn://10.0.0.236/trunk@85576 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 18:55:34 +00:00
mcgreer%netscape.com
b3d5329062 thought I'd be cool and make it build with DSO's, but alas, need CERT_DecodeTrustString...
git-svn-id: svn://10.0.0.236/trunk@85575 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 16:45:46 +00:00
mcgreer%netscape.com
83107202a3 initial checkin of tool which converts CA certs into format for certdata.txt
git-svn-id: svn://10.0.0.236/trunk@85574 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 16:32:10 +00:00
taka%netscape.com
cb71943920 fix for #43221, #64781, and #53644. take folder charset and apply appropriate charset conversion before comparison. r=nhotta, a=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85573 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 13:50:44 +00:00
locka%iol.ie
149cc8d129 Changed docshell so it turns the mouse pointer "busy" in the associated window while it is loading a document. Removed the hack in the navigator chrome that used the throbber status to set the busy pointer. b=30375 sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85571 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 12:35:32 +00:00
pavlov%netscape.com
6102456793 adding decoderobserver so that people will be able to listen for notifications
decoders should QI the request to nsIImageDecoderObserver and call the methods with null for the request param

people will be able to add an observer to the request so that they can get the messages


git-svn-id: svn://10.0.0.236/trunk@85570 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 12:05:55 +00:00
ben%netscape.com
6716fb77ae Added comments regarding coming changes for bug 65470/Mozilla 0.8.
git-svn-id: svn://10.0.0.236/trunk@85569 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 09:39:49 +00:00
ben%netscape.com
7b7d81ce12 Added comment announcing Drag and Drop API changes for Mozilla 0.8
git-svn-id: svn://10.0.0.236/trunk@85568 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 09:38:40 +00:00
ben%netscape.com
e221383e3c Added comment announcing drag and drop API update for Mozilla 0.8
git-svn-id: svn://10.0.0.236/trunk@85567 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 09:37:56 +00:00
ben%netscape.com
06460391b1 added comment announcing API changes for Mozilla 0.8.
git-svn-id: svn://10.0.0.236/trunk@85566 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 09:37:24 +00:00
jband%netscape.com
a90787454e fix jump in leaks caused by previous checkin by commenting out the offending code that roots Object.prototype
git-svn-id: svn://10.0.0.236/trunk@85565 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 08:02:23 +00:00
waldemar%netscape.com
069b231dc0 Added .() operator
git-svn-id: svn://10.0.0.236/trunk@85564 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 07:33:32 +00:00
blakeross%telocity.com
01e2c8f407 Fix 60788: letters with descenders cut off in mail compose subject field. patch by hwaara. r=sspitzer,blake sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85563 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 06:05:46 +00:00
kmcclusk%netscape.com
c16019823b Removed code which cleared the backbuffer to white before rendering. bug 49779 sr=roc+moz r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85560 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 05:09:37 +00:00
sspitzer%netscape.com
f32556e7fd turn off some debugging printfs relating to bug #66553. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85558 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 04:42:47 +00:00
relyea%netscape.com
673c70fee5 Allow NSS_Initialize to succeed even if the databases cannot be opened.
NOTE: BETA 3 solution only. After Beta 3 NSS_Initialize will get to new
options to control this functionality more finely


git-svn-id: svn://10.0.0.236/trunk@85555 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 04:33:45 +00:00
timeless%mac.com
b928391ee9 fix for bug 61805 javascript strict warnings in abAddressBookNameDialog.js
patch by maolson@earthlink.net r=timeless, a=alecf


git-svn-id: svn://10.0.0.236/trunk@85552 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 03:39:38 +00:00
nelsonb%netscape.com
3844d4f4f4 Win32 processes have two environments, a Unix-compatible one and an NT
environment.  NSS has no control over which of these environments will
be inherited by any child processes, so when NSS modifies or adds an
environment variable, it needs to do so to both environments.
This fixes bugzilla bug 66615.  Reviewed by wtc.


git-svn-id: svn://10.0.0.236/trunk@85551 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 03:24:05 +00:00
sspitzer%netscape.com
8da18e9cee fix for #66602. make it faster to delete, move, or copy unread messages into
a local folder.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@85550 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 02:52:56 +00:00
jgmyers%netscape.com
8f3bb95289 clean out refs to FALSE: bug 63834 r=bryner sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85549 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 02:40:12 +00:00
jband%netscape.com
0169a67b12 backing out the unreviewed change to the loader for bug 63027 that I checked in with the other xpconnect changes by mistake.
git-svn-id: svn://10.0.0.236/trunk@85548 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 02:35:22 +00:00
mcafee%netscape.com
090df9920f Removing ftp: URL from bloat test until dougt fixes ftp. r=dougt
git-svn-id: svn://10.0.0.236/trunk@85547 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 02:35:07 +00:00
jband%netscape.com
d15f323b49 add xpidl support for DOMString to fix bug 65762. r=jst sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85546 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 02:32:18 +00:00
jband%netscape.com
a930e22667 This is mostly to fix bug 64111 - XPConnect vs. Object.prototype.toSource woes.
Some other small fixes are included. Here is the list...

- Make nsIJSID::id [noscript] because xpconnect automatically builds a nsIJSID
wrapper around nsid values. However, xpconnect does not maintain a table of
those wrappers. So, given the same id twice it will make two nsIJSID wrappers.
This means that property walking could get foo.id.id.id... and not detect that
the different objects represent the same id. nsIJSID already exposes 'number'
so that JS can get the stringified value of the nsid. The nsid struct returned
by 'id' is useful for C++, but only causes problems for JS.

- Fix the nsIXPCScriptable 'IGNORE' handler for GetAttributes to not fail
silently.

- Add 'Components' to global objects as a non-enumerable property for backwards
compatibility and to avoid additional work in property enumeration (esp. in
win.toSource!)

- Expose toSource on wrapped native JSObjects. This just returns an empty object
string: '{}'. It can be overridden by an interface method if present.

- Expose toString on wrapped native JSObjects. It can be overridden by an
interface method if present. Previously we only did this as part of the
Convert op. Now someWrapper.toString will return a callable function.

- Extend the toString behaviour to also print the address of the wrapper in
DEBUG builds only: e.g. "xpconnect wrapped nsIFoo @ 0x12345678". mccabe
convinced me this would be useful. Release build behaviour is unchanged - we
worried that exposing addresses might contribute to possible security exploits.

- Have wrapped native JSObjects use Object.prototype as their proto rather than
have a null proto. Originally this was going to allow delegation to
Object.prototype.toSource, but even without that, this seems like a good thing.
This is implemented by getting Object.prototype from the global object each
time we create a wrapper to allow for spify JS dynamic craziness.

- Use 16bit values in wrappednative property descriptors to save space. It was
only possible to use 16 bits of the pointer-sized ints in the structs anyway.

- Do a security check at enumeration time and only expose those properties that
the caller can actually 'Get'. This fixes the toSource security exception
problem.

- Add a big comment about the problem of reporting uncaught exceptions.

- Fix crashing bug for case where object has no enumerable properties and
xpconnect failed to fill in the zero count.

- Fix NewInstanceJSObject to dig in and find the 'ultimate' parent when
parenting new wrapper JSObject. The old scheme was ending up with hugely
long parent chains in some cases.

r=jst, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@85545 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 02:25:09 +00:00
sfraser%netscape.com
a7f471a3fa Work in progress on editor embedding, NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@85544 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 02:16:14 +00:00
jgmyers%netscape.com
0fa3e2085d clean out refs to FALSE: bug 63834 r=bryner sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85543 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 01:59:16 +00:00
jgmyers%netscape.com
2f10dfcefc fix ref to FALSE: bug 35559 r=bryner sr deputized by brendan
git-svn-id: svn://10.0.0.236/trunk@85542 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 01:56:33 +00:00
jband%netscape.com
dd4fb834f5 WHITESPACE ONLY CHANGE. Detabbing this stuff cuz it bothers me (tabbing didn't match 'Mode' line's tab-width)
git-svn-id: svn://10.0.0.236/trunk@85540 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 01:53:22 +00:00
alecf%netscape.com
b9dcd0d812 fixes for JS warnings, #64593 and #65707 sr=ben
git-svn-id: svn://10.0.0.236/trunk@85539 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 01:32:31 +00:00
alecf%netscape.com
13a09fc804 fix for #65994 r=blake, sr=ben
use hidden="false" so that the hidden state of the magic toolbar buttons get persisted


git-svn-id: svn://10.0.0.236/trunk@85538 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 01:30:37 +00:00
brendan%mozilla.org
1c7d4471fa Fixes for bug 61898 (which has morphed), r=rogerl, sr=jband.
- Optimize integer ++ and -- to avoid double-to-int, which is quite costly for
  some compilers (ftol on Windows with MSVC).
- Optimized arguments[i] and arguments.length references to use bytecodes that
  avoid creating an arguments object for the current frame.  This entailed
  simplifying the compiler to avoid flagging functions and scripts that set
  arguments, since we have code in jsfun.c to catch such sets at runtime.
- The code generator now eliminates useless expression statements, giving a
  strict warning about them.
- Rationalized jsemit.c's LookupArgOrVar to have well-defined results in *pn.
  Eliminate bytecode specializations for argument and local variable gets and
  sets from jsparse.c -- these precede jsemit.c's LookupArgOrVar and frustrate
  it, by setting pn_slot non-negative too early.
- Code generation errors set report->filename and report->lineno, rather than
  hacking "{0}, line {1}: " into the localized message.
- Bogus JSFRAME_VAROBJBUG removed, JSOPTION_VAROBJFIX is sufficient.
- Spruce up jsinterp.c macros to use JS_BEGIN/END_MACRO brackets if possible.
- Avoid calling JS_PropertyStub.  The call is too costly compared to a branch
  in the caller.


git-svn-id: svn://10.0.0.236/trunk@85537 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 00:59:50 +00:00
prass%netscape.com
3ceda85484 Adding geticonode function and context for icon image, r=jelwell, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85536 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 00:51:18 +00:00
mkaply%us.ibm.com
890051e262 #61253
r=jkobal, a=blizzard
Printing shouldn't be resolution dependent


git-svn-id: svn://10.0.0.236/trunk@85535 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 00:48:05 +00:00
ssu%netscape.com
d6e17e4e8c fixing bug 64649 - add psm to mozilla installers
r=dgragg, sr=dgragg
affects only linux
not part of tinderbox builds.


git-svn-id: svn://10.0.0.236/trunk@85534 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 00:47:56 +00:00
bienvenu%netscape.com
b334fd8782 fix saving of imap pending unread counts r=sspitzer,naving, sr=mscott 66580
git-svn-id: svn://10.0.0.236/trunk@85533 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 00:14:10 +00:00
nhotta%netscape.com
4aa9edb272 Changed to support charset override for message headers, ignore the header specified charset and use the folder charset for the charset conversion,
bug 65277, r=mscott, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@85532 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 23:39:22 +00:00
rogerl%netscape.com
de77d1777b Fixes to support ICodeModule operand type (via name in global object) and
TRUE/FALSE/NULL/CLASS instructions.


git-svn-id: svn://10.0.0.236/trunk@85531 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 23:34:33 +00:00
nhotta%netscape.com
cd9c3af789 Changed to use the original charset name instead of the mapped one to take advantage of the us-ascii optimization,
bug 66411, r=sspitzer,ducarroz, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@85530 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 23:31:20 +00:00
akkana%netscape.com
0792fa11db 64665: don't hardwire wrap width to 72. Also fix some warnings. r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@85529 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 23:12:16 +00:00
karnaze%netscape.com
a75084797d bug 56201 - don't allow a cell to return a desired width bigger than the avail width in a fixed layout table. sr=buster, r=peterl.
git-svn-id: svn://10.0.0.236/trunk@85528 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 22:57:53 +00:00
mjudge%netscape.com
9e59d3ceb3 R,SR = waterson, kin, brendan. trace_malloc work. these changes should only be iuncorporated into the build process if someone defines MOZ_TRACE_MALLOC into their build
git-svn-id: svn://10.0.0.236/trunk@85527 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 22:54:05 +00:00
dougt%netscape.com
9dcfce529d backing my ass out. These changes were meant for my branch, not the trunk. sr-leaf
git-svn-id: svn://10.0.0.236/trunk@85524 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 22:07:38 +00:00
wtc%netscape.com
5908b39b8b Bugzilla bug #63832: changed hardcoded 'gmake' to $(MAKE) in PSM makefiles.
Modified files: psm/Makefile, psm/lib/client/sample/Makefile,
psm/server/Makefile.


git-svn-id: svn://10.0.0.236/trunk@85523 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:48:33 +00:00
dougt%netscape.com
3f044800d5 updating to new necko interfaces
git-svn-id: svn://10.0.0.236/trunk@85522 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:44:59 +00:00
pinkerton%netscape.com
211e3f47fd use new interfaces in nsIImageMac to convert image->PICT and put on clipboard for image copy. r=saari/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@85521 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:40:32 +00:00
pinkerton%netscape.com
3eab86cb74 since nsImageMac now has two nsISupports, disambiguate. r=saari, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@85520 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:39:58 +00:00
pinkerton%netscape.com
f0c8fa7b39 Landing first stab at image->PICT conversion on mac for image copying. r=saari/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@85519 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:39:37 +00:00
blakeross%telocity.com
38b3a49bad Fix 66500: paste is enabled for readonly textfields. r=timeless sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85518 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:36:51 +00:00
javi%netscape.com
065425a146 Part of patch for bug 64650 r=javi
build psmmain.c in the project instead of main.c


git-svn-id: svn://10.0.0.236/trunk@85516 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:21:43 +00:00
yokoyama%netscape.com
3b364e4953 fix for 22921; use generic nsIModule
git-svn-id: svn://10.0.0.236/trunk@85515 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:16:08 +00:00
javi%netscape.com
9c5b3ea3b5 Fix for Bug 64650
Give PSM suport for HP_UX


git-svn-id: svn://10.0.0.236/trunk@85514 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:08:59 +00:00
javi%netscape.com
3ab13e22e2 Part of Fix for bug 64650
main.c becomes psmmain.c


git-svn-id: svn://10.0.0.236/trunk@85513 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:06:10 +00:00
nhotta%netscape.com
300cd94c31 Changed to use NS_IMPL_THREADSAFE_ISUPPORTS1, patch by dougt, bug 61558, r=nhotta, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@85512 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:03:18 +00:00
javi%netscape.com
a27951a72a Part of fix for Bug 64650 r=javi
Provided by jdunn to support HP-UX


git-svn-id: svn://10.0.0.236/trunk@85511 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 21:01:58 +00:00
javi%netscape.com
a5fd614b18 Add a c++ file that calls the main funciton in a C file. This is to
make some compilers that require programs linking in C++ libraries to
have main in a c++ file happy.


git-svn-id: svn://10.0.0.236/trunk@85510 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 20:59:35 +00:00
racham%netscape.com
96bebbbfea Fixing bug 65556. Turning the Biff feature on by default and automatic message download is turned off for POP3 servers on biff as deafult. r=sspitzer sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85509 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 20:38:45 +00:00
racham%netscape.com
04045d5925 Fixing bug 66427. Setting AccountCentral page background color to white for better user experience. r=sspitzer sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85508 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 20:36:26 +00:00
racham%netscape.com
70a90c36e5 Fixing bugscape bug 3709. Setting unique and polished accountname format for ISPs. r=sspitzer sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85507 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 20:34:57 +00:00
chuang%netscape.com
d3e67b1e9c Bug42038 UI: AB - "Card for" dialog wording. "Prefers to receive rich text (HTML) mail", r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85506 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 20:19:38 +00:00
timeless%mac.com
f66008fbe8 fix bug 66357 fatal error building rdf\chrome\tools\chromereg\regchrome.cpp
r=leaf, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@85505 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 20:08:43 +00:00
hewitt%netscape.com
021667e124 65990 - composer color palette, r=cmanske, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85504 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 19:56:55 +00:00
nboyd%atg.com
2c47d04823 ECMA mandates a ToPrimitive on Date constructor arguments that we didn't have.
git-svn-id: svn://10.0.0.236/trunk@85503 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 19:56:54 +00:00
morse%netscape.com
b43f46b481 bug 65636, removing users is checkbox is unchecked, submitter=mozilla@maxuk.net, r=morse@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85502 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 19:46:19 +00:00
harishd%netscape.com
7a086d6265 Made parser nodes arena allocated. Also, fixed a few potential leaks.
Note: Parser nodes could be heap allocated by enabling HEAP_ALLOCATED_NODES flag.
r=jst
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@85501 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 19:37:23 +00:00
harishd%netscape.com
3fd88b9a18 Removed CNavDTD dependency.
r=jst
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@85500 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 19:33:57 +00:00
wtc%netscape.com
4f79024ac3 Bugzilla bug #65416: assign values to enumeration constants in secutil.h
and nssilock.h explicitly.  Reviewed by Ian McGreer.


git-svn-id: svn://10.0.0.236/trunk@85499 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 19:05:50 +00:00
matthias%sorted.org
cd482d19f9 cleaned up indentation. no code changes.
git-svn-id: svn://10.0.0.236/trunk@85498 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 18:46:38 +00:00
sspitzer%netscape.com
7305affabb back out brendan (Career Limiting Move) to fix blocker bug #66545.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@85497 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 18:06:57 +00:00
karnaze%netscape.com
9fcb604c43 bug 65372 - allow rows to be inserted after an over specified row span. sr=buster, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@85496 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 16:02:14 +00:00
karnaze%netscape.com
919b0e5623 bug 60494 - only request the max width of the innner table if it is requested of the outer table. sr=buster, r=peterl.
git-svn-id: svn://10.0.0.236/trunk@85495 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 16:00:59 +00:00
karnaze%netscape.com
7995ae675b forgot the #ifdef DEBUG around mDebugHook.
git-svn-id: svn://10.0.0.236/trunk@85494 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 15:57:46 +00:00
karnaze%netscape.com
d95bd4f152 better table reflow debugging including support for elapsed time. sr=buster.
git-svn-id: svn://10.0.0.236/trunk@85493 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 15:55:51 +00:00
brade%netscape.com
ba0227a44d don't check for focused widget in "onOK" since users can't dismiss the dialog if we bail at this point. bug #60868
git-svn-id: svn://10.0.0.236/trunk@85492 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 15:55:40 +00:00
bienvenu%netscape.com
34383772fb add error code to unknown error alert for diagnosis purposes r=sspitzer, sr=mscott 57057
git-svn-id: svn://10.0.0.236/trunk@85491 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 15:49:04 +00:00
dbaron%fas.harvard.edu
6c9757124a Change the way nsDocument stores its children by replacing separate nsVoidArrays for prolog and epilog with a single nsISupportsArray that also holds the root element. Using this change, simplify many of the child handling methods in nsDocument (and fix some bugs in them). Since nsDocument no longer uses prolog and epilog, remove AppendToProlog and AppendToEpilog from nsIDocument. b=47850 r=jst@netscape.com sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85490 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 14:19:38 +00:00
sspitzer%netscape.com
2acac56ec9 "a" is a bad key for mark all read, since it is too easy to hit "a",
and mark all read is not undoable.  make mark all read "ctrl shift c"
like it was in 4.x.


git-svn-id: svn://10.0.0.236/trunk@85489 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 09:24:28 +00:00
brendan%mozilla.org
c1463a8801 Fixes for bug 61898 (which has morphed), r=rogerl, sr=jband.
- Optimize integer ++ and -- to avoid double-to-int, which is quite costly for
  some compilers (ftol on Windows with MSVC).
- Optimized arguments[i] and arguments.length references to use bytecodes that
  avoid creating an arguments object for the current frame.  This entailed
  simplifying the compiler to avoid flagging functions and scripts that set
  arguments, since we have code in jsfun.c to catch such sets at runtime.
- The code generator now eliminates useless expression statements, giving a
  strict warning about them.
- Rationalized jsemit.c's LookupArgOrVar to have well-defined results in *pn.
- Code generation errors set report->filename and report->lineno, rather than
  hacking "{0}, line {1}: " into the localized message.
- Bogus JSFRAME_VAROBJBUG removed, JSOPTION_VAROBJFIX is sufficient.
- Spruce up jsinterp.c macros to use JS_BEGIN/END_MACRO brackets if possible.
- Avoid calling JS_PropertyStub.  The call is too costly compared to a branch
  in the caller.


git-svn-id: svn://10.0.0.236/trunk@85488 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 09:22:19 +00:00
mscott%netscape.com
473b0dc188 back out a piece of code that was not meant to be checked in and was not reviewed.
git-svn-id: svn://10.0.0.236/trunk@85485 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 07:00:06 +00:00
mscott%netscape.com
c2918b7118 Bug #61947 --> pass in and use the time the download started (but before we actually
bring up the progress dialog. This gives us more accurate readings for the total
time and download rate.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85484 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 06:52:07 +00:00
timeless%mac.com
1fc19807eb fix for bug 60629 javascript strict warnings in abCardOverlay.js
patch by maolson@earthlink.net r=timeless a=alecf


git-svn-id: svn://10.0.0.236/trunk@85483 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 06:51:19 +00:00
mscott%netscape.com
d5c29a9c28 Bug #63346 --> implement open and open folder APIs for windows
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85482 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 06:48:47 +00:00
mscott%netscape.com
9c1ecef472 Bug #66323 --> always show the progress dialog even if
we are already done with the download. Break apart
SaveTodisk and LaunchWithTempFile into to separate
methods. never try to really open or save to disk
until we are sure we've brought up the progress window.

Bug #61947 --> pass in the initial time when we started the download via getDownloadInfo so
the progress dialog can use this information.

sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85481 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 06:48:16 +00:00
mscott%netscape.com
e452dfb04b Bug #63346 --> add open and open folder APIs for the OS.
Bug #61947 --> pass in the initial time
when we started the download via getDownloadInfo so
the progress dialog can use this information.


git-svn-id: svn://10.0.0.236/trunk@85480 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 06:47:12 +00:00
timeless%mac.com
bd40fecf29 fix bug 65938 Starting mozilla from profile manager gives javascript error in console
patch by maolson@earthlink.net r=timeless a=alecf


git-svn-id: svn://10.0.0.236/trunk@85479 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 06:43:50 +00:00
blakeross%telocity.com
e5e1076431 sorry, sr=bienvenu for mao's fixes. think I'm a little too used to typing `sr=alecf'
git-svn-id: svn://10.0.0.236/trunk@85478 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 05:38:00 +00:00
mkaply%us.ibm.com
998d5b846b #59257
r=mkaply, a=blizzard
First checkin for jjones - fix collation code for OS/2


git-svn-id: svn://10.0.0.236/trunk@85477 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 05:33:04 +00:00
blakeross%telocity.com
81d7f578ad Fix 63619, 65325: mao's strict warning fixes. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85476 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 05:31:57 +00:00
dave%intrec.com
2b74ceea1d cleaning up trailing whitespace in buglist.cgi source. (no code changes) Patch by Stephan Niemz [faniz] <st.n@gmx.net>
git-svn-id: svn://10.0.0.236/trunk@85475 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 05:30:35 +00:00
dave%intrec.com
dc4e5c903b Fix for bug 66058: dates in Created and Changed date columns in buglists are now in context with how old the bug is.
within the last 18 hours: time only (12:24:34)
within the last   6 days: weekday and time (Fri 12:24)
within the last 100 days: month and day (01-19)
older than 100 days: previous behaviour (2001-01-19)


git-svn-id: svn://10.0.0.236/trunk@85474 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 05:08:21 +00:00
blakeross%telocity.com
c36f44bfd1 Fix 57759: enable/disable items in textfield context menus when appropriate. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85473 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 05:01:29 +00:00
dave%intrec.com
d132228438 Fix for bug 55429: can't always vote more than once per bug, depending on product. Patch by Matthew Tuck <matty@box.net.au>
git-svn-id: svn://10.0.0.236/trunk@85472 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 04:56:14 +00:00
andreww%netscape.com
4c84e1c530 bugzilla=39487,
r=hewitt,
a=hangas,
history dropdown menus had too small a target (arrow). Adding some padding. Mac Classic skin


git-svn-id: svn://10.0.0.236/trunk@85471 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 04:34:08 +00:00
andreww%netscape.com
445dd34e27 bug # 59065 r=hewitt a=hangas - setting default height for progressmeters in mac classic skin so they dont show up as thin lines.
git-svn-id: svn://10.0.0.236/trunk@85470 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 04:32:00 +00:00
andreww%netscape.com
b51c945981 bug# 18667 r=hewitt a=hangas Moving security icon over so it's not obscured when toolbar hidden.
git-svn-id: svn://10.0.0.236/trunk@85469 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 04:30:25 +00:00
blakeross%telocity.com
e49d0f6bbe Fix 57759: enable/disable items in textfield context menus when appropriate. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85468 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 04:22:47 +00:00
blakeross%telocity.com
e00e3f7693 Fix 52419, 66137: don't show so many columns in bookmarks window by default, and retain last sort in bookmarks window. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85467 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 04:19:50 +00:00
nelsonb%netscape.com
74ddd2b9da Detect failures of NSS_Init and report them.
This fixes bug 66244 for certutil (only).


git-svn-id: svn://10.0.0.236/trunk@85466 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 04:14:22 +00:00
gagan%netscape.com
8e4d488e55 Fix for bug 58728. Null check for the disappearing mResponseDataListener. r=darin, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@85465 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 04:03:52 +00:00
dbaron%fas.harvard.edu
e5c4c2ccdc Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
git-svn-id: svn://10.0.0.236/trunk@85464 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 03:23:19 +00:00
mcafee%netscape.com
644a6ffc68 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
dave%intrec.com
d75dc86c93 Re-fixing bug 30694. part of the original patch got left out.
git-svn-id: svn://10.0.0.236/trunk@85462 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:51:49 +00:00
wtc%netscape.com
c52a0d1c42 Export the new function NSS_VersionCheck(). Reviewed by Nelson.
git-svn-id: svn://10.0.0.236/trunk@85461 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:43:48 +00:00
beard%netscape.com
aaaca3c299 Support for hooking up MRJ to browser networking stack. (not part of build yet)
git-svn-id: svn://10.0.0.236/trunk@85460 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:34:17 +00:00
javi%netscape.com
0d555b3335 Missed this file during my last check-in.
git-svn-id: svn://10.0.0.236/trunk@85459 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 01:21:27 +00:00
javi%netscape.com
d50a9d25ae Add Entropy collector support and the ability to load the root certificates
PKCS11 module


git-svn-id: svn://10.0.0.236/trunk@85458 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 01:14:23 +00:00
dave%intrec.com
a58c6f1f93 Fix for part 2 of bug 31456: changes the way checksetup.pl handles the localconfig file internally to guarantee proper detection of any variables defined in localconfig (even empty arrays, which it couldn't detect before, in case someone adds one to localcofig at some point)
git-svn-id: svn://10.0.0.236/trunk@85457 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 23:27:13 +00:00
despotdaemon%netscape.com
d3f6eaa796 Pseudo-automatic update of changes made by rko@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@85456 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 22:48:49 +00:00
despotdaemon%netscape.com
794277f024 Pseudo-automatic update of changes made by risto@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@85455 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 22:32:55 +00:00
dave%intrec.com
82ff84e77b Fix for bug 30694: adds title attributes to bug links with bug status and description. Patch by jake@acutex.net
git-svn-id: svn://10.0.0.236/trunk@85454 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 22:24:06 +00:00
despotdaemon%netscape.com
67b68aeb6a Pseudo-automatic update of changes made by risto@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@85453 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 22:08:36 +00:00
despotdaemon%netscape.com
00b8d4e80c Pseudo-automatic update of changes made by risto@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@85452 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 21:56:45 +00:00
despotdaemon%netscape.com
7c036f993a Pseudo-automatic update of changes made by risto@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@85451 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 21:55:58 +00:00
despotdaemon%netscape.com
9431a34558 Pseudo-automatic update of changes made by risto@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@85450 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 21:54:57 +00:00
despotdaemon%netscape.com
43958665d0 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@85449 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 21:27:59 +00:00
dave%intrec.com
ab86f527b7 Fix for bug 65598: check for minimum versions of some of the Perl modules Bugzilla needs. Also check for minimum version of MySQL server on the other end.
git-svn-id: svn://10.0.0.236/trunk@85445 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 20:31:45 +00:00
dmose%mozilla.org
ee1174cf51 patch from bug 17464 to give user some control over what sorts of bug mail get sent to an account. Original patch by al_raetz@yahoo.com and lots of additional hacking by me; r=donm@bluemartini.com
git-svn-id: svn://10.0.0.236/trunk@85444 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 20:26:24 +00:00
jj%netscape.com
1e560a9bf4 backing out an 'if ($flat)' test case which breaks the Mac packaging.
git-svn-id: svn://10.0.0.236/trunk@85442 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 19:39:53 +00:00
javi%netscape.com
cab17c7801 Add an entry for the name of the loadable root certs PKCS#11 module.
git-svn-id: svn://10.0.0.236/trunk@85441 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 19:28:11 +00:00
ccarlen%netscape.com
0b3ab05cda NOT PART OF THE BUILD - Changed caller of nsISingleSignon.
git-svn-id: svn://10.0.0.236/trunk@85438 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 15:51:51 +00:00
ccarlen%netscape.com
ecb092e10c Part of bug 35559 - dynamic profile switching.
r=morse, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@85437 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 15:51:00 +00:00
nboyd%atg.com
19342b2207 Move Invoker out as a top-level class so that it doesn't get javadoc'd
with FunctionObject (it must be public).


git-svn-id: svn://10.0.0.236/trunk@85436 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 15:49:21 +00:00
bienvenu%netscape.com
ae83e5ddaa add offline imap operation support, NOT YET PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@85433 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 15:47:56 +00:00
Peter.VanderBeken%pandora.be
83cf4fcfef Fixing build bustage on Mac.
git-svn-id: svn://10.0.0.236/trunk@85432 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 15:45:41 +00:00
nboyd%atg.com
6aee3280f9 Alternative fix for problem in the following email:
Subject:
        minor Rhino bug
   Date:
        Tue, 23 Jan 2001 13:14:51 -0800
   From:
        dave russo <d-russo@ti.com>
     To:
        nboyd@atg.com
    CC:
        d-russo@ti.com




Norris,

While using the new Rhino debugger (from the latest tip) I started to get "No
Context associated with current Thread" exceptions when expanding host objects
in the "Context:" debugger window.

In looking at the code, I discovered that NativeObject.toString seems to assume
that Context.getContext() may return null.  In fact, getContext() always returns
a non-null context or throws an exception.

I changed NativeObject.toString to never throw an exception (see below) and this
eliminated the problem I was seeing (of course).

It would be nice to incorporate this in a future Rhino tip or, if this change is
inappropriate, any guidance would be appreciated.  Thanks in advance.

I changed NativeObject.toString to:

    public String toString() {
        try {
            Context cx = Context.getContext();
            return jsFunction_toString(cx, this, null, null);
        }
        catch (Exception e) {
            return "[object " + getClassName() + "]";
        }
    }

from:

   public String toString() {
        Context cx = Context.getContext();
        if (cx != null)
            return jsFunction_toString(cx, this, null, null);
        else
            return "[object " + getClassName() + "]";
    }


git-svn-id: svn://10.0.0.236/trunk@85431 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 15:16:37 +00:00
sspitzer%netscape.com
ad2414d680 performance fix for mailnews for. (especially us-ascii users)
skip a lot of expensive code if we don't need to do the conversion.
this will help sorting, scrolling and message display.
there is more work to do on this code for non us-ascii users.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@85430 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 15:10:08 +00:00
brade%netscape.com
cb21c78be0 always absolutize urls in html copy encoder (doing the right thing is covered in bug #32768)
git-svn-id: svn://10.0.0.236/trunk@85429 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 14:59:57 +00:00
axel%pike.org
1836f3e4f9 not part of build, code by peterv, r=me, bugs bugs 65977 & 65978, xslt function lib, + windows bustage
git-svn-id: svn://10.0.0.236/trunk@85428 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 14:48:48 +00:00
axel%pike.org
cb1c45a640 not part of build, code by peterv, r=me, bugs 65977 & 65978, xslt function lib, + windows bustage
git-svn-id: svn://10.0.0.236/trunk@85427 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 14:44:05 +00:00
neeti%netscape.com
19ab3003ec fix for bug 44153 - Redirect.xul needs to be removed, r=darin, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85426 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 14:04:02 +00:00
Peter.VanderBeken%pandora.be
3db76d9e10 Keep LDAP xpcom component compiling after nsIChannel::AsyncWrite interface revision. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@85425 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 13:49:55 +00:00
ben%netscape.com
70779f1c35 Fix for bug 65108, incorrect positioning of menupopups when menulist/menu as child of
deck page. r=pinkerton@netscape.com, a=hyatt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@85423 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 08:38:09 +00:00
mscott%netscape.com
3324fc9657 Bug #3700 --> move canRunURLButBusy back inside the if statement
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@85420 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 06:58:07 +00:00
despotdaemon%netscape.com
2c0b357d22 Pseudo-automatic update of changes made by risto@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@85419 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 05:52:36 +00:00
blakeross%telocity.com
61ebe1c13e Fix 21515: context menu should have filename after `Save Image...'. patch by doron (doronr@naboonline.com). r=blake sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85418 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 05:50:35 +00:00
wtc%netscape.com
7714ba58e7 Bugzilla bug #66286: link libnss3.so with -R '$ORIGIN' on Solaris so that
it searches for libfreebl_*.so in the same directory where it resides.
As a result, libnss3.so, not libnspr4.so, must be the one calling dlopen,
so libnss3.so can't call PR_LoadLibraryWithFlags.
Modified files: lib/freebl/loader.c, lib/nss/config.mk


git-svn-id: svn://10.0.0.236/trunk@85417 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 05:26:19 +00:00
cls%seawood.org
c82b408102 Fix problem of duplicate entry in DIRS that was breaking distclean. Bug #64521
git-svn-id: svn://10.0.0.236/trunk@85416 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 04:40:08 +00:00
nelsonb%netscape.com
e2bb2506f2 Always detect failure of RNG_RNGInit(), which on Solaris and HPUX systems
typically signifies a failure to load the freebl DSO.  Fixes 66229.
r & a = wtc


git-svn-id: svn://10.0.0.236/trunk@85415 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 04:20:10 +00:00
cls%seawood.org
67e4f68dca Skip AC_PATH_PROG* checks for win32. r=bryner
git-svn-id: svn://10.0.0.236/trunk@85414 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 04:08:09 +00:00
javi%netscape.com
d785c292ab Don't build cmd directory for mozilla builds.
git-svn-id: svn://10.0.0.236/trunk@85413 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 03:45:53 +00:00
blakeross%telocity.com
fd560188ba Fix 64969: can't drag urls out of message pane or window. r=timeless sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85412 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 03:31:55 +00:00
dave%intrec.com
a0cab66e7e Fix for bug 31295: use checkbox for votes if only one vote allowed. Also eliminate displaying products with no votes. Patch by Stephan Niemz <st.n@gmx.net>
git-svn-id: svn://10.0.0.236/trunk@85411 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 02:41:41 +00:00
mkaply%us.ibm.com
7e53760a43 r=mkaply, a=blizzard
Remove hardcoded font for DBCS and button


git-svn-id: svn://10.0.0.236/trunk@85410 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 02:22:06 +00:00
blakeross%telocity.com
15b8ac0611 Fix 66212: some accessibility/tab order/focus stuff. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85409 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 02:12:26 +00:00
dave%intrec.com
a37eb06e83 Fix for bug 45784: URL field truncated at quote marks. Patch by
jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@85408 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 01:54:42 +00:00
mkaply%us.ibm.com
f262050f45 r=mkaply, a=blizzard
256 color and print cleanup


git-svn-id: svn://10.0.0.236/trunk@85407 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 01:49:40 +00:00
dr%netscape.com
082e87300d fix for 65897 (fixes annoying warning in nsIStyleSet.h) r=saari, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85406 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 01:36:03 +00:00
darin%netscape.com
0b664c3739 update
git-svn-id: svn://10.0.0.236/trunk@85405 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 01:33:40 +00:00
darin%netscape.com
503c657144 Ported to WIN32
git-svn-id: svn://10.0.0.236/trunk@85404 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 01:18:23 +00:00
mkaply%us.ibm.com
b73fbb240f OS/2 TB Breakage
Need cast, and mkdir to PR_MkDir


git-svn-id: svn://10.0.0.236/trunk@85403 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 01:12:07 +00:00
mkaply%us.ibm.com
8ad157b443 No bug
r=jkobal, a=blizzard
Remove XP_OS2 codepath so Templates and Unsent Messages work


git-svn-id: svn://10.0.0.236/trunk@85402 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 00:50:14 +00:00
nhotta%netscape.com
8a88630081 Check in for yokoyama, fixing Macintosh bustage.
git-svn-id: svn://10.0.0.236/trunk@85401 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 00:33:28 +00:00
dbaron%fas.harvard.edu
cdba004107 Change case of #include since filenames are case sensitive on some platforms.
git-svn-id: svn://10.0.0.236/trunk@85400 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 23:52:37 +00:00
darin%netscape.com
6396e1cbf0 Fixes speedracer SunOS/Sparc bustage.
git-svn-id: svn://10.0.0.236/trunk@85399 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 23:40:50 +00:00
dmose%mozilla.org
be0d44a2af fix bug 66238: buggy datasources could indirectly cause the delegates list for a resource to be corrupted. added sanity-checking. r=waterson@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85398 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 23:10:53 +00:00
darin%netscape.com
78936aa057 Bug 62566. Left out a change to makefile.win.
git-svn-id: svn://10.0.0.236/trunk@85397 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:57:30 +00:00
timeless%mac.com
36ab569b61 fix bug 62703 Mail Compose: Need mnemonics for "Attachments" and "Subject"
patch by hwaara@chello.se, r=timeless, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@85396 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:48:46 +00:00
mscott%netscape.com
d491c5014f clean up some rv error code handling
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85395 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:35:54 +00:00
yokoyama%netscape.com
536c9ab27d Fix for 22921; nsIModule code. /sr=ftang
git-svn-id: svn://10.0.0.236/trunk@85394 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:33:22 +00:00
dbaron%fas.harvard.edu
eef640ad56 Add dbm to REQUIRES to fix MOZ_TRACK_MODULE_DEPS bustage.
git-svn-id: svn://10.0.0.236/trunk@85393 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:30:05 +00:00
av%netscape.com
98cb854564 Part of the 61388 fix. Adding mechanism for refreshing plugin list and reloading the page to DOM, sr=vidur, a=r=jst.
git-svn-id: svn://10.0.0.236/trunk@85392 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:29:41 +00:00
radha%netscape.com
177db2feca Fix for bug # 41973 (Redireted urls are not marked visited) r=rpotts sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85391 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:16:40 +00:00
darin%netscape.com
73495dffa0 Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@85390 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:10:34 +00:00
darin%netscape.com
216614e3b9 Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup. r=dougt, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85389 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:03:51 +00:00
blakeross%telocity.com
e1c43422a5 Fix 25369: doron's patch to implement Fishcam! r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85388 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 21:57:07 +00:00
kin%netscape.com
5c7468c52a Fix for bug #6254 (Find/Replace needs to be implemented.)
First pass implementation of Find and Replace.
sr=sfraser@netscape.com  r=ducarroz@netscape.com

New Files:

    editor/txtsvc/macbuild/txtsvcIDL.mcp
    editor/txtsvc/public/MANIFEST_IDL
    editor/txtsvc/public/nsIFindAndReplace.idl
    editor/txtsvc/src/nsFindAndReplace.cpp
    editor/txtsvc/src/nsFindAndReplace.h
    xpfe/components/find/resources/replacedialog.js
    xpfe/components/find/resources/replacedialog.xul
    xpfe/components/find/resources/locale/en-US/replacedialog.dtd


Modified Files:

    build/mac/build_scripts/MozillaBuildList.pm
    editor/base/nsEditorShell.cpp
    editor/idl/nsIEditorShell.idl
    editor/txtsvc/macbuild/txtsvc.mcp
    editor/txtsvc/public/Makefile.in
    editor/txtsvc/public/makefile.win
    editor/txtsvc/public/MANIFEST
    editor/txtsvc/src/Makefile.in
    editor/txtsvc/src/makefile.win
    editor/txtsvc/src/nsTextServicesFactory.cpp
    editor/ui/composer/content/ComposerCommands.js
    editor/ui/composer/content/editor.js
    editor/ui/composer/content/editorOverlay.xul
    editor/ui/composer/locale/en-US/editorOverlay.dtd
    mailnews/compose/resources/content/messengercompose.xul
    mailnews/compose/resources/content/MsgComposeCommands.js
    mailnews/compose/resources/locale/en-US/messengercompose.dtd
    xpfe/components/jar.mn
    xpfe/components/find/public/nsIFindComponent.idl
    xpfe/components/find/public/nsISearchContext.idl
    xpfe/components/find/resources/makefile.win
    xpfe/components/find/resources/MANIFEST
    xpfe/components/find/resources/locale/en-US/MANIFEST
    xpfe/components/find/src/nsFindComponent.cpp
    xpfe/components/find/src/nsFindComponent.h


git-svn-id: svn://10.0.0.236/trunk@85387 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 21:55:31 +00:00
kin%netscape.com
5b0c6da155 Fix for bug #6254 (Find/Replace needs to be implemented.)
First pass implementation of Find and Replace.
sr=sfraser@netscape.com  r=ducarroz@netscape.com

New Files:

    editor/txtsvc/macbuild/txtsvcIDL.mcp
    editor/txtsvc/public/MANIFEST_IDL
    editor/txtsvc/public/nsIFindAndReplace.idl
    editor/txtsvc/src/nsFindAndReplace.cpp
    editor/txtsvc/src/nsFindAndReplace.h
    xpfe/components/find/resources/replacedialog.js
    xpfe/components/find/resources/replacedialog.xul
    xpfe/components/find/resources/locale/en-US/replacedialog.dtd


Modified Files:

    build/mac/build_scripts/MozillaBuildList.pm
    editor/base/nsEditorShell.cpp
    editor/idl/nsIEditorShell.idl
    editor/txtsvc/macbuild/txtsvc.mcp
    editor/txtsvc/public/Makefile.in
    editor/txtsvc/public/makefile.win
    editor/txtsvc/public/MANIFEST
    editor/txtsvc/src/Makefile.in
    editor/txtsvc/src/makefile.win
    editor/txtsvc/src/nsTextServicesFactory.cpp
    editor/ui/composer/content/ComposerCommands.js
    editor/ui/composer/content/editor.js
    editor/ui/composer/content/editorOverlay.xul
    editor/ui/composer/locale/en-US/editorOverlay.dtd
    mailnews/compose/resources/content/messengercompose.xul
    mailnews/compose/resources/content/MsgComposeCommands.js
    mailnews/compose/resources/locale/en-US/messengercompose.dtd
    xpfe/components/jar.mn
    xpfe/components/find/public/nsIFindComponent.idl
    xpfe/components/find/public/nsISearchContext.idl
    xpfe/components/find/resources/makefile.win
    xpfe/components/find/resources/MANIFEST
    xpfe/components/find/resources/locale/en-US/MANIFEST
    xpfe/components/find/src/nsFindComponent.cpp
    xpfe/components/find/src/nsFindComponent.h


git-svn-id: svn://10.0.0.236/trunk@85386 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 21:55:04 +00:00
racham%netscape.com
ac0d97dc3d Fixing bugs 14301, 29745, 46450, 60668 and 63251. Fixes to bug 63251 includes introduction os new AccountCentral page. When user selects an account in the folder pane of the messenger, AccountCentral page is displayed inplace of threadpane and messagepane. This page contains links to various account related activities like read, search, compose messages and others. Bugs 14301 and 60668 are fixed so that we logon to the default account all other accounts that have been asked to login at startup. Fix to bug 29745 displays customized email description text on AcctWizard identity page. r=sspitzer sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85385 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 21:54:34 +00:00
racham%netscape.com
be89bec3b7 Fixing bugs 29745, 63251. While fixing bug 29745, A new class for labels is added to the messenger.css file to avoid inline style attirbutes in acctwizard identity screen. Style rules for AccountCentral page items are introduced. r=sspitzer, hewitt sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85384 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 21:54:27 +00:00
racham%netscape.com
8a6823dd9c Fixing bugs 14301 and 63251. As a part of fix to bug 14301, Setting the default value of the pref that says log onto this account at startup to false. All newly created accounts will not have this one turned on and interested users with multiple accounts will have to manually turn it on, by turning the checkbox on, to take the advantage multiple logins at startup. While fixing bug 63251, a new pref is added to findout the url of the page that need to be displayed in the AccountCentral frame. r=sspitzer sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85383 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 21:54:12 +00:00
pavlov%netscape.com
868810fe5e adding imageframe/container to xlib
git-svn-id: svn://10.0.0.236/trunk@85378 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 20:46:36 +00:00
wtc%netscape.com
73df3a377c Bugzilla bug #66325: use the DYNAMIC_PATH flag for shl_load() only if the
specified path name is a plain file name (containing no directory), to
match the behavior of dlopen().


git-svn-id: svn://10.0.0.236/trunk@85377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 20:46:25 +00:00
despotdaemon%netscape.com
bf36fff372 Pseudo-automatic update of changes made by risto@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@85373 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 20:22:45 +00:00
jst%netscape.com
8ef3d5aa32 Renaming interfaces that were incorrectly converted by my IDLC to XPIDL script.
git-svn-id: svn://10.0.0.236/trunk@85372 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 19:55:34 +00:00
beard%netscape.com
f0878fb57e [not part of build] Added UTCUtils to reflect new dependencies in JS engine.
git-svn-id: svn://10.0.0.236/trunk@85371 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 19:54:49 +00:00
despotdaemon%netscape.com
80b98011fd Pseudo-automatic update of changes made by risto@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@85370 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 19:45:46 +00:00
nboyd%atg.com
2de6839f87 Subject:
Re: Small usage simplification for Rhino
       Date:
            Tue, 23 Jan 2001 16:01:42 +0100
      From:
            Igor Bukanov <igor@icesoft.no>
        To:
            Norris Boyd <nboyd@atg.com>
 References:
            1 , 2 , 3 , 4




Norris Boyd wrote:

> Thanks. I've patched in your changes and checked it into CVS.

I also looked at other places with similar pattern of few lines of
common code to construct error messages. The following was occurred too
often not to avoid temptations to move it to a separated function:

NativeGlobal.constructError(
Context.getContext(), "TypeError",
ScriptRuntime.getMessage1("msg.default.value", arg),
this)

It can be replaced by
NativeGlobal.typeError1("msg.default.value", arg, this)

There are other similar usages but they are not to frequent to bother
with code reduction because even the above replacement saves just 200
bytes in uncompressed jars (it is expensive to introduce new methods in
Java).

In any case, if you think it makes any sense, patches are attached. They
are made via
diff -cbB javascript.orig javascript > patch_context
diff -bB javascript.orig javascript > patch_std
from org/mozilla directory.

Regards, Igor


git-svn-id: svn://10.0.0.236/trunk@85369 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 19:35:35 +00:00
nboyd%atg.com
8384e4657c Fix problem:
Subject:
        Recent rhino broke security support
   Date:
        Tue, 23 Jan 2001 08:07:45 -0500
   From:
        "Kurt Westerfeld" <kurt@managedobjects.com>
     To:
        "Norris Boyd" <nboyd@atg.com>


Norris.....I like the changes made to FunctionObject to do method invocation
much faster.  Very slick.

Problem tho: this mechanism does not veer into the security support plugin
on context for defining a class.  This is crucial do creating event adapter
code later in applet environments.

I'm going to look into this, but perhaps you could probably make the changes
faster than I.

Unfortunately for us, we found this problem yesterday at a customer site.
:-(  Shame on us.

________________________________________________________________________
  Kurt Westerfeld
  Senior Software Architect
  Managed Objects
  mailto:kwester@ManagedObjects.com
  703.770.7225
  http://www.ManagedObjects.com

  Managed Objects: manage technology > rule business


git-svn-id: svn://10.0.0.236/trunk@85367 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 17:48:41 +00:00
cls%seawood.org
955ae13710 Add --enable-boehm to nspr autoconf
git-svn-id: svn://10.0.0.236/trunk@85366 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 15:55:29 +00:00
cls%seawood.org
34903f9f84 Generalize xpinstaller/Makefile.in so that the name of the package can be changed via the env.
Add regchrome & installed-chrome.txt to unix package list.
Add --flat/-l option to pkgcp.pl so that the intermediate component directory is not created.
Added dist target to xpinstaller/Makefile which will create a tarball using the packages file for a list.
Add BZ2 package type.
Thanks to Ben Bucksch <mozilla@bucksch.org> for the patch.
Bug #53462. r=cls


git-svn-id: svn://10.0.0.236/trunk@85365 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 15:53:12 +00:00
cls%seawood.org
6264aad9d1 Fix for BeOS problem of stripping away needed file attributes.
Thanks to Wade Majors <guru@startrek.com> for the patch.
Bug #66180. r=cls


git-svn-id: svn://10.0.0.236/trunk@85364 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 15:34:56 +00:00
ccarlen%netscape.com
ebf1139ffa NOT PART OF THE BUILD - Adding profile management.
git-svn-id: svn://10.0.0.236/trunk@85363 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 15:32:57 +00:00
brade%netscape.com
841d1f1730 fix call to focus to have () and add var; sr=kin
git-svn-id: svn://10.0.0.236/trunk@85362 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 15:31:08 +00:00
ccarlen%netscape.com
77cb259a7d NOT PART OF THE BUILD - Adding profile management to this embedding sample.
git-svn-id: svn://10.0.0.236/trunk@85361 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 15:30:56 +00:00
nboyd%atg.com
c6eb5da664 Fix formatting
git-svn-id: svn://10.0.0.236/trunk@85360 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 14:24:39 +00:00
locka%iol.ie
3a80656b87 Added a timer to the message loop to prevent 100% cpu usage when the message queue was empty. b=58701
git-svn-id: svn://10.0.0.236/trunk@85359 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 14:15:57 +00:00
jst%netscape.com
ba329b0451 Fixing bug 57772. Hooking document.getSelection() into window.getSelection().toString() which does the right thing (i.e. doesn't produce pretty printed text). r=heikk@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85358 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 07:45:08 +00:00
jst%netscape.com
1e3e1cbc56 Fixing bug 47733. Making document.implementation.createDocument() set up the root element in the document correctly so that it's parent and owner document is the document that it's in. r=heikki@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85357 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 07:42:20 +00:00
sonmi%netscape.com
872459e400 cleanup after testclient -q successfully connected before exiting
git-svn-id: svn://10.0.0.236/trunk@85353 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 05:01:24 +00:00
sonmi%netscape.com
5dbd65da50 do_accept now ignores the PR_CONNECT_RESET_ERROR
git-svn-id: svn://10.0.0.236/trunk@85352 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 04:56:53 +00:00
pinkerton%netscape.com
d4e8ce7976 Now that the ELM bug has been fixed, pull out the kungFuDeathGrips. Also make the browser chrome a strong ref so we can still hide the tooltip when the window is closed with one up. r=saari/a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@85351 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 04:41:17 +00:00
pinkerton%netscape.com
ecea8a7893 probably a cut/paste error. RemoveEventListenerByIID() shouldn't be implemented by calling AddEventListenerByIID() ;) r=danm/sr=ben
git-svn-id: svn://10.0.0.236/trunk@85350 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 04:32:53 +00:00
gordon%netscape.com
887dd469f0 Separate tests for reading and writing.
git-svn-id: svn://10.0.0.236/trunk@85349 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 04:16:27 +00:00
chuang%netscape.com
6ca12734ce Bug60107 Preference for limiting number of Collected Addresses not working, r=ducarroz, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85347 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 04:11:41 +00:00
javi%netscape.com
58815b985a Replace all references to gmake with $(MAKE).
git-svn-id: svn://10.0.0.236/trunk@85346 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 04:06:37 +00:00
gordon%netscape.com
4850b7f05d Adding performance test for disk cache.
git-svn-id: svn://10.0.0.236/trunk@85345 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 03:33:03 +00:00
dbaron%fas.harvard.edu
ba2d31bf1e Add timer to REQUIRES to fix senna tinderbox bustage.
git-svn-id: svn://10.0.0.236/trunk@85344 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 03:21:54 +00:00
javi%netscape.com
d378b1a6d7 Bring forward some functionality from PSM classic used in initializing
SSL sockets.

Put in the skeleton for the bad cert callback.


git-svn-id: svn://10.0.0.236/trunk@85343 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 03:16:45 +00:00
pinkerton%netscape.com
3cfe9a1281 Fixes a leak where an object registered to listen to multiple IID's
wouldn't get released until the manager shut down. Now gets released
when the last IID listened to is removed. r=danm,a=hyatt.


git-svn-id: svn://10.0.0.236/trunk@85342 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 03:10:25 +00:00
curt%scruznet.com
83b9ae8693 Somewhere along the line the 5 yahoos at the beginning got removed so I'm
putting them back.  See notes for version 1.2.


git-svn-id: svn://10.0.0.236/trunk@85341 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 03:04:12 +00:00
curt%scruznet.com
c94e187eeb Added 5 international urls to the list.
git-svn-id: svn://10.0.0.236/trunk@85340 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 02:59:48 +00:00
dbaron%fas.harvard.edu
a74a709ce4 Add timer to REQUIRES to fix senna tinderbox bustage.
git-svn-id: svn://10.0.0.236/trunk@85339 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 02:30:41 +00:00
jst%netscape.com
a12de9afe9 Checking in rods@netscape.com's patch for bug 60049. The implementation of document.clear() in mozilla was incorrectly clearing the whole document, the same method in NS 4.x and IE seem to do nothing so with this patch document.clear() is a nop. r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85338 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 02:20:33 +00:00
pavlov%netscape.com
efc0f73ba5 hee hee. threads are fun
git-svn-id: svn://10.0.0.236/trunk@85337 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 02:02:29 +00:00
sonmi%netscape.com
30023397c3 Since we have frozen the tip I only checked in high priority fixes.
The individual fixes:
1) A complete QA failure produces a readable email now
2) the nssqa has goes thru a central Exit
3) hanging processes under NT and Win2K are killed (tail -f)
4) Functionallity is implemented to kill other remaining processes (killpif file)
5) improved general cleanup in Exit functions
6) the header is sourced from the nssqa dir rateher than /u/sonmi/bin
7) Problems with QA being reported as passed even if missing fixed
8) Most problems with the "missing Platform list" fixed
9) One QA failure path (cd to a dir without permission) did not give
	errormessage about the reason of failure before
10) fixed html errors in generated email
11) stopped filtering the "bad password" cases as real failures (was fixed in
	nssqa a while ago, but still filtered
12) removing more tmp files from /tmp (decreased debugging)


git-svn-id: svn://10.0.0.236/trunk@85336 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 01:51:47 +00:00
sonmi%netscape.com
5f8b25434f added information in the result.html when selfserver dies (previously
only in output.log)


git-svn-id: svn://10.0.0.236/trunk@85335 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 01:47:32 +00:00
pinkerton%netscape.com
37385c44d0 Support for image copying, using nsImageClipboard helper object. r=saari, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@85334 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 01:09:58 +00:00
pinkerton%netscape.com
ec054af628 prepare for image copying r=saari, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85333 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:48:53 +00:00
pinkerton%netscape.com
961cbd5d2d implement nsITooltipListener with baloon help r=saari, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85332 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:48:35 +00:00
pinkerton%netscape.com
3ef2f816f0 Support tooltips in embedding code with new nsITooltipListener interface. Refactor listeners into separate object to simplify ownership and removed Release() hack. r=saari, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85331 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:47:02 +00:00
mkaply%us.ibm.com
1ea7d8195c r=mkaply, a=blizzard
More code cleanup


git-svn-id: svn://10.0.0.236/trunk@85330 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:43:28 +00:00
pinkerton%netscape.com
14c6ef323e refactoring some code, and preparing for image copying. r=saari, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85329 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:43:09 +00:00
pinkerton%netscape.com
3697e0cb03 since we've decided upon no DnD w/out XUL, commenting out hookup of XBL drag handlers. r=saari, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85328 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:41:54 +00:00
pinkerton%netscape.com
ee75b9a33a updating some comments r=saari, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85327 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:40:24 +00:00
pinkerton%netscape.com
ea11a14e89 Fix for leakage of nsScreenWin object in embedding case. r=saari, sr=sfraser. bug# 43590.
git-svn-id: svn://10.0.0.236/trunk@85326 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:39:40 +00:00
pinkerton%netscape.com
77d01231b1 Start building nsImageClipboard and make it compile. r=saari/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@85325 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:28:36 +00:00
pavlov%netscape.com
2f7214e472 adding loopcount and timeout to the frame/container
git-svn-id: svn://10.0.0.236/trunk@85324 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:28:03 +00:00
sspitzer%netscape.com
8a92ca90b9 persist size when using the vertical mail layout. thanks to kerz for the
patch.  (part of #32148)


git-svn-id: svn://10.0.0.236/trunk@85323 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:24:12 +00:00
jgaunt%netscape.com
25bff620ce bug# 62489 r=bnesse@netscape.com sr=buster@netscape.com a=av@netscape.com
population of filename for plugins at load time, and freeing of that variable as well.


git-svn-id: svn://10.0.0.236/trunk@85321 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:10:42 +00:00
ducarroz%netscape.com
58479b7359 Fix for bug 61437. Remove unused code and cleanup mess with mEntityConvertionDone which was causing plain text body to be converted twice. R=sspitzer, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@85320 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 00:03:25 +00:00
ashuk%eng.sun.com
68919200cf author=ashuk@eng.sun.com
r=edburns@acm.org
sr=leaf@mozilla.org

Bug - 64455

This fix allows the Java modules within Mozilla to Build on Win98
and Win ME. This fix modifies the file
mozilla/config/buildpkg.bat

The buildpkg.bat file contains pushd and popd which are shell
utilities available under Win NT and Win 2K, but not in Win98
or Win ME. This caused the build to fail for the Java modules
like Blackwood (mozilla/java) on Win98/ME.

---------------- cvs diff -u of fix -------------------------

Index: buildpkg.bat
===================================================================
RCS file: /cvsroot/mozilla/config/buildpkg.bat,v
retrieving revision 3.4
diff -r3.4 buildpkg.bat
26c26
< pushd %2
---
> cd %2
44d43
< popd

*****CVS exited normally with code 1*****


git-svn-id: svn://10.0.0.236/trunk@85319 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 23:24:34 +00:00
sfraser%netscape.com
8410bfe40c Just correct a comment in this file, which is not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@85318 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 23:18:50 +00:00
vidur%netscape.com
5624d576e9 Fix for bug 63081. We remove carriage returns passed to us by the parser in the copy from the sink buffer to the content model. r=jst
git-svn-id: svn://10.0.0.236/trunk@85317 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 23:11:02 +00:00
mkaply%us.ibm.com
bdb40b4833 r=mkaply, a=blizzard
jkobal - regression fix for clipboard


git-svn-id: svn://10.0.0.236/trunk@85316 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 23:07:55 +00:00
danm%netscape.com
9fd692eed2 RevokeEvents now walks the chain to elder queues. bug 65243 r=buster,kmcclusk,pavlov
git-svn-id: svn://10.0.0.236/trunk@85315 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 23:01:03 +00:00
dbragg%netscape.com
bd511e32f8 fix for build bustage. Leftover nsProcessWin.h in my include dir.
git-svn-id: svn://10.0.0.236/trunk@85314 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 22:38:43 +00:00
rogerl%netscape.com
c51683be3f More fixes for #64285 - i had mis-merged from SpiderMonkey.
git-svn-id: svn://10.0.0.236/trunk@85313 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 22:30:37 +00:00
buster%netscape.com
fd97a9afbb bug 13553 (Table doesn't render properly)
patch submitted by bernd.mielke@snafu.de
r=waterson
sr=buster


git-svn-id: svn://10.0.0.236/trunk@85312 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 22:10:05 +00:00
pavlov%netscape.com
2efa0db5b0 adding more unix makefiles
git-svn-id: svn://10.0.0.236/trunk@85311 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 22:05:48 +00:00
pavlov%netscape.com
993c296551 some code for new imagelib (not part of bulid)
git-svn-id: svn://10.0.0.236/trunk@85310 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 22:01:03 +00:00
axel%pike.org
684c6ba2f8 not part of build, simple fix to get |NodeType()| right, have comment nodes in standalone, warning fix in nsNodeSet.h
git-svn-id: svn://10.0.0.236/trunk@85309 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:54:23 +00:00
pinkerton%netscape.com
e0dea7a434 initial checkin, not yet built. r=saari, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85308 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:53:32 +00:00
dbragg%netscape.com
457bb93d9b Final step in adding nsIProcess to build. a=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85307 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:52:01 +00:00
dbragg%netscape.com
b6aa85bca0 Adding nsIProcess to the mac build. a=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85306 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:50:54 +00:00
pinkerton%netscape.com
81ace2fa5a add comment pointing to embedding c++ code for TITLE attributes. r=saari/sr=sfraser&ben
git-svn-id: svn://10.0.0.236/trunk@85305 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:50:49 +00:00
dbragg%netscape.com
2e94493337 Adding nsIProcess to the Mac build. a=dougt, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85304 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:50:27 +00:00
yokoyama%netscape.com
b25d771e9e Fixed 22921; nsIModule code. /r=valeski /sr=ftang
git-svn-id: svn://10.0.0.236/trunk@85303 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:49:03 +00:00
nhotta%netscape.com
8e448a602b Moved charset folder UI into folder property dialog. bug 65018, r=sspitzer, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@85302 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:48:21 +00:00
dbragg%netscape.com
51ee444251 First part of adding nsIProcess to the Mac build (MANIFEST file). r=dougt, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85301 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:46:14 +00:00
pinkerton%netscape.com
92c909d50a build nsITooltipListener.idl r=saari/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@85300 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:45:02 +00:00
dbragg%netscape.com
830b5d58df Adding nsIProcess to unix build. a=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85299 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:44:04 +00:00
pinkerton%netscape.com
4ff1e419f4 build new interface r=saari/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@85298 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:43:49 +00:00
dbragg%netscape.com
c8716317df Adding nsIProcess to windows build. a=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85297 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:42:20 +00:00
pinkerton%netscape.com
fca1e54ef0 new api for embedding. r=saari/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@85296 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:41:53 +00:00
amasri%netscape.com
2c2ca92505 Added comments as workaround for mozilla bug #64199, r=naving
git-svn-id: svn://10.0.0.236/trunk@85295 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:41:48 +00:00
dbragg%netscape.com
44e9d0cf4d Added CR to end of file for certain unix platforms.(originally checked in from windows as part of fix for 62167
git-svn-id: svn://10.0.0.236/trunk@85294 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 21:40:33 +00:00
ccarlen%netscape.com
28c7f40755 Fixing bustage to XPCOM_STANDALONE build caused by my check in for bug 64501. sr=jband
git-svn-id: svn://10.0.0.236/trunk@85293 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 20:59:37 +00:00
ssu%netscape.com
fc6813053a fixing tree redness
git-svn-id: svn://10.0.0.236/trunk@85292 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 20:53:31 +00:00
blakeross%telocity.com
3263d2140c Fix 66135: use option, not command, for moving to and selecting previous/next word on mac. r=timeless sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85291 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 20:34:04 +00:00
blakeross%telocity.com
c37d6c3ae3 Fix 33115: attempt to shave milliseconds off of startup time by removing obsolete/unused prefs. more to come. r=timeless,sspitzer sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85290 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 20:30:26 +00:00
nboyd%atg.com
67c42da429 Subject:
Re: Small usage simplification for Rhino
       Date:
            Mon, 22 Jan 2001 20:32:12 +0100
      From:
            Igor Bukanov <igor@icesoft.no>
        To:
            Norris Boyd <nboyd@atg.com>
 References:
            1 , 2




Norris Boyd wrote:

> Sounds like a good change to reduce codesize. I'll take the patches for the
> changes.
>
> Thanks,
> Norris

I made this patch, the files in the attachment were produced via:
diff -bB javascript.orig javascript -c > patch_context
and
diff -bB javascript.orig javascript > patch_std

run from org/mozilla directory.

This patch reduces uncopressed Rhino jar by 3K.

>
> Igor Bukanov wrote:
>
>
>> Hi, Noris!
>>
>> To shorten/cleanup usage of getMessage and reportRuntimeError methods
>> from org/mozilla/javascript/Context.java I suggest to add few utility
>> methods like
>>
>>      static String getMessage0(String messageId) {
>>          return getMessage(messageId, null);
>>      }
>>
>>      static String getMessage1(String messageId, Object arg1) {
>>          Object[] arguments = {arg1};
>>          return getMessage(messageId, arguments);
>>      }
>>
>>      static String getMessage2(String messageId, Object arg1, Object arg2) {
>>          Object[] arguments = {arg1, arg2};
>>          return getMessage(messageId, arguments);
>>      }
>>
>>      static String getMessage3
>>          (String messageId, Object arg1, Object arg2, Object arg3) {
>>          Object[] arguments = {arg1, arg2, arg3};
>>          return getMessage(messageId, arguments);
>>      }
>>
>> and
>>
>>      static EvaluatorException reportRuntimeError0(String messageId) {
>>          return reportRuntimeError(getMessage0(messageId));
>>      }
>>
>>      static EvaluatorException reportRuntimeError1
>>          (String messageId, Object arg1)
>>      {
>>          return reportRuntimeError(getMessage1(messageId, arg1));
>>      }
>>
>>      static EvaluatorException reportRuntimeError2
>>          (String messageId, Object arg1, Object arg2)
>>      {
>>          return reportRuntimeError(getMessage2(messageId, arg1, arg2));
>>      }
>>
>>      static EvaluatorException reportRuntimeError3
>>          (String messageId, Object arg1, Object arg2, Object arg3)
>>      {
>>          return reportRuntimeError(getMessage3(messageId, arg1, arg2,
>> arg3));
>>      }
>>
>> This allows to write, for example, instead of
>>
>>               Object[] args = { Integer.toString(base) };
>>               throw Context.reportRuntimeError(getMessage
>>                                                ("msg.bad.radix", args));
>> simply
>>               throw Context.reportRuntimeError1(
>>                   "msg.bad.radix", Integer.toString(base));
>>
>> which is not only easy to read but also generates less code.
>>
>> I attach my patch to Context.java to implement this plus a patch to
>> ScriptRuntime.java that utilizes the additions. The patches are in
>> standard and context versions.
>>
>> If you think that this make sense to incorporate, I can send a patch
>> that utilizes this everywhere.
>>
>>   ------------------------------------------------------------------------
>>                                  Name: patch.context.Context.java
>>    patch.context.Context.java    Type: Plain Text (text/plain)
>>                              Encoding: base64
>>
>>                              Name: patch.std.Context.java
>>    patch.std.Context.java    Type: Plain Text (text/plain)
>>                          Encoding: base64
>>
>>                                        Name: patch.context.ScriptRuntime.java
>>    patch.context.ScriptRuntime.java    Type: Plain Text (text/plain)
>>                                    Encoding: base64
>>
>>                                    Name: patch.std.ScriptRuntime.java
>>    patch.std.ScriptRuntime.java    Type: Plain Text (text/plain)
>>                                Encoding: base64
>>
>>               Name: all.zip
>>    all.zip    Type: Zip Compressed Data (application/x-zip-compressed)
>>           Encoding: base64


git-svn-id: svn://10.0.0.236/trunk@85289 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 20:28:34 +00:00
shanjian%netscape.com
7a5d852ec4 #62690 need to handle double click in language add dialog box
r = nhotta
sr = ben


git-svn-id: svn://10.0.0.236/trunk@85288 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 20:28:17 +00:00
bienvenu%netscape.com
24eb535f62 fix news not to open a new connection for ever post r=sspitzer, sr=mscott 65975
git-svn-id: svn://10.0.0.236/trunk@85287 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 20:24:12 +00:00
axel%pike.org
e19321d9f6 not part of build, code by peterv, r=me. Getting xhtml output right. little fix for translate(), comment cleanup
git-svn-id: svn://10.0.0.236/trunk@85286 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 20:23:50 +00:00
bryner%uiuc.edu
a3c63d5708 Updating to (hacked) gmake 3.79.1. The old version has problems with building NSPR using the autoconf build (clobber_all in nsprpub/config fails).
r=cls, leaf.


git-svn-id: svn://10.0.0.236/trunk@85285 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 20:18:32 +00:00
ssu%netscape.com
74a3ed8284 fixing bug 59105 - chrome install hangs when target is not an install file. sr=mscott, r=dveditz.
git-svn-id: svn://10.0.0.236/trunk@85284 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 20:15:49 +00:00
mcgreer%netscape.com
44274af2ae add option for db prefix
git-svn-id: svn://10.0.0.236/trunk@85283 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 20:14:05 +00:00
sspitzer%netscape.com
751ff5fd06 "Edit | Properties" -> "Edit | Properties..."
patch from hwaara@chello.se
r=sspitzer, r=jglick, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@85282 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 20:05:51 +00:00
mcgreer%netscape.com
6d30756adc dbprefix option added
git-svn-id: svn://10.0.0.236/trunk@85281 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 19:51:41 +00:00
wtc%netscape.com
bb21be13f4 Bugzilla bug #65918: do not build shared libraries on OSF1 with the -all
linker option.  The temporary workaround in two makefiles were removed.
Modified Files:
	coreconf/OSF1.mk nss/lib/ckfw/builtins/Makefile
	nss/lib/fortcrypt/swfort/pkcs11/Makefile


git-svn-id: svn://10.0.0.236/trunk@85279 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 17:16:47 +00:00
axel%pike.org
c9c6397147 not part of build, namespace handling changed, synching mozilla parts, r=peterv
git-svn-id: svn://10.0.0.236/trunk@85278 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 15:53:06 +00:00
axel%pike.org
e945c0f86e not part of build, I hope that's all of WildCardExpr.cpp
git-svn-id: svn://10.0.0.236/trunk@85277 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 15:03:12 +00:00
axel%pike.org
1f1a62e298 not part of build, removing unused file WildCardExpr.cpp
git-svn-id: svn://10.0.0.236/trunk@85276 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 14:21:21 +00:00
axel%pike.org
9886dc43ba not part of build, bring build in synch with Keith's changes
git-svn-id: svn://10.0.0.236/trunk@85275 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 14:12:16 +00:00
axel%pike.org
e12cf49204 not part of build, forgot idl file in last checkin.
git-svn-id: svn://10.0.0.236/trunk@85274 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 12:33:50 +00:00
ben%netscape.com
f71544bac5 New bookmarks window stuff, not yet part of build.
git-svn-id: svn://10.0.0.236/trunk@85273 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 10:36:40 +00:00
kvisco%ziplink.net
a0680dae28 Not part of regular build. Added attribute axis test.
git-svn-id: svn://10.0.0.236/trunk@85272 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 09:56:42 +00:00
kvisco%ziplink.net
e32885e432 Not part of regular build. Improved namespace handling.
git-svn-id: svn://10.0.0.236/trunk@85271 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 09:39:55 +00:00
kvisco%ziplink.net
0e45fd1cab Not part of regular build. NamedMap now handles TxObject instead of MITREObject
git-svn-id: svn://10.0.0.236/trunk@85270 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 09:38:29 +00:00
kvisco%ziplink.net
a85626b345 Not part of regular build. Removed WildCardExpr, updated all necessary files.
Removed Token::WILD_CARD. Wild cards are handled in ElementExpr and
AttributeExpr accordingly.


git-svn-id: svn://10.0.0.236/trunk@85269 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 09:36:19 +00:00
kvisco%ziplink.net
e8e57c1c2e Not part of regular build. Added getNameSpace method.
git-svn-id: svn://10.0.0.236/trunk@85268 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 09:32:40 +00:00
pinkerton%netscape.com
75ed388d9c uninitialized event result causing havoc on mac opt builds. Setting it to something reasonable up front fixes form submission. r=timeless,a=ben.
git-svn-id: svn://10.0.0.236/trunk@85267 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 08:34:23 +00:00
jst%netscape.com
e0e6d4b2c7 Fixing cut n' paste error, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@85266 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 08:17:06 +00:00
cls%seawood.org
1452d10423 Fix bug of not generating makefiles for mng. Thanks to Dmitry Kubov <Dmitry@north.cs.msu.su> for the patch
git-svn-id: svn://10.0.0.236/trunk@85265 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 07:55:01 +00:00
cls%seawood.org
dc7d6bdcfb Only run win32 nspr autoconf if configure* has changed. r=bryner
git-svn-id: svn://10.0.0.236/trunk@85264 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 07:38:23 +00:00
cls%seawood.org
14e686a942 Add -l (nolockfiles) option for bassackwards OS's without flock().
git-svn-id: svn://10.0.0.236/trunk@85263 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 07:36:25 +00:00
pavlov%netscape.com
d117a0ec3a some documentation changes
git-svn-id: svn://10.0.0.236/trunk@85262 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 07:32:41 +00:00
pavlov%netscape.com
6140ce15a2 container work
git-svn-id: svn://10.0.0.236/trunk@85261 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 06:43:44 +00:00
jst%netscape.com
e14f654b15 Removing unused variable.
git-svn-id: svn://10.0.0.236/trunk@85260 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 06:38:19 +00:00
cls%seawood.org
e9b80490bd There is no need to invoke recursive makes for the dummy libs & install phases of nspr. Especially when it means having a dummy target in every makefile that has a dependency upon export. Instead, put the dummy target in rules.mk.
git-svn-id: svn://10.0.0.236/trunk@85259 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 06:36:06 +00:00
pavlov%netscape.com
d9c4e14097 added nsIImageContainer and nsIImageFrame and removed nsIImage2
git-svn-id: svn://10.0.0.236/trunk@85258 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 06:22:13 +00:00
cls%seawood.org
e61f75065e Implemented full copy-n-paste support for BeOS.
Thanks to Takashi Toyoshima <toyoshim@be-in.org> for the patch.
Bug #65100 r=cls


git-svn-id: svn://10.0.0.236/trunk@85257 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 05:32:30 +00:00
cls%seawood.org
e37855bb4b Make ::GetPixelDepth() know about rgb16
git-svn-id: svn://10.0.0.236/trunk@85256 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 05:10:15 +00:00
jst%netscape.com
df930a1f3a Interface cleanup, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@85255 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 04:34:24 +00:00
cls%seawood.org
a03d01f103 Add locking to prevent race conditions when building .jars.
Bug #55174 r=axel@pike.org


git-svn-id: svn://10.0.0.236/trunk@85254 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 04:20:55 +00:00
jst%netscape.com
59dd7c14df Interface cleanup, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@85253 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 04:15:37 +00:00
jst%netscape.com
c46251d046 Interface cleanup, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@85252 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 04:09:29 +00:00
hewitt%netscape.com
89e5dd1e29 52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85251 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 04:03:48 +00:00
jst%netscape.com
346ca51af6 Interface cleanup, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@85250 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 04:01:04 +00:00
jst%netscape.com
5c3894a865 Interface cleanup, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@85249 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 02:54:07 +00:00
jst%netscape.com
4fba6cd59c Interface cleanup, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@85248 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 02:36:07 +00:00
jst%netscape.com
758545ab3f Renaming files to make the mac happier, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@85247 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 01:59:47 +00:00
jst%netscape.com
74eb19d5b0 Renaming file to make the mac happier. Not part of the buidl yet
git-svn-id: svn://10.0.0.236/trunk@85246 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 01:53:58 +00:00
jst%netscape.com
7644905403 Removing file that's not needed.
git-svn-id: svn://10.0.0.236/trunk@85245 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 01:26:07 +00:00
cls%seawood.org
c165557134 Fix for clicking on browser window not bring it to front.
Thanks to Takashi Toyoshima <toyoshim@be-in.org> for the patch.
Bug #65126 r=cls


git-svn-id: svn://10.0.0.236/trunk@85244 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 00:39:36 +00:00
bryner%uiuc.edu
8ff3bcea65 Add support for building NSPR with autoconf. Define USE_NSPR_AUTOCONF to turn it on (requires additional tools). r=cls.
git-svn-id: svn://10.0.0.236/trunk@85243 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 00:32:42 +00:00
cls%seawood.org
24ff1e3569 Only print the FIXME:: repaint messages on debug builds as we're still not sure if it is needed.
git-svn-id: svn://10.0.0.236/trunk@85242 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 00:19:00 +00:00
cls%seawood.org
c76db091c7 Implementing file dialogs for BeOS.
Thanks to Makoto Hamanaka <VYA04230@nifty.com> for the patch.
Bug #65423 r=cls


git-svn-id: svn://10.0.0.236/trunk@85241 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 00:00:28 +00:00
cls%seawood.org
5f60f95e2c Initial implementation of file dialogs for BeOS.
Thanks to Makoto Hamanaka <VYA04230@nifty.com> for the new files.
Bug #65423 r=cls


git-svn-id: svn://10.0.0.236/trunk@85240 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 23:58:36 +00:00
cls%seawood.org
94a96cd256 gmake 3.79.1 requires that SHELL be evaluated immediately.
Thanks to Brian Ryner <bryner@uiuc.edu> for the patch.


git-svn-id: svn://10.0.0.236/trunk@85239 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 23:48:08 +00:00
cls%seawood.org
d61b132255 If folders have META:title attribute, then use it as the name of the folder. NetPositive feature matching.
Thanks to Takashi Toyoshima <toyoshim@be-in.org> for the patch.
Bug #65185. r=cls


git-svn-id: svn://10.0.0.236/trunk@85238 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 23:21:11 +00:00
cls%seawood.org
71aea9aaca Implement nsWindow::Enable() for BeOS. Bug #64549
git-svn-id: svn://10.0.0.236/trunk@85237 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 23:03:54 +00:00
cls%seawood.org
9071da80e0 Backing out mouse cursor changes as they are causing a crash on startup due to use of static constructors. Bug #63640
git-svn-id: svn://10.0.0.236/trunk@85236 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 22:56:09 +00:00
jst%netscape.com
9d330c8509 Removing emacs backup file that was accidentally checked in.
git-svn-id: svn://10.0.0.236/trunk@85234 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 22:27:24 +00:00
dbaron%fas.harvard.edu
3e54830daa Adding regression test for bug 4519. (Not part of build.)
git-svn-id: svn://10.0.0.236/trunk@85233 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 21:49:36 +00:00
jst%netscape.com
b39ce32bef Removing file that was checked in by mistake.
git-svn-id: svn://10.0.0.236/trunk@85232 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 11:28:12 +00:00
jst%netscape.com
8d8804bc27 Initial checkin of XPIDL versions of the DOM interfaces. These files are automatically converted from the IDLC files. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@85231 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 10:12:42 +00:00
jst%netscape.com
5ad71c8423 Initial checkin of XPIDL versions of the DOM interfaces. These files are automatically converted from the IDLC files. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@85230 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 09:21:24 +00:00
jst%netscape.com
825ee412c8 Initial checkin of XPIDL versions of the DOM interfaces. These files are automatically converted from the IDLC files. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@85229 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 09:10:30 +00:00
pavlov%netscape.com
201696b1d6 adding image class for mac along with Makefile.in (for osx)
git-svn-id: svn://10.0.0.236/trunk@85228 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 09:02:05 +00:00
jst%netscape.com
a75ee054a1 Initial checkin of XPIDL versions of the DOM interfaces. These files are automatically converted from the IDLC files. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@85227 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 08:51:04 +00:00
jst%netscape.com
36f740f697 Script that converts IDLC files to XPIDL files.
git-svn-id: svn://10.0.0.236/trunk@85226 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 08:43:22 +00:00
bryner%uiuc.edu
9b12bf288a GNU Make 3.79.1, hacked to use shmsdos. This is necessary because the old
version, based off of 3.74, seems to have problems with NSPR autoconf.

r=cls.


git-svn-id: svn://10.0.0.236/trunk@85225 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 08:07:01 +00:00
cls%seawood.org
423e6a842d test
git-svn-id: svn://10.0.0.236/trunk@85224 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 07:19:05 +00:00
cls%seawood.org
46b60c78ea If MOZILLA_CLIENT is set and building on win32, set OS_TARGET to win95 like nsprpub/makefile.win does.
git-svn-id: svn://10.0.0.236/trunk@85223 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 06:42:27 +00:00
cls%seawood.org
4e328f50ac Switch from using $(DIST)/bin, $(DIST)/lib, etc to using $(bindir), $(includedir). This gives us the advantage of being able to set different directories for libs & headers as needed. r=bryner
git-svn-id: svn://10.0.0.236/trunk@85222 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 06:37:45 +00:00
jst%netscape.com
ffd1829cd8 Padding hexadecimal numbers in IID's with zero's to make my life a bit easier when converting the DOM to use XPConnect.
git-svn-id: svn://10.0.0.236/trunk@85220 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 06:11:05 +00:00
jst%netscape.com
a33713624e Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@85219 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 04:31:24 +00:00
blakeross%telocity.com
ebcfd71f5b Fix 33115: attempt to shave milliseconds off of startup time by removing obsolete/unused prefs. more to come. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85218 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 03:44:15 +00:00
timeless%mac.com
0125cc2f68 fix for bug 65076 [Modern] "Find in Bookmarks" ugliness needs to be fixed
by hwaara, r=timeless, a=ben


git-svn-id: svn://10.0.0.236/trunk@85217 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 01:26:58 +00:00
dbaron%fas.harvard.edu
eda78742d0 Fix SVG bustage from pierre's checkin.
git-svn-id: svn://10.0.0.236/trunk@85216 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-21 00:03:07 +00:00
dbaron%fas.harvard.edu
b15c00b1ba Fix MathML bustage from pierre's checkin.
git-svn-id: svn://10.0.0.236/trunk@85215 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 23:57:38 +00:00
bryner%uiuc.edu
3dcf928461 Register the pipnss chrome on windows. r=javi. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@85214 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 23:54:33 +00:00
pierre%netscape.com
f65fe0fad9 added brakets in switch() statements in a vain attempt to fix the unix build bustages
git-svn-id: svn://10.0.0.236/trunk@85213 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 23:33:29 +00:00
koehler%mythrium.com
777b70053f Bug 63640. Most BeOS cursors implemented.
Only BeOS related (no super-review) needed


git-svn-id: svn://10.0.0.236/trunk@85212 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:58:20 +00:00
pierre%netscape.com
fe3e133f52 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
git-svn-id: svn://10.0.0.236/trunk@85211 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:50:28 +00:00
pierre%netscape.com
148e913722 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +00:00
tara%tequilarista.org
d83fa37873 Landing Ask Bjoern Hansen's fix for bug #39159
git-svn-id: svn://10.0.0.236/trunk@85209 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 16:58:32 +00:00
sspitzer%netscape.com
8b7e2d3abe fix for #62873. sr=bienvenu. thanks to andrew.taylor@cal.montage.ca
for the initial patch.


git-svn-id: svn://10.0.0.236/trunk@85208 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 05:06:10 +00:00
kmcclusk%netscape.com
90c90d4972 Defer invalidates using PL_event so they can be combined with reflow invalidates. This improves performances by reducing the number of paint messages and eliminates flicker bug 36849 sr=roc+moz@cs.cmu.edu r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85207 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 04:59:39 +00:00
kvisco%ziplink.net
741bf6ee31 Added implementation of evaluate
git-svn-id: svn://10.0.0.236/trunk@85206 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 04:42:26 +00:00
sspitzer%netscape.com
3f93aa7593 fix for #64948. sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@85205 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 04:38:27 +00:00
kvisco%ziplink.net
e26f0655f8 Added CurrentFunctionCall and SystemPropertyFunctionCall to the Makefile so
that the standalone linux version builds again


git-svn-id: svn://10.0.0.236/trunk@85204 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 04:21:52 +00:00
sfraser%netscape.com
bc08aba223 Checking in code contributed by Jason Bagley (jbagley@artlogic.com) to implement window iteration and getting the URL for the front window from Apple Events, and handling of the 'inside' parameter for GetURL Apple Event. This also fixes a problem with AETokenDesc that it was not saving changes made on it back into the AEDesc*. r=me, sr=pinkerton
git-svn-id: svn://10.0.0.236/trunk@85202 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 02:50:37 +00:00
brendan%mozilla.org
60ae4af073 Followup to last checkin, comment change only, r=mccabe.
git-svn-id: svn://10.0.0.236/trunk@85201 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 02:02:48 +00:00
alecf%netscape.com
386d888111 back out my last changes for now, cuz they cause wierd leaks
git-svn-id: svn://10.0.0.236/trunk@85200 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 01:47:33 +00:00
brendan%mozilla.org
e92f541879 2nd attempt: Fix API botch where 'var x=0' vs. 'x=0' could put x in a different object (65553, r=mccabe, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@85199 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 01:41:55 +00:00
yokoyama%netscape.com
f34274d0e9 fix 22921 copied nsIModule code.
git-svn-id: svn://10.0.0.236/trunk@85198 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 01:02:53 +00:00
despotdaemon%netscape.com
605faa8415 Pseudo-automatic update of changes made by matthias@sorted.org.
git-svn-id: svn://10.0.0.236/trunk@85197 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 00:52:39 +00:00
rogerl%netscape.com
32cc1ab2de Added <function> at top level and example thereof.
git-svn-id: svn://10.0.0.236/trunk@85196 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 00:44:51 +00:00
mkaply%us.ibm.com
05b7020a2e #62335
r=mkaply, a=blizzard
from jkobal - fix pasting on DBCS systems


git-svn-id: svn://10.0.0.236/trunk@85195 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 00:27:45 +00:00
dr%netscape.com
b48da65907 fix for 55115, removing last usage of nsFileSpec from chrome registry. r=jag, sr=ben
git-svn-id: svn://10.0.0.236/trunk@85194 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 00:17:07 +00:00
cls%seawood.org
b8b78797cc Add pref to REQUIRES to fix senna bustage
git-svn-id: svn://10.0.0.236/trunk@85193 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 00:15:51 +00:00
mkaply%us.ibm.com
3e73f1622d #63709
r=jkobal, a=blizzard
SHORT1/2 macros return USHORTS - we need signed values for relative mouse position


git-svn-id: svn://10.0.0.236/trunk@85191 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 00:08:42 +00:00
rogerl%netscape.com
bebeeb668d Fixed gcc warnings. Added .xml test case.
git-svn-id: svn://10.0.0.236/trunk@85190 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 00:02:56 +00:00
rogerl%netscape.com
e56b80d07d Fixes and enhancements to get class references, constructors and scripts
working from .xml input.


git-svn-id: svn://10.0.0.236/trunk@85189 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 23:56:37 +00:00
svn%xmlterm.org
322511835d --NOT PART OF DEFAULT BUILD--
XMLterm changes only.
Fix for minor bug 65662.
(Oops! Missed CVS log message on previous checkin for this file. Dummy checkin
with the correct log message.)


git-svn-id: svn://10.0.0.236/trunk@85188 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 22:59:06 +00:00
svn%xmlterm.org
301ed0a325 ../../LogMessage
git-svn-id: svn://10.0.0.236/trunk@85187 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 22:52:18 +00:00
jgmyers%netscape.com
bac946edd5 fix capitalization
git-svn-id: svn://10.0.0.236/trunk@85186 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 22:39:29 +00:00
jgmyers%netscape.com
dcdb115e4a fix comment
git-svn-id: svn://10.0.0.236/trunk@85185 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 22:39:17 +00:00
axel%pike.org
e7c312e784 not part of build, nsNodeSet is not part of transformiix standalone. sorry.
git-svn-id: svn://10.0.0.236/trunk@85184 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 22:20:24 +00:00
sspitzer%netscape.com
5edf085c65 fix for #65304. sr=bienvenu. if no subscribable servers, subscribe
dialog won't dismiss when you hit cancel.


git-svn-id: svn://10.0.0.236/trunk@85183 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 22:04:06 +00:00
hewitt%netscape.com
650ee79993 65992 - putting back code I accidentally removed yesterday
git-svn-id: svn://10.0.0.236/trunk@85182 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:49:48 +00:00
sspitzer%netscape.com
cc7bf9f1e7 fix for #64244 and #46315
sr=bienvenu.  thanks to slucy@objectivesw.co.uk for the initial
patch for #46315


git-svn-id: svn://10.0.0.236/trunk@85181 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:41:12 +00:00
sspitzer%netscape.com
d6491a9623 fix for #64291. r=sspitzer,timeless, sr=bienvenu thanks to hwaara@chello.se for the patch.
git-svn-id: svn://10.0.0.236/trunk@85180 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:39:43 +00:00
dbragg%netscape.com
82c55620d0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@85179 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:26:41 +00:00
axel%pike.org
fb545a174e not part of build, code by peterv, r=me, fixing XPathProcessor, nsISynchLoader, cleanup
git-svn-id: svn://10.0.0.236/trunk@85178 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:24:44 +00:00
dbragg%netscape.com
561a3dc878 New interface for creating and managing processes. New feature for bug 62167. a=dougt sr=brendan
git-svn-id: svn://10.0.0.236/trunk@85177 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:23:24 +00:00
waterson%netscape.com
f15f96de69 Bug 65908. Reduce nsHashtable default size from 256 to 16 (the minimum that a PL_HashTable will allow). r=kandrot, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@85176 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:20:52 +00:00
nhotta%netscape.com
531620ee2e Wording change for charset not match alert, changed to add wording for saving message, bug 57080, r=nhotta, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@85175 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:19:27 +00:00
cls%seawood.org
97ad9b93fa Make sure to pull nspr with xpcom
git-svn-id: svn://10.0.0.236/trunk@85174 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:17:42 +00:00
radha%netscape.com
6b8ac9770c Follow up to previous checkin regarding bug # 62651. Remove commented out code.
git-svn-id: svn://10.0.0.236/trunk@85173 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:14:45 +00:00
radha%netscape.com
bb1586fba2 Fix for Session History growth bug 62651 r=law and several other people, sr=waterson
Put a limit on number entries session History will hold for each browser window/embedding
window


git-svn-id: svn://10.0.0.236/trunk@85172 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:12:14 +00:00
bienvenu%netscape.com
8a2c165792 fix crash compacting local folders, r=naving, sr=mscott 66002
git-svn-id: svn://10.0.0.236/trunk@85171 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 21:10:34 +00:00
tara%tequilarista.org
b2e7b0ef95 Landing suggested addition from Bernd Eckenfels for bug # 56822
git-svn-id: svn://10.0.0.236/trunk@85169 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 20:57:52 +00:00
sspitzer%netscape.com
86ed090686 add comment, no reviewer.
git-svn-id: svn://10.0.0.236/trunk@85168 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 20:56:56 +00:00
alecf%netscape.com
1333323ca1 fix for #65667 sr=bienvenu, r=sspitzer
focus the thread pane when a folder finished loading


git-svn-id: svn://10.0.0.236/trunk@85167 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 20:54:15 +00:00
alecf%netscape.com
a5b422e606 fix for #65865 - add date and integer support to local search, so that
we can search history and bookmarks by last visited/etc.
sr=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@85166 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 20:47:32 +00:00
blizzard%redhat.com
98f8f6decc Fix for bug #56270. Put off the drag leave event until we return to the mainloop so we can get the drag drop if it's available first. r=pavlov, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85165 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 20:47:12 +00:00
alecf%netscape.com
b098629a4e back out a line that I accidentally checked in with another fix
git-svn-id: svn://10.0.0.236/trunk@85164 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 20:45:39 +00:00
alecf%netscape.com
7720e9cbca fix for #62401 - r=jsg sr=brendan
clean up references to the global runtime before
services are shutdown, but acting as an observer on XPCOM shutdown


git-svn-id: svn://10.0.0.236/trunk@85163 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 20:44:19 +00:00
alecf%netscape.com
9e5bd7bc65 back out jag's checkin as it caused blocker bug 65988
git-svn-id: svn://10.0.0.236/trunk@85162 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 19:40:38 +00:00
ccarlen%netscape.com
b036475f94 NOT PART OF THE BUILD - Add string resources file file locations.
git-svn-id: svn://10.0.0.236/trunk@85161 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 15:53:13 +00:00
ccarlen%netscape.com
c0a47b0d0e NOT PART OF THE BUILD - Add string resources for file locations.
git-svn-id: svn://10.0.0.236/trunk@85160 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 15:52:49 +00:00
ccarlen%netscape.com
d74a48618d NOT PART OF THE BUILD - forgot to add this yesterday
git-svn-id: svn://10.0.0.236/trunk@85159 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 15:51:59 +00:00
mkaply%us.ibm.com
58b7709f6a r=mkaply, a=blizzard
Big GFX cleanup for OS/2 - using new logging mechanism


git-svn-id: svn://10.0.0.236/trunk@85158 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 15:47:20 +00:00
locka%iol.ie
9765c7d074 New mozctlx.dll for Mozilla ActiveX control. Register this DLL instead of mozctl.dll and it will ensure the PATH environment variable in the host process includes the Mozilla bin directory everytime the control is created. NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@85157 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 13:17:28 +00:00
axel%pike.org
a479f6a8d4 not part of build, bug 65058, NamedMap crash, MozillaString fixup, r=peterv
git-svn-id: svn://10.0.0.236/trunk@85156 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 10:43:27 +00:00
cls%seawood.org
2077d7b777 Landing changes to use autoconf on win32. Bug #58804
git-svn-id: svn://10.0.0.236/trunk@85155 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 09:44:03 +00:00
valeski%netscape.com
bd22be06a3 mass confusion. We indeed need this registration.
git-svn-id: svn://10.0.0.236/trunk@85153 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 08:14:38 +00:00
relyea%netscape.com
fb29b9742b Follow Wan-Teh's suggesion of using typedef's for enums.
Follow the same style we use elsewhere for enums.


git-svn-id: svn://10.0.0.236/trunk@85151 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 07:57:18 +00:00
jst%netscape.com
870c8cda8d Fixing bug 54780. Checking in patch from heikki@netscape.com that makes nsDOMImplementation::CreateDocument() return the return value from NS_NewDOMDocument() instead of just ignoring it. r=me, r=disttsc@bart.nl, sr=none (trivial change).
git-svn-id: svn://10.0.0.236/trunk@85150 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 07:56:38 +00:00
relyea%netscape.com
c20c453ab7 Incorporate Wan-Teh's suggestion of using a typdef for the enum.
Follow the same standard we use elsewhere for enums.


git-svn-id: svn://10.0.0.236/trunk@85149 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 07:56:06 +00:00
relyea%netscape.com
d796033708 Bug 65903: Fixes to allow iWS admin stuff to work with shared library NSS
Add necessary exported symbols.
Fix bug in NSS_Initialize where we weren't passing the read only paramter
	through.
Add function to search for Certificate Lists so that Traverse does not need to
	be exposed.
Update pkcs11 names.


git-svn-id: svn://10.0.0.236/trunk@85148 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 07:53:54 +00:00
relyea%netscape.com
ed394b3e81 Bug 65902 Add OSF/1 to the OS's that can restrict symbols in shared libraries
git-svn-id: svn://10.0.0.236/trunk@85147 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 07:51:12 +00:00
relyea%netscape.com
41b2d202eb Bug 65902 Add OSF/1 to the OS's that can restrict symbols in shared libraries
git-svn-id: svn://10.0.0.236/trunk@85146 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 07:50:58 +00:00
relyea%netscape.com
b47e5012a4 Bug 65902 Add OSF/1 to the OS's that can restrict symbols in shared libraries
git-svn-id: svn://10.0.0.236/trunk@85145 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 07:50:16 +00:00
relyea%netscape.com
e4e771cd60 Fix Serial number searches by removing the DER tag.
Bug 65895.


git-svn-id: svn://10.0.0.236/trunk@85144 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 07:47:57 +00:00
mscott%netscape.com
cfbef5cbcc Bug #65515 --> if we can't create a mime info from the registry, then create a new
entry for this mime type.
Bug #57364 --> look up content type to file extension mappings using the windows mime registry.
Bug #65872 --> if we get a content type of unknown or octet, try to ignore that content type
and extract the extension from the url and looking that up to see if we can get a better
content type.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@85143 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 07:43:26 +00:00
valeski%netscape.com
2b8e7e62c5 r=syd. reverting to dead browserlistener implementation (basically a backout of my previous checkin until progress listener registration can be resolved.
git-svn-id: svn://10.0.0.236/trunk@85142 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 07:17:20 +00:00
valeski%netscape.com
221a69dbb2 r=ccarlen, sr=rpotts. 46848. Reworking listener registration interface. collection type listeners should be registered here. removing nsIWebProgress implementation from nsWebBrowser adfter determining GetDOMWindow() wasn't being used.
git-svn-id: svn://10.0.0.236/trunk@85141 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 06:00:23 +00:00
mkaply%us.ibm.com
8dd8b6a35d HP-UX breakage
I'm just commenting out the delete of mPath for now since it can never be allocated


git-svn-id: svn://10.0.0.236/trunk@85140 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 05:40:03 +00:00
hewitt%netscape.com
85249f4297 62101 - nsWidgetStateManager quirk, r=timeless, sr=ben
git-svn-id: svn://10.0.0.236/trunk@85139 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 05:26:34 +00:00
hewitt%netscape.com
73bcaaa04b 55727 - file menubutton, r=ben, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85138 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 05:16:13 +00:00
hewitt%netscape.com
737458c628 55727 - file menubutton, r=ben, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85137 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 05:10:31 +00:00
hewitt%netscape.com
d06a9d3f12 58142 - tree row unclickable space, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@85136 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 05:04:33 +00:00
hewitt%netscape.com
5d4e302ec2 56150 - colorpicker button focus, r=timeless, sr=ben
git-svn-id: svn://10.0.0.236/trunk@85135 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 05:02:56 +00:00
hewitt%netscape.com
b46504c0b2 64425 - edit mode tabs, r=andreww, sr=ben
git-svn-id: svn://10.0.0.236/trunk@85134 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 04:41:50 +00:00
hewitt%netscape.com
97acf7465c 53097 - tabs button disappear, r=andreww, sr=ben
git-svn-id: svn://10.0.0.236/trunk@85133 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 04:35:44 +00:00
hewitt%netscape.com
66e4a5748c 56210 - autoscroll too narrow, r=andreww, sr=ben
git-svn-id: svn://10.0.0.236/trunk@85132 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 04:32:11 +00:00
hewitt%netscape.com
112d7fa4f8 63764 - multiline textfields, r=andreww, sr=ben
git-svn-id: svn://10.0.0.236/trunk@85131 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 04:19:10 +00:00
hewitt%netscape.com
c7e644f248 58954 - bookmark folder selection, r=andreww, sr=ben
git-svn-id: svn://10.0.0.236/trunk@85130 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 04:17:18 +00:00
hewitt%netscape.com
7668eb884f 55018 - search headers, r=andreww, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@85129 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 04:16:54 +00:00
hewitt%netscape.com
d68524c3dd 55728 - go button too wide, r=andreww, sr=ben
git-svn-id: svn://10.0.0.236/trunk@85128 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 04:16:26 +00:00
hewitt%netscape.com
3f3012667f 54759 - Javascript console mis-skinned, r=andreww, sr=hangas
git-svn-id: svn://10.0.0.236/trunk@85127 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 04:15:50 +00:00
bienvenu%netscape.com
9044e4b2a4 fix crash on shutdown after reading news message in memory cache r=sspitzer, sr=mscott 65724
git-svn-id: svn://10.0.0.236/trunk@85126 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 04:10:11 +00:00
jj%netscape.com
67dbe40a1f fix for #43202: copying default profile resources instead of making aliases. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@85125 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 02:48:49 +00:00
blakeross%telocity.com
95c7af76f5 Fix 56646: textfield context menus have I-beam cursor, and some menu shortcuts (like F9) aren't properly aligned. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85124 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 02:35:34 +00:00
cmanske%netscape.com
733bac044c Checkin for doronr@naboonline.com: fix bug 63971, r=cmanske, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85123 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 02:34:07 +00:00
cmanske%netscape.com
0b58496fa8 Checkin for doronr@naboonline.com: bug 63971, r=cmanske, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85122 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 02:34:04 +00:00
nicolson%netscape.com
33873f5d85 Only build archives, not .so's, at this level.
git-svn-id: svn://10.0.0.236/trunk@85121 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 02:23:47 +00:00
mscott%netscape.com
84299d0f0c Bug #3609 --> pass the msg window into discover all folders.
clear the waiting for connection info flag if the user cancels out of the authentication dialogs...
set the url can run but busy flag if we are waiting for connection info. This prevents us from trying to
create a raw protocol connection without going through the request over ride info for webmail.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@85120 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 02:00:58 +00:00
mscott%netscape.com
73ee90bc7d Bug #3609 --> pass the msg window into discover all folders
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@85119 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 02:00:12 +00:00
jdunn%netscape.com
94ac4cd26b fixing the issue of "delete [] (void*)". This is wrong.
since the pointer was 'newed' as a char *, we need to
delete a (char *)

No bug for this... but very similar to
# 34040
r= cls@seawood.org Joe.Chou@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@85118 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 01:52:33 +00:00
javi%netscape.com
9c37fee67a Make windows build the pipnss.jar file.
git-svn-id: svn://10.0.0.236/trunk@85117 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 01:46:42 +00:00
bryner%uiuc.edu
5a10dff927 added files: mozilla/netwerk/socket/base/nsIChannelSecurityInfo.idl, mozilla/netwerk/socket/base/nsISSLSocketControl.idl, removed files: mozilla/netwerk/socket/base/nsISecureSocketInfo.idl
git-svn-id: svn://10.0.0.236/trunk@85116 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 01:37:55 +00:00
ftang%netscape.com
de962c641c fix bug 61031. fix typo to make CE run. r=nhotta sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85115 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 01:34:13 +00:00
yokoyama%netscape.com
06d7530779 fix for 22921. /r = jud, /sr=ftang
git-svn-id: svn://10.0.0.236/trunk@85114 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 01:34:00 +00:00
ftang%netscape.com
b38e623d82 fix bug 55702 .
git-svn-id: svn://10.0.0.236/trunk@85113 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 01:33:01 +00:00
saari%netscape.com
35234207ea Fix for 54406, tabbing through links with multiple frames doesn't work. r=byrner, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@85112 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 01:28:27 +00:00
ccarlen%netscape.com
f1dbe43f8d Fix for bustage caused on senna Tinderbox by checkin for 64501.
git-svn-id: svn://10.0.0.236/trunk@85111 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 01:24:28 +00:00
disttsc%bart.nl
ba6571998e More appCore killing. bug=46200, r=ben, a=alecf
git-svn-id: svn://10.0.0.236/trunk@85110 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 01:19:07 +00:00
disttsc%bart.nl
558d6e2da3 Make viewZoomOverlay.js not barf if the menu doesn't exist. Bug=65807, r=timeless, a=alecf
git-svn-id: svn://10.0.0.236/trunk@85109 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 01:16:11 +00:00
disttsc%bart.nl
367d019747 "Receiving: message headers" should be "Downloading message headers 123 of 1323"
bug=37712, author=Mark Olson <maolson@earthlink.net>, r=jag, a=mscott


git-svn-id: svn://10.0.0.236/trunk@85108 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 01:14:28 +00:00
bryner%uiuc.edu
22e6253ccf Oops, forgot jar.mn.
git-svn-id: svn://10.0.0.236/trunk@85107 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 01:12:42 +00:00
bryner%uiuc.edu
45cfc89b1a PSM 2.0 work:
- Split nsISecureSocketInfo into nsISSLSocketControl and nsIChannelSecurityInfo.
- Incorporate lock icon fixes from psm-glue into pipnss code.
- Implement password callback for client auth in pipnss.
- Locallize the lock icon tooltip.
- Lots of code cleanup.

r=javi, jgmyers, sr=ben.


git-svn-id: svn://10.0.0.236/trunk@85106 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 01:12:10 +00:00
nicolson%netscape.com
4491146999 moved libjss generation from cmd/jssjava to lib.
git-svn-id: svn://10.0.0.236/trunk@85105 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 00:14:25 +00:00
nicolson%netscape.com
2e73ebdd9d get stuff to build under mozilla.
git-svn-id: svn://10.0.0.236/trunk@85104 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 00:13:52 +00:00
nicolson%netscape.com
31e7d36663 no more jssjava.
git-svn-id: svn://10.0.0.236/trunk@85103 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 00:11:31 +00:00
nicolson%netscape.com
09571e0184 remove all the old jssjava stuff. move everything else to
mozilla/security/jss/lib.


git-svn-id: svn://10.0.0.236/trunk@85102 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 00:11:12 +00:00
ccarlen%netscape.com
399dc48081 Fix for bustage caused on senna Tinderbox by checkin for 64501.
git-svn-id: svn://10.0.0.236/trunk@85101 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-19 00:03:07 +00:00
rogerl%netscape.com
22d0907289 Merged Monkey bits, fix for bug #57631, /()/ was parsed incorrectly.
git-svn-id: svn://10.0.0.236/trunk@85100 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 23:39:00 +00:00
gerv%gerv.net
23e6b28171 More bug 6682. Perhaps this could be it.
git-svn-id: svn://10.0.0.236/trunk@85098 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 23:08:22 +00:00
ccarlen%netscape.com
02742c53b1 2nd part of bug 64501 - obsoleting this because moved into xpcom r=dougt@netscape.com sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85097 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 22:59:28 +00:00
sdv%sparc.spb.su
bdcd188229 fix for bug 65506
a=jonsmirl@mediaone.net
r=sdv@sparc.spb.su


git-svn-id: svn://10.0.0.236/trunk@85096 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 22:55:48 +00:00
ccarlen%netscape.com
b807b06014 Fix for bug 64501 - allow embedding apps to specify app registry location. Moves appfilelocprovider into xpcom.
r=dougt@netscape.com, sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@85095 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 22:51:57 +00:00
rogerl%netscape.com
29032c436f Merged changes from Monkey - see bug #64285.
git-svn-id: svn://10.0.0.236/trunk@85093 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 22:49:11 +00:00
sdv%sparc.spb.su
424ff326af fix for bug 65499
a=jonsmirl@mediaone.net
r=sdv@sparc.spb.su


git-svn-id: svn://10.0.0.236/trunk@85092 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 22:36:55 +00:00
kin%netscape.com
b027ec74ff Temporary fix for Bug #65828: mozilla installer.exe fails with "-229 script error"
Backing out Brendan's previous checkin for bug #65553 (jsapi.c, jsdbgapi.c, jsemit.c, jsinterp.c, jsinterp.h, jsobj.c, and jsscript.c), so we can get smoke tests going.

r=attinasi@netscape.com (sheriff)


git-svn-id: svn://10.0.0.236/trunk@85091 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 22:10:12 +00:00
mcgreer%netscape.com
eb7bf466b7 make blapitest return error codes so QA lights up correctly. Fix bug with DSA
self-test.  r=wtc


git-svn-id: svn://10.0.0.236/trunk@85090 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 21:45:47 +00:00
wtc%netscape.com
4ffe6b4b35 Add library version info to the NSS, S/MIME, and SSL shared libraries.
Define the NSS version macros and add NSS_VersionCheck in nss.h.
Add linker option to record internal name of shared libraries.
Add Windows resource files.  Add rcs and sccs id strings that can be
retrieved with 'ident' and 'what'.
Modified Files:
	coreconf/HP-UX.mk coreconf/OSF1.mk coreconf/SunOS5.mk
        coreconf/WIN954.0.mk coreconf/WINNT4.0.mk coreconf/WINNT5.0.mk
	coreconf/rules.mk nss/lib/nss/config.mk
	nss/lib/nss/manifest.mn nss/lib/nss/nss.h
	nss/lib/nss/nssinit.c nss/lib/smime/config.mk
	nss/lib/smime/manifest.mn nss/lib/ssl/config.mk
	nss/lib/ssl/manifest.mn
Added Files:
	nss/lib/nss/nss.rc nss/lib/nss/nssver.c nss/lib/smime/smime.rc
	nss/lib/smime/smimever.c nss/lib/ssl/ssl.rc
	nss/lib/ssl/sslver.c


git-svn-id: svn://10.0.0.236/trunk@85089 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 20:29:10 +00:00
mcgreer%netscape.com
080a17ebd4 fixes for prime generatation:
1.  Increase maximum tries to 600 (based on 2*(approx. frequency of 1024-bit primes))
2.  Lower the number of Miller-Rabin iterations for p and q based on HAC table 4.4
r=nelsonb,a=wtc


git-svn-id: svn://10.0.0.236/trunk@85088 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 16:39:10 +00:00
wtc%netscape.com
a620d900b4 Bugzilla bug #65416: assign values explicitly to enumeration constants.
The same values that the compiler would assign are assigned, with only
one exception (cmmfNoPKIStatus in cmmft.h).  This is patch id=22555,
reviewed by Nelson Bolyard.


git-svn-id: svn://10.0.0.236/trunk@85087 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 16:36:43 +00:00
mkaply%us.ibm.com
2048158f0f #65732
r=cls
Make SHORT_LIBNAMEs (used by OS/2 only) match Windows DLL names


git-svn-id: svn://10.0.0.236/trunk@85086 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 15:53:33 +00:00
bienvenu%netscape.com
336f2c1761 fix cached news connections to remember current group r=sspitzer, sr=mscott part of 13506
git-svn-id: svn://10.0.0.236/trunk@85085 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 15:39:35 +00:00
bienvenu%netscape.com
d38f75f104 change folder compaction to use base class offine store compaction code, 15865 r=naving, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85084 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 15:37:52 +00:00
mkaply%us.ibm.com
65486aa684 #65732
r=cls
Make SHORT_LIBNAMEs (used by OS/2 only) match Windows DLL names


git-svn-id: svn://10.0.0.236/trunk@85083 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 15:35:00 +00:00
locka%iol.ie
939d8dd242 Changed winEmbed to use the new embedding idle loop routines. b=44120
git-svn-id: svn://10.0.0.236/trunk@85082 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 14:10:50 +00:00
tor%cs.brown.edu
f5bfdaf733 Bug 65315 - update server pixmaps incrementally and move 8-bit alpha
check to ImageUpdated. r=jag, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@85081 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 13:39:07 +00:00
alecf%netscape.com
4732b42b27 oops, forgot this in a checkin from yesterday
git-svn-id: svn://10.0.0.236/trunk@85080 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 08:44:30 +00:00
alecf%netscape.com
df4db85560 fix for 55791 a=ben
git-svn-id: svn://10.0.0.236/trunk@85079 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 08:24:42 +00:00
alecf%netscape.com
b4abc5b28a fix for #37078 - fix cut/copy for history window
a=ben, r=timeless


git-svn-id: svn://10.0.0.236/trunk@85078 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 07:57:32 +00:00
alecf%netscape.com
69c973a894 more nsBrowserInstance lovin' - move the show/hide button junk into JavaScript using the now-working pref-change-observer system. bug 46200.
a=ben, r=jag


git-svn-id: svn://10.0.0.236/trunk@85077 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 07:50:06 +00:00
pavlov%netscape.com
3d121d5d77 add error checking in SetBits
git-svn-id: svn://10.0.0.236/trunk@85076 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 07:49:59 +00:00
jst%netscape.com
516c686f72 Whitespace cleanup, fixing up 3 space indentation. No code changes.
git-svn-id: svn://10.0.0.236/trunk@85075 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 07:44:29 +00:00
cls%seawood.org
b2e4600185 Split conditional into if/then statements. Fixes AIX tinderbox bustage.
Thanks to Jim Dunn <jdunn@netscape.com> for the patch. r=rbs


git-svn-id: svn://10.0.0.236/trunk@85074 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 06:44:50 +00:00
disttsc%bart.nl
3d83b88559 Fix js strict warnings, bug=57656, r=timeless, a=ben
git-svn-id: svn://10.0.0.236/trunk@85073 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 06:17:31 +00:00
chuang%netscape.com
6b53efb201 Bug33543 Addresses from reading a newsgroup posting shouldn't be added to collected addresses, r=sspitzer, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85072 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 05:47:38 +00:00
chuang%netscape.com
c344e0c09f Bug33543 Addresses from reading a newsgroup posting shouldn't be added to collected addresses, r=sspitzer, sr=sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85071 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 05:45:48 +00:00
chuang%netscape.com
7d3b39e7e3 Bug33543 Addresses from reading a newsgroup posting shouldn't be added to collected addresses, r=sspitzer, sr=sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@85070 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 05:38:03 +00:00
m_kato%ga2.so-net.ne.jp
a7ee5ba000 bug 60050, sr=ftang
MS-IME 95/97/98/2000 may send WM_IME_COMPOSITION with non-conversion mode before it send WM_IME_STARTCOMPOSITION.


git-svn-id: svn://10.0.0.236/trunk@85068 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 03:16:04 +00:00
brendan%mozilla.org
a8e8c0ed81 Fix API botch where 'var x=0' vs. 'x=0' could put x in a different object (65553, r=mccabe, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@85067 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 03:00:31 +00:00
m_kato%ga2.so-net.ne.jp
d383f0e075 bug 65547, r=jag, sr=sfraser
delete unused line


git-svn-id: svn://10.0.0.236/trunk@85066 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 02:50:29 +00:00
dbaron%fas.harvard.edu
f66434977a Attempt to fix topcrash bug 54230 by fixing an ABR caused by allocating and copying one fewer bytes than the number indicated by the length. r=javi@netscape.com, dougt@netscape.com sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85065 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 02:28:19 +00:00
blakeross%telocity.com
586fc637da Fix 65790: context menus broken in bookmarks panel. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85064 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 02:24:06 +00:00
tara%tequilarista.org
fe63832e0e Cleaning up the language for matty for bug #45213
git-svn-id: svn://10.0.0.236/trunk@85063 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 02:20:04 +00:00
tara%tequilarista.org
d022dfcf21 Landing patch for bug #58436 from Henrik Gemal
git-svn-id: svn://10.0.0.236/trunk@85062 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 02:14:11 +00:00
nelsonb%netscape.com
86e42542d2 When searching for a prime, the number of Miller-Rabin tests to be
performed will be done in accordance with a table published in the
Handbook of Applied Cryptography.  See Bug 65151.  Also, changes to
test program for this function.


git-svn-id: svn://10.0.0.236/trunk@85061 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 01:39:17 +00:00
cmanske%netscape.com
a4faea7f3c Fixed sidebar separator not hidden by default, b=65774, r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@85060 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 01:22:43 +00:00
kin%netscape.com
353bd034ca Initial checkin of project.
Part of fix for bug #6254 (Find/Replace needs to be implemented)
sr=sfraser@netscape.com

Not part of the build yet.


git-svn-id: svn://10.0.0.236/trunk@85059 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 01:07:01 +00:00
cmanske%netscape.com
659dc7a1f5 Remove JS warnings, b=57649,r=timeless, sr=kin. Fix to 50328 (bring up Cell properties when caret is in cell) by hwaara@chello.se, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@85058 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 00:59:18 +00:00
bienvenu%netscape.com
c303f9b725 rearrange column setting and getting code as part of offline support, also fix phantom msg counts r=naving, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85057 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 00:58:37 +00:00
blakeross%telocity.com
e2b82014cf Fix 33115: attempt to shave milliseconds off of startup time by removing obsolete/unused prefs. more to come. r=valeski sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85056 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 00:53:48 +00:00
mscott%netscape.com
293ed48b12 Bug #3678 --> make sure the alert dialog is parented correctly against the 3-pane
window.
r=syd
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@85055 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 00:53:34 +00:00
blakeross%telocity.com
51caaa1902 Fix 65769: make context menus for bookmarks work again. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85054 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 00:50:09 +00:00
bienvenu%netscape.com
d00b95285f rearrange column setting and getting code as part of offline support, also fix phantom msg counts r=naving, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@85053 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-18 00:42:02 +00:00
alecf%netscape.com
9b7d1a8281 fix random crashes during shutdown
r=bryner,blake (trying to get tree open, no sr=)


git-svn-id: svn://10.0.0.236/trunk@85051 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 23:42:42 +00:00
bryner%uiuc.edu
f2e3103808 Fixing unix build bustage. r=blizzard.
git-svn-id: svn://10.0.0.236/trunk@85050 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 22:16:09 +00:00
locka%iol.ie
b5d0d75316 New embedding routines to be called by host apps during message processing and idle time. b=44120.
git-svn-id: svn://10.0.0.236/trunk@85049 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 21:15:17 +00:00
alecf%netscape.com
e0258ac1c3 fix for bug 65616 - make nsIObserver-based pref notifications work as designed
sr=blizzard, r=timeless


git-svn-id: svn://10.0.0.236/trunk@85048 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 21:10:58 +00:00
locka%iol.ie
daae19918a New embedding routines to be called by host apps during message processing and idle time. b=44120. NOT PART OF BUILD (yet)
git-svn-id: svn://10.0.0.236/trunk@85047 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 21:10:46 +00:00
mjudge%netscape.com
74a4aa0952 not in build. only used for trace malloc purposes. This will be reviewed once a makefile change is made
git-svn-id: svn://10.0.0.236/trunk@85046 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 21:07:42 +00:00
mjudge%netscape.com
ba0ab16e42 not in build. for tracemalloc purposes only. when makefile is edited to add this as compile option There will be a reviewer of these checkins as well
git-svn-id: svn://10.0.0.236/trunk@85045 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 21:06:51 +00:00
blakeross%telocity.com
91971e0809 Fix 64479, 57191, an unreported bug: lots of search bookmarks/history cleanup/fixes. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85044 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 21:01:06 +00:00
blakeross%telocity.com
4dbbb05e6d Fix 64479, 57191, an unreported bug: lots of search bookmarks/history cleanup/fixes. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85043 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 20:56:31 +00:00
blakeross%telocity.com
d50fb18ed5 fixing problem with last patch.
git-svn-id: svn://10.0.0.236/trunk@85042 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 20:55:14 +00:00
blakeross%telocity.com
159ebe47f2 fixing problem with last patch.
git-svn-id: svn://10.0.0.236/trunk@85041 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 20:50:14 +00:00
blakeross%telocity.com
68eb064977 Fix 64479, 57191, an unreported bug: lots of search bookmarks/history cleanup/fixes. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85040 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 20:39:59 +00:00
ccarlen%netscape.com
f13f724282 Bug 54008 - nsIFile::MoveTo doesn't work according to API on Mac.
r=sdagley, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@85039 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 20:23:06 +00:00
saari%netscape.com
f8c0dcb1e6 Fix for 65134, 60712, 65129 r=av, sr=buster Fixing plugin key event handling
git-svn-id: svn://10.0.0.236/trunk@85038 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 20:04:09 +00:00
blakeross%telocity.com
575affbf87 Fix 59327: hwaara's patch to add an assertion. r=jag sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@85037 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 20:01:11 +00:00
cls%seawood.org
09f067f6ba Use BeOS' copyattr command which does preserve file attributes correctly instead of zip/unzip hack.
Thanks to <guru@startrek.com> for the patch.
Bug #65705 r=cls


git-svn-id: svn://10.0.0.236/trunk@85036 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 19:51:29 +00:00
alecf%netscape.com
69916b2069 fix for 44208 - send notification when we go offline/online
r=valeski, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@85035 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 19:51:28 +00:00
leaf%mozilla.org
b791f167aa Automated update
git-svn-id: svn://10.0.0.236/trunk@85034 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 19:45:09 +00:00
cls%seawood.org
da12781833 Default to non-monolithic builds for BSDI.
Set standard BSD thread flags for BSDI.
Thanks to Kurt J. Lidl <lidl@pix.net> for the patch.


git-svn-id: svn://10.0.0.236/trunk@85033 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 19:34:31 +00:00
timeless%mac.com
25786aedd7 fix bug 65371 need makefile.win to build regchrome.exe
r=hewitt sr=leaf


git-svn-id: svn://10.0.0.236/trunk@85032 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 19:26:04 +00:00
cls%seawood.org
30868808ae Add OS_LIBS to EXTRA_LIBS as necessary
git-svn-id: svn://10.0.0.236/trunk@85031 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 19:15:05 +00:00
cls%seawood.org
e8019a1b7a Don't link in OS_LIBS to shared libs by default
git-svn-id: svn://10.0.0.236/trunk@85030 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 19:14:16 +00:00
cls%seawood.org
65d87bbac6 Add check for libpthreads (AIX). Set USE_PTHREADS properly for AIX.
git-svn-id: svn://10.0.0.236/trunk@85029 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 19:13:44 +00:00
heikki%netscape.com
4a34dfd256 Set out param in case of error and some minor optimizations. r=jst, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@85028 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 19:03:27 +00:00
heikki%netscape.com
f18ce5bc62 Bug 64448, comments in internal subset moved to before internal subset. I also fixed some static global variables and NS_GET_IID stuff. r=harishd, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@85027 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 18:59:12 +00:00
gerv%gerv.net
c19d8bbefe Code to upgrade data file formats from old version, and intermediate broken version. Bug 6682.
git-svn-id: svn://10.0.0.236/trunk@85026 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 15:52:20 +00:00
blakeross%telocity.com
61ad5745c4 Fix, um, an extension of 60660: bunch of _elementIDs-related JS strict warnings. r=blake sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85022 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 07:13:12 +00:00
blakeross%telocity.com
5a0b8ceda8 Fix 60660: JS strict warnings in pref-colors.xul. r=blake sr=alecf
git-svn-id: svn://10.0.0.236/trunk@85020 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 07:05:54 +00:00
blakeross%telocity.com
9e889ff4b4 Fix 63676, part of 51698: default width for common dialogs is too big, and other appearance tweaks. r=timeless a=ben
git-svn-id: svn://10.0.0.236/trunk@85019 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 07:04:24 +00:00
blakeross%telocity.com
659582b4ae Fix 64718: show Esc in menu for Stop. r=jag a=ben
git-svn-id: svn://10.0.0.236/trunk@85018 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 07:00:03 +00:00
alecf%netscape.com
b86bf64702 other part of fix for #64218 - add history sidebar by default to new profiles
git-svn-id: svn://10.0.0.236/trunk@85017 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 06:18:09 +00:00
disttsc%bart.nl
acb7dc27b0 Forgot to mention: many thanks to Håkan B. Waara <hwaara@chello.se> for these patches.
git-svn-id: svn://10.0.0.236/trunk@85016 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 06:16:58 +00:00
disttsc%bart.nl
b05cef38ca Fix UI and clean-up code for cookies and images prefs panels. bug=64473, r=timeless, a=ben.
git-svn-id: svn://10.0.0.236/trunk@85015 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 06:07:17 +00:00
alecf%netscape.com
df87498009 fix for 64218 - implement history sidebar panel
a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@85014 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 06:06:50 +00:00
cls%seawood.org
2f1e08885e Only define HAVE_LCHOWN if it is not already defined. Fixes AIX
git-svn-id: svn://10.0.0.236/trunk@85013 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 05:13:00 +00:00
disttsc%bart.nl
7b9237a86b Fix warning, bug=60656, r=timeless, a=ben
git-svn-id: svn://10.0.0.236/trunk@85012 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 04:46:29 +00:00
disttsc%bart.nl
29aa59cb2a Clean up nsAppRunner.cpp, bug=65660, r=timeless, a=alecf
git-svn-id: svn://10.0.0.236/trunk@85011 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 04:44:13 +00:00
wtc%netscape.com
b4cb512bdb Bugzilla bug #64278: call sched_get_priority_min/max to get the minimum
and maximum priorities of the default scheduling policy.  Thanks to
Matt Beauregard <marauder@marauder.tm> for reporting this bug.


git-svn-id: svn://10.0.0.236/trunk@85008 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 02:42:13 +00:00
sonmi%netscape.com
6939deae3d changed the stopQ conditionvariable to theadQ
git-svn-id: svn://10.0.0.236/trunk@85005 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 02:26:27 +00:00
jgmyers%netscape.com
039ff39f07 add .cvsignore
git-svn-id: svn://10.0.0.236/trunk@85004 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 02:24:04 +00:00
mkaply%us.ibm.com
00a2d2fcbc r=mkaply, a=blizzard
Don't hardcode fonts for dialogs - breaks DBCS


git-svn-id: svn://10.0.0.236/trunk@85003 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 02:22:35 +00:00
mccabe%netscape.com
6e965fd48c Add missing semicolon. Thanks Brian for the ring.
git-svn-id: svn://10.0.0.236/trunk@85002 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 02:05:14 +00:00
despotdaemon%netscape.com
a91047c645 Pseudo-automatic update of changes made by javi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@85001 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 01:56:17 +00:00
dr%netscape.com
e5b2183059 fix for 50121, adds stupid gtk command line options in --help. r=pavlov, sr=ben
git-svn-id: svn://10.0.0.236/trunk@85000 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 01:40:11 +00:00
mccabe%netscape.com
32369b4bde (Trivial, trivial) fix to 65179.
Add an fflush after printing JS errors from xul or content to the console, to facilitate debugging.  #ifdef DEBUG, because I don't know all of the performance consequences.

Thanks to neil@parkwaycc.co.uk for the suggestion.


git-svn-id: svn://10.0.0.236/trunk@84999 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 01:18:48 +00:00
mkaply%us.ibm.com
2c0d4f29f9 r=mkaply, a=blizzard
Code from jkobal - fix dialog sizing problem and trap in dirpicker


git-svn-id: svn://10.0.0.236/trunk@84996 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 01:00:06 +00:00
blakeross%telocity.com
764a0c73f2 removing line that was accidentally checked in.
git-svn-id: svn://10.0.0.236/trunk@84995 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 00:50:52 +00:00
alecf%netscape.com
8762ea1dfc fix for #63698 - remove context menu for personal toolbar, as it was never working in the first place, also includes residual removal of bookmarks.js since I refactored bookmarks/history
a=ben r=blake


git-svn-id: svn://10.0.0.236/trunk@84994 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 00:45:41 +00:00
blakeross%telocity.com
a85a78f23e Fix 63131: moving some event handlers from <box/> to <browser/>. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84993 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 00:32:34 +00:00
blakeross%telocity.com
a645332d17 Fix 60636: JS strict warnings in accountUtils.js, and more dump() removal (65127). r=timeless sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84992 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 00:31:27 +00:00
blakeross%telocity.com
b6bf8888fe Fix 53687: JS strict warnings in profileSelection.js. patch by Mark Olson. r=blake sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84991 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 00:26:04 +00:00
blakeross%telocity.com
197098d5f5 Fix 57140: JS strict warnings in commonDialog.js. patch by Mark Olson. r=blake sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84990 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 00:20:25 +00:00
dbaron%fas.harvard.edu
8de1c915b1 Add assertion and null-check to fix topcrash bug 52492. (This fix was checked in on the N6 branch long ago.) r=darin@netscape.com sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84989 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 00:15:07 +00:00
blakeross%telocity.com
52abaff07a Fix 33115: attempt to shave milliseconds off of startup time by removing obsolete/unused prefs. more to come. r=dveditz sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84988 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 00:13:37 +00:00
blakeross%telocity.com
bb98e21c13 Fix 58631: JS strict warnings in history.js, and more dump() removal (65127). r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84987 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-17 00:11:00 +00:00
blakeross%telocity.com
074a6b975e Fix 60665: JS strict warnings in pref-search.xul. patch by Mark Olson. r=blake sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84986 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 23:57:53 +00:00
blakeross%telocity.com
50cbe55009 Fix 60667: JS strict warnings in pref-composer.xul. patch by Mark Olson. r=blake sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84985 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 23:53:27 +00:00
nicolson%netscape.com
b1a59f9326 remove export controls, and get things to build against NSS 3.1.1 under mozilla.
git-svn-id: svn://10.0.0.236/trunk@84984 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 23:49:57 +00:00
buster%netscape.com
25faa91552 ok, now I think I've got the syntax correct
git-svn-id: svn://10.0.0.236/trunk@84982 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 23:30:16 +00:00
buster%netscape.com
8467b00c60 another try at working out the darn nsCOMPtr comparison for Linux
git-svn-id: svn://10.0.0.236/trunk@84981 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 23:23:02 +00:00
cmanske%netscape.com
9449edc972 Fix Save enabling in HTML source (b=61996). Part of fix for Composer file menu overlays, b=54584, r=mjudge, sr=smfr
git-svn-id: svn://10.0.0.236/trunk@84980 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 23:12:22 +00:00
blakeross%telocity.com
b25e67a166 Fix 53687: JS strict warnings in profileSelection.js. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84979 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 23:07:14 +00:00
cmanske%netscape.com
51ef4fa176 Part of fix for Composer file menu overlays, b=54584, r=ducarroz, sr=smfr
git-svn-id: svn://10.0.0.236/trunk@84978 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 23:02:32 +00:00
buster%netscape.com
dd97e701bd stupid friggin' .get() nsCOMPtr incompatibility on linux
git-svn-id: svn://10.0.0.236/trunk@84977 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 22:54:52 +00:00
rich.burridge%sun.com
5af1d3785e Fix to allow applet doing POST to an https connection over a proxy to work.
r=pollman@netscape.com
sr=waterson@netscape.com
Bugid #60228


git-svn-id: svn://10.0.0.236/trunk@84976 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 22:53:39 +00:00
yokoyama%netscape.com
5277e921fa fixes 58679 Passing Unicode instead.
git-svn-id: svn://10.0.0.236/trunk@84975 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 22:24:44 +00:00
yokoyama%netscape.com
8cbcafb7c8 Fixes 58679 and 32056
git-svn-id: svn://10.0.0.236/trunk@84974 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 22:19:07 +00:00
buster%netscape.com
31a79a4925 bug 56432 ()
the problem was a factorial algorithm for finding primary frames.
fixed by added a hinting mechanism that takes advantage of existing
primary frame cache, greatly reducing the cost for the common case.
r=rods
sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84973 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 22:10:04 +00:00
morse%netscape.com
4acc48328d bug 40122, save-these-values should be prechecked..., r=pnunn@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84972 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 22:05:36 +00:00
cmanske%netscape.com
2df182b89d Fixed mail overlay for Send Page in Composer. Part of fix for b=54584. r=ducarroz, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84971 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 22:05:15 +00:00
morse%netscape.com
41e7082833 bug 63493, VCARD_NAME attribute doesn't work, r=matt@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84970 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 22:02:58 +00:00
cmanske%netscape.com
4fd9b98aa5 Fixing Edit Page bug 65610. r=blake, sr=smfr
git-svn-id: svn://10.0.0.236/trunk@84969 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 21:57:07 +00:00
jdunn%netscape.com
b429a89804 Fixing AIX bustage (see SeaMonkey-Ports). FD_ZERO is defined to use bzero, but bzero is
defined in strings.h so am including strings.h

r= dmose@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@84968 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 21:47:04 +00:00
nicolson%netscape.com
9669f2ede5 remove export controls.
git-svn-id: svn://10.0.0.236/trunk@84967 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 21:28:32 +00:00
nicolson%netscape.com
71b1ce11ee remove export controls
git-svn-id: svn://10.0.0.236/trunk@84966 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 21:28:09 +00:00
nicolson%netscape.com
e175d35c5e make JSS buildable.
git-svn-id: svn://10.0.0.236/trunk@84965 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 21:27:19 +00:00
nicolson%netscape.com
3019080f07 make JSS buildable
git-svn-id: svn://10.0.0.236/trunk@84964 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 21:26:33 +00:00
javi%netscape.com
0a3a8b428a Add Win32 build support for PSM 2.0
git-svn-id: svn://10.0.0.236/trunk@84963 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 21:16:07 +00:00
dave%intrec.com
19f8439e6f Fix for bug 32000 (and refixing bug 4928): extra newlines in comments made
with NS4-Mac


git-svn-id: svn://10.0.0.236/trunk@84962 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 21:09:33 +00:00
dcone%netscape.com
2a78e4b3b0 r=dbaron sr=buster. Took out the nsIPrintOptions service registration.. which is not needed.
git-svn-id: svn://10.0.0.236/trunk@84961 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 21:00:58 +00:00
blakeross%telocity.com
911b77adc6 Fix 60633: JS strict warnings in fieldMapImport.js. patch by Mark Olson. r=timeless sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84960 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 20:32:38 +00:00
nboyd%atg.com
9cf5c2976a Subject:
[Fwd: My Mistake in ScriptRuntime method]]]
   Date:
        Tue, 16 Jan 2001 15:48:26 +0100
   From:
        Igor Bukanov <igor@icesoft.no>
     To:
        Norris Boyd <nboyd@atg.com>




Hi, Norris!

With my previous patch to fix in
org/mozilla/javascript/ScriptRuntime.java Integer.MIN_VALUE as index
problem I also added a bug to the unrelated code: I tried to minimize
object creation and unfortunately that untested "optimization" slippet
into my patch as well.

I replaced the lines 290, 291 in toNumber(String s) method from

String sub = s.substring(start, end+1);
if (sub.equals("Infinity"))

to

if (s.regionMatches(start, "Infinity", 0, 8))

But that should be
if (start + 7 == end && s.regionMatches(start, "Infinity", 0, 8))

Sory for troubles, Igor





290c290
<             if (s.regionMatches(start, "Infinity", 0, 8))
---
>             if (start + 7 == end && s.regionMatches(start, "Infinity", 0, 8))


git-svn-id: svn://10.0.0.236/trunk@84959 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 20:20:36 +00:00
racham%netscape.com
a84d1b4d33 Fixing bug 60652. Fixing a js warning. Patch by Mark Olson. r=timeless, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84958 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 19:54:21 +00:00
pavlov%netscape.com
fbc9acee8e move the defines outside the ifdefs
git-svn-id: svn://10.0.0.236/trunk@84957 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 19:31:24 +00:00
nboyd%atg.com
7a819a25a9 Expand tutorial.
git-svn-id: svn://10.0.0.236/trunk@84956 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 15:24:23 +00:00
timeless%mac.com
9b3f89e2e0 fix bug 60666 javascript strict warnings in pref-search.js
+ agressive cleanup. patch from maolson@earthlink.net r=timeless a=ben


git-svn-id: svn://10.0.0.236/trunk@84955 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 06:52:07 +00:00
blakeross%telocity.com
2639492ec8 Fix 60657: JS strict warnings in preftree.xul. r=timeless a=ben
git-svn-id: svn://10.0.0.236/trunk@84954 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 03:57:04 +00:00
timeless%mac.com
958d8437bd fux byg 64593 javascript strict warnings in nsTreeUtils.js
patch by maolson@earthlink.net r=timeless a=ben


git-svn-id: svn://10.0.0.236/trunk@84953 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 03:36:20 +00:00
blakeross%telocity.com
7c4f6e5d4c Fix 65025: scrollbars in Mac Classic are wrong color. patch by lordpixel. r=blake sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@84952 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 01:39:44 +00:00
blakeross%telocity.com
1d5e9edb82 Fix 65025: scrollbars in Mac Classic are wrong color. patch by lordpixel. r=blake sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@84951 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 01:27:20 +00:00
mkaply%us.ibm.com
0a4cf90939 r=mkaply, a=blizzard
Bring OS/2 helpers up to current level


git-svn-id: svn://10.0.0.236/trunk@84950 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-16 00:09:58 +00:00
colin%theblakes.com
69cf97d60c Make sure we set the length in the case of a clipboard copy failure.
b=65070 r=pavlov r=blizzard


git-svn-id: svn://10.0.0.236/trunk@84949 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-15 23:52:08 +00:00
mkaply%us.ibm.com
6878c92591 r=cls
Missing makefiles in allmakefiles.sh and themes/makefiles


git-svn-id: svn://10.0.0.236/trunk@84948 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-15 23:48:51 +00:00
axel%pike.org
91db368466 make client.mk get modules.mk changes on the first run, r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@84946 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-15 15:29:10 +00:00
mkaply%us.ibm.com
43750ff673 r=cls
SHORT_LIBNAME not needed here anymore - gkplugin is 8 chars - fixes OS/2 fullscreen plugins


git-svn-id: svn://10.0.0.236/trunk@84945 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-15 15:09:32 +00:00
pierre%netscape.com
fc5d1c2e25 Initializes a menuHandle to nil before sending it in an event. I don't have a bug report for that. I don't even remember what it is for. This fix has been sitting for months in my tree.
git-svn-id: svn://10.0.0.236/trunk@84944 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-15 14:26:30 +00:00
koehler%mythrium.com
efedfb77ed Bug 9863. That's a patch I forgot in the last one. Again just BeOS stuff.
git-svn-id: svn://10.0.0.236/trunk@84943 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-15 03:39:10 +00:00
koehler%mythrium.com
b620988e3b Removing unused files under BeOS. Part of Bug 9863.
BeOS only code.


git-svn-id: svn://10.0.0.236/trunk@84942 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-14 18:22:18 +00:00
timeless%mac.com
4bcd0c2b49 fix bug 64919 "Install PSM" should be removed from the Debug menu
patch from simmo@mailandnews.com r=timeless a=ben


git-svn-id: svn://10.0.0.236/trunk@84941 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-14 08:56:54 +00:00
disttsc%bart.nl
05616811f6 Fix default page loaded at start-up for the case where the browser was started with command line parameters. bug=64526, r=timeless, a=ben
git-svn-id: svn://10.0.0.236/trunk@84940 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-14 07:37:11 +00:00
timeless%mac.com
84d57f297f J:\DOCUMENT\Josh\LOCALS~1\Temp\1\4
git-svn-id: svn://10.0.0.236/trunk@84939 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-14 07:14:25 +00:00
pavlov%netscape.com
8dcf006fc5 ifdef undef ... endif
git-svn-id: svn://10.0.0.236/trunk@84938 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-14 06:13:17 +00:00
pavlov%netscape.com
fd39708481 !@E!@#!@#
git-svn-id: svn://10.0.0.236/trunk@84937 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-14 05:31:26 +00:00
pavlov%netscape.com
b4019decae use gdk to draw decoded images to the root window :-)
git-svn-id: svn://10.0.0.236/trunk@84936 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-14 02:48:58 +00:00
cls%seawood.org
2d91586f8d Add support for the zip package format.
Use zip/unzip to copy the files on BeOS as tar & cp do not appear to preserve BeOS' special file attributes.
Added *.stub (BeOS) to the strip exclusion list.
Set STRIP_FLAGS to -g for BeOS.


git-svn-id: svn://10.0.0.236/trunk@84935 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-14 01:43:08 +00:00
nboyd%atg.com
1fe9e1c3e0 Fix 64788 Make method invocation 10x faster with following code....
git-svn-id: svn://10.0.0.236/trunk@84934 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-14 01:19:58 +00:00
pavlov%netscape.com
86e09b8600 use memcpy for the data
git-svn-id: svn://10.0.0.236/trunk@84933 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-14 01:08:01 +00:00
disttsc%bart.nl
3ad682e900 Fix c++ comment in c file
git-svn-id: svn://10.0.0.236/trunk@84932 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-14 00:58:06 +00:00
dcone%netscape.com
e7a6e5fcdd The locking and unlocking controls some optimization of the image.. like the DIB. r=kmmclusk sr=buster
git-svn-id: svn://10.0.0.236/trunk@84931 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 22:26:18 +00:00
dbaron%fas.harvard.edu
eda65169a9 Add file for morse with correct case: bug 52523, sorting for cookie-manager and password-manager, r=saari@netscape.com, sr=brendan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84930 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 18:49:35 +00:00
morse%netscape.com
bc7947a55a bug 52523, sorting for cookie-manager and password-manager, r=saari@netscape.com, sr=brendan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84929 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 17:39:40 +00:00
bienvenu%netscape.com
fc02294850 add offline msg display r=sspitzer, sr=,mscott 41751
git-svn-id: svn://10.0.0.236/trunk@84928 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 15:31:30 +00:00
bienvenu%netscape.com
a2a6b94294 add offline msg display r=sspitzer, sr=,mscott 41751, finish support for memory cache
git-svn-id: svn://10.0.0.236/trunk@84927 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 15:29:51 +00:00
bienvenu%netscape.com
584f96df21 fix right click save on image, offline msg r=sspitzer,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84926 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 15:27:46 +00:00
cls%seawood.org
933d82dc2a Preliminary implementation of nsClipBoard for BeOS. Text/unicode copy-n-paste work but html needs some work.
Thanks to Takashi Toyoshima <toyoshim@be-in.org> for the patch.
Bug #65100 r=cls


git-svn-id: svn://10.0.0.236/trunk@84925 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 07:56:36 +00:00
dprice%netscape.com
0ccbfc1487 busted linux, backing out.
git-svn-id: svn://10.0.0.236/trunk@84924 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 07:24:24 +00:00
dprice%netscape.com
fbcfdb2b26 BUG 63013 changes to the makefile to enable string factoring tests run on windows.
Changes return code of test program on failure.  Added all-tests:: rule to makefile


git-svn-id: svn://10.0.0.236/trunk@84923 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 07:06:03 +00:00
dprice%netscape.com
865f93f808 BUG 63013 Removes the STAND_ALONE_STRING_TESTS flag, sr=scc
git-svn-id: svn://10.0.0.236/trunk@84922 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 07:03:35 +00:00
disttsc%bart.nl
da6316f175 Fix bug 64412: security warning dialogs must be dismissed twice. r=pollman, a=ben
git-svn-id: svn://10.0.0.236/trunk@84921 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 06:42:16 +00:00
cls%seawood.org
fb639c9dcc Make sure that we initialize the netPostive variables used in association with imported bookmarks. Marking importing bookmarks work on BeOS.
Thanks to Takashi Toyoshima <toyoshim@be-in.org> for the patch.
Bug #65185. r=cls


git-svn-id: svn://10.0.0.236/trunk@84920 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 05:28:12 +00:00
bryner%uiuc.edu
a90fd3113f Only build the xpcom sample component if ENABLE_TESTS is set (or only if DISABLE_TESTS isn't set, on windows). sr=cls.
git-svn-id: svn://10.0.0.236/trunk@84919 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 05:26:02 +00:00
cls%seawood.org
f648f888f5 Make sure to use netPositive variables instead of IE ones.
Thanks to Takashi Toyoshima <toyohim@be-in.org> for the patch.
Bug #65131 r=cls


git-svn-id: svn://10.0.0.236/trunk@84918 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 04:59:43 +00:00
disttsc%bart.nl
8760cf8ab3 Fix minor goof, patch by John Morisson <jrgm@netscape.com>, r=me, a=ben
git-svn-id: svn://10.0.0.236/trunk@84916 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 03:54:46 +00:00
pavlov%netscape.com
6de11c2843 renaming nsIImage to nsIImage2 for now...
git-svn-id: svn://10.0.0.236/trunk@84915 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 02:59:24 +00:00
nelsonb%netscape.com
3aa312f741 Send SSL 3.x alert records when a version mismatch occurs.
Use the other party's version number to decide which alert to send.
Bug 65142.  R&A: relyea.


git-svn-id: svn://10.0.0.236/trunk@84914 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 02:32:39 +00:00
nelsonb%netscape.com
8eaac606a9 Add implementation of SSL_RSA_WITH_RC4_128_SHA SSL3 cipher suite,
which is not enabled by default.  Bug 59795.


git-svn-id: svn://10.0.0.236/trunk@84913 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 02:05:15 +00:00
nelsonb%netscape.com
b9b03fad76 Remove all vestiges of old pre-NSS socks client implementation from NSS.
Bug 51471.


git-svn-id: svn://10.0.0.236/trunk@84912 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 01:52:59 +00:00
jst%netscape.com
b4e926e2e9 Fixing bug 58285. The various scroll methods on the window object need to flush pending layout notifications so that the presentation is up-to-date when the scolling is done. r=heikki@netscape.com, r=pollmann@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84911 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 01:51:45 +00:00
danm%netscape.com
54d50df7a5 fix position and zoom state persistence for bm-find.xul and history.xul. bug 65262 (32148) r=ben,mscott,pchen
git-svn-id: svn://10.0.0.236/trunk@84910 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 01:25:42 +00:00
sspitzer%netscape.com
b55c4a1be1 fix for #65019. fix provided by hwaara@chello.se. r=sspitzer, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84909 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 01:18:40 +00:00
nelsonb%netscape.com
3f02ae5ea6 Suppress EOF messages unless running with -v. Bug 60879.
git-svn-id: svn://10.0.0.236/trunk@84908 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 00:55:30 +00:00
disttsc%bart.nl
0bfcf1df77 Fix bug 63990: make "delete messages from server" depend on "leave messages on server". patch is by hwaara, additional clean-up by me. r=jag, r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84907 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 00:46:52 +00:00
karnaze%netscape.com
d3c1d01164 bug 63445 - initialized array of float values. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@84904 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-13 00:26:01 +00:00
peterlubczynski%netscape.com
9486ae392c Fix regression. bug 65162 a=av sr=vidur
git-svn-id: svn://10.0.0.236/trunk@84903 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 23:45:03 +00:00
karnaze%netscape.com
4a9c4f910f new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@84902 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 23:27:33 +00:00
naving%netscape.com
7c9e0b84dc 62992. r=sspitzer sr=bienvenu. Make sure that there are no null characters after the
linebreak


git-svn-id: svn://10.0.0.236/trunk@84901 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 23:17:41 +00:00
sspitzer%netscape.com
34e6568dba whoops, comment out my dump() statement.
git-svn-id: svn://10.0.0.236/trunk@84900 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 23:16:06 +00:00
karnaze%netscape.com
a7ed9d39d0 bug 46623 - allocate proportional and auto cols together when balancing columns. (sr=buster, r=peterl)
allow columns (due to colspan) containing no originating cols at the end of the table to exist


git-svn-id: svn://10.0.0.236/trunk@84899 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 23:07:54 +00:00
sspitzer%netscape.com
bacaade7e3 fix formatting. no reviewer.
git-svn-id: svn://10.0.0.236/trunk@84898 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 22:58:34 +00:00
cmanske%netscape.com
8c800ad232 Added notes for localization of string in editor.properties. r=timeless, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84897 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 22:44:31 +00:00
cmanske%netscape.com
dec1e27005 Show underline for links in editor, b=63528, r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84896 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 22:32:44 +00:00
cmanske%netscape.com
415d88791c Opening a URL in editor always checks for existing window, b=64129, r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84895 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 22:31:16 +00:00
sspitzer%netscape.com
0760355aeb don't do the work for the performance measurements if the "mail.showMessengerPerformance" pref isn't true. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84894 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 22:26:10 +00:00
disttsc%bart.nl
a590f6f69a More REQUIRES fun, adding locale this time.
git-svn-id: svn://10.0.0.236/trunk@84893 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 22:13:53 +00:00
dougt%netscape.com
fcd23972db Removing unused files which were removed on the FTP branch, but were never removed from the trunk. r=valeski, a=rpotts.
git-svn-id: svn://10.0.0.236/trunk@84892 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 22:12:12 +00:00
dougt%netscape.com
ab0265ca32 adding a little test suite in html for ftp. It is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@84891 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 22:10:55 +00:00
nhotta%netscape.com
1362cfdba2 Added folderCharsetOverride to nsIMsgI18NUrl, implemented getter for each protocols, changed libmime to use it,
bug 39756, r=sspitzer, sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@84890 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 21:56:47 +00:00
harishd%netscape.com
4b939ebc0d 60498 - Strip off embedded null char found between tokens/tags.
r=heikki
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@84889 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 21:16:40 +00:00
disttsc%bart.nl
272e2389d5 Update REQUIRES to fix senna bustage
git-svn-id: svn://10.0.0.236/trunk@84888 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 21:09:51 +00:00
morse%netscape.com
0ff3ae7f73 bug 60997, can't unblock site from setting cookies, r=akkana@netscape.com, sr=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84887 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 21:01:00 +00:00
beard%netscape.com
7a1463e602 Keeping up with current Rhino sources. Removed Frame.java, Added DebugFrame.java, DebuggableEngineImpl.java.
git-svn-id: svn://10.0.0.236/trunk@84886 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 20:42:17 +00:00
beard%netscape.com
160323e9fa fixed no-prototype function warning.
git-svn-id: svn://10.0.0.236/trunk@84885 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 20:32:19 +00:00
sspitzer%netscape.com
1077d86b4a remove the unused default pref "mail.allow_at_sign_in_user_name".
see #53970 for details.


git-svn-id: svn://10.0.0.236/trunk@84883 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 20:14:12 +00:00
attinasi%netscape.com
b1cdcad986 Floated images now have a 3px margin in Quirks mode: b=58899 r=hixie, sr=buster
git-svn-id: svn://10.0.0.236/trunk@84882 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 20:11:32 +00:00
wtc%netscape.com
7943196518 Bugzilla bug #64650: set CC=cc explicitly so that we don't accidentally
pick up the CC setting in the environment.  This change is suggested by
Jim Dunn of Netscape.


git-svn-id: svn://10.0.0.236/trunk@84881 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 20:11:18 +00:00
harishd%netscape.com
b845e28629 Minor modification to the regression script.
** NOT PART OF THE BUILD **


git-svn-id: svn://10.0.0.236/trunk@84880 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 20:08:03 +00:00
rhp%netscape.com
625b522d1d fix for hardcoded - non i18n string in signed stub handler - bug #: 57114
git-svn-id: svn://10.0.0.236/trunk@84879 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 20:07:39 +00:00
axel%pike.org
8d208bdc0b not part of build, code by axel@pike.org, r=peterv; code by peterv@netscape.com, r=me. Fixing 59937, xpath function lib complete, 59649, 60059, 47720; building windows standalone, 46640; general code cleanup, fixing warnings; XPathProcessor and XSLTProcessor available to JS (work in progress)
git-svn-id: svn://10.0.0.236/trunk@84878 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 20:06:48 +00:00
cmanske%netscape.com
96b31ddf6b Fixed bug 64920, can't insert image. r=mjudge, sr=kin
git-svn-id: svn://10.0.0.236/trunk@84877 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 20:03:57 +00:00
wtc%netscape.com
1ce3c8df87 Bugzilla bug #64650: use +DAportable +DS2.0 in "pure 32" builds. This
was suggested by Jim Dunn of Netscape.  Reviewed by Nelson Bolyard.


git-svn-id: svn://10.0.0.236/trunk@84875 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 19:54:10 +00:00
harishd%netscape.com
1af0a398e8 64576 -- Make sure to update termial string position to avoid infinite looping.
r=heikki
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@84874 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 19:50:25 +00:00
harishd%netscape.com
ae4b93cd7d Used for regression testing
git-svn-id: svn://10.0.0.236/trunk@84873 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 19:23:21 +00:00
mcgreer%netscape.com
fc6581fb8e take back export of NSS_CMSArray_Count
git-svn-id: svn://10.0.0.236/trunk@84866 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 18:38:31 +00:00
mcgreer%netscape.com
e695d6ff6c removing use of external NSS_CMSArray_Count
git-svn-id: svn://10.0.0.236/trunk@84865 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 18:37:41 +00:00
nboyd%atg.com
1a08e287f2 Update comment; operator is part of ECMA.
git-svn-id: svn://10.0.0.236/trunk@84863 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 16:30:04 +00:00
nboyd%atg.com
1b2c7fe210 Add removeThreadLocal method.
git-svn-id: svn://10.0.0.236/trunk@84862 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 16:29:26 +00:00
nboyd%atg.com
60daf49df2 Fix infinite loop in example.
git-svn-id: svn://10.0.0.236/trunk@84861 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 16:28:36 +00:00
mkaply%us.ibm.com
5afd4233cd r=mkaply, a=blizzard
Regression on 256 color from earlier system color checkin


git-svn-id: svn://10.0.0.236/trunk@84860 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 15:53:21 +00:00
mkaply%us.ibm.com
ba5290ad54 r=mkaply, a=blizzard
General code cleanup and fix for printer trap from Dainis Jonitis


git-svn-id: svn://10.0.0.236/trunk@84859 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 15:25:01 +00:00
mkaply%us.ibm.com
415bf79558 r=mkaply, a=blizzard
General code cleanup and new error logging mechanism from Dainis Jonitis


git-svn-id: svn://10.0.0.236/trunk@84858 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 15:18:10 +00:00
ccarlen%netscape.com
14e6d43434 Part of bug 35559 - dynamic profile switching
r=valeski@netscape.com, sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84857 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 15:04:58 +00:00
mcgreer%netscape.com
b3bd20131b remove unspecified arg check (bug 65122)
git-svn-id: svn://10.0.0.236/trunk@84856 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 14:30:44 +00:00
mcgreer%netscape.com
9f0c17993d bug 64706
when prime generation step fails, retry up to a specified number of times


git-svn-id: svn://10.0.0.236/trunk@84855 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 14:29:47 +00:00
pavlov%netscape.com
bd36141ac7 make GetBits have an out param of an array of PRUint8s.
git-svn-id: svn://10.0.0.236/trunk@84854 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 13:09:16 +00:00
pavlov%netscape.com
c392bec713 nsImage now outputs c:\whatever.bmp when GetBits() is called. this likely only works on 24bit RGB images and there might be an off-by-1 error causing it to output as GBR instead of RGB (or it might be in the ppm image decoder that isn't checked in yet)
git-svn-id: svn://10.0.0.236/trunk@84853 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 11:32:23 +00:00
m_kato%ga2.so-net.ne.jp
197f670095 bug 64983, r=nhotta, sr=sfraser
When open DBCS filename by composer, title is shown incorrectly.
This bug is the regression of sfraser's check in (nsEditorShell.cpp
v1.222).


git-svn-id: svn://10.0.0.236/trunk@84852 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 11:29:59 +00:00
disttsc%bart.nl
306b3d178b Move the text zoom menu into its own overlay so it can be used by mail/news. Bug=64449, r=timeless,mao, a=ben
git-svn-id: svn://10.0.0.236/trunk@84851 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 10:35:49 +00:00
pavlov%netscape.com
6c7d89852c some code that should in theory write a bmp whenever GetBits is called to c:\whatever.bmp... this however produces a blank bmp at the moment...
git-svn-id: svn://10.0.0.236/trunk@84850 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 08:23:22 +00:00
waldemar%netscape.com
a69eb6e11a Separated statements into statements, diretives, and definitions
git-svn-id: svn://10.0.0.236/trunk@84849 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 07:33:19 +00:00
bratell%lysator.liu.se
4d3ab899b1 Cleanup of the HTML -> plain text converter. Bug 62189. r=anthonyd@netscape.com sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84848 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 07:26:39 +00:00
wtc%netscape.com
64a52be4e7 Added NSS_CMSArray_Count back to the exports list because
cmd/smimetools/cmsutil.c needs it.


git-svn-id: svn://10.0.0.236/trunk@84847 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 06:07:34 +00:00
blakeross%telocity.com
10e1fcefa2 more dump() removal (65127)
git-svn-id: svn://10.0.0.236/trunk@84845 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 04:54:06 +00:00
pavlov%netscape.com
259207bc05 fix some build problems
git-svn-id: svn://10.0.0.236/trunk@84842 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 03:54:43 +00:00
tao%netscape.com
cf6af35b02 26291: StringBundle should not call OpenInputStream(). (r,sr)=(alecf,erik).
Add new api , CreateAsyncBundle() to load stream asynchronously. setenv
STRRES_ASYNC to flip CreateBundle() to CreateAsyncBundle().


git-svn-id: svn://10.0.0.236/trunk@84840 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 03:02:22 +00:00
sonmi%netscape.com
9d0b656952 added documentation on how to activate it when it is needed
git-svn-id: svn://10.0.0.236/trunk@84839 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 02:45:01 +00:00
pavlov%netscape.com
0d783f073e same thing on windows
git-svn-id: svn://10.0.0.236/trunk@84838 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 02:10:05 +00:00
pavlov%netscape.com
153f898211 set/get/allocate/etc the image bits so that decoders can set the data in them without crashing or getting an error
git-svn-id: svn://10.0.0.236/trunk@84837 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 02:03:34 +00:00
sonmi%netscape.com
0b4626e9cd new script, supposed to be started in the background by all.sh, to watch
for cores and rename them, so multiple corefiles can be saved
checked in during freeze but not activated yet


git-svn-id: svn://10.0.0.236/trunk@84836 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 02:00:28 +00:00
nelsonb%netscape.com
58e49539c3 Save and restore %ebx register in all functions. Fixes bug 64940.
git-svn-id: svn://10.0.0.236/trunk@84835 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 01:37:02 +00:00
bienvenu%netscape.com
acf774d2ec fix imap msgs filtering multiple times by not filtering deleted messages r=naving sr=mscott 57938
git-svn-id: svn://10.0.0.236/trunk@84831 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 01:08:04 +00:00
mkaply%us.ibm.com
1c1b824f36 #65078
r=morse, sr/a=brendan
Don't hardcode fonts in HTML files - bad for L10N


git-svn-id: svn://10.0.0.236/trunk@84830 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 00:58:50 +00:00
shanjian%netscape.com
89140f3d56 #59268
backup to previous version because of new problem found with this fix.


git-svn-id: svn://10.0.0.236/trunk@84829 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 00:36:21 +00:00
blakeross%telocity.com
d5016bfa94 Fixing a problem with my checkbox patch from the other day (something didn't revert properly). r=kerz
git-svn-id: svn://10.0.0.236/trunk@84828 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 00:23:09 +00:00
sonmi%netscape.com
317617a367 now killing tail -f when done under MKS as well.
git-svn-id: svn://10.0.0.236/trunk@84827 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-12 00:18:32 +00:00
bnesse%netscape.com
f8da87fe4b Fix for Mac plugin positioning problems. Bug 59620. r = peterlubczynski, sr = buster.
git-svn-id: svn://10.0.0.236/trunk@84826 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 23:56:35 +00:00
brendan%mozilla.org
a7c505139b Fix ABW impurities under JS_ClearScope on an unmutated obj (64958, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@84825 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 23:55:30 +00:00
bryner%uiuc.edu
2c4767949d Bug 63367 - turn on Mouse Wheel pref panel on Mac (this actually turns it on for all platforms). r=timeless, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@84824 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 23:37:50 +00:00
varada%netscape.com
71cfa468ec fix for #62696;reply-to not appearing in addressingwidget;r=ducarroz;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84823 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 23:36:03 +00:00
karnaze%netscape.com
ea4c5233e6 removed assertion added during fix for bug 57828.
git-svn-id: svn://10.0.0.236/trunk@84821 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 23:22:44 +00:00
karnaze%netscape.com
2712b6c214 bug 57828 - better handling of nowrap in table cell. sr=buster, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@84820 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 23:03:37 +00:00
blakeross%telocity.com
f14e1b077e removing more dump()s (65127)
git-svn-id: svn://10.0.0.236/trunk@84819 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 22:58:50 +00:00
karnaze%netscape.com
2ca2d87423 bug 56201 - allow cell to return larger desired size than avail during incremental reflow. sr=buster, r=peterl
git-svn-id: svn://10.0.0.236/trunk@84818 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 22:51:35 +00:00
blakeross%telocity.com
ad02e417bb removing more dump()s.
git-svn-id: svn://10.0.0.236/trunk@84817 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 22:50:20 +00:00
blakeross%telocity.com
3e672f12eb took spelling lessons, fixing.
git-svn-id: svn://10.0.0.236/trunk@84816 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 22:44:54 +00:00
varada%netscape.com
306d9b0b94 fix for bug#53534-attachment cannot have duplicate files;r=ducarroz;sr=mscott; fix for bug#59101-toolbar checkmarks not visible in viewmenu;r=varada;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84813 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 22:34:13 +00:00
dcone%netscape.com
9dac9b4baf r=peterl sr = buster. Added printeroptions service
git-svn-id: svn://10.0.0.236/trunk@84810 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 22:17:38 +00:00
dcone%netscape.com
1f8a96218b r=peterl sr=buster Set up for the printoptions
git-svn-id: svn://10.0.0.236/trunk@84809 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 22:14:45 +00:00
naving%netscape.com
c6240b6865 64766 sr=bienvenu. Removing code that was not required for one of my earlier fixes.
Thanks to bienvenu for pointing it out.


git-svn-id: svn://10.0.0.236/trunk@84808 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 22:02:29 +00:00
harishd%netscape.com
eedd41dfb3 64622 - Make sure that IsResidualStyleTag() returns the correct value. That is, return TRUE for tags that fall under residual style category.
r=jst
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@84807 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 21:31:03 +00:00
blakeross%telocity.com
997b5b0438 fix problem in last checkin.
git-svn-id: svn://10.0.0.236/trunk@84806 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 21:29:15 +00:00
blakeross%telocity.com
881b325806 Fix 60627: JS strict warnings in abCommon.js. patch by Mark Olson (maolson@earthlink.net). r=jag sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84805 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 21:05:53 +00:00
dougt%netscape.com
e9f133b141 duh! wrong var being used. r=darin a=me
git-svn-id: svn://10.0.0.236/trunk@84804 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 20:55:09 +00:00
morse%netscape.com
1b22a9396f bug 64553, javascript error, submitted by gemal@gemal.dk, r=morse@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84801 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 20:14:59 +00:00
mcgreer%netscape.com
fdfcf8bc6f prune list of exported symbols for s/mime library
git-svn-id: svn://10.0.0.236/trunk@84800 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 20:09:01 +00:00
neeti%netscape.com
5e1b70ffad fix for bug 59975 - general.useragent.override ignored, r=darin@netscape.com,sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84799 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 15:17:30 +00:00
rods%netscape.com
89f403c708 must return NS_OK from DOM calls, this will make the button look enabled when enabled
Bug 63722 r=attinasi sr=buster


git-svn-id: svn://10.0.0.236/trunk@84798 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 15:14:47 +00:00
bienvenu%netscape.com
09c11c09e5 add compact offline store method, part of 15865 r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84797 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 14:40:50 +00:00
axel%pike.org
f4f48d7e33 bug 57282, fixing easy modules like transformiix, r=cls (build stuff)
git-svn-id: svn://10.0.0.236/trunk@84796 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 11:02:10 +00:00
saari%netscape.com
51faef0250 Fix for 58957, plugins on MacOS don't get key events. r=bnesse, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@84795 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 08:22:27 +00:00
saari%netscape.com
7bd42a3c0b Fix for 58957, plugins don't get key events on MacOS. r=bnesse, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@84794 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 08:17:36 +00:00
bryner%uiuc.edu
131ae68e12 Removing dead nsISelfScrollingFrame interface. sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@84792 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 07:32:48 +00:00
blakeross%telocity.com
1b478c4438 Fix 64602: tooltips in mac classic are gray, not yellow. patch by lordpixel. r=blake sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84791 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 06:29:55 +00:00
wtc%netscape.com
b8741b66b4 Bugzilla bug #64471: need to use the value of the 'xferred' argument when
sendfilev fails with EAGAIN/EWOULDBLOCK.


git-svn-id: svn://10.0.0.236/trunk@84789 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 05:17:52 +00:00
cmanske%netscape.com
eb8ee60acc Fix bug 55879 (handle default alignment in TH vs. TD in table properties) r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84788 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 05:01:24 +00:00
cmanske%netscape.com
2fc5e614a9 Fix bugs 55286 (foreign char in URL not converted correctly), 62386 (enable OK after selecting anchor) r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84787 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 04:59:19 +00:00
cmanske%netscape.com
2a6b813ff4 Fix bug 58364 (remove appcore from dialog template file) r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84786 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 04:57:23 +00:00
cmanske%netscape.com
78ddfc6c84 Fix bug 53275 (disable colorpickers in prefs if not 'Custom colors') r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84785 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 04:55:33 +00:00
cmanske%netscape.com
955b8e704d Fix bug 58496 (Insert table should delete selection) r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84784 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 04:54:20 +00:00
cmanske%netscape.com
254ddb2c74 Fix bug 55991 (right click in table cell and context menus) r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84783 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 04:49:42 +00:00
pavlov%netscape.com
e1ae40586a adding some image shit
git-svn-id: svn://10.0.0.236/trunk@84782 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 04:35:18 +00:00
pavlov%netscape.com
c02c9b7469 i don't remember what i changed. i hate windows. windows sucks. its makefile and dlldep crap can kiss my ass
git-svn-id: svn://10.0.0.236/trunk@84781 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 04:34:43 +00:00
bienvenu%netscape.com
2ca6c20488 move WeAreOffline to imap utils part of offline work for 15865 r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84780 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 04:15:30 +00:00
sspitzer%netscape.com
468c0866fc add files for bienvenu.
git-svn-id: svn://10.0.0.236/trunk@84779 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 04:15:15 +00:00
bienvenu%netscape.com
5c38cab844 more work on purging of offline imap/news messages r=sspitzer, sr=mscott 15865
git-svn-id: svn://10.0.0.236/trunk@84778 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 04:07:24 +00:00
bienvenu%netscape.com
97d7db2fd5 add setter for mem cache entry so we can clear it out r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84777 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 04:05:18 +00:00
bienvenu%netscape.com
f2bf5efb0d add nsMsgFolderCompactor.cpp to windows build r=sspitzer,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84776 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 02:44:59 +00:00
bienvenu%netscape.com
e7f04eeb39 add path to base\src to to windows build r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84775 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 02:44:03 +00:00
bienvenu%netscape.com
996a0ca63d add nsIMsgFolderCompactor.idl to windows build r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84774 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 02:43:12 +00:00
evaughan%netscape.com
db2c11b195 fixes for:
60058
43825
53885
45856
40612

-r ben -sr hyatt


git-svn-id: svn://10.0.0.236/trunk@84772 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 01:56:27 +00:00
sonmi%netscape.com
174f1dad2f formated everything to a <tab4> format - still needs reformating to linelength
git-svn-id: svn://10.0.0.236/trunk@84771 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 01:55:23 +00:00
sonmi%netscape.com
296e8cf4eb terminate now if no selfserver is running before attempting to start the
clients (with exception of the -q testclien)


git-svn-id: svn://10.0.0.236/trunk@84770 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 01:45:12 +00:00
blakeross%telocity.com
be1c71d320 backing out changes that went in accidentally.
git-svn-id: svn://10.0.0.236/trunk@84769 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 01:34:40 +00:00
blakeross%telocity.com
2c1d81574a removing more dump()s.
git-svn-id: svn://10.0.0.236/trunk@84768 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 01:32:33 +00:00
naving%netscape.com
a66df9b7f9 56911 r=varada sr=bienvenu. News to pop/imap is always a copy.
git-svn-id: svn://10.0.0.236/trunk@84767 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 01:20:00 +00:00
bienvenu%netscape.com
ada182411a add nsMsgFolderCompactor to unix builds, r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84766 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 01:18:55 +00:00
blakeross%telocity.com
c563fc105c A little more Find cleanup for 63705. r=jag a=ben
git-svn-id: svn://10.0.0.236/trunk@84765 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 01:16:46 +00:00
ccarlen%netscape.com
61c7719e8c fixing bustage - removing file nsiConnectionCache.idl
git-svn-id: svn://10.0.0.236/trunk@84764 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 01:13:37 +00:00
bienvenu%netscape.com
dfdd6a1a0e fix warnings, NOT YET PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@84763 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 01:10:20 +00:00
dbaron%fas.harvard.edu
0970281400 Add layout to REQUIRES to fix senna tinderbox bustage.
git-svn-id: svn://10.0.0.236/trunk@84762 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 01:06:17 +00:00
bienvenu%netscape.com
be011975a7 add base/src to include path for unix build, prior to landing nsMsgFolderCompactor changes
git-svn-id: svn://10.0.0.236/trunk@84761 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 00:47:05 +00:00
bienvenu%netscape.com
1fc415e517 add nsIMsgFolderCompactor to unix builds, r=sspitzer,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84760 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 00:46:15 +00:00
dbaron%fas.harvard.edu
13b2451cfa Fixing senna tinderbox bustage by adding profile to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@84759 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 00:29:25 +00:00
mscott%netscape.com
4458d85965 wrap a try / catch clause around my attempt to create a secure browser UI instance this is to prevent us from
throwing an exception when psm is not installed.

r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@84758 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 00:08:47 +00:00
pinkerton%netscape.com
31a30a3d08 make linebreak converter not specific about what kind of linebreaks we're dealing with on a paste. Insulates us from changes to what kind of linebreaks the DOM gives us. r=saari, a=sfraser, bug# 63563.
git-svn-id: svn://10.0.0.236/trunk@84757 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 00:08:28 +00:00
rogerl%netscape.com
09e69e2106 New (incomplete but functional) implementation of operator overriding.
git-svn-id: svn://10.0.0.236/trunk@84756 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 00:03:05 +00:00
dbaron%fas.harvard.edu
d2da3c92ea Fix senna tinderbox bustage by adding profile to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@84755 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 23:51:12 +00:00
peterlubczynski%netscape.com
eb131a985d Null pointer check if no default plugin. part of patch for bug 54437 a=av sr=buster
git-svn-id: svn://10.0.0.236/trunk@84754 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 23:51:07 +00:00
peterlubczynski%netscape.com
91e5e627ed Fix for reading content-type header before using default plugin bug 54437 a=av sr=buster
git-svn-id: svn://10.0.0.236/trunk@84753 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 23:49:19 +00:00
dbragg%netscape.com
3a9ecd0d70 Checkin mac project file for dougt's FTP changes. r=dougt a=rpotts. See dougt for any breakage or anything related to this change.
git-svn-id: svn://10.0.0.236/trunk@84752 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 23:46:23 +00:00
dougt%netscape.com
bf9dd9e284 Landing of FTP branch. Highlights include (a) ftp is now async, (b) removal of threadpool, (c) better caching of control socket. See posting on netlib newsgroup for details. reviewers include valeski@netscape.com, gordon@netscape.com. Superreveiwer is rpotts@netscape.com. Bugs fixed by this bug include 61678.
git-svn-id: svn://10.0.0.236/trunk@84751 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 23:45:04 +00:00
bienvenu%netscape.com
cf0982bf33 rest of fix for batching move/copy r=naving,sr=mscott 64456
git-svn-id: svn://10.0.0.236/trunk@84748 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 23:21:28 +00:00
bienvenu%netscape.com
9de2201932 initial entry into cvs of folder compaction classes for offline, NOT YET PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@84747 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 23:18:53 +00:00
blakeross%telocity.com
b6f4549d3e Fix 57653: search cleanup, skinability, random fixes, optimization, and more. r=jag a=ben
git-svn-id: svn://10.0.0.236/trunk@84746 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 23:02:57 +00:00
jst%netscape.com
aa91fe5d8e Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@84745 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 22:58:37 +00:00
bienvenu%netscape.com
93fbfdf96d initial entry into cvs of folder compaction classes for offline, NOT YET PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@84744 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 22:57:52 +00:00
jst%netscape.com
4cb696f69c Fixing bug 63967. Fixing a crash that happened when the .src of an image was set and the base URL was not available. r=timeless@mac.com, disttsc@bart.nl, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84743 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 22:41:47 +00:00
akkana%netscape.com
5d1bd04cdb 57317: move "middle click on content area loads URL" behavior from
middlemouse.paste pref to new middlemouse.contentLoadURL pref.
  r=timeless, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@84742 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 22:16:19 +00:00
pinkerton%netscape.com
ffdbed4af3 removing files. not used anymore.
git-svn-id: svn://10.0.0.236/trunk@84741 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 22:14:04 +00:00
akkana%netscape.com
509c902a05 42452,61173: output formatted lists even in unformatted plaintext output. r=bratell, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84740 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 22:08:08 +00:00
nhotta%netscape.com
5995a30c93 Added mail folder charset dialog, bug 32714, r=sspitzer@netscape.com,r=brendan@mozilla.org,sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@84739 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 21:50:32 +00:00
nhotta%netscape.com
1ec2e7c4a6 Added mail folder charset dialog, bug 32714, r=sspitzer@netscape.com,r=brendan@mozilla.org,sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@84738 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 21:42:16 +00:00
dbaron%fas.harvard.edu
22cbddb51c Fix another crash caused/uncovered by my leak fixes. The scrollbar must destroy all of its native widgets before their parent native widgets are destroyed. r=blizzard@mozilla.org b=64767 (Not part of build.)
git-svn-id: svn://10.0.0.236/trunk@84735 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 20:33:58 +00:00
buster%netscape.com
4cfbd75dd7 bug 61287 (The browser crashes on signing out of hotmail and msn calendar)
r=karnaze
sr=buster
patch submitted by lsv@sparc.spb.su


git-svn-id: svn://10.0.0.236/trunk@84734 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 20:30:37 +00:00
ccarlen%netscape.com
3fbb4818f5 Part of 35559 - dynamic profile switching
sr=alecf


git-svn-id: svn://10.0.0.236/trunk@84733 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 20:25:52 +00:00
ccarlen%netscape.com
5ed36dc471 Part of 35559 - dynamic profile switching
r=darin,sr=mscott


git-svn-id: svn://10.0.0.236/trunk@84732 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 20:24:23 +00:00
ccarlen%netscape.com
191c455ae6 Part of 35559 - dynamic profile switching
r=valeski,sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@84731 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 20:22:17 +00:00
heikki%netscape.com
a03af97a73 Some raw interface pointers to nsCOMPtrs, potential null pointer access fix, fixing two wrong eventStructTypes. No bug number. r=saari, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@84730 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 20:21:09 +00:00
dbaron%fas.harvard.edu
deffee0bf6 Fix xlib build bustage.
git-svn-id: svn://10.0.0.236/trunk@84729 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 20:12:51 +00:00
despotdaemon%netscape.com
efbd036259 Pseudo-automatic update of changes made by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@84728 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 18:27:23 +00:00
rods%netscape.com
f3890a5f43 backed out unwanted changes
git-svn-id: svn://10.0.0.236/trunk@84727 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 15:42:24 +00:00
rods%netscape.com
2ff0c10030 Removing all references to GfxListControlFrame
Bug 62960 r=kmcclusk sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@84726 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 14:50:27 +00:00
rods%netscape.com
ea5ec19cc6 removing GfxListControlFrame support code
Bug 62960, r=kmcclusk sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@84725 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 14:44:42 +00:00
rods%netscape.com
5ed9424e7c Removing unneeded code
Bug 52279 r=kmcclusk sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@84724 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 14:34:00 +00:00
axel%pike.org
a95fa75041 not part of the build, r=peterv, fix 54490, whitespace stripping, +whitespace cleanup in XSLTProcessor.cpp
git-svn-id: svn://10.0.0.236/trunk@84723 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 11:48:48 +00:00
m_kato%ga2.so-net.ne.jp
ab78acb20c bug 63243, sr=roc+moz
But this codes is back out from bug 55256
So It will re-check in this codes with bug 63243's better fix


git-svn-id: svn://10.0.0.236/trunk@84722 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 10:57:35 +00:00
blakeross%telocity.com
1ac252d7ca removing dump()s.
git-svn-id: svn://10.0.0.236/trunk@84721 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 08:07:23 +00:00
jgmyers%netscape.com
1c4e6bf14f back out cleanup fix
git-svn-id: svn://10.0.0.236/trunk@84720 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 07:42:59 +00:00
jgmyers%netscape.com
e9ec1f1181 attempt to fix mac build
git-svn-id: svn://10.0.0.236/trunk@84719 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 06:54:40 +00:00
jgmyers%netscape.com
feaa9091d7 cleanup, fix TRUE/FALSE refs: bug 63834 r=bryner sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84718 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 06:12:15 +00:00
jgmyers%netscape.com
e2a761fbca removed files: mozilla/mailnews/mime/src/nsMimeTransition.cpp
git-svn-id: svn://10.0.0.236/trunk@84717 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 06:07:37 +00:00
blakeross%telocity.com
e82f0e7a84 more dump() removal. yes, these are all dumps.
git-svn-id: svn://10.0.0.236/trunk@84716 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 05:17:34 +00:00
jst%netscape.com
1298a86575 Fixing bug 60920. Adding type cheks to the document.form.select.options[n] setter so that we don't crash if someone tries to set the value to an invalid type (i.e. not a HTMLOptionElement). sr=brendan@mozilla.org, r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84715 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 05:11:05 +00:00
dbaron%fas.harvard.edu
a008f36b0e Fix bustage (Sun workshop 5.0) / warning (gcc) caused by tor's checkin. Functions returning values should, well, return values. sr=tor
git-svn-id: svn://10.0.0.236/trunk@84714 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 05:10:20 +00:00
chuang%netscape.com
0a8d6707e6 bug 50241 Uncaught exception in abcommon.js, r=sspitzer,sr=mscott & bienvenu
git-svn-id: svn://10.0.0.236/trunk@84713 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 04:30:45 +00:00
sean%beatnik.com
06f691de80 Address npsimple plugin bug discovered by bug 63243. Calling the window proc directly is not safe as the HWND might be ANSI or Unicode. Call indirectly via CallWindowProc. a=av sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@84710 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 04:22:08 +00:00
dbaron%fas.harvard.edu
3b00bf8420 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84707 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 04:12:05 +00:00
dbaron%fas.harvard.edu
7bb4079ec5 Fix one-time leak of nsGCCache. r=pavlov@netscape.com sr=waterson@netscape.com b=60215
git-svn-id: svn://10.0.0.236/trunk@84706 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 04:10:07 +00:00
dbaron%fas.harvard.edu
546e388b7b Add nsGCCache to the leak/bloat stats. r=pavlov@netscape.com sr=waterson@netscape.com b=60215
git-svn-id: svn://10.0.0.236/trunk@84705 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 04:08:39 +00:00
dbaron%fas.harvard.edu
11b7597695 Add nsDeque to leak stats. r=harishd@netscape.com sr=waterson@netscape.com b=63014
git-svn-id: svn://10.0.0.236/trunk@84703 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 04:04:57 +00:00
dbaron%fas.harvard.edu
7deb350f0f Remove static constructors. GetScratchString was no longer used and GetTempStack was used too rarely to be a real performance benefit. r=harishd@netscape.com sr=waterson@netscape.com b=63014
git-svn-id: svn://10.0.0.236/trunk@84702 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 04:04:08 +00:00
blakeross%telocity.com
11048f6c78 removing some dump()s.
git-svn-id: svn://10.0.0.236/trunk@84701 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 03:58:57 +00:00
mscott%netscape.com
3b6e6e27df Bug #51921 --> add non scriptable method for setting the security info on
the mock channel.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84700 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 03:42:22 +00:00
mscott%netscape.com
722aee2b67 Bug #51921 --> the imap channel needs to set the security info used by it's transport
layer onto the mock channel. It also needs to set it on our mem cache entry if we have one to.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84699 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 03:41:55 +00:00
mscott%netscape.com
907592d039 Bug #51921 --> create a secure UI instance to monitor the lock status in the
mail window.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84698 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 03:39:56 +00:00
mscott%netscape.com
689e4cad63 Bug #54373 --> make relative links work in the message pane by enabling the ability
to resolve URLs.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84697 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 03:37:42 +00:00
danm%netscape.com
a1c1156645 persist min/max state bug 32148 r=ben,timeless
git-svn-id: svn://10.0.0.236/trunk@84696 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 03:07:28 +00:00
waldemar%netscape.com
7d08b8aa83 Simplified use-name-patterns
git-svn-id: svn://10.0.0.236/trunk@84695 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 02:50:13 +00:00
dbaron%fas.harvard.edu
b4a357b94d Fix leaks in the xlib port (and some problems exposed by fixing those leaks). b=64534, 64767 r=blizzard@mozilla.org (Not part of the build.)
git-svn-id: svn://10.0.0.236/trunk@84694 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 02:49:45 +00:00
dbaron%fas.harvard.edu
73d33434d9 Change ScrollFrameIntoView so that scrolling to an inline frame scrolls to the top of the line containing the inline frame rather than the frame itself. This makes scrolling to empty inline anchors or anchors around images work better. b=38280 r=buster@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84693 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 02:43:00 +00:00
tor%cs.brown.edu
44636a2ea2 Bug 61410 - move opaque test from ImageUpdated() to SetDecodedRect()
r=pavlov, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@84692 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 02:37:43 +00:00
javi%netscape.com
08ddcfd8fe Initial check-in of PIP (PSM 2.0)
Code almost entirely based on contribution
  from Brain Ryner (bryner@netscape.com)


git-svn-id: svn://10.0.0.236/trunk@84691 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 01:32:29 +00:00
sfraser%netscape.com
f6610d34eb Fix the Windows build, r=kin. The error handling in this file is, um, interesting.
git-svn-id: svn://10.0.0.236/trunk@84690 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 01:16:15 +00:00
ben%netscape.com
65e5cb111d bug 56719, support deep merging for XUL overlays; 57108, remove the hidden form
from all XUL documents and remove the document.controls collection that
referenced hidden form's elements collection. r=waterson@netscape.com,
a=hyatt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84689 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 01:08:23 +00:00
pavlov%netscape.com
1946b1d361 adding windows makefile
git-svn-id: svn://10.0.0.236/trunk@84688 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 00:53:48 +00:00
sfraser%netscape.com
a982e927bd Include nsIDiskDocument to fix windows build.
git-svn-id: svn://10.0.0.236/trunk@84687 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 00:10:51 +00:00
sfraser%netscape.com
d9c80e26a8 nsIDiskDocument is now xpidl-generated. bug and reviewers in previous checkin.
git-svn-id: svn://10.0.0.236/trunk@84685 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 00:06:28 +00:00
javi%netscape.com
6c63e1fa29 Remove reference to obsolete define MACLINUX.
Fix for Bug 63936 r=wtc (For NSS trunk check-in)


git-svn-id: svn://10.0.0.236/trunk@84684 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 00:04:37 +00:00
akkana%netscape.com
0d7c7c2d2b 17686: Add a pref to control image animation. r=tor, sr=buster
git-svn-id: svn://10.0.0.236/trunk@84683 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 23:55:27 +00:00
sspitzer%netscape.com
9150f964cc fix for #64475. use different sound for new mail. thanks to my
lovely assistant joe hewitt for providing the sound.
marlon will be providing a better sound later.


git-svn-id: svn://10.0.0.236/trunk@84681 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 23:43:46 +00:00
anthonyd%netscape.com
1ff5aa2292 fix for bug #59003 fix for keybindings
sr=kin@netscape.com
r=akkana@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84680 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 23:22:56 +00:00
bienvenu%netscape.com
06d097b9c9 stop biff from putting up alerts when server down r=naving,sr=mscott 59802
git-svn-id: svn://10.0.0.236/trunk@84679 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 23:02:47 +00:00
rginda%netscape.com
61c4dadfd0 -- chatzilla changes only --
fix problem where chatzilla responds (to the channel) with an error, when someone says the word "undefined"
r=blizzard


git-svn-id: svn://10.0.0.236/trunk@84678 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:57:45 +00:00
peterlubczynski%netscape.com
62c36a7c6f Added nsPrintOptionsGTK to the factory. r=dcone sr=buster
git-svn-id: svn://10.0.0.236/trunk@84677 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:54:52 +00:00
sfraser%netscape.com
91b886acba Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin. Also changing from nsIFileWidget to nsIFilePicker, bug 47553, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@84676 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:47:30 +00:00
sfraser%netscape.com
4e7e05789b Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin
git-svn-id: svn://10.0.0.236/trunk@84675 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:47:02 +00:00
bienvenu%netscape.com
2c56c9207b remove unused code r/sr mscott,waterson no bug
git-svn-id: svn://10.0.0.236/trunk@84674 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:23:05 +00:00
shanjian%netscape.com
2ab8e639bc #59268 Autodetection should not override charset from cache and bookmark
r = ftang
sr = erik
lower the priority of autodection.


git-svn-id: svn://10.0.0.236/trunk@84673 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:18:44 +00:00
blakeross%telocity.com
e51450f660 getting rid of a dump().
git-svn-id: svn://10.0.0.236/trunk@84672 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:13:19 +00:00
blakeross%telocity.com
5923da1d77 Fix 61474: disable Java Console item in Tasks menu when Java plugin isn't installed. patch mostly by Xiaobin Lu (xiaobin.lu@eng.sun.com). r=blake a=ben
git-svn-id: svn://10.0.0.236/trunk@84671 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 21:49:02 +00:00
dave%intrec.com
438eddd2c4 Removing extraneous space from the mysql command in the event the database
has a password.  mysql wants no space between the -p and the password.


git-svn-id: svn://10.0.0.236/trunk@84670 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 21:47:06 +00:00
anthonyd%netscape.com
32339edfc0 bug fix for 62796
sr=kin@netscape.com
a=jfrancis@netscape.com
r=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84669 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 21:44:35 +00:00
cmanske%netscape.com
6acbfb9d5c Use global overlay for 'Exit/Quit' menuitem, requiring moving of overlay includes, b=54584, r=ducarroz, sr=syd
git-svn-id: svn://10.0.0.236/trunk@84668 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 21:38:47 +00:00
dave%intrec.com
7220934820 Fix for bug 36596: cvsquery.cgi looping (cvsquery.pl - build_map)
cvsquery.pl no longer causes an infinite loop if you query on a module
other than 'all'


git-svn-id: svn://10.0.0.236/trunk@84665 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 21:24:46 +00:00
axel%pike.org
fbc06947af Not part of the build, fixes QNames really ending when hitting whitespace
git-svn-id: svn://10.0.0.236/trunk@84661 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 20:56:28 +00:00
dcone%netscape.com
ec87b2a0a4 Took outsome debug code which snuck in.
git-svn-id: svn://10.0.0.236/trunk@84660 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 20:41:05 +00:00
blakeross%telocity.com
5a3ebfa706 Fix 64458: JS strict warnings in treeBindings.xml. r=jrgm sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@84659 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 20:36:22 +00:00
cmanske%netscape.com
de03234980 Use global overlay for 'Exit/Quit' menuitem, requiring moving of overlay includes, b=54584
git-svn-id: svn://10.0.0.236/trunk@84658 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 20:35:47 +00:00
cmanske%netscape.com
4fa1c7472c Added xul includes no longer included in editorOverlay.xul. Part of fix for 54584. r=ducarroz, sr=syd
git-svn-id: svn://10.0.0.236/trunk@84657 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 20:35:43 +00:00
jst%netscape.com
1533a03b6b Fix crash in the XML error reporter (and doing some cleanup), the format string for printf'ing out numbers should be %d, not %s! r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84656 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 19:54:37 +00:00
chuang%netscape.com
0c5a22ac58 Bug52084 Leaking all address book databases., sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84655 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 19:27:32 +00:00
kestes%staff.mail.com
7c59e1510c $previous_rec needed wider scope. I had accidentally narrowed the
scope when tixing the 'building' issue.


git-svn-id: svn://10.0.0.236/trunk@84651 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 15:43:39 +00:00
mkaply%us.ibm.com
8b65d5e12c Stupid error in last checkin
git-svn-id: svn://10.0.0.236/trunk@84650 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 15:30:12 +00:00
nboyd%atg.com
5b49c69e7c Subject:
Re: Debugger problem
        Date:
             Mon, 08 Jan 2001 14:16:30 -0800
       From:
             Christopher Oliver <coliver@mminternet.com>
 Organization:
             Primary Interface LLC
         To:
             Kurt Westerfeld <kurt@ManagedObjects.com>
         CC:
             Norris Boyd <nboyd@atg.com>
  References:
             1 , 2 , 3




Kurt, Norris,

Yes, with the change to the shell this should be possible.  The problem before
was that if you loaded the same file with different relative path names, two
different windows in the debugger were created because everything (windows,
breakpoints, etc) is keyed off the source name.

The attached file contains the fix (and includes the workaround for
Desktop.getSelectedFrame).

There are still some bugs in transferring focus between the windows in the
Desktop.  I haven't had time to track down the problem or a solution.

Chris

Kurt Westerfeld wrote:

> I would point out that "Source Name" of a script isn't necessarily a
> filename.  In our system, scripts are run remotely from a script library
> that has no file system backing.  Canonicalizing the file names is really
> unnecessary.
>
> Can't you just modify JSDebugger to not care what the name of the file is?
> If access to the original script is unavailable except through the file
> system, I'd be surprised.
>
> ----- Original Message -----
> From: Christopher Oliver <coliver@mminternet.com>
> To: Kurt Westerfeld <kurt@ManagedObjects.com>
> Cc: Norris Boyd <nboyd@atg.com>
> Sent: Sunday, January 07, 2001 2:23 AM
> Subject: Re: Debugger problem
>
> > Hi Kurt,
> >
> > I rather would say that it is a problem with the processFile method in the
> > shell's Main class.  If you change the current working directory or the
> value
> > of the System property "user.dir" after compiling a script, relative path
> names
> > can become ambiguous.  Norris, would it be ok to modify the shell to
> > "canonicalize" the names of files it compiles?  That way the source name
> that
> > shows up in the stack and in DebuggableScript will always be unique.  For
> > example:
> >
> > public static void processFile(Context cx, Scriptable scope,
> >                                    String filename)
> >     {
> >             Reader in = null;
> >             try {
> >                 in = new PushbackReader(new FileReader(filename));
> >                 int c = in.read();
> >                 // Support the executable script #! syntax:  If
> >                 // the first line begins with a '#', treat the whole
> >                 // line as a comment.
> >                 if (c == '#') {
> >                     while ((c = in.read()) != -1) {
> >                         if (c == '\n' || c == '\r')
> >                             break;
> >                     }
> >                     ((PushbackReader) in).unread(c);
> >                 } else {
> >                     // No '#' line, just reopen the file and forget it
> >                     // ever happened.  OPT closing and reopening
> >                     // undoubtedly carries some cost.  Is this faster
> >                     // or slower than leaving the PushbackReader
> >                     // around?
> >                     in.close();
> >                     in = new FileReader(filename);
> >                 }
> >                 filename = new java.io.File(filename).getCanonicalPath();
> > <<<====== Add this
> >             }
> >             catch (FileNotFoundException ex) {
> >                 Context.reportError(ToolErrorReporter.getMessage(
> >                     "msg.couldnt.open",
> >                     filename));
> >                 exitCode = EXITCODE_FILE_NOT_FOUND;
> >                 return;
> >             } catch (IOException ioe) {
> >                 globalState.getErr().println(ioe.toString());
> >             }
> >
> >             // Here we evalute the entire contents of the file as
> >             // a script. Text is printed only if the print() function
> >             // is called.
> >             evaluateReader(cx, scope, in, filename, 1);
> >     }
> >
> >
> > Attached is *my* latest version of the debugger code.  Norris, have you
> made
> > any progress on cvs commit priveledges?  The attached version fixes a
> number of
> > GUI bugs:
> >
> > 1) If you undocked the Variables window and popped up the Context
> combo-box and
> > then closed the window with the system menu, the Context pop-up was not
> cleaned
> > up properly.
> > 2) The first time you minimize a file window it appeared to dissappear
> when you
> > tried to restore it.  This was due to the fact that I forgot to "pack" its
> > contents and as a result its requested size was 0x0.
> >
> > I also added a menu item to toggle whether to break on exceptions and one
> which
> > allows you to open (and compile) a JavaScript file without actually
> executing
> > it.
> >
> > I have also attached a Word document with some basic documentation for the
> > Debugger.
> >
> > Note that this version also includes all the changes to support debugging
> > scripts in the AWT dispatch thread.
> >
> > Chris
> >
> > Kurt Westerfeld wrote:
> >
> > > Hello.  I ran into a null pointer exception in JSDebugger tonight, and I
> > > thought I'd drop you a note.
> > >
> > > The problem line is 2336, where a breakpoint is hit.  To simulate, load
> the
> > > debugger using the command line syntax on a file that has not been
> resolved
> > > to cannonical path.
> > >
> > > Example,
> > >
> > >      jshell -debug -f \myfile.fs
> > >
> > > At any rate, the "handleCompilationDone" routine takes \myfile.fs and
> turns
> > > it into a canonical path.  If you hit a breakpoint in this file and say
> > > "go", when the breakpoint hits the file is not found, because the same
> > > canonical path resolution is not done.  The resolution seems dubious,
> since
> > > it is only done in the compilation done callback, but I don't know the
> best
> > > way to suggest a fix since it seems that code had some purpose.
> > >
> > > Anyway, thought you'd wanna know.
> > >
> > > ________________________________________________________________________
> > >   Kurt Westerfeld
> > >   Senior Software Architect
> > >   Managed Objects
> > >   mailto:kwester@ManagedObjects.com
> > >   703.770.7225
> > >   http://www.ManagedObjects.com
> > >
> > >   Managed Objects: manage technology > rule business
> >



   JSDebugger.java

                    Name:
                          JSDebugger.java
                    Type:
                          Java Class File (java/*)
                 Encoding:
                          base64


git-svn-id: svn://10.0.0.236/trunk@84649 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 14:10:40 +00:00
nboyd%atg.com
afc7358821 Missed checkin of new file.
git-svn-id: svn://10.0.0.236/trunk@84648 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 13:39:22 +00:00
jst%netscape.com
a975208768 Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@84647 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 06:52:13 +00:00
sspitzer%netscape.com
a969cecfb1 fix mac build bustage. sorry.
git-svn-id: svn://10.0.0.236/trunk@84646 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:56:18 +00:00
dougt%netscape.com
9145344cfc Fixes dropped socket transport during shutdown. The xpcom fix causes the UI event queue to be processed one final time after services shutdown. The socket transport fix forces all remaining active transports to be canceled, then released. r= waterson@netscape.com && darin@netscape.com a=mscott@netscape.com. b=63565
git-svn-id: svn://10.0.0.236/trunk@84645 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:44:47 +00:00
sspitzer%netscape.com
61db3f1d6c fix #63181. implement nsNntpUrl::GetFolderCharset().
also, remove extra strdup from the implementions in nsImapUrl and nsMailboxUrl.
clean up nsNntpUrl::Set/GetNewsgroupName().  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84644 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:27:28 +00:00
jst%netscape.com
35375fad3c Removing declaration of a function that is no longer in mozilla.
git-svn-id: svn://10.0.0.236/trunk@84643 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:26:22 +00:00
jst%netscape.com
2a9174a082 removed files: mozilla/layout/xml/content/src/nsXMLDocumentType.cpp
git-svn-id: svn://10.0.0.236/trunk@84642 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:15:12 +00:00
jst%netscape.com
4f07baaecf Removing duplicated code from layout, nsDOMDocumentType does the same things nsXMLDocumentType does and the former is the one that is used.
git-svn-id: svn://10.0.0.236/trunk@84641 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:13:10 +00:00
sspitzer%netscape.com
5ff5dd87d0 fix for #64729. Delete toolbar button should become a Mark toolbar button
when viewing a news message.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84640 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 05:11:45 +00:00
disttsc%bart.nl
12e5d4b41a Fix bug 64596: "starting mozilla with a URL breaks opening URLs in a new window", r=timeless, a=ben
I suck.


git-svn-id: svn://10.0.0.236/trunk@84639 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 04:22:09 +00:00
sspitzer%netscape.com
6861ca3ee7 fix (again) #63992. now that checkboxes work correctly, I can
clean up my js and xul.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84638 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 04:18:43 +00:00
disttsc%bart.nl
1389541a6b Make document load success/failure show on console again for non-debug builds, bug=64614, r=Pike, a=ben
git-svn-id: svn://10.0.0.236/trunk@84637 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 04:16:15 +00:00
jst%netscape.com
9a1b473bd8 CVS removing old files that are no longer part of the build.
git-svn-id: svn://10.0.0.236/trunk@84636 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 03:30:23 +00:00
disttsc%bart.nl
09fbf169d0 Fix senna bustage, r=cls. (mental note: remember REQUIRES in Makefile.in).
git-svn-id: svn://10.0.0.236/trunk@84635 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 03:11:59 +00:00
jst%netscape.com
4b33676b31 Fixing bug 64642. This is a regression caused in my large content code reorg/cleanup that I did a few weeks ago, SetDocument on a from control was was forwarding the call to the wrong base class, it was calling nsGenericElement::SetDocument() in stead of nsGenericHTMLElement::SetDocument() and that caused style attributes to not get reparsed when form controls were added to a document. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84634 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 02:53:33 +00:00
blakeross%telocity.com
1cc6fd6a6a Fix 44676: spacebar to trigger buttons should behave more like win32 native buttons. r=saari sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@84632 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 02:15:55 +00:00
darin%netscape.com
518bb3fa39 Fixes bug 64617. UA-string is incorrect on BeOS. patch=vegarwa@online.no,
r=darin, sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@84631 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 02:03:16 +00:00
blakeross%telocity.com
5e4501907f Fix 64225, which caused 64138 and other annoyances. r=jag sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@84630 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 01:37:15 +00:00
wtc%netscape.com
84f05f2b89 Bugzilla bug #64666: using a minus (-) in a scan set is not portable.
Thanks to Michael Kaply <mkaply@us.ibm.com> for the bug report and patch.


git-svn-id: svn://10.0.0.236/trunk@84628 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 01:31:56 +00:00
disttsc%bart.nl
72b07c9ffc Add support for showing keycode (VK_FOO) accelerators in menuitems. bug=47426, r=sspitzer,jst,saari, a=hyatt
git-svn-id: svn://10.0.0.236/trunk@84627 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 01:28:36 +00:00
jst%netscape.com
5ba9953b81 Fixing bug 63943. Accessing .offsetXXX properties on elements must call FlushPendingNotifications() on the document and not only on the pres shell to make sure the sink flushes all its content so that frames exists for all elements. r=heikki@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84626 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 01:26:05 +00:00
jst%netscape.com
c730eca215 Major cleanup of nsLocation.cpp, this also fixes bug 64041. sr=rpotts@netscape.com, r=dbaron@fas.harward.edu.
git-svn-id: svn://10.0.0.236/trunk@84625 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 01:16:36 +00:00
sspitzer%netscape.com
00092cdef5 Mark button now says "Mark" instead of "As Unread".
(going with 4.x mac instead of 4.x linux / win.)
#64660
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 01:08:48 +00:00
morse%netscape.com
13cff6df1e bug 53352, domain cookies not handled correctly, r=pchen@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84622 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 00:59:32 +00:00
peterlubczynski%netscape.com
64bb7a8cde Top crash fix. Null pointer check on mDocument. bug 62579 a=av sr=buster
git-svn-id: svn://10.0.0.236/trunk@84621 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 00:39:46 +00:00
ducarroz%netscape.com
609d2301ff Fix for bug 39627. Implementation of the print command. Also fix bug in nsMsgCompose::GetEditor who forget to addref the result. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84619 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 00:15:22 +00:00
mkaply%us.ibm.com
2323ba2f92 #61253
r=javier, a=blizzard
Set system colors into color table


git-svn-id: svn://10.0.0.236/trunk@84617 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 00:05:03 +00:00
jst%netscape.com
f26965ded2 Code cleanup, no bug. Make the implementations of methods whose return type is declared as NS_IMETHOD return NS_IMETHODIMP and not just nsresult. r=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84616 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 00:03:42 +00:00
jst%netscape.com
c57fef481e Trivial code cleanup that removes the need for a kungFoDeathGrip. r=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84615 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 23:43:56 +00:00
blakeross%telocity.com
76ed158d4c Fix 63938: removing unused widget files. more to come. sr=cls
git-svn-id: svn://10.0.0.236/trunk@84614 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 23:26:42 +00:00
edburns%acm.org
1707580b5c Test cases.
git-svn-id: svn://10.0.0.236/trunk@84612 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 23:24:11 +00:00
edburns%acm.org
e7645cf64f Test cases
git-svn-id: svn://10.0.0.236/trunk@84611 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 23:19:07 +00:00
peterlubczynski%netscape.com
146b1fcb4f removing dup of export of public nsIPrintContext.h
git-svn-id: svn://10.0.0.236/trunk@84610 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 23:02:14 +00:00
dcone%netscape.com
3c3b355433 Took out a duplicate line.
git-svn-id: svn://10.0.0.236/trunk@84609 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 23:00:46 +00:00
mscott%netscape.com
31b07ee4a1 change the case of two methods I changed.
git-svn-id: svn://10.0.0.236/trunk@84608 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 22:50:00 +00:00
mscott%netscape.com
7c0ab3f412 Bug #34592 --> show over link status in the mail wndow. Move some global variables inside of the status feedback proto type.
r=sspitzer
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84607 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 22:49:22 +00:00
mscott%netscape.com
5329d7e700 Bug #34592 --> tweak the case of several IDL methods
r=sspitzer
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84606 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 22:48:27 +00:00
mscott%netscape.com
e346ae0956 fix JS warning in msgHdrViewOverlay.js. Thanks to maolson@earthlink.net for the patch.
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@84605 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 22:47:03 +00:00
kestes%staff.mail.com
d66910c562 fix problem which occurs in with some redhat users.
git-svn-id: svn://10.0.0.236/trunk@84604 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 22:36:21 +00:00
akkana%netscape.com
d7ecc4cec1 33088: pass wrap column in to SaveFile per API change
git-svn-id: svn://10.0.0.236/trunk@84603 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 22:33:52 +00:00
curt%scruznet.com
a28a00c70c Decided the list would be more useful if it is ordered so it is now sorted
from greatest memory consumer to least.


git-svn-id: svn://10.0.0.236/trunk@84602 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 22:17:30 +00:00
jst%netscape.com
1f3e4f888b Trivial code cleanup, no bug. Removing unused variable and using nsCOMPtr in stead of doing manual addref/release. r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84601 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 22:16:52 +00:00
peterlubczynski%netscape.com
6d307a92ff export of public nsIPrintContext.h
git-svn-id: svn://10.0.0.236/trunk@84599 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:59:18 +00:00
dcone%netscape.com
e8efbcf3cc export nsIPrintContext.h
git-svn-id: svn://10.0.0.236/trunk@84598 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:53:41 +00:00
nboyd%atg.com
0cc31dfbe2 Clean up debug APIs.
* Make use of DebuggableEngine interface to keep Context API smaller
* Change org.mozilla.javascript.debug.Frame to DebugFrame to avoid
  confusion with java.awt.Frame


git-svn-id: svn://10.0.0.236/trunk@84597 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:41:25 +00:00
ducarroz%netscape.com
7b047af32c Fix windows bustage and one warning.
git-svn-id: svn://10.0.0.236/trunk@84596 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:40:53 +00:00
edburns%acm.org
256c970b1c Automated test cases.
git-svn-id: svn://10.0.0.236/trunk@84595 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:27:40 +00:00
blakeross%telocity.com
a09bd8268c Fix 64587: JS strict warnings in signonviewer.js. patch by morse. r=pchen sr=brendan
git-svn-id: svn://10.0.0.236/trunk@84594 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:17:36 +00:00
waterson%netscape.com
596264480e Bug 57026. Do not reparent views whenever we 'MoveChildrenTo()', because this breaks SplitToContainingBlock(): no views will have been created in this case! Instead, alter ConstructInline() to move views. r=karnaze, sr=buster.
git-svn-id: svn://10.0.0.236/trunk@84593 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:10:44 +00:00
disttsc%bart.nl
7bb4e544d8 Fix Mac bustage
git-svn-id: svn://10.0.0.236/trunk@84592 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:04:51 +00:00
disttsc%bart.nl
7aae0b9eca Add newline to end of file
git-svn-id: svn://10.0.0.236/trunk@84591 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:02:13 +00:00
akkana%netscape.com
13ae4ba935 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84590 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:01:29 +00:00
blakeross%telocity.com
2f5b4c8cc9 Fix two problems with previous patch (including bug 64639, PT broken). r=jrgm,jag
git-svn-id: svn://10.0.0.236/trunk@84589 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:00:54 +00:00
disttsc%bart.nl
5845a072d7 Fix linux/unix bustage
git-svn-id: svn://10.0.0.236/trunk@84588 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:00:25 +00:00
dcone%netscape.com
5556760ab2 Added nsIPrintContext interface.
Added this so you can now tell if your laying out to a printer.
r=attinasi sr=buster


git-svn-id: svn://10.0.0.236/trunk@84586 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 20:26:05 +00:00
ducarroz%netscape.com
fba03196fd Fix for bug 42458. email autocomplete lookup algorithm now check first name and last name too. R=varada, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@84584 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 20:01:14 +00:00
ducarroz%netscape.com
7a8f294249 Part of fix for bug 42458. The Unichar version of nsCRT::strndup wasn't correctly terminating the string. R=varada, SR=mscott
git-svn-id: svn://10.0.0.236/trunk@84583 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 19:58:12 +00:00
mcgreer%netscape.com
7d7458c348 back out previous change
git-svn-id: svn://10.0.0.236/trunk@84582 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 19:43:01 +00:00
mcgreer%netscape.com
ea9b61f05b decoding nickname entries needs to include the nickname.
when searching for smime entry, verify subject is correct (can be multiple
subjects per email address)


git-svn-id: svn://10.0.0.236/trunk@84580 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 19:24:23 +00:00
bienvenu%netscape.com
15a54e1c30 fix 64456, cache file stream when updating multiple local messages, r=sspitzer, sr=mscott, also 63804 problem with compacting local folder
git-svn-id: svn://10.0.0.236/trunk@84579 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 19:21:25 +00:00
bienvenu%netscape.com
b749de4c8b whoops, didn't mean to check that in
git-svn-id: svn://10.0.0.236/trunk@84578 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 19:19:22 +00:00
bienvenu%netscape.com
1fbac72b81 fix 64456, cache file stream when updating multiple local messages, r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84577 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 19:18:22 +00:00
naving%netscape.com
c809d16572 52564, r=naving sr=mscott. Fixing the new Folder dialog issue and taking care of long
folder names without the use of window.sizeToContent(). Thanks to disttsc@bart.nl for
providing this patch


git-svn-id: svn://10.0.0.236/trunk@84576 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 19:17:42 +00:00
karnaze%netscape.com
b7b4013acf new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@84575 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 19:04:29 +00:00
sspitzer%netscape.com
a83670616a fix js warning when migrating. (no bug).
fix movemail service contract id. (#64486)
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84572 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 18:02:56 +00:00
ccarlen%netscape.com
a9fce32268 Fix for #56127 - Was not handling pref changed callback when dir changed.
r=gagan, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@84569 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 15:45:18 +00:00
locka%iol.ie
112e198d27 Replaced nsVector with nsVoidArray - a functionally similar (and public) class unencumbered by linker issues. sr=blizzard b=63505
git-svn-id: svn://10.0.0.236/trunk@84568 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 14:48:51 +00:00
nboyd%atg.com
df11745e20 Fix for 1.1 compatibility.
git-svn-id: svn://10.0.0.236/trunk@84567 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 14:34:21 +00:00
rods%netscape.com
f559e7aea6 changed add ref to from NS_ADDREF to NS_IF_ADDREF
Bug 63329, r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@84566 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 14:06:34 +00:00
m_kato%ga2.so-net.ne.jp
12f7be8824 bug 58109
r=nhotta sr=bienvenu, mscott

o misstake charset convertion
o fix memory leak


git-svn-id: svn://10.0.0.236/trunk@84565 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 12:27:37 +00:00
blakeross%telocity.com
8d60d96328 Fix 64582: navigator cleanup/optimization. r=jag a=ben
git-svn-id: svn://10.0.0.236/trunk@84562 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 07:10:32 +00:00
rickg%netscape.com
d391c75b1a removed a few warnings
git-svn-id: svn://10.0.0.236/trunk@84559 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 06:21:00 +00:00
nelsonb%netscape.com
d3fb18f4ea Changed HP assembler routine multacc512 in hpma512.s so that it
propagates carries exactly the same way that maxpy_little does.
Re-enabled use of multacc512 in mpi_hp.c.


git-svn-id: svn://10.0.0.236/trunk@84558 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 05:58:34 +00:00
blakeross%telocity.com
a0648cf5c1 Fix 30878: right click != left click. more to come. r=rginda sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84557 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 05:01:17 +00:00
rickg%netscape.com
bedc6b6b8a Inadvertently removed a IF_RELEASE(); r=waterson
git-svn-id: svn://10.0.0.236/trunk@84556 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 04:44:39 +00:00
rickg%netscape.com
c98cf928ae various bug fixes and landed blizzard patch to remove iostream from parser. r=harish, attinasi, kmcclusk; sr=buster
git-svn-id: svn://10.0.0.236/trunk@84554 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 03:37:15 +00:00
nelsonb%netscape.com
ccb2978905 Fix infinite loop by making "i" be signed again.
Also match up braces for vi editor.


git-svn-id: svn://10.0.0.236/trunk@84552 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 03:26:50 +00:00
pavlov%netscape.com
235a6fc931 move the typedef of nscolor to gfx_color in to gfxcompat.h. change the typedef of gfx_color to PRUint32 from unsigned long just to make it explicit
git-svn-id: svn://10.0.0.236/trunk@84548 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 03:11:58 +00:00
disttsc%bart.nl
6805e63b38 Fix callers of old BrowserLoadURL() to directly use loadShortcutOrURI(aURL). bug=61808, r=blake, a=ben
git-svn-id: svn://10.0.0.236/trunk@84547 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 02:19:35 +00:00
nboyd%atg.com
7575d629d7 Fix classloader problem from last checkin.
git-svn-id: svn://10.0.0.236/trunk@84545 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 02:13:28 +00:00
nboyd%atg.com
796b9043b4 Canonicalize file names to help debugger.
git-svn-id: svn://10.0.0.236/trunk@84544 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 02:12:52 +00:00
naving%netscape.com
04a4d665ed 58955. r=sspitzer sr=bienvenu. Copying the msg header when there is a move from pop->imap
so that in case of undo the header can be restored. Eliminating the dependency that
the imap folder is selected.


git-svn-id: svn://10.0.0.236/trunk@84543 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 01:58:06 +00:00
nboyd%atg.com
17df4648bd Latest changes from Chris Oliver.
git-svn-id: svn://10.0.0.236/trunk@84542 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 01:43:28 +00:00
nboyd%atg.com
e6a3f16701 Revert to old object identity for equality per ECMA.
git-svn-id: svn://10.0.0.236/trunk@84541 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 01:03:23 +00:00
nelsonb%netscape.com
257b169fe6 Generation of prime numbers has been failing on HP since MPI began to
use the newest HP assembler function, multacc512.  So, that function
has been disabled.  Further investigation is needed.


git-svn-id: svn://10.0.0.236/trunk@84540 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 01:01:35 +00:00
pierre%netscape.com
b2bb962fc9 Not part of the build. Momentarily check in the StyleContext metrics before doing deeper changes.
git-svn-id: svn://10.0.0.236/trunk@84539 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 00:24:41 +00:00
leaf%mozilla.org
944d84c813 Automated update
git-svn-id: svn://10.0.0.236/trunk@84538 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 00:00:08 +00:00
cls%seawood.org
0ce11bef75 Check for GNU_CC not USE_GCC.
Bug #64432


git-svn-id: svn://10.0.0.236/trunk@84537 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 23:56:55 +00:00
disttsc%bart.nl
dbeb8f84cd Split up BrowserLoadURL into wrapper for urlbar and function which can be used in other places. bug=61808, r=blake, a=ben
git-svn-id: svn://10.0.0.236/trunk@84536 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 23:28:35 +00:00
tor%cs.brown.edu
d98e24b872 Bug 61410 - fix performance problem with fully opaque 8-bit alpha
images.  Also cleanse/shuffle nsImageGTK for size and remove some
extra parentheses. r=blizzard, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@84535 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 23:02:02 +00:00
blakeross%telocity.com
2e23bc12ef Fix 64588: JS strict warnings in CookieViewer.js. patch by gemal. r=morse sr=brendan
git-svn-id: svn://10.0.0.236/trunk@84534 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 22:43:34 +00:00
blizzard%redhat.com
7130667f41 Fix bug #64369. Crash when using streaming into embedding widget. r=bryner, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@84533 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 17:58:22 +00:00
cls%seawood.org
c6df0ee30a Backing out anthonyd's previous checkin as it is causing text boxes to not work anywhere on at least beos, linux & win32.
Bug #62796


git-svn-id: svn://10.0.0.236/trunk@84532 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 15:11:50 +00:00
dbaron%fas.harvard.edu
0d572c30cd Remove line listing Makefile that bryner removed on Friday. b=55778 r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@84531 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 14:48:31 +00:00
leaf%mozilla.org
059ab1d3f6 Automated update
git-svn-id: svn://10.0.0.236/trunk@84530 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 14:45:11 +00:00
dbaron%fas.harvard.edu
4af65c395d Fix nsImageXlib.cpp to compile again and pull calls to xlib_get_shift_from_mask out of loop (as suggested by tor). r=blizzard@mozilla.org sr=tor@cs.brown.edu b=64518
git-svn-id: svn://10.0.0.236/trunk@84529 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 14:37:37 +00:00
dbaron%fas.harvard.edu
3e607e1328 Make the autoconf test for a wchar_t usable as PRUnichar check that wchar_t is unsigned (in addition to being 2 bytes). Do the test for -fshort-wchar in C++ since some versions of gcc have a signed wchar_t in C++ only. b=63857 r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@84528 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 14:35:24 +00:00
cls%seawood.org
7505b542f9 Explicitly call $(PERL) rather than relying upon the OS to interpret the script correctly.
git-svn-id: svn://10.0.0.236/trunk@84527 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 14:19:52 +00:00
nelsonb%netscape.com
07e1db7a72 Eliminate some warnings found when compiling on Unix boxen.
git-svn-id: svn://10.0.0.236/trunk@84526 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 09:21:25 +00:00
cls%seawood.org
c87631519f Increase BeOS event port capacity and avoid sending messages to event port if capacity is exceeded.
Thanks to Makoto Hamanaka <VYA04230@nifty.com> for the patch.
Bug #63646. r=danm


git-svn-id: svn://10.0.0.236/trunk@84525 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 09:03:09 +00:00
cls%seawood.org
3def6cda68 Implement nsAppShell::DispatchNativeEvent() for BeOS.
Thanks to Makoto Hamanaka <VYA04320@nifty.com> for the patch.
Bug #63649. r=cls


git-svn-id: svn://10.0.0.236/trunk@84524 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 08:41:49 +00:00
nelsonb%netscape.com
bb7974ac11 MSVC won't let you initialize a pointer in a data structure with the
address of an external variable that comes from another DLL.
This is a fundamental difference between WIN32 DLLs and Unix DSOs.
So, for every SEC_ASN1Template inside of libnss3 that is referenced by
other templates outside of libnss3, a new "chooser" function was created
that returns the address of that template.  For WIN32, the templates
outside of libnss3 access libnss3's templates by the chooser function
rather than by direct reference.  Some simple macros allow Unix to
continue to use direct references, avoiding the extra function calls.
With these changes, all.sh (qa script) passes all tests on NT with DLLs.
Modified Files:
	cmd/checkcert/checkcert.c cmd/lib/secutil.c lib/asn1/asn1t.h
	lib/certdb/certdb.c lib/certdb/certt.h lib/certdb/crl.c
	lib/certhigh/certreq.c lib/crmf/asn1cmn.c lib/crmf/crmfcont.c
	lib/crmf/crmftmpl.c lib/cryptohi/secsign.c lib/nss/nss.def
	lib/pkcs12/p12local.c lib/pkcs12/p12tmpl.c
	lib/pkcs7/certread.c lib/pkcs7/p7decode.c lib/pkcs7/p7local.c
	lib/smime/cmsasn1.c lib/smime/cmsattr.c lib/smime/cmspubkey.c
	lib/smime/cmssigdata.c lib/smime/smimeutil.c
	lib/softoken/keydb.c lib/softoken/keydbt.h lib/util/secalgid.c
	lib/util/secasn1.h lib/util/secasn1d.c lib/util/secasn1t.h
	lib/util/secasn1u.c lib/util/secdig.c lib/util/secdig.h
	lib/util/secoid.h


git-svn-id: svn://10.0.0.236/trunk@84523 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 08:13:13 +00:00
nelsonb%netscape.com
6da659e535 Eliminate some warnings by adding missing #include lines, or other minor
cleanup.


git-svn-id: svn://10.0.0.236/trunk@84522 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:56:35 +00:00
nelsonb%netscape.com
7f3c01a89d Eliminate warnings about functions returning values of the wrong type.
git-svn-id: svn://10.0.0.236/trunk@84521 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:49:22 +00:00
nelsonb%netscape.com
a0442a3fc2 Add missing declaration of library function printflags().
git-svn-id: svn://10.0.0.236/trunk@84520 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:48:04 +00:00
nelsonb%netscape.com
859095a9f7 This program tests low level functions that aren't exported from the DSOs,
so it must be built with the static libs.


git-svn-id: svn://10.0.0.236/trunk@84519 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:47:17 +00:00
nelsonb%netscape.com
2b0cf82047 The recent deletion of the SECU_Password function from cmd/lib made this
progam stop compiling.  So, as a temporary measure, to fix the build,
ifdef out the calls to the missing functions, and always behave as if
the "-n none" option had been supplied.


git-svn-id: svn://10.0.0.236/trunk@84518 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:46:36 +00:00
nelsonb%netscape.com
68a5dcdc24 Get this file to build again on Windows.
git-svn-id: svn://10.0.0.236/trunk@84517 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:44:39 +00:00
nelsonb%netscape.com
68e54ecade Add missing #include "nss.h"
git-svn-id: svn://10.0.0.236/trunk@84516 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:43:28 +00:00
nelsonb%netscape.com
8efab9fa06 Fix several bugs to get NSS_Init working again.
git-svn-id: svn://10.0.0.236/trunk@84515 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:37:18 +00:00
cls%seawood.org
6f2969a3de Fix link clicking on BeOS.
Thanks to Makoto Hamanaka (VYA04230@nifty.com) for the patch.
Bug #64121 . r=cls,timeless


git-svn-id: svn://10.0.0.236/trunk@84514 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:30:35 +00:00
anthonyd%netscape.com
df8ca35e51 bug fix for 62796 - various range fixes, including a crasher in Range::deleteContents()
sr=kin@netscape.com
r=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84513 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 04:52:23 +00:00
pavlov%netscape.com
5846cd34c9 adding bytesPerRow and bitsLength attributes
git-svn-id: svn://10.0.0.236/trunk@84512 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 04:30:08 +00:00
pavlov%netscape.com
ffacba26a7 more changes
git-svn-id: svn://10.0.0.236/trunk@84511 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 04:22:41 +00:00
disttsc%bart.nl
41c82aae6c "Send" -> "Send Now" per spec, patch by Håkan Waara <hwaara@chello.se>, bug=55887, r=jag, a=ben
git-svn-id: svn://10.0.0.236/trunk@84510 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 03:54:57 +00:00
jst%netscape.com
c282b18e91 Fixing bug 64513. Adding missing version number to a contract id. r=blakeross@telocity.com
git-svn-id: svn://10.0.0.236/trunk@84509 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 03:06:19 +00:00
pavlov%netscape.com
ce85fc6944 adding the factory that i forgot about
git-svn-id: svn://10.0.0.236/trunk@84508 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 01:52:54 +00:00
pavlov%netscape.com
975096650e merging some windows makefiles and mac build stuff (havn't edited to remove other parts of gfx2 yet)
git-svn-id: svn://10.0.0.236/trunk@84507 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 01:42:05 +00:00
pavlov%netscape.com
9d3a8417c6 merging the base and image parts of gfx2 to HEAD, renaming nsMargin, nsPoint, nsRect to whatever2 to avoid header name conflicts with gfx
still need to resolve issue with gfx2's nsIImage wanting to use nsIDrawable, since there arn't any ifdefs in idl...


git-svn-id: svn://10.0.0.236/trunk@84506 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 01:40:18 +00:00
blakeross%telocity.com
45f94ff07d Fix 64135: alt+home shortcut to go Home (command+home on mac). r=timeless a=ben
git-svn-id: svn://10.0.0.236/trunk@84505 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:47:36 +00:00
relyea%netscape.com
1ebd98045a Move SDR tests to use nss dll's
git-svn-id: svn://10.0.0.236/trunk@84504 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:32:36 +00:00
relyea%netscape.com
8d3ffe49fd Remove depricated Open function
git-svn-id: svn://10.0.0.236/trunk@84503 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:29:25 +00:00
relyea%netscape.com
7b058fe77d Fix HP map file option ('-c rather than -e')
git-svn-id: svn://10.0.0.236/trunk@84502 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:27:06 +00:00
relyea%netscape.com
de09852947 Get down to a signle.def file
git-svn-id: svn://10.0.0.236/trunk@84501 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:26:19 +00:00
relyea%netscape.com
8df26b413e Add HP to the platforms that handle restricted symbols
git-svn-id: svn://10.0.0.236/trunk@84500 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:25:29 +00:00
relyea%netscape.com
bb0fadb69e Add HP to the .def file processing.
Add SDR functions


git-svn-id: svn://10.0.0.236/trunk@84499 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:24:51 +00:00
relyea%netscape.com
1112b9b81e If the HP map definition to that it actually works!
git-svn-id: svn://10.0.0.236/trunk@84498 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:23:41 +00:00
blakeross%telocity.com
e93c7d194e Fix 63705: select field contents in find dialog onload, fix context persistence, other cleanup and dead code removal. r=timeless a=ben
git-svn-id: svn://10.0.0.236/trunk@84497 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 00:06:38 +00:00
relyea%netscape.com
2e0b7692c1 Remove depricated functions that's referencing a removed symbol
git-svn-id: svn://10.0.0.236/trunk@84496 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 23:55:22 +00:00
relyea%netscape.com
4e136bd78a Implement new .def file processing rules.
Add rules for HP


git-svn-id: svn://10.0.0.236/trunk@84495 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 23:52:44 +00:00
relyea%netscape.com
2fdab6395c Conform to the new .def rules
git-svn-id: svn://10.0.0.236/trunk@84494 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 23:52:11 +00:00
relyea%netscape.com
1f20c5ad8f Conform the .def files to the new rules.
update missing symbols from the export list documentation.


git-svn-id: svn://10.0.0.236/trunk@84493 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 23:51:05 +00:00
nelsonb%netscape.com
8afc6e0b46 Remove 8 deprecated functions from export list.
git-svn-id: svn://10.0.0.236/trunk@84492 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 23:10:30 +00:00
bryner%uiuc.edu
df700b19cf Removing 2 makefiles that I deleted yesterday. r=cls.
git-svn-id: svn://10.0.0.236/trunk@84491 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 22:38:07 +00:00
relyea%netscape.com
13e3308722 Add CERT_Find functions for the s/mime test programs.
git-svn-id: svn://10.0.0.236/trunk@84490 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 22:12:16 +00:00
relyea%netscape.com
b1cc2130ca Fix initialization to use NSS_Init* functions rather than low level
init functions.


git-svn-id: svn://10.0.0.236/trunk@84489 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 22:09:04 +00:00
relyea%netscape.com
e6a43b8a67 Allow UNIX and Windows to share Data lines in the .def files
git-svn-id: svn://10.0.0.236/trunk@84488 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:38:34 +00:00
relyea%netscape.com
3fec598e4c Merge Unix and win data types
git-svn-id: svn://10.0.0.236/trunk@84487 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:37:30 +00:00
relyea%netscape.com
09e39f7d40 Merge UNIX and Win Data types
git-svn-id: svn://10.0.0.236/trunk@84486 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:36:59 +00:00
relyea%netscape.com
dabfa607e1 Add symbols needed by secutil and the command libraries.
git-svn-id: svn://10.0.0.236/trunk@84485 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:14:03 +00:00
relyea%netscape.com
131904068e derdump needs to initialize NSS before calling the SECU functions.
git-svn-id: svn://10.0.0.236/trunk@84484 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:12:29 +00:00
relyea%netscape.com
d5678a9288 Use NSS_initialization.
Remove Low level SECKEY calls (not the private key management is now broken
until PK11 calls are added to replace them).


git-svn-id: svn://10.0.0.236/trunk@84483 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:11:34 +00:00
relyea%netscape.com
7840150a3b Use NSS initialization.
git-svn-id: svn://10.0.0.236/trunk@84482 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:10:18 +00:00
relyea%netscape.com
247e71075b Move the cert searching and printing utility function out of secutil.c so that
most functions which call secutil can still be used in the shared libraries.


git-svn-id: svn://10.0.0.236/trunk@84481 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:09:28 +00:00
relyea%netscape.com
ee3473443c remove depricated functions from secutil.
git-svn-id: svn://10.0.0.236/trunk@84480 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 21:05:36 +00:00
nelsonb%netscape.com
d5cd06265e Remove declarations of SOCKS support functions, which have never worked
in NSS 3.x and are not supported.  Ifdef out declarations of deprecated
functions, since they are not exported by ssl3.dll.


git-svn-id: svn://10.0.0.236/trunk@84479 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 20:56:40 +00:00
mcgreer%netscape.com
b22b1a2842 reflect function declaration changes to loader module (const stuff)
git-svn-id: svn://10.0.0.236/trunk@84477 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 17:07:07 +00:00
mcgreer%netscape.com
324117e3d4 on hypbrid cpu models (except sparc), use long long instead of long
git-svn-id: svn://10.0.0.236/trunk@84476 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 17:06:26 +00:00
mcgreer%netscape.com
6ab7987e3c fix broken build on bigendian platforms
git-svn-id: svn://10.0.0.236/trunk@84475 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 16:34:23 +00:00
leaf%mozilla.org
003e214f66 Automated update
git-svn-id: svn://10.0.0.236/trunk@84474 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 08:00:11 +00:00
bryner%uiuc.edu
f5d7ccf8c6 Adding an option to disable using -fshort-wchar (even if your compiler supports it). sr=cls.
git-svn-id: svn://10.0.0.236/trunk@84473 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 07:54:23 +00:00
sspitzer%netscape.com
6286624cbd fix for #64482. we enabled the download headers UI elements when we supposed to disable it, and vice version. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84472 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 06:28:19 +00:00
beard%netscape.com
abea6f192d [not part of build] bug #42100, getting ready to land more Carbon build changes.
git-svn-id: svn://10.0.0.236/trunk@84471 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 06:14:06 +00:00
sspitzer%netscape.com
4b1b4ccfee define a goDoCommand() to prevent JS errors when typing in the subscribe
dialog.  we don't play nice with mailWindow.  #53106
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84470 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 06:11:15 +00:00
bryner%uiuc.edu
4b72ed8f2f Bug 49273 - always set the hover state on content when we get a MOUSE_ENTER event. This prevents problems with some window managers that send MOUSE_LEAVE and MOUSE_ENTER events before ButtonPress events. r=saari, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@84469 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 05:58:47 +00:00
wtc%netscape.com
0f6388ff81 Added const to clean up compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@84468 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 05:26:24 +00:00
wtc%netscape.com
bd6001b082 Bugzilla bug #64471: PR_SendFile detects and uses the new Solaris
sendfilev system call.
Modified files: unix_errors.c, ptio.c.


git-svn-id: svn://10.0.0.236/trunk@84467 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 04:26:17 +00:00
cmanske%netscape.com
88dcd2672a Fixed bad initialization of window enumerator. b=63947, r=danm, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84465 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 04:13:50 +00:00
sspitzer%netscape.com
cb6a0c6768 get biff working with pop! sr=bienvenu. #64469
git-svn-id: svn://10.0.0.236/trunk@84464 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 03:47:54 +00:00
sspitzer%netscape.com
ff39393425 fix for #36025. play sound when new mail arrives. thanks to
rcassin@supernova.org for the front end work.  all the prefs work,
but we only have UI for enabling / disabling the sound.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 02:43:03 +00:00
nelsonb%netscape.com
912cbdbcf0 Stop using deprecated SSL functions. Convert them to the supported ones.
git-svn-id: svn://10.0.0.236/trunk@84462 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 02:40:02 +00:00
relyea%netscape.com
b2786a1f98 Add rules for building the correct exportted list file for Sun, AIX, and Linux.
Fix AIX so the Map files will override exporting all the symbols


git-svn-id: svn://10.0.0.236/trunk@84461 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 02:00:55 +00:00
relyea%netscape.com
711d0a77e5 1) Add AIX to the exportted symbols controlled plaform.
2) reduce the exported symbol list down to one


git-svn-id: svn://10.0.0.236/trunk@84460 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 01:59:03 +00:00
relyea%netscape.com
e771a8efc3 1) Add AIX to the build.
2) prune nss.def
3) reduce the count of exported symbol files down to one.
4) add NSS_Initialize()


git-svn-id: svn://10.0.0.236/trunk@84459 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 01:57:48 +00:00
kestes%staff.mail.com
570f22e643 delete unused tinderbox variable buildfamily. This will surely
confuse some user if I leave it in.


git-svn-id: svn://10.0.0.236/trunk@84458 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 01:34:21 +00:00
kestes%staff.mail.com
037935861f typo the module is erro_parse not error_parser
git-svn-id: svn://10.0.0.236/trunk@84457 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 01:33:22 +00:00
kestes%staff.mail.com
516a5ac992 clarify some details which came up in email correspondence.
git-svn-id: svn://10.0.0.236/trunk@84456 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 01:32:47 +00:00
kestes%staff.mail.com
7920ce7fce better man page to explain the mail format.
git-svn-id: svn://10.0.0.236/trunk@84455 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 01:32:03 +00:00
kestes%staff.mail.com
60991b07a7 clean up the SECONDS_PER_* variables
add some periods to the end of error messages.


git-svn-id: svn://10.0.0.236/trunk@84454 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 01:31:30 +00:00
kestes%staff.mail.com
16f6e2f01e allow the 'building' mails to not trip the test for gridsize.
git-svn-id: svn://10.0.0.236/trunk@84453 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 01:30:37 +00:00
kestes%staff.mail.com
af93439684 some new versions of CVS output dates in a new format, allow for these
dates.


git-svn-id: svn://10.0.0.236/trunk@84452 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 01:27:55 +00:00
mstoltz%netscape.com
34b809a55d bug 62972 - block location and other sensitive properties in mail messages. r=rginda, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84450 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-06 00:26:58 +00:00
nelsonb%netscape.com
4317ea94c5 Use _WIN32 instead of _WINDOWS in windows-dependent ifdefs.
git-svn-id: svn://10.0.0.236/trunk@84449 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:53:38 +00:00
bryner%uiuc.edu
95f213ea6a Removing unused Makefile.in's (files in these directories are now exported via jar.mn). Bug 55778. r=ben, cls. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@84448 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:51:45 +00:00
jj%netscape.com
c800402ae7 #41854: obsoleting old build scripts and related files. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@84447 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:50:34 +00:00
pinkerton%netscape.com
5166ce7e84 Submitting patch from MarkH@ActiveState.com to allow multi-file drops
from external applications. r=saari/sr=hyatt. bug# 60924


git-svn-id: svn://10.0.0.236/trunk@84446 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:47:09 +00:00
blakeross%telocity.com
80573cffad Fix 10061: xptcall not right on irix. patch by Robert Low (rob@adacel.com.au). r=jband sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@84445 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:44:21 +00:00
jst%netscape.com
dc0cca8f46 Fixing regression introduced in my huge checkin a few weeks ago, backing out the change I made while doing some code cleanup/reorg
git-svn-id: svn://10.0.0.236/trunk@84444 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:26:05 +00:00
racham%netscape.com
71971b3a0d Fixing bugs 62206, 62461. Changing sentences at various places to be more meaningful as per the patches submitted. r=sspitzer, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84443 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:24:49 +00:00
sspitzer%netscape.com
9bea284c92 really fixing #63992 this time. thank to hwaara for point out the
problem.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84442 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:10:09 +00:00
naving%netscape.com
69c002c528 45041 r=sspitzer sr=bienvenu. Display the alert message correctly.
git-svn-id: svn://10.0.0.236/trunk@84441 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:07:03 +00:00
blakeross%telocity.com
96ac363462 Fix 54963: mousewheel text sizing not bounded, and lower upper bound (to 2000%). patch by Jonas Sicking (sicking@bigfoot.com). r=bryner,blake a=ben
git-svn-id: svn://10.0.0.236/trunk@84440 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:06:09 +00:00
sspitzer%netscape.com
affdea4ab0 comment out annoying debug dump(). sr=no one
git-svn-id: svn://10.0.0.236/trunk@84439 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:05:50 +00:00
mkaply%us.ibm.com
69c3b28194 #62858
r=javi,wtc, sr/a=brendan
OS/2 should follow some WIN32 paths in psm-glue


git-svn-id: svn://10.0.0.236/trunk@84438 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:05:03 +00:00
blakeross%telocity.com
27154b965a Fix 64171: some clean-up in the cookies panel (enabling/disabling, layout). patch by Håkan Waara (hwaara@chello.se). r=jag a=ben
git-svn-id: svn://10.0.0.236/trunk@84437 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 23:00:33 +00:00
mcgreer%netscape.com
ca5f3a2537 add support for AES
reduce compiler warnings


git-svn-id: svn://10.0.0.236/trunk@84436 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 22:38:50 +00:00
mcgreer%netscape.com
c16bbc7e82 widespread changes to reduce compiler warnings. liberal application of const.
git-svn-id: svn://10.0.0.236/trunk@84435 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 22:37:50 +00:00
wtc%netscape.com
fa14fe9597 Call NSS_Init() to initialize NSS. It's not necessary to call PR_Init()
because NSPR is implicitly initialized.


git-svn-id: svn://10.0.0.236/trunk@84433 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 21:14:47 +00:00
nboyd%atg.com
1a570ec189 For == use .equals after unwrapping.
git-svn-id: svn://10.0.0.236/trunk@84430 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 20:00:47 +00:00
nboyd%atg.com
102caa5095 Fix bug 64397.
git-svn-id: svn://10.0.0.236/trunk@84427 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 19:15:59 +00:00
kestes%staff.mail.com
c707b0bc7e stat fix for perl 5.6 from "John Turner" <jdturner@nc.rr.com>
git-svn-id: svn://10.0.0.236/trunk@84426 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 17:30:35 +00:00
mkaply%us.ibm.com
01f8eac1a5 r=mkaply, a=blizzard
Code from Dmitry Kubov to fix building on new PGCC (NS_STATIC_CAST to NS_REINTERPRET_CAST)


git-svn-id: svn://10.0.0.236/trunk@84424 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 15:38:35 +00:00
morse%netscape.com
e34f8598dc fix bustage (javascript error) introduced by last checkin (for bug 23095)
git-svn-id: svn://10.0.0.236/trunk@84423 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 09:47:28 +00:00
sspitzer%netscape.com
e64ea376be fix for #64317. when reading news, if biff went off, the
mark toolbar button would change back to delete.
I was calling SetUpToolbar() in the wrong place.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84422 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 08:34:29 +00:00
sspitzer%netscape.com
c7ef240072 remove extra ".". sr=no one
git-svn-id: svn://10.0.0.236/trunk@84421 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 08:11:57 +00:00
morse%netscape.com
8eb8a9e885 patch 64211 con't: Form-manager fillin does not work for files on local disk, r=evaughan@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84420 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 07:34:40 +00:00
bienvenu%netscape.com
11946e7dfd more work on newsgroup hdr purging sr=sspitzer 17217
git-svn-id: svn://10.0.0.236/trunk@84417 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 04:40:27 +00:00
sspitzer%netscape.com
88f349e9aa fix warnings in the d&d. bug #58561. r=jag, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84416 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 04:14:01 +00:00
morse%netscape.com
7cd0991a3d bug 64221, Form-manager fillin does not work for files on local diskk, r=evaughan@netscape.com, sr=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84415 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 03:48:57 +00:00
javi%netscape.com
ea53e14670 Correct spelling mistake.
r=javi,scc,hwaara@chello.se sr=brendan

(I'm checking this in for original reporter of Bug 63122.)


git-svn-id: svn://10.0.0.236/trunk@84413 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 03:26:41 +00:00
waterson%netscape.com
f8f6123f4a Strip trailing ^M characters.
git-svn-id: svn://10.0.0.236/trunk@84412 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 02:58:17 +00:00
disttsc%bart.nl
9d7e54d492 Fix page cycling related timeouts on tinderboxen.
git-svn-id: svn://10.0.0.236/trunk@84411 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 02:54:16 +00:00
morse%netscape.com
d4fab9dd3c bug 64355, hide form toolbar by default, r=evaughn@netscape.com, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84410 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 02:50:13 +00:00
wtc%netscape.com
e44526a35d Bugzilla bug #64261: moved certread.c from lib/certhigh to lib/pkcs7.
As a result of this move I have to export one more data symbol
(SECAnyTemplate) from libnss3.so. :(  Removed the temporary workaround
in coreconf/rules.mk.
Modified Files:
	coreconf/rules.mk nss/lib/certhigh/manifest.mn
	nss/lib/nss/mapfile nss/lib/nss/nss.def
	nss/lib/pkcs7/manifest.mn
Added Files:
	nss/lib/pkcs7/certread.c
Removed Files:
	nss/lib/certhigh/certread.c


git-svn-id: svn://10.0.0.236/trunk@84408 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 02:18:55 +00:00
disttsc%bart.nl
bbcf7313ae Update REQUIRES in Makefile.in to fix senna Linux Dep build bustage.
git-svn-id: svn://10.0.0.236/trunk@84406 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 01:46:16 +00:00
sspitzer%netscape.com
3247fa6d02 fix for #64333 and #63992. sr=mscott
git-svn-id: svn://10.0.0.236/trunk@84405 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 01:45:30 +00:00
nelsonb%netscape.com
dbd95a18a1 Changes to deal with exporting data from Windows DLLs.
SECHashObjects[] is no longer exported.
New function HASH_GetHashObject returns pointer to selected const object.
SSL statistics are now in a structure whose address is obtained via a
call to SSL_GetStatistics().
On NT, the new symbol NSS_USE_STATIC_LIBS must be declared in programs
that use the static SSL library.
Also, propagate "const" declaration for SECHashObjects.


git-svn-id: svn://10.0.0.236/trunk@84403 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 01:38:26 +00:00
disttsc%bart.nl
c8ce9afbb8 Refactor nsBrowserInstance's LoadInitialPage, add contract id for the command line service, move code from c++ to js, remove dead code. bug=46200, r=blizzard, a=
alecf.


git-svn-id: svn://10.0.0.236/trunk@84402 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 01:20:49 +00:00
nboyd%atg.com
509540f585 Email thread describing change:
Subject:
             Re: Rhino bug - Wrapper ??
        Date:
             Fri, 05 Jan 2001 03:46:11 +0530
       From:
             Mukund Balasubramanian <mukund@cs.stanford.edu>
 Organization:
             Another Netscape Collabra Server User
 Newsgroups:
             netscape.public.mozilla.jseng
  References:
             1 , 2 , 3 , 4 , 5 , 6




That works too,
    Should I assume that this would be a part of the next tip ? I agree with the
part about
overloading code too.

    Anyways, thanks a load for your help and just tell me if I could be of any
help in any other
respects of the rhino project.

ThanX,

Mukund Balasubaramanian

Norris Boyd wrote:

> Actually, I was considering removing the unwrapping code from
NativeJavaConstructor. I was
> suprised that it was there. The code dates from before we implemented proper
method and
> constructor overloading in Rhino. It's the overloading code that should have
the responsibility
> for unwrapping.
>
> Does this patch work for you:
>
> Index: NativeJavaObject.java
> ===================================================================
> RCS file:
/cvsroot/mozilla/js/rhino/org/mozilla/javascript/NativeJavaObject.java
> ,v
> retrieving revision 1.29
> diff -u -r1.29 NativeJavaObject.java
> --- NativeJavaObject.java       2000/11/13 22:10:32     1.29
> +++ NativeJavaObject.java       2001/01/04 21:33:55
> @@ -673,6 +673,12 @@
>
>                  return Result;
>              }
> +            else if (value instanceof Wrapper) {
> +                value = ((Wrapper)value).unwrap();
> +                if (type.isInstance(value))
> +                    return value;
> +                reportConversionError(value, type);
> +            }
>              else {
>                  reportConversionError(value, type);
>              }
>
> This handles the case where the object is both a Scriptable and a Wrapper.
>
> --N
>
> Mukund Balasubramanian wrote:
>
> > Yes they do implement Scriptable.
> >     From my preliminary inspection of the code, findFunction seems to be
preceediong the
> > coerceType call and I presume findFunction call is going to fail if the
arguments are
> > wrapped (bad types mismatching signature).
> >     The constructor case DOES go through an explicit unwrapping stage as
shown by the cut
> > and paste code. My question is whether the same preamble in NativeJavaMethod
is a valid bug
> > fix.
> >
> > ThanX,
> >
> > Mukund Balasubramanian
> >
> > Norris Boyd wrote:
> >
> > > Do your objects that implement Wrapper also implement Scriptable? From
simple inspection
> > > of the code I'd think that both the constructor and method cases would go
through
> > > NativeJavaMethod.coerceType, which should unwrap. However, Scriptable
objects are picked
> > > off and handled before any unwrapping is considered.
> > >
> > > --N
> > >
> > > Mukund Balasubramanian wrote:
> > >
> > > > Yup,
> > > >     Here it is - Line numbers 173-178 are cut and paste from
> > > > NativeJavaConstructor.java inside NativeJavaMethod.java
> > > >
> > > > /*** Call in NativeJavaMethod.java
> > > >     public Object call(Context cx, Scriptable scope, Scriptable thisObj,
> > > >                        Object[] args)
> > > >         throws JavaScriptException
> > > >     {
> > > >         // Eliminate useless args[0] and unwrap if required
> > > >         for (int i = 0; i < args.length; i++) {
> > > >             if (args[i] instanceof Wrapper) {
> > > >                 args[i] = ((Wrapper)args[i]).unwrap();
> > > >             }
> > > >         }
> > > >
> > > >   // Find a method that matches the types given.
> > > >         if (methods.length == 0) {
> > > > ****/
> > > >
> > > > Is this correct ? I presume it is because of the fact that the
constructor
> > > > does this.
> > > >
> > > > Any luck with my other question regarding generalizing the WrapHandler
to all
> > > > objects (including those returned by scriptable) and not only those
returned
> > > > through nativeJava***
> > > >
> > > > ThanX,
> > > >
> > > > Mukund Balasubramanian
> > > >
> > > > Norris Boyd wrote:
> > > >
> > > > > Could you post your proposed patch?
> > > > >
> > > > > Thanks,
> > > > > Norris
> > > > >
> > > > > Mukund Balasubramanian wrote:
> > > > >
> > > > > > Hi all,
> > > > > >     I am trying to play around with writing a custom WrapHandler for
my
> > > > > > Java objects in Rhino. I found WrapHandler very useful.
> > > > > >     Now I am stuck at a point where, even though my wrappers
implement
> > > > > > "Wrapper", they get unwrapped only on calles to Constructors using
> > > > > > Liveconnect. Normal methods dont seem to be doing any unwrapping.
> > > > > > Managed to build rhino with a bug fix (cut and paste code from
> > > > > > NativeJavaConstructor to NativeJavamethod), and it works.
> > > > > >     Just wanted to verify if it is a known bug (while I wait for
> > > > > > bugzilla to mail me a passwd).
> > > > > >
> > > > > > BTW, also found something interesting, WrapHandler gets called only
when
> > > > > > the object is returned from NativeJava***, not ANY Object. Is that
the
> > > > > > way it is supposed to work ??
> > > > > >
> > > > > > ThanX for any help,
> > > > > >
> > > > > > Mukund Balasubramanian


git-svn-id: svn://10.0.0.236/trunk@84401 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 01:17:51 +00:00
sspitzer%netscape.com
c1e8499af9 fix build bustage. I suck.
git-svn-id: svn://10.0.0.236/trunk@84400 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 01:14:41 +00:00
ducarroz%netscape.com
59f0a31063 Fix for bug 63577. Add style rule to autocomplete popup menu to remove the default max-width. R=sspitzer, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84399 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 00:49:30 +00:00
pchen%netscape.com
33e95aab49 Fix #62939. r=pinkerton, sr=sfraser. Return error when no match in IC database. Fixes DL of QT5 beta from apple.com (where they had a warning not to use Netscape 6)
git-svn-id: svn://10.0.0.236/trunk@84398 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 00:44:16 +00:00
blakeross%telocity.com
d61c780d09 Fix 63647: an element (button or textfield) should have focus by default in common dialogs, and other cleanup. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84396 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 00:37:30 +00:00
sspitzer%netscape.com
af9334df80 fix for #61642. patch from sun, r=sspitzer, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84395 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 00:35:35 +00:00
heikki%netscape.com
d466758782 Bug 45420, createCDATASection should check for input ']]>' and some null pointer checks. Removed a bogus comment. Original patch from Taras Tielkes, needed to modify a little because we are now using nsAReadableStrings. r=jst, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@84394 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 00:35:20 +00:00
valeski%netscape.com
5c4906e370 r=bryner, sr=alecf. 62748. adding prefs files which include default font names for use, and adding strres which is required by prefs for prefs processing (string bundles are used in prefs)
git-svn-id: svn://10.0.0.236/trunk@84392 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 23:56:22 +00:00
cls%seawood.org
f55bba681c Added BSDI logic from BSD_OS.mk
git-svn-id: svn://10.0.0.236/trunk@84391 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 23:37:41 +00:00
mkaply%us.ibm.com
5176c7002f r=mkaply, a=blizzard
Code from Dmitry Kubov to fix building on new PGCC (NS_STATIC_CAST to NS_REINTERPRET_CAST)


git-svn-id: svn://10.0.0.236/trunk@84390 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 23:09:24 +00:00
radha%netscape.com
08dae0a81c Fix for bug #60678. General cleanup of urlbar history. r=Bill Law, ducarroz
git-svn-id: svn://10.0.0.236/trunk@84389 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 23:06:00 +00:00
heikki%netscape.com
d4291ccd23 Bug 34168, report error instead of crashing if we encounter a parameter entity containing double percent sign. Fix from James Clark. r=nisheeth, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@84388 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 23:03:32 +00:00
pinkerton%netscape.com
bd815c1f7d stupid typo slipped in during last patch, extra semi on the end of a for loop. thanks to roc for catching. r=pinkerton,sr=sfraser. bug 64211.
git-svn-id: svn://10.0.0.236/trunk@84387 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 22:29:48 +00:00
bryner%uiuc.edu
2855615802 Bug 62763 - null check to prevent crash when mousewheel scrolling a textarea with style overflow:hidden. r=sspitzer, sr=tor.
git-svn-id: svn://10.0.0.236/trunk@84386 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 22:24:07 +00:00
bnesse%netscape.com
2cc236412b Added build support for the Default Plug-in. b=56761, r=jj, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@84385 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 22:18:03 +00:00
harishd%netscape.com
446727274f 56070 - Rewrote the handling of misplaced content inside TABLE to also be effective when document
is provided in multipel buffers.
62954 - DD is not a legal child of SELECT.

r=heikki
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@84384 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 22:15:06 +00:00
nhotta%netscape.com
1b0d103568 Added override field to db to support folder level charset override, bug 39756, r=sspitzer, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@84383 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 22:13:56 +00:00
colin%theblakes.com
9c842a6cb7 Provide some X11R5 equivalent code for platforms which don't yet support R6.
b=57135 r=pavlov sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@84382 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 22:13:00 +00:00
blizzard%redhat.com
627f67ab84 Fix bug #64031. This should get the apphelper dialog working when mozilla is embedded. r=pavlov, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84381 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 22:11:31 +00:00
wtc%netscape.com
4c3c22e2f7 Bugzilla bug #64261: moved pkcs7 from libnss3.so back to libsmime3.so.
coreconf/rules.mk has a temporary workaround for the dependency of
certread.c on some PKCS7 symbols.
Modified Files:
	coreconf/rules.mk nss/lib/manifest.mn nss/lib/nss/config.mk
	nss/lib/nss/mapfile nss/lib/nss/nss.def
	nss/lib/smime/config.mk nss/lib/smime/mapfile
	nss/lib/smime/smime.def


git-svn-id: svn://10.0.0.236/trunk@84378 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 21:33:06 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
wtc%netscape.com
3308e93b33 Include secder.h for the declaration of the DER_UTCDayToAscii functions.
git-svn-id: svn://10.0.0.236/trunk@84375 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 19:14:45 +00:00
kestes%staff.mail.com
e54565b02b from http://www.mozilla.org/projects/tinderbox/
git-svn-id: svn://10.0.0.236/trunk@84373 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 16:41:38 +00:00
kestes%staff.mail.com
6be76120eb If they are not on a valid network they should not see what our
other security checks are.


git-svn-id: svn://10.0.0.236/trunk@84372 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 16:40:53 +00:00
kestes%staff.mail.com
88d4f63415 forgot to turn on the new security features. Turned them off to test
at my site.


git-svn-id: svn://10.0.0.236/trunk@84371 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 16:40:22 +00:00
disttsc%bart.nl
60b582f122 Fix js strict warnings, bug=60622, r=sspitzer, a=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84370 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 15:51:37 +00:00
rods%netscape.com
92dcc2bd43 When focus is removed and the the CBX is dropped down it rolls it up
r=kmcclusk, sr=buster Bug 64079


git-svn-id: svn://10.0.0.236/trunk@84369 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 12:22:29 +00:00
brendan%mozilla.org
79aefcf7d3 Speed up js_qsort_r a bit (64065, r=mccabe, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@84368 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 10:13:18 +00:00
cls%seawood.org
57b0fcc5e0 Upgrade to latest GNU cvs versions.
git-svn-id: svn://10.0.0.236/trunk@84367 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 09:29:40 +00:00
nelsonb%netscape.com
c6ec12f986 Reduce warnings by adding missing #includes to eliminate calls to
undeclared functions.


git-svn-id: svn://10.0.0.236/trunk@84366 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 08:21:15 +00:00
sspitzer%netscape.com
2661578fc6 fix for #64259. performance optimizations. when in threaded mode.
this should help folder loading when the folder (or newsgroup) is threaded.
sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@84365 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 07:30:39 +00:00
sspitzer%netscape.com
0817a40f8c fix for #63992. fix based on patch from hwaara@chello.se. sr=bienvenu. also fix a js warning.
git-svn-id: svn://10.0.0.236/trunk@84364 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 07:16:38 +00:00
morse%netscape.com
6e15f74f22 bug 23095 con't -- form manager toolbar, r=pchen, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84363 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 06:02:54 +00:00
wtc%netscape.com
61e8bea620 Removed unnecessary inclusion of secder.h. (The #include "secder.h"
in cms.h was probably cut and pasted from secpkcs7.h, which was added
in rev. 1.3 of secpkcs7.h in the Netscape internal /m/src cvs repository
in 11/1996.)
Modified files: secpkcs7.h, cms.h


git-svn-id: svn://10.0.0.236/trunk@84362 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 06:02:43 +00:00
kandrot%netscape.com
51855c1721 Added more Intel instructions and some more debugging info.
git-svn-id: svn://10.0.0.236/trunk@84361 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 05:35:23 +00:00
ccarlen%netscape.com
70e3ec2bce Fix for bug 43087.
r=sspitzer, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@84360 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 03:23:38 +00:00
mcafee%netscape.com
79f2be6662 Comment change only, suggestion for leak-testing a set of source code changes.
git-svn-id: svn://10.0.0.236/trunk@84359 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 02:59:30 +00:00
morse%netscape.com
1f914c316e attempt to fix leak and bloat caused by previous checkin
git-svn-id: svn://10.0.0.236/trunk@84358 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 02:51:47 +00:00
jj%netscape.com
f80cb40a03 fix for #43202: rely on a maniffest file to install default profile resources. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@84357 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 02:45:32 +00:00
cmanske%netscape.com
cbe962ce2e Initialize variable to avoid JS warning (60631), r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84353 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 01:30:17 +00:00
cmanske%netscape.com
fdd20299b1 Removed redundant registering of command causing JS warning, r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84352 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 01:10:40 +00:00
cmanske%netscape.com
b7a1cf79a5 Use 'oninput' instead of 'onkeyup' for JS input handler (59654). r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84351 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 01:08:06 +00:00
cmanske%netscape.com
9cf003ee07 Fixed radio buttons (60850) and use 'oninput' instead of 'onkeyup' (59654). r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84350 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 01:03:03 +00:00
mcafee%netscape.com
62aeb72ab1 Fixing small html errors in about:cache (64180). patch=gemal, r=mcafee,timeless
git-svn-id: svn://10.0.0.236/trunk@84349 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 01:00:50 +00:00
cmanske%netscape.com
4e3788820d Fixed JS warnings (60669). r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84348 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:59:45 +00:00
cmanske%netscape.com
c867e60e4c Allow not changing name in Named Anchor dialog (53539). r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84347 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:58:10 +00:00
sspitzer%netscape.com
000524d225 Show "mark" toolbar button and hide the "delete" toolbar button when reading news. When reading mail, hide "mark" and show "delete". (#63635)
When reading news, turn "Edit | Delete Message" into "Edit | Cancel Message" (#8293)

When reading news, turn "Edit | Delete Folder" into "Edit | Unsubscribe" (#64205)

this checkin exposes a few UI bugs.  logging then now.

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84346 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:57:58 +00:00
cmanske%netscape.com
74388b490f Fixed List dialog not closing (60125). r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84345 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:55:00 +00:00
cmanske%netscape.com
dee9a1f04c Fixed Advanced Edit dialog problems (56541). r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84344 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:52:49 +00:00
cmanske%netscape.com
0c80354b06 Fix tooltip text in Image dialog (63509). r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84343 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:49:32 +00:00
cmanske%netscape.com
becbdd9316 Improve UI and text for composer prefs (51396). Use 'oninput' instead of 'onkeyup' (59694). r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84342 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:45:35 +00:00
wtc%netscape.com
e57a4cba46 Bugzilla bug #64238: removed the unnecessary inclusion of mcom_db.h from
cryptohi.h, pk11func.h, secpkcs7.h, and cms.h.  Some files now need to
include <errno.h>.  They were including <errno.h> indirectly through
mcom_db.h.
Modified Files:
	cmd/atob/atob.c cmd/btoa/btoa.c cmd/derdump/derdump.c
	lib/cryptohi/cryptohi.h lib/pk11wrap/pk11func.h
	lib/pkcs7/secpkcs7.h lib/smime/cms.h lib/ssl/sslsnce.c


git-svn-id: svn://10.0.0.236/trunk@84341 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:44:30 +00:00
cmanske%netscape.com
b1068e5d40 Make all property menuitems use '...' (47037). r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84340 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:38:51 +00:00
cmanske%netscape.com
24defd8364 Handle escaped characters when editing <title> text in HTML source (55150), fix JS warnings (60631). r=mjudge, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84339 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:34:37 +00:00
sspitzer%netscape.com
f6791423a6 fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@84338 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:33:30 +00:00
kestes%staff.mail.com
77e773c251 add more documentation to top of file explaining what file does.
add strict checks on directories, so that there is no security problem
with our data.
treat special ids and groups as if they are root, now its a fatal error.


git-svn-id: svn://10.0.0.236/trunk@84337 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:31:20 +00:00
kestes%staff.mail.com
86fc03b89b add more documentation to top of file explaining what file does.
move untaint code to after the variable is defined.


git-svn-id: svn://10.0.0.236/trunk@84336 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:30:13 +00:00
heikki%netscape.com
42e783bf26 Bug 63560, XML content sink was not adding script element contents to the content model. Includes also minor optimizations and fixes 2 compiler warnings. r=harishd, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@84335 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:30:11 +00:00
kestes%staff.mail.com
34de3b15eb add more documentation to top of file explaining what file does.
git-svn-id: svn://10.0.0.236/trunk@84334 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:29:40 +00:00
kestes%staff.mail.com
7dc498d2d8 add more documentation to top of file explaining what file does.
remove old cruft from when I tried strict time checks on mail files.
typo wrote  $tree meant  $TINDERBOX{'$tree'}


git-svn-id: svn://10.0.0.236/trunk@84333 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:29:09 +00:00
kestes%staff.mail.com
ace87a4eda add more documentation to top of file explaining what file does.
document eval as a security problem.
define the administrative network to limit who can run the admintree
page.


git-svn-id: svn://10.0.0.236/trunk@84332 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:28:00 +00:00
kestes%staff.mail.com
2eff8fe10d add more documentation to top of file explaining what file does
git-svn-id: svn://10.0.0.236/trunk@84331 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:26:16 +00:00
kestes%staff.mail.com
cebbc0b782 add more documentation to top of file explaining what file does
do not allow changes by users who are on unknown networks


git-svn-id: svn://10.0.0.236/trunk@84330 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:25:14 +00:00
cmanske%netscape.com
34f19b7ba3 Fixed selecting multiple rows, columns. Bug 64093, r=mjudge, sr=kin,sfraser
git-svn-id: svn://10.0.0.236/trunk@84329 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:24:39 +00:00
kestes%staff.mail.com
0512194fd8 add more documentation to top of file explaining what file does
add emacs header


git-svn-id: svn://10.0.0.236/trunk@84328 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:24:09 +00:00
kestes%staff.mail.com
96efa72cda add more documentation
document  'make compile_bin_code'


git-svn-id: svn://10.0.0.236/trunk@84327 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:22:37 +00:00
kestes%staff.mail.com
a2c6e74d2d add more documentation
git-svn-id: svn://10.0.0.236/trunk@84326 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:22:14 +00:00
kestes%staff.mail.com
34ef38b178 change ($starttime < $timenow) ||
to      ($starttime <= $timenow) ||


git-svn-id: svn://10.0.0.236/trunk@84325 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:21:36 +00:00
kestes%staff.mail.com
05368dad52 document security issue with eval
git-svn-id: svn://10.0.0.236/trunk@84324 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:21:03 +00:00
kestes%staff.mail.com
d7aed1600b use new secure default mode for creating directories
git-svn-id: svn://10.0.0.236/trunk@84323 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:20:26 +00:00
sspitzer%netscape.com
00a336dc5e removed files: mozilla/mailnews/base/src/nsMessageViewDataSource.cpp
git-svn-id: svn://10.0.0.236/trunk@84322 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:13:16 +00:00
sspitzer%netscape.com
aba5de7be2 make the message view persist on a per folder basis. (#63853)
make it so you can view "threads with unread".  (#52927)
threaded and unread are no longer mutually exclusive.

later, I'll add "unread threaded" which is no the
same thing as "thread with unread".

fix the nsMsgMessageDataSource() to ask the view, thread or msg database for existance of messages, instead of getting an enumerator for all messages, and seeing if it is non empty.  more performance work on the way.

move enums from MailNewsTypes.h to MailNewsTypes2.idl, so that I can use the same ones from JS and C++.

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84321 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:12:36 +00:00
danm%netscape.com
47c1b1e0f9 title string was stored in the open/save dialog "message" field, instead of the title. moving. bug 59888 r=hyatt,pchen
git-svn-id: svn://10.0.0.236/trunk@84320 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:08:11 +00:00
danm%netscape.com
932ada1e28 save persisted window attributes when window is activated. bugs 32148,17149. r=hyatt,saari
git-svn-id: svn://10.0.0.236/trunk@84319 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:05:42 +00:00
mccabe%netscape.com
73435597c1 Oops. Removing unneeded 'System.err.println("foo")'.
git-svn-id: svn://10.0.0.236/trunk@84318 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:03:00 +00:00
akkana%netscape.com
98b28f736f 56072: fix ctrl-left/right bindings on Unix. r=timeless,jag.anthonyd; a=kin
git-svn-id: svn://10.0.0.236/trunk@84317 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:01:34 +00:00
akkana%netscape.com
efc8da7d64 62398: comment out debug printfs. a=sfraser
git-svn-id: svn://10.0.0.236/trunk@84316 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 23:57:18 +00:00
wtc%netscape.com
798b64352e Have lib/fortcrypt/Makefile and lib/fortcrypt/swfort/pkcs11/Makefile
include the local config.mk file so that libfort.a and libswft.a don't
get built.


git-svn-id: svn://10.0.0.236/trunk@84315 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 23:49:48 +00:00
nhotta%netscape.com
d2fd13b267 Changed to use DecodersRoot instead of MaileditCharsetMenuRoot for mail view default charset list, bug 45218, r=cata, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@84313 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 23:46:06 +00:00
attinasi%netscape.com
07d48e660b Removed the bogus file-extension-as-image-type text from the title. b=47891 r=dcone sr=buster
git-svn-id: svn://10.0.0.236/trunk@84312 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 23:37:28 +00:00
mccabe%netscape.com
2d59d1524e Fix to 64149.
Propagate lexer fixes from Monkey to accept (and warn) about 008 as well as just 08.


git-svn-id: svn://10.0.0.236/trunk@84311 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 23:36:33 +00:00
attinasi%netscape.com
6a0e976941 <input type=image> now shows focus. b=2504 r=rods sr=buster
git-svn-id: svn://10.0.0.236/trunk@84310 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 23:34:54 +00:00
morse%netscape.com
3999cc7ec0 bug 23095 toolbar for wallet functions, r=pchen@netscape.com sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84309 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 23:33:25 +00:00
kestes%staff.mail.com
5c37fd9aaf moved to default_config
git-svn-id: svn://10.0.0.236/trunk@84307 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 22:03:40 +00:00
nboyd%atg.com
6aabad638c Get rid of BSF file in Rhino code. Just rely upon building BSF ourselves for now.
git-svn-id: svn://10.0.0.236/trunk@84302 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 20:54:37 +00:00
larryh%netscape.com
f4c579122d Bugzilla: 64132. NSS lock contention
git-svn-id: svn://10.0.0.236/trunk@84301 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 20:54:29 +00:00
larryh%netscape.com
18549422d1 Bugzilla: 64132. NSS lock instrumentation
git-svn-id: svn://10.0.0.236/trunk@84300 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 19:51:22 +00:00
valeski%netscape.com
bf5c97a307 trying to fix caching problem w/ wap browsers
git-svn-id: svn://10.0.0.236/trunk@84298 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 17:29:57 +00:00
ccarlen%netscape.com
b131b5bffb Bug 57056 - search.rdf not being migrated
r=racham, r=rjc, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84297 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 13:05:00 +00:00
ssu%netscape.com
3239783930 fixing bug 64105 - Remove blue background screen during installation
bug 60149 - Missing folder name in uninstall error
bug 64007 - Mozilla/Netscape strings hardcoded
bug 60039 - Uninstaller doesn't remove N6 cck entry in add/remove programs

This affects only windows platforms.  Not part of tinderbox builds.
 sr=sspitzer r=dveditz,dbragg


git-svn-id: svn://10.0.0.236/trunk@84296 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 07:16:20 +00:00
ssu%netscape.com
b831c440fa fixing bug 64105 - Remove blue background screen during installation
bug 60149 - Missing folder name in uninstall error
bug 64007 - Mozilla/Netscape strings hardcoded
bug 60039 - Uninstaller doesn't remove N6 cck entry in add/remove programs

This affects only windows platforms.  sr=sspitzer r=dveditz,dbragg


git-svn-id: svn://10.0.0.236/trunk@84295 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 07:15:47 +00:00
timeless%mac.com
579996d20f fix Bug 56224 - Wrong RDF value in mimeTypes.rdf for NC:handleinteral text/html
Removes the second entry
r=jrgm
sr=alecf


git-svn-id: svn://10.0.0.236/trunk@84293 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 05:22:57 +00:00
mkaply%us.ibm.com
71a59125ab OS/2 TB breakage
Uh duh. It would help if I put the XP_OS2 in the header file.


git-svn-id: svn://10.0.0.236/trunk@84292 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 03:05:09 +00:00
larryh%netscape.com
87dbde878d Bugzilla: 64132
git-svn-id: svn://10.0.0.236/trunk@84291 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 01:39:43 +00:00
curt%scruznet.com
4af1bb21c9 Accepts a variable definition Interval=n where n is the number of urls
over which the regression should be done.  The regression will be calculated
and printed out for each n urls and followed by a regression for the
entire set of data.


git-svn-id: svn://10.0.0.236/trunk@84290 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 01:36:35 +00:00
bryner%uiuc.edu
6f97e20f49 Removing dead .toc files. Not part of build. a=sfraser.
git-svn-id: svn://10.0.0.236/trunk@84289 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 01:32:06 +00:00
wtc%netscape.com
c68fd4a810 Added the LIBRARY statements to the .DEF files.
Modified files: nss.def, smime.def, and ssl.def.


git-svn-id: svn://10.0.0.236/trunk@84288 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 01:31:10 +00:00
naving%netscape.com
af606651f6 63217 r=sspitzer sr=bienvenu. Checking the right parent folder and also setting
the deleteisMoveToTrash flag so that folder does not get added back.


git-svn-id: svn://10.0.0.236/trunk@84287 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 01:19:39 +00:00
sspitzer%netscape.com
8f457d2b4d fix for #41146. get news:group urls to work properly. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84286 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 01:18:50 +00:00
wtc%netscape.com
3c53ed6fb6 Deleted an unnecessary blank line.
git-svn-id: svn://10.0.0.236/trunk@84285 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 00:59:09 +00:00
alecf%netscape.com
ed59428677 fix for 63448 - don't do a JS_GC every time we read a pref file - instead do
one JS_MaybeGC after reading in ALL the default prefs, and do a JS_MaybeGC after reading
in any single user prefs file (i.e. prefs.js)
sr=brendan@mozilla.org, r=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84284 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 00:11:50 +00:00
mcafee%netscape.com
ef66c0597f HTML 4.0-izing about:cache. patch=gemal, r=mcafee
git-svn-id: svn://10.0.0.236/trunk@84283 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-03 00:08:04 +00:00
karnaze%netscape.com
2dfe5bc29b bug 63785 - removed the patch from bug 33784.
git-svn-id: svn://10.0.0.236/trunk@84282 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:42:23 +00:00
tor%cs.brown.edu
5c182b5e88 #51179 blending calculations were incorrect (dividing by 256 instead of 255).
r=brendan, sr=roc


git-svn-id: svn://10.0.0.236/trunk@84281 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:41:07 +00:00
mkaply%us.ibm.com
7e139ad912 #50998
r=rods, a/sr=buster
OS/2 has support for GetAveCharWidth so enable it


git-svn-id: svn://10.0.0.236/trunk@84278 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:26:25 +00:00
mkaply%us.ibm.com
eece0f1859 #62335
r=mkaply, a=blizzard
Chinese can have either 1381 or 1286 - query system to determine which one to use


git-svn-id: svn://10.0.0.236/trunk@84277 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:23:52 +00:00
valeski%netscape.com
e4aa16de1a r=kin, sr=sfraser. 47207. removal of extraneous (and noisy in embedding builds) printf.
git-svn-id: svn://10.0.0.236/trunk@84276 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:20:56 +00:00
disttsc%bart.nl
3488b17bb7 Fix bug 60941: ``File Name: field becomes garbage when japanese file is selected''. r=shanjian, a=Pavlov
git-svn-id: svn://10.0.0.236/trunk@84275 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:17:18 +00:00
sfraser%netscape.com
03bb3733b6 Fix bugs 57327 and 57835; convert nsImageMac to use PixMaps rather than GWorlds to reduce memory usage, and reduce changes of allocation failure.
sr=beard, r=pinkerton


git-svn-id: svn://10.0.0.236/trunk@84274 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:16:50 +00:00
timeless%mac.com
7438fecd9f cleanout unused wallet references
r=blake, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@84273 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:15:34 +00:00
attinasi%netscape.com
fe76e144b4 Fixed leak in StyleContextCache: destructor was not cleaning up hash table entries. r=dbaron sr=buster b=63627
git-svn-id: svn://10.0.0.236/trunk@84272 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:13:49 +00:00
kirke%netscape.com
7d8fcf6e05 Made argument processing more robust (ala stresclnt.c). We now detect
and fail when something on the command line is not recognized.  Also
exiting with distinct status values for all error conditions (previously
we always exited with '1').


git-svn-id: svn://10.0.0.236/trunk@84271 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 22:19:55 +00:00
despotdaemon%netscape.com
1fdfce65b7 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@84270 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 22:18:55 +00:00
rogerl%netscape.com
0e8d6728f8 Fix for VC++ compile.
git-svn-id: svn://10.0.0.236/trunk@84269 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 19:49:16 +00:00
mcgreer%netscape.com
b27e34ff37 fix problem in decrypt
git-svn-id: svn://10.0.0.236/trunk@84268 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 16:57:47 +00:00
locka%iol.ie
c674ffcba7 Added an Auto HScroll bit to the URL address control. This flag allows long URLs (longer than the width of the control) to be typed in.
git-svn-id: svn://10.0.0.236/trunk@84267 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 15:11:07 +00:00
mkaply%us.ibm.com
2028b19e08 #62335
r=mkaply, a=blizzard
Fix DBCS font handling - use face, not family - do proper conversion


git-svn-id: svn://10.0.0.236/trunk@84266 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 14:44:39 +00:00
dbaron%fas.harvard.edu
c4352a27e2 Add pref to REQUIRES line to fix red senna tinderbox from blizzard's checkin.
git-svn-id: svn://10.0.0.236/trunk@84265 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 14:38:15 +00:00
kandrot%netscape.com
2666b94554 Very simple test progam I am using to debug post_compile
git-svn-id: svn://10.0.0.236/trunk@84264 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 09:20:40 +00:00
kandrot%netscape.com
9f82b3251d Final check in for the night. Lots of details to finish to make it work well.
git-svn-id: svn://10.0.0.236/trunk@84263 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 09:19:35 +00:00
kandrot%netscape.com
08392cddf6 It now does some basic code stripping and optimizing. Now that the concept
seems to be proven, it is a matter of time to fill in the details.


git-svn-id: svn://10.0.0.236/trunk@84262 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 07:44:26 +00:00
sspitzer%netscape.com
b1f06fe51d fix warning. #64026. r=adam@gimp.org, sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84261 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 06:27:19 +00:00
blakeross%telocity.com
8f09cbe016 Fixing problem with my previous patch for bug 60005. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84260 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 05:39:40 +00:00
alecf%netscape.com
ae730520de add null pointer checks to avoid crashing during history commit - avoid crash described in bug 62968
r=blake
(no sr= cuz it's so freakin simple)


git-svn-id: svn://10.0.0.236/trunk@84259 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 05:27:13 +00:00
disttsc%bart.nl
6a1b91d304 Fix attribute namespace goof-up in html tooltip code, r=jst, a=alecf
git-svn-id: svn://10.0.0.236/trunk@84258 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 02:46:20 +00:00
blizzard%redhat.com
55cd53a0fc Fix bug #49223. Add a profile api to the embedding widget. r=conrad, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84257 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 00:50:31 +00:00
rpotts%netscape.com
23f82d0afa Some changes to make nsDocShell::LoadStream() work better...
git-svn-id: svn://10.0.0.236/trunk@84256 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 22:48:47 +00:00
bienvenu%netscape.com
6b6a85fb19 work on offline disk space mgmt sr=ssptizer for mscott 17217
git-svn-id: svn://10.0.0.236/trunk@84255 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 22:00:17 +00:00
jst%netscape.com
ffe4f795a3 Fixing bug 57534. document.open() is defined to not return anything in the DOM spec but for backwards compatibility it needs to return the document itself. r=blakeross@telocity.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84254 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 20:54:38 +00:00
blakeross%telocity.com
ec4dc8cd21 Fix 60005: prefs UI for showing and hiding tooltips. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84253 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 04:25:06 +00:00
timeless%mac.com
5a498a6fe1 fix for bug 63475 Code Cleanup. Based on style flaws noticed in bug 61287
r=bryner, sr=brendan@mozilla.org.


git-svn-id: svn://10.0.0.236/trunk@84252 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 03:58:07 +00:00
pschwartau%netscape.com
96cdacfd24 Correcting bug that cropped up when system clock was set to GMT Standard Time
git-svn-id: svn://10.0.0.236/trunk@84251 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 02:40:28 +00:00
bryner%uiuc.edu
a9ecf72994 Bug 63904 - Don't fetch the system setting for number of lines to scroll per mousewheel movement on each scroll. r=timeless, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@84250 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 01:37:00 +00:00
blakeross%telocity.com
e18dca1320 Fix 51796: right clicking on checkboxes and radiobuttons shouldn't do anything, and fix keyboard activation. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84249 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 00:29:40 +00:00
kandrot%netscape.com
39583518e1 New format, and it now generates code for some functions. Structure
should be final with this checkin, now it is a matter of filling in the details


git-svn-id: svn://10.0.0.236/trunk@84248 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-31 23:20:00 +00:00
blakeross%telocity.com
360e80af5d Fix 58562: JS strict warnings in threadPane.js. patch by Jarrod Gray (jarrod.k.gray@rose-hulman.edu). r=blake sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84247 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-31 07:59:47 +00:00
kandrot%netscape.com
a2140ce0b6 Changed to use objects for each opcode. Changed the instruction decoding.
Made it so it can fit better into an optimization scheme.


git-svn-id: svn://10.0.0.236/trunk@84246 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-31 06:59:21 +00:00
sspitzer%netscape.com
daed7bc117 fix for #63994, fix string used in news error alert. sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@84244 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-31 02:57:01 +00:00
sspitzer%netscape.com
1d5c418f49 comment out dump() statement. no reviewer.
git-svn-id: svn://10.0.0.236/trunk@84243 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-31 00:26:10 +00:00
sspitzer%netscape.com
cb5bea4acc clean up some string code. thanks to disttsc@bart.nl for the suggestions.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84242 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 23:54:53 +00:00
kandrot%netscape.com
bb9f55c5d7 Can decode simple intel programs, but I need to change the stored
representation, so I am saving a snapshot before I do this.


git-svn-id: svn://10.0.0.236/trunk@84241 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 22:12:54 +00:00
sspitzer%netscape.com
86b8e61a3c ignore generated Makefile, no reviewer.
git-svn-id: svn://10.0.0.236/trunk@84240 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 21:09:11 +00:00
sspitzer%netscape.com
1293b62495 wrap more printfs with #ifdef DEBUG_edburns. no reviewer.
git-svn-id: svn://10.0.0.236/trunk@84239 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 21:08:11 +00:00
blakeross%telocity.com
7422b58148 Fix 60736: JS strict warnings in contentAreaUtils.js. patch by Henrik Gemal (gemal@gemal.dk). r=blake sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84238 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 20:56:12 +00:00
sspitzer%netscape.com
367a4c9185 fix for #48424. make it so double clicking on the column headers doesn't open
a stand alone message window.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84237 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 20:48:15 +00:00
sspitzer%netscape.com
fa6ef96fd5 making it so only edburns sees his debugging printfs. no reviewer.
git-svn-id: svn://10.0.0.236/trunk@84236 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 20:46:17 +00:00
sspitzer%netscape.com
977c185606 comment out some debugging dump statements. no reviewer.
git-svn-id: svn://10.0.0.236/trunk@84235 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 20:45:32 +00:00
dbaron%fas.harvard.edu
0bda33f65e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84234 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:25:23 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
dbaron%fas.harvard.edu
96e4c8e12e Add testcase for bug 63785 to block regression tests. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@84232 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 15:46:29 +00:00
kandrot%netscape.com
eac62280e1 new model for decode intel instructions. Keeping it off my local machine.
git-svn-id: svn://10.0.0.236/trunk@84231 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 12:45:08 +00:00
kandrot%netscape.com
4ca7c3db99 first pass at defining the structure needed to solve this problem
git-svn-id: svn://10.0.0.236/trunk@84230 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 09:30:34 +00:00
beard%netscape.com
15768bd995 another pass over LexUtils::cmp_nocase().
git-svn-id: svn://10.0.0.236/trunk@84227 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 08:08:12 +00:00
beard%netscape.com
6722eb9ce3 fix unsigned/signed comparison warnings
git-svn-id: svn://10.0.0.236/trunk@84226 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 07:55:01 +00:00
beard%netscape.com
d9996c96bc Use GC-safe vector of JSFunction* to hold getters/setters.
git-svn-id: svn://10.0.0.236/trunk@84225 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 07:46:18 +00:00
beard%netscape.com
8daa6ee2f4 no need to copy JSString values into String values.
git-svn-id: svn://10.0.0.236/trunk@84222 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 07:06:03 +00:00
bryner%uiuc.edu
b42f0985d5 Turning off includes of obsolete headers which will be removed for bug 38061. r=sspitzer, sr=tor.
git-svn-id: svn://10.0.0.236/trunk@84221 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 06:50:30 +00:00
cls%seawood.org
09e47790f9 Switch to $< & $@ so that VPATH can do its magic.
Bug #58804


git-svn-id: svn://10.0.0.236/trunk@84220 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 06:36:06 +00:00
cls%seawood.org
4fd7cbbfdd Preparations for building on win32 with autoconf Makefile.ins.
git-svn-id: svn://10.0.0.236/trunk@84219 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 05:44:01 +00:00
jar%netscape.com
d246243edc Added call-stack-based type refinement, and made other type expansion controllable from command line
git-svn-id: svn://10.0.0.236/trunk@84218 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 05:39:24 +00:00
cls%seawood.org
3b7f3e32c3 Check for __unix__ as well as __unix since gcc 2.95.2 on linux/ppc doesn't define __unix.
r=monkeypox tinderbox


git-svn-id: svn://10.0.0.236/trunk@84217 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 02:12:15 +00:00
sspitzer%netscape.com
0d3c76598f comment out a dump statement. no reviewer.
git-svn-id: svn://10.0.0.236/trunk@84216 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 01:38:05 +00:00
bryner%uiuc.edu
20888d593f Removing more unused files for bug 38061. sr=cls.
git-svn-id: svn://10.0.0.236/trunk@84215 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 01:24:27 +00:00
rogerl%netscape.com
cc115b820f Fixed bit-rot in exception handling, removed unused locals.
git-svn-id: svn://10.0.0.236/trunk@84214 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 01:13:06 +00:00
rogerl%netscape.com
fd61a85fe9 re-ordered members wrt init sequence.
git-svn-id: svn://10.0.0.236/trunk@84213 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 01:08:31 +00:00
cls%seawood.org
37a45d4b1d Sync'ing long lost changes between Makefile & Makefile.in
git-svn-id: svn://10.0.0.236/trunk@84212 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 00:47:58 +00:00
jgmyers%netscape.com
5dba996cb7 Remove dead code. Bug 63834 r=bryner sr=scc
git-svn-id: svn://10.0.0.236/trunk@84210 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 00:22:50 +00:00
jgmyers%netscape.com
90e2416135 removed files: mozilla/mailnews/mime/src/oldi18n.c
git-svn-id: svn://10.0.0.236/trunk@84209 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 00:19:53 +00:00
mccabe%netscape.com
61da61c5b4 Add emacs makefile modeline.
Not part of the Mozilla build.


git-svn-id: svn://10.0.0.236/trunk@84208 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 23:23:52 +00:00
nelsonb%netscape.com
9ac255a0da Don't build libfreebl_*_3.a . Just build the .so's.
git-svn-id: svn://10.0.0.236/trunk@84207 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 23:21:51 +00:00
bienvenu%netscape.com
69a87ca2d7 more work on reading offline news, sr=sspitzer for mscott 15870
git-svn-id: svn://10.0.0.236/trunk@84206 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 22:49:05 +00:00
bryner%uiuc.edu
6b5c296cb7 Removing dead references to old header files that will be going away for bug 38061. r=jag, sr=cls.
git-svn-id: svn://10.0.0.236/trunk@84205 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 22:41:22 +00:00
bryner%uiuc.edu
108b31c6c3 Removing dead references to old header files that will be going away for bug 38061. r=blake, sr=cls.
git-svn-id: svn://10.0.0.236/trunk@84204 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 22:32:55 +00:00
naving%netscape.com
ac75c06eca 63611, 50722, 60914, 61514, 36248 r=sspitzer sr=bienvenu. Rewriting the IMAP rename code when the server returns
the control to the client and also taking care of boxflags


git-svn-id: svn://10.0.0.236/trunk@84203 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 22:20:36 +00:00
rogerl%netscape.com
4e44ac8f21 Fix for #60164, more failure testing during exception processing.
r=mccabe, a=brendan


git-svn-id: svn://10.0.0.236/trunk@84202 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 22:19:09 +00:00
dbaron%fas.harvard.edu
4948f62ba1 Remove temporary hack to remove libpsmglue.so. r=cls
git-svn-id: svn://10.0.0.236/trunk@84201 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 22:10:32 +00:00
nicolson%netscape.com
8e883879ca bye bye tabs, hello spaces.
git-svn-id: svn://10.0.0.236/trunk@84199 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 21:11:21 +00:00
jgmyers%netscape.com
8a9deabbdf unused file r=bryner sr=scc
git-svn-id: svn://10.0.0.236/trunk@84198 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 20:28:03 +00:00
blakeross%telocity.com
8d4c929478 Removing more old files, not part of build. r=bryner
git-svn-id: svn://10.0.0.236/trunk@84197 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 20:23:50 +00:00
bryner%uiuc.edu
14770bfdd9 Eliminate imglib dependency on obsolete merrors.h by moving error codes used by imglib to a new ilErrors.h file (in support of bug 38061). Remove unused il_errp.h file. Also remove an unused variable in scale.cpp. r=cls, sr=tor.
git-svn-id: svn://10.0.0.236/trunk@84196 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 20:06:14 +00:00
tor%cs.brown.edu
50d91ee321 Bug 63896 - use system libmng if available. r=cls
git-svn-id: svn://10.0.0.236/trunk@84195 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 19:59:59 +00:00
wtc%netscape.com
d5b62deab0 Bugzilla bug #63891: added support for Linux on sparc and sparc64.
The patch is provided by Christopher Blizzard <blizzard@mozilla.org>.


git-svn-id: svn://10.0.0.236/trunk@84192 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 19:35:53 +00:00
blizzard%redhat.com
9cd521e880 Fix bug #61782. Focus problems with gtk based plugins. This also cleans up a lot of other focus-related code as well. r=bryner, saari sr=scc
git-svn-id: svn://10.0.0.236/trunk@84189 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 19:02:00 +00:00
blakeross%telocity.com
355d67bab1 Fix 59514: sidebar.css not placed correctly in jar (unix). patch by mkaply. r=blake sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@84188 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 18:51:41 +00:00
jgmyers%netscape.com
cf18e5c4fc fix Mac bustage
git-svn-id: svn://10.0.0.236/trunk@84187 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 16:37:33 +00:00
jgmyers%netscape.com
cbd68995f9 camelot is down, so have to add this file back
git-svn-id: svn://10.0.0.236/trunk@84186 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 15:44:12 +00:00
jgmyers%netscape.com
9b53c8e5eb Remove dead code. Bug 63834 r=bryner sr=scc
git-svn-id: svn://10.0.0.236/trunk@84185 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 15:40:49 +00:00
dbaron%fas.harvard.edu
06e2a79253 Fix bustage on Sun workshop compiler (nebiros tinderbox) by putting in |const| where we really ought to need it anyway. r=cls
git-svn-id: svn://10.0.0.236/trunk@84184 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 14:22:52 +00:00
morse%netscape.com
4e168ea192 bug 62727, inconsistent wording, r=pnunn, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84183 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 11:22:53 +00:00
blakeross%telocity.com
2d387d82be Fix 63789: "Tabs in My Sidebar" list items disappear and OK button is unresponsive. just a reversion of a previous strict warning fix. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84182 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 07:20:39 +00:00
wtc%netscape.com
fd5996c391 Use mapfiles when building the nss, smime, and ssl shared libraries on
Solaris and Linux.
Modified files: nss/config.mk smime/config.mk ssl/config.mk


git-svn-id: svn://10.0.0.236/trunk@84181 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 07:13:20 +00:00
cls%seawood.org
655ea06956 Turn off UltraSparc optimizations by default. Use --enable-ultrasparc to build for the v8plus arch.
Bug #63173 r=rich.burridge@sun.com


git-svn-id: svn://10.0.0.236/trunk@84180 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 06:33:07 +00:00
bryner%uiuc.edu
9c17d4d8e4 More cleanup fun for bug 38061. Removing already #if 0'd includes of mimeenc.h and xlate.h to avoid LXR false-alarms. sr=cls.
git-svn-id: svn://10.0.0.236/trunk@84179 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 06:31:39 +00:00
wtc%netscape.com
9f0c456e48 Added mapfiles for libnss3.so, libsmime.so, and libssl3.so. The linkers
on Solaris and Linux support mapfiles (also called version scripts).
Added Files:
    nss/mapfile smime/mapfile ssl/mapfile


git-svn-id: svn://10.0.0.236/trunk@84178 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 06:07:06 +00:00
blakeross%telocity.com
ce18651fec Fix 63848: removing more old, unused files. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@84177 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 05:08:19 +00:00
bryner%uiuc.edu
eb81034850 More include file cleanup for bug 38061. These files are now all unused. r=blake.
git-svn-id: svn://10.0.0.236/trunk@84176 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 04:38:33 +00:00
wtc%netscape.com
40cce6c49c Removed five symbols that shouldn't be exported.
git-svn-id: svn://10.0.0.236/trunk@84175 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 03:58:40 +00:00
bryner%uiuc.edu
e82d9d293c Eliminating mailnews dependencies on merrors.h and msgcom.h. Part of bug 38061. r=sspitzer, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@84174 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 03:46:29 +00:00
wtc%netscape.com
dbb54ef74c I found that the Windows linker 'link' pulls from an archive library only
the object files needed to resolve referenced symbols, so we will need to
link with the objects directly as we do on Unix.  As a result, nss3.dll
needs to export more (PKCS7) symbols, needed by the new PKCS12 objects
that are linked into smime3.dll.


git-svn-id: svn://10.0.0.236/trunk@84173 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 02:50:16 +00:00
wtc%netscape.com
89b0605129 I found that the Windows linker 'link' pulls from an archive library only
the object files needed to resolve referenced symbols, so we will need to
link with the objects directly as we do on Unix.  As a result, nss3.dll
needs to export more (PKCS7) symbols, needed by the new PKCS12 objects
that are linked into smime3.dll.
Modified Files:
    coreconf/rules.mk nss/lib/nss/config.mk
    nss/lib/smime/config.mk nss/lib/ssl/config.mk


git-svn-id: svn://10.0.0.236/trunk@84172 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 02:47:16 +00:00
pschwartau%netscape.com
67cb793795 Initial add -
git-svn-id: svn://10.0.0.236/trunk@84171 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 02:46:32 +00:00
kandrot%netscape.com
0cc7b0d727 inital checkin of files which will eventually be a post compile step for mozilla
git-svn-id: svn://10.0.0.236/trunk@84170 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 02:23:09 +00:00
blakeross%telocity.com
5f5d525871 Fix 37589: strange dots next to Slashdot news headers. patch by Arne de Bruijn (arbruijn+mozilla@students.cs.uu.nl). r=pnunn sr=tor
git-svn-id: svn://10.0.0.236/trunk@84169 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 02:21:16 +00:00
sgehani%netscape.com
eecbc6837e Thanks to dbaron for helping fix the objdir-related bustage.
git-svn-id: svn://10.0.0.236/trunk@84168 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 01:33:53 +00:00
cotter%netscape.com
4e6247002d Fixed broken graphics links.
git-svn-id: svn://10.0.0.236/trunk@84167 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 01:32:26 +00:00
danm%netscape.com
b15e6fdad1 adding persistence of min/max state. arguably bug 32148 r=pchen
git-svn-id: svn://10.0.0.236/trunk@84166 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 01:26:57 +00:00
bryner%uiuc.edu
1fbbcb22f4 Removing unused/obsolete include of msgcom.h. sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@84165 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 01:24:15 +00:00
wtc%netscape.com
289bf41861 Fixed copyright years. This file was created and published in 2000.
git-svn-id: svn://10.0.0.236/trunk@84163 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 01:20:24 +00:00
wtc%netscape.com
46220e2fe8 Built nss3.dll, smime3.dll, and ssl3.dll on Windows. Note that we do
not want the "32" in the DLL names that coreconf adds by default.  We
use module-definition (.DEF) files to control the exported symbols.
Made pkcs7 part of nss3.dll to temporarily work around circular dependency
between nss3.dll and smime3.dll (certread.c depends on some PKCS7 symbols).
Modified files: lib/nss/config.mk, lib/smime/config.mk, lib/ssl/config.mk


git-svn-id: svn://10.0.0.236/trunk@84162 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 01:16:56 +00:00
nelsonb%netscape.com
eca7bfde58 This file has been superseded by mpv_sparcv8.s and mpv_sparcv9.s
git-svn-id: svn://10.0.0.236/trunk@84161 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 01:07:00 +00:00
bryner%uiuc.edu
762c2a84b8 Removing obsolete 4.x editor stuff. Bug 38061. r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@84160 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 01:03:21 +00:00
nelsonb%netscape.com
c66b8b74e0 Implement new mpi function mpi_read_variable_radix(). It's like
mpi_read_radix(), except that if the input stream begins with a leading
zero or "0x", it will interpret the input as octal or hex, respectively.


git-svn-id: svn://10.0.0.236/trunk@84159 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 01:01:37 +00:00
wtc%netscape.com
38fd74f9a9 Added Windows module-definition (.DEF) files for nss, smime, and ssl
shared libraries.
Added files: nss.def, smime.def, ssl.def


git-svn-id: svn://10.0.0.236/trunk@84158 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 00:57:17 +00:00
nelsonb%netscape.com
24d2f7c2f8 Optimized version of these functions, contributed by Sun.
git-svn-id: svn://10.0.0.236/trunk@84157 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 00:36:31 +00:00
sgehani%netscape.com
abe2bb76f2 Fix build bustage. (Solaris tbox resolving gethostbyname at link time.)
git-svn-id: svn://10.0.0.236/trunk@84156 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 00:36:06 +00:00
bryner%uiuc.edu
4a1b923e06 Removing some #if 0 code and old MOZ_SECURITY code. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@84155 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 00:29:01 +00:00
bryner%uiuc.edu
fb5cc2f856 Removing dead 4.x mailnews files. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@84154 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-29 00:06:58 +00:00
sgehani%netscape.com
d1f1d7b771 Correcting so it only builds on Linux and Solaris.
b = 63835
r = ssu, dbragg


git-svn-id: svn://10.0.0.236/trunk@84153 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 23:59:55 +00:00
heikki%netscape.com
0937fc8f12 NOT PART OF BUILD. Bug 60497, made XMLExtras into installable component, this script is needed to make the .xpi, instructions in the bug. See http://www.mozilla.org/xmlextras for the actual installable package.
git-svn-id: svn://10.0.0.236/trunk@84152 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 23:55:27 +00:00
sgehani%netscape.com
aa022164fe Adding libxpnet to the build.
b = 63835
r = ssu, dbragg


git-svn-id: svn://10.0.0.236/trunk@84151 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 23:54:54 +00:00
sspitzer%netscape.com
81c656c17d fix for #49319. when creating a news account from a news://host/group url,
make it so the associated identity composes messages in plain text.
sr=bienvenu.


git-svn-id: svn://10.0.0.236/trunk@84150 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 23:52:30 +00:00
sgehani%netscape.com
5ef4f1b3fa Making libxpnet part of the build for Linux, Solaris, and Windows.
b = 63835
r = dbragg, ssu


git-svn-id: svn://10.0.0.236/trunk@84149 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 23:45:18 +00:00
sgehani%netscape.com
477aabd06d Ignoring Makefile and test program.
git-svn-id: svn://10.0.0.236/trunk@84148 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 23:40:54 +00:00
sgehani%netscape.com
8d4eb4975a Ignoring Makefile.
git-svn-id: svn://10.0.0.236/trunk@84147 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 23:39:37 +00:00
cls%seawood.org
51b225c39d Add copied source files back as win32 nmake builds have no concept of VPATH.
git-svn-id: svn://10.0.0.236/trunk@84146 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 23:00:15 +00:00
jgmyers%netscape.com
2cd4a2870c remove dead code: bug 63834 r=bryner sr=cls
git-svn-id: svn://10.0.0.236/trunk@84145 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 22:09:26 +00:00
bryner%uiuc.edu
82ce64cea4 Dead .cvsignore removal. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@84144 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 21:42:17 +00:00
nelsonb%netscape.com
948762fe1f Add missing release_md target. This will cause the new DSOs to be
included in the released jar files.


git-svn-id: svn://10.0.0.236/trunk@84143 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 21:35:55 +00:00
bryner%uiuc.edu
b096c613fe More dead .cvsignore file removal. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@84142 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 21:35:32 +00:00
bryner%uiuc.edu
563e0bbc36 Removing more dead .cvsignore files. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@84141 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 21:12:05 +00:00
bryner%uiuc.edu
31dbcd6d96 Removing .cvsignore file so this directory will go away. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@84140 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 21:08:29 +00:00
blizzard%redhat.com
dded621652 add embed.jar to the [browser] component. r=cls
git-svn-id: svn://10.0.0.236/trunk@84139 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 19:51:27 +00:00
nicolson%netscape.com
6f2d6eb344 legacy code for 16-bit browser, now obsolete.
git-svn-id: svn://10.0.0.236/trunk@84138 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 18:58:22 +00:00
wtc%netscape.com
e96efd15da Bugzilla bug #63697: NetBSD 1.5 or newer has IPv6. Thanks to
martin@NetBSD.ORG (Martin Husemann) for the patch.


git-svn-id: svn://10.0.0.236/trunk@84135 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 17:04:04 +00:00
wtc%netscape.com
272b9c6b79 Bugzilla bug #63852: added config file for Solaris 8 x86.
git-svn-id: svn://10.0.0.236/trunk@84134 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 16:02:44 +00:00
cls%seawood.org
222f8a509e Change the definition of --enable-optimize to be less ambiguous.
git-svn-id: svn://10.0.0.236/trunk@84133 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 04:29:44 +00:00
nelsonb%netscape.com
6fe789f09f Define NSS_USE_HYBRID in hybrid builds.
git-svn-id: svn://10.0.0.236/trunk@84132 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 04:13:02 +00:00
nelsonb%netscape.com
71517dff8a Separate the floating point and integer implementations of modular
exponentiation into two functions that can be chosen at run time.


git-svn-id: svn://10.0.0.236/trunk@84131 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 03:41:50 +00:00
nelsonb%netscape.com
8c70f768c4 Radical change to freebl "32-bit" builds on Solaris and HP-UX "32-bit".
Build two DSOs, both conforming to the platform's 32-bit ABI, one of
which uses only 32-bit instructions, the other uses 64-bit instructions.
Then load the best one for the local CPU at run time.  This allows
greatly enhanced performance on 64-bit CPUs while still supporting older
32-bit CPUs.


git-svn-id: svn://10.0.0.236/trunk@84130 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 03:39:01 +00:00
nelsonb%netscape.com
db1bff63ef mapfile defines the public ABI for the new freebl DSOs.
git-svn-id: svn://10.0.0.236/trunk@84129 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 03:35:43 +00:00
blakeross%telocity.com
028f5a31d7 Fix 41077: show caret during selection on Windows. r=rcassin@supernova.org sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84128 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 03:27:23 +00:00
nelsonb%netscape.com
5c209258cd Verify vector version and length before relying on the DSO's vector.
git-svn-id: svn://10.0.0.236/trunk@84127 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 03:26:29 +00:00
wtc%netscape.com
71525d74b4 Bugzilla bug #63832: use $(MAKE) instead of gmake in sub-makes.
git-svn-id: svn://10.0.0.236/trunk@84126 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 03:07:27 +00:00
nelsonb%netscape.com
fabece32c3 New variable USE_HYBRID configures build for hybrid model.
git-svn-id: svn://10.0.0.236/trunk@84125 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 02:55:39 +00:00
wtc%netscape.com
f0ea5a007e Bugzilla bug #63832: use $(MAKE) instead of gmake in recursive sub-makes.
Thanks to Myth <frb@wiw.org> for the bug report and fix.


git-svn-id: svn://10.0.0.236/trunk@84124 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 02:54:07 +00:00
wtc%netscape.com
3a145e8e5a More work on shared libraries for NSS.
1. Implemented a way to link all the objects in archive libraries into
   a shared library.  I query each subdirectory for the list of objects
   comprising an archive library (the get_objs makefile target) and link
   these objects as opposed to the archive libraries.  Not all linkers
   support the --whole-archive, -all, or -z allextract options.  The
   *sym.c solution cannot fully control what objects in the archive
   libraries are pulled and what symbols are exported.
2. Moved pkcs7 from libsmime3.so to libnss3.so because certread.c in
   libcerthi.a (part of libnss3.so) depends on some PKCS7 functions,
   which creates a circular dependency between libsmime3.so and libnss3.so.
This should work on all Unix platforms.


git-svn-id: svn://10.0.0.236/trunk@84123 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 02:22:33 +00:00
bryner%uiuc.edu
bc8c808029 Removing more unused cruft. r=sspitzer. sr=cls.
git-svn-id: svn://10.0.0.236/trunk@84122 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 01:03:50 +00:00
wtc%netscape.com
ebbeac58aa Put -lnss3 after -lsmime3 and -lssl3, which depend on -lnss3.
git-svn-id: svn://10.0.0.236/trunk@84121 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 00:49:50 +00:00
wtc%netscape.com
6d7ce916b6 The -O2 flag was really a workaround for a 64-bit compilation problem
for two PKCS11-related files.  (See bug #63815.)  Now we are working
around that problem by compiling just those two files with -O2, as
opposed to compiling all files with -O2.  So we no longer need to
use the -O2 flag, even in optimized builds.  The default -O optimization
flag is recommended by the compiler manual and in the current releases
is the same as -O2.


git-svn-id: svn://10.0.0.236/trunk@84120 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 00:46:33 +00:00
sspitzer%netscape.com
9eb304b3f2 fix wording for "logon at startup" checkbox. part of #14301. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84119 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 00:44:03 +00:00
wtc%netscape.com
2cff998329 Bugzilla bug #63815: this AIX compilation problem only occurs in 64-bit
builds.  lib/softoken/pkcs11c.c also needs the workaround.
Modified files: lib/pk11wrap/Makefile, lib/softoken/Makefile


git-svn-id: svn://10.0.0.236/trunk@84118 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 00:35:26 +00:00
sspitzer%netscape.com
821f4dcca6 code clean up. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84117 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 00:29:12 +00:00
sgehani%netscape.com
563ead489b Initial checkin of libxpnet developed on Linux and ported to Windows.
(Not part of build.  Awaiting sr.)

b = 63835
r = ssu,dbragg



git-svn-id: svn://10.0.0.236/trunk@84115 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 00:27:10 +00:00
blizzard%redhat.com
d5cba57f22 add gtkembedmoz.so to the browser section. r,a=leaf
git-svn-id: svn://10.0.0.236/trunk@84113 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 00:14:12 +00:00
heikki%netscape.com
885b101f3f Bug 45627 and bug 45552. XMLSerializer to deal better with empty elements, special characters, elements from the HTML namespace and namespaces in general, and processing instructions. Removed a lot of duplicate code in XML Extras component, and made several small optimizations with nsCOMPtr initializations. r=vidur, a=jst.
git-svn-id: svn://10.0.0.236/trunk@84112 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 23:48:10 +00:00
sspitzer%netscape.com
f0a647bf53 fix all context menu for the message pane. except for "Select All",
none of the menu items worked.  two problems:  move isDocumentFrame()
out to contentAreaUtils.js and move the creation of the contextMenu out
so it wouldn't go out of scope.  r=blakeross, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84111 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 23:04:39 +00:00
bryner%uiuc.edu
cee05f3528 Removing dead files so that these directories will go away. Not part of build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@84110 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 22:59:26 +00:00
sspitzer%netscape.com
55dbadb2d6 fix for #60647, don't forget changes made to default smtp server
when opening (or closing) the advanced smtp dialog.
fix for #63830, disable "Username:" label when username text area is
diabled.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84108 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 22:46:14 +00:00
danm%netscape.com
b6865a3691 adding persistence of min/max state. arguably bug 32148 r=bienvenu,sspitzer. yes, i actually got this patch reviewed by two real people.
git-svn-id: svn://10.0.0.236/trunk@84107 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 22:41:46 +00:00
sspitzer%netscape.com
681a5f7e34 I have no desire to hear hyatt moo. r=bryner
git-svn-id: svn://10.0.0.236/trunk@84106 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 22:37:09 +00:00
blizzard%redhat.com
ba9727ad8d add a [psm] section to packages-unix r,a=leaf
git-svn-id: svn://10.0.0.236/trunk@84105 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 22:31:17 +00:00
nelsonb%netscape.com
582404ddad Detect null slot pointer instead of crashing.
git-svn-id: svn://10.0.0.236/trunk@84100 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 21:31:39 +00:00
wtc%netscape.com
88b91f1fb2 Bugzilla bug #63815: a workaround for IBM xlC_r 3.6.6 (on AIX 4.3) to
compile pk11slot.c.


git-svn-id: svn://10.0.0.236/trunk@84099 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 20:58:38 +00:00
wtc%netscape.com
c6dac0d3a1 Bugzilla bug #63807: fixed function prototype of SHA1_TraceState.
git-svn-id: svn://10.0.0.236/trunk@84097 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 18:47:57 +00:00
timeless%mac.com
4e5babe429 J:\DOCUMENT\Josh\LOCALS~1\Temp\4
git-svn-id: svn://10.0.0.236/trunk@84095 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 09:32:05 +00:00
blakeross%telocity.com
11c9e86642 Fix 63727: right-click on menu for back/fwd button pops up new menu. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84094 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 08:55:43 +00:00
blakeross%telocity.com
619ef3ec56 Fix 63721: removing extraneous code from nsHTMLButtonElement.cpp. It's Dead Code Removal week, so I'm just doing my part. r=jst sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84093 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 08:41:29 +00:00
sgehani%netscape.com
64ef92cadb Use new Test() API in libjar to ensure archive integrity before installing.
b = 61544
 r = dveditz
sr = dveditz


git-svn-id: svn://10.0.0.236/trunk@84092 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 07:06:58 +00:00
sgehani%netscape.com
5a95479440 Add ZIP_TestArchive support for CRC32 verification of all or individual items.
b = 61544
 r = dveditz
sr = alecf


git-svn-id: svn://10.0.0.236/trunk@84091 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 07:05:55 +00:00
cls%seawood.org
4e99bb67e6 Give the standalone build system a finer grained control over which directories are checked out.
Bug #57282 r=blizzard


git-svn-id: svn://10.0.0.236/trunk@84090 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 05:29:50 +00:00
nelsonb%netscape.com
a1d9627aef Use the -O2 optimizer only when BUILD_OPT is defined.
This makes AIX debug builds debuggable.


git-svn-id: svn://10.0.0.236/trunk@84089 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 04:10:10 +00:00
bryner%uiuc.edu
a106ac63fb Removing obsolete headers. Bug 38061. r/sr=cls.
git-svn-id: svn://10.0.0.236/trunk@84088 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 03:48:18 +00:00
nelsonb%netscape.com
8a49aa69ad This code permits multiple implementations of freebl to coexist for a
single platform.  The best implementation for the local CPU is dynamicly
loaded at run time.  Requires DSOs to be in the LD_LIBRARY_PATH or
equivalent (e.g. SHLIB_PATH).


git-svn-id: svn://10.0.0.236/trunk@84087 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 03:20:04 +00:00
nelsonb%netscape.com
de911e489f Stubs for RC5 functions. This is NOT a working implementation of RC5.
git-svn-id: svn://10.0.0.236/trunk@84086 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 03:16:59 +00:00
nelsonb%netscape.com
e9d4a7ee0b Attempt to clarify code to reduce confusion about side effect of
MP_CHECKOK macro.


git-svn-id: svn://10.0.0.236/trunk@84085 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 03:14:28 +00:00
nelsonb%netscape.com
77b578ec4e Ensure function SHA1_TraceState is always defined, even when TRACING_SSL
is not defined.


git-svn-id: svn://10.0.0.236/trunk@84084 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 02:41:59 +00:00
nelsonb%netscape.com
617799f2be Fix an error message to correctly report the name of the failed init
function.


git-svn-id: svn://10.0.0.236/trunk@84083 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 02:38:47 +00:00
nelsonb%netscape.com
0abec21283 Change HP 64-bit and hybrid builds to use new HP assembly code.
Fix uses of $(LIB).


git-svn-id: svn://10.0.0.236/trunk@84082 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 02:08:54 +00:00
nelsonb%netscape.com
13f683315a 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@84081 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 01:48:25 +00:00
nelsonb%netscape.com
c41d481f87 The Initial Developer of the Original Code is the Hewlett-Packard Company.
Portions created by Hewlett-Packard Company are
Copyright (C) 1999 Hewlett-Packard Company.  All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@84080 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 01:45:23 +00:00
nelsonb%netscape.com
d52d28c7cb The Initial Developer of the Original Code is the Hewlett-Packard Company.
Portions created by Hewlett-Packard Company are
Copyright (C) 1997 Hewlett-Packard Company.  All Rights Reserved.


git-svn-id: svn://10.0.0.236/trunk@84079 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 01:44:44 +00:00
wtc%netscape.com
8980fada0e Bugzilla bug #63768: do not build "purified" libraries, which are no longer
necessary for the current version of Purify.
Modified Files:
	HP-UX.mk IRIX.mk README ReliantUNIX.mk SunOS4.1.3_U1.mk
	SunOS5.mk command.mk prefix.mk rules.mk ruleset.mk suffix.mk


git-svn-id: svn://10.0.0.236/trunk@84078 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:42:46 +00:00
anthonyd%netscape.com
a1ab735a6f fix for bug#58028 - Range CompareBoundaryPoints returning incorrect values
r=jst,kin
a=kin


git-svn-id: svn://10.0.0.236/trunk@84077 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:37:01 +00:00
bryner%uiuc.edu
ae46825410 Removing unused old plugin code. Not part of build. r=av, sr=cls.
git-svn-id: svn://10.0.0.236/trunk@84076 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:22:36 +00:00
anthonyd%netscape.com
0c9762c747 fix for bug#59577 - hang during keyboard navigation
r=kin
sr=buster


git-svn-id: svn://10.0.0.236/trunk@84075 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:22:25 +00:00
cls%seawood.org
8dd6c1b5b4 Simple script to remove duplicates from a list given as the args.
git-svn-id: svn://10.0.0.236/trunk@84072 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:08:18 +00:00
cls%seawood.org
979ed1d04e XPCOM_STANDALONE is no longer needed for xpcom standalone builds
git-svn-id: svn://10.0.0.236/trunk@84071 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 23:49:01 +00:00
leaf%mozilla.org
3e465b9fc2 Automated update
git-svn-id: svn://10.0.0.236/trunk@84070 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 22:30:10 +00:00
bryner%uiuc.edu
8465661c9c Removing all traces of the old LAYERS #define. r=jst, sr=cls.
git-svn-id: svn://10.0.0.236/trunk@84069 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 22:19:17 +00:00
leaf%mozilla.org
cba0867021 removing the touch of mozilla/security/Makefile unless we are explicitly
building BUILD_MODULES=psm... othwerwise, the checkout of the psm module
fails on an existing, built mozilla tree. r=cls


git-svn-id: svn://10.0.0.236/trunk@84068 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 22:10:13 +00:00
despotdaemon%netscape.com
0b553adb17 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@84067 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 22:07:37 +00:00
pschwartau%netscape.com
fd4c10b905 Adjusting hard-coded Pacific timezone date testcases to work in any tester's timezone -
git-svn-id: svn://10.0.0.236/trunk@84066 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 20:02:04 +00:00
pschwartau%netscape.com
e40507fc34 Adding functionality to adjust hard-coded date tests (written for Pacific timezone) for the tester's own timezone
git-svn-id: svn://10.0.0.236/trunk@84065 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 19:55:05 +00:00
pschwartau%netscape.com
a27f1315b0 Modifiying one line that was failing in GMT+ timezones (i.e. east of Greenwich)
git-svn-id: svn://10.0.0.236/trunk@84064 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 19:34:07 +00:00
jst%netscape.com
6a30c53238 Removing unnecessary include files and forward declarations.
git-svn-id: svn://10.0.0.236/trunk@84063 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 01:21:25 +00:00
jst%netscape.com
f5874fe4bc Removing unused CID and doing some whitespace cleanup.
git-svn-id: svn://10.0.0.236/trunk@84062 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 01:01:41 +00:00
jst%netscape.com
66de3dc038 Removing dead code and unused member variables from nsHTMLDocument, r=timeless@mac.com. Oh, and wrap nsHTMLDocument::MatchLayers() in #ifdef NS_IMPLEMENT_DOCUMENT_LAYERS
git-svn-id: svn://10.0.0.236/trunk@84061 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 00:39:42 +00:00
blakeross%telocity.com
2287d0252f Fixing a minor problem with the last patch I checked in. r=timeless
git-svn-id: svn://10.0.0.236/trunk@84060 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-25 23:57:57 +00:00
blakeross%telocity.com
ddd23b96ba Fix 42732: open web location dialog should remember previous url and other clean-up. r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84059 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-25 05:13:15 +00:00
blakeross%telocity.com
f6256f739f Fix 38416: entire textarea should have edit cursor. patch proposed by neil@parkwaycc.co.uk. r=blake sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84058 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 09:03:31 +00:00
blakeross%telocity.com
221fab86dd Fix 63572: colorpicker in Composer and message compose is broken. r=cmanske sr=syd
git-svn-id: svn://10.0.0.236/trunk@84057 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 06:40:52 +00:00
jar%netscape.com
e48839ae48 Added --detail option to show basis for object sweeping action
git-svn-id: svn://10.0.0.236/trunk@84056 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 05:56:41 +00:00
mkaply%us.ibm.com
e5cbb693b5 OS/2 TB breakage
This would be the next break on Unichar


git-svn-id: svn://10.0.0.236/trunk@84055 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 03:54:59 +00:00
dbaron%fas.harvard.edu
419f4b4c27 Attempt to fix OS/2 bustage caused by autoconf test that changes the definition of |PRUnichar| from |PRUint16| to |wchar_t| on platforms where |sizeof(wchar_t)| is 2. b=54564
git-svn-id: svn://10.0.0.236/trunk@84054 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 03:36:32 +00:00
jst%netscape.com
1433395ab5 Fixing a change I overlooked in my last big checkin that caused a crash in some cases where forms were accessed from JS. r=jag
git-svn-id: svn://10.0.0.236/trunk@84053 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 01:52:05 +00:00
dbaron%fas.harvard.edu
09a89426ab Attempt to fix OS/2 bustage caused by autoconf test that changes the definition of |PRUnichar| from |PRUint16| to |wchar_t| on platforms where |sizeof(wchar_t)| is 2. UniChar was accidentally used in place of PRUnichar. b=54564
git-svn-id: svn://10.0.0.236/trunk@84052 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-24 01:26:18 +00:00
mkaply%us.ibm.com
7569381202 OS/2 TB breakage
PR_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@84051 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 22:57:56 +00:00
dbaron%fas.harvard.edu
0ab98045bb Attempt to fix BeOS bustage caused by autoconf test that changes the definition of |PRUnichar| from |PRUint16| to |wchar_t| on platforms where |sizeof(wchar_t)| is 2.
git-svn-id: svn://10.0.0.236/trunk@84050 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 22:15:06 +00:00
dbaron%fas.harvard.edu
08a452ecba Temporary hack to remove libpsmglue.so since cls's changes yesterday made it not built by default, and my changes today caused unresolved symbols in the old library. r=cls
git-svn-id: svn://10.0.0.236/trunk@84049 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 21:46:39 +00:00
dbaron%fas.harvard.edu
042a2e87ee Attempt to fix OS2 bustage caused by autoconf test that changes the definition of |PRUnichar| from |PRUint16| to |wchar_t| on platforms where |sizeof(wchar_t)| is 2.
git-svn-id: svn://10.0.0.236/trunk@84048 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 21:43:53 +00:00
dbaron%fas.harvard.edu
470a479f4d Attempt to fix OS2 bustage caused by autoconf test that changes the definition of |PRUnichar| from |PRUint16| to |wchar_t| on platforms where |sizeof(wchar_t)| is 2.
git-svn-id: svn://10.0.0.236/trunk@84047 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 20:31:08 +00:00
dbaron%fas.harvard.edu
72c9384f8a Attempt to fix OS2 bustage caused by autoconf test that changes the definition of |PRUnichar| from |PRUint16| to |wchar_t| on platforms where |sizeof(wchar_t)| is 2.
git-svn-id: svn://10.0.0.236/trunk@84046 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 19:00:35 +00:00
leaf%mozilla.org
cd6d570811 Automated update
git-svn-id: svn://10.0.0.236/trunk@84045 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 16:45:09 +00:00
dbaron%fas.harvard.edu
a948227cb8 Fix the use of dynamic_cast for nsCOMPtr logging so it doesn't appear in a macro. b=61243
Implement (without enabling, yet) assertions to warn about static constructors.  b=62006
Partly fix warnings about MOZ_DECL_CTOR_COUNTER on Mac builds by removing extra semicolon.  b=60145
Start to fix the longstanding leaks of nsTraceRefcnt's own hashtables.
r=waterson@netscape.com  sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@84044 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 16:43:32 +00:00
dbaron%fas.harvard.edu
e6ab2dc85e Fix and enable the autoconf test to allow the faster version of NS_LITERAL_STRING on compilers where sizeof(wchar_t) == 2 or compilers (such as gcc 2.96+) that accept -fshort-wchar to force this. r=waterson@netscape.com sr=cls@seawood.org b=54564
git-svn-id: svn://10.0.0.236/trunk@84043 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 16:34:49 +00:00
jst%netscape.com
9ebc385562 Removing the last (unnecessary) call to nsIHTMLContent::ToHTMLString that I missed in my first checkin. r=jag
git-svn-id: svn://10.0.0.236/trunk@84042 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 13:44:22 +00:00
jst%netscape.com
2c48463883 More mac bustage fixes...
git-svn-id: svn://10.0.0.236/trunk@84041 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 13:32:28 +00:00
jst%netscape.com
4f9d57512a One more attempt at fixing the mac redness.
git-svn-id: svn://10.0.0.236/trunk@84040 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 12:57:59 +00:00
jst%netscape.com
e4423638f8 Fixing nsINameSpace leak introduced in my last checkin.
git-svn-id: svn://10.0.0.236/trunk@84039 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 12:14:41 +00:00
jst%netscape.com
9dffc0950b Attempting to fix mac bustage.
git-svn-id: svn://10.0.0.236/trunk@84038 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 11:59:05 +00:00
jst%netscape.com
94b13f8d0c removed files: mozilla/layout/xml/content/src/nsGenericXMLElement.cpp
git-svn-id: svn://10.0.0.236/trunk@84037 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 11:12:01 +00:00
jst%netscape.com
e59263f7ec Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@84036 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 10:56:31 +00:00
disttsc%bart.nl
62d90be0d3 Add |.get()| to nsCString. Bug=58284,r=dbaron, a=scc.
git-svn-id: svn://10.0.0.236/trunk@84035 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 06:45:54 +00:00
rpotts%netscape.com
a63a689198 bug #62955 - Dialog boxes are the wrong size.
git-svn-id: svn://10.0.0.236/trunk@84034 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 06:07:38 +00:00
cls%seawood.org
82f51032b6 Do not pull PSM/NSS by default until the conflict problem with the PSM Makefiles is resolved.
do:
make -f client.mk pull_all BUILD_MODULES=psm
if you want to build psm/psm-glue/nss


git-svn-id: svn://10.0.0.236/trunk@84033 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 03:11:17 +00:00
cls%seawood.org
b803250fdb Remove js/src from psm dep list since it's already in DIRS list
git-svn-id: svn://10.0.0.236/trunk@84032 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 02:44:16 +00:00
cls%seawood.org
eb6acf27db JS has required NSPR for some time apparently. Updating module list to not pull all of js/ just enough to build libmozjs.so (js/src).
git-svn-id: svn://10.0.0.236/trunk@84031 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 02:26:44 +00:00
jgmyers%netscape.com
5167b4ed59 IPv6 support in PSM: bug 47834 r=ddrinan sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84030 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 01:26:25 +00:00
despotdaemon%netscape.com
70ef59ae38 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@84029 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 01:22:44 +00:00
despotdaemon%netscape.com
576fe2b9ef Pseudo-automatic update of changes made by thesteve@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@84028 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 01:12:24 +00:00
blakeross%telocity.com
c25cf676e7 Removing old pref.js (not used/built/packaged anywhere). r=bryner sr=syd
git-svn-id: svn://10.0.0.236/trunk@84027 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 01:08:10 +00:00
sspitzer%netscape.com
3259547dfc fix leak. sr=syd
git-svn-id: svn://10.0.0.236/trunk@84026 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 01:02:25 +00:00
curt%scruznet.com
acb00daf4e New.
git-svn-id: svn://10.0.0.236/trunk@84025 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 00:56:39 +00:00
curt%scruznet.com
7e371d2179 Pulled the logic for creating the plotable dat files out into a seperate
AWK script (create_dat.awk).

Use the Skip=5 variable definition to tell linear-regression.awk to ignore
the first 5 urls of data files.


git-svn-id: svn://10.0.0.236/trunk@84024 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 00:56:08 +00:00
sonmi%netscape.com
641a461f24 added qaclean and beautified some of the rest
git-svn-id: svn://10.0.0.236/trunk@84023 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:56:41 +00:00
sonmi%netscape.com
bea4f0e791 :-)
git-svn-id: svn://10.0.0.236/trunk@84022 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:56:06 +00:00
sonmi%netscape.com
c288e02891 was part of the qa wrapper for a long time, just never found the time to check it in
git-svn-id: svn://10.0.0.236/trunk@84021 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:40:54 +00:00
sspitzer%netscape.com
d602abb8d2 fixes for #57912, #14295, #14301
1) add ui and backend support for "log into this account at startup".  all that is missing is the code to actually do the logging in at startup.  that comes next.

2) hide the user name for news servers in the account manager.

3) fix ui to allow users to edit the username and hostname for a server, but disable it until the back end can handle a live swap of those values.

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@84020 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:32:32 +00:00
sspitzer%netscape.com
aba8f5da56 fix for #63625. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84019 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:29:12 +00:00
sspitzer%netscape.com
4b850af209 fix for #63625, sr=bienvenu.
nsINewsDatabase.h -> nsINewsDatabase.idl


git-svn-id: svn://10.0.0.236/trunk@84018 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:28:56 +00:00
sspitzer%netscape.com
9dc96d6e42 new file, part of fix for #63625. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@84017 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:24:44 +00:00
koehler%mythrium.com
50182298c6 Bug 59528 - BeOS: images are drawn outside of its bounding box - r=cls
git-svn-id: svn://10.0.0.236/trunk@84016 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:19:04 +00:00
dmose%mozilla.org
e7287beca1 changes from jake@acutex.net to make it possible to toggle the default value of newemailtech for new profiles, this is set by default to be turned on (the old default was off) ; r=dmose@mozilla.org. changes from me to make newemailtech the default in all new installations, and update the verbiage in various spots to make it clear that newemailtech is now considered the one true way and the old tech will be going away. r=endico@mozilla.org,cyeh@bluemartini.com
git-svn-id: svn://10.0.0.236/trunk@84014 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:01:30 +00:00
blakeross%telocity.com
cc37a74473 Fix 58571: JS strict warnings in SearchDialog.js. patch by Jarrod Gray (jarrod.k.gray@rose-hulman.edu). r=me sr=alecf
git-svn-id: svn://10.0.0.236/trunk@84013 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 22:54:26 +00:00
rpotts%netscape.com
ba3a475136 bug #63529. Added a null-pointer check in nsWebShell::OnStateChange(...)
git-svn-id: svn://10.0.0.236/trunk@84012 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 21:47:26 +00:00
cls%seawood.org
ff78af5436 Slow down. Enjoy life. Stop forgetting to check in files.
git-svn-id: svn://10.0.0.236/trunk@84011 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 21:44:25 +00:00
679 changed files with 148571 additions and 79452 deletions

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

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

@@ -0,0 +1,320 @@
# -*- Mode: makefile -*-
#
# 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
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
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_NSPR_LIBS)
ifeq ($(OS_ARCH),OS2)
EXTRA_DSO_LDOPTS += $(FDLIBM_LIBRARY)
endif
# 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
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)
ifdef USE_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
# On OS/2 we are already linking against fdlibm, so don't bother
# creating jsmathtemp
ifneq ($(OS_ARCH),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
else
# Create dependency so we build fdlibm
jsmath.o: $(FDLIBM_LIBRARY)
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):
$(MAKE) -C $(@D) $(@F)
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)

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

@@ -0,0 +1,358 @@
# -*- Mode: makefile -*-
#
# 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/libnspr${NSPR_LIBSUFFIX}.lib
else
OTHER_LIBS += -L../../dist/$(OBJDIR)/lib -lnspr${NSPR_LIBSUFFIX}
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) #PH removed this assgnment
INCLUDES += -I. #needed for perlconnect/jsperl.c
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 \
jsdhash.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 \
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)
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
ifdef JS_PERLCONNECT
PROG_LIBS += $(PERLLDFLAGS)
endif
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 $(OBJDIR)/jsmathtemp.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
# Note: generated headers must be built before descending
# into fdlibm directory
$(FDLIBM_LIBRARY) :
$(MAKE) -C fdlibm -f Makefile.ref $(@F)
#
# 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/*

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

@@ -0,0 +1,126 @@
# -*- Mode: makefile -*-
#
# 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 = js15lc30.jar

View File

@@ -0,0 +1,60 @@
# -*- Mode: makefile -*-
#
# 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,59 @@
# -*- Mode: makefile -*-
#
# 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,60 @@
# -*- Mode: makefile -*-
#
# 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/ibmcxx/bin/makeC++SharedLib_r
MKSHLIB = $(MKSHLIB_BIN) -p 0 -G -berok -bM:UR
ifdef JS_THREADSAFE
XLDFLAGS += -ldl
endif

View File

@@ -0,0 +1,72 @@
# -*- Mode: makefile -*-
#
# 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,72 @@
# -*- Mode: makefile -*-
#
# 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,75 @@
# -*- Mode: makefile -*-
#
# 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,82 @@
# -*- Mode: makefile -*-
#
# 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,39 @@
# -*- Mode: makefile -*-
#
# 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,39 @@
# -*- Mode: makefile -*-
#
# 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,39 @@
# -*- Mode: makefile -*-
#
# 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,39 @@
# -*- Mode: makefile -*-
#
# 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,39 @@
# -*- Mode: makefile -*-
#
# 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,83 @@
# -*- Mode: makefile -*-
#
# 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,78 @@
# -*- Mode: makefile -*-
#
# 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,67 @@
# -*- Mode: makefile -*-
#
# 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,64 @@
# -*- Mode: makefile -*-
#
# 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 Tru64 Unix 5.0
#
#
# 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 -pthread
# LD = cxx
endif
RANLIB = echo
MKSHLIB = $(LD) -shared -all -expect_unresolved "*"
#
# _POSIX4A_DRAFT10_SOURCE is needed to pick up localtime_r, used in
# prtime.c
#
OS_CFLAGS = -DXP_UNIX -DSVR4 -DSYSV -D_POSIX4A_DRAFT10_SOURCE -DOSF1
OS_LIBS = -lsocket -lnsl
NOSUCHFILE = /no-such-file

View File

@@ -0,0 +1,96 @@
# -*- Mode: makefile -*-
#
# 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,86 @@
# -*- Mode: makefile -*-
#
# 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,87 @@
# -*- Mode: makefile -*-
#
# 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,39 @@
# -*- Mode: makefile -*-
#
# 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,82 @@
# -*- Mode: makefile -*-
#
# 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,84 @@
# -*- Mode: makefile -*-
#
# 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,39 @@
# -*- Mode: makefile -*-
#
# 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,39 @@
# -*- Mode: makefile -*-
#
# 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.8
#
include $(DEPTH)/config/SunOS5.5.mk

View File

@@ -0,0 +1,104 @@
# -*- Mode: makefile -*-
#
# 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,59 @@
# -*- Mode: makefile -*-
#
# 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,139 @@
# -*- Mode: makefile -*-
#
# 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 Simmule Turner and
# Rich Salz. 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.
#
#
# Copyright 1992,1993 Simmule Turner and Rich Salz. All rights reserved.
#
# This software is not subject to any license of the American Telephone
# and Telegraph Company or of the Regents of the University of California.
#
# Permission is granted to anyone to use this software for any purpose on
# any computer system, and to alter it and redistribute it freely, subject
# to the following restrictions:
# 1. The authors are not responsible for the consequences of use of this
# software, no matter how awful, even if they arise from flaws in it.
# 2. The origin of this software must not be misrepresented, either by
# explicit claim or by omission. Since few users ever read sources,
# credits must appear in the documentation.
# 3. Altered versions must be plainly marked as such, and must not be
# misrepresented as being the original software. Since few users
# ever read sources, credits must appear in the documentation.
# 4. This notice may not be removed or altered.
#
#
# Unix makefile for editline library.
#
## Set your options:
## -DANSI_ARROWS ANSI arrows keys work like emacs.
## -DHAVE_STDLIB Have <stdlib.h>.
## -DHAVE_TCGETATTR Have tcgetattr(), tcsetattr().
## -DHAVE_TERMIO Have "struct termio" and <termio.h>
## (If neither of above two, we use <sgttyb.h> and BSD ioctl's)
## -DHIDE Make static functions static (non debug).
## -DHIST_SIZE=n History size.
## -DNEED_STRDUP Don't have strdup().
## -DUNIQUE_HISTORY Don't save command if same as last one.
## -DUSE_DIRENT Use <dirent.h>, not <sys/dir.h>?
## -DUSE_TERMCAP Use the termcap library for terminal size
## see LDFLAGS, below, if you set this.
## -DNEED_PERROR Don't have perror() (used in testit)
## If you have -DUSE_TERMCAP, set this as appropriate:
#LDFLAGS = -ltermlib
#LDFLAGS = -ltermcap
DEFS = -DANSI_ARROWS -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DSYS_UNIX \
-DHAVE_STDLIB -DUNIQUE_HISTORY
DEPTH = ..
include $(DEPTH)/config.mk
#
# Default IEEE libm
#
CFLAGS += -DXP_UNIX $(OPTIMIZER) $(OS_CFLAGS) $(DEFINES) $(INCLUDES) \
-DJSFILE $(XCFLAGS) $(DEFS)
INCFILES = editline.h
.INIT: $(INCFILES)
.KEEP_STATE:
EDITLINE_CFILES = editline.c sysunix.c
EDITLINE_OBJS = $(addprefix $(OBJDIR)/, $(EDITLINE_CFILES:.c=.o))
LIBRARY = $(OBJDIR)/libedit.a
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
$(LIBRARY): $(EDITLINE_OBJS)
$(AR) rv $@ $?
$(RANLIB) $@
#libedit.a : $(EDITLINE_OBJS)
# $(AR) cru $(OBJDIR)/libedit.a $(EDITLINE_OBJS)
# $(RANLIB) $(OBJDIR)/libedit.a
clean:
rm -rf $(EDITLINE_OBJS)
clobber:
rm -rf $(EDITLINE_OBJS) $(LIBRARY) $(DEPENDENCIES)
SUFFIXES: .i
%.i: %.c
$(CC) -C -E $(CFLAGS) $< > $*.i

View File

@@ -0,0 +1,83 @@
The files in this directory provide simple line-editing and history
support for the standalone javascript engine, through the 'editline'
library.
editline has only been enabled for those platforms on which it is
known to build; to try it on a different platform, define JS_EDITLINE
before building. Line editing (and js.c) is not a supported feature
of the javascript library, so your mileage my vary.
The editline API is a compatible subset of the FSF readline API; if
you have readline installed and would like to link to that instead,
define JS_READLINE. Note that the readline library is distributed
under the GPL, so any resulting binaries are not legally
distributable.
The editline files used here have been modified to work with the js
build system and to quiet some compiler warnings, and also to remove
filename-completion support.
If anyone knows of a more recent version of these files, or a site on
which they are being maintained, please let me know!
Mike McCabe, mccabe@netscape.com
The original README file distributed with the editline library follows.
This is a line-editing library. It can be linked into almost any
program to provide command-line editing and recall.
It is call-compatible with the FSF readline library, but it is a
fraction of the size (and offers fewer features). It does not use
standard I/O. It is distributed under a "C News-like" copyright.
Configuration is done in the Makefile. Type "make testit" to get
a small slow shell for testing.
An earlier version was distributed with Byron's rc. Principal
changes over that version include:
Faster.
Is eight-bit clean (thanks to brendan@cs.widener.edu)
Written in K&R C, but ANSI compliant (gcc all warnings)
Propagates EOF properly; rc trip test now passes
Doesn't need or use or provide memmove.
More robust
Calling sequence changed to be compatible with readline.
Test program, new manpage, better configuration
More system-independant; includes Unix and OS-9 support.
This contains some changes since the posting to comp.sources.misc:
Bugfix for completion on absolute pathnames.
Better handling of M-n versus showing raw 8bit chars.
Better signal handling.
Now supports termios/termio/sgttyb ioctl's.
Add M-m command to toggle how 8bit data is displayed.
There is one known bug:
History-searching redraws the line wrong if the text
retrieved is shorter then the prompt.
Enjoy,
Rich $alz
<rsalz@osf.org>
Copyright 1992,1993 Simmule Turner and Rich Salz. All rights reserved.
This software is not subject to any license of the American Telephone
and Telegraph Company or of the Regents of the University of California.
Permission is granted to anyone to use this software for any purpose on
any computer system, and to alter it and redistribute it freely, subject
to the following restrictions:
1. The authors are not responsible for the consequences of use of this
software, no matter how awful, even if they arise from flaws in it.
2. The origin of this software must not be misrepresented, either by
explicit claim or by omission. Since few users ever read sources,
credits must appear in the documentation.
3. Altered versions must be plainly marked as such, and must not be
misrepresented as being the original software. Since few users
ever read sources, credits must appear in the documentation.
4. This notice may not be removed or altered.

View File

@@ -0,0 +1,175 @@
.TH EDITLINE 3
.SH NAME
editline \- command-line editing library with history
.SH SYNOPSIS
.nf
.B "char *"
.B "readline(prompt)"
.B " char *prompt;"
.B "void"
.B "add_history(line)"
.B " char *line;"
.fi
.SH DESCRIPTION
.I Editline
is a library that provides an line-editing interface with text recall.
It is intended to be compatible with the
.I readline
library provided by the Free Software Foundation, but much smaller.
The bulk of this manual page describes the user interface.
.PP
The
.I readline
routine returns a line of text with the trailing newline removed.
The data is returned in a buffer allocated with
.IR malloc (3),
so the space should be released with
.IR free (3)
when the calling program is done with it.
Before accepting input from the user, the specified
.I prompt
is displayed on the terminal.
.PP
The
.I add_history
routine makes a copy of the specified
.I line
and adds it to the internal history list.
.SS "User Interface"
A program that uses this library provides a simple emacs-like editing
interface to its users.
A line may be edited before it is sent to the calling program by typing either
control characters or escape sequences.
A control character, shown as a caret followed by a letter, is typed by
holding down the ``control'' key while the letter is typed.
For example, ``^A'' is a control-A.
An escape sequence is entered by typing the ``escape'' key followed by one or
more characters.
The escape key is abbreviated as ``ESC.''
Note that unlike control keys, case matters in escape sequences; ``ESC\ F''
is not the same as ``ESC\ f''.
.PP
An editing command may be typed anywhere on the line, not just at the
beginning.
In addition, a return may also be typed anywhere on the line, not just at
the end.
.PP
Most editing commands may be given a repeat count,
.IR n ,
where
.I n
is a number.
To enter a repeat count, type the escape key, the number, and then
the command to execute.
For example, ``ESC\ 4\ ^f'' moves forward four characters.
If a command may be given a repeat count then the text ``[n]'' is given at the
end of its description.
.PP
The following control characters are accepted:
.RS
.nf
.ta \w'ESC DEL 'u
^A Move to the beginning of the line
^B Move left (backwards) [n]
^D Delete character [n]
^E Move to end of line
^F Move right (forwards) [n]
^G Ring the bell
^H Delete character before cursor (backspace key) [n]
^I Complete filename (tab key); see below
^J Done with line (return key)
^K Kill to end of line (or column [n])
^L Redisplay line
^M Done with line (alternate return key)
^N Get next line from history [n]
^P Get previous line from history [n]
^R Search backward (forward if [n]) through history for text;
\& must start line if text begins with an uparrow
^T Transpose characters
^V Insert next character, even if it is an edit command
^W Wipe to the mark
^X^X Exchange current location and mark
^Y Yank back last killed text
^[ Start an escape sequence (escape key)
^]c Move forward to next character ``c''
^? Delete character before cursor (delete key) [n]
.fi
.RE
.PP
The following escape sequences are provided.
.RS
.nf
.ta \w'ESC DEL 'u
ESC\ ^H Delete previous word (backspace key) [n]
ESC\ DEL Delete previous word (delete key) [n]
ESC\ SP Set the mark (space key); see ^X^X and ^Y above
ESC\ \. Get the last (or [n]'th) word from previous line
ESC\ \? Show possible completions; see below
ESC\ < Move to start of history
ESC\ > Move to end of history
ESC\ b Move backward a word [n]
ESC\ d Delete word under cursor [n]
ESC\ f Move forward a word [n]
ESC\ l Make word lowercase [n]
ESC\ m Toggle if 8bit chars display normally or with ``M\-'' prefix
ESC\ u Make word uppercase [n]
ESC\ y Yank back last killed text
ESC\ v Show library version
ESC\ w Make area up to mark yankable
ESC\ nn Set repeat count to the number nn
ESC\ C Read from environment variable ``_C_'', where C is
\& an uppercase letter
.fi
.RE
.PP
The
.I editline
library has a small macro facility.
If you type the escape key followed by an uppercase letter,
.IR C ,
then the contents of the environment variable
.I _C_
are read in as if you had typed them at the keyboard.
For example, if the variable
.I _L_
contains the following:
.RS
^A^Kecho '^V^[[H^V^[[2J'^M
.RE
Then typing ``ESC L'' will move to the beginning of the line, kill the
entire line, enter the echo command needed to clear the terminal (if your
terminal is like a VT-100), and send the line back to the shell.
.PP
The
.I editline
library also does filename completion.
Suppose the root directory has the following files in it:
.RS
.nf
.ta \w'core 'u
bin vmunix
core vmunix.old
.fi
.RE
If you type ``rm\ /v'' and then the tab key.
.I Editline
will then finish off as much of the name as possible by adding ``munix''.
Because the name is not unique, it will then beep.
If you type the escape key and a question mark, it will display the
two choices.
If you then type a period and a tab, the library will finish off the filename
for you:
.RS
.nf
.RI "rm /v[TAB]" munix .TAB old
.fi
.RE
The tab key is shown by ``[TAB]'' and the automatically-entered text
is shown in italics.
.SH "BUGS AND LIMITATIONS"
Cannot handle lines more than 80 columns.
.SH AUTHORS
Simmule R. Turner <uunet.uu.net!capitol!sysgo!simmy>
and Rich $alz <rsalz@osf.org>.
Original manual page by DaviD W. Sanderson <dws@ssec.wisc.edu>.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,130 @@
/* -*- 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 Simmule Turner and
* Rich Salz. 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.
*/
/*
* Copyright 1992,1993 Simmule Turner and Rich Salz. All rights reserved.
*
* This software is not subject to any license of the American Telephone
* and Telegraph Company or of the Regents of the University of California.
*
* Permission is granted to anyone to use this software for any purpose on
* any computer system, and to alter it and redistribute it freely, subject
* to the following restrictions:
* 1. The authors are not responsible for the consequences of use of this
* software, no matter how awful, even if they arise from flaws in it.
* 2. The origin of this software must not be misrepresented, either by
* explicit claim or by omission. Since few users ever read sources,
* credits must appear in the documentation.
* 3. Altered versions must be plainly marked as such, and must not be
* misrepresented as being the original software. Since few users
* ever read sources, credits must appear in the documentation.
* 4. This notice may not be removed or altered.
*/
/*
** Internal header file for editline library.
*/
#include <stdio.h>
#if defined(HAVE_STDLIB)
#include <stdlib.h>
#include <string.h>
#endif /* defined(HAVE_STDLIB) */
#if defined(SYS_UNIX)
#include "unix.h"
#endif /* defined(SYS_UNIX) */
#if defined(SYS_OS9)
#include "os9.h"
#endif /* defined(SYS_OS9) */
#if !defined(SIZE_T)
#define SIZE_T unsigned int
#endif /* !defined(SIZE_T) */
typedef unsigned char CHAR;
#if defined(HIDE)
#define STATIC static
#else
#define STATIC /* NULL */
#endif /* !defined(HIDE) */
#if !defined(CONST)
#if defined(__STDC__)
#define CONST const
#else
#define CONST
#endif /* defined(__STDC__) */
#endif /* !defined(CONST) */
#define MEM_INC 64
#define SCREEN_INC 256
#define DISPOSE(p) free((char *)(p))
#define NEW(T, c) \
((T *)malloc((unsigned int)(sizeof (T) * (c))))
#define RENEW(p, T, c) \
(p = (T *)realloc((char *)(p), (unsigned int)(sizeof (T) * (c))))
#define COPYFROMTO(new, p, len) \
(void)memcpy((char *)(new), (char *)(p), (int)(len))
/*
** Variables and routines internal to this package.
*/
extern int rl_eof;
extern int rl_erase;
extern int rl_intr;
extern int rl_kill;
extern int rl_quit;
extern char *rl_complete();
extern int rl_list_possib();
extern void rl_ttyset();
extern void rl_add_slash();
#if !defined(HAVE_STDLIB)
extern char *getenv();
extern char *malloc();
extern char *realloc();
extern char *memcpy();
extern char *strcat();
extern char *strchr();
extern char *strrchr();
extern char *strcpy();
extern char *strdup();
extern int strcmp();
extern int strlen();
extern int strncmp();
#endif /* !defined(HAVE_STDLIB) */

View File

@@ -0,0 +1,177 @@
/* -*- 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 Simmule Turner and
* Rich Salz. 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.
*/
/*
* Copyright 1992,1993 Simmule Turner and Rich Salz. All rights reserved.
*
* This software is not subject to any license of the American Telephone
* and Telegraph Company or of the Regents of the University of California.
*
* Permission is granted to anyone to use this software for any purpose on
* any computer system, and to alter it and redistribute it freely, subject
* to the following restrictions:
* 1. The authors are not responsible for the consequences of use of this
* software, no matter how awful, even if they arise from flaws in it.
* 2. The origin of this software must not be misrepresented, either by
* explicit claim or by omission. Since few users ever read sources,
* credits must appear in the documentation.
* 3. Altered versions must be plainly marked as such, and must not be
* misrepresented as being the original software. Since few users
* ever read sources, credits must appear in the documentation.
* 4. This notice may not be removed or altered.
*/
/*
** Unix system-dependant routines for editline library.
*/
#include "editline.h"
#if defined(HAVE_TCGETATTR)
#include <termios.h>
void
rl_ttyset(Reset)
int Reset;
{
static struct termios old;
struct termios new;
if (Reset == 0) {
(void)tcgetattr(0, &old);
rl_erase = old.c_cc[VERASE];
rl_kill = old.c_cc[VKILL];
rl_eof = old.c_cc[VEOF];
rl_intr = old.c_cc[VINTR];
rl_quit = old.c_cc[VQUIT];
new = old;
new.c_cc[VINTR] = -1;
new.c_cc[VQUIT] = -1;
new.c_lflag &= ~(ECHO | ICANON);
new.c_iflag &= ~(ISTRIP | INPCK);
new.c_cc[VMIN] = 1;
new.c_cc[VTIME] = 0;
(void)tcsetattr(0, TCSADRAIN, &new);
}
else
(void)tcsetattr(0, TCSADRAIN, &old);
}
#else
#if defined(HAVE_TERMIO)
#include <termio.h>
void
rl_ttyset(Reset)
int Reset;
{
static struct termio old;
struct termio new;
if (Reset == 0) {
(void)ioctl(0, TCGETA, &old);
rl_erase = old.c_cc[VERASE];
rl_kill = old.c_cc[VKILL];
rl_eof = old.c_cc[VEOF];
rl_intr = old.c_cc[VINTR];
rl_quit = old.c_cc[VQUIT];
new = old;
new.c_cc[VINTR] = -1;
new.c_cc[VQUIT] = -1;
new.c_lflag &= ~(ECHO | ICANON);
new.c_iflag &= ~(ISTRIP | INPCK);
new.c_cc[VMIN] = 1;
new.c_cc[VTIME] = 0;
(void)ioctl(0, TCSETAW, &new);
}
else
(void)ioctl(0, TCSETAW, &old);
}
#else
#include <sgtty.h>
void
rl_ttyset(Reset)
int Reset;
{
static struct sgttyb old_sgttyb;
static struct tchars old_tchars;
struct sgttyb new_sgttyb;
struct tchars new_tchars;
if (Reset == 0) {
(void)ioctl(0, TIOCGETP, &old_sgttyb);
rl_erase = old_sgttyb.sg_erase;
rl_kill = old_sgttyb.sg_kill;
(void)ioctl(0, TIOCGETC, &old_tchars);
rl_eof = old_tchars.t_eofc;
rl_intr = old_tchars.t_intrc;
rl_quit = old_tchars.t_quitc;
new_sgttyb = old_sgttyb;
new_sgttyb.sg_flags &= ~ECHO;
new_sgttyb.sg_flags |= RAW;
#if defined(PASS8)
new_sgttyb.sg_flags |= PASS8;
#endif /* defined(PASS8) */
(void)ioctl(0, TIOCSETP, &new_sgttyb);
new_tchars = old_tchars;
new_tchars.t_intrc = -1;
new_tchars.t_quitc = -1;
(void)ioctl(0, TIOCSETC, &new_tchars);
}
else {
(void)ioctl(0, TIOCSETP, &old_sgttyb);
(void)ioctl(0, TIOCSETC, &old_tchars);
}
}
#endif /* defined(HAVE_TERMIO) */
#endif /* defined(HAVE_TCGETATTR) */
void
rl_add_slash(path, p)
char *path;
char *p;
{
struct stat Sb;
if (stat(path, &Sb) >= 0)
(void)strcat(p, S_ISDIR(Sb.st_mode) ? "/" : " ");
}

View File

@@ -0,0 +1,77 @@
/* -*- 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 Simmule Turner and
* Rich Salz. 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.
*/
/*
* Copyright 1992,1993 Simmule Turner and Rich Salz. All rights reserved.
*
* This software is not subject to any license of the American Telephone
* and Telegraph Company or of the Regents of the University of California.
*
* Permission is granted to anyone to use this software for any purpose on
* any computer system, and to alter it and redistribute it freely, subject
* to the following restrictions:
* 1. The authors are not responsible for the consequences of use of this
* software, no matter how awful, even if they arise from flaws in it.
* 2. The origin of this software must not be misrepresented, either by
* explicit claim or by omission. Since few users ever read sources,
* credits must appear in the documentation.
* 3. Altered versions must be plainly marked as such, and must not be
* misrepresented as being the original software. Since few users
* ever read sources, credits must appear in the documentation.
* 4. This notice may not be removed or altered.
*/
/*
** Editline system header file for Unix.
*/
#define CRLF "\r\n"
#define FORWARD STATIC
#include <sys/types.h>
#include <sys/stat.h>
#if defined(USE_DIRENT)
#include <dirent.h>
typedef struct dirent DIRENTRY;
#else
#include <sys/dir.h>
typedef struct direct DIRENTRY;
#endif /* defined(USE_DIRENT) */
#if !defined(S_ISDIR)
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif /* !defined(S_ISDIR) */

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
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,186 @@
# -*- Mode: makefile -*-
#
# 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
# Need for jstypes.h and friends
INCLUDES += -I..
INCLUDES += -I../$(OBJDIR)
#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 -p $(@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,142 @@
/* -*- 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
{
fd_twoints u;
double df;
double z,p,q,r,w,s,c;
int hx,ix;
u.d = x;
hx = __HI(u);
ix = hx&0x7fffffff;
if(ix>=0x3ff00000) { /* |x| >= 1 */
if(((ix-0x3ff00000)|__LO(u))==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);
u.d = s;
__LO(u) = 0;
df = u.d;
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,100 @@
/* -*- 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
{
fd_twoints u;
double t;
int hx;
u.d = x;
hx = __HI(u);
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(u))==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,151 @@
/* -*- 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
{
fd_twoints u;
double w,t,p,q,c,r,s;
int hx,ix;
u.d = x;
hx = __HI(u);
x = u.d;
ix = hx&0x7fffffff;
if(ix>= 0x3ff00000) { /* |x|>= 1 */
if(((ix-0x3ff00000)|__LO(u))==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 {
u.d = s;
__LO(u) = 0;
w = u.d;
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,160 @@
/* -*- 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
{
fd_twoints ux, uy, uz;
double z;
int k,m,hx,hy,ix,iy;
unsigned lx,ly;
ux.d = x; uy.d = y;
hx = __HI(ux); ix = hx&0x7fffffff;
lx = __LO(ux);
hy = __HI(uy); iy = hy&0x7fffffff;
ly = __LO(uy);
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: uz.d = z;
__HI(uz) ^= 0x80000000;
z = uz.d;
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,105 @@
/* -*- 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;
fd_twoints u;
u.d = x;
hx = __HI(u); /* high word */
lx = __LO(u); /* 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 */
u.d = x;
__HI(u) = ix; /* x <- |x| */
x = u.d;
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,128 @@
/* -*- 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
{
fd_twoints u;
double t,w;
int ix;
unsigned lx;
/* High word of |x|. */
u.d = x;
ix = __HI(u);
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,197 @@
/* -*- 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
{
fd_twoints u;
double y,hi,lo,c,t;
int k, xsb;
unsigned hx;
u.d = x;
hx = __HI(u); /* high word of x */
xsb = (hx>>31)&1; /* sign bit of x */
hx &= 0x7fffffff; /* high word of |x| */
/* filter out non-finite argument */
if(hx >= 0x40862E42) { /* if |x|>=709.78... */
if(hx>=0x7ff00000) {
u.d = x;
if(((hx&0xfffff)|__LO(u))!=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;
/* 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) {
u.d = y;
__HI(u) += (k<<20); /* add k to y's exponent */
y = u.d;
return y;
} else {
u.d = y;
__HI(u) += ((k+1000)<<20);/* add k to y's exponent */
y = u.d;
return y*twom1000;
}
}

View File

@@ -0,0 +1,179 @@
/* -*- 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
{
fd_twoints ux, uy;
int n,hx,hy,hz,ix,iy,sx,i;
unsigned lx,ly,lz;
ux.d = x; uy.d = y;
hx = __HI(ux); /* high word of x */
lx = __LO(ux); /* low word of x */
hy = __HI(uy); /* high word of y */
ly = __LO(uy); /* 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));
ux.d = x;
__HI(ux) = hx|sx;
__LO(ux) = lx;
x = ux.d;
} 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;
}
ux.d = x;
__HI(ux) = hx|sx;
__LO(ux) = lx;
x = ux.d;
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,168 @@
/* -*- 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
{
fd_twoints ux, uy;
double a=x,b=y,t1,t2,y1,y2,w;
int j,k,ha,hb;
ux.d = x; uy.d = y;
ha = __HI(ux)&0x7fffffff; /* high word of x */
hb = __HI(uy)&0x7fffffff; /* high word of y */
if(hb > ha) {a=y;b=x;j=ha; ha=hb;hb=j;} else {a=x;b=y;}
ux.d = a; uy.d = b;
__HI(ux) = ha; /* a <- |a| */
__HI(uy) = hb; /* b <- |b| */
a = ux.d; b = uy.d;
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 */
ux.d = a; uy.d = b;
if(((ha&0xfffff)|__LO(ux))==0) w = a;
if(((hb^0x7ff00000)|__LO(uy))==0) w = b;
return w;
}
/* scale a and b by 2**-600 */
ha -= 0x25800000; hb -= 0x25800000; k += 600;
ux.d = a; uy.d = b;
__HI(ux) = ha;
__HI(uy) = hb;
a = ux.d; b = uy.d;
}
if(hb < 0x20b00000) { /* b < 2**-500 */
if(hb <= 0x000fffff) { /* subnormal b or 0 */
uy.d = b;
if((hb|(__LO(uy)))==0) return a;
t1=0;
ux.d = t1;
__HI(ux) = 0x7fd00000; /* t1=2^1022 */
t1 = ux.d;
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;
ux.d = a; uy.d = b;
__HI(ux) = ha;
__HI(uy) = hb;
a = ux.d; b = uy.d;
}
}
/* medium size a and b */
w = a-b;
if (w>b) {
t1 = 0;
ux.d = t1;
__HI(ux) = ha;
t1 = ux.d;
t2 = a-t1;
w = fd_sqrt(t1*t1-(b*(-b)-t2*(a+t1)));
} else {
a = a+a;
y1 = 0;
ux.d = y1;
__HI(ux) = hb;
y1 = ux.d;
y2 = b - y1;
t1 = 0;
ux.d = t1;
__HI(ux) = ha+0x00100000;
t1 = ux.d;
t2 = a - t1;
w = fd_sqrt(t1*y1-(w*(-w)-(t1*y2+t2*b)));
}
if(k!=0) {
t1 = 1.0;
ux.d = t1;
__HI(ux) += (k<<20);
t1 = ux.d;
return t1*w;
} else return w;
}

View File

@@ -0,0 +1,519 @@
/* -*- 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
{
fd_twoints un;
double z, s,c,ss,cc,r,u,v;
int hx,ix;
un.d = x;
hx = __HI(un);
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
{
fd_twoints un;
double z, s,c,ss,cc,u,v;
int hx,ix,lx;
un.d = x;
hx = __HI(un);
ix = 0x7fffffff&hx;
lx = __LO(un);
/* 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
fd_twoints u;
double z,r,s;
int ix;
u.d = x;
ix = 0x7fffffff&__HI(u);
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
fd_twoints u;
double s,r,z;
int ix;
u.d = x;
ix = 0x7fffffff&__HI(u);
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,518 @@
/* -*- 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
{
fd_twoints un;
double z, s,c,ss,cc,r,u,v,y;
int hx,ix;
un.d = x;
hx = __HI(un);
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
{
fd_twoints un;
double z, s,c,ss,cc,u,v;
int hx,ix,lx;
un.d = x;
hx = __HI(un);
ix = 0x7fffffff&hx;
lx = __LO(un);
/* 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
fd_twoints un;
double z,r,s;
int ix;
un.d = x;
ix = 0x7fffffff&__HI(un);
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
fd_twoints un;
double s,r,z;
int ix;
un.d = x;
ix = 0x7fffffff&__HI(un);
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,310 @@
/* -*- 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
{
fd_twoints u;
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)
*/
u.d = x;
hx = __HI(u);
ix = 0x7fffffff&hx;
lx = __LO(u);
/* 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
{
fd_twoints u;
int i,hx,ix,lx;
int sign;
double a, b, temp;
u.d = x;
hx = __HI(u);
ix = 0x7fffffff&hx;
lx = __LO(u);
/* 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 */
u.d = b;
for(i=1;i<n&&(__HI(u) != 0xfff00000);i++){
temp = b;
b = ((double)(i+i)/x)*b - a;
a = temp;
}
}
if(sign>0) return b; else return -b;
}

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_lgamma.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_lgamma(x)
* Return the logarithm of the Gamma function of x.
*
* Method: call __ieee754_lgamma_r
*/
#include "fdlibm.h"
extern int signgam;
#ifdef __STDC__
double __ieee754_lgamma(double x)
#else
double __ieee754_lgamma(x)
double x;
#endif
{
return __ieee754_lgamma_r(x,&signgam);
}

View File

@@ -0,0 +1,342 @@
/* -*- 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_lgamma_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_lgamma_r(x, signgamp)
* Reentrant version of the logarithm of the Gamma function
* with user provide pointer for the sign of Gamma(x).
*
* Method:
* 1. Argument Reduction for 0 < x <= 8
* Since gamma(1+s)=s*gamma(s), for x in [0,8], we may
* reduce x to a number in [1.5,2.5] by
* lgamma(1+s) = log(s) + lgamma(s)
* for example,
* lgamma(7.3) = log(6.3) + lgamma(6.3)
* = log(6.3*5.3) + lgamma(5.3)
* = log(6.3*5.3*4.3*3.3*2.3) + lgamma(2.3)
* 2. Polynomial approximation of lgamma around its
* minimun ymin=1.461632144968362245 to maintain monotonicity.
* On [ymin-0.23, ymin+0.27] (i.e., [1.23164,1.73163]), use
* Let z = x-ymin;
* lgamma(x) = -1.214862905358496078218 + z^2*poly(z)
* where
* poly(z) is a 14 degree polynomial.
* 2. Rational approximation in the primary interval [2,3]
* We use the following approximation:
* s = x-2.0;
* lgamma(x) = 0.5*s + s*P(s)/Q(s)
* with accuracy
* |P/Q - (lgamma(x)-0.5s)| < 2**-61.71
* Our algorithms are based on the following observation
*
* zeta(2)-1 2 zeta(3)-1 3
* lgamma(2+s) = s*(1-Euler) + --------- * s - --------- * s + ...
* 2 3
*
* where Euler = 0.5771... is the Euler constant, which is very
* close to 0.5.
*
* 3. For x>=8, we have
* lgamma(x)~(x-0.5)log(x)-x+0.5*log(2pi)+1/(12x)-1/(360x**3)+....
* (better formula:
* lgamma(x)~(x-0.5)*(log(x)-1)-.5*(log(2pi)-1) + ...)
* Let z = 1/x, then we approximation
* f(z) = lgamma(x) - (x-0.5)(log(x)-1)
* by
* 3 5 11
* w = w0 + w1*z + w2*z + w3*z + ... + w6*z
* where
* |w - f(z)| < 2**-58.74
*
* 4. For negative x, since (G is gamma function)
* -x*G(-x)*G(x) = pi/sin(pi*x),
* we have
* G(x) = pi/(sin(pi*x)*(-x)*G(-x))
* since G(-x) is positive, sign(G(x)) = sign(sin(pi*x)) for x<0
* Hence, for x<0, signgam = sign(sin(pi*x)) and
* lgamma(x) = log(|Gamma(x)|)
* = log(pi/(|x*sin(pi*x)|)) - lgamma(-x);
* Note: one should avoid compute pi*(-x) directly in the
* computation of sin(pi*(-x)).
*
* 5. Special Cases
* lgamma(2+s) ~ s*(1-Euler) for tiny s
* lgamma(1)=lgamma(2)=0
* lgamma(x) ~ -log(x) for tiny x
* lgamma(0) = lgamma(inf) = inf
* lgamma(-integer) = +-inf
*
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
two52= 4.50359962737049600000e+15, /* 0x43300000, 0x00000000 */
half= 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */
one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */
pi = 3.14159265358979311600e+00, /* 0x400921FB, 0x54442D18 */
a0 = 7.72156649015328655494e-02, /* 0x3FB3C467, 0xE37DB0C8 */
a1 = 3.22467033424113591611e-01, /* 0x3FD4A34C, 0xC4A60FAD */
a2 = 6.73523010531292681824e-02, /* 0x3FB13E00, 0x1A5562A7 */
a3 = 2.05808084325167332806e-02, /* 0x3F951322, 0xAC92547B */
a4 = 7.38555086081402883957e-03, /* 0x3F7E404F, 0xB68FEFE8 */
a5 = 2.89051383673415629091e-03, /* 0x3F67ADD8, 0xCCB7926B */
a6 = 1.19270763183362067845e-03, /* 0x3F538A94, 0x116F3F5D */
a7 = 5.10069792153511336608e-04, /* 0x3F40B6C6, 0x89B99C00 */
a8 = 2.20862790713908385557e-04, /* 0x3F2CF2EC, 0xED10E54D */
a9 = 1.08011567247583939954e-04, /* 0x3F1C5088, 0x987DFB07 */
a10 = 2.52144565451257326939e-05, /* 0x3EFA7074, 0x428CFA52 */
a11 = 4.48640949618915160150e-05, /* 0x3F07858E, 0x90A45837 */
tc = 1.46163214496836224576e+00, /* 0x3FF762D8, 0x6356BE3F */
tf = -1.21486290535849611461e-01, /* 0xBFBF19B9, 0xBCC38A42 */
/* tt = -(tail of tf) */
tt = -3.63867699703950536541e-18, /* 0xBC50C7CA, 0xA48A971F */
t0 = 4.83836122723810047042e-01, /* 0x3FDEF72B, 0xC8EE38A2 */
t1 = -1.47587722994593911752e-01, /* 0xBFC2E427, 0x8DC6C509 */
t2 = 6.46249402391333854778e-02, /* 0x3FB08B42, 0x94D5419B */
t3 = -3.27885410759859649565e-02, /* 0xBFA0C9A8, 0xDF35B713 */
t4 = 1.79706750811820387126e-02, /* 0x3F9266E7, 0x970AF9EC */
t5 = -1.03142241298341437450e-02, /* 0xBF851F9F, 0xBA91EC6A */
t6 = 6.10053870246291332635e-03, /* 0x3F78FCE0, 0xE370E344 */
t7 = -3.68452016781138256760e-03, /* 0xBF6E2EFF, 0xB3E914D7 */
t8 = 2.25964780900612472250e-03, /* 0x3F6282D3, 0x2E15C915 */
t9 = -1.40346469989232843813e-03, /* 0xBF56FE8E, 0xBF2D1AF1 */
t10 = 8.81081882437654011382e-04, /* 0x3F4CDF0C, 0xEF61A8E9 */
t11 = -5.38595305356740546715e-04, /* 0xBF41A610, 0x9C73E0EC */
t12 = 3.15632070903625950361e-04, /* 0x3F34AF6D, 0x6C0EBBF7 */
t13 = -3.12754168375120860518e-04, /* 0xBF347F24, 0xECC38C38 */
t14 = 3.35529192635519073543e-04, /* 0x3F35FD3E, 0xE8C2D3F4 */
u0 = -7.72156649015328655494e-02, /* 0xBFB3C467, 0xE37DB0C8 */
u1 = 6.32827064025093366517e-01, /* 0x3FE4401E, 0x8B005DFF */
u2 = 1.45492250137234768737e+00, /* 0x3FF7475C, 0xD119BD6F */
u3 = 9.77717527963372745603e-01, /* 0x3FEF4976, 0x44EA8450 */
u4 = 2.28963728064692451092e-01, /* 0x3FCD4EAE, 0xF6010924 */
u5 = 1.33810918536787660377e-02, /* 0x3F8B678B, 0xBF2BAB09 */
v1 = 2.45597793713041134822e+00, /* 0x4003A5D7, 0xC2BD619C */
v2 = 2.12848976379893395361e+00, /* 0x40010725, 0xA42B18F5 */
v3 = 7.69285150456672783825e-01, /* 0x3FE89DFB, 0xE45050AF */
v4 = 1.04222645593369134254e-01, /* 0x3FBAAE55, 0xD6537C88 */
v5 = 3.21709242282423911810e-03, /* 0x3F6A5ABB, 0x57D0CF61 */
s0 = -7.72156649015328655494e-02, /* 0xBFB3C467, 0xE37DB0C8 */
s1 = 2.14982415960608852501e-01, /* 0x3FCB848B, 0x36E20878 */
s2 = 3.25778796408930981787e-01, /* 0x3FD4D98F, 0x4F139F59 */
s3 = 1.46350472652464452805e-01, /* 0x3FC2BB9C, 0xBEE5F2F7 */
s4 = 2.66422703033638609560e-02, /* 0x3F9B481C, 0x7E939961 */
s5 = 1.84028451407337715652e-03, /* 0x3F5E26B6, 0x7368F239 */
s6 = 3.19475326584100867617e-05, /* 0x3F00BFEC, 0xDD17E945 */
r1 = 1.39200533467621045958e+00, /* 0x3FF645A7, 0x62C4AB74 */
r2 = 7.21935547567138069525e-01, /* 0x3FE71A18, 0x93D3DCDC */
r3 = 1.71933865632803078993e-01, /* 0x3FC601ED, 0xCCFBDF27 */
r4 = 1.86459191715652901344e-02, /* 0x3F9317EA, 0x742ED475 */
r5 = 7.77942496381893596434e-04, /* 0x3F497DDA, 0xCA41A95B */
r6 = 7.32668430744625636189e-06, /* 0x3EDEBAF7, 0xA5B38140 */
w0 = 4.18938533204672725052e-01, /* 0x3FDACFE3, 0x90C97D69 */
w1 = 8.33333333333329678849e-02, /* 0x3FB55555, 0x5555553B */
w2 = -2.77777777728775536470e-03, /* 0xBF66C16C, 0x16B02E5C */
w3 = 7.93650558643019558500e-04, /* 0x3F4A019F, 0x98CF38B6 */
w4 = -5.95187557450339963135e-04, /* 0xBF4380CB, 0x8C0FE741 */
w5 = 8.36339918996282139126e-04, /* 0x3F4B67BA, 0x4CDAD5D1 */
w6 = -1.63092934096575273989e-03; /* 0xBF5AB89D, 0x0B9E43E4 */
static double zero= 0.00000000000000000000e+00;
#ifdef __STDC__
static double sin_pi(double x)
#else
static double sin_pi(x)
double x;
#endif
{
fd_twoints u;
double y,z;
int n,ix;
u.d = x;
ix = 0x7fffffff&__HI(u);
if(ix<0x3fd00000) return __kernel_sin(pi*x,zero,0);
y = -x; /* x is assume negative */
/*
* argument reduction, make sure inexact flag not raised if input
* is an integer
*/
z = fd_floor(y);
if(z!=y) { /* inexact anyway */
y *= 0.5;
y = 2.0*(y - fd_floor(y)); /* y = |x| mod 2.0 */
n = (int) (y*4.0);
} else {
if(ix>=0x43400000) {
y = zero; n = 0; /* y must be even */
} else {
if(ix<0x43300000) z = y+two52; /* exact */
u.d = z;
n = __LO(u)&1; /* lower word of z */
y = n;
n<<= 2;
}
}
switch (n) {
case 0: y = __kernel_sin(pi*y,zero,0); break;
case 1:
case 2: y = __kernel_cos(pi*(0.5-y),zero); break;
case 3:
case 4: y = __kernel_sin(pi*(one-y),zero,0); break;
case 5:
case 6: y = -__kernel_cos(pi*(y-1.5),zero); break;
default: y = __kernel_sin(pi*(y-2.0),zero,0); break;
}
return -y;
}
#ifdef __STDC__
double __ieee754_lgamma_r(double x, int *signgamp)
#else
double __ieee754_lgamma_r(x,signgamp)
double x; int *signgamp;
#endif
{
fd_twoints u;
double t,y,z,nadj,p,p1,p2,p3,q,r,w;
int i,hx,lx,ix;
u.d = x;
hx = __HI(u);
lx = __LO(u);
/* purge off +-inf, NaN, +-0, and negative arguments */
*signgamp = 1;
ix = hx&0x7fffffff;
if(ix>=0x7ff00000) return x*x;
if((ix|lx)==0) return one/zero;
if(ix<0x3b900000) { /* |x|<2**-70, return -log(|x|) */
if(hx<0) {
*signgamp = -1;
return -__ieee754_log(-x);
} else return -__ieee754_log(x);
}
if(hx<0) {
if(ix>=0x43300000) /* |x|>=2**52, must be -integer */
return one/zero;
t = sin_pi(x);
if(t==zero) return one/zero; /* -integer */
nadj = __ieee754_log(pi/fd_fabs(t*x));
if(t<zero) *signgamp = -1;
x = -x;
}
/* purge off 1 and 2 */
if((((ix-0x3ff00000)|lx)==0)||(((ix-0x40000000)|lx)==0)) r = 0;
/* for x < 2.0 */
else if(ix<0x40000000) {
if(ix<=0x3feccccc) { /* lgamma(x) = lgamma(x+1)-log(x) */
r = -__ieee754_log(x);
if(ix>=0x3FE76944) {y = one-x; i= 0;}
else if(ix>=0x3FCDA661) {y= x-(tc-one); i=1;}
else {y = x; i=2;}
} else {
r = zero;
if(ix>=0x3FFBB4C3) {y=2.0-x;i=0;} /* [1.7316,2] */
else if(ix>=0x3FF3B4C4) {y=x-tc;i=1;} /* [1.23,1.73] */
else {y=x-one;i=2;}
}
switch(i) {
case 0:
z = y*y;
p1 = a0+z*(a2+z*(a4+z*(a6+z*(a8+z*a10))));
p2 = z*(a1+z*(a3+z*(a5+z*(a7+z*(a9+z*a11)))));
p = y*p1+p2;
r += (p-0.5*y); break;
case 1:
z = y*y;
w = z*y;
p1 = t0+w*(t3+w*(t6+w*(t9 +w*t12))); /* parallel comp */
p2 = t1+w*(t4+w*(t7+w*(t10+w*t13)));
p3 = t2+w*(t5+w*(t8+w*(t11+w*t14)));
p = z*p1-(tt-w*(p2+y*p3));
r += (tf + p); break;
case 2:
p1 = y*(u0+y*(u1+y*(u2+y*(u3+y*(u4+y*u5)))));
p2 = one+y*(v1+y*(v2+y*(v3+y*(v4+y*v5))));
r += (-0.5*y + p1/p2);
}
}
else if(ix<0x40200000) { /* x < 8.0 */
i = (int)x;
t = zero;
y = x-(double)i;
p = y*(s0+y*(s1+y*(s2+y*(s3+y*(s4+y*(s5+y*s6))))));
q = one+y*(r1+y*(r2+y*(r3+y*(r4+y*(r5+y*r6)))));
r = half*y+p/q;
z = one; /* lgamma(1+s) = log(s) + lgamma(s) */
switch(i) {
case 7: z *= (y+6.0); /* FALLTHRU */
case 6: z *= (y+5.0); /* FALLTHRU */
case 5: z *= (y+4.0); /* FALLTHRU */
case 4: z *= (y+3.0); /* FALLTHRU */
case 3: z *= (y+2.0); /* FALLTHRU */
r += __ieee754_log(z); break;
}
/* 8.0 <= x < 2**58 */
} else if (ix < 0x43900000) {
t = __ieee754_log(x);
z = one/x;
y = z*z;
w = w0+z*(w1+y*(w2+y*(w3+y*(w4+y*(w5+y*w6)))));
r = (x-half)*(t-one)+w;
} else
/* 2**58 <= x <= inf */
r = x*(__ieee754_log(x)-one);
if(hx<0) r = nadj - r;
return r;
}

View File

@@ -0,0 +1,179 @@
/* -*- 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_log.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_log(x)
* Return the logrithm of x
*
* Method :
* 1. Argument Reduction: find k and f such that
* x = 2^k * (1+f),
* where sqrt(2)/2 < 1+f < sqrt(2) .
*
* 2. Approximation of log(1+f).
* Let s = f/(2+f) ; based on log(1+f) = log(1+s) - log(1-s)
* = 2s + 2/3 s**3 + 2/5 s**5 + .....,
* = 2s + s*R
* We use a special Reme algorithm on [0,0.1716] to generate
* a polynomial of degree 14 to approximate R The maximum error
* of this polynomial approximation is bounded by 2**-58.45. In
* other words,
* 2 4 6 8 10 12 14
* R(z) ~ Lg1*s +Lg2*s +Lg3*s +Lg4*s +Lg5*s +Lg6*s +Lg7*s
* (the values of Lg1 to Lg7 are listed in the program)
* and
* | 2 14 | -58.45
* | Lg1*s +...+Lg7*s - R(z) | <= 2
* | |
* Note that 2s = f - s*f = f - hfsq + s*hfsq, where hfsq = f*f/2.
* In order to guarantee error in log below 1ulp, we compute log
* by
* log(1+f) = f - s*(f - R) (if f is not too large)
* log(1+f) = f - (hfsq - s*(hfsq+R)). (better accuracy)
*
* 3. Finally, log(x) = k*ln2 + log(1+f).
* = k*ln2_hi+(f-(hfsq-(s*(hfsq+R)+k*ln2_lo)))
* Here ln2 is split into two floating point number:
* ln2_hi + ln2_lo,
* where n*ln2_hi is always exact for |n| < 2000.
*
* Special cases:
* log(x) is NaN with signal if x < 0 (including -INF) ;
* log(+INF) is +INF; log(0) is -INF with signal;
* log(NaN) is that NaN with no signal.
*
* Accuracy:
* according to an error analysis, the error is always less than
* 1 ulp (unit in the last place).
*
* 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
ln2_hi = 6.93147180369123816490e-01, /* 3fe62e42 fee00000 */
ln2_lo = 1.90821492927058770002e-10, /* 3dea39ef 35793c76 */
two54 = 1.80143985094819840000e+16, /* 43500000 00000000 */
Lg1 = 6.666666666666735130e-01, /* 3FE55555 55555593 */
Lg2 = 3.999999999940941908e-01, /* 3FD99999 9997FA04 */
Lg3 = 2.857142874366239149e-01, /* 3FD24924 94229359 */
Lg4 = 2.222219843214978396e-01, /* 3FCC71C5 1D8E78AF */
Lg5 = 1.818357216161805012e-01, /* 3FC74664 96CB03DE */
Lg6 = 1.531383769920937332e-01, /* 3FC39A09 D078C69F */
Lg7 = 1.479819860511658591e-01; /* 3FC2F112 DF3E5244 */
static double zero = 0.0;
#ifdef __STDC__
double __ieee754_log(double x)
#else
double __ieee754_log(x)
double x;
#endif
{
fd_twoints u;
double hfsq,f,s,z,R,w,t1,t2,dk;
int k,hx,i,j;
unsigned lx;
u.d = x;
hx = __HI(u); /* high word of x */
lx = __LO(u); /* low word of x */
k=0;
if (hx < 0x00100000) { /* x < 2**-1022 */
if (((hx&0x7fffffff)|lx)==0)
return -two54/zero; /* log(+-0)=-inf */
if (hx<0) return (x-x)/zero; /* log(-#) = NaN */
k -= 54; x *= two54; /* subnormal number, scale up x */
u.d = x;
hx = __HI(u); /* high word of x */
}
if (hx >= 0x7ff00000) return x+x;
k += (hx>>20)-1023;
hx &= 0x000fffff;
i = (hx+0x95f64)&0x100000;
u.d = x;
__HI(u) = hx|(i^0x3ff00000); /* normalize x or x/2 */
x = u.d;
k += (i>>20);
f = x-1.0;
if((0x000fffff&(2+hx))<3) { /* |f| < 2**-20 */
if(f==zero) {
if(k==0) return zero; else {dk=(double)k;
return dk*ln2_hi+dk*ln2_lo;}
}
R = f*f*(0.5-0.33333333333333333*f);
if(k==0) return f-R; else {dk=(double)k;
return dk*ln2_hi-((R-dk*ln2_lo)-f);}
}
s = f/(2.0+f);
dk = (double)k;
z = s*s;
i = hx-0x6147a;
w = z*z;
j = 0x6b851-hx;
t1= w*(Lg2+w*(Lg4+w*Lg6));
t2= z*(Lg1+w*(Lg3+w*(Lg5+w*Lg7)));
i |= j;
R = t2+t1;
if(i>0) {
hfsq=0.5*f*f;
if(k==0) return f-(hfsq-s*(hfsq+R)); else
return dk*ln2_hi-((hfsq-(s*(hfsq+R)+dk*ln2_lo))-f);
} else {
if(k==0) return f-s*(f-R); else
return dk*ln2_hi-((s*(f-R)-dk*ln2_lo)-f);
}
}

View File

@@ -0,0 +1,129 @@
/* -*- 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_log10.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_log10(x)
* Return the base 10 logarithm of x
*
* Method :
* Let log10_2hi = leading 40 bits of log10(2) and
* log10_2lo = log10(2) - log10_2hi,
* ivln10 = 1/log(10) rounded.
* Then
* n = ilogb(x),
* if(n<0) n = n+1;
* x = scalbn(x,-n);
* log10(x) := n*log10_2hi + (n*log10_2lo + ivln10*log(x))
*
* Note 1:
* To guarantee log10(10**n)=n, where 10**n is normal, the rounding
* mode must set to Round-to-Nearest.
* Note 2:
* [1/log(10)] rounded to 53 bits has error .198 ulps;
* log10 is monotonic at all binary break points.
*
* Special cases:
* log10(x) is NaN with signal if x < 0;
* log10(+INF) is +INF with no signal; log10(0) is -INF with signal;
* log10(NaN) is that NaN with no signal;
* log10(10**N) = N for N=0,1,...,22.
*
* 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
two54 = 1.80143985094819840000e+16, /* 0x43500000, 0x00000000 */
ivln10 = 4.34294481903251816668e-01, /* 0x3FDBCB7B, 0x1526E50E */
log10_2hi = 3.01029995663611771306e-01, /* 0x3FD34413, 0x509F6000 */
log10_2lo = 3.69423907715893078616e-13; /* 0x3D59FEF3, 0x11F12B36 */
static double zero = 0.0;
#ifdef __STDC__
double __ieee754_log10(double x)
#else
double __ieee754_log10(x)
double x;
#endif
{
fd_twoints u;
double y,z;
int i,k,hx;
unsigned lx;
u.d = x;
hx = __HI(u); /* high word of x */
lx = __LO(u); /* low word of x */
k=0;
if (hx < 0x00100000) { /* x < 2**-1022 */
if (((hx&0x7fffffff)|lx)==0)
return -two54/zero; /* log(+-0)=-inf */
if (hx<0) return (x-x)/zero; /* log(-#) = NaN */
k -= 54; x *= two54; /* subnormal number, scale up x */
u.d = x;
hx = __HI(u); /* high word of x */
}
if (hx >= 0x7ff00000) return x+x;
k += (hx>>20)-1023;
i = ((unsigned)k&0x80000000)>>31;
hx = (hx&0x000fffff)|((0x3ff-i)<<20);
y = (double)(k+i);
u.d = x;
__HI(u) = hx;
x = u.d;
z = y*log10_2lo + ivln10*__ieee754_log(x);
return z+y*log10_2hi;
}

View File

@@ -0,0 +1,376 @@
/* -*- 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_pow.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_pow(x,y) return x**y
*
* n
* Method: Let x = 2 * (1+f)
* 1. Compute and return log2(x) in two pieces:
* log2(x) = w1 + w2,
* where w1 has 53-24 = 29 bit trailing zeros.
* 2. Perform y*log2(x) = n+y' by simulating muti-precision
* arithmetic, where |y'|<=0.5.
* 3. Return x**y = 2**n*exp(y'*log2)
*
* Special cases:
* 1. (anything) ** 0 is 1
* 2. (anything) ** 1 is itself
* 3. (anything) ** NAN is NAN
* 4. NAN ** (anything except 0) is NAN
* 5. +-(|x| > 1) ** +INF is +INF
* 6. +-(|x| > 1) ** -INF is +0
* 7. +-(|x| < 1) ** +INF is +0
* 8. +-(|x| < 1) ** -INF is +INF
* 9. +-1 ** +-INF is NAN
* 10. +0 ** (+anything except 0, NAN) is +0
* 11. -0 ** (+anything except 0, NAN, odd integer) is +0
* 12. +0 ** (-anything except 0, NAN) is +INF
* 13. -0 ** (-anything except 0, NAN, odd integer) is +INF
* 14. -0 ** (odd integer) = -( +0 ** (odd integer) )
* 15. +INF ** (+anything except 0,NAN) is +INF
* 16. +INF ** (-anything except 0,NAN) is +0
* 17. -INF ** (anything) = -0 ** (-anything)
* 18. (-anything) ** (integer) is (-1)**(integer)*(+anything**integer)
* 19. (-anything except 0 and inf) ** (non-integer) is NAN
*
* Accuracy:
* pow(x,y) returns x**y nearly rounded. In particular
* pow(integer,integer)
* always returns the correct integer provided it is
* representable.
*
* 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
bp[] = {1.0, 1.5,},
dp_h[] = { 0.0, 5.84962487220764160156e-01,}, /* 0x3FE2B803, 0x40000000 */
dp_l[] = { 0.0, 1.35003920212974897128e-08,}, /* 0x3E4CFDEB, 0x43CFD006 */
zero = 0.0,
one = 1.0,
two = 2.0,
two53 = 9007199254740992.0, /* 0x43400000, 0x00000000 */
really_big = 1.0e300,
tiny = 1.0e-300,
/* poly coefs for (3/2)*(log(x)-2s-2/3*s**3 */
L1 = 5.99999999999994648725e-01, /* 0x3FE33333, 0x33333303 */
L2 = 4.28571428578550184252e-01, /* 0x3FDB6DB6, 0xDB6FABFF */
L3 = 3.33333329818377432918e-01, /* 0x3FD55555, 0x518F264D */
L4 = 2.72728123808534006489e-01, /* 0x3FD17460, 0xA91D4101 */
L5 = 2.30660745775561754067e-01, /* 0x3FCD864A, 0x93C9DB65 */
L6 = 2.06975017800338417784e-01, /* 0x3FCA7E28, 0x4A454EEF */
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 */
lg2 = 6.93147180559945286227e-01, /* 0x3FE62E42, 0xFEFA39EF */
lg2_h = 6.93147182464599609375e-01, /* 0x3FE62E43, 0x00000000 */
lg2_l = -1.90465429995776804525e-09, /* 0xBE205C61, 0x0CA86C39 */
ovt = 8.0085662595372944372e-0017, /* -(1024-log2(ovfl+.5ulp)) */
cp = 9.61796693925975554329e-01, /* 0x3FEEC709, 0xDC3A03FD =2/(3ln2) */
cp_h = 9.61796700954437255859e-01, /* 0x3FEEC709, 0xE0000000 =(float)cp */
cp_l = -7.02846165095275826516e-09, /* 0xBE3E2FE0, 0x145B01F5 =tail of cp_h*/
ivln2 = 1.44269504088896338700e+00, /* 0x3FF71547, 0x652B82FE =1/ln2 */
ivln2_h = 1.44269502162933349609e+00, /* 0x3FF71547, 0x60000000 =24b 1/ln2*/
ivln2_l = 1.92596299112661746887e-08; /* 0x3E54AE0B, 0xF85DDF44 =1/ln2 tail*/
#ifdef __STDC__
double __ieee754_pow(double x, double y)
#else
double __ieee754_pow(x,y)
double x, y;
#endif
{
fd_twoints ux, uy, uz;
double y1,t1,p_h,t,z,ax;
double z_h,z_l,p_l;
double t2,r,s,u,v,w;
int i,j,k,yisint,n;
int hx,hy,ix,iy;
unsigned lx,ly;
ux.d = x; uy.d = y;
hx = __HI(ux); lx = __LO(ux);
hy = __HI(uy); ly = __LO(uy);
ix = hx&0x7fffffff; iy = hy&0x7fffffff;
/* y==zero: x**0 = 1 */
if((iy|ly)==0) return one;
/* +-NaN return x+y */
if(ix > 0x7ff00000 || ((ix==0x7ff00000)&&(lx!=0)) ||
iy > 0x7ff00000 || ((iy==0x7ff00000)&&(ly!=0)))
return x+y;
/* determine if y is an odd int when x < 0
* yisint = 0 ... y is not an integer
* yisint = 1 ... y is an odd int
* yisint = 2 ... y is an even int
*/
yisint = 0;
if(hx<0) {
if(iy>=0x43400000) yisint = 2; /* even integer y */
else if(iy>=0x3ff00000) {
k = (iy>>20)-0x3ff; /* exponent */
if(k>20) {
j = ly>>(52-k);
if((j<<(52-k))==(int)ly) yisint = 2-(j&1);
} else if(ly==0) {
j = iy>>(20-k);
if((j<<(20-k))==iy) yisint = 2-(j&1);
}
}
}
/* special value of y */
if(ly==0) {
if (iy==0x7ff00000) { /* y is +-inf */
if(((ix-0x3ff00000)|lx)==0)
#ifdef _WIN32
/* VC++ optimizer reduces y - y to 0 */
return y / y;
#else
return y - y; /* inf**+-1 is NaN */
#endif
else if (ix >= 0x3ff00000)/* (|x|>1)**+-inf = inf,0 */
return (hy>=0)? y: zero;
else /* (|x|<1)**-,+inf = inf,0 */
return (hy<0)?-y: zero;
}
if(iy==0x3ff00000) { /* y is +-1 */
if(hy<0) return one/x; else return x;
}
if(hy==0x40000000) return x*x; /* y is 2 */
if(hy==0x3fe00000) { /* y is 0.5 */
if(hx>=0) /* x >= +0 */
return fd_sqrt(x);
}
}
ax = fd_fabs(x);
/* special value of x */
if(lx==0) {
if(ix==0x7ff00000||ix==0||ix==0x3ff00000){
z = ax; /*x is +-0,+-inf,+-1*/
if(hy<0) z = one/z; /* z = (1/|x|) */
if(hx<0) {
if(((ix-0x3ff00000)|yisint)==0) {
z = (z-z)/(z-z); /* (-1)**non-int is NaN */
} else if(yisint==1) {
#ifdef HPUX
uz.d = z;
__HI(uz) ^= 1<<31; /* some HPUXes cannot negate 0.. */
z = uz.d;
#else
z = -z; /* (x<0)**odd = -(|x|**odd) */
#endif
}
}
return z;
}
}
/* (x<0)**(non-int) is NaN */
if((((hx>>31)+1)|yisint)==0) return (x-x)/(x-x);
/* |y| is really_big */
if(iy>0x41e00000) { /* if |y| > 2**31 */
if(iy>0x43f00000){ /* if |y| > 2**64, must o/uflow */
if(ix<=0x3fefffff) return (hy<0)? really_big*really_big:tiny*tiny;
if(ix>=0x3ff00000) return (hy>0)? really_big*really_big:tiny*tiny;
}
/* over/underflow if x is not close to one */
if(ix<0x3fefffff) return (hy<0)? really_big*really_big:tiny*tiny;
if(ix>0x3ff00000) return (hy>0)? really_big*really_big:tiny*tiny;
/* now |1-x| is tiny <= 2**-20, suffice to compute
log(x) by x-x^2/2+x^3/3-x^4/4 */
t = x-1; /* t has 20 trailing zeros */
w = (t*t)*(0.5-t*(0.3333333333333333333333-t*0.25));
u = ivln2_h*t; /* ivln2_h has 21 sig. bits */
v = t*ivln2_l-w*ivln2;
t1 = u+v;
uz.d = t1;
__LO(uz) = 0;
t1 = uz.d;
t2 = v-(t1-u);
} else {
double s_h,t_h;
double s2,s_l,t_l;
n = 0;
/* take care subnormal number */
if(ix<0x00100000)
{ax *= two53; n -= 53; uz.d = ax; ix = __HI(uz); }
n += ((ix)>>20)-0x3ff;
j = ix&0x000fffff;
/* determine interval */
ix = j|0x3ff00000; /* normalize ix */
if(j<=0x3988E) k=0; /* |x|<sqrt(3/2) */
else if(j<0xBB67A) k=1; /* |x|<sqrt(3) */
else {k=0;n+=1;ix -= 0x00100000;}
uz.d = ax;
__HI(uz) = ix;
ax = uz.d;
/* compute s = s_h+s_l = (x-1)/(x+1) or (x-1.5)/(x+1.5) */
u = ax-bp[k]; /* bp[0]=1.0, bp[1]=1.5 */
v = one/(ax+bp[k]);
s = u*v;
s_h = s;
uz.d = s_h;
__LO(uz) = 0;
s_h = uz.d;
/* t_h=ax+bp[k] High */
t_h = zero;
uz.d = t_h;
__HI(uz)=((ix>>1)|0x20000000)+0x00080000+(k<<18);
t_h = uz.d;
t_l = ax - (t_h-bp[k]);
s_l = v*((u-s_h*t_h)-s_h*t_l);
/* compute log(ax) */
s2 = s*s;
r = s2*s2*(L1+s2*(L2+s2*(L3+s2*(L4+s2*(L5+s2*L6)))));
r += s_l*(s_h+s);
s2 = s_h*s_h;
t_h = 3.0+s2+r;
uz.d = t_h;
__LO(uz) = 0;
t_h = uz.d;
t_l = r-((t_h-3.0)-s2);
/* u+v = s*(1+...) */
u = s_h*t_h;
v = s_l*t_h+t_l*s;
/* 2/(3log2)*(s+...) */
p_h = u+v;
uz.d = p_h;
__LO(uz) = 0;
p_h = uz.d;
p_l = v-(p_h-u);
z_h = cp_h*p_h; /* cp_h+cp_l = 2/(3*log2) */
z_l = cp_l*p_h+p_l*cp+dp_l[k];
/* log2(ax) = (s+..)*2/(3*log2) = n + dp_h + z_h + z_l */
t = (double)n;
t1 = (((z_h+z_l)+dp_h[k])+t);
uz.d = t1;
__LO(uz) = 0;
t1 = uz.d;
t2 = z_l-(((t1-t)-dp_h[k])-z_h);
}
s = one; /* s (sign of result -ve**odd) = -1 else = 1 */
if((((hx>>31)+1)|(yisint-1))==0) s = -one;/* (-ve)**(odd int) */
/* split up y into y1+y2 and compute (y1+y2)*(t1+t2) */
y1 = y;
uy.d = y1;
__LO(uy) = 0;
y1 = uy.d;
p_l = (y-y1)*t1+y*t2;
p_h = y1*t1;
z = p_l+p_h;
uz.d = z;
j = __HI(uz);
i = __LO(uz);
if (j>=0x40900000) { /* z >= 1024 */
if(((j-0x40900000)|i)!=0) /* if z > 1024 */
return s*really_big*really_big; /* overflow */
else {
if(p_l+ovt>z-p_h) return s*really_big*really_big; /* overflow */
}
} else if((j&0x7fffffff)>=0x4090cc00 ) { /* z <= -1075 */
if(((j-0xc090cc00)|i)!=0) /* z < -1075 */
return s*tiny*tiny; /* underflow */
else {
if(p_l<=z-p_h) return s*tiny*tiny; /* underflow */
}
}
/*
* compute 2**(p_h+p_l)
*/
i = j&0x7fffffff;
k = (i>>20)-0x3ff;
n = 0;
if(i>0x3fe00000) { /* if |z| > 0.5, set n = [z+0.5] */
n = j+(0x00100000>>(k+1));
k = ((n&0x7fffffff)>>20)-0x3ff; /* new k for n */
t = zero;
uz.d = t;
__HI(uz) = (n&~(0x000fffff>>k));
t = uz.d;
n = ((n&0x000fffff)|0x00100000)>>(20-k);
if(j<0) n = -n;
p_h -= t;
}
t = p_l+p_h;
uz.d = t;
__LO(uz) = 0;
t = uz.d;
u = t*lg2_h;
v = (p_l-(t-p_h))*lg2+t*lg2_l;
z = u+v;
w = v-(z-u);
t = z*z;
t1 = z - t*(P1+t*(P2+t*(P3+t*(P4+t*P5))));
r = (z*t1)/(t1-two)-(w+z*w);
z = one-(r-z);
uz.d = z;
j = __HI(uz);
j += (n<<20);
if((j>>20)<=0) z = fd_scalbn(z,n); /* subnormal output */
else { uz.d = z; __HI(uz) += (n<<20); z = uz.d; }
return s*z;
}

View File

@@ -0,0 +1,216 @@
/* -*- 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_rem_pio2.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_rem_pio2(x,y)
*
* return the remainder of x rem pi/2 in y[0]+y[1]
* use __kernel_rem_pio2()
*/
#include "fdlibm.h"
/*
* Table of constants for 2/pi, 396 Hex digits (476 decimal) of 2/pi
*/
#ifdef __STDC__
static const int two_over_pi[] = {
#else
static int two_over_pi[] = {
#endif
0xA2F983, 0x6E4E44, 0x1529FC, 0x2757D1, 0xF534DD, 0xC0DB62,
0x95993C, 0x439041, 0xFE5163, 0xABDEBB, 0xC561B7, 0x246E3A,
0x424DD2, 0xE00649, 0x2EEA09, 0xD1921C, 0xFE1DEB, 0x1CB129,
0xA73EE8, 0x8235F5, 0x2EBB44, 0x84E99C, 0x7026B4, 0x5F7E41,
0x3991D6, 0x398353, 0x39F49C, 0x845F8B, 0xBDF928, 0x3B1FF8,
0x97FFDE, 0x05980F, 0xEF2F11, 0x8B5A0A, 0x6D1F6D, 0x367ECF,
0x27CB09, 0xB74F46, 0x3F669E, 0x5FEA2D, 0x7527BA, 0xC7EBE5,
0xF17B3D, 0x0739F7, 0x8A5292, 0xEA6BFB, 0x5FB11F, 0x8D5D08,
0x560330, 0x46FC7B, 0x6BABF0, 0xCFBC20, 0x9AF436, 0x1DA9E3,
0x91615E, 0xE61B08, 0x659985, 0x5F14A0, 0x68408D, 0xFFD880,
0x4D7327, 0x310606, 0x1556CA, 0x73A8C9, 0x60E27B, 0xC08C6B,
};
#ifdef __STDC__
static const int npio2_hw[] = {
#else
static int npio2_hw[] = {
#endif
0x3FF921FB, 0x400921FB, 0x4012D97C, 0x401921FB, 0x401F6A7A, 0x4022D97C,
0x4025FDBB, 0x402921FB, 0x402C463A, 0x402F6A7A, 0x4031475C, 0x4032D97C,
0x40346B9C, 0x4035FDBB, 0x40378FDB, 0x403921FB, 0x403AB41B, 0x403C463A,
0x403DD85A, 0x403F6A7A, 0x40407E4C, 0x4041475C, 0x4042106C, 0x4042D97C,
0x4043A28C, 0x40446B9C, 0x404534AC, 0x4045FDBB, 0x4046C6CB, 0x40478FDB,
0x404858EB, 0x404921FB,
};
/*
* invpio2: 53 bits of 2/pi
* pio2_1: first 33 bit of pi/2
* pio2_1t: pi/2 - pio2_1
* pio2_2: second 33 bit of pi/2
* pio2_2t: pi/2 - (pio2_1+pio2_2)
* pio2_3: third 33 bit of pi/2
* pio2_3t: pi/2 - (pio2_1+pio2_2+pio2_3)
*/
#ifdef __STDC__
static const double
#else
static double
#endif
zero = 0.00000000000000000000e+00, /* 0x00000000, 0x00000000 */
half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */
two24 = 1.67772160000000000000e+07, /* 0x41700000, 0x00000000 */
invpio2 = 6.36619772367581382433e-01, /* 0x3FE45F30, 0x6DC9C883 */
pio2_1 = 1.57079632673412561417e+00, /* 0x3FF921FB, 0x54400000 */
pio2_1t = 6.07710050650619224932e-11, /* 0x3DD0B461, 0x1A626331 */
pio2_2 = 6.07710050630396597660e-11, /* 0x3DD0B461, 0x1A600000 */
pio2_2t = 2.02226624879595063154e-21, /* 0x3BA3198A, 0x2E037073 */
pio2_3 = 2.02226624871116645580e-21, /* 0x3BA3198A, 0x2E000000 */
pio2_3t = 8.47842766036889956997e-32; /* 0x397B839A, 0x252049C1 */
#ifdef __STDC__
int __ieee754_rem_pio2(double x, double *y)
#else
int __ieee754_rem_pio2(x,y)
double x,y[];
#endif
{
fd_twoints u, ux, uz;
double z,w,t,r,fn;
double tx[3];
int e0,i,j,nx,n,ix,hx;
u.d = x;
hx = __HI(u); /* high word of x */
ix = hx&0x7fffffff;
if(ix<=0x3fe921fb) /* |x| ~<= pi/4 , no need for reduction */
{y[0] = x; y[1] = 0; return 0;}
if(ix<0x4002d97c) { /* |x| < 3pi/4, special case with n=+-1 */
if(hx>0) {
z = x - pio2_1;
if(ix!=0x3ff921fb) { /* 33+53 bit pi is good enough */
y[0] = z - pio2_1t;
y[1] = (z-y[0])-pio2_1t;
} else { /* near pi/2, use 33+33+53 bit pi */
z -= pio2_2;
y[0] = z - pio2_2t;
y[1] = (z-y[0])-pio2_2t;
}
return 1;
} else { /* negative x */
z = x + pio2_1;
if(ix!=0x3ff921fb) { /* 33+53 bit pi is good enough */
y[0] = z + pio2_1t;
y[1] = (z-y[0])+pio2_1t;
} else { /* near pi/2, use 33+33+53 bit pi */
z += pio2_2;
y[0] = z + pio2_2t;
y[1] = (z-y[0])+pio2_2t;
}
return -1;
}
}
if(ix<=0x413921fb) { /* |x| ~<= 2^19*(pi/2), medium size */
t = fd_fabs(x);
n = (int) (t*invpio2+half);
fn = (double)n;
r = t-fn*pio2_1;
w = fn*pio2_1t; /* 1st round good to 85 bit */
if(n<32&&ix!=npio2_hw[n-1]) {
y[0] = r-w; /* quick check no cancellation */
} else {
j = ix>>20;
y[0] = r-w;
u.d = y[0];
i = j-(((__HI(u))>>20)&0x7ff);
if(i>16) { /* 2nd iteration needed, good to 118 */
t = r;
w = fn*pio2_2;
r = t-w;
w = fn*pio2_2t-((t-r)-w);
y[0] = r-w;
u.d = y[0];
i = j-(((__HI(u))>>20)&0x7ff);
if(i>49) { /* 3rd iteration need, 151 bits acc */
t = r; /* will cover all possible cases */
w = fn*pio2_3;
r = t-w;
w = fn*pio2_3t-((t-r)-w);
y[0] = r-w;
}
}
}
y[1] = (r-y[0])-w;
if(hx<0) {y[0] = -y[0]; y[1] = -y[1]; return -n;}
else return n;
}
/*
* all other (large) arguments
*/
if(ix>=0x7ff00000) { /* x is inf or NaN */
y[0]=y[1]=x-x; return 0;
}
/* set z = scalbn(|x|,ilogb(x)-23) */
ux.d = x; uz.d = z;
__LO(uz) = __LO(ux);
z = uz.d;
e0 = (ix>>20)-1046; /* e0 = ilogb(z)-23; */
uz.d = z;
__HI(uz) = ix - (e0<<20);
z = uz.d;
for(i=0;i<2;i++) {
tx[i] = (double)((int)(z));
z = (z-tx[i])*two24;
}
tx[2] = z;
nx = 3;
while(tx[nx-1]==zero) nx--; /* skip zero term */
n = __kernel_rem_pio2(tx,y,e0,nx,2,two_over_pi);
if(hx<0) {y[0] = -y[0]; y[1] = -y[1]; return -n;}
return n;
}

View File

@@ -0,0 +1,115 @@
/* -*- 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_remainder.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_remainder(x,p)
* Return :
* returns x REM p = x - [x/p]*p as if in infinite
* precise arithmetic, where [x/p] is the (infinite bit)
* integer nearest x/p (in half way case choose the even one).
* Method :
* Based on fmod() return x-[x/p]chopped*p exactlp.
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double zero = 0.0;
#else
static double zero = 0.0;
#endif
#ifdef __STDC__
double __ieee754_remainder(double x, double p)
#else
double __ieee754_remainder(x,p)
double x,p;
#endif
{
fd_twoints u;
int hx,hp;
unsigned sx,lx,lp;
double p_half;
u.d = x;
hx = __HI(u); /* high word of x */
lx = __LO(u); /* low word of x */
u.d = p;
hp = __HI(u); /* high word of p */
lp = __LO(u); /* low word of p */
sx = hx&0x80000000;
hp &= 0x7fffffff;
hx &= 0x7fffffff;
/* purge off exception values */
if((hp|lp)==0) return (x*p)/(x*p); /* p = 0 */
if((hx>=0x7ff00000)|| /* x not finite */
((hp>=0x7ff00000)&& /* p is NaN */
(((hp-0x7ff00000)|lp)!=0)))
return (x*p)/(x*p);
if (hp<=0x7fdfffff) x = __ieee754_fmod(x,p+p); /* now x < 2p */
if (((hx-hp)|(lx-lp))==0) return zero*x;
x = fd_fabs(x);
p = fd_fabs(p);
if (hp<0x00200000) {
if(x+x>p) {
x-=p;
if(x+x>=p) x -= p;
}
} else {
p_half = 0.5*p;
if(x>p_half) {
x-=p;
if(x>=p_half) x -= p;
}
}
u.d = x;
__HI(u) ^= sx;
x = u.d;
return x;
}

View File

@@ -0,0 +1,84 @@
/* -*- 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_scalb.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_scalb(x, fn) is provide for
* passing various standard test suite. One
* should use scalbn() instead.
*/
#include "fdlibm.h"
#ifdef _SCALB_INT
#ifdef __STDC__
double __ieee754_scalb(double x, int fn)
#else
double __ieee754_scalb(x,fn)
double x; int fn;
#endif
#else
#ifdef __STDC__
double __ieee754_scalb(double x, double fn)
#else
double __ieee754_scalb(x,fn)
double x, fn;
#endif
#endif
{
#ifdef _SCALB_INT
return fd_scalbn(x,fn);
#else
if (fd_isnan(x)||fd_isnan(fn)) return x*fn;
if (!fd_finite(fn)) {
if(fn>0.0) return x*fn;
else return x/(-fn);
}
if (fd_rint(fn)!=fn) return (fn-fn)/(fn-fn);
if ( fn > 65000.0) return fd_scalbn(x, 65000);
if (-fn > 65000.0) return fd_scalbn(x,-65000);
return fd_scalbn(x,(int)fn);
#endif
}

View File

@@ -0,0 +1,117 @@
/* -*- 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_sinh.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_sinh(x)
* Method :
* mathematically sinh(x) if defined to be (exp(x)-exp(-x))/2
* 1. Replace x by |x| (sinh(-x) = -sinh(x)).
* 2.
* E + E/(E+1)
* 0 <= x <= 22 : sinh(x) := --------------, E=expm1(x)
* 2
*
* 22 <= x <= lnovft : sinh(x) := exp(x)/2
* lnovft <= x <= ln2ovft: sinh(x) := exp(x/2)/2 * exp(x/2)
* ln2ovft < x : sinh(x) := x*shuge (overflow)
*
* Special cases:
* sinh(x) is |x| if x is +INF, -INF, or NaN.
* only sinh(0)=0 is exact for finite x.
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double one = 1.0, shuge = 1.0e307;
#else
static double one = 1.0, shuge = 1.0e307;
#endif
#ifdef __STDC__
double __ieee754_sinh(double x)
#else
double __ieee754_sinh(x)
double x;
#endif
{
fd_twoints u;
double t,w,h;
int ix,jx;
unsigned lx;
/* High word of |x|. */
u.d = x;
jx = __HI(u);
ix = jx&0x7fffffff;
/* x is INF or NaN */
if(ix>=0x7ff00000) return x+x;
h = 0.5;
if (jx<0) h = -h;
/* |x| in [0,22], return sign(x)*0.5*(E+E/(E+1))) */
if (ix < 0x40360000) { /* |x|<22 */
if (ix<0x3e300000) /* |x|<2**-28 */
if(shuge+x>one) return x;/* sinh(tiny) = tiny with inexact */
t = fd_expm1(fd_fabs(x));
if(ix<0x3ff00000) return h*(2.0*t-t*t/(t+one));
return h*(t+t/(t+one));
}
/* |x| in [22, log(maxdouble)] return 0.5*exp(|x|) */
if (ix < 0x40862E42) return h*__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(0.5*fd_fabs(x));
t = h*w;
return t*w;
}
/* |x| > overflowthresold, sinh(x) overflow */
return x*shuge;
}

View File

@@ -0,0 +1,487 @@
/* -*- 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_sqrt.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_sqrt(x)
* Return correctly rounded sqrt.
* ------------------------------------------
* | Use the hardware sqrt if you have one |
* ------------------------------------------
* Method:
* Bit by bit method using integer arithmetic. (Slow, but portable)
* 1. Normalization
* Scale x to y in [1,4) with even powers of 2:
* find an integer k such that 1 <= (y=x*2^(2k)) < 4, then
* sqrt(x) = 2^k * sqrt(y)
* 2. Bit by bit computation
* Let q = sqrt(y) truncated to i bit after binary point (q = 1),
* i 0
* i+1 2
* s = 2*q , and y = 2 * ( y - q ). (1)
* i i i i
*
* To compute q from q , one checks whether
* i+1 i
*
* -(i+1) 2
* (q + 2 ) <= y. (2)
* i
* -(i+1)
* If (2) is false, then q = q ; otherwise q = q + 2 .
* i+1 i i+1 i
*
* With some algebric manipulation, it is not difficult to see
* that (2) is equivalent to
* -(i+1)
* s + 2 <= y (3)
* i i
*
* The advantage of (3) is that s and y can be computed by
* i i
* the following recurrence formula:
* if (3) is false
*
* s = s , y = y ; (4)
* i+1 i i+1 i
*
* otherwise,
* -i -(i+1)
* s = s + 2 , y = y - s - 2 (5)
* i+1 i i+1 i i
*
* One may easily use induction to prove (4) and (5).
* Note. Since the left hand side of (3) contain only i+2 bits,
* it does not necessary to do a full (53-bit) comparison
* in (3).
* 3. Final rounding
* After generating the 53 bits result, we compute one more bit.
* Together with the remainder, we can decide whether the
* result is exact, bigger than 1/2ulp, or less than 1/2ulp
* (it will never equal to 1/2ulp).
* The rounding mode can be detected by checking whether
* huge + tiny is equal to huge, and whether huge - tiny is
* equal to huge for some floating point number "huge" and "tiny".
*
* Special cases:
* sqrt(+-0) = +-0 ... exact
* sqrt(inf) = inf
* sqrt(-ve) = NaN ... with invalid signal
* sqrt(NaN) = NaN ... with invalid signal for signaling NaN
*
* Other methods : see the appended file at the end of the program below.
*---------------
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double one = 1.0, tiny=1.0e-300;
#else
static double one = 1.0, tiny=1.0e-300;
#endif
#ifdef __STDC__
double __ieee754_sqrt(double x)
#else
double __ieee754_sqrt(x)
double x;
#endif
{
fd_twoints u;
double z;
int sign = (int)0x80000000;
unsigned r,t1,s1,ix1,q1;
int ix0,s0,q,m,t,i;
u.d = x;
ix0 = __HI(u); /* high word of x */
ix1 = __LO(u); /* low word of x */
/* take care of Inf and NaN */
if((ix0&0x7ff00000)==0x7ff00000) {
return x*x+x; /* sqrt(NaN)=NaN, sqrt(+inf)=+inf
sqrt(-inf)=sNaN */
}
/* take care of zero */
if(ix0<=0) {
if(((ix0&(~sign))|ix1)==0) return x;/* sqrt(+-0) = +-0 */
else if(ix0<0)
return (x-x)/(x-x); /* sqrt(-ve) = sNaN */
}
/* normalize x */
m = (ix0>>20);
if(m==0) { /* subnormal x */
while(ix0==0) {
m -= 21;
ix0 |= (ix1>>11); ix1 <<= 21;
}
for(i=0;(ix0&0x00100000)==0;i++) ix0<<=1;
m -= i-1;
ix0 |= (ix1>>(32-i));
ix1 <<= i;
}
m -= 1023; /* unbias exponent */
ix0 = (ix0&0x000fffff)|0x00100000;
if(m&1){ /* odd m, double x to make it even */
ix0 += ix0 + ((ix1&sign)>>31);
ix1 += ix1;
}
m >>= 1; /* m = [m/2] */
/* generate sqrt(x) bit by bit */
ix0 += ix0 + ((ix1&sign)>>31);
ix1 += ix1;
q = q1 = s0 = s1 = 0; /* [q,q1] = sqrt(x) */
r = 0x00200000; /* r = moving bit from right to left */
while(r!=0) {
t = s0+r;
if(t<=ix0) {
s0 = t+r;
ix0 -= t;
q += r;
}
ix0 += ix0 + ((ix1&sign)>>31);
ix1 += ix1;
r>>=1;
}
r = sign;
while(r!=0) {
t1 = s1+r;
t = s0;
if((t<ix0)||((t==ix0)&&(t1<=ix1))) {
s1 = t1+r;
if(((int)(t1&sign)==sign)&&(s1&sign)==0) s0 += 1;
ix0 -= t;
if (ix1 < t1) ix0 -= 1;
ix1 -= t1;
q1 += r;
}
ix0 += ix0 + ((ix1&sign)>>31);
ix1 += ix1;
r>>=1;
}
/* use floating add to find out rounding direction */
if((ix0|ix1)!=0) {
z = one-tiny; /* trigger inexact flag */
if (z>=one) {
z = one+tiny;
if (q1==(unsigned)0xffffffff) { q1=0; q += 1;}
else if (z>one) {
if (q1==(unsigned)0xfffffffe) q+=1;
q1+=2;
} else
q1 += (q1&1);
}
}
ix0 = (q>>1)+0x3fe00000;
ix1 = q1>>1;
if ((q&1)==1) ix1 |= sign;
ix0 += (m <<20);
u.d = z;
__HI(u) = ix0;
__LO(u) = ix1;
z = u.d;
return z;
}
/*
Other methods (use floating-point arithmetic)
-------------
(This is a copy of a drafted paper by Prof W. Kahan
and K.C. Ng, written in May, 1986)
Two algorithms are given here to implement sqrt(x)
(IEEE double precision arithmetic) in software.
Both supply sqrt(x) correctly rounded. The first algorithm (in
Section A) uses newton iterations and involves four divisions.
The second one uses reciproot iterations to avoid division, but
requires more multiplications. Both algorithms need the ability
to chop results of arithmetic operations instead of round them,
and the INEXACT flag to indicate when an arithmetic operation
is executed exactly with no roundoff error, all part of the
standard (IEEE 754-1985). The ability to perform shift, add,
subtract and logical AND operations upon 32-bit words is needed
too, though not part of the standard.
A. sqrt(x) by Newton Iteration
(1) Initial approximation
Let x0 and x1 be the leading and the trailing 32-bit words of
a floating point number x (in IEEE double format) respectively
1 11 52 ...widths
------------------------------------------------------
x: |s| e | f |
------------------------------------------------------
msb lsb msb lsb ...order
------------------------ ------------------------
x0: |s| e | f1 | x1: | f2 |
------------------------ ------------------------
By performing shifts and subtracts on x0 and x1 (both regarded
as integers), we obtain an 8-bit approximation of sqrt(x) as
follows.
k := (x0>>1) + 0x1ff80000;
y0 := k - T1[31&(k>>15)]. ... y ~ sqrt(x) to 8 bits
Here k is a 32-bit integer and T1[] is an integer array containing
correction terms. Now magically the floating value of y (y's
leading 32-bit word is y0, the value of its trailing word is 0)
approximates sqrt(x) to almost 8-bit.
Value of T1:
static int T1[32]= {
0, 1024, 3062, 5746, 9193, 13348, 18162, 23592,
29598, 36145, 43202, 50740, 58733, 67158, 75992, 85215,
83599, 71378, 60428, 50647, 41945, 34246, 27478, 21581,
16499, 12183, 8588, 5674, 3403, 1742, 661, 130,};
(2) Iterative refinement
Apply Heron's rule three times to y, we have y approximates
sqrt(x) to within 1 ulp (Unit in the Last Place):
y := (y+x/y)/2 ... almost 17 sig. bits
y := (y+x/y)/2 ... almost 35 sig. bits
y := y-(y-x/y)/2 ... within 1 ulp
Remark 1.
Another way to improve y to within 1 ulp is:
y := (y+x/y) ... almost 17 sig. bits to 2*sqrt(x)
y := y - 0x00100006 ... almost 18 sig. bits to sqrt(x)
2
(x-y )*y
y := y + 2* ---------- ...within 1 ulp
2
3y + x
This formula has one division fewer than the one above; however,
it requires more multiplications and additions. Also x must be
scaled in advance to avoid spurious overflow in evaluating the
expression 3y*y+x. Hence it is not recommended uless division
is slow. If division is very slow, then one should use the
reciproot algorithm given in section B.
(3) Final adjustment
By twiddling y's last bit it is possible to force y to be
correctly rounded according to the prevailing rounding mode
as follows. Let r and i be copies of the rounding mode and
inexact flag before entering the square root program. Also we
use the expression y+-ulp for the next representable floating
numbers (up and down) of y. Note that y+-ulp = either fixed
point y+-1, or multiply y by nextafter(1,+-inf) in chopped
mode.
I := FALSE; ... reset INEXACT flag I
R := RZ; ... set rounding mode to round-toward-zero
z := x/y; ... chopped quotient, possibly inexact
If(not I) then { ... if the quotient is exact
if(z=y) {
I := i; ... restore inexact flag
R := r; ... restore rounded mode
return sqrt(x):=y.
} else {
z := z - ulp; ... special rounding
}
}
i := TRUE; ... sqrt(x) is inexact
If (r=RN) then z=z+ulp ... rounded-to-nearest
If (r=RP) then { ... round-toward-+inf
y = y+ulp; z=z+ulp;
}
y := y+z; ... chopped sum
y0:=y0-0x00100000; ... y := y/2 is correctly rounded.
I := i; ... restore inexact flag
R := r; ... restore rounded mode
return sqrt(x):=y.
(4) Special cases
Square root of +inf, +-0, or NaN is itself;
Square root of a negative number is NaN with invalid signal.
B. sqrt(x) by Reciproot Iteration
(1) Initial approximation
Let x0 and x1 be the leading and the trailing 32-bit words of
a floating point number x (in IEEE double format) respectively
(see section A). By performing shifs and subtracts on x0 and y0,
we obtain a 7.8-bit approximation of 1/sqrt(x) as follows.
k := 0x5fe80000 - (x0>>1);
y0:= k - T2[63&(k>>14)]. ... y ~ 1/sqrt(x) to 7.8 bits
Here k is a 32-bit integer and T2[] is an integer array
containing correction terms. Now magically the floating
value of y (y's leading 32-bit word is y0, the value of
its trailing word y1 is set to zero) approximates 1/sqrt(x)
to almost 7.8-bit.
Value of T2:
static int T2[64]= {
0x1500, 0x2ef8, 0x4d67, 0x6b02, 0x87be, 0xa395, 0xbe7a, 0xd866,
0xf14a, 0x1091b,0x11fcd,0x13552,0x14999,0x15c98,0x16e34,0x17e5f,
0x18d03,0x19a01,0x1a545,0x1ae8a,0x1b5c4,0x1bb01,0x1bfde,0x1c28d,
0x1c2de,0x1c0db,0x1ba73,0x1b11c,0x1a4b5,0x1953d,0x18266,0x16be0,
0x1683e,0x179d8,0x18a4d,0x19992,0x1a789,0x1b445,0x1bf61,0x1c989,
0x1d16d,0x1d77b,0x1dddf,0x1e2ad,0x1e5bf,0x1e6e8,0x1e654,0x1e3cd,
0x1df2a,0x1d635,0x1cb16,0x1be2c,0x1ae4e,0x19bde,0x1868e,0x16e2e,
0x1527f,0x1334a,0x11051,0xe951, 0xbe01, 0x8e0d, 0x5924, 0x1edd,};
(2) Iterative refinement
Apply Reciproot iteration three times to y and multiply the
result by x to get an approximation z that matches sqrt(x)
to about 1 ulp. To be exact, we will have
-1ulp < sqrt(x)-z<1.0625ulp.
... set rounding mode to Round-to-nearest
y := y*(1.5-0.5*x*y*y) ... almost 15 sig. bits to 1/sqrt(x)
y := y*((1.5-2^-30)+0.5*x*y*y)... about 29 sig. bits to 1/sqrt(x)
... special arrangement for better accuracy
z := x*y ... 29 bits to sqrt(x), with z*y<1
z := z + 0.5*z*(1-z*y) ... about 1 ulp to sqrt(x)
Remark 2. The constant 1.5-2^-30 is chosen to bias the error so that
(a) the term z*y in the final iteration is always less than 1;
(b) the error in the final result is biased upward so that
-1 ulp < sqrt(x) - z < 1.0625 ulp
instead of |sqrt(x)-z|<1.03125ulp.
(3) Final adjustment
By twiddling y's last bit it is possible to force y to be
correctly rounded according to the prevailing rounding mode
as follows. Let r and i be copies of the rounding mode and
inexact flag before entering the square root program. Also we
use the expression y+-ulp for the next representable floating
numbers (up and down) of y. Note that y+-ulp = either fixed
point y+-1, or multiply y by nextafter(1,+-inf) in chopped
mode.
R := RZ; ... set rounding mode to round-toward-zero
switch(r) {
case RN: ... round-to-nearest
if(x<= z*(z-ulp)...chopped) z = z - ulp; else
if(x<= z*(z+ulp)...chopped) z = z; else z = z+ulp;
break;
case RZ:case RM: ... round-to-zero or round-to--inf
R:=RP; ... reset rounding mod to round-to-+inf
if(x<z*z ... rounded up) z = z - ulp; else
if(x>=(z+ulp)*(z+ulp) ...rounded up) z = z+ulp;
break;
case RP: ... round-to-+inf
if(x>(z+ulp)*(z+ulp)...chopped) z = z+2*ulp; else
if(x>z*z ...chopped) z = z+ulp;
break;
}
Remark 3. The above comparisons can be done in fixed point. For
example, to compare x and w=z*z chopped, it suffices to compare
x1 and w1 (the trailing parts of x and w), regarding them as
two's complement integers.
...Is z an exact square root?
To determine whether z is an exact square root of x, let z1 be the
trailing part of z, and also let x0 and x1 be the leading and
trailing parts of x.
If ((z1&0x03ffffff)!=0) ... not exact if trailing 26 bits of z!=0
I := 1; ... Raise Inexact flag: z is not exact
else {
j := 1 - [(x0>>20)&1] ... j = logb(x) mod 2
k := z1 >> 26; ... get z's 25-th and 26-th
fraction bits
I := i or (k&j) or ((k&(j+j+1))!=(x1&3));
}
R:= r ... restore rounded mode
return sqrt(x):=z.
If multiplication is cheaper then the foregoing red tape, the
Inexact flag can be evaluated by
I := i;
I := (z*z!=x) or I.
Note that z*z can overwrite I; this value must be sensed if it is
True.
Remark 4. If z*z = x exactly, then bit 25 to bit 0 of z1 must be
zero.
--------------------
z1: | f2 |
--------------------
bit 31 bit 0
Further more, bit 27 and 26 of z1, bit 0 and 1 of x1, and the odd
or even of logb(x) have the following relations:
-------------------------------------------------
bit 27,26 of z1 bit 1,0 of x1 logb(x)
-------------------------------------------------
00 00 odd and even
01 01 even
10 10 odd
10 00 even
11 01 even
-------------------------------------------------
(4) Special cases (see (4) of Section A).
*/

View File

@@ -0,0 +1,268 @@
/* -*- 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.
*/
/* @(#)fdlibm.h 1.5 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.
* ====================================================
*/
/* Modified defines start here.. */
#undef __LITTLE_ENDIAN
#ifdef _WIN32
#define huge myhuge
#define __LITTLE_ENDIAN
#endif
#ifdef XP_OS2
#define __LITTLE_ENDIAN
#endif
#if defined(linux) && defined(__i386__)
#define __LITTLE_ENDIAN
#endif
/* End here. The rest is the standard file. */
#ifdef __NEWVALID /* special setup for Sun test regime */
#if defined(i386) || defined(i486) || \
defined(intel) || defined(x86) || defined(i86pc)
#define __LITTLE_ENDIAN
#endif
#endif
typedef union {
#ifdef __LITTLE_ENDIAN
struct { int lo, hi; } ints;
#else
struct { int hi, lo; } ints;
#endif
double d;
} fd_twoints;
#define __HI(x) x.ints.hi
#define __LO(x) x.ints.lo
#undef __P
#ifdef __STDC__
#define __P(p) p
#else
#define __P(p) ()
#endif
/*
* ANSI/POSIX
*/
extern int signgam;
#define MAXFLOAT ((float)3.40282346638528860e+38)
enum fdversion {fdlibm_ieee = -1, fdlibm_svid, fdlibm_xopen, fdlibm_posix};
#define _LIB_VERSION_TYPE enum fdversion
#define _LIB_VERSION _fdlib_version
/* if global variable _LIB_VERSION is not desirable, one may
* change the following to be a constant by:
* #define _LIB_VERSION_TYPE const enum version
* In that case, after one initializes the value _LIB_VERSION (see
* s_lib_version.c) during compile time, it cannot be modified
* in the middle of a program
*/
extern _LIB_VERSION_TYPE _LIB_VERSION;
#define _IEEE_ fdlibm_ieee
#define _SVID_ fdlibm_svid
#define _XOPEN_ fdlibm_xopen
#define _POSIX_ fdlibm_posix
struct exception {
int type;
char *name;
double arg1;
double arg2;
double retval;
};
#define HUGE MAXFLOAT
/*
* set X_TLOSS = pi*2**52, which is possibly defined in <values.h>
* (one may replace the following line by "#include <values.h>")
*/
#define X_TLOSS 1.41484755040568800000e+16
#define DOMAIN 1
#define SING 2
#define OVERFLOW 3
#define UNDERFLOW 4
#define TLOSS 5
#define PLOSS 6
/*
* ANSI/POSIX
*/
extern double fd_acos __P((double));
extern double fd_asin __P((double));
extern double fd_atan __P((double));
extern double fd_atan2 __P((double, double));
extern double fd_cos __P((double));
extern double fd_sin __P((double));
extern double fd_tan __P((double));
extern double fd_cosh __P((double));
extern double fd_sinh __P((double));
extern double fd_tanh __P((double));
extern double fd_exp __P((double));
extern double fd_frexp __P((double, int *));
extern double fd_ldexp __P((double, int));
extern double fd_log __P((double));
extern double fd_log10 __P((double));
extern double fd_modf __P((double, double *));
extern double fd_pow __P((double, double));
extern double fd_sqrt __P((double));
extern double fd_ceil __P((double));
extern double fd_fabs __P((double));
extern double fd_floor __P((double));
extern double fd_fmod __P((double, double));
extern double fd_erf __P((double));
extern double fd_erfc __P((double));
extern double fd_gamma __P((double));
extern double fd_hypot __P((double, double));
extern int fd_isnan __P((double));
extern int fd_finite __P((double));
extern double fd_j0 __P((double));
extern double fd_j1 __P((double));
extern double fd_jn __P((int, double));
extern double fd_lgamma __P((double));
extern double fd_y0 __P((double));
extern double fd_y1 __P((double));
extern double fd_yn __P((int, double));
extern double fd_acosh __P((double));
extern double fd_asinh __P((double));
extern double fd_atanh __P((double));
extern double fd_cbrt __P((double));
extern double fd_logb __P((double));
extern double fd_nextafter __P((double, double));
extern double fd_remainder __P((double, double));
#ifdef _SCALB_INT
extern double fd_scalb __P((double, int));
#else
extern double fd_scalb __P((double, double));
#endif
extern int fd_matherr __P((struct exception *));
/*
* IEEE Test Vector
*/
extern double significand __P((double));
/*
* Functions callable from C, intended to support IEEE arithmetic.
*/
extern double fd_copysign __P((double, double));
extern int fd_ilogb __P((double));
extern double fd_rint __P((double));
extern double fd_scalbn __P((double, int));
/*
* BSD math library entry points
*/
extern double fd_expm1 __P((double));
extern double fd_log1p __P((double));
/*
* Reentrant version of gamma & lgamma; passes signgam back by reference
* as the second argument; user must allocate space for signgam.
*/
#ifdef _REENTRANT
extern double gamma_r __P((double, int *));
extern double lgamma_r __P((double, int *));
#endif /* _REENTRANT */
/* ieee style elementary functions */
extern double __ieee754_sqrt __P((double));
extern double __ieee754_acos __P((double));
extern double __ieee754_acosh __P((double));
extern double __ieee754_log __P((double));
extern double __ieee754_atanh __P((double));
extern double __ieee754_asin __P((double));
extern double __ieee754_atan2 __P((double,double));
extern double __ieee754_exp __P((double));
extern double __ieee754_cosh __P((double));
extern double __ieee754_fmod __P((double,double));
extern double __ieee754_pow __P((double,double));
extern double __ieee754_lgamma_r __P((double,int *));
extern double __ieee754_gamma_r __P((double,int *));
extern double __ieee754_lgamma __P((double));
extern double __ieee754_gamma __P((double));
extern double __ieee754_log10 __P((double));
extern double __ieee754_sinh __P((double));
extern double __ieee754_hypot __P((double,double));
extern double __ieee754_j0 __P((double));
extern double __ieee754_j1 __P((double));
extern double __ieee754_y0 __P((double));
extern double __ieee754_y1 __P((double));
extern double __ieee754_jn __P((int,double));
extern double __ieee754_yn __P((int,double));
extern double __ieee754_remainder __P((double,double));
extern int __ieee754_rem_pio2 __P((double,double*));
#ifdef _SCALB_INT
extern double __ieee754_scalb __P((double,int));
#else
extern double __ieee754_scalb __P((double,double));
#endif
/* fdlibm kernel function */
extern double __kernel_standard __P((double,double,int));
extern double __kernel_sin __P((double,double,int));
extern double __kernel_cos __P((double,double));
extern double __kernel_tan __P((double,double,int));
extern int __kernel_rem_pio2 __P((double*,double*,int,int,int,const int*));

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -0,0 +1,129 @@
/* -*- 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.
*/
/* @(#)k_cos.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.
* ====================================================
*/
/*
* __kernel_cos( x, y )
* kernel cos function on [-pi/4, pi/4], pi/4 ~ 0.785398164
* Input x is assumed to be bounded by ~pi/4 in magnitude.
* Input y is the tail of x.
*
* Algorithm
* 1. Since cos(-x) = cos(x), we need only to consider positive x.
* 2. if x < 2^-27 (hx<0x3e400000 0), return 1 with inexact if x!=0.
* 3. cos(x) is approximated by a polynomial of degree 14 on
* [0,pi/4]
* 4 14
* cos(x) ~ 1 - x*x/2 + C1*x + ... + C6*x
* where the remez error is
*
* | 2 4 6 8 10 12 14 | -58
* |cos(x)-(1-.5*x +C1*x +C2*x +C3*x +C4*x +C5*x +C6*x )| <= 2
* | |
*
* 4 6 8 10 12 14
* 4. let r = C1*x +C2*x +C3*x +C4*x +C5*x +C6*x , then
* cos(x) = 1 - x*x/2 + r
* since cos(x+y) ~ cos(x) - sin(x)*y
* ~ cos(x) - x*y,
* a correction term is necessary in cos(x) and hence
* cos(x+y) = 1 - (x*x/2 - (r - x*y))
* For better accuracy when x > 0.3, let qx = |x|/4 with
* the last 32 bits mask off, and if x > 0.78125, let qx = 0.28125.
* Then
* cos(x+y) = (1-qx) - ((x*x/2-qx) - (r-x*y)).
* Note that 1-qx and (x*x/2-qx) is EXACT here, and the
* magnitude of the latter is at least a quarter of x*x/2,
* thus, reducing the rounding error in the subtraction.
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */
C1 = 4.16666666666666019037e-02, /* 0x3FA55555, 0x5555554C */
C2 = -1.38888888888741095749e-03, /* 0xBF56C16C, 0x16C15177 */
C3 = 2.48015872894767294178e-05, /* 0x3EFA01A0, 0x19CB1590 */
C4 = -2.75573143513906633035e-07, /* 0xBE927E4F, 0x809C52AD */
C5 = 2.08757232129817482790e-09, /* 0x3E21EE9E, 0xBDB4B1C4 */
C6 = -1.13596475577881948265e-11; /* 0xBDA8FAE9, 0xBE8838D4 */
#ifdef __STDC__
double __kernel_cos(double x, double y)
#else
double __kernel_cos(x, y)
double x,y;
#endif
{
fd_twoints u;
double a,hz,z,r,qx;
int ix;
u.d = x;
ix = __HI(u)&0x7fffffff; /* ix = |x|'s high word*/
if(ix<0x3e400000) { /* if x < 2**27 */
if(((int)x)==0) return one; /* generate inexact */
}
z = x*x;
r = z*(C1+z*(C2+z*(C3+z*(C4+z*(C5+z*C6)))));
if(ix < 0x3FD33333) /* if |x| < 0.3 */
return one - (0.5*z - (z*r - x*y));
else {
if(ix > 0x3fe90000) { /* x > 0.78125 */
qx = 0.28125;
} else {
u.d = qx;
__HI(u) = ix-0x00200000; /* x/4 */
__LO(u) = 0;
qx = u.d;
}
hz = 0.5*z-qx;
a = one-qx;
return a - (hz - (z*r-x*y));
}
}

View File

@@ -0,0 +1,349 @@
/* -*- 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.
*/
/* @(#)k_rem_pio2.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.
* ====================================================
*/
/*
* __kernel_rem_pio2(x,y,e0,nx,prec,ipio2)
* double x[],y[]; int e0,nx,prec; int ipio2[];
*
* __kernel_rem_pio2 return the last three digits of N with
* y = x - N*pi/2
* so that |y| < pi/2.
*
* The method is to compute the integer (mod 8) and fraction parts of
* (2/pi)*x without doing the full multiplication. In general we
* skip the part of the product that are known to be a huge integer (
* more accurately, = 0 mod 8 ). Thus the number of operations are
* independent of the exponent of the input.
*
* (2/pi) is represented by an array of 24-bit integers in ipio2[].
*
* Input parameters:
* x[] The input value (must be positive) is broken into nx
* pieces of 24-bit integers in double precision format.
* x[i] will be the i-th 24 bit of x. The scaled exponent
* of x[0] is given in input parameter e0 (i.e., x[0]*2^e0
* match x's up to 24 bits.
*
* Example of breaking a double positive z into x[0]+x[1]+x[2]:
* e0 = ilogb(z)-23
* z = scalbn(z,-e0)
* for i = 0,1,2
* x[i] = floor(z)
* z = (z-x[i])*2**24
*
*
* y[] ouput result in an array of double precision numbers.
* The dimension of y[] is:
* 24-bit precision 1
* 53-bit precision 2
* 64-bit precision 2
* 113-bit precision 3
* The actual value is the sum of them. Thus for 113-bit
* precison, one may have to do something like:
*
* long double t,w,r_head, r_tail;
* t = (long double)y[2] + (long double)y[1];
* w = (long double)y[0];
* r_head = t+w;
* r_tail = w - (r_head - t);
*
* e0 The exponent of x[0]
*
* nx dimension of x[]
*
* prec an integer indicating the precision:
* 0 24 bits (single)
* 1 53 bits (double)
* 2 64 bits (extended)
* 3 113 bits (quad)
*
* ipio2[]
* integer array, contains the (24*i)-th to (24*i+23)-th
* bit of 2/pi after binary point. The corresponding
* floating value is
*
* ipio2[i] * 2^(-24(i+1)).
*
* External function:
* double scalbn(), floor();
*
*
* Here is the description of some local variables:
*
* jk jk+1 is the initial number of terms of ipio2[] needed
* in the computation. The recommended value is 2,3,4,
* 6 for single, double, extended,and quad.
*
* jz local integer variable indicating the number of
* terms of ipio2[] used.
*
* jx nx - 1
*
* jv index for pointing to the suitable ipio2[] for the
* computation. In general, we want
* ( 2^e0*x[0] * ipio2[jv-1]*2^(-24jv) )/8
* is an integer. Thus
* e0-3-24*jv >= 0 or (e0-3)/24 >= jv
* Hence jv = max(0,(e0-3)/24).
*
* jp jp+1 is the number of terms in PIo2[] needed, jp = jk.
*
* q[] double array with integral value, representing the
* 24-bits chunk of the product of x and 2/pi.
*
* q0 the corresponding exponent of q[0]. Note that the
* exponent for q[i] would be q0-24*i.
*
* PIo2[] double precision array, obtained by cutting pi/2
* into 24 bits chunks.
*
* f[] ipio2[] in floating point
*
* iq[] integer array by breaking up q[] in 24-bits chunk.
*
* fq[] final product of x*(2/pi) in fq[0],..,fq[jk]
*
* ih integer. If >0 it indicates q[] is >= 0.5, hence
* it also indicates the *sign* of the result.
*
*/
/*
* 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 int init_jk[] = {2,3,4,6}; /* initial value for jk */
#else
static int init_jk[] = {2,3,4,6};
#endif
#ifdef __STDC__
static const double PIo2[] = {
#else
static double PIo2[] = {
#endif
1.57079625129699707031e+00, /* 0x3FF921FB, 0x40000000 */
7.54978941586159635335e-08, /* 0x3E74442D, 0x00000000 */
5.39030252995776476554e-15, /* 0x3CF84698, 0x80000000 */
3.28200341580791294123e-22, /* 0x3B78CC51, 0x60000000 */
1.27065575308067607349e-29, /* 0x39F01B83, 0x80000000 */
1.22933308981111328932e-36, /* 0x387A2520, 0x40000000 */
2.73370053816464559624e-44, /* 0x36E38222, 0x80000000 */
2.16741683877804819444e-51, /* 0x3569F31D, 0x00000000 */
};
#ifdef __STDC__
static const double
#else
static double
#endif
zero = 0.0,
one = 1.0,
two24 = 1.67772160000000000000e+07, /* 0x41700000, 0x00000000 */
twon24 = 5.96046447753906250000e-08; /* 0x3E700000, 0x00000000 */
#ifdef __STDC__
int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int *ipio2)
#else
int __kernel_rem_pio2(x,y,e0,nx,prec,ipio2)
double x[], y[]; int e0,nx,prec; int ipio2[];
#endif
{
int jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih;
double z,fw,f[20],fq[20],q[20];
/* initialize jk*/
jk = init_jk[prec];
jp = jk;
/* determine jx,jv,q0, note that 3>q0 */
jx = nx-1;
jv = (e0-3)/24; if(jv<0) jv=0;
q0 = e0-24*(jv+1);
/* set up f[0] to f[jx+jk] where f[jx+jk] = ipio2[jv+jk] */
j = jv-jx; m = jx+jk;
for(i=0;i<=m;i++,j++) f[i] = (j<0)? zero : (double) ipio2[j];
/* compute q[0],q[1],...q[jk] */
for (i=0;i<=jk;i++) {
for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw;
}
jz = jk;
recompute:
/* distill q[] into iq[] reversingly */
for(i=0,j=jz,z=q[jz];j>0;i++,j--) {
fw = (double)((int)(twon24* z));
iq[i] = (int)(z-two24*fw);
z = q[j-1]+fw;
}
/* compute n */
z = fd_scalbn(z,q0); /* actual value of z */
z -= 8.0*fd_floor(z*0.125); /* trim off integer >= 8 */
n = (int) z;
z -= (double)n;
ih = 0;
if(q0>0) { /* need iq[jz-1] to determine n */
i = (iq[jz-1]>>(24-q0)); n += i;
iq[jz-1] -= i<<(24-q0);
ih = iq[jz-1]>>(23-q0);
}
else if(q0==0) ih = iq[jz-1]>>23;
else if(z>=0.5) ih=2;
if(ih>0) { /* q > 0.5 */
n += 1; carry = 0;
for(i=0;i<jz ;i++) { /* compute 1-q */
j = iq[i];
if(carry==0) {
if(j!=0) {
carry = 1; iq[i] = 0x1000000- j;
}
} else iq[i] = 0xffffff - j;
}
if(q0>0) { /* rare case: chance is 1 in 12 */
switch(q0) {
case 1:
iq[jz-1] &= 0x7fffff; break;
case 2:
iq[jz-1] &= 0x3fffff; break;
}
}
if(ih==2) {
z = one - z;
if(carry!=0) z -= fd_scalbn(one,q0);
}
}
/* check if recomputation is needed */
if(z==zero) {
j = 0;
for (i=jz-1;i>=jk;i--) j |= iq[i];
if(j==0) { /* need recomputation */
for(k=1;iq[jk-k]==0;k++); /* k = no. of terms needed */
for(i=jz+1;i<=jz+k;i++) { /* add q[jz+1] to q[jz+k] */
f[jx+i] = (double) ipio2[jv+i];
for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j];
q[i] = fw;
}
jz += k;
goto recompute;
}
}
/* chop off zero terms */
if(z==0.0) {
jz -= 1; q0 -= 24;
while(iq[jz]==0) { jz--; q0-=24;}
} else { /* break z into 24-bit if necessary */
z = fd_scalbn(z,-q0);
if(z>=two24) {
fw = (double)((int)(twon24*z));
iq[jz] = (int)(z-two24*fw);
jz += 1; q0 += 24;
iq[jz] = (int) fw;
} else iq[jz] = (int) z ;
}
/* convert integer "bit" chunk to floating-point value */
fw = fd_scalbn(one,q0);
for(i=jz;i>=0;i--) {
q[i] = fw*(double)iq[i]; fw*=twon24;
}
/* compute PIo2[0,...,jp]*q[jz,...,0] */
for(i=jz;i>=0;i--) {
for(fw=0.0,k=0;k<=jp&&k<=jz-i;k++) fw += PIo2[k]*q[i+k];
fq[jz-i] = fw;
}
/* compress fq[] into y[] */
switch(prec) {
case 0:
fw = 0.0;
for (i=jz;i>=0;i--) fw += fq[i];
y[0] = (ih==0)? fw: -fw;
break;
case 1:
case 2:
fw = 0.0;
for (i=jz;i>=0;i--) fw += fq[i];
y[0] = (ih==0)? fw: -fw;
fw = fq[0]-fw;
for (i=1;i<=jz;i++) fw += fq[i];
y[1] = (ih==0)? fw: -fw;
break;
case 3: /* painful */
for (i=jz;i>0;i--) {
fw = fq[i-1]+fq[i];
fq[i] += fq[i-1]-fw;
fq[i-1] = fw;
}
for (i=jz;i>1;i--) {
fw = fq[i-1]+fq[i];
fq[i] += fq[i-1]-fw;
fq[i-1] = fw;
}
for (fw=0.0,i=jz;i>=2;i--) fw += fq[i];
if(ih==0) {
y[0] = fq[0]; y[1] = fq[1]; y[2] = fw;
} else {
y[0] = -fq[0]; y[1] = -fq[1]; y[2] = -fw;
}
}
return n&7;
}

View File

@@ -0,0 +1,109 @@
/* -*- 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.
*/
/* @(#)k_sin.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.
* ====================================================
*/
/* __kernel_sin( x, y, iy)
* kernel sin function on [-pi/4, pi/4], pi/4 ~ 0.7854
* Input x is assumed to be bounded by ~pi/4 in magnitude.
* Input y is the tail of x.
* Input iy indicates whether y is 0. (if iy=0, y assume to be 0).
*
* Algorithm
* 1. Since sin(-x) = -sin(x), we need only to consider positive x.
* 2. if x < 2^-27 (hx<0x3e400000 0), return x with inexact if x!=0.
* 3. sin(x) is approximated by a polynomial of degree 13 on
* [0,pi/4]
* 3 13
* sin(x) ~ x + S1*x + ... + S6*x
* where
*
* |sin(x) 2 4 6 8 10 12 | -58
* |----- - (1+S1*x +S2*x +S3*x +S4*x +S5*x +S6*x )| <= 2
* | x |
*
* 4. sin(x+y) = sin(x) + sin'(x')*y
* ~ sin(x) + (1-x*x/2)*y
* For better accuracy, let
* 3 2 2 2 2
* r = x *(S2+x *(S3+x *(S4+x *(S5+x *S6))))
* then 3 2
* sin(x) = x + (S1*x + (x *(r-y/2)+y))
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */
S1 = -1.66666666666666324348e-01, /* 0xBFC55555, 0x55555549 */
S2 = 8.33333333332248946124e-03, /* 0x3F811111, 0x1110F8A6 */
S3 = -1.98412698298579493134e-04, /* 0xBF2A01A0, 0x19C161D5 */
S4 = 2.75573137070700676789e-06, /* 0x3EC71DE3, 0x57B1FE7D */
S5 = -2.50507602534068634195e-08, /* 0xBE5AE5E6, 0x8A2B9CEB */
S6 = 1.58969099521155010221e-10; /* 0x3DE5D93A, 0x5ACFD57C */
#ifdef __STDC__
double __kernel_sin(double x, double y, int iy)
#else
double __kernel_sin(x, y, iy)
double x,y; int iy; /* iy=0 if y is zero */
#endif
{
fd_twoints u;
double z,r,v;
int ix;
u.d = x;
ix = __HI(u)&0x7fffffff; /* high word of x */
if(ix<0x3e400000) /* |x| < 2**-27 */
{if((int)x==0) return x;} /* generate inexact */
z = x*x;
v = z*x;
r = S2+z*(S3+z*(S4+z*(S5+z*S6)));
if(iy==0) return x+v*(S1+z*r);
else return x-((z*(half*y-v*r)-y)-v*S1);
}

View File

@@ -0,0 +1,778 @@
/* -*- 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.
*/
/* @(#)k_standard.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.
* ====================================================
*
*/
#include "fdlibm.h"
/* XXX ugly hack to get msvc to link without error. */
#if _LIB_VERSION == _IEEE_ && !defined(RHAPSODY)
int errno;
# define EDOM 0
# define ERANGE 0
#else
# include <errno.h>
#endif
#ifndef _USE_WRITE
#include <stdio.h> /* fputs(), stderr */
#define WRITE2(u,v) fputs(u, stderr)
#else /* !defined(_USE_WRITE) */
#include <unistd.h> /* write */
#define WRITE2(u,v) write(2, u, v)
#undef fflush
#endif /* !defined(_USE_WRITE) */
static double zero = 0.0; /* used as const */
/*
* Standard conformance (non-IEEE) on exception cases.
* Mapping:
* 1 -- acos(|x|>1)
* 2 -- asin(|x|>1)
* 3 -- atan2(+-0,+-0)
* 4 -- hypot overflow
* 5 -- cosh overflow
* 6 -- exp overflow
* 7 -- exp underflow
* 8 -- y0(0)
* 9 -- y0(-ve)
* 10-- y1(0)
* 11-- y1(-ve)
* 12-- yn(0)
* 13-- yn(-ve)
* 14-- lgamma(finite) overflow
* 15-- lgamma(-integer)
* 16-- log(0)
* 17-- log(x<0)
* 18-- log10(0)
* 19-- log10(x<0)
* 20-- pow(0.0,0.0)
* 21-- pow(x,y) overflow
* 22-- pow(x,y) underflow
* 23-- pow(0,negative)
* 24-- pow(neg,non-integral)
* 25-- sinh(finite) overflow
* 26-- sqrt(negative)
* 27-- fmod(x,0)
* 28-- remainder(x,0)
* 29-- acosh(x<1)
* 30-- atanh(|x|>1)
* 31-- atanh(|x|=1)
* 32-- scalb overflow
* 33-- scalb underflow
* 34-- j0(|x|>X_TLOSS)
* 35-- y0(x>X_TLOSS)
* 36-- j1(|x|>X_TLOSS)
* 37-- y1(x>X_TLOSS)
* 38-- jn(|x|>X_TLOSS, n)
* 39-- yn(x>X_TLOSS, n)
* 40-- gamma(finite) overflow
* 41-- gamma(-integer)
* 42-- pow(NaN,0.0)
*/
#ifdef __STDC__
double __kernel_standard(double x, double y, int type)
#else
double __kernel_standard(x,y,type)
double x,y; int type;
#endif
{
struct exception exc;
#ifndef HUGE_VAL /* this is the only routine that uses HUGE_VAL */
#define HUGE_VAL inf
double inf = 0.0;
fd_twoints u;
u.d = inf;
__HI(u) = 0x7ff00000; /* set inf to infinite */
inf = u.d;
#endif
#ifdef _USE_WRITE
(void) fflush(stdout);
#endif
exc.arg1 = x;
exc.arg2 = y;
switch(type) {
case 1:
/* acos(|x|>1) */
exc.type = DOMAIN;
exc.name = "acos";
exc.retval = zero;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if(_LIB_VERSION == _SVID_) {
(void) WRITE2("acos: DOMAIN error\n", 19);
}
errno = EDOM;
}
break;
case 2:
/* asin(|x|>1) */
exc.type = DOMAIN;
exc.name = "asin";
exc.retval = zero;
if(_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if(_LIB_VERSION == _SVID_) {
(void) WRITE2("asin: DOMAIN error\n", 19);
}
errno = EDOM;
}
break;
case 3:
/* atan2(+-0,+-0) */
exc.arg1 = y;
exc.arg2 = x;
exc.type = DOMAIN;
exc.name = "atan2";
exc.retval = zero;
if(_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if(_LIB_VERSION == _SVID_) {
(void) WRITE2("atan2: DOMAIN error\n", 20);
}
errno = EDOM;
}
break;
case 4:
/* hypot(finite,finite) overflow */
exc.type = OVERFLOW;
exc.name = "hypot";
if (_LIB_VERSION == _SVID_)
exc.retval = HUGE;
else
exc.retval = HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
errno = ERANGE;
}
break;
case 5:
/* cosh(finite) overflow */
exc.type = OVERFLOW;
exc.name = "cosh";
if (_LIB_VERSION == _SVID_)
exc.retval = HUGE;
else
exc.retval = HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
errno = ERANGE;
}
break;
case 6:
/* exp(finite) overflow */
exc.type = OVERFLOW;
exc.name = "exp";
if (_LIB_VERSION == _SVID_)
exc.retval = HUGE;
else
exc.retval = HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
errno = ERANGE;
}
break;
case 7:
/* exp(finite) underflow */
exc.type = UNDERFLOW;
exc.name = "exp";
exc.retval = zero;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
errno = ERANGE;
}
break;
case 8:
/* y0(0) = -inf */
exc.type = DOMAIN; /* should be SING for IEEE */
exc.name = "y0";
if (_LIB_VERSION == _SVID_)
exc.retval = -HUGE;
else
exc.retval = -HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("y0: DOMAIN error\n", 17);
}
errno = EDOM;
}
break;
case 9:
/* y0(x<0) = NaN */
exc.type = DOMAIN;
exc.name = "y0";
if (_LIB_VERSION == _SVID_)
exc.retval = -HUGE;
else
exc.retval = -HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("y0: DOMAIN error\n", 17);
}
errno = EDOM;
}
break;
case 10:
/* y1(0) = -inf */
exc.type = DOMAIN; /* should be SING for IEEE */
exc.name = "y1";
if (_LIB_VERSION == _SVID_)
exc.retval = -HUGE;
else
exc.retval = -HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("y1: DOMAIN error\n", 17);
}
errno = EDOM;
}
break;
case 11:
/* y1(x<0) = NaN */
exc.type = DOMAIN;
exc.name = "y1";
if (_LIB_VERSION == _SVID_)
exc.retval = -HUGE;
else
exc.retval = -HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("y1: DOMAIN error\n", 17);
}
errno = EDOM;
}
break;
case 12:
/* yn(n,0) = -inf */
exc.type = DOMAIN; /* should be SING for IEEE */
exc.name = "yn";
if (_LIB_VERSION == _SVID_)
exc.retval = -HUGE;
else
exc.retval = -HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("yn: DOMAIN error\n", 17);
}
errno = EDOM;
}
break;
case 13:
/* yn(x<0) = NaN */
exc.type = DOMAIN;
exc.name = "yn";
if (_LIB_VERSION == _SVID_)
exc.retval = -HUGE;
else
exc.retval = -HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("yn: DOMAIN error\n", 17);
}
errno = EDOM;
}
break;
case 14:
/* lgamma(finite) overflow */
exc.type = OVERFLOW;
exc.name = "lgamma";
if (_LIB_VERSION == _SVID_)
exc.retval = HUGE;
else
exc.retval = HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
errno = ERANGE;
}
break;
case 15:
/* lgamma(-integer) or lgamma(0) */
exc.type = SING;
exc.name = "lgamma";
if (_LIB_VERSION == _SVID_)
exc.retval = HUGE;
else
exc.retval = HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("lgamma: SING error\n", 19);
}
errno = EDOM;
}
break;
case 16:
/* log(0) */
exc.type = SING;
exc.name = "log";
if (_LIB_VERSION == _SVID_)
exc.retval = -HUGE;
else
exc.retval = -HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("log: SING error\n", 16);
}
errno = EDOM;
}
break;
case 17:
/* log(x<0) */
exc.type = DOMAIN;
exc.name = "log";
if (_LIB_VERSION == _SVID_)
exc.retval = -HUGE;
else
exc.retval = -HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("log: DOMAIN error\n", 18);
}
errno = EDOM;
}
break;
case 18:
/* log10(0) */
exc.type = SING;
exc.name = "log10";
if (_LIB_VERSION == _SVID_)
exc.retval = -HUGE;
else
exc.retval = -HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("log10: SING error\n", 18);
}
errno = EDOM;
}
break;
case 19:
/* log10(x<0) */
exc.type = DOMAIN;
exc.name = "log10";
if (_LIB_VERSION == _SVID_)
exc.retval = -HUGE;
else
exc.retval = -HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("log10: DOMAIN error\n", 20);
}
errno = EDOM;
}
break;
case 20:
/* pow(0.0,0.0) */
/* error only if _LIB_VERSION == _SVID_ */
exc.type = DOMAIN;
exc.name = "pow";
exc.retval = zero;
if (_LIB_VERSION != _SVID_) exc.retval = 1.0;
else if (!fd_matherr(&exc)) {
(void) WRITE2("pow(0,0): DOMAIN error\n", 23);
errno = EDOM;
}
break;
case 21:
/* pow(x,y) overflow */
exc.type = OVERFLOW;
exc.name = "pow";
if (_LIB_VERSION == _SVID_) {
exc.retval = HUGE;
y *= 0.5;
if(x<zero&&fd_rint(y)!=y) exc.retval = -HUGE;
} else {
exc.retval = HUGE_VAL;
y *= 0.5;
if(x<zero&&fd_rint(y)!=y) exc.retval = -HUGE_VAL;
}
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
errno = ERANGE;
}
break;
case 22:
/* pow(x,y) underflow */
exc.type = UNDERFLOW;
exc.name = "pow";
exc.retval = zero;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
errno = ERANGE;
}
break;
case 23:
/* 0**neg */
exc.type = DOMAIN;
exc.name = "pow";
if (_LIB_VERSION == _SVID_)
exc.retval = zero;
else
exc.retval = -HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("pow(0,neg): DOMAIN error\n", 25);
}
errno = EDOM;
}
break;
case 24:
/* neg**non-integral */
exc.type = DOMAIN;
exc.name = "pow";
if (_LIB_VERSION == _SVID_)
exc.retval = zero;
else
exc.retval = zero/zero; /* X/Open allow NaN */
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("neg**non-integral: DOMAIN error\n", 32);
}
errno = EDOM;
}
break;
case 25:
/* sinh(finite) overflow */
exc.type = OVERFLOW;
exc.name = "sinh";
if (_LIB_VERSION == _SVID_)
exc.retval = ( (x>zero) ? HUGE : -HUGE);
else
exc.retval = ( (x>zero) ? HUGE_VAL : -HUGE_VAL);
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
errno = ERANGE;
}
break;
case 26:
/* sqrt(x<0) */
exc.type = DOMAIN;
exc.name = "sqrt";
if (_LIB_VERSION == _SVID_)
exc.retval = zero;
else
exc.retval = zero/zero;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("sqrt: DOMAIN error\n", 19);
}
errno = EDOM;
}
break;
case 27:
/* fmod(x,0) */
exc.type = DOMAIN;
exc.name = "fmod";
if (_LIB_VERSION == _SVID_)
exc.retval = x;
else
exc.retval = zero/zero;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("fmod: DOMAIN error\n", 20);
}
errno = EDOM;
}
break;
case 28:
/* remainder(x,0) */
exc.type = DOMAIN;
exc.name = "remainder";
exc.retval = zero/zero;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("remainder: DOMAIN error\n", 24);
}
errno = EDOM;
}
break;
case 29:
/* acosh(x<1) */
exc.type = DOMAIN;
exc.name = "acosh";
exc.retval = zero/zero;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("acosh: DOMAIN error\n", 20);
}
errno = EDOM;
}
break;
case 30:
/* atanh(|x|>1) */
exc.type = DOMAIN;
exc.name = "atanh";
exc.retval = zero/zero;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("atanh: DOMAIN error\n", 20);
}
errno = EDOM;
}
break;
case 31:
/* atanh(|x|=1) */
exc.type = SING;
exc.name = "atanh";
exc.retval = x/zero; /* sign(x)*inf */
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("atanh: SING error\n", 18);
}
errno = EDOM;
}
break;
case 32:
/* scalb overflow; SVID also returns +-HUGE_VAL */
exc.type = OVERFLOW;
exc.name = "scalb";
exc.retval = x > zero ? HUGE_VAL : -HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
errno = ERANGE;
}
break;
case 33:
/* scalb underflow */
exc.type = UNDERFLOW;
exc.name = "scalb";
exc.retval = fd_copysign(zero,x);
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
errno = ERANGE;
}
break;
case 34:
/* j0(|x|>X_TLOSS) */
exc.type = TLOSS;
exc.name = "j0";
exc.retval = zero;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2(exc.name, 2);
(void) WRITE2(": TLOSS error\n", 14);
}
errno = ERANGE;
}
break;
case 35:
/* y0(x>X_TLOSS) */
exc.type = TLOSS;
exc.name = "y0";
exc.retval = zero;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2(exc.name, 2);
(void) WRITE2(": TLOSS error\n", 14);
}
errno = ERANGE;
}
break;
case 36:
/* j1(|x|>X_TLOSS) */
exc.type = TLOSS;
exc.name = "j1";
exc.retval = zero;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2(exc.name, 2);
(void) WRITE2(": TLOSS error\n", 14);
}
errno = ERANGE;
}
break;
case 37:
/* y1(x>X_TLOSS) */
exc.type = TLOSS;
exc.name = "y1";
exc.retval = zero;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2(exc.name, 2);
(void) WRITE2(": TLOSS error\n", 14);
}
errno = ERANGE;
}
break;
case 38:
/* jn(|x|>X_TLOSS) */
exc.type = TLOSS;
exc.name = "jn";
exc.retval = zero;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2(exc.name, 2);
(void) WRITE2(": TLOSS error\n", 14);
}
errno = ERANGE;
}
break;
case 39:
/* yn(x>X_TLOSS) */
exc.type = TLOSS;
exc.name = "yn";
exc.retval = zero;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2(exc.name, 2);
(void) WRITE2(": TLOSS error\n", 14);
}
errno = ERANGE;
}
break;
case 40:
/* gamma(finite) overflow */
exc.type = OVERFLOW;
exc.name = "gamma";
if (_LIB_VERSION == _SVID_)
exc.retval = HUGE;
else
exc.retval = HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = ERANGE;
else if (!fd_matherr(&exc)) {
errno = ERANGE;
}
break;
case 41:
/* gamma(-integer) or gamma(0) */
exc.type = SING;
exc.name = "gamma";
if (_LIB_VERSION == _SVID_)
exc.retval = HUGE;
else
exc.retval = HUGE_VAL;
if (_LIB_VERSION == _POSIX_)
errno = EDOM;
else if (!fd_matherr(&exc)) {
if (_LIB_VERSION == _SVID_) {
(void) WRITE2("gamma: SING error\n", 18);
}
errno = EDOM;
}
break;
case 42:
/* pow(NaN,0.0) */
/* error only if _LIB_VERSION == _SVID_ & _XOPEN_ */
exc.type = DOMAIN;
exc.name = "pow";
exc.retval = x;
if (_LIB_VERSION == _IEEE_ ||
_LIB_VERSION == _POSIX_) exc.retval = 1.0;
else if (!fd_matherr(&exc)) {
errno = EDOM;
}
break;
}
return exc.retval;
}

View File

@@ -0,0 +1,165 @@
/* -*- 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.
*/
/* @(#)k_tan.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.
* ====================================================
*/
/* __kernel_tan( x, y, k )
* kernel tan function on [-pi/4, pi/4], pi/4 ~ 0.7854
* Input x is assumed to be bounded by ~pi/4 in magnitude.
* Input y is the tail of x.
* Input k indicates whether tan (if k=1) or
* -1/tan (if k= -1) is returned.
*
* Algorithm
* 1. Since tan(-x) = -tan(x), we need only to consider positive x.
* 2. if x < 2^-28 (hx<0x3e300000 0), return x with inexact if x!=0.
* 3. tan(x) is approximated by a odd polynomial of degree 27 on
* [0,0.67434]
* 3 27
* tan(x) ~ x + T1*x + ... + T13*x
* where
*
* |tan(x) 2 4 26 | -59.2
* |----- - (1+T1*x +T2*x +.... +T13*x )| <= 2
* | x |
*
* Note: tan(x+y) = tan(x) + tan'(x)*y
* ~ tan(x) + (1+x*x)*y
* Therefore, for better accuracy in computing tan(x+y), let
* 3 2 2 2 2
* r = x *(T2+x *(T3+x *(...+x *(T12+x *T13))))
* then
* 3 2
* tan(x+y) = x + (T1*x + (x *(r+y)+y))
*
* 4. For x in [0.67434,pi/4], let y = pi/4 - x, then
* tan(x) = tan(pi/4-y) = (1-tan(y))/(1+tan(y))
* = 1 - 2*(tan(y) - (tan(y)^2)/(1+tan(y)))
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */
pio4 = 7.85398163397448278999e-01, /* 0x3FE921FB, 0x54442D18 */
pio4lo= 3.06161699786838301793e-17, /* 0x3C81A626, 0x33145C07 */
T[] = {
3.33333333333334091986e-01, /* 0x3FD55555, 0x55555563 */
1.33333333333201242699e-01, /* 0x3FC11111, 0x1110FE7A */
5.39682539762260521377e-02, /* 0x3FABA1BA, 0x1BB341FE */
2.18694882948595424599e-02, /* 0x3F9664F4, 0x8406D637 */
8.86323982359930005737e-03, /* 0x3F8226E3, 0xE96E8493 */
3.59207910759131235356e-03, /* 0x3F6D6D22, 0xC9560328 */
1.45620945432529025516e-03, /* 0x3F57DBC8, 0xFEE08315 */
5.88041240820264096874e-04, /* 0x3F4344D8, 0xF2F26501 */
2.46463134818469906812e-04, /* 0x3F3026F7, 0x1A8D1068 */
7.81794442939557092300e-05, /* 0x3F147E88, 0xA03792A6 */
7.14072491382608190305e-05, /* 0x3F12B80F, 0x32F0A7E9 */
-1.85586374855275456654e-05, /* 0xBEF375CB, 0xDB605373 */
2.59073051863633712884e-05, /* 0x3EFB2A70, 0x74BF7AD4 */
};
#ifdef __STDC__
double __kernel_tan(double x, double y, int iy)
#else
double __kernel_tan(x, y, iy)
double x,y; int iy;
#endif
{
fd_twoints u;
double z,r,v,w,s;
int ix,hx;
u.d = x;
hx = __HI(u); /* high word of x */
ix = hx&0x7fffffff; /* high word of |x| */
if(ix<0x3e300000) /* x < 2**-28 */
{if((int)x==0) { /* generate inexact */
u.d =x;
if(((ix|__LO(u))|(iy+1))==0) return one/fd_fabs(x);
else return (iy==1)? x: -one/x;
}
}
if(ix>=0x3FE59428) { /* |x|>=0.6744 */
if(hx<0) {x = -x; y = -y;}
z = pio4-x;
w = pio4lo-y;
x = z+w; y = 0.0;
}
z = x*x;
w = z*z;
/* Break x^5*(T[1]+x^2*T[2]+...) into
* x^5(T[1]+x^4*T[3]+...+x^20*T[11]) +
* x^5(x^2*(T[2]+x^4*T[4]+...+x^22*[T12]))
*/
r = T[1]+w*(T[3]+w*(T[5]+w*(T[7]+w*(T[9]+w*T[11]))));
v = z*(T[2]+w*(T[4]+w*(T[6]+w*(T[8]+w*(T[10]+w*T[12])))));
s = z*x;
r = y + z*(s*(r+v)+y);
r += T[0]*s;
w = x+r;
if(ix>=0x3FE59428) {
v = (double)iy;
return (double)(1-((hx>>30)&2))*(v-2.0*(x-(w*w/(w+v)-r)));
}
if(iy==1) return w;
else { /* if allow error up to 2 ulp,
simply return -1.0/(x+r) here */
/* compute -1.0/(x+r) accurately */
double a,t;
z = w;
u.d = z;
__LO(u) = 0;
z = u.d;
v = r-(z - x); /* z+v = r+x */
t = a = -1.0/w; /* a = -1.0/w */
u.d = t;
__LO(u) = 0;
t = u.d;
s = 1.0+t*z;
return t+a*(s+t*v);
}
}

View File

@@ -0,0 +1,96 @@
#// 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.
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH=..\..\..
include <$(DEPTH)\config\config.mak>
#//------------------------------------------------------------------------
#//
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
#//
#//------------------------------------------------------------------------
LIBRARY_NAME = fdlibm
#//------------------------------------------------------------------------
#//
#// Define the files necessary to build the target (ie. OBJS)
#//
#//------------------------------------------------------------------------
OBJS = \
.\$(OBJDIR)\e_atan2.obj \
.\$(OBJDIR)\e_pow.obj \
.\$(OBJDIR)\e_sqrt.obj \
.\$(OBJDIR)\k_standard.obj \
.\$(OBJDIR)\s_atan.obj \
.\$(OBJDIR)\s_copysign.obj \
.\$(OBJDIR)\s_fabs.obj \
.\$(OBJDIR)\s_finite.obj \
.\$(OBJDIR)\s_isnan.obj \
.\$(OBJDIR)\s_matherr.obj \
.\$(OBJDIR)\s_rint.obj \
.\$(OBJDIR)\s_scalbn.obj \
.\$(OBJDIR)\w_atan2.obj \
.\$(OBJDIR)\w_pow.obj \
.\$(OBJDIR)\w_sqrt.obj \
.\$(OBJDIR)\s_lib_version.obj \
$(NULL)
#//------------------------------------------------------------------------
#//
#// Include the common makefile rules
#//
#//------------------------------------------------------------------------
include <$(DEPTH)\config\rules.mak>
export:: $(LIBRARY)
#//------------------------------------------------------------------------
#//
#// Standalone js.exe interpreter
#//
#//------------------------------------------------------------------------
#//PROGRAM = $(OBJDIR)\js.exe
#//js: $(PROGRAM)
#//
#//$(PROGRAM): $(OBJDIR)\js.obj $(LIBRARY)
#// @$(MAKE_OBJDIR)
#// $(link) /debug /out:$(PROGRAM) $(OBJDIR)\js.obj $(DIST)\lib\pr3240.lib $(LIBRARY) $(LDFLAGS)
#//
#//$(OBJDIR)\js.obj: js.c
#// $(CC) /Fo$(OBJDIR)\js.obj js.c $(CFLAGS) -DJSFILE

View File

@@ -0,0 +1,96 @@
/* -*- 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.
*/
/* @(#)s_asinh.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.
* ====================================================
*/
/* asinh(x)
* Method :
* Based on
* asinh(x) = sign(x) * log [ |x| + sqrt(x*x+1) ]
* we have
* asinh(x) := x if 1+x*x=1,
* := sign(x)*(log(x)+ln2)) for large |x|, else
* := sign(x)*log(2|x|+1/(|x|+sqrt(x*x+1))) if|x|>2, else
* := sign(x)*log1p(|x| + x^2/(1 + sqrt(1+x^2)))
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */
ln2 = 6.93147180559945286227e-01, /* 0x3FE62E42, 0xFEFA39EF */
really_big= 1.00000000000000000000e+300;
#ifdef __STDC__
double fd_asinh(double x)
#else
double fd_asinh(x)
double x;
#endif
{
fd_twoints u;
double t,w;
int hx,ix;
u.d = x;
hx = __HI(u);
ix = hx&0x7fffffff;
if(ix>=0x7ff00000) return x+x; /* x is inf or NaN */
if(ix< 0x3e300000) { /* |x|<2**-28 */
if(really_big+x>one) return x; /* return x inexact except 0 */
}
if(ix>0x41b00000) { /* |x| > 2**28 */
w = __ieee754_log(fd_fabs(x))+ln2;
} else if (ix>0x40000000) { /* 2**28 > |x| > 2.0 */
t = fd_fabs(x);
w = __ieee754_log(2.0*t+one/(fd_sqrt(x*x+one)+t));
} else { /* 2.0 > |x| > 2**-28 */
t = x*x;
w =fd_log1p(fd_fabs(x)+t/(one+fd_sqrt(one+t)));
}
if(hx>0) return w; else return -w;
}

View File

@@ -0,0 +1,170 @@
/* -*- 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.
*/
/* @(#)s_atan.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.
* ====================================================
*
*/
/* atan(x)
* Method
* 1. Reduce x to positive by atan(x) = -atan(-x).
* 2. According to the integer k=4t+0.25 chopped, t=x, the argument
* is further reduced to one of the following intervals and the
* arctangent of t is evaluated by the corresponding formula:
*
* [0,7/16] atan(x) = t-t^3*(a1+t^2*(a2+...(a10+t^2*a11)...)
* [7/16,11/16] atan(x) = atan(1/2) + atan( (t-0.5)/(1+t/2) )
* [11/16.19/16] atan(x) = atan( 1 ) + atan( (t-1)/(1+t) )
* [19/16,39/16] atan(x) = atan(3/2) + atan( (t-1.5)/(1+1.5t) )
* [39/16,INF] atan(x) = atan(INF) + atan( -1/t )
*
* 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 atanhi[] = {
#else
static double atanhi[] = {
#endif
4.63647609000806093515e-01, /* atan(0.5)hi 0x3FDDAC67, 0x0561BB4F */
7.85398163397448278999e-01, /* atan(1.0)hi 0x3FE921FB, 0x54442D18 */
9.82793723247329054082e-01, /* atan(1.5)hi 0x3FEF730B, 0xD281F69B */
1.57079632679489655800e+00, /* atan(inf)hi 0x3FF921FB, 0x54442D18 */
};
#ifdef __STDC__
static const double atanlo[] = {
#else
static double atanlo[] = {
#endif
2.26987774529616870924e-17, /* atan(0.5)lo 0x3C7A2B7F, 0x222F65E2 */
3.06161699786838301793e-17, /* atan(1.0)lo 0x3C81A626, 0x33145C07 */
1.39033110312309984516e-17, /* atan(1.5)lo 0x3C700788, 0x7AF0CBBD */
6.12323399573676603587e-17, /* atan(inf)lo 0x3C91A626, 0x33145C07 */
};
#ifdef __STDC__
static const double aT[] = {
#else
static double aT[] = {
#endif
3.33333333333329318027e-01, /* 0x3FD55555, 0x5555550D */
-1.99999999998764832476e-01, /* 0xBFC99999, 0x9998EBC4 */
1.42857142725034663711e-01, /* 0x3FC24924, 0x920083FF */
-1.11111104054623557880e-01, /* 0xBFBC71C6, 0xFE231671 */
9.09088713343650656196e-02, /* 0x3FB745CD, 0xC54C206E */
-7.69187620504482999495e-02, /* 0xBFB3B0F2, 0xAF749A6D */
6.66107313738753120669e-02, /* 0x3FB10D66, 0xA0D03D51 */
-5.83357013379057348645e-02, /* 0xBFADDE2D, 0x52DEFD9A */
4.97687799461593236017e-02, /* 0x3FA97B4B, 0x24760DEB */
-3.65315727442169155270e-02, /* 0xBFA2B444, 0x2C6A6C2F */
1.62858201153657823623e-02, /* 0x3F90AD3A, 0xE322DA11 */
};
#ifdef __STDC__
static const double
#else
static double
#endif
one = 1.0,
really_big = 1.0e300;
#ifdef __STDC__
double fd_atan(double x)
#else
double fd_atan(x)
double x;
#endif
{
fd_twoints u;
double w,s1,s2,z;
int ix,hx,id;
u.d = x;
hx = __HI(u);
ix = hx&0x7fffffff;
if(ix>=0x44100000) { /* if |x| >= 2^66 */
u.d = x;
if(ix>0x7ff00000||
(ix==0x7ff00000&&(__LO(u)!=0)))
return x+x; /* NaN */
if(hx>0) return atanhi[3]+atanlo[3];
else return -atanhi[3]-atanlo[3];
} if (ix < 0x3fdc0000) { /* |x| < 0.4375 */
if (ix < 0x3e200000) { /* |x| < 2^-29 */
if(really_big+x>one) return x; /* raise inexact */
}
id = -1;
} else {
x = fd_fabs(x);
if (ix < 0x3ff30000) { /* |x| < 1.1875 */
if (ix < 0x3fe60000) { /* 7/16 <=|x|<11/16 */
id = 0; x = (2.0*x-one)/(2.0+x);
} else { /* 11/16<=|x|< 19/16 */
id = 1; x = (x-one)/(x+one);
}
} else {
if (ix < 0x40038000) { /* |x| < 2.4375 */
id = 2; x = (x-1.5)/(one+1.5*x);
} else { /* 2.4375 <= |x| < 2^66 */
id = 3; x = -1.0/x;
}
}}
/* end of argument reduction */
z = x*x;
w = z*z;
/* break sum from i=0 to 10 aT[i]z**(i+1) into odd and even poly */
s1 = z*(aT[0]+w*(aT[2]+w*(aT[4]+w*(aT[6]+w*(aT[8]+w*aT[10])))));
s2 = w*(aT[1]+w*(aT[3]+w*(aT[5]+w*(aT[7]+w*aT[9]))));
if (id<0) return x - x*(s1+s2);
else {
z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x);
return (hx<0)? -z:z;
}
}

View File

@@ -0,0 +1,128 @@
/* -*- 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.
*/
/* @(#)s_cbrt.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.
* ====================================================
*
*/
#include "fdlibm.h"
/* cbrt(x)
* Return cube root of x
*/
#ifdef __STDC__
static const unsigned
#else
static unsigned
#endif
B1 = 715094163, /* B1 = (682-0.03306235651)*2**20 */
B2 = 696219795; /* B2 = (664-0.03306235651)*2**20 */
#ifdef __STDC__
static const double
#else
static double
#endif
C = 5.42857142857142815906e-01, /* 19/35 = 0x3FE15F15, 0xF15F15F1 */
D = -7.05306122448979611050e-01, /* -864/1225 = 0xBFE691DE, 0x2532C834 */
E = 1.41428571428571436819e+00, /* 99/70 = 0x3FF6A0EA, 0x0EA0EA0F */
F = 1.60714285714285720630e+00, /* 45/28 = 0x3FF9B6DB, 0x6DB6DB6E */
G = 3.57142857142857150787e-01; /* 5/14 = 0x3FD6DB6D, 0xB6DB6DB7 */
#ifdef __STDC__
double fd_cbrt(double x)
#else
double fd_cbrt(x)
double x;
#endif
{
fd_twoints u;
int hx;
double r,s,t=0.0,w;
unsigned sign;
u.d = x;
hx = __HI(u); /* high word of x */
sign=hx&0x80000000; /* sign= sign(x) */
hx ^=sign;
if(hx>=0x7ff00000) return(x+x); /* cbrt(NaN,INF) is itself */
if((hx|__LO(u))==0) {
x = u.d;
return(x); /* cbrt(0) is itself */
}
u.d = x;
__HI(u) = hx; /* x <- |x| */
x = u.d;
/* rough cbrt to 5 bits */
if(hx<0x00100000) /* subnormal number */
{u.d = t; __HI(u)=0x43500000; t=u.d; /* set t= 2**54 */
t*=x; __HI(u)=__HI(u)/3+B2;
}
else {
u.d = t; __HI(u)=hx/3+B1; t = u.d;
}
/* new cbrt to 23 bits, may be implemented in single precision */
r=t*t/x;
s=C+r*t;
t*=G+F/(s+E+D/s);
/* chopped to 20 bits and make it larger than cbrt(x) */
u.d = t;
__LO(u)=0; __HI(u)+=0x00000001;
t = u.d;
/* one step newton iteration to 53 bits with error less than 0.667 ulps */
s=t*t; /* t*t is exact */
r=x/s;
w=t+t;
r=(r-t)/(w+r); /* r-s is exact */
t=t+t*r;
/* retore the sign bit */
u.d = t;
__HI(u) |= sign;
t = u.d;
return(t);
}

View File

@@ -0,0 +1,115 @@
/* -*- 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.
*/
/* @(#)s_ceil.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.
* ====================================================
*/
/*
* ceil(x)
* Return x rounded toward -inf to integral value
* Method:
* Bit twiddling.
* Exception:
* Inexact flag raised if x not equal to ceil(x).
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double really_big = 1.0e300;
#else
static double really_big = 1.0e300;
#endif
#ifdef __STDC__
double fd_ceil(double x)
#else
double fd_ceil(x)
double x;
#endif
{
fd_twoints u;
int i0,i1,j0;
unsigned i,j;
u.d = x;
i0 = __HI(u);
i1 = __LO(u);
j0 = ((i0>>20)&0x7ff)-0x3ff;
if(j0<20) {
if(j0<0) { /* raise inexact if x != 0 */
if(really_big+x>0.0) {/* return 0*sign(x) if |x|<1 */
if(i0<0) {i0=0x80000000;i1=0;}
else if((i0|i1)!=0) { i0=0x3ff00000;i1=0;}
}
} else {
i = (0x000fffff)>>j0;
if(((i0&i)|i1)==0) return x; /* x is integral */
if(really_big+x>0.0) { /* raise inexact flag */
if(i0>0) i0 += (0x00100000)>>j0;
i0 &= (~i); i1=0;
}
}
} else if (j0>51) {
if(j0==0x400) return x+x; /* inf or NaN */
else return x; /* x is integral */
} else {
i = ((unsigned)(0xffffffff))>>(j0-20);
if((i1&i)==0) return x; /* x is integral */
if(really_big+x>0.0) { /* raise inexact flag */
if(i0>0) {
if(j0==20) i0+=1;
else {
j = i1 + (1<<(52-j0));
if((int)j<i1) i0+=1; /* got a carry */
i1 = j;
}
}
i1 &= (~i);
}
}
u.d = x;
__HI(u) = i0;
__LO(u) = i1;
x = u.d;
return x;
}

View File

@@ -0,0 +1,67 @@
/* -*- 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.
*/
/* @(#)s_copysign.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.
* ====================================================
*/
/*
* copysign(double x, double y)
* copysign(x,y) returns a value with the magnitude of x and
* with the sign bit of y.
*/
#include "fdlibm.h"
#ifdef __STDC__
double fd_copysign(double x, double y)
#else
double fd_copysign(x,y)
double x,y;
#endif
{
fd_twoints ux, uy;
ux.d = x; uy.d = y;
__HI(ux) = (__HI(ux)&0x7fffffff)|(__HI(uy)&0x80000000);
x = ux.d;
return x;
}

View File

@@ -0,0 +1,113 @@
/* -*- 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.
*/
/* @(#)s_cos.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.
* ====================================================
*/
/* cos(x)
* Return cosine function of x.
*
* kernel function:
* __kernel_sin ... sine function on [-pi/4,pi/4]
* __kernel_cos ... cosine function on [-pi/4,pi/4]
* __ieee754_rem_pio2 ... argument reduction routine
*
* Method.
* Let S,C and T denote the sin, cos and tan respectively on
* [-PI/4, +PI/4]. Reduce the argument x to y1+y2 = x-k*pi/2
* in [-pi/4 , +pi/4], and let n = k mod 4.
* We have
*
* n sin(x) cos(x) tan(x)
* ----------------------------------------------------------
* 0 S C T
* 1 C -S -1/T
* 2 -S -C T
* 3 -C S -1/T
* ----------------------------------------------------------
*
* Special cases:
* Let trig be any of sin, cos, or tan.
* trig(+-INF) is NaN, with signals;
* trig(NaN) is that NaN;
*
* Accuracy:
* TRIG(x) returns trig(x) nearly rounded
*/
#include "fdlibm.h"
#ifdef __STDC__
double fd_cos(double x)
#else
double fd_cos(x)
double x;
#endif
{
fd_twoints u;
double y[2],z=0.0;
int n, ix;
/* High word of x. */
u.d = x;
ix = __HI(u);
/* |x| ~< pi/4 */
ix &= 0x7fffffff;
if(ix <= 0x3fe921fb) return __kernel_cos(x,z);
/* cos(Inf or NaN) is NaN */
else if (ix>=0x7ff00000) return x-x;
/* argument reduction needed */
else {
n = __ieee754_rem_pio2(x,y);
switch(n&3) {
case 0: return __kernel_cos(y[0],y[1]);
case 1: return -__kernel_sin(y[0],y[1],1);
case 2: return -__kernel_cos(y[0],y[1]);
default:
return __kernel_sin(y[0],y[1],1);
}
}
}

View File

@@ -0,0 +1,351 @@
/* -*- 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.
*/
/* @(#)s_erf.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.
* ====================================================
*/
/* double erf(double x)
* double erfc(double x)
* x
* 2 |\
* erf(x) = --------- | exp(-t*t)dt
* sqrt(pi) \|
* 0
*
* erfc(x) = 1-erf(x)
* Note that
* erf(-x) = -erf(x)
* erfc(-x) = 2 - erfc(x)
*
* Method:
* 1. For |x| in [0, 0.84375]
* erf(x) = x + x*R(x^2)
* erfc(x) = 1 - erf(x) if x in [-.84375,0.25]
* = 0.5 + ((0.5-x)-x*R) if x in [0.25,0.84375]
* where R = P/Q where P is an odd poly of degree 8 and
* Q is an odd poly of degree 10.
* -57.90
* | R - (erf(x)-x)/x | <= 2
*
*
* Remark. The formula is derived by noting
* erf(x) = (2/sqrt(pi))*(x - x^3/3 + x^5/10 - x^7/42 + ....)
* and that
* 2/sqrt(pi) = 1.128379167095512573896158903121545171688
* is close to one. The interval is chosen because the fix
* point of erf(x) is near 0.6174 (i.e., erf(x)=x when x is
* near 0.6174), and by some experiment, 0.84375 is chosen to
* guarantee the error is less than one ulp for erf.
*
* 2. For |x| in [0.84375,1.25], let s = |x| - 1, and
* c = 0.84506291151 rounded to single (24 bits)
* erf(x) = sign(x) * (c + P1(s)/Q1(s))
* erfc(x) = (1-c) - P1(s)/Q1(s) if x > 0
* 1+(c+P1(s)/Q1(s)) if x < 0
* |P1/Q1 - (erf(|x|)-c)| <= 2**-59.06
* Remark: here we use the taylor series expansion at x=1.
* erf(1+s) = erf(1) + s*Poly(s)
* = 0.845.. + P1(s)/Q1(s)
* That is, we use rational approximation to approximate
* erf(1+s) - (c = (single)0.84506291151)
* Note that |P1/Q1|< 0.078 for x in [0.84375,1.25]
* where
* P1(s) = degree 6 poly in s
* Q1(s) = degree 6 poly in s
*
* 3. For x in [1.25,1/0.35(~2.857143)],
* erfc(x) = (1/x)*exp(-x*x-0.5625+R1/S1)
* erf(x) = 1 - erfc(x)
* where
* R1(z) = degree 7 poly in z, (z=1/x^2)
* S1(z) = degree 8 poly in z
*
* 4. For x in [1/0.35,28]
* erfc(x) = (1/x)*exp(-x*x-0.5625+R2/S2) if x > 0
* = 2.0 - (1/x)*exp(-x*x-0.5625+R2/S2) if -6<x<0
* = 2.0 - tiny (if x <= -6)
* erf(x) = sign(x)*(1.0 - erfc(x)) if x < 6, else
* erf(x) = sign(x)*(1.0 - tiny)
* where
* R2(z) = degree 6 poly in z, (z=1/x^2)
* S2(z) = degree 7 poly in z
*
* Note1:
* To compute exp(-x*x-0.5625+R/S), let s be a single
* precision number and s := x; then
* -x*x = -s*s + (s-x)*(s+x)
* exp(-x*x-0.5626+R/S) =
* exp(-s*s-0.5625)*exp((s-x)*(s+x)+R/S);
* Note2:
* Here 4 and 5 make use of the asymptotic series
* exp(-x*x)
* erfc(x) ~ ---------- * ( 1 + Poly(1/x^2) )
* x*sqrt(pi)
* We use rational approximation to approximate
* g(s)=f(1/x^2) = log(erfc(x)*x) - x*x + 0.5625
* Here is the error bound for R1/S1 and R2/S2
* |R1/S1 - f(x)| < 2**(-62.57)
* |R2/S2 - f(x)| < 2**(-61.52)
*
* 5. For inf > x >= 28
* erf(x) = sign(x) *(1 - tiny) (raise inexact)
* erfc(x) = tiny*tiny (raise underflow) if x > 0
* = 2 - tiny if x<0
*
* 7. Special case:
* erf(0) = 0, erf(inf) = 1, erf(-inf) = -1,
* erfc(0) = 1, erfc(inf) = 0, erfc(-inf) = 2,
* erfc/erf(NaN) is NaN
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
tiny = 1e-300,
half= 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */
one = 1.00000000000000000000e+00, /* 0x3FF00000, 0x00000000 */
two = 2.00000000000000000000e+00, /* 0x40000000, 0x00000000 */
/* c = (float)0.84506291151 */
erx = 8.45062911510467529297e-01, /* 0x3FEB0AC1, 0x60000000 */
/*
* Coefficients for approximation to erf on [0,0.84375]
*/
efx = 1.28379167095512586316e-01, /* 0x3FC06EBA, 0x8214DB69 */
efx8= 1.02703333676410069053e+00, /* 0x3FF06EBA, 0x8214DB69 */
pp0 = 1.28379167095512558561e-01, /* 0x3FC06EBA, 0x8214DB68 */
pp1 = -3.25042107247001499370e-01, /* 0xBFD4CD7D, 0x691CB913 */
pp2 = -2.84817495755985104766e-02, /* 0xBF9D2A51, 0xDBD7194F */
pp3 = -5.77027029648944159157e-03, /* 0xBF77A291, 0x236668E4 */
pp4 = -2.37630166566501626084e-05, /* 0xBEF8EAD6, 0x120016AC */
qq1 = 3.97917223959155352819e-01, /* 0x3FD97779, 0xCDDADC09 */
qq2 = 6.50222499887672944485e-02, /* 0x3FB0A54C, 0x5536CEBA */
qq3 = 5.08130628187576562776e-03, /* 0x3F74D022, 0xC4D36B0F */
qq4 = 1.32494738004321644526e-04, /* 0x3F215DC9, 0x221C1A10 */
qq5 = -3.96022827877536812320e-06, /* 0xBED09C43, 0x42A26120 */
/*
* Coefficients for approximation to erf in [0.84375,1.25]
*/
pa0 = -2.36211856075265944077e-03, /* 0xBF6359B8, 0xBEF77538 */
pa1 = 4.14856118683748331666e-01, /* 0x3FDA8D00, 0xAD92B34D */
pa2 = -3.72207876035701323847e-01, /* 0xBFD7D240, 0xFBB8C3F1 */
pa3 = 3.18346619901161753674e-01, /* 0x3FD45FCA, 0x805120E4 */
pa4 = -1.10894694282396677476e-01, /* 0xBFBC6398, 0x3D3E28EC */
pa5 = 3.54783043256182359371e-02, /* 0x3FA22A36, 0x599795EB */
pa6 = -2.16637559486879084300e-03, /* 0xBF61BF38, 0x0A96073F */
qa1 = 1.06420880400844228286e-01, /* 0x3FBB3E66, 0x18EEE323 */
qa2 = 5.40397917702171048937e-01, /* 0x3FE14AF0, 0x92EB6F33 */
qa3 = 7.18286544141962662868e-02, /* 0x3FB2635C, 0xD99FE9A7 */
qa4 = 1.26171219808761642112e-01, /* 0x3FC02660, 0xE763351F */
qa5 = 1.36370839120290507362e-02, /* 0x3F8BEDC2, 0x6B51DD1C */
qa6 = 1.19844998467991074170e-02, /* 0x3F888B54, 0x5735151D */
/*
* Coefficients for approximation to erfc in [1.25,1/0.35]
*/
ra0 = -9.86494403484714822705e-03, /* 0xBF843412, 0x600D6435 */
ra1 = -6.93858572707181764372e-01, /* 0xBFE63416, 0xE4BA7360 */
ra2 = -1.05586262253232909814e+01, /* 0xC0251E04, 0x41B0E726 */
ra3 = -6.23753324503260060396e+01, /* 0xC04F300A, 0xE4CBA38D */
ra4 = -1.62396669462573470355e+02, /* 0xC0644CB1, 0x84282266 */
ra5 = -1.84605092906711035994e+02, /* 0xC067135C, 0xEBCCABB2 */
ra6 = -8.12874355063065934246e+01, /* 0xC0545265, 0x57E4D2F2 */
ra7 = -9.81432934416914548592e+00, /* 0xC023A0EF, 0xC69AC25C */
sa1 = 1.96512716674392571292e+01, /* 0x4033A6B9, 0xBD707687 */
sa2 = 1.37657754143519042600e+02, /* 0x4061350C, 0x526AE721 */
sa3 = 4.34565877475229228821e+02, /* 0x407B290D, 0xD58A1A71 */
sa4 = 6.45387271733267880336e+02, /* 0x40842B19, 0x21EC2868 */
sa5 = 4.29008140027567833386e+02, /* 0x407AD021, 0x57700314 */
sa6 = 1.08635005541779435134e+02, /* 0x405B28A3, 0xEE48AE2C */
sa7 = 6.57024977031928170135e+00, /* 0x401A47EF, 0x8E484A93 */
sa8 = -6.04244152148580987438e-02, /* 0xBFAEEFF2, 0xEE749A62 */
/*
* Coefficients for approximation to erfc in [1/.35,28]
*/
rb0 = -9.86494292470009928597e-03, /* 0xBF843412, 0x39E86F4A */
rb1 = -7.99283237680523006574e-01, /* 0xBFE993BA, 0x70C285DE */
rb2 = -1.77579549177547519889e+01, /* 0xC031C209, 0x555F995A */
rb3 = -1.60636384855821916062e+02, /* 0xC064145D, 0x43C5ED98 */
rb4 = -6.37566443368389627722e+02, /* 0xC083EC88, 0x1375F228 */
rb5 = -1.02509513161107724954e+03, /* 0xC0900461, 0x6A2E5992 */
rb6 = -4.83519191608651397019e+02, /* 0xC07E384E, 0x9BDC383F */
sb1 = 3.03380607434824582924e+01, /* 0x403E568B, 0x261D5190 */
sb2 = 3.25792512996573918826e+02, /* 0x40745CAE, 0x221B9F0A */
sb3 = 1.53672958608443695994e+03, /* 0x409802EB, 0x189D5118 */
sb4 = 3.19985821950859553908e+03, /* 0x40A8FFB7, 0x688C246A */
sb5 = 2.55305040643316442583e+03, /* 0x40A3F219, 0xCEDF3BE6 */
sb6 = 4.74528541206955367215e+02, /* 0x407DA874, 0xE79FE763 */
sb7 = -2.24409524465858183362e+01; /* 0xC03670E2, 0x42712D62 */
#ifdef __STDC__
double fd_erf(double x)
#else
double fd_erf(x)
double x;
#endif
{
fd_twoints u;
int hx,ix,i;
double R,S,P,Q,s,y,z,r;
u.d = x;
hx = __HI(u);
ix = hx&0x7fffffff;
if(ix>=0x7ff00000) { /* erf(nan)=nan */
i = ((unsigned)hx>>31)<<1;
return (double)(1-i)+one/x; /* erf(+-inf)=+-1 */
}
if(ix < 0x3feb0000) { /* |x|<0.84375 */
if(ix < 0x3e300000) { /* |x|<2**-28 */
if (ix < 0x00800000)
return 0.125*(8.0*x+efx8*x); /*avoid underflow */
return x + efx*x;
}
z = x*x;
r = pp0+z*(pp1+z*(pp2+z*(pp3+z*pp4)));
s = one+z*(qq1+z*(qq2+z*(qq3+z*(qq4+z*qq5))));
y = r/s;
return x + x*y;
}
if(ix < 0x3ff40000) { /* 0.84375 <= |x| < 1.25 */
s = fd_fabs(x)-one;
P = pa0+s*(pa1+s*(pa2+s*(pa3+s*(pa4+s*(pa5+s*pa6)))));
Q = one+s*(qa1+s*(qa2+s*(qa3+s*(qa4+s*(qa5+s*qa6)))));
if(hx>=0) return erx + P/Q; else return -erx - P/Q;
}
if (ix >= 0x40180000) { /* inf>|x|>=6 */
if(hx>=0) return one-tiny; else return tiny-one;
}
x = fd_fabs(x);
s = one/(x*x);
if(ix< 0x4006DB6E) { /* |x| < 1/0.35 */
R=ra0+s*(ra1+s*(ra2+s*(ra3+s*(ra4+s*(
ra5+s*(ra6+s*ra7))))));
S=one+s*(sa1+s*(sa2+s*(sa3+s*(sa4+s*(
sa5+s*(sa6+s*(sa7+s*sa8)))))));
} else { /* |x| >= 1/0.35 */
R=rb0+s*(rb1+s*(rb2+s*(rb3+s*(rb4+s*(
rb5+s*rb6)))));
S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(
sb5+s*(sb6+s*sb7))))));
}
z = x;
u.d = z;
__LO(u) = 0;
z = u.d;
r = __ieee754_exp(-z*z-0.5625)*__ieee754_exp((z-x)*(z+x)+R/S);
if(hx>=0) return one-r/x; else return r/x-one;
}
#ifdef __STDC__
double erfc(double x)
#else
double erfc(x)
double x;
#endif
{
fd_twoints u;
int hx,ix;
double R,S,P,Q,s,y,z,r;
u.d = x;
hx = __HI(u);
ix = hx&0x7fffffff;
if(ix>=0x7ff00000) { /* erfc(nan)=nan */
/* erfc(+-inf)=0,2 */
return (double)(((unsigned)hx>>31)<<1)+one/x;
}
if(ix < 0x3feb0000) { /* |x|<0.84375 */
if(ix < 0x3c700000) /* |x|<2**-56 */
return one-x;
z = x*x;
r = pp0+z*(pp1+z*(pp2+z*(pp3+z*pp4)));
s = one+z*(qq1+z*(qq2+z*(qq3+z*(qq4+z*qq5))));
y = r/s;
if(hx < 0x3fd00000) { /* x<1/4 */
return one-(x+x*y);
} else {
r = x*y;
r += (x-half);
return half - r ;
}
}
if(ix < 0x3ff40000) { /* 0.84375 <= |x| < 1.25 */
s = fd_fabs(x)-one;
P = pa0+s*(pa1+s*(pa2+s*(pa3+s*(pa4+s*(pa5+s*pa6)))));
Q = one+s*(qa1+s*(qa2+s*(qa3+s*(qa4+s*(qa5+s*qa6)))));
if(hx>=0) {
z = one-erx; return z - P/Q;
} else {
z = erx+P/Q; return one+z;
}
}
if (ix < 0x403c0000) { /* |x|<28 */
x = fd_fabs(x);
s = one/(x*x);
if(ix< 0x4006DB6D) { /* |x| < 1/.35 ~ 2.857143*/
R=ra0+s*(ra1+s*(ra2+s*(ra3+s*(ra4+s*(
ra5+s*(ra6+s*ra7))))));
S=one+s*(sa1+s*(sa2+s*(sa3+s*(sa4+s*(
sa5+s*(sa6+s*(sa7+s*sa8)))))));
} else { /* |x| >= 1/.35 ~ 2.857143 */
if(hx<0&&ix>=0x40180000) return two-tiny;/* x < -6 */
R=rb0+s*(rb1+s*(rb2+s*(rb3+s*(rb4+s*(
rb5+s*rb6)))));
S=one+s*(sb1+s*(sb2+s*(sb3+s*(sb4+s*(
sb5+s*(sb6+s*sb7))))));
}
z = x;
u.d = z;
__LO(u) = 0;
z = u.d;
r = __ieee754_exp(-z*z-0.5625)*
__ieee754_exp((z-x)*(z+x)+R/S);
if(hx>0) return r/x; else return two-r/x;
} else {
if(hx>0) return tiny*tiny; else return two-tiny;
}
}

View File

@@ -0,0 +1,262 @@
/* -*- 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.
*/
/* @(#)s_expm1.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.
* ====================================================
*/
/* expm1(x)
* Returns exp(x)-1, the exponential of x minus 1.
*
* Method
* 1. Argument reduction:
* Given x, find r and integer k such that
*
* x = k*ln2 + r, |r| <= 0.5*ln2 ~ 0.34658
*
* Here a correction term c will be computed to compensate
* the error in r when rounded to a floating-point number.
*
* 2. Approximating expm1(r) by a special rational function on
* the interval [0,0.34658]:
* Since
* r*(exp(r)+1)/(exp(r)-1) = 2+ r^2/6 - r^4/360 + ...
* we define R1(r*r) by
* r*(exp(r)+1)/(exp(r)-1) = 2+ r^2/6 * R1(r*r)
* That is,
* R1(r**2) = 6/r *((exp(r)+1)/(exp(r)-1) - 2/r)
* = 6/r * ( 1 + 2.0*(1/(exp(r)-1) - 1/r))
* = 1 - r^2/60 + r^4/2520 - r^6/100800 + ...
* We use a special Reme algorithm on [0,0.347] to generate
* a polynomial of degree 5 in r*r to approximate R1. The
* maximum error of this polynomial approximation is bounded
* by 2**-61. In other words,
* R1(z) ~ 1.0 + Q1*z + Q2*z**2 + Q3*z**3 + Q4*z**4 + Q5*z**5
* where Q1 = -1.6666666666666567384E-2,
* Q2 = 3.9682539681370365873E-4,
* Q3 = -9.9206344733435987357E-6,
* Q4 = 2.5051361420808517002E-7,
* Q5 = -6.2843505682382617102E-9;
* (where z=r*r, and the values of Q1 to Q5 are listed below)
* with error bounded by
* | 5 | -61
* | 1.0+Q1*z+...+Q5*z - R1(z) | <= 2
* | |
*
* expm1(r) = exp(r)-1 is then computed by the following
* specific way which minimize the accumulation rounding error:
* 2 3
* r r [ 3 - (R1 + R1*r/2) ]
* expm1(r) = r + --- + --- * [--------------------]
* 2 2 [ 6 - r*(3 - R1*r/2) ]
*
* To compensate the error in the argument reduction, we use
* expm1(r+c) = expm1(r) + c + expm1(r)*c
* ~ expm1(r) + c + r*c
* Thus c+r*c will be added in as the correction terms for
* expm1(r+c). Now rearrange the term to avoid optimization
* screw up:
* ( 2 2 )
* ({ ( r [ R1 - (3 - R1*r/2) ] ) } r )
* expm1(r+c)~r - ({r*(--- * [--------------------]-c)-c} - --- )
* ({ ( 2 [ 6 - r*(3 - R1*r/2) ] ) } 2 )
* ( )
*
* = r - E
* 3. Scale back to obtain expm1(x):
* From step 1, we have
* expm1(x) = either 2^k*[expm1(r)+1] - 1
* = or 2^k*[expm1(r) + (1-2^-k)]
* 4. Implementation notes:
* (A). To save one multiplication, we scale the coefficient Qi
* to Qi*2^i, and replace z by (x^2)/2.
* (B). To achieve maximum accuracy, we compute expm1(x) by
* (i) if x < -56*ln2, return -1.0, (raise inexact if x!=inf)
* (ii) if k=0, return r-E
* (iii) if k=-1, return 0.5*(r-E)-0.5
* (iv) if k=1 if r < -0.25, return 2*((r+0.5)- E)
* else return 1.0+2.0*(r-E);
* (v) if (k<-2||k>56) return 2^k(1-(E-r)) - 1 (or exp(x)-1)
* (vi) if k <= 20, return 2^k((1-2^-k)-(E-r)), else
* (vii) return 2^k(1-((E+2^-k)-r))
*
* Special cases:
* expm1(INF) is INF, expm1(NaN) is NaN;
* expm1(-INF) is -1, and
* for finite argument, only expm1(0)=0 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 expm1(x) overflow
*
* 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,
really_big = 1.0e+300,
tiny = 1.0e-300,
o_threshold = 7.09782712893383973096e+02,/* 0x40862E42, 0xFEFA39EF */
ln2_hi = 6.93147180369123816490e-01,/* 0x3fe62e42, 0xfee00000 */
ln2_lo = 1.90821492927058770002e-10,/* 0x3dea39ef, 0x35793c76 */
invln2 = 1.44269504088896338700e+00,/* 0x3ff71547, 0x652b82fe */
/* scaled coefficients related to expm1 */
Q1 = -3.33333333333331316428e-02, /* BFA11111 111110F4 */
Q2 = 1.58730158725481460165e-03, /* 3F5A01A0 19FE5585 */
Q3 = -7.93650757867487942473e-05, /* BF14CE19 9EAADBB7 */
Q4 = 4.00821782732936239552e-06, /* 3ED0CFCA 86E65239 */
Q5 = -2.01099218183624371326e-07; /* BE8AFDB7 6E09C32D */
#ifdef __STDC__
double fd_expm1(double x)
#else
double fd_expm1(x)
double x;
#endif
{
fd_twoints u;
double y,hi,lo,c,t,e,hxs,hfx,r1;
int k,xsb;
unsigned hx;
u.d = x;
hx = __HI(u); /* high word of x */
xsb = hx&0x80000000; /* sign bit of x */
if(xsb==0) y=x; else y= -x; /* y = |x| */
hx &= 0x7fffffff; /* high word of |x| */
/* filter out huge and non-finite argument */
if(hx >= 0x4043687A) { /* if |x|>=56*ln2 */
if(hx >= 0x40862E42) { /* if |x|>=709.78... */
if(hx>=0x7ff00000) {
u.d = x;
if(((hx&0xfffff)|__LO(u))!=0)
return x+x; /* NaN */
else return (xsb==0)? x:-1.0;/* exp(+-inf)={inf,-1} */
}
if(x > o_threshold) return really_big*really_big; /* overflow */
}
if(xsb!=0) { /* x < -56*ln2, return -1.0 with inexact */
if(x+tiny<0.0) /* raise inexact */
return tiny-one; /* return -1 */
}
}
/* argument reduction */
if(hx > 0x3fd62e42) { /* if |x| > 0.5 ln2 */
if(hx < 0x3FF0A2B2) { /* and |x| < 1.5 ln2 */
if(xsb==0)
{hi = x - ln2_hi; lo = ln2_lo; k = 1;}
else
{hi = x + ln2_hi; lo = -ln2_lo; k = -1;}
} else {
k = (int)(invln2*x+((xsb==0)?0.5:-0.5));
t = k;
hi = x - t*ln2_hi; /* t*ln2_hi is exact here */
lo = t*ln2_lo;
}
x = hi - lo;
c = (hi-x)-lo;
}
else if(hx < 0x3c900000) { /* when |x|<2**-54, return x */
t = really_big+x; /* return x with inexact flags when x!=0 */
return x - (t-(really_big+x));
}
else k = 0;
/* x is now in primary range */
hfx = 0.5*x;
hxs = x*hfx;
r1 = one+hxs*(Q1+hxs*(Q2+hxs*(Q3+hxs*(Q4+hxs*Q5))));
t = 3.0-r1*hfx;
e = hxs*((r1-t)/(6.0 - x*t));
if(k==0) return x - (x*e-hxs); /* c is 0 */
else {
e = (x*(e-c)-c);
e -= hxs;
if(k== -1) return 0.5*(x-e)-0.5;
if(k==1)
if(x < -0.25) return -2.0*(e-(x+0.5));
else return one+2.0*(x-e);
if (k <= -2 || k>56) { /* suffice to return exp(x)-1 */
y = one-(e-x);
u.d = y;
__HI(u) += (k<<20); /* add k to y's exponent */
y = u.d;
return y-one;
}
t = one;
if(k<20) {
u.d = t;
__HI(u) = 0x3ff00000 - (0x200000>>k); /* t=1-2^-k */
t = u.d;
y = t-(e-x);
u.d = y;
__HI(u) += (k<<20); /* add k to y's exponent */
y = u.d;
} else {
u.d = t;
__HI(u) = ((0x3ff-k)<<20); /* 2^-k */
t = u.d;
y = x-(e+t);
y += one;
u.d = y;
__HI(u) += (k<<20); /* add k to y's exponent */
y = u.d;
}
}
return y;
}

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.
*/
/* @(#)s_fabs.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.
* ====================================================
*/
/*
* fabs(x) returns the absolute value of x.
*/
#include "fdlibm.h"
#ifdef __STDC__
double fd_fabs(double x)
#else
double fd_fabs(x)
double x;
#endif
{
fd_twoints u;
u.d = x;
__HI(u) &= 0x7fffffff;
x = u.d;
return x;
}

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.
*/
/* @(#)s_finite.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.
* ====================================================
*/
/*
* finite(x) returns 1 is x is finite, else 0;
* no branching!
*/
#include "fdlibm.h"
#ifdef __STDC__
int fd_finite(double x)
#else
int fd_finite(x)
double x;
#endif
{
fd_twoints u;
int hx;
u.d = x;
hx = __HI(u);
return (unsigned)((hx&0x7fffffff)-0x7ff00000)>>31;
}

View File

@@ -0,0 +1,116 @@
/* -*- 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.
*/
/* @(#)s_floor.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.
* ====================================================
*/
/*
* floor(x)
* Return x rounded toward -inf to integral value
* Method:
* Bit twiddling.
* Exception:
* Inexact flag raised if x not equal to floor(x).
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double really_big = 1.0e300;
#else
static double really_big = 1.0e300;
#endif
#ifdef __STDC__
double fd_floor(double x)
#else
double fd_floor(x)
double x;
#endif
{
fd_twoints u;
int i0,i1,j0;
unsigned i,j;
u.d = x;
i0 = __HI(u);
i1 = __LO(u);
j0 = ((i0>>20)&0x7ff)-0x3ff;
if(j0<20) {
if(j0<0) { /* raise inexact if x != 0 */
if(really_big+x>0.0) {/* return 0*sign(x) if |x|<1 */
if(i0>=0) {i0=i1=0;}
else if(((i0&0x7fffffff)|i1)!=0)
{ i0=0xbff00000;i1=0;}
}
} else {
i = (0x000fffff)>>j0;
if(((i0&i)|i1)==0) return x; /* x is integral */
if(really_big+x>0.0) { /* raise inexact flag */
if(i0<0) i0 += (0x00100000)>>j0;
i0 &= (~i); i1=0;
}
}
} else if (j0>51) {
if(j0==0x400) return x+x; /* inf or NaN */
else return x; /* x is integral */
} else {
i = ((unsigned)(0xffffffff))>>(j0-20);
if((i1&i)==0) return x; /* x is integral */
if(really_big+x>0.0) { /* raise inexact flag */
if(i0<0) {
if(j0==20) i0+=1;
else {
j = i1+(1<<(52-j0));
if((int)j<i1) i0 +=1 ; /* got a carry */
i1=j;
}
}
i1 &= (~i);
}
}
u.d = x;
__HI(u) = i0;
__LO(u) = i1;
x = u.d;
return x;
}

View File

@@ -0,0 +1,94 @@
/* -*- 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.
*/
/* @(#)s_frexp.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.
* ====================================================
*/
/*
* for non-zero x
* x = frexp(arg,&exp);
* return a double fp quantity x such that 0.5 <= |x| <1.0
* and the corresponding binary exponent "exp". That is
* arg = x*2^exp.
* If arg is inf, 0.0, or NaN, then frexp(arg,&exp) returns arg
* with *exp=0.
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
two54 = 1.80143985094819840000e+16; /* 0x43500000, 0x00000000 */
#ifdef __STDC__
double fd_frexp(double x, int *eptr)
#else
double fd_frexp(x, eptr)
double x; int *eptr;
#endif
{
int hx, ix, lx;
fd_twoints u;
u.d = x;
hx = __HI(u);
ix = 0x7fffffff&hx;
lx = __LO(u);
*eptr = 0;
if(ix>=0x7ff00000||((ix|lx)==0)) return x; /* 0,inf,nan */
if (ix<0x00100000) { /* subnormal */
x *= two54;
u.d = x;
hx = __HI(u);
ix = hx&0x7fffffff;
*eptr = -54;
}
*eptr += (ix>>20)-1022;
hx = (hx&0x800fffff)|0x3fe00000;
u.d = x;
__HI(u) = hx;
x = u.d;
return x;
}

View File

@@ -0,0 +1,80 @@
/* -*- 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.
*/
/* @(#)s_ilogb.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.
* ====================================================
*/
/* ilogb(double x)
* return the binary exponent of non-zero x
* ilogb(0) = 0x80000001
* ilogb(inf/NaN) = 0x7fffffff (no signal is raised)
*/
#include "fdlibm.h"
#ifdef __STDC__
int fd_ilogb(double x)
#else
int fd_ilogb(x)
double x;
#endif
{
int hx,lx,ix;
fd_twoints u;
u.d = x;
hx = (__HI(u))&0x7fffffff; /* high word of x */
if(hx<0x00100000) {
lx = __LO(u);
if((hx|lx)==0)
return 0x80000001; /* ilogb(0) = 0x80000001 */
else /* subnormal x */
if(hx==0) {
for (ix = -1043; lx>0; lx<<=1) ix -=1;
} else {
for (ix = -1022,hx<<=11; hx>0; hx<<=1) ix -=1;
}
return ix;
}
else if (hx<0x7ff00000) return (hx>>20)-1023;
else return 0x7fffffff;
}

View File

@@ -0,0 +1,69 @@
/* -*- 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.
*/
/* @(#)s_isnan.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.
* ====================================================
*/
/*
* isnan(x) returns 1 is x is nan, else 0;
* no branching!
*/
#include "fdlibm.h"
#ifdef __STDC__
int fd_isnan(double x)
#else
int fd_isnan(x)
double x;
#endif
{
fd_twoints u;
int hx,lx;
u.d = x;
hx = (__HI(u)&0x7fffffff);
lx = __LO(u);
hx |= (unsigned)(lx|(-lx))>>31;
hx = 0x7ff00000 - hx;
return ((unsigned)(hx))>>31;
}

View File

@@ -0,0 +1,61 @@
/* -*- 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.
*/
/* @(#)s_ldexp.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.
* ====================================================
*/
#include "fdlibm.h"
#include <errno.h>
#ifdef __STDC__
double fd_ldexp(double value, int exp)
#else
double fd_ldexp(value, exp)
double value; int exp;
#endif
{
if(!fd_finite(value)||value==0.0) return value;
value = fd_scalbn(value,exp);
if(!fd_finite(value)||value==0.0) errno = ERANGE;
return value;
}

View File

@@ -0,0 +1,68 @@
/* -*- 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.
*/
/* @(#)s_lib_version.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.
* ====================================================
*/
/*
* MACRO for standards
*/
#include "fdlibm.h"
/*
* define and initialize _LIB_VERSION
*/
#ifdef _POSIX_MODE
_LIB_VERSION_TYPE _LIB_VERSION = _POSIX_;
#else
#ifdef _XOPEN_MODE
_LIB_VERSION_TYPE _LIB_VERSION = _XOPEN_;
#else
#ifdef _SVID3_MODE
_LIB_VERSION_TYPE _LIB_VERSION = _SVID_;
#else /* default _IEEE_MODE */
_LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
#endif
#endif
#endif

View File

@@ -0,0 +1,206 @@
/* -*- 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.
*/
/* @(#)s_log1p.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.
* ====================================================
*/
/* double log1p(double x)
*
* Method :
* 1. Argument Reduction: find k and f such that
* 1+x = 2^k * (1+f),
* where sqrt(2)/2 < 1+f < sqrt(2) .
*
* Note. If k=0, then f=x is exact. However, if k!=0, then f
* may not be representable exactly. In that case, a correction
* term is need. Let u=1+x rounded. Let c = (1+x)-u, then
* log(1+x) - log(u) ~ c/u. Thus, we proceed to compute log(u),
* and add back the correction term c/u.
* (Note: when x > 2**53, one can simply return log(x))
*
* 2. Approximation of log1p(f).
* Let s = f/(2+f) ; based on log(1+f) = log(1+s) - log(1-s)
* = 2s + 2/3 s**3 + 2/5 s**5 + .....,
* = 2s + s*R
* We use a special Reme algorithm on [0,0.1716] to generate
* a polynomial of degree 14 to approximate R The maximum error
* of this polynomial approximation is bounded by 2**-58.45. In
* other words,
* 2 4 6 8 10 12 14
* R(z) ~ Lp1*s +Lp2*s +Lp3*s +Lp4*s +Lp5*s +Lp6*s +Lp7*s
* (the values of Lp1 to Lp7 are listed in the program)
* and
* | 2 14 | -58.45
* | Lp1*s +...+Lp7*s - R(z) | <= 2
* | |
* Note that 2s = f - s*f = f - hfsq + s*hfsq, where hfsq = f*f/2.
* In order to guarantee error in log below 1ulp, we compute log
* by
* log1p(f) = f - (hfsq - s*(hfsq+R)).
*
* 3. Finally, log1p(x) = k*ln2 + log1p(f).
* = k*ln2_hi+(f-(hfsq-(s*(hfsq+R)+k*ln2_lo)))
* Here ln2 is split into two floating point number:
* ln2_hi + ln2_lo,
* where n*ln2_hi is always exact for |n| < 2000.
*
* Special cases:
* log1p(x) is NaN with signal if x < -1 (including -INF) ;
* log1p(+INF) is +INF; log1p(-1) is -INF with signal;
* log1p(NaN) is that NaN with no signal.
*
* Accuracy:
* according to an error analysis, the error is always less than
* 1 ulp (unit in the last place).
*
* 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.
*
* Note: Assuming log() return accurate answer, the following
* algorithm can be used to compute log1p(x) to within a few ULP:
*
* u = 1+x;
* if(u==1.0) return x ; else
* return log(u)*(x/(u-1.0));
*
* See HP-15C Advanced Functions Handbook, p.193.
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
ln2_hi = 6.93147180369123816490e-01, /* 3fe62e42 fee00000 */
ln2_lo = 1.90821492927058770002e-10, /* 3dea39ef 35793c76 */
two54 = 1.80143985094819840000e+16, /* 43500000 00000000 */
Lp1 = 6.666666666666735130e-01, /* 3FE55555 55555593 */
Lp2 = 3.999999999940941908e-01, /* 3FD99999 9997FA04 */
Lp3 = 2.857142874366239149e-01, /* 3FD24924 94229359 */
Lp4 = 2.222219843214978396e-01, /* 3FCC71C5 1D8E78AF */
Lp5 = 1.818357216161805012e-01, /* 3FC74664 96CB03DE */
Lp6 = 1.531383769920937332e-01, /* 3FC39A09 D078C69F */
Lp7 = 1.479819860511658591e-01; /* 3FC2F112 DF3E5244 */
static double zero = 0.0;
#ifdef __STDC__
double fd_log1p(double x)
#else
double fd_log1p(x)
double x;
#endif
{
double hfsq,f,c,s,z,R,u;
int k,hx,hu,ax;
fd_twoints un;
un.d = x;
hx = __HI(un); /* high word of x */
ax = hx&0x7fffffff;
k = 1;
if (hx < 0x3FDA827A) { /* x < 0.41422 */
if(ax>=0x3ff00000) { /* x <= -1.0 */
if(x==-1.0) return -two54/zero; /* log1p(-1)=+inf */
else return (x-x)/(x-x); /* log1p(x<-1)=NaN */
}
if(ax<0x3e200000) { /* |x| < 2**-29 */
if(two54+x>zero /* raise inexact */
&&ax<0x3c900000) /* |x| < 2**-54 */
return x;
else
return x - x*x*0.5;
}
if(hx>0||hx<=((int)0xbfd2bec3)) {
k=0;f=x;hu=1;} /* -0.2929<x<0.41422 */
}
if (hx >= 0x7ff00000) return x+x;
if(k!=0) {
if(hx<0x43400000) {
u = 1.0+x;
un.d = u;
hu = __HI(un); /* high word of u */
k = (hu>>20)-1023;
c = (k>0)? 1.0-(u-x):x-(u-1.0);/* correction term */
c /= u;
} else {
u = x;
un.d = u;
hu = __HI(un); /* high word of u */
k = (hu>>20)-1023;
c = 0;
}
hu &= 0x000fffff;
if(hu<0x6a09e) {
un.d = u;
__HI(un) = hu|0x3ff00000; /* normalize u */
u = un.d;
} else {
k += 1;
un.d = u;
__HI(un) = hu|0x3fe00000; /* normalize u/2 */
u = un.d;
hu = (0x00100000-hu)>>2;
}
f = u-1.0;
}
hfsq=0.5*f*f;
if(hu==0) { /* |f| < 2**-20 */
if(f==zero) if(k==0) return zero;
else {c += k*ln2_lo; return k*ln2_hi+c;}
R = hfsq*(1.0-0.66666666666666666*f);
if(k==0) return f-R; else
return k*ln2_hi-((R-(k*ln2_lo+c))-f);
}
s = f/(2.0+f);
z = s*s;
R = z*(Lp1+z*(Lp2+z*(Lp3+z*(Lp4+z*(Lp5+z*(Lp6+z*Lp7))))));
if(k==0) return f-(hfsq-s*(hfsq+R)); else
return k*ln2_hi-((hfsq-(s*(hfsq+R)+(k*ln2_lo+c)))-f);
}

View File

@@ -0,0 +1,74 @@
/* -*- 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.
*/
/* @(#)s_logb.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.
* ====================================================
*/
/*
* double logb(x)
* IEEE 754 logb. Included to pass IEEE test suite. Not recommend.
* Use ilogb instead.
*/
#include "fdlibm.h"
#ifdef __STDC__
double fd_logb(double x)
#else
double fd_logb(x)
double x;
#endif
{
int lx,ix;
fd_twoints u;
u.d = x;
ix = (__HI(u))&0x7fffffff; /* high |x| */
lx = __LO(u); /* low x */
if((ix|lx)==0) return -1.0/fd_fabs(x);
if(ix>=0x7ff00000) return x*x;
if((ix>>=20)==0) /* IEEE 754 logb */
return -1022.0;
else
return (double) (ix-1023);
}

View File

@@ -0,0 +1,59 @@
/* -*- 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.
*/
/* @(#)s_matherr.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.
* ====================================================
*/
#include "fdlibm.h"
#ifdef __STDC__
int fd_matherr(struct exception *x)
#else
int fd_matherr(x)
struct exception *x;
#endif
{
int n=0;
if(x->arg1!=x->arg1) return 0;
return n;
}

View File

@@ -0,0 +1,127 @@
/* -*- 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.
*/
/* @(#)s_modf.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.
* ====================================================
*/
/*
* modf(double x, double *iptr)
* return fraction part of x, and return x's integral part in *iptr.
* Method:
* Bit twiddling.
*
* Exception:
* No exception.
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double one = 1.0;
#else
static double one = 1.0;
#endif
#ifdef __STDC__
double fd_modf(double x, double *iptr)
#else
double fd_modf(x, iptr)
double x,*iptr;
#endif
{
int i0,i1,j0;
unsigned i;
fd_twoints u;
u.d = x;
i0 = __HI(u); /* high x */
i1 = __LO(u); /* low x */
j0 = ((i0>>20)&0x7ff)-0x3ff; /* exponent of x */
if(j0<20) { /* integer part in high x */
if(j0<0) { /* |x|<1 */
u.d = *iptr;
__HI(u) = i0&0x80000000;
__LO(u) = 0; /* *iptr = +-0 */
*iptr = u.d;
return x;
} else {
i = (0x000fffff)>>j0;
if(((i0&i)|i1)==0) { /* x is integral */
*iptr = x;
u.d = x;
__HI(u) &= 0x80000000;
__LO(u) = 0; /* return +-0 */
x = u.d;
return x;
} else {
u.d = *iptr;
__HI(u) = i0&(~i);
__LO(u) = 0;
*iptr = u.d;
return x - *iptr;
}
}
} else if (j0>51) { /* no fraction part */
*iptr = x*one;
u.d = x;
__HI(u) &= 0x80000000;
__LO(u) = 0; /* return +-0 */
x = u.d;
return x;
} else { /* fraction part in low x */
i = ((unsigned)(0xffffffff))>>(j0-20);
if((i1&i)==0) { /* x is integral */
*iptr = x;
u.d = x;
__HI(u) &= 0x80000000;
__LO(u) = 0; /* return +-0 */
x = u.d;
return x;
} else {
u.d = *iptr;
__HI(u) = i0;
__LO(u) = i1&(~i);
*iptr = u.d;
return x - *iptr;
}
}
}

View File

@@ -0,0 +1,119 @@
/* -*- 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.
*/
/* @(#)s_nextafter.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.
* ====================================================
*/
/* IEEE functions
* nextafter(x,y)
* return the next machine floating-point number of x in the
* direction toward y.
* Special cases:
*/
#include "fdlibm.h"
#ifdef __STDC__
double fd_nextafter(double x, double y)
#else
double fd_nextafter(x,y)
double x,y;
#endif
{
int hx,hy,ix,iy;
unsigned lx,ly;
fd_twoints ux, uy;
ux.d = x; uy.d = y;
hx = __HI(ux); /* high word of x */
lx = __LO(ux); /* low word of x */
hy = __HI(uy); /* high word of y */
ly = __LO(uy); /* low word of y */
ix = hx&0x7fffffff; /* |x| */
iy = hy&0x7fffffff; /* |y| */
if(((ix>=0x7ff00000)&&((ix-0x7ff00000)|lx)!=0) || /* x is nan */
((iy>=0x7ff00000)&&((iy-0x7ff00000)|ly)!=0)) /* y is nan */
return x+y;
if(x==y) return x; /* x=y, return x */
if((ix|lx)==0) { /* x == 0 */
ux.d = x;
__HI(ux) = hy&0x80000000; /* return +-minsubnormal */
__LO(ux) = 1;
x = ux.d;
y = x*x;
if(y==x) return y; else return x; /* raise underflow flag */
}
if(hx>=0) { /* x > 0 */
if(hx>hy||((hx==hy)&&(lx>ly))) { /* x > y, x -= ulp */
if(lx==0) hx -= 1;
lx -= 1;
} else { /* x < y, x += ulp */
lx += 1;
if(lx==0) hx += 1;
}
} else { /* x < 0 */
if(hy>=0||hx>hy||((hx==hy)&&(lx>ly))){/* x < y, x -= ulp */
if(lx==0) hx -= 1;
lx -= 1;
} else { /* x > y, x += ulp */
lx += 1;
if(lx==0) hx += 1;
}
}
hy = hx&0x7ff00000;
if(hy>=0x7ff00000) return x+x; /* overflow */
if(hy<0x00100000) { /* underflow */
y = x*x;
if(y!=x) { /* raise underflow flag */
uy.d = y;
__HI(uy) = hx; __LO(uy) = lx;
y = uy.d;
return y;
}
}
ux.d = x;
__HI(ux) = hx; __LO(ux) = lx;
x = ux.d;
return x;
}

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.
*/
/* @(#)s_rint.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.
* ====================================================
*/
/*
* rint(x)
* Return x rounded to integral value according to the prevailing
* rounding mode.
* Method:
* Using floating addition.
* Exception:
* Inexact flag raised if x not equal to rint(x).
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
TWO52[2]={
4.50359962737049600000e+15, /* 0x43300000, 0x00000000 */
-4.50359962737049600000e+15, /* 0xC3300000, 0x00000000 */
};
#ifdef __STDC__
double fd_rint(double x)
#else
double fd_rint(x)
double x;
#endif
{
int i0,j0,sx;
unsigned i,i1;
double w,t;
fd_twoints u;
u.d = x;
i0 = __HI(u);
sx = (i0>>31)&1;
i1 = __LO(u);
j0 = ((i0>>20)&0x7ff)-0x3ff;
if(j0<20) {
if(j0<0) {
if(((i0&0x7fffffff)|i1)==0) return x;
i1 |= (i0&0x0fffff);
i0 &= 0xfffe0000;
i0 |= ((i1|-(int)i1)>>12)&0x80000;
u.d = x;
__HI(u)=i0;
x = u.d;
w = TWO52[sx]+x;
t = w-TWO52[sx];
u.d = t;
i0 = __HI(u);
__HI(u) = (i0&0x7fffffff)|(sx<<31);
t = u.d;
return t;
} else {
i = (0x000fffff)>>j0;
if(((i0&i)|i1)==0) return x; /* x is integral */
i>>=1;
if(((i0&i)|i1)!=0) {
if(j0==19) i1 = 0x40000000; else
i0 = (i0&(~i))|((0x20000)>>j0);
}
}
} else if (j0>51) {
if(j0==0x400) return x+x; /* inf or NaN */
else return x; /* x is integral */
} else {
i = ((unsigned)(0xffffffff))>>(j0-20);
if((i1&i)==0) return x; /* x is integral */
i>>=1;
if((i1&i)!=0) i1 = (i1&(~i))|((0x40000000)>>(j0-20));
}
u.d = x;
__HI(u) = i0;
__LO(u) = i1;
x = u.d;
w = TWO52[sx]+x;
return w-TWO52[sx];
}

View File

@@ -0,0 +1,102 @@
/* -*- 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.
*/
/* @(#)s_scalbn.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.
* ====================================================
*/
/*
* scalbn (double x, int n)
* scalbn(x,n) returns x* 2**n computed by exponent
* manipulation rather than by actually performing an
* exponentiation or a multiplication.
*/
#include "fdlibm.h"
#ifdef __STDC__
static const double
#else
static double
#endif
two54 = 1.80143985094819840000e+16, /* 0x43500000, 0x00000000 */
twom54 = 5.55111512312578270212e-17, /* 0x3C900000, 0x00000000 */
really_big = 1.0e+300,
tiny = 1.0e-300;
#ifdef __STDC__
double fd_scalbn (double x, int n)
#else
double fd_scalbn (x,n)
double x; int n;
#endif
{
fd_twoints u;
int k,hx,lx;
u.d = x;
hx = __HI(u);
lx = __LO(u);
k = (hx&0x7ff00000)>>20; /* extract exponent */
if (k==0) { /* 0 or subnormal x */
if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */
x *= two54;
u.d = x;
hx = __HI(u);
k = ((hx&0x7ff00000)>>20) - 54;
if (n< -50000) return tiny*x; /*underflow*/
}
if (k==0x7ff) return x+x; /* NaN or Inf */
k = k+n;
if (k > 0x7fe) return really_big*fd_copysign(really_big,x); /* overflow */
if (k > 0) /* normal result */
{u.d = x; __HI(u) = (hx&0x800fffff)|(k<<20); x = u.d; return x;}
if (k <= -54) {
if (n > 50000) /* in case integer overflow in n+k */
return really_big*fd_copysign(really_big,x); /*overflow*/
else return tiny*fd_copysign(tiny,x); /*underflow*/
}
k += 54; /* subnormal result */
u.d = x;
__HI(u) = (hx&0x800fffff)|(k<<20);
x = u.d;
return x*twom54;
}

View File

@@ -0,0 +1,35 @@
/* -*- 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.
*/
#include "fdlibm.h"
int signgam = 0;

View File

@@ -0,0 +1,63 @@
/* -*- 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.
*/
/* @(#)s_significand.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.
* ====================================================
*/
/*
* significand(x) computes just
* scalb(x, (double) -ilogb(x)),
* for exercising the fraction-part(F) IEEE 754-1985 test vector.
*/
#include "fdlibm.h"
#ifdef __STDC__
double fd_significand(double x)
#else
double fd_significand(x)
double x;
#endif
{
return __ieee754_scalb(x,(double) -fd_ilogb(x));
}

View File

@@ -0,0 +1,113 @@
/* -*- 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.
*/
/* @(#)s_sin.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.
* ====================================================
*/
/* sin(x)
* Return sine function of x.
*
* kernel function:
* __kernel_sin ... sine function on [-pi/4,pi/4]
* __kernel_cos ... cose function on [-pi/4,pi/4]
* __ieee754_rem_pio2 ... argument reduction routine
*
* Method.
* Let S,C and T denote the sin, cos and tan respectively on
* [-PI/4, +PI/4]. Reduce the argument x to y1+y2 = x-k*pi/2
* in [-pi/4 , +pi/4], and let n = k mod 4.
* We have
*
* n sin(x) cos(x) tan(x)
* ----------------------------------------------------------
* 0 S C T
* 1 C -S -1/T
* 2 -S -C T
* 3 -C S -1/T
* ----------------------------------------------------------
*
* Special cases:
* Let trig be any of sin, cos, or tan.
* trig(+-INF) is NaN, with signals;
* trig(NaN) is that NaN;
*
* Accuracy:
* TRIG(x) returns trig(x) nearly rounded
*/
#include "fdlibm.h"
#ifdef __STDC__
double fd_sin(double x)
#else
double fd_sin(x)
double x;
#endif
{
fd_twoints u;
double y[2],z=0.0;
int n, ix;
/* High word of x. */
u.d = x;
ix = __HI(u);
/* |x| ~< pi/4 */
ix &= 0x7fffffff;
if(ix <= 0x3fe921fb) return __kernel_sin(x,z,0);
/* sin(Inf or NaN) is NaN */
else if (ix>=0x7ff00000) return x-x;
/* argument reduction needed */
else {
n = __ieee754_rem_pio2(x,y);
switch(n&3) {
case 0: return __kernel_sin(y[0],y[1],1);
case 1: return __kernel_cos(y[0],y[1]);
case 2: return -__kernel_sin(y[0],y[1],1);
default:
return -__kernel_cos(y[0],y[1]);
}
}
}

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