Compare commits

..

365 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
12 changed files with 2104 additions and 2288 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,217 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/NPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*/
#ifndef nsImageFrame_h___
#define nsImageFrame_h___
#include "nsLeafFrame.h"
#include "nsString.h"
#include "nsIPresContext.h"
#include "nsHTMLImageLoader.h"
#include "nsIImageFrame.h"
#ifdef USE_IMG2
#include "nsTransform2D.h"
#include "imgIRequest.h"
#include "imgIDecoderObserver.h"
#include "imgIContainerObserver.h"
#endif
class nsIFrame;
class nsImageMap;
class nsIURI;
class nsILoadGroup;
struct nsHTMLReflowState;
struct nsHTMLReflowMetrics;
struct nsSize;
#ifdef USE_IMG2
class nsImageFrame;
class nsImageListener : imgIDecoderObserver
{
public:
nsImageListener();
virtual ~nsImageListener();
NS_DECL_ISUPPORTS
NS_DECL_IMGIDECODEROBSERVER
NS_DECL_IMGICONTAINEROBSERVER
void SetFrame(nsImageFrame *frame) { mFrame = frame; }
private:
nsImageFrame *mFrame;
};
#endif
#define ImageFrameSuper nsLeafFrame
class nsImageFrame : public ImageFrameSuper, public nsIImageFrame {
public:
nsImageFrame();
// nsISupports
NS_IMETHOD QueryInterface(const nsIID& aIID, void** aInstancePtr);
NS_IMETHOD Destroy(nsIPresContext* aPresContext);
NS_IMETHOD Init(nsIPresContext* aPresContext,
nsIContent* aContent,
nsIFrame* aParent,
nsIStyleContext* aContext,
nsIFrame* aPrevInFlow);
NS_IMETHOD Paint(nsIPresContext* aPresContext,
nsIRenderingContext& aRenderingContext,
const nsRect& aDirtyRect,
nsFramePaintLayer aWhichLayer);
NS_IMETHOD Reflow(nsIPresContext* aPresContext,
nsHTMLReflowMetrics& aDesiredSize,
const nsHTMLReflowState& aReflowState,
nsReflowStatus& aStatus);
NS_IMETHOD GetContentForEvent(nsIPresContext* aPresContext,
nsEvent* aEvent,
nsIContent** aContent);
NS_IMETHOD HandleEvent(nsIPresContext* aPresContext,
nsGUIEvent* aEvent,
nsEventStatus* aEventStatus);
NS_IMETHOD GetCursor(nsIPresContext* aPresContext,
nsPoint& aPoint,
PRInt32& aCursor);
NS_IMETHOD AttributeChanged(nsIPresContext* aPresContext,
nsIContent* aChild,
PRInt32 aNameSpaceID,
nsIAtom* aAttribute,
PRInt32 aHint);
NS_IMETHOD GetFrameType(nsIAtom** aResult) const;
NS_IMETHOD GetIntrinsicImageSize(nsSize& aSize);
NS_IMETHOD GetNaturalImageSize(PRUint32* naturalWidth,
PRUint32 *naturalHeight);
NS_IMETHOD IsImageComplete(PRBool* aComplete);
#ifdef DEBUG
NS_IMETHOD SizeOf(nsISizeOfHandler* aHandler, PRUint32* aResult) const;
#endif
#ifdef USE_IMG2
NS_IMETHOD OnStartDecode(imgIRequest *aRequest, nsIPresContext *aCX);
NS_IMETHOD OnStartContainer(imgIRequest *aRequest, nsIPresContext *aCX, imgIContainer *aImage);
NS_IMETHOD OnStartFrame(imgIRequest *aRequest, nsIPresContext *aCX, gfxIImageFrame *aFrame);
NS_IMETHOD OnDataAvailable(imgIRequest *aRequest, nsIPresContext *aCX, gfxIImageFrame *aFrame, const nsRect * rect);
NS_IMETHOD OnStopFrame(imgIRequest *aRequest, nsIPresContext *aCX, gfxIImageFrame *aFrame);
NS_IMETHOD OnStopContainer(imgIRequest *aRequest, nsIPresContext *aCX, imgIContainer *aImage);
NS_IMETHOD OnStopDecode(imgIRequest *aRequest, nsIPresContext *aCX, nsresult aStatus, const PRUnichar *aStatusArg);
NS_IMETHOD FrameChanged(imgIContainer *aContainer, nsIPresContext *aCX, gfxIImageFrame *aNewframe, nsRect *aDirtyRect);
#endif
protected:
// nsISupports
NS_IMETHOD_(nsrefcnt) AddRef(void);
NS_IMETHOD_(nsrefcnt) Release(void);
virtual ~nsImageFrame();
virtual void GetDesiredSize(nsIPresContext* aPresContext,
const nsHTMLReflowState& aReflowState,
nsHTMLReflowMetrics& aDesiredSize);
#ifndef USE_IMG2
nsresult UpdateImage(nsIPresContext* aPresContext, PRUint32 aStatus, void* aClosure);
#endif
nsImageMap* GetImageMap(nsIPresContext* aPresContext);
void TriggerLink(nsIPresContext* aPresContext,
const nsString& aURLSpec,
const nsString& aTargetSpec,
PRBool aClick);
PRBool IsServerImageMap();
void TranslateEventCoords(nsIPresContext* aPresContext,
const nsPoint& aPoint,
nsPoint& aResult);
PRBool GetAnchorHREF(nsString& aResult);
PRIntn GetSuppress();
void MeasureString(const PRUnichar* aString,
PRInt32 aLength,
nscoord aMaxWidth,
PRUint32& aMaxFit,
nsIRenderingContext& aContext);
void DisplayAltText(nsIPresContext* aPresContext,
nsIRenderingContext& aRenderingContext,
const nsString& aAltText,
const nsRect& aRect);
void DisplayAltFeedback(nsIPresContext* aPresContext,
nsIRenderingContext& aRenderingContext,
PRInt32 aIconId);
void GetInnerArea(nsIPresContext* aPresContext,
nsRect& aInnerArea) const;
#ifndef USE_IMG2
static nsresult UpdateImageFrame(nsIPresContext* aPresContext,
nsHTMLImageLoader* aLoader,
nsIFrame* aFrame,
void* aClosure,
PRUint32 aStatus);
#endif
PRBool CanLoadImage(nsIURI *aURI);
void GetBaseURI(nsIURI **uri);
void GetLoadGroup(nsIPresContext *aPresContext, nsILoadGroup **aLoadGroup);
nsHTMLImageLoader mImageLoader;
nsHTMLImageLoader * mLowSrcImageLoader;
nsImageMap* mImageMap;
PRPackedBool mSizeConstrained;
#ifdef USE_IMG2
PRPackedBool mGotInitialReflow;
nsCOMPtr<imgIRequest> mImageRequest;
nsCOMPtr<imgIRequest> mLowImageRequest;
nsCOMPtr<imgIDecoderObserver> mListener;
nsSize mComputedSize;
nsSize mIntrinsicSize;
nsTransform2D mTransform;
#endif
PRPackedBool mSizeFrozen;
PRPackedBool mInitialLoadCompleted;
PRPackedBool mCanSendLoadEvent;
nsMargin mBorderPadding;
PRUint32 mNaturalImageWidth,
mNaturalImageHeight;
};
#endif /* nsImageFrame_h___ */

