Compare commits

..

2067 Commits

Author SHA1 Message Date
pavlov%netscape.com
2c623e790f branch
git-svn-id: svn://10.0.0.236/branches/IMGLIB2_NEWSTUFF@91714 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-09 00:12:52 +00:00
pavlov%netscape.com
f5aaac4918 more changes
git-svn-id: svn://10.0.0.236/branches/IMGLIB2_NEWSTUFF@91709 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-08 23:11:12 +00:00
(no author)
3fd1be19e4 This commit was manufactured by cvs2svn to create branch 'IMGLIB2_NEWSTUFF'.
git-svn-id: svn://10.0.0.236/branches/IMGLIB2_NEWSTUFF@91277 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 08:23:15 +00:00
pavlov%netscape.com
fd002cfbf7 fixing images not drawing correctly. bug 73195. patch from kmcclusk@netscape.com. r=pavlov sr=jst
git-svn-id: svn://10.0.0.236/trunk@91276 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 08:23:14 +00:00
pavlov%netscape.com
82068782e0 fixing bug 74652 r=shaver sr=waterson
git-svn-id: svn://10.0.0.236/trunk@91274 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 08:04:54 +00:00
waterson%netscape.com
6ebd59f729 Fix gcc-2.7.2.3 bustage.
git-svn-id: svn://10.0.0.236/trunk@91273 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 07:54:23 +00:00
brendan%mozilla.org
e21e734c03 Quote reserved identifiers as well as non-lexical-identifier property ids in object literals (73598, r=jband, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@91271 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 07:45:22 +00:00
bryner%uiuc.edu
6dbd115c0e Fixing client auth. r=darin, sr=ben. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@91270 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 07:36:39 +00:00
darin%netscape.com
30bbfdcd43 Fixes bug 74118 "can't launch with a new profile" r=bryner, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@91268 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 07:28:51 +00:00
darin%netscape.com
93a44d86ec Fixes bug 74199 "about:cache-entry needs to know how to deal with
non-stream-based cache entries" r=gordon, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@91267 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 07:25:58 +00:00
ben%netscape.com
19e5473291 Partial fix for 73905, JS files not loaded with nsIChannel::LOAD_NORMAL.
r=darin, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@91266 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 07:21:36 +00:00
darin%netscape.com
72047ef03e Fixes bug 73905 "CSS/JS documents are not cached" r=pierre, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@91265 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 07:20:46 +00:00
hyatt%netscape.com
1f47c8bc4a Missed the XML bit of my mutation patch.
git-svn-id: svn://10.0.0.236/trunk@91264 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 07:07:33 +00:00
hyatt%netscape.com
0ed9d49f33 Missed a bit of my mutation patch.
git-svn-id: svn://10.0.0.236/trunk@91263 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 07:07:20 +00:00
idk%eng.sun.com
0af6d623df *not part of the build*
fix for 74676


git-svn-id: svn://10.0.0.236/trunk@91262 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 07:01:42 +00:00
shaver%mozilla.org
9c980e4543 sigh, fix direct-inclusion-of-jsgc.h bustage in TestXPC
git-svn-id: svn://10.0.0.236/trunk@91257 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 05:53:58 +00:00
sspitzer%netscape.com
f59c05572a partial fix for #74674. bullet proof the db view. r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@91255 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 05:16:29 +00:00
stephend%netscape.com
23fc7135c8 Fixing typo in the patch for bug 52154 'Make gui for view source coloring pref' patch this time by bzbarsky@mit.edu (this patch was previously reviewed by akkana and super-reviewed by Joe Hewitt)
git-svn-id: svn://10.0.0.236/trunk@91254 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 05:12:08 +00:00
shaver%mozilla.org
4aa2ca3096 fixing bustage from fat-fingering before committing
git-svn-id: svn://10.0.0.236/trunk@91253 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 05:06:59 +00:00
hyatt%netscape.com
f7d1932732 Missed a piece of the mutation patch.
git-svn-id: svn://10.0.0.236/trunk@91252 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 05:06:18 +00:00
waterson%netscape.com
1ef6e620b4 Bug 68213. Require users of nsFixedSizeAllocator to specify object size at Free() time to avoid 8 byte overhead per allocation. r=harishd, brendan, shaver, hyatt; sr=scc
git-svn-id: svn://10.0.0.236/trunk@91251 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 05:00:08 +00:00
sspitzer%netscape.com
049707d100 fix for #67677. on loading a folder, if there is no new messages
scroll to the top.  r=mscott, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@91250 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 04:43:15 +00:00
roc+%cs.cmu.edu
2647a38223 Fix calculation of widget coverings in nsViewManager::UpdateAllCoveringWidgets. Bug 74413, sr=attinasi,r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@91249 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 04:37:12 +00:00
sspitzer%netscape.com
56acdd67fa fix #72262 and #72269. when loading a folder, scroll to the first new message (but don't select it.) when loading a folder while doing cross folder navigation, scroll to and select the proper messsage. r=mscott, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@91248 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 04:32:10 +00:00
shaver%mozilla.org
04121d876f 73645: use JSDHashTable for JSRuntime.gcRootsHash and .gcLocksHash.
r=waterson-the-dhash-fiend, sr=brendan-the-other-dhash-fiend


git-svn-id: svn://10.0.0.236/trunk@91247 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 04:30:41 +00:00
hyatt%netscape.com
65a3e065f4 Fix for mutation event crashers.
git-svn-id: svn://10.0.0.236/trunk@91246 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 04:30:03 +00:00
cmanske%netscape.com
a0403c6188 Fixed Print button bug in plaintext editor (by rcassin@supernova.org) r=cmanske, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@91245 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 04:08:13 +00:00
cmanske%netscape.com
520fe7bdf2 Fixed Spell check dialog layout bug 72223, r=andreww, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@91244 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 04:05:14 +00:00
shaver%mozilla.org
4bd0482736 74637: track scc's string changes, to fix infinite recursion when manipulating
a wrapped JSString. r=smfr, sr=scc.


git-svn-id: svn://10.0.0.236/trunk@91243 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 04:02:21 +00:00
cmanske%netscape.com
25db66b850 Editor CSS changes needed for Spelling dialog, b=72223, r=andreww, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@91242 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 03:59:27 +00:00
pchen%netscape.com
7f079b897f bug 73262, r=pinkerton, sr=sfraser/jst, add ptr for xul document
git-svn-id: svn://10.0.0.236/trunk@91241 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 03:41:34 +00:00
pchen%netscape.com
0b287ca0c8 bug 73262, r=pinkerton, sr=sfraser/jst, set weak ref to xul document after adding nsMenuBar as observer, then use that weak ref in destructor to remove ourself as observer, problem is that webshell is getting destroyed before nsMenuBar, so nsMenuBar can't get at the xul document, thus it can't remove itself as an observer.
git-svn-id: svn://10.0.0.236/trunk@91240 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 03:41:30 +00:00
talisman%anamorphic.com
2f29d6753a Added a new note for Mac users re Project Builder. jrg
git-svn-id: svn://10.0.0.236/trunk@91239 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 03:38:31 +00:00
nhotta%netscape.com
27858ace60 Changed to use strncmp instead of strcmp for Content-Type value comparison, bug 74573, r=ftang, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@91238 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 03:34:57 +00:00
talisman%anamorphic.com
01fba1527a Adding support for Project Builder on Mac OS X. jrg
git-svn-id: svn://10.0.0.236/trunk@91237 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 03:34:20 +00:00
gordon%netscape.com
1e0c0b4023 Landing DISKCACHE1_BRANCH (part Deux) which enables dynamic eviction and efficient cache miss detection for the disk cache (bug 72506) r=beard, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@91234 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 03:30:45 +00:00
stephend%netscape.com
b93908a789 Fixes bug 52154, 'Make gui for view source coloring pref' r=akkana@netscape.com sr=hewitt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@91233 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 03:19:17 +00:00
stephend%netscape.com
befa5a072c Part of the fix for bug 52154, 'Make gui for view source coloring pref' r=akkana@netscape.com sr=hewitt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@91232 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 03:18:34 +00:00
stephend%netscape.com
96f508e78d Fix for bug 66011, mailto: headers erroneously inserted into to: field. Patch by Kevin Duffy <kevin@buhbird.com> r=ducarroz@netscape.com sr=sspitzer@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@91231 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 03:03:47 +00:00
talisman%anamorphic.com
774201eaba new, better-looking, more professional splash screen image. jrg
git-svn-id: svn://10.0.0.236/trunk@91230 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 02:58:22 +00:00
talisman%anamorphic.com
b8efdaaa9e Modified means of getting the splash screen image so it works when app is run as a jar. jrg
git-svn-id: svn://10.0.0.236/trunk@91229 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 02:57:04 +00:00
talisman%anamorphic.com
8e4587c509 Changed event switch - must access static public (i.e., class) variables through class, not through instance. jrg
git-svn-id: svn://10.0.0.236/trunk@91228 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 02:55:54 +00:00
morse%netscape.com
18ceb1bc1c bugs 74049 (cookies permission file garbled) and 74489 (crash bringing up cookie viewer), r=valeski, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@91227 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 02:39:39 +00:00
morse%netscape.com
6dd905a714 bug 74089, image/cookie confusion, r=valeski, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@91226 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 02:34:26 +00:00
sspitzer%netscape.com
1b2060a435 fix for #74357. do what 4.x mac did for collapsed read messages, that are threads that had unread chidren. r/sr=hyatt,bienvenu
git-svn-id: svn://10.0.0.236/trunk@91225 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 02:13:41 +00:00
disttsc%bart.nl
19d56a352c Fix senna bustage, add "timer" to REQUIRES line
git-svn-id: svn://10.0.0.236/trunk@91224 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 02:09:28 +00:00
oeschger%netscape.com
8f8d6be1c2 fixing css, adding manifest, NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@91223 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 01:52:16 +00:00
pinkerton%netscape.com
e019408e1d fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@91222 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 01:38:57 +00:00
hyatt%netscape.com
4bab10dbe3 Fix for outliner skin switching bug.
git-svn-id: svn://10.0.0.236/trunk@91221 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 01:37:09 +00:00
pinkerton%netscape.com
1312d6685c fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@91219 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 00:57:40 +00:00
sonmi%netscape.com
2991dfa79f removed unneccessary variables
git-svn-id: svn://10.0.0.236/trunk@91213 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 00:31:59 +00:00
sonmi%netscape.com
cfcafc823a workaround, when running backward compatibility tests pk12util tests don't run
git-svn-id: svn://10.0.0.236/trunk@91212 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 00:29:27 +00:00
sonmi%netscape.com
5a748ff2d9 added functionallity for backward compatibility testing, improved messages
git-svn-id: svn://10.0.0.236/trunk@91211 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 00:28:12 +00:00
sonmi%netscape.com
33777883af added backward compatibility tests
git-svn-id: svn://10.0.0.236/trunk@91209 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 00:23:18 +00:00
sonmi%netscape.com
e0aaa40617 added functionallity for backward compatibility testing
git-svn-id: svn://10.0.0.236/trunk@91208 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 00:22:43 +00:00
javi%netscape.com
57314ffb6d Fix for Bug 74436 patch provided by ccarlen r=danm
Make PSM 2.0 use the embedding friendly window watcher
  service instead of grabbing the hidden window.


git-svn-id: svn://10.0.0.236/trunk@91203 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 00:06:18 +00:00
javi%netscape.com
43e6f04f96 Fix UNIX build bustage
git-svn-id: svn://10.0.0.236/trunk@91202 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 00:03:02 +00:00
valeski%netscape.com
1174356dfa sr=waterson. comment change only
git-svn-id: svn://10.0.0.236/trunk@91200 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 23:30:30 +00:00
dr%netscape.com
dc91b51ac9 backing out edburns's removal of necessary typedefs
git-svn-id: svn://10.0.0.236/trunk@91199 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 23:29:26 +00:00
larryh%netscape.com
77a7c53dde bugzilla: 45343. re-implement PL_ArenaAllocate()
git-svn-id: svn://10.0.0.236/trunk@91196 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 23:23:02 +00:00
valeski%netscape.com
12dee4cf09 sr=shaver, r=dmose. 74554. fixing array index typo
git-svn-id: svn://10.0.0.236/trunk@91194 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:59:02 +00:00
rickg%netscape.com
75bb2ffbb9 preloader update. r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91193 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:58:59 +00:00
av%netscape.com
1adad24225 For 73856, adding simple scriptability to the old style plugins, sr=vidur, ra=av
git-svn-id: svn://10.0.0.236/trunk@91192 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:49:38 +00:00
mcafee%netscape.com
f1b3bb4da2 print out system id
git-svn-id: svn://10.0.0.236/trunk@91191 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:47:50 +00:00
sspitzer%netscape.com
8a191a3338 make --with-extensions=inspector generate the Makefiles
for hewitt's document inspector.  r=prass,kerz sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@91190 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:41:24 +00:00
av%netscape.com
41610106ab For 73856, zeroing plugin function table in ns4xPlugin destructor, sr=vidur, ra=av
git-svn-id: svn://10.0.0.236/trunk@91189 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:39:19 +00:00
locka%iol.ie
f035c4a3bb NOT PART OF BUILD. Added test for innerHTML property of HTML elements.
git-svn-id: svn://10.0.0.236/trunk@91188 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:37:47 +00:00
av%netscape.com
c84a6b1b9c For 73856, adding plugin host notification that the plugin instance is scriptable, sr=vidur, ra=jst
git-svn-id: svn://10.0.0.236/trunk@91187 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:33:32 +00:00
peterlubczynski%netscape.com
a2ae9333a1 Implement full-page plugins on Mac bug 35682 a=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91186 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:18:59 +00:00
heikki%netscape.com
120df2142a This commit was generated by cvs2svn to compensate for changes in r91184,
which included commits to RCS files with non-trunk default branches.

git-svn-id: svn://10.0.0.236/trunk@91185 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:13:38 +00:00
edburns%acm.org
3f17be6c32 ra=edburns
r=av
sr=waterson
author = Nikolay Igotti <inn@sparc.spb.su>
Changes are:
  - adding IID accessors to nsIJVMPlugin and nsIJVMConsole interface - I think
    better patch would  add accessors to the end of interface definition -
    to save binary compatibility with Java Plugin
 -  together with old way of obtaining of JVM service (GetFactory) use new way
    GetService - it's good anyway and shouldn't break Java Plugin

M modules/oji/public/nsIJVMPlugin.h
M modules/oji/public/nsIJVMConsole.h
M sun-java/stubs/include/jri_md.h
M modules/oji/src/nsJVMManager.cpp


git-svn-id: svn://10.0.0.236/trunk@91183 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:05:03 +00:00
locka%iol.ie
f109555953 Added read-only implementations of innerHTML, innerText, offsetLeft, offsetTop, offsetWidth, offsetHeight. b=58475
git-svn-id: svn://10.0.0.236/trunk@91182 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 22:00:21 +00:00
edburns%acm.org
4e72c06770 http://bugzilla.mozilla.org/show_bug.cgi?id=69466
r=av
sr=waterson
Make it so incomplete hostnames, such as .eng.sun.com, are valid entries for
the noProxyFor list.


git-svn-id: svn://10.0.0.236/trunk@91180 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:56:59 +00:00
locka%iol.ie
cc8edeccc2 Updated GetTarget so windows are created if the named target cannot be found and for _new & _blank targets. b=72491, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@91179 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:56:02 +00:00
av%netscape.com
f05d8ec049 For 73856, adding new header file to the list of files to be exported, sr=vidur, ra=av
git-svn-id: svn://10.0.0.236/trunk@91178 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:41:19 +00:00
av%netscape.com
09c8488159 For 73856, new private interface for the plugin host, first time in, sr=vidur, ra=av
git-svn-id: svn://10.0.0.236/trunk@91177 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:35:57 +00:00
radha%netscape.com
71cd80f593 Fix for bug 73746. r=valeski, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@91176 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:34:30 +00:00
av%netscape.com
2d89d9e3a4 For 73856, adding new values to nsPluginInstanceVariable enum type, sr=vidur, ra=av
git-svn-id: svn://10.0.0.236/trunk@91175 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:33:17 +00:00
naving%netscape.com
f8854e2942 74446. sr=bienvenu. handle the period at the beginning of the line.
git-svn-id: svn://10.0.0.236/trunk@91174 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:32:59 +00:00
peterlubczynski%netscape.com
841e90d34d Fix for sending events to plugins on Windows through the DOM bug 60712 r=saari sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91173 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:32:37 +00:00
av%netscape.com
a82e86719b For 73856 -- adding new values to NPPVariable enumeration type, sr=vidur, ar=av
git-svn-id: svn://10.0.0.236/trunk@91172 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:29:48 +00:00
pinkerton%netscape.com
014590aa82 before executing command, check if it's a menu. fixes weird problems with context menus where rightclicking with a submenu visible would dismiss the parent but leave the submenu. r=pchen/sr=hyatt. bug# 71795
git-svn-id: svn://10.0.0.236/trunk@91171 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:20:43 +00:00
ducarroz%netscape.com
1228e9d631 Fix for bug 70222. Use IC to decide if we need to send the file as AppleDouble. R=varada, SR=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@91170 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:11:24 +00:00
ducarroz%netscape.com
402091e0a2 Fix for bug 70222. Add an API to retreive file mapping flags. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@91169 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:08:51 +00:00
ducarroz%netscape.com
634e01d85f Fix for bug 67504. Remove hardcoded string. R=varada, SR=bienvenu
Fix for bug 41150. Do not reveal BCC recipients when forwarding a message. R=varada, SR=bienvenu


git-svn-id: svn://10.0.0.236/trunk@91168 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:05:07 +00:00
ducarroz%netscape.com
382c9a9837 Fix for bug 67504. Remove hardcoded string. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@91167 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 21:03:30 +00:00
idk%eng.sun.com
0d7a733787 *not part of the build*
add on to my previous checkin


git-svn-id: svn://10.0.0.236/trunk@91166 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 20:59:04 +00:00
dave%intrec.com
b6faef51e6 Fix for bug 74529: backward email filtering fixed. patch by jake@acutex.net
git-svn-id: svn://10.0.0.236/trunk@91165 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 20:54:53 +00:00
disttsc%bart.nl
85513f5d0d Get postData from session history instead of BrowserInstance. bug=46200, r=law, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@91164 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 20:53:50 +00:00
dr%netscape.com
5869bd3fea fix for 74065. r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@91163 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 20:45:13 +00:00
dave%intrec.com
f5dae4e3f3 Fix for bug 53696: periods(.) and plusses(+) were not being accepted as valid in mime-types, which are legal per RFC2045 and RFC2048.
git-svn-id: svn://10.0.0.236/trunk@91162 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 20:42:58 +00:00
dr%netscape.com
b8f39c94f6 fix for 72010 (contrib by alex.fritze@crocodile-clips.com). r=dr, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@91161 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 20:42:41 +00:00
dr%netscape.com
fe4a8c286c fix for 40105. r=jst, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@91160 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 20:39:34 +00:00
beard%netscape.com
e10e494f55 fix for bug #6872, checking in for tnoyes@mac.com, r=beard, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@91159 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 20:23:36 +00:00
bnesse%netscape.com
7ecfbaef13 Updates to the future preferences API based on the latest round of feedback.
[Not Part of the Build]


git-svn-id: svn://10.0.0.236/trunk@91157 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 20:11:54 +00:00
rickg%netscape.com
da16bfd694 Adding hook for preloader; r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91156 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 19:40:58 +00:00
ftang%netscape.com
2dea739cf9 remove dead code prepare for bidi landing
The code removed are #ifdef and turn off right now.
r=bstell sr=erik


git-svn-id: svn://10.0.0.236/trunk@91155 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 19:34:56 +00:00
ftang%netscape.com
2d33682705 fix 71762.r=bstell sr=erik. add non standard jis0208 mapping
git-svn-id: svn://10.0.0.236/trunk@91154 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 19:30:33 +00:00
varada%netscape.com
a718e19985 fix for bug#71907 -cant send message;r=ducarroz;sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@91153 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 19:27:11 +00:00
joe.chou%eng.sun.com
7ed08b37f7 After converting nsIPluginManager.h to nsIPluginManager.idl (64297, already checked in), the original nsIPluginManager.h is no longer neede.
git-svn-id: svn://10.0.0.236/trunk@91151 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 19:09:39 +00:00
joe.chou%eng.sun.com
efdfd5c59e After converting nsIJVMPluginInstance.h to nsIJVMPluginInstance.idl (64296, already checked in), theoriginal nsIJVMPluginInstance.h is no longer needed.
git-svn-id: svn://10.0.0.236/trunk@91150 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 19:04:22 +00:00
disttsc%bart.nl
93523cb0ed Fix for bug 74488 (and hopefully bug 74552): app freezes in mail when psm dialog is brought up (/ a link is clicked), r=scc, sr=darin
git-svn-id: svn://10.0.0.236/trunk@91149 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 17:17:20 +00:00
dcone%netscape.com
6acdc377a9 back out change..
git-svn-id: svn://10.0.0.236/trunk@91146 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 15:29:33 +00:00
kestes%tradinglinx.com
d55d96f6c8 relax the uid/gid security checks for redhat 7.0
git-svn-id: svn://10.0.0.236/trunk@91145 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 15:14:27 +00:00
dcone%netscape.com
1573da7109 added a silent member. sr=attinasi r=kmmclusk.
git-svn-id: svn://10.0.0.236/trunk@91144 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 14:38:42 +00:00
ccarlen%netscape.com
d735ced6e8 Sample code - not part of the process. Bug 74120 - remove refs to old cache. r=valeski.
git-svn-id: svn://10.0.0.236/trunk@91143 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 14:32:01 +00:00
peterv%netscape.com
af566ed325 Removing use of HashTable (bug #69091). Not part of default build. r=Pike.
git-svn-id: svn://10.0.0.236/trunk@91142 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 14:31:33 +00:00
ccarlen%netscape.com
d34d0b9bea Sample code - not part of the process. Bug 71387 - remove unneeded code to determine locale of profile defaults. r=tao
git-svn-id: svn://10.0.0.236/trunk@91141 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 14:29:01 +00:00
rods%netscape.com
de53e898e2 removing special centering code for width
Bug 68573 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@91140 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 14:10:47 +00:00
dbaron%fas.harvard.edu
282c63502d Fix Boehm GC + MOZ_TRACK_MODULE_DEPS build. r=disttsc@bart.nl sr=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@91139 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 13:29:13 +00:00
miodrag%netscape.com
ef15674f7e Allow explicit SSLSocketFactory, contribution by Kyle F. Downey, kdowney@amberarcher.com
git-svn-id: svn://10.0.0.236/trunk@91138 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 13:17:22 +00:00
miodrag%netscape.com
70e4886ec2 A minor update
git-svn-id: svn://10.0.0.236/trunk@91137 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 13:13:52 +00:00
miodrag%netscape.com
ac66a4b576 74378 fix in flushEntries(), contribution by Glenn McAllister, glenn@somanetworks.com
git-svn-id: svn://10.0.0.236/trunk@91136 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 13:12:03 +00:00
peterv%netscape.com
4b69a94419 Removing unused files. Not part of default build. r=Pike.
git-svn-id: svn://10.0.0.236/trunk@91135 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 13:00:38 +00:00
peterv%netscape.com
af590839d9 Making this file compile on Mac. Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@91133 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 12:38:50 +00:00
peterv%netscape.com
ae721659d9 Fix some of bug #59853 (new operator should be used with more care). Not part of default build. r=Pike.
git-svn-id: svn://10.0.0.236/trunk@91132 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 12:38:01 +00:00
peterv%netscape.com
f51cda11e6 Fix some leaks (bug #72179). Not part of default build. r=Pike.
git-svn-id: svn://10.0.0.236/trunk@91131 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 12:36:07 +00:00
peterv%netscape.com
0264c08211 Allow use of Transformiix in embedding (bug #72143). Not part of default build. r=heikki.
git-svn-id: svn://10.0.0.236/trunk@91130 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 12:33:03 +00:00
peterv%netscape.com
0eb10aa694 Removing use of HashTable (bug #69091). Removing CommandLineUtils from module build. Not part of default build. r=Pike.
git-svn-id: svn://10.0.0.236/trunk@91129 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 12:30:50 +00:00
peterv%netscape.com
0f3fae5540 Small clean-up. Not part of default build. r=Pike.
git-svn-id: svn://10.0.0.236/trunk@91128 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 12:25:03 +00:00
peterv%netscape.com
e85c1a22ba Redesign wrappers a bit (bug #65237). Comment out nslogging stuff for now. Use mozilla's new GetBaseURI. Not part of default build. r=Pike.
git-svn-id: svn://10.0.0.236/trunk@91127 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 12:23:03 +00:00
peterv%netscape.com
5c753a496b Adding two files (nsUnicodeToTeXCMMIttf.cpp and nsUnicodeToTeXCMSYttf.cpp) to keep MathML building on Mac. Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@91126 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 12:06:13 +00:00
idk%eng.sun.com
64984abc73 * not part of the build*
Fixed 71951, 74511, 74525


git-svn-id: svn://10.0.0.236/trunk@91125 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 11:57:15 +00:00
markh%activestate.com
a8c7226929 Pass the class itself to the registrar function.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@91124 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 11:17:35 +00:00
markh%activestate.com
25cd24f421 Free a leaking IID.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@91122 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 10:43:27 +00:00
markh%activestate.com
9a40c7d956 Final set of changes to bring us into like with the new file IO world.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@91121 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 10:41:38 +00:00
markh%activestate.com
151f1e3fd3 Allow services to use interface names as a string, just like regular components.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@91120 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 10:41:09 +00:00
ssu%netscape.com
0453f1c09f fixing:
bug 68053 - Win32 installer needs to log the installation process.
bug 64433 - setup.exe inside mozilla-win32-installer.exe contains "Netscape" text
bug 72254 - Installer should not place Uninstaller shortcut in Start Menu
bug 72422 - Moz Installer needs to update internal ua to 0.9
bug 74173 - Win32 installer needs to offer ability to disable path change
bug 64179 - "K" should be "KB"
bug 71108 - Installer FTP stage is slow on Win32
bug 71113 - Log files should not prevent installation
http://bugscape/show_bug.cgi?id=4196 - Launching Setup via a CD autorun causes dll error

r=dveditz
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@91118 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 09:44:22 +00:00
dveditz%netscape.com
a4ac8f7d68 one more try, force depend to be clobber in this directory
git-svn-id: svn://10.0.0.236/trunk@91117 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 08:59:34 +00:00
timeless%mac.com
7cf6907320 temp patch to fix build bustage r=bstell
CODEPAGE is not defined (perhaps we don't have glibc2.1 on some tinders?)
so i'm disabling the code that would try to use it.


git-svn-id: svn://10.0.0.236/trunk@91115 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 08:45:05 +00:00
dveditz%netscape.com
5d7092e5e8 fixing win32 clobber bustage too
git-svn-id: svn://10.0.0.236/trunk@91114 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 08:15:18 +00:00
dveditz%netscape.com
6b534e9e27 fixing win32 depend bustage -- hack alert
git-svn-id: svn://10.0.0.236/trunk@91113 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 08:12:02 +00:00
disttsc%bart.nl
0e603efaad Fix MOZ_TRACK_MODULE_DEPS bustage (senna)
git-svn-id: svn://10.0.0.236/trunk@91112 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 07:49:49 +00:00
disttsc%bart.nl
ca5ce7c32a Fix speedracer bustage. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@91111 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 07:47:54 +00:00
sdagley%netscape.com
93c22f57fa Fix linkage probs preventing lib loading under Carbon. No bug #. r/a/doh!=saari
git-svn-id: svn://10.0.0.236/trunk@91110 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 07:19:51 +00:00
jst%netscape.com
2fb55fe1f8 Fixing crasher/regression bug 74431 that I caused a few weeks ago.
git-svn-id: svn://10.0.0.236/trunk@91109 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 07:14:12 +00:00
mscott%netscape.com
eb8f9e5308 (NOT PART OF THE BUILD)
get icon support working on win2k by supporting 16 bit per pixel RGB data from the OS.
Turn this 5:5:5 data into 24 bit per pixel data.

still doesn't look quite right color wise (the blues are off) but it's closer.


git-svn-id: svn://10.0.0.236/trunk@91108 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 07:09:20 +00:00
dveditz%netscape.com
efbf1b32a6 Fix 72551 speed up zip archive opening. r=ssu,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@91107 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:35:13 +00:00
erik%netscape.com
d37fea69b3 checkin for bstell@netscape.com:
bug 55021; r=ftang@netscape.com, sr=erik@netscape.com
sample postscript font names file


git-svn-id: svn://10.0.0.236/trunk@91106 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:30:17 +00:00
erik%netscape.com
619faf0ee9 checkin for bstell@netscape.com:
bug 55021; r=ftang@netscape.com, sr=erik@netscape.com
remove default japanese postscript font names
these have been moved into nsPostScriptObj.cpp so user can override them


git-svn-id: svn://10.0.0.236/trunk@91105 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:27:40 +00:00
leaf%mozilla.org
a124ec6d2c Automated update
git-svn-id: svn://10.0.0.236/trunk@91104 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:15:02 +00:00
sspitzer%netscape.com
ea80fb54c5 #72282 fix the "watched threads" crasher, again
#62455 make sure double clicking on a cell in a column that is a cycler doesn't open the message in a new window

#72665, #73888
treat the thread unread and thread total columns like all the other columns.
allow the user to persist their hidden attribuyte.
don't hide / show them when switching between threaded and nonthreaded views.
All that's left is to hide those columns by default.

#72252 fix sort indicator problems

#72250 sorts should default to ascending

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@91103 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:13:38 +00:00
erik%netscape.com
bae21fa3f9 checkin for bstell@netscape.com:
bug 55021; r=ftang@netscape.com, sr=erik@netscape.com
read postscript printer vendor supplied font names file
export a sample postscript font names file


git-svn-id: svn://10.0.0.236/trunk@91102 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:09:02 +00:00
erik%netscape.com
0aacd6d07e checkin for bstell@netscape.com:
bug 55021; r=ftang@netscape.com, sr=erik@netscape.com
read postscript printer vendor supplied font names file


git-svn-id: svn://10.0.0.236/trunk@91101 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:08:27 +00:00
erik%netscape.com
2bd2fa11f2 checkin for bstell@netscape.com:
bug 55021; r=ftang@netscape.com, sr=erik@netscape.com
read postscript printer vendor supplied font names file
function declarations for code to read postscript printer
  vendor supplied font names file


git-svn-id: svn://10.0.0.236/trunk@91100 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:07:57 +00:00
erik%netscape.com
8312e3d856 checkin for bstell@netscape.com:
bug 54000; r=ftang@netscape.com, sr=erik@netscape.com
(part of nl_langinfo(CODESET);)
add comment noting where to add line to include a charset remapping file


git-svn-id: svn://10.0.0.236/trunk@91099 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:06:59 +00:00
sspitzer%netscape.com
750b4b411a remove usused files.
git-svn-id: svn://10.0.0.236/trunk@91098 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:06:58 +00:00
erik%netscape.com
a52289a76d checkin for bstell@netscape.com:
bug 54000; r=ftang@netscape.com, sr=erik@netscape.com
(part of nl_langinfo(CODESET);)
this is a sample nl_langinfo(CODESET) to gecko charset remapping file


git-svn-id: svn://10.0.0.236/trunk@91097 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:06:24 +00:00
erik%netscape.com
ced7b9640b checkin for bstell@netscape.com:
bug 54000; r=ftang@netscape.com, sr=erik@netscape.com
(part of nl_langinfo(CODESET);)
add comment saying this file is deprecated


git-svn-id: svn://10.0.0.236/trunk@91096 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:05:47 +00:00
sspitzer%netscape.com
2a0503de9a #74454, allow the user to edit the value "limit message size" text area
when it is enabled.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@91095 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:05:31 +00:00
erik%netscape.com
54f87fda1b checkin for bstell@netscape.com:
bug 54000; r=ftang@netscape.com, sr=erik@netscape.com
get charset using ns_langinfo(CODESET)
(instead of mapping setlocale(LC_LCTYPE, nsnull);)


git-svn-id: svn://10.0.0.236/trunk@91094 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:05:05 +00:00
sspitzer%netscape.com
72ea6ce645 #74473
fix js exception when clicking on the column picker.
sr=ben.


git-svn-id: svn://10.0.0.236/trunk@91093 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:04:03 +00:00
erik%netscape.com
44b64e90c0 checkin for bstell@netscape.com:
bug 54000; r=ftang@netscape.com, sr=erik@netscape.com
(part of nl_langinfo(CODESET);)
add NS_ERROR_USING_FALLBACK_LOCALE


git-svn-id: svn://10.0.0.236/trunk@91092 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:03:59 +00:00
erik%netscape.com
88eb8c75f2 eckin for bstell@netscape.com:
bug 54000; r=ftang@netscape.com, sr=erik@netscape.com
(part of nl_langinfo(CODESET);)
add check for nl_langinfo and libc-version.h


git-svn-id: svn://10.0.0.236/trunk@91091 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:01:49 +00:00
erik%netscape.com
d674d7cdbf checkin for bstell@netscape.com:
bug 54000; r=ftang@netscape.com, sr=erik@netscape.com
(part of nl_langinfo(CODESET);)
add OS_ARCH compile define


git-svn-id: svn://10.0.0.236/trunk@91090 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:01:07 +00:00
erik%netscape.com
87c1708f1c checkin for bstell@netscape.com:
bug 54000; r=ftang@netscape.com, sr=erik@netscape.com
(part of nl_langinfo(CODESET);)
add DidLoad() method to indicate the file was loaded


git-svn-id: svn://10.0.0.236/trunk@91089 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 06:00:01 +00:00
erik%netscape.com
d4c5d165ed checkin for bstell@netscape.com:
bug 54000; r=ftang@netscape.com, sr=erik@netscape.com
(part of nl_langinfo(CODESET);)
add DidLoad() method to indicate the properties file was loaded


git-svn-id: svn://10.0.0.236/trunk@91088 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 05:59:44 +00:00
nicolson%netscape.com
c605e08e1c just hacking.
git-svn-id: svn://10.0.0.236/trunk@91087 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 04:08:20 +00:00
scc%mozilla.org
c88fb14442 fix speedracer bustage
git-svn-id: svn://10.0.0.236/trunk@91086 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 04:07:25 +00:00
scc%mozilla.org
2973f31c8f fix speedracer bustage
git-svn-id: svn://10.0.0.236/trunk@91083 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 03:29:49 +00:00
edburns%acm.org
5467f21d10 We need to have this file to unjar the dom jar into dist/classes.
git-svn-id: svn://10.0.0.236/trunk@91081 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 02:03:07 +00:00
scc%mozilla.org
6c826b6f79 fix speedracer bustage once and for all
git-svn-id: svn://10.0.0.236/trunk@91080 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 01:47:55 +00:00
edburns%acm.org
3aeae22b4e Use getEventDetail to tell if the mouse button was pressed.
git-svn-id: svn://10.0.0.236/trunk@91079 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 01:37:28 +00:00
scc%mozilla.org
fb94b0d593 fix speedracer bustage
git-svn-id: svn://10.0.0.236/trunk@91076 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 01:18:09 +00:00
ddrinan%netscape.com
79b2e3632e Added client auth callback
git-svn-id: svn://10.0.0.236/trunk@91075 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 01:11:30 +00:00
ddrinan%netscape.com
0365bb8105 Need to include dist/private/security
git-svn-id: svn://10.0.0.236/trunk@91074 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 01:10:57 +00:00
ddrinan%netscape.com
69982f32f2 Added client auth dialog interface
git-svn-id: svn://10.0.0.236/trunk@91073 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 01:10:10 +00:00
ddrinan%netscape.com
570f3987dc Client auth xul and js
git-svn-id: svn://10.0.0.236/trunk@91072 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 01:09:03 +00:00
ddrinan%netscape.com
49af02d7d1 Added client auth resources
git-svn-id: svn://10.0.0.236/trunk@91071 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 01:07:30 +00:00
ddrinan%netscape.com
d94d631f55 Added support for client auth dialogs
git-svn-id: svn://10.0.0.236/trunk@91070 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 01:06:17 +00:00
scc%mozilla.org
3701ed2f04 fix torino bustage
git-svn-id: svn://10.0.0.236/trunk@91069 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 00:42:48 +00:00
edburns%acm.org
972e690574 When bug 74468 gets fixed, -1 will be returned from getButton().
git-svn-id: svn://10.0.0.236/trunk@91068 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 00:42:47 +00:00
scc%mozilla.org
72ec93e781 fix speedracer bustage
git-svn-id: svn://10.0.0.236/trunk@91067 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-03 00:23:06 +00:00
edburns%acm.org
960a520571 Don't try to free an automatic variable.
git-svn-id: svn://10.0.0.236/trunk@91064 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 23:27:44 +00:00
mkaply%us.ibm.com
b27816d8a8 I give up.
Hack fix to fix OS/2 TB break.
Real fix is in #74224


git-svn-id: svn://10.0.0.236/trunk@91063 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 23:16:19 +00:00
scc%mozilla.org
7415e115f6 fix bustage
git-svn-id: svn://10.0.0.236/trunk@91062 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 23:11:04 +00:00
scc%mozilla.org
7cbb7b5ebd attempting to fix AIX, et al, bustage
git-svn-id: svn://10.0.0.236/trunk@91061 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 23:05:55 +00:00
edburns%acm.org
447399fb12 // replace nsString::Recycle with nsMemory::Free
java/dom/jni/org_mozilla_dom_events_MouseEventImpl.cpp
java/dom/jni/org_mozilla_dom_events_UIEventImpl.cpp
java/dom/jni/org_mozilla_dom_events_EventImpl.cpp
java/dom/jni/org_mozilla_dom_ProcessingInstructionImpl.cpp
java/dom/jni/org_mozilla_dom_NodeImpl.cpp
java/dom/jni/org_mozilla_dom_NamedNodeMapImpl.cpp
java/dom/jni/org_mozilla_dom_ElementImpl.cpp
java/dom/jni/org_mozilla_dom_DOMImplementationImpl.cpp
java/dom/jni/org_mozilla_dom_DocumentImpl.cpp
java/dom/jni/org_mozilla_dom_CharacterDataImpl.cpp
java/dom/jni/org_mozilla_dom_AttrImpl.cpp
java/dom/jni/javaDOMEventsGlobals.cpp

// On*DocumentLoad() now takes an nsIRequest instead of an nsIChannel.
// nsIChannel extends nsIRequest.
java/dom/src/nsJavaDOMImpl.cpp
java/dom/src/nsJavaDOMImpl.h
java/dom/src/nsIJavaDOM.h

// nsIChannel instances replaced with nsIRequest. Removed ShowModal(),
// ExitModalLoop(), FindNamedBrowserItem().  Parameter changes for
// {Set,Get}Persistence().  Add DestroyBrowserWindow(), IsWindowModal().
// supports weak references
java/webclient/src_moz/CBrowserContainer.h
java/webclient/src_moz/CBrowserContainer.cpp

// GetProfileList now returns an array of profile names.  Need to use
// nsIProfileInternal instead of nsIProfile for StartupWithArgs.
java/webclient/src_moz/NativeEventThread.cpp

// Remove -lxpfelocation_s
java/webclient/src_moz/Makefile.in

// Don't include appfilelocprovider_s
java/webclient/src_moz/Makefile.win

// Don't assert thread safe, cause we are thread safe
java/webclient/src_moz/InputStreamShim.cpp


git-svn-id: svn://10.0.0.236/trunk@91060 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 22:48:33 +00:00
scc%mozilla.org
f959d16949 partial fix for ports bustage
git-svn-id: svn://10.0.0.236/trunk@91059 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 22:42:49 +00:00
scc%mozilla.org
d5cfafb98f fix speedracer bustage; r=jag and jst
git-svn-id: svn://10.0.0.236/trunk@91052 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 22:00:34 +00:00
ashuk%eng.sun.com
e483742f91 Merging JAVADEV_RTM_20001102 into Trunk
_Ashu


git-svn-id: svn://10.0.0.236/trunk@91051 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 21:18:06 +00:00
dbaron%fas.harvard.edu
6657eede2c Fix bustage (if CSS_REPORT_PARSE_ERRORS is defined) from scc's string branch landing. nsLiteralChar was removed, so use nsLocalString instead. r=disttsc@bart.nl sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@91050 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 21:14:23 +00:00
scc%mozilla.org
7b06841b03 landing string branch; see bug #73786
git-svn-id: svn://10.0.0.236/trunk@91049 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 19:40:52 +00:00
pinkerton%netscape.com
e12df9c36a set the out param for GetSelection in all cases. fixes blocker. r=blake, sr=smfr. bug 74217.
git-svn-id: svn://10.0.0.236/trunk@91048 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 18:18:53 +00:00
sonmi%netscape.com
7347110b37 improved usage and parameters, reduced connections from 5 to 1
git-svn-id: svn://10.0.0.236/trunk@91046 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 17:32:48 +00:00
brade%netscape.com
31e670fc9d use internet config to get colors for text and window background; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@91045 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 14:27:28 +00:00
brade%netscape.com
1cb353f0fe only add flavors when we have data in that flavor; r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@91044 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 14:11:01 +00:00
glazman%netscape.com
5b94c6728b Default namespace in html:style was HTML by default; b=72302, r=peterv, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91043 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 13:56:22 +00:00
sspitzer%netscape.com
2fb7ed4b12 fix warnings
git-svn-id: svn://10.0.0.236/trunk@91042 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 09:20:17 +00:00
sspitzer%netscape.com
118d32c61a fix for #74354. on a new header, force the row for the parent thread to update.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@91038 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 07:48:53 +00:00
sspitzer%netscape.com
450a5447cf fix #74354. the icon in the thread column should have the green arrow
if the thread has any unread messages

fix #72281.  if new message arrive and they are children of a collapsed
thread, they should not become the king of the thread.

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@91036 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 07:22:27 +00:00
jfrancis%netscape.com
efbcb3dec1 bug 58281: fixing mem leaks when shuffling nsISupports around in editor paste code. r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@91029 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 06:09:44 +00:00
sspitzer%netscape.com
2a3f8fcaa3 re-fix #72256. now that AdjustSelection() is working, inappropriately calling RowCountChange() will mess up the selection. (I'm the champ who added the inappropriate call.) sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@91026 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 05:30:39 +00:00
mscott%netscape.com
fd11d7c8e4 NOT PART OF THE BUILD YET
Windows specific icon channel implemenation for reading out icon bitmaps from the OS.

Landing files for icon urls. For windows only currently, this code will read out
icon bitmaps based on info from the windows registry and turns that into a 24 bit RGB image
which we can render. Icon urls have the form of:
icon://test.html/large
icon://test.doc/small
icon://test.doc (defaults to small).

Currently doesn't work on win2k yet.


git-svn-id: svn://10.0.0.236/trunk@91025 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 04:57:23 +00:00
mscott%netscape.com
55f471786c NOT PART OF THE BUILD YET
Landing files for icon urls. For windows only currently, this code will read out
icon bitmaps based on info from the windows registry and turns that into a 24 bit RGB image
which we can render. Icon urls have the form of:
icon://test.html/large
icon://test.doc/small
icon://test.doc (defaults to small).

Currently doesn't work on win2k yet.


git-svn-id: svn://10.0.0.236/trunk@91024 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 04:56:18 +00:00
stephend%netscape.com
7e2510a1e6 Removing 'Netscape' from console output in nsPop3Protocol.cpp. Bug 42509. Patch by Henrik Gemal <gemal@gemal.dk> r=hwaara@chello.se sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@91023 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 03:57:29 +00:00
karnaze%netscape.com
2a157ec8eb new regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@91022 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 03:37:59 +00:00
karnaze%netscape.com
3d4646b8a3 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@91021 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 03:24:31 +00:00
karnaze%netscape.com
dc9119345d bug 57467 - print a new row on the current page if it will waste too much space otherwise. sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@91020 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 03:21:58 +00:00
darin%netscape.com
7ba1e92b05 Fixes bug 72520 "support for cacheKeys must be implemented" r=gordon sr=dougt
git-svn-id: svn://10.0.0.236/trunk@91016 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 01:20:43 +00:00
darin%netscape.com
8568921a21 Fixes bug 73875 "www.fox.com does not load" r=beard sr=brendan
git-svn-id: svn://10.0.0.236/trunk@91015 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 01:12:40 +00:00
pollmann%netscape.com
fa49d41052 Bug 65609: (DOM) Allow form elements inside a subtree to find their parent when the subtree is appended/inserted. r=nisheeth@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@91014 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 00:45:52 +00:00
bryner%uiuc.edu
327beb9a6f Bug 38061 - removing obsolete headers. sr=cls.
git-svn-id: svn://10.0.0.236/trunk@91013 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 00:22:19 +00:00
mcafee%netscape.com
6ed1ca5564 Minor UI changes to get content to fit on pref panes with better resizing behavior (74002). sr=ben
git-svn-id: svn://10.0.0.236/trunk@91011 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 22:28:34 +00:00
waterson%netscape.com
7fc3df77e7 Bug 69973. Use NC_EXTENSION on Win32, too. Patch submitted by william.cook@crocodile-clips.com, r=bryner, ksosez@softhome.net; sr=waterson
git-svn-id: svn://10.0.0.236/trunk@91008 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 20:10:37 +00:00
jgmyers%netscape.com
e43bdd3098 don't decode overlong UTF8 sequences: bug 29314 r=jag sr=scc
git-svn-id: svn://10.0.0.236/trunk@91007 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 19:40:32 +00:00
jgmyers%netscape.com
07b50ade19 distinguish weak crypto: bug 31896 r=ddrinan
git-svn-id: svn://10.0.0.236/trunk@91006 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 19:38:12 +00:00
jgmyers%netscape.com
d305166394 distinguish weak crypto in PSM2: bug 31896 r=dmose ser=darin
git-svn-id: svn://10.0.0.236/trunk@91005 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 19:37:29 +00:00
chak%netscape.com
5c167d9d75 Calling Activate()/Deactivate() from inside of HandleEvent() as suggested by blizzard
This is a part of:
Fix for #71014 - arrow keys don't work inside text areas in mfcEmbed.
r=saari, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@91003 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 18:02:39 +00:00
chak%netscape.com
9c0f200110 Fix for #71014 - arrow keys don't work inside text areas in mfcEmbed.
r=saari, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@91002 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 17:51:12 +00:00
chak%netscape.com
edbac2c7c9 Fixes for the following bugs:
#74155 - MfcEmbed needs a prefs dlg box.
         r=valeski, sr=blizzard

#71014 - arrow keys don't work inside text areas in mfcEmbed.
         r=saari, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@91001 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 17:49:51 +00:00
mcafee%netscape.com
b49c02f26e Centering find dialog (9131). sr=ben
git-svn-id: svn://10.0.0.236/trunk@91000 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 12:09:08 +00:00
mcafee%netscape.com
36005ecf47 Adding ctrl+f for edit|search history (67908). r=blake, sr=ben
git-svn-id: svn://10.0.0.236/trunk@90997 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 11:43:06 +00:00
hwaara%chello.se
b0377ef658 Kill the last remaining js warning in this file. bug 60632. r=mao, sr=jst
git-svn-id: svn://10.0.0.236/trunk@90996 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 11:05:51 +00:00
jst%netscape.com
b98b69f1b3 Removing unused files.
git-svn-id: svn://10.0.0.236/trunk@90995 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 11:05:14 +00:00
jst%netscape.com
2a665086ed Removing unused files.
git-svn-id: svn://10.0.0.236/trunk@90994 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 10:58:34 +00:00
darin%netscape.com
c77492dc3e Fixes bug 72320. abort on exit (sending "logout" to a closed IMAP socket?).
r=sspitzer,dougt,mscott.


git-svn-id: svn://10.0.0.236/trunk@90987 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 05:17:42 +00:00
disttsc%bart.nl
19a59d243b Removing prefutilities.js, moving the code in it to where it belongs. bug=73355, r=mao, sr=ben
git-svn-id: svn://10.0.0.236/trunk@90986 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 05:02:07 +00:00
cls%seawood.org
5ca7a32c5b Add accessibility to REQUIRES. Fixing senna tb bustage.
git-svn-id: svn://10.0.0.236/trunk@90982 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 03:44:35 +00:00
morse%netscape.com
541e249bbc not part of build
git-svn-id: svn://10.0.0.236/trunk@90981 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 02:31:47 +00:00
av%netscape.com
06e15798d9 Fixing bug 73071, adding nsIPlugin::Shutdown in the plugin host destruction, r=beard, a=av, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90980 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 02:29:51 +00:00
mcafee%netscape.com
922741fa71 Setting width, height for logo.gif to avoid reflow (68264). sr=ben
git-svn-id: svn://10.0.0.236/trunk@90979 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 01:51:44 +00:00
evaughan%netscape.com
4067031dd1 Landing MSAA part of accessibility (DISABLED)
-r vidur -sr hyatt


git-svn-id: svn://10.0.0.236/trunk@90978 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 01:38:35 +00:00
jst%netscape.com
1464e3a801 New file, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@90976 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 01:17:43 +00:00
jst%netscape.com
0ad75975e8 Adding new files, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@90973 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 01:10:59 +00:00
cls%seawood.org
60e8454658 Second round of nspr autoconf cleanup.
Adding --with-dist-prefix options to free up standard options for real installs.
Bug #73919 r=bryner


git-svn-id: svn://10.0.0.236/trunk@90972 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 01:02:23 +00:00
evaughan%netscape.com
94e72ae454 XP part of accessibility landing
-r vidur, rods -sr hyatt


git-svn-id: svn://10.0.0.236/trunk@90971 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 01:01:33 +00:00
waterson%netscape.com
4323130426 Bug 60079. Look a little bit harder for <area> elements, rather than just bailing if the first element in the <map> isn't an <area>. r=saari, sr=jst
git-svn-id: svn://10.0.0.236/trunk@90970 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 00:45:59 +00:00
waterson%netscape.com
9c686d896b Bug 53251. RecreateFrameForContent() on a 'special' frame need only ReframeContainingBlock(). r=karnaze, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90969 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 00:43:27 +00:00
mkaply%us.ibm.com
60e6b41fc8 No bug
r=mkaply, a=blizzard
Changes to get OS/2 working after LIBPR0N


git-svn-id: svn://10.0.0.236/trunk@90968 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 23:50:35 +00:00
pinkerton%netscape.com
e4fb924942 take out some useless code r=blake. bug# 18726.
git-svn-id: svn://10.0.0.236/trunk@90967 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 23:50:25 +00:00
pinkerton%netscape.com
1f8515d285 prevent click-hold scrollbars from coming up on form elements. r=pchen/sr=hyatt. bug# 18726.
git-svn-id: svn://10.0.0.236/trunk@90966 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 23:32:14 +00:00
pinkerton%netscape.com
544b8ba8d1 prevent scrollbars and popups from doing bad things with the new context menu events. r=pchen/sr=hyatt. bug# 18726
git-svn-id: svn://10.0.0.236/trunk@90965 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 23:31:37 +00:00
harishd%netscape.com
b41e36791e 69331 - <?XML..> does not require BODY!!
66985 - Do not open BODY for INPUT type=hidden. For compatibility
72639 - Discard nested FORMS
2749  - Enable Strict comment parsing.

Replace PRBools with bit operation.
nsScanner Append() should return nsresult not PRBool.

r=heikki
sr=jst


git-svn-id: svn://10.0.0.236/trunk@90964 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 22:44:05 +00:00
disttsc%bart.nl
3c74b21e9a Adding .cvsignore loving to mozilla/accessible/ and mozilla/accessible/public/
git-svn-id: svn://10.0.0.236/trunk@90963 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 20:32:49 +00:00
evaughan%netscape.com
49dad6729e Adding accessibilty to mac build
-r pinkerton -sr sfraser


git-svn-id: svn://10.0.0.236/trunk@90962 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 20:18:31 +00:00
morse%netscape.com
d86eebd4ad bug 74112, cookie following deleted cookie not getting sent out, r=valeski, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@90961 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 14:34:54 +00:00
roc+%cs.cmu.edu
5ea7ffb101 Correct child widget's view according to parent view's coordinates in AddCoveringWidgetsToOpaqueRegion. Fix for bug 73406. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90960 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 13:41:28 +00:00
hwaara%chello.se
127a95b883 fix if "limit message size" check box is disabled, disabled the "size" text area and do some additional cleanup. bug 74044. sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@90959 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 11:27:34 +00:00
syd%netscape.com
fbc867997c Fix for 74115, r=dveditz, sr=tor
git-svn-id: svn://10.0.0.236/trunk@90958 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 08:50:32 +00:00
beard%netscape.com
ebf25fceb5 Fixes bug #73194, when profile switching occurs, ensure new cache directory is created. r=beard, sr=darin
git-svn-id: svn://10.0.0.236/trunk@90956 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 07:37:19 +00:00
cls%seawood.org
eea62e46c8 Add needed include for BeOS BONE builds.
Thanks to maz@albany.net (Matthew Zahorik) for the patch.
Bug #71681 r=darin


git-svn-id: svn://10.0.0.236/trunk@90952 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 06:23:49 +00:00
cls%seawood.org
8b63a103c4 Add version check for Qt toolkit. Minimum required version 2.2.0 (Bug #73987, r=cls)
Update QT_CFLAGS to use proper include path and special string define. (Bug #70509, r=leaf, sr=cls)
Thanks to johng@corel.com (John Griggs) for the patches.


git-svn-id: svn://10.0.0.236/trunk@90951 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 06:21:57 +00:00
sean%beatnik.com
af30194bfc fix for bug 73349: internet shortcuts created improperly. r=pinkerton sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@90950 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 05:04:57 +00:00
sspitzer%netscape.com
665b669141 #73840 fix crashers caused by a missing and addref on the db in one case, one extra one in another.
#72256 Msg selection needs to hold when expanding threads of other msgs
#72264 sorting by thread doesn't restore selection properly
#72284 Get Msg selects new message instead of leaving thread pane selection on current selected message
#74068 scroll to selected message after the sort
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@90949 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 04:59:03 +00:00
sspitzer%netscape.com
6c1136f07e #72122 implement AdjustSelection on the outliner selection. sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90948 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 04:55:34 +00:00
andreww%netscape.com
5ae4e22b64 bug 47290 r-timeless, sr-hyatt - remove grey bar when sidebar disabled
git-svn-id: svn://10.0.0.236/trunk@90943 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 03:50:17 +00:00
andreww%netscape.com
5576ddb6bd bug 72897 r=timeless, sr=hyatt toolbar buttons too wide
git-svn-id: svn://10.0.0.236/trunk@90942 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 03:49:12 +00:00
cls%seawood.org
c0e43b0b55 Remove solaris flags to use libiostream in the build.
Thanks to rich.burridge@Sun.COM (Rich Burridge) for the patch.
Bug #74005 r=cls


git-svn-id: svn://10.0.0.236/trunk@90941 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 03:39:09 +00:00
sean%beatnik.com
dda2578962 backing out part of my last patch to fix Sun build bustage.
git-svn-id: svn://10.0.0.236/trunk@90940 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 03:01:52 +00:00
bienvenu%netscape.com
0d9569e5f5 fix problem with messed up imap folder hierarchy, folder names in server.msf files 72854 and 72871 sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@90939 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 02:50:11 +00:00
nelsonb%netscape.com
5b276cd67e Fix a couple of memory leaks that occur in rare error paths.
git-svn-id: svn://10.0.0.236/trunk@90938 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 02:49:59 +00:00
sean%beatnik.com
a8c2b13cd4 fix for bug 73289. Make plugin host an xpcom-shutdown observer so that it can release plugins even if it itself is leaked. ar=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90936 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 02:26:51 +00:00
leaf%mozilla.org
7070751edd Automated update
git-svn-id: svn://10.0.0.236/trunk@90935 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 02:00:03 +00:00
bryner%uiuc.edu
f3c0851883 Fixing --disable-libpr0n so we can see if it's causing the profile problems. r=cls.
git-svn-id: svn://10.0.0.236/trunk@90934 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 01:56:38 +00:00
karnaze%netscape.com
08223b27c4 fix regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@90928 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 01:33:21 +00:00
leaf%mozilla.org
70e61b9f1c Automated update
git-svn-id: svn://10.0.0.236/trunk@90927 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 01:15:03 +00:00
disttsc%bart.nl
6747645aa8 Convert hkscs.ut from DOS mode to UNIX mode (newline fu) to make Cement happy.
git-svn-id: svn://10.0.0.236/trunk@90926 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 01:11:45 +00:00
cls%seawood.org
8b1861c0ec Making ldap beos-aware. Fixing tinderbox bustage.
Bug #74163 r=dmose@netscape.com


git-svn-id: svn://10.0.0.236/trunk@90924 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 01:06:51 +00:00
pavlov%netscape.com
8d387bf49f fix for bug 74115. r=saari sr=scc
git-svn-id: svn://10.0.0.236/trunk@90923 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 00:50:30 +00:00
karnaze%netscape.com
f7f2974fa4 fix regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@90921 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 00:46:49 +00:00
cls%seawood.org
8077c2249e dos2unix: converting file intl/uconv/ucvtw/hkscs.uf to UNIX format ...
git-svn-id: svn://10.0.0.236/trunk@90920 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 00:36:19 +00:00
av%netscape.com
e018a51da3 Fixing 71884, making native Windows Get Plugin dialog modeless, r=serge, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90919 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 23:56:38 +00:00
kestes%tradinglinx.com
c293543b6d do not have blank lines before the mail headers, postfix will choke.
git-svn-id: svn://10.0.0.236/trunk@90918 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 22:44:54 +00:00
kestes%tradinglinx.com
866050de31 do not have blank lines before the mail headers, postfix will choke.
git-svn-id: svn://10.0.0.236/trunk@90917 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 22:44:10 +00:00
karnaze%netscape.com
fb99a87f3a new printing regression tests/cleanup, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@90916 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 22:19:31 +00:00
cls%seawood.org
5efbd2c0d8 Add timer to REQUIRES. Fixing senna tb bustage
git-svn-id: svn://10.0.0.236/trunk@90915 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 22:19:00 +00:00
rginda%netscape.com
a5ff3d3128 -- NOT PART OF ANY BUILD --
ircbot.js: only check userIsOwner if we care about the result
mingus.js: update owners list, add op owners on join


git-svn-id: svn://10.0.0.236/trunk@90911 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 21:05:24 +00:00
mcgreer%netscape.com
0244ac115b clean up PKCS#12 code
refer to certs by db key, not nickname (fixes nickname collision bugs)


git-svn-id: svn://10.0.0.236/trunk@90907 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 19:55:00 +00:00
kestes%tradinglinx.com
3871d7b75c remove duplicate printing of unmonitored build list.
git-svn-id: svn://10.0.0.236/trunk@90906 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 19:54:50 +00:00
javi%netscape.com
566e0db160 Fix for bug 64713. Patch from Margaret Chan to get PSM building using gcc
git-svn-id: svn://10.0.0.236/trunk@90903 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 18:46:06 +00:00
brade%netscape.com
739e748c0e remove platform specific bindings; remove ids
git-svn-id: svn://10.0.0.236/trunk@90899 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 16:02:39 +00:00
brade%netscape.com
0596bcb1c7 move certain keys to platform files; windows fixes
git-svn-id: svn://10.0.0.236/trunk@90898 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 16:00:31 +00:00
brade%netscape.com
d585f29764 remove ids
git-svn-id: svn://10.0.0.236/trunk@90897 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 15:59:44 +00:00
brade%netscape.com
cc25e2caa4 os2 keybinding changes
git-svn-id: svn://10.0.0.236/trunk@90896 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 15:58:55 +00:00
brade%netscape.com
251c7ed2b2 mac keybinding cleanup
git-svn-id: svn://10.0.0.236/trunk@90895 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 15:56:20 +00:00
kestes%tradinglinx.com
71f4b75187 I seem to have trouble keeping the interface
TinderDB::Build::all_build_names($tree);
consistent will all usage of this function.


git-svn-id: svn://10.0.0.236/trunk@90894 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 15:37:44 +00:00
mkaply%us.ibm.com
2c63774226 Per jdunn - AIX and OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@90893 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 15:31:54 +00:00
kin%netscape.com
114013d2ea Fix for Normal->ViewSource->Normal dataloss bugs
73659 (TextArea tag) and 55224 (Map tag). Added
IsTextarea() and IsMap() methods, factored out
common code for Is*() methods into NodeIsType().
r=jfrancis@netscpae.com sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@90892 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 14:39:29 +00:00
mkaply%us.ibm.com
45beae1008 #72239
r=heikki, sr=brendan
The XML parser is designed to receive extern "C" functions, so that is what we should be passing


git-svn-id: svn://10.0.0.236/trunk@90891 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 14:28:06 +00:00
mkaply%us.ibm.com
ed3df1c16e BeOS breakage - with new libimg
git-svn-id: svn://10.0.0.236/trunk@90890 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 14:24:59 +00:00
mkaply%us.ibm.com
9dbdce4188 OS/2 breakage - with new libimg
git-svn-id: svn://10.0.0.236/trunk@90889 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 14:24:49 +00:00
oeschger%netscape.com
e190bf0901 removing extra curly, NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@90888 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 14:22:15 +00:00
locka%iol.ie
6da141a0d9 Added test for MOZ_NO_ACTIVEX_REGISTRATION to disable control_kicker registration . b=71715
git-svn-id: svn://10.0.0.236/trunk@90886 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 12:01:24 +00:00
locka%iol.ie
f6942e98d1 Removed ActiveX control registration. b=71715
git-svn-id: svn://10.0.0.236/trunk@90885 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 12:00:25 +00:00
cls%seawood.org
78e26e0296 more gfx2 fun
git-svn-id: svn://10.0.0.236/trunk@90884 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 11:47:24 +00:00
disttsc%bart.nl
3ea7009900 Add "gfx2" and "imglib2" to REQUIRES lines in Makefile.in for MOZ_TRACK_MODULE_DEPS builds (e.g. senna)
git-svn-id: svn://10.0.0.236/trunk@90883 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 10:39:06 +00:00
cls%seawood.org
49b5df7f2c Start adding gfx2 headers to REQUIRES
git-svn-id: svn://10.0.0.236/trunk@90882 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 10:27:42 +00:00
glazman%netscape.com
ea38e16949 Support for :last-child pseudoclass; checking in for Ian Hickson ; b=46916, r=pierre, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90881 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 10:20:57 +00:00
cls%seawood.org
002e21b623 Cast void * to long before casting to char.
Thanks to Brad Roberts <braddr@puremagic.com> for the patch.
Bug #74078


git-svn-id: svn://10.0.0.236/trunk@90878 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 09:51:50 +00:00
axel%pike.org
518edf86c2 not part of build; do attribute comparison better in DiffDOM.js, r=peterv
git-svn-id: svn://10.0.0.236/trunk@90873 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 08:55:53 +00:00
pavlov%netscape.com
d2665b288d adding new files to unix packages file
git-svn-id: svn://10.0.0.236/trunk@90871 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 08:47:47 +00:00
pavlov%netscape.com
163bbdd200 adding new files to the embedding manifest file for unix bug 73773
git-svn-id: svn://10.0.0.236/trunk@90870 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 08:45:42 +00:00
timeless%mac.com
2a269d478f tinderbox senna bustage r=cls add timer to REQUIRES
git-svn-id: svn://10.0.0.236/trunk@90869 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 08:43:00 +00:00
pavlov%netscape.com
d42539fd26 fix for animations on linux r=saari sr=waterson bug 73342
git-svn-id: svn://10.0.0.236/trunk@90868 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 08:42:23 +00:00
cls%seawood.org
fca096b68e Attempting fix for HP-UX & OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@90867 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 08:07:20 +00:00
maolson%earthlink.net
3456445cd2 bug 53688 - javascript strict warnings in autocomplete.xml
r=timeless, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@90866 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 07:47:46 +00:00
sspitzer%netscape.com
5bd0d9390f make the widget state manager more robust. see #74072. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@90865 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 07:16:59 +00:00
sspitzer%netscape.com
3f8944c914 fix js error when doing search. there is no folder tree when you are searching.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@90864 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 07:15:23 +00:00
leaf%mozilla.org
3f3c512bf1 Automated update
git-svn-id: svn://10.0.0.236/trunk@90863 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 07:15:02 +00:00
sspitzer%netscape.com
f0b029acc2 quiet js errors, since we haven't gotten dnd working for search yet.
hide the thread specific columns in the search pane.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@90862 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 07:14:19 +00:00
pavlov%netscape.com
c29feacfbb fix for bug 73161 r=bryner,syd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90860 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 07:05:28 +00:00
pavlov%netscape.com
caeaf71875 turning on new imagelib on linux bugs 73161 and 70938 r=bryner,syd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90859 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 07:05:02 +00:00
pavlov%netscape.com
a6fb61b0dd turning on new imagelib on linux. part of bug 73161 and 70938. r=bryner,syd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90858 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 07:04:13 +00:00
sspitzer%netscape.com
f3b6929f26 fix #73863. no twisties in the outliner in classic. r=bienvenu, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@90857 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 07:02:32 +00:00
sspitzer%netscape.com
4941e5e749 fix for #65677. if there is no spell checker, disable the "spell check on message send ui." fix by gervase.markham@univ.ox.ac.uk. sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@90856 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 06:48:24 +00:00
alecf%netscape.com
62af2a607f fix for but 1995, checking in for sicking@bigfoot.com, sr=alecf r=jag
git-svn-id: svn://10.0.0.236/trunk@90853 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 06:01:00 +00:00
leaf%mozilla.org
324a8cbdbe Automated update
git-svn-id: svn://10.0.0.236/trunk@90852 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 06:00:04 +00:00
dmose%netscape.com
8824937eb8 fix BeOS bustage by disabling ldap support on that platform
git-svn-id: svn://10.0.0.236/trunk@90851 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:55:51 +00:00
naving%netscape.com
cd41ccdbf0 fix warnings due to earlier checkins
git-svn-id: svn://10.0.0.236/trunk@90850 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:51:06 +00:00
sspitzer%netscape.com
ac59320954 #72282 fix "click on empty thread pane" crash (again)
#72264 sort by thread doesn't restore selection
#74068 if we switch sort mode, scroll to find the message we are displaying

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@90849 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:44:01 +00:00
naving%netscape.com
b27184df63 67799, 55814. sr=bienvenu
Also check if write has failed to alert the user and stop downloading messages


git-svn-id: svn://10.0.0.236/trunk@90846 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:30:13 +00:00
leaf%mozilla.org
a3a81d5571 Automated update
git-svn-id: svn://10.0.0.236/trunk@90845 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:30:04 +00:00
naving%netscape.com
422b25a870 67799, 55814. sr=bienvenu. Check if write has failed to alert the user and stop downloading messages. Truncate the file if write has failed before downloading a message completely
git-svn-id: svn://10.0.0.236/trunk@90844 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:29:53 +00:00
naving%netscape.com
f1e8c50dca 67799, 55814. sr=bienvenu. Do UIDL implemenetation when we don't leave messages on the server. if write has failed to alert the user and stop downloading messages
git-svn-id: svn://10.0.0.236/trunk@90843 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:28:43 +00:00
naving%netscape.com
5c2fd21f73 67799, 55814. Do UIDL implemenetation when we don't leave messages on the server.
Also check if write has failed to alert the user and stop downloading messages


git-svn-id: svn://10.0.0.236/trunk@90842 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:27:53 +00:00
naving%netscape.com
fbd042a61b 67799, 55814. Clean up work asscociated with these bugs.
git-svn-id: svn://10.0.0.236/trunk@90841 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:25:54 +00:00
kmcclusk%netscape.com
780ba6923c Use frame bit to indicate if frame has a decendant with a view and use this to optimize nsContainerFrame::PositionChildViews; bug 70211; sr=attinasi@netscape.com r=karnaze@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90840 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:25:49 +00:00
naving%netscape.com
e53729a27c 67799, 55814. sr=bienvenu. Propogate the error values for streams.
git-svn-id: svn://10.0.0.236/trunk@90839 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:24:34 +00:00
dmose%netscape.com
299f3bb323 This workaround actually won't work. Backing it out.
git-svn-id: svn://10.0.0.236/trunk@90838 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:24:23 +00:00
pinkerton%netscape.com
d4f0bc497f attempt to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@90836 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:22:42 +00:00
sspitzer%netscape.com
49eb631a77 fix for #71243. don't hard code the default values, get them from the
default prefs.  fix by cavin@netscape.com.  sr=spitzer


git-svn-id: svn://10.0.0.236/trunk@90835 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:22:22 +00:00
kmcclusk%netscape.com
e889aeb106 Invalidate only the newly exposed region when the container frame size changes vertically b=19256; sr=attinasi@netscape.com r=roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@90834 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:17:07 +00:00
bienvenu%netscape.com
225b79f9a0 fix assertion when loading folder with just one thread r=naving, sr=sspitzer 73989
git-svn-id: svn://10.0.0.236/trunk@90833 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:12:43 +00:00
bienvenu%netscape.com
1f54e1c13c fix 73960 double load of imap inbox on start r=naving, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@90832 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:07:20 +00:00
joe.chou%eng.sun.com
ef0e4bc915 Re-checkin fix of bug 64296 after updating the Mac file, build/mac/build_scripts
/MozillaBuildList.pm.

bug=64296
r=edburns
sr=waterson

This checkin idlifies some files in the plugin hierarchy.

The following files are in this checkin.

build/mac/build_scripts/MozillaBuildList.pm
modules/oji/public/MANIFEST
modules/oji/public/MANIFEST_IDL
modules/oji/macbuild/ojiIDL.mcp
modules/plugin/public/MANIFEST
modules/plugin/public/MANIFEST_IDL
modules/plugin/macbuild/pluginIDL.mcp
modules/oji/public/Makefile.in
modules/oji/public/makefile.win
modules/oji/public/nsIJVMPluginInstance.idl
modules/plugin/public/Makefile.in
modules/plugin/public/makefile.win
modules/plugin/public/nsIPluginManager.idl


git-svn-id: svn://10.0.0.236/trunk@90831 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:00:56 +00:00
leaf%mozilla.org
e3057bb8c0 Automated update
git-svn-id: svn://10.0.0.236/trunk@90830 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 05:00:02 +00:00
dmose%netscape.com
fb352a8266 Attempt to workaround bustage on palermo by forcing -Dhpux on all HP/UX builds. r=cls@seawoord.org
git-svn-id: svn://10.0.0.236/trunk@90829 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 04:51:54 +00:00
pinkerton%netscape.com
ccfecb4d51 switching mac to use NS_CONTEXTMENU event, click-hold context menus, switching embedding to use NS_CONTEXTMENU event. r=saari/sr=hyatt. bug# 36665, 18726
git-svn-id: svn://10.0.0.236/trunk@90828 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 04:45:40 +00:00
cls%seawood.org
33374aacdf Help text typo fix.
Thanks to Ben Bucksch <ben.bucksch@beonex.com> for the patch.


git-svn-id: svn://10.0.0.236/trunk@90827 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 03:59:43 +00:00
darin%netscape.com
d7139a472d Fixes bug 72312 "gopher needs to wrap the proxy channel"
patch=bbaetz, r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@90826 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 03:21:55 +00:00
sfraser%netscape.com
d84e88c630 Fix for bug 72578 -- add ability to retrieve controllers by ID from an nsIControllers. r=kin, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90825 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 03:20:56 +00:00
cls%seawood.org
2b0b9b564a Backout ben's erronous checkin. bug #69366
git-svn-id: svn://10.0.0.236/trunk@90824 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 03:19:08 +00:00
ftang%netscape.com
b843b8286d fix 71197
r=bstell sr=erik
split JIS0208 to two mapping
One for standard JIS0208 mapping one for the CP932 extension (non standard)


git-svn-id: svn://10.0.0.236/trunk@90823 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 03:16:10 +00:00
ftang%netscape.com
fdfed42191 fix 71489
r=bstell sr=erik
add Unicode to Johab encoding to the module


git-svn-id: svn://10.0.0.236/trunk@90822 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 03:11:21 +00:00
ftang%netscape.com
be39c9dd08 add nsUnicodeToJohab.cpp into the mac build system
fix bug 71489 r=bstell sr=erik


git-svn-id: svn://10.0.0.236/trunk@90821 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 03:09:40 +00:00
ftang%netscape.com
4e212d2368 fix 71489
add nsUnicodeToJohab.cpp to the window build system
r=bstell sr=erik


git-svn-id: svn://10.0.0.236/trunk@90820 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 03:09:00 +00:00
peterlubczynski%netscape.com
3e7edbf8c0 Fix to make printing OBJECTs safer bug 73846 a=av sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90819 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 03:07:52 +00:00
ftang%netscape.com
e399a943aa fix 71489
add nsUnicodeToJohab.cpp to the unix build system


git-svn-id: svn://10.0.0.236/trunk@90818 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 03:07:33 +00:00
pinkerton%netscape.com
0b05afe8e0 checking in nsXBLContextMenuHandler for hyatt.
git-svn-id: svn://10.0.0.236/trunk@90817 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 03:05:47 +00:00
ftang%netscape.com
26f8754867 fix 71489
Add johab document encoding support
Currently the convert from johab to unicode part is #if 0 since
we didn't have a way to test it.
r=bstell sr=erik


git-svn-id: svn://10.0.0.236/trunk@90816 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 03:03:14 +00:00
ftang%netscape.com
521dcc01ba fix 71489
r=bstell sr=erik
add x-johab font support


git-svn-id: svn://10.0.0.236/trunk@90815 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:54:46 +00:00
ftang%netscape.com
9574c0d87a add lang group for x-johab
fix 71489
r=bstell sr=erik


git-svn-id: svn://10.0.0.236/trunk@90814 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:53:55 +00:00
ftang%netscape.com
6fec59ea21 add new cid for Johab encoding
fix 71489
r=bstell sr=erik


git-svn-id: svn://10.0.0.236/trunk@90813 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:52:37 +00:00
ftang%netscape.com
f164d43056 add Johab converter to fix bug 71489
r=bstell sr=erik
Not part of the build yet.


git-svn-id: svn://10.0.0.236/trunk@90812 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:51:24 +00:00
ftang%netscape.com
229acc4d59 fix bug 71197
r=bstell sr=erik
add new mapping for non-standard jis0208 extension


git-svn-id: svn://10.0.0.236/trunk@90811 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:49:34 +00:00
ftang%netscape.com
5ef3e0dbfd remove the non standard jis0208 mapping and split into jis0208ext.uf
r=bstell sr=erik, bug 71197


git-svn-id: svn://10.0.0.236/trunk@90810 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:47:41 +00:00
ftang%netscape.com
30bffc120a fix 71197
Machine generate code for non standard jis0208 code point (from cp 932)
r=bstell sr=erik
not part of the build yet


git-svn-id: svn://10.0.0.236/trunk@90809 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:46:40 +00:00
ftang%netscape.com
8497e43f47 fix 72557
r=harishd sr=erik
add the hack mapping for the last two new cp1252 characters.


git-svn-id: svn://10.0.0.236/trunk@90808 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:45:12 +00:00
rbs%maths.uq.edu.au
b21aa14236 Enable an ordered list of preferred fonts (rather than just one font) for particular chars. Fix the problem that the stretchy direction wasn't specified in certain cases so that resolving the annotations could wrongly failed. Use NS_LITERAL_STRING like everybody else. Apply suggestions from drivers (roc+moz, dbaron)
git-svn-id: svn://10.0.0.236/trunk@90807 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:39:38 +00:00
harishd%netscape.com
23353e444d P3P code drop. Includes basic P3P support and UI.
Contributed by Tom Lendacky ( toml@us.ibm.com ).

*-- NOT PART OF THE BUILD...YET --*


git-svn-id: svn://10.0.0.236/trunk@90806 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:36:22 +00:00
hyatt%netscape.com
2ebbd7376a Checkin for 36665. r=pink, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90805 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:30:17 +00:00
danm%netscape.com
40ec918c36 restrict conditions under which fix for bug 22658 fires; a fix for many focus bugs, especially bug 54936
git-svn-id: svn://10.0.0.236/trunk@90804 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:27:50 +00:00
heikki%netscape.com
6c69c694fd Bug 72522, implemented DOM Level 3 baseURI property (node interface). r=harishd, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@90803 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:15:21 +00:00
ftang%netscape.com
74c7d96b39 bug 70028
sr=erik r=ftang check in for smontagur@il.ibm.com
add methods for arabic shaping with the unreview code turn off in #ifdef
add to mac build system


git-svn-id: svn://10.0.0.236/trunk@90802 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:14:14 +00:00
ftang%netscape.com
216801a0ba bug 70028. add arabic shaping methods with unreview code turn off by default. add to mac build system
git-svn-id: svn://10.0.0.236/trunk@90801 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:12:46 +00:00
harishd%netscape.com
0cf651600f 71942 - Intialize the ptr to fix the crash.
49942 - Should not include parent when absolutely positioned.
Added border color property.
r=heikki
sr=jst


git-svn-id: svn://10.0.0.236/trunk@90800 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:08:48 +00:00
pavlov%netscape.com
8c9a17ebcd removing the extern "C" { ... } that blake accidentally added the other day. fixes runtime errors on solaris
git-svn-id: svn://10.0.0.236/trunk@90799 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:07:00 +00:00
racham%netscape.com
63508e9fab Fixing bugs 72498, 73892 and 72531. Fixing bug 72498 brings back File Here menuitem back into all mailnews folder pickers. This one missed 081 branch train. Thanks to all who reviewed this patch now and then. Fixing bug 73892 makes the Bcc Self field appear again in Copies and Folders panel of any given server and fianlly fix to bug 72531 makes Search Messages link to appear for news and movemail accounts in AccountCentral. r=gayatrib, bienvenu, racham sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@90798 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:06:46 +00:00
jgmyers%netscape.com
213c4ff3cd fix logic inversion: bug 73243 r=nhotta sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@90797 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:05:19 +00:00
naving%netscape.com
a1e1e0e7d1 74018. sr=sspitzer. limiting message_size working again.
git-svn-id: svn://10.0.0.236/trunk@90796 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:03:32 +00:00
leaf%mozilla.org
1b9569ddf1 Automated update
git-svn-id: svn://10.0.0.236/trunk@90795 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 02:00:03 +00:00
pavlov%netscape.com
f98e787957 fix for crash when loading images with a null URL. bug 72447. r=dr sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90794 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 01:59:03 +00:00
dmose%netscape.com
c0316344b7 Start building the LDAP XPCOM SDK by default in autoconf builds (bug 70658). Patch to flip the switch: r=leif@netscape.com, sr=cls@seawood.org. Code being turned on: moa=dmose@netscape.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@90793 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 01:52:15 +00:00
nelsonb%netscape.com
58e68a8e98 Fix leak of cert reference in cert authentication callback functions.
git-svn-id: svn://10.0.0.236/trunk@90792 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 00:40:24 +00:00
blakeross%telocity.com
910a585cf0 Backing out on request of module owner (no review, no module owner approval, unstable code). Don't shoot the messenger (with the checkin access)!
git-svn-id: svn://10.0.0.236/trunk@90790 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 00:34:31 +00:00
dougt%netscape.com
5dd4ba83af Changing the ftp url to point to ftp.netscape.com. The reason for this is that there are some firewall problems that Netscape has. This should clear up the orangeness on tinderbox. I spoke to endico@netscape.com about this and there isn't any mozilla concern. a=peterl@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90789 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-30 00:27:52 +00:00
hyatt%netscape.com
b2c2355ad1 Fix for smoketest blocker. rs=pink,saari, bug #73336:
git-svn-id: svn://10.0.0.236/trunk@90788 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 23:01:09 +00:00
timeless%mac.com
631fbc5548 fix version.
git-svn-id: svn://10.0.0.236/trunk@90785 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 22:40:51 +00:00
timeless%mac.com
d7860a194f Bugzilla Bug 74024 check techbot1 into cvs
Land techbot1 into mozbot tree. This has been a long time coming.

techbot1 includes support for arbitrary commands, bugzilla features including
bug, component and keyword queries. more support for tinderbox including
sheriff querying.  support for multiple channels.  it handles missing
components better.


git-svn-id: svn://10.0.0.236/trunk@90784 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 22:38:35 +00:00
sgehani%netscape.com
7dfc792fe0 Fix Solaris 7 bustage.
git-svn-id: svn://10.0.0.236/trunk@90783 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 20:34:32 +00:00
morse%netscape.com
6d0476527c fix 2 smoketest blockers -- 73955 and 73956, r=pchen, sr=rods
git-svn-id: svn://10.0.0.236/trunk@90782 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 20:05:30 +00:00
darin%netscape.com
068c61e0b3 Fixes bug 73917 "cache entry data size not updated" patch=beard, r=gagan, sr=darin
git-svn-id: svn://10.0.0.236/trunk@90781 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 19:58:34 +00:00
pchen%netscape.com
aa425f80a5 fix for blocker bug 73596, remove nsCookieViewer.cpp from project
git-svn-id: svn://10.0.0.236/trunk@90780 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 19:49:32 +00:00
jdunn%netscape.com
aa243d015e the xpidl stuff is not generating a 'const' for 'in boolean permenant' so
I forced it (by adding [const].  fixing an AIX build bustage
r= morse@netscape.com
#= 73945


git-svn-id: svn://10.0.0.236/trunk@90778 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 15:58:07 +00:00
endico%mozilla.org
d99b89d066 added mozilla/security/accessible to MozillaTinderboxAll
git-svn-id: svn://10.0.0.236/trunk@90777 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 15:57:57 +00:00
ccarlen%netscape.com
57e96ea730 Sample code only - not part of mozilla. Implement nsIWebBrowserChrome::ShowAsModal() and some other windowing cleanup. r=danm@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90776 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 15:40:39 +00:00
bienvenu%netscape.com
05e9e25359 fix problem fetching message-ids and priority noted in bug 71983 add space to protocol we send sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@90775 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 15:06:20 +00:00
jdunn%netscape.com
fd068e422e fixing typo (added ')' after libaccessibility_s.$(LIB_SUFFIX
and added '\' after both of the libs

Also added -lgkgfx to resolve the nsRect reference.  (AIX requries all
symbols to be resolved at link time)


git-svn-id: svn://10.0.0.236/trunk@90774 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 14:33:33 +00:00
mkaply%us.ibm.com
b182ddd22b attempt to fix AIX and OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@90773 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 14:19:10 +00:00
dougt%netscape.com
a48b8d1bf4 Implementing ReadSegments. r/sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90767 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 07:21:43 +00:00
aaronl%chorus.net
251d2f9e7e Make sure visual prefs force reframe
git-svn-id: svn://10.0.0.236/trunk@90766 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 07:16:06 +00:00
dmose%netscape.com
11edc1df03 Fix senna build bustage by telling Makefile.in not to try and overwrite the LDAP C SDK Makefile using its own generation rules. r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@90764 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 06:57:35 +00:00
gordon%netscape.com
86e3302c60 Fix bug 73099. Problems with updating lastModified time stamp. r=beard, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@90761 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 06:50:38 +00:00
beard%netscape.com
11522b4afc Added nsDiskCacheMap.cpp and nsANSIFileStreams.cpp. [bustage fixing]
git-svn-id: svn://10.0.0.236/trunk@90760 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 06:41:02 +00:00
attinasi%netscape.com
de424adb91 Empty inlines now take up space in the line, fixing problem where the backtround images for those elements were not showing up even if they had sufficient padding. b=21415 r=karnaze, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90759 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 06:39:40 +00:00
hwaara%chello.se
5775815429 Fix so we call GetSelectedLocale() safely. bug 71390. r=tao, timeless, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@90755 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 06:13:55 +00:00
gordon%netscape.com
473ba08356 Land DISKCACHE1_BRANCH, implementing first draft of cache map file for more efficient eviction and cache miss detection. Fixed some problems with overeager setting of lastModified time stamp. Read cache enable prefs on startup. r=beard, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@90752 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 05:54:58 +00:00
gordon%netscape.com
0484dbbaf3 Added evictEntries() methods to nsICacheService and nsICacheSession. Removed lastValidated attribute from nsICacheVisitor. r=beard sr=darin.
git-svn-id: svn://10.0.0.236/trunk@90751 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 05:51:46 +00:00
disttsc%bart.nl
a2d109934e Fix MOZ_TRACK_MODULE_DEPS build bustage (senna)
git-svn-id: svn://10.0.0.236/trunk@90750 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 05:51:12 +00:00
disttsc%bart.nl
e81bd4224e Fix MOD_TRACK_MODULE_DEPS builds bustage (senna)
git-svn-id: svn://10.0.0.236/trunk@90749 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 05:34:21 +00:00
disttsc%bart.nl
a724b78136 Fix MOZ_TRACK_MODULE_DEPS bustage, add embedcomponents to REQUIRES line
git-svn-id: svn://10.0.0.236/trunk@90748 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 05:20:32 +00:00
disttsc%bart.nl
d3d53198ad Add .cvsignore to accessible/build, fix REQUIRES line in Makefile.in to fix senna bustage.
git-svn-id: svn://10.0.0.236/trunk@90747 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 04:43:09 +00:00
disttsc%bart.nl
a23fcc219b Add .cvsignore to accessible/src for Makefile, fix Makefile.in's REQUIRES line
git-svn-id: svn://10.0.0.236/trunk@90746 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 04:18:46 +00:00
waqar%netscape.com
2cad0f006a #=58877
sr=erik
d=remove the underline and italic attributes for default text for XFree86 4.x


git-svn-id: svn://10.0.0.236/trunk@90743 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 04:01:20 +00:00
mkaply%us.ibm.com
95e0fe850e 36665 for OS/2 - handle contextmenu event
git-svn-id: svn://10.0.0.236/trunk@90741 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 03:46:24 +00:00
mcafee%netscape.com
553133308d Adding bonsai tree name field, plus hints in parens so it's easier for newbies to figure this out.
git-svn-id: svn://10.0.0.236/trunk@90739 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 03:45:38 +00:00
mkaply%us.ibm.com
04f41a9880 HPUX bustage - need returns at end of files
git-svn-id: svn://10.0.0.236/trunk@90738 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 03:37:57 +00:00
mkaply%us.ibm.com
5b94975bd5 8.3 name for accessibility
git-svn-id: svn://10.0.0.236/trunk@90737 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 03:33:55 +00:00
pinkerton%netscape.com
839ee7e40e Use new DOM context menu event to determine if context menus should come/go r=saari/pink, sr=hyatt.
bug# 36665


git-svn-id: svn://10.0.0.236/trunk@90736 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 03:33:09 +00:00
mscott%netscape.com
654d550677 Show the user agent string again if the user has the hidden pref set.
If we receive multiple "To" or "cc" headers in the same message, aggregate them
instead of just using the last one.


git-svn-id: svn://10.0.0.236/trunk@90735 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 03:27:41 +00:00
blakeross%telocity.com
553b515146 BodyFixupRule should not kick in in XHTML (73294, patch by Hixie -- ian@hixie.ch -- the once innocent std compliance qa turned engineer). r=tor sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90734 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 03:24:36 +00:00
morse%netscape.com
a36df1a78f fix build bustage on mac
git-svn-id: svn://10.0.0.236/trunk@90732 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 02:45:08 +00:00
darin%netscape.com
89a9cca7d2 Fixes bug 71921 "nsInputStreamTee::WriteSegmentFun has a minor bug" r=beard
sr=dougt


git-svn-id: svn://10.0.0.236/trunk@90731 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 02:42:00 +00:00
darin%netscape.com
b180a3e10a Fixes bug 72348 "Page load performance slower in 0.8.1 than under 0.8"
r/sr=dougt,brendan


git-svn-id: svn://10.0.0.236/trunk@90730 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 02:34:19 +00:00
morse%netscape.com
8d277c87e5 bug 46783, reorg cookies module for embedding, r=valeski, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@90729 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 02:11:48 +00:00
pchen%netscape.com
1a131ea3e9 bug 46783, mac buddy for morse, don't build walletviewers.mcp, add cookieIDL.mcp, and run over mozilla/extensions/cookie/MANIFEST_IDL
git-svn-id: svn://10.0.0.236/trunk@90728 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 01:48:21 +00:00
pchen%netscape.com
3aa298ee37 bug 46783, mac buddy for morse, add new cookie files to mac project
git-svn-id: svn://10.0.0.236/trunk@90726 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 01:47:46 +00:00
pchen%netscape.com
e965feffdb bug 46783, mac buddy for morse, new MANIFEST_IDL file
git-svn-id: svn://10.0.0.236/trunk@90725 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 01:47:27 +00:00
pchen%netscape.com
37001ee722 bug 46783, mac buddy for morse, new project for IDL files
git-svn-id: svn://10.0.0.236/trunk@90724 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 01:46:33 +00:00
saari%netscape.com
23f71e7b3f nsImageWin.cpp
git-svn-id: svn://10.0.0.236/trunk@90723 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 01:45:16 +00:00
nboyd%atg.com
d8227166d0 Subject:
Minor fix to JSDebugger
        Date:
             Wed, 28 Mar 2001 16:34:24 -0800
       From:
             Christopher Oliver <coliver@mminternet.com>
 Organization:
             Primary Interface LLC
         To:
             nboyd@atg.com




Hi Norris,

Attached is a minor fix to the JSDebugger GUI that causes the tool-bar buttons to all have the same width.
I checked out and modified a file from CVS today.  See the screenshot below.

Cheers,

Chris


git-svn-id: svn://10.0.0.236/trunk@90722 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 01:44:45 +00:00
hyatt%netscape.com
85789f4550 Fix for 73695. r=danm, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90721 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 01:30:03 +00:00
heikki%netscape.com
30d2d092c3 Bug 71869, make XML Extras component load in startup in embedded case as well as browser. r=chak, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@90719 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 01:11:13 +00:00
mscott%netscape.com
ea2f77b6f6 get rid of the max-heights, these were breaking wrapping of long subjects and the html divs containing long email addresses.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@90718 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 01:11:12 +00:00
mscott%netscape.com
8c376ee256 get rid of the max-heights, these were breaking wrapping of long subjects and the html divs containing long email addresses.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@90716 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 01:03:46 +00:00
bnesse%netscape.com
67f5a195e0 Updates and bug fixes based on feedback of initial prefservice and prefbranch feedback.
[Not Part of the Build]


git-svn-id: svn://10.0.0.236/trunk@90713 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 00:48:30 +00:00
bnesse%netscape.com
f8717db4e1 Initial versions based on feedback of initial prefservice and prefbranch feedback.
[Not Part of the Build]


git-svn-id: svn://10.0.0.236/trunk@90712 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 00:46:49 +00:00
waterson%netscape.com
6ce71820d4 Bug 71911. Fix MIPSpro bustage; patch courtesy John Vandenberg <zeroJ@null.net>. r=waterson, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@90711 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 00:44:21 +00:00
alecf%netscape.com
3fcbba4a60 fix bustage
git-svn-id: svn://10.0.0.236/trunk@90710 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 00:38:11 +00:00
cyeh%bluemartini.com
f9f634b5f2 add comment about DB_File requirement for collectstats.pl
git-svn-id: svn://10.0.0.236/trunk@90709 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 00:36:38 +00:00
evaughan%netscape.com
cd7ed3740c Fix for solaris horkage.
git-svn-id: svn://10.0.0.236/trunk@90708 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 00:16:20 +00:00
morse%netscape.com
564943b0f9 bug 72401, trivial wording change for consistency, r=evaughan@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90707 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 00:14:25 +00:00
rpotts%netscape.com
586fe1fd3b bug #73244 (r=darin, sr=mscott). The DocLoader cannot assume that an nsIRequest is necessarily an nsIChannel...
git-svn-id: svn://10.0.0.236/trunk@90706 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 00:12:49 +00:00
alecf%netscape.com
a9c3ef92b1 fix assert-on-exit as well as a crash when switching profiles
sr=darin, r=dmose


git-svn-id: svn://10.0.0.236/trunk@90705 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 23:59:44 +00:00
radha%netscape.com
07bc0ed5d6 Fix for bug # 72995. r=morse, mcafee. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@90704 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 23:47:00 +00:00
cyeh%bluemartini.com
3ebfd5a2b9 fix for 71798: bugmail not sent when moving from cc to assigned fields
checked in patch based on patch submitted by jake@acutex.net


git-svn-id: svn://10.0.0.236/trunk@90703 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 23:43:39 +00:00
dougt%netscape.com
b326dd2298 Fixes 70580, 73824. Also fixes a security hole related to port stealing as describe by rfc2577. r=gagan@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90701 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 23:39:37 +00:00
nhotta%netscape.com
3b76c20fd9 Changed for xul syntax change, value->label, data->value, bug 73641, r=yokoyama, sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@90700 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 23:25:14 +00:00
dmose%mozilla.org
e914f6b42b Workaround bug in Solaris WorkShop 6 Update 1 that crashes the compiler by ifdefing out the offending code on that compiler (bug 73834). r=rich.burridge@sun.com, sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90699 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 23:17:44 +00:00
alecf%netscape.com
a0e2890475 add call to activate app-startup components when the app starts. r=heikki, sr=blizzard bug 60117
git-svn-id: svn://10.0.0.236/trunk@90698 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 23:00:02 +00:00
waterson%netscape.com
c2b28340fe Bug 71530. Grr. Checked in wrong patch; this one gets the comparison right.
git-svn-id: svn://10.0.0.236/trunk@90697 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 22:46:43 +00:00
hyatt%netscape.com
79ea6928de Fix for 73506. r=danm, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@90696 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 22:45:43 +00:00
waterson%netscape.com
e8c59a53f6 Bug 71530. Put the wraps on the RDF outliner for now. Implement 'natural order' sorting. Also, fix off-by-one in the enumerator. r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90695 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 22:42:49 +00:00
evaughan%netscape.com
1a14c03286 adding accessible mac projects
git-svn-id: svn://10.0.0.236/trunk@90693 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 22:28:49 +00:00
evaughan%netscape.com
022ec25f69 Fix for linux bustage
-r dr -rmcafee


git-svn-id: svn://10.0.0.236/trunk@90692 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 22:16:03 +00:00
karnaze%netscape.com
ffd1603a49 new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@90690 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:40:20 +00:00
karnaze%netscape.com
9e9a1d0cb1 bug 32794 -always set aStatus. sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@90689 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:26:58 +00:00
karnaze%netscape.com
51812fbe96 bug 44523 - Get the actual rg from the cell in AppendCell rather than use the row index. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90688 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:25:13 +00:00
cmanske%netscape.com
ff44c79be3 Part of fix for bug 73674. r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@90687 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:22:14 +00:00
cmanske%netscape.com
f6cda55380 Part of fix for plaintext editor bug 69536. r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@90686 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:19:47 +00:00
karnaze%netscape.com
d685aa34f2 bug 73629 - adjust mComputedWidth of a table or caption if it's nested, larger than avail width, not initial reflow. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90685 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:19:31 +00:00
darin%netscape.com
ff4c39a9b3 Fixes bug 72339. nsDNSService doesn't shutdown. r=gordon, sr=dougt
git-svn-id: svn://10.0.0.236/trunk@90684 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:18:51 +00:00
evaughan%netscape.com
715b316918 bug 12952
-r dan, -r vidur, -sr hyatt


git-svn-id: svn://10.0.0.236/trunk@90683 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:18:29 +00:00
cmanske%netscape.com
a7aa91803a String changes needed to fix plaintext editor bugs 69536, 69540, 69544, 69547, 73674, 71702. r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@90682 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:18:02 +00:00
nhotta%netscape.com
49fddcbf8d Changed to use nsIObserver for pref change notification, added notification for mail edit menu, bug 72180, r=ftang, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@90681 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:17:22 +00:00
cmanske%netscape.com
43cde2aaed Fixed plaintext editor bugs 69536, 69540, 69544, 69547, 73674, 71702. r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@90680 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:16:44 +00:00
bienvenu%netscape.com
3f10d4e777 add progress and status msg to folder compaction r=naving, sr=sspitzer 34073
git-svn-id: svn://10.0.0.236/trunk@90679 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 21:14:18 +00:00
darin%netscape.com
fc0ec464ed Fixes bug 73231. nsFileTransport should report progress even if content-length
is unknown.  r=rpotts, sr=dougt


git-svn-id: svn://10.0.0.236/trunk@90676 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 20:56:59 +00:00
pinkerton%netscape.com
7567a54abf make ownership of phantomScrollbarData more explicit to help out the GC. r=beard/sr=sfraser bug# 73774.
git-svn-id: svn://10.0.0.236/trunk@90675 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 20:55:34 +00:00
darin%netscape.com
9d246d14fd Fixes bug 73234. nsInputStreamChannel needs to forward itself as the request
in progress events.  r=rpotts, sr=dougt


git-svn-id: svn://10.0.0.236/trunk@90674 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 20:55:26 +00:00
tao%netscape.com
ecd6b44b0d take out unreferenced variable.
git-svn-id: svn://10.0.0.236/trunk@90673 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 20:46:33 +00:00
tao%netscape.com
4bf818e99e 54998: RFE: UI language switching by command line option.
(r=tao,sr=hyatt), checkin for masaki-san.


git-svn-id: svn://10.0.0.236/trunk@90672 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 20:41:50 +00:00
tao%netscape.com
7ce8dde1ec 54998: RFE: Command line switch for UI language option. (r=tao,sr=hyatt).
checkin for masaki-san.


git-svn-id: svn://10.0.0.236/trunk@90671 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 20:37:23 +00:00
attinasi%netscape.com
4ff286524c Commented out assertion that is triggering in table regression tests: problem is covered by bug 71210, this just removes the assertion alert. r=karnaze
git-svn-id: svn://10.0.0.236/trunk@90670 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 20:06:15 +00:00
attinasi%netscape.com
499e5079c3 Avoid checking for duplicates when adding a context to the cache (perf. reasons). b=72217, r=jag, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@90669 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 19:58:51 +00:00
alecf%netscape.com
c8cf72656a fix for catfood bug 71950 r=blake, a=ben, sr=shaver
fix flex so that bookmark property labels are visible


git-svn-id: svn://10.0.0.236/trunk@90668 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 19:15:18 +00:00
darin%netscape.com
4425d1dd4f Fixes bug 73554. Incorrect error message for about-cache: when entry is not found.
patch=bbaetz@cs.mcgill.ca, r=bryner, sr=darin


git-svn-id: svn://10.0.0.236/trunk@90667 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 18:26:13 +00:00
darin%netscape.com
7c8d339f55 Fixes bug 73940. HTTP URLs with '?' characters should not be cached unless
an expiration time is explicitly provided by the server.
r=gagan,valeski sr=dougt,alecf


git-svn-id: svn://10.0.0.236/trunk@90666 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 18:24:13 +00:00
alecf%netscape.com
4ebe32a8dd fix for bug 73640 - make uri loader support "true" weak references so we can implement them from JavaScript
sr=mscott
r=jag


git-svn-id: svn://10.0.0.236/trunk@90665 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 18:09:03 +00:00
miodrag%netscape.com
326874f76b Updtates for LDAPJDK 4.14
git-svn-id: svn://10.0.0.236/trunk@90662 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 15:45:58 +00:00
ccarlen%netscape.com
09b82bb257 Sample code - not part of mozilla. Updating chrome url of throbber.
git-svn-id: svn://10.0.0.236/trunk@90661 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 15:26:50 +00:00
ccarlen%netscape.com
4d15e5d5b8 Sample code - not part of mozilla. Bug 60550 - fixing popup menu event handling.
git-svn-id: svn://10.0.0.236/trunk@90660 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 15:26:07 +00:00
nboyd%atg.com
902d0c64b6 Fix problem where errors wouldn't get source positions.
git-svn-id: svn://10.0.0.236/trunk@90659 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 14:42:37 +00:00
talisman%anamorphic.com
f4cffda5f1 Corrected XML library entry. jrg
git-svn-id: svn://10.0.0.236/trunk@90658 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 14:34:24 +00:00
ccarlen%netscape.com
9fc44ba828 Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@90657 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 14:08:59 +00:00
brade%netscape.com
969c24a963 part of fix for bug #19329 (more internet config apis); r=pchen; sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@90656 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 13:56:19 +00:00
disttsc%bart.nl
baadbf578f Clean up jar.mn, r=jst, sr=ben. Add browserBindings.xml, bug=65412, r=timeless, sr=ben
git-svn-id: svn://10.0.0.236/trunk@90655 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 11:35:28 +00:00
disttsc%bart.nl
0d9c9787d2 Catch exception for goHome(), add (better) exception comments to loadURI() and loadURIWithFlags(). r=timeless, sr=ben
git-svn-id: svn://10.0.0.236/trunk@90654 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 11:22:16 +00:00
locka%iol.ie
58e403d1c0 Cleaned up code style, indentation, replaced tabs with spaces. Added dummy implementations of nsITooltipListener and nsIContextMenuListener.
git-svn-id: svn://10.0.0.236/trunk@90653 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 11:20:18 +00:00
sgehani%netscape.com
86dd4cdb0f (*) Stat for permissions of destination dir.
(*) Hook libxpnet into linux installer.
(*) Add proxy support and download settings to linux installer.
(*) Make error dialog dismiss when OK is pressed.
(*) Miscellanous dialog title and position cleanup.
(*) Make readme show on ja_JP locale builds after scrolling the license.


git-svn-id: svn://10.0.0.236/trunk@90652 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 10:57:58 +00:00
sgehani%netscape.com
0cd5626284 Make Install.arguments return the correct value.
b = 72719
r = dveditz, dbragg
sr = mscott


git-svn-id: svn://10.0.0.236/trunk@90648 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 09:10:06 +00:00
disttsc%bart.nl
4a9116ac96 Move <browser/> xbl binding out into its own file. Changing extension from xbl to xml. NOT PART OF BUILD.
git-svn-id: svn://10.0.0.236/trunk@90647 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 09:07:18 +00:00
glazman%netscape.com
d87f222482 fix for Stylesheet Dump in viewer. b=71648, r=pierre, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90645 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 08:02:20 +00:00
chuang%netscape.com
4e29698c7e Not part of build, new files for re-factoring addrbook
git-svn-id: svn://10.0.0.236/trunk@90644 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 07:54:42 +00:00
chuang%netscape.com
fbc4850edf Not part of build, new files for re-factoring addrbook
git-svn-id: svn://10.0.0.236/trunk@90643 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 07:40:07 +00:00
disttsc%bart.nl
4346080c48 bug 73237: "we should not call window.focus() on all windows right before closing them on shutdown", author=Boris Zbarsky <bzbarsky@mit.edu>, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@90642 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 07:09:16 +00:00
sspitzer%netscape.com
6654ba32cb #73551, fix js warnings. r=hwaara, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@90641 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 07:06:22 +00:00
hwaara%chello.se
cd19d729d4 Fix javascript strict warnings in mailWindowOverlay.js. bug 68525. r=timeless, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@90640 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 06:37:54 +00:00
mscott%netscape.com
4c14010bc7 Bug #73738 --> fix a race condition in news. Fix crash trying to display inline images in news articles created by lipr0n.
Implement Save and Open attachment for news articles again from the message pane.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@90639 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 06:21:45 +00:00
talisman%anamorphic.com
bffab49d41 Added note about double-clicking the Grendel app in the Finder under MacOS X. jrg
git-svn-id: svn://10.0.0.236/trunk@90638 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 05:52:57 +00:00
talisman%anamorphic.com
66b4522580 Added resources target so app resources get copied to the build products directory. jrg
git-svn-id: svn://10.0.0.236/trunk@90637 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 05:51:08 +00:00
talisman%anamorphic.com
119e8048a4 Updated with new build instructions, new external lib URLs, MacOS X info, and removed Edwin from the maintainer list in README. jrg
git-svn-id: svn://10.0.0.236/trunk@90636 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 05:39:28 +00:00
talisman%anamorphic.com
00c915cace Added some new variables to pass to the -classpath flag to javac, added rules to copy app resources to the build product directory. jrg
git-svn-id: svn://10.0.0.236/trunk@90635 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 05:38:09 +00:00
disttsc%bart.nl
e1c315491b Fix bustage. More hidden dependencies (no cookie!). Fix courtesy of bbaetz.
git-svn-id: svn://10.0.0.236/trunk@90634 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 05:36:59 +00:00
pinkerton%netscape.com
b2ed0ffb1f to work around a bug in OSX, check first if we're already at the location we're trying to move a popup to and if so, don't call MoveWindow. r=danm/sr=sfraser. bug#58226.
git-svn-id: svn://10.0.0.236/trunk@90624 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 04:33:08 +00:00
sspitzer%netscape.com
b0e6df16a2 fix #73724. stop clearing the message pane on reply and when you mark a message as read.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@90623 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 04:32:14 +00:00
sspitzer%netscape.com
12896d8385 #73728. make click on a row in the thread column do what 4.x did. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@90622 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 04:06:44 +00:00
pinkerton%netscape.com
94cbe70a27 adding nsIHistoryEntry.idl and nsISHistoryInternal.idl for radha.
git-svn-id: svn://10.0.0.236/trunk@90621 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 03:49:58 +00:00
talisman%anamorphic.com
41642ddf96 fixed a typo in the include directive. jrg
git-svn-id: svn://10.0.0.236/trunk@90620 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 03:49:31 +00:00
radha%netscape.com
860953531d Fixes related to bug # 71756 r=rpotts, valeski
git-svn-id: svn://10.0.0.236/trunk@90619 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 03:35:38 +00:00
radha%netscape.com
3af4196690 Fix for bug # 71756. New SH interfaces. r=rpotts, valeski
git-svn-id: svn://10.0.0.236/trunk@90618 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 03:32:42 +00:00
radha%netscape.com
83398f29bc Initial checkin for new SH interfaces
git-svn-id: svn://10.0.0.236/trunk@90617 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 03:31:13 +00:00
sspitzer%netscape.com
62f7b98ce9 #73416 get icons in the threadpane for the classic skin. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@90616 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 03:13:40 +00:00
sspitzer%netscape.com
6013e21507 fix for #52034. show the special "imap deleted" icon in the thread pane if you delete
a message and your delete model is "mark as deleted".  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@90615 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 02:41:56 +00:00
talisman%anamorphic.com
6eb1464dc6 Initial checkin. A new Makefile for a new dir structure. jrg
git-svn-id: svn://10.0.0.236/trunk@90614 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 02:27:23 +00:00
talisman%anamorphic.com
6e0f05f0e7 New Makefile for a new dir structure. jrg
git-svn-id: svn://10.0.0.236/trunk@90613 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 02:26:20 +00:00
talisman%anamorphic.com
70af03653c Initial checkin. This manifest allows the resulting jar to be executable. jrg
git-svn-id: svn://10.0.0.236/trunk@90612 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 02:25:43 +00:00
talisman%anamorphic.com
321971b977 Updated Makefiles to build into separate dist/classes directory. jrg
git-svn-id: svn://10.0.0.236/trunk@90611 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 02:24:29 +00:00
sspitzer%netscape.com
babf18ba81 fix for some of the nntp connection problems. sr=bienvenu. #65927
git-svn-id: svn://10.0.0.236/trunk@90610 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 02:24:20 +00:00
bryner%uiuc.edu
b84bb24279 Bug 44257 -- fix tabbing from URL bar to document. r=saari, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@90608 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 02:08:06 +00:00
javi%netscape.com
0b4182d400 Make viewing a cert easier if you have a reference to a cert object.
A preliminary draft of the cert dump implementation.


git-svn-id: svn://10.0.0.236/trunk@90607 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 02:05:54 +00:00
despotdaemon%netscape.com
de28203f31 Pseudo-automatic update of changes made by shrutiv@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@90606 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 01:54:04 +00:00
talisman%anamorphic.com
01fb76f70e Added to make life easier for building. jrg
git-svn-id: svn://10.0.0.236/trunk@90605 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 01:44:30 +00:00
talisman%anamorphic.com
8857457433 removing autoconf stuff. jrg
git-svn-id: svn://10.0.0.236/trunk@90604 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 01:39:48 +00:00
nhotta%netscape.com
4ed985da78 Adding a new converter for HKSCS (contribution from Gavin.Ho@compaq.com), bug 25226, r=nhotta, ftang, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@90603 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 01:20:37 +00:00
rginda%netscape.com
71108a9e54 fix for 73680, changes missed during the great XUL wacking.
patch by samuel@sieb.net, r=me, sr/r=shaver


git-svn-id: svn://10.0.0.236/trunk@90602 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 01:03:33 +00:00
peterlubczynski%netscape.com
6fa34b640c Plugins no longer get resize events bug 70429 a=av sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90601 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 01:02:30 +00:00
peterlubczynski%netscape.com
def9171742 NPP_SetWindow should be called after instantiating the stream bug 70686 a=av sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90600 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 01:00:47 +00:00
evaughan%netscape.com
a09ca6422a Part of accessibility landing
-r vidur -sr hyatt


git-svn-id: svn://10.0.0.236/trunk@90596 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 00:49:05 +00:00
morse%netscape.com
3d6f5c2667 bug 63373, crash in password-manager dialog, r=dr@netscape.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@90595 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 00:45:51 +00:00
sgehani%netscape.com
85dcbe6866 66735: implement blocking processes on the mac.
git-svn-id: svn://10.0.0.236/trunk@90594 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 00:45:05 +00:00
sgehani%netscape.com
18734696f3 63454: updating desktop db properly when AppleSingle decoding; 72277: use Appearance manager for drawing default button; 72092: make welcome window text display correctly for all system fonts; 69154: make install log readable
git-svn-id: svn://10.0.0.236/trunk@90593 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 00:42:27 +00:00
nhotta%netscape.com
a9bd534094 Adding a new converter for HKSCS (contribution from Gavin.Ho@compaq.com), bug 25226, r=nhotta, ftang, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@90591 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 00:13:45 +00:00
nhotta%netscape.com
5541f88e16 Adding a new converter for HKSCS (contribution from Gavin.Ho@compaq.com), bug 25226, r=nhotta, ftang, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@90589 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 00:05:21 +00:00
sonmi%netscape.com
c05e3063bd added RSH variable, since 4 out of 5 rsh on NT don't work as expected...
git-svn-id: svn://10.0.0.236/trunk@90588 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 00:04:37 +00:00
sonmi%netscape.com
a250031821 fixed a win2K MKS problem (PATH seperator)
git-svn-id: svn://10.0.0.236/trunk@90587 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 00:03:59 +00:00
sonmi%netscape.com
7178c97084 changes for the new distributed stress test
-) split generating of cert into 2 functions, so we can add any
      number of certs to an existing Database
   -) added function to generate n certs for the stress test (run
      from the server side)^M


git-svn-id: svn://10.0.0.236/trunk@90586 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 00:03:02 +00:00
sonmi%netscape.com
b80f51495b changes for the new distributed stress test
-) improved errormessages
   -) changes to get around the DNS/ipaddress problem
   -) changes necessary for the remote side of the distributed test
        running in the server's directory structure
        messages and errormessages
   -) changes for the server side of the dist. stress test
        set $RSH for windows
        set variables for the certdatabase of the dist stress test


git-svn-id: svn://10.0.0.236/trunk@90585 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 00:02:27 +00:00
sonmi%netscape.com
739d0647aa changes for the new distributed stress test
-) to get around the DNS/ipaddress problem
   -) be sourcable from ssl_dist_stress.sh (share a lot of functionality)


git-svn-id: svn://10.0.0.236/trunk@90584 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 00:01:43 +00:00
sonmi%netscape.com
fd23bcdb89 distributed stress test
new script to run the server and the remote side of the test
   -) have cert.sh generate certs
   -) start a server
   -) launch strsclnts via rsh, each rsh with a range of certs to use
   -) wait 10 minutes
   -) shut down the server


git-svn-id: svn://10.0.0.236/trunk@90583 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 00:00:48 +00:00
heikki%netscape.com
97b7872494 Bug 56858, set pref layout.selectanchor to true to make link traversal also select link end.
git-svn-id: svn://10.0.0.236/trunk@90582 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:59:56 +00:00
gordon%netscape.com
11c474f077 Bug 73491 and bug 73513. Make the disk cache fail (more) gracefully. r=mcafee, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@90581 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:56:18 +00:00
nhotta%netscape.com
5f1da948d9 Adding a new converter for HKSCS, contribution from Gavin.Ho@compaq.com (not part of the build), bug 25226, r=nhotta, ftang, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@90580 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:56:12 +00:00
nhotta%netscape.com
af2b1e806c Adding a new converter for HKSCS (contribution from Gavin.Ho@compaq.com), bug 25226, r=nhotta, ftang, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@90579 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:51:58 +00:00
nhotta%netscape.com
91571613d8 Adding a new converter for HKSCS (not part of the build), bug 25226, r=nhotta, ftang, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@90578 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:38:31 +00:00
leaf%mozilla.org
389898ff6e Automated update
git-svn-id: svn://10.0.0.236/trunk@90576 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:30:09 +00:00
jdunn%netscape.com
257b5f36ae needed to link in another lib to resolve all dependencies at link time
r= cls@seawood.org
# 72188


git-svn-id: svn://10.0.0.236/trunk@90575 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:23:10 +00:00
danm%netscape.com
bde610585a implement window.scrollbars.visible. bug 58539 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@90574 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:23:09 +00:00
danm%netscape.com
6ee1a148db sigh. allow dependent windows without parents because the Mozilla code will try to do that
git-svn-id: svn://10.0.0.236/trunk@90573 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:19:12 +00:00
jdunn%netscape.com
5d30ca2ef8 when building sharedobjects set 2 additional flags for AIX
r= cls@netscape.com
# 72189


git-svn-id: svn://10.0.0.236/trunk@90572 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:18:37 +00:00
mjudge%netscape.com
9026e2a205 part of big editor checkin for 66318. this is NOT part of build yet but patches for this big change are going around to be approved so these files WILL be looked at. have no fear
git-svn-id: svn://10.0.0.236/trunk@90571 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:11:08 +00:00
pinkerton%netscape.com
e4b5accaab allow macs with low memory to build optimized by setting the |lowmem| option. bug 72945. r=peterv/sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@90570 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:08:32 +00:00
mjudge%netscape.com
6f39a499a2 66793 r= cmanske sr = attinasi
git-svn-id: svn://10.0.0.236/trunk@90569 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 23:02:21 +00:00
mkaply%us.ibm.com
04d9798734 #73620
r=jband, sr=brendan
Fix some places where we used casts instead of CALLBACKs


git-svn-id: svn://10.0.0.236/trunk@90568 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 22:59:33 +00:00
dr%netscape.com
d5732b9792 fix for 67731, r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90567 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 22:58:50 +00:00
rods%netscape.com
180f5d4f7f removing "inline" on method to fix SunOS bustage.
r=mkaply


git-svn-id: svn://10.0.0.236/trunk@90566 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 22:57:14 +00:00
rginda%netscape.com
261775c9c1 -- NOT PART OF ANY BUILD --
implement userIsOwner in ircbot.js
move the hook initialization into a function in mingus.js


git-svn-id: svn://10.0.0.236/trunk@90562 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 22:10:33 +00:00
rogerl%netscape.com
462a7977f6 Tentative fix for build releated issues.
git-svn-id: svn://10.0.0.236/trunk@90557 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 22:06:21 +00:00
rogerl%netscape.com
0eb159b375 Tentative fix for build related issues.
git-svn-id: svn://10.0.0.236/trunk@90556 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 22:05:48 +00:00
mkaply%us.ibm.com
bd6fe47e75 OS/2 breakage - need callback
git-svn-id: svn://10.0.0.236/trunk@90550 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 16:37:01 +00:00
scc%mozilla.org
f304577088 back myself out, sorry SunOS
git-svn-id: svn://10.0.0.236/trunk@90549 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 16:03:33 +00:00
waqar%netscape.com
fa880de309 #=66715
sr=jst
d=unsinged integer tested for < 0, removed the test, since it will always
be 0 or greater.


git-svn-id: svn://10.0.0.236/trunk@90548 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 15:40:15 +00:00
oeschger%netscape.com
35001657b4 xul1.0 fixes for help window, plus clean-up, NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@90547 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 15:30:28 +00:00
bienvenu%netscape.com
1c31cb4967 fix problem with missing messages in new view code r/sr =mscott, sspitzer 72698
git-svn-id: svn://10.0.0.236/trunk@90545 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 15:23:32 +00:00
bienvenu%netscape.com
8452e1b448 fix 42863 (pref for enabling env imap prot command), 26735 (respect read-only imap mailboxes) add pref for downloading msg bodies with msg headers for offline imap (15865) r=naving, sr=mscott,sspitzer
git-svn-id: svn://10.0.0.236/trunk@90544 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 15:22:14 +00:00
chak%netscape.com
737cba9658 Fix for bug#71751 - Change default font sizes for MfcEmbed
r=ksosez@softhome.net,chak


git-svn-id: svn://10.0.0.236/trunk@90543 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 15:18:03 +00:00
bienvenu%netscape.com
f3d4793056 send notification for going offline before we kill all the sockets r/sr darin,dougt 73374
git-svn-id: svn://10.0.0.236/trunk@90542 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 15:17:52 +00:00
valeski%netscape.com
3077b98973 sr=alecf. javadoc'ing comments and changing a param name
git-svn-id: svn://10.0.0.236/trunk@90541 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 15:12:57 +00:00
mkaply%us.ibm.com
4058fe29cb OS/2 bustage - need callback
git-svn-id: svn://10.0.0.236/trunk@90537 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 14:35:06 +00:00
scc%mozilla.org
aa43966ad2 syntax fix
git-svn-id: svn://10.0.0.236/trunk@90536 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 14:16:24 +00:00
rbs%maths.uq.edu.au
5a3c18409d fix bustage - typo
git-svn-id: svn://10.0.0.236/trunk@90535 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 14:05:49 +00:00
nboyd%atg.com
89feaa9efd Fix 73555.
git-svn-id: svn://10.0.0.236/trunk@90534 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 14:01:53 +00:00
peterv%netscape.com
a7eddab433 Fixing mac bustage.
git-svn-id: svn://10.0.0.236/trunk@90530 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 13:41:23 +00:00
rbs%maths.uq.edu.au
bac7e0a892 Datasets needed for bug 30543,72161. The MathFont Property Files (the metadata that guide the stretching of mutable MathML characters)
git-svn-id: svn://10.0.0.236/trunk@90529 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 13:22:03 +00:00
rbs%maths.uq.edu.au
e5d967a083 Mozilla MathML entities were as per MathML 1.x - bug 72161. Now they are MathML 2.0 conformant, and in line with the forthcoming Unicode 3.1 code points approved for math symbols
git-svn-id: svn://10.0.0.236/trunk@90527 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 12:56:15 +00:00
rbs%maths.uq.edu.au
6f89db1fb7 Follow up to bug 72161 - sync:ing ucvmath with the painstaking datasets needed for the MathFont Property Files
git-svn-id: svn://10.0.0.236/trunk@90526 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 12:41:48 +00:00
disttsc%bart.nl
78a54a411f Bustage fix, attempt #2: So Win32 seemed to like attempt #1, but Mac didn't. Different approach (I don't like this :-/ )
git-svn-id: svn://10.0.0.236/trunk@90525 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 12:39:59 +00:00
axel%pike.org
a5c956d8a3 not part of build, buster CSS cleanup, thanx to glazou, getting rid of !importants
git-svn-id: svn://10.0.0.236/trunk@90524 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 12:26:44 +00:00
locka%iol.ie
fe52992a4d Removed the BinDirectoryPath registry settings. Mozilla control now relies on the control kicker to set things up for it. b=71363
git-svn-id: svn://10.0.0.236/trunk@90523 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 12:23:51 +00:00
locka%iol.ie
0e338c12ee NOT PART OF BUILD. Makefile tweaks b=72851
git-svn-id: svn://10.0.0.236/trunk@90522 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 12:22:01 +00:00
locka%iol.ie
0c3724af68 NOT PART OF BUILD. Makefiles for embedding examples directory. b=72851
git-svn-id: svn://10.0.0.236/trunk@90521 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 12:19:05 +00:00
locka%iol.ie
6e3e4d5904 NOT PART OF BUILD. Makefiles for embedding wrappers directory. b=72851
git-svn-id: svn://10.0.0.236/trunk@90520 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 12:18:38 +00:00
locka%iol.ie
aa806a252d NOT PART OF BUILD. Readme for embedding wrappers directory. b=72851
git-svn-id: svn://10.0.0.236/trunk@90519 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 12:16:59 +00:00
locka%iol.ie
8466c220df NOT PART OF BUILD. Readme for embedding examples directory. b=72851
git-svn-id: svn://10.0.0.236/trunk@90518 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 12:16:32 +00:00
disttsc%bart.nl
cc4022c1c2 I'll have to figure out sometime why mac/win don't like assigning an nsAReadableString into a (static?) nsString... hope this fixes the bustage.
git-svn-id: svn://10.0.0.236/trunk@90517 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 12:12:16 +00:00
rods%netscape.com
c4b399df8d This now enables print listeners, print progress and the cancelling of printing
Bug 70946 & Bug 70949 r=dcone,chak sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@90516 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 12:04:30 +00:00
rods%netscape.com
bc01926696 This now enables print listeners, print progress and the cancelling of printing
Bug 70946 & Bug 70949 r=dcone,chak sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@90515 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 11:56:03 +00:00
disttsc%bart.nl
f69c0e7cd8 bug 73339: Remove NS_ConvertToString (just another name for NS_ConvertASCIItoUCS2) from the tree. r=jst, sr=scc
git-svn-id: svn://10.0.0.236/trunk@90514 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 11:17:17 +00:00
disttsc%bart.nl
6a8a51830a Move <browser/> xbl binding out into its own file. NOT PART OF BUILD.
git-svn-id: svn://10.0.0.236/trunk@90513 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 10:17:43 +00:00
mcafee%netscape.com
c768d72d23 openLocation.xul moved from navigator to communicator, url unassigned and not needed (70164). r=jag, sr=ben
git-svn-id: svn://10.0.0.236/trunk@90510 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 09:27:31 +00:00
disttsc%bart.nl
0bd712cf0a bug 73350: Remove USE_OBUFFER sections from mimetpla.cpp, r=ben.bucksch@beonex.com, sr=bienvenu, moa=ducarroz
git-svn-id: svn://10.0.0.236/trunk@90509 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 09:26:25 +00:00
darin%netscape.com
d69946b4a5 Add progress event sink notification test.
git-svn-id: svn://10.0.0.236/trunk@90502 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 08:23:42 +00:00
beard%netscape.com
a3f45d7675 [not part of build] Update to newer version of interface.
git-svn-id: svn://10.0.0.236/trunk@90501 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 08:17:20 +00:00
morse%netscape.com
a8b7b7214e bug 73341, fix regression in previous checkin, r=disttsc@bart.nl, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90500 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 07:54:39 +00:00
pschwartau%netscape.com
7423699d90 Minor corrections to code and whitespace.
git-svn-id: svn://10.0.0.236/trunk@90499 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 07:53:14 +00:00
mcafee%netscape.com
30460f1fe9 Changing x-remote help url to mozilla.org version, instead of 1994 jamie doc (70167). r=bryner, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@90497 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 07:48:11 +00:00
pschwartau%netscape.com
60e2112c26 Minor fixes to code and whitespace.
git-svn-id: svn://10.0.0.236/trunk@90496 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 07:43:17 +00:00
mscott%netscape.com
fa5fa5c2ab 67997 --> make saving local mail attachments work directly from the message pane. To do this,
nsMailboxService now support nsIMsgMessageFetchService.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@90493 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 07:35:45 +00:00
mscott%netscape.com
e3190f3551 67997 --> now that the mail protocols automatically invoke a mime converter to extract parts, save attachment
shouldn't attempt to automatically invoke a converter. (removing code we don't need)

sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@90492 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 07:26:09 +00:00
pschwartau%netscape.com
b9c3090bfe Minor corrections to code and style -
git-svn-id: svn://10.0.0.236/trunk@90491 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 07:16:36 +00:00
shaver%mozilla.org
fc19bd3692 correct cast to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@90490 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 06:44:00 +00:00
waterson%netscape.com
b50a206653 Fix windows bustage.
git-svn-id: svn://10.0.0.236/trunk@90489 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 06:39:05 +00:00
waterson%netscape.com
03cb2db790 Bug 73540. Make sure [JS|PL]DHashTable clear live entries while finalizing. Remove induction variable from [JS|PL]_DHashEnumerate() along the way. r=brendan, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@90488 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 06:24:25 +00:00
mscott%netscape.com
bce13671b2 Bug #73412 --> land new message display code.
r=hewitt
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@90487 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 06:09:35 +00:00
waterson%netscape.com
0140577989 Fix regression tests bitrot on Linux. r=karnaze
git-svn-id: svn://10.0.0.236/trunk@90486 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 06:09:16 +00:00
mscott%netscape.com
8e10a861be Bug #73412 --> land new message display code. New code is faster to display messages due to a simpler UI for header display.
introduce a collapsed mode for header display.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@90485 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 06:08:45 +00:00
mscott%netscape.com
deb90d9539 Bug #73412 --> land new message display code.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@90484 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 06:08:07 +00:00
shaver%mozilla.org
44326fc42c 50602: Add support in XPConnect for sharing of refcounted string BufferHandles,
in both directions.
72552: Remedy overzealous CHECK_REQUEST placement in jsapi.c, to produce a
       minimal-but-complete set of engine entry points that require a Request
       for safe execution.
r=brendan, sr=jband, assist=scc,pinkerton


git-svn-id: svn://10.0.0.236/trunk@90483 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 06:04:44 +00:00
pinkerton%netscape.com
6e92e75066 doh, biffed a level of indirection.
git-svn-id: svn://10.0.0.236/trunk@90482 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 06:04:33 +00:00
pinkerton%netscape.com
9c95bb0dca fix ownership model when copying images. caller needs to own bits, not the helper class. r=jag/sr=hyatt. bug# 73517
git-svn-id: svn://10.0.0.236/trunk@90481 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 06:02:54 +00:00
pschwartau%netscape.com
1b05c381cc Initial add. Testcase for the internal [[Class]] property of Objects.
git-svn-id: svn://10.0.0.236/trunk@90480 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 05:50:08 +00:00
pschwartau%netscape.com
f468f7c9bf Initial add. Utility functions for testing Objects.
git-svn-id: svn://10.0.0.236/trunk@90479 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 05:48:48 +00:00
shaver%mozilla.org
8939a0892b 63027: Adding evalInSandbox to JS component loader script-context, to permit
JS components to execute script code with restricted privileges and
       controlled access to their (privileged) environment. r=brendan,
       sr=jband.


git-svn-id: svn://10.0.0.236/trunk@90478 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 05:35:52 +00:00
bryner%uiuc.edu
a90edd2fb0 Backing out joe.chou@eng.sun.com's changes, they broke the Mac. r=sdagley.
git-svn-id: svn://10.0.0.236/trunk@90475 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 03:49:31 +00:00
pavlov%netscape.com
c0936f4c34 fix for timer crash with animated images when changing pages bug 73477 r=pinkerton sr=brendan
git-svn-id: svn://10.0.0.236/trunk@90466 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 02:42:51 +00:00
cmanske%netscape.com
cc0eeec80b Fixed image align reversal for 'left' / 'right', b=73326, r=blake, sr=kin
git-svn-id: svn://10.0.0.236/trunk@90464 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 01:09:37 +00:00
cmanske%netscape.com
a3edf4b1bd Replaced 'value' with 'label' for Table dialog checkboxes, b=73479, r=blake, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@90463 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 01:06:55 +00:00
rpotts%netscape.com
be28647be6 All nsIProgressEventSink notifications from the socket transport should go to the nsHTTPChannel...
git-svn-id: svn://10.0.0.236/trunk@90462 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 00:56:51 +00:00
joe.chou%eng.sun.com
ca525acad2 bug=64296
r=edburns
sr=waterson

This checkin idlifies some files in the plugin hierarchy.

The following files are in this checkin.

build/mac/build_scripts/MozillaBuildList.pm
modules/oji/public/MANIFEST
modules/oji/public/MANIFEST_IDL
modules/oji/macbuild/ojiIDL.mcp
modules/plugin/public/MANIFEST
modules/plugin/public/MANIFEST_IDL
modules/plugin/macbuild/pluginIDL.mcp
modules/oji/public/Makefile.in
modules/oji/public/makefile.win
modules/oji/public/nsIJVMPluginInstance.idl
modules/plugin/public/Makefile.in
modules/plugin/public/makefile.win
modules/plugin/public/nsIPluginManager.idl


git-svn-id: svn://10.0.0.236/trunk@90461 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 00:37:58 +00:00
rpotts%netscape.com
8c05ca7fc8 All nsIProgressEventSink notifications from the socket transport should go to the nsHTTPChannel... (r=darin)
git-svn-id: svn://10.0.0.236/trunk@90460 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 00:20:04 +00:00
mcgreer%netscape.com
264eb17c61 change cert mgr to use outliner
git-svn-id: svn://10.0.0.236/trunk@90459 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 00:18:21 +00:00
mkaply%us.ibm.com
55b9bf2c68 #67913
r=mkaply, sr=blizzard
Take into account WarpCenter when determining AvailRect


git-svn-id: svn://10.0.0.236/trunk@90456 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:51:26 +00:00
shanjian%netscape.com
fa3b62c07b #72125 default font for simplified chinese system does not work
r = ftang, sr=erik
Add fallback font list for default font.


git-svn-id: svn://10.0.0.236/trunk@90455 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:49:28 +00:00
sspitzer%netscape.com
40a203070e when reading news, show "lines" as the header of the "size" column
since we are actually showing (and sorting) line counts.
this broke when we landed the mailnews perf branch.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@90454 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:44:42 +00:00
shanjian%netscape.com
0921cae7a0 #72125 default font for simplified chinese system does not work
r = ftang, sr=erik
Add fallback font list for default font.


git-svn-id: svn://10.0.0.236/trunk@90453 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:43:52 +00:00
cls%seawood.org
238046be17 Change netwerk/mime to use MODULE=mimetype to remove avoid confusion with mailnews/mime . Update necessary REQUIRES.
Bug #68381 r=jag


git-svn-id: svn://10.0.0.236/trunk@90452 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:40:28 +00:00
sspitzer%netscape.com
b8e92c1eb1 when reading news, show (and sort) "lines" in the size column. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@90451 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:38:56 +00:00
erik%netscape.com
b2e098296e checkin for prabhat.hegde@eng.sun.com:
bug 63478; r=bstell@netscape.com, sr=erik@netscape.com
recognize additional Thai fonts
fix compile bug


git-svn-id: svn://10.0.0.236/trunk@90450 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:38:36 +00:00
dougt%netscape.com
82cb3363c6 Renaming xpcom file streams. b=73169, r=sfraser@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90449 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:35:06 +00:00
shanjian%netscape.com
c08e448627 #72625 system fonts are sometimes not correctly setup for CJK windows
r = ftang, sr=erik
The font name in CJK should be converted to unicode before assignment.
we can not assume those are always ascii.


git-svn-id: svn://10.0.0.236/trunk@90448 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:32:38 +00:00
dougt%netscape.com
94b77f315b Fix to prevent ODA from firing if there is no data. b71498, r=valeski@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90447 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:32:19 +00:00
mkaply%us.ibm.com
e324a073a6 #73191
r=beard, sr=brendan
Remove CRT_CALL - change to PR_CALLBACK or JS_DLL_CALLBACK appropriately


git-svn-id: svn://10.0.0.236/trunk@90446 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:21:53 +00:00
darin%netscape.com
560da80273 Fixes bug 73447. When using a proxy, shift-reload does not force a refresh
from the network.  patch=bbaetz@cs.mcgill.ca, r/sr=darin,dougt


git-svn-id: svn://10.0.0.236/trunk@90445 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:20:07 +00:00
sspitzer%netscape.com
016adf4be1 fix for #73416. show the proper icons in the thread pane.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@90443 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:17:33 +00:00
darin%netscape.com
c5cac01b12 Fixes bug 72973. HTTP needs to release its cache output stream before
releasing its cache entry descriptor.  r=sean@beatnik.com, sr=dougt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@90441 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:12:33 +00:00
jeff.dyer%compilercompany.com
1bae7d6c03 Adding JSILGenerator code
git-svn-id: svn://10.0.0.236/trunk@90439 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 22:37:50 +00:00
javi%netscape.com
b1935fdd91 Install the loadable roots when installing pipnss.dll
git-svn-id: svn://10.0.0.236/trunk@90438 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 22:32:36 +00:00
jeff.dyer%compilercompany.com
c66ef4b453 Updating JSC with framework for semantics in cpp.
git-svn-id: svn://10.0.0.236/trunk@90437 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 22:31:11 +00:00
terry%mozilla.org
7aed8c81e3 Improve error message
git-svn-id: svn://10.0.0.236/trunk@90435 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 22:10:36 +00:00
pschwartau%netscape.com
46ebb3586d In some shells, carriage returns are "\n"; in others, "\r\n". Look for either possibility -
git-svn-id: svn://10.0.0.236/trunk@90434 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 22:00:53 +00:00
pinkerton%netscape.com
cb63f63515 adding libpr0n libraries to package list sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@90433 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 19:49:41 +00:00
chak%netscape.com
5c63bdf422 Fix for blocker bug #73225 - Launching mfcembed crashes in GKLAYOUT.DLL
r=cls,a=ducarroz


git-svn-id: svn://10.0.0.236/trunk@90432 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 19:03:06 +00:00
bernd.mielke%snafu.de
2a0f6a04cf adding table regression test - not part of the build
git-svn-id: svn://10.0.0.236/trunk@90428 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 14:58:11 +00:00
kestes%tradinglinx.com
f9440480ac put correct mailing address in comment.
git-svn-id: svn://10.0.0.236/trunk@90427 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 14:08:42 +00:00
kestes%tradinglinx.com
fea54d81fe put correct mailing address in comment.
git-svn-id: svn://10.0.0.236/trunk@90426 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 14:05:48 +00:00
kestes%tradinglinx.com
fe5b32d7c4 for security, set a umask.
typo with $MINIMUM_BUILD_SECONDS was causing too little sleeping and
many builds occured flooding my disk space.


git-svn-id: svn://10.0.0.236/trunk@90425 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 13:37:24 +00:00
kestes%tradinglinx.com
bba7e16977 for security, set a umask
git-svn-id: svn://10.0.0.236/trunk@90424 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 13:36:28 +00:00
kestes%tradinglinx.com
a1d71995da got the mindate/maxdate backwards for the "C" link. I thought I fixed
this already.


git-svn-id: svn://10.0.0.236/trunk@90423 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 13:36:00 +00:00
timeless%mac.com
3c0c6a5ea2 Bugzilla Bug 73426 fix viewallnotes.cgi compile errors <q src="tinderbox" class="errors"/>
fixes tinderbox bustage


git-svn-id: svn://10.0.0.236/trunk@90421 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 10:49:46 +00:00
jst%netscape.com
30c485b610 Adding interface file, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@90418 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 10:45:45 +00:00
dveditz%netscape.com
588674c115 fix commercial bustage and make depend builds not break when MOZ_SRC
slash goes the wrong way. r=cls


git-svn-id: svn://10.0.0.236/trunk@90416 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 08:39:11 +00:00
karnaze%netscape.com
d066bd289c new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@90415 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 06:23:01 +00:00
karnaze%netscape.com
b9017017e4 bug 60749 - on a table cell frame style change reflow, reinitialize the table's strategy.
git-svn-id: svn://10.0.0.236/trunk@90414 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 06:13:56 +00:00
karnaze%netscape.com
f23390bfb2 new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@90413 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 05:27:48 +00:00
karnaze%netscape.com
fce7835641 bug 73321 - fix regression caused by the cleanup bug 70989.
git-svn-id: svn://10.0.0.236/trunk@90411 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 05:16:32 +00:00
mscott%netscape.com
8c5611b908 If the date is today then only show a time, don't show the date in the message pane.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@90410 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 05:07:19 +00:00
mscott%netscape.com
b04f0cda98 If the date is today then only show a time, don't show the date in the thread pane.
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@90409 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 05:07:08 +00:00
blakeross%telocity.com
8c4470b45a pav sucks. Fixing his startup crash (he didn't checkin the patch that fixed the double mem free). How did mozbot miss this?!?
git-svn-id: svn://10.0.0.236/trunk@90408 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 05:06:11 +00:00
pavlov%netscape.com
ef8db86d05 fix for the remaining gif leaks. bug 73394. r=saari sr=mozbot
git-svn-id: svn://10.0.0.236/trunk@90405 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 02:22:40 +00:00
karnaze%netscape.com
b127d9a834 new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@90404 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 01:47:51 +00:00
karnaze%netscape.com
8bb773c2fd fixed regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@90403 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 00:57:38 +00:00
karnaze%netscape.com
334d8c996b bug 45055 - additional rounding for max element size and maximumWidth.
git-svn-id: svn://10.0.0.236/trunk@90402 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 00:56:44 +00:00
pavlov%netscape.com
0f064a2040 fixing leaks in the new gif decoder bug 73394 r=pinkerton sr=shaver
git-svn-id: svn://10.0.0.236/trunk@90401 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 00:11:53 +00:00
cls%seawood.org
c2a55d3959 Backing out previous checkin.
git-svn-id: svn://10.0.0.236/trunk@90400 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 23:53:37 +00:00
disttsc%bart.nl
d04cf04c88 Fix wchar_t bustage in wallet (oops).
git-svn-id: svn://10.0.0.236/trunk@90399 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 23:51:44 +00:00
av%netscape.com
4d26893c6c First check in. The Spy Plugin. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@90398 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 23:48:19 +00:00
endico%mozilla.org
cd0549b6cd commented out nss and nspr from tinderbox module since at this time checkins to those dirs will only yeild false positives. The only checkins there that will show up in tinderbox will be to the head, which doesn't affect client bustage.
git-svn-id: svn://10.0.0.236/trunk@90397 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 23:47:42 +00:00
av%netscape.com
62061956cd First time in. The Spy Plugin. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@90396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 23:38:33 +00:00
disttsc%bart.nl
311f371d27 Some string, IID and CID cleaning in singsign.cpp, wallet.cpp, bug=73341, r=morse, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@90395 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 23:07:49 +00:00
karnaze%netscape.com
a16af1f12b new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@90394 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 23:06:50 +00:00
karnaze%netscape.com
da773f42f0 bug 45055 - align row heights on pixel boundaries when distributing extra space vertically. Work around block bug by rounding cells to even pixel boundary. sr=attinasi, r=bernd.mielke@snafu.de
git-svn-id: svn://10.0.0.236/trunk@90393 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 23:06:08 +00:00
disttsc%bart.nl
ce927d9f65 Clean up REQUIRES lines. r=cls
git-svn-id: svn://10.0.0.236/trunk@90392 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 22:59:27 +00:00
karnaze%netscape.com
06ce1683e5 bug 51140 - put placeholder frame which gets a pseudo table related frame into the correct pseudo child list. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90391 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 22:54:23 +00:00
bienvenu%netscape.com
d9ef559644 get replying to offline msg working sr=sspitzer 64424
git-svn-id: svn://10.0.0.236/trunk@90390 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 22:13:22 +00:00
karnaze%netscape.com
cc065f7a4f new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@90389 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 21:56:30 +00:00
blizzard%redhat.com
751c3a5b1f Query pointer for great justice. Part of bug #72556. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@90388 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 21:55:37 +00:00
scc%mozilla.org
4c9b344399 syntax fix
git-svn-id: svn://10.0.0.236/trunk@90387 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 21:51:40 +00:00
cls%seawood.org
652442b29a Add _NO_FLOCK back to make-jars.pl options.
git-svn-id: svn://10.0.0.236/trunk@90386 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 21:40:04 +00:00
scc%mozilla.org
4e305a6256 remove hidden depencies, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@90385 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 21:33:50 +00:00
karnaze%netscape.com
1ac4da86ee regression test cleanup, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@90384 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 20:21:31 +00:00
cls%seawood.org
d29e9e1ce2 Erk. --enable-chrome-format actually defaults to jar not both.
git-svn-id: svn://10.0.0.236/trunk@90383 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 20:18:18 +00:00
karnaze%netscape.com
633a8de707 bug 72181 - treat style change reflow like initial reflow (with same optimizations). sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90382 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 20:06:29 +00:00
bienvenu%netscape.com
8bff542773 fix loading a newsgroup and loading a news message while offline sr=sspitzer 15865
git-svn-id: svn://10.0.0.236/trunk@90381 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 19:33:18 +00:00
bienvenu%netscape.com
16aefa57dc add new pref for limiting size of messages downloaded for offline 15865 sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@90380 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 18:48:27 +00:00
bienvenu%netscape.com
83e7571b51 add some status text for offline 15865 sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@90379 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 18:47:54 +00:00
bienvenu%netscape.com
364de87773 add synchronize for offline, some status text 15865 sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@90378 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 18:45:47 +00:00
scc%mozilla.org
5941f7b891 syntax fix
git-svn-id: svn://10.0.0.236/trunk@90377 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 18:43:10 +00:00
scc%mozilla.org
414ed7319d fix HPUX bustage, and additionally added some comments
git-svn-id: svn://10.0.0.236/trunk@90376 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 18:06:27 +00:00
karnaze%netscape.com
997bef3c05 fix regression test, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@90375 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 18:01:21 +00:00
blakeross%telocity.com
f21f284aef Removing non-compliant text/xul mimetype, replacing with application/vnd.mozilla.xul+xml (28237, patch by gerv@gerv.net). r=blake sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90374 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 16:49:38 +00:00
beard%netscape.com
0281a6c15a [not part of build] maintains a compact directory of disk cache entries, for disk cache version 1.
git-svn-id: svn://10.0.0.236/trunk@90368 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 15:49:31 +00:00
beard%netscape.com
e1c6228bd9 [not part of build] nsIInputStream/nsIOutputStream wrappers for ANSI FILE objects.
git-svn-id: svn://10.0.0.236/trunk@90367 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 15:47:36 +00:00
pavlov%netscape.com
323f3a2398 fix for hugeass memory leak. bug 73351. r=jag sr=mozbot
git-svn-id: svn://10.0.0.236/trunk@90366 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 11:57:25 +00:00
maolson%earthlink.net
3000630cf2 no bug. removing an old line that crept into blake's xul syntax change
r=jag, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@90365 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 09:08:28 +00:00
endico%mozilla.org
fa24fcf482 Lets be consistant. Switch back to #!/usr/bonsaitools/bin/perl -w
git-svn-id: svn://10.0.0.236/trunk@90364 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 08:59:55 +00:00
talisman%anamorphic.com
4474ba111d MOVED these files to sources/grendel/widgets/toolbar/mozilla.
git-svn-id: svn://10.0.0.236/trunk@90363 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 08:07:56 +00:00
talisman%anamorphic.com
762db4f9f4 REORG of source tree. Hierarchy is much cleaner now. Makefiles will likely be broken until next checkin. You've been warned.
git-svn-id: svn://10.0.0.236/trunk@90362 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 07:51:47 +00:00
cls%seawood.org
e3da50bc7a Whitespace change for tinderbox test
git-svn-id: svn://10.0.0.236/trunk@90360 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 07:04:14 +00:00
endico%mozilla.org
65744f536a add MozillaTinderboxAll module
git-svn-id: svn://10.0.0.236/trunk@90359 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 06:51:21 +00:00
cls%seawood.org
eb778f307b Add prelim support for tracking multiple branches on tinderbox
git-svn-id: svn://10.0.0.236/trunk@90358 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 06:21:35 +00:00
cls%seawood.org
942b891412 Add -lc to OS_LIBS for Linux.
Bug #72766


git-svn-id: svn://10.0.0.236/trunk@90357 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 04:44:02 +00:00
cls%seawood.org
fa4bebd3ff Add the jar files to the package list. (How did the installer ever work without them?)
Bug #73335 r=bryner


git-svn-id: svn://10.0.0.236/trunk@90356 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 04:40:52 +00:00
cls%seawood.org
9ed685ec50 Add -lc to LIBS/OS_LIBS for Linux.
Bug #72766 r=bryner


git-svn-id: svn://10.0.0.236/trunk@90355 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 04:32:08 +00:00
pavlov%netscape.com
b754d759a4 fix for bug 73345. r=hixie,bryner sr=cls
git-svn-id: svn://10.0.0.236/trunk@90354 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 02:56:38 +00:00
disttsc%bart.nl
8874b002ef Fix Win32 bustage by adding NS_COM to declaration of StringAllocator_[char|wchar_t](), r/sr=scc
git-svn-id: svn://10.0.0.236/trunk@90353 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 02:26:33 +00:00
scc%mozilla.org
3b6f8d16d6 bug #73297, r=shaver, sr=darin. Give string buffers an allocator hook to tie into js et al
git-svn-id: svn://10.0.0.236/trunk@90352 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 01:14:26 +00:00
av%netscape.com
0dd79e0251 To fix bug 58128. For old style plugins: added nsIPlugin::Shutdown as well as dll unload upon destroying the last plugin instance. r=peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90351 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 00:28:53 +00:00
mscott%netscape.com
58b26a34a7 Bug #73250, 67997 --> be sure to pass out just the part or attachment by automatically
invoking a mime converter. This fixes an infinite loop with libpr0n and saving attachments
from the browser window.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@90350 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 00:26:40 +00:00
mscott%netscape.com
2fe5bf86ca Bug #73250, 67997 --> fix infinite loop when displaying images with the new image lib.
When fetching a part or an attachment to an imap message, automatically invoke a mime converter
to extract just the part. this fixes saving mail attachments from the browser window.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@90349 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 00:24:41 +00:00
karnaze%netscape.com
222cdae092 bug 72396 - fix CalcBorderBoxWidth to not use unconstrained width. Fix column balancing to be skipped when there is an unconstrained width. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90348 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 23:15:49 +00:00
disttsc%bart.nl
d9ef6a1ec6 Bug 60952: nsMimeTypes.h has wrong type for APPLICATION_HTTP_INDEX, author=Bradley Baetz <bbaetz@cs.mcgill.ca>, r=blake, sr=darin
Bug 68651, nsFtpConnectionThread should use NS_LITERAL_STRING, author=Bradley Baetz <bbaetz@cs.mcgill.ca>, r=jag, sr=dougt


git-svn-id: svn://10.0.0.236/trunk@90347 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 22:57:35 +00:00
bryner%uiuc.edu
2b646c3714 Removing xp_regexp.h, now that it's unused. Bug 73297. r=blake, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@90346 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 20:13:06 +00:00
shaver%mozilla.org
52c5230a7b 72495 redux: last references to xp_regexp.h, r=bryner, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@90345 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 18:54:13 +00:00
bienvenu%netscape.com
c2d04ac67a get status msgs working again for imap 73241, couple small fixes for offline imap 15865 r=naving, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@90344 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 14:53:54 +00:00
cls%seawood.org
22028a0475 If doing jar only builds, unzip all known jar files and add select chrome files to embed.jar. Bug #72390
git-svn-id: svn://10.0.0.236/trunk@90343 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 14:36:25 +00:00
cls%seawood.org
4d5fc93e6a Add a space to make verbose output less confusing
git-svn-id: svn://10.0.0.236/trunk@90342 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 13:44:41 +00:00
cls%seawood.org
1a21bbb1ce Extract chrome files from moz .jars to create embed.jar if building with jar chrome only. Bug #72390. Shoudl fix tinderbox bustage too.
git-svn-id: svn://10.0.0.236/trunk@90341 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 13:38:53 +00:00
disttsc%bart.nl
5afd721d44 Fix senna bustage (MOZ_TRACK_MODULE_DEPS)
git-svn-id: svn://10.0.0.236/trunk@90340 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 12:02:07 +00:00
cls%seawood.org
491faaa272 Only build chrome jar files by default. Use either --enable-chrome-format (autoconf) or MOZ_CHROME_FILE_FORMAT (win32) to override.
Bug #72390 r=jag


git-svn-id: svn://10.0.0.236/trunk@90339 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 11:07:15 +00:00
gayatrib%netscape.com
9c0a34ecc8 Implementing deleting/filing messages on single and multiple folders in search. Fixed regression introduced after merging performance branch that search does not display number of search hits. r=bhuvan,bienvenu. sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@90338 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 09:08:26 +00:00
sfraser%netscape.com
2c914c21f2 Fix the imglib2 build stuff to not break the build progress functionality, by keying off build{foo} rather than options{foo}
git-svn-id: svn://10.0.0.236/trunk@90337 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 08:06:38 +00:00
sfraser%netscape.com
a9b490a249 Add libimg2 to the list of modules, which is what saari should have done.
git-svn-id: svn://10.0.0.236/trunk@90336 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 07:38:33 +00:00
bryner%uiuc.edu
272bfc695e If we get the URI from the channel, return the result of that call, not NS_ERROR_FAILURE. r=saari, sr=tor.
git-svn-id: svn://10.0.0.236/trunk@90335 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 07:12:41 +00:00
dmose%netscape.com
089c45bae6 Initial interface and implementation of a class that represents the unique characteristics of an nsILDAPConnection (bug 70421). Patch from Leif Hedstrom <leif@netscape.com>. r=<dmose@netscape.com>, sr=<shaver@mozilla.org>.
git-svn-id: svn://10.0.0.236/trunk@90334 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 07:09:55 +00:00
saari%netscape.com
7f677b102d fixing typo in mac build script to ensure that you can build with useimg2 set to off.
git-svn-id: svn://10.0.0.236/trunk@90333 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 07:08:21 +00:00
attinasi%netscape.com
05ca9509c1 CSS-only fix - Fixes invalid values for content property. b=72315 r=dbaron, hwaara
git-svn-id: svn://10.0.0.236/trunk@90332 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 06:25:33 +00:00
dmose%netscape.com
017440453f Fix MOZ_TRACK_MODULE_DEPS bustage with --enable-xpctools (bug 72120). Only touches unix build-system. r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@90331 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 06:14:28 +00:00
saari%netscape.com
58a391cde8 fix opt build
git-svn-id: svn://10.0.0.236/trunk@90330 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 04:55:47 +00:00
saari%netscape.com
bcb70008ee oh fine, try this fix for mac
git-svn-id: svn://10.0.0.236/trunk@90329 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 04:05:07 +00:00
saari%netscape.com
e83d14be2e pull libpr0n on mac
git-svn-id: svn://10.0.0.236/trunk@90328 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 03:31:16 +00:00
saari%netscape.com
dd45ea39cd libpr0n 4 mac
r=pinkerton,pavlov, sr=smfr


git-svn-id: svn://10.0.0.236/trunk@90327 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 02:44:26 +00:00
saari%netscape.com
4b5b8ff105 like MIR, libpr0n is landing for mac
r=pinkerton, pavlov, sr=smfr


git-svn-id: svn://10.0.0.236/trunk@90326 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 02:44:07 +00:00
saari%netscape.com
0bccf5846b jpeg decoder for mac libpr0n
git-svn-id: svn://10.0.0.236/trunk@90325 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 02:30:15 +00:00
hyatt%netscape.com
a84416574c Forgot xul atoms.
git-svn-id: svn://10.0.0.236/trunk@90324 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 02:22:32 +00:00
andreww%netscape.com
d0f930b470 bugzilla 45034 r=timeless, sr=hewitt, mail filter dialog cleanup.
git-svn-id: svn://10.0.0.236/trunk@90323 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 02:09:33 +00:00
andreww%netscape.com
4c0882bc4c bugzilla 45034 r=timeless, sr=hewitt :mail filter ui cleanup
git-svn-id: svn://10.0.0.236/trunk@90322 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 02:08:49 +00:00
hyatt%netscape.com
71357fbdd2 Fix misalignment problem in the outlienr for image cols.
git-svn-id: svn://10.0.0.236/trunk@90321 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 02:04:57 +00:00
hyatt%netscape.com
9f6ea62170 Turning on images in outliner. r=pav, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@90320 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 01:50:33 +00:00
hewitt%netscape.com
fc80a315c2 73199 - scrollbar image missing (for atontti@cc.hut.fi), r=bzbarsky, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@90319 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 01:40:56 +00:00
hewitt%netscape.com
3db7d456c3 72231 - splitter images missing, r=hwaara, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@90318 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 01:40:42 +00:00
radha%netscape.com
fa73d43aec Fix for bug # 69457 r=valeski, rpotts
git-svn-id: svn://10.0.0.236/trunk@90316 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 01:23:42 +00:00
cmanske%netscape.com
2ab803eb5e Fixed Image dialog. b=73043, r=kin, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@90315 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 01:17:27 +00:00
sspitzer%netscape.com
d414eaff38 fix it so we show the right sort indicator when viewing a folder (or newsgroup) for the first time.
add "View | Sort By | Thread" back to the menus.

add an accelerator for "Select Thread" (ctrl shift a). #21094

make it so when we delete the last message in the folder, we clear  out the message pane.
make it so when we compact folders, we blank out the thread pane. #72674

fix some crashers when clicking on the thread pane and there is no db or there are no rows.  #72282

kill thread should not be "ctrl w", it should be "w".  #73260

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@90314 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 01:12:33 +00:00
cmanske%netscape.com
c3fb9b6033 Fixed Join Cells enabling. b=71985, r=hyatt, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@90313 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 01:11:33 +00:00
pierre%netscape.com
4376913cf6 Debug files for bug 43457. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@90312 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 01:07:31 +00:00
sspitzer%netscape.com
15c7051ebc fix it so we won't try to send "ARTICLE <" to the nntp server. on quit, we sometimes get into a state where we try to send that to the server. if I detect that state, I return error but I don't send the bogus data over the wire. sr=bienvenu
related to bugs #57659 and #72317


git-svn-id: svn://10.0.0.236/trunk@90311 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 01:06:53 +00:00
despotdaemon%netscape.com
d5961922dc Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@90310 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 01:03:43 +00:00
cmanske%netscape.com
46be3afcb6 Added quick access to last-picked color. b=72090, r=glazman, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@90309 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:58:52 +00:00
valeski%netscape.com
ef0c94c88a sr=dougt. adding missing lowercaseing of scheme. 72720.
git-svn-id: svn://10.0.0.236/trunk@90308 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:58:32 +00:00
stephend%netscape.com
3a60b620f2 Per RFC2606, using user@domain.invalid in bug 71121. r=Ben Bucksch sr=sspitzer@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@90307 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:54:09 +00:00
danm%netscape.com
7d8ebc3547 fixing OpenWindow with extra args TYPE_CHAR and TYPE_WSTRING cases. r=jst,hyatt
git-svn-id: svn://10.0.0.236/trunk@90306 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:52:16 +00:00
varada%netscape.com
4a66fa3a76 fix for bug#72235- crash on replying to message;r=ducarroz;sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@90305 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:51:59 +00:00
radha%netscape.com
dccd9eefc1 Fix for bug # 63991 r=adamlock
git-svn-id: svn://10.0.0.236/trunk@90304 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:45:56 +00:00
varada%netscape.com
e303a3d2a4 fix for bug 70392 - beautifying send format prefs panel; r=ducarroz;sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@90303 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:43:12 +00:00
varada%netscape.com
ad44898d2d fix for bug#69525-dnd attachment not working for compose window on mac;r=ducarroz;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@90302 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:35:31 +00:00
brendan%mozilla.org
152a38ce62 Fix old 1.4-era bogus code for setting JSPD_ARGUMENT or JSPD_VARIABLE given a heavyweight activation (68825, r=shaver, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@90301 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:31:43 +00:00
dmose%mozilla.org
7c36993274 Turn on LDAP XPCOM SDK code in the default build; no user-visible changes yet (bug 70658). Code being turned on: moa=dmose@netscape.com, sr=shaver@mozilla.org. Windows build patch: r=cls@seawood.org, sr=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@90300 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:28:50 +00:00
bnesse%netscape.com
b8c37a8903 Added some missing calls to add the requested preference to the branch root value. [Not part of the build]
git-svn-id: svn://10.0.0.236/trunk@90299 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:25:47 +00:00
valeski%netscape.com
e028f93870 r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces.
git-svn-id: svn://10.0.0.236/trunk@90298 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:22:18 +00:00
dougt%netscape.com
0ddb749e90 Adding Cache to the release builds. r=pavlov, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@90296 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:20:38 +00:00
dr%netscape.com
db17cb7cb9 fix for 67006, patch from MarkH@ActiveState.com, r=dr, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90295 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:14:10 +00:00
dr%netscape.com
4737ba6953 fix for 67731, patch from varga@utcru.sk, r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90294 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:12:47 +00:00
ducarroz%netscape.com
4a449261e5 FIx for bug 73041. SendMsg now has only two parameters. SR=sspitzer
git-svn-id: svn://10.0.0.236/trunk@90293 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:10:59 +00:00
hewitt%netscape.com
be8b6da149 72316 - mail threadPane polish (all themes), r=blake, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90292 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:08:01 +00:00
cmanske%netscape.com
daffb1c9d2 Fixed Named Anchor dialog ok enabling, b=72194, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@90291 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 23:57:23 +00:00
sean%beatnik.com
35842d5a40 bug 72017 dual xpcom/npapi plugins are not initialized properly. Add code to get plugin factory for xpcom modules that export NSGetModule instead of NSGetFactory. r=av a=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90290 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 23:53:09 +00:00
pavlov%netscape.com
c4d4d6bb10 fix for bug 73261. unix printing causing crash. r=pinkerton sr=shaver
git-svn-id: svn://10.0.0.236/trunk@90289 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 23:52:11 +00:00
timeless%mac.com
debde7f1c7 fix Bugzilla Bug 65428 language="javascript" should be type="application/x-javascript" mailnews
r=fabian, a=ben


git-svn-id: svn://10.0.0.236/trunk@90287 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 23:44:31 +00:00
nelsonb%netscape.com
37ab6208d1 Eliminate the old global arena lock. Each ArenaPool now has its own lock.
The new PORTArenaPool struct, an extended PLAreanaPool, is used in place
of PLArenaPools.


git-svn-id: svn://10.0.0.236/trunk@90286 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 23:40:09 +00:00
nhotta%netscape.com
e9242d467c Changed to output '?' for unmapped characters if text/plain, bug 72155, r=ftang, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@90285 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 23:39:04 +00:00
nhotta%netscape.com
b552d6fe10 Changed to duplciate tm record to avoid the memory to be disturbed by following usage of localtime(),
r=bstell,jelwell, sr=erik.


git-svn-id: svn://10.0.0.236/trunk@90284 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 23:38:14 +00:00
javi%netscape.com
bc3ae9aaaa Add a second tab to the cert view dialog for the pretty print
stuff.


git-svn-id: svn://10.0.0.236/trunk@90283 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 22:58:13 +00:00
gordon%netscape.com
b7c36856ef Fix bug 73018 "SSL fails on Mac", check in for sfraser. r=pinkerton, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@90281 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 22:41:07 +00:00
pavlov%netscape.com
2830c89559 fix for bug 73239. output pixels instead of twips from GetNaturalImageSize. r=ninsheeth sr=shaver,smfr
git-svn-id: svn://10.0.0.236/trunk@90279 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 21:52:08 +00:00
mcafee%netscape.com
f4e24e5a54 Fixes for OBJDIR builds
git-svn-id: svn://10.0.0.236/trunk@90278 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 21:37:13 +00:00
javi%netscape.com
e2352cc6ea Delete the ns*CertificateManager related files that are no longer part of the build.
git-svn-id: svn://10.0.0.236/trunk@90277 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 21:27:29 +00:00
sonmi%netscape.com
418e282ca6 took out yesterday's change, since it did not work
git-svn-id: svn://10.0.0.236/trunk@90275 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 21:11:14 +00:00
pavlov%netscape.com
892c7ce230 fix for windows crash on profile startup, initalize disk cache lazily. bug 73197. r=beard, gordon sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@90272 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 21:06:39 +00:00
cotter%netscape.com
4f47a8dad1 Added files & initial placeholders for PSM 2.0 help & related docs.
git-svn-id: svn://10.0.0.236/trunk@90271 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 20:24:47 +00:00
nicolson%netscape.com
62c6613239 Allow the option of not overriding the Sun provider, for CMS.
git-svn-id: svn://10.0.0.236/trunk@90270 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 19:50:02 +00:00
relyea%netscape.com
396a9316a6 Change structure passing to pointer passing.
removed debugging printf's


git-svn-id: svn://10.0.0.236/trunk@90269 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 19:33:59 +00:00
bernd.mielke%snafu.de
f39bdc29bd fix javascript warnings in table testcases. bug 62965 r=karnaze
not part of the build


git-svn-id: svn://10.0.0.236/trunk@90262 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 15:44:07 +00:00
bernd.mielke%snafu.de
ef6d9f26bb remove javascript warnings from table testcases bug 62965 r=karnaze
git-svn-id: svn://10.0.0.236/trunk@90261 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 15:39:08 +00:00
karnaze%netscape.com
3a2764755a bug 72393 - correctly determine col min/max when cell changes size during incremental reflow and a strategy re-init is not needed. sr=attinasi, r=bernd.mielke@snafu.de
git-svn-id: svn://10.0.0.236/trunk@90260 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 15:34:14 +00:00
alecf%netscape.com
874291fed3 make this DEBUG_roc instead of DEBUG - we dont' ALL need to debug the view manager
git-svn-id: svn://10.0.0.236/trunk@90259 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 15:27:16 +00:00
alecf%netscape.com
3429dd7075 defer history loading until the first page is added to history for percieved performance improvement
sr=waterson bug=38621


git-svn-id: svn://10.0.0.236/trunk@90258 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 15:23:40 +00:00
mkaply%us.ibm.com
0c1f5d6d96 More OS/2 bustage - callback
git-svn-id: svn://10.0.0.236/trunk@90257 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 15:16:09 +00:00
locka%iol.ie
af1f8e780b Updated PATH setting code to be less reliant on registry settings. b=71363
git-svn-id: svn://10.0.0.236/trunk@90256 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 14:56:12 +00:00
mkaply%us.ibm.com
83aced4404 OS/2 bustage - forgot one callback
git-svn-id: svn://10.0.0.236/trunk@90255 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 14:44:37 +00:00
kmcclusk%netscape.com
631e1e02b3 Removed code which prevented reparenting of views + added code to check floating child list when reparenting views bug 71032; sr = waterson@netscape.com; r=dcone@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90254 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 14:43:09 +00:00
disttsc%bart.nl
b8d183d032 Attempt to fix SpeedRacer and Senna bustage
git-svn-id: svn://10.0.0.236/trunk@90253 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 14:36:38 +00:00
kmcclusk%netscape.com
dfc987a3b6 Added 1 pixel to the invalidate rect to compensate for twips to pixel rounding error. bug=63951; sr=karnaze@netscape.com; r=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90252 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 14:36:28 +00:00
disttsc%bart.nl
b1a54d34a5 Fix MOZ_TRACK_MODULE_DEPS bustage
git-svn-id: svn://10.0.0.236/trunk@90251 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 14:34:00 +00:00
kmcclusk%netscape.com
3ce507a2b4 Changed default for mNotificationInterval from 1sec to 1/4sec to improve incremental page load performance for slow connections/servers bug 72138; r=karnaze@netscape.com sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90250 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 14:16:05 +00:00
morse%netscape.com
50e36e2810 coded by disttsc@bart.nl, r=morse@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90249 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 13:58:44 +00:00
morse%netscape.com
b34a8fcc9b bug 24533, view image should open in same window, coded by doronr@naboonline.com, r=bzbarsky@mit.edu, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90248 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 13:48:27 +00:00
disttsc%bart.nl
8acefc36a0 Hoping this "fixes" senna bustage
git-svn-id: svn://10.0.0.236/trunk@90247 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 13:27:58 +00:00
waterson%netscape.com
79b2865cda Fix ports bustage (HP-UX, messina & palermo).
git-svn-id: svn://10.0.0.236/trunk@90246 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 12:16:09 +00:00
locka%iol.ie
eb5d1a7e74 NOT PART OF BUILD. Added WindowCreator.cpp & h to project
git-svn-id: svn://10.0.0.236/trunk@90245 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 11:50:18 +00:00
locka%iol.ie
2105558e49 Fixed problem of double clicking on a profile from the selection dialog caused winEmbed to quit.
git-svn-id: svn://10.0.0.236/trunk@90244 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 11:49:46 +00:00
waterson%netscape.com
92db598eb6 Bug 71530. Implement RDF outliner. Break nsXULTemplateBuilder into two subclasses: nsXULContentBuilder and nsXULOutlinerBuilder. Explode helper classes into separate files. Fix ownership and communication between nsXULElement, nsXULDocument, and nsXULTemplateBuilder. r=hyatt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@90243 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 10:56:18 +00:00
axel%pike.org
03890be359 not part of the build; XSLT buster rework, the grid one was horked by the xul change, this one moved to outliner, yeah
git-svn-id: svn://10.0.0.236/trunk@90241 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 10:43:55 +00:00
pavlov%netscape.com
c14d3ca70f include <$(DEPTH)\config\config.mak>
yet again.  fixing build bustage


git-svn-id: svn://10.0.0.236/trunk@90238 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 09:49:08 +00:00
rbs%maths.uq.edu.au
c83bd679a8 back-end to extend and generalize the support of stretchy chars. b=72161 [s]r=waterson
git-svn-id: svn://10.0.0.236/trunk@90237 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 09:46:24 +00:00
disttsc%bart.nl
606281de09 Fix MOZ_TRACK_MODULE_DEPS bustage
git-svn-id: svn://10.0.0.236/trunk@90236 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 09:45:16 +00:00
timeless%mac.com
c7d84847c9 these files were not supposed to have been committed, reverting to previous version. sorry
git-svn-id: svn://10.0.0.236/trunk@90235 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 09:41:36 +00:00
anthonyd%netscape.com
785fbe7f7a bug fix for 59785 Impossible to select document root element
r=mjudge
sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@90234 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 09:29:51 +00:00
pavlov%netscape.com
59fcc612f1 including config.mak to fix build bustage on windows. r=darin
git-svn-id: svn://10.0.0.236/trunk@90233 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 09:25:25 +00:00
darin%netscape.com
21260302ca Added nkcache to packages for unix and win platforms. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@90231 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 09:10:38 +00:00
darin%netscape.com
2704f19a78 nkcacheservice --> nkcache
git-svn-id: svn://10.0.0.236/trunk@90228 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 09:09:47 +00:00
pavlov%netscape.com
da016e9b75 adding new imagelib stuff to packages-win r=darin
git-svn-id: svn://10.0.0.236/trunk@90227 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 09:06:33 +00:00
disttsc%bart.nl
38efce0f42 Fix MOZ_TRACK_MODULE_DEPS bustage
git-svn-id: svn://10.0.0.236/trunk@90224 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 08:44:39 +00:00
pavlov%netscape.com
ce26ff0c13 turning on the new imagelib on windows. bug 70938 r=jag sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90223 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 08:41:05 +00:00
timeless%mac.com
b351664b13 fix Bugzilla Bug 25497 view source on image only brings unknown file type dialog
patch by gervase.markham@univ.ox.ac.uk
r=timeless sr=alecf


git-svn-id: svn://10.0.0.236/trunk@90222 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 08:35:21 +00:00
disttsc%bart.nl
0849826eaa Fix MOZ_TRACK_MODULE_DEPS bustage.
git-svn-id: svn://10.0.0.236/trunk@90221 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 08:16:59 +00:00
disttsc%bart.nl
242c7b07ea Back out delayedInit, it's a race problem waiting to happen. Keeping some of the goodness of that patch though, like setting session history before hooking up the progress listener. sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90220 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 08:14:49 +00:00
waterson%netscape.com
f65841b190 Bug 71530. Preflight required changes for RDF outliner. Need to include 'rdf.h' for progid prefixes. r=hyatt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@90218 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 07:45:02 +00:00
pavlov%netscape.com
d15881bd4c adding extern "C" around the #include <jpeglib.h> to fix bug 73164 r=tor@cs.brown.edu
git-svn-id: svn://10.0.0.236/trunk@90217 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 07:45:00 +00:00
waterson%netscape.com
38805b0f14 Bug 71530. Preflight required changes for RDF outliner: fix typo. r=hyatt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@90216 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 07:44:17 +00:00
waterson%netscape.com
7b2fc0c9c6 Bug 71530. Preflight required changes for RDF outliner. Hack outliner body frame initialization to hookup outliner if one exists; don't assume scrollbar can be created. r=hyatt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@90215 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 07:42:50 +00:00
mcafee%netscape.com
44f0f282dc 23733OBJDIR build case needs path to file name (73124). r=pinkerton, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90214 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 07:42:36 +00:00
waterson%netscape.com
6c3da9ef63 Bug 71530. Implement RDF outliner; preflight new files. r=ben/hyatt
git-svn-id: svn://10.0.0.236/trunk@90211 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 07:39:31 +00:00
disttsc%bart.nl
aaff541a26 Fix some inefficiency in nsNativeComponentLoader.cpp, bug=51210, author=Mark Stankus <mstankus@calpoly.edu>, r=bzbarsky@mit.edu, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@90210 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 07:34:34 +00:00
tor%cs.brown.edu
95b57155e8 Fix alpha depth check to return the right value for rgba images.
Not part of build.  r=pavlov


git-svn-id: svn://10.0.0.236/trunk@90209 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 07:12:52 +00:00
jband%netscape.com
1748df2ff5 fix bug 54792 by running assert dialog out or process on Win32. r=danm sr=brendan
git-svn-id: svn://10.0.0.236/trunk@90208 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 06:57:17 +00:00
waterson%netscape.com
e391417cec Bug 72905. Add 'trap' to XPCOM_DEBUG_BREAK flags to bust into the debugger on asserts. r=sspitzer, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@90207 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 06:21:41 +00:00
sspitzer%netscape.com
3b57d52626 fix #21094. implement "select thread" (for my patient pal leaf).
disable "select thread" if nothing is selected in the thread pane.
disable "select flagged" until it is finished.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@90206 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 06:12:31 +00:00
nisheeth%netscape.com
38ab550178 r=heikki. sr=jst. Use PR_smprintf. Get rid of nsTimer.cpp. Fixes bug 57592.
git-svn-id: svn://10.0.0.236/trunk@90205 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 05:44:03 +00:00
stephend%netscape.com
451b647861 Part of the fix for bug 73051, observing RFC2606. r=robinf@netscape.com, hixie@netscape.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@90204 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 05:35:19 +00:00
stephend%netscape.com
45f1dc6b47 Part of the fix for bug 73051, observing RFC2606. r=robinf@netscape.com, hixie@netscape.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@90203 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 05:33:07 +00:00
shaver%mozilla.org
8d15cc6563 72768: fix Solaris/Intel xptcall, p=<rich.burridge@sun.com
git-svn-id: svn://10.0.0.236/trunk@90202 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 05:26:44 +00:00
naving%netscape.com
c008892b5c 71666 sr=bienvenu. Don't display the alert. The login dialog describes the
same error.

71670 sr=bienvenu. Ensure that the messages are not lost when the user hits
"Stop" while downloading messages.

68875 sr=bienvenu. Ensure that the old berkeley mailbox is deleted by closing
streams to local folders in mailnews code. This helps in compacting folder

66795 sr=bienvenu. The above fix also helps in stopping tmp files displayed
as local folders.


git-svn-id: svn://10.0.0.236/trunk@90201 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 05:25:32 +00:00
sspitzer%netscape.com
397aefd6bb #72826 fixed sort by sender. r=ducarroz, sr=sspitzer. (thanks to jgmyers for the patch).
#72819 added ascend / descend to the "View | Sort By" menu.  sr=bienvenu

#72248 properly update the checkboxes for the "View | Sort By" menu (when it is created).  sr=bienvenu

#21094, #72823 some work for "select thread" / "select flagged".  sr=bienvenu

change some printf("fix me") into assertions to catch problems.

remove some dead js.


git-svn-id: svn://10.0.0.236/trunk@90200 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 04:39:54 +00:00
sspitzer%netscape.com
7e4e8a96a7 fix for #73091. javascript exception when setting up a news account.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@90199 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 04:32:50 +00:00
sspitzer%netscape.com
949afe0bbf fix #70641. allow the user to set a signature file. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@90197 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 04:32:11 +00:00
mkaply%us.ibm.com
3dbfa9ef97 Mac breakage - forgot MANIFEST
git-svn-id: svn://10.0.0.236/trunk@90196 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 04:27:07 +00:00
mstoltz%netscape.com
6079a31c93 Bugs 55069, 70951 - JS-blocking APIs for mailnews and embedding. r=mscott, sr=attinasi.
Bug 54237 - fix for event-capture bug, r=heikki, sr=jband.


git-svn-id: svn://10.0.0.236/trunk@90195 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 04:22:56 +00:00
danm%netscape.com
61da537725 temporary fix for compiler error
git-svn-id: svn://10.0.0.236/trunk@90194 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:47:32 +00:00
darin%netscape.com
6ba0fd6047 Fixes bug 73042. Make new disk cache recover well from a corrupted disk
entry.  patch=beard; sr=darin


git-svn-id: svn://10.0.0.236/trunk@90192 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:44:55 +00:00
darin%netscape.com
1555f0a44b Fixes bug 38260. Use big endian in disk cache. r=beard,pavlov; sr=dougt
git-svn-id: svn://10.0.0.236/trunk@90191 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:35:10 +00:00
mkaply%us.ibm.com
dd00f3abfc #36665
r=saari, sr=hyatt
Enablement of a DOM event for displaying a context menu


git-svn-id: svn://10.0.0.236/trunk@90190 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:34:15 +00:00
darin%netscape.com
060025d292 Completes transistion from ULONG_MAX to PRUint32(-1) which was intended to
fix frizilla redness.  pinkerton checked in the necessary ones; this is
just for completeness.  r=gagan,sdagley,sfraser,pinkerton


git-svn-id: svn://10.0.0.236/trunk@90189 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:32:26 +00:00
mkaply%us.ibm.com
bb489cba9a #72745
r=doron, sr=alecf
Change hardcoded Mozilla to brandShortName


git-svn-id: svn://10.0.0.236/trunk@90188 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:26:54 +00:00
jband%netscape.com
dd396d5c21 not part of the build. Update xptcall status page
git-svn-id: svn://10.0.0.236/trunk@90187 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:24:59 +00:00
mkaply%us.ibm.com
c2d7008718 #36665
r=saari, sr=hyatt
Enablement of a DOM event for displaying a context menu


git-svn-id: svn://10.0.0.236/trunk@90186 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:22:56 +00:00
mkaply%us.ibm.com
6cbd1f8e22 #72555
r=mkaply, a=blizzard
Code from aaronr - use DosCopy if DosMove fails (OS/2 can't move across drives)


git-svn-id: svn://10.0.0.236/trunk@90185 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:21:22 +00:00
mkaply%us.ibm.com
33007e25ed #72656
r=mkaply, a=blizzard
Change initialization of widget resources to we can embed


git-svn-id: svn://10.0.0.236/trunk@90182 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:19:06 +00:00
danm%netscape.com
3ddc369197 match rev 1.3 of nsPIWindowWatcher.idl. r=ccarlen,hyatt (hyatt also r=ed my previous checkins)
git-svn-id: svn://10.0.0.236/trunk@90181 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:16:51 +00:00
blizzard%redhat.com
5aecae3b36 Fix bug #63162 . Make sure that nsSocketBOS::Write actually finishes the write with non-blocking sockets where there is a short write. This should fix problems with large corrupted mail attachments. r=darin,bryner sr=brendan
git-svn-id: svn://10.0.0.236/trunk@90180 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:14:56 +00:00
danm%netscape.com
ed589c965d changing |open| methods' parameters to 8-bit strings. adding window.openDialog-style 'extra arguments' parameter to OpenWindow(). preliminary for bug 71895 & others. code largely=jst, r=ccarlen,jst,me
git-svn-id: svn://10.0.0.236/trunk@90179 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:14:55 +00:00
mkaply%us.ibm.com
192d1723fb #36665
r=saari, sr=hyatt
Enablement of a DOM event for displaying a context menu


git-svn-id: svn://10.0.0.236/trunk@90178 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:14:46 +00:00
danm%netscape.com
2e2b09eef8 adding 'type' field to make it easier than a series of QIs to determine a generic nsISupports object's type. code=jst r=jband,me
git-svn-id: svn://10.0.0.236/trunk@90177 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:09:49 +00:00
darin%netscape.com
ae83f6f5a8 Fixes bug 73097. No new cache in win32 builds (as in not at all). r=gagan
(These changes should have gone in yesterday when we enabled the new cache,
but were somehow forgotten.)


git-svn-id: svn://10.0.0.236/trunk@90176 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 03:08:59 +00:00
morse%netscape.com
fda5461bfe bug 67379, bug 67389, bug 72855 Wallet Preview enhancements r=pnunn, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@90174 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:58:11 +00:00
andreww%netscape.com
db5e5fc3dd bugzilla 72223 r=timeless, sr=hewitt fixing clipped buttons in spell check window.
git-svn-id: svn://10.0.0.236/trunk@90173 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:57:15 +00:00
pinkerton%netscape.com
4c712e1bb0 make sure we have a valid content node before calling methods on it. bug 73108. r=pav,sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@90172 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:56:24 +00:00
pinkerton%netscape.com
d1fb9e2395 fix fizzilla bustage.
git-svn-id: svn://10.0.0.236/trunk@90171 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:52:13 +00:00
morse%netscape.com
365728a4e8 bug 72402, re-do fixes that got lost, coded by disttsc@bart.nl, r=morse@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90169 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:48:21 +00:00
pinkerton%netscape.com
f6ce562552 checking in new icons. old ones were fugly. r=endico/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@90168 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:46:21 +00:00
erik%netscape.com
af0dd4c71d checkin for prabhat.hegde@eng.sun.com:
bug 63478; r=bstell@netscape.com, sr=erik@netscape.com
recognize additional Thai fonts


git-svn-id: svn://10.0.0.236/trunk@90167 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:42:55 +00:00
jj%netscape.com
361cd35842 #71991: added archive size tags + valid download url for the xpi's - r=sgehani
git-svn-id: svn://10.0.0.236/trunk@90166 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:35:41 +00:00
mkaply%us.ibm.com
a8a0b77028 No bug
r=mkaply, a=blizzard
Fix trap caused by Pavlov changing our code wrong :)


git-svn-id: svn://10.0.0.236/trunk@90165 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:34:41 +00:00
mkaply%us.ibm.com
84cc69b80b No bug
r=mkaply, a=blizzard
From javier - fix chatzilla and file picker regressions


git-svn-id: svn://10.0.0.236/trunk@90164 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:33:18 +00:00
bryner%uiuc.edu
b50e465f11 Removing unused code, for bug 38061. r=beard, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@90163 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:27:51 +00:00
chak%netscape.com
6d178542df Bug#73037 - MfcEmbed needs a debug console window like winembed
r=adamlock


git-svn-id: svn://10.0.0.236/trunk@90162 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:27:13 +00:00
heikki%netscape.com
1ddf3b7ae8 Bug 72675, document.load() can cause crash if loading HTML document. r=harishd,sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@90161 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:27:10 +00:00
gagan%netscape.com
a1d8379b63 Fix for bug 72831. r/sr=gagan,blizzard,darin,shaver
git-svn-id: svn://10.0.0.236/trunk@90158 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 02:19:37 +00:00
blakeross%telocity.com
2168e5b0f4 More of the same -- Fix 73033, crash on opening addressbook.
git-svn-id: svn://10.0.0.236/trunk@90157 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 01:45:52 +00:00
hyatt%netscape.com
34498a8121 Fix arrow key bustage.
git-svn-id: svn://10.0.0.236/trunk@90156 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 01:16:08 +00:00
hyatt%netscape.com
1541469ca4 Fix cut/copy/paste, still trying to figure out arrow key bustage. r=akkana, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@90155 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 00:59:29 +00:00
sspitzer%netscape.com
b738836d9f fix for #73080. more blake fallout. subscribe is broken. sr=bienvenu
a=akk,lpham.


git-svn-id: svn://10.0.0.236/trunk@90154 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 00:46:01 +00:00
sonmi%netscape.com
9e8f909773 put Ian's fix to the HP coredump back, call cmsutil without parameters prior
to any cmsutil action


git-svn-id: svn://10.0.0.236/trunk@90153 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 00:39:57 +00:00
mkaply%us.ibm.com
e24fdc0181 Fix BeOS bustage
git-svn-id: svn://10.0.0.236/trunk@90150 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 23:52:25 +00:00
bnesse%netscape.com
64bd0100ee Potential final candidates for the basis of the nsPref re-write. [Not part of the build]
git-svn-id: svn://10.0.0.236/trunk@90148 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 23:34:41 +00:00
pavlov%netscape.com
ce0f4e3210 adding a way to get the imgIDecoderObserver back from the request
git-svn-id: svn://10.0.0.236/trunk@90146 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 23:16:52 +00:00
sfraser%netscape.com
f96da00aea Fix the fizilla build a better way by #including <limits.h> only where needed. r=pinkerton,brade, a=akkana.
git-svn-id: svn://10.0.0.236/trunk@90145 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 22:56:11 +00:00
blakeross%telocity.com
dee9306af0 Fixing broken menulists in mac classic. r=andreww
git-svn-id: svn://10.0.0.236/trunk@90144 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 22:54:56 +00:00
sspitzer%netscape.com
2200005c48 fix account manager regression. use new style contract id
instead of old style.  patch from shaver.  sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@90143 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 22:22:20 +00:00
blakeross%telocity.com
46bcacdc97 Missing prefs text (checked in after landing). sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@90142 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 22:16:49 +00:00
sdagley%netscape.com
08096611f3 Fix busted Mac Carbon builds due to usage of ULONG_MAX without specific inclusion of <limits.h> (non-Carbon builds apparently include it for you). r=Loki, Odin, Gracie, PolarBear, Jester, Poeka, Jack, Lumpy and bnesse
git-svn-id: svn://10.0.0.236/trunk@90141 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 22:01:45 +00:00
nboyd%atg.com
af16ca2171 Fix bug 72921.
git-svn-id: svn://10.0.0.236/trunk@90140 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 21:56:12 +00:00
blakeross%telocity.com
cdf75afeca Fixing 73076, missing mail text. sr=shaver
git-svn-id: svn://10.0.0.236/trunk@90139 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 21:47:04 +00:00
mcgreer%netscape.com
8a82afe95b fix a couple UI bugs introduced by the XUL changes
git-svn-id: svn://10.0.0.236/trunk@90138 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 21:46:00 +00:00
blakeross%telocity.com
b914b0a77f 73072, spellchecker fix. sr=sfraser, sspitzer
git-svn-id: svn://10.0.0.236/trunk@90137 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 21:37:41 +00:00
blakeross%telocity.com
8fa75c4597 Undoing accidental change.
git-svn-id: svn://10.0.0.236/trunk@90136 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 21:11:00 +00:00
sspitzer%netscape.com
8399e86edf fix for message display blocker. headers not showing up
(like from, cc, etc.)  fix by blake.  sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@90135 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 21:07:34 +00:00
morse%netscape.com
265ce13d18 smoketest blocker 73045, r=blakeross@telocity.com, sr=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90134 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 20:53:13 +00:00
blakeross%telocity.com
908d44462f Blocker bug 73043.
git-svn-id: svn://10.0.0.236/trunk@90132 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 20:45:12 +00:00
bryner%uiuc.edu
767b7f2c54 Fixing blocker bug 73038. patch by atontti@cc.hut.fi, r=blake, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@90131 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 20:21:16 +00:00
hyatt%netscape.com
f6a354b20d More on 73034. This will help us shake out the places that were missed (if any exist).
git-svn-id: svn://10.0.0.236/trunk@90130 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 20:17:33 +00:00
jband%netscape.com
ac85f4f7d0 [Not part of mozilla build]. Fix for bug pointed out by Celso Aguiar <caguiar@Adobe.COM>.
git-svn-id: svn://10.0.0.236/trunk@90129 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 20:11:26 +00:00
sspitzer%netscape.com
ff5e877670 fixing blocker bug #73028. more fallout from blake's checkin.
patch started by blake, rest of fix by bienvenu.  sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@90128 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 20:06:28 +00:00
sspitzer%netscape.com
9f4b022526 fix for blocker bug #73034. sr=brendan,shaver,r=sspitzer fix by blake.
a=loan pham


git-svn-id: svn://10.0.0.236/trunk@90127 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 19:36:46 +00:00
darin%netscape.com
4ad9e1d532 Fixes bug 73016. Should not cache POST transactions. r=valeski, sr=dougt, a=loan
git-svn-id: svn://10.0.0.236/trunk@90126 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 18:47:06 +00:00
despotdaemon%netscape.com
a15ff2b94b Pseudo-automatic update of changes made by knous@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@90125 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 17:11:13 +00:00
mcgreer%netscape.com
5b29600a43 one more place to remove nsICertificateManager
git-svn-id: svn://10.0.0.236/trunk@90124 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 17:10:50 +00:00
mcgreer%netscape.com
4441ca3b97 clean up cert manager code
* move trust to nsIX509CertDB
* remove unneccessary interface nsICertificateManager (everything should be handled by nsIX509CertDB)


git-svn-id: svn://10.0.0.236/trunk@90123 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 16:48:19 +00:00
karnaze%netscape.com
53705dbe6b bug 72554 - fix printing assertions, account for footer space when spliting row group and reflow footer. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90121 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 15:59:37 +00:00
roc+%cs.cmu.edu
0d4080bde9 Activating new view manager by default. This fixes a swath of bugs related to fixed positioning, transparent views, z-index handling, and more! Bug 39621. r=kmcclusk, sr=attinasi. To disable the new view manager, use 'user_pref(nglayout.debug.enable_scary_view_manager, false);' in your prefs.js file.
git-svn-id: svn://10.0.0.236/trunk@90120 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 15:54:50 +00:00
hwaara%chello.se
0ad256180d Fix possible memory leak. bug 62668. r=hwaara, sr=attinasi. (initial fix by gverdun@acm.org)
git-svn-id: svn://10.0.0.236/trunk@90119 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 15:10:02 +00:00
peter.vanderbeken%pandora.be
c8fe6486de Clean up datasource. Return partial result list to allow progressive display. Don't onAssert for the attributes, let the user ask for them. Not part of the default build. r=dmose.
git-svn-id: svn://10.0.0.236/trunk@90118 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 15:02:24 +00:00
locka%iol.ie
86257eaf73 Updated profile switching code. Fixed some chrome issues related to javascript open/close behaviour. Cleaned up the code somewhat. b=66533
git-svn-id: svn://10.0.0.236/trunk@90117 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 14:49:39 +00:00
bienvenu%netscape.com
424cb34f3c add boolean for purging offline msg bodies by msg age sr=sspitzer, 15865
git-svn-id: svn://10.0.0.236/trunk@90116 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 14:40:35 +00:00
bienvenu%netscape.com
a6af46240c add support for local folders under imap servers, also fix problem with offline sync playback r=naving,sr=sspitzer 15865
git-svn-id: svn://10.0.0.236/trunk@90115 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 14:38:00 +00:00
bienvenu%netscape.com
4429473f70 add support for local folders under imap servers r=naving,sr=sspitzer 15865
git-svn-id: svn://10.0.0.236/trunk@90114 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 14:36:51 +00:00
ccarlen%netscape.com
7f76561a81 Bug 71527 - On Unix, first profile after clean install is forgotten - migration will happen twice. r=racham@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90113 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 14:13:54 +00:00
disttsc%bart.nl
425ba45ea3 Delay some browser startup/init stuff and the actual page load till after the window shows. bug=38621, r=shaver, sr=hyatt,alecf
git-svn-id: svn://10.0.0.236/trunk@90112 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 13:05:53 +00:00
disttsc%bart.nl
f3f1acd1d6 Add |const| to nsGlobalHistory::GetFindUriPrefix's second parameter as per .h definition to fix OS/2 bustage. author=|lou|, r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@90111 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 10:52:57 +00:00
jst%netscape.com
d1a26b0f07 Attempt at fixing OS2 bustage.
git-svn-id: svn://10.0.0.236/trunk@90110 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 10:47:23 +00:00
pavlov%netscape.com
380a89b148 some code needed on unix with the new imagelib for animated images. not part of the build
git-svn-id: svn://10.0.0.236/trunk@90109 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 10:37:08 +00:00
disttsc%bart.nl
6dea72511d Attempt to fix BeOS bustage
git-svn-id: svn://10.0.0.236/trunk@90108 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 10:30:03 +00:00
pavlov%netscape.com
11beb4e2ee removing printfs. adding asserts... fixing warnings
git-svn-id: svn://10.0.0.236/trunk@90107 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 10:26:36 +00:00
disttsc%bart.nl
0ba5b6bfab Fix leak of nsAtom, r=gagan, sr=jst. Clean up some string stuff (more .get()). sr=jst
git-svn-id: svn://10.0.0.236/trunk@90106 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 10:23:24 +00:00
disttsc%bart.nl
d429819869 Fix leak of nsAtom, some string clean-up, r=gagan, sr=jst
git-svn-id: svn://10.0.0.236/trunk@90105 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 09:53:30 +00:00
pavlov%netscape.com
ea97de95fe make it build without the new cache
git-svn-id: svn://10.0.0.236/trunk@90104 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 09:31:00 +00:00
jst%netscape.com
44345760e7 Fixing bugs 64523, 50018, 57626, 59024, 61413 and probably others, making the document and form JS engine resolve hooks find what they're supposed to find, and nothing more, making the element-by-name and element-by-id lookup in the document be hashtable based to avoid walking the whole DOM tree over and over again when resolving names on the document object and also on form objects. This is an order of magnitude speedup for pages that contain a large number of form controls, such as hotmail and aol mail. Also did a bunch of cleanup here n' there. r=pollmann@netscape.com, sr=vidur@netscape.comI.
git-svn-id: svn://10.0.0.236/trunk@90103 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 08:51:52 +00:00
pavlov%netscape.com
6fbfb747bb conditionaly build the new imagelib on windows. bug 70938. r=bryner sr=cls
git-svn-id: svn://10.0.0.236/trunk@90102 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 08:47:54 +00:00
darin%netscape.com
7335f0ee3e Fixes bug 13393. HTTP should send Accept-Charset. patch=havill@redhat.com,
r=gagan, sr=darin


git-svn-id: svn://10.0.0.236/trunk@90101 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 08:39:41 +00:00
sspitzer%netscape.com
0ea684be67 remove unused interface.
git-svn-id: svn://10.0.0.236/trunk@90100 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 08:35:01 +00:00
darin%netscape.com
d0a01665d5 Remove stupid printfs. r=pavlov, sr=darin
git-svn-id: svn://10.0.0.236/trunk@90098 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 08:34:34 +00:00
bryner%uiuc.edu
4933fda6af Removing reference to obsolete header file (for bug 38061). Not part of build.
git-svn-id: svn://10.0.0.236/trunk@90097 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 08:03:13 +00:00
mcafee%netscape.com
840099f8a6 Adding 32048ObjDir support, some comments
git-svn-id: svn://10.0.0.236/trunk@90096 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 08:02:43 +00:00
blakeross%telocity.com
e5e8a29449 This file escaped my wrath somehow.
git-svn-id: svn://10.0.0.236/trunk@90095 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 07:24:56 +00:00
erik%netscape.com
63f9f241bb checkin for prabhat.hegde@eng.sun.com:
bug 63478; r=bstell@netscape.com, sr=erik@netscape.com
recognize additional Thai fonts


git-svn-id: svn://10.0.0.236/trunk@90094 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 07:19:35 +00:00
pavlov%netscape.com
125d7ad871 fixing case in a #include that isn't part of the default build.
git-svn-id: svn://10.0.0.236/trunk@90093 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 07:14:44 +00:00
mkaply%us.ibm.com
7f62f97132 OS/2 TB breakage
Need more CRT_CALL


git-svn-id: svn://10.0.0.236/trunk@90091 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 07:12:42 +00:00
jst%netscape.com
3badb7bf4a Fixing bug 72476. Check for a null document *both* times we access the document pointer, this causes a crash if window.location is set on a window that doesn't contain a document (which can be the case when the window is a frame in a frameset). r=pollmann@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90090 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 07:11:49 +00:00
pavlov%netscape.com
aad32bcf85 bug 37779. patch mostly from tor@cs.brown.edu. r=me, saari. r=blizzard for gtk gfx changes. r=rods for the nsImageFrame changes. sr=waterson. needed to land new imagelib.
git-svn-id: svn://10.0.0.236/trunk@90089 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 07:05:22 +00:00
bryner%uiuc.edu
104d08c70c Patch from sfraser to remove dependence on net.h (for bug 38061). r=bryner, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@90088 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 06:59:52 +00:00
mkaply%us.ibm.com
4d20351680 fix indentation
git-svn-id: svn://10.0.0.236/trunk@90087 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 05:27:32 +00:00
mkaply%us.ibm.com
a29632f207 Stupid mistake - used CRT_CALLBACK instead of CRT_CALL
git-svn-id: svn://10.0.0.236/trunk@90086 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 05:23:37 +00:00
blakeross%telocity.com
3ccab7f67c Whatever this is, it's *not* more fallout from my landing.
::whistle::


git-svn-id: svn://10.0.0.236/trunk@90085 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 04:47:32 +00:00
pavlov%netscape.com
1c7e268413 adding the gfx changes, that arn't part of bug 37779, needed for the new imagelib (ifdef'd) r=saari, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@90084 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 04:45:42 +00:00
darin%netscape.com
233fe61167 Fixes Win32 redness. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@90083 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 04:24:07 +00:00
mkaply%us.ibm.com
af092cd3fb #72075
r=cls
OS/2 TB breakage on new cache


git-svn-id: svn://10.0.0.236/trunk@90082 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 04:23:20 +00:00
mkaply%us.ibm.com
e224862c37 #72075
r=jag
OS/2 TB breakage on new cache


git-svn-id: svn://10.0.0.236/trunk@90078 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 04:20:20 +00:00
pinkerton%netscape.com
6ab481a582 missed some changes in the carbon files.
git-svn-id: svn://10.0.0.236/trunk@90077 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 04:09:54 +00:00
blakeross%telocity.com
f679be571d More fallout from landing. Won't affect current bustage.
git-svn-id: svn://10.0.0.236/trunk@90076 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 04:03:17 +00:00
sspitzer%netscape.com
22cf19af35 fix for #72932. we used to rely on the msg view navigation service to
flush the pending notifications on the document.  the msg view navigation
service is gone.  so I've added the functionality to the nsIAddrBookSession
(which is a service) so that everything works like it used to.

sr=mscott


git-svn-id: svn://10.0.0.236/trunk@90075 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 04:02:18 +00:00
pinkerton%netscape.com
44be2822e6 don't use nsIDOMNode, use nsIContent. r=saari/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@90074 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 03:59:49 +00:00
pinkerton%netscape.com
b74db57a0f look in associated command object while building for attribute changes and dispatching. rewrite to use nsIContent and atoms instead of nsIDOMNode and strings. r=saari/sr=sfraser. bug 71470
git-svn-id: svn://10.0.0.236/trunk@90073 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 03:53:57 +00:00
pinkerton%netscape.com
e29161f44d add nsWidgetAtoms.cpp r=saari/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@90072 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 03:51:40 +00:00
pinkerton%netscape.com
53d87a3819 new file.
git-svn-id: svn://10.0.0.236/trunk@90071 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 03:51:09 +00:00
pinkerton%netscape.com
f27d10805c move widgetatoms to dist.
git-svn-id: svn://10.0.0.236/trunk@90070 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 03:50:34 +00:00
pinkerton%netscape.com
f4ab03baf2 adding atom lists for widget, can't use the ones in content because of linkage. r=saari/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@90069 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 03:50:21 +00:00
darin%netscape.com
243f656b5e Fixes redness on speedracer. sr=dougt
git-svn-id: svn://10.0.0.236/trunk@90068 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 03:25:24 +00:00
darin%netscape.com
6f64cadfc6 Enables new cache on Win32. r=dougt,gagan a=mscott,rpotts,chofmann
git-svn-id: svn://10.0.0.236/trunk@90067 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 03:08:15 +00:00
brendan%mozilla.org
f6b51cdcaf - [jsemit.c] Fix horrid stupid bugs generating JSOP_ARGCNT and JSOP_ARGSUB,
where any occurrence of arguments.length or arguments[0], e.g., would be
  "optimized" to use those bytecodes.  This is just wrong if the occurrence
  is an operand of delete, ++, --, or the left-hand-side of an assignment
  operator!

- [jsfun.c, jsinterp.c]  args_getProperty etc. must use JS_GetInstancePrivate,
  not JS_GetPrivate, as the arguments object is exposed, and can be made a
  prototype of other objects that do not have private data, or private data
  that's a JSStackFrame*.  Same goes for fun_getProperty, js_GetArgument, etc.

- [jsfun.c, jsobj.c, jsstr.c]  No need to specialize fun_delProperty and
  str_delProperty to help convince users and ECMA conformance tests that
  fun.length and str.length are direct properties of instances, instead of
  being delegated to Function.prototype.length and String.prototype.length.
  This special case is done universally in js_DeleteProperty for all SHARED
  and PERMANENT proto-properties.

- [jshash.c]  Sneaking this followup-fix for bug 69271 in: use JS_HASH_BITS
  rather than hardcoded 32.

- [jsobj.c, jsscope.[ch]]  Fix misnamed js_HashValue (it takes a jsid, so it
  is now js_HashId).

- [jsscript.c] script_compile needs to call JS_InstanceOf, to ensure that obj
  is a Script object.


git-svn-id: svn://10.0.0.236/trunk@90066 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 02:52:42 +00:00
hyatt%netscape.com
f7ab053b7f Checking in #ifdefed image loading code for outliner.
git-svn-id: svn://10.0.0.236/trunk@90065 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 02:51:39 +00:00
jgaunt%netscape.com
df95c282e1 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@90064 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 02:46:36 +00:00
tao%netscape.com
4cff0d2e33 53638: URL in mailWindowOverlay.xul needs to be localized.
(r=chuang,sr=sspitzer)


git-svn-id: svn://10.0.0.236/trunk@90063 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 02:45:37 +00:00
blakeross%telocity.com
b5c1311cfe Fix problem from my checkin.
git-svn-id: svn://10.0.0.236/trunk@90062 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 02:43:21 +00:00
darin%netscape.com
2526d0229b Fixes speedracer bustage. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@90061 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 02:25:36 +00:00
tao%netscape.com
0fcd8761a1 71341: mailnews.view_default_charset pref item should not be stored,
(r=naoki,sr=erik)


git-svn-id: svn://10.0.0.236/trunk@90060 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 02:20:48 +00:00
tao%netscape.com
fe3687dbe3 71042: Linux installer build: "English UNIX" in "View|Set Language"
(r=ssu,sr=erik)


git-svn-id: svn://10.0.0.236/trunk@90059 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 02:17:47 +00:00
sspitzer%netscape.com
6f8f2860c3 the interface changed, but the js never did. this caused and error
which prevented us from closing the window.  sr=mscott


git-svn-id: svn://10.0.0.236/trunk@90058 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:55:30 +00:00
sspitzer%netscape.com
033b515a1d remove unused files. clean up Mark Message Read. add some bullet proofing
to handle the case where sorting fails.  sr=mscott


git-svn-id: svn://10.0.0.236/trunk@90057 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:42:59 +00:00
pavlov%netscape.com
553e9ade0d adding ifdef'd code to use the new imagelib. bug #70938. r=jst sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@90056 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:42:32 +00:00
pavlov%netscape.com
6635c7f8e0 adding ifdef'd code to use the new imagelib. bug #70938. r=rpotts sr=jst
git-svn-id: svn://10.0.0.236/trunk@90055 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:42:01 +00:00
pavlov%netscape.com
af920845ac adding ifdef'd code to use the new imagelib. bug #70938. r=waterson sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90054 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:38:35 +00:00
peterlubczynski%netscape.com
5f7a6826fe Fix for regression bug 72676 a=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@90053 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:37:36 +00:00
bryner%uiuc.edu
d8825fac69 Missed these XUL changes from earlier. r=blake.
git-svn-id: svn://10.0.0.236/trunk@90052 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:37:12 +00:00
sspitzer%netscape.com
4d427b24e2 fix for #72818. don't allow rename of the sent folder. r=naving
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@90051 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:36:27 +00:00
beard%netscape.com
735367598e enabling new cache to build by default. a=chofmann, r=darinf
git-svn-id: svn://10.0.0.236/trunk@90050 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:33:46 +00:00
sspitzer%netscape.com
bdf92484eb the message navigation service has gone away. we need a new way of doing
this.  for now, comment out the old code to prevent the js error.
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@90049 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:31:42 +00:00
javi%netscape.com
d5e95564d2 Fix for bug 72843 r=dougt sr=sfraser
Update Mac build scripts for PSM 2.0
Make necko export the default prefs for security on the Mac.


git-svn-id: svn://10.0.0.236/trunk@90048 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:28:52 +00:00
sspitzer%netscape.com
0f52d8b5c8 fix for #72817. r=naving, sr=mscott
don't allow the user to dnd and move a folder under "Local Folders"
that is not allowed to be moved (renamed)


git-svn-id: svn://10.0.0.236/trunk@90047 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:28:35 +00:00
shanjian%netscape.com
cb71ede265 #36863 CSS: small-caps/uppercase: ß should become SS
r = erik, sr = erik


git-svn-id: svn://10.0.0.236/trunk@90046 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:27:13 +00:00
sspitzer%netscape.com
93904c4130 fix js exception on startup. thanks to sarah and mscott for the
heads up.  sr=mscott


git-svn-id: svn://10.0.0.236/trunk@90045 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:26:58 +00:00
jgaunt%netscape.com
9c60c1807e fix for bug#62361 r=ccarlen@netscape.com sr=scc@mozilla.org
profile migration over remote connection


git-svn-id: svn://10.0.0.236/trunk@90043 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 01:13:07 +00:00
blakeross%telocity.com
f2d2a6e526 Fixing 70746: major xul syntax changes. If you use xul, this WILL affect you! Read n.p.m.xpfe for details on the changes and how you can fix your code. r=hewitt sr=hyatt, ben
git-svn-id: svn://10.0.0.236/trunk@90042 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 00:59:29 +00:00
leaf%mozilla.org
d89ec10590 Automated update
git-svn-id: svn://10.0.0.236/trunk@90041 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 00:30:10 +00:00
bryner%uiuc.edu
a70a265b49 Bugs 70745, 70747. Making the following XUL syntax changes:
<textfield/> -> <textbox/>
<title/> -> <label/>
value -> label for all widgets except textbox, progressmeter, and text.
progresstext -> label
data -> value

r=blake, hewitt.  sr=ben, hyatt.  checking in for maolson@earthlink.net and blakeross@telocity.com.


git-svn-id: svn://10.0.0.236/trunk@90040 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 00:21:54 +00:00
darin%netscape.com
451d9835a2 Enabling new cache build in Linux. r=beard; sr=mscott,rpotts; a=chofmann
git-svn-id: svn://10.0.0.236/trunk@90039 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 00:18:13 +00:00
maolson%earthlink.net
c9b6b9480a fix bug 70747 [XUL Syntax] Replace <textfield> with <textbox>
r=blake, a=ben


git-svn-id: svn://10.0.0.236/trunk@90038 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 00:15:47 +00:00
cls%seawood.org
37da82b4dd Do NOT use C++-style comments in a C file. It causes builds to fail on some compilers. Fixing cement tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@90037 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 00:08:48 +00:00
heikki%netscape.com
9595e206f3 Didn't notice tree was closed, backing out to wait for open.
git-svn-id: svn://10.0.0.236/trunk@90036 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 23:35:22 +00:00
heikki%netscape.com
5fb127d4e0 Bug 72675, document.load() can cause crash if loading HTML document. r=harishd,sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@90035 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 23:20:12 +00:00
pinkerton%netscape.com
0b1aae7b9b include limits.h to fix fizzilla build bustage. r=beard/sdagley.
git-svn-id: svn://10.0.0.236/trunk@90034 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 23:11:42 +00:00
shanjian%netscape.com
1939c29c1f #64235, 25037
mishandling of 'stand-alone' octet with MSB set in CJK(multibyte) encodings

r = ftang sr=erik,
p =  Jungshik Shin


git-svn-id: svn://10.0.0.236/trunk@90033 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 22:50:05 +00:00
shanjian%netscape.com
61b67fc084 #64235, 25037 illegal 0xA0 code point in Multibyte charset break parser
r=ftang, sr=erik
uscan.c
nsUnicodeDecodeHelper.cpp
nsGB2312ToUnicodeV2.cpp
nsGBKToUnicode.cpp
nsJapaneseToUnicode.cpp


git-svn-id: svn://10.0.0.236/trunk@90032 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 22:46:25 +00:00
blakeross%telocity.com
36a188b7cb Backing out to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@90031 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 22:37:59 +00:00
morse%netscape.com
693754c5a7 bug 72603, form manager captures bad values for sample2 page, r=jag, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@90030 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 22:18:54 +00:00
bryner%uiuc.edu
1fa4cee7c7 Need to add -I. as well. Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@90029 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 22:01:47 +00:00
mcgreer%netscape.com
79ed4efb3f add certificate verification and usages to cert display
git-svn-id: svn://10.0.0.236/trunk@90028 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 22:00:15 +00:00
bryner%uiuc.edu
88f074c4de Fixing build bustage. r=cls.
git-svn-id: svn://10.0.0.236/trunk@90027 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 21:58:23 +00:00
mjudge%netscape.com
0d731312ff removal of #ifdefs foor 68396 r=cmanske all depricated code just a clean up
git-svn-id: svn://10.0.0.236/trunk@90025 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 21:30:08 +00:00
sonmi%netscape.com
90f42b3947 searching for "error" "failed" and "fatal" in the output logs
git-svn-id: svn://10.0.0.236/trunk@90024 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 21:29:48 +00:00
hyatt%netscape.com
cd06dea613 Backing out preventDefault checkin, since it's already there.
git-svn-id: svn://10.0.0.236/trunk@90023 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 21:27:04 +00:00
shanjian%netscape.com
47775245a8 #59924 Win IME for Japanese: the candidate window is incorrectly positioned covering the current lineWin IME for Japanese: the candidate window is incorrectly positioned covering the current line
r = roy, sr=erik
using an alternative way to position candidate window.


git-svn-id: svn://10.0.0.236/trunk@90022 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 21:13:26 +00:00
blizzard%redhat.com
748e56f661 remove old files that are no longer in the build
git-svn-id: svn://10.0.0.236/trunk@90021 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 21:07:59 +00:00
karnaze%netscape.com
cef8c02118 new regression tests, cleanup, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@90020 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 20:49:08 +00:00
akkana%netscape.com
74b1b5f661 57078: Eliminate bogus xul bindings which were conflicting with XBL bindings.
Clean up XBL bindings and eliminate redundancies and errors.
       Fix a bug in which XBL bindings didn't check for event cancellation.
       r=brade sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@90018 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 20:32:59 +00:00
alecf%netscape.com
66e1113587 fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@90017 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 20:17:24 +00:00
hwaara%chello.se
79fe072db0 Fix the memleak regression caused by bug 72388. r=brade, sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@90016 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 19:45:12 +00:00
dougt%netscape.com
65840ed246 fix for 69143. This patch prevents non existant files from entering into
the file transport process loop for reading.


git-svn-id: svn://10.0.0.236/trunk@90015 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 19:44:23 +00:00
larryh%netscape.com
9ae95caa87 bugzilla: 72261. fix linking problems
git-svn-id: svn://10.0.0.236/trunk@90014 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 19:36:31 +00:00
alecf%netscape.com
7e11d0efe8 other part of fix for 46488 - fix mac build scripts to use NS_LITERAL_STRING so we have a unicode build date.
git-svn-id: svn://10.0.0.236/trunk@90013 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 19:35:32 +00:00
alecf%netscape.com
d153824829 fix for bug 46488 r=valeski, sr=waterson
make the content DLL an HTTP startup listener, so that loading the content DLL doesn't load HTTP


git-svn-id: svn://10.0.0.236/trunk@90012 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 19:35:29 +00:00
pchen%netscape.com
9bcecbbac0 mac buddy for alecf on bug 46488, r=valeski, sr=waterson, add nsContentHTTPStartup.cpp to project
git-svn-id: svn://10.0.0.236/trunk@90011 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 19:35:25 +00:00
alecf%netscape.com
da62903bf5 fix for bug 71871 - group history by day, not by age, by normalizing the AgeInDays property to the current local day's midnight.
... and bug 66906 - update history UI while surfing - this ensures that visited URIs get added to any open history windows/sidebars by asserting against all sorts of expected find URIs
sr=shaver


git-svn-id: svn://10.0.0.236/trunk@90010 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 19:26:10 +00:00
alecf%netscape.com
ff23e00a9a no bug - just reworking nsIURIContentListener to be more easily implemented in JS - does not affect any C++ interface signatures
sr=mscott


git-svn-id: svn://10.0.0.236/trunk@90009 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 19:21:34 +00:00
dougt%netscape.com
c7f1f7a5c1 Fixes many ftp problems. Details in 72280. r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90007 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 19:04:32 +00:00
axel%pike.org
bee1aaa68d not part of build;fixing 72436; bring Makefile uptodate, code by kvisco, r=me
git-svn-id: svn://10.0.0.236/trunk@90006 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 18:54:02 +00:00
karnaze%netscape.com
00f68ec3ab new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@90005 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 17:51:36 +00:00
cls%seawood.org
2ca9d11fab Fix for OS/2 emx build bustage.
Thanks to Dmitry Kubov <dmitry@north.cs.msu.su> for the patch.
Bug #72471 r=cls


git-svn-id: svn://10.0.0.236/trunk@90003 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 15:56:31 +00:00
oeschger%netscape.com
e42db5381d updating help chrome, not part of build
git-svn-id: svn://10.0.0.236/trunk@90002 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 15:09:24 +00:00
mkaply%us.ibm.com
036caa33f6 #41077
r=mkaply, a=blizzard
On OS/2, the caret is hidden during selection


git-svn-id: svn://10.0.0.236/trunk@90001 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 14:30:31 +00:00
locka%iol.ie
217e551f08 NOT PART OF BUILD. Updated project file for MSVC++ now invokes "nmake /f makefile.win"
git-svn-id: svn://10.0.0.236/trunk@90000 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 13:07:21 +00:00
sspitzer%netscape.com
044670a955 fix for #72265. update the unread / total counter in the bottom right of the 3 pane.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@89999 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 10:13:12 +00:00
glazman%netscape.com
4942f74de3 easy fix for 71647 ; that bug was hidden behind 72302, [s]r=attinasi
git-svn-id: svn://10.0.0.236/trunk@89998 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 09:40:41 +00:00
hyatt%netscape.com
3943fa653e Missed a file on 71470.
git-svn-id: svn://10.0.0.236/trunk@89997 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 09:01:34 +00:00
hyatt%netscape.com
db5e8ad4fb Fix for 71740. r=jag, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@89995 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 08:15:49 +00:00
hyatt%netscape.com
6931e0af77 Fix for 71740. r=jag, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@89994 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 08:15:12 +00:00
hyatt%netscape.com
0431ed8c18 Fix for 62985, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89993 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 08:10:20 +00:00
timeless%mac.com
88e9d9a734 ports bustage *sorry* HPUX doesn't want to make abstract temporary variables, so reverting
git-svn-id: svn://10.0.0.236/trunk@89992 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 07:10:15 +00:00
mscott%netscape.com
f988074c2b Bug #72696 incorrectly supressing message display when you click on the thread pane splitter
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@89991 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 06:31:23 +00:00
bernd.mielke%snafu.de
a65d68f47f limit the spread of desired content width in colspans with specified fixed width's
bug 42187, it fixes also the regression in bug 2684. r=karnaze sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89990 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 06:02:21 +00:00
javi%netscape.com
1b5116db6d Fix build bustage for Linux RH 7 + patches.
git-svn-id: svn://10.0.0.236/trunk@89988 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:35:58 +00:00
bryner%uiuc.edu
9b6f2a3037 Removing references to obsolete headers (bug 38061). r=timeless, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@89987 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:35:27 +00:00
timeless%mac.com
534247895d fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver


git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
karnaze%netscape.com
e70037c46a bug 23714 - forgot to make NeedsFrameFor static per waterson's sr.
git-svn-id: svn://10.0.0.236/trunk@89985 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:18:27 +00:00
karnaze%netscape.com
73c80c2c81 bug 23714 - don't resolve style for irrelevant whitespace. sr=waterson, r=rbs,hyatt
git-svn-id: svn://10.0.0.236/trunk@89984 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:10:40 +00:00
dmose%netscape.com
51ce4e6b59 Fix for mac bustage from Zach.
git-svn-id: svn://10.0.0.236/trunk@89983 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 04:30:48 +00:00
sspitzer%netscape.com
cbfcb76a2e fix for #71930. sr=bienvenu. catch the js exception caused by bogus
typedown text.


git-svn-id: svn://10.0.0.236/trunk@89982 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 04:22:54 +00:00
shaver%mozilla.org
5dbf4c4ed5 72495: libjar/"regexp" cleanup (r=dveditz,sr=brendan)
git-svn-id: svn://10.0.0.236/trunk@89981 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 04:08:12 +00:00
mcafee%netscape.com
aac581eebb Fixing strict JS warnings (20364). patch=david.gardner
git-svn-id: svn://10.0.0.236/trunk@89980 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 03:57:33 +00:00
javi%netscape.com
4c7707dfe6 Use the token name instead of the slot name when formatting the string
name.


git-svn-id: svn://10.0.0.236/trunk@89979 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 03:46:49 +00:00
sspitzer%netscape.com
0c4f495d85 other part of fix for #72642. defensive programming. sr=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@89978 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 03:39:53 +00:00
javi%netscape.com
8dee41e6f0 Make the "Examine Certificate" button on the SSL error dialgs work.
Fix nsPKCS12Blob to use the default password handler callback so
that SDR continues to work.

Give the certViewerDetails window the ability to load a cert based on
its certDBKey instead of nickname.


git-svn-id: svn://10.0.0.236/trunk@89977 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 03:37:49 +00:00
sspitzer%netscape.com
0411ce5a1b fix for #72642. crash when deleting the last message in a local folder from the stand alone message window.
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@89976 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 03:34:29 +00:00
jgmyers%netscape.com
e0d25b8bb9 Fix more callers of the MIME header decoder: bug 65277 r=nhotta r=ducarroz sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@89974 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 03:20:23 +00:00
sspitzer%netscape.com
7a29d3e08e part of the fix for #72716, problems with compact folder. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@89973 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 03:13:37 +00:00
sspitzer%netscape.com
f6267573f5 fix for #72586. check row height to avoid divide by zero crash. (happens if you scroll too early)
sr=hyatt.


git-svn-id: svn://10.0.0.236/trunk@89972 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 03:03:58 +00:00
pollmann%netscape.com
66a5319730 Bug 72288: Don't turn off scrollbars on all XML documents, r=heikki@netscape.com, sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@89971 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 03:00:18 +00:00
sspitzer%netscape.com
b531bff61e fix for #72750, sr=mscott. caused by me not paying attention to 32 character limit for filenames on the mac.
git-svn-id: svn://10.0.0.236/trunk@89968 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 02:49:37 +00:00
sspitzer%netscape.com
2629ce603f fix for #70494. newsgroups not showing up under news server.
sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@89967 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 02:43:39 +00:00
pavlov%netscape.com
e58777b904 fix the crash on shutdown in the new cache due to us holding on to cache descriptors too long. destroy our cache session when we get unregistered. more assertions
git-svn-id: svn://10.0.0.236/trunk@89966 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 02:37:47 +00:00
timeless%mac.com
b693f22073 fix Bugzilla Bug 63103 add "About Plug-ins" to the Help menu
by bzbarsky@mit.edu r=timeless, a=ben


git-svn-id: svn://10.0.0.236/trunk@89965 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 02:35:13 +00:00
timeless%mac.com
5a5a4f8f79 fix Bug 72626 [XUL] disable for radio doesn't fully disable the button
patch by bzbarsky@mit.edu r=doron sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@89964 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 02:23:20 +00:00
mkaply%us.ibm.com
1e85bf3bf4 #69313
r=mkaply, a=blizzard
Following suit - removing italicslope from OS/2


git-svn-id: svn://10.0.0.236/trunk@89963 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 02:12:49 +00:00
maolson%earthlink.net
e83888a8bb bug 56680 - use a xul <stringbundle/> instead of including the strres.js code
first pass through prefs, more to come later.
r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@89962 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 02:08:19 +00:00
endico%mozilla.org
ee33353875 add module for NSS
git-svn-id: svn://10.0.0.236/trunk@89961 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 02:03:59 +00:00
rbs%maths.uq.edu.au
63713eb3b9 remove unused code. b=69313 r=bstell sr=erik
git-svn-id: svn://10.0.0.236/trunk@89960 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:53:52 +00:00
peterlubczynski%netscape.com
be7931b525 Null plugin registered twice. bug 67933 a=av r=attinasi
git-svn-id: svn://10.0.0.236/trunk@89959 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:47:37 +00:00
dmose%netscape.com
b3d40180c2 Turn on basic LDAP infrastructure in the default mac build. No user-visible changes yet. Code being turned on: moa=dmose@netscape.com, sr=shaver@mozilla.org. Mac system build changes: r=peterv@netscape.com, sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89958 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:45:24 +00:00
rbs%maths.uq.edu.au
3ad05b88e6 remove unused code. b=69313 r=bstell sr=erik
git-svn-id: svn://10.0.0.236/trunk@89957 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:41:56 +00:00
mkaply%us.ibm.com
35227e709b #72563
r=javier, a=jband
Change some PR_CALLBACK to JS_DLL_CALLBACK and vice versa and remove IBM cruft


git-svn-id: svn://10.0.0.236/trunk@89956 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:35:39 +00:00
brendan%mozilla.org
2cc30d28ec Add JS_MapGCRoots for complete enumeration of GC roots (72465, r/sr={shaver,jband}).
git-svn-id: svn://10.0.0.236/trunk@89955 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:33:39 +00:00
pinkerton%netscape.com
6349cc13d8 fix a const warning.
git-svn-id: svn://10.0.0.236/trunk@89954 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:32:22 +00:00
javi%netscape.com
91998e8935 Fix Linux build bustage.
git-svn-id: svn://10.0.0.236/trunk@89953 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:27:04 +00:00
stephend%netscape.com
99d334219c Inconsistency between News Server and News Server (NNTP) in bug 70128. r=jglick@netscape.com sr=sspizter@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89952 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:23:17 +00:00
pinkerton%netscape.com
75a29487aa turn off translucent dragging and make outline building code a little better. make drag/drop work on OSX. r=saari/sr=sfraser. bug#67407
git-svn-id: svn://10.0.0.236/trunk@89951 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:17:44 +00:00
yokoyama%netscape.com
a4193c9a18 Bug fix 72308: Removing duplicate files
git-svn-id: svn://10.0.0.236/trunk@89950 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:17:43 +00:00
erik%netscape.com
d294fedda9 bug 71314; author=simon@softel.co.il; r=mjudge,anthonyd; sr=erik; changes
from IBM bidi project (Arabic, Hebrew, etc); some in ifdef for now


git-svn-id: svn://10.0.0.236/trunk@89949 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:16:22 +00:00
ccarlen%netscape.com
c301ab4a03 Bug 72129 - OpenANSIFIleDesc on Mac won't create new files.
r=beard@netscape.com, sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@89948 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:13:20 +00:00
dbragg%netscape.com
261b7b3310 NOT PART OF BUILD. Removing a bunch of extraneous linefeeds that break IRIX.
git-svn-id: svn://10.0.0.236/trunk@89947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:11:26 +00:00
yokoyama%netscape.com
42e3d60337 bug fix 72660; sr=erik
git-svn-id: svn://10.0.0.236/trunk@89945 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:03:30 +00:00
javi%netscape.com
a810338812 Make p12 build on the Mac. Make p12 initialize the key db if it hasn't been initialized.
git-svn-id: svn://10.0.0.236/trunk@89944 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 00:57:46 +00:00
darin%netscape.com
c28bedd082 Fixes bug 71962. HTTP POST data corruption. r=blizzard, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@89943 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 00:53:16 +00:00
alecf%netscape.com
843ff084eb NOT PART OF BUILD
first checkin of timing service so we can get rough timing of specific events


git-svn-id: svn://10.0.0.236/trunk@89942 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 23:39:25 +00:00
darin%netscape.com
c946992117 Removing some printf's.
git-svn-id: svn://10.0.0.236/trunk@89941 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 23:37:22 +00:00
pavlov%netscape.com
9dcccce063 fixing jpegs on windows, adding some more assertions.
git-svn-id: svn://10.0.0.236/trunk@89939 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 23:06:29 +00:00
gordon%netscape.com
7b8581452d Landing MOZ_NEW_CACHE_20010314_BRANCH, incorporating feedback from recent test builds. New cache is still disabled by default.
git-svn-id: svn://10.0.0.236/trunk@89933 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 22:42:03 +00:00
bryner%uiuc.edu
052a3d2251 Fixing bustage from string changes. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@89932 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 22:41:35 +00:00
saari%netscape.com
fce6df0b42 updating mac build
git-svn-id: svn://10.0.0.236/trunk@89931 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 21:44:22 +00:00
saari%netscape.com
132e432388 Updates for imglib2 mac build
git-svn-id: svn://10.0.0.236/trunk@89929 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 21:43:23 +00:00
saari%netscape.com
3aff239081 update for mac build
git-svn-id: svn://10.0.0.236/trunk@89928 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 21:42:19 +00:00
saari%netscape.com
679af13853 Updates for libimg2 mac
git-svn-id: svn://10.0.0.236/trunk@89927 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 21:41:54 +00:00
saari%netscape.com
cd4c9e8e01 changing timer default to 100
git-svn-id: svn://10.0.0.236/trunk@89926 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 21:41:39 +00:00
hyatt%netscape.com
58c927c811 Fix for 72614.
git-svn-id: svn://10.0.0.236/trunk@89925 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 20:27:38 +00:00
mcgreer%netscape.com
d54eee2922 make the cert name show up in the edit window
git-svn-id: svn://10.0.0.236/trunk@89924 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 18:32:04 +00:00
mcgreer%netscape.com
7ed512e6fd stuff for cert manager
* PKCS#12 backup and restore
* editing cert trust
* more detail for view cert (UI to change later)
* temporary token login


git-svn-id: svn://10.0.0.236/trunk@89923 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 18:00:44 +00:00
blizzard%redhat.com
679ab7988f Fix bug #66457. Cursor is still a stopwatch after the page finished loading until the mouse moves. sr=alecf, r=bryner
git-svn-id: svn://10.0.0.236/trunk@89922 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 15:57:00 +00:00
karnaze%netscape.com
e430d1ff85 bug 67864 - don't create anonymous ancestors of table inside caption. sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@89921 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 15:53:29 +00:00
brade%netscape.com
813ef26aaf remove unused file at the request of shaver
git-svn-id: svn://10.0.0.236/trunk@89920 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 15:51:52 +00:00
karnaze%netscape.com
698c240060 bug 68912 - allow nsHTMLTableRowElement::SetCells() to pass a null value. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89919 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 15:40:18 +00:00
brade%netscape.com
04f2a5fef2 ensure we actually have a file (bug #71856); sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@89918 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 15:34:29 +00:00
brade%netscape.com
2c4f175c83 handle cancellation of filepicker; bug #71856, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@89917 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 15:29:53 +00:00
brade%netscape.com
debba03ea8 change PutOnClipboard to pass in a PRInt32 rather than a short; bug #72537; sr=sfraser, r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@89916 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 15:27:29 +00:00
shaver%mozilla.org
5a9cca3c72 remove unused, atotic-era mac stuff, r=brade
git-svn-id: svn://10.0.0.236/trunk@89915 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 15:23:01 +00:00
chak%netscape.com
4ac922eba6 Fix the previous checkin for Bug# 71994 - Add SetVisibility() to MfcEmbed
r=mao via IRC yesterday


git-svn-id: svn://10.0.0.236/trunk@89914 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 15:07:53 +00:00
shaver%mozilla.org
366fb7f66c 39268: fix FreeBSD object layout <lennox@cs.columbia.edu>
git-svn-id: svn://10.0.0.236/trunk@89912 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 15:01:06 +00:00
shaver%mozilla.org
c3e99c89f2 71654: BSD/OS xptcall support from <lidl@pix.net> and <torek@bsdi.com>
git-svn-id: svn://10.0.0.236/trunk@89909 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 14:50:49 +00:00
dcone%netscape.com
4c83a31628 Open and embed correctly a printpreview presentation. r=kmcclusk. Viewer only.
git-svn-id: svn://10.0.0.236/trunk@89907 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 14:40:59 +00:00
shaver%mozilla.org
446f1ad3f6 39373 and 71237: make prefs use JS_*Request to defend against off-thread calls
and ensure that we don't destroy a context after the runtime has gone away.
(r=alecf, sr=brendan, assist=dbaron)


git-svn-id: svn://10.0.0.236/trunk@89906 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 14:34:56 +00:00
hwaara%chello.se
3701608574 Fix "FMM in nsMsgNewsFolder::UpdateSummaryFromNNTPInfo". bug 66787. r=timeless, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@89905 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 13:43:33 +00:00
hwaara%chello.se
6e2b2cf1af Fix "FMM: Freeing mismatched memory in PresShell::DumpReflows". bug 71956. r=rods, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@89904 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 13:34:17 +00:00
hwaara%chello.se
2a8b96a54e Fix compiler warning and small optimization in NewsDeliveryCallback(). bug 72388. r=ducarroz, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@89903 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 13:14:57 +00:00
glazman%netscape.com
9b195bce94 Tables without border attribute were invisible in editor. Highly depends on 71647. b=57686, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@89902 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 12:25:15 +00:00
glazman%netscape.com
710439fbb7 adds support for :not() css3 pseudo-class; b=71647, r=pierre, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@89901 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 11:49:20 +00:00
rods%netscape.com
4390601f54 fixed move mouse over selected item in dropdown, it will no longer hilite disabled items
Bug 72226 r=waterson sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89900 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 11:48:27 +00:00
rods%netscape.com
ed6ac30d24 Change box sizing atom back to correct non-xul name
Bug 72226 r=waterson sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89899 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 11:42:56 +00:00
disttsc%bart.nl
714ce714ad Add accel+0 to reset text zoom to 100%. bug=69565, r=Hixie, a=ben
git-svn-id: svn://10.0.0.236/trunk@89897 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 08:47:55 +00:00
sspitzer%netscape.com
47181f8b0d fix for #60776. don't land in the trash folder on "next message"
navigation.  thanks to putterman for the patch.  also some cleanup
of some dump() statements.  sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@89896 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 08:30:11 +00:00
maolson%earthlink.net
1597d536e0 fix Bug 71845 - Schedule/Notify tabs in bookmark properties don't show if url starts with HTTP (upper case)
r=jag, a=ben


git-svn-id: svn://10.0.0.236/trunk@89895 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 08:14:16 +00:00
maolson%earthlink.net
a3a98e3b6a fix Bug 57646 - javascript strict warnings in bookmarks.js
r=timeless, a=ben


git-svn-id: svn://10.0.0.236/trunk@89894 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 08:12:07 +00:00
sspitzer%netscape.com
df7b9b15cd removing test harness.
git-svn-id: svn://10.0.0.236/trunk@89893 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 08:05:37 +00:00
maolson%earthlink.net
fb4d785315 fix Bug 67790 - javascript strict warnings in bookmarksOverlay.js
r=jag, a=ben


git-svn-id: svn://10.0.0.236/trunk@89892 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 08:03:15 +00:00
bryner%uiuc.edu
ff3ac22c90 Removing dependence on obsolete headers. Bug 38061 (ongoing work). r=shaver, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@89891 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 08:01:28 +00:00
disttsc%bart.nl
39a73d87b8 Attempt at fixing OS2 bustage
git-svn-id: svn://10.0.0.236/trunk@89890 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 07:47:40 +00:00
bryner%uiuc.edu
908a8b6f67 Syncing to jag's string changes to fix build bustage. r=jag.
git-svn-id: svn://10.0.0.236/trunk@89889 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 07:46:37 +00:00
disttsc%bart.nl
89d323d4f2 Fix bustage on "tinderbox-test-1", r=bryner
git-svn-id: svn://10.0.0.236/trunk@89888 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 07:01:52 +00:00
sspitzer%netscape.com
552962e197 remove some dead js and some dump statements.
fix #72592, if sorted by "order received" fix the insertion sort problem.
fix #72589, get "sort by status" working.
fix #72608, fix IsSpecialFolder() to do bitwise operations, instead of string compares
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@89887 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 06:41:20 +00:00
disttsc%bart.nl
0d91ad7eb5 Fix windows bustage. r=smfr
git-svn-id: svn://10.0.0.236/trunk@89886 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 06:39:41 +00:00
disttsc%bart.nl
95f318724d Fix Mac build bustage
git-svn-id: svn://10.0.0.236/trunk@89885 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 06:29:08 +00:00
disttsc%bart.nl
6872d458f1 Fix Nebiros bustage by not including time.h, r=cls
git-svn-id: svn://10.0.0.236/trunk@89884 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 06:19:56 +00:00
bryner%uiuc.edu
626995a7f3 Patch from jag to sync with new string changes. r=me.
git-svn-id: svn://10.0.0.236/trunk@89883 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 06:09:00 +00:00
jgmyers%netscape.com
d62d33ef96 Remove unused MD5 code: bug 71764 sr=mscott r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@89882 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 05:56:09 +00:00
leaf%mozilla.org
be11a9dc3e Automated update
git-svn-id: svn://10.0.0.236/trunk@89881 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 05:45:08 +00:00
cls%seawood.org
4f0ac3c331 Land the rest of the --enable-static-components build changes.
Bug #46775 r=bryner


git-svn-id: svn://10.0.0.236/trunk@89880 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 05:42:58 +00:00
disttsc%bart.nl
a863c06732 Move nsCString from |operator char*()| to |get()| and |NS_CONST_CAST| where needed. bug=53057, r=dmose, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@89879 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 05:37:56 +00:00
cls%seawood.org
524b68662b Create uniquely named debug variables for each libimg component.
Bug #50782 r=pavlov sr=tor


git-svn-id: svn://10.0.0.236/trunk@89878 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 05:30:59 +00:00
sspitzer%netscape.com
ad038ebe91 ignore generated makefiles
git-svn-id: svn://10.0.0.236/trunk@89877 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 05:30:53 +00:00
idk%eng.sun.com
5498684af1 *not part of regular build*
Follow up on 67699
Fixed build problem


git-svn-id: svn://10.0.0.236/trunk@89876 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 05:30:16 +00:00
mcafee%netscape.com
ace5e85a9b Adding rods reflow debugging tools to pref/debug panel (72582). r=pchen, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@89875 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 05:29:02 +00:00
pavlov%netscape.com
0cc649a164 removing the check for mHasImage before calling mImageLoader.Init()... this wasn't in the old code and slipped in. should fix orange trees. r=brendan
git-svn-id: svn://10.0.0.236/trunk@89874 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 04:43:35 +00:00
nelsonb%netscape.com
31d9f60da5 Add function SECU_PrintBuf() which prints a buffer in hex and ASCII.
git-svn-id: svn://10.0.0.236/trunk@89872 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 04:23:38 +00:00
mkaply%us.ibm.com
5174b578ac OS/2 TB breakage
git-svn-id: svn://10.0.0.236/trunk@89866 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 02:44:36 +00:00
pavlov%netscape.com
4a6b4ad40f fix the image cache problem with nsImageDocuments and add some more assertions
git-svn-id: svn://10.0.0.236/trunk@89864 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 02:23:42 +00:00
pinkerton%netscape.com
904c643c76 removing nsAnonymousElement.cpp to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@89863 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 02:00:09 +00:00
sspitzer%netscape.com
5f0f7ef39f fix for #16916. make it so space pages down in the current message
and if at the end of a message, acts like you hit "next message".
thanks to jst@netscape.com for the patch.  sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@89861 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 00:51:23 +00:00
sspitzer%netscape.com
1148cf2fb4 fix cross folder message navigation. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@89860 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 00:49:03 +00:00
ducarroz%netscape.com
8bdc95a4b7 Fix Mac bustage in mime.
git-svn-id: svn://10.0.0.236/trunk@89859 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 00:47:41 +00:00
hyatt%netscape.com
fa1da99885 Missed another file.
git-svn-id: svn://10.0.0.236/trunk@89858 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 00:46:41 +00:00
hyatt%netscape.com
af7b24bdc0 OOps. Missed a file.
git-svn-id: svn://10.0.0.236/trunk@89857 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 00:45:51 +00:00
nelsonb%netscape.com
ad03c5b0d0 Fix bug in SSL_ResetHandshake introduced in last checkin.
git-svn-id: svn://10.0.0.236/trunk@89856 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 00:39:02 +00:00
heikki%netscape.com
39b54ea982 Removed unused variable. NS_PAGE_LOAD is nsEvent, not nsMouseEvent. r=harishd.
git-svn-id: svn://10.0.0.236/trunk@89855 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 00:19:48 +00:00
sspitzer%netscape.com
f0a22f674c fix #72567. whoops, I broke message dnd. sr=bienvenu.
(you might have to remove your component.reg file, too see the bug)


git-svn-id: svn://10.0.0.236/trunk@89853 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 00:08:57 +00:00
heikki%netscape.com
fd1ba312a3 Not part of build. Added tests for document.load() (a DOM extension used to load XML documents asynchronloysly as data).
git-svn-id: svn://10.0.0.236/trunk@89852 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 00:05:05 +00:00
blizzard%redhat.com
1dbe26fbf9 Attempt to fix irix bustage. Shouldn't hurt other platforms.
git-svn-id: svn://10.0.0.236/trunk@89851 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 00:00:48 +00:00
hyatt%netscape.com
3d94693968 Fix for 72345. r=jag, sr=shaver,scc
git-svn-id: svn://10.0.0.236/trunk@89850 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:56:28 +00:00
pavlov%netscape.com
5b76dd6c1b xul image frame changes for new imagelib. part of bug 70938. r=danm sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@89849 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:44:55 +00:00
tao%netscape.com
121d5c1127 Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@89847 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:40:58 +00:00
disttsc%bart.nl
bf3ffb8d4c Fix MOZ_TRACK_MODULE_DEPS builds (e.g. senna) bustage, adding "windowwatcher" to REQUIRES line in embedding/browser/gtk/src/Makefile.in
git-svn-id: svn://10.0.0.236/trunk@89846 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:36:16 +00:00
kestes%tradinglinx.com
caf3dbef6f always show the last few lines of the build.
git-svn-id: svn://10.0.0.236/trunk@89845 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:35:13 +00:00
disttsc%bart.nl
de5f2784f3 Fix MOZ_TRACK_MODULE_DEPS builds (e.g. senna) bustage, adding "string" to REQUIRES line in embedding/components/appstartup/src/Makefile.in
git-svn-id: svn://10.0.0.236/trunk@89844 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:35:10 +00:00
kestes%tradinglinx.com
7c528aaa25 add system3() so that we can send reports while the
build is running.


git-svn-id: svn://10.0.0.236/trunk@89843 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:33:43 +00:00
kestes%tradinglinx.com
61035f9594 fix typo in header generation.
take out the <p> in the info, it makes the windows too big.
also increase the window sizing algorithm for the headers
   to be compatible with what I do for the build.


git-svn-id: svn://10.0.0.236/trunk@89842 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:32:43 +00:00
disttsc%bart.nl
923953f2bf Fix MOZ_TRACK_MODULE_DEPS builds (e.g. senna) bustage, add "embedcomponents" to REQUIRES line in embedding/base/Makefile.in, r=cls
git-svn-id: svn://10.0.0.236/trunk@89841 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:30:29 +00:00
sspitzer%netscape.com
dcaa9dd698 fix for #72553. remember if we hid the flag / read columns.
sr=bienvenu.  also persist the width of some columns we weren't
persisting, due to a spelling mistake.  (thanks to neil@parkwaycc.co.uk for
that part of the fix)


git-svn-id: svn://10.0.0.236/trunk@89840 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:27:58 +00:00
pavlov%netscape.com
3ae4e7b67d unix build changes to conditionally build new directories if configure flags are specified. part of bug 70938. r=dbaron@fas.harvard.edu sr=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@89839 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:26:47 +00:00
peterlubczynski%netscape.com
1816ee238e Fix for getting Object Frame (and plugins) getting focus on Mac. Fixes Shockwave typing input bug 68756 a=av sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@89838 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:26:41 +00:00
pavlov%netscape.com
a392f992e6 add -DMOZ_NEW_CACHE and -DUSE_IMG2 to CFLAGS on windows if MOZ_NEW_CACHE is set and/or USE_IMG2 part of bug 70938. r=bryner sr=cls
git-svn-id: svn://10.0.0.236/trunk@89837 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:21:52 +00:00
erik%netscape.com
44e2c24154 bug 71339; author=simon@softel.co.il; r=rods; sr=erik; changes from IBM
bidi project (Hebrew, Arabic, etc); in ifdef IBMBIDI for now


git-svn-id: svn://10.0.0.236/trunk@89836 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:20:21 +00:00
tao%netscape.com
bc59c7f07e 71517: Dynamically select platform jar in langxxxx.xpi. r=ssu, sr=dveditz.
package all en-*.jar into langenus.xpi and select on one the fly.


git-svn-id: svn://10.0.0.236/trunk@89835 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:10:12 +00:00
javi%netscape.com
a0433e7576 Make a better contract ID for the pk11 token db.
git-svn-id: svn://10.0.0.236/trunk@89834 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:09:28 +00:00
jgmyers%netscape.com
978e353a60 Add assertion for thread saftey of MIME_ConvertCharset(): bug 70499 r=ducarroz sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@89833 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:09:22 +00:00
peterlubczynski%netscape.com
06461ca556 Fix for null docShell in nsEventStateManager::UpdateCursor. Fixing AIM Express top crash. bug 69589 r=saari sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89831 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:01:59 +00:00
pavlov%netscape.com
89f6e6b48d (not part of the build) changing nsHTMLAtoms::image to nsXULAtoms::image r=hyatt
git-svn-id: svn://10.0.0.236/trunk@89830 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:59:20 +00:00
jgmyers%netscape.com
f8c046d2a3 Make SMTP prefer PLAIN over LOGIN: bug 72218 sr=mscott r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@89829 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:57:37 +00:00
blizzard%redhat.com
223be9605e Bug #72224. Turn on the new embedding widget. sr=shaver r=danm
git-svn-id: svn://10.0.0.236/trunk@89827 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:25:29 +00:00
waterson%netscape.com
42e5d3524d Bug 71594. Reparent views from 'trailing' frame, but only make trailing frame if it'd have children. r=karnaze, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89826 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:24:20 +00:00
waterson%netscape.com
5f1b8eaa71 Bug 71421. Always check for null script object from CompileScript(). r=mstoltz, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@89825 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:22:24 +00:00
sspitzer%netscape.com
e7073d7eaf fix for #72292. don't use [value="..."] rules in css. sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@89824 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:18:47 +00:00
blizzard%redhat.com
6c254a95d9 Fix bug #72069. Move event processing until after the X event has been processed to prevent race conditions. Lots of Gtk warnings and crashes should be fixed with this. sr/r=shaver/brendan ( tag team )
git-svn-id: svn://10.0.0.236/trunk@89823 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:17:47 +00:00
sspitzer%netscape.com
9f39019f2b fix #58454. this extra logging call made it look we were doing
two XOVERs.  sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@89822 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:16:55 +00:00
waterson%netscape.com
57d62b2a78 Bug 71594. Reparent views from 'trailing' frame, but only make trailing frame if it'd have children. r=karnaze, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89821 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:16:47 +00:00
peterlubczynski%netscape.com
7f3a4852aa Fix wording in Windows Default Plugin bug 56653 a=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89819 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:16:32 +00:00
sspitzer%netscape.com
6320a7dec7 fix for #72371. sr=bienvenu. get "unsubscribe" working from the edit menu and the folder pane context menu.
git-svn-id: svn://10.0.0.236/trunk@89818 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:15:38 +00:00
sspitzer%netscape.com
45720cad07 fix for #68036. (quiet compiler warnings) sr=brendan/waterson a long time ago.
git-svn-id: svn://10.0.0.236/trunk@89817 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:14:07 +00:00
blakeross%telocity.com
84d0860013 Crash when reading past the end of a CSSRuleList. patch by Hixie (ian@hixie.ch). r=blake, glazman sr=jst
git-svn-id: svn://10.0.0.236/trunk@89816 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:12:12 +00:00
sspitzer%netscape.com
f98d1960e3 more files removed due to the mailnews perf landing.
git-svn-id: svn://10.0.0.236/trunk@89815 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:11:49 +00:00
peterlubczynski%netscape.com
a86451a0a3 Fix refcount issue with nsPluginInstanceOwner caused during key event listener registration bug 72236 a=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89814 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 22:10:23 +00:00
pavlov%netscape.com
c226a0997a send the onstopframe message
git-svn-id: svn://10.0.0.236/trunk@89813 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:58:07 +00:00
chak%netscape.com
1cb86d4edf Remaining Fixes for #68720 - EmbedAPI should use generic startup observers
r=ccarlen,sr=alecf

Fix for #71994
MfcEMbed must implement Get/SetVisibility of nsIEmbeddingSiteWindow
r=chak


git-svn-id: svn://10.0.0.236/trunk@89812 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:57:57 +00:00
pavlov%netscape.com
3cb8c719f6 new caching stuff
git-svn-id: svn://10.0.0.236/trunk@89811 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:57:39 +00:00
disttsc%bart.nl
036337b6d3 Stop "about:blank" from being loaded twice at startup and get rid of a reload at startup accidentily added a while back. bug=72342, r=hwaara, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@89810 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:52:33 +00:00
roc+%cs.cmu.edu
868dfa2604 Fix for 72055 by ian@hixie.ch. If a widget doesn't have a view, then don't try to exclude it from the opaque covering region. r=kmcclusk, sr=roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@89809 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:51:58 +00:00
disttsc%bart.nl
58344f8f95 "Add gopher:// urls to winhooks integration", bug=70264, author=Stephen Walker <walk84@usa.net>, r=timeless, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@89808 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:48:31 +00:00
axel%pike.org
9cdd58f67a not part of build; fixing 72532; r=peterv
git-svn-id: svn://10.0.0.236/trunk@89807 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:48:19 +00:00
mkaply%us.ibm.com
461056825b No bug
r=javier, sr=jst
Change some PR_CALLBACK to JS_DLL_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@89806 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:46:25 +00:00
shaver%mozilla.org
4735fecffe 67797: add Components.isSuccessCode (r=jag, sr=jband)
git-svn-id: svn://10.0.0.236/trunk@89805 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:34:05 +00:00
pinkerton%netscape.com
eaca667606 fix up case differences, since sometimes OSX seems to care.
git-svn-id: svn://10.0.0.236/trunk@89803 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:31:14 +00:00
pinkerton%netscape.com
9e69373881 fix up case differences since sometimes osX seems to care.
git-svn-id: svn://10.0.0.236/trunk@89802 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:30:51 +00:00
pinkerton%netscape.com
e2fd482731 turn on rod's reflow counts in debug and clean up a lot of unused cruft. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@89801 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:27:14 +00:00
dave%intrec.com
8d25b5b1ac Adding a comment to the top to hopefully prevent some of the confusion that new Bugzilla maintainers are often running into with hacking Bugzilla installs.
git-svn-id: svn://10.0.0.236/trunk@89799 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:17:48 +00:00
dave%intrec.com
b7827442ce Re-re-fix for bug 71550. This will quite likely fix a number of bugs in other places. The DBID<->Name conversion routines in globals.pl were not pushing/popping the SQL state around their SQL calls, which could result in lost data if called from inside a loop which is handling other SQL data.
git-svn-id: svn://10.0.0.236/trunk@89798 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 21:03:52 +00:00
blizzard%redhat.com
f9544d281c Fix the rest of #72313 for sloppy focus users. Really. I swear. r=shaver,waterson a=leaf
git-svn-id: svn://10.0.0.236/trunk@89796 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 20:50:44 +00:00
mkaply%us.ibm.com
64cc00f678 OS/2 breakage - same as Win
git-svn-id: svn://10.0.0.236/trunk@89793 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 20:07:06 +00:00
timeless%mac.com
a88215d2d2 fix bug 72487 Create Attachment should allow user to create another attach
Also adds link+desc to created patch.
r=jake,terry


git-svn-id: svn://10.0.0.236/trunk@89792 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 20:02:55 +00:00
javi%netscape.com
e9871b28e3 Add new sources from freebl to the Mac project.
git-svn-id: svn://10.0.0.236/trunk@89788 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 19:06:42 +00:00
shaver%mozilla.org
8df961cb98 fix build bustage (r=blizzard)
git-svn-id: svn://10.0.0.236/trunk@89784 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 18:44:59 +00:00
javi%netscape.com
92fb87a01a ccarlen says we don't have to bump the refCnt when adding the observer.
git-svn-id: svn://10.0.0.236/trunk@89783 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 18:30:25 +00:00
blizzard%redhat.com
b2e5c45110 Fix bug #72313. Focus problems on linux. This adds a flag to nsIWidget::SetFocus() that says to raise the window. We only raise the window from one place, window.focus(). This builds and runs on at least linux and the mac. r=jst,brendan,hyatt a=leaf
git-svn-id: svn://10.0.0.236/trunk@89782 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 17:56:04 +00:00
alecf%netscape.com
9e059ce270 fix for blocker 72477 - add layout_xul_outliner.xpt to the nightly builds
a=leaf,sr=shaver


git-svn-id: svn://10.0.0.236/trunk@89781 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 17:52:49 +00:00
blizzard%redhat.com
df6410128f Comments from shaver's super-review. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@89771 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 00:52:53 +00:00
mkaply%us.ibm.com
08207ada5e Attempt to fix OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@89752 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 04:15:26 +00:00
dbaron%fas.harvard.edu
a2b4b21279 Fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage from mailnews performance branch landing by adding new header file dependencies to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@89750 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 03:49:10 +00:00
sspitzer%netscape.com
8b79622536 fix bustage.
git-svn-id: svn://10.0.0.236/trunk@89749 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 02:59:47 +00:00
sspitzer%netscape.com
300aa26b63 fix bustage
git-svn-id: svn://10.0.0.236/trunk@89748 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 02:58:53 +00:00
sspitzer%netscape.com
0563879c7b remove files no longer part of the build due to the mailnews landing.
(specifically, there is no more message datasource or nsIMessage)


git-svn-id: svn://10.0.0.236/trunk@89747 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 02:54:34 +00:00
rginda%netscape.com
9d8b843e90 -- NOT PART OF THE BUILD --
initial checkin of a "did you know" factsheet for chatzilla


git-svn-id: svn://10.0.0.236/trunk@89744 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 02:04:06 +00:00
mscott%netscape.com
7dc24bf70f Land the Mailnews Performance Branch.
Includes front end re-write to use the outliner widget for the thread pane.

Improvements in scrolling, folder loading, message display, replyto time, sorting, selecting, deleting, the list goes
on and on.

enjoy =).


git-svn-id: svn://10.0.0.236/trunk@89742 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 01:59:34 +00:00
ducarroz%netscape.com
6d492e619a Mailnews performance branch landing...
git-svn-id: svn://10.0.0.236/trunk@89740 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 01:53:39 +00:00
blizzard%redhat.com
d8c584e973 Fix bug #71266. As much as we all dispise it window.focus() should raise windows on linux. r=danm, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@89735 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 01:39:04 +00:00
av%netscape.com
1cf64c84f7 Fixing #72019, missing frees added to match allocs, patch by beard, r=bnesse, sr=waterson, a=av
git-svn-id: svn://10.0.0.236/trunk@89732 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 00:38:23 +00:00
law%netscape.com
7dd64f83ed Bug 26029; add CHROME_WINDOW_MIN flag to enable minimizable dialog windows (and use that for download progress dialogs); r=danm sr=alecf a=asa
git-svn-id: svn://10.0.0.236/trunk@89731 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 00:30:38 +00:00
hyatt%netscape.com
0e5da4adda etc.
git-svn-id: svn://10.0.0.236/trunk@89730 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 00:28:00 +00:00
hyatt%netscape.com
9f5f830a3a See my previous message.
git-svn-id: svn://10.0.0.236/trunk@89728 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 00:27:46 +00:00
hyatt%netscape.com
47af48047c Fixes for my 3 0.8.1 bugs... all approved etc. etc.
git-svn-id: svn://10.0.0.236/trunk@89727 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-17 00:27:13 +00:00
law%netscape.com
f4fdc0f69c Bug 50424; open new browser window if there is no explicit url, -mail, etc.; r=mcafee, sr=hyatt, a=asa
git-svn-id: svn://10.0.0.236/trunk@89726 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 23:51:22 +00:00
pchen%netscape.com
c94579a578 bug 69810, r=mcafee, sr=hyatt, a=asa, #define INCLUDE_XUL 1 for mac dom project, fixes nsFocusController::GetControllers() to QI currently focused element to a xul element and call GetControllers() on it if QI succeeds.
git-svn-id: svn://10.0.0.236/trunk@89725 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 23:38:36 +00:00
sspitzer%netscape.com
473b91f301 fix for #69684 (and other subscribe problems caused by this.)
using [value="true"] in my css made things dog slow.
see alecf's posting news://news.mozilla.org/3A82F42D.1050102@netscape.com
sr=bienvenu a=asa


git-svn-id: svn://10.0.0.236/trunk@89724 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 23:35:14 +00:00
nelsonb%netscape.com
c603a294b4 Reinterpret the READ and WRITE poll flags depending on the state of the
socket and the SSL handshake.  Rename the badly named "connected" flag.
Bugzilla bugs 56924, 56926, 66706.
Modified Files:
    ssl3con.c sslauth.c sslcon.c ssldef.c sslgathr.c sslimpl.h
    sslsecur.c sslsock.c


git-svn-id: svn://10.0.0.236/trunk@89723 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 23:26:06 +00:00
disttsc%bart.nl
5835721f7b Hook up browser UI after skin switch. bug=68662, r=ben, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@89722 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 22:40:15 +00:00
gordon%netscape.com
32db7c1881 Fix bug 72038 "FTP listings never stop loading on Mac", by sfraser and gordon. r= dougt, sr=scc.
git-svn-id: svn://10.0.0.236/trunk@89719 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 22:00:13 +00:00
disttsc%bart.nl
8196638759 "status bar not displaying final information", bug 62796, r=mao, sr=hyatt, a=asa
git-svn-id: svn://10.0.0.236/trunk@89718 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 21:40:33 +00:00
colin%theblakes.com
33a9d0232e Fix OpenVMS build breakage
b=71990 r=danm sr=blizzard a=leaf


git-svn-id: svn://10.0.0.236/trunk@89717 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 21:39:49 +00:00
dougt%netscape.com
d54a8889e3 Fixes bug 71397. s/r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89716 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 21:33:23 +00:00
disttsc%bart.nl
1b8b7ba3a7 "Re-do change from bundle to gNavigatorBundle" (accidental backout), bug=72137, r=mao, sr=ben, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@89715 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 21:32:24 +00:00
hewitt%netscape.com
616340ca64 72210 - mailheader bgcolor, r=hwaara, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@89713 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 20:39:01 +00:00
mkaply%us.ibm.com
6433e2b695 No bug
r=mkaply, a=asa
256 color regression caused by previous checkin


git-svn-id: svn://10.0.0.236/trunk@89712 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 20:31:22 +00:00
blizzard%redhat.com
fbc5d357a4 Make chrome windows resize intrinsically. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@89711 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 19:38:01 +00:00
brendan%mozilla.org
44a9a9cb5c Fix JS_ArenaRealloc to cope with alignment shift from realloc (72034, r=shaver, sr=jband, a=asa).
git-svn-id: svn://10.0.0.236/trunk@89708 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 08:06:08 +00:00
dave%intrec.com
df86eaa659 Re-fix for bug 71550: all watchers are now accounted for instead of only the first watcher found.
git-svn-id: svn://10.0.0.236/trunk@89707 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 07:49:37 +00:00
despotdaemon%netscape.com
711641a17f Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@89704 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 05:37:12 +00:00
hewitt%netscape.com
842347b0b8 65745 - themes cleanup, r=dveditz/cmanske/chuang/blake/andreww, sr=hyatt, a=leaf
git-svn-id: svn://10.0.0.236/trunk@89702 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 04:44:58 +00:00
despotdaemon%netscape.com
1e8fa240de Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@89701 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 04:26:18 +00:00
hewitt%netscape.com
ec7e0f3002 65745 - themes cleanup, r=dveditz/cmanske/chuang/blake/andreww, sr=hyatt, a=leaf
git-svn-id: svn://10.0.0.236/trunk@89700 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 04:16:29 +00:00
despotdaemon%netscape.com
c1bb863f76 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@89699 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 04:01:11 +00:00
hewitt%netscape.com
1a78c9d45d 65745 - themes cleanup, r=dveditz/cmanske/chuang/blake/andreww, sr=hyatt, a=leaf
git-svn-id: svn://10.0.0.236/trunk@89698 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 03:33:21 +00:00
sdagley%netscape.com
5ee5780803 Fix #72048. Add Carbon target for apprunner project w/'carb' 0 resource so the built app is properly identified as a Carbon app. r=pinkerton, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@89697 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 03:08:41 +00:00
hewitt%netscape.com
d8a7618d66 65745 - themes cleanup, r=dveditz/cmanske/chuang/blake/andreww, sr=hyatt, a=leaf
git-svn-id: svn://10.0.0.236/trunk@89696 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 02:56:38 +00:00
pavlov%netscape.com
94a4c64b99 changes wrt where we cache images. now setting the size and expiration date information on the cache entry descriptor
git-svn-id: svn://10.0.0.236/trunk@89695 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-16 02:40:04 +00:00
pavlov%netscape.com
594f3ea713 making function prototype static so it doesn't default to extern
git-svn-id: svn://10.0.0.236/trunk@89686 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 23:33:52 +00:00
mscott%netscape.com
68c97c24a6 NOT PART OF THE BUILD
Pre-landing work for the mailnews performance branch. Add news files on the branch to the tip.


git-svn-id: svn://10.0.0.236/trunk@89684 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 22:43:49 +00:00
mscott%netscape.com
1152668ec8 NOT PART OF THE BUILD
Pre-landing work for the mailnews performance branch.

Add news files on the branch to the tip.


git-svn-id: svn://10.0.0.236/trunk@89683 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 22:43:31 +00:00
mscott%netscape.com
b7d13d8915 NOT PART OF THE BUILD
Pre-landing work for the mailnews performance branch. Add news files on the branch to the tip.


git-svn-id: svn://10.0.0.236/trunk@89682 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 22:35:34 +00:00
mscott%netscape.com
679f920a00 NOT PART OF THE BUILD!!!
Pre-landing work for the mailnews performance branch.

Adding some new files to the tip.


git-svn-id: svn://10.0.0.236/trunk@89681 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 22:33:33 +00:00
mkaply%us.ibm.com
5f45c15165 No bug
r=mkaply, a=asa
Basic support for lower Unicode range on all encoding


git-svn-id: svn://10.0.0.236/trunk@89680 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 21:13:43 +00:00
mkaply%us.ibm.com
dac4968cdb No bug
r=mkaply, a=asa
code from aaronr for some PS handling issues
fix for scrollbar issue


git-svn-id: svn://10.0.0.236/trunk@89679 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 21:00:53 +00:00
mkaply%us.ibm.com
d941838f96 No bug
r=mkaply, a=asa
Continuing the GFX cleanup
code from aaronr for some PS handling issues
code from dainis for transparent PNGs and various cleanup


git-svn-id: svn://10.0.0.236/trunk@89678 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 20:59:50 +00:00
kestes%tradinglinx.com
f03faa2a7c add common error stings
git-svn-id: svn://10.0.0.236/trunk@89677 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 18:00:00 +00:00
kestes%tradinglinx.com
823a918960 put the output into a form which can be sourced by /bin/sh
git-svn-id: svn://10.0.0.236/trunk@89676 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 17:59:15 +00:00
kestes%tradinglinx.com
943477803f change some of the default configurations.
git-svn-id: svn://10.0.0.236/trunk@89675 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 17:58:06 +00:00
kestes%tradinglinx.com
f1f77ae7ae update info on state of bonsai support
clarify warnings issues


git-svn-id: svn://10.0.0.236/trunk@89674 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 17:57:20 +00:00
dave%intrec.com
666dc8c49f Fix for bug 71550: watchers now get email based on their own preferences rather than the preferences of the person they are watching. Patch by jake@acutex.net, r= dave@intrec.com
git-svn-id: svn://10.0.0.236/trunk@89673 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 07:50:36 +00:00
javi%netscape.com
e27bec3fe9 Make clean builds work. Do this by removing the sub-class of
nsIDialogParamBlock in nsIPKIParamBlock.  Everywhere we want
to have bot nsIDialogParamBlock and nsIPKIParamBlock we do
QueryInterface to get a pointer to the right interface.


git-svn-id: svn://10.0.0.236/trunk@89670 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 03:06:47 +00:00
beard%netscape.com
ad12fb26e3 Fix to get nsLeakDetector building again after shaver's changes to NS_NewGenericFactory(). r=dbaron@fas.harvard.edu, sr=waterson, amen=leaf.
git-svn-id: svn://10.0.0.236/trunk@89669 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-15 02:49:23 +00:00
mkaply%us.ibm.com
aa0b13b619 #71941
r=jag, a=pchen
OS/2 build bustage (for some reason not on tinderbox) add PR_STATIC_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@89667 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 23:57:37 +00:00
nelsonb%netscape.com
9f41b38daf Build changes for Solaris and gcc. Get gcc to use the proper architecture
flags when building v8plus code on Solaris/Ultrasparc.  Use gcc instead of
ld to build the freebl DSOs when using gcc on Solaris.  And stop using the
"sparkfix" program on Solaris.  It is no longer needed.  Bug 69052.


git-svn-id: svn://10.0.0.236/trunk@89664 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 23:30:37 +00:00
blizzard%redhat.com
b8cc24c133 Put hard coded list of content types back in. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@89663 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 22:52:34 +00:00
blizzard%redhat.com
ebe754f6dc Bulletproof some of the functions so that we don't deref things before they are created. Include gtkmozembed_internal.h so that get_nsIWebBrowser actually has C linkage qualities. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@89662 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 22:36:19 +00:00
thayes%netscape.com
68a0254fbf Add -DNSS_USE_STATIC_LIBS to get correct linkage against static version
of NSS libraries.


git-svn-id: svn://10.0.0.236/trunk@89661 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 22:33:08 +00:00
briane%qnx.com
ed16fdf997 PHOTON BUILD ONLY
fixes for change in NS_ConvertUCS2toUTF8 for getting data and changes for printing.


git-svn-id: svn://10.0.0.236/trunk@89660 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 22:08:30 +00:00
attinasi%netscape.com
284a540ff9 Putting my changes back in since it made no difference in the orange-ish nature of certain linux tinderboxes. (pchen said it was ok, so there.)
git-svn-id: svn://10.0.0.236/trunk@89659 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 22:02:48 +00:00
blizzard%redhat.com
ed1c7defd2 Make streaming go. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@89657 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 21:38:56 +00:00
beard%netscape.com
d9080d0633 [not part of build] Fix dumb assertion.
git-svn-id: svn://10.0.0.236/trunk@89654 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 21:16:55 +00:00
attinasi%netscape.com
0457b743e4 Reverting in hope of fixing the orangeness...
git-svn-id: svn://10.0.0.236/trunk@89648 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 19:59:05 +00:00
briane%qnx.com
2b23174df9 PHOTON BUILD ONLY
Numerous bug fixes and code cleanup for photon related memory leaks and
bugs.


git-svn-id: svn://10.0.0.236/trunk@89647 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 19:46:53 +00:00
relyea%netscape.com
3b7c990555 Make the nss_build_all target work on NT.
git-svn-id: svn://10.0.0.236/trunk@89646 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 19:12:30 +00:00
javi%netscape.com
f01831ca85 Fix for Bug 71889
Null out secmodname during NSS_Shutdown so that a later call to NSS_Init succesfully initializes the SECMOD libraries.

Also, free the memory allocated to allocated the name of the keydb and remove an unused local variable.


git-svn-id: svn://10.0.0.236/trunk@89645 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 18:58:14 +00:00
alecf%netscape.com
0b9c36362d fix today's pseudo-blocker by initializing a variable which determined if the "Now" value was valid or not
r=pchen, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@89644 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 18:34:57 +00:00
relyea%netscape.com
914e9e75e1 Add code to all the nss pre-reqs with a single target.
git-svn-id: svn://10.0.0.236/trunk@89643 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 18:08:25 +00:00
disttsc%bart.nl
d1a9d6124e Fix non-JAR builds run-time bustage. Some lines were accidentily removed from classic/jar.mn and modern/jar.mn, causing needed css files to not be copied / jar'ed up for clobber builds. Putting them back. bug=71953. r=mozbot. Forgive me for cleaning up a little "while I was there".
git-svn-id: svn://10.0.0.236/trunk@89642 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 14:54:44 +00:00
sgehani%netscape.com
a392c0daba Fixing fizilla build bustage. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@89641 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 09:49:22 +00:00
dveditz%netscape.com
071133eddf fixing ports build bustage
git-svn-id: svn://10.0.0.236/trunk@89640 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 08:46:52 +00:00
brendan%mozilla.org
47c8105e26 Fix bug 69271, r=waterson, sr=shaver:
- Don't ape java.lang.String's bogo-sampling hash function for "long" (>=16
  char) strings.
- Theory and practice comment in pldhash.h helps analyze when to use double
  hashing (most of the time) vs. when to use chaining.
- Subroutine ChangeTable from PL_DHashTableOperate so it can be called from
  PL_DHashTableEnumerate, if the latter finds that enough entries have been
  removed to be worth a shrink or compress cycle.


git-svn-id: svn://10.0.0.236/trunk@89639 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:48:07 +00:00
jst%netscape.com
c6e5e34cc0 Fixing bug 67573. Making sure the presshell is in a state where it's safe to flush pending notifications when the dummy layout request is removed from the document loadgroup, this ensures that code that executes in the documents onload handler is able to successfully flush pending notifications on the presshell. r=nisheeth@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89638 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:47:00 +00:00
brendan%mozilla.org
d9b3cdbf07 Fix bug 69271, r=waterson, sr=shaver:
- Don't ape java.lang.String's bogo-sampling hash function for "long" (>=16
  char) strings.
- Theory and practice comment in jsdhash.h helps analyze when to use double
  hashing (most of the time) vs. when to use chaining.
- Subroutine ChangeTable from JS_DHashTableOperate so it can be called from
  JS_DHashTableEnumerate, if the latter finds that enough entries have been
  removed to be worth a shrink or compress cycle.


git-svn-id: svn://10.0.0.236/trunk@89637 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:42:32 +00:00
disttsc%bart.nl
4362910022 Fix bad nsPromiseFlatString usage in nsAtomTable, bug=71759, r=bryner, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@89636 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:41:08 +00:00
disttsc%bart.nl
4388277b51 Fix typo in confirm profile migration code, r=mao, a=ben
git-svn-id: svn://10.0.0.236/trunk@89635 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:38:09 +00:00
pollmann%netscape.com
8897fa1077 Bug 71834: Fix form post smoketest blocker - backout fix for bug 69862
git-svn-id: svn://10.0.0.236/trunk@89634 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:36:13 +00:00
pollmann%netscape.com
cee3a18d0a Bug 55988: Hidden and button inputs save state when the content attribute named 'value' changes, r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89633 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:36:01 +00:00
pollmann%netscape.com
75ef031b93 Bug 68010: Make XML/XHTML documents obey scrolling attribute on containing frames/iframes, remove unused variable, r=heikki@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89632 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:35:40 +00:00
pollmann%netscape.com
11b1e5a1dc Bug 65878: Make Image documents obey scrolling attribute on containing frames/iframes, remove unused variable, r=heikki@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89631 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:35:29 +00:00
alecf%netscape.com
7dad5273fb fix for bug 71852 sr=hyatt
fix trees by adding -xul to css property, so that scrolled boxes inherit their attributes appropriately


git-svn-id: svn://10.0.0.236/trunk@89630 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:34:04 +00:00
syd%netscape.com
4180f0b973 Fix for:
http://bugzilla.mozilla.org/show_bug.cgi?id=68229

r=andreww, sr=sfraser. checking in for anatoliya


git-svn-id: svn://10.0.0.236/trunk@89629 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 07:33:46 +00:00
darin%netscape.com
921505b325 Fixes tinderbox redness on the mac. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@89628 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 06:58:50 +00:00
sgehani%netscape.com
68a8ed2f74 Hook libxpnet into the mac installer (and UI polish friends).
b = 67244
r = ssu
sr = mscott


git-svn-id: svn://10.0.0.236/trunk@89627 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 06:58:44 +00:00
sgehani%netscape.com
ca9fd62a48 Port libxpnet to the mac. (Turning it on.) Also turning on XPICleanup.
libxpnet:
b = 67248
r = ssu
sr = alecf

XPICleanup:
b = 65680
r = ssu
sr = alecf


git-svn-id: svn://10.0.0.236/trunk@89626 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 06:51:22 +00:00
sgehani%netscape.com
5ac73cff4a Port libxpnet to the mac.
b = 67248
r = ssu
sr = mscott


git-svn-id: svn://10.0.0.236/trunk@89624 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 06:49:13 +00:00
attinasi%netscape.com
056dac3c0b b=70731 r=dcone sr=waterson - fixes crasher while printing
git-svn-id: svn://10.0.0.236/trunk@89623 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 06:45:41 +00:00
leaf%mozilla.org
9bc6202c1f Automated update
git-svn-id: svn://10.0.0.236/trunk@89622 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 06:45:15 +00:00
attinasi%netscape.com
606a492210 b=63750 r=karnaze sr=scc - fixes bad image reflow problems
git-svn-id: svn://10.0.0.236/trunk@89621 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 06:44:02 +00:00
attinasi%netscape.com
a9154df1d2 force gopher port to default: sr=attinasi, r=jag b=71916
git-svn-id: svn://10.0.0.236/trunk@89620 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 06:43:00 +00:00
dmose%netscape.com
7caf9ab8dc Split up ldap build options into two sections: ldap and ldap_experimental, in preparation for turning on just the ldap module in the default builds. Also fixes LDAP C SDK bustage introduced by change to --enable-nspr-autoconf. Bug 70658. Patch from leif@netscape.com, r=dmose@netscape.com, sr=alecf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@89619 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 06:41:40 +00:00
beard%netscape.com
3d22220657 Added nsXPIProxy.cpp to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@89617 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 06:14:54 +00:00
dveditz%netscape.com
df39d51240 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@89616 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 06:03:44 +00:00
beard%netscape.com
ca2ff1c584 fix for bug #71879, r=dveditz, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@89615 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 05:55:13 +00:00
beard%netscape.com
d8e24864aa added nsAboutCacheEntry.cpp r=darin
git-svn-id: svn://10.0.0.236/trunk@89614 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 05:53:57 +00:00
dveditz%netscape.com
d007d58c50 removing obsolete files
git-svn-id: svn://10.0.0.236/trunk@89613 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 05:37:48 +00:00
dbragg%netscape.com
833147e8d3 mac project update for previous checkin
git-svn-id: svn://10.0.0.236/trunk@89612 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 05:36:00 +00:00
dveditz%netscape.com
5df7fedc87 bug 28896 register file versions r=ssu,sr=mscott
bug 45939 File.remove() returns bogus error,r=sgehani,sr=alecf
bug 7022  make platform/build info available to XPInstall script r=sgehani,sr=mscott
bug 47258 more detailed error reporting failing to install file, r=sgehani,sr=mscott
bug 62916 refresh plugins from install script r=ssu,sr=mscott


git-svn-id: svn://10.0.0.236/trunk@89610 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 05:30:25 +00:00
mkaply%us.ibm.com
d493ffd6fe OS/2 TB break
Need calling convention


git-svn-id: svn://10.0.0.236/trunk@89609 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 05:28:27 +00:00
anthonyd%netscape.com
22765aef37 bug fix for 59005 Saving html with selects saves unneeded state.
r=rods
sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89608 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 05:27:44 +00:00
racham%netscape.com
f5ad5ecbb8 Fixing bug 71906. Enabling Search Messages link on Account Central for Local Folders also. r=racham, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@89607 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 05:26:42 +00:00
dbragg%netscape.com
87555b8935 part of 62916
git-svn-id: svn://10.0.0.236/trunk@89606 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 05:23:52 +00:00
dveditz%netscape.com
fb95ee0cf0 bug 62916 refresh plugins from XPInstall, r=ssu,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@89605 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 05:19:41 +00:00
dveditz%netscape.com
11ec70ffc6 Bug 47258, better descrimination for unpacking errors. r=sgehani,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@89604 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 05:15:55 +00:00
blakeross%telocity.com
dd9630dc87 Fix mac bustage.
git-svn-id: svn://10.0.0.236/trunk@89602 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 04:50:44 +00:00
mkaply%us.ibm.com
fe7e1dc212 OS/2 TB break
Don't even get me started


git-svn-id: svn://10.0.0.236/trunk@89601 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 04:11:42 +00:00
darin%netscape.com
cd93881d96 [not part of the build] New cache used PRUint32 for time now instead of PRTime. r=gordon
git-svn-id: svn://10.0.0.236/trunk@89599 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 03:56:01 +00:00
darin%netscape.com
0aea729c9e [not part of the build] New cache uses PRUint32 for time now instead of PRTime. r=gordon
git-svn-id: svn://10.0.0.236/trunk@89598 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 03:55:15 +00:00
darin%netscape.com
db46fd8e9e [not part of the build] Changes to make the new cache use PRUint32's for
time instead of PRTime's.  r=gordon


git-svn-id: svn://10.0.0.236/trunk@89597 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 03:54:05 +00:00
disttsc%bart.nl
e76cb821c9 Fix MOZ_TRACK_MODULE_DEPS builds (like senna) bustage, adding "necko" to REQUIRES, r=cls
git-svn-id: svn://10.0.0.236/trunk@89596 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 03:46:23 +00:00
beard%netscape.com
702eda7e46 [not part of build] Using nsIPref::AddObserver() instead of krufty old callbacks. Using directory service to obtain profile directory and using a "profile-do-change" observer to regenerate the cache directory.
git-svn-id: svn://10.0.0.236/trunk@89595 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 03:35:09 +00:00
beard%netscape.com
452206cf02 fix Mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@89594 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 03:24:20 +00:00
blakeross%telocity.com
e3e06fb072 Missed a file...
git-svn-id: svn://10.0.0.236/trunk@89593 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 03:13:37 +00:00
rginda%netscape.com
ee5390e1b5 fix for mac bustage, I think
git-svn-id: svn://10.0.0.236/trunk@89592 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 03:12:07 +00:00
stephend%netscape.com
67f07d10b1 Checking in the fix for tooltip in browser, bug 71612 r=timeless@mac.com sr=hewitt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89591 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 03:05:08 +00:00
colin%theblakes.com
b1aa5a00b4 Remove the O_TRUNC when we open a newly created file (its not needed and
produces undesirable side effects on OpenVMS).
b=68255 r=sspitzer sr=mscott a=leaf


git-svn-id: svn://10.0.0.236/trunk@89587 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:57:47 +00:00
pinkerton%netscape.com
28eac30ac4 gopher build changes.
git-svn-id: svn://10.0.0.236/trunk@89586 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:52:39 +00:00
mkaply%us.ibm.com
a9d575cf6a OS/2 TB break
Is there a reason an XP_OS2 was thrown in on Win32 only code?


git-svn-id: svn://10.0.0.236/trunk@89585 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:51:03 +00:00
blakeross%telocity.com
5d1a6005be Removing files that got checked in accidentally.
git-svn-id: svn://10.0.0.236/trunk@89584 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:51:02 +00:00
blakeross%telocity.com
5e9b6a35a7 Fix 49334: gopher support, minor restructuring of directory viewer. necko: r=darin,dougt sr=rpotts other: r=waterson,mstoltz,jag sr=alecf
Fix 70404: assertions for datetime and finger. r=dougt, sr=rpotts

Both patches by Bradley Baetz (bbaetz@cs.mcgill.ca)


git-svn-id: svn://10.0.0.236/trunk@89583 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:51:01 +00:00
pinkerton%netscape.com
1c9b707ed4 files added for gopher.
git-svn-id: svn://10.0.0.236/trunk@89582 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:47:56 +00:00
matt%netscape.com
f6389963f3 bug 71881
adding sidebar directory to popup menu
sr=hyatt
r=mcafee


git-svn-id: svn://10.0.0.236/trunk@89581 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:45:31 +00:00
Peter.VanderBeken%pandora.be
c7b844398b part 3 of bug 48972 check in: mac changes. r=brendan, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@89580 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:43:32 +00:00
blakeross%telocity.com
d03df0d6a4 Fix 49334: gopher support, minor restructuring of directory viewer. necko: r=darin,dougt sr=rpotts other: r=waterson,mstoltz,jag sr=alecf
Fix 70404: assertions or datetime and finger. r=dougt, sr=rpotts

Both patches by Bradley Baetz (bbaetz@cs.mcgill.ca)


git-svn-id: svn://10.0.0.236/trunk@89579 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:42:39 +00:00
rginda%netscape.com
4f187c27f4 part 2 of bug 48972 check in. peterv to check in mac changes. r=brendan, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@89578 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:41:55 +00:00
blakeross%telocity.com
9cf78e1542 Fix 49934: gopher support, minor restructuring of directory viewer. necko: r=darin,dougt sr=rpotts other: r=waterson,mstoltz,jag sr=alecf
Fix 70404: assertionsf or datetime and finger. r=dougt, sr=rpotts

Both patches by Bradley Baetz (bbaetz@cs.mcgill.ca)


git-svn-id: svn://10.0.0.236/trunk@89577 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:41:18 +00:00
rginda%netscape.com
1bf1eb4a31 part one of checkin for bug 48974, idl additions. sr=shaver, r= brendan
git-svn-id: svn://10.0.0.236/trunk@89576 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:39:23 +00:00
matt%netscape.com
6d6e51c78a adding search pattern matching on search button
"://" and "."
r=alecf
sr=ben


git-svn-id: svn://10.0.0.236/trunk@89575 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:38:24 +00:00
rginda%netscape.com
55db3c0b63 ChatZilla 0.8 checkin. see bug 71468 for details
r=ssieb, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@89574 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:35:29 +00:00
pinkerton%netscape.com
fc1429aa67 make xp popups work with xmouse (bug 50798). make xppopups go away when app is minimized and mouse is inside xppopup (bugs 45108,31601,37992,39276,45202,63527,68889) r=pink/sr=hyatt. submission by dean_tessman@hotmail.com
git-svn-id: svn://10.0.0.236/trunk@89573 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:34:46 +00:00
rginda%netscape.com
f3084e41d6 Checkin in new files for bug 71466
git-svn-id: svn://10.0.0.236/trunk@89572 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:33:40 +00:00
pinkerton%netscape.com
13f9f00186 don't hide tooltip until mouse exits the node, not on any mouse move. also allow for clients to disable the auto-hide timer with the 'noautohide' attribute. r=saari/sr=hyatt. bug# 71547.
git-svn-id: svn://10.0.0.236/trunk@89571 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:32:27 +00:00
racham%netscape.com
4b3708e645 Fixing bugs 66830, 68346, 71356. Fix to bug 66830 makes AccountCentral item display more dynamic based on server and protocol capabilities. Fix to bug 68346 makes the startup page appear once per account per mozilla session. Fix to bug 71356 fianlly makes the right biff sound to get played at the right time. r=gayatrib, sspitzer, bienvenu sr=sspitzer, bienvenu.
git-svn-id: svn://10.0.0.236/trunk@89570 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:32:04 +00:00
cls%seawood.org
93551f54df 1) "Not in the build" is the biggest cop-out of checkin rules imaginable.
2) If the file is compiled without setting a special flag, it's PART OF THE BUILD!
3) WTF IS UP WITH THESE EXTRA ^Ms?!?!?!


git-svn-id: svn://10.0.0.236/trunk@89567 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 02:05:21 +00:00
darin%netscape.com
0e1b596a03 [not part of the build] Fixed bustage in nsAboutCache.
git-svn-id: svn://10.0.0.236/trunk@89564 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 01:18:24 +00:00
pavlov%netscape.com
4bde48aced change for new getrect method
git-svn-id: svn://10.0.0.236/trunk@89563 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 01:14:33 +00:00
pavlov%netscape.com
a0a4105677 make getRect pass out an nsrect&
git-svn-id: svn://10.0.0.236/trunk@89562 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 01:14:23 +00:00
darin%netscape.com
ed9b1f24cd [not part of the build] Make nsICacheEntryDescriptor inherit from nsICacheEntryInfo
git-svn-id: svn://10.0.0.236/trunk@89561 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 01:11:14 +00:00
rods%netscape.com
e486bd16ad turn on reflow counting when building in debug mode, activated by a pref
Bug 71514 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89560 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 01:05:07 +00:00
rods%netscape.com
4ba21c91b1 Small change to initialize values before getting prefs
Bug 71514 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89559 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 01:03:31 +00:00
beard%netscape.com
6620fb0713 Added nsICachingChannel.idl. a=leaf, r=darin
git-svn-id: svn://10.0.0.236/trunk@89558 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 00:55:31 +00:00
darin%netscape.com
c45a3a6cb0 Fixes bug 43729. HTTP response headers shows ni browswer window for content from NCSD 1.5.2. patch=mark@heily.org, r=darin, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@89557 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 00:47:13 +00:00
leaf%mozilla.org
a63b6dda21 add modules/staticmod to SeaMonkeyAll.
git-svn-id: svn://10.0.0.236/trunk@89556 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 00:42:46 +00:00
pavlov%netscape.com
6f2d08e2f3 more changes
git-svn-id: svn://10.0.0.236/trunk@89555 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 00:39:48 +00:00
pavlov%netscape.com
190dbdb460 minor api changes/indentation and spacing fixes, etc
git-svn-id: svn://10.0.0.236/trunk@89554 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 00:35:27 +00:00
nelsonb%netscape.com
7d0250e121 Fix bugzilla bugs 69753 and 39465. Temporary DB files are now created
in $TMP, $TMPDIR or $TEMP, if possible.  On windows, temporary DB files
are now opened in binary mode and are removed when the progam terminates
or the DB is closed.  Multiple temp DB files can now be created in the
same program.  EOF value on disk is now updated when file is extended.


git-svn-id: svn://10.0.0.236/trunk@89552 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 00:29:55 +00:00
ssu%netscape.com
49db655814 fixing:
bug 68110 - installer fails on proxy support.
bug 64433 - setup.exe contains "netscape.exe" string.
bug 67259 - xpi error should indicate which package failed.
bug 52597 - show license file under mozilla installer.
bug 40707 - create mozilla mail shortcut.
bug 70892 - uninstall not possible after uninstall, install, then reboot.

bug 68053 contains patch for all of above.

r=dveditz,sgehani
sr=mscott

affects only windows platforms.


git-svn-id: svn://10.0.0.236/trunk@89551 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 00:24:23 +00:00
javi%netscape.com
cbe945cc49 Fully support profile swtiching in PSM 2.0
git-svn-id: svn://10.0.0.236/trunk@89547 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 00:03:23 +00:00
joki%netscape.com
75f14b4d25 Fix smoketest blocker bugs 71224 & 71836 and (probably) 71834. r: hyatt
git-svn-id: svn://10.0.0.236/trunk@89546 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 23:58:15 +00:00
javi%netscape.com
577cba4d7d Didn't mean to enable the logging by default.
git-svn-id: svn://10.0.0.236/trunk@89544 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 23:47:12 +00:00
saari%netscape.com
0cc455e2a5 imglib2 updates
git-svn-id: svn://10.0.0.236/trunk@89543 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 23:42:16 +00:00
saari%netscape.com
b38dc52adc updating mac build
git-svn-id: svn://10.0.0.236/trunk@89542 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 23:38:33 +00:00
saari%netscape.com
b3c8c9331b updating mac build of libimg2
git-svn-id: svn://10.0.0.236/trunk@89541 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 23:37:51 +00:00
saari%netscape.com
b7ec01a9da update for mac build
git-svn-id: svn://10.0.0.236/trunk@89540 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 23:37:11 +00:00
saari%netscape.com
850d9f2824 removing for update
git-svn-id: svn://10.0.0.236/trunk@89539 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 23:36:05 +00:00
saari%netscape.com
72aa5341e1 Updates for imglib2
git-svn-id: svn://10.0.0.236/trunk@89538 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 23:33:11 +00:00
saari%netscape.com
ba1e13fbc5 update of libimg2
git-svn-id: svn://10.0.0.236/trunk@89537 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 23:29:32 +00:00
blizzard%redhat.com
99a2a6c2cb New stream code - WIP. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@89535 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 23:26:53 +00:00
saari%netscape.com
6cb03599c2 Updates for libimg2
git-svn-id: svn://10.0.0.236/trunk@89534 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 23:25:59 +00:00
darin%netscape.com
2533108ec5 [not part of the build] Added nsAboutCacheEntry to necko component for use with the new cache.
git-svn-id: svn://10.0.0.236/trunk@89533 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 22:44:34 +00:00
javi%netscape.com
da9cfb82c5 Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@89532 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 22:24:58 +00:00
javi%netscape.com
81e13f2306 The macro for PROFILE_BEFORE_CHANGE_TOPIC doesn't seem to be around
anymore.


git-svn-id: svn://10.0.0.236/trunk@89531 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 22:15:05 +00:00
blizzard%redhat.com
e0c2575662 Move chrome mask into private to fix startup crash. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@89530 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 22:01:10 +00:00
dougt%netscape.com
5d73f6bed7 NOT PART OF BUILD. This will make plugins work with the new cache.
git-svn-id: svn://10.0.0.236/trunk@89529 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 21:58:38 +00:00
javi%netscape.com
bb6393e184 First cut at profile switching for PSM 2.0
This will shut down NSS, but doesn't actively re-initialize NSS
with the new profile info.


git-svn-id: svn://10.0.0.236/trunk@89528 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 21:50:23 +00:00
blizzard%redhat.com
33fa838511 Add the prompter to the makefile. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@89526 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 21:30:22 +00:00
blizzard%redhat.com
a560182af5 Add VISIBILITY signal back in now that adam's changes are in. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@89523 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 21:15:26 +00:00
blizzard%redhat.com
9797d72b71 nsIPrompt impl. not part of the build
git-svn-id: svn://10.0.0.236/trunk@89522 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 21:09:21 +00:00
darin%netscape.com
32e4cd5ddd [not part of the build] Touch ups to HTTP validation for new cache.
git-svn-id: svn://10.0.0.236/trunk@89521 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 20:09:56 +00:00
darin%netscape.com
b69f97c235 [not part of the build] Touch ups to about:cache and about:cache-entry
git-svn-id: svn://10.0.0.236/trunk@89520 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 20:06:42 +00:00
alecf%netscape.com
d5f6e021bb fix for bug 71822 r=pchen a=ben
workaround for focusedWindow being null


git-svn-id: svn://10.0.0.236/trunk@89519 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 19:56:36 +00:00
mcgreer%netscape.com
7fde1d7d65 A bunch more cert UI, all the buttons are in (just need to be coded :)
git-svn-id: svn://10.0.0.236/trunk@89518 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 19:36:52 +00:00
relyea%netscape.com
acc35e34b4 bug 70992 patches to build 4.2 BSD
git-svn-id: svn://10.0.0.236/trunk@89517 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 19:02:05 +00:00
relyea%netscape.com
4bce16b9f5 bug 70992 patches to build 4.2 BSD.
git-svn-id: svn://10.0.0.236/trunk@89516 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 19:00:52 +00:00
mcgreer%netscape.com
628ebdb002 more cert manager functionality
* list mine and websites certs
* show cert chain in view cert
* show O and OU in view cert


git-svn-id: svn://10.0.0.236/trunk@89509 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 16:20:54 +00:00
gordon%netscape.com
8d57282cf0 [not part of build]
Implement simple LRU eviction mechanism for nsMemoryCacheDevice.
Add cleanup code to nsCacheService to fix intermittent crashes on shutdown.
Calculate MetaData size, and update field in nsCacheEntry.
Begin implmentation of nsICacheDeviceInfo in nsMemoryCacheDevice for about:cache.
Added various statistics to nsCacheService and nsMemoryCacheDevice.


git-svn-id: svn://10.0.0.236/trunk@89508 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 15:43:17 +00:00
brade%netscape.com
a950e9dd8e use + to ensure files are overwritten (ignore modify date); bug #67116
git-svn-id: svn://10.0.0.236/trunk@89507 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 15:40:47 +00:00
timeless%mac.com
1b8ed1424c Bug 65428 language="javascript" should be type="application/x-javascript"
r=ksosez@softhome.net a=ben


git-svn-id: svn://10.0.0.236/trunk@89506 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 15:35:07 +00:00
karnaze%netscape.com
59ea97fc3a bug 71810 - don't have inline virtual methods. r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@89505 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 15:21:42 +00:00
cmanske%netscape.com
e8ce95dc30 Fixed editor table submenu enabling in context menus, b=62158, r=akkana, sr=kin
git-svn-id: svn://10.0.0.236/trunk@89503 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 14:35:24 +00:00
locka%iol.ie
d911ea5276 Fixed wacky sync/async code in webbrowser persist b=69828, r=dougt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89502 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 13:55:30 +00:00
rods%netscape.com
5725e24567 set all buttons to vertial-align=bottom in quirks
Bug 58190 r=pierre sr=buster


git-svn-id: svn://10.0.0.236/trunk@89501 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 13:51:33 +00:00
locka%iol.ie
6654fc0bf7 Fixed a few documentation typos. b=68581
git-svn-id: svn://10.0.0.236/trunk@89500 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 13:43:54 +00:00
locka%iol.ie
39d025ec05 NOT PART OF BUILD. MSVC++ project file for winEmbed
git-svn-id: svn://10.0.0.236/trunk@89499 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 13:34:19 +00:00
rods%netscape.com
ada4c1334d Fix frame going away during submit
Bug 70572 r=pollmann sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89498 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 13:33:59 +00:00
locka%iol.ie
877bf6088d Updated to use nsIEmbeddingSiteWindow sr=blizzard@mozilla.org b=68581
git-svn-id: svn://10.0.0.236/trunk@89497 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 12:48:33 +00:00
locka%iol.ie
4e1af33959 Updated to use nsIEmbeddingSiteWindow, sr=blizzard@mozilla.org b=68581
git-svn-id: svn://10.0.0.236/trunk@89496 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 12:35:08 +00:00
locka%iol.ie
8daaabb0f2 Updated to use nsIEmbeddingSiteWindow, sr=blizzard@mozilla.org b=68581
git-svn-id: svn://10.0.0.236/trunk@89495 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 12:21:34 +00:00
darin%netscape.com
94d7c14648 [not part of the build] Added HTTP support for nsICachingChannel.
git-svn-id: svn://10.0.0.236/trunk@89494 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 11:41:43 +00:00
joki%netscape.com
ae32024353 Fix 49120 (Force event handler compilation when properties accessed from JS) and 53640 (Fix event capture to work starting from text nodes) r:peterv, sr:jst
git-svn-id: svn://10.0.0.236/trunk@89493 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 11:37:16 +00:00
joki%netscape.com
c588fe63a5 Fix 62878, hack event.which to return values more like 4x. r:peterv, sr:jst
git-svn-id: svn://10.0.0.236/trunk@89492 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 11:34:07 +00:00
joki%netscape.com
2e54b7c296 Fix bug 58331, don't access internal frame data after DOM event dispatch. r:peterv sr:jst
git-svn-id: svn://10.0.0.236/trunk@89491 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 11:32:43 +00:00
darin%netscape.com
f93b109086 [not part of the build] Adding nsICachingChannel.idl for the new cache.
git-svn-id: svn://10.0.0.236/trunk@89490 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 11:15:06 +00:00
dprice%netscape.com
ad10d9ea59 71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD
git-svn-id: svn://10.0.0.236/trunk@89489 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 10:47:37 +00:00
dprice%netscape.com
bc7b2db6bf 71148 sr=waterson r=leaf Clearing out build bustages for MOZ_COVERAGE builds
NOT PART OF THE BUILD


git-svn-id: svn://10.0.0.236/trunk@89488 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 10:43:08 +00:00
dprice%netscape.com
c3fea7f82c 71057 sr=waterson properly demangle C symbols NOT PART OF THE REGULAR BUILD
git-svn-id: svn://10.0.0.236/trunk@89487 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 10:42:36 +00:00
dprice%netscape.com
598276cbd5 71148 sr=waterson r=leaf Clearing out build bustages for MOZ_COVERAGE bustage
NOT PART OF THE BUILD


git-svn-id: svn://10.0.0.236/trunk@89486 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 10:42:19 +00:00
attinasi%netscape.com
83e8e75acd Trying to fix bustage: removing references to appstartup stuff.
git-svn-id: svn://10.0.0.236/trunk@89481 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 08:39:37 +00:00
attinasi%netscape.com
46185692cc Trying to fix stinky bustage: removing appstartup from the build.
git-svn-id: svn://10.0.0.236/trunk@89480 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 08:30:56 +00:00
stephend%netscape.com
62e269f4e8 Backing out again, I swear I'm color blind. Hopefully the trees are green tomorrow. Bug 71612
git-svn-id: svn://10.0.0.236/trunk@89479 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:59:27 +00:00
darin%netscape.com
7570389ea8 [not part of the build] Just use the HTTP url as a cache key.
git-svn-id: svn://10.0.0.236/trunk@89478 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:48:14 +00:00
karnaze%netscape.com
4ea2ce59ac fix mac bustage from earlier checkin. r=syd.
git-svn-id: svn://10.0.0.236/trunk@89477 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:44:46 +00:00
darin%netscape.com
e8a5914c5e [not part of the build] Added stubs for about:cache-entry
git-svn-id: svn://10.0.0.236/trunk@89476 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:32:25 +00:00
darin%netscape.com
2caa9ba664 [not part of the build] Makes about:cache work with the new cache.
git-svn-id: svn://10.0.0.236/trunk@89475 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:31:13 +00:00
stephend%netscape.com
d58afdaba1 Checking in on a safe tree per the rules this time, fix for bug 71612 r=timeless@mac.com sr=hewitt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89474 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:28:02 +00:00
chak%netscape.com
fa130ed83d Fix Unix build bustage
git-svn-id: svn://10.0.0.236/trunk@89473 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:26:38 +00:00
alecf%netscape.com
5d93d892d2 oops! I didn't mean to checkt this change in with my last landing
git-svn-id: svn://10.0.0.236/trunk@89472 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:25:04 +00:00
jst%netscape.com
b4d8f0be56 Fixing bug 70170. Making sure we unblock the parser after loading a script file even if loading the script failed or the script file was empty. r=pollmann@netscape.com, sr=rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@89471 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:23:15 +00:00
darin%netscape.com
dcc961ceec Fixes bug 71346. Can't upload large files. r=gagan, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@89470 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:16:10 +00:00
ben%netscape.com
0163527f3f Fix for 52536, can't bookmark full page plugin. r=jag, kerz; a=hewitt
git-svn-id: svn://10.0.0.236/trunk@89469 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:05:39 +00:00
gordon%netscape.com
974d4f61ac Fix bug 29338 "PR_Poll should not poll (spin) on Mac". Checking in for sfraser. r=dougt, sdagley, gordon, sr=sfraser, or vice versa.
git-svn-id: svn://10.0.0.236/trunk@89468 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 07:02:53 +00:00
gordon%netscape.com
2eb8d6b1bb fix for bug 29338 "PR_Poll should not poll (spin) on Mac". Checking in for sfraser. r=dougt, gordon, sdagley sr=sfraser or vice versa.
git-svn-id: svn://10.0.0.236/trunk@89467 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:58:56 +00:00
hewitt%netscape.com
4d8efce5b9 65969 - classic sidebar tab cropping problem, r=andreww/blake, sr=ben
git-svn-id: svn://10.0.0.236/trunk@89466 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:49:46 +00:00
mkaply%us.ibm.com
68ddfae414 #71632
r=pavlov, a=blizzard
Make OS/2 widget a real XPCOM component


git-svn-id: svn://10.0.0.236/trunk@89465 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:49:30 +00:00
hewitt%netscape.com
acf2ec7b39 71460 - button focus flaws, r=andreww, sr=ben
git-svn-id: svn://10.0.0.236/trunk@89464 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:48:49 +00:00
hewitt%netscape.com
bb3242275a 71738 - repair weekend regressions, r=timeless, sr=ben
git-svn-id: svn://10.0.0.236/trunk@89463 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:46:53 +00:00
karnaze%netscape.com
c76866e3ea table reflow coalescing, table reflow face lift. sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89462 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:38:59 +00:00
maolson%earthlink.net
456461efac fix bug 71695 - Buttons on delete profile dialog - all include 'yah'
r=timeless, a=ben


git-svn-id: svn://10.0.0.236/trunk@89461 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:35:49 +00:00
chak%netscape.com
142608a6a8 Last Fix for #68720 - EmbedAPI should use generic startup observers
r=ccarlen,sr=alecf


git-svn-id: svn://10.0.0.236/trunk@89460 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:35:48 +00:00
chak%netscape.com
cc9b998e09 Remaining Fixes for #68720 - EmbedAPI should use generic startup observers
r=ccarlen,sr=alecf


git-svn-id: svn://10.0.0.236/trunk@89459 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:29:32 +00:00
chak%netscape.com
f77098da23 Fix for #71684 - Unable to copy/paste in mfcEmbed's url bar
r=chak


git-svn-id: svn://10.0.0.236/trunk@89458 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:28:44 +00:00
ccarlen%netscape.com
705f74a8c2 Bug 68720. Checking in Mac files for chak@netscape.com. r=ccarlen@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89457 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:28:03 +00:00
chak%netscape.com
b7352c67ad Fix for #70988 and #71013 - Include cookie library with embed builds
r=adamlock


git-svn-id: svn://10.0.0.236/trunk@89456 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:25:33 +00:00
cls%seawood.org
7fc5c5f225 Add NULL check to fix crashing gtkEmbed problem
git-svn-id: svn://10.0.0.236/trunk@89455 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:23:09 +00:00
alecf%netscape.com
b1a8b670c1 fix for 71511 - clean up nsIGlobalHistory even further by refactoring setTitle i
nto nsIBrowserHistory, cleaning up extra addPage() parameters, and fixing all co
nsumers
r=valeski, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@89454 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:19:40 +00:00
maolson%earthlink.net
d9848b0a69 fix bug 53688 - javascript strict warnings in autocomplete.xml
r=timeless, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@89453 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:17:22 +00:00
cls%seawood.org
896e8341a3 Use old-fashion cast as HP-UX compiler complains about doing a static_cast on a non c++ class type.
git-svn-id: svn://10.0.0.236/trunk@89452 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:14:48 +00:00
leaf%mozilla.org
448e9e495e Automated update
git-svn-id: svn://10.0.0.236/trunk@89451 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:00:11 +00:00
cls%seawood.org
0cc86dfb8a Add check for -lbind on BeOS.
Thanks to maz@albany.net (Matthew Zahorik) for the patch.
Bug #71701 r=cls


git-svn-id: svn://10.0.0.236/trunk@89450 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 05:50:16 +00:00
endico%mozilla.org
fe23ab43f7 add modules for webtools, bugzila, lxr, bonsai, tinderbox
git-svn-id: svn://10.0.0.236/trunk@89449 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 05:44:37 +00:00
bryner%uiuc.edu
2e443d3257 Fixing typo in valeski's checkin (build bustage in LDAP). sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@89448 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 05:18:55 +00:00
bernd.mielke%snafu.de
a7ee7087cd fix regression - bug 42443, overspecified columns should distribute their
space only to well behaving columns, r= karnaze sr= attinasi


git-svn-id: svn://10.0.0.236/trunk@89447 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 05:10:17 +00:00
beard%netscape.com
9b6e351229 [not part of build] Implements poor man's eviction policy.
git-svn-id: svn://10.0.0.236/trunk@89446 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 04:54:14 +00:00
beard%netscape.com
d7e78b06d3 [not part of build] Use forward references whenever possible.
git-svn-id: svn://10.0.0.236/trunk@89445 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 04:53:46 +00:00
timeless%mac.com
3427953182 fix Bug 49727 Grammar incorrect in alert message when deleting mail folder
r=naving, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@89444 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 04:45:52 +00:00
rods%netscape.com
1eb8c80ccd to fix bustage
git-svn-id: svn://10.0.0.236/trunk@89443 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 04:21:31 +00:00
hyatt%netscape.com
7e73620690 Forgot this file in my checkin.
git-svn-id: svn://10.0.0.236/trunk@89442 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 04:17:20 +00:00
cls%seawood.org
177649928b *sigh* bsdi complains when you split up the tar options so keep them all together.
git-svn-id: svn://10.0.0.236/trunk@89441 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 03:45:26 +00:00
timeless%mac.com
c223d95012 change for Bug 71416 Checkbox "Send this email adress ... FTP password" and edit field belong together
patch by bzbarsky@mit.edu r=db48x@yahoo.com,zach a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@89440 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 03:38:50 +00:00
markh%activestate.com
d77a9731e4 Forgot to check this in as part of bug 14368. r=dean_tessman and sr=hyatt
from that bug still apply.


git-svn-id: svn://10.0.0.236/trunk@89439 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 03:27:15 +00:00
anthonyd%netscape.com
9ce7243134 bug fix for 67985 - needed methods for nsEditor impl
r=jfrancis
sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@89436 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:48:17 +00:00
hyatt%netscape.com
7eeaba98a2 Fix for 70704 and 71261. r=pierre, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89435 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:34:02 +00:00
pschwartau%netscape.com
04cdec2bfe Fixing minor error in one path; and fixing whitespace.
git-svn-id: svn://10.0.0.236/trunk@89434 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:28:04 +00:00
jst%netscape.com
879f878ec0 Checking in some code cleanup in preparation for my next checkin to this file (a fix for bug 70170). r=pollmann@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89433 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:27:25 +00:00
darin%netscape.com
f76ebfdd03 [not part of the build] Added a new interface to replace nsIStreamAsFile
for use with the new cache.


git-svn-id: svn://10.0.0.236/trunk@89432 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:24:12 +00:00
cls%seawood.org
c65ebbd55d Fix line ending problems caused by using inferior platforms to checkin. Working on Irix bustage
git-svn-id: svn://10.0.0.236/trunk@89431 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:20:55 +00:00
stephend%netscape.com
45f7825dee Backing out my changes for bug 71612 to meet the Netscape contributer tree requirements
git-svn-id: svn://10.0.0.236/trunk@89429 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:13:38 +00:00
pavlov%netscape.com
e62706b8e3 fixing non-windows image copying
git-svn-id: svn://10.0.0.236/trunk@89428 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:13:25 +00:00
pinkerton%netscape.com
9f4f3e337c use nsXPIDLCString to avoid the memory leak when getting a flavor out of our nsISupportsString wrappers. r=jag/sr=sfraser. bug# 71563
git-svn-id: svn://10.0.0.236/trunk@89427 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:13:20 +00:00
pinkerton%netscape.com
bd83caaf6b making iid's and cid's unique. r=saari/sr=sfraser. bug# 71722
git-svn-id: svn://10.0.0.236/trunk@89426 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:12:00 +00:00
pschwartau%netscape.com
a06507b683 Put js1_5/Regress/regress-68498-003.js on Rhino skip list. Rhino does not support indirect eval.
git-svn-id: svn://10.0.0.236/trunk@89425 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:10:47 +00:00
pavlov%netscape.com
f567227b9a adding imgContainer to the unix build
git-svn-id: svn://10.0.0.236/trunk@89424 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:10:09 +00:00
pschwartau%netscape.com
2db55a3d0f Rhino doesn't implement toSource(). Adding js1_5\Regress\regress-44009.js to skip list -
git-svn-id: svn://10.0.0.236/trunk@89423 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:02:32 +00:00
valeski%netscape.com
65ad2bc732 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api
git-svn-id: svn://10.0.0.236/trunk@89422 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:02:05 +00:00
valeski%netscape.com
3dcd14eede sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api. and changing existing implementations over to new api. also modified nsHTTP and nsHTTPS handlers a bit to make things cleaner.
git-svn-id: svn://10.0.0.236/trunk@89421 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:01:07 +00:00
beard%netscape.com
0cea9abfef [not part of build] Use nsIObserverService to shut down cache before XPCOM is shut down. r=gordon
git-svn-id: svn://10.0.0.236/trunk@89420 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:59:43 +00:00
valeski%netscape.com
d20c366089 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api. and changing existing implementations over to new api
git-svn-id: svn://10.0.0.236/trunk@89419 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:59:19 +00:00
rods%netscape.com
be719273bd Enabling the Display of leaf frame reflow counts
Bug 71514 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89418 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:53:45 +00:00
rods%netscape.com
793e57b78c Display frame reflow counts (turned via config file define)
Bug 71514 r=kmclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89416 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:47:22 +00:00
stephend%netscape.com
77c3f1f44c Fix for bug 71612 Tooltips for browser grippies r=timeless@mac.com sr=hewitt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89415 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:47:09 +00:00
pschwartau%netscape.com
f59e5217f9 Initial add. This is Norris' testcase from bug 56883.
git-svn-id: svn://10.0.0.236/trunk@89414 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:23:34 +00:00
pavlov%netscape.com
7e5db8bf4d fix an error case with jpegs
git-svn-id: svn://10.0.0.236/trunk@89413 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:18:04 +00:00
disttsc%bart.nl
25c5a6f79f Fix MOZ_TRACK_MODULE_DEPS builds (like senna) bustage, adding webbrwsr to REQUIRES. r=cls
git-svn-id: svn://10.0.0.236/trunk@89412 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:12:33 +00:00
disttsc%bart.nl
d99681ec70 Fix MOZ_TRACK_MODULE_DEPS builds (like senna) bustage, adding mozbrwsr to REQUIRES. r=cls
git-svn-id: svn://10.0.0.236/trunk@89411 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 01:10:08 +00:00
blizzard%redhat.com
daebc3e984 try to fix it harder
git-svn-id: svn://10.0.0.236/trunk@89405 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 00:42:07 +00:00
blizzard%redhat.com
8040b120b6 try to fix mac + windows bustage
git-svn-id: svn://10.0.0.236/trunk@89404 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 00:36:54 +00:00
javi%netscape.com
b8e237f427 Make the Mac build PSM 2.0 again.
git-svn-id: svn://10.0.0.236/trunk@89403 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 00:22:26 +00:00
relyea%netscape.com
332b74b47c DES key gens need to fall through to set the rest of their attributes
(remove spurious break). S/MIME should function again after this.


git-svn-id: svn://10.0.0.236/trunk@89401 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 00:04:51 +00:00
javi%netscape.com
4c0b23b4b3 Pass interfaces to certs to the SSL dialogs through the new
nsIPKIParamBlock interface.

Clean up some inconsistencies in nsPKIParamBlock implementation.


git-svn-id: svn://10.0.0.236/trunk@89400 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 23:59:48 +00:00
blizzard%redhat.com
dd94b87174 Bug #67370. Better interleaving of xlib + plevents. r=danm sr=shaver
git-svn-id: svn://10.0.0.236/trunk@89399 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 23:57:18 +00:00
javi%netscape.com
f7e86895f8 Add the ref in the same method that release the reference.
Avoids leaking nsNSSCertificate classes in cases where multiple errors
are found with a cert.


git-svn-id: svn://10.0.0.236/trunk@89398 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 23:47:21 +00:00
dougt%netscape.com
45b139e1bc Adding two idls to be exported.
git-svn-id: svn://10.0.0.236/trunk@89397 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 23:45:48 +00:00
dougt%netscape.com
1ce8cf63f4 Fixing line endings
git-svn-id: svn://10.0.0.236/trunk@89396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 23:31:46 +00:00
mcafee%netscape.com
d4e0adaf51 Moving some oncommand handlers outside of <template> constructs to avoid extra nsEventListenerManager creation (68074). sr=alecf
git-svn-id: svn://10.0.0.236/trunk@89395 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 23:30:29 +00:00
cmanske%netscape.com
2c8efd545a Part of fix to spell checker bug 70413, r=timeless, sr=kin
git-svn-id: svn://10.0.0.236/trunk@89394 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 23:29:16 +00:00
cmanske%netscape.com
b833615a1e Fixed access to Dictionary dialog - always launch Spell Checker dialog. b=70413, r=timeless, sr=kin
git-svn-id: svn://10.0.0.236/trunk@89393 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 23:29:07 +00:00
disttsc%bart.nl
93fea92a19 Part of string clean-up bug 70143, move last three #includes of "nsString2.h" over to "nsString.h". r=bryner, sr=scc
git-svn-id: svn://10.0.0.236/trunk@89392 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 23:17:18 +00:00
cmanske%netscape.com
ac20cd3d2b Fixed missing Spell Checker button image, b=71589, r=hewitt, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@89391 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 23:16:36 +00:00
danm%netscape.com
312fcd0721 Removing IsModal,ShowModal,ExitModalLoop methods from nsIDocShellTreeOwner. General API cleanup. bug 70481 r=ccarlen,hyatt,vidur
git-svn-id: svn://10.0.0.236/trunk@89388 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 23:08:55 +00:00
danm%netscape.com
ac231cfe65 Removing IsModal,ShowModal,ExitModalLoop methods from nsIDocShellTreeOwner. General API cleanup. bug 70481 r=ccarlen,hyatt
git-svn-id: svn://10.0.0.236/trunk@89387 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 23:08:29 +00:00
andreww%netscape.com
4b7a1d9ca8 bugzilla bug # 60552 r=timeless, sr=hewitt - fixing random widths on toolbar buttons in mac classic skin.
git-svn-id: svn://10.0.0.236/trunk@89386 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:57:35 +00:00
dougt%netscape.com
f7959f57fb Adds a '..' to children directories. r=dougt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89385 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:57:34 +00:00
chak%netscape.com
fbb67e22fc Partial fix for Bug# 68720 - nsEmbedAPI.cpp should use generic startup
Not Part of the build yet - checking in new files to the project
r=ccarlen,sr=alecf


git-svn-id: svn://10.0.0.236/trunk@89384 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:52:28 +00:00
nhotta%netscape.com
658e362eb3 Removed the line to replace '|' with ':' since that's already replaced in the string
and it replaces partial characters in multi-byte characters, bug 68993, r=ducarroz, sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@89383 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:50:34 +00:00
naving%netscape.com
ace36dc643 #69862, r=bienvenu sr=scc. Close the stream in the destructor.
git-svn-id: svn://10.0.0.236/trunk@89382 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:46:41 +00:00
dougt%netscape.com
21d58a800d Adding Two IDL files to project file. Minor Necko build change per API review. r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89381 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:41:47 +00:00
dougt%netscape.com
21f01836f0 Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89380 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:41:28 +00:00
attinasi%netscape.com
9fd869c744 Fixes text-indent for DD in quirks mode. Patch provided by fantasai, b=5119, r=attinasi,hixie sr=shaver
git-svn-id: svn://10.0.0.236/trunk@89379 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:36:11 +00:00
endico%mozilla.org
575073abd0 Checking in Jake's <jake@acutex.net> interim patches from bug 30694. Bugzilla was showing bug summaries to everyone, even if they didn't have permission to view the bug. Jake's quick solution is to not display the bug at all if it is in a group no matter who is viewing it. The correct solution would be display the summary if the viewer had the proper permissions.
git-svn-id: svn://10.0.0.236/trunk@89378 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:35:51 +00:00
ftang%netscape.com
f8c9c5ef13 fix 61803. change the transliteration table so we will map some space or dash character to space and dash
r=nhotta sr=erik


git-svn-id: svn://10.0.0.236/trunk@89377 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:35:00 +00:00
ftang%netscape.com
f76bb0d09f fix 71419. r=bstell sr=erik. fix the mapping so now we won't map
30-39 to U+660-U+669


git-svn-id: svn://10.0.0.236/trunk@89376 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:33:34 +00:00
ftang%netscape.com
f6b02d4965 fix 17962. remap 4 entryies adobe symbol font to display lcell, rcell, lfloor and rflorr in HTML4
r=bstell sr=erik


git-svn-id: svn://10.0.0.236/trunk@89375 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:30:30 +00:00
leaf%mozilla.org
aa63f2fedb Automated update
git-svn-id: svn://10.0.0.236/trunk@89374 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:30:07 +00:00
cls%seawood.org
dfbeb0635c Add check for gcc -pipe support. Also test to make sure that AS accepts input on stdin.
Bug #63610 r=dbaron


git-svn-id: svn://10.0.0.236/trunk@89372 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:28:27 +00:00
ftang%netscape.com
6d965a0b99 fix bug 71274. r=nhotta sr=jst
remove bad code which may cause crash
work around the condition which will case IME crash on Mac when Mac cabonalized MSL does not comfirm to
ISO C++ standard and return null when ask for new xxx[0];


git-svn-id: svn://10.0.0.236/trunk@89371 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:26:58 +00:00
erik%netscape.com
5dd07463c3 bug 71354; author=simon@softel.co.il; r=karnaze; sr=attinasi; changes for
table related files from IBM bidi project


git-svn-id: svn://10.0.0.236/trunk@89370 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:25:55 +00:00
nelsonb%netscape.com
bb3401a5bf Makefiles to build mozilla/dbm sources with coreconf in
mozilla/security/dbm/.


git-svn-id: svn://10.0.0.236/trunk@89369 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 22:06:14 +00:00
pschwartau%netscape.com
355c40b48e Rhino doesn't allow indirect calls to eval; adding such tests to the Rhino skip list -
git-svn-id: svn://10.0.0.236/trunk@89363 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 21:09:14 +00:00
shaver%mozilla.org
823ae8572c 67699: all your nsIClassInfo is belong to us
- teach nsGenericFactory about nsIClassInfo, and nsIClassInfo.idl to the
  builds
- add a heaping serving of macro love for classes that want to support it
- convert many modules to use nsGenericModule the new way
- handful of warning and modeline fixes
- nsSample and some XPConnect test classes now have nsIClassInfo support for
  testing


git-svn-id: svn://10.0.0.236/trunk@89354 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 20:43:02 +00:00
kestes%tradinglinx.com
3b60ed87ef forgot to delete unused function from last major rewrite.
git-svn-id: svn://10.0.0.236/trunk@89353 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 19:46:21 +00:00
beard%netscape.com
861b55468f [not part of build] scan disk cache directory during initialization, to total cache usage, and implement poor man's eviction policy (once at startup/shutdown).
git-svn-id: svn://10.0.0.236/trunk@89351 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 19:31:21 +00:00
beard%netscape.com
c988276211 [not part of build] Mark entry dirty when data size is changed.
git-svn-id: svn://10.0.0.236/trunk@89350 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 19:29:34 +00:00
maolson%earthlink.net
3330e5cde0 fix blocker 71688 r=jag a=ben. incidentally, I suck.
git-svn-id: svn://10.0.0.236/trunk@89349 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 19:06:09 +00:00
nboyd%atg.com
21de161dcc Print name of function in toString
git-svn-id: svn://10.0.0.236/trunk@89348 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 19:05:36 +00:00
idk%eng.sun.com
3a9dfe353b *not part of tbox builds*
fixed build problem on windows


git-svn-id: svn://10.0.0.236/trunk@89347 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 19:01:19 +00:00
cls%seawood.org
7ba72438e6 Update embedding package list to contain renamed img libs (from bug 57247)
Bug #71692 sr=leaf


git-svn-id: svn://10.0.0.236/trunk@89345 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 18:13:56 +00:00
nboyd%atg.com
be94c40528 Infinity/Math.min(0,-0) should produce -Infinity
git-svn-id: svn://10.0.0.236/trunk@89343 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 16:53:02 +00:00
beard%netscape.com
fabf11af4c [not part of build] wrapped test case in test function.
git-svn-id: svn://10.0.0.236/trunk@89342 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 15:36:51 +00:00
beard%netscape.com
81b13e8fa6 [not part of build] Tests simultatenous writing of two cache entries which collide (same hash code).
git-svn-id: svn://10.0.0.236/trunk@89341 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 15:35:55 +00:00
dcone%netscape.com
9797d08dd4 Fixed page counting. r=kmmclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89340 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 15:06:33 +00:00
nboyd%atg.com
4dbc99eb01 Close thread hazard hole.
git-svn-id: svn://10.0.0.236/trunk@89339 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 14:55:47 +00:00
cls%seawood.org
f4c1402c80 Use proper dereference flag for BSDI tar
git-svn-id: svn://10.0.0.236/trunk@89338 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 10:37:19 +00:00
darin%netscape.com
5d0aa6de06 [not part of the build] Fixed up HTTP cache validation for use with new cache.
git-svn-id: svn://10.0.0.236/trunk@89337 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 10:36:20 +00:00
markh%activestate.com
eae5ffc4c5 Fix to bug 14368 - Win32 - F10 key does not activate the menu bar.
r=dean_tessman@hotmail.com, sr=hyatt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@89336 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 09:53:33 +00:00
cls%seawood.org
7a49f5e17b Properly link the xprint component lib with the usual component dep libs.
Bug #69362


git-svn-id: svn://10.0.0.236/trunk@89335 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 09:33:56 +00:00
Peter.VanderBeken%pandora.be
ac305714e5 Enable building Transformiix on Windows too (when MOZ_XSL is set). r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@89334 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 07:55:17 +00:00
maolson%earthlink.net
fa0a0e599a profile manager portion of bug 56680 - use a xul <stringbundle/> instead of including the strres.js code (first pass)
r=timeless, a=ben via irc


git-svn-id: svn://10.0.0.236/trunk@89333 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 07:39:50 +00:00
nisheeth%netscape.com
3109097aaa Null check for mPresContext which fixes crash in bug 57597. r=joki. sr=jst. More work needs to be done on the bug in the 7.0 timeframe to fix load event propagation across documents that do not have presentation contexts.
git-svn-id: svn://10.0.0.236/trunk@89332 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 07:26:46 +00:00
darin%netscape.com
7dfcc23627 [not part of the build] Replaced instances of cache manager with cache service
in comments.


git-svn-id: svn://10.0.0.236/trunk@89331 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 07:09:24 +00:00
Peter.VanderBeken%pandora.be
275b883c56 Expose Reset from nsIDocument.
r=jag, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@89330 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:39:27 +00:00
Peter.VanderBeken%pandora.be
6a5a4155a6 Expose Reset from nsIDocument and handle channel and/or URL being nsnull.
r=jag, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@89329 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:38:39 +00:00
Peter.VanderBeken%pandora.be
8870a5780e Expose Reset from nsIDocument.
Implement CreateAttributeNS for XML documents.
r=jag, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@89328 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:36:20 +00:00
Peter.VanderBeken%pandora.be
67273ad638 Add LoadComplete call for result of an XSLT transform, switch source document and result document before the transform, fix crash when transform fails (bug 67066). r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@89327 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:34:40 +00:00
Peter.VanderBeken%pandora.be
05a17f26e5 Adding EndLoad call for the stylesheet when doing an XSLT transform. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@89326 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:30:38 +00:00
darin%netscape.com
6d9fdf255f [not part of the build] Replaced -1's in calls to Open{In,Out}putStream with ULONG_MAX.
git-svn-id: svn://10.0.0.236/trunk@89325 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:25:26 +00:00
darin%netscape.com
1af6095baa [not part of the build] Updated some comments.
git-svn-id: svn://10.0.0.236/trunk@89324 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:23:52 +00:00
mkaply%us.ibm.com
d5cd4c7771 #71558
No r= (will be OS/2 bustage)
Add HAS_EXTRAEXPORTS hack for now until we find out if IS_COMPONENT should be here


git-svn-id: svn://10.0.0.236/trunk@89323 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 05:47:26 +00:00
varada%netscape.com
8d1ce69208 fixes for bugs# 70615 70626;r=ducarroz;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@89322 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 05:30:11 +00:00
mkaply%us.ibm.com
427df43e15 No bug
r=mkaply, a=blizzard
Code from dainis - more gfx cleanup


git-svn-id: svn://10.0.0.236/trunk@89321 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 05:26:23 +00:00
maolson%earthlink.net
519009392c fix bug 70655 - View Image in message context menu doesn't work
r=jag, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@89320 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 05:13:12 +00:00
maolson%earthlink.net
d10fe71173 fix bug 70652 - No Save Image in message context menu.
r=jag, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@89319 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 05:10:52 +00:00
timeless%mac.com
effb3a3ab7 for Bug 39621 Need to turn on nsViewManager by default
add ifdef DEBUG
r=kmcclusk@netscape.com, sr=roc+moz@cs.cmu.edu


git-svn-id: svn://10.0.0.236/trunk@89318 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 04:48:26 +00:00
kmcclusk%netscape.com
c3861b69ee Rewrote nsContainerFrame::PositionChildViews to use the view tree instead of doing a recursive walk of the frame tree. Should improve page load performance bug 70211 r=attinasi@netscape.com sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89317 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 04:19:10 +00:00
mkaply%us.ibm.com
1c58e653d8 #71558
r=cls
from achim - Don't export every symbol for XPCOM components - nice build/performance fix


git-svn-id: svn://10.0.0.236/trunk@89314 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 03:33:50 +00:00
hewitt%netscape.com
d3a041b7a9 71506 - mail header text, menubutton alignment, r=andreww, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@89312 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 02:54:08 +00:00
disttsc%bart.nl
ba538282fe Adding a .get() to a NS_LITERAL_STRING to fix bustage. r=peterv
git-svn-id: svn://10.0.0.236/trunk@89310 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 02:50:45 +00:00
av%netscape.com
a93891b60e Fixing #45009 -- nsIPlugin::Shutdown mechanism implemented, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@89308 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 02:07:15 +00:00
sgehani%netscape.com
2d9ecf4cc6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@89307 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 22:56:53 +00:00
sgehani%netscape.com
48744b3ca6 Removing libs checked in as binary so we can re-add in AppleSingle encoding.
git-svn-id: svn://10.0.0.236/trunk@89306 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 22:55:36 +00:00
sgehani%netscape.com
22e6ff4c0c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@89305 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 22:48:35 +00:00
ccarlen%netscape.com
2619e82136 Along with bug 65212 - removing unnescesary dependencies on profile. r=valeski@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89304 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 22:15:22 +00:00
ccarlen%netscape.com
f3010d0d9b Bug 65212 - profile support for kiosk mode. Also, removing profile change observer strings from header to cut dependencies. r=valeski@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89303 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 22:12:21 +00:00
darin%netscape.com
f35552ef5b Fixes bug 71495. Landings to necko cause PSM 2.0 to not work. r=bryner, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@89302 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 21:11:47 +00:00
harishd%netscape.com
3d56080aec Correcting indentation.
git-svn-id: svn://10.0.0.236/trunk@89301 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 21:07:33 +00:00
harishd%netscape.com
8ce4c74473 Indendation got messed up...somehow! CORRECTING.
git-svn-id: svn://10.0.0.236/trunk@89300 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 21:03:08 +00:00
harishd%netscape.com
f755934606 69826 - Flush conten model to access named items
Fixed an assertion.
Added a few more properties for getComputedStyle and did some clean up.
r=heikki, sr=jst


git-svn-id: svn://10.0.0.236/trunk@89299 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 20:47:06 +00:00
dmose%mozilla.org
63ed571575 Fixed bug 71600: mail would be sent about a given bug iff all flags for stuff changed in a given group were set. Should have sent mail if any flags for stuff changed in a given group were set. r=dave@intrec.com,endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@89298 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 20:08:28 +00:00
beard%netscape.com
311a9f92d6 [not part of build] Turned off some benign failure assertions.
git-svn-id: svn://10.0.0.236/trunk@89296 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 19:26:04 +00:00
beard%netscape.com
86bb9e5a02 [not part of build] Update visitEntries to correctly identify metadata files.
git-svn-id: svn://10.0.0.236/trunk@89295 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 19:18:48 +00:00
hwaara%chello.se
9e4b1f9903 Fix "[Modern] menubuttons looks awful" - bug 71622
r=walk84@usa.net, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@89294 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 19:07:49 +00:00
chak%netscape.com
57bd7f9716 Fix for Bug#71628 - MfcEmbed needs to persist the url list
r=chak


git-svn-id: svn://10.0.0.236/trunk@89293 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 19:03:40 +00:00
dave%intrec.com
6e429169a6 Fix for bug 71606: Duplicates not getting marked in comments which bug they're a dupe of.
git-svn-id: svn://10.0.0.236/trunk@89292 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 18:54:05 +00:00
dbaron%fas.harvard.edu
5c0c586179 Add #ifdef-ed code that allows us to run with the G++ V3 ABI, where the address point of the virtual table is not at the beginning of the virtual table. r=jband@netscape.com sr=shaver@mozilla.org b=63604
git-svn-id: svn://10.0.0.236/trunk@89291 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 18:16:16 +00:00
leaf%mozilla.org
74e1d8d348 Automated update
git-svn-id: svn://10.0.0.236/trunk@89290 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 18:15:08 +00:00
dbaron%fas.harvard.edu
962e46889a Include iomanip.h because we need the |using std::hex| and |using std::dec| from it to build with libstdc++ 3.0. b=63604 r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@89289 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 18:10:58 +00:00
dbaron%fas.harvard.edu
19038b7a8f Do test for field names in utsname structure in C++ rather than C to work around bug in g++ 3.0 prerelease that makes the names different in C and C++ (we only use the result in C++). r=cls@seawood.org b=63604
git-svn-id: svn://10.0.0.236/trunk@89288 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 18:09:12 +00:00
darin%netscape.com
f47757388e Adding comment line.
git-svn-id: svn://10.0.0.236/trunk@89287 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 18:07:01 +00:00
shaver%mozilla.org
c82b0431d6 61743: add and fix NetBSD stubs (patch from martin@NetBSD.ORG)
git-svn-id: svn://10.0.0.236/trunk@89286 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 17:22:25 +00:00
shaver%mozilla.org
680f9254b3 31847: Need to solve problem of JS roots for event handler funcs
Fix from brendan, r=dbaron, sr=shaver.


git-svn-id: svn://10.0.0.236/trunk@89285 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 17:11:11 +00:00
rods%netscape.com
7c04a2478c Fixing height of btns and btn in file input in strict mode
Bug 67207 r=kmcclusk a=attinasi


git-svn-id: svn://10.0.0.236/trunk@89284 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 13:26:55 +00:00
timeless%mac.com
2021b65561 fix Bug 65428 language="javascript" should be type="application/x-javascript"
r=kerz a=ben


git-svn-id: svn://10.0.0.236/trunk@89282 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 12:17:34 +00:00
cls%seawood.org
ba80b6bdfd Irix requires the -f option when stripping non-executables.
git-svn-id: svn://10.0.0.236/trunk@89281 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 11:27:29 +00:00
ben%netscape.com
b61c186f3c remove unused files
git-svn-id: svn://10.0.0.236/trunk@89276 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 09:52:11 +00:00
ben%netscape.com
c858cc077e remove unused files.
git-svn-id: svn://10.0.0.236/trunk@89275 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 09:51:35 +00:00
ben%netscape.com
e45d785f2d Fix warnings so I can see what's in shrike's error log
git-svn-id: svn://10.0.0.236/trunk@89274 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 09:45:20 +00:00
attinasi%netscape.com
4df5564876 Backed out last night's changes due to regression that exposed a fatal flaw in the idea of the fix. r=71561
git-svn-id: svn://10.0.0.236/trunk@89273 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 07:54:00 +00:00
ben%netscape.com
5452b58393 Fixes for numerous bookmarks bugs, e.g. 68496, 50276, 68395, 68537, 68545,
68985, various hangs, crashes, glitches etc. 68545, 68985, 68395 r=jag;
Implement new bookmarks sidebar panel. a=hyatt.
Bookmarks CSS file organization, a=hewitt


git-svn-id: svn://10.0.0.236/trunk@89272 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 07:38:42 +00:00
ben%netscape.com
bf0bb164b4 Fixes for numerous bookmarks bugs, e.g. 68496, 50276, 68395, 68537, 68545,
68985, various hangs, crashes, glitches etc. 68545, 68985, 68395 r=jag;
Implement new bookmarks sidebar panel. a=hyatt


git-svn-id: svn://10.0.0.236/trunk@89270 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 07:32:24 +00:00
ben%netscape.com
d3ba25399c Fixes for numerous bookmarks bugs, e.g. 68496, 50276, 68395, 68537, 68545,
68985, various hangs, crashes, glitches etc. 68545, 68985, 68395 r=jag;
Implement new bookmarks sidebar panel. a=hyatt.
Make navigator use hbox/vbox too.


git-svn-id: svn://10.0.0.236/trunk@89269 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 07:30:02 +00:00
beard%netscape.com
957b461b8d [not part of build] Fix incorrect usage of PR_APPEND_LINK() to keep from corrupting the list of doomed DiskCacheEntry object. (thanks gordon)
git-svn-id: svn://10.0.0.236/trunk@89268 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 06:51:53 +00:00
pschwartau%netscape.com
418bbe01db Initial add of WINNT5.0.mk file (bug 71543). Copied from WINNT4.0.mk.
git-svn-id: svn://10.0.0.236/trunk@89266 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 04:59:23 +00:00
brendan%mozilla.org
3c279196d4 Fix js_LookupProperty to resolve iff the resolved-in object owns its own scope (jband private bug, r=jband, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@89265 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 02:35:10 +00:00
scc%mozilla.org
3b8921ebb9 bug #64592: r=waterson, sr=vidur. Fix |nsCRT::HashCode| and |nsCRT::BufferHashCode| to use a better hash (in this case, the same scheme as |PL_HashString|).
git-svn-id: svn://10.0.0.236/trunk@89264 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 02:15:36 +00:00
dbaron%fas.harvard.edu
5a2b19e57c Allow new cache to be built with MOZ_TRACK_MODULE_DEPS. r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@89263 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 02:02:25 +00:00
dave%intrec.com
a37c952cf0 Fix for bug 7873: Duplicate marking now happens AFTER privs are checked to make sure a) the user is allowed to dupe it, and b) the change hasn't caused a midair collision.
git-svn-id: svn://10.0.0.236/trunk@89261 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 00:53:22 +00:00
beard%netscape.com
eee8a212e4 [not part of build] Stopped reusing nsITransports, seems to improve stability. Implemented collision detection of cache entries, using generations and renaming upon entry deactivation.
git-svn-id: svn://10.0.0.236/trunk@89257 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 00:19:09 +00:00
pavlov%netscape.com
2ff5b4c4e4 make images draw right side up on windows
git-svn-id: svn://10.0.0.236/trunk@89256 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 00:16:44 +00:00
pavlov%netscape.com
bdcbb02dad fixing alpha problem on windoze
git-svn-id: svn://10.0.0.236/trunk@89254 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 22:12:40 +00:00
dave%intrec.com
3b13ee4bac Attempted fix for bug 71574: footer anomoly cleanup
git-svn-id: svn://10.0.0.236/trunk@89253 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 22:06:57 +00:00
Peter.VanderBeken%pandora.be
328e0907f9 Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@89252 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 21:02:12 +00:00
varga%utcru.sk
17518d15d1 Fix obj dir build with --enable-lea
r=kandrot sr=waterson


git-svn-id: svn://10.0.0.236/trunk@89251 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 19:32:34 +00:00
valeski%netscape.com
bc74815669 sr=alecf. 71086. removing manual stream converter chaining in favor of the automatic chaining that the stream converter service supports.
git-svn-id: svn://10.0.0.236/trunk@89250 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 18:19:57 +00:00
valeski%netscape.com
48a5cb7a21 r=blizzard, sr=alecf. 71258. we were returning the wrong end of the converter list. also updating the test converter to be a little smarter.
git-svn-id: svn://10.0.0.236/trunk@89249 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 18:18:36 +00:00
mkaply%us.ibm.com
bc89a5d9bb OS/2 TB break
don't filter getcanvas when filtering getc


git-svn-id: svn://10.0.0.236/trunk@89248 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 17:52:05 +00:00
cls%seawood.org
b451891f74 Bleh. More dependencies
git-svn-id: svn://10.0.0.236/trunk@89247 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 14:36:17 +00:00
cls%seawood.org
a2beed761a Forgot that OS/2 linkers resolve all symbols at link time
git-svn-id: svn://10.0.0.236/trunk@89246 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 14:22:34 +00:00
cls%seawood.org
e27d9eb6e4 Do not force static lib only for mozmng for OS/2. This behavior matches the other imglibs and should fix tinderbox bustage.
git-svn-id: svn://10.0.0.236/trunk@89245 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 12:44:24 +00:00
nboyd%atg.com
5bd13e49c4 More changes from Igor.
git-svn-id: svn://10.0.0.236/trunk@89244 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 11:51:15 +00:00
nboyd%atg.com
3a2e50a63b Add method to set security support after creation.
git-svn-id: svn://10.0.0.236/trunk@89243 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 11:50:50 +00:00
disttsc%bart.nl
c3a3e99712 Work around the "Content doesn't show at random" and "Can't open link in new window sometimes" bugs. bug=67442, r=blake, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@89242 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 11:16:26 +00:00
darin%netscape.com
229827d070 Removed spurious MOZ_NEW_CACHE lines from Makefile.in
git-svn-id: svn://10.0.0.236/trunk@89241 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 09:38:28 +00:00
darin%netscape.com
fd58d9a2f0 Removed spurious MOZ_NEW_CACHE line from Makefile.in
git-svn-id: svn://10.0.0.236/trunk@89240 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 09:37:49 +00:00
darin%netscape.com
c768c22738 [not part of the build] Added initial about:cache implementation for new cache.
git-svn-id: svn://10.0.0.236/trunk@89239 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 09:35:44 +00:00
dave%intrec.com
35d715a1df Fixing broken OS detection code for Mac PPC
git-svn-id: svn://10.0.0.236/trunk@89238 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 08:56:23 +00:00
tor%cs.brown.edu
0587c6cdff Fix bustage with system installed mng. r=cls
git-svn-id: svn://10.0.0.236/trunk@89237 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 08:31:47 +00:00
nisheeth%netscape.com
3c4e66755e Made it so that expat defines abort() to nothing when it is compiled within Mozilla. r=peterv. sr=jst
git-svn-id: svn://10.0.0.236/trunk@89236 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 07:27:16 +00:00
endico%mozilla.org
2f2b2be1d7 backing out the changes to queries on CC since they broke normal cc queries in the standard email address box at the top of the page
git-svn-id: svn://10.0.0.236/trunk@89234 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 07:08:36 +00:00
gerv%gerv.net
852a37d3d1 Removed windows linefeeds.
git-svn-id: svn://10.0.0.236/trunk@89232 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 07:03:25 +00:00
attinasi%netscape.com
3cea127bcd Prevent text nodes from being passed to SelectorMatches to improve style resolution performance and ensure correctness. b=56117 r=pierre sr=waterson
git-svn-id: svn://10.0.0.236/trunk@89228 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 06:14:52 +00:00
cyeh%bluemartini.com
2cf75195a2 fix for "My Votes" floating in space like a disconnected astronaut
git-svn-id: svn://10.0.0.236/trunk@89227 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 05:52:54 +00:00
roc+%cs.cmu.edu
547e224e68 Ignore unreliable nsIWidget information and use the associated nsView data instead. Fixes bug 70446. r=kmcclusk,sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89226 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 05:33:38 +00:00
blakeross%telocity.com
b968759459 Fixing whitespace and indentation. No actual code changes.
git-svn-id: svn://10.0.0.236/trunk@89225 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 04:37:06 +00:00
gordon%netscape.com
bc24e08543 [not part of build] Header file for disk cache record structures.
git-svn-id: svn://10.0.0.236/trunk@89220 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:51:59 +00:00
dbaron%fas.harvard.edu
f86697e178 Fix font leaks caused by multiple calls to LoadFont. r=blizzard@mozilla.org b=71255 (xlib changes only)
git-svn-id: svn://10.0.0.236/trunk@89219 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:47:36 +00:00
dbaron%fas.harvard.edu
bce7ab5e16 Fix bug with menus that went away when they shouldn't by not calling SetFocus (which the comment said we shouldn't do anyway) and sending an NS_LOSTFOCUS event instead of NS_DEACTIVATE when losing focus, as the GTK port does. r=blizzard@mozilla.org b=64791 (xlib changes only)
git-svn-id: svn://10.0.0.236/trunk@89218 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:45:16 +00:00
dbaron%fas.harvard.edu
7f1ba25dd6 Change the system colors in xlib to more reasonable dummy values so that the classic skin looks better. In particular, fix the 3-D border colors, make -moz-field white, make things tend towards web-safe colors out of habit, and reindent the whole thing according to the modeline. r=blizzard@mozilla.org b=71133 (xlib port changes only)
git-svn-id: svn://10.0.0.236/trunk@89215 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:39:43 +00:00
dbaron%fas.harvard.edu
0f713ce386 Fix Boehm GC + MOZ_TRACK_MODULE_DEPS build bustage by adding boehm to REQUIRES. r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@89213 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:26:46 +00:00
dbaron%fas.harvard.edu
e870ee208d Fix Boehm GC + xmlterm build bustage with -lboehm since NSPR depends on boehm when using the Boehm GC. r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@89212 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:25:14 +00:00
dbaron%fas.harvard.edu
60b11a36cc Add string to REQUIRES to fix xlib + MOZ_TRACK_MODULE_DEPS build bustage. r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@89210 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:23:35 +00:00
dbaron%fas.harvard.edu
8eaf45f1c4 Move the destruction from the destructor into its |Destroy| method so that the document viewer is not prevented from being deleted by the cycles it would have broken in its destructor. (This has become necessary since the document viewer is being used from JS/XBL.) Use a null |mDocument| to record the destroyed state. r=disttsc@bart.nl sr=waterson@netscape.com b=61821
git-svn-id: svn://10.0.0.236/trunk@89208 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:19:36 +00:00
dbaron%fas.harvard.edu
6d4acf57fc Fix leak of global object in main mail window by breaking the nsXULElement -> nsXULControllers -> implementation of nsIControllers in JS -> global object -> document -> nsXULElement cycle when unrooting the nsXULElement's script object. r=waterson@netscape.com sr=hyatt@netscape.com b=56703
git-svn-id: svn://10.0.0.236/trunk@89207 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:18:33 +00:00
dbaron%fas.harvard.edu
a0bb9fe8fd Clean up string usage (including some leaks and FMMs) and use some nsCOMPtrs to fix leaks on failure in nsObjectFrame::Reflow. b=64209 r=av@netscape.com,disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89206 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:17:40 +00:00
dbaron%fas.harvard.edu
24d4a6bba6 Fix problems with 3-D colors in some GTK themes by calling gtk_widget_realize before getting the button and menu styles. r=bryner@netscape.com sr=blizzard@mozilla.org b=67448
git-svn-id: svn://10.0.0.236/trunk@89205 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:17:07 +00:00
dbaron%fas.harvard.edu
fd0a09b410 Fix user-agent for Windows NT versions above 5.0. b=62663 r=valeski@netscape.com sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89204 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:16:32 +00:00
dbaron%fas.harvard.edu
227ca3a4cb Fix disappearance of right scrollbar caused by lack of min-width on toolbar, statusbar, or menubar. r=andreww@netscape.com sr=hewitt@netscape.com b=55368
git-svn-id: svn://10.0.0.236/trunk@89203 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:16:10 +00:00
javi%netscape.com
9cc7d509f9 Create our param block that allows us to pass nsISupport references to
dialogs and clean up a little bit of the UI.


git-svn-id: svn://10.0.0.236/trunk@89202 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:09:20 +00:00
brendan%mozilla.org
a937ccd9e5 Spanked TraceMalloc docs using Mozilla composer (sorry for the cvsblame).
git-svn-id: svn://10.0.0.236/trunk@89201 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:08:55 +00:00
blakeross%telocity.com
c46632d25f My name is Blake and I'm an idiot.
git-svn-id: svn://10.0.0.236/trunk@89200 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 03:04:40 +00:00
javi%netscape.com
c3b6060ee3 Add mozilla/security/manager/pki/public/Makefiles to the list of
Makefiles generated for PSM 2.0
r=cls


git-svn-id: svn://10.0.0.236/trunk@89199 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 02:53:29 +00:00
javi%netscape.com
c4bfdcd4c8 Add our own param block that allows us to pass references to
XPCOM objects to dialogs.


git-svn-id: svn://10.0.0.236/trunk@89198 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 02:45:24 +00:00
maolson%earthlink.net
9a9631c26f vixen portion of bug 71023 - |getFormattedString| instead of |replace| for stringbundles
r=timeless, a=ben


git-svn-id: svn://10.0.0.236/trunk@89195 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 02:15:20 +00:00
waterson%netscape.com
03c14a0013 Bah! No fancy C++ casts for you.
git-svn-id: svn://10.0.0.236/trunk@89193 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 02:06:59 +00:00
javi%netscape.com
8c4f481f75 No longer need to special the DIST variable when MOZILLA_CLIENT is
defined.


git-svn-id: svn://10.0.0.236/trunk@89192 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:59:59 +00:00
nicolson%netscape.com
be306d6aff It needs to extend ServerSocket.
git-svn-id: svn://10.0.0.236/trunk@89191 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:56:57 +00:00
gerv%gerv.net
ff5fac19a9 Whitespace changes only; removing tabs and reformatting my changes to match the rest of the file. Long overdue.
git-svn-id: svn://10.0.0.236/trunk@89188 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:47:30 +00:00
hyatt%netscape.com
f64f449911 Fix for 71262 and 71485, r=jag, srs=shaver on 71262 and hewitt on 71485
git-svn-id: svn://10.0.0.236/trunk@89187 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:43:09 +00:00
relyea%netscape.com
2f5de8f58d CK_ULONG != unsigned int on 64 bit platforms. Fix the cast which was obviously
put in to remove a warning.

bug 70713


git-svn-id: svn://10.0.0.236/trunk@89186 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:35:17 +00:00
relyea%netscape.com
cba9172feb Fix AIX 64 bit tools failure. For some reason the 64 bit compilier didn't like
the massive switch statement. The new code is easier to read anyway now.
bug 70713


git-svn-id: svn://10.0.0.236/trunk@89185 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:34:08 +00:00
javi%netscape.com
16966cd143 Commiting a patch provided by Markus Holmberg for FreeBSD
git-svn-id: svn://10.0.0.236/trunk@89184 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:33:39 +00:00
blakeross%telocity.com
2ba6123367 Option click to save links on mac (55686). r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@89183 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:29:46 +00:00
nicolson%netscape.com
91f64c5918 Leave in MSVCRTD, because it breaks the build on Sonja's machine.
git-svn-id: svn://10.0.0.236/trunk@89182 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:21:39 +00:00
pavlov%netscape.com
585ea22233 removing windows stuff too
git-svn-id: svn://10.0.0.236/trunk@89181 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:16:51 +00:00
pavlov%netscape.com
38d36d3178 moving the container stuff here.
git-svn-id: svn://10.0.0.236/trunk@89180 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:11:54 +00:00
pavlov%netscape.com
941b2ba1d9 removing lots of stuff (like all the platform specific code) moving gfxIImageContainer* into new image library
git-svn-id: svn://10.0.0.236/trunk@89179 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:10:05 +00:00
waterson%netscape.com
961d8be9b8 Fix build bustage. #include jsapi.h because Mac wants decls.
git-svn-id: svn://10.0.0.236/trunk@89178 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:05:53 +00:00
darin%netscape.com
1b67600a60 Added some comments.
git-svn-id: svn://10.0.0.236/trunk@89177 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:03:05 +00:00
darin%netscape.com
b7f3f4a1ba Fixes bug 71391. Leaking sockets with CLOSE_WAIT status during page loads.
r=dougt sr=mscott


git-svn-id: svn://10.0.0.236/trunk@89176 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:58:54 +00:00
cls%seawood.org
053c6923e6 Standalone zlib is always built for the installer
git-svn-id: svn://10.0.0.236/trunk@89175 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:54:38 +00:00
mkaply%us.ibm.com
7ba3922bff #70961
r=jst, sr=erik
DOM changes to implement the dir attribute (document.dir) needed for Bidi


git-svn-id: svn://10.0.0.236/trunk@89174 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:50:54 +00:00
jgmyers%netscape.com
2da3804db1 cleanup error handling: bug 64777 sr=mscott r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@89173 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:49:05 +00:00
beard%netscape.com
d92f6c8af4 [not part of build] Added simple enumeration mechanism to nsCacheEntryHashtable.
git-svn-id: svn://10.0.0.236/trunk@89172 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:43:20 +00:00
mkaply%us.ibm.com
dbebdff94b WIN95 build breakage vis hwaara
Since Win95 can't recursively invoke NMAKE, need fdlibm in DIRS statement


git-svn-id: svn://10.0.0.236/trunk@89171 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:43:00 +00:00
beard%netscape.com
ee5b3ba301 [not part of build] renamed DoomEntry_Internal to DoomEntry_Locked, made public for use by cache devices.
git-svn-id: svn://10.0.0.236/trunk@89170 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:42:19 +00:00
waterson%netscape.com
71d99a5bc5 Bug 71141. Handle re-entrant script object creation by allowing 'inner' object to win and discarding 'outer' object. r=jst,jband; sr=brendan
git-svn-id: svn://10.0.0.236/trunk@89169 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:22:20 +00:00
rogerl%netscape.com
8509ed0ba7 Fix #58031. sr=brendan. Crash in Array.prototype.toLocaleString()
git-svn-id: svn://10.0.0.236/trunk@89168 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:20:42 +00:00
waterson%netscape.com
df0ae754ac Fix compiler warnings caused by backslash character in '//' comment. Tip o' the hat to timeless.
git-svn-id: svn://10.0.0.236/trunk@89167 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:19:38 +00:00
rogerl%netscape.com
1511fee5f5 Fix #57187. sr=brendan,r=shaver. Reorder lines to avoid warning.
git-svn-id: svn://10.0.0.236/trunk@89166 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:17:37 +00:00
rogerl%netscape.com
c797eeeda4 Fix bug #56868. sr=brendan,r=mccabe. Error object [[Class]] property.
git-svn-id: svn://10.0.0.236/trunk@89165 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:16:32 +00:00
erik%netscape.com
4f4d2e9f2b bug 71370; sr=erik; dbaron caught an error in yesterday's check-in; the
bidi bit was set in the reserved area; it is now in the right area


git-svn-id: svn://10.0.0.236/trunk@89164 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:15:16 +00:00
nhotta%netscape.com
439ade71df Enabled TSM for Carbon, bug 70720, r=ftang,pinkerton, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@89163 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:10:31 +00:00
cmanske%netscape.com
533e49fd60 Added param to caller of editor saveDocument for save mime type as part of fix for bug 51798. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@89162 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 00:02:31 +00:00
cyeh%bluemartini.com
f3825ec9e4 back out change
git-svn-id: svn://10.0.0.236/trunk@89161 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 23:59:40 +00:00
cls%seawood.org
6ea1e28c32 Rename img libraries that have have common external equivalents as our internal versions may be slightly incompatible.
Bug #57247 sr=tor


git-svn-id: svn://10.0.0.236/trunk@89160 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 23:53:17 +00:00
cyeh%bluemartini.com
017c2f1299 fix for 70039: Mid-air collision page confusing, users think comments will be lost
git-svn-id: svn://10.0.0.236/trunk@89159 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 23:41:37 +00:00
rpotts%netscape.com
f46b8973e7 bug #70736 (r=darin@netscpe.com). Fix to nsInputStreamChannel to get the notification callbacks working...
git-svn-id: svn://10.0.0.236/trunk@89158 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 23:27:47 +00:00
dave%intrec.com
fd19c879d7 Fix for bug 71510: permissions not set correctly on graphs directory
git-svn-id: svn://10.0.0.236/trunk@89157 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 23:19:51 +00:00
alecf%netscape.com
05ab47e21f remove these files (never part of build, moving over to mozilla/content)
git-svn-id: svn://10.0.0.236/trunk@89156 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 22:50:35 +00:00
cyeh%bluemartini.com
3b8b9400ee add notation about securing web installation
git-svn-id: svn://10.0.0.236/trunk@89155 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 22:37:22 +00:00
nicolson%netscape.com
df2fcd5992 We need to set -DNSS_USE_STATIC_LIBS on NT because of some code in ssl.h.
git-svn-id: svn://10.0.0.236/trunk@89154 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 22:24:42 +00:00
nicolson%netscape.com
8bd92c7d35 Fix compiler warning on NT by setting /NODEFAULTLIB:MSVCRTD.
git-svn-id: svn://10.0.0.236/trunk@89153 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 22:23:45 +00:00
cyeh%bluemartini.com
ea756dc8af refix for 40603: Assumes user is coming from different page
reduce wording


git-svn-id: svn://10.0.0.236/trunk@89151 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 21:41:27 +00:00
nicolson%netscape.com
b0adf7be05 SSL changed its callback signatures to return SECStatus.
git-svn-id: svn://10.0.0.236/trunk@89150 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 21:35:51 +00:00
nicolson%netscape.com
6aa9bb952b Remove libsectool.
git-svn-id: svn://10.0.0.236/trunk@89149 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 21:35:02 +00:00
cyeh%bluemartini.com
335ab846f0 fix for 6682: Chart all bug states
patch submitted by
           gervase.markham@univ.ox.ac.uk
           (Gervase Markham)


git-svn-id: svn://10.0.0.236/trunk@89148 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 21:24:53 +00:00
despotdaemon%netscape.com
c5516ae1c6 Pseudo-automatic update of changes made by mhein@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@89145 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 20:10:47 +00:00
despotdaemon%netscape.com
e6009564b1 Pseudo-automatic update of changes made by mhein@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@89143 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 19:18:48 +00:00
despotdaemon%netscape.com
1efe15e729 Pseudo-automatic update of changes made by mhein@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@89142 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 19:18:29 +00:00
beard%netscape.com
06a9d85e0d [not part of build] Implemented more of cache visitor support.
git-svn-id: svn://10.0.0.236/trunk@89141 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 19:01:15 +00:00
beard%netscape.com
d90142959d [not part of build] Tests cache visitation API.
git-svn-id: svn://10.0.0.236/trunk@89140 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 18:59:53 +00:00
despotdaemon%netscape.com
e0f2d3016f Pseudo-automatic update of changes made by hwaara@chello.se.
git-svn-id: svn://10.0.0.236/trunk@89139 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 18:42:19 +00:00
beard%netscape.com
0a3b477585 [not part of build] Fix cache directory creation logic again.
git-svn-id: svn://10.0.0.236/trunk@89138 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 17:14:02 +00:00
dbaron%fas.harvard.edu
095dc4e9e2 Fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage by adding txmgr to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@89135 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 16:20:16 +00:00
dbaron%fas.harvard.edu
71c16abf6f Fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage by adding txmgr to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@89134 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 15:54:21 +00:00
dbaron%fas.harvard.edu
d877c2ef22 Fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage by adding txmgr to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@89132 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 15:15:31 +00:00
alecf%netscape.com
ac6efa72ed ooops, forgot this in my last checkin - part of bug 70929 sr=waterson
git-svn-id: svn://10.0.0.236/trunk@89131 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 14:58:38 +00:00
alecf%netscape.com
d7c56fb92a other part of nsIGlobalHistory refactoring - fix one consumer
sr=waterson bug 70929


git-svn-id: svn://10.0.0.236/trunk@89130 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 14:52:22 +00:00
alecf%netscape.com
5d66e8ff00 fix for bug 70929 - refactor history into public/private interfaces
sr=waterson


git-svn-id: svn://10.0.0.236/trunk@89129 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 14:49:28 +00:00
kin%netscape.com
b2d2a29309 Fixes for bug #66308 ([embed] XPIDL'ize transaction manager)
sr=sfraser@netscape.com,mscott@netscape.com r=jfrancis@netscape.com

* nsITransaction, nsITransactionListenter, nsITransactionManager have
  been XPIDL'ized and moved into mozilla/editor/txmgr/idl. The versions
  of these interfaces in mozilla/editor/txmgr/public are being CVS removed.

* Renamed Do(), Undo(), and Redo() to DoTransaction(), UndoTransaction(),
  and RedoTransaction() to avoid reserved word problems in languages like
  JS. I did a sweep through editor and mailnews to remove these methods.

* PeekUndoStack() and PeekRedoStack() now return an AddRef'd pointer.

* Removed GetUndoString(), GetRedoString() and Write() from the
  nsITransaction interface. Neither editor or mailnews really made
  use of these methods.

* Removed Write() from the nsITransactionManager.cpp interface.

* The Transaction Manager now supports weak references.

* Added support for nsITransactionList to the TransactionManager
  to allow access to all transactions on the Undo and Redo stacks, as
  well as auto-aggregated transactions.

* Removed all references to nsITransactionDescription from txmgr and editor.

* Added nsPIEditorTransaction and made all Editor internal transactions
  inherit from it so we can distinguish between our transactions and
  ones from 3rd parties.

New files checked in:

  editor/txmgr/idl/nsITransaction.idl
  editor/txmgr/idl/nsITransactionList.idl
  editor/txmgr/idl/nsITransactionListener.idl
  editor/txmgr/idl/nsITransactionManager.idl
  editor/txmgr/src/nsITransactionList.cpp
  editor/txmgr/src/nsITransactionList.h
  editor/idl/nsPIEditorTransaction.idl

Files that were CVS removed:

  editor/txmgr/public/nsITransaction.h
  editor/txmgr/public/nsITransactionListener.h
  editor/txmgr/public/nsITransactionManager.h
  editor/txmgr/idl/nsITransactionDescription.h
  editor/base/IMECommitTxn.cpp
  editor/base/IMECommitTxn.h

Files modified:

  editor/Makefile.in
  editor/makefile.win
  editor/base/ChangeAttributeTxn.cpp
  editor/base/ChangeAttributeTxn.h
  editor/base/CreateElementTxn.cpp
  editor/base/CreateElementTxn.h
  editor/base/DeleteElementTxn.cpp
  editor/base/DeleteElementTxn.h
  editor/base/DeleteRangeTxn.cpp
  editor/base/DeleteRangeTxn.h
  editor/base/DeleteTextTxn.cpp
  editor/base/DeleteTextTxn.h
  editor/base/EditAggregateTxn.cpp
  editor/base/EditAggregateTxn.h
  editor/base/EditTxn.cpp
  editor/base/EditTxn.h
  editor/base/IMECommitTxn.cpp
  editor/base/IMECommitTxn.h
  editor/base/IMETextTxn.cpp
  editor/base/IMETextTxn.h
  editor/base/InsertElementTxn.cpp
  editor/base/InsertElementTxn.h
  editor/base/InsertTextTxn.cpp
  editor/base/InsertTextTxn.h
  editor/base/JoinElementTxn.cpp
  editor/base/JoinElementTxn.h
  editor/base/nsEditor.cpp
  editor/base/nsEditorShell.cpp
  editor/base/nsEditorShell.h
  editor/base/nsEditorTxnLog.cpp
  editor/base/nsStyleSheetTxns.cpp
  editor/base/nsStyleSheetTxns.h
  editor/base/PlaceholderTxn.cpp
  editor/base/PlaceholderTxn.h
  editor/base/SetDocTitleTxn.cpp
  editor/base/SetDocTitleTxn.h
  editor/base/SplitElementTxn.cpp
  editor/base/SplitElementTxn.h
  editor/idl/Makefile.in
  editor/idl/makefile.win
  editor/idl/MANIFEST
  editor/idl/nsIEditorShell.idl
  editor/macbuild/editor.mcp
  editor/macbuild/EditorIDL.mcp
  editor/txmgr/idl/Makefile.in
  editor/txmgr/idl/makefile.win
  editor/txmgr/idl/MANIFEST
  editor/txmgr/idl/nsITransactionManager.idl
  editor/txmgr/macbuild/txmgr.mcp
  editor/txmgr/macbuild/txmgrIDL.mcp
  editor/txmgr/public/Makefile.in
  editor/txmgr/public/makefile.win
  editor/txmgr/public/MANIFEST
  editor/txmgr/src/Makefile.in
  editor/txmgr/src/makefile.win
  editor/txmgr/src/nsTransactionItem.cpp
  editor/txmgr/src/nsTransactionItem.h
  editor/txmgr/src/nsTransactionList.cpp
  editor/txmgr/src/nsTransactionList.h
  editor/txmgr/src/nsTransactionManager.cpp
  editor/txmgr/src/nsTransactionManager.h
  editor/txmgr/src/nsTransactionManagerFactory.cpp
  editor/txmgr/src/nsTransactionStack.cpp
  editor/txmgr/src/nsTransactionStack.h
  editor/txmgr/tests/TestTXMgr.cpp
  editor/ui/composer/content/EditorCommandsDebug.js
  editor/ui/composer/content/editorOverlay.xul
  editor/ui/composer/locale/en-US/editorOverlay.dtd
  mailnews/base/src/nsMessenger.cpp
  mailnews/base/util/nsMsgTxn.cpp
  mailnews/base/util/nsMsgTxn.h
  mailnews/imap/src/nsImapMailFolder.cpp
  mailnews/imap/src/nsImapUndoTxn.cpp
  mailnews/imap/src/nsImapUndoTxn.h
  mailnews/local/src/nsLocalMailFolder.cpp
  mailnews/local/src/nsLocalUndoTxn.cpp
  mailnews/local/src/nsLocalUndoTxn.h


git-svn-id: svn://10.0.0.236/trunk@89128 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 14:32:06 +00:00
alecf%netscape.com
1e9fed09d9 clean up history after hewitt's changes (no reviewer, just a file he missed)
git-svn-id: svn://10.0.0.236/trunk@89127 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 14:25:12 +00:00
kin%netscape.com
7365b2cbe5 Fixes for bug #66308 ([embed] XPIDL'ize transaction manager)
sr=sfraser@netscape.com,mscott@netscape.com r=jfrancis@netscape.com

* nsITransaction, nsITransactionListenter, nsITransactionManager have
  been XPIDL'ized and moved into mozilla/editor/txmgr/idl. The versions
  of these interfaces in mozilla/editor/txmgr/public are being CVS removed.

* Renamed Do(), Undo(), and Redo() to DoTransaction(), UndoTransaction(),
  and RedoTransaction() to avoid reserved word problems in languages like
  JS. I did a sweep through editor and mailnews to remove these methods.

* PeekUndoStack() and PeekRedoStack() now return an AddRef'd pointer.

* Removed GetUndoString(), GetRedoString() and Write() from the
  nsITransaction interface. Neither editor or mailnews really made
  use of these methods.

* Removed Write() from the nsITransactionManager.cpp interface.

* The Transaction Manager now supports weak references.

* Added support for nsITransactionList to the TransactionManager
  to allow access to all transactions on the Undo and Redo stacks, as
  well as auto-aggregated transactions.

* Removed all references to nsITransactionDescription from txmgr and editor.

* Added nsPIEditorTransaction and made all Editor internal transactions
  inherit from it so we can distinguish between our transactions and
  ones from 3rd parties.

New files checked in:

  editor/txmgr/idl/nsITransaction.idl
  editor/txmgr/idl/nsITransactionList.idl
  editor/txmgr/idl/nsITransactionListener.idl
  editor/txmgr/idl/nsITransactionManager.idl
  editor/txmgr/src/nsITransactionList.cpp
  editor/txmgr/src/nsITransactionList.h
  editor/idl/nsPIEditorTransaction.idl

Files that were CVS removed:

  editor/txmgr/public/nsITransaction.h
  editor/txmgr/public/nsITransactionListener.h
  editor/txmgr/public/nsITransactionManager.h
  editor/txmgr/idl/nsITransactionDescription.h
  editor/base/IMECommitTxn.cpp
  editor/base/IMECommitTxn.h

Files modified:

  editor/Makefile.in
  editor/makefile.win
  editor/base/ChangeAttributeTxn.cpp
  editor/base/ChangeAttributeTxn.h
  editor/base/CreateElementTxn.cpp
  editor/base/CreateElementTxn.h
  editor/base/DeleteElementTxn.cpp
  editor/base/DeleteElementTxn.h
  editor/base/DeleteRangeTxn.cpp
  editor/base/DeleteRangeTxn.h
  editor/base/DeleteTextTxn.cpp
  editor/base/DeleteTextTxn.h
  editor/base/EditAggregateTxn.cpp
  editor/base/EditAggregateTxn.h
  editor/base/EditTxn.cpp
  editor/base/EditTxn.h
  editor/base/IMECommitTxn.cpp
  editor/base/IMECommitTxn.h
  editor/base/IMETextTxn.cpp
  editor/base/IMETextTxn.h
  editor/base/InsertElementTxn.cpp
  editor/base/InsertElementTxn.h
  editor/base/InsertTextTxn.cpp
  editor/base/InsertTextTxn.h
  editor/base/JoinElementTxn.cpp
  editor/base/JoinElementTxn.h
  editor/base/nsEditor.cpp
  editor/base/nsEditorShell.cpp
  editor/base/nsEditorShell.h
  editor/base/nsEditorTxnLog.cpp
  editor/base/nsStyleSheetTxns.cpp
  editor/base/nsStyleSheetTxns.h
  editor/base/PlaceholderTxn.cpp
  editor/base/PlaceholderTxn.h
  editor/base/SetDocTitleTxn.cpp
  editor/base/SetDocTitleTxn.h
  editor/base/SplitElementTxn.cpp
  editor/base/SplitElementTxn.h
  editor/idl/Makefile.in
  editor/idl/makefile.win
  editor/idl/MANIFEST
  editor/idl/nsIEditorShell.idl
  editor/macbuild/editor.mcp
  editor/macbuild/EditorIDL.mcp
  editor/txmgr/idl/Makefile.in
  editor/txmgr/idl/makefile.win
  editor/txmgr/idl/MANIFEST
  editor/txmgr/idl/nsITransactionManager.idl
  editor/txmgr/macbuild/txmgr.mcp
  editor/txmgr/macbuild/txmgrIDL.mcp
  editor/txmgr/public/Makefile.in
  editor/txmgr/public/makefile.win
  editor/txmgr/public/MANIFEST
  editor/txmgr/src/Makefile.in
  editor/txmgr/src/makefile.win
  editor/txmgr/src/nsTransactionItem.cpp
  editor/txmgr/src/nsTransactionItem.h
  editor/txmgr/src/nsTransactionList.cpp
  editor/txmgr/src/nsTransactionList.h
  editor/txmgr/src/nsTransactionManager.cpp
  editor/txmgr/src/nsTransactionManager.h
  editor/txmgr/src/nsTransactionManagerFactory.cpp
  editor/txmgr/src/nsTransactionStack.cpp
  editor/txmgr/src/nsTransactionStack.h
  editor/txmgr/tests/TestTXMgr.cpp
  editor/ui/composer/content/EditorCommandsDebug.js
  editor/ui/composer/content/editorOverlay.xul
  editor/ui/composer/locale/en-US/editorOverlay.dtd
  mailnews/base/src/nsMessenger.cpp
  mailnews/base/util/nsMsgTxn.cpp
  mailnews/base/util/nsMsgTxn.h
  mailnews/imap/src/nsImapMailFolder.cpp
  mailnews/imap/src/nsImapUndoTxn.cpp
  mailnews/imap/src/nsImapUndoTxn.h
  mailnews/local/src/nsLocalMailFolder.cpp
  mailnews/local/src/nsLocalUndoTxn.cpp
  mailnews/local/src/nsLocalUndoTxn.h


git-svn-id: svn://10.0.0.236/trunk@89126 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 14:23:59 +00:00
jfrancis%netscape.com
ce28649d11 renaming variable to match coding guidelines; r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@89125 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 14:19:14 +00:00
jfrancis%netscape.com
64c2bf50ed Fixes for bug #66308 ([embed] XPIDL'ize transaction manager)
sr=sfraser@netscape.com,mscott@netscape.com r=jfrancis@netscape.com

* nsITransaction, nsITransactionListenter, nsITransactionManager have
 been XPIDL'ized and moved into mozilla/editor/txmgr/idl. The versions
 of these interfaces in mozilla/editor/txmgr/public are being CVS removed.

* Renamed Do(), Undo(), and Redo() to DoTransaction(), UndoTransaction(),
 and RedoTransaction() to avoid reserved word problems in languages like
 JS. I did a sweep through editor and mailnews to remove these methods.

* PeekUndoStack() and PeekRedoStack() now return an AddRef'd pointer.

* Removed GetUndoString(), GetRedoString() and Write() from the
 nsITransaction interface. Neither editor or mailnews really made
 use of these methods.

* Removed Write() from the nsITransactionManager.cpp interface.

* The Transaction Manager now supports weak references.

* Added support for nsITransactionList to the TransactionManager
 to allow access to all transactions on the Undo and Redo stacks, as
 well as auto-aggregated transactions.

* Removed all references to nsITransactionDescription from txmgr and editor.

* Added nsPIEditorTransaction and made all Editor internal transactions
 inherit from it so we can distinguish between our transactions and
 ones from 3rd parties.

New files checked in:

 editor/txmgr/idl/nsITransaction.idl
 editor/txmgr/idl/nsITransactionList.idl
 editor/txmgr/idl/nsITransactionListener.idl
 editor/txmgr/idl/nsITransactionManager.idl
 editor/txmgr/src/nsITransactionList.cpp
 editor/txmgr/src/nsITransactionList.h
 editor/idl/nsPIEditorTransaction.idl

Files that were CVS removed:

 editor/txmgr/public/nsITransaction.h
 editor/txmgr/public/nsITransactionListener.h
 editor/txmgr/public/nsITransactionManager.h
 editor/txmgr/idl/nsITransactionDescription.h
 editor/base/IMECommitTxn.cpp
 editor/base/IMECommitTxn.h

Files modified:

 editor/Makefile.in
 editor/makefile.win
 editor/base/ChangeAttributeTxn.cpp
 editor/base/ChangeAttributeTxn.h
 editor/base/CreateElementTxn.cpp
 editor/base/CreateElementTxn.h
 editor/base/DeleteElementTxn.cpp
 editor/base/DeleteElementTxn.h
 editor/base/DeleteRangeTxn.cpp
 editor/base/DeleteRangeTxn.h
 editor/base/DeleteTextTxn.cpp
 editor/base/DeleteTextTxn.h
 editor/base/EditAggregateTxn.cpp
 editor/base/EditAggregateTxn.h
 editor/base/EditTxn.cpp
 editor/base/EditTxn.h
 editor/base/IMECommitTxn.cpp
 editor/base/IMECommitTxn.h
 editor/base/IMETextTxn.cpp
 editor/base/IMETextTxn.h
 editor/base/InsertElementTxn.cpp
 editor/base/InsertElementTxn.h
 editor/base/InsertTextTxn.cpp
 editor/base/InsertTextTxn.h
 editor/base/JoinElementTxn.cpp
 editor/base/JoinElementTxn.h
 editor/base/nsEditor.cpp
 editor/base/nsEditorShell.cpp
 editor/base/nsEditorShell.h
 editor/base/nsEditorTxnLog.cpp
 editor/base/nsStyleSheetTxns.cpp
 editor/base/nsStyleSheetTxns.h
 editor/base/PlaceholderTxn.cpp
 editor/base/PlaceholderTxn.h
 editor/base/SetDocTitleTxn.cpp
 editor/base/SetDocTitleTxn.h
 editor/base/SplitElementTxn.cpp
 editor/base/SplitElementTxn.h
 editor/idl/Makefile.in
 editor/idl/makefile.win
 editor/idl/MANIFEST
 editor/idl/nsIEditorShell.idl
 editor/macbuild/editor.mcp
 editor/macbuild/EditorIDL.mcp
 editor/txmgr/idl/Makefile.in
 editor/txmgr/idl/makefile.win
 editor/txmgr/idl/MANIFEST
 editor/txmgr/idl/nsITransactionManager.idl
 editor/txmgr/macbuild/txmgr.mcp
 editor/txmgr/macbuild/txmgrIDL.mcp
 editor/txmgr/public/Makefile.in
 editor/txmgr/public/makefile.win
 editor/txmgr/public/MANIFEST
 editor/txmgr/src/Makefile.in
 editor/txmgr/src/makefile.win
 editor/txmgr/src/nsTransactionItem.cpp
 editor/txmgr/src/nsTransactionItem.h
 editor/txmgr/src/nsTransactionList.cpp
 editor/txmgr/src/nsTransactionList.h
 editor/txmgr/src/nsTransactionManager.cpp
 editor/txmgr/src/nsTransactionManager.h
 editor/txmgr/src/nsTransactionManagerFactory.cpp
 editor/txmgr/src/nsTransactionStack.cpp
 editor/txmgr/src/nsTransactionStack.h
 editor/txmgr/tests/TestTXMgr.cpp
 editor/ui/composer/content/EditorCommandsDebug.js
 editor/ui/composer/content/editorOverlay.xul
 editor/ui/composer/locale/en-US/editorOverlay.dtd
 mailnews/base/src/nsMessenger.cpp
 mailnews/base/util/nsMsgTxn.cpp
 mailnews/base/util/nsMsgTxn.h
 mailnews/imap/src/nsImapMailFolder.cpp
 mailnews/imap/src/nsImapUndoTxn.cpp
 mailnews/imap/src/nsImapUndoTxn.h
 mailnews/local/src/nsLocalMailFolder.cpp
 mailnews/local/src/nsLocalUndoTxn.cpp
 mailnews/local/src/nsLocalUndoTxn.h



Fixes for bug #66308 ([embed] XPIDL'ize transaction manager)
sr=sfraser@netscape.com,mscott@netscape.com r=jfrancis@netscape.com

* nsITransaction, nsITransactionListenter, nsITransactionManager have
  been XPIDL'ized and moved into mozilla/editor/txmgr/idl. The versions
  of these interfaces in mozilla/editor/txmgr/public are being CVS removed.

* Renamed Do(), Undo(), and Redo() to DoTransaction(), UndoTransaction(),
  and RedoTransaction() to avoid reserved word problems in languages like
  JS. I did a sweep through editor and mailnews to remove these methods.

* PeekUndoStack() and PeekRedoStack() now return an AddRef'd pointer.

* Removed GetUndoString(), GetRedoString() and Write() from the
  nsITransaction interface. Neither editor or mailnews really made
  use of these methods.

* Removed Write() from the nsITransactionManager.cpp interface.

* The Transaction Manager now supports weak references.

* Added support for nsITransactionList to the TransactionManager
  to allow access to all transactions on the Undo and Redo stacks, as
  well as auto-aggregated transactions.

* Removed all references to nsITransactionDescription from txmgr and editor.

* Added nsPIEditorTransaction and made all Editor internal transactions
  inherit from it so we can distinguish between our transactions and
  ones from 3rd parties.

New files checked in:

  editor/txmgr/idl/nsITransaction.idl
  editor/txmgr/idl/nsITransactionList.idl
  editor/txmgr/idl/nsITransactionListener.idl
  editor/txmgr/idl/nsITransactionManager.idl
  editor/txmgr/src/nsITransactionList.cpp
  editor/txmgr/src/nsITransactionList.h
  editor/idl/nsPIEditorTransaction.idl

Files that were CVS removed:

  editor/txmgr/public/nsITransaction.h
  editor/txmgr/public/nsITransactionListener.h
  editor/txmgr/public/nsITransactionManager.h
  editor/txmgr/idl/nsITransactionDescription.h
  editor/base/IMECommitTxn.cpp
  editor/base/IMECommitTxn.h

Files modified:

  editor/Makefile.in
  editor/makefile.win
  editor/base/ChangeAttributeTxn.cpp
  editor/base/ChangeAttributeTxn.h
  editor/base/CreateElementTxn.cpp
  editor/base/CreateElementTxn.h
  editor/base/DeleteElementTxn.cpp
  editor/base/DeleteElementTxn.h
  editor/base/DeleteRangeTxn.cpp
  editor/base/DeleteRangeTxn.h
  editor/base/DeleteTextTxn.cpp
  editor/base/DeleteTextTxn.h
  editor/base/EditAggregateTxn.cpp
  editor/base/EditAggregateTxn.h
  editor/base/EditTxn.cpp
  editor/base/EditTxn.h
  editor/base/IMECommitTxn.cpp
  editor/base/IMECommitTxn.h
  editor/base/IMETextTxn.cpp
  editor/base/IMETextTxn.h
  editor/base/InsertElementTxn.cpp
  editor/base/InsertElementTxn.h
  editor/base/InsertTextTxn.cpp
  editor/base/InsertTextTxn.h
  editor/base/JoinElementTxn.cpp
  editor/base/JoinElementTxn.h
  editor/base/nsEditor.cpp
  editor/base/nsEditorShell.cpp
  editor/base/nsEditorShell.h
  editor/base/nsEditorTxnLog.cpp
  editor/base/nsStyleSheetTxns.cpp
  editor/base/nsStyleSheetTxns.h
  editor/base/PlaceholderTxn.cpp
  editor/base/PlaceholderTxn.h
  editor/base/SetDocTitleTxn.cpp
  editor/base/SetDocTitleTxn.h
  editor/base/SplitElementTxn.cpp
  editor/base/SplitElementTxn.h
  editor/idl/Makefile.in
  editor/idl/makefile.win
  editor/idl/MANIFEST
  editor/idl/nsIEditorShell.idl
  editor/macbuild/editor.mcp
  editor/macbuild/EditorIDL.mcp
  editor/txmgr/idl/Makefile.in
  editor/txmgr/idl/makefile.win
  editor/txmgr/idl/MANIFEST
  editor/txmgr/idl/nsITransactionManager.idl
  editor/txmgr/macbuild/txmgr.mcp
  editor/txmgr/macbuild/txmgrIDL.mcp
  editor/txmgr/public/Makefile.in
  editor/txmgr/public/makefile.win
  editor/txmgr/public/MANIFEST
  editor/txmgr/src/Makefile.in
  editor/txmgr/src/makefile.win
  editor/txmgr/src/nsTransactionItem.cpp
  edito


git-svn-id: svn://10.0.0.236/trunk@89124 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 14:18:41 +00:00
kin%netscape.com
1e69d25a17 Initial checkin of file. NOT PART OF THE BUILD!
git-svn-id: svn://10.0.0.236/trunk@89123 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 13:58:05 +00:00
ftang%netscape.com
702784e064 fix 71324 . delete mList so we won't leak in IME code.
r=nhotta sr=jst


git-svn-id: svn://10.0.0.236/trunk@89122 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 13:47:17 +00:00
ftang%netscape.com
92ce006aff fix 70601. r=bstell sr=erik
thanks slava@maze.ambernet.kiev.ua help to find this bug and verify it.


git-svn-id: svn://10.0.0.236/trunk@89121 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 13:23:02 +00:00
rbs%maths.uq.edu.au
1a034d3bbd Cleanup DOS end-of-lines
git-svn-id: svn://10.0.0.236/trunk@89120 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 13:20:20 +00:00
darin%netscape.com
bef2fe58a5 Change to NS_IMPL_THREADSAFE_ISUPPORTS to fix spurious warnings.
git-svn-id: svn://10.0.0.236/trunk@89119 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 11:22:24 +00:00
axel%pike.org
a10ac36a4e not part of build; adding logging by sicking, robustness by peterv, speed by me. (last patch before moving to outliner?)
git-svn-id: svn://10.0.0.236/trunk@89118 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 08:52:49 +00:00
cls%seawood.org
28df02ea30 Add support for old NetBSD toolchains & use -Bsymbolic when linking components.
Thanks to Charles Hannum <mycroft@netbsd.org> for the patch.
Bug #61750 r=cls


git-svn-id: svn://10.0.0.236/trunk@89117 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 07:55:29 +00:00
leaf%mozilla.org
7d0f0878b9 Automated update
git-svn-id: svn://10.0.0.236/trunk@89116 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 07:45:09 +00:00
pavlov%netscape.com
e820e83e9e use NS_LITERAL_STRING instead of NS_LITERAL_CSTRING when creating an atom, and put dont_AddRef() around NS_NewAtom so we don't add an extra addref
git-svn-id: svn://10.0.0.236/trunk@89114 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 07:42:04 +00:00
darin%netscape.com
ba9cacb739 Fixes bug 71317. Leak increase on tinderbox. r=bryner sr=mscott,alecf
git-svn-id: svn://10.0.0.236/trunk@89113 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 07:41:58 +00:00
cls%seawood.org
9f825dd458 Use CC instead of LD to link.
Thanks to martin@NetBSD.ORG (Martin Husemann) for the patch.
Bug #61745 r=cls


git-svn-id: svn://10.0.0.236/trunk@89112 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 07:41:26 +00:00
pschwartau%netscape.com
8efd292d96 Updated JS_GetImplementationVersion() to date of latest JS release (67111, r=rginda, sr=jband).
git-svn-id: svn://10.0.0.236/trunk@89111 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 07:36:48 +00:00
cls%seawood.org
77d34c3d73 Clean up netbsd section.
Thanks to martin@NetBSD.ORG (Martin Husemann) and taya@sm.sony.co.jp (Shin'ichiro TAYA) for the patch.
Bug #61745 r=cls


git-svn-id: svn://10.0.0.236/trunk@89110 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 07:34:36 +00:00
cls%seawood.org
173bdb51f9 Remove unneeded variables.
Thanks to martin@NetBSD.ORG (Martin Husemann) for the patch.
Bug #61744 r=cls


git-svn-id: svn://10.0.0.236/trunk@89108 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 07:28:35 +00:00
stephend%netscape.com
8c282e5822 Re-implements tooltips from bug 60260 r=db48x@yahoo.com a=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89107 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 07:23:56 +00:00
waterson%netscape.com
cf6ef818dc Bug 70248. Remove extraneous |extern C| block. r=ducarroz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@89104 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 06:31:42 +00:00
dave%intrec.com
dfc0df6cb8 Re-fix for bug 17464: oldemailtech prefs work again.
git-svn-id: svn://10.0.0.236/trunk@89103 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 06:28:59 +00:00
naving%netscape.com
3045678bfd 63921. sr=bienvenu Don't kill the connection for the folder to be renamed. Do it
for its children.


git-svn-id: svn://10.0.0.236/trunk@89102 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 06:27:01 +00:00
cls%seawood.org
d5caae67b3 Add individual boehm include path for our module dep tracking builds.
Thanks to L. David Baron <dbaron@fas.harvard.edu> for the patch.
Bug #59454 r=cls


git-svn-id: svn://10.0.0.236/trunk@89099 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 06:03:24 +00:00
leaf%mozilla.org
df2e70c836 Automated update
git-svn-id: svn://10.0.0.236/trunk@89098 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 06:00:10 +00:00
cls%seawood.org
fb533bc5db Remove xmlterm from MOZ_EXTENSIONS and issue a warning if we are not building with the gtk toolkit. Bug #67250
git-svn-id: svn://10.0.0.236/trunk@89095 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 05:55:28 +00:00
leaf%mozilla.org
81cbe11f44 Automated update
git-svn-id: svn://10.0.0.236/trunk@89089 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 05:00:08 +00:00
cls%seawood.org
e8f73089a8 Actually use CPPFLAGS when it is passed to configure
git-svn-id: svn://10.0.0.236/trunk@89086 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 04:53:24 +00:00
cls%seawood.org
debaa1c0bb Actually use CPPFLAGS when passed to configure.
git-svn-id: svn://10.0.0.236/trunk@89085 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 04:51:09 +00:00
leaf%mozilla.org
325296128c Automated update
git-svn-id: svn://10.0.0.236/trunk@89082 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 04:45:07 +00:00
cls%seawood.org
3aa4e78fbf Reverse list of checkins when printing them out so that the output can *properly* be used to back out the checkins. Bug #22346
git-svn-id: svn://10.0.0.236/trunk@89080 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 04:38:19 +00:00
cls%seawood.org
f23a9a8d56 Pass PERL_VERSION to test script as an env variable so that the perl test works properly. Bug #66443
git-svn-id: svn://10.0.0.236/trunk@89079 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 04:30:27 +00:00
mkaply%us.ibm.com
9ea769fb46 #70961
author=simon@softel.co.il; r=waterson; sr=erik
New style constant for bidi - not part of build yet due to #ifdef IBMBIDI


git-svn-id: svn://10.0.0.236/trunk@89076 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 04:20:10 +00:00
mkaply%us.ibm.com
0cf6cb2c84 #70961
author=simon@softel.co.il; r=waterson; sr=erik
New layout atoms for bidi - not part of build yet due to #ifdef IBMBIDI


git-svn-id: svn://10.0.0.236/trunk@89075 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 04:15:34 +00:00
erik%netscape.com
709a793509 bugs 70028 and 70394; author=simon@softel.co.il; r=ftang; sr=erik; adding
nsIBidi.h and nsIUBidiUtils.h and related files to build, conditionally
(ifdef IBMBIDI)


git-svn-id: svn://10.0.0.236/trunk@89074 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 04:15:30 +00:00
mkaply%us.ibm.com
3133792bbe #59855
r=pchwartau, sr=brendan
Just add an _IS_LITTLE_ENDIAN for XP_OS2 for now. Eventually, we need to figure
out how to get jstypes.h included in here, since it already has a LITTLE_ENDIAN define.


git-svn-id: svn://10.0.0.236/trunk@89073 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 04:07:15 +00:00
mkaply%us.ibm.com
feb794a2e9 #59855
r=pchwartau, sr=brendan
Rework makefile.win and js.mak for the eventual ability to include jstypes.h in fdlibm.h
Not turned on yet because I can't get it working right on Linux


git-svn-id: svn://10.0.0.236/trunk@89072 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 04:05:44 +00:00
mkaply%us.ibm.com
6686694540 #59855
r=pchwartau, sr=brendan
Get JS standalong building with Makefile.ref on Win32


git-svn-id: svn://10.0.0.236/trunk@89070 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 04:02:36 +00:00
erik%netscape.com
dc9f2947a7 bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)


git-svn-id: svn://10.0.0.236/trunk@89069 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:29:00 +00:00
dmose%netscape.com
af8a05701f Fixes various sr= issues turned up in preparation for turning on LDAP in the default builds (bug 70658). Removes obsolete and private interface methods; fixes spacing, and lots of misc cleanups. moa=me, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@89068 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:25:47 +00:00
rods%netscape.com
80fcf7044d change PRBool to PRPackedBool
Scroll to first item on DidReflow of Initial Reflow
Bug 54496 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89067 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:21:51 +00:00
dbaron%fas.harvard.edu
e861956222 Remove obsolete attempt to rename nsHTMLFrame.cpp that was never part of the build. sr=waterson@netscape.com b=64509
git-svn-id: svn://10.0.0.236/trunk@89066 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:14:07 +00:00
erik%netscape.com
7d9911f8e4 bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)


git-svn-id: svn://10.0.0.236/trunk@89065 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:13:03 +00:00
dbaron%fas.harvard.edu
dde0049300 Remove long-obsolete file that hasn't been part of the build since late 1998. sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89064 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:10:47 +00:00
pavlov%netscape.com
fb0ed17a63 don't #define MOZ_NEW_CACHE here
git-svn-id: svn://10.0.0.236/trunk@89063 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:00:02 +00:00
Peter.VanderBeken%pandora.be
0bfe31c0d7 Correct project files for document inspector. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@89060 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:28:17 +00:00
dbragg%netscape.com
f348e2672c dbaron fix for ports bustage of libreg/standalone
git-svn-id: svn://10.0.0.236/trunk@89059 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:25:22 +00:00
Peter.VanderBeken%pandora.be
0852f85867 Add build support for Vixen and Document Inspector on Mac (turned off by default), keep Transformiix and CView building on Mac. Doesn't affect the default build. r/a=sfraser@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@89058 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:21:08 +00:00
thayes%netscape.com
d1a9fa1818 Remove CR chars
git-svn-id: svn://10.0.0.236/trunk@89057 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:19:19 +00:00
danm%netscape.com
36261977ee it's another shot at being happy on multiple-monitor machines. man tweaks and various. bug 67523 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@89056 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:17:37 +00:00
danm%netscape.com
028404d329 allow negative coordinates placing new windows, and center alerts on the same screen as the parent window. bug 67523 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@89055 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:15:55 +00:00
Peter.VanderBeken%pandora.be
11607ed17f Keep MathML support compiling on the Mac - adding nsMathMLFrame.cpp. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@89054 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:13:24 +00:00
danm%netscape.com
6d737a89c2 window positioning security check is now more conversant with multiple monitors. bug 67523 r=hyatt,pinkerton
git-svn-id: svn://10.0.0.236/trunk@89053 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:12:51 +00:00
waldemar%netscape.com
a438ef9ca0 Added support for more html elements
git-svn-id: svn://10.0.0.236/trunk@89052 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:12:21 +00:00
waldemar%netscape.com
3ecc866e77 Made read-rtf non-recursive to avoid stack overflows
git-svn-id: svn://10.0.0.236/trunk@89051 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:11:13 +00:00
Peter.VanderBeken%pandora.be
ce5ae8de88 Keep MathML support compiling on the Mac. Doesn't affect the default build. r/a=sfraser@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@89050 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:10:38 +00:00
waldemar%netscape.com
ccbf532f44 Renamed token to input-element
git-svn-id: svn://10.0.0.236/trunk@89049 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:10:15 +00:00
waldemar%netscape.com
e352ea7240 Changed titles of generated html and rtf files
git-svn-id: svn://10.0.0.236/trunk@89048 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:09:50 +00:00
Peter.VanderBeken%pandora.be
f6c18f5774 New file. Needed for MathML support on the Mac. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@89047 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:09:08 +00:00
danm%netscape.com
e5ef2c85a4 moving [GS]etPersistence from nsIWebBrowserChrome to nsIDocShellTreeOwner. embedding API review meeting made me do it. bug 69918 r=ccarlen,hyatt
git-svn-id: svn://10.0.0.236/trunk@89046 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:04:06 +00:00
blakeross%telocity.com
82ce0a2007 Can't drag text from page into textfields in same page. Patch by brade. r=blake sr=ben
git-svn-id: svn://10.0.0.236/trunk@89045 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:00:21 +00:00
dbragg%netscape.com
87f6f09f7d Fix for non-Linux and Solaris build bustage. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@89044 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 01:58:10 +00:00
endico%mozilla.org
bbccc02b1e Patch from Jake <jake@acutex.net> for bugs 22041 and 25693 which had the same problem. HTML meta characters in the summary were not being quoted before being printed to html.
git-svn-id: svn://10.0.0.236/trunk@89043 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 01:49:42 +00:00
dbragg%netscape.com
9f95aaa3ec Fix for non-Unix bustage relating to MAX_FILENAME being undefined. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@89042 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 01:49:21 +00:00
cmanske%netscape.com
2922c7e50c Missed file checkin as part of bug 67993, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@89041 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 01:47:18 +00:00
scc%mozilla.org
5504d95e41 fix bustage
git-svn-id: svn://10.0.0.236/trunk@89040 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 01:38:36 +00:00
jfrancis%netscape.com
bfac90c93f bug 57863: pasting multiple table cells outside of table doens't work. r=cmanske;sr=kin
git-svn-id: svn://10.0.0.236/trunk@89039 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 01:36:38 +00:00
dbragg%netscape.com
c2fda3f345 Turning off the cleanup util for Unix other platform bustage.
git-svn-id: svn://10.0.0.236/trunk@89038 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 01:17:06 +00:00
thayes%netscape.com
28e257be54 Changes filenames of preference content to be consistent with
Mozilla conventions.
Add autostretch="never" to prevent expansion of checkboxes in pref
panels


git-svn-id: svn://10.0.0.236/trunk@89037 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 01:13:46 +00:00
erik%netscape.com
a7649b75ad bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; a couple of new
files from the IBM bidi project; these are utilities for reordering in the
layout engine


git-svn-id: svn://10.0.0.236/trunk@89036 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 01:12:39 +00:00
thayes%netscape.com
539b0afa4b Bug 71323: set MOZILLA_CLIENT when building in client make environment
git-svn-id: svn://10.0.0.236/trunk@89035 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 01:08:44 +00:00
thayes%netscape.com
337a3d36fe Bug 71323: Add dist/include to include path for MOZILLA_CLIENT builds
r=relyea


git-svn-id: svn://10.0.0.236/trunk@89034 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 01:04:04 +00:00
leaf%mozilla.org
cf36015937 Automated update
git-svn-id: svn://10.0.0.236/trunk@89033 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 01:00:14 +00:00
dbaron%fas.harvard.edu
637e6d8c2f Add temporary build options --enable-new-cache for new cache (bug 68705) and --enable-libpr0n for new image library (bug 70938). r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@89032 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:56:58 +00:00
brendan%mozilla.org
cde280bcf8 Recognize application/x-javascript (70439, r=timeless, sr=waterson).
git-svn-id: svn://10.0.0.236/trunk@89031 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:53:26 +00:00
alecf%netscape.com
ccc04db365 add nsIBrowserHistory to unix build (not used yet)
git-svn-id: svn://10.0.0.236/trunk@89030 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:44:34 +00:00
alecf%netscape.com
771efff01f add nsIBrowserHistory.idl to build (not used yet)
git-svn-id: svn://10.0.0.236/trunk@89029 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:44:11 +00:00
pinkerton%netscape.com
0ad8fef5d3 adding nsIBrowserHistory.idl for alecf.
git-svn-id: svn://10.0.0.236/trunk@89028 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:43:32 +00:00
scc%mozilla.org
43d2a1c384 bug #68872: r=jag, sr=waterson. provide |do_GetWeakReference|.
git-svn-id: svn://10.0.0.236/trunk@89027 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:40:11 +00:00
hewitt%netscape.com
bd26520e0e 69280 - boomarks window cleanup, r=blake, sr=ben
git-svn-id: svn://10.0.0.236/trunk@89025 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:24:27 +00:00
hewitt%netscape.com
4afae0f988 68480 - cleanup msgcompose toolbar menubuttons, r=cmanske/ducarroz, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@89024 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:23:27 +00:00
hewitt%netscape.com
6b175d7266 67647 - javascript console re-write, r=jag, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@89023 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:21:40 +00:00
pavlov%netscape.com
2b9acb4bed the changes that don't really work to make gfx2 build properly on windows
git-svn-id: svn://10.0.0.236/trunk@89021 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:17:37 +00:00
hewitt%netscape.com
105929fc2f 67647 - javascript console re-write, r=jag, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@89020 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:11:56 +00:00
pavlov%netscape.com
3e07c13aa7 removing gfxImageContainer.cpp from here.. it should be in ../makefile.win
git-svn-id: svn://10.0.0.236/trunk@89019 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:10:26 +00:00
hewitt%netscape.com
5a36c9ee5b 69280 - boomarks window cleanup, r=blake, sr=ben
git-svn-id: svn://10.0.0.236/trunk@89018 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:08:52 +00:00
beard%netscape.com
6b6ad31fa3 [not part of build] Initial implementation of cache visitor support.
git-svn-id: svn://10.0.0.236/trunk@89017 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:04:03 +00:00
hewitt%netscape.com
90680f2373 68480 - cleanup msgcompose toolbar menubuttons, r=cmanske/ducarroz, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@89016 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 00:01:55 +00:00
dbragg%netscape.com
b83eca93eb Turning on cleanup utility in the build. Fixes bug 65679. r=dveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@89015 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:40:45 +00:00
hewitt%netscape.com
25edb9bef4 66354 - editor image props dialog cleanup, r=cmanske, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@89014 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:39:49 +00:00
dbragg%netscape.com
278fcfd05d Turning on cleanup utility in the build. Fixed bug 65682. r=dveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@89013 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:36:58 +00:00
hewitt%netscape.com
ebc5a360a8 69434 - radio/checkbox black on black, r=timeless, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@89012 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:32:47 +00:00
hewitt%netscape.com
624609259f 67745 - mail icons (by andreas.premstaller@uibk.ac.at), r=andreww, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@89011 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:30:41 +00:00
hewitt%netscape.com
b8dc1b1292 68582 - radio button wrapping, r=timeless, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@89010 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:29:20 +00:00
hewitt%netscape.com
dd333ae24a 52703 - classic disabled menulists, r=andreww, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@89009 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:28:53 +00:00
glazman%netscape.com
a96dbca975 Cleanup of ParseSelector() ; b=71100, r=peterl, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89008 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:27:39 +00:00
hewitt%netscape.com
bada937712 64252 - iconic menuitems, r=sspitzer, sr=ben
git-svn-id: svn://10.0.0.236/trunk@89007 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:27:37 +00:00
dbragg%netscape.com
3267ad7bf2 Checking for file and directory names that may be too long for a given platform. Fixes bug 10147. r=deveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@89006 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:25:17 +00:00
blizzard%redhat.com
119c91979c more work on shutdown. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@89005 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:22:09 +00:00
javi%netscape.com
4f54363094 Call the get method for string classes. Brings us up to date with the
trunk of mozilla and their string class update landing.


git-svn-id: svn://10.0.0.236/trunk@89004 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:19:27 +00:00
pavlov%netscape.com
5b733399cf adding new directories to the pull scripts for new imagelib. bug 70938 r=bryner sr=cls
git-svn-id: svn://10.0.0.236/trunk@89003 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:18:55 +00:00
javi%netscape.com
8855977571 Update our use of strings to call their get methods bringing us up
to date with the trunk of mozilla.


git-svn-id: svn://10.0.0.236/trunk@89002 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:15:18 +00:00
pinkerton%netscape.com
d3ea22d104 don't break out of loop early unless we actually find the flavor on the clipboard when checking if flavor is present. r=brade/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@89001 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 23:13:27 +00:00
timeless%mac.com
984ff6f935 fix bug 70958 Profile Migration Doesn't Work With Keyboard
patch by bzbarsky@mit.edu r=ksosez sr=alecf


git-svn-id: svn://10.0.0.236/trunk@89000 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 22:54:39 +00:00
bryner%uiuc.edu
62cc31c8d0 Bug 71024 - adding a null check to prevent crash. patch by hwaara, r=bryner, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@88999 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 22:50:57 +00:00
pinkerton%netscape.com
0acdb1821e don't consume alt-key event if we don't find a shortcut in the menus. r=saari/brade. sr=shaver. bug# 71326
git-svn-id: svn://10.0.0.236/trunk@88998 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 22:49:31 +00:00
nhotta%netscape.com
726d66a6ed Enabled Lithuanian, Latvian, Estonian, Hebrew, Esperanto, bug 62578, r=tao, sr=erik.
git-svn-id: svn://10.0.0.236/trunk@88997 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 22:47:41 +00:00
blizzard%redhat.com
d90c1a99b3 Get profiles working, always load urls after a realize. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@88996 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 22:46:34 +00:00
alecf%netscape.com
e1fd40681c add refactored browser history - not part of build
these are all the functions that won't be in the slushy nsIGlobalHistory


git-svn-id: svn://10.0.0.236/trunk@88994 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 22:37:49 +00:00
heikki%netscape.com
dc17f285b4 Add XML Extras to the installers. r=sgehani,ssu, sr=brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@88993 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 22:29:21 +00:00
morse%netscape.com
3b643538c6 bug 63961, server can't turn off password manager, r=jelwell@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88991 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 22:15:35 +00:00
alecf%netscape.com
ab91d44792 augh - back out my change to disable hierachical history, and undo the typo that got added right before I checked in yesterday - this was the intended version of this file!
git-svn-id: svn://10.0.0.236/trunk@88990 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 22:07:51 +00:00
hewitt%netscape.com
577c6711a7 53036 - menubutton weirdness, r=timeless, sr=ben
git-svn-id: svn://10.0.0.236/trunk@88988 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 22:03:53 +00:00
dbragg%netscape.com
5917e1e388 Adding a standalone build necessary to fix bug 65682. r,a=dveditz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@88987 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 22:02:39 +00:00
jgmyers%netscape.com
abd14ff1b9 enable SMTP auth by default: bug 64777 r=racham sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@88986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 22:00:33 +00:00
beard%netscape.com
1c5610f321 [not part of build] Implemented nsCacheEntryDescriptor::GetFile().
git-svn-id: svn://10.0.0.236/trunk@88984 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 21:22:18 +00:00
beard%netscape.com
b5ecde3753 [not part of build] stub implementation of Visit().
Changed Cache directory creation logic in nsDiskCacheDevice.cpp.


git-svn-id: svn://10.0.0.236/trunk@88983 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 21:00:02 +00:00
beard%netscape.com
d2a908e357 [not part of build] implement VisitEntries.
git-svn-id: svn://10.0.0.236/trunk@88982 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 20:58:38 +00:00
beard%netscape.com
ff501a2d55 [not part of build] Added new interfaces nsICacheDeviceInfo, nsICacheEntryInfo.
git-svn-id: svn://10.0.0.236/trunk@88981 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 20:58:11 +00:00
disttsc%bart.nl
98103f66c0 Fix Solaris bustage. r=scc
git-svn-id: svn://10.0.0.236/trunk@88979 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 19:57:20 +00:00
alecf%netscape.com
07a8cce361 workaround history blocker by switching back to non-hierarchical history
git-svn-id: svn://10.0.0.236/trunk@88978 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 19:22:38 +00:00
scc%mozilla.org
34ec410023 fix solaris bustage
git-svn-id: svn://10.0.0.236/trunk@88977 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 18:32:28 +00:00
kestes%tradinglinx.com
1ec68f52d1 got the subtraction wrong and I was sleeping for negative times.
git-svn-id: svn://10.0.0.236/trunk@88976 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 18:13:32 +00:00
dave%intrec.com
49d7fbf9d5 Refix for bug 25693: more accurate regexp to find duplicates when generating initial duplicates table.
git-svn-id: svn://10.0.0.236/trunk@88973 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 17:29:09 +00:00
disttsc%bart.nl
8a8265f7bb Fix speedracer bustage, take #2. Temporary fix, will find a better one with scc.
git-svn-id: svn://10.0.0.236/trunk@88970 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 16:35:52 +00:00
attinasi%netscape.com
f15b490680 Commented out assertion while I find out why HR's are triggering it in some cases...
git-svn-id: svn://10.0.0.236/trunk@88966 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 15:48:48 +00:00
disttsc%bart.nl
dede0f9fba Fix speedracer bustage. It doesn't seem to like |Compare| :-)
r=shaver


git-svn-id: svn://10.0.0.236/trunk@88965 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 15:32:46 +00:00
alecf%netscape.com
68f99531ef update script to work on windows (not part of build)
git-svn-id: svn://10.0.0.236/trunk@88964 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 15:08:03 +00:00
cmanske%netscape.com
2d818176d0 Fixed problems in Advanced Edit dialog, b=67918, r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@88963 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 15:07:14 +00:00
cmanske%netscape.com
1b24df5aad Removed registering of commands not used in plain text editor, b=67993, r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@88962 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 15:03:51 +00:00
disttsc%bart.nl
2a2d17022b Fix speedracer bustage, r=dbaron, sr=scc, fall-out from bug 53057
git-svn-id: svn://10.0.0.236/trunk@88961 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 14:52:51 +00:00
dbaron%fas.harvard.edu
f3554504c8 Fix CSS_REPORT_PARSE_ERRORS build bustage resulting from string changes.
git-svn-id: svn://10.0.0.236/trunk@88960 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 14:25:11 +00:00
disttsc%bart.nl
d50f8d11b8 Fix potential dangling pointers of the form:
const char* foo = NS_ConvertUCS2toUTF8(bar).get();

sr=scc


git-svn-id: svn://10.0.0.236/trunk@88959 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 13:57:08 +00:00
disttsc%bart.nl
0c8117572d This could leave you with a dangling pointer:
nsCStringKey key(nsPromiseFlatCString(aRef).get());

because the nsPromiseFlatCString object will go out of scope,
so do this instead:

  nsPromiseFlatCString flat(aRef);
  nsCStringKey key(flat.get());

sr=scc


git-svn-id: svn://10.0.0.236/trunk@88958 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 13:13:42 +00:00
disttsc%bart.nl
af75904cf7 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|nsLiteral[C]String|
|nsPromiseFlat[C]String|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where
possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88957 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 12:33:57 +00:00
disttsc%bart.nl
0c734f3070 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|nsLiteral[C]String|
|nsPromiseFlat[C]String|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where
possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88956 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 10:50:45 +00:00
disttsc%bart.nl
7f19cefa4d Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|nsLiteral[C]String|
|nsPromiseFlat[C]String|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where
possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88955 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 10:45:03 +00:00
disttsc%bart.nl
63d1f07475 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|nsLiteral[C]String|
|nsPromiseFlat[C]String|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where
possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88954 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 09:45:01 +00:00
disttsc%bart.nl
55365f471a Forgot to remove this line in my last checkin. bug=53057
git-svn-id: svn://10.0.0.236/trunk@88953 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 09:28:32 +00:00
disttsc%bart.nl
bd82348c5b Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where                                                                                            possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88952 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 09:17:11 +00:00
disttsc%bart.nl
da14e5d6d5 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where
possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88951 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:53:58 +00:00
disttsc%bart.nl
abd8de21e5 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
alecf%netscape.com
e5075b3d5f fix for bug 58122 - find the anchor in the selection if there already is one
sr=ben, r=jag


git-svn-id: svn://10.0.0.236/trunk@88946 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 07:59:17 +00:00
darin%netscape.com
a8a12c5c51 Fixes bug 66516. Topperf regression from 1/23. r=dougt, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@88945 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 07:53:40 +00:00
bryner%uiuc.edu
e048a0f5a6 Bug 65623 - Add a pref to disable the UI of PSM 1.x. code by dougt, r=javi, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@88944 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 07:39:11 +00:00
disttsc%bart.nl
a59de6b8f1 Fix MOZ_TRACK_MODULE_DEPS builds (e.g. senna) bustage, add "intl locale timer" to REQUIRES line
git-svn-id: svn://10.0.0.236/trunk@88943 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 07:15:34 +00:00
alecf%netscape.com
fdec867769 change GetLastVisitDate semantics back to the way they were before - avoids a runtime assertion in nsWebShell.cpp
git-svn-id: svn://10.0.0.236/trunk@88942 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 07:07:19 +00:00
rpotts%netscape.com
4a26b1b526 bug #61339. Added a missing const to an nsdIID (sr=waterson)
git-svn-id: svn://10.0.0.236/trunk@88941 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 06:54:47 +00:00
dave%intrec.com
f65e8d8459 Adding the queryhelp.cgi file that was missing. (There are links to it in query.cgi)
git-svn-id: svn://10.0.0.236/trunk@88940 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 06:47:50 +00:00
barnboy%trilobyte.net
84a5f67096 Last transfer bombed on me. Added Bugzilla Guide as
single large HTML and TXT files, and updated README.docs
with compiling instructions for the Guide.


git-svn-id: svn://10.0.0.236/trunk@88939 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 06:35:33 +00:00
alecf%netscape.com
0988199cc2 argh, forgot two more lines
curse PRInt64!


git-svn-id: svn://10.0.0.236/trunk@88938 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 06:34:55 +00:00
alecf%netscape.com
cfbb6dfd4a oops, better attempt
git-svn-id: svn://10.0.0.236/trunk@88937 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 06:16:02 +00:00
alecf%netscape.com
e0f845965d attempt to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@88936 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 06:14:30 +00:00
alecf%netscape.com
1087b8d776 use nsCAutoString instead of nsLiteralCString to avoid stupid compiler ambiguity
lame! causes an extra copy.
fixes sun bustage


git-svn-id: svn://10.0.0.236/trunk@88935 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 06:02:34 +00:00
bryner%uiuc.edu
3860e8c248 Fixing non-debug builds. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@88934 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 06:01:29 +00:00
disttsc%bart.nl
ee093fe4bc Fix build bustage in XMLTerm extension. We were depending on an indirect inclusion of nsReadableUtils.h, which apparantly has gone, so explicitly including it now, like we should have. r=mcafee.
git-svn-id: svn://10.0.0.236/trunk@88933 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 05:53:07 +00:00
barnboy%trilobyte.net
13887941ab Adding back jpg as binary.
git-svn-id: svn://10.0.0.236/trunk@88932 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 05:44:23 +00:00
barnboy%trilobyte.net
29c6960883 Oops, forgot to put up dbschema.jpg as a binary file.
git-svn-id: svn://10.0.0.236/trunk@88931 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 05:42:31 +00:00
gordon%netscape.com
95787ca5fb [not part of build]
Removed return codes for nsCacheEntryHashtable::RemoveEntry() and nsCacheDevice::DoomEntry().

Added doomEntriesIfExpired flag to nsCacheSession and nsCacheRequest, and check the flag in nsCacheService::ActivateEntry()

Added lastModified attribute to nsCacheEntryDescriptor and mLastModified data member to nsCacheEntry.  mLastModified is updated when data or meta data is changed.

Deque requests if descriptor allocation fails.  Delete requests after calling proxy in async open cache entry path.

Cleaned up the logic of doom.


git-svn-id: svn://10.0.0.236/trunk@88929 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 05:37:00 +00:00
barnboy%trilobyte.net
3fe9f8b52c Documentation update; added docs/sgml, docs/html, docs/txt.
No text version of The Bugzilla Guide availabe yet, however.


git-svn-id: svn://10.0.0.236/trunk@88928 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 05:36:50 +00:00
heikki%netscape.com
21937fbbff Fix gbdate.h bustage.
git-svn-id: svn://10.0.0.236/trunk@88927 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 05:34:14 +00:00
gordon%netscape.com
e7a4e32b50 [not part of build]
Added readonly lastModified attribute to nsICacheEntryDescriptor.  Added PRBool attribute doomEntriesIfExpired to nsICacheSession.


git-svn-id: svn://10.0.0.236/trunk@88926 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 05:31:52 +00:00
timeless%mac.com
a9621c78a1 fix bug 69256 nsMsgNewsFolder::UpdateSummaryFromNNTPInfo leaks nsMsgKeySet
patch by hwaara@chello.se r=sspitzer, sr=bienvenu tabs=evil


git-svn-id: svn://10.0.0.236/trunk@88925 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 05:26:43 +00:00
alecf%netscape.com
f0af9d73c8 implement hierarchical history!
bug 65862
sr=waterson


git-svn-id: svn://10.0.0.236/trunk@88923 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 05:15:24 +00:00
timeless%mac.com
904e1060f5 fix bug 70453 printf in nsClipboard.cpp
r=rods sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@88922 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 05:12:30 +00:00
heikki%netscape.com
5bf6efbfd0 Fix typo (and OS2 bustage). r=peterv.
git-svn-id: svn://10.0.0.236/trunk@88921 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 05:00:22 +00:00
scc%mozilla.org
f5aa6fad51 fixing documentation
git-svn-id: svn://10.0.0.236/trunk@88920 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 04:47:24 +00:00
darin%netscape.com
94a6258211 [not part of the build] Fixed bugs in HTTP's MOZ_NEW_CACHE build.
git-svn-id: svn://10.0.0.236/trunk@88919 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 04:26:43 +00:00
heikki%netscape.com
0c6943fde0 Unix doesn't like recursive defines.
git-svn-id: svn://10.0.0.236/trunk@88918 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 04:16:40 +00:00
disttsc%bart.nl
6efeff1313 Fixing MOZ_TRACK_MODULE_DEPS builds (e.g. senna), adding "widget locale dom webshell pref necko" to REQUIRES.
git-svn-id: svn://10.0.0.236/trunk@88916 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 04:03:18 +00:00
stephend%netscape.com
2eb93e5036 Fixing tooltips so they re-appear for GetMsg and Print in Mail/News r=walk84@usa.net sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88914 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 04:01:49 +00:00
erik%netscape.com
d71744312c bug 70028; author=simon@softel.co.il; r=ftang; sr=erik; a few name changes
to match Mozilla conventions, and removal of some Arabic presentation form
methods (until we figure out a better way to do these)


git-svn-id: svn://10.0.0.236/trunk@88913 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 04:00:23 +00:00
heikki%netscape.com
a426a6d503 Fixing typo.
git-svn-id: svn://10.0.0.236/trunk@88910 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 03:45:48 +00:00
disttsc%bart.nl
89ecee7f78 Fixing MOZ_TRACK_MODULE_DEPS builds (e.g. senna), adding "nkcache" to REQUIRES line, r=dbaron
git-svn-id: svn://10.0.0.236/trunk@88909 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 03:37:28 +00:00
darin%netscape.com
d1d843c69c Fixes redness on tinderbox.
git-svn-id: svn://10.0.0.236/trunk@88908 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 03:30:33 +00:00
ccarlen%netscape.com
3bd64e9faf Bug 70965 - Crash if SI_RemoveAllSignonData called more than once. r=morse@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@88906 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 03:17:44 +00:00
heikki%netscape.com
89cd5dabfd Fixing Mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@88905 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 03:12:02 +00:00
rods%netscape.com
8501b8009c Explicitly setting the padding to zero
Bug 69130 r=kmcclusk sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@88904 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:58:12 +00:00
heikki%netscape.com
96c89ef63c Not part of default build. Fix the inspector because of changes that went in bug 69830. r=peterv.
git-svn-id: svn://10.0.0.236/trunk@88903 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:54:10 +00:00
rods%netscape.com
5a131f8bea Explicitly setting the padding to zero
Bug 69130 r=kmcclusk sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@88902 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:52:32 +00:00
rods%netscape.com
8b5d71dc38 Don't paint blocks that shouldn't be painted when printing
Bug 67296 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@88901 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:46:44 +00:00
heikki%netscape.com
76557f6b15 Removing unused file. Not part of build anymore.
git-svn-id: svn://10.0.0.236/trunk@88899 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:43:02 +00:00
heikki%netscape.com
b0d63de315 Bug 69830 , cleanup after layout split by moving duplicated files to a library that is statically linked to content and layout, and backing out changes to inline some functions that now also live in the shared lib. r=heikki, sr=smfr. Check-in by peterv.
git-svn-id: svn://10.0.0.236/trunk@88898 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:42:13 +00:00
heikki%netscape.com
71d5a4d22d Bug 69830, cleanup after layout split by moving duplicated files to a library that is statically linked to content and layout, and backing out changes to inline some functions that now also live in the shared lib. r=jst, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@88896 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:41:16 +00:00
shaver%mozilla.org
5106903714 71140: fix XPConnect-standalone build, r=cls
git-svn-id: svn://10.0.0.236/trunk@88895 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:40:37 +00:00
hyatt%netscape.com
6d89de31c6 More skin uninstallation foo. Same.
git-svn-id: svn://10.0.0.236/trunk@88894 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:36:01 +00:00
heikki%netscape.com
56404f9057 No bug number. Build XMLExtras without SOAP by default on Mac, as it is on other platforms. r=peterv, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@88893 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:32:56 +00:00
shaver%mozilla.org
14165fd6be preliminary documentation for nsIClassInfo
git-svn-id: svn://10.0.0.236/trunk@88892 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:32:20 +00:00
rods%netscape.com
218fd5f9d0 Skipp disabled items when pressing first letter
Bug 57580 r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@88890 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:29:21 +00:00
heikki%netscape.com
226903118a No bug number. Build SOAP only when enabled, and do not build it by default. r=peterv, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@88889 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:28:58 +00:00
heikki%netscape.com
94bd33d1bd No bug number. Build SOAP only when enabled, and do not build it by default. r=heikki, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@88888 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:28:00 +00:00
heikki%netscape.com
5666a107a0 No bug number. Build SOAP only if MOZ_SOAP is set, and do not build it by default. r=peterv, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@88887 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:13:30 +00:00
stephend%netscape.com
20144545ae Leaving Stephen Walker's changes to bug 67463 in, but removing my accidental changes fromy tree, sorry about that.
git-svn-id: svn://10.0.0.236/trunk@88886 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:59:32 +00:00
mcafee%netscape.com
3aaecb9708 Adding view page info for pages, frames (41443). patch=matthew wilsom, r=mcafee, sr=ben
git-svn-id: svn://10.0.0.236/trunk@88885 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:55:27 +00:00
darin%netscape.com
86be826644 Making nsStreamListenerCID available to non MOZ_NEW_CACHE builds.
git-svn-id: svn://10.0.0.236/trunk@88884 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:52:36 +00:00
hyatt%netscape.com
fdb873c6f5 Skin uninstallation. r=danm, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@88883 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:50:36 +00:00
hyatt%netscape.com
280342788a Skin uninstallation. Just do it, baby. r=danm, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@88882 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:50:12 +00:00
stephend%netscape.com
ca65f3e7a5 Checking in the fix for tooltips in bug 67463, patch by Stephen Walker (walk84@usa.net) r=stephend@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88881 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:42:38 +00:00
heikki%netscape.com
ecc814272a hyatt updated the old XUL atoms as part of fix for bug 71139, keeping this up to date.
git-svn-id: svn://10.0.0.236/trunk@88880 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:37:02 +00:00
dougt%netscape.com
9d819286cc fixing build bustage and renameing variable name.
git-svn-id: svn://10.0.0.236/trunk@88878 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:24:57 +00:00
erik%netscape.com
f3a85288a3 bugs 70028 and 70394; author=simon@softel.co.il; r=ftang; sr=erik; adding
Bidi and BidiUtils to build under IBMBIDI ifdef (not part of build yet);
from IBM bidi project


git-svn-id: svn://10.0.0.236/trunk@88877 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:15:02 +00:00
dougt%netscape.com
7ffe3c3031 Adding two new interfaces based on API review. Bugs: (71060,71056,71055). NOT PART OF BUILD YET
git-svn-id: svn://10.0.0.236/trunk@88876 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:11:58 +00:00
blakeross%telocity.com
c8cfd3d229 Mail and news prefs not painting properly (by John Morrison, 47813). r=blake sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@88875 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:07:14 +00:00
gordon%netscape.com
9250bb844b [not part of build] Fix a couple bugs to get http working. Don't deallocate requests before listener has been notified, and don't re-add entries to active entry hashtable.
git-svn-id: svn://10.0.0.236/trunk@88874 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:02:27 +00:00
erik%netscape.com
139f08c1a1 bugs 70028 and 70394; author=simon@softel.co.il; r=ftang; sr=erik; adding
nsIBidi.h and nsIUBidiUtils.h to build; from IBM bidi project


git-svn-id: svn://10.0.0.236/trunk@88873 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:02:04 +00:00
stephend%netscape.com
9d92bb1271 Bug 70241 Inconsistency in describing SMTP server r=racham@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88872 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:01:48 +00:00
stephend%netscape.com
24127d9d8a Bug 70128 & 70241 Inconsistency in describing SMTP & NNTP servers r=racham@netscape.com, sr=sspitzer@netscape.com and sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88871 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 01:00:28 +00:00
sfraser%netscape.com
2b5624e994 Fix for bug 67466 -- don't crash when opening lots of files on startup. r=pinkerton, sr=beard
git-svn-id: svn://10.0.0.236/trunk@88870 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:59:54 +00:00
darin%netscape.com
1b63bc2073 [not part of the build] Add some more logging when using new cache, and
make HTTP use the mem cache always (for now).


git-svn-id: svn://10.0.0.236/trunk@88869 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:59:39 +00:00
dougt%netscape.com
a6c1f76150 NOT PART OF BUILD. this makes ftp work with the cache a bit better.
git-svn-id: svn://10.0.0.236/trunk@88868 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:59:19 +00:00
stephend%netscape.com
e812b82417 Bug 70128 Inconsistency in describing SMTP server r=racham@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88867 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:59:07 +00:00
stephend%netscape.com
fa5895a12b Part of bug 70241 Inconsistency in describing SMTP server r=racham@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88866 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:58:21 +00:00
darin%netscape.com
46733099b4 Added nsStreamListenerTee to necko component. This is only used by the new
cache.  r=gordon,beard


git-svn-id: svn://10.0.0.236/trunk@88865 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:58:06 +00:00
dougt%netscape.com
60116314b0 Fix for 71235. making pagecycler give some timing data. r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88863 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:56:42 +00:00
dougt%netscape.com
6355fee0fd Fix for 70346. Fixing breakage plugin bustage. sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88862 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:55:11 +00:00
law%netscape.com
fd61bad6b7 Part of bug 57576; adding support for getting list-style-image; r=harishd, sr=jst
git-svn-id: svn://10.0.0.236/trunk@88861 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:55:01 +00:00
gordon%netscape.com
7c3e1ac39f Added nsStreamListenerTee.cpp to netwerk.mcp. r = saari.
git-svn-id: svn://10.0.0.236/trunk@88860 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:54:33 +00:00
dougt%netscape.com
632964b1a7 Adding break's to the switch statement. r=darin/sr=gagan
git-svn-id: svn://10.0.0.236/trunk@88859 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:49:31 +00:00
hyatt%netscape.com
c550068a0d Fixing outliner rules for focus.
git-svn-id: svn://10.0.0.236/trunk@88858 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:49:01 +00:00
thayes%netscape.com
bbf7e5b617 Implement tab-based framework for pageInfo.
+ tabs + extension by overlay + open to specific tab


git-svn-id: svn://10.0.0.236/trunk@88857 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:48:09 +00:00
hyatt%netscape.com
8c422398c6 Fix for 71139. Also reverting the splitter frame code back. r=danm, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@88856 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:47:22 +00:00
hyatt%netscape.com
e94e03d340 Fix for 71139. r=danm, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@88855 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:46:58 +00:00
valeski%netscape.com
8b6aeb374d 64804. r=dougt. fixing long broken stream converter chaining.
git-svn-id: svn://10.0.0.236/trunk@88854 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:41:53 +00:00
beard%netscape.com
53d0cb5b89 [not part of build] when DEBUG is true, always put cache directory next to current process.
git-svn-id: svn://10.0.0.236/trunk@88853 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 00:35:03 +00:00
gerv%gerv.net
dcc0e19dc1 Bug 66149 - nicer wording for the most common Bugzilla error message.
git-svn-id: svn://10.0.0.236/trunk@88851 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 23:59:15 +00:00
pavlov%netscape.com
f6f8819131 adding a printf to error
git-svn-id: svn://10.0.0.236/trunk@88848 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 23:41:54 +00:00
pavlov%netscape.com
5151b42fd5 adding some setjmp stff here that should hopefully avoid lameass crashes
git-svn-id: svn://10.0.0.236/trunk@88847 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 23:36:45 +00:00
despotdaemon%netscape.com
c942de0e09 Pseudo-automatic update of changes made by dmose@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@88845 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 22:57:30 +00:00
despotdaemon%netscape.com
688c7afd08 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@88844 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 22:55:29 +00:00
despotdaemon%netscape.com
44febe5c44 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@88843 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 22:43:25 +00:00
heikki%netscape.com
e15078e514 This should fix Mac bustage.
git-svn-id: svn://10.0.0.236/trunk@88842 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 22:39:42 +00:00
sfraser%netscape.com
4e9b0ca646 Fix for bug 71050, some dialog buttons blank on Mac. r=brade/tao, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@88837 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 22:14:14 +00:00
pchen%netscape.com
03a8627bf6 Fix for blocker 71146, tweak by cls, r=syd, sr=pchen (as sheriff). Change
strncmp to PL_strncmp to catch null "string".


git-svn-id: svn://10.0.0.236/trunk@88834 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 21:10:28 +00:00
barnboy%trilobyte.net
a680caf9bf Change to update sections 3 and 4, miscellaneous updates.
git-svn-id: svn://10.0.0.236/trunk@88832 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 20:55:39 +00:00
waterson%netscape.com
06336b484f Bug 71181. Revert attinasi's changes for bug 70730.
git-svn-id: svn://10.0.0.236/trunk@88831 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 20:15:35 +00:00
mcgreer%netscape.com
40a7fb8f08 add missing license text
git-svn-id: svn://10.0.0.236/trunk@88830 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 19:56:50 +00:00
mcgreer%netscape.com
fe329facca preliminary checkin of certificate manager
git-svn-id: svn://10.0.0.236/trunk@88828 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 19:24:12 +00:00
relyea%netscape.com
bd76aadc94 Bug 70657 . Old CERT DB doesn't always get closed after migration.
git-svn-id: svn://10.0.0.236/trunk@88827 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 17:34:44 +00:00
relyea%netscape.com
3eaad4e487 Fix Bug 70441 where ava fields with one or two characters are not formatted properly.
git-svn-id: svn://10.0.0.236/trunk@88826 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 17:31:53 +00:00
locka%iol.ie
f19fcfdcb0 Fix for using window.open specifying "_self" as the target. b=67288, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88825 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 13:43:04 +00:00
darin%netscape.com
045c0c5f1f [not part of the build] Added implementation files for nsIStreamListenerTee.
git-svn-id: svn://10.0.0.236/trunk@88824 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 12:54:45 +00:00
darin%netscape.com
c13b7e263a [not part of the build] Added nsIStreamListenerTee for the new cache.
git-svn-id: svn://10.0.0.236/trunk@88823 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 12:53:39 +00:00
darin%netscape.com
0db72b7ea2 [not part of the build] HTTP now compiles with MOZ_NEW_CACHE defined.
git-svn-id: svn://10.0.0.236/trunk@88822 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 12:19:27 +00:00
timeless%mac.com
e08ce90e39 fix bug 64562 Some chrome dtd bugs [duplicate entities in dtds]
fixes from cjh@kr.freebsd.org r=jag, sr=jst


git-svn-id: svn://10.0.0.236/trunk@88821 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 11:28:42 +00:00
timeless%mac.com
4a0f10f75f fix bug 61058 javascript strict warnings in institems.js
patch by gemal@gemal.dk r=timeless a=alecf


git-svn-id: svn://10.0.0.236/trunk@88820 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 10:57:22 +00:00
darin%netscape.com
af8b11010a [not part of the build] Fixes some bustage under GCC 2.96
git-svn-id: svn://10.0.0.236/trunk@88818 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 09:55:54 +00:00
gordon%netscape.com
fb0cae1827 [not part of build] Added test cases for ACCESS_READ of non-existent entry and ACCESS_WRITE of existing entry.
git-svn-id: svn://10.0.0.236/trunk@88817 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 09:31:45 +00:00
gordon%netscape.com
bf68e87589 [not part of build]
Added rough cut of pref code for memory cache device to get cache size, and implemented simple eviction method.

Restructured nsCacheEntryDescriptor to add SecurityInfo attribute.  Created nsTransportWrapper as nested class (and member) that addrefs the descriptor instead of itself (like nsPipe).  Also rename nsCacheOutputStream to nsOutputStreamWrapper and made it a nested class as well.


git-svn-id: svn://10.0.0.236/trunk@88816 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 09:27:36 +00:00
cls%seawood.org
4cf720fb9f Update information about legaldirs & createlegaldirs.pl
git-svn-id: svn://10.0.0.236/trunk@88815 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 09:12:42 +00:00
Peter.VanderBeken%pandora.be
0febd517eb Mac build stuff for Vixen. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@88812 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 08:34:19 +00:00
Peter.VanderBeken%pandora.be
465c15acaa Mac build stuff for Vixen. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@88811 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 08:28:49 +00:00
mcafee%netscape.com
31ce65cd76 nuking dead or lame images
git-svn-id: svn://10.0.0.236/trunk@88810 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 08:09:15 +00:00
jst%netscape.com
64866fe41c WIP, adding scriptable helpers for the DOM, will be used by XPConnect eventually. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@88809 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 07:55:21 +00:00
ben%netscape.com
264e656e4f Fix for 57763. r=blake, a=alecf
git-svn-id: svn://10.0.0.236/trunk@88807 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 07:50:14 +00:00
mcafee%netscape.com
b6399888ba Comment out embed tbox
git-svn-id: svn://10.0.0.236/trunk@88805 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 07:40:50 +00:00
cltbld%netscape.com
0aa43db532 Checking in bryner's fix for speedracer bustage. r=cls
git-svn-id: svn://10.0.0.236/trunk@88801 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 07:10:22 +00:00
darin%netscape.com
5b26897b8f Added some error checking.
git-svn-id: svn://10.0.0.236/trunk@88800 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 06:35:36 +00:00
dbaron%fas.harvard.edu
682d7c9a06 Really fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage.
git-svn-id: svn://10.0.0.236/trunk@88799 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 06:07:28 +00:00
mkaply%us.ibm.com
b008ba9126 OS/2 Build break
git-svn-id: svn://10.0.0.236/trunk@88798 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 05:58:59 +00:00
suresh%netscape.com
4e7fb741a2 Adding aim protocol to the list. No Specific bug number. r=syd. sr=mstoltz
git-svn-id: svn://10.0.0.236/trunk@88797 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 05:58:45 +00:00
bryner%uiuc.edu
6f6f4dded1 Trying again to fix speedracer bustage. r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@88796 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 05:40:49 +00:00
dbaron%fas.harvard.edu
a806846a26 Fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage by using a real REQUIRES line rather than a copied one.
git-svn-id: svn://10.0.0.236/trunk@88795 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 05:17:01 +00:00
tara%tequilarista.org
5cdd8c2e2a Making query.cgi use the new queryhelp.cgi doc
git-svn-id: svn://10.0.0.236/trunk@88794 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 05:02:46 +00:00
bryner%uiuc.edu
fb72c20ba6 Attempting to fix speedracer bustage. GTK_CHECK_VERSION is not defined on GTK+ 1.2.0.
git-svn-id: svn://10.0.0.236/trunk@88793 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 04:43:48 +00:00
cls%seawood.org
6bb8990b28 Add workaround for gcc 2.95.2 -O3 optimization bug involving nsCOMPtrs in a do loop.
Thanks to Johnny Stenback <jst@netscape.com> for the patch.
Bug #61501. r=waterson sr=brendan


git-svn-id: svn://10.0.0.236/trunk@88792 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 04:41:24 +00:00
barnboy%trilobyte.net
1e0c401e89 Fixed typos, dated information, and Windows NT instructions.
git-svn-id: svn://10.0.0.236/trunk@88791 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 04:27:03 +00:00
cls%seawood.org
254d0c352a Set MD specific files for openbsd.
git-svn-id: svn://10.0.0.236/trunk@88790 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 04:21:24 +00:00
endico%mozilla.org
af1ebedb4d fix for bug 30823. fixed advanced queries on dependencies and cc. added huge comment about how boolean charts work.
git-svn-id: svn://10.0.0.236/trunk@88789 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 04:11:47 +00:00
beard%netscape.com
1142c3fe58 Implement pre-seeking when underlying seekable output streams. r=darin, r=gordon
git-svn-id: svn://10.0.0.236/trunk@88788 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 04:07:05 +00:00
beard%netscape.com
aced59b313 [not part of build] don't overwrite a NULL pointer.
git-svn-id: svn://10.0.0.236/trunk@88787 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 04:05:36 +00:00
beard%netscape.com
eab0833c6b [not part of build] Using async open & read.
git-svn-id: svn://10.0.0.236/trunk@88786 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 04:04:33 +00:00
beard%netscape.com
2e914e474d [not part of build] Added synchronous http (unimplemented).
git-svn-id: svn://10.0.0.236/trunk@88785 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 04:03:39 +00:00
bryner%uiuc.edu
6c427322c0 This should fix the build bustage on ports, by using a gtk version test to decide what type to pass to gdk_gc_set_dashes. r=dbaron, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@88784 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 03:35:10 +00:00
mcafee%netscape.com
18b77ce62e flames are on by default now
git-svn-id: svn://10.0.0.236/trunk@88781 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 03:24:38 +00:00
mkaply%us.ibm.com
876553155b No bug
r=mkaply, a=blizzard
Code from dainis - workaround postscript bug where GpiQueryColorIndex doesn't work


git-svn-id: svn://10.0.0.236/trunk@88779 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 03:17:43 +00:00
shaver%mozilla.org
6e0127a24d 71107: make inner-peeking properly set HEAVYWEIGHT for all outer functions (r=jband,sr=brendan)
git-svn-id: svn://10.0.0.236/trunk@88778 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 03:14:25 +00:00
dbaron%fas.harvard.edu
ab9e5033f2 Fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage by changing MODULE from raptor to layout.
git-svn-id: svn://10.0.0.236/trunk@88777 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 03:11:33 +00:00
dave%intrec.com
1909c8b617 Fix for bug 62949: Initial Test Component on new install did not have initialOwner, which made sanitycheck complain.
git-svn-id: svn://10.0.0.236/trunk@88776 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 03:09:29 +00:00
cls%seawood.org
ff55700ce0 Use NO_MFC to build without the MFC tainted bits.
Bug #71087 sr=leaf


git-svn-id: svn://10.0.0.236/trunk@88775 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 03:08:12 +00:00
mcafee%netscape.com
56725f6043 Adding &flames=1 support
git-svn-id: svn://10.0.0.236/trunk@88774 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 03:04:23 +00:00
mkaply%us.ibm.com
c64937f6c9 IRIX breakage - CR/LF problem on dougt checkin
git-svn-id: svn://10.0.0.236/trunk@88773 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 03:04:02 +00:00
darin%netscape.com
7c4046b068 [not part of the build] Initial work to conditionally compile HTTP against the new cache.
git-svn-id: svn://10.0.0.236/trunk@88767 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 02:53:34 +00:00
gordon%netscape.com
dbd8c256b9 [not part of build] Add security info attribute to nsICacheEntryDescriptor.
git-svn-id: svn://10.0.0.236/trunk@88766 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 02:47:08 +00:00
tao%netscape.com
16f8c943a1 3631: can't get migration pull download list (MAC) r=jelwell,sr=syd
git-svn-id: svn://10.0.0.236/trunk@88765 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 02:42:15 +00:00
stephend%netscape.com
20fc920f31 Checking in fix for bug 61296. Patch by Ksosez (ksosez@softhome.net) r=blake sr=seth
git-svn-id: svn://10.0.0.236/trunk@88764 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 02:42:14 +00:00
stephend%netscape.com
22f1242f6c Checking in fix for bug 70496. Patch by Keyser Sosez (ksosez@softhome.net r=boris, sr=seth
git-svn-id: svn://10.0.0.236/trunk@88763 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 02:40:24 +00:00
mkaply%us.ibm.com
67237995e6 No bug
r=mkaply, a=blizzard
We can remove lDisplayDepth as a result of removing RequiresInvertedMask


git-svn-id: svn://10.0.0.236/trunk@88762 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 02:36:48 +00:00
mkaply%us.ibm.com
57ab671dce No bug
r=mkaply, a=blizzard
Code from dainis - remove unused function - RequiresInvertedMask


git-svn-id: svn://10.0.0.236/trunk@88760 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 02:30:33 +00:00
mkaply%us.ibm.com
0acdf9526c No bug
r=mkaply, a=blizzard
Code from dainis - workaround postscript bug where GpiQueryColorIndex doesn't work


git-svn-id: svn://10.0.0.236/trunk@88757 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 02:25:00 +00:00
javi%netscape.com
ab6cab923b Make the pref dialog call a JS function to open up
the certificate manager.

Also put all the localizable strings into dtd and properties
files.


git-svn-id: svn://10.0.0.236/trunk@88756 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 02:17:00 +00:00
heikki%netscape.com
e90510463a Bug 66786, fix UMR in GetLine(). Fix by Daniel Bratell (bratell@lysator.liu.se). r=heikki, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@88755 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 02:03:57 +00:00
mkaply%us.ibm.com
7f8d23473a #60330
r=mkaply, a=blizzard
Code from dainis - support empty clip rects (clip everything) on OS/2


git-svn-id: svn://10.0.0.236/trunk@88754 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 02:01:03 +00:00
erik%netscape.com
bdbe566805 bug 70394; author=simon@softel.co.il; r=ftang; sr=erik; this is the
interface and implementation of the Unicode Bidi Algorithm, based on IBM's
ICU (International Classes for Unicode), ported to Mozilla's XPCOM/NS/PR
conventions; not part of the build yet


git-svn-id: svn://10.0.0.236/trunk@88751 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 01:52:16 +00:00
hyatt%netscape.com
0aff0314c7 Fix for 62783. r=danm, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@88750 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 01:46:13 +00:00
hyatt%netscape.com
597a4e8598 Fix for state updating in Composer. r=danm, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@88749 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 01:44:56 +00:00
beard%netscape.com
503b4b32f7 [not part of build] Added GetFile() to implement the file attribute.
git-svn-id: svn://10.0.0.236/trunk@88748 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 01:40:41 +00:00
beard%netscape.com
1bed9bd372 [not part of build] Added file attribute to nsICacheEntryDescriptor, added STORE_ON_DISK_AS_FILE to nsICache.
git-svn-id: svn://10.0.0.236/trunk@88747 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 01:37:42 +00:00
sspitzer%netscape.com
dd1964fd78 fix bugscape bugs #2883 #2884 #3927. Thanks to jgaunt@netscape.com for the
patch.  r/sr=sspitzer,bienvenu


git-svn-id: svn://10.0.0.236/trunk@88746 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 01:33:55 +00:00
bryner%uiuc.edu
ce8d5b7041 Fixing build on gtk+ >= 1.2.7. r=pavlov, sr=blizzard.
git-svn-id: svn://10.0.0.236/trunk@88744 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 01:31:15 +00:00
pschwartau%netscape.com
69876eeb2d Initial add. Regression test for bug 71107.
git-svn-id: svn://10.0.0.236/trunk@88743 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 01:30:15 +00:00
racham%netscape.com
63cdd2c73d Fixing bug 67634. Clearing the default url value so that beep takes the default place for biff sound. r=racham, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@88740 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 01:16:44 +00:00
racham%netscape.com
5b1c29fd94 Fixing bug 67634. Default sound for biff is changed to be the system beep. Patch by Seth. r=racham, sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@88739 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 01:16:35 +00:00
shaver%mozilla.org
6287e8c1f2 71102: remove archaic and unused browsing profile code (r=waterson,sr=brendan)
git-svn-id: svn://10.0.0.236/trunk@88738 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 01:15:04 +00:00
waterson%netscape.com
076c14c841 Bug 70005. Since unrooting is conditional on whether or not mScriptObject is set, be sure to only set the root in the first place if we have a non-null script object. r=mstoltz, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@88735 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 01:12:40 +00:00
jgmyers%netscape.com
f2796ba5cc Have SMTP prompt for userid if it's not set in prefs: bug 64777 sr=mscott r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@88733 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 01:08:04 +00:00
pavlov%netscape.com
0369506cd8 make imgIRequest an nsIRequest again. do RGB->BGR conversion for jpegs. add an error code for no decoder. add place to add expiration date to the cache entries once darin fixes http channel to give me an expiration date..
git-svn-id: svn://10.0.0.236/trunk@88732 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:59:49 +00:00
jgmyers%netscape.com
6300d60f43 pass default and override charset down to header decoder: bug 65277 r=nhotta r=ducarroz sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@88731 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:59:47 +00:00
darin%netscape.com
58bb327a0c minor coding style cleanup.
git-svn-id: svn://10.0.0.236/trunk@88730 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:55:43 +00:00
pinkerton%netscape.com
ba32268a60 don't process mouseMove events if the app is in the bg. r=saari/sr=sfraser. bug# 70518.
git-svn-id: svn://10.0.0.236/trunk@88729 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:52:43 +00:00
axel%pike.org
28ee1c8093 not part of build; adding xpcom logging, r=peterv
git-svn-id: svn://10.0.0.236/trunk@88728 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:51:38 +00:00
pinkerton%netscape.com
e4c17ad1c3 Don't set SWP_NOZORDER flag for popups, as this allows the taskbar to
come in front at certain times. bug# 47152. r=danm/rods/kmcclusk. sr=hyatt.


git-svn-id: svn://10.0.0.236/trunk@88727 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:46:36 +00:00
sspitzer%netscape.com
e3f0ad95db fix for bugscape bug #4174. sr=mscott
git-svn-id: svn://10.0.0.236/trunk@88726 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:44:20 +00:00
waterson%netscape.com
019c67de16 Bug 70699. Fix windows makefile to create .obj files in win32_x.obj. Tip o' the cap to gverdun@acm.org. r=jst, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@88725 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:43:11 +00:00
axel%pike.org
3ea6636ab9 not part of build; adding XPCOM logging, and whitespace in documents, r=peterv
git-svn-id: svn://10.0.0.236/trunk@88724 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:42:57 +00:00
attinasi%netscape.com
35ec037877 Fix for printing crash when bulleted items have no bullet and we assume they do. Added assertion to help find the cause of the problem, and checks for null to prevent the crash. b=70730 r=dcone sr=waterson
git-svn-id: svn://10.0.0.236/trunk@88722 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:38:45 +00:00
sspitzer%netscape.com
717d250225 fixes for the outliner. from varga and sspitzer. sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@88720 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-07 00:14:27 +00:00
beard%netscape.com
e2a9261f18 Fix build bustage by adding files from xul/base/src/outliner. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@88717 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 23:41:34 +00:00
sspitzer%netscape.com
e51c5a6ff0 more bustage.
git-svn-id: svn://10.0.0.236/trunk@88716 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 23:18:38 +00:00
sspitzer%netscape.com
f354495ebc fix build bustage. thanks to meep and Pike.
git-svn-id: svn://10.0.0.236/trunk@88715 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 23:16:27 +00:00
glazman%netscape.com
c51ab80308 mSourceString in SelectorList was allocated, filled with a
reconstructed copy of ALL selectors in chrome and document,
unused and then deallocated ! b=70995, r=hewitt, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@88711 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 23:07:33 +00:00
mkaply%us.ibm.com
cb03091089 Win bustage - there was still an extra character in the file
I got it this time


git-svn-id: svn://10.0.0.236/trunk@88710 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 23:05:54 +00:00
sspitzer%netscape.com
e16cad68ad fix bustage. sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@88707 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 22:53:48 +00:00
blizzard%redhat.com
fef72503bd Hot tooltip love. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@88706 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 22:51:23 +00:00
mkaply%us.ibm.com
46471ef79c Win bustage - there was still an extra character in the file
git-svn-id: svn://10.0.0.236/trunk@88705 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 22:49:29 +00:00
blizzard%redhat.com
e726a72240 Implement SIZE_TO, DESTROY_BROWSER, and OPEN_URI. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@88704 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 22:41:53 +00:00
hyatt%netscape.com
6f8aa53d7e Fix for 70877, enabling outliner. r=dr, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@88701 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 22:16:42 +00:00
bryner%uiuc.edu
07fdbbe53d Use user prefs for determining whether to enable SSL2/SSL3/TLS. Also, remove now-unused pref service stuff from nsSecureBrowserUIImpl. r=javi.
git-svn-id: svn://10.0.0.236/trunk@88700 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 22:07:26 +00:00
darin%netscape.com
5bf29d7b78 [not part of the buid] Renamed onDescriptorAvailable to onCacheEntryAvailable.
git-svn-id: svn://10.0.0.236/trunk@88699 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 22:04:05 +00:00
blizzard%redhat.com
7c10d03451 New embedding widget files. Not Yet Quite Part Of The Build, Folks
git-svn-id: svn://10.0.0.236/trunk@88698 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 21:56:57 +00:00
pavlov%netscape.com
50226ce43a add the loadgroup back in.. send the proxy a onstoprequest message when addobserver is called if it has already been stopped... this makes sure the image request always gets removed from the loadgroup.. this could be further optimized to avoid adding it to the loadgroup at all if the image is complete when the proxy gets created.
git-svn-id: svn://10.0.0.236/trunk@88697 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 21:54:33 +00:00
sfraser%netscape.com
aa5c92832c Fix for bug 71063 -- don't pass streams by value. r=blake, sr=morse
git-svn-id: svn://10.0.0.236/trunk@88696 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 21:28:07 +00:00
dougt%netscape.com
91f9ff8520 Attempting to fix bustage. removing tabs
git-svn-id: svn://10.0.0.236/trunk@88695 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 21:27:54 +00:00
cmanske%netscape.com
8167181d4d Fixed editor bugs 68064 and 70263. r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@88694 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 21:12:28 +00:00
chuang%netscape.com
5417b08b1e Bug65870 "Notes" data field does not display after migrating, r=ducarroz, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@88693 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 21:04:55 +00:00
dougt%netscape.com
5c4d59d038 Making nsInputStreamTee build on windows. r=darin, sr=gagan
git-svn-id: svn://10.0.0.236/trunk@88685 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 20:29:20 +00:00
darin%netscape.com
c0b15ae584 [used only by the new cache] nsStorageTransport incorrectly returned TRUE for GetNonBlocking. r=dougt
git-svn-id: svn://10.0.0.236/trunk@88684 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 20:29:06 +00:00
dougt%netscape.com
f60779319e NOT PART OF BUILD. moving the getMetdata up a bit
git-svn-id: svn://10.0.0.236/trunk@88683 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 20:22:01 +00:00
ducarroz%netscape.com
24ddbf5cc1 Fix for bug 48668. Put back the extra blank line before page link. R=varada, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@88682 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 20:20:58 +00:00
jfrancis%netscape.com
b9f86f8b98 fix for 70602: selection not properly reset when joining nodes. {r,sr}={kin,sfraser}
git-svn-id: svn://10.0.0.236/trunk@88681 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 20:16:38 +00:00
racham%netscape.com
6957bbbb7c Fixing bug 58721. Fixing the situation where application hangs if the biff interval is greater than 35 minutes. Needed to use the nsInt64 var to hold the values and to get carried forward properly for further operations. r=gayatrib, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@88676 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 19:44:37 +00:00
oeschger%netscape.com
a5aba9553f updating links in help welcome page, NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@88661 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 15:58:05 +00:00
beard%netscape.com
f6c6566a51 Remove nsGarbageCollector.c (obsolete), fix access paths.
git-svn-id: svn://10.0.0.236/trunk@88660 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 15:54:37 +00:00
timeless%mac.com
0486afd7a8 fix bug 46127 -console option missing from -help listing
patch by anedah-9@sm.luth.se r=timeless, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@88659 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 15:51:05 +00:00
matthias%sorted.org
f1ff706673 replicated SpiderMonkey fix for bug 67773
git-svn-id: svn://10.0.0.236/trunk@88658 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 13:57:01 +00:00
ben%netscape.com
e451fccd8a Another round of ViXEn updates. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@88657 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 09:41:14 +00:00
nicolson%netscape.com
0283714fd0 Replaced javadoc in new SSL classes.
A couple of API tweaks.


git-svn-id: svn://10.0.0.236/trunk@88656 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 08:49:37 +00:00
nicolson%netscape.com
86896470b9 Rename misnamed ssl methods.
git-svn-id: svn://10.0.0.236/trunk@88655 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 08:48:03 +00:00
darin%netscape.com
708e49ad66 Indentation, whitespace, and comment cleanups.
git-svn-id: svn://10.0.0.236/trunk@88654 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 08:46:57 +00:00
scc%mozilla.org
a6d2242b23 r=jst, avoid deprecated operator
git-svn-id: svn://10.0.0.236/trunk@88652 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 08:33:00 +00:00
maolson%earthlink.net
e5eea7bb4a fix 68876 - Fix sort ordering in View -> Character Coding -> Auto-Detect
r=timeless, a=ben


git-svn-id: svn://10.0.0.236/trunk@88651 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 08:32:59 +00:00
darin%netscape.com
0a26429699 Indentation, whitespace, and comment cleanups.
git-svn-id: svn://10.0.0.236/trunk@88650 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 08:25:18 +00:00
darin%netscape.com
f83c0bbef6 Indentation, whitespace, and comment cleanups.
git-svn-id: svn://10.0.0.236/trunk@88649 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 08:17:03 +00:00
darin%netscape.com
90d3d3ddaf [not part of the build] Fixes bustage resulting from bryner's nsITransport changes.
git-svn-id: svn://10.0.0.236/trunk@88648 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 07:35:54 +00:00
bryner%uiuc.edu
14a9926b15 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@88647 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 06:22:58 +00:00
attinasi%netscape.com
488afba86a Fixes box-sizing for absolutely positioned elements. b=67690 r=waterson (and buster R.I.P), sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@88646 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 05:56:19 +00:00
bryner%uiuc.edu
1bee2fc3c1 forgot a file
git-svn-id: svn://10.0.0.236/trunk@88645 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 05:44:53 +00:00
jj%netscape.com
26d258f43a dummy version of the EULA for installer debugging purposes.
git-svn-id: svn://10.0.0.236/trunk@88643 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 05:34:57 +00:00
jj%netscape.com
8526a6c113 using [0x80] instead of #128 for version_minor string. bugzilla 68231 r=sdagley
git-svn-id: svn://10.0.0.236/trunk@88640 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 05:20:05 +00:00
pavlov%netscape.com
88fd756ce9 don't add requests to the loadgroup yet... it causes the browser not to start up...
git-svn-id: svn://10.0.0.236/trunk@88639 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 05:15:04 +00:00
jj%netscape.com
e40e163c45 Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott. (jj checking in for bryner)
git-svn-id: svn://10.0.0.236/trunk@88638 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 05:10:55 +00:00
bryner%uiuc.edu
ab5139c48f Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@88637 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 05:10:33 +00:00
bryner%uiuc.edu
1c63880df2 Bug 70595 - making nsIPrompt accessible to PSM. r=darin, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@88636 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 05:00:47 +00:00
despotdaemon%netscape.com
90385ae596 Pseudo-automatic update of changes made by cathleen@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@88635 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 04:50:49 +00:00
pavlov%netscape.com
69466a5e70 adding a dummy channel class that i can add to load groups for each request instead of giving the real channel a single load group. cache fixes, cleanups, etc.
git-svn-id: svn://10.0.0.236/trunk@88634 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 04:46:20 +00:00
jj%netscape.com
2215a1c39f obsolete EULA. see bugscape #4012
git-svn-id: svn://10.0.0.236/trunk@88633 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 04:24:25 +00:00
gordon%netscape.com
3764094d6d [not part of build...and a good thing too] Fixed a couple of really stupid mistakes. Thanks to Patrick for finding them. Go back to your homes. Nothing to see here.
git-svn-id: svn://10.0.0.236/trunk@88632 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 04:01:00 +00:00
blakeross%telocity.com
6a6d73b16b Updating ua string to 0.8.1
git-svn-id: svn://10.0.0.236/trunk@88630 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 03:41:05 +00:00
dbaron%fas.harvard.edu
5fb99776bc Fix server name not showing up in status bar for FTP connections. b=66682 r=dougt@netscape.com sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88629 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 03:32:07 +00:00
waterson%netscape.com
6bc8f962b4 Bug 64670. Clean up and document SplitToContainingBlock(). Specifically: fix stray comma in file; unmuddle replaced frame and its parent in CantRenderReplacedElement(); sanity check args in SplitToContainingBlock(); manage view reparenting in SplitToContainingBlock(); fix nsObjectFrame to only stifle key events if the plugin was really instantiated. r=kmcclusk, saari sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88628 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 03:31:29 +00:00
beard%netscape.com
66344bae90 [not part of build] Increased number of downloads/reads to 50, added median().
git-svn-id: svn://10.0.0.236/trunk@88627 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 03:29:08 +00:00
gordon%netscape.com
057243bb88 [not part of build]
Fix race condition in nsCacheRequest WaitForValidation().

Force !streamBased to set storagePolicy to nsICache:STORE_IN_MEMORY when creating nsCacheSessions.

Fix ProcessRequest() to refrain from creating a descriptor for ACCESS_READ requests when no entry is found (found by pavlov).


git-svn-id: svn://10.0.0.236/trunk@88626 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 03:26:13 +00:00
dbaron%fas.harvard.edu
eada4125eb Add pref to REQUIRES to fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage.
git-svn-id: svn://10.0.0.236/trunk@88625 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 03:24:57 +00:00
timeless%mac.com
1499fb2a7f fix bug 67108 "Mail startpage" groupbox needs cleanup
fix by hwaara@chello.se r=timeless, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@88624 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 03:24:13 +00:00
darin%netscape.com
a3e03c5eaf [not part of the build] Prevent crash in error case.
git-svn-id: svn://10.0.0.236/trunk@88623 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 03:12:24 +00:00
hyatt%netscape.com
3955e0e8a4 Outliner rules. NOt enabled yet.
git-svn-id: svn://10.0.0.236/trunk@88622 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:51:09 +00:00
hyatt%netscape.com
524b3e364f Not part of build.
git-svn-id: svn://10.0.0.236/trunk@88621 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:47:38 +00:00
mkaply%us.ibm.com
ff43fa4412 No bug
r=mkaply, a=blizzard
Typo in IBM866 charset


git-svn-id: svn://10.0.0.236/trunk@88620 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:47:21 +00:00
mkaply%us.ibm.com
7d2cf368d1 #62777
r=mkaply, a=blizzard
1255 and 1256 are not supported on OS/2 - use 862 and 864 instead


git-svn-id: svn://10.0.0.236/trunk@88619 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:45:50 +00:00
brendan%mozilla.org
e49034549b I'm a Linux loser, warnings don't affect me.
git-svn-id: svn://10.0.0.236/trunk@88618 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:45:35 +00:00
hyatt%netscape.com
92719d2231 Patch for 70809. Also checking in a piece I forgot to check in of the format
toolbar bug from earlier today (it was r and sr already).  70809 is r=attinasi,
sr=brendan


git-svn-id: svn://10.0.0.236/trunk@88617 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:40:15 +00:00
tao%netscape.com
e8647ed58f 1. 61626:"Need to make langxxxx.xpi platform neutral"
2. 70622: fix the "update.html" is also included.
3. 69934: make regus.jst & langenus.jst more localization friendly.
r=ssu,sr=deveditz.


git-svn-id: svn://10.0.0.236/trunk@88616 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:34:34 +00:00
hyatt%netscape.com
e887dceb91 Fix for 70809. r=attinasi, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@88615 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:30:30 +00:00
hyatt%netscape.com
11b2e924f2 Outliner files are not part of build.
The other files are a fix for bug #70809.  r=attinasi, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@88614 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:27:50 +00:00
naving%netscape.com
1d63570fda 65630. sr=bienvenu. Do batching only if the platform is not MAC. Also m_folderStream
should point to m_folderSpec and not m_dbName


git-svn-id: svn://10.0.0.236/trunk@88613 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:23:52 +00:00
dougt%netscape.com
1ce6c637df Fixing windows bustage.
git-svn-id: svn://10.0.0.236/trunk@88612 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:21:37 +00:00
dougt%netscape.com
d140683af0 Adding nsIndexToHTML.
git-svn-id: svn://10.0.0.236/trunk@88611 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:14:59 +00:00
dougt%netscape.com
7365790187 Fixes 64795 - Allows viewing FTP without the treewidget. r=valeski@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88610 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:14:42 +00:00
beard%netscape.com
570f5ff2a8 [not part of build] create the cache directory if it doesn't exist already.
git-svn-id: svn://10.0.0.236/trunk@88609 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:10:18 +00:00
brendan%mozilla.org
2ba6cefe74 Death to tabs\!
git-svn-id: svn://10.0.0.236/trunk@88608 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 02:05:03 +00:00
dbaron%fas.harvard.edu
14ad030646 Work in progress on CSS error reporting: fix the known false positives and duplicate messages and improve the error messages. It's still a hack that I wouldn't really want to enable by default, but it should be useful for debugging chrome CSS. r=glazman@netscape.com sr=attinasi@netscape.com b=65469
git-svn-id: svn://10.0.0.236/trunk@88605 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 01:57:30 +00:00
brendan%mozilla.org
22cc58b856 bugs 31003 and (mostly) 68045, r=rogerl, sr=shaver&hyatt
- Fix bug where script jssrcnote vector terminator was not XDRed.
- Ensure that memory is cleared by serializing zero padding bytes as needed
  under JS_XDRBytes and JS_XDRString.
- Fix JS_XDRValue to handle undefined and null JS types properly (bug 31003).
  Also make it cast from jsint to uint32 and back carefully, so as to work
  with negative numbers even on targets where jsval is a signed 64 bit type.
- Add JS_XDRScript public API.
- Optimize the per-JSXDRState class registry so it uses a JSDHashTable upon
  searching for a class-id by name in an overpopulated (for linear search)
  registry table.
- Clean up API nits such as JS_XDRNewBase => JS_XDRInitBase, with parameter
  list rotation to put cx last (JS_XDRInitBase is an infallible init helper,
  not an error-reporting, cx-comes-first, API entry point).
- Fix some XXX comments, unneeded masks, other nits.
- Make sure all JS XDR API functions start with JS_XDR.


git-svn-id: svn://10.0.0.236/trunk@88604 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 01:56:30 +00:00
dbaron%fas.harvard.edu
edbbd33e17 Remove attempted workaround for CantRenderReplacedElement crash that didn't fix the crash (which is now fixed the right way).
Clean up the FrameManager a bit, mainly by moving the destruction of the frame tree into the |Destroy| method rather than doing it in the destructor.  This would make it safer to convert nsIFrameManager to IDL and use the frame manager from JS.  It also reduces the risk of leaks caused by having something owned by a frame own the frame manager.  Breaking cycles in a destructor can be risky because the objects entrained by the cycle could include the object whose destructor would break the cycle.
b=65800  r=waterson@netscape.com  sr=attinasi@netscape.com


git-svn-id: svn://10.0.0.236/trunk@88603 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 01:46:03 +00:00
hyatt%netscape.com
e7e967242c Fix for 59558, r=brendan, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@88602 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 01:42:34 +00:00
darin%netscape.com
2685a2a7cc [not part of the build] Fixes sync OpenCacheEntry bustage.
git-svn-id: svn://10.0.0.236/trunk@88601 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 01:40:20 +00:00
dougt%netscape.com
e1b6217683 Fixes 68483 as well as fixes some mem leaks cause by canceling a request. r=darin@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88600 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 01:27:54 +00:00
cls%seawood.org
26fcde5f6c Remove last call to nsprpub\makefile.win
git-svn-id: svn://10.0.0.236/trunk@88597 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 01:01:34 +00:00
jst%netscape.com
8a2f0eb79a Fixing bug in the incremental layout notification code in the sink (no bug #). The sink context was calling DidAddContent() before decrementing the mInMonolithicContainer member in the sink if we were closing a monolithic container. This made the document never incrementally reflow changes after closing a monolithic container. Fix done by Vidur, sr=vidur@netscape.com/jst@netscape.com, r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88596 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 00:52:54 +00:00
attinasi%netscape.com
6e78b74479 Don't reflow for every notification of an image load if the image frame's size is constrained. b=69552 r=kmcclusk sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@88591 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 00:47:46 +00:00
alecf%netscape.com
c9e1c01b98 fix for #66908 r=timeless, a=ben
make history history sidebar urls open in the current window, if possible


git-svn-id: svn://10.0.0.236/trunk@88589 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 00:41:41 +00:00
naving%netscape.com
9cc54de4a9 #70817 r/sr = bienvenu, alecf. Pass the strm as reference instead of a copy.
git-svn-id: svn://10.0.0.236/trunk@88587 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 00:31:06 +00:00
Peter.VanderBeken%pandora.be
1d60321263 Fix for bug #68605 (correct the XSLT document() function). Patch by Jonas Sicking <sicking@bigfoot.com>, r=me. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@88585 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 00:14:56 +00:00
Peter.VanderBeken%pandora.be
c14341fb3e Fix for bug #68605 (correct the XSLT document() function). Patch by Jonas Sicking <sicking@bigfoot.com>, r=me. Not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@88584 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-06 00:12:43 +00:00
darin%netscape.com
c3e8536f42 [not part of the bulid] Fixes GCC 2.95 bustage.
git-svn-id: svn://10.0.0.236/trunk@88583 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 23:50:26 +00:00
maolson%earthlink.net
cd38968a0d Fix bug 68522 - "Message Filters" dialog should have context enabled/disabled features
r=jag, r=gayatrib, sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@88580 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 23:40:25 +00:00
blakeross%telocity.com
f4dc8b7402 Search cleanup (70102). r=timeless sr=alecf
git-svn-id: svn://10.0.0.236/trunk@88578 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 23:30:07 +00:00
hyatt%netscape.com
8725c45023 Fix for 68478. r=blake, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@88577 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 23:28:07 +00:00
tao%netscape.com
7946f8b87c 70920: Remove unused references of binaryStream in nsStringBundle.cpp.
(r=be,sr=erik)


git-svn-id: svn://10.0.0.236/trunk@88575 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 23:01:55 +00:00
oeschger%netscape.com
7bc827d8b8 small fixes to help chrome, NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@88574 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 22:53:40 +00:00
hyatt%netscape.com
921bed6bf3 Fix for 68138. r=danm, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@88569 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 22:29:52 +00:00
karnaze%netscape.com
0eac198bf2 Added new regression test, fixed an old one. Not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@88568 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 22:26:07 +00:00
blakeross%telocity.com
54c5fe9bac Table crash in webmail page (70072). r=karnaze sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@88567 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 22:09:14 +00:00
rogerl%netscape.com
118fa5848e Fixed increment bug. Added mPrivate member and supported native getter &
setter functions for NAME opcodes.


git-svn-id: svn://10.0.0.236/trunk@88566 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 21:49:23 +00:00
hyatt%netscape.com
55301ff06d Disable attachto capability in XBL. Fix for bug#55265. r=danm, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@88565 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 21:45:13 +00:00
varada%netscape.com
fd97f13fde fix for bug#49378;UI:feedback after saving draft;r=ducarroz;sr=mscott
git-svn-id: svn://10.0.0.236/trunk@88564 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 21:45:05 +00:00
hyatt%netscape.com
4f171a2fce Fix for 57112. r=danm, sr=jst
git-svn-id: svn://10.0.0.236/trunk@88561 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 21:39:27 +00:00
dbragg%netscape.com
59cfea51bd Now stripping off trailing slashes and setting mFileSpec equal to nsnull when a bogus path
with double slashes is passed in.  Fixes bug 62861. r=dveditz, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@88558 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 21:05:55 +00:00
yokoyama%netscape.com
d6c44db96f Bug fix for 29358; /r= rbs@maths.uq.edu.au, /sr=brendan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88557 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 20:55:10 +00:00
evaughan%netscape.com
be6d994c1a Forgot some makefile. NOT IN BUILD
git-svn-id: svn://10.0.0.236/trunk@88556 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 20:26:03 +00:00
evaughan%netscape.com
bf459fb17e Added to accessibility not in build.
git-svn-id: svn://10.0.0.236/trunk@88555 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 20:21:39 +00:00
ducarroz%netscape.com
2a5333bd3b Bug 22486. Add TimeStamp function to track new message and reply performance. R=sspitzer, SR=bienvenu
git-svn-id: svn://10.0.0.236/trunk@88554 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 20:00:26 +00:00
thayes%netscape.com
48f30d684e Add pageInfo overlay to for displaying security information
git-svn-id: svn://10.0.0.236/trunk@88553 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 19:40:39 +00:00
cmanske%netscape.com
a2d9c8d079 Checkin to fix bug 69851 for pedimont@us.ibm.com, r=cmanske, sr=kin
git-svn-id: svn://10.0.0.236/trunk@88546 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-05 15:41:39 +00:00
476 changed files with 2104 additions and 148571 deletions

View File

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

View File

@@ -1,320 +0,0 @@
# -*- 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)

View File

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

View File

@@ -1,804 +0,0 @@
<!--
- The contents of this file are subject to the Netscape Public
- License Version 1.1 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at http://www.mozilla.org/NPL/
-
- Software distributed under the License is distributed on an "AS
- IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
- implied. See the License for the specific language governing
- rights and limitations under the License.
-
- The Original Code is Mozilla 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

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

View File

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@@ -1,122 +0,0 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@@ -1,96 +0,0 @@
#// The contents of this file are subject to the Netscape Public
#// License Version 1.1 (the "License"); you may not use this file
#// except in compliance with the License. You may obtain a copy of
#// the License at http://www.mozilla.org/NPL/
#//
#// Software distributed under the License is distributed on an "AS
#// IS" basis, WITHOUT WARRANTY OF ANY KIND, either express 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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