View File

@@ -1,2 +0,0 @@
This is the source code for the "mozbot" robot that hangs out on the #mozilla
irc channel (server irc.mozilla.org).

View File

@@ -1,101 +0,0 @@
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is the Bugzilla Bug Tracking System.
#
# 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): Harrison Page <harrison@netscape.com>
# Terry Weissman <terry@mozilla.org>
# harrison@netscape.com
#
# 1.0 10/16/98
package Tinderbox;
require Exporter;
use strict 'vars';
use vars qw (@ISA @EXPORT $VERSION);
use LWP::Simple;
# use HTML::Parse;
use Carp;
@ISA = qw (Exporter);
@EXPORT = qw (status statuz);
my $VERSION = "1.0";
# status wants a reference to a list of tinderbox trees
# and a url ending with tree=, default to mozilla.org's
# server if not provided. status returns two references
# to hashes. the first contains tree names as key,
# tree status as value. second hash contains trees to
# whether or tree is open or closed.
#
# tree status can be horked or success.
#
# barf.
sub status
{
my $trees = shift;
my $url = shift;
my %info; my %tree_state;
# maybe this is too helpful
if (ref ($trees) ne "ARRAY")
{
carp "status method wants a reference to a list, not a " . ref ($trees);
return;
}
$url = $url || "http://tinderbox.mozilla.org/" .
"showbuilds.cgi?quickparse=1&tree=";
my $output = get $url . join ',', @$trees;
return if (! $output);
my @qp = split /\n/, $output;
# loop through quickparse output
foreach my $op (@qp)
{
my ($type, $tree, $build, $state) = split /\|/, $op;
if ($type eq "State")
{
$tree_state{$tree} = $state;
}
elsif ($type eq "Build")
{
if ($state =~ /success/i) {
$state = "Success";
} elsif ($state =~ /testfailed/i) {
$state = "Test Failed";
} else {
$state = "Horked";
}
$info{$tree}{$build} = $state;
}
}
return (\%info, \%tree_state);
}
1;

View File

@@ -1,160 +0,0 @@
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is the Bugzilla Bug Tracking System.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s): Terry Weissman <terry@mozilla.org>
#
#
#
# Most of this module is rudely swiped from infobot. Here are the various
# licensing words I found with it:
# --
#
# The license for this stuff is yet to be written.
# Please don't do anything good with it without at
# least mentioning this work, perhaps the author (Kevin
# Lenzo, lenzo@cs.cmu.edu), and the Carnegie Mellon
# University, which supports my study.
#
# Also, there is work being done on various bits of this
# now by various people; if you have any corrections
# or contributions, please send them to me. Flat
# ascii files of databases, made with dump_db, are
# wonderful things to share, and a repository will be
# set up.
#
# ---
#
# This program is copyright Jonathan Feinberg 1999.
#
# This program is distributed under the same terms as infobot.
#
# Jonathan Feinberg
# jdf@pobox.com
# http://pobox.com/~jdf/
#
# Version 1.0
# First public release.
#
# ---------------------- (End of licensing words) ------------------------
package babel;
use strict;
use diagnostics;
my $no_babel;
BEGIN {
eval "use URI::Escape"; # utility functions for encoding the
if ($@) { $no_babel++}; # babelfish request
eval "use LWP::UserAgent";
if ($@) { $no_babel++};
}
BEGIN {
# Translate some feasible abbreviations into the ones babelfish
# expects.
use vars qw!%lang_code $lang_regex!;
%lang_code = (
fr => 'fr',
sp => 'es',
po => 'pt',
pt => 'pt',
it => 'it',
ge => 'de',
de => 'de',
gr => 'de',
en => 'en'
);
# Here's how we recognize the language you're asking for. It looks
# like RTSL saves you a few keystrokes in #perl, huh?
$lang_regex = join '|', keys %lang_code;
}
sub babelfish {
return '' if $no_babel;
my ($direction, $lang, $phrase) = @_;
$lang = $lang_code{$lang};
my $ua = new LWP::UserAgent;
$ua->timeout(4);
my $req =
HTTP::Request->new('POST',
'http://babelfish.altavista.digital.com/cgi-bin/translate');
$req->content_type('application/x-www-form-urlencoded');
my $tolang = "en_$lang";
my $toenglish = "${lang}_en";
if ($direction eq 'to') {
return translate($phrase, $tolang, $req, $ua);
}
elsif ($direction eq 'from') {
return translate($phrase, $toenglish, $req, $ua);
}
my $last_english = $phrase;
my $last_lang;
my %results = ();
my $i = 0;
while ($i++ < 7) {
last if $results{$phrase}++;
$last_lang = $phrase = translate($phrase, $tolang, $req, $ua);
last if $results{$phrase}++;
$last_english = $phrase = translate($phrase, $toenglish, $req, $ua);
}
return $last_english;
}
sub translate {
return '' if $no_babel;
my ($phrase, $languagepair, $req, $ua) = @_;
my $urltext = uri_escape($phrase);
$req->content("urltext=$urltext&lp=$languagepair&doit=done");
my $res = $ua->request($req);
if ($res->is_success) {
my $html = $res->content;
# This method subject to change with the whims of Altavista's design
# staff.
my ($translated) =
($html =~ m{<br>
\s+
<font\ face="arial,\ helvetica">
\s*
(?:\*\*\s+time\ out\s+\*\*)?
\s*
([^<]*)
}sx);
$translated =~ s/\n/ /g;
$translated =~ s/\s*$//;
return $translated;
} else {
return ":("; # failure
}
}
"Hello. I'm a true value.";

File diff suppressed because it is too large Load Diff

View File

@@ -1,17 +0,0 @@
CFLAGS=-g
OBJS=md5.o token.o main.o
all: $(OBJS) uuidgen
uuidgen: $(OBJS)
gcc -o uuidgen $(OBJS)
md5.o: md5.c md5.h
token.o: token.c token.h
main.o: main.c
clean:
rm -f *.o *~ core uuidgen

View File

@@ -1,17 +0,0 @@
/* copyright? hah! it's 10 lines of code! */
#include <stdio.h>
#include "token.h"
int main(int argc, char **argv) {
uuid_state state;
uuid_t uuid;
char output[1024];
create_uuid_state(&state);
create_token(&state, &uuid);
format_token(output, &uuid);
printf("%s\n", output);
}

View File

@@ -1,263 +0,0 @@
/*
* This code implements the MD5 message-digest algorithm.
* The algorithm is due to Ron Rivest. This code was
* written by Colin Plumb in 1993, no copyright is claimed.
* This code is in the public domain; do with it what you wish.
*
* Equivalent code is available from RSA Data Security, Inc.
* This code has been tested against that, and is equivalent,
* except that you don't need to include two pages of legalese
* with every copy.
*
* To compute the message digest of a chunk of bytes, declare an
* MD5Context structure, pass it to MD5Init, call MD5Update as
* needed on buffers full of bytes, and then call MD5Final, which
* will fill a supplied 16-byte array with the digest.
*/
/* Brutally hacked by John Walker back from ANSI C to K&R (no
prototypes) to maintain the tradition that Netfone will compile
with Sun's original "cc". */
#include <memory.h> /* for memcpy() */
#include "md5.h"
#ifdef sgi
#define HIGHFIRST
#endif
#ifdef sun
#define HIGHFIRST
#endif
#ifndef HIGHFIRST
#define byteReverse(buf, len) /* Nothing */
#else
/*
* Note: this code is harmless on little-endian machines.
*/
void byteReverse(buf, longs)
unsigned char *buf; unsigned longs;
{
uint32 t;
do {
t = (uint32) ((unsigned) buf[3] << 8 | buf[2]) << 16 |
((unsigned) buf[1] << 8 | buf[0]);
*(uint32 *) buf = t;
buf += 4;
} while (--longs);
}
#endif
/*
* Start MD5 accumulation. Set bit count to 0 and buffer to mysterious
* initialization constants.
*/
void MD5Init(ctx)
struct MD5Context *ctx;
{
ctx->buf[0] = 0x67452301;
ctx->buf[1] = 0xefcdab89;
ctx->buf[2] = 0x98badcfe;
ctx->buf[3] = 0x10325476;
ctx->bits[0] = 0;
ctx->bits[1] = 0;
}
/*
* Update context to reflect the concatenation of another buffer full
* of bytes.
*/
void MD5Update(ctx, buf, len)
struct MD5Context *ctx; unsigned char *buf; unsigned len;
{
uint32 t;
/* Update bitcount */
t = ctx->bits[0];
if ((ctx->bits[0] = t + ((uint32) len << 3)) < t)
ctx->bits[1]++; /* Carry from low to high */
ctx->bits[1] += len >> 29;
t = (t >> 3) & 0x3f; /* Bytes already in shsInfo->data */
/* Handle any leading odd-sized chunks */
if (t) {
unsigned char *p = (unsigned char *) ctx->in + t;
t = 64 - t;
if (len < t) {
memcpy(p, buf, len);
return;
}
memcpy(p, buf, t);
byteReverse(ctx->in, 16);
MD5Transform(ctx->buf, (uint32 *) ctx->in);
buf += t;
len -= t;
}
/* Process data in 64-byte chunks */
while (len >= 64) {
memcpy(ctx->in, buf, 64);
byteReverse(ctx->in, 16);
MD5Transform(ctx->buf, (uint32 *) ctx->in);
buf += 64;
len -= 64;
}
/* Handle any remaining bytes of data. */
memcpy(ctx->in, buf, len);
}
/*
* Final wrapup - pad to 64-byte boundary with the bit pattern
* 1 0* (64-bit count of bits processed, MSB-first)
*/
void MD5Final(digest, ctx)
unsigned char digest[16]; struct MD5Context *ctx;
{
unsigned count;
unsigned char *p;
/* Compute number of bytes mod 64 */
count = (ctx->bits[0] >> 3) & 0x3F;
/* Set the first char of padding to 0x80. This is safe since there is
always at least one byte free */
p = ctx->in + count;
*p++ = 0x80;
/* Bytes of padding needed to make 64 bytes */
count = 64 - 1 - count;
/* Pad out to 56 mod 64 */
if (count < 8) {
/* Two lots of padding: Pad the first block to 64 bytes */
memset(p, 0, count);
byteReverse(ctx->in, 16);
MD5Transform(ctx->buf, (uint32 *) ctx->in);
/* Now fill the next block with 56 bytes */
memset(ctx->in, 0, 56);
} else {
/* Pad block to 56 bytes */
memset(p, 0, count - 8);
}
byteReverse(ctx->in, 14);
/* Append length in bits and transform */
((uint32 *) ctx->in)[14] = ctx->bits[0];
((uint32 *) ctx->in)[15] = ctx->bits[1];
MD5Transform(ctx->buf, (uint32 *) ctx->in);
byteReverse((unsigned char *) ctx->buf, 4);
memcpy(digest, ctx->buf, 16);
memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
}
/* The four core functions - F1 is optimized somewhat */
/* #define F1(x, y, z) (x & y | ~x & z) */
#define F1(x, y, z) (z ^ (x & (y ^ z)))
#define F2(x, y, z) F1(z, x, y)
#define F3(x, y, z) (x ^ y ^ z)
#define F4(x, y, z) (y ^ (x | ~z))
/* This is the central step in the MD5 algorithm. */
#define MD5STEP(f, w, x, y, z, data, s) \
( w += f(x, y, z) + data, w = w<<s | w>>(32-s), w += x )
/*
* The core of the MD5 algorithm, this alters an existing MD5 hash to
* reflect the addition of 16 longwords of new data. MD5Update blocks
* the data and converts bytes into longwords for this routine.
*/
void MD5Transform(buf, in)
uint32 buf[4]; uint32 in[16];
{
register uint32 a, b, c, d;
a = buf[0];
b = buf[1];
c = buf[2];
d = buf[3];
MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7);
MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12);
MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17);
MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22);
MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7);
MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12);
MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17);
MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22);
MD5STEP(F1, a, b, c, d, in[8] + 0x698098d8, 7);
MD5STEP(F1, d, a, b, c, in[9] + 0x8b44f7af, 12);
MD5STEP(F1, c, d, a, b, in[10] + 0xffff5bb1, 17);
MD5STEP(F1, b, c, d, a, in[11] + 0x895cd7be, 22);
MD5STEP(F1, a, b, c, d, in[12] + 0x6b901122, 7);
MD5STEP(F1, d, a, b, c, in[13] + 0xfd987193, 12);
MD5STEP(F1, c, d, a, b, in[14] + 0xa679438e, 17);
MD5STEP(F1, b, c, d, a, in[15] + 0x49b40821, 22);
MD5STEP(F2, a, b, c, d, in[1] + 0xf61e2562, 5);
MD5STEP(F2, d, a, b, c, in[6] + 0xc040b340, 9);
MD5STEP(F2, c, d, a, b, in[11] + 0x265e5a51, 14);
MD5STEP(F2, b, c, d, a, in[0] + 0xe9b6c7aa, 20);
MD5STEP(F2, a, b, c, d, in[5] + 0xd62f105d, 5);
MD5STEP(F2, d, a, b, c, in[10] + 0x02441453, 9);
MD5STEP(F2, c, d, a, b, in[15] + 0xd8a1e681, 14);
MD5STEP(F2, b, c, d, a, in[4] + 0xe7d3fbc8, 20);
MD5STEP(F2, a, b, c, d, in[9] + 0x21e1cde6, 5);
MD5STEP(F2, d, a, b, c, in[14] + 0xc33707d6, 9);
MD5STEP(F2, c, d, a, b, in[3] + 0xf4d50d87, 14);
MD5STEP(F2, b, c, d, a, in[8] + 0x455a14ed, 20);
MD5STEP(F2, a, b, c, d, in[13] + 0xa9e3e905, 5);
MD5STEP(F2, d, a, b, c, in[2] + 0xfcefa3f8, 9);
MD5STEP(F2, c, d, a, b, in[7] + 0x676f02d9, 14);
MD5STEP(F2, b, c, d, a, in[12] + 0x8d2a4c8a, 20);
MD5STEP(F3, a, b, c, d, in[5] + 0xfffa3942, 4);
MD5STEP(F3, d, a, b, c, in[8] + 0x8771f681, 11);
MD5STEP(F3, c, d, a, b, in[11] + 0x6d9d6122, 16);
MD5STEP(F3, b, c, d, a, in[14] + 0xfde5380c, 23);
MD5STEP(F3, a, b, c, d, in[1] + 0xa4beea44, 4);
MD5STEP(F3, d, a, b, c, in[4] + 0x4bdecfa9, 11);
MD5STEP(F3, c, d, a, b, in[7] + 0xf6bb4b60, 16);
MD5STEP(F3, b, c, d, a, in[10] + 0xbebfbc70, 23);
MD5STEP(F3, a, b, c, d, in[13] + 0x289b7ec6, 4);
MD5STEP(F3, d, a, b, c, in[0] + 0xeaa127fa, 11);
MD5STEP(F3, c, d, a, b, in[3] + 0xd4ef3085, 16);
MD5STEP(F3, b, c, d, a, in[6] + 0x04881d05, 23);
MD5STEP(F3, a, b, c, d, in[9] + 0xd9d4d039, 4);
MD5STEP(F3, d, a, b, c, in[12] + 0xe6db99e5, 11);
MD5STEP(F3, c, d, a, b, in[15] + 0x1fa27cf8, 16);
MD5STEP(F3, b, c, d, a, in[2] + 0xc4ac5665, 23);
MD5STEP(F4, a, b, c, d, in[0] + 0xf4292244, 6);
MD5STEP(F4, d, a, b, c, in[7] + 0x432aff97, 10);
MD5STEP(F4, c, d, a, b, in[14] + 0xab9423a7, 15);
MD5STEP(F4, b, c, d, a, in[5] + 0xfc93a039, 21);
MD5STEP(F4, a, b, c, d, in[12] + 0x655b59c3, 6);
MD5STEP(F4, d, a, b, c, in[3] + 0x8f0ccc92, 10);
MD5STEP(F4, c, d, a, b, in[10] + 0xffeff47d, 15);
MD5STEP(F4, b, c, d, a, in[1] + 0x85845dd1, 21);
MD5STEP(F4, a, b, c, d, in[8] + 0x6fa87e4f, 6);
MD5STEP(F4, d, a, b, c, in[15] + 0xfe2ce6e0, 10);
MD5STEP(F4, c, d, a, b, in[6] + 0xa3014314, 15);
MD5STEP(F4, b, c, d, a, in[13] + 0x4e0811a1, 21);
MD5STEP(F4, a, b, c, d, in[4] + 0xf7537e82, 6);
MD5STEP(F4, d, a, b, c, in[11] + 0xbd3af235, 10);
MD5STEP(F4, c, d, a, b, in[2] + 0x2ad7d2bb, 15);
MD5STEP(F4, b, c, d, a, in[9] + 0xeb86d391, 21);
buf[0] += a;
buf[1] += b;
buf[2] += c;
buf[3] += d;
}

View File

@@ -1,26 +0,0 @@
#ifndef MD5_H
#define MD5_H
#ifdef __alpha
typedef unsigned int uint32;
#else
typedef unsigned long uint32;
#endif
struct MD5Context {
uint32 buf[4];
uint32 bits[2];
unsigned char in[64];
};
extern void MD5Init();
extern void MD5Update();
extern void MD5Final();
extern void MD5Transform();
/*
* This is needed to make RSAREF happy on some MS-DOS compilers.
*/
typedef struct MD5Context MD5_CTX;
#endif /* !MD5_H */

View File

@@ -1,356 +0,0 @@
/*
** Copyright (C) 1998-1999 Greg Stein. All Rights Reserved.
**
** By using this file, you agree to the terms and conditions set forth in
** the LICENSE.html file which can be found at the top level of the mod_dav
** distribution or at http://www.webdav.org/mod_dav/license-1.html.
**
** Contact information:
** Greg Stein, PO Box 3151, Redmond, WA, 98073
** gstein@lyra.org, http://www.webdav.org/mod_dav/
*/
/*
** DAV opaquelocktoken scheme implementation
**
** Written 5/99 by Keith Wannamaker, wannamak@us.ibm.com
** Adapted from ISO/DCE RPC spec and a former Internet Draft
** by Leach and Salz:
** http://www.ics.uci.edu/pub/ietf/webdav/uuid-guid/draft-leach-uuids-guids-01
**
** Portions of the code are covered by the following license:
**
** Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc.
** Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. &
** Digital Equipment Corporation, Maynard, Mass.
** Copyright (c) 1998 Microsoft.
** To anyone who acknowledges that this file is provided "AS IS"
** without any express or implied warranty: permission to use, copy,
** modify, and distribute this file for any purpose is hereby
** granted without fee, provided that the above copyright notices and
** this notice appears in all source code copies, and that none of
** the names of Open Software Foundation, Inc., Hewlett-Packard
** Company, or Digital Equipment Corporation be used in advertising
** or publicity pertaining to distribution of the software without
** specific, written prior permission. Neither Open Software
** Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital Equipment
** Corporation makes any representations about the suitability of
** this software for any purpose.
*/
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "md5.h"
#include "token.h"
#ifdef WIN32
#include <windows.h>
#else
#include <sys/types.h>
#include <sys/time.h>
#include <sys/sysinfo.h>
#endif
/* set the following to the number of 100ns ticks of the actual resolution of
your system's clock */
#define UUIDS_PER_TICK 1024
/* Set this to what your compiler uses for 64 bit data type */
#ifdef WIN32
#define unsigned64_t unsigned __int64
#define I64(C) C
#else
#define unsigned64_t unsigned long long
#define I64(C) C##LL
#endif
typedef unsigned64_t uuid_time_t;
const uuid_t null_locktoken = {0};
static void format_uuid_v1(uuid_t * uuid, unsigned16 clockseq, uuid_time_t timestamp, uuid_node_t node);
static void get_current_time(uuid_time_t * timestamp);
static unsigned16 true_random(void);
static void get_pseudo_node_identifier(uuid_node_t *node);
static void get_system_time(uuid_time_t *uuid_time);
static void get_random_info(unsigned char seed[16]);
/* dav_create_opaquelocktoken - generates a UUID version 1 token.
* Clock_sequence and node_address set to pseudo-random
* numbers during init.
*
* Should postpend pid to account for non-seralized creation?
*/
int create_token(uuid_state *st, uuid_t *u)
{
uuid_time_t timestamp;
get_current_time(&timestamp);
format_uuid_v1(u, st->cs, timestamp, st->node);
return 1;
}
/*
* dav_create_uuid_state - seed UUID state with pseudorandom data
*/
void create_uuid_state(uuid_state *st)
{
st->cs = true_random();
get_pseudo_node_identifier(&st->node);
}
/*
* dav_format_opaquelocktoken - generates a text representation
* of an opaquelocktoken
*/
void format_token(char *target, const uuid_t *u)
{
sprintf(target, "%08lx-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x",
u->time_low, u->time_mid, u->time_hi_and_version,
u->clock_seq_hi_and_reserved, u->clock_seq_low,
u->node[0], u->node[1], u->node[2],
u->node[3], u->node[4], u->node[5]);
}
/* convert a pair of hex digits to an integer value [0,255] */
static int dav_parse_hexpair(const char *s)
{
int result;
int temp;
result = s[0] - '0';
if (result > 48)
result = (result - 39) << 4;
else if (result > 16)
result = (result - 7) << 4;
else
result = result << 4;
temp = s[1] - '0';
if (temp > 48)
result |= temp - 39;
else if (temp > 16)
result |= temp - 7;
else
result |= temp;
return result;
}
/* dav_parse_locktoken: Parses string produced from
* dav_format_opaquelocktoken back into a uuid_t
* structure. On failure, return DAV_IF_ERROR_PARSE,
* else DAV_IF_ERROR_NONE.
*/
int parse_token(const char *char_token, uuid_t *bin_token)
{
int i;
for (i = 0; i < 36; ++i) {
char c = char_token[i];
if (!isxdigit(c) &&
!(c == '-' && (i == 8 || i == 13 || i == 18 || i == 23)))
return -1;
}
if (char_token[36] != '\0')
return -1;
bin_token->time_low =
(dav_parse_hexpair(&char_token[0]) << 24) |
(dav_parse_hexpair(&char_token[2]) << 16) |
(dav_parse_hexpair(&char_token[4]) << 8) |
dav_parse_hexpair(&char_token[6]);
bin_token->time_mid =
(dav_parse_hexpair(&char_token[9]) << 8) |
dav_parse_hexpair(&char_token[11]);
bin_token->time_hi_and_version =
(dav_parse_hexpair(&char_token[14]) << 8) |
dav_parse_hexpair(&char_token[16]);
bin_token->clock_seq_hi_and_reserved = dav_parse_hexpair(&char_token[19]);
bin_token->clock_seq_low = dav_parse_hexpair(&char_token[21]);
for (i = 6; i--;)
bin_token->node[i] = dav_parse_hexpair(&char_token[i*2+24]);
return -1;
}
/* dav_compare_opaquelocktoken:
* < 0 : a < b
* == 0 : a = b
* > 0 : a > b
*/
int compare_token(const uuid_t a, const uuid_t b)
{
return memcmp(&a, &b, sizeof(uuid_t));
}
/* format_uuid_v1 -- make a UUID from the timestamp, clockseq, and node ID */
static void format_uuid_v1(uuid_t * uuid, unsigned16 clock_seq,
uuid_time_t timestamp, uuid_node_t node)
{
/* Construct a version 1 uuid with the information we've gathered
* plus a few constants. */
uuid->time_low = (unsigned long)(timestamp & 0xFFFFFFFF);
uuid->time_mid = (unsigned short)((timestamp >> 32) & 0xFFFF);
uuid->time_hi_and_version = (unsigned short)((timestamp >> 48) & 0x0FFF);
uuid->time_hi_and_version |= (1 << 12);
uuid->clock_seq_low = clock_seq & 0xFF;
uuid->clock_seq_hi_and_reserved = (clock_seq & 0x3F00) >> 8;
uuid->clock_seq_hi_and_reserved |= 0x80;
memcpy(&uuid->node, &node, sizeof uuid->node);
}
/* get-current_time -- get time as 60 bit 100ns ticks since whenever.
Compensate for the fact that real clock resolution is less than 100ns. */
static void get_current_time(uuid_time_t * timestamp)
{
uuid_time_t time_now;
static uuid_time_t time_last;
static unsigned16 uuids_this_tick;
static int inited = 0;
if (!inited) {
get_system_time(&time_now);
uuids_this_tick = UUIDS_PER_TICK;
inited = 1;
};
while (1) {
get_system_time(&time_now);
/* if clock reading changed since last UUID generated... */
if (time_last != time_now) {
/* reset count of uuids gen'd with this clock reading */
uuids_this_tick = 0;
break;
};
if (uuids_this_tick < UUIDS_PER_TICK) {
uuids_this_tick++;
break;
}; /* going too fast for our clock; spin */
}; /* add the count of uuids to low order bits of the clock reading */
*timestamp = time_now + uuids_this_tick;
}
/* true_random -- generate a crypto-quality random number.
This sample doesn't do that. */
static unsigned16 true_random(void)
{
uuid_time_t time_now;
get_system_time(&time_now);
time_now = time_now/UUIDS_PER_TICK;
srand((unsigned int)(((time_now >> 32) ^ time_now)&0xffffffff));
return rand();
}
/* This sample implementation generates a random node ID *
* in lieu of a system dependent call to get IEEE node ID. */
static void get_pseudo_node_identifier(uuid_node_t *node)
{
unsigned char seed[16];
get_random_info(seed);
seed[0] |= 0x80;
memcpy(node, seed, sizeof(*node));
}
/* system dependent call to get the current system time.
Returned as 100ns ticks since Oct 15, 1582, but resolution may be
less than 100ns. */
#ifdef WIN32
static void get_system_time(uuid_time_t *uuid_time)
{
ULARGE_INTEGER time;
GetSystemTimeAsFileTime((FILETIME *)&time);
/* NT keeps time in FILETIME format which is 100ns ticks since
Jan 1, 1601. UUIDs use time in 100ns ticks since Oct 15, 1582.
The difference is 17 Days in Oct + 30 (Nov) + 31 (Dec)
+ 18 years and 5 leap days. */
time.QuadPart +=
(unsigned __int64) (1000*1000*10) // seconds
* (unsigned __int64) (60 * 60 * 24) // days
* (unsigned __int64) (17+30+31+365*18+5); // # of days
*uuid_time = time.QuadPart;
}
static void get_random_info(unsigned char seed[16])
{
MD5_CTX c;
struct {
MEMORYSTATUS m;
SYSTEM_INFO s;
FILETIME t;
LARGE_INTEGER pc;
DWORD tc;
DWORD l;
char hostname[MAX_COMPUTERNAME_LENGTH + 1];
} r;
MD5Init(&c); /* memory usage stats */
GlobalMemoryStatus(&r.m); /* random system stats */
GetSystemInfo(&r.s); /* 100ns resolution (nominally) time of day */
GetSystemTimeAsFileTime(&r.t); /* high resolution performance counter */
QueryPerformanceCounter(&r.pc); /* milliseconds since last boot */
r.tc = GetTickCount();
r.l = MAX_COMPUTERNAME_LENGTH + 1;
GetComputerName(r.hostname, &r.l );
MD5Update(&c, (const unsigned char *) &r, sizeof(r));
MD5Final(seed, &c);
}
#else /* WIN32 */
static void get_system_time(uuid_time_t *uuid_time)
{
struct timeval tp;
gettimeofday(&tp, (struct timezone *)0);
/* Offset between UUID formatted times and Unix formatted times.
UUID UTC base time is October 15, 1582.
Unix base time is January 1, 1970. */
*uuid_time = (tp.tv_sec * 10000000) + (tp.tv_usec * 10) +
I64(0x01B21DD213814000);
}
static void get_random_info(unsigned char seed[16])
{
MD5_CTX c;
/* Leech & Salz use Linux-specific struct sysinfo;
* replace with pid/tid for portability (in the spirit of mod_unique_id) */
struct {
/* Add thread id here, if applicable, when we get to pthread or apr */
pid_t pid;
struct timeval t;
char hostname[257];
} r;
MD5Init(&c);
r.pid = getpid();
gettimeofday(&r.t, (struct timezone *)0);
gethostname(r.hostname, 256);
MD5Update(&c, (const unsigned char *)&r, sizeof(r));
MD5Final(seed, &c);
}
#endif /* WIN32 */

View File

@@ -1,80 +0,0 @@
/*
** Copyright (C) 1998-1999 Greg Stein. All Rights Reserved.
**
** By using this file, you agree to the terms and conditions set forth in
** the LICENSE.html file which can be found at the top level of the mod_dav
** distribution or at http://www.webdav.org/mod_dav/license-1.html.
**
** Contact information:
** Greg Stein, PO Box 3151, Redmond, WA, 98073
** gstein@lyra.org, http://www.webdav.org/mod_dav/
*/
/*
** DAV opaquelocktoken scheme implementation
**
** Written 5/99 by Keith Wannamaker, wannamak@us.ibm.com
** Adapted from ISO/DCE RPC spec and a former Internet Draft
** by Leach and Salz:
** http://www.ics.uci.edu/pub/ietf/webdav/uuid-guid/draft-leach-uuids-guids-01
**
** Portions of the code are covered by the following license:
**
** Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc.
** Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. &
** Digital Equipment Corporation, Maynard, Mass.
** Copyright (c) 1998 Microsoft.
** To anyone who acknowledges that this file is provided "AS IS"
** without any express or implied warranty: permission to use, copy,
** modify, and distribute this file for any purpose is hereby
** granted without fee, provided that the above copyright notices and
** this notice appears in all source code copies, and that none of
** the names of Open Software Foundation, Inc., Hewlett-Packard
** Company, or Digital Equipment Corporation be used in advertising
** or publicity pertaining to distribution of the software without
** specific, written prior permission. Neither Open Software
** Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital Equipment
** Corporation makes any representations about the suitability of
** this software for any purpose.
*/
#ifndef _TOKEN_H_
#define _TOKEN_H_
typedef unsigned long unsigned32;
typedef unsigned short unsigned16;
typedef unsigned char unsigned8;
typedef struct {
char nodeID[6];
} uuid_node_t;
#undef uuid_t
typedef struct _uuid_t
{
unsigned32 time_low;
unsigned16 time_mid;
unsigned16 time_hi_and_version;
unsigned8 clock_seq_hi_and_reserved;
unsigned8 clock_seq_low;
unsigned8 node[6];
} uuid_t;
/* data type for UUID generator persistent state */
typedef struct {
uuid_node_t node; /* saved node ID */
unsigned16 cs; /* saved clock sequence */
} uuid_state;
extern const uuid_t null_locktoken;
/* in dav_opaquelock.c */
int create_token(uuid_state *st, uuid_t *u);
void create_uuid_state(uuid_state *st);
void format_token(char *target, const uuid_t *u);
int compare_token(const uuid_t a, const uuid_t b);
int parse_token(const char *char_token, uuid_t *bin_token);
#endif /* _TOKEN_H_ */