Compare commits

..

2657 Commits

Author SHA1 Message Date
thayes%netscape.com
3b8fea000b Fix Solaris break for case-sensitive file name
git-svn-id: svn://10.0.0.236/branches/PSM_GLUE_JAVI@72695 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:12:25 +00:00
javi%netscape.com
51edbc0433 Check this change into my branch so I don't forget about it.
git-svn-id: svn://10.0.0.236/branches/PSM_GLUE_JAVI@72687 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:47:28 +00:00
javi%netscape.com
a6665f86d6 fuxing screw up
git-svn-id: svn://10.0.0.236/branches/PSM_GLUE_JAVI@72674 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 18:54:57 +00:00
javi%netscape.com
e1e34537e6 Fixing a screw-up.
git-svn-id: svn://10.0.0.236/branches/PSM_GLUE_JAVI@72673 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 18:44:05 +00:00
javi%netscape.com
9613e128d9 Removing type-o mistake
git-svn-id: svn://10.0.0.236/branches/PSM_GLUE_JAVI@72672 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 18:43:19 +00:00
javi%netscape.com
1f3f975c7b Checking in some files to my branch to test w/ Terry's tree.
git-svn-id: svn://10.0.0.236/branches/PSM_GLUE_JAVI@72671 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 18:37:41 +00:00
(no author)
ae4913f28c This commit was manufactured by cvs2svn to create branch 'PSM_GLUE_JAVI'.
git-svn-id: svn://10.0.0.236/branches/PSM_GLUE_JAVI@72643 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 07:35:42 +00:00
pavlov%netscape.com
ce24c6e044 fix for submitting insecure form not displaying anything bug 42958. from Peter Annema <disttsc@bart.nl>. r=pavlov a=waterson
git-svn-id: svn://10.0.0.236/trunk@72642 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 07:35:41 +00:00
rpotts%netscape.com
3733bf65af Fixed the GTK_MOZ_EMBED_STATUS enum to have the *correct* decimal values of their corrosponding NS_ERROR codes.
git-svn-id: svn://10.0.0.236/trunk@72641 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 06:19:40 +00:00
dougt%netscape.com
479ab6fb44 Backing out amasri. This change caused the browser to not open. When I control-c
the application, I see:

XML Error in file
'chrome://communicator/content/profile/profileSelection.xul',
Line Number: 100, Col Number: 43, Description: undefined entity
Source Line:         <checkbox id="offlineState"
value="&offlineState.label;" accesskey="&offlineState.accesskey;"/>


git-svn-id: svn://10.0.0.236/trunk@72638 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 05:55:58 +00:00
waterson%netscape.com
ffe15b5764 Use NS_LITERAL_STRING instead of an nsAutoString to avoid copy/inflate on platforms that support two-byte wchar_t. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@72637 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 05:45:07 +00:00
ben%netscape.com
ad58e0b491 fix for 41657, r=waterson, hyatt
git-svn-id: svn://10.0.0.236/trunk@72636 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 05:43:52 +00:00
Peter.VanderBeken%pandora.be
6f91f690d7 Recognize local .xsl files as text/xml.
r=Andreas Otte, a=gagan, a=waterson.


git-svn-id: svn://10.0.0.236/trunk@72635 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 05:24:10 +00:00
dmose%mozilla.org
c70724e4c9 Simplified nsILDAPMessageListener, and refactored much of the code in ldapSearch.cpp into nsLDAPChannel.cpp itself, using the simplified nsILDAPMessageListener callback interface. This work is in preparation for pushing all threading code out of nsILDAPChannel down into nsILDAPConnection/Operation/Message. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72634 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 05:17:51 +00:00
rpotts%netscape.com
1760eb8eb4 Fixed memofy leak of StdURLs introduced by the last checkin...
git-svn-id: svn://10.0.0.236/trunk@72633 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 05:14:42 +00:00
dmose%mozilla.org
7d0df230ae Simplified nsILDAPMessageListener, and refactored much of the code in ldapSearch.cpp into nsLDAPChannel.cpp itself, using the simplified nsILDAPMessageListener class. This work is in preparation for pushing all threading code out of nsILDAPChannel down into nsILDAPConnection/Operation/Message. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72632 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 05:12:32 +00:00
pchen%netscape.com
ee64e1da57 Bug #41272. Turn on classic skin in build. r=don
git-svn-id: svn://10.0.0.236/trunk@72631 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:57:12 +00:00
pchen%netscape.com
a9637358ce Bug #41272. Make toolbar color #DDDDDD which is same as Mac 4.x and fixed main grippy image. r=don
git-svn-id: svn://10.0.0.236/trunk@72630 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:56:37 +00:00
pchen%netscape.com
de5021706c Bug #41272. Include communicator/skin/toolbar.css. r=don
git-svn-id: svn://10.0.0.236/trunk@72629 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:56:36 +00:00
pchen%netscape.com
0004d1d2be Bug #41272. Set toolbar colors to #DDDDDD which is same as Mac 4.x. r=don
git-svn-id: svn://10.0.0.236/trunk@72628 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:56:35 +00:00
pchen%netscape.com
b89a095e34 Bug #41272. Remove background imgs leftover from modern skin and make toolbar buttons look more classic-like. r=don
git-svn-id: svn://10.0.0.236/trunk@72627 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:56:34 +00:00
BlakeR1234%aol.com
c373f6ca9c Fix for bug 42135. r=ben
git-svn-id: svn://10.0.0.236/trunk@72626 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:47:56 +00:00
hyatt%netscape.com
8f4f8703e6 Fix for 41664, r=ben
git-svn-id: svn://10.0.0.236/trunk@72625 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:45:30 +00:00
hyatt%netscape.com
a983145309 Fix for 41664, r=ben
git-svn-id: svn://10.0.0.236/trunk@72624 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:44:44 +00:00
ben%netscape.com
690e4dc7f5 turn on classic skin for windows (yay) 41272, a=hangas
git-svn-id: svn://10.0.0.236/trunk@72623 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:44:30 +00:00
scc%mozilla.org
a53138318f removing nsWork[C]String. It's already been removed from the Mac manifest, the windows and unix makefiles, and the string factoring test project. The header is not included anywhere else. After discussion with waterson, decided this class is not what or where we want it
git-svn-id: svn://10.0.0.236/trunk@72622 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:36:25 +00:00
scc%mozilla.org
ba5ba16a17 removed "nsWorkString.h" as discussed with waterson
git-svn-id: svn://10.0.0.236/trunk@72621 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:33:52 +00:00
scc%mozilla.org
d8b570c50a removed nsWork[C]String, as discussed with waterson
git-svn-id: svn://10.0.0.236/trunk@72620 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:31:42 +00:00
scc%mozilla.org
5d68b0f22c added tests for self-assignment, self-insertion, self-appending, and self-replacement
git-svn-id: svn://10.0.0.236/trunk@72619 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:31:00 +00:00
dougt%netscape.com
2a1b9ce8bc THIS IS NOT PART OF THE BUILD.
Update nsIWebProgressListener to match rpotts work.

r/a = valeski@netscape.com
bug 43054


git-svn-id: svn://10.0.0.236/trunk@72618 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:30:41 +00:00
scc%mozilla.org
6c6171d864 fix for bug #43085. r=waterson, a=waterson
git-svn-id: svn://10.0.0.236/trunk@72617 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:25:20 +00:00
ben%netscape.com
4866b6b787 oops, part of earlier fix to find panel (remove html:selects from UI to unblock rods), forgot to check in associated js file that makes the bm search work
git-svn-id: svn://10.0.0.236/trunk@72616 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 04:21:08 +00:00
dmose%mozilla.org
de51b96975 forgot this critical file for the nsILDAPURL interface checkin earlier. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72615 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:59:52 +00:00
waterson%netscape.com
c4be9e89cc Bug 40868. Check to see if 'docroot == this' before recursing. r=dmose
git-svn-id: svn://10.0.0.236/trunk@72614 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:58:24 +00:00
dbaron%fas.harvard.edu
a524a36d2b Really fix the leak in JS error reporting. (Checked in from the wrong machine last time.) r=vidur
git-svn-id: svn://10.0.0.236/trunk@72613 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:51:07 +00:00
BlakeR1234%aol.com
aacd5feacd Fix for bug 42042. r=ianr a=waterson
git-svn-id: svn://10.0.0.236/trunk@72612 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:50:40 +00:00
dbaron%fas.harvard.edu
e84d5a00a5 Fix bug 42685, nsbeta2+. Revert percentage width calculations to the way they used to be, except for floats with auto widths. code=buster r=me
git-svn-id: svn://10.0.0.236/trunk@72611 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:47:49 +00:00
dbaron%fas.harvard.edu
e6f57cbe9d Delete nsJSEnvironment (and the things it owns) during XPCOM shutdown instead of after (they won't be shown as leaks anymore). Also, fix a leak in JS error reporting. r=vidur
git-svn-id: svn://10.0.0.236/trunk@72610 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:45:21 +00:00
bryner%uiuc.edu
00c4a6b3fd Patching filepicker for new tree widget. part of bug 30511. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@72609 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:35:37 +00:00
dmose%mozilla.org
30403e0e3d adding an LDAP module to the NS_ERROR global define space. a=r=waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@72608 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:33:26 +00:00
dougt%netscape.com
f6d6ee5b4d THIS IS NOT PART OF BUILD
This is the window test harness for embedding.

r/a=valeski@netscape.com
bug number: 43054


git-svn-id: svn://10.0.0.236/trunk@72607 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:22:47 +00:00
BlakeR1234%aol.com
e9a0e1256a Fix for bug 41342. r=andreww a=waterson
git-svn-id: svn://10.0.0.236/trunk@72606 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:12:03 +00:00
pavlov%netscape.com
ae2799e229 fix for nsImapSearchResultSequence::Clear() crash. bug 43079. r=mscott
git-svn-id: svn://10.0.0.236/trunk@72605 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:11:09 +00:00
hyatt%netscape.com
2aad3d73d8 Fix for 41372. r=ben
git-svn-id: svn://10.0.0.236/trunk@72604 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 02:50:57 +00:00
ddrinan%netscape.com
ccd88a0b63 We need libnlslocale for unix
git-svn-id: svn://10.0.0.236/trunk@72603 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 02:43:46 +00:00
amasri%netscape.com
65bac4595f Adding localization notes per Bugzilla #39775
r=rchen@netscape.com


git-svn-id: svn://10.0.0.236/trunk@72602 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 02:42:21 +00:00
hyatt%netscape.com
9b90b3046b 37298. r=ben
git-svn-id: svn://10.0.0.236/trunk@72601 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 02:38:39 +00:00
amasri%netscape.com
f5026f3ba6 Adding localization notes per Bugzilla #39775 Beta2+
r=rchen@netscape.com


git-svn-id: svn://10.0.0.236/trunk@72600 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 02:38:06 +00:00
amasri%netscape.com
b9ae79f716 Adding localization notes per Bugzilla #39975 Beta2+
r=rchen@netscape.com


git-svn-id: svn://10.0.0.236/trunk@72599 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 02:34:08 +00:00
amasri%netscape.com
39416b05a3 Adding localization notes per Bugzilla #39775 Beta2+
r=rchen@netscape.com


git-svn-id: svn://10.0.0.236/trunk@72598 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 02:30:45 +00:00
waterson%netscape.com
ef121c4411 Bug 42991. Get rid of obsolete 'rdf:child' identifier. r=rjc
git-svn-id: svn://10.0.0.236/trunk@72597 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 02:25:48 +00:00
amasri%netscape.com
490b1244bb Adding Localization notes per Bugzilla #39775 Beta2+
r=rchen@netscape.com


git-svn-id: svn://10.0.0.236/trunk@72596 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 02:20:42 +00:00
amasri%netscape.com
4416205171 Adding localization notes per Bugzilla #39775 beta2+
r=rchen@netscape.com


git-svn-id: svn://10.0.0.236/trunk@72595 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 02:16:05 +00:00
amasri%netscape.com
30ba5c12a6 Adding Localization Notes per Bugzilla #39775 Beta2+
r=rchen@netscape.com


git-svn-id: svn://10.0.0.236/trunk@72594 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 02:14:21 +00:00
amasri%netscape.com
ba84e9e155 Adding Localization notes per Bugzilla #39775 Beta2+
r=rchen@netscape.com


git-svn-id: svn://10.0.0.236/trunk@72593 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 02:09:45 +00:00
amasri%netscape.com
8840acf0d2 Adding Localization notes per Bugzilla #39775 Beta2+
r=rchen@netscape.com


git-svn-id: svn://10.0.0.236/trunk@72592 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 01:59:17 +00:00
amasri%netscape.com
91338cb214 Adding Localization notes per Bugzilla #39775 Beta2+
r=rchen@netscape.com


git-svn-id: svn://10.0.0.236/trunk@72591 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 01:51:55 +00:00
rjc%netscape.com
7a84a4b08d Fix nsbeta2+ bug # 39539: fix bookmarks so that new items can be created. r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72590 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 01:47:15 +00:00
amasri%netscape.com
c60d799059 Adding localization notes per Bugzilla #39775 Beta2+
r=rchen@netscape.com


git-svn-id: svn://10.0.0.236/trunk@72589 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 01:46:22 +00:00
waterson%netscape.com
0beeb822e0 Add .cvsignore for block/bugs regression tests.
git-svn-id: svn://10.0.0.236/trunk@72588 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 01:45:38 +00:00
bryner%uiuc.edu
9690dc2086 Turning on classic skin on unix. a=hangas.
git-svn-id: svn://10.0.0.236/trunk@72587 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 01:44:54 +00:00
amasri%netscape.com
7080f80262 Adding localization notes per Bugzilla #39775 beta2+
r=rchen@netscape.com


git-svn-id: svn://10.0.0.236/trunk@72586 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 01:43:55 +00:00
amasri%netscape.com
309bc82bf8 Adding Localization notes per Bugzilla #39775 beta2+
r=rchen@netscape.com


git-svn-id: svn://10.0.0.236/trunk@72585 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 01:41:30 +00:00
edburns%acm.org
e21fba78c3 Added DOM 0510.
git-svn-id: svn://10.0.0.236/trunk@72584 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 01:08:31 +00:00
hyatt%netscape.com
344150583e 30511. evaughan
git-svn-id: svn://10.0.0.236/trunk@72583 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 01:04:20 +00:00
mscott%netscape.com
8e15d727ed Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

adding manifest files for the mac build


git-svn-id: svn://10.0.0.236/trunk@72582 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 01:02:32 +00:00
ducarroz%netscape.com
382be98cb0 Fix for bug 38716 & bug 38715. Do not kill the dragdrop event when is not a flavor supported by the editfield. R=brade
git-svn-id: svn://10.0.0.236/trunk@72581 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 01:01:49 +00:00
waterson%netscape.com
17634000b5 Check in buster's block regression tests.
git-svn-id: svn://10.0.0.236/trunk@72580 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 00:53:47 +00:00
hyatt%netscape.com
723f41dc0e Fix for 42867. r=evaughan
git-svn-id: svn://10.0.0.236/trunk@72579 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 00:52:57 +00:00
morse%netscape.com
8a905652c3 update wallet tables, not part of build
git-svn-id: svn://10.0.0.236/trunk@72578 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 00:50:15 +00:00
ben%netscape.com
a78989f0cb fix for 38027 - remove html:select from find in bookmarks/history dialog
git-svn-id: svn://10.0.0.236/trunk@72576 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 00:46:49 +00:00
saari%netscape.com
b51d6959c0 base work for bug 42553, r=danm
git-svn-id: svn://10.0.0.236/trunk@72575 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 00:45:47 +00:00
saari%netscape.com
840db009a2 foundation for fixing 42553, r=danm
git-svn-id: svn://10.0.0.236/trunk@72574 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 00:44:55 +00:00
pavlov%netscape.com
623041dcad fix for bug security icon not changing when entering secure sites 43041 r=anthonyd (also removed tabs, yadda yadda)
git-svn-id: svn://10.0.0.236/trunk@72573 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 00:36:04 +00:00
cyeh%bluemartini.com
860d5b3d31 fix GD and Chart::Lines documenation
git-svn-id: svn://10.0.0.236/trunk@72572 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 00:14:25 +00:00
bryner%uiuc.edu
7d945bdfb7 Fixing tasksOverlay location so that Manage Bookmarks window will
open.  r=ben,hyatt.


git-svn-id: svn://10.0.0.236/trunk@72571 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 00:06:02 +00:00
cotter%netscape.com
350b750de0 Added first draft of PSM 1.2 release notes.
git-svn-id: svn://10.0.0.236/trunk@72570 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 23:58:25 +00:00
hyatt%netscape.com
c74a1ebae5 30511
git-svn-id: svn://10.0.0.236/trunk@72569 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 23:55:45 +00:00
hyatt%netscape.com
e79d547267 30511
git-svn-id: svn://10.0.0.236/trunk@72568 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 23:51:17 +00:00
hyatt%netscape.com
f53cbb4b5c 30511
git-svn-id: svn://10.0.0.236/trunk@72567 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 23:39:43 +00:00
hyatt%netscape.com
308f1becd8 30511.
git-svn-id: svn://10.0.0.236/trunk@72566 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 23:38:42 +00:00
hyatt%netscape.com
14107db56c 30511
git-svn-id: svn://10.0.0.236/trunk@72565 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 23:29:51 +00:00
hyatt%netscape.com
a7c36a09a2 30511.
git-svn-id: svn://10.0.0.236/trunk@72564 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 23:26:36 +00:00
hyatt%netscape.com
00aec817b7 30511
git-svn-id: svn://10.0.0.236/trunk@72563 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 23:23:50 +00:00
hyatt%netscape.com
bf6e92f29c 30511. r=evaughan
git-svn-id: svn://10.0.0.236/trunk@72562 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 23:20:24 +00:00
hyatt%netscape.com
7d5215362d 30511. r=evaughan
git-svn-id: svn://10.0.0.236/trunk@72561 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 23:15:37 +00:00
javi%netscape.com
c373a57c35 Whomping SECURITY_CLIENT_BRANCH onto tip.
git-svn-id: svn://10.0.0.236/trunk@72558 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 23:05:49 +00:00
bryner%uiuc.edu
07925fe1e3 Updating trees for new tree widget. bug 30511. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@72557 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 23:03:40 +00:00
hyatt%netscape.com
dd3b6e2b74 New tree widget. r=saari, bug#30511
git-svn-id: svn://10.0.0.236/trunk@72556 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 22:59:39 +00:00
hyatt%netscape.com
2c9eea256a Landing new tree widget. Bug #30511, r=evaughan
git-svn-id: svn://10.0.0.236/trunk@72555 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 22:59:20 +00:00
hyatt%netscape.com
4e2279f89c Bug #30511, r=evuaghan
git-svn-id: svn://10.0.0.236/trunk@72554 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 22:58:56 +00:00
javi%netscape.com
f18fafc08d Whomping SECURITY_CLIENT_BRANCH onto tip.
git-svn-id: svn://10.0.0.236/trunk@72553 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 22:58:15 +00:00
hyatt%netscape.com
fd933e0e96 Turning on the new tree widget. Bug#30511, r=evaughan
git-svn-id: svn://10.0.0.236/trunk@72552 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 22:57:39 +00:00
varada%netscape.com
bf65000649 changes to cck.ini
git-svn-id: svn://10.0.0.236/trunk@72551 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 22:06:08 +00:00
dmose%mozilla.org
e467c5ca10 scaffolding & some initial work on an nsILDAPURL interface and an nsLDAPURL component that implements it. (a=r=not built)
git-svn-id: svn://10.0.0.236/trunk@72550 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 21:43:33 +00:00
dmose%mozilla.org
c0860f37ca changed non-portable int type to PRInt32. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72549 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 21:40:29 +00:00
dmose%mozilla.org
2ada2e1670 clarified comments. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72548 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 21:36:09 +00:00
dmose%mozilla.org
9fc87bbe32 removed NS_ENSURE_ARG macros, as NULL pointers are valid for either argument. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72547 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 21:34:30 +00:00
edburns%acm.org
dd91947037 bug=41197
a=law@netscape.com
See http://bugzilla.mozilla.org/show_bug.cgi?id=43051


git-svn-id: svn://10.0.0.236/trunk@72545 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 18:38:16 +00:00
sdv%sparc.spb.su
b11df9429d added support of namespaces
git-svn-id: svn://10.0.0.236/trunk@72543 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 15:09:47 +00:00
jdunn%netscape.com
7d17331399 adding newline for HPUX
git-svn-id: svn://10.0.0.236/trunk@72542 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 14:24:15 +00:00
jdunn%netscape.com
c67a8b078a adding newline, required by HPUX
git-svn-id: svn://10.0.0.236/trunk@72541 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 13:03:52 +00:00
Jerry.Kirk%Nexwarecorp.com
9116f43ff2 Not Part of Build... PHOTON ONLY
Missed a Makefile.in  this makes the the gfx library for Photon a component
just like gtk.


git-svn-id: svn://10.0.0.236/trunk@72540 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 12:25:31 +00:00
Jerry.Kirk%Nexwarecorp.com
67d7d4d57f Not Part of Build... PHOTON ONLY
Changed photon widget to be a component like gtk.
Had to comment out some printing support in GFK because of Photon library bugs.


git-svn-id: svn://10.0.0.236/trunk@72539 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 12:01:21 +00:00
kvisco%ziplink.net
ac9dd9e2bd Not part of build, a=leaf
Added fix from Peter Van der Beken to fix Name conflicts with NodeType tokens
Added fix to bug reported by Axel Hecht (#42502)


git-svn-id: svn://10.0.0.236/trunk@72538 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 09:03:12 +00:00
kvisco%ziplink.net
bad8e8476d Not part of build, a=leaf
updated docs


git-svn-id: svn://10.0.0.236/trunk@72537 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 07:53:55 +00:00
kvisco%ziplink.net
336b629b22 Not part of build, a=leaf
Fixed a cut-and-paste error


git-svn-id: svn://10.0.0.236/trunk@72536 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 07:16:37 +00:00
kvisco%ziplink.net
fc542fea73 Not part of build, a=leaf
Checked in changes from Olivier to improve template parameter handling


git-svn-id: svn://10.0.0.236/trunk@72535 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 07:09:02 +00:00
rpotts%netscape.com
9dd49c320b Added new PR_LOG...
git-svn-id: svn://10.0.0.236/trunk@72534 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 05:59:50 +00:00
rpotts%netscape.com
406f61beb3 Reworked the nsIWebProgress interfaces and implementation...
git-svn-id: svn://10.0.0.236/trunk@72533 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 05:54:37 +00:00
rpotts%netscape.com
a5e58dbb84 Reworked nsIWebProgress...
git-svn-id: svn://10.0.0.236/trunk@72532 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 05:48:38 +00:00
morse%netscape.com
170483674e update wallet tables, not part of build
git-svn-id: svn://10.0.0.236/trunk@72531 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 00:24:12 +00:00
ben%netscape.com
953acac36d fix glitches caused by my 30536 checkin friday night
git-svn-id: svn://10.0.0.236/trunk@72530 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 23:38:23 +00:00
mscott%netscape.com
e3f962ccb7 Bug #30157 --> add the ability to launch urls using OS default protocol handlers. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

part of the mac internet config stuff.


git-svn-id: svn://10.0.0.236/trunk@72529 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 22:48:43 +00:00
mscott%netscape.com
5c70539151 Bug #30157 --> add the ability to launch urls using OS default protocol handlers. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Add the ability to launch urls using a OS specified protocol handler for windows. Implement nsIExternalProtocolService.


git-svn-id: svn://10.0.0.236/trunk@72528 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 22:08:32 +00:00
mscott%netscape.com
8469f138dc Bug #30157 --> add the ability to launch urls using OS default protocol handlers. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

add nsIExternalProtocolService support to the base class.


git-svn-id: svn://10.0.0.236/trunk@72527 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 22:07:54 +00:00
mscott%netscape.com
d6c0a9ba95 Bug #30157 --> add the ability to launch urls using OS default protocol handlers. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

this file is now obselete and has been replaced with nsCExternalHandler.idl.


git-svn-id: svn://10.0.0.236/trunk@72526 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 22:07:00 +00:00
mscott%netscape.com
1978734657 Bug #30157 --> add the ability to launch urls using OS default protocol handlers. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

export nsCExternalHandlerService.idl


git-svn-id: svn://10.0.0.236/trunk@72525 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 22:05:53 +00:00
mscott%netscape.com
1879f73d04 Bug #30157 --> add the ability to launch urls using OS default protocol handlers. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

New file. This file replaces nsCExternalHelperApp.idl. It includes both protocol and helper app service progid information.


git-svn-id: svn://10.0.0.236/trunk@72524 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 22:05:25 +00:00
mscott%netscape.com
3015fe31e1 Bug #30157 --> add the ability to launch urls using OS default protocol handlers. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Initial interface for interacting with an OS specific external protocol handler.


git-svn-id: svn://10.0.0.236/trunk@72523 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 22:04:28 +00:00
cls%seawood.org
23e150ab44 Don't declare a variable twice. It breaks the HP-UX builds.
git-svn-id: svn://10.0.0.236/trunk@72522 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 21:34:45 +00:00
cls%seawood.org
b77e90ede0 nscore.h is included by .c files so c++ comments have to go. Fix for WS5.0 bustage.
git-svn-id: svn://10.0.0.236/trunk@72521 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 21:27:27 +00:00
mscott%netscape.com
8151785143 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Mac specific implementation of the helper app service. Note: this is incomplete...I have added FIX ME comments
in all the places where we need Mac specific information for interacting with internet config.


git-svn-id: svn://10.0.0.236/trunk@72520 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 19:54:37 +00:00
pavlov%netscape.com
d5a60ee333 patch from Tomi Leppikangas <tomilepp@sun3.oulu.fi> to fix some GC leaks r=pavlov a=brendan
git-svn-id: svn://10.0.0.236/trunk@72519 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 18:56:27 +00:00
ben%netscape.com
5380207b61 30536 - skinnable front end. remove dependencies on current skin.
git-svn-id: svn://10.0.0.236/trunk@72518 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 17:52:37 +00:00
ben%netscape.com
4f45d8294a Skinnable text. b30536 (skinnable front end)
git-svn-id: svn://10.0.0.236/trunk@72517 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 17:43:57 +00:00
bienvenu%netscape.com
c86448f9e9 fix init of search data source r=sspitzer 33101
git-svn-id: svn://10.0.0.236/trunk@72516 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 15:02:00 +00:00
bienvenu%netscape.com
ebdcbdb9c0 back out last changes which break the folder and thread pane
git-svn-id: svn://10.0.0.236/trunk@72515 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 14:44:48 +00:00
morse%netscape.com
5907db2186 bug 42362, assertions at startup, coder=roc+moz@cs.cmu.edu, r=morse, a=morse+waterson(anticipated)
git-svn-id: svn://10.0.0.236/trunk@72514 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 06:16:30 +00:00
alecf%netscape.com
fea95b8553 cleanup search folder picker for #33101
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72513 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 05:52:51 +00:00
alecf%netscape.com
4c3fd12093 finally hook up search, and bring filters more in line with the way search does things
r=sspitzer
#33101


git-svn-id: svn://10.0.0.236/trunk@72512 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 05:52:03 +00:00
alecf%netscape.com
badd5af08a update search datasource
- use the URI of the datasource as the root of the messages returned by this datasource
- implement HasAssertions and remember the search results.
r=sspitzer
#33101


git-svn-id: svn://10.0.0.236/trunk@72511 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 05:48:14 +00:00
alecf%netscape.com
dcf35347af further bring the searchsession and mailfilter apis together so that they can share code from JS - basically expose the search term as a readonly array, and reset it with Clear() rather than destroying it.
r=sspitzer
for #33101


git-svn-id: svn://10.0.0.236/trunk@72510 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 05:45:19 +00:00
alecf%netscape.com
c839a774fa quiet down RDF by handling datasources without windows gracefully (needed for search, so I could reuse the threadpane without causing assertions)
r=sspitzer
for #33101


git-svn-id: svn://10.0.0.236/trunk@72509 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 05:43:32 +00:00
alecf%netscape.com
c2dc8497d9 remove a dead file that we weren't building
git-svn-id: svn://10.0.0.236/trunk@72508 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 05:40:46 +00:00
scc%mozilla.org
2a2a840b4d fixing OS/2 VisualAge platform bustage, and bad dates in licenses
git-svn-id: svn://10.0.0.236/trunk@72507 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-18 05:00:31 +00:00
mscott%netscape.com
6029dc0d20 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Use the 4.x windows registry information in an effort to figure out the correct file extension
for a particular content type. This is necessary because we need the file extension to figure out
which helper app to use, not the content type.

Pass the file extension to be associated with this content type to the external content handler when
we create it.


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

Pass in the file extension (determined by the content type) that we want to use when generating the name
of the temp file for saving the data for the helper application.


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

Add external application implementation.
Add windows registry sniffying code to find the right external helper application for a given file extension.
Add windows registry code for launching the application.


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

Add support for nsPIExternalAppLauncher. Call back to the OS app service to launch the app once we are done
saving the file to a temp file.


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

Add a private interface to be shared between the os specific helper app service and the external app handler
for launching an app.


git-svn-id: svn://10.0.0.236/trunk@72501 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 23:03:24 +00:00
radha%netscape.com
819e1783db Initial checin for feature bug 36547. r=self(module owner) No code in this checkin is currently used by
any parts of the build.


git-svn-id: svn://10.0.0.236/trunk@72500 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 22:43:06 +00:00
morse%netscape.com
b9af0355f8 restoring changes that were accidentally backed out, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@72499 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 22:24:07 +00:00
mscott%netscape.com
690ae18b9d Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

properly implement saving the data to a temp file.


git-svn-id: svn://10.0.0.236/trunk@72498 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 19:53:44 +00:00
alecf%netscape.com
fa3511c5ef for #33101 - sync up nsIMsgSearchSession and nsIMsgFilter APIs so that I can share the same JS to add/create terms
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72497 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 19:18:46 +00:00
alecf%netscape.com
8422d18050 oops, missing file from my fix to #40341 r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@72496 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 18:56:16 +00:00
alecf%netscape.com
01c298c769 add search datasource to base factory (r=sspitzer) for #33101
git-svn-id: svn://10.0.0.236/trunk@72495 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 18:42:59 +00:00
alecf%netscape.com
f84480d0ee also export the search datasource header so it can be seen from the factory
git-svn-id: svn://10.0.0.236/trunk@72494 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 18:42:32 +00:00
alecf%netscape.com
1e3e88ccfc add search datasource to unix build (file has been reviewed/tested, this is just adding it to the build, so no reviewer) for #33101
git-svn-id: svn://10.0.0.236/trunk@72493 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 18:40:07 +00:00
alecf%netscape.com
b336a3fec3 added files: mozilla/mailnews/base/search/src/nsMsgSearchDataSource.cpp
git-svn-id: svn://10.0.0.236/trunk@72492 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 18:38:12 +00:00
alecf%netscape.com
6a421aa171 fix solaris native compiler bustage for pav
git-svn-id: svn://10.0.0.236/trunk@72491 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 18:34:49 +00:00
mscott%netscape.com
5cc657553d Bug #41199 --> language extension tweak...don't issue the language request if we don't have a preferred language
nsString to nsAutoString change
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72490 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 18:34:42 +00:00
morse%netscape.com
4437604fad update wallet tables, does not affect build
git-svn-id: svn://10.0.0.236/trunk@72489 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 16:00:20 +00:00
bienvenu%netscape.com
048f34db5f fix for 41754 threads not showing up completely r=jefft
git-svn-id: svn://10.0.0.236/trunk@72488 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 13:48:04 +00:00
ben%netscape.com
6bff5e75d4 fix reference to tasksOverlay.xul
git-svn-id: svn://10.0.0.236/trunk@72487 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 08:09:09 +00:00
ben%netscape.com
a72fb2961d fix mac manifest, remove dead files
git-svn-id: svn://10.0.0.236/trunk@72486 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 07:53:23 +00:00
ben%netscape.com
e9c63f05d1 point dialogOverlay to the correct location for its css file
git-svn-id: svn://10.0.0.236/trunk@72485 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 07:46:43 +00:00
ben%netscape.com
a98d00596f partial fixes for 32347, 30536, 41120
git-svn-id: svn://10.0.0.236/trunk@72484 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 03:51:16 +00:00
ben%netscape.com
62d44f7d26 remove dead manifests
git-svn-id: svn://10.0.0.236/trunk@72483 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 03:46:14 +00:00
ben%netscape.com
482155678e update build list
git-svn-id: svn://10.0.0.236/trunk@72482 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 03:45:34 +00:00
sfraser%netscape.com
7147950f45 Fix the menu code to not hold onto webshells, and to use weak refs for the previous menu stack etc. This allows menus to be cleaned up properly on quit (look ma, no leaks!). Bug 41695. r=saari, pinkerton
git-svn-id: svn://10.0.0.236/trunk@72481 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 03:38:00 +00:00
ben%netscape.com
8a930cec8b partial fixes for 32347, 30536, 41120
git-svn-id: svn://10.0.0.236/trunk@72480 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 03:26:47 +00:00
dmose%mozilla.org
adb6a7750f canonicalized method names to proper XPIDL interCaps style. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72479 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 03:15:23 +00:00
ben%netscape.com
efc0a6b0dc remove dead files
git-svn-id: svn://10.0.0.236/trunk@72478 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 03:10:26 +00:00
ben%netscape.com
c5ab160b86 removing dead files
git-svn-id: svn://10.0.0.236/trunk@72477 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 03:09:57 +00:00
ben%netscape.com
224b5e40a2 begin series of checkins containing partial fixes for 32347, 30536, 41120
git-svn-id: svn://10.0.0.236/trunk@72476 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 03:05:50 +00:00
mscott%netscape.com
56ca94fd4c Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

fix some method signature problems.


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

Add code to actually store the incoming data into a temp file.


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

initialize an external app handler with an nsIFile which represents the app.


git-svn-id: svn://10.0.0.236/trunk@72473 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 02:34:24 +00:00
warren%netscape.com
662f0fe1e7 Bug 41390. js prompt() contains remember this value checkbox. r=morse
git-svn-id: svn://10.0.0.236/trunk@72472 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:57:36 +00:00
vidur%netscape.com
dc0d9afb5a Fix for bug 15118. XML content sink now processes the DOCTYPE. r=jst,nisheeth
git-svn-id: svn://10.0.0.236/trunk@72471 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:49:19 +00:00
vidur%netscape.com
fc4c72f2e9 Work for bug 33475 - completion of Document related DOM Level 2 support. Load() no longer takes extra unused argument. r=jst,nisheeth
git-svn-id: svn://10.0.0.236/trunk@72470 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:47:02 +00:00
vidur%netscape.com
399e8e229b Work for bug 33475 - completion of Document related DOM Level 2 support. Load no longer takes extra unused argument. r=jst,nisheeth
git-svn-id: svn://10.0.0.236/trunk@72469 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:46:59 +00:00
vidur%netscape.com
42dd385f64 Work for bug 33475 - completion of Document-related DOM Level 2 support. Null-checks for the empty document case. The documentElement can now be replaced. Load() no longer takes extra unused argument. r=jst,nisheeth
git-svn-id: svn://10.0.0.236/trunk@72468 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:46:58 +00:00
waterson%netscape.com
13c02235e0 Fix DEBUG mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@72467 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:38:36 +00:00
pollmann%netscape.com
38da98b6b8 Bug 4891: document.forms[x] fixed for document.written forms r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72466 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:28:41 +00:00
waterson%netscape.com
e32e7767b4 Bug 42836. Handle null string in NS_ConvertUCS2toUTF8::Init().
git-svn-id: svn://10.0.0.236/trunk@72465 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:24:39 +00:00
beard%netscape.com
3f61534047 bug 42100: removed toc file parameter from BuildOneProject, in preparation for landing bigger changes soon. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@72464 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 00:58:07 +00:00
brendan%mozilla.org
d75f1916ed Preserve quoted whitespace in arguments.
git-svn-id: svn://10.0.0.236/trunk@72463 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 00:54:07 +00:00
mscott%netscape.com
94ea22732b Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.


git-svn-id: svn://10.0.0.236/trunk@72462 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 00:06:26 +00:00
mscott%netscape.com
337f4b2315 Bug #42836 --> attempt to fix crash on linux with migrated profiles by adding some null ptr checks.
r=putterman


git-svn-id: svn://10.0.0.236/trunk@72461 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 23:45:38 +00:00
tajima%eng.sun.com
3d2fb65027 bugid=41935, a=waterson, r=dcone@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72460 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 23:38:24 +00:00
nisheeth%netscape.com
72b21b2508 Checking in patch from Andreas to fix Mozilla's XSL hooks (bug 36038). Does not affect the default mozilla build.
git-svn-id: svn://10.0.0.236/trunk@72459 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 23:29:19 +00:00
beard%netscape.com
b5b34a2a70 bug #19119: added link dependency on PSM[Debug].shlb, added access paths to find PSMClient[Debug.o], PSMProtocol[Debug].o. a=ddrinan, r=gordon
git-svn-id: svn://10.0.0.236/trunk@72458 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 23:26:53 +00:00
thayes%netscape.com
3ee6c658db Fix double free of item value that is in an arena.
git-svn-id: svn://10.0.0.236/trunk@72457 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 23:26:16 +00:00
mccabe%netscape.com
19762bc408 Fix for 38495, nsbeta+.
Reinstate previously backed-out fix, now that the nsIScriptablePlugin interface it needs is building successfully on the mac.

a=beard,r=jst


git-svn-id: svn://10.0.0.236/trunk@72456 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 23:25:00 +00:00
javi%netscape.com
eb6f4713ac Watch out for the case where the user hits Cancel. Don't wanna dead-lock
waiting for a message that will never show up.


git-svn-id: svn://10.0.0.236/trunk@72455 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 23:22:39 +00:00
thayes%netscape.com
801d77ef42 Bug 26085 - use real version of encryption code for storing wallet data.
r=morse


git-svn-id: svn://10.0.0.236/trunk@72454 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 23:20:01 +00:00
beard%netscape.com
a0206c0c37 bug 19119: remove build of PSMGlue which now depends on PSM.shlb. r=gordon
git-svn-id: svn://10.0.0.236/trunk@72453 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 23:07:07 +00:00
thayes%netscape.com
b484456be7 Bug 26085. Fix handling of cancel for Personal Security Password dialog box.
r=morse


git-svn-id: svn://10.0.0.236/trunk@72452 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 23:01:20 +00:00
beard%netscape.com
108fce50e5 bug 19119: fires up PSM thread explicitly, and waits for it to start. a=ddrinan, r=gordon
git-svn-id: svn://10.0.0.236/trunk@72451 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 23:01:07 +00:00
morse%netscape.com
a28c786ae3 fix bug 42844, wallet table change
git-svn-id: svn://10.0.0.236/trunk@72450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:56:07 +00:00
garyf%netscape.com
8077ca93be Fixed round off error by making nsTransform2D::TransformCoord(x,y,w,h) round the translation values for the scale & translate case in the same way as nsTransform2D::TransformCoord(x,y). r=evaughan bug=29949
git-svn-id: svn://10.0.0.236/trunk@72449 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:47:34 +00:00
javi%netscape.com
c08e4aac4b Work around for Mozilla. If we're told to wait for a resource to shut down
that isn't a keygen context, sleep for a second so that the user actually
sees the dialog instead of a window that mysteriously appears and disappears
without ever showing them anything.


git-svn-id: svn://10.0.0.236/trunk@72448 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:45:48 +00:00
ddrinan%netscape.com
b1899dd084 Include nslocale component
git-svn-id: svn://10.0.0.236/trunk@72447 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:40:13 +00:00
anthonyd%netscape.com
8febe65f8c warning fixes for linux. r: mjudge a: beppe
git-svn-id: svn://10.0.0.236/trunk@72446 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:28:10 +00:00
av%netscape.com
a7185b0ff0 Fixing 38094 with patch by sean@beatnik.com, ra=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@72445 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:27:16 +00:00
beard%netscape.com
6aa82d3011 bug 19119: export file for PSM[Debug].shlb.
git-svn-id: svn://10.0.0.236/trunk@72443 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:25:43 +00:00
mstoltz%netscape.com
3d1b833a1e Dogfood bug 42076 - allowing file:// urls to load chrome:// URLs. r=evaughan.
git-svn-id: svn://10.0.0.236/trunk@72442 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:22:38 +00:00
valeski%netscape.com
a6fbe82412 fixing a leak
git-svn-id: svn://10.0.0.236/trunk@72441 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:21:50 +00:00
beard%netscape.com
0f612d18b0 bug 19119, changes for XP_MAC to allow client to synchronize with server thread. a=ddrinan, r=gordon
git-svn-id: svn://10.0.0.236/trunk@72440 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:21:16 +00:00
attinasi%netscape.com
82685de2d9 New Performance data: not part of build
git-svn-id: svn://10.0.0.236/trunk@72439 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:20:19 +00:00
beard%netscape.com
1a34e48c9c (not part of build) added nlslayer.cpp.
git-svn-id: svn://10.0.0.236/trunk@72438 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:18:38 +00:00
waterson%netscape.com
9d994e1889 Fix mac bustage: JSObject is an opaque type here.
git-svn-id: svn://10.0.0.236/trunk@72436 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:17:46 +00:00
ducarroz%netscape.com
f9d206e0c0 Fix for bug 41828. Do not autocomplete if the user is not typing at the end of the text. R=mscott
git-svn-id: svn://10.0.0.236/trunk@72435 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:17:34 +00:00
nhotta%netscape.com
ddd32037e9 Added code to parse Content-Type charset and store to DB, bug 33101, r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@72434 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:17:06 +00:00
nhotta%netscape.com
d83d73ebb3 Changed the line wrap code to take care character width, contrituted by bratell@lysator.liu.se, bug 41453, r=akkana,nhotta.
git-svn-id: svn://10.0.0.236/trunk@72433 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:16:14 +00:00
kmcclusk%netscape.com
105e5c18f1 Removed clipwidget used by ender-lite widgets. b=35740 r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72432 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:11:43 +00:00
javi%netscape.com
03d6fd60c6 Some tweaks to key gen context and oldfunc.c so that Mozilla can more
easily handle the KEYGEN tag.


git-svn-id: svn://10.0.0.236/trunk@72431 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:08:16 +00:00
ducarroz%netscape.com
718f59007b FIx for bug 42088. Do not try to hidde a window that we have juste closed!!! r=mscott
git-svn-id: svn://10.0.0.236/trunk@72430 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:06:41 +00:00
javi%netscape.com
93c008cfd0 Make some API changes so that the Mozilla client can more easily handle
the KEYGEN tag.


git-svn-id: svn://10.0.0.236/trunk@72429 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 22:05:18 +00:00
edburns%acm.org
7af4ea35a6 Removed accidentally introduced ^M's
git-svn-id: svn://10.0.0.236/trunk@72428 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:59:04 +00:00
pavlov%netscape.com
db5a1c5e8f patch from Scott Schram (scott@ruthie.com) to add css2/3 cursor support on unix (bug 38444) a=brendan
git-svn-id: svn://10.0.0.236/trunk@72427 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:54:47 +00:00
ruslan%netscape.com
6fa6ba72ba Fix potential crasher (42714), r/a=gagan
git-svn-id: svn://10.0.0.236/trunk@72426 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:49:43 +00:00
waterson%netscape.com
dba54e0bba Bug 12874. Remove unnecessary refcount hackery. This hasn't been necessary since we made NS_IMPL_ISUPPORTS and friends stabilize refcount before calling dtor.
git-svn-id: svn://10.0.0.236/trunk@72425 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:47:13 +00:00
waterson%netscape.com
5a1c1073a1 Bug 39699. Add re-entrancy guards so that we ignore updates while we're in the middle of building content. r=rjc
git-svn-id: svn://10.0.0.236/trunk@72424 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:46:04 +00:00
valeski%netscape.com
51f1dd1c1d 35506. r=warren. File transport now fires OnStart for *all* loads.
git-svn-id: svn://10.0.0.236/trunk@72423 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:46:03 +00:00
waterson%netscape.com
3268ebcce6 Bug 39699. Ignore errors from nsIFile, hyatt-style! seriously, though: nsIFile returns random error codes per-platform when you ask if a non-existant file is a directory. This was causing the RDF enumeration to abort prematurely for no good reason. r=rjc
git-svn-id: svn://10.0.0.236/trunk@72422 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:45:00 +00:00
waterson%netscape.com
3f98638bc1 Bug 41855. Hold on to the nsIScriptContext instead of the raw JSContext. This ensures that the JSContext won't be yanked out from beneath us. r=shaver
git-svn-id: svn://10.0.0.236/trunk@72421 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:43:04 +00:00
despotdaemon%netscape.com
ea8d1940c4 Pseudo-automatic update of changes made by jab@atdot.org.
git-svn-id: svn://10.0.0.236/trunk@72420 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:40:09 +00:00
mscott%netscape.com
f062d901b2 Bug #38374 --> foundation for helper app architecture.
Not part of the build yet. review will come when this is ready to go.


git-svn-id: svn://10.0.0.236/trunk@72419 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:35:13 +00:00
mscott%netscape.com
c209efd840 Bug #38374 --> foundation for helper app architecture. Windows specific implementation of the
helper app service.
Not part of the build yet. review will come when this is ready to go.


git-svn-id: svn://10.0.0.236/trunk@72418 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:34:35 +00:00
akkana%netscape.com
7f48615b17 Warning fix (part of checkin for 38154). r=cmanske
git-svn-id: svn://10.0.0.236/trunk@72417 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:24:06 +00:00
pinkerton%netscape.com
c5fee124d0 add new grid-tree files for hyatt. bug# 30511. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@72416 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:24:05 +00:00
akkana%netscape.com
327c9217ba 38154: include user-defined tags in html output. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@72415 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:23:48 +00:00
akkana%netscape.com
1d30268f47 Make table tests run on linux; add comments explaining how to run them.
Needed for testing 41916.  r=karnaze


git-svn-id: svn://10.0.0.236/trunk@72414 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:23:16 +00:00
akkana%netscape.com
7bd950e195 Ignore files generated by table tests. r=karnaze
git-svn-id: svn://10.0.0.236/trunk@72413 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:22:50 +00:00
akkana%netscape.com
0044c43edb 41916: Remove <td> from the list of inline tags; don't include the enclosing
<td> in a selection that happens to fall inside a table cell. r=rickg


git-svn-id: svn://10.0.0.236/trunk@72412 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:22:00 +00:00
mscott%netscape.com
f82d87f16a Bug #40116 --> check to see if the channel was canceled before
propogating calls to the content listener...
this is actually warren's code.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@72411 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:21:57 +00:00
mscott%netscape.com
a8d1fa1f0e Bug #40116 --> check to see if the channel was canceled before
propogating calls to the content listener...
r=valeski


git-svn-id: svn://10.0.0.236/trunk@72410 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:21:04 +00:00
dmose%mozilla.org
1131c95ec9 pull the LDAP C SDK code by default (it's on a branch). a=r=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@72409 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:20:18 +00:00
mscott%netscape.com
8320a56cd0 Bug #42016 --> fix by Ben Bucksch
r=mscott, a=waterson


git-svn-id: svn://10.0.0.236/trunk@72408 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:20:13 +00:00
beard%netscape.com
cf240ee6c4 bug #19119: Added call to initialize Mac toolbox. (not part of build)
git-svn-id: svn://10.0.0.236/trunk@72407 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 21:12:27 +00:00
javi%netscape.com
ce876e1ffb Add some attributes to query URL's for setting the password and for
choosing which token to use when processing a KEYGEN tag.x


git-svn-id: svn://10.0.0.236/trunk@72404 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 20:48:25 +00:00
dmose%mozilla.org
444572d5d5 changed nsILDAPOperation::Result() to use PRIntervalTime rather than PRTime for the timeout value. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72403 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 19:16:59 +00:00
ruslan%netscape.com
b24f1a5d39 Continuing preparations for SOCKS landing. Not part of the build
git-svn-id: svn://10.0.0.236/trunk@72402 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 18:44:04 +00:00
ruslan%netscape.com
cc6cdd5fb4 Some future design work. Not part of any build
git-svn-id: svn://10.0.0.236/trunk@72399 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 18:17:59 +00:00
ruslan%netscape.com
43b6ebd1a0 Preparing for landing of SOCKS support (16103) from justin@ukans.edu
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@72398 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 17:53:22 +00:00
ddrinan%netscape.com
5dceecbad0 Fixed build bustage for linux
git-svn-id: svn://10.0.0.236/trunk@72397 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 17:17:49 +00:00
vidur%netscape.com
18748f8353 First cut of XMLSerializer and XMLHttpRequest. This is WIP and not part of the Mozilla/Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@72396 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 16:52:09 +00:00
valeski%netscape.com
a2d7511623 fixing assertion
git-svn-id: svn://10.0.0.236/trunk@72395 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 16:20:29 +00:00
valeski%netscape.com
798b59895f missed an arg.
git-svn-id: svn://10.0.0.236/trunk@72394 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 15:02:14 +00:00
valeski%netscape.com
5297878f1d 42767. AsyncOpen (dead code) removal.
git-svn-id: svn://10.0.0.236/trunk@72393 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:59:30 +00:00
danm%netscape.com
3b897ee5f4 use nsIPrompt supplied by nsHTTPChannel for bringing up cookie dialog. bugs 25684,28594. r=morse@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72392 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:56:47 +00:00
danm%netscape.com
c318e40ece supply nsIPrompt to streamloader created when processing a script tag. bugs 25684,28594. r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72391 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:54:57 +00:00
danm%netscape.com
30659fd9ec adding accessor for nsIPrompt member variable. bugs 25684,28594. r=gagan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72390 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:52:53 +00:00
leaf%mozilla.org
24afa3867d Automated update
git-svn-id: svn://10.0.0.236/trunk@72389 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:45:09 +00:00
valeski%netscape.com
a6c10e4ead 42767. AsyncOpen (dead code) removal.
git-svn-id: svn://10.0.0.236/trunk@72388 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:44:36 +00:00
valeski%netscape.com
23654db003 42767. AsyncOpen (dead code) removal.
git-svn-id: svn://10.0.0.236/trunk@72387 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:39:19 +00:00
mkaply%us.ibm.com
535e2f55e5 # 42637
r = mkaply, a = brendan
OS/2 bring-up  - makefile changes to build resource files


git-svn-id: svn://10.0.0.236/trunk@72386 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:33:17 +00:00
mkaply%us.ibm.com
7c24e14eba # 40177
r = cls, a = brendan
OS/2 bring-up  - VisualAge changes for configure.in


git-svn-id: svn://10.0.0.236/trunk@72385 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:31:03 +00:00
cmanske%netscape.com
3d1ca91fb9 Fixed paragraph, heading, and list menus and check state: bug 41735, r=brade
git-svn-id: svn://10.0.0.236/trunk@72384 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:22:12 +00:00
cmanske%netscape.com
7d50f98cd8 Fixed list command problems: bug 41735, r=brade
git-svn-id: svn://10.0.0.236/trunk@72383 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:21:46 +00:00
cmanske%netscape.com
9c095c8dc4 Added list commandset; part of bug 41735, r=brade
git-svn-id: svn://10.0.0.236/trunk@72382 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:21:39 +00:00
mkaply%us.ibm.com
ae18c5038b # 42637
r = mkaply, a = brendan
OS/2 bring-up  - fixes for nsWindow.* and menu code


git-svn-id: svn://10.0.0.236/trunk@72381 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:18:49 +00:00
mkaply%us.ibm.com
a7340f6ae8 # 40177
r = leaf, a = brendan
OS/2 bring-up for M16 - need additional TIMER lib for OS/2


git-svn-id: svn://10.0.0.236/trunk@72380 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:12:04 +00:00
mkaply%us.ibm.com
fe7123ad19 # 40177
r = cls, a = brendan
OS/2 bring-up for M16 - add OS/2 to config.* files - also submitting to autoconf


git-svn-id: svn://10.0.0.236/trunk@72379 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:06:23 +00:00
kin%netscape.com
fccb6df0e3 Fix for bug #41206: Text inserted into composer is initially invisible
Removed call to FlushPendingNotifications() in SetCaretEnabled()
because it causes a reflow during painting. That can cause certain
view updates to be dropped on the floor on Linux. Also removed
tab characters in SetCaretEnabled().

r=sfraser@netscape.com, a=beppe@netscape.com


git-svn-id: svn://10.0.0.236/trunk@72378 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:05:03 +00:00
jefft%netscape.com
92a2eb55bc fixed bug 32178 -- Undo: completely unpredictable when it will enable or work; r=scottip, bienvenu
git-svn-id: svn://10.0.0.236/trunk@72377 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 13:48:02 +00:00
jst%netscape.com
3e8ddbd2cb Fixing nsbeta2+ bug 41588, accessing document.documentElement on an empty document in JS threw a NS_ERROR_FAILURE exception in stead of just returning null. r=heikki@citec.fi
git-svn-id: svn://10.0.0.236/trunk@72376 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 13:37:46 +00:00
bienvenu%netscape.com
f8e1e24a32 override delete model for aol server, r=sspitzer 32519
git-svn-id: svn://10.0.0.236/trunk@72375 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 13:31:51 +00:00
bienvenu%netscape.com
3aaa3fee22 fix fmr in imap parser causing envelope parser problems r=jefft 42498
git-svn-id: svn://10.0.0.236/trunk@72374 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 13:24:19 +00:00
bienvenu%netscape.com
a0adb56627 more work on search BE, 33101 r=alecf parse local folders before searching
git-svn-id: svn://10.0.0.236/trunk@72373 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 13:21:41 +00:00
jst%netscape.com
3152e30813 Fixing well-formedness error in XUL overlay file that prevents mozilla from even opening the first browser window, r=brade&disttsc@bart.nl
git-svn-id: svn://10.0.0.236/trunk@72372 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 13:09:36 +00:00
rods%netscape.com
3910c6d504 input type=image need to create their "alt" text
b=24778 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@72371 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 12:57:44 +00:00
morse%netscape.com
134a4a2d66 bugs 41390 and 41419, wallet editor fixes
git-svn-id: svn://10.0.0.236/trunk@72370 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 12:57:32 +00:00
rods%netscape.com
2597ebacec image buttons need their font set for "alt" text
b=24778 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@72369 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 12:56:02 +00:00
morse%netscape.com
c7fdf58e56 bugs 42475, 42550, and 42436 r=dveditz
git-svn-id: svn://10.0.0.236/trunk@72368 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 12:51:14 +00:00
morse%netscape.com
fb223e9b7c bugs 42475, 42550, and 42436 r=dveditz
git-svn-id: svn://10.0.0.236/trunk@72367 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 12:44:04 +00:00
sgehani%netscape.com
81c4f9a108 Allow for more component names in setup type description without falling off. (nsbeta2+)
[b=41353; r=dveditz]


git-svn-id: svn://10.0.0.236/trunk@72366 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 10:44:33 +00:00
pavel%gingerall.cz
01d10dc6a7 - workaround of -rdynamic (JS_PERLCONNECT only)
git-svn-id: svn://10.0.0.236/trunk@72365 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 08:56:03 +00:00
rjc%netscape.com
14ac16bebc Fix nsbeta2+ bug # 40365: update search files from Netcenter. r/a=me
git-svn-id: svn://10.0.0.236/trunk@72364 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 08:26:36 +00:00
mccabe%netscape.com
8e6c612c26 Build nsIScriptablePlugin.idl on the mac; remaining part of fix for 39911. a=beard,r=don
git-svn-id: svn://10.0.0.236/trunk@72363 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 08:23:28 +00:00
BlakeR1234%aol.com
150979855e Fix for bug 41900 r=dveditz a=verah
git-svn-id: svn://10.0.0.236/trunk@72362 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 08:05:06 +00:00
warren%netscape.com
af2c72d1b7 Bug 42283. Crash downloading jar file.
git-svn-id: svn://10.0.0.236/trunk@72361 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 07:47:46 +00:00
alecf%netscape.com
a55c6aacac oops, missed a properties file with last checkin (#33101)
git-svn-id: svn://10.0.0.236/trunk@72360 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 07:45:38 +00:00
alecf%netscape.com
a87583f4cc update examples for people looking to hook up ISPs to the account wizard (not part of build)
git-svn-id: svn://10.0.0.236/trunk@72359 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 07:44:22 +00:00
alecf%netscape.com
e8000a5455 make the search folder picker come from the folder picker overlay, and make it update correctly, plus start to hook up the datasources to the thread pane in the search window
r=sspitzer
part of bug #33101


git-svn-id: svn://10.0.0.236/trunk@72358 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 07:43:42 +00:00
BlakeR1234%aol.com
9f5dcee0a1 Oops...overwrote rbs@maths.uq.edu.au's changes. sorry
git-svn-id: svn://10.0.0.236/trunk@72357 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 07:43:35 +00:00
alecf%netscape.com
9d9053792b update search datasource for #33101 - allow nsIMessages to be created from nsIMsgDBHdrs, and get rid of extraneous attribute from the search hit notify listener
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72356 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 07:41:37 +00:00
brade%netscape.com
320e017be4 improved detection of edit fields; r/a=law a=beppe (bug #14874)
git-svn-id: svn://10.0.0.236/trunk@72355 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 07:37:44 +00:00
rickg%netscape.com
de64f8f668 fixed a few nsbeta2+ bugs; r=harishd and kmcclusk
git-svn-id: svn://10.0.0.236/trunk@72354 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 07:28:02 +00:00
BlakeR1234%aol.com
c2d42fa98d Fix nsbeta2+ bug 41614 r=dveditz
git-svn-id: svn://10.0.0.236/trunk@72353 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 07:21:05 +00:00
BlakeR1234%aol.com
16ca13a932 Fix for nsbeta2+ bug 41614 r=dveditz
git-svn-id: svn://10.0.0.236/trunk@72352 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 07:19:21 +00:00
tor%cs.brown.edu
596ea132b1 Patch from roc+moz@cs.cmu.edu to get this building on windows.
Not in default build.  r=tor


git-svn-id: svn://10.0.0.236/trunk@72351 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 07:02:42 +00:00
heikki%citec.fi
1b1b0cd15f Bug 41908. Implemented Open in New Window for simple XLinks. Relative URLs and XML Base do not yet work. r=law&jst.
git-svn-id: svn://10.0.0.236/trunk@72350 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 06:59:36 +00:00
rpotts%netscape.com
1e04a2e702 bug #39797. Fixed unknown content-type sniffer to handle 8-bit characters...
git-svn-id: svn://10.0.0.236/trunk@72349 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 06:15:13 +00:00
sfraser%netscape.com
f5dc32b34c Fix bug 42145 -- need to clear the editor out of the editor controller when the text frame is going away (like when its content is hidden in a popup window). r=kin
git-svn-id: svn://10.0.0.236/trunk@72348 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 06:09:33 +00:00
sfraser%netscape.com
f7448c53e6 Belt-and-braces check for bug 42145; check for null args. r=akkana
git-svn-id: svn://10.0.0.236/trunk@72347 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 06:06:55 +00:00
sfraser%netscape.com
25d51d7143 Remove obsolete charset menu cruft. r=fm
git-svn-id: svn://10.0.0.236/trunk@72346 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 06:05:51 +00:00
ssu%netscape.com
de5fe27bfa fixing nsbeta2+ bug #41581. [regression]the installer only wants to install to a top-level directory on the disk (e.g., c:\Mozilla). r=sgehani. affects windows platforms only
git-svn-id: svn://10.0.0.236/trunk@72345 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 06:02:01 +00:00
sfraser%netscape.com
2316120009 Partial fix for bug 42098 -- leakage of XUL doc and editor in composer window. This change fixes the doc leak, but the nsEditorShell still leaks. This fix is a band-aid until 42530 is fixed. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72344 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 06:01:19 +00:00
cotter%netscape.com
864c4204ea Updated OSCP help.
git-svn-id: svn://10.0.0.236/trunk@72343 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 05:45:58 +00:00
brendan%mozilla.org
7a227ba4ec sfraser@netscape.com's fine GC_MARK_DEBUG enhancement for XPConnect.
git-svn-id: svn://10.0.0.236/trunk@72342 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 04:34:00 +00:00
dmose%mozilla.org
30a76fc5b2 first cut at some new-style windows makefiles for the C SDK. these don't really work yet - they are being checked in to allow other developers to collaborate on them. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72341 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 02:35:41 +00:00
ddrinan%netscape.com
badc3f1ac6 Fix for bug# 34384
git-svn-id: svn://10.0.0.236/trunk@72339 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 01:47:18 +00:00
rogerl%netscape.com
63176f2628 Added tests for scripts as strings.
git-svn-id: svn://10.0.0.236/trunk@72338 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 01:37:47 +00:00
rogerl%netscape.com
5f2e9befeb Mucking about with operator overlaoding plus initializing global context
- beginning type stuff.


git-svn-id: svn://10.0.0.236/trunk@72337 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 01:36:59 +00:00
rogerl%netscape.com
ebaa77a03f Fixed spelling.
git-svn-id: svn://10.0.0.236/trunk@72336 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 01:35:25 +00:00
pollmann%netscape.com
781f953b02 Reenabling my change, not part of smoketest bustage. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72335 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 01:21:56 +00:00
pierre%netscape.com
584e941a6d #42139 "background-position misinterpreted with fixed backgrounds". Fixed a regression introduced during the last checkin. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@72334 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 00:50:56 +00:00
cyeh%bluemartini.com
2100d31ebd add url for where to find the latest libgd
git-svn-id: svn://10.0.0.236/trunk@72333 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 00:50:49 +00:00
mcgreer%netscape.com
84112f1bce attempt to add token support for listing certs & keys
git-svn-id: svn://10.0.0.236/trunk@72332 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 00:38:44 +00:00
mcgreer%netscape.com
92d86935db more cleanup on cert listing
git-svn-id: svn://10.0.0.236/trunk@72331 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 00:36:43 +00:00
waterson%netscape.com
9f0f77a822 Bug 42518. Remove bogus re-implementation of GetCurrentSession(). r=pink
git-svn-id: svn://10.0.0.236/trunk@72330 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 00:32:17 +00:00
pollmann%netscape.com
884e996435 Temporarily disabling my change to help narrow down smoketest bustage. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72329 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 00:23:21 +00:00
karnaze%netscape.com
0810fad6c2 bug 42726 - back out previous checkin.
git-svn-id: svn://10.0.0.236/trunk@72328 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 23:39:49 +00:00
scc%mozilla.org
900f215543 undo the change of the 10th. The code is still in, conditioned on |NS_DONT_USE_CHUNKY_STRING_ALLOCATION|. The performance hit was unacceptable, and checking the original change in on the tip was a mistake. r=rpotts; a=leaf, phil
git-svn-id: svn://10.0.0.236/trunk@72327 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 22:13:19 +00:00
radha%netscape.com
6b81b2f605 Fix for bug # 41373. r=pollmann. a=don,phil,leger,leaf
git-svn-id: svn://10.0.0.236/trunk@72326 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 22:08:25 +00:00
ddrinan%netscape.com
d0057568a9 Use M16 version of nlslayer for unix
git-svn-id: svn://10.0.0.236/trunk@72324 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 21:34:56 +00:00
sspitzer%netscape.com
a092cc2d34 workaround for smoketest blocker #42686
now we assert and gracefully continue, instead of crashing.
I'll go give this bug to a better owner.  a=brade, r=mscott


git-svn-id: svn://10.0.0.236/trunk@72323 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 21:20:19 +00:00
thayes%netscape.com
0be4db9ae1 Change password prompt and retry text.
git-svn-id: svn://10.0.0.236/trunk@72322 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 21:13:35 +00:00
javi%netscape.com
720cc9bec3 Add help targets for cert pretty print and issuer not found when walking
the certificate chain.


git-svn-id: svn://10.0.0.236/trunk@72321 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 21:02:45 +00:00
mcs%netscape.com
7b93ae9b59 removed old project and .exp files.
git-svn-id: svn://10.0.0.236/trunk@72319 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 20:31:13 +00:00
ddrinan%netscape.com
d30cd61bec Use the M16 version of nlslayer
git-svn-id: svn://10.0.0.236/trunk@72318 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 20:22:12 +00:00
ddrinan%netscape.com
e5e2013da6 Use the intl M16 interfaces
git-svn-id: svn://10.0.0.236/trunk@72317 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 20:02:52 +00:00
Peter.VanderBeken%pandora.be
6b63ee0f89 Reenable creation of HTML elements in XML documents. r=nisheeth, r=kin, a=waterson.
git-svn-id: svn://10.0.0.236/trunk@72315 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 17:48:19 +00:00
rogerl%netscape.com
f7ed7da244 Added op= support.
git-svn-id: svn://10.0.0.236/trunk@72314 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 16:03:54 +00:00
karnaze%netscape.com
0b74ec8686 bug 41306 - remove special cell auto percentage base code, r=rods
git-svn-id: svn://10.0.0.236/trunk@72313 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 14:54:04 +00:00
karnaze%netscape.com
7e1b9a4668 bug 40721 - better in determining if height of a cell gets smaller during incremental reflow, r=rods
git-svn-id: svn://10.0.0.236/trunk@72312 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 14:31:12 +00:00
dbragg%netscape.com
7d9c34376b fix for nsbeta2+ bugs 37363 and 39157. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@72311 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 14:28:28 +00:00
cmanske%netscape.com
68affc7086 Optimized stylesheet code to not enable/disable unecessarily, avoiding extra reflows. For bug 40767, r=akkana
git-svn-id: svn://10.0.0.236/trunk@72310 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 14:17:13 +00:00
nboyd%atg.com
45295349db Wrapping a class produces a NativeJavaClass.
git-svn-id: svn://10.0.0.236/trunk@72309 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 14:00:31 +00:00
pete%alphanumerica.com
21978cfb33 r=dougt,brendan a=dougt
not part of the build.

--pete


git-svn-id: svn://10.0.0.236/trunk@72308 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 13:16:49 +00:00
rods%netscape.com
f58dc37a07 removed the incremental reflow targeted at the display text
instead we just reflow the text and the button each time.
b=40644 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@72307 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 13:02:10 +00:00
rods%netscape.com
1a499e2d1a ifdef'ing out the where we get the value of the label
currently we aren't supporting "label" for options because they get
concatentated with the content
b=4050 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@72306 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 13:00:23 +00:00
rods%netscape.com
40f308956d ifdef'ing out the where we get the value of the label
b=4050 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@72305 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 12:58:54 +00:00
sdv%sparc.spb.su
5fd3575052 addon to fix a bug=42336
git-svn-id: svn://10.0.0.236/trunk@72304 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 11:14:47 +00:00
rjc%netscape.com
7fbc71dde2 Fix nsbeta2+ bug # 40367: auto-updating of search files. r=gagan,sdagley a=don
git-svn-id: svn://10.0.0.236/trunk@72303 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 10:36:40 +00:00
rbs%maths.uq.edu.au
87933691a6 Commented section that was enabled in my tree
git-svn-id: svn://10.0.0.236/trunk@72302 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 10:15:27 +00:00
rbs%maths.uq.edu.au
2bd5335be3 Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72301 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 10:11:03 +00:00
rbs%maths.uq.edu.au
de23cc3486 Change invalid REC-html40 to correct XHTML namespace. b:7834. a:ekrock@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72300 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 09:54:41 +00:00
BlakeR1234%aol.com
52eb7c31a5 Fix for bug 4162. r=ben a=waterson
git-svn-id: svn://10.0.0.236/trunk@72299 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 07:33:35 +00:00
mccabe%netscape.com
c3790a20ac Bustage occurred, not sure if it's me, but mine was the only checkin in layout; backing out just in case.
git-svn-id: svn://10.0.0.236/trunk@72298 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 06:53:18 +00:00
waterson%netscape.com
b84772d2c3 Fix UMRs.
git-svn-id: svn://10.0.0.236/trunk@72297 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 06:42:27 +00:00
alecf%netscape.com
7a9f7cd21f oops, fix a typo in the last checkin
git-svn-id: svn://10.0.0.236/trunk@72296 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 06:42:18 +00:00
alecf%netscape.com
00489292b9 null-pointer check to attempt to fix #42271
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72295 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 06:41:25 +00:00
waterson%netscape.com
c2a827c3b4 Fix leak.
git-svn-id: svn://10.0.0.236/trunk@72294 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 06:41:17 +00:00
sspitzer%netscape.com
ad3905ebd0 fix error message in build log. this is not for the build bustage.
git-svn-id: svn://10.0.0.236/trunk@72293 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 06:40:36 +00:00
ssu%netscape.com
4c9b4b8cf1 Patch from gemal@gemal.dk that fixes bugs:
#38456 - ":" should not be in "Destination Directory:"
  #38563 - New title to exit installer dialog
  #34857 - "Total download size" should be "Total Install Size"

did not apply part of patch that fixes bug #33342 because I need marketing approval.  I reassigned that bug to the appropriate approver.

a=leaf
r=sgehani

affects only windows platforms.


git-svn-id: svn://10.0.0.236/trunk@72292 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 06:37:50 +00:00
ssu%netscape.com
5af3030df4 Patch from BlakeR1234@aol.com that fixes bug #42203. Typo in xpinstall.properties string. a=leaf r=sgehani
git-svn-id: svn://10.0.0.236/trunk@72291 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 06:20:15 +00:00
ssu%netscape.com
060825d5c7 fixing bug #42203. Typo in xpinstall.properties string. a=leaf r=sgehani
git-svn-id: svn://10.0.0.236/trunk@72290 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 06:18:08 +00:00
mccabe%netscape.com
1491849620 Fix for 38495, nsbeta+.
Teach EmbedElements how to expose plugin objects via XPConnect, after using the nsIScriptablePlugin interface to find an appropriate interface to expose.

r=jst
a=beard


git-svn-id: svn://10.0.0.236/trunk@72289 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 06:07:35 +00:00
sspitzer%netscape.com
51ec51304a remove unnecessary line. part of my checkin for #1181
git-svn-id: svn://10.0.0.236/trunk@72288 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 05:52:02 +00:00
bryner%uiuc.edu
955cf36671 Fix nsbeta2+ bug 39633. r=kin.
git-svn-id: svn://10.0.0.236/trunk@72287 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 05:31:32 +00:00
sspitzer%netscape.com
5e3a130175 pass the ns<foo>Stream by reference, not by value. thanks to sfraser
for pointing out the mistake in this copied code.


git-svn-id: svn://10.0.0.236/trunk@72286 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 05:28:31 +00:00
sspitzer%netscape.com
a9244f361b part of fix for #1182. when migrating an imap user, add the
default templates to Local Folders/Templates.  r=alecf


git-svn-id: svn://10.0.0.236/trunk@72285 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 05:14:02 +00:00
chuang%netscape.com
f8c754cb4e Bug 32286 Edit mailing list in address book, r=putterman
git-svn-id: svn://10.0.0.236/trunk@72284 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 05:10:03 +00:00
tara%tequilarista.org
1763585622 Fixing bug #17779 with patch from cdurst@world.std.com
git-svn-id: svn://10.0.0.236/trunk@72283 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 05:07:13 +00:00
sspitzer%netscape.com
f430774552 fix #1181. make it so we install templates into bin/defaults/Templates and
bin/defaults/en-US/Templates.  then fix it so we check in the locale
directory first, and fall back to the other one if we have too.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@72282 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 05:04:49 +00:00
putterman%netscape.com
19427a3374 fix for 37972 and 37976. Enable address book collection prefs for incoming and outgoing
mail. r=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@72281 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 04:57:16 +00:00
cls%seawood.org
25f73a5b2a Adding MOZ_JS_LIBS to EXTRA_DSO_LDOPTS for BeOS. Bug #42562
git-svn-id: svn://10.0.0.236/trunk@72280 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:49:52 +00:00
dbaron%fas.harvard.edu
4c9e389cd9 Fix bug 38766 (JS errors given wrong for linked scripts in XML documents), nsbeta2+. r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72279 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:33:22 +00:00
dbaron%fas.harvard.edu
a93592acd2 Code for nsCOMPtr leak logging, a new tool to help debug memory leaks (not yet fully enabled on non-autoconf platforms). r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72278 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:23:55 +00:00
dbaron%fas.harvard.edu
f42beb99b8 Fix bug 38766 (JS errors given wrong for linked scripts in XML documents), nsbeta2+. r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72277 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:22:09 +00:00
dbaron%fas.harvard.edu
d567a6243d Change MOZ_DECL_CTOR_COUNTERs that I added to use ;, as all others do. r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72276 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:20:30 +00:00
dbaron%fas.harvard.edu
cbaaa66fd8 Count various classes in leak/bloat logs. r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72275 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:18:32 +00:00
dbaron%fas.harvard.edu
d83741b111 Fix leak of XMLElementFactoryImpl. r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72274 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:16:28 +00:00
dbaron%fas.harvard.edu
b71cd6c86c Fix leak of nsImageGTK (or equivalent on other platforms). r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72273 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:15:36 +00:00
leaf%mozilla.org
3e6d574717 Automated update
git-svn-id: svn://10.0.0.236/trunk@72272 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:15:09 +00:00
dbaron%fas.harvard.edu
7f52a2baa5 Fix leaks of nsHTMLHeadElement. r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72271 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:14:16 +00:00
dbaron%fas.harvard.edu
3d55e5aa70 Changes to turn on nsCOMPtr leak logging on autoconf based platforms. r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@72270 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:13:07 +00:00
dougt%netscape.com
d4ad25f8dd added files: mozilla/netwerk/base/public/nsIWebFilters.idl
git-svn-id: svn://10.0.0.236/trunk@72269 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 02:04:28 +00:00
rhp%netscape.com
9f63cb7f2c Fix for null pointer access crasher - Bug #: 42359 - r: scottip
git-svn-id: svn://10.0.0.236/trunk@72268 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 01:53:39 +00:00
dougt%netscape.com
b6f1faf5f3 Fixing nsIWebFilters not being handled by the http handler. Also making
CreateInstance=>GetService.

r= gagan@netscape.com, a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@72267 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 01:50:08 +00:00
ducarroz%netscape.com
808aa7a846 Fix for bug 41266. Don't clone the popup node else the XBL binding wont work! Also, close the popup menu when the use start typing again else it will not open all the time. R=mscott
git-svn-id: svn://10.0.0.236/trunk@72266 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 01:48:41 +00:00
sgehani%netscape.com
e8fe000dc1 No longer remove the old core directory eliminating potential OS file manager sync'ing issues causing component registration errors. (nsbeta2+)
[b=41376; r=dveditz]


git-svn-id: svn://10.0.0.236/trunk@72265 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 01:10:34 +00:00
av%netscape.com
f06fee1ede Addressing bug #41276, r=sean@beatnik.com
git-svn-id: svn://10.0.0.236/trunk@72264 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 01:07:27 +00:00
despotdaemon%netscape.com
ff7a18d43f Pseudo-automatic update of changes made by BlakeR1234@aol.com.
git-svn-id: svn://10.0.0.236/trunk@72263 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 00:56:26 +00:00
hyatt%netscape.com
b5fe320678 Classic change for twisty nsbeta2= bug. r=ben
git-svn-id: svn://10.0.0.236/trunk@72262 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 00:45:04 +00:00
hyatt%netscape.com
dbb7c92107 Bug #41266, r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@72261 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 00:40:14 +00:00
varada%netscape.com
ba4b7ba0a3 fix for bug #32963- including Mail/News Account Settings in mail compose window menu
git-svn-id: svn://10.0.0.236/trunk@72260 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 00:40:13 +00:00
scc%mozilla.org
85ba05cab0 Fix for an assert that has been bugging rods, particularly when testing with the top 100. The assert is the string |CharAt| out-of-range assert. The problem is the code was iterating off the end of the string to stop at the implicit |'\0'|. But there need not be null termination and accessing outside the strings defined range is bad. Fixed the loop in question to not step outside of the token string, and to iterate more efficiently. r=waterson
git-svn-id: svn://10.0.0.236/trunk@72259 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 00:39:21 +00:00
pollmann%netscape.com
d5ebd0e9c7 Bug 32770: Save scroll position in session history r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72258 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 00:35:46 +00:00
brendan%mozilla.org
bcefbad6b8 Use nsAutoString rather than auto nsString (r=scc,evaughan).
git-svn-id: svn://10.0.0.236/trunk@72257 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 00:08:47 +00:00
buster%netscape.com
86be006781 fixing a platform compile problem
git-svn-id: svn://10.0.0.236/trunk@72256 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:58:41 +00:00
pollmann%netscape.com
1783536d2e Fixing Linux build bustage
git-svn-id: svn://10.0.0.236/trunk@72255 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:58:31 +00:00
garywade%netscape.com
dfde09b674 Bug 30300/6588
Fixed the way that font preferences were proliferated in order that the user-defined font settings could be used.


git-svn-id: svn://10.0.0.236/trunk@72254 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:40:25 +00:00
garywade%netscape.com
2ef163234f Bug 30300/6588
Needed to turn off inlining of functions in the debug target to facilitate debugging.


git-svn-id: svn://10.0.0.236/trunk@72253 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:39:02 +00:00
pollmann%netscape.com
651f5e094f Bug 32770: Save scroll position in session history r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72252 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:37:06 +00:00
alecf%netscape.com
1bf121d580 fix for #40341 - enable/disable filters
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72251 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:36:12 +00:00
robinf%netscape.com
6b1080a2f2 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@72250 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:35:24 +00:00
rogerl%netscape.com
4be5f4c80d Mark top-level execution as 'script' rather than function - to handle
vars correctly.


git-svn-id: svn://10.0.0.236/trunk@72249 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:28:38 +00:00
rogerl%netscape.com
13c4b90ec8 Added 'Function' instruction, plus suppresses class output if there is
no super specified. (ok it's a hack, but it works)


git-svn-id: svn://10.0.0.236/trunk@72248 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:27:28 +00:00
rogerl%netscape.com
27c8e7b5f6 Adding support for Functions and Vars, preXcrement, object literals.
git-svn-id: svn://10.0.0.236/trunk@72247 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:26:15 +00:00
evaughan%netscape.com
98273189eb Fix for beta2+ #41951
and beta2+ #39927

-r pinkerton


git-svn-id: svn://10.0.0.236/trunk@72246 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:24:41 +00:00
pinkerton%netscape.com
4aec10bde4 on the way to fixing 28226. make reflow processing immediate if we're doing a drag.
git-svn-id: svn://10.0.0.236/trunk@72243 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:18:54 +00:00
chrisk%netscape.com
d8f1264a7c Add generation of SMIMECapabilities
git-svn-id: svn://10.0.0.236/trunk@72242 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:17:52 +00:00
buster%netscape.com
e8833a517e fixed nsbeta2+ bugs 42138 35772 37657 38157 40283 35964
r=waterson, rods


git-svn-id: svn://10.0.0.236/trunk@72241 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:15:59 +00:00
bryner%uiuc.edu
f18c290ffb Fixing bug 42282. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@72240 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:15:52 +00:00
chrisk%netscape.com
3e04f59f9a canonicalization step adds CRs to LFs only of there are no CRs present.
git-svn-id: svn://10.0.0.236/trunk@72239 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:15:06 +00:00
chrisk%netscape.com
620125c624 Make example 5.7 of ietf-smime-examples draft decode correctly
(we still cannot look up certs by SubjectKeyID, so it won't verify)


git-svn-id: svn://10.0.0.236/trunk@72238 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:12:48 +00:00
jst%netscape.com
67f52e2c7a Fixing nsbeta2+ bug 40944. document.doctype.systemId was always empty in HTML documents. r=nisheeth@netscape.com&heikki@citec.fi
git-svn-id: svn://10.0.0.236/trunk@72237 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 23:08:19 +00:00
yueheng.xu%intel.com
6db14a1487 fix for #42484 (extra ";" after the loop control). r=cata, a=waterson
git-svn-id: svn://10.0.0.236/trunk@72235 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 22:13:13 +00:00
despotdaemon%netscape.com
1992cec62e Pseudo-automatic update of changes made by garywade@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@72234 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 21:08:44 +00:00
blizzard%redhat.com
a09e848e27 remove annoying ^Ms. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@72233 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 19:57:25 +00:00
blizzard%redhat.com
f3e20bb800 this is the most recent iteration of alex's tool. seems to work on an optimized build now.
git-svn-id: svn://10.0.0.236/trunk@72232 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 19:39:20 +00:00
putterman%netscape.com
80073ca820 Backing out changes to these files to fix blocker bugs 42485 and 42488. r=sspitzer, a=leaf.
git-svn-id: svn://10.0.0.236/trunk@72231 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 18:03:49 +00:00
rusty.lynch%intel.com
32b0ceaf7f (Re)Fix for bug #23546
a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@72230 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 17:58:49 +00:00
pollmann%netscape.com
1826a073a2 Bug 39723: Send only one request to the server when clicking on an image map. r=joki
git-svn-id: svn://10.0.0.236/trunk@72225 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 15:02:18 +00:00
tor%cs.brown.edu
8f2c21ff8e Add mng to required libraries list. Not in default build.
git-svn-id: svn://10.0.0.236/trunk@72224 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 14:21:49 +00:00
tor%cs.brown.edu
c5974ce3f8 Update libmng snapshot. Not in default build.
git-svn-id: svn://10.0.0.236/trunk@72223 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 14:20:55 +00:00
putterman%netscape.com
ea3724a55d Fix for 41327. r=sspitzer. Remove statement that gets printed to console a lot.
git-svn-id: svn://10.0.0.236/trunk@72222 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 14:05:46 +00:00
putterman%netscape.com
16b2cf898f Fix for 39770, remove return receipts from prefs. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@72221 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 14:01:57 +00:00
nboyd%atg.com
6345f2163b Fix bug 42097
git-svn-id: svn://10.0.0.236/trunk@72218 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 13:39:44 +00:00
morse%netscape.com
3c7b707a95 update wallet tables, not part of build
git-svn-id: svn://10.0.0.236/trunk@72217 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 12:32:37 +00:00
sdv%sparc.spb.su
b12debbf5d added workaround for bug=30927
git-svn-id: svn://10.0.0.236/trunk@72216 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 12:16:29 +00:00
axel%pike.org
3a1017bf33 Updating Makefile.in, not part of build
git-svn-id: svn://10.0.0.236/trunk@72215 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 11:55:16 +00:00
hyatt%netscape.com
aee8a341dd Oops. tree should not be on.
git-svn-id: svn://10.0.0.236/trunk@72212 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 09:18:31 +00:00
hyatt%netscape.com
1be0a30bc7 Oops. New tree should be off.
git-svn-id: svn://10.0.0.236/trunk@72211 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 09:17:18 +00:00
hyatt%netscape.com
92ee2738d4 30511. r=ben
git-svn-id: svn://10.0.0.236/trunk@72210 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 09:13:42 +00:00
hyatt%netscape.com
61618e39a9 Fix for bug #36740, r=ben
git-svn-id: svn://10.0.0.236/trunk@72209 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 08:47:12 +00:00
hyatt%netscape.com
50e0e0cc61 Fix for 41281, r=brendan
git-svn-id: svn://10.0.0.236/trunk@72208 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 08:25:50 +00:00
hyatt%netscape.com
98f686e914 Fix for #41878, r=ben
git-svn-id: svn://10.0.0.236/trunk@72207 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 08:21:56 +00:00
hyatt%netscape.com
80d84154b7 Fix for #41281, r=brendan
git-svn-id: svn://10.0.0.236/trunk@72206 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 08:19:07 +00:00
hyatt%netscape.com
e575b1749c Fix for bug #41281, r=brendan
git-svn-id: svn://10.0.0.236/trunk@72205 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 08:12:32 +00:00
axel%pike.org
b8a7545f4e Code cleanup, XSL->MOZ_XSL, r=nisheeth, a=waterson
git-svn-id: svn://10.0.0.236/trunk@72204 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 07:35:26 +00:00
waterson%netscape.com
49b93fea7c Fix leak I made. r=warren
git-svn-id: svn://10.0.0.236/trunk@72203 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 07:27:08 +00:00
pavel%gingerall.cz
c86edbe37a - fixes in original version of perlconnect (JSVALToSV SVToJSVAL etc.)
- object delegation (like JSCreateObject) Perl->JS
- ParlValue handles PerlObject correctly
- undef values handled correctly (in both directions)
- JS arrays may be tied to perl arrays
- error handlers supported on Perl side
- no globals
- several minor fixes


git-svn-id: svn://10.0.0.236/trunk@72202 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 07:23:58 +00:00
pavel%gingerall.cz
2e7ae72a07 - minor change of jsperl.h inclusion, matters for perlconnect build only
git-svn-id: svn://10.0.0.236/trunk@72201 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 07:18:41 +00:00
cls%seawood.org
7fc9f9e637 Move themes around to avoid warnings in standalone builds.
git-svn-id: svn://10.0.0.236/trunk@72200 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 06:46:51 +00:00
cls%seawood.org
658814f84a The WS5.0 problem cropped up again so I'm reapplying pavlov's previous fix.
git-svn-id: svn://10.0.0.236/trunk@72199 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 06:28:13 +00:00
hyatt%netscape.com
d8a304b7bb Bug #30511. r=ben
git-svn-id: svn://10.0.0.236/trunk@72198 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 06:14:24 +00:00
hyatt%netscape.com
3b229e67d4 30511. r=ben
git-svn-id: svn://10.0.0.236/trunk@72197 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 06:13:59 +00:00
hyatt%netscape.com
ace654498a 30511. r=ben
git-svn-id: svn://10.0.0.236/trunk@72196 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 06:13:39 +00:00
scc%mozilla.org
b09172d69e Adding |nsWork[C]String| classes
git-svn-id: svn://10.0.0.236/trunk@72195 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 05:47:30 +00:00
scc%mozilla.org
34851bed47 adding |nsWork[C]String| classes
git-svn-id: svn://10.0.0.236/trunk@72194 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 05:41:05 +00:00
hyatt%netscape.com
1890664385 30511. r=ben
git-svn-id: svn://10.0.0.236/trunk@72193 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 05:31:47 +00:00
rpotts%netscape.com
7b6436e9c1 Made nsSocketProviderService use NS_IMPL_THREADSAFE_ISUPPORTS to avoid an assertion on shutdown...
git-svn-id: svn://10.0.0.236/trunk@72192 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 05:16:10 +00:00
sfraser%netscape.com
a6254706a2 Fix the windows build. Suckage; I needed to repace nsAutoString with nsString in the overloaded function.
git-svn-id: svn://10.0.0.236/trunk@72191 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 05:05:32 +00:00
cmanske%netscape.com
f4a5695489 Part of table dialog work: new method needed to convert to TH from TD and vice versa. b=20973. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@72190 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 04:59:50 +00:00
cmanske%netscape.com
949e725655 New method for table editing (b=20973, r=jfrancis); Use nsIStyleSheet::SetEnable() for editmode stylesheets instead of removing and reloading -- necessary for bug 40767. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@72189 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 04:58:29 +00:00
brendan%mozilla.org
39c808b988 Restore "javascript:\n"-in-location-brings-up-console compatibility (r=mccabe@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@72188 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 04:57:49 +00:00
hyatt%netscape.com
ca5a96f13d 30511. r=ben
git-svn-id: svn://10.0.0.236/trunk@72187 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 04:50:20 +00:00
brendan%mozilla.org
154af1de4d Fiddle whitespace style.
git-svn-id: svn://10.0.0.236/trunk@72186 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 04:46:22 +00:00
sfraser%netscape.com
b2dc9564c5 Back out some of my changes for string cleanup which broke form autofill (the overloaded wallet_ReadFromList methods are back, with their unfathomable index modifications), and putting in some nsCOMPtr goodness. r=scc.
git-svn-id: svn://10.0.0.236/trunk@72185 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 04:32:37 +00:00
scc%mozilla.org
e031ff2a36 Adding a new string class for to help fix performance problems.
git-svn-id: svn://10.0.0.236/trunk@72184 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 04:10:00 +00:00
cls%seawood.org
815321e9a9 Use $(wildcard..) to make certain configure dependencies optional. Bug #42211
git-svn-id: svn://10.0.0.236/trunk@72183 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 03:51:17 +00:00
valeski%netscape.com
50e07a6702 41110. r=sspitzer. more nsIWebshellWindow removal.
git-svn-id: svn://10.0.0.236/trunk@72182 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 03:30:53 +00:00
waterson%netscape.com
7d48674081 Bug 42360. Fix SUNWspro5.0 bustage. r=tor
git-svn-id: svn://10.0.0.236/trunk@72181 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 03:27:46 +00:00
beard%netscape.com
3726e15c5e (not part of build) added non-debug target (PSM.shlb)
git-svn-id: svn://10.0.0.236/trunk@72180 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 03:25:37 +00:00
beard%netscape.com
beaa16cfdb (not part of build) added mozilla/security/nss/lib/smime to access paths, added nlslayer.cpp directly (rather than building as a separate library).
git-svn-id: svn://10.0.0.236/trunk@72179 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 03:18:10 +00:00
beard%netscape.com
51c31d04ba (not part of build) added mozilla/security/nss/lib/smime to access paths.
git-svn-id: svn://10.0.0.236/trunk@72178 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 03:16:41 +00:00
mjudge%netscape.com
6e990f8280 handling of on input. adding selection change notifications to commands. we must tell the document when selection happens in the input fields. regriession from 34986, r=saari a=pdt+
git-svn-id: svn://10.0.0.236/trunk@72177 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 03:01:31 +00:00
mjudge%netscape.com
e85fda1167 fixing blocker bug for focus not typing in url bar after progromatic change to focus on other document. r=saari. (from regression of 34986) pdt+
git-svn-id: svn://10.0.0.236/trunk@72176 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:59:54 +00:00
mjudge%netscape.com
58f329a378 regressions from 34986 ender-lite. listeners now block percolation of events. until we have better fix. r=saari, akkana
git-svn-id: svn://10.0.0.236/trunk@72175 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:58:34 +00:00
mjudge%netscape.com
f1cf76f9e7 fixing regressions from 34986 ender-lite. adding new selection controller sensitivity. r=saari
git-svn-id: svn://10.0.0.236/trunk@72174 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:57:26 +00:00
scc%mozilla.org
187005e5ed Temporarily (till Thursday) commented out the definition that made |PRUnichar*| incompatible with |OLECHAR*| as a favor to the AIM team, so they can decide whether to cast in their code, or alter their headers. They know what to do in either case, and have agreed that this definnition can be re-activated on Thursday. r=vishy
git-svn-id: svn://10.0.0.236/trunk@72173 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:54:40 +00:00
rhp%netscape.com
a298a82a1c Fixing problem with data loss on forwarding - Bug #: 42398 - r: sspitzer
One is a structure and one is a spec of the attachment URI...they are used
differently...one can be null while the other is valid...I was throwing
away attachments by mistake forwarded messages were falling into this list


git-svn-id: svn://10.0.0.236/trunk@72172 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:50:09 +00:00
mccabe%netscape.com
d02312ed59 Makefile fix, thanks to Dan Veditz. Should fix bustage.
git-svn-id: svn://10.0.0.236/trunk@72171 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:40:00 +00:00
mccabe%netscape.com
552b1a1104 Backing out for now to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@72170 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 02:33:45 +00:00
ruslan%netscape.com
6c38a98650 Fixing 22103, a=gagan
git-svn-id: svn://10.0.0.236/trunk@72169 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 01:35:24 +00:00
cmanske%netscape.com
bc2671681c Fixed problem in nsEditor::CloneAttributes where undo system used when it shouldn't. b=41862. r=sfraser. a=beppe
git-svn-id: svn://10.0.0.236/trunk@72168 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 01:32:27 +00:00
cmanske%netscape.com
10146f6bae Fixed Composer dialog layout problems when resizing. b=42210 r=evaughan
git-svn-id: svn://10.0.0.236/trunk@72167 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 01:26:43 +00:00
mccabe%netscape.com
35280d6bef Fix to 39911, which nsbeta+ 38495 depends on.
Build nsIScriptablePlugin.idl on Unix and Windows.

a=beard


git-svn-id: svn://10.0.0.236/trunk@72166 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 01:21:39 +00:00
rods%netscape.com
f86a48604d moved the unreg of the access keys from the destructor to the Destroy method
r=dcone, b=41246


git-svn-id: svn://10.0.0.236/trunk@72165 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 01:16:08 +00:00
beard%netscape.com
fbbcd98705 project to compile nsIScriptablePlugin.idl for mccabe. bug #39911, a=beard, r=mccabe
git-svn-id: svn://10.0.0.236/trunk@72164 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 01:14:35 +00:00
mccabe%netscape.com
984f9b048c Part of fix for 39911, which is a dependency of nsbeta+ bug 38495.
Interface for plugins to expose to advertise a scriptable peer object and the interface that XPConnect should expose it with.

r=sechevarria@beatnik.com,beard@netscape.com
a=beard@netscape.com

NOTE This is not yet built on any platform.


git-svn-id: svn://10.0.0.236/trunk@72163 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 01:04:06 +00:00
attinasi%netscape.com
8fd5c9cbf6 To fix the bug we added support for hspace and vspace attributes in QuirkMode. b=41863 karnaze@netscape.com did part of the fix and we reviewed each others code
git-svn-id: svn://10.0.0.236/trunk@72162 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:59:29 +00:00
jst%netscape.com
bc3e91849d Fixing nsbeta2+ bug 41367, area.pathname incorrectly contained the ref and search parts of the URL. r=vidur
git-svn-id: svn://10.0.0.236/trunk@72161 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:48:34 +00:00
bryner%uiuc.edu
3e2763bedf Fixing import line. r=ben. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@72160 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:44:43 +00:00
mkaply%us.ibm.com
fa06a1e262 # 37239
r = valeski, a = brendan
OS/2 bring-up - Yes I know this is ugly.
We are getting a linker error on this delete.
We want to get our builds up by any means necessary,
so I need to comment this out for us for now.


git-svn-id: svn://10.0.0.236/trunk@72159 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:26:52 +00:00
rginda%netscape.com
7e145bf1b9 -- NOT PART OF THE BUILD --
Conditionally build lcshell w/ jdk 1.1.8 or 1.2.2 on windows


git-svn-id: svn://10.0.0.236/trunk@72157 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:14:56 +00:00
mkaply%us.ibm.com
1471b70394 # 37239
r = mccabe, a = brendan
OS/2 bring-up - PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@72156 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:07:08 +00:00
jst%netscape.com
6af64ec54b Fixing nsbeta2+ bug 39892. Adding support for getting the computed value of the 'behavior' property with getComputedStyle(). r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72155 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:06:36 +00:00
alecf%netscape.com
e06fc1cc5e fix for #42082 - enable the filter on creation
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@72153 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 00:04:43 +00:00
mstoltz%netscape.com
ab175b2de3 Fix for bug 31818. Dogfood. r=brendan
git-svn-id: svn://10.0.0.236/trunk@72152 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:56:30 +00:00
ddrinan%netscape.com
fe76e7598f Move nlslayer from my machine to sbc
git-svn-id: svn://10.0.0.236/trunk@72151 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:54:37 +00:00
racham%netscape.com
7170b49a9f Fixing bug 40180. If the profile directory is deleted, a new directory is created with default contents on all platforms. On Mac, which is the main concern of this bug, the folder in the trash is ignored and the new folder is considered as an active profile directory. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@72150 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:53:42 +00:00
rjc%netscape.com
c2abb02c4f Ensure gRefCnt is initialized to zero. Code from ericb@neoplanet.com, approval=me
git-svn-id: svn://10.0.0.236/trunk@72149 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:45:20 +00:00
leaf%mozilla.org
5c7ccba235 Automated update
git-svn-id: svn://10.0.0.236/trunk@72148 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:45:09 +00:00
dbragg%netscape.com
31bc47961c Fix for bug #42201. Patch submitted by BlakeR1234@aol.com. a=dveditz r=dbragg
git-svn-id: svn://10.0.0.236/trunk@72147 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:37:11 +00:00
cls%seawood.org
d67cf1b15a Call AC_SUBST to that MOZ_MNG is properly (un)set.
git-svn-id: svn://10.0.0.236/trunk@72146 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:32:42 +00:00
av%netscape.com
95f3dcdd98 Addressing #41276, r=sechevarria@beatnik.com
git-svn-id: svn://10.0.0.236/trunk@72144 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:23:13 +00:00
akkana%netscape.com
e3cd9fcb21 42306: remove hacky workaround for middle mouse handling, no longer
needed; event bubbling now happens correctly.  r=saari,mjudge; a=beppe


git-svn-id: svn://10.0.0.236/trunk@72143 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:21:37 +00:00
akkana%netscape.com
f33db3b092 42306: Change middle-mouse paste from MouseDown to MouseClick,
and prevent it bubbling up to where navigator.js will handle it.
r=saari,mjudge; a=beppe


git-svn-id: svn://10.0.0.236/trunk@72142 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:19:48 +00:00
mccabe%netscape.com
a1fc28a313 First part of fix for 38495, support for exposing plugin methods to JavaScript.
This patch teaches XPConnected objects to look in their JavaScript __proto__ chain for any names they can't resolve themselves.  The rest of the fix to this bug sets the original DOM node object as the prototype of a new xpconnect-exposed plugin object, so javascript accesses will see names from both objects.

r=jst,brendan
a=beard


git-svn-id: svn://10.0.0.236/trunk@72141 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:18:21 +00:00
jefft%netscape.com
5d2b2513f8 fixed bug 41170 - opening the twisty for an imap server should refresh the folder list; r=sspitzer, bienvenu
git-svn-id: svn://10.0.0.236/trunk@72140 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:18:04 +00:00
av%netscape.com
a19cf68e38 Addressing #41276, r=edburns
git-svn-id: svn://10.0.0.236/trunk@72139 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:16:05 +00:00
pinkerton%netscape.com
9b3832ad63 fix for bug 39764 (disabled values added to context menu). check the target of the oncreate/destroy event before processing it, as this will bubble from submenus. r=brade.
git-svn-id: svn://10.0.0.236/trunk@72138 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:15:53 +00:00
cls%seawood.org
f97c8803c1 Applying BeOS fixes for PSM to tip. Bug #39164
git-svn-id: svn://10.0.0.236/trunk@72137 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:13:48 +00:00
chrisk%netscape.com
c97a690adc Merge smimetk_branch to tip...
git-svn-id: svn://10.0.0.236/trunk@72136 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 21:56:37 +00:00
relyea%netscape.com
aee8ba11d6 reuse old key structures on a given token rather than building it up and
tearing it down every time.


git-svn-id: svn://10.0.0.236/trunk@72135 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 21:37:28 +00:00
relyea%netscape.com
a5edb397ba Reuse old Object structures rather than build and free them every time.
git-svn-id: svn://10.0.0.236/trunk@72134 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 21:34:52 +00:00
sdv%sparc.spb.su
010e6705be support of latest w3c dom spec changes
fixed a bug with unicode strings


git-svn-id: svn://10.0.0.236/trunk@72133 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 21:22:35 +00:00
sdv%sparc.spb.su
0c33004b05 support of latest w3c dom spec changes
git-svn-id: svn://10.0.0.236/trunk@72132 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 21:21:21 +00:00
larryh%netscape.com
5ff71dac06 BugZilla 42367. change license to dual-license
git-svn-id: svn://10.0.0.236/trunk@72131 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 20:59:02 +00:00
bryner%uiuc.edu
e3d14ef96a Hardcode the background color to white on unix. r=ben. Not part of the
build.


git-svn-id: svn://10.0.0.236/trunk@72128 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 20:42:09 +00:00
hyatt%netscape.com
106f7a9edc more 30511 patch.
git-svn-id: svn://10.0.0.236/trunk@72127 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 20:37:53 +00:00
hyatt%netscape.com
9ce908fcc1 Fix from Jan Varga. 30511. r=danm.
git-svn-id: svn://10.0.0.236/trunk@72126 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 20:28:03 +00:00
hyatt%netscape.com
5df74e4a0f Patch for bug #30511 from external Mozilla contributor (Jan Varga). r=danm
git-svn-id: svn://10.0.0.236/trunk@72125 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 20:27:15 +00:00
bryner%uiuc.edu
f56d2b3f76 Fix for blocker bug 42371 - unable to startup on Linux. r=akkana.
git-svn-id: svn://10.0.0.236/trunk@72124 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 20:26:30 +00:00
sfraser%netscape.com
a5f074b4f1 Fix Mac commercial build bustage by turning wchar_t support on. r=scc, pinkerton.
git-svn-id: svn://10.0.0.236/trunk@72123 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 19:20:55 +00:00
endico%mozilla.org
62f6a60a6c this file is superceded by xml.cgi
git-svn-id: svn://10.0.0.236/trunk@72122 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 17:20:53 +00:00
endico%mozilla.org
ae2c551c2c fix logic for restricting who can move bugs
git-svn-id: svn://10.0.0.236/trunk@72121 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 16:49:15 +00:00
leaf%mozilla.org
59f7815865 Automated update
git-svn-id: svn://10.0.0.236/trunk@72120 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 15:00:08 +00:00
mkaply%us.ibm.com
3a5e33c1bc # 40177
r = cls, a = brendan
OS/2 bring-up - Change EMX param for OS/2


git-svn-id: svn://10.0.0.236/trunk@72118 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 14:55:49 +00:00
mkaply%us.ibm.com
0994e12ee1 # 40177
r = cls, a = brendan
OS/2 bring-up - Makefiles changes for VisualAge


git-svn-id: svn://10.0.0.236/trunk@72116 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 14:51:01 +00:00
morse%netscape.com
8443fd740d update wallet tables, not part of build
git-svn-id: svn://10.0.0.236/trunk@72115 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 14:43:15 +00:00
nboyd%atg.com
2c5799c5c0 Begin 1.5R2 effort.
Commit the following contributions:
* Andi Vajda's changes to allow embedders to capture the generated bytecode (and thus control
generated class names).
* Marshall Cline's changes to allow embedders to override the default Java object wrapping
behavior
* Kurt Westerfeld's change to handle calling static methods better


git-svn-id: svn://10.0.0.236/trunk@72114 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 14:33:54 +00:00
putterman%netscape.com
4b526415c6 Fix for 41364. r=alecf. Address book picker from compose window now comes up and
displays addresses.


git-svn-id: svn://10.0.0.236/trunk@72113 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 13:41:49 +00:00
axel%pike.org
6a7984cca5 Code cleanup, not part of build, needed for SUN Workshop compilers
git-svn-id: svn://10.0.0.236/trunk@72112 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 12:10:09 +00:00
locka%iol.ie
0c62e3664e Fixed incorrect pathname resolution for embedding apps trying to load res:// URLs from places other than mozilla/bin
b=42249, approved=warren


git-svn-id: svn://10.0.0.236/trunk@72111 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 11:50:40 +00:00
endico%mozilla.org
9e39906a7c use background delivery instead of defered so mail is delivered sooner and bug moving process goes faster.
git-svn-id: svn://10.0.0.236/trunk@72110 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 10:00:32 +00:00
endico%mozilla.org
cddfc7f332 initial checkin. still incomplete
git-svn-id: svn://10.0.0.236/trunk@72109 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 09:53:38 +00:00
endico%mozilla.org
a2011746de adding toArrayOfStrings subroutine needed by Bug.pm
git-svn-id: svn://10.0.0.236/trunk@72108 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 09:45:12 +00:00
heikki%citec.fi
bb910505ef Fixed NS_ENSURE_ARG_MAX macro (a typo), it did not even compile if you tried to use it.
git-svn-id: svn://10.0.0.236/trunk@72107 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 08:36:06 +00:00
waterson%netscape.com
3dbf9953fc Grow by power of two after reaching 16 elements; factor 'implementation' into a separate struct so the nsVoidArray object is one word when empty.
git-svn-id: svn://10.0.0.236/trunk@72106 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 08:33:19 +00:00
waterson%netscape.com
af437d0411 Add test for Iterator.
git-svn-id: svn://10.0.0.236/trunk@72105 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 08:02:30 +00:00
waterson%netscape.com
aee4ad44fa Fix else-after-break and other stylistic atrocities; add default and copy ctors for Iterator; add operator=() for Iterator.
git-svn-id: svn://10.0.0.236/trunk@72104 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 08:02:08 +00:00
waterson%netscape.com
6307400dab Fix gcc-2.7.2.3 bustage.
git-svn-id: svn://10.0.0.236/trunk@72103 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 06:32:09 +00:00
waterson%netscape.com
6a951cdedc Sweet jesus.
git-svn-id: svn://10.0.0.236/trunk@72101 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 05:27:45 +00:00
waterson%netscape.com
d26a0017f7 How'd that get in there?
git-svn-id: svn://10.0.0.236/trunk@72100 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 05:26:00 +00:00
waterson%netscape.com
dee01185a5 Reduce index and data node size to eight words; pack bits harder so overhead per node is one word; add Iterator and make singleton iterator be simpler.
git-svn-id: svn://10.0.0.236/trunk@72099 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 05:16:02 +00:00
sspitzer%netscape.com
5d189a9ac4 start of changes for http://bugscape/show_bug.cgi?id=1149
allow for default templates for the "Local Folders" account.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@72098 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 05:04:34 +00:00
waterson%netscape.com
dc8a976f94 Add TestVoidBTree to the build.
git-svn-id: svn://10.0.0.236/trunk@72097 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 04:57:14 +00:00
waterson%netscape.com
025ae7ff42 Add nsVoidBTree and nsStatistics to the build.
git-svn-id: svn://10.0.0.236/trunk@72096 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 04:56:38 +00:00
waterson%netscape.com
ed9f913d65 Add nsStatistics.cpp and nsVoidBTree.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@72095 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 04:55:22 +00:00
waterson%netscape.com
3f928b2e1b Add nsVoidBTree.cpp and nsStatistics.cpp to the build
git-svn-id: svn://10.0.0.236/trunk@72094 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 04:54:23 +00:00
waterson%netscape.com
b8bcebd628 Add nsVoidBTree.h and nsStatistics.h
git-svn-id: svn://10.0.0.236/trunk@72093 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 04:53:54 +00:00
waterson%netscape.com
6c0f17219d Clean up egcs warnings.
git-svn-id: svn://10.0.0.236/trunk@72092 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 04:52:33 +00:00
waterson%netscape.com
e5f219288b First checked in. Not yet in the build.
git-svn-id: svn://10.0.0.236/trunk@72091 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 04:30:45 +00:00
ben%netscape.com
2c10f18336 Fix for b40799, countrypicker UI for profile wizard.
git-svn-id: svn://10.0.0.236/trunk@72090 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 03:54:59 +00:00
ruslan%netscape.com
00dde597ed Fixing 42107, a=gagan. Documenting some APIs in the process as well.
git-svn-id: svn://10.0.0.236/trunk@72089 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 03:00:53 +00:00
rickg%netscape.com
50cc48a787 fixed nsBeta2+ bugs: 42180, 42270; added env setting for view-errors, which is disabled by default. r=pollmann; a=pdt
git-svn-id: svn://10.0.0.236/trunk@72088 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 02:50:24 +00:00
evaughan%netscape.com
e3e2a8e736 Fixed titledbox padding breakage. Only .css files
-r ben


git-svn-id: svn://10.0.0.236/trunk@72087 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 01:58:01 +00:00
warren%netscape.com
5d3f4ac148 Taking out jar step since tinderbox doesn't seem to have perl installed.
git-svn-id: svn://10.0.0.236/trunk@72086 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 01:53:47 +00:00
alecf%netscape.com
000014f444 revive dom viewer enough to get dmose started
(not part of seamonkey - favor for dmose)


git-svn-id: svn://10.0.0.236/trunk@72085 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 01:50:26 +00:00
warren%netscape.com
40a0a87426 Bug 18433. Starting to package resources into jar files.
git-svn-id: svn://10.0.0.236/trunk@72083 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 01:23:28 +00:00
ducarroz%netscape.com
1207d3630f Fix (workaround) for bug 41143, 41686. Instead of setting the value (the dot value) during the recipient field creation (which solved bug 37435 but exposes bug 41143 & 41686), I check if the value of the text field is defined when transfering the recipients to the compose fields else I get the attribute value. R=sspitzer
git-svn-id: svn://10.0.0.236/trunk@72082 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 01:21:53 +00:00
bryner%uiuc.edu
bdd43b4411 Fixing bug 29027 - now we restore an iconified window when we send focus to it. r=law.
git-svn-id: svn://10.0.0.236/trunk@72081 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 01:16:31 +00:00
colin%theblakes.com
160e455ff8 OpenVMS specific build change. r,a=leaf
git-svn-id: svn://10.0.0.236/trunk@72080 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 00:40:16 +00:00
sfraser%netscape.com
deeb069109 Fix build bustage - some compilers don't like the new Substring(). r=scc
git-svn-id: svn://10.0.0.236/trunk@72079 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 00:35:47 +00:00
scc%mozilla.org
00529932a5 fix bustage, |const| needed on Windows
git-svn-id: svn://10.0.0.236/trunk@72078 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 00:21:53 +00:00
bryner%uiuc.edu
4afc3b4a94 Fix bug 42186 - incorrect GdkColor to nscolor conversion. Also change
some of the CSS system colors to be more accurate.  r=blizzard,pavlov.


git-svn-id: svn://10.0.0.236/trunk@72077 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 00:18:24 +00:00
ben%netscape.com
b83f86342b fixes for b41817 (cannot delete profile), and b32808 (profile not created in selected dir), r=hyatt
git-svn-id: svn://10.0.0.236/trunk@72076 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 00:12:30 +00:00
scc%mozilla.org
de78c5bfbc make |PRUnichar| be |wchar_t| on Mac. Soon on Windows, as well.
git-svn-id: svn://10.0.0.236/trunk@72075 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 00:05:18 +00:00
nhotta%netscape.com
3af9896a8f Added charset conversions in order to pass unicode data to HTML to Plain text converter, bug 41771, r=rhp.
git-svn-id: svn://10.0.0.236/trunk@72074 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 00:00:21 +00:00
scc%mozilla.org
fd1efd70c8 fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms
git-svn-id: svn://10.0.0.236/trunk@72073 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:52:31 +00:00
chrisk%netscape.com
a4265a293d Fix DSA / BLAPI interface by creating stub functions that have the
correct signature for being called via context->update or context->verify.


git-svn-id: svn://10.0.0.236/trunk@72071 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:43:42 +00:00
nhotta%netscape.com
24744083c7 Changed charset conversion for UTF-8 to UCS2 to use NS_ConvertUTF8toUCS2, bug 41460, r=mscott.
git-svn-id: svn://10.0.0.236/trunk@72070 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:33:36 +00:00
nhotta%netscape.com
b194dcda30 Changed MIME decoder for no charset label case, return "ISO-8859-1" if the header contains 8 bit, bug 41460, r=mscott.
git-svn-id: svn://10.0.0.236/trunk@72069 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:32:58 +00:00
sfraser%netscape.com
7e13f75b42 Fix for 42277 -- submitting forms very slow. Chunk string usage in wallet code to avoid excessive allocation now that nsString does not chunk itself. Also cleaned up wallet code to avoid passing nsStrings and ns<foo>Steams around by value. a,r=scc
git-svn-id: svn://10.0.0.236/trunk@72068 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:32:20 +00:00
sspitzer%netscape.com
c3a358a29c moving the absync prefs to the right place. feature exception absync ui.
git-svn-id: svn://10.0.0.236/trunk@72067 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:29:27 +00:00
nhotta%netscape.com
42eb496f59 Changed to send format=flowed mail conditionaly depends on a mail charset and a pref setting, check in for bratell@lysator.liu.se, bug 26734, r=nhotta,rhp.
git-svn-id: svn://10.0.0.236/trunk@72066 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:29:21 +00:00
sfraser%netscape.com
ca8a0239e2 Fix for 42269 -- leakage of nsAppShell and nsToolkit on Mac. r=pinkerton, a=beppe
git-svn-id: svn://10.0.0.236/trunk@72065 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:24:24 +00:00
evaughan%netscape.com
86392df9da Fixes for tree on grid work. #30511
-r hyatt


git-svn-id: svn://10.0.0.236/trunk@72064 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:23:00 +00:00
rhp%netscape.com
aa82444a07 Fix for invalid attachment - Bug #: 41415 - r: jefft
git-svn-id: svn://10.0.0.236/trunk@72063 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:16:50 +00:00
ssu%netscape.com
1a5d13a095 fixing nsbeta2+ bug #30175 (but leaving it disabled until a final decision is made). Need to set Default dialup networking connectoid. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@72062 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:16:33 +00:00
leaf%mozilla.org
be7afd37be Automated update
git-svn-id: svn://10.0.0.236/trunk@72061 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:15:08 +00:00
tor%cs.brown.edu
14016b05d3 Add a --enable-mng option to enable MNG image decoder. r=cls, a=brendan
git-svn-id: svn://10.0.0.236/trunk@72060 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:13:42 +00:00
tor%cs.brown.edu
059a234f8e MNG/JNG image decoder component. Not in default build. a=brendan
git-svn-id: svn://10.0.0.236/trunk@72059 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:08:50 +00:00
tor%cs.brown.edu
4f91260795 Snapshot v0.5.2 of libmng (http://www.libmng.com/).
Not in default build. a=brendan


git-svn-id: svn://10.0.0.236/trunk@72058 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:06:35 +00:00
cls%seawood.org
c74655862a Make the distclean target work as advertised. Bug #42167
git-svn-id: svn://10.0.0.236/trunk@72057 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:02:14 +00:00
mcgreer%netscape.com
b60671d35c added roots.
git-svn-id: svn://10.0.0.236/trunk@72055 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 22:39:02 +00:00
chrisk%netscape.com
040db90898 Sorted output for certutil -L
git-svn-id: svn://10.0.0.236/trunk@72054 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 22:25:40 +00:00
conrad%ingress.com
fe8a0c2d23 Not part of the build!
This class now descends from LControl instead of LView.


git-svn-id: svn://10.0.0.236/trunk@72052 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 21:54:05 +00:00
conrad%ingress.com
4fe7e7acd0 Not part of the build!
This class now descends from LControl instead of LView.


git-svn-id: svn://10.0.0.236/trunk@72051 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 21:48:56 +00:00
conrad%ingress.com
2b5f371467 Not part of the build!
Holds a ref to the nsIWebBrowser.


git-svn-id: svn://10.0.0.236/trunk@72050 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 21:48:13 +00:00
conrad%ingress.com
f0214bbbba Not part of the build!
Updated implementation of nsIPrompt for its changed API.
Implemented SetWebBrowser.


git-svn-id: svn://10.0.0.236/trunk@72049 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 21:47:14 +00:00
conrad%ingress.com
62707a9ad7 Not part of the build!
Can be compiled without using PowerPlant PCH.


git-svn-id: svn://10.0.0.236/trunk@72048 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 21:45:18 +00:00
conrad%ingress.com
b1ba174a87 Not part of the build!
Added accessor to get the CBrowserShell.


git-svn-id: svn://10.0.0.236/trunk@72047 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 21:41:47 +00:00
conrad%ingress.com
e802bc8bae Not in the build!
Now tells its chrome about its CBrowserShell's nsIWebBrowser.
No longer loads a URL on FinishCreateSelf.
When the window is resized, resizes the widget first before calling inherited method. This bug caused the throbber not to redraw when the window was enlarged.


git-svn-id: svn://10.0.0.236/trunk@72046 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 21:40:29 +00:00
conrad%ingress.com
96e8528476 Not in the build!
Added accessor for nsIWebBrowser.


git-svn-id: svn://10.0.0.236/trunk@72045 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 21:37:47 +00:00
conrad%ingress.com
b57a2b7fd6 Not in the build!
Removed nsIPref instance variable since now we use service.


git-svn-id: svn://10.0.0.236/trunk@72044 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 21:36:16 +00:00
conrad%ingress.com
d16576fbdc Not in the build!
Use prefs service instead of creating instance.


git-svn-id: svn://10.0.0.236/trunk@72043 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 21:35:28 +00:00
conrad%ingress.com
49eee6c387 Not in the build!
Changed definition of throbber.


git-svn-id: svn://10.0.0.236/trunk@72042 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 21:33:55 +00:00
conrad%ingress.com
a502deeeb2 Not in the build!
Removed unused access path.


git-svn-id: svn://10.0.0.236/trunk@72041 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 21:32:36 +00:00
thayes%netscape.com
7dd6529da9 Change password dialogs to account for expanded capabilities (beyond
just certificates)


git-svn-id: svn://10.0.0.236/trunk@72039 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 20:38:10 +00:00
despotdaemon%netscape.com
ea5ca9d828 Pseudo-automatic update of changes made by bratell@lysator.liu.se.
git-svn-id: svn://10.0.0.236/trunk@72037 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 20:30:25 +00:00
thayes%netscape.com
517d5bed80 Fix cleanup code in Decrypt to check for NULL pointers
git-svn-id: svn://10.0.0.236/trunk@72036 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 20:19:39 +00:00
despotdaemon%netscape.com
f10b8880ab Pseudo-automatic update of changes made by garyf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@72034 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 19:46:46 +00:00
despotdaemon%netscape.com
a5c59f6d35 Pseudo-automatic update of changes made by garyf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@72032 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 19:38:20 +00:00
despotdaemon%netscape.com
84740db831 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@72031 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 19:37:05 +00:00
rogerl%netscape.com
39ff24678a Added check for FORMAT characters in new unicode cr/lf handling code.
git-svn-id: svn://10.0.0.236/trunk@72030 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 17:56:05 +00:00
locka%iol.ie
e61a43d026 NOT PART OF BUILD
Added refcounting to Init/Term for balanced calling. Added a bogus call to create a string bundle on the main thread.


git-svn-id: svn://10.0.0.236/trunk@72029 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 15:39:43 +00:00
sspitzer%netscape.com
94026f5f3b backing the workaround out. it causes regressions.
git-svn-id: svn://10.0.0.236/trunk@72028 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 14:47:22 +00:00
sspitzer%netscape.com
361b55b5ec check in work around for dogfood+ bugs #41143 and #41686 so that message compose isn't
a total mess on the tip.  (thanks to mjudge, hyatt and brendan for debugging
and coming up with a workaround.)


git-svn-id: svn://10.0.0.236/trunk@72027 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 14:07:52 +00:00
dcone%netscape.com
d4b0985850 Fixed palette problems. b= 25979 r = McCluskey
git-svn-id: svn://10.0.0.236/trunk@72026 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 13:32:13 +00:00
endico%mozilla.org
9367677db9 Separate viewbugactivityformatforprinting with a vertical bar so the two links don't run together into one incomprehensible sentence
git-svn-id: svn://10.0.0.236/trunk@72024 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 08:18:19 +00:00
endico%mozilla.org
8de1cf4a36 'Bug' data was in a global var. different bugs were sharing this and overwritig each other.
git-svn-id: svn://10.0.0.236/trunk@72022 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 06:52:41 +00:00
pavlov%netscape.com
e5fa506783 reverting previous checkin to fix workshop5 bustage as it has been fixed elsewhere
git-svn-id: svn://10.0.0.236/trunk@72021 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 05:34:27 +00:00
bryner%uiuc.edu
efa53f5be7 Define DIRS before including rules.mak so that we actually build in the
win subdirectory.  r=pavlov.  Not part of build.


git-svn-id: svn://10.0.0.236/trunk@72020 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 05:32:13 +00:00
scc%mozilla.org
330107a3e1 reduce bloat by not chunk-allocating strings (in |nsStr::Alloc|). Clients that don't benefit from this can explicitly call |SetCapacity|. We may re-introduce this functionality in the append of a single character when no space remains, if it turns out to be a problem. This optimization was suggested by profiling done by sfraser, who now promises to find out where it hurts us.
git-svn-id: svn://10.0.0.236/trunk@72019 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 02:54:22 +00:00
scc%mozilla.org
adbba06100 ...and set the define for the test case
git-svn-id: svn://10.0.0.236/trunk@72018 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 02:50:27 +00:00
dmose%mozilla.org
bbfdcdf5bb canonicalize more method names to proper interCaps style. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72017 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 01:42:08 +00:00
bryner%uiuc.edu
5ce269935c Generate Makefiles for the classic theme during configure. Classic theme
is still not part of the build.


git-svn-id: svn://10.0.0.236/trunk@72016 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 01:33:19 +00:00
cls%seawood.org
f1307dbb83 Add rules for removing objs created by SIMPLE_PROGRAMS. Thanks to st.n@gmx.net (Stephan Niemz) for the patch. Bug #42166
git-svn-id: svn://10.0.0.236/trunk@72015 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 00:49:01 +00:00
bryner%uiuc.edu
e8b09408c5 Fix the classic skin build on unix. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@72014 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 00:15:16 +00:00
dmose%mozilla.org
e020038dc1 preliminary impl of nsILDAPMessageListener; fix nsLDAPConnection::NextAttribute() to not assert when the last attribute is reached; canonicalize names to interCaps style. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72013 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 00:06:08 +00:00
dmose%mozilla.org
2b31236b6d remove unused and misnamed nsILDAPURI.idl; add nsILDAPMessageListener.idl; transform nsILDAPMessage methods to correct interCaps style. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72012 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 00:03:04 +00:00
dmose%mozilla.org
e5d0a5cef4 cache the nsILDAPConnection for when we need to call methods (eg GetLdErrno) on it. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72011 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 23:56:39 +00:00
dmose%mozilla.org
2e42e5f0e8 removed misnamed and unused nsLDAPURI.cpp. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@72010 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 23:53:01 +00:00
dmose%mozilla.org
b0dfec66c1 explicitly document assumption about the connection attribute; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72009 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 23:50:30 +00:00
dmose%mozilla.org
6b1d22f92b added a thread-related TODO item; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72008 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 23:47:05 +00:00
waterson%netscape.com
2a9158632c Bug 38832. An ugly fix: force the <li> to be padded in quirks mode. r=buster
git-svn-id: svn://10.0.0.236/trunk@72007 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 22:48:05 +00:00
buster%netscape.com
91f736fa91 fixed bug 41757
file also contains some debug only code (disabled), another bug fix (also disabled), the removal of
some obsolete code that was already #ifdef'd out, and a bunch of new comments
r=mjudge, waterson


git-svn-id: svn://10.0.0.236/trunk@72006 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 22:14:33 +00:00
bienvenu%netscape.com
3ea294074b add ability to set charset on msg hdr for i18n search r=putterman, 33101
git-svn-id: svn://10.0.0.236/trunk@72005 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 22:08:08 +00:00
rickg%netscape.com
d7521ac142 fixed nsbeta2 bug 41049; removed warnings
git-svn-id: svn://10.0.0.236/trunk@72004 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 18:43:35 +00:00
Peter.VanderBeken%pandora.be
e519f63e2d Remove DOMString. Clean up some whitespace. Add basic default namespace handling. Fix TransformDocument. Not part of build yet. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@72003 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 16:56:06 +00:00
Peter.VanderBeken%pandora.be
141f0ae4d3 Remove DOMString. Clean up some whitespace. Add basic default namespace handling. Fix TransformDocument. Not part of build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@72002 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 16:54:54 +00:00
bienvenu%netscape.com
7ec8ca8eb8 fix singsign startup assertion in string class, r=morse
git-svn-id: svn://10.0.0.236/trunk@72001 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 16:28:53 +00:00
Peter.VanderBeken%pandora.be
182a8ca42f Updating comment.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@72000 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 16:00:34 +00:00
Peter.VanderBeken%pandora.be
209a70f625 Removing DOMString/Cleaning up some whitespace. Adding basic default namespace handling.
Not part of build yet. a=leaf.


git-svn-id: svn://10.0.0.236/trunk@71999 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 16:00:01 +00:00
Peter.VanderBeken%pandora.be
7cd07d9739 Cleaning up whitespace. Not part of build. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@71998 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 12:31:28 +00:00
Peter.VanderBeken%pandora.be
56f93c6b80 Removing DOMString/Cleaning up some whitespace. Not part of build yet. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@71997 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 12:29:54 +00:00
Peter.VanderBeken%pandora.be
02207eb7ac Removing DOMString/Cleaning up some whitespace. Not part of build yet. a=leaf.
git-svn-id: svn://10.0.0.236/trunk@71996 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 11:43:12 +00:00
scc%mozilla.org
486908c680 don't try to extract characters from an empty string
git-svn-id: svn://10.0.0.236/trunk@71995 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 09:14:09 +00:00
scc%mozilla.org
bfd43db0c8 don't extract characters from empty strings.
git-svn-id: svn://10.0.0.236/trunk@71994 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 08:25:32 +00:00
scc%mozilla.org
2171f16fa8 don't extract characters from empty strings
git-svn-id: svn://10.0.0.236/trunk@71993 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 08:19:41 +00:00
scc%mozilla.org
5aa75bf1ec don't try to extract characters from an empty string
git-svn-id: svn://10.0.0.236/trunk@71992 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 07:23:58 +00:00
buster%netscape.com
37a339735a fixed bug 29854
r=waterson


git-svn-id: svn://10.0.0.236/trunk@71991 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 05:25:14 +00:00
jefft%netscape.com
d6f8fc5767 fixed bug26770 - Messages downloaded twice after hitting stop in POP download; r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@71990 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 05:23:23 +00:00
buster%netscape.com
b18dae7bc3 added runtime control for rick's strict dtd work, so engineers can continue to work with existing non-compliant test cases
disabled error reporting in view source, at rick's request
no bug number
r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@71989 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 05:05:07 +00:00
scc%mozilla.org
bb796c096f added some #ifdef logic to allow me to turn NEW_STRING_APIS off, so I can continue to profile for bloat; added an implementation specific |operator+()| to resolve ambiguity with promises on some platforms
git-svn-id: svn://10.0.0.236/trunk@71988 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 04:35:02 +00:00
scc%mozilla.org
0b43b3b7d8 fixed tabs and spacing
git-svn-id: svn://10.0.0.236/trunk@71987 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 01:22:58 +00:00
scc%mozilla.org
68db2f9304 updated to reflect work done
git-svn-id: svn://10.0.0.236/trunk@71986 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 01:11:13 +00:00
scc%mozilla.org
ec16972a28 Added new targets to compare between the |wchar_t| version and the no |wchar_t| version
git-svn-id: svn://10.0.0.236/trunk@71985 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 01:10:49 +00:00
scc%mozilla.org
bfddc54bed convert to the new scheme for handling wide string literals: |NS_LITERAL_STRING|.
git-svn-id: svn://10.0.0.236/trunk@71984 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 01:09:54 +00:00
scc%mozilla.org
0a80768070 now that NEW_STRING_APIS is turned on in the actual string headers, I needed to move some defs around. Also setting a new define for HAVE_CPP_2BYTE_WCHAR_T
git-svn-id: svn://10.0.0.236/trunk@71983 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 01:09:00 +00:00
scc%mozilla.org
9bc887381a First checked in.
git-svn-id: svn://10.0.0.236/trunk@71982 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 01:07:41 +00:00
scc%mozilla.org
4736e302e9 added some #ifdef logic to allow me to turn NEW_STRING_APIS off, so I can continue to profile for bloat; added an implementation specific |operator+()| to resolve ambiguity with promises on some platforms; added a conversion operator (against my best judgement) to |NS_ConvertASCIItoUCS2| to support the construction of literal strings induced by the bad case of the new macro. I could conditionally define this is the opposite direction.
git-svn-id: svn://10.0.0.236/trunk@71981 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 01:06:14 +00:00
scc%mozilla.org
71bf634434 added some #ifdef logic to allow me to NEW_STRING_APIS off, so I can continue to profile for bloat
git-svn-id: svn://10.0.0.236/trunk@71980 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 01:03:19 +00:00
scc%mozilla.org
d1c143fbb4 In an assignment, |SetLength(0); SetLength(newLength);| so that the implementation won't bother to copy any old characters if allocation is required. Fiddled with inlining to reduce bloat ... more experiments needed.
git-svn-id: svn://10.0.0.236/trunk@71979 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 01:02:12 +00:00
scc%mozilla.org
bcb44dd5d8 provide real definitions for |NS_LITERAL_STRING| (one of which exploits |wchar_t|); add a range-check assertion to |CharAt|; add another constructor to |nsPromiseConcatenation| to allow per-class |operator+()| (which some compilers need to resolve ambiguity) to work; fiddled with inlining to reduce bloat ... more experiments needed
git-svn-id: svn://10.0.0.236/trunk@71978 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 01:00:08 +00:00
scc%mozilla.org
99da16f44b define |PRUnichar| to be |wchar_t|, when applicable
git-svn-id: svn://10.0.0.236/trunk@71977 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 00:49:29 +00:00
morse%netscape.com
a1e3af690b update wallet tables, not part of build
git-svn-id: svn://10.0.0.236/trunk@71976 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 23:35:51 +00:00
thayes%netscape.com
fbf60c4809 Add permanent (token) key for supporting Secret Decoder Ring (SDR)
Bug 26085


git-svn-id: svn://10.0.0.236/trunk@71975 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 19:00:45 +00:00
tonyr%fbdesigns.com
6f128c7e56 Fixed import of html messages. b=3157, r=rhp, a=putterman
git-svn-id: svn://10.0.0.236/trunk@71974 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 16:35:13 +00:00
rhp%netscape.com
2d3dd6897d Fix for silent failure on some mail send operations - Bug #: 35744 r: jefft
git-svn-id: svn://10.0.0.236/trunk@71973 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 14:47:17 +00:00
bienvenu%netscape.com
6b41ed8d33 more work on search backend, fix scheduling of multiple urls, r=alecf 33101
git-svn-id: svn://10.0.0.236/trunk@71972 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 14:36:50 +00:00
jim_nance%yahoo.com
3508e0031a Tru64 helper scripts for ATOM tools.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@71971 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 10:56:51 +00:00
scc%mozilla.org
baeeb43305 moved |explicit| here, where it belongs, from "nsCOMPtr.h"
git-svn-id: svn://10.0.0.236/trunk@71970 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 09:58:15 +00:00
scc%mozilla.org
00f60b0528 further logging fixes; removed |explicit| to "nscore.h"; removed old-style logging definitions for |NSCAP_ADDREF| and |NSCAP_RELEASE|, define them externally if you want them (the new comment says how); fixed some comments... I'll be moving to doc-style comments soon to better support doxygen
git-svn-id: svn://10.0.0.236/trunk@71969 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 09:58:13 +00:00
waterson%netscape.com
8d02609616 Add SizeOf() which is going to be needed for 'plug replacement' of nsVoidArray's
git-svn-id: svn://10.0.0.236/trunk@71968 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 07:31:09 +00:00
waterson%netscape.com
e5e5ed66d1 Clean up to compile on egcs.
git-svn-id: svn://10.0.0.236/trunk@71967 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 06:05:09 +00:00
waterson%netscape.com
5369568bb9 First checked in, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@71966 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 05:55:37 +00:00
waterson%netscape.com
340fd04ed0 First checked in. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@71965 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 05:55:07 +00:00
morse%netscape.com
d90e3676ff update wallet tables, not part of build
git-svn-id: svn://10.0.0.236/trunk@71964 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 05:23:57 +00:00
rickg%netscape.com
2e1ef1b2c7 fixed several nsbeta2+ bugs; r=harish, buster; a=pdt
git-svn-id: svn://10.0.0.236/trunk@71963 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:53:04 +00:00
rickg%netscape.com
d6318bdd3b update viewsource style rules; r=attinasi
git-svn-id: svn://10.0.0.236/trunk@71962 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:50:01 +00:00
scc%mozilla.org
504e6e503f fix bug=41584 (technically a work around, but it's twice as fast as the form it replaces, and is the right way to write this code in general),r=ben
git-svn-id: svn://10.0.0.236/trunk@71961 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:38:42 +00:00
jfrancis%netscape.com
4acebd2712 fix for 41369: editor backspace crashes or loses data when at the beginning of text that has multiple br's before it. (dogfood+)
r=sfraser; a=beppe


git-svn-id: svn://10.0.0.236/trunk@71960 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:25:50 +00:00
law%netscape.com
9c440b5fb9 Bug 1050; escape target URI when passing to Alis; r=rjc
git-svn-id: svn://10.0.0.236/trunk@71959 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:23:18 +00:00
ruslan%netscape.com
f3dc7f5855 WIP on 40203, a=gagan
git-svn-id: svn://10.0.0.236/trunk@71958 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:14:01 +00:00
ruslan%netscape.com
ee5855d4d5 WIP on 40203; a=gagan
git-svn-id: svn://10.0.0.236/trunk@71957 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:12:03 +00:00
ruslan%netscape.com
59d0ea4891 Partial fix for 41248. Check for the buffer being null and assert, but don't
crash, a=gagan


git-svn-id: svn://10.0.0.236/trunk@71956 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:11:04 +00:00
ruslan%netscape.com
c635c56773 Partial fix for 41876; change the state of the converter into INIT after
getting a failure code from the upstream listener. This prevents it from
crashing, a=gagan


git-svn-id: svn://10.0.0.236/trunk@71955 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:09:43 +00:00
sgehani%netscape.com
8db94ed1e9 Expose installer app title into config.ini. Prep for nsbeta2+ bug 38587.
[r=ssu]


git-svn-id: svn://10.0.0.236/trunk@71954 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:03:59 +00:00
sgehani%netscape.com
4792334a9d Rectify support "buildwizard" optional arg to deliver.pl by referening correct
relative dir to update the unix wizard makefile.


git-svn-id: svn://10.0.0.236/trunk@71953 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 02:02:31 +00:00
sspitzer%netscape.com
f4d8611f97 fix for nsbeta2+ bug #39184. make news pay attention to the port. also remove some
bloat from nsNNTPHost.cpp which was not used and will eventually be going away.


git-svn-id: svn://10.0.0.236/trunk@71952 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 00:52:43 +00:00
ssu%netscape.com
2fdd1d722f Fixing bug #31259 (nsbeta2+) - Install.modDate() and Install.modDateChanged() now shows the correct values.
This *might* also happen to fix the following bugs:
  #42070 - Mac files get installed with the wrong date
  #38553 - nsIFile - Reducing modification dates significant digits
  #36681 - document.lastModified date is incorrect for a local file

This only affects the Mac platforms.
Pre-Checkin Tests: passed
r=sgehani


git-svn-id: svn://10.0.0.236/trunk@71951 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 00:51:06 +00:00
pavlov%netscape.com
517b09c7ab include nscore.h
git-svn-id: svn://10.0.0.236/trunk@71950 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 00:50:48 +00:00
wtc%netscape.com
8a462b8713 Bugzilla bug #17806: improved comments for PR_Poll.
git-svn-id: svn://10.0.0.236/trunk@71949 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 00:43:59 +00:00
pavlov%netscape.com
ea645ed752 fix ws5 build bustage
git-svn-id: svn://10.0.0.236/trunk@71948 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 00:31:40 +00:00
ben%netscape.com
6cf756a8f9 fix for 37471 (skinnability, dogfood) converting saving file dialog to use new XUL widgets (getting rid of green boxes etc)
git-svn-id: svn://10.0.0.236/trunk@71947 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 00:05:03 +00:00
morse%netscape.com
1d0972b471 start with first element selected (recent regression)
git-svn-id: svn://10.0.0.236/trunk@71944 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 23:55:29 +00:00
law%netscape.com
ca8da8f45f Bug 32360; patch from Horwath Martin (horwatch@opensa.org); r=law
git-svn-id: svn://10.0.0.236/trunk@71943 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 23:49:17 +00:00
law%netscape.com
0956215539 Bug 42058; patch from Blake Ross (BlakeR1234@aol.com); r=law
git-svn-id: svn://10.0.0.236/trunk@71942 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 23:46:28 +00:00
wtc%netscape.com
9f13a480aa Bugzilla bug #17806: made the comments for PR_Poll clearer about the
fact that the out_flags fields can only be checked on a successful
return.


git-svn-id: svn://10.0.0.236/trunk@71941 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 23:44:00 +00:00
jefft%netscape.com
b061e1c1ce fixed bug 39262 folder pane doesn't show [un]subscribe changes to imap folders; r=bienvenu, sspitzer
git-svn-id: svn://10.0.0.236/trunk@71940 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 23:28:03 +00:00
mkaply%us.ibm.com
1af416be3e # 37239
r = thayes, a = brendan
OS/2 bring-up - Need cast for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71938 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 22:48:38 +00:00
mscott%netscape.com
ea9c879298 Bug #27646, #40164, #41724 --> removed bogus creation of an extra browser instance which was then registering
itself as the top level content listener for the original window. This caused lots of bad problems when you tried to create
a new browser window from the task bar from any of the other apps (mail, composer, editor, etc.).

It also fixes URI dispatching which broke because you had mail windows suddenly thinking they were browser windows.
r=jbetak


git-svn-id: svn://10.0.0.236/trunk@71937 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 22:47:33 +00:00
jst%netscape.com
65368ac3c2 Fixing nsbeta2+ bug 41487, form controls with the same NAME and ID ended up in the form control list in the form element twice. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@71936 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 22:47:29 +00:00
mkaply%us.ibm.com
21f4de9770 # 37239
r = mkaply, a = brendan
OS/2 bring-up - Asserts in cursor code


git-svn-id: svn://10.0.0.236/trunk@71934 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 22:29:20 +00:00
bryner%uiuc.edu
e5c9fff5cb Fixing bug 37175 - make bookmarks import/export use
nsIFilePicker/nsILocalFile.  r=rjc.


git-svn-id: svn://10.0.0.236/trunk@71933 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 22:29:19 +00:00
mscott%netscape.com
7488f25ea9 just removing hard tabs with spaces....no code change....
git-svn-id: svn://10.0.0.236/trunk@71932 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 22:20:16 +00:00
mscott%netscape.com
591eb93599 Bug #41199 parse out the language capabilitiy. We also needed to add the ability to not necessarily throw alert
dialogs just because we get a bad or nO response from the server. Some commands like LANGUAGE are "exploratory" in
nature and you don't care if they succeed or fail.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@71931 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 22:19:49 +00:00
mscott%netscape.com
162fa7d6cb Bug #41199--> issue the language extension if the server supports it,
only issue the language command once per connection by adding a flag to test if we've issued it already.
Bug #41594 --> CRAM-MD5 support (not turned on!!!!!!! this is #ifdef'ed out)
Bug #41332 --> make sure the url parameter is not null b4 dereferencing.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@71930 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 22:18:42 +00:00
mscott%netscape.com
b719fab98c Bug #41199 add language capability
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@71929 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 22:14:39 +00:00
sspitzer%netscape.com
c32f657047 fix for nsbeta2+ bug 41362. clicking on the check mark was changing the name to "", which
was causing the type down code to kick in and change the selection.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@71928 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 22:14:23 +00:00
mscott%netscape.com
e58d83a388 Bug #41199 --> treat incoming server alert text as UTF-8 so we
properly convert it to unicode. Part of the language extension work.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@71927 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 22:14:00 +00:00
bryner%uiuc.edu
2270fa0289 Fix bug 42048 - crash on File->Save, cancel. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@71926 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 22:11:44 +00:00
alecf%netscape.com
37c6eb178c fix commercial bustage
git-svn-id: svn://10.0.0.236/trunk@71924 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:56:26 +00:00
mjudge%netscape.com
1b7d75c3db didnt implement selection. bug=34896. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71923 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:55:50 +00:00
sfraser%netscape.com
9f4d6d2ee3 Fix parser webshell leak (bugs 40149, 41695). r=harishd
git-svn-id: svn://10.0.0.236/trunk@71921 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:43:00 +00:00
bryner%uiuc.edu
ea05182313 Fixing bug 30379, tree multiple-selection problems. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@71920 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:32:31 +00:00
jgaunt%netscape.com
a4e2791a1e newlines to fix hpux bustage r=jdunn
git-svn-id: svn://10.0.0.236/trunk@71919 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:30:22 +00:00
valeski%netscape.com
5265488053 41714. r=pavlov. don't try and use tcp no-delay on unix domain sockets because it's generally not a supported tcp feature
git-svn-id: svn://10.0.0.236/trunk@71918 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:15:17 +00:00
pavlov%netscape.com
c0d3b2a3fa fix for some window managers not setting the titlebar anymore. nsbeta2+ bug 41786. r=bryner
git-svn-id: svn://10.0.0.236/trunk@71917 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:13:31 +00:00
mjudge%netscape.com
bdb655cbc8 cleaning up 34896 ender-lite with saari's review.
git-svn-id: svn://10.0.0.236/trunk@71916 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:13:03 +00:00
mjudge%netscape.com
66c0fdecf8 turning on ender-lite as per smfr's instructions. bug 34896.
git-svn-id: svn://10.0.0.236/trunk@71915 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:10:48 +00:00
leaf%mozilla.org
4089bff563 Automated update
git-svn-id: svn://10.0.0.236/trunk@71914 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 21:00:10 +00:00
alecf%netscape.com
15a31c7bac fix for #41996 - crash because getter was not pre-allocating the result
fix all callers to ensure they are freeing the result


git-svn-id: svn://10.0.0.236/trunk@71913 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 20:58:59 +00:00
tor%cs.brown.edu
154889365a SUNWspro build bustage fix. Add an include of stdlib.h so glib
doesn't screw us over with its definition of NULL.
r=blizzard a=brendan


git-svn-id: svn://10.0.0.236/trunk@71912 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 20:53:11 +00:00
akkana%netscape.com
8d25021b1f 34896: Turn on ender lite for Unix. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@71911 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 20:51:45 +00:00
akkana%netscape.com
decb9480f3 34896: Fix ender lite build on Unix. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@71910 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 20:50:24 +00:00
morse%netscape.com
67f515ad7f update wallet tables, not part of build
git-svn-id: svn://10.0.0.236/trunk@71909 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 20:47:32 +00:00
morse%netscape.com
dd0c27f38d fix bug 40031, checkin for Henrik Gemal, r=morse a=morse/waterson
git-svn-id: svn://10.0.0.236/trunk@71908 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 20:46:11 +00:00
edburns%acm.org
e10055646c Created file to allow shift-clicking.
git-svn-id: svn://10.0.0.236/trunk@71906 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 19:03:42 +00:00
blizzard%redhat.com
7e1e2a9cce add .dynstr clean up tool from Alexander Larsson <alla@lysator.liu.se>. also add poor man's Makefile until this tool is finished. this is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@71905 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 18:52:39 +00:00
despotdaemon%netscape.com
3e827d7c51 Pseudo-automatic update of changes made by blizzard@redhat.com.
git-svn-id: svn://10.0.0.236/trunk@71904 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 18:50:49 +00:00
wtc%netscape.com
a06292a469 Bugzilla bug #40542: pass the correct size of struct sockaddr_in8 to
native socket functions on Solaris 8 for Intel/x86. r=larryh@netscape.com.
a=pdt. Thanks to dcran@us.ibm.com (Donnie Cranford) for the bug report.
Modified files: _solaris.h, primpl.h


git-svn-id: svn://10.0.0.236/trunk@71901 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 18:18:19 +00:00
tara%tequilarista.org
618e062f38 Applying timeless' fix for 39918
git-svn-id: svn://10.0.0.236/trunk@71900 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 18:03:18 +00:00
jst%netscape.com
6b1e8e4706 Fixing problem with an uninitialized member in a nsMouseEvent struct, this problem surfaced yesterday when the link handling was changed by pinkerton. The problem was that clicking on links on unix sometimes opened the link in a new window in stead of the current window. r=brade
git-svn-id: svn://10.0.0.236/trunk@71899 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 14:48:58 +00:00
bienvenu%netscape.com
8dfb8d2936 fix unescaping of search data before passing to server, r=sspitzer, 33101
git-svn-id: svn://10.0.0.236/trunk@71894 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 12:48:22 +00:00
bienvenu%netscape.com
4ec15bd67e more work on search backend, 33101 r=alecf, fix some buffer overruns in i18n stuff, add nsIMsgFolder to search hits
git-svn-id: svn://10.0.0.236/trunk@71893 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 12:47:15 +00:00
hyatt%netscape.com
5b554bda80 Didn't mean to check in box object. backing out. bug#30511, r=pav
git-svn-id: svn://10.0.0.236/trunk@71891 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 09:28:37 +00:00
hyatt%netscape.com
7f45bf63ed Fix case error.
git-svn-id: svn://10.0.0.236/trunk@71890 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 09:28:08 +00:00
mjudge%netscape.com
188a919a3b turning on ender-lite. bug = 34896
git-svn-id: svn://10.0.0.236/trunk@71889 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 09:19:28 +00:00
mjudge%netscape.com
6171fca35f turning on ender-lite. bug=34896
git-svn-id: svn://10.0.0.236/trunk@71888 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 09:17:18 +00:00
hyatt%netscape.com
ab42246041 30511, r=pav
git-svn-id: svn://10.0.0.236/trunk@71887 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 09:15:43 +00:00
hyatt%netscape.com
432292672f Keyboard navigation and ensurevisible support for new tree widget. Bug#30511, r=pav
git-svn-id: svn://10.0.0.236/trunk@71886 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 09:13:37 +00:00
warren%netscape.com
b188ae1de7 Removed debug code.
git-svn-id: svn://10.0.0.236/trunk@71885 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 08:02:42 +00:00
warren%netscape.com
a702c7d378 Bug 27971. Better strategy for resource: urls to use less memory. Saves about 0.4% of entire run just bring up one page (home.mozilla.org). r=waterson
git-svn-id: svn://10.0.0.236/trunk@71884 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 07:51:13 +00:00
alecf%netscape.com
468ba8960e fix for #41030 - save server auth method in a temporary text variable, and then
init/save it in the appropriate method
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@71883 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 07:27:21 +00:00
mjudge%netscape.com
6209ff4eb0 form elements now accept a nsIFormFrame instead of the implementation as the parameter to allow others that inheirit from nsIFormFrame to call "CanSubmit". bug=34896 ender-lite, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71882 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 07:16:20 +00:00
warren%netscape.com
6c0a857ad9 Added jar manifest support. Kind of works on Windows so far.
git-svn-id: svn://10.0.0.236/trunk@71881 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 06:33:25 +00:00
mjudge%netscape.com
c8121440c2 r=akkana, bug=34896. ender-lite causing an output problem since we do not output the body tag anymore on selection. we still need to output leafs
git-svn-id: svn://10.0.0.236/trunk@71880 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 05:17:00 +00:00
mjudge%netscape.com
f56d7d84a8 new atop to tell what type the text frame is. for blocker to 34896
git-svn-id: svn://10.0.0.236/trunk@71879 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 05:15:58 +00:00
mjudge%netscape.com
c661007c9e too many copies for ender-lite. happening whenever people were setting selection progromatically. r=hyatt 34896
git-svn-id: svn://10.0.0.236/trunk@71878 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 05:14:19 +00:00
mjudge%netscape.com
8fa1c2f4b0 not in build, bug 34896
git-svn-id: svn://10.0.0.236/trunk@71877 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 05:13:32 +00:00
mjudge%netscape.com
0ded60f50f copy was copying too much on ender-lite. thiswill reduce the volume of autocopies to only copy when mouse ups are called. r=hyatt 34896
git-svn-id: svn://10.0.0.236/trunk@71876 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 05:11:12 +00:00
mjudge%netscape.com
d195f54faa use of new api for caret un-drawing. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71875 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 05:07:42 +00:00
sspitzer%netscape.com
5b26f00163 fix for #41943. r=mscott
git-svn-id: svn://10.0.0.236/trunk@71874 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:55:29 +00:00
mjudge%netscape.com
529fc2633a added new caret api implementation from new nsicaret api. EraseCaret. erase the caret without messing with visibility. forces a refresh of state to mDrawn=0; r=hyatt, bug = 34896
git-svn-id: svn://10.0.0.236/trunk@71873 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:22:20 +00:00
mjudge%netscape.com
0f171b0661 new caret api for erasing the caret. this is needed to simply clear the caret away without messing with visibility. r= hyatt. bug=34896
git-svn-id: svn://10.0.0.236/trunk@71872 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:21:02 +00:00
mjudge%netscape.com
7b1d52b5a5 fixing leak from earlier chekin. copied code, dont look at me. r=scc bug=34896
git-svn-id: svn://10.0.0.236/trunk@71871 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:19:09 +00:00
blizzard%redhat.com
32faa59a77 still trying to fix solaris
git-svn-id: svn://10.0.0.236/trunk@71870 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:17:09 +00:00
mjudge%netscape.com
f7944757df fixing leaks! r=scc bug=34896
git-svn-id: svn://10.0.0.236/trunk@71869 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:16:50 +00:00
mjudge%netscape.com
02abc8cd4e constants added r=hyatt. bug34896
git-svn-id: svn://10.0.0.236/trunk@71868 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:15:26 +00:00
mjudge%netscape.com
801f20f0a3 commiting generated file from SelectionListener.idl. r=hyatt bug = 34896
git-svn-id: svn://10.0.0.236/trunk@71867 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:14:53 +00:00
mjudge%netscape.com
42646fd0ca 34896, change to move constants to this file. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71866 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:12:50 +00:00
pinkerton%netscape.com
e4dc33ad8c nsAllocator->nsMemory. doh!
git-svn-id: svn://10.0.0.236/trunk@71865 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:03:58 +00:00
blizzard%redhat.com
7c675bb0bd try to fix solaris build
git-svn-id: svn://10.0.0.236/trunk@71864 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 03:46:26 +00:00
blizzard%redhat.com
3cd5ccd65a remove DEBUG_blizzard defines. no approval, just changes in ifdefs.
git-svn-id: svn://10.0.0.236/trunk@71863 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 03:26:29 +00:00
pinkerton%netscape.com
7a238f0a6b Use title stashed in x-moz-url data flavor as the title of the internet
shortcut created. r=scc, bug# 37410.


git-svn-id: svn://10.0.0.236/trunk@71862 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 03:21:01 +00:00
pinkerton%netscape.com
4da1bffc2b adding title (modulo bug) to x-moz-url flavor when dragging proxy icon. r=scc, bug#37410
git-svn-id: svn://10.0.0.236/trunk@71861 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 03:20:12 +00:00
blizzard%redhat.com
33cdd7a02c fix bug #29027. When calling nsIWidget::SetFocus on a widget, bring it's toplevel window to the top of the stacking order and unminimize it if necessary. r=pavlov, a=brendan
git-svn-id: svn://10.0.0.236/trunk@71860 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 03:09:31 +00:00
tao%netscape.com
af7bdeeeb8 Patch NT startup crash when chrome registry is not ready yet. r,a=scc
git-svn-id: svn://10.0.0.236/trunk@71859 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 03:09:20 +00:00
blizzard%redhat.com
7bdaa3cca9 fix for bug #41930. make sure to reset the drag state to PR_FALSE if getting the selection failed. this should fix dragging to the composer on linux. r=pavlov,a=brendan
git-svn-id: svn://10.0.0.236/trunk@71858 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 03:05:18 +00:00
pinkerton%netscape.com
1313748708 if cmd-key (meta) is down, open link in a new window r/a=waterson.
git-svn-id: svn://10.0.0.236/trunk@71857 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 02:56:21 +00:00
terry%mozilla.org
18ee1f7912 Allow sorting by summary, since you can already sort by everything else...
git-svn-id: svn://10.0.0.236/trunk@71856 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 02:53:39 +00:00
blizzard%redhat.com
fca2c715ac initial x-remote support. bug #11185 r=shaver,brendan a=brendan
git-svn-id: svn://10.0.0.236/trunk@71855 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 02:45:16 +00:00
wtc%netscape.com
42adab6b20 Bugzilla bug #38599: added new test prpollml.c. This test should be
purified to verify that the syspoll_list field of PRThread in the
pthreads version is not leaked.
Modified files: runtests.ksh, Makefile, Makefile.in
Added file: prpollml.c


git-svn-id: svn://10.0.0.236/trunk@71854 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 01:54:29 +00:00
dmose%mozilla.org
579ffca7e3 fix for bug 41938: during standalone checkouts of (eg) xpcom and transformiix, the ldap c sdk code was being dragged along for the ride. a=brendan@mozilla.org, r=cls@seawoord.org
git-svn-id: svn://10.0.0.236/trunk@71853 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 01:31:22 +00:00
tao%netscape.com
cae0a4ec20 33663: PLS copy bookmakrs.html, panels.rdf to bin/defaults/profile/en-US.
r=jbetak.


git-svn-id: svn://10.0.0.236/trunk@71852 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 01:24:07 +00:00
wtc%netscape.com
4732c2e4d2 Bugzilla bug #38599: removed an extra semicolon.
git-svn-id: svn://10.0.0.236/trunk@71851 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 01:23:58 +00:00
sfraser%netscape.com
8d8a274feb Oops; part of earlier checkin implementing the URL echo apple event. Be sure to shut down the AE classes on quit. r=fm, a=beppe.
git-svn-id: svn://10.0.0.236/trunk@71850 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 01:23:36 +00:00
mkaply%us.ibm.com
f1de2d2de1 # 41349
r = cls, a = brendan
OS/2 bring-up - Our bash shell can't handle lines with the : command - cls said to comment them out


git-svn-id: svn://10.0.0.236/trunk@71849 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 01:21:45 +00:00
tao%netscape.com
67459a033a 33663: PLS copy bookmarks.html, panels.rdf to bin/defaults/profile/[en-US].
r=jbetak.


git-svn-id: svn://10.0.0.236/trunk@71848 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 01:13:58 +00:00
cmanske%netscape.com
c0ee873d36 Fixed missing checkmarks in Composer menus. b=41735, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@71846 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 01:04:34 +00:00
mkaply%us.ibm.com
7a565438e5 # 37239
r = mscott, a = brendan
OS/2 bring-up - PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71844 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:59:48 +00:00
tao%netscape.com
8969523e82 336633665: Move aol.rdf back to bin/deautls/isp/[en-US]. r=alecf.a=msanz
git-svn-id: svn://10.0.0.236/trunk@71843 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:56:10 +00:00
law%netscape.com
72cb2726a6 Bugs 36789, 22861, and 38827 (all related to downloading files); change xfer component to use nsIFilePicker, handle content-disposition: http response header, and fix a l10n problem; r=slamm
git-svn-id: svn://10.0.0.236/trunk@71841 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:49:41 +00:00
alecf%netscape.com
fa574ba664 fix for 41850 - recover from errors more robustly by not actually saving any data until the entire dialog has been validated
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@71840 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:44:13 +00:00
law%netscape.com
5e926b7547 Bug 36789; this enables us to switch to nsIFilePicker; it was not remembering the selected file when choosing to replace an existing one; r=bryner
git-svn-id: svn://10.0.0.236/trunk@71839 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:43:19 +00:00
alecf%netscape.com
aef12f9730 fix for #41941 - typo which prevented ISP accounts from being created.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@71838 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:43:11 +00:00
cls%seawood.org
2b9a7f90cc Remove all.js from TARGETS which are removed on a distclean. bug #41033
git-svn-id: svn://10.0.0.236/trunk@71837 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:36:57 +00:00
valeski%netscape.com
67f61b32a3 16734. r=ben. changing hot key for prefs access
git-svn-id: svn://10.0.0.236/trunk@71836 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:36:05 +00:00
danm%netscape.com
fb583e036c unused (bug 12021 required this). removing. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@71835 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:31:11 +00:00
sfraser%netscape.com
a35133632b Fix for 36840 -- implement the Spyglass URL echo Apple Event. Code mostly from Steve Cox: scox@artlogic.com. r=sfraser, a=beppe. Added nsDocLoadObserver.cpp
git-svn-id: svn://10.0.0.236/trunk@71834 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:15:19 +00:00
danm%netscape.com
74c728c82a window.prompt() returns jsval instead of string, allowing it to return null when required. wants to be changed back to a string once the DOM APIs support this same thing. bug 12021. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@71833 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:14:44 +00:00
sfraser%netscape.com
8037326ae3 Fix for 36840 -- implement the Spyglass URL echo Apple Event. Code mostly from Steve Cox: scox@artlogic.com. r=sfraser, a=beppe.
git-svn-id: svn://10.0.0.236/trunk@71832 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:13:55 +00:00
sfraser%netscape.com
f649ab93aa First Checked In.
git-svn-id: svn://10.0.0.236/trunk@71831 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:11:45 +00:00
alecf%netscape.com
727c3c9fb8 fix for #35799 - make deleting an SMTP server work
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@71830 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:07:55 +00:00
danm%netscape.com
34a213602e removing nsJSAbstractView.cpp. bug 12021. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@71829 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:04:29 +00:00
edburns%acm.org
97cc25884d Make building the spec compliant classes the default.
git-svn-id: svn://10.0.0.236/trunk@71828 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 00:03:51 +00:00
hangas%netscape.com
5d597057bc Fixing icons in modern theme as well as an image for 34924. r=german
git-svn-id: svn://10.0.0.236/trunk@71827 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 23:58:58 +00:00
edburns%acm.org
6928c33fd1 Added nativeGetDOM.
git-svn-id: svn://10.0.0.236/trunk@71826 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 23:51:13 +00:00
morse%netscape.com
179bdbf79c bug 41843, single signon not working on key sites, r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@71825 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 23:48:02 +00:00
shanjian%netscape.com
352d9a5581 #39726 typo in IMETextTxn.cpp
r=ftang a=waterson


git-svn-id: svn://10.0.0.236/trunk@71824 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 23:40:31 +00:00
rhp%netscape.com
4f0f20e847 Fix for losing content after a save as draft operation - Bug #: 41506 - r: jefft
git-svn-id: svn://10.0.0.236/trunk@71823 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 23:37:16 +00:00
alecf%netscape.com
f90fa8e9f2 fix purify errors - uninitialized memory on poorly formatted CID strings, and FMM on nsString::fputs
r=waterson, scc a=waterson


git-svn-id: svn://10.0.0.236/trunk@71822 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 23:34:53 +00:00
ftang%netscape.com
dcaebe656e fix 41573 mac IME problem. r=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@71821 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 23:29:43 +00:00
edburns%acm.org
5adaa3e694 Modifications to allow webclient to run again on solaris.
git-svn-id: svn://10.0.0.236/trunk@71819 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 23:24:51 +00:00
kmcclusk%netscape.com
439ee5ba38 Changed nsBulletFrame to set the dirty flag on the it's parent's first frame instead of itself when an Image is updated b=36703 r=buster@netscape.com tested on WINNT, Linux
git-svn-id: svn://10.0.0.236/trunk@71818 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 23:19:38 +00:00
jj%netscape.com
65f52bc013 #41858: updated version key to 5.0.0.a18. a=leaf, r=sgehani
git-svn-id: svn://10.0.0.236/trunk@71817 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 23:07:35 +00:00
waterson%netscape.com
9d914a6568 Fix bonehead error warren found: don't re-initialize utf8len; we'll need it to set the string's length!
git-svn-id: svn://10.0.0.236/trunk@71816 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 23:07:15 +00:00
mkaply%us.ibm.com
4caba5abc1 # 37239
r = mscott, a = brendan
OS/2 bring-up - PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71815 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 22:57:35 +00:00
mkaply%us.ibm.com
0ed2193367 # 37239
r = mscott, a = brendan
OS/2 bring-up - These files were never ported to use NSPR datatypes - add const to match prototype


git-svn-id: svn://10.0.0.236/trunk@71814 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 22:55:09 +00:00
jst%netscape.com
f3d0104663 Fixing nsbeta2+ bugs 17351 and 33018, doing document.write(...) on a document in a newly opened window wasn't working properly, the written HTML was replaced by the URL given to window.open(), the fix is to cancel ongoing loads for the new window before starting to write to it. r=vidur
git-svn-id: svn://10.0.0.236/trunk@71812 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 22:51:06 +00:00
mkaply%us.ibm.com
7da8632ec3 # 37239
r = dveditz, a = brendan
OS/2 bring-up - PR_CALLBACK stuff for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71811 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 22:49:49 +00:00
edburns%acm.org
167c69ab95 Added JAVA_DESTPATH to the CLASSPATH on the compiler command line.
git-svn-id: svn://10.0.0.236/trunk@71810 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 22:44:19 +00:00
bryner%uiuc.edu
b5b8ffbaab Fixing nsbeta2+ bug 41723, filepicker behavior. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@71809 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 22:20:57 +00:00
jefft%netscape.com
65985a4e6d fixed bug 32247 - POP: Delete does not work after the first session; r=bienvenu
git-svn-id: svn://10.0.0.236/trunk@71808 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 22:10:15 +00:00
bienvenu%netscape.com
8ffaaafb22 more work on search backend, 33101 r=alecf, notify fe of search hits
git-svn-id: svn://10.0.0.236/trunk@71807 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 21:56:04 +00:00
neeti%netscape.com
d0bb41e766 fix for bug 41764 -Clear cache gives javascript error. r=gagan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@71806 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 21:50:42 +00:00
andreas.otte%primus-online.de
dbe65b4a76 fix bug 41702 [Double caching when fetching wallet tables], r,a=morse@netscape.com a=waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@71805 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 21:35:03 +00:00
dmose%mozilla.org
792db461a7 fixed client.mk not noticing when sub-configure scripts (for --with-nspr-autoconf and --enable-ldap) have changed (and therefore not re-running configure). a=leaf@mozilla.org, r=cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@71804 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 21:32:31 +00:00
harishd%netscape.com
bab99092a1 40408 (nsbeta2+) - Check for nsresult in nsFragmentContentSink::AddLeaf().
The HTMLTag array was,erroneously,going out-of-bounds for XMP tag.
r=rickg
30617 (nsbeta2+) - Misplaced AREA tag should be informed with base target info.
r=vidur.


git-svn-id: svn://10.0.0.236/trunk@71803 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 21:32:09 +00:00
harishd%netscape.com
29189d4b10 Fix for:
37247 (nsbeta2+) - XIF DTD / HTMLContentSinkStream shouldn't add end tags
for IMG,PARAM,SOUND,INPUT..etc., ( leaf tags ).

r=akkana.

41427 (nsbeta2+) - Avoid transient style handling in a head context.
40408 (nsbeta2+) - Check for nsresult in nsFragmentContentSink::AddLeaf().
The HTMLTag array was,erroneously,going out-of-bounds for XMP tag.
40741 (nsbeta2+) - Text, only document, was getting sucked up into <!DOCTYPE>
40143 (nsbeta2+) - Use scanner's mIncremental memeber wisely when data is
supplied through document.write();
40552 (nsbeta2+) - Contain default <!DOCTYPE> to html documents only.

r=rickg

30617 (nsbeta2+) - Misplaced AREA tag should be informed with base target info.

r=vidur.


git-svn-id: svn://10.0.0.236/trunk@71802 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 21:30:48 +00:00
kin%netscape.com
444166710e Checking in patch from BlakeR1234@aol.com for
bug #41283: Incorrect Dialog for 'New' category in Customize search window

    mozilla/xpfe/components/search/resources/search-editor.js
    mozilla/xpfe/components/search/resources/locale/en-US/search-editor.properties

r=ben@netscape.com a=waterson@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@71801 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 21:30:21 +00:00
jj%netscape.com
2cea85a7f4 #41760: set memory partition to 16384K in all targets
git-svn-id: svn://10.0.0.236/trunk@71799 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 21:28:03 +00:00
wtc%netscape.com
b1df109e54 Bugzilla bug #38599: pthreads PR_Poll optimizations. 1. Increased the
size of the stack pollfd structure array from 4 to 64.  2. Made the
malloc'ed pollfd structure array a thread private data.
Modified files: primpl.h, ptio.c, ptthread.c


git-svn-id: svn://10.0.0.236/trunk@71798 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 20:42:57 +00:00
endico%mozilla.org
e4ee3375d3 experimental: Not part of normal bugzilla distibution. Bug.pm creates a bug object and provides methods for getting and setting attributes and for printing out the bug as xml. xml.cgi prompts for a list of bugs and displays the list as html. xml.cgi replaces export_bug.cgi
git-svn-id: svn://10.0.0.236/trunk@71797 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 20:30:10 +00:00
edburns%acm.org
0eacb3af82 Checked in nascent "select the current node in the tree view when the user shift-clicks on a node" feature,
but it's blocked by the incompleteness of the DOM implementation in M13.


git-svn-id: svn://10.0.0.236/trunk@71794 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 18:40:20 +00:00
wtc%netscape.com
6ad71e28e4 Define the new macro _PR_POLL_WITH_SELECT for OSF1 and HP-UX.
OSF1 and HP-UX report the POLLHUP event for a socket when the
shutdown(SHUT_WR) operation is called for the remote end, even though
the socket is still writeable. Use select(), instead of poll(), to
workaround this problem.
Modified files: _hpux.h, _osf1.h, ptio.c


git-svn-id: svn://10.0.0.236/trunk@71793 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 17:48:39 +00:00
brade%netscape.com
c484d283c1 drag within editor implemented; r=kin; a=beppe; bug#6255
git-svn-id: svn://10.0.0.236/trunk@71792 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 14:47:29 +00:00
kin%netscape.com
0284be95cf Fix for bugs:
41605 Crash doing editor.js:EditorShutdown() when doing File->close
  41734 Applying Override StyleSheet causes Editor crash.

Added missing NS_IF_ADDREF in GetSelectedElement().

r=jfrancis@netscape.com  a=beppe@netscape.com


git-svn-id: svn://10.0.0.236/trunk@71791 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 14:45:12 +00:00
bienvenu%netscape.com
7e89cbb253 unescape mac filter targets before upgrading r=alecf, 16917
git-svn-id: svn://10.0.0.236/trunk@71790 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 14:38:55 +00:00
rhp%netscape.com
e0431f56f1 Fixes Bug# 34455 - Problem with format flowed - a=brendan
git-svn-id: svn://10.0.0.236/trunk@71789 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 14:25:54 +00:00
mkaply%us.ibm.com
c78ed655dc # 37239
r = danm, a = brendan
OS/2 bring-up - VisualAge needs a cast - using NS_STATIC_CAST per danm


git-svn-id: svn://10.0.0.236/trunk@71788 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 14:18:07 +00:00
mkaply%us.ibm.com
25d8d966f0 # 41349
r = cls, a = brendan
Checkout does not happen properly if done in /mozilla directory


git-svn-id: svn://10.0.0.236/trunk@71787 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 14:02:13 +00:00
jst%netscape.com
bd7c8e82d3 Fixing nsbeta2+ bug 41718, the docshell did case sensitive string compares when it checked if the protocol of a URL was 'javascript', this broke upper and mixed cased javascript: URL's. r=shaver
git-svn-id: svn://10.0.0.236/trunk@71786 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 13:58:02 +00:00
mkaply%us.ibm.com
a68276da49 # 37239
r = mkaply, a = brendan
OS/2 bringup - Rewrite of device context code so menus work - OS/2 only


git-svn-id: svn://10.0.0.236/trunk@71784 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 13:55:47 +00:00
dcone%netscape.com
713f478b0d Update printing regression tests. r=McCluskey
git-svn-id: svn://10.0.0.236/trunk@71783 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 13:45:15 +00:00
bienvenu%netscape.com
b7e5f42f7a fixes for local search,r=alecf, 33101
git-svn-id: svn://10.0.0.236/trunk@71782 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 13:12:17 +00:00
mbarnson%excitehome.net
03951b4a51 Adding database schema docs
git-svn-id: svn://10.0.0.236/trunk@71781 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 07:04:50 +00:00
ben%netscape.com
e73748bab1 fix for 41587, font pref panel not remembering settings. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71780 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 07:00:25 +00:00
brendan%mozilla.org
c80feb7387 Comply with weird ECMA nit: call (o.f)() (note parens around the function expression) must bind 'this' to the global object, not to o\! (41864, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@71779 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 06:46:18 +00:00
shanjian%netscape.com
b7be880f20 Add Alis Charset detector to menu
r=naoki a=ftang


git-svn-id: svn://10.0.0.236/trunk@71778 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 05:23:09 +00:00
scc%mozilla.org
22e9228f8c further fix for the defined case. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@71777 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 05:08:14 +00:00
scc%mozilla.org
c14f449298 Improved logging facilities on |nsCOMPtr| in cooperation with dbaron, for his new logging tools. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@71776 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 04:52:39 +00:00
alecf%netscape.com
5845e16c3f fix for 41770 - new filters were not saving
- any kind of error during filter creation was not clearing gFilter,
  which meant the filter would not get added to the filterlist
- the filter type was uninitialized, so none of the rules would get saved


git-svn-id: svn://10.0.0.236/trunk@71775 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 04:18:42 +00:00
ben%netscape.com
596d64d82b partial fix for b41120 and b41123 - tooltips for navigator and taskbar
git-svn-id: svn://10.0.0.236/trunk@71774 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 04:04:37 +00:00
pchen%netscape.com
bf234cb886 Partial fix bug#41272. If INCLUDE_CLASSIC_SKIN is defined in one of the Mac build perl scripts, copy classic skin resources to Chrome/skins directory in dist. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@71773 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 03:57:35 +00:00
pchen%netscape.com
a76b7db439 Partial fix bug#41272. Added destination folder, which makes this manifest file work now. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@71772 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 03:51:19 +00:00
pchen%netscape.com
7feb5fe213 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@71771 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 03:49:59 +00:00
pchen%netscape.com
df74968814 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@71770 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 03:44:04 +00:00
pinkerton%netscape.com
2cb56bb667 changes for DOM level-2 compliance. nodeName, tagName --> localName. bug 39927, r=ben
git-svn-id: svn://10.0.0.236/trunk@71769 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 03:41:27 +00:00
alecf%netscape.com
5aa58c2d82 update search datasource for new nsIMsgSearchNotify, and add it to the windows build
(#33101)


git-svn-id: svn://10.0.0.236/trunk@71768 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 03:25:11 +00:00
alecf%netscape.com
7a828dba4d add search datasource PROGIDs, CIDs, #33101
git-svn-id: svn://10.0.0.236/trunk@71767 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 03:16:17 +00:00
alecf%netscape.com
e5499872ec add nsIMsgSearchNotify to the windows build, and clean up spaces to shut up xemacs
git-svn-id: svn://10.0.0.236/trunk@71766 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 02:58:29 +00:00
alecf%netscape.com
55994245d1 added files: mozilla/mailnews/base/search/public/nsIMsgSearchNotify.idl
git-svn-id: svn://10.0.0.236/trunk@71765 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 02:56:15 +00:00
alecf%netscape.com
0e83af97cf add nsIMsgSearchNotify to unix build
git-svn-id: svn://10.0.0.236/trunk@71764 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 02:55:42 +00:00
alecf%netscape.com
727a935995 rename nsIMsgSearchHit notify since it's going to have a few extra uses
(part of #33101)


git-svn-id: svn://10.0.0.236/trunk@71763 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 02:55:03 +00:00
anthonyd%netscape.com
33e5b973b9 warning fix for Linux, shadowed local variable
r: kin


git-svn-id: svn://10.0.0.236/trunk@71762 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 02:51:58 +00:00
alecf%netscape.com
5776f5a3b4 minor tidying up of the thread pane so it's not so fat (incredibly simple)
git-svn-id: svn://10.0.0.236/trunk@71761 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 02:41:02 +00:00
jbetak%netscape.com
3753d5342d 39432 Crash when clicked on Language option in Prefs
r=loadrunner


git-svn-id: svn://10.0.0.236/trunk@71760 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 02:24:12 +00:00
alecf%netscape.com
6fe0417908 re-enable the search menu item (again) for #33101
git-svn-id: svn://10.0.0.236/trunk@71759 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 02:23:46 +00:00
alecf%netscape.com
3ea1106d57 fix for #35675 - use shared routine to pop up account wizard
git-svn-id: svn://10.0.0.236/trunk@71758 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 02:20:22 +00:00
alecf%netscape.com
cac8e9b33d fix for #23661, we were being overly aggressive about hiding controls using hidefor=
git-svn-id: svn://10.0.0.236/trunk@71757 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 02:17:18 +00:00
edburns%acm.org
9fac87eedf bug 40330
a=edburns

This checkin mainly does two things:

1. Correctly populates the java.awt.event.MouseEvent subclass with the
  correct modifiers, x, y, and clickCount for the mozilla mouse event.

2. Adds a performance optimization: previously, every mouse event was
  causing a new instance of java.util.Properties to be created.  Now,
  only one Properties instance is created per-page, and it is cleared on
  each mouse event.

Also, I made the DOMMouseListenerImpl constructor initialize the
refCount to 0.  This allows the object to be correctly deleted.

M classes_spec/org/mozilla/webclient/test/EMWindow.java
M classes_spec/org/mozilla/webclient/wrapper_native/WCMouseListenerImpl.java
M src_moz/DOMMouseListenerImpl.cpp
M src_moz/DOMMouseListenerImpl.h
M src_moz/WindowControlImpl.cpp
M src_moz/jni_util.cpp
M src_moz/jni_util.h
M src_moz/jni_util_export.cpp
M src_moz/jni_util_export.h

M classes_spec/org/mozilla/webclient/test/EMWindow.java

* Added test code for MouseListener properties: buttons, modifiers, etc.

M classes_spec/org/mozilla/webclient/wrapper_native/WCMouseListenerImpl.java

* Added support for mouse modifiers.  Pull values out of the hash table,
  put them in the MouseEvent constructor.

M src_moz/DOMMouseListenerImpl.cpp

* Modified constructors so they initialize all ivars.

* changed usage model of properties object to share the lifetime of the
  DOMMouseListenerImpl instance.  Needed to make use of the new function
  util_ClearPropertiesObject() to do this.  Now we have only one call to
  util_DestroyPropertiesObject(), in the DOMMouseListenerImpl
  destructor.

M src_moz/DOMMouseListenerImpl.h

>     virtual ~DOMMouseListenerImpl();
>
98a101
> protected:
100a104,105
>
> void JNICALL addMouseEventDataToProperties(nsIDOMEvent *aMouseEvent);

M src_moz/WindowControlImpl.cpp

* Initialize new WebShellInitConext member propertiesClass to nsnull

M src_moz/jni_util.cpp

* Added util_ClearPropertiesObject() an optimization.

* Store the jclass for java/util/Properties in an element in
  WebShellInitContext.  This prevents us from having to do FindClass
  each time a mouse event occurs.

* Added a parameter to util_StoreIntoPropertiesObject.

M src_moz/jni_util.h

* Added propertiesClass to WebShellInitContext

* Added new method ClearPropertiesObject

* Added new last argument to DestroyPropertiesObject

M src_moz/jni_util_export.cpp
M src_moz/jni_util_export.h

* Added function pointer for util_ClearPropertiesObject.


git-svn-id: svn://10.0.0.236/trunk@71756 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 02:16:06 +00:00
chuang%netscape.com
0c56583a85 Bug 16422 Import mail list in ldif file, 38844 import ldif file displays
single non-ascii chars as two single chars.  r=putterman


git-svn-id: svn://10.0.0.236/trunk@71755 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 01:52:50 +00:00
dmose%mozilla.org
31f11f9860 Fix UNIX client.mk build bustage on fresh pulls (but not on clobber or depend builds). For some reason, cvs leaves CVS/TAG droppings all the way up to the top of the tree if you check out a branch using an alias modulename, but not if you specify the directories desired by hand. So replaced "DirectorySDKSourceC" with "mozilla/directory/c-sdk". a=leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@71754 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 01:50:04 +00:00
chuang%netscape.com
ff0d194701 Bug 32286, 40007, 40764 Edit mailing list related nsbeta2 bugs, r=putterman
git-svn-id: svn://10.0.0.236/trunk@71753 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 01:49:57 +00:00
hangas%netscape.com
7b1f2bc2ae First Checked In.
git-svn-id: svn://10.0.0.236/trunk@71752 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 01:29:54 +00:00
jj%netscape.com
ea1ff4ae85 #40724: update milestone to M17 (Finder's get info string) a=leaf
git-svn-id: svn://10.0.0.236/trunk@71750 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 01:11:45 +00:00
morse%netscape.com
f94e301964 fix bugs 41567 & 33542 again, moving stuff out of res directory, r=rjc
git-svn-id: svn://10.0.0.236/trunk@71749 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 01:04:24 +00:00
despotdaemon%netscape.com
f5ba2afdb1 Pseudo-automatic update of changes made by garyf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@71748 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 00:59:31 +00:00
edburns%acm.org
3f164dfaa6 Remove CRLF's accidentally put in by Ashu.
git-svn-id: svn://10.0.0.236/trunk@71747 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 00:52:50 +00:00
rginda%netscape.com
f54ba53bb2 implement document.height/width for xul documents (copy/paste from nsDocument.cpp) for bug 41638
r=danm


git-svn-id: svn://10.0.0.236/trunk@71746 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 00:51:13 +00:00
mscott%netscape.com
a6564b34a7 Bug #34672 --> be sure to append the glyph html to the output string.
r=ben bucksch


git-svn-id: svn://10.0.0.236/trunk@71745 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 00:50:41 +00:00
law%netscape.com
1cff6bb8ff Bug #37009; Drop bogus refcount twiddling methods and rely on dependent=yes window attribute instead; r=radha
git-svn-id: svn://10.0.0.236/trunk@71744 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 00:40:05 +00:00
ssu%netscape.com
a7a84d9a54 fixing bug #37168 - fixing the mac side of the bug. Install.Execute() now works on the Mac.
precheckin tests=passed
r=sgehani


git-svn-id: svn://10.0.0.236/trunk@71743 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 00:31:06 +00:00
despotdaemon%netscape.com
698b052669 Pseudo-automatic update of changes made by pchen@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@71742 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 00:25:18 +00:00
mscott%netscape.com
7a0d9801bb Bug #41236 --> when parsing the envelope response, we were choking if the message ID was NIL followed by a
parantheses. I just fixed our lex error.
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@71741 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:51:30 +00:00
cmanske%netscape.com
8853368bbb Fixed duplicate dtd strings, b=41511, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@71740 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:35:52 +00:00
sgehani%netscape.com
c5e6aaf9dd Fix site selector failover url parsing and download redirect ini routine. (Both nsbeta2+ bugs.)
[b=32694, 32766; r=dveditz]


git-svn-id: svn://10.0.0.236/trunk@71739 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:15:14 +00:00
mscott%netscape.com
badf7d8557 Bug #40160 --> fix annoying assertion in on end document load for cases where the url doesn't have a host
r=rpotts


git-svn-id: svn://10.0.0.236/trunk@71738 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:13:12 +00:00
attinasi%netscape.com
d263a60d9c Fixed problem where anchors with no HREF were being styled like links in composer. b=31594 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@71737 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:07:57 +00:00
attinasi%netscape.com
ddd4ea4cf9 Fixed crash when a textarea control has fixed-backgrounfd attachment. b=40118 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@71736 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:06:41 +00:00
attinasi%netscape.com
2faff3ea46 Removed erroneous assertion: b=38768 r=dcone
git-svn-id: svn://10.0.0.236/trunk@71735 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:05:30 +00:00
sspitzer%netscape.com
f91eafbbda fix for #23062. stop stripping the "@domain.com" from the smtp username.
also, fix the code the builds the smtp url to handle a username with
an "@" in it.


git-svn-id: svn://10.0.0.236/trunk@71734 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:05:12 +00:00
attinasi%netscape.com
aa6fadb515 Fixed crash due to ordering problem: b=38768 r=dcone
git-svn-id: svn://10.0.0.236/trunk@71733 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:04:45 +00:00
sspitzer%netscape.com
6d9be55c06 this belongs in bugzilla, not in the UI. #22235
git-svn-id: svn://10.0.0.236/trunk@71732 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:00:15 +00:00
akkana%netscape.com
7c209f3541 40457: suppress extra XIF output for cases where the selection
doesn't intersect the range at all. r=jfrancis, a=beppe.


git-svn-id: svn://10.0.0.236/trunk@71731 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 22:58:39 +00:00
akkana%netscape.com
cbacea09cf 40457: Add implementation for range methods to tell whether
a node or point intersects the range. r=jfrancis, a=beppe.


git-svn-id: svn://10.0.0.236/trunk@71730 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 22:57:36 +00:00
akkana%netscape.com
cf5b40406e Needed for bug 40457: Add API for range methods to tell
whether a node or point intersects the range. r=vidur, a=beppe.


git-svn-id: svn://10.0.0.236/trunk@71729 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 22:56:55 +00:00
mbarnson%excitehome.net
b53f3b9560 Updates:
1.Added Dave Lawrence's excellent RedHat Bugzilla differences section verbatim.
2.Added more information on Loki Bugzilla ("Fenris").
3.Added questions from some corporate customers
4.Removed unused text in API section
5.Added information about other documentation (pending)
6.Added a section for pointy-haired-bosses
7.This will be the last release in strictly HTML format.  Source will be SGML shortly, with HTML and TXT versions
included with the package from this point on


git-svn-id: svn://10.0.0.236/trunk@71728 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 22:54:07 +00:00
mjudge%netscape.com
c26bc4c2b6 adding in null check since we dont ALWAYS use selection to output xif. this gets rid of an assertion that i found while fixing a regression 41814 r=donm a=donm ect
git-svn-id: svn://10.0.0.236/trunk@71727 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 22:46:11 +00:00
mjudge%netscape.com
cd909ee80b regression fix. my bad. changing editor code to have some duplicate code from nsSelection to output the whole document. r=donm a=donm regression ect.
git-svn-id: svn://10.0.0.236/trunk@71726 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 22:44:52 +00:00
robinf%netscape.com
73ceb82131 removing Unix line endings
git-svn-id: svn://10.0.0.236/trunk@71725 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 21:25:28 +00:00
robinf%netscape.com
c92fdba969 fixing unix line endings
git-svn-id: svn://10.0.0.236/trunk@71724 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 21:22:18 +00:00
wtc%netscape.com
ce839cc10a Bugzilla bug #40941: define _PR_HAVE_LARGE_OFF_T for ia64.
Removed ia64 classic nspr user-level thread stuff because
it doesn't work.


git-svn-id: svn://10.0.0.236/trunk@71723 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 19:15:27 +00:00
brendan%mozilla.org
1014164f2d Sacred 80th column preservation, brendan-style case indentation (not part of default build).
git-svn-id: svn://10.0.0.236/trunk@71722 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 19:14:10 +00:00
wtc%netscape.com
a3c5831aa9 Bugzilla bug #40778: PR_GetConnectStatus was passing the wrong fd to
the connectcontinue method.
Modified files: prsocket.c, ptio.c.


git-svn-id: svn://10.0.0.236/trunk@71721 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 18:49:23 +00:00
endico%mozilla.org
dc9f0a01f4 change the sanity check against $::FORM{'who'} since that variable is no longer used.
git-svn-id: svn://10.0.0.236/trunk@71720 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 17:49:02 +00:00
jdunn%netscape.com
9330c8afeb adding newline so that HP builds - because low profile, no reviewers
git-svn-id: svn://10.0.0.236/trunk@71719 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 14:55:56 +00:00
nboyd%atg.com
df21c60462 Fix formatting.
git-svn-id: svn://10.0.0.236/trunk@71718 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 14:51:08 +00:00
nboyd%atg.com
56995ca2ce Fix the following problem:
Subject:
        Odd behaviour on placement of .jar files?!
   Date:
        Mon, 05 Jun 2000 10:46:08 -0700
   From:
        John Raykowski <xski@xski.org>
     To:
        nboyd@atg.com




Hello,

I didn't want to post this directly as a rhino bug 'coz I think it may
be more of a JDK thing, but I thought I'd toss it to you as well.

The goal is to create a JavaScript object that implements a Java
interface. Straightforward enough and the example on the page using
ActionListener works without a hitch.  However, when I try to do the
same with my own interface, I get an error message: error instantiating
({0}): class {1} is interface or abstract (coming from
NativeJavaClass.construct).

Here's where it gets a bit strange.  Normally, I run with the jar files
in jre/lib/ext.  When I remove the rhino files from jre/lib/ext and
reference them explicitly on the commandline with the -cp option, it
works as expected and my script can implement the interface just fine.
Go figure.

Anyhoo, there ya go.  Like I said, I think its a JDK issue, but I
thought you'd be interested.  The attached zipfile contains a set of
sample code to demonstrate this problem.

Thanks heaps,

-jmr


git-svn-id: svn://10.0.0.236/trunk@71717 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 14:50:47 +00:00
jefft%netscape.com
ce66a180b5 fixed bug 31455 - SMTP auth login not working; r=mscott
git-svn-id: svn://10.0.0.236/trunk@71716 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 14:43:50 +00:00
brade%netscape.com
5e17ddef56 new tooltip strings submitted by simone@netscape.com; bug #9767; r=brade, a=beppe,techpubs
git-svn-id: svn://10.0.0.236/trunk@71715 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 14:05:48 +00:00
brade%netscape.com
2081da1c00 temporary fix for bug #40911; if the dropped text contains a space, don't actually try to load the text as a url. r=kin; r/a=pinkerton
git-svn-id: svn://10.0.0.236/trunk@71714 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 13:03:35 +00:00
warren%netscape.com
9a33ca8346 Fixed jar url resolve so that chrome protocol works. Fixed jar channel to not remove channel after kicking off load. Bug 18433
git-svn-id: svn://10.0.0.236/trunk@71713 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 09:07:10 +00:00
warren%netscape.com
626ae9634a Fixing bugs in nsZipReaderCache. Bug 18433
git-svn-id: svn://10.0.0.236/trunk@71712 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 09:05:22 +00:00
alecf%netscape.com
f141c55be1 back out makefile.win change that wasn't supposed to be checked in
git-svn-id: svn://10.0.0.236/trunk@71711 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 08:12:07 +00:00
alecf%netscape.com
62ffebbe8f remove deprecated clearCellSelection()
git-svn-id: svn://10.0.0.236/trunk@71710 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 08:04:30 +00:00
alecf%netscape.com
6f8731dbdf remove calls to deprecated clearCellSelection (followup to hyatt's checkin)
git-svn-id: svn://10.0.0.236/trunk@71709 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 08:02:08 +00:00
alecf%netscape.com
19c50f32ce header for updated datasource (also not part of build)
git-svn-id: svn://10.0.0.236/trunk@71708 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 07:24:45 +00:00
alecf%netscape.com
6a22db867b update search datasource to have a search session URI, and derive
from the base nsMsgRDFDataSource
(not yet part of build)


git-svn-id: svn://10.0.0.236/trunk@71707 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 07:24:22 +00:00
alecf%netscape.com
cf1d475ec8 fix for #34996 - pre-escape usernames before building URLs
git-svn-id: svn://10.0.0.236/trunk@71706 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 07:09:48 +00:00
waterson%netscape.com
123229267d Bugs 35935, 34862, 41521. Make sure to make 'special' frames blocks inside of relatively-positioned inlines; be sure to destroy special siblings, and crawl to outermost 'normal' frame when reframing containing block; handle 'special' frames in StyleChangeReflow(). r=buster
git-svn-id: svn://10.0.0.236/trunk@71705 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 06:58:45 +00:00
morse%netscape.com
8b6057755e backing out my change in case it caused the bustage
git-svn-id: svn://10.0.0.236/trunk@71704 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 06:24:56 +00:00
alecf%netscape.com
882942e7c5 update to DOM2 compatibility - use localName instead of tagName and nodeName
git-svn-id: svn://10.0.0.236/trunk@71702 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 05:49:08 +00:00
dmose%mozilla.org
66365bab27 Got rid of conditional definition of shouldCache attr. It's gone now. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@71701 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 05:46:24 +00:00
morse%netscape.com
f79c13974a fixes for bugs 33542 and 41567, abandon res directory r=dveditz
git-svn-id: svn://10.0.0.236/trunk@71700 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 05:10:52 +00:00
morse%netscape.com
74926d9e5f fixes for bugs 33542 and 41567, abandon res directory
git-svn-id: svn://10.0.0.236/trunk@71698 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 05:05:09 +00:00
shaver%mozilla.org
bb614c30fd fix spelling in wallet prefs, removed unused entities, #40616, r=ben, a=waterson
git-svn-id: svn://10.0.0.236/trunk@71697 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 04:46:34 +00:00
alecf%netscape.com
f6f18c3b7e fix for #28993 - use formatting strings for card titles instead of prefix
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@71696 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 03:58:29 +00:00
waterson%netscape.com
24fa99f214 Fix build bustage: inaky.gonzales missed these two cases some how.
git-svn-id: svn://10.0.0.236/trunk@71695 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 03:33:08 +00:00
dmose%mozilla.org
dda34255ff check out the LDAP C SDK library source from a branch by default (the code only gets built if --enable-ldap is specified, and that is off by default). r=slamm@netscape.com; a=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@71694 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 03:07:45 +00:00
pinkerton%netscape.com
f4fc2d6490 OOps, left the debug code turned on. Flipping the ifdef.
git-svn-id: svn://10.0.0.236/trunk@71691 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 02:11:40 +00:00
morse%netscape.com
21b5736927 fix regression caused by recent code cleanup (reported in bug 41743)
git-svn-id: svn://10.0.0.236/trunk@71690 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 02:07:54 +00:00
pinkerton%netscape.com
5b2ea73e22 fix for 31131. r=sfraser/pierre. No longer use a bounding box when the update region is non-rectangular. Makes mac scrolling and page loading much faster. Also crank down the mac scroll timer delays to better match the native scrollbars.
git-svn-id: svn://10.0.0.236/trunk@71689 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 02:06:53 +00:00
danm%netscape.com
3af610e31a request redraw when resizing window. bug 35450. r=joki
git-svn-id: svn://10.0.0.236/trunk@71688 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 02:05:08 +00:00
slamm%netscape.com
96508e47c3 Use netcenter data, not my test data. Bump dataformat version number. Bug 41225.
git-svn-id: svn://10.0.0.236/trunk@71687 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:49:31 +00:00
jst%netscape.com
423a97765b Fixing nsbeta2+ bug 40514, the problem was that the 'parser' used to parse the options argument passed to window.open() didn't allow for whitespace between the options, 4.x didn't do this either but IE does. r=vidur
git-svn-id: svn://10.0.0.236/trunk@71686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:36:28 +00:00
slamm%netscape.com
151d05fb9f Give available tabs more room. bug 38538. no review or even nsbeta2+. I am going on sabbatical and thought it would be nice to get this little cosmetic change in.
git-svn-id: svn://10.0.0.236/trunk@71685 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:26:01 +00:00
jst%netscape.com
88161490bf Fixing nsbeta2+ bug 30249, the problem was that the type of various attributes (in the DOM spec) on image elements was string and not number (long), this broke backwards compatibility with 4.x and also compatibility with IE. r=vidur
git-svn-id: svn://10.0.0.236/trunk@71684 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:23:55 +00:00
mjudge%netscape.com
a7ee8e11dd bug=34896 fixing reflow reason from nsFileControlFrame to send resize when resizing its input field. fixing mouseclick to not be so hardcoded so that the ender-lite text field still works for the "browse" button. a=beppe r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71683 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:21:20 +00:00
mjudge%netscape.com
8e98182161 bug=34896 setting up initial text to work after evaughns box changes to ender-lite. a=beppe, r=evaughn,r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@71682 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:21:03 +00:00
mjudge%netscape.com
2807c752ad bug=34896 gettimg ime working in ender-lite. simple fix to dispatch messages to focused element for ime. a=beppe,r=ftang,tajima@eng.sun.com, katakai@japan.sun.com
git-svn-id: svn://10.0.0.236/trunk@71681 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:20:13 +00:00
mjudge%netscape.com
1bac22bf29 bug=34896 extra check for null in caret. this can happen sometimes when frame is destroyed in odd order. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@71680 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:18:41 +00:00
mjudge%netscape.com
9ac751705d bug=34896 changing use of CreateElement to CreateElementNS. this was necessary outside of ender-lite also. good change. r=jfrancis a=beppe
git-svn-id: svn://10.0.0.236/trunk@71679 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:18:12 +00:00
mjudge%netscape.com
eda43bdbec (accidentaly checked in with no comment before)bug=34896 getting createElementNS implemented for nsHTMLDocument. this should just be implemented in nsDocument with nsXMLDoc inheiriting also. i will do that when m16 is gone. this allows the editor to create its html elements despite being in a xuldocument. r=hyatt a=beppe
git-svn-id: svn://10.0.0.236/trunk@71678 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:17:23 +00:00
mjudge%netscape.com
fcac507ec1 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@71677 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:14:08 +00:00
mkaply%us.ibm.com
78c35c8d87 # 37239
r = dcone, a = brendan
OS/2 bringup - PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71675 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:12:46 +00:00
alecf%netscape.com
0a84915cb3 fix typo that was preventing setAttributeNS from working
(incredibly obvious fix, will notify jst/waterson that this went in)


git-svn-id: svn://10.0.0.236/trunk@71674 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:11:05 +00:00
mkaply%us.ibm.com
df2e31d9df # 37239
r = rjc, a = brendan
OS/2 bringup - PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71672 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:08:27 +00:00
alecf%netscape.com
aaf72f2627 fix for #40594, switch to DOM2
git-svn-id: svn://10.0.0.236/trunk@71671 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:05:50 +00:00
alecf%netscape.com
c43ba769db fix for #40594, switch to DOM2
git-svn-id: svn://10.0.0.236/trunk@71668 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 01:00:05 +00:00
slamm%netscape.com
8cd7938c54 Fix launching. bug 37243 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@71666 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:57:33 +00:00
danm%netscape.com
6e3eacb7c4 fix problem with sizing to content (bug 36520). code=justin@68k.org. a=waterson@mozilla.org,duncan@be.com
git-svn-id: svn://10.0.0.236/trunk@71664 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:54:03 +00:00
alecf%netscape.com
d1a560e431 fix for 40594, switch to DOM2
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@71662 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:50:19 +00:00
slamm%netscape.com
7efca4d0c5 Use standards compliant RDF format. Bug 41225. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@71660 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:48:52 +00:00
alecf%netscape.com
654f65b5f0 null-check in the old wizard manager - was part of fix for #29575, which went in yesterday
git-svn-id: svn://10.0.0.236/trunk@71659 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:48:40 +00:00
alecf%netscape.com
f292d4a0d9 fix for #40594, switch to DOM2
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@71658 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:46:09 +00:00
slamm%netscape.com
d60e369154 New standard compliant sidebar format. Bug 41225. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@71657 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:39:53 +00:00
slamm%netscape.com
313ce0d1c3 Fix bookmark and history menus. Bug 37078 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@71656 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:39:47 +00:00
slamm%netscape.com
18ebd58d95 Use standards compliant RDF format. Bug 41225. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@71655 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:39:30 +00:00
slamm%netscape.com
1286242e64 Use standards compliant RDF format. Bug 41225. Handle case when data format gets corrupted or no panels are listed. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@71654 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:39:20 +00:00
alecf%netscape.com
c03f1ecb3d temp workaround for clobber build bustage
git-svn-id: svn://10.0.0.236/trunk@71653 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:15:22 +00:00
edburns%acm.org
765e1f447a modified getPropertiesObject() to populate the hash table with
keys for properties in nsIDOMMouseEvent.


git-svn-id: svn://10.0.0.236/trunk@71652 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:12:06 +00:00
pavlov%netscape.com
124e1be88a fix for unix i18n title bug 36039 r=alecf
git-svn-id: svn://10.0.0.236/trunk@71651 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:11:46 +00:00
hyatt%netscape.com
5bb0008b12 Updating tree selection. bug#30511. r=danm
git-svn-id: svn://10.0.0.236/trunk@71650 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 00:01:04 +00:00
hyatt%netscape.com
603a38e605 Updated tree files. 30511. r=danm
git-svn-id: svn://10.0.0.236/trunk@71649 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:59:53 +00:00
mkaply%us.ibm.com
2dc5b95298 # 37239
r = mkaply, a = brendan
OS/2 bringup - TIMER is not a component


git-svn-id: svn://10.0.0.236/trunk@71648 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:53:55 +00:00
alecf%netscape.com
461ccd04e3 arrrgggh - curse the mac for not automatically exporting IDL!
(fixing bustage)


git-svn-id: svn://10.0.0.236/trunk@71647 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:46:35 +00:00
rhp%netscape.com
04164ecfec Changes to fix problem with accepted charset - Bug #: 41100 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@71646 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:38:49 +00:00
rhp%netscape.com
37c8488f09 Changes to address several mail compose and rendering issues - Bugs #: 35158 31906 9202 37365 39226 39728 39372 26182 33305 - r: rhp a: waterson (contributed by mozilla@bucksch.org)
git-svn-id: svn://10.0.0.236/trunk@71645 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:37:04 +00:00
nhotta%netscape.com
d07f28d267 Changed to convert font name to UTF-8 instead of mail charset, bug 26182, r=rhp, a=ftang.
git-svn-id: svn://10.0.0.236/trunk@71643 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:32:03 +00:00
nhotta%netscape.com
67acd98ab0 Added finish() call to encoder to fix incomplete conversion problem, bug 26182, r=cata, a=ftang.
git-svn-id: svn://10.0.0.236/trunk@71642 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:31:36 +00:00
nhotta%netscape.com
69da187b45 Excluded types MESSAGE_RFC822 and MESSAGE_NEWS from being encoded as base64 to fix forward inline problem, bug 40745, r=rhp, a=ftang.
git-svn-id: svn://10.0.0.236/trunk@71641 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:29:56 +00:00
bienvenu%netscape.com
981a50b1c4 more work on search backend, r=alecf,jefft 33100
git-svn-id: svn://10.0.0.236/trunk@71640 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:28:17 +00:00
alecf%netscape.com
cc2d8ab465 oops, this somehow didn't make it into the last checkin
git-svn-id: svn://10.0.0.236/trunk@71639 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:24:14 +00:00
alecf%netscape.com
7064c64fc5 fix for 40346 - make the search term value PRUnichar* to make it i18n friendly
r=bienvenu


git-svn-id: svn://10.0.0.236/trunk@71638 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:19:32 +00:00
alecf%netscape.com
5d0c2cc905 first cut at search datasource (incomplete, but not part of build)
git-svn-id: svn://10.0.0.236/trunk@71637 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:17:14 +00:00
pavlov%netscape.com
0a0a2964a7 fix for nsbeta2+ bug 34426 r=smfr (crash when closing popup windows)
git-svn-id: svn://10.0.0.236/trunk@71636 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:16:23 +00:00
alecf%netscape.com
a5045aa08c add strawman hit notify interface (not part of build)
git-svn-id: svn://10.0.0.236/trunk@71635 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:15:50 +00:00
cmanske%netscape.com
e40690e47d Added pref to do autocopy by default only on UNIX. Part of fix to 41045. r=mjudge, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71634 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:14:47 +00:00
cmanske%netscape.com
1e18ade6f9 Finished table cell selection optimization bug 41045. r=mjudge, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71633 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:14:42 +00:00
hyatt%netscape.com
d931111497 Tree/grid work. Bug #30511. r=danm.
git-svn-id: svn://10.0.0.236/trunk@71632 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:14:11 +00:00
hyatt%netscape.com
b8df5592aa Tree/grid work. 30511. r=danm
git-svn-id: svn://10.0.0.236/trunk@71631 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:13:49 +00:00
hyatt%netscape.com
395bc9a10f Tree/grid work. Bug#30511. r=danm
git-svn-id: svn://10.0.0.236/trunk@71630 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:13:05 +00:00
larryh%netscape.com
b43453f185 BugZilla: 40941. IA-64 Linux
git-svn-id: svn://10.0.0.236/trunk@71629 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:12:09 +00:00
bienvenu%netscape.com
037f97e059 fix case insensitive search comparisons, r=alecf 33100 and 41633
git-svn-id: svn://10.0.0.236/trunk@71628 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 23:09:18 +00:00
cls%seawood.org
9417b11056 Fix the runtime scripts so that mozilla can be run from any directory. r,a=leaf
git-svn-id: svn://10.0.0.236/trunk@71627 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 22:57:25 +00:00
cotter%netscape.com
2af679a064 Latest fixes re SDR & pswd mgr.
git-svn-id: svn://10.0.0.236/trunk@71626 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 22:23:50 +00:00
leaf%mozilla.org
4b6f93f371 Automated update
git-svn-id: svn://10.0.0.236/trunk@71625 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 22:15:08 +00:00
dmose%mozilla.org
a1977a48a6 fix the first time someone runs the sub-configure for the LDAP C SDK in an objdir; code only runs when --enable-ldap is specified to configure. a=leaf@mozilla.org; r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@71624 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 22:07:45 +00:00
inaky.gonzalez%intel.com
a4ad3b18a9 Fixed nsSupportsHashtable behaviour and API to fix leaks in
nsDirectoryService. Fixes bugs #38606 and #39859.

a=waterson; r=rayw,brendan,warren


git-svn-id: svn://10.0.0.236/trunk@71623 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 22:06:56 +00:00
tara%tequilarista.org
851c9ec307 Fix for bug #40987
git-svn-id: svn://10.0.0.236/trunk@71621 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 22:03:41 +00:00
nelsonb%netscape.com
e052a8e582 Carry forward fix from NSS 2.8 for servers that don't do ssl2.
git-svn-id: svn://10.0.0.236/trunk@71609 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 20:32:18 +00:00
robinf%netscape.com
d19e8d471d Updating UI for new PR@ featurs for Pr2 and for Shrimp
git-svn-id: svn://10.0.0.236/trunk@71608 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 19:57:04 +00:00
tara%tequilarista.org
699bd91b64 checking in 0.2.1 of the FAQ
git-svn-id: svn://10.0.0.236/trunk@71607 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 19:47:08 +00:00
robinf%netscape.com
9734da2b7a new banner for customizepage1.ini; new show wxample for sidebar customization
git-svn-id: svn://10.0.0.236/trunk@71606 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 19:42:50 +00:00
locka%iol.ie
2975b7b003 NOT PART OF BUILD!
New embedding APIs for *simple* initialisation by hiding all the XPCOM initialisation and kludges that embedding apps have to do.


git-svn-id: svn://10.0.0.236/trunk@71605 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 18:28:01 +00:00
rhp%netscape.com
e8fbac4872 Changes to address several mail compose and rendering issues - Bugs #: 35158 31906 9202 37365 39226 39728 39372 26182 33305 - r: rhp a: waterson (contributed by mozilla@bucksch.org)
git-svn-id: svn://10.0.0.236/trunk@71604 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 17:57:20 +00:00
bienvenu%netscape.com
c60f9fabb9 turn on mpod by default, r=mscott 41569, use per server pref
git-svn-id: svn://10.0.0.236/trunk@71603 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 12:20:41 +00:00
bienvenu%netscape.com
7204b67cd9 more work on search backend, replease nsMsgSearchTermArray with nsISupportsArray a=putterman, r=alecf 33100
git-svn-id: svn://10.0.0.236/trunk@71602 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 12:17:17 +00:00
pierre%netscape.com
b308cf318d Checked back in the backed out code (41321) after doing a minor fix in nsCSSValue.cpp (41618)
git-svn-id: svn://10.0.0.236/trunk@71601 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 09:36:12 +00:00
alecf%netscape.com
85b11d0f15 last checkin was:
fix for #41608 - be sure to remove the script context from the GC root!
r=shaver, jst a=putterman


git-svn-id: svn://10.0.0.236/trunk@71600 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 08:08:41 +00:00
alecf%netscape.com
ee43714968 /tmp/cvsRB7BUM
git-svn-id: svn://10.0.0.236/trunk@71599 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 08:07:23 +00:00
alecf%netscape.com
066d51d0b1 fix for #40374 - make action line dynamically update to reflect the action the user has chosen
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@71598 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 07:53:22 +00:00
dmose%mozilla.org
943ce48ddb add a couple of comments; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@71597 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 07:43:21 +00:00
ben%netscape.com
7244efdf9c fix for 35606
git-svn-id: svn://10.0.0.236/trunk@71596 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 07:39:04 +00:00
ben%netscape.com
26c076e13a fix for 39423, rename profile (and other profile manager common dialogs) do not work.
git-svn-id: svn://10.0.0.236/trunk@71594 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 07:26:36 +00:00
dmose%mozilla.org
c08e2c65a9 cause "cvs update" to stop whining about generated Makefiles in non-objdir builds
git-svn-id: svn://10.0.0.236/trunk@71593 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 07:23:21 +00:00
alecf%netscape.com
7c7331e00c fix minor typo that was causing unnecessary assertion (doesn't affect release builds)
git-svn-id: svn://10.0.0.236/trunk@71592 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 07:16:34 +00:00
ben%netscape.com
79162a4252 fix for 37766, minimising navigation toolbar is useless.
git-svn-id: svn://10.0.0.236/trunk@71591 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 07:07:30 +00:00
pierre%netscape.com
225e6c27b2 Backed out the previous changes (41321, waterson/attinasi) because of the regression in 41618.
git-svn-id: svn://10.0.0.236/trunk@71590 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 06:50:21 +00:00
alecf%netscape.com
4aaf669334 fix for #29575 r=sspitzer, a=putterman
make sure the account wizard correctly updates it's fields and map when the user goes back and selects a different ISP


git-svn-id: svn://10.0.0.236/trunk@71589 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 06:48:48 +00:00
dmose%mozilla.org
00f88d7ba1 Updated to track changes to nsIChannel.idl: shouldCache attribute disappeared and was replacd with localFile attribute. Unclear why this happened; this is a workaround so that nsLDAPChannel.cpp continues to compile. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@71588 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 06:35:43 +00:00
sspitzer%netscape.com
6296246f7d fix for #14645. make migration work even if the user doesn't install mail-news.
to avoid future errors, use a wild card to package all the default pref files
with the browser package. r=alecf


git-svn-id: svn://10.0.0.236/trunk@71587 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 06:28:19 +00:00
brendan%mozilla.org
5dc04862aa Use localizable error message for out of memory.
git-svn-id: svn://10.0.0.236/trunk@71586 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 04:54:04 +00:00
brendan%mozilla.org
5f1a363242 Better fix, really (r=shaver for sure).
git-svn-id: svn://10.0.0.236/trunk@71585 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 04:41:05 +00:00
sspitzer%netscape.com
b3ec1fa83e fix for #41063. remove si_StrippedURL(). the single sign on code no longer
strips the passworld realm you give it.  it assumes the caller does the right thing
to create the proper password realm.  r=warren,a=putterman.


git-svn-id: svn://10.0.0.236/trunk@71584 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 04:38:49 +00:00
brendan%mozilla.org
622626eed1 Better control flow for catch clause code generation (r=shaver).
git-svn-id: svn://10.0.0.236/trunk@71583 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 04:27:37 +00:00
morse%netscape.com
98bdee63ba forgot to delete a file
git-svn-id: svn://10.0.0.236/trunk@71582 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 03:43:03 +00:00
ben%netscape.com
fa69a997fa fix menubutton binding so that it doesnt scale dropmarker
git-svn-id: svn://10.0.0.236/trunk@71581 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 03:31:28 +00:00
ben%netscape.com
dfa1f44597 fix makefiles
git-svn-id: svn://10.0.0.236/trunk@71580 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 03:30:48 +00:00
ben%netscape.com
998a73bbab make toolbar menubuttons use correct classname for skinnability
git-svn-id: svn://10.0.0.236/trunk@71579 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 03:30:02 +00:00
bienvenu%netscape.com
f4a4f42cd0 fix 41569, turn on mpod by default r=mscott
git-svn-id: svn://10.0.0.236/trunk@71578 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 03:15:17 +00:00
alecf%netscape.com
ee592fe91a add support for sprintf-style string formatting using string bundles
r=tao (partial fix for #28993)


git-svn-id: svn://10.0.0.236/trunk@71577 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 03:05:00 +00:00
ben%netscape.com
9ee8eb51d8 remove dead css files
git-svn-id: svn://10.0.0.236/trunk@71576 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 02:40:37 +00:00
ben%netscape.com
be562154d7 split navigator files by platform for classic skin [npob]
git-svn-id: svn://10.0.0.236/trunk@71575 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 02:40:04 +00:00
wtc%netscape.com
3ddf3721c9 Make the ifdef's in PR_Socket a little easier to understand.
Modified files: prsocket.c, ptio.c


git-svn-id: svn://10.0.0.236/trunk@71574 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 02:14:17 +00:00
evaughan%netscape.com
3640c7b6b3 Fixed for ender-lite painting problems. bug #34896
-r mjudge


git-svn-id: svn://10.0.0.236/trunk@71573 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 01:25:03 +00:00
ben%netscape.com
f1789027f2 fix for multiple quit items being displayed
git-svn-id: svn://10.0.0.236/trunk@71572 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 01:16:02 +00:00
jbetak%netscape.com
de94979d75 40257 You cannot add more than 1 item at a time in the Customize Charset dialog
39450 Message compose charset customize dialog shows initial active charsets number is not correct
39450 Mail View Charset Customize dialog window does not open
r=tao, a=ftang


git-svn-id: svn://10.0.0.236/trunk@71571 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 00:46:07 +00:00
cls%seawood.org
1a7da5c7c4 Another beos fix for the nsSound api changes.
git-svn-id: svn://10.0.0.236/trunk@71570 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 00:22:40 +00:00
cls%seawood.org
32a91d207d nsSound api changed slightly and beos was neglected.
git-svn-id: svn://10.0.0.236/trunk@71569 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 00:14:51 +00:00
mccabe%netscape.com
e7a2fb518a Fix to potential leak introduced with fix to 40406.
Be conservative in handling the lifetime of the safe context created by XPConnect to execute JS Components, and save it off to be destroyed at cleanup time, even if some other safe context is registered with XPConnect via SetSafeJSContext.

r=vishy, a=brendan


git-svn-id: svn://10.0.0.236/trunk@71568 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 00:01:25 +00:00
ben%netscape.com
75f68e36f8 add offline/online icons to classic skin (npob)
git-svn-id: svn://10.0.0.236/trunk@71567 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 23:45:04 +00:00
ben%netscape.com
69e32530eb remove unneeded css files
git-svn-id: svn://10.0.0.236/trunk@71566 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 23:42:25 +00:00
ben%netscape.com
57e4d19179 add mac specific communicator stylesheets
git-svn-id: svn://10.0.0.236/trunk@71565 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 23:40:51 +00:00
bryner%uiuc.edu
ad4bee6f58 Getting the classic skin to install correctly on unix. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@71564 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 23:33:20 +00:00
pinkerton%netscape.com
ac2afd46d6 fix for 35119, mouseDown events never going to popups. Check if a popup is onscreen when we determine if the event should be fired. r=danm.
git-svn-id: svn://10.0.0.236/trunk@71563 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 22:39:22 +00:00
locka%iol.ie
357cc859eb Put pointer test around smprintf to prevent crash for invalid IMG links.
b=40094,r=adamlock,approved valeski


git-svn-id: svn://10.0.0.236/trunk@71562 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 22:21:37 +00:00
locka%iol.ie
efe702d048 Put conditional test around anchor scrolling so reload operations really do reload on anchor URLs
b=30558,r=,approved valeski


git-svn-id: svn://10.0.0.236/trunk@71561 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 22:13:52 +00:00
tao%netscape.com
2b8be6ee70 40799 : [CountryPicker] Add language/country selector to ProfileCreation UI.
r=sspitzer,racham,a=msanz.


git-svn-id: svn://10.0.0.236/trunk@71560 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 22:13:06 +00:00
tao%netscape.com
7bc288b162 part I:
40799 : [CountryPicker] Add language/country selector to ProfileCreation UI.
 r=sspitzer,racham,a=msanz


git-svn-id: svn://10.0.0.236/trunk@71559 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 22:09:10 +00:00
nhotta%netscape.com
af8f97cb34 Changed to use PRUnichar version of escape function,
not call ToNewCString which does not work if the data is not Latin1, bug 34373, r=rhp, a=bobj.


git-svn-id: svn://10.0.0.236/trunk@71558 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 22:02:14 +00:00
nhotta%netscape.com
3a957ce304 Added PRUnichar version of escape function, bug 34373, r=rhp, a=bobj.
git-svn-id: svn://10.0.0.236/trunk@71557 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 22:01:32 +00:00
jefft%netscape.com
4fe34ac6eb fixed bug 40662 - folder discovery problems with subfolders 2 levels deep; r=bienvneu, a=scottip
git-svn-id: svn://10.0.0.236/trunk@71556 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:57:56 +00:00
bryner%uiuc.edu
45f772555a Fix bug 41270 - problems with the bounds checks for nsScrollingView. This
was causing mousewheel scrolling to "wrap around" in list boxes. r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@71555 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:57:44 +00:00
pavlov%netscape.com
a271419de6 Fix for eventqueue objects leaking bug #20166. This also removes the hacked fix for bug #36361 and uses a real fix. Major overhaul of nsEventQueue and nsEventQueueService. r=waterson,brendan. tested on windows, linux and mac
git-svn-id: svn://10.0.0.236/trunk@71554 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:53:25 +00:00
varada%netscape.com
793ba10609 fix to accomodate changes made to location of files in seamonkey
git-svn-id: svn://10.0.0.236/trunk@71553 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:49:54 +00:00
valeski%netscape.com
c41aa374a4 41110. nsiwebshellwindow erradication
git-svn-id: svn://10.0.0.236/trunk@71552 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:42:02 +00:00
slamm%netscape.com
544d085753 Ignore generated Makefile.
git-svn-id: svn://10.0.0.236/trunk@71551 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:40:07 +00:00
leaf%mozilla.org
d20dc9c2a3 Automated update
git-svn-id: svn://10.0.0.236/trunk@71550 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:30:10 +00:00
slamm%netscape.com
257cdf3445 Remove unused section header.
git-svn-id: svn://10.0.0.236/trunk@71549 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:26:58 +00:00
slamm%netscape.com
a9c808ee17 Ignore test executable.
git-svn-id: svn://10.0.0.236/trunk@71548 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:26:07 +00:00
slamm%netscape.com
f82fd3615e Turn off debugging messages.
git-svn-id: svn://10.0.0.236/trunk@71547 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:25:07 +00:00
attinasi%netscape.com
c87ebfa9c0 Removed code that was printing the word 'embed'. b=37558 r=buster a=leger
git-svn-id: svn://10.0.0.236/trunk@71546 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:21:48 +00:00
morse%netscape.com
5c09bfa5ed bug 41537, regression caused by code cleanup in this file done over the week-end
git-svn-id: svn://10.0.0.236/trunk@71545 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 20:57:41 +00:00
mkaply%us.ibm.com
0cffff3695 # 37239
r = gagan, a = gagan
OS/2 bringup - Stupid misspelling in OS/2 only code


git-svn-id: svn://10.0.0.236/trunk@71544 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 20:51:59 +00:00
rusty.lynch%intel.com
1b8059f431 Fixed Linux support for viewing the current text as a label
in the plugin drawing rectangle.  This is part of a fix for
bug #25068. a=ekrock


git-svn-id: svn://10.0.0.236/trunk@71543 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 20:35:32 +00:00
cmanske%netscape.com
4d9e22e63c Fix for 41034 - new list submenu command support for doing DL lists. r=sfraser, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71542 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 20:26:40 +00:00
cmanske%netscape.com
6674d2c7c5 Fix for 41034 - new list submenu, fix for 41351 - object properties not working. Fix for OS2 support for table selection feedback in menu. r=sfraser, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71541 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 20:26:26 +00:00
cmanske%netscape.com
98da8f31f0 Part of fix for bug 41034, new methods to return block state(e.g., list) info. r=sfraser, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71540 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 20:25:57 +00:00
javi%netscape.com
885131d1e3 Make SendUIEvent take a bit for isModal instead of always hard-coding it
to true.


git-svn-id: svn://10.0.0.236/trunk@71539 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 20:21:23 +00:00
javi%netscape.com
3ac887fdc3 For optimized builds, we have to link in an extra library to avoid
undefined symbols.


git-svn-id: svn://10.0.0.236/trunk@71538 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 20:10:39 +00:00
mscott%netscape.com
71d8585a11 Bug #40649 --> fix unitialized variable problem.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@71537 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 20:04:55 +00:00
despotdaemon%netscape.com
0219f1008b Pseudo-automatic update of changes made by roc+@cs.cmu.edu.
git-svn-id: svn://10.0.0.236/trunk@71536 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 19:33:46 +00:00
mkaply%us.ibm.com
13d50b2149 # 37239
r = waterson, a = waterson
OS/2 bringup - PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71535 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 19:19:14 +00:00
mkaply%us.ibm.com
001f97063d # 37239
r = valeski, a = brendan
OS/2 bringup - PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71534 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 19:18:07 +00:00
mkaply%us.ibm.com
e276facf1a # 37239
r = mstolz, a = brendan
OS/2 bringup - cast for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71533 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 19:16:35 +00:00
mkaply%us.ibm.com
9d4a029884 # 37239
r = jst, a = waterson
OS/2 bringup - PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71532 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 19:15:32 +00:00
sgehani%netscape.com
aa7d1da673 Make Linux installed bits actually launch a working browser. (nsbeta2+)
b = 37900
r = mcafee
a = granrose


git-svn-id: svn://10.0.0.236/trunk@71531 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 19:13:03 +00:00
edburns%acm.org
542ba8a6ef Make it so the status bar URLs correctly display with pre-pended
base URLs.


git-svn-id: svn://10.0.0.236/trunk@71530 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 19:11:22 +00:00
edburns%acm.org
f508e6bc26 Enable/disable button bar buttons appropriately.
git-svn-id: svn://10.0.0.236/trunk@71529 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 18:23:23 +00:00
despotdaemon%netscape.com
4c38cb57d6 Pseudo-automatic update of changes made by bmartin@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@71528 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 18:14:07 +00:00
sdv%sparc.spb.su
c8e55c815c changes to support unicode strings
git-svn-id: svn://10.0.0.236/trunk@71527 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 18:08:39 +00:00
cyeh%bluemartini.com
0f74a47c0d change db->query to db->do to be compatible with latest version of DBI and
DBD.


git-svn-id: svn://10.0.0.236/trunk@71526 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 18:08:13 +00:00
edburns%acm.org
e7523b5108 Give the BookmarksFrame the ability to tell the browser to
visit the clicked URL.


git-svn-id: svn://10.0.0.236/trunk@71525 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 17:54:58 +00:00
despotdaemon%netscape.com
ab5a45a430 Pseudo-automatic update of changes made by pete@alphanumerica.com.
git-svn-id: svn://10.0.0.236/trunk@71524 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 16:02:08 +00:00
shaver%mozilla.org
7dff919e06 fix crashes in HTTP auth (41404, 41517, r=waterson, a=leaf)
git-svn-id: svn://10.0.0.236/trunk@71521 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 15:19:32 +00:00
dcone%netscape.com
eb92f5ee14 Fixed bug 40196, there was a transformation problem, and PatBlt did not work correctly on some issues. R=rods
git-svn-id: svn://10.0.0.236/trunk@71520 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 14:12:11 +00:00
dcone%netscape.com
cc2df5ac70 Fixed background color under border. b=13934. R=Attinasi
git-svn-id: svn://10.0.0.236/trunk@71519 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 13:58:05 +00:00
dcone%netscape.com
77e0590e65 Fixed bug 7559. R= rods
git-svn-id: svn://10.0.0.236/trunk@71518 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 13:48:06 +00:00
ben%netscape.com
6c91dfba89 fix destination location
git-svn-id: svn://10.0.0.236/trunk@71517 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 11:44:11 +00:00
ben%netscape.com
7214298ff5 fix visual padding glitch
git-svn-id: svn://10.0.0.236/trunk@71516 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 09:43:51 +00:00
rbs%maths.uq.edu.au
19822e3333 Enable 'vertical-align: baseline' in <mtable> now that it is there...
git-svn-id: svn://10.0.0.236/trunk@71515 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 08:32:59 +00:00
rbs%maths.uq.edu.au
ddcfbea4a3 [#ifdef MOZ_MATHML: not yet part of default build]. Add support for 'vertical-align: baseline' in table-cells. bug 10207. r:karnaze@netscape.com. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@71514 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 08:25:11 +00:00
rbs%maths.uq.edu.au
918b4d93c1 [#ifdef MOZ_MATHML: not yet part of default build]. Export the baseline out of the block frame code to support 'vertical-align: baseline' in table-cells. bug 10207. r:buster@netscape.com. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@71513 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 08:24:18 +00:00
ben%netscape.com
c38ab71e04 update build list so mac builds relocated platform communicator files
git-svn-id: svn://10.0.0.236/trunk@71512 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 07:12:02 +00:00
ben%netscape.com
e37ca00922 remove dead entities
git-svn-id: svn://10.0.0.236/trunk@71511 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 06:37:19 +00:00
ben%netscape.com
870cee0246 update autocomplete tests to use utility overlay and global overlay
git-svn-id: svn://10.0.0.236/trunk@71510 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 06:36:56 +00:00
ben%netscape.com
11a9736c7d update js console to use utility overlay and global overlay
git-svn-id: svn://10.0.0.236/trunk@71509 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 06:36:45 +00:00
ben%netscape.com
5db849008a update bookmarks to use utility overlay and global overlay
git-svn-id: svn://10.0.0.236/trunk@71508 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 06:36:20 +00:00
ben%netscape.com
7dcb9cb9ff update mailnews to use utility overlay and global overlay
git-svn-id: svn://10.0.0.236/trunk@71507 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 06:34:57 +00:00
ben%netscape.com
9cd8b61478 update extensions modules to use utility overlay and global overlay
git-svn-id: svn://10.0.0.236/trunk@71506 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 06:33:38 +00:00
ben%netscape.com
f6a06df15b update editor to use utility overlay and global overlay
git-svn-id: svn://10.0.0.236/trunk@71505 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 06:31:41 +00:00
ben%netscape.com
01adeaa5f6 factor global into core toolkit shared utilities and communicator shared
git-svn-id: svn://10.0.0.236/trunk@71504 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 06:28:38 +00:00
ben%netscape.com
c633f3120a creating new 'utilityOverlay' of communicator shared utilities. splitting globalOverlay for skinnability reasons
git-svn-id: svn://10.0.0.236/trunk@71503 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 06:27:31 +00:00
buster%netscape.com
f3ce46c7b0 bug 36367
r=rods
fix was to pass in the correct width during certain types of incremental reflows.


git-svn-id: svn://10.0.0.236/trunk@71502 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 03:50:46 +00:00
ben%netscape.com
567153a4ce a bit too eager with previous checkin. removing files that aren't ready to go live yet
git-svn-id: svn://10.0.0.236/trunk@71501 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 03:47:51 +00:00
ben%netscape.com
7994fafc31 changes to statusbarpanel/progressmeter to accommodate offline UI
git-svn-id: svn://10.0.0.236/trunk@71500 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 03:44:32 +00:00
buster%netscape.com
8eb430ca4d bug 38665
r=rickg a=rickg
fixed an optimized-only crash that looks like a race condition
where we send a message containing a pointer to a frame back to
the frame manager after the frames have been deleted.


git-svn-id: svn://10.0.0.236/trunk@71499 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 03:37:33 +00:00
ben%netscape.com
b5626d087e fix checkbox inversion
git-svn-id: svn://10.0.0.236/trunk@71498 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 02:02:45 +00:00
ben%netscape.com
769a15cc9e Usability change for common dialog
git-svn-id: svn://10.0.0.236/trunk@71497 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 02:00:24 +00:00
ben%netscape.com
1a16ccc57b make <checkbox> handle wrapping text correctly (i18n)
git-svn-id: svn://10.0.0.236/trunk@71496 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 01:59:08 +00:00
leaf%mozilla.org
96b65e7f34 Automated update
git-svn-id: svn://10.0.0.236/trunk@71495 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 01:00:09 +00:00
waterson%netscape.com
4cfc97eae7 Canonify HAVE_CPP_ACCESS_CHANGING_USING and HAVE_CPP_AMBIGUITY_RESOLVING_USING.
git-svn-id: svn://10.0.0.236/trunk@71494 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 00:46:37 +00:00
pinkerton%netscape.com
8c304d98a5 Dragging links to desktop creates internet shortcut files. bug#37410, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@71493 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 00:34:11 +00:00
pavlov%netscape.com
a2d28bd8fa fix using incorrect bps due to previous checkin
git-svn-id: svn://10.0.0.236/trunk@71492 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 00:10:19 +00:00
pinkerton%netscape.com
1a1fb03dc9 adding "link" action to startDrag(). temporary until we can get a param added.
for bug# 37410, r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@71491 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 23:54:31 +00:00
edburns%acm.org
1442832df2 bug 40330
a=edburns
r=drapeau

This checkin creates a dependency on the mozilla java dom module.

Please see mozilla\java\dom\README to build the java dom.
Note that you can just run make in mozilla\java and everything
should be built correctly.

A webclient/classes_spec/org/mozilla/webclient/test/DOMAccessPanel.java
A webclient/classes_spec/org/mozilla/webclient/test/DOMCellRenderer.java
A webclient/classes_spec/org/mozilla/webclient/test/DOMTreeDumper.java
A webclient/classes_spec/org/mozilla/webclient/test/DOMTreeModel.java
A webclient/classes_spec/org/mozilla/webclient/test/DOMTreeNotifier.java
A webclient/classes_spec/org/mozilla/webclient/test/DOMViewerFrame.java

M Makefile.win
M README
M webclient/classes_spec/Makefile.unix
M webclient/classes_spec/Makefile.win
M webclient/classes_spec/org/mozilla/webclient/CurrentPage.java
M webclient/classes_spec/org/mozilla/webclient/test/EMWindow.java
M webclient/classes_spec/org/mozilla/webclient/wrapper_native/CurrentPageImpl.java
M webclient/src_moz/CurrentPageImpl.cpp
M webclient/src_moz/DocumentLoaderObserverImpl.cpp
M webclient/src_moz/Makefile.win
M webclient/src_moz/WindowControlImpl.cpp
M webclient/src_moz/jni_util.h


git-svn-id: svn://10.0.0.236/trunk@71490 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 22:16:36 +00:00
edburns%acm.org
5915539504 DOM really depends on the w3c dom from 20000307.
Changed README.


git-svn-id: svn://10.0.0.236/trunk@71489 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 21:56:53 +00:00
edburns%acm.org
240b20481f a=drapeau
author=edburns
bug=41492

This change adds the following methods:

public static native void org.mozilla.dom.DOMAccessor.initialize();

The implementation of this method is:

JNIEXPORT void JNICALL Java_org_mozilla_dom_DOMAccessor_initialize
(JNIEnv *env, jclass)
{
  if (!JavaDOMGlobals::log) {
    JavaDOMGlobals::Initialize(env);
  }

}

This method is necessary for external clients that want to use JavaDOM,
but don't want to use the nsIDocumentLoaderObserver instance provided by
JavaDOM.

Please see http://bugzilla.mozilla.org/show_bug.cgi?id=41497 for an
additional bug for which there is a workaround.

Ed


git-svn-id: svn://10.0.0.236/trunk@71488 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 20:25:20 +00:00
alecf%netscape.com
98519ef328 oops, include the string bundle <script> tag so that you can actually delete filters r=sspitzer
fix for #40337


git-svn-id: svn://10.0.0.236/trunk@71487 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 18:23:33 +00:00
tor%cs.brown.edu
fc890ad012 SUNWspro build bustage fix: use PL_strchr() instead of strchr().
git-svn-id: svn://10.0.0.236/trunk@71486 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 18:19:47 +00:00
morse%netscape.com
03bf688973 fix bug 41452
git-svn-id: svn://10.0.0.236/trunk@71485 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 15:34:09 +00:00
morse%netscape.com
130ba59c44 bug 41451, fix dialog width
git-svn-id: svn://10.0.0.236/trunk@71484 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 14:39:31 +00:00
alecf%netscape.com
7ad6d31130 fix #ifdefs to quiet output (speeds up display of complex tables like tinderbox and slashdot.org) - does not affect release builds
git-svn-id: svn://10.0.0.236/trunk@71483 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 09:44:08 +00:00
pavlov%netscape.com
6953c068b4 fix for bug 40642 and 24624. r=syd, sford, smfr
git-svn-id: svn://10.0.0.236/trunk@71482 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 07:13:40 +00:00
pavlov%netscape.com
2e68a30b73 update soundtest to the new sound apis
git-svn-id: svn://10.0.0.236/trunk@71481 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 06:50:58 +00:00
morse%netscape.com
acbd3599a2 removal of dead code, part of bug 41114, r=cmanske
git-svn-id: svn://10.0.0.236/trunk@71480 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 06:06:30 +00:00
ben%netscape.com
40f05b5e6e [perf] fix sidebar performance problem
git-svn-id: svn://10.0.0.236/trunk@71479 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 05:43:39 +00:00
ben%netscape.com
ae0a844d10 fix statusbar, [perf] bad style rule in sidebar was causing all <text> nodes to crawl to parent, and interfering with statusbar progressmeter
git-svn-id: svn://10.0.0.236/trunk@71478 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 05:43:20 +00:00
ben%netscape.com
48cebfa421 place navigator's online/offline status indicator in communicator-wide overlay so that mailnews and editor can use it.
git-svn-id: svn://10.0.0.236/trunk@71477 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 05:42:04 +00:00
ben%netscape.com
d32fead1f7 add utilityOverlay to shift non-widget-toolkit global stuff into, required for clean skinnability.
git-svn-id: svn://10.0.0.236/trunk@71476 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 05:41:16 +00:00
idk%eng.sun.com
7b7808f011 added pointer to pluglets page
git-svn-id: svn://10.0.0.236/trunk@71475 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-04 01:02:44 +00:00
bienvenu%netscape.com
ec9ece6920 fix linux bustage
git-svn-id: svn://10.0.0.236/trunk@71474 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 22:33:24 +00:00
morse%netscape.com
fd0ab1ed71 bug 41114, ok/cancel buttons not appearing on linux
git-svn-id: svn://10.0.0.236/trunk@71473 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 22:33:03 +00:00
bienvenu%netscape.com
cd886bed47 fix problem with compound filters and doesn't contain terms r=alecf,a=scottip 41312
git-svn-id: svn://10.0.0.236/trunk@71472 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 22:23:10 +00:00
bienvenu%netscape.com
6a1e048b98 put kImapTrash back in
git-svn-id: svn://10.0.0.236/trunk@71471 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 22:20:57 +00:00
bienvenu%netscape.com
0264004c6c fix upgrading of 4.x filters which are moves to local folders r=alecf,a=scottip 37320
git-svn-id: svn://10.0.0.236/trunk@71470 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 22:19:47 +00:00
bienvenu%netscape.com
add0838067 fix crash downloading headers on non imap4 rev1 server, r=jefft,mscott a=scottip 33159
git-svn-id: svn://10.0.0.236/trunk@71469 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 22:16:58 +00:00
bienvenu%netscape.com
864f3506fa fix 33614 problem with delete filters, and fix another trash flag problem, and flush search stuff r=alecf,a=scottip
git-svn-id: svn://10.0.0.236/trunk@71468 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 22:15:56 +00:00
bienvenu%netscape.com
44e7734ff1 fix 33614 problem with delete filters, r=alecf,a=scottip
git-svn-id: svn://10.0.0.236/trunk@71467 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 22:12:23 +00:00
brendan%mozilla.org
1a2aed2153 Fix missing $ bug when testing test_dir.
git-svn-id: svn://10.0.0.236/trunk@71466 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 19:20:03 +00:00
leaf%mozilla.org
49fea38afa Automated update
git-svn-id: svn://10.0.0.236/trunk@71465 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 19:15:09 +00:00
sgehani%netscape.com
f90e0e58bc Reinstating zlib rules to pick shared object if it exists. Checking in for
cls@seawood.org -- reinstating rules per rev 1.657.  [r=sgehani]


git-svn-id: svn://10.0.0.236/trunk@71464 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 19:13:20 +00:00
sgehani%netscape.com
3dc4c99874 New zlib linkage requires it in xpcom.xpi. Checking in for cls@seawood.org.
[b=41255, r=sgehani]


git-svn-id: svn://10.0.0.236/trunk@71463 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 19:05:35 +00:00
brendan%mozilla.org
43a21cdfce Avoid zero-length malloc (and assertbotch) in array_sort, just return true early\!
git-svn-id: svn://10.0.0.236/trunk@71462 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 19:00:28 +00:00
morse%netscape.com
a2b3543088 fix bug 41366, regression caused when global change was made of all string assignment statements
git-svn-id: svn://10.0.0.236/trunk@71461 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 18:39:50 +00:00
wtc%netscape.com
0d65bb79ea Fixed typo. Thanks to whoever posted a patch in mozilla.patches.
(I can't connect to the news server right now.)


git-svn-id: svn://10.0.0.236/trunk@71460 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 18:20:32 +00:00
warren%netscape.com
af5d710207 Fixed nsIMemory implementation.
git-svn-id: svn://10.0.0.236/trunk@71459 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 16:31:16 +00:00
warren%netscape.com
756aefc159 Fixing nsIAllocator for mac.
git-svn-id: svn://10.0.0.236/trunk@71458 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 11:47:49 +00:00
ben%netscape.com
3044d419c0 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@71457 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 11:16:42 +00:00
ben%netscape.com
ea5f44c5d7 fix makefiles
git-svn-id: svn://10.0.0.236/trunk@71456 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 11:13:14 +00:00
ben%netscape.com
5c70244250 add online/offline indicator icons
git-svn-id: svn://10.0.0.236/trunk@71455 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 11:12:41 +00:00
ben%netscape.com
1a292d00d9 add work offline checkbox
git-svn-id: svn://10.0.0.236/trunk@71454 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 10:37:47 +00:00
ben%netscape.com
d086ae1f8e add offline checkbox
git-svn-id: svn://10.0.0.236/trunk@71453 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 10:37:08 +00:00
ben%netscape.com
dc9a4f95bb (offline indicator)
git-svn-id: svn://10.0.0.236/trunk@71452 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 10:36:17 +00:00
ben%netscape.com
6a4c3b84a7 add offline indicator to statusbar and menu
git-svn-id: svn://10.0.0.236/trunk@71451 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 10:34:33 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
andreas.otte%primus-online.de
1129de8b91 fix bug 40030 [nsMsgMailNewsUrl does not implement Get/SetFileBaseName], r=mscott@netscape.com, a=waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@71449 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:19:11 +00:00
andreas.otte%primus-online.de
d18bdcd9e3 fix reopened bug 27930 [URL parser should support RFC 2732 - IPv6 address literals] and bug 39340 [regression: file:/ URLs no longer work], r=gagan@netscape.com, a=waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@71448 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:17:16 +00:00
warren%netscape.com
d20fd6573f added files: mozilla/xpcom/base/nsMemoryImpl.cpp
git-svn-id: svn://10.0.0.236/trunk@71447 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 08:32:22 +00:00
warren%netscape.com
b1d33fea7a Fixed file name.
git-svn-id: svn://10.0.0.236/trunk@71446 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 07:30:36 +00:00
warren%netscape.com
b227247519 Fixed file name.
git-svn-id: svn://10.0.0.236/trunk@71445 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 07:30:13 +00:00
warren%netscape.com
53789ecc03 Adding nsIMemory interface (replacement for nsIAllocator). Part of xpcom API freeze.
git-svn-id: svn://10.0.0.236/trunk@71444 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 07:12:22 +00:00
warren%netscape.com
819d3adedc added files: mozilla/xpcom/base/nsIMemory.idl
git-svn-id: svn://10.0.0.236/trunk@71443 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 07:06:04 +00:00
warren%netscape.com
b6e761115b Adding nsIMemory interface (replacement for nsIAllocator). Part of xpcom API freeze.
git-svn-id: svn://10.0.0.236/trunk@71442 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 07:02:20 +00:00
ben%netscape.com
ecb1146151 get button handling right for drop-on-home dialog
git-svn-id: svn://10.0.0.236/trunk@71441 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 02:40:33 +00:00
ben%netscape.com
5dbcaf0e09 add formatting style to classic skin (not part of build)
git-svn-id: svn://10.0.0.236/trunk@71440 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 02:32:51 +00:00
ben%netscape.com
f8158127c7 text changes
git-svn-id: svn://10.0.0.236/trunk@71439 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 02:32:30 +00:00
ben%netscape.com
c7ef0a3574 dialog height fix
git-svn-id: svn://10.0.0.236/trunk@71438 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 02:32:17 +00:00
ben%netscape.com
6ef6919291 d&d fix
git-svn-id: svn://10.0.0.236/trunk@71437 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 02:31:40 +00:00
morse%netscape.com
f67bdb0cda add extra checking to avoid potential crashes, r=thayes
git-svn-id: svn://10.0.0.236/trunk@71436 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 02:28:03 +00:00
evaughan%netscape.com
2b0cd05d66 Just adding comments.
git-svn-id: svn://10.0.0.236/trunk@71435 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 02:12:19 +00:00
evaughan%netscape.com
d77e156f25 Patch from:
Davor Cubranic
Tomi Leppikangas

That implements middle mouse click to position on unix.

Bug #24117

-r evaughan -a brendan


git-svn-id: svn://10.0.0.236/trunk@71434 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 02:07:52 +00:00
bryner%uiuc.edu
f4244fb922 Fixing nsbeta2+ bug 3025 - filepicker now remembers a filename you type in
if you change directories.  r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@71433 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 01:51:55 +00:00
tajima%eng.sun.com
cd012c3e8a fix: [Bug 39806] Changed - Crash when I do File->Edit Page
r=kin@netscape.com, a=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@71432 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 01:49:44 +00:00
ben%netscape.com
add94bfbfa common dialog code cleanup.
git-svn-id: svn://10.0.0.236/trunk@71431 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 01:03:23 +00:00
ben%netscape.com
b5ba57cd4f style support for generic element with margins
git-svn-id: svn://10.0.0.236/trunk@71430 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 01:02:28 +00:00
rginda%netscape.com
57932f7efa s/nsCOMPtr<nsIScrollableView>/nsIScrollableView */ because views are not refcounted.
r=jst,a=brendan


git-svn-id: svn://10.0.0.236/trunk@71429 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 01:01:48 +00:00
alecf%netscape.com
887462233d part of fix for #20166 - use weak refs to reduce ownership cycles in IMAP - prevents leaks of nsImapIncomingServer, which reduces a whole tree of leaks.. also release the imapserversink at the right time (thanks to bienvenu for that one)
r=bienvenu,jefft,pavlov


git-svn-id: svn://10.0.0.236/trunk@71428 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 00:51:04 +00:00
scc%mozilla.org
208df9930b Exploiting a user-defined |operator->()| when the result is a pointer to a primitive type is problematic for the OS/2 VisualAge compiler. Eliminate such uses in the new string facilities. These are stragglers missed in an earlier checkin.
git-svn-id: svn://10.0.0.236/trunk@71427 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 00:38:06 +00:00
sspitzer%netscape.com
90d9ab6fad partial fixes for #40662 and #41170 for jefft.
twisting open an imap server / folder needs to do some discovery.

also, catch an exception caused by tooltips & twisties.
putterman owns the real bug, but this will prevent noise to the console.

also, some bullet proofing code to prevent a random crash I was seeing.
(now we just assert.)


git-svn-id: svn://10.0.0.236/trunk@71426 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 00:22:07 +00:00
jefft%netscape.com
ad5f7dd81e fixed bug 41151 -- sending illegal uid search command; r=bienvenu,a=scottip
git-svn-id: svn://10.0.0.236/trunk@71425 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 00:17:33 +00:00
wtc%netscape.com
cd797e2171 Corrected typo.
git-svn-id: svn://10.0.0.236/trunk@71424 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 00:14:32 +00:00
rginda%netscape.com
a7283ff176 --CHATZILLA CHANGES ONLY--
type=content in xul window to allow mouse selections, fixed debug message in gotoIRCURL()


git-svn-id: svn://10.0.0.236/trunk@71423 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 00:11:57 +00:00
javi%netscape.com
ca57ce7938 Fixing Mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@71422 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 00:05:33 +00:00
mkaply%us.ibm.com
d33425b5fa # 37239
r = jst, a = brendan
OS/2 bringup - PR_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@71421 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 00:00:01 +00:00
javi%netscape.com
498e80f1de Missed these the first time around.
git-svn-id: svn://10.0.0.236/trunk@71420 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:58:59 +00:00
javi%netscape.com
ba9e08495d Work around for a bug w/ Mozilla where the KEYGEN window blocks forever
and prevents PSM from exiting when Mozilla quits.


git-svn-id: svn://10.0.0.236/trunk@71419 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:57:25 +00:00
hyatt%netscape.com
3573a15f36 Removing old bindings. Does not affect build.
git-svn-id: svn://10.0.0.236/trunk@71418 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:46:37 +00:00
hyatt%netscape.com
b3a26f4b17 Adding hbox and vbox. Not used. Does not affect build.
git-svn-id: svn://10.0.0.236/trunk@71417 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:43:10 +00:00
warren%netscape.com
34336ac6a1 Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71416 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:41:43 +00:00
warren%netscape.com
d9314a9d34 Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71415 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:39:45 +00:00
cata%netscape.com
92a3f57164 Fixing bug #31708, a=ftang, r=erik.
git-svn-id: svn://10.0.0.236/trunk@71414 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:31:52 +00:00
tao%netscape.com
4cc8f03995 40801: Need a scriptable API of ChromeRegistry to return current locale provider name.
r=waterson,a=hyatt,msanz.


git-svn-id: svn://10.0.0.236/trunk@71413 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:16:06 +00:00
cmanske%netscape.com
9c8c46e963 Fixed list box bustage. b=36366. r=sfraser, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71412 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:15:37 +00:00
mcgreer%netscape.com
d7f3d2ca81 iterate context creation for all ciphers when doing performance tests.
git-svn-id: svn://10.0.0.236/trunk@71411 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:09:13 +00:00
mkaply%us.ibm.com
24428882a8 # 37239
r = pinkerton, a = brendan
OS/2 bringup - PR_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@71410 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:07:15 +00:00
cmanske%netscape.com
494609a7d0 Fix for table selection performance problems. b=41045, r=mjudge, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71409 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:05:06 +00:00
mkaply%us.ibm.com
e11a081ae9 # 37239
r = jst, a = brendan
OS/2 bringup - PR_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@71408 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:04:50 +00:00
mkaply%us.ibm.com
82b2a867f4 # 37239
r = nisheeth, a = brendan
OS/2 bringup - false should be PR_FALSE


git-svn-id: svn://10.0.0.236/trunk@71407 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:00:41 +00:00
waterson%netscape.com
f39433e11c Bug 41321. Use PRUnichar* instead of nsString* to store string values for nsCSSValue and nsHTMLValue. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@71406 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:54:35 +00:00
sgehani%netscape.com
6a5e71f874 Test file: not part of build.
git-svn-id: svn://10.0.0.236/trunk@71405 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:52:29 +00:00
sspitzer%netscape.com
9479db2fe4 fix for #41358. remove misleading ui from account wizard. it was supposed to
be for pushed auth, but that is not implemented yet.  r=mscott


git-svn-id: svn://10.0.0.236/trunk@71404 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:48:52 +00:00
evaughan%netscape.com
0c7c3e2831 Fixed build horkage.
git-svn-id: svn://10.0.0.236/trunk@71403 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:48:36 +00:00
javi%netscape.com
432ffa7be3 r=thayes a=lord
Bug#24886
checking in code for mozilla to do CRMF issuance.
With the right version of PSM, Netscape employess can now get certs.


git-svn-id: svn://10.0.0.236/trunk@71402 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:46:41 +00:00
mcgreer%netscape.com
bb06d7fb45 fork content version between ns-branded builds and mozilla builds.
git-svn-id: svn://10.0.0.236/trunk@71401 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:35:29 +00:00
scc%mozilla.org
884619a3cd VisualAge doesn't like declarations in if/for expressions. r=waterson
git-svn-id: svn://10.0.0.236/trunk@71400 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:35:01 +00:00
mkaply%us.ibm.com
af0091df3c # 37239
r = rusty.lynch, a = brendan
OS/2 bringup - OS/2 doesn't go down these XP_PC paths


git-svn-id: svn://10.0.0.236/trunk@71399 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:32:53 +00:00
mstoltz%netscape.com
e78997b8c0 bug 40215. r=rginda, a=clayton.
git-svn-id: svn://10.0.0.236/trunk@71398 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:27:28 +00:00
mstoltz%netscape.com
02532660a5 On Mac, we should look for systemSignature.jar in Essential FIles, not the bin directory. Bug 40468, r=sgehani, a=clayton.
git-svn-id: svn://10.0.0.236/trunk@71397 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:22:11 +00:00
yueheng.xu%intel.com
ee347b5e0a fixed #39640 (regression of UnicodeToGB2312GL converter) and #34626( optimization of table initialization. Do it only when it is needed at first time). r=ftang, a=waterson.
git-svn-id: svn://10.0.0.236/trunk@71396 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:18:42 +00:00
rhp%netscape.com
294eb502df Fix for crasher bug on Save as Draft - Bug #: 38561 - r: xxxxx
git-svn-id: svn://10.0.0.236/trunk@71395 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:17:33 +00:00
evaughan%netscape.com
c0eba57baa Made grids scroll for dogfood bug 30511.
-r hyatt


git-svn-id: svn://10.0.0.236/trunk@71394 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:15:09 +00:00
hyatt%netscape.com
d44fd890fc Fix for docshell regression. bug#41090, r=law
git-svn-id: svn://10.0.0.236/trunk@71393 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:13:51 +00:00
mkaply%us.ibm.com
e1c3883c93 # 40177
r = cls,pavlov, a = brendan
OS/2 bringup - addition export of header, similar to makefile.win


git-svn-id: svn://10.0.0.236/trunk@71392 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:47:39 +00:00
attinasi%netscape.com
3da8003982 Implemented QuirkMode style sheet and moved some initial quirk style rules from html.css to the new quirk.css. b=38026 r=rods a=karnaze
git-svn-id: svn://10.0.0.236/trunk@71391 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:45:06 +00:00
attinasi%netscape.com
8071a7618a QuirkMode style sheet: b=38026 r=rods a=karnaze
git-svn-id: svn://10.0.0.236/trunk@71390 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:38:33 +00:00
tara%tequilarista.org
21f95c377c Landing fix for keyword column handling--bug #39647
git-svn-id: svn://10.0.0.236/trunk@71389 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:34:37 +00:00
mkaply%us.ibm.com
54e45a070c # 40177
r = cls, a = brendan
OS/2 bringup - new OS/2 makefiles


git-svn-id: svn://10.0.0.236/trunk@71388 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:33:43 +00:00
ruslan%netscape.com
b71f202bd0 Fix 41269. WIP on 31189. r/a=gagan
git-svn-id: svn://10.0.0.236/trunk@71387 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:02:31 +00:00
rods%netscape.com
149c755d54 setting legend's border to none so it loks better
b=36065, r=rickg


git-svn-id: svn://10.0.0.236/trunk@71386 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 21:01:20 +00:00
rods%netscape.com
0a4ad0ede1 no longer subtracting off scrollbar width when mComputedSize is set
b=36548, r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@71385 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:59:57 +00:00
brade%netscape.com
7d358cfcd5 #ifdef appropriately for ENDER_LITE (especially Macintosh); blocking Macintosh development; bug #41323; a=beppe; r=kin; a/r=mjudge
git-svn-id: svn://10.0.0.236/trunk@71384 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:57:10 +00:00
av%netscape.com
eca9eb91a5 Fixing 40765, r=buster, a=hamerly
git-svn-id: svn://10.0.0.236/trunk@71383 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:20:35 +00:00
mkaply%us.ibm.com
8d9edd3b35 # 37239
r = mkaply, a = brendan
OS/2 bringup - need a cast for OS/2 - OS/2 only


git-svn-id: svn://10.0.0.236/trunk@71382 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:15:33 +00:00
mkaply%us.ibm.com
a45a6e3453 # 37239
r = mkaply, a = brendan
OS/2 bringup - remove some typedefs


git-svn-id: svn://10.0.0.236/trunk@71381 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:14:56 +00:00
mkaply%us.ibm.com
051369d559 # 37239
r = mkaply, a = brendan
OS/2 bringup - Wrong library name


git-svn-id: svn://10.0.0.236/trunk@71380 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:13:41 +00:00
waterson%netscape.com
c802dd3916 Bugs 41279, 41280, 41290. Implement NS_ConvertUTF8toUCS2, r=ftang. Fix NS_ConvertUCS2toUTF8 to set mLength, r=ftang. Re-implement ToNew[*]String to be less bloaty, r=scc,brendan
git-svn-id: svn://10.0.0.236/trunk@71379 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:06:54 +00:00
rods%netscape.com
8eb721e625 this change works better for standard mode and gets around a style bug.
b 38927, r=attinasi


git-svn-id: svn://10.0.0.236/trunk@71378 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:03:12 +00:00
javi%netscape.com
8533b99aca Change the name of the OCSP URL from "location" to "ocspLocation" so Mozilla
doesn't get confused and try to change the web site we're viewing.

This is a work around because that bug will not be fixed for Beta2 in Mozilla.


git-svn-id: svn://10.0.0.236/trunk@71377 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 19:03:48 +00:00
endico%mozilla.org
98e29568f5 allow the reporter of a bug to change the status of a bug (e.g. reopen it) even if they don't have the editbug bit set.
git-svn-id: svn://10.0.0.236/trunk@71376 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 18:54:55 +00:00
mcgreer%netscape.com
f25459bc76 Allow for building with internal roots.
git-svn-id: svn://10.0.0.236/trunk@71375 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 18:37:53 +00:00
mcgreer%netscape.com
937b2f9c3c Allow for building with internal root certs.
git-svn-id: svn://10.0.0.236/trunk@71374 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 18:37:14 +00:00
leaf%mozilla.org
d622ae3143 Automated update
git-svn-id: svn://10.0.0.236/trunk@71373 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 16:00:13 +00:00
sgehani%netscape.com
83d64116d6 Unhork Linux installer by reinstating zlib linkage rules.
b=41255
r=pavlov
a=granrose


git-svn-id: svn://10.0.0.236/trunk@71372 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 15:51:39 +00:00
rusty.lynch%intel.com
f1aabdc34b Fix for bug #40997. a=warren
git-svn-id: svn://10.0.0.236/trunk@71371 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 15:50:36 +00:00
rods%netscape.com
0d2a64ae4e now checks to see if an explicit width or height is being set and then set the maxElementSize properly
it already did this for NavQuirks, this is for Standard mode
Bug 40621 r=dcone


git-svn-id: svn://10.0.0.236/trunk@71370 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 14:37:27 +00:00
rods%netscape.com
aec587772e ifdef for mac event processing of access keys
bug=7559 r=dcone


git-svn-id: svn://10.0.0.236/trunk@71369 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 14:20:50 +00:00
rods%netscape.com
12bf4c29f0 added hover cursor change for type=image Bug 40440
made inner rect for focus have inherit for color instead of hard-coded gray Bug 38927
also added quotes to several selectors (i.e. from type=xxx to type="xxx")
r=dcone,attinasi


git-svn-id: svn://10.0.0.236/trunk@71367 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 13:58:19 +00:00
dcone%netscape.com
265eb0546d Removed and extra fopen.. r=rods b=40220
git-svn-id: svn://10.0.0.236/trunk@71366 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 13:58:02 +00:00
svn%xmlterm.org
5447f38035 --NOT PART OF DEFAULT BUILD--
XMLterm changes only. Updated bug documentation.


git-svn-id: svn://10.0.0.236/trunk@71365 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 13:32:36 +00:00
brade%netscape.com
c700501582 File Removed.
git-svn-id: svn://10.0.0.236/trunk@71364 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 13:16:03 +00:00
brade%netscape.com
e0201e8fe0 cleanup; removed EditorStyles1.css
git-svn-id: svn://10.0.0.236/trunk@71363 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 13:14:09 +00:00
brade%netscape.com
bea5fe26cd cleanup; remove EditorStyles1.css
git-svn-id: svn://10.0.0.236/trunk@71362 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 13:13:46 +00:00
ben%netscape.com
10b45586f6 [perf] Reduce the number of webshells used to load a simple alert/confirm dialog
git-svn-id: svn://10.0.0.236/trunk@71361 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 13:06:39 +00:00
brade%netscape.com
d283faa318 File Removed.
git-svn-id: svn://10.0.0.236/trunk@71360 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 13:02:35 +00:00
brade%netscape.com
e1ce0eb860 File Removed.
git-svn-id: svn://10.0.0.236/trunk@71359 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 12:56:17 +00:00
jj%netscape.com
79bd3eea02 #40724: update milestone to M16 (Finder's get info string)
git-svn-id: svn://10.0.0.236/trunk@71358 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 11:40:44 +00:00
alecf%netscape.com
4c7c0b1914 re-disabling search menu for 33101
git-svn-id: svn://10.0.0.236/trunk@71357 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 08:57:28 +00:00
alecf%netscape.com
50b80faf90 just adding default access key for view menu so we can see it in mail
git-svn-id: svn://10.0.0.236/trunk@71356 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 08:55:26 +00:00
dveditz%netscape.com
fc7f157c2b fixing package lists
git-svn-id: svn://10.0.0.236/trunk@71355 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 08:13:34 +00:00
hyatt%netscape.com
f3981f6181 Tree/grid foundation work.
git-svn-id: svn://10.0.0.236/trunk@71354 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 08:13:29 +00:00
dveditz%netscape.com
8d0aa679cb fixing two .xpt files of same name, raptor.xpt on windows and layout.xpt on unix. One version was getting overwritten
git-svn-id: svn://10.0.0.236/trunk@71353 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 08:12:57 +00:00
hyatt%netscape.com
1fd7508357 Tree/grid XBL foundation work.
git-svn-id: svn://10.0.0.236/trunk@71352 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 08:11:55 +00:00
hyatt%netscape.com
995558fbd0 More XBL work for tree/grid rewrite.
git-svn-id: svn://10.0.0.236/trunk@71351 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 08:11:27 +00:00
dveditz%netscape.com
b6d34294eb solving missing .xpt file install issue
git-svn-id: svn://10.0.0.236/trunk@71350 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 08:10:41 +00:00
jfrancis%netscape.com
af793dca0e backend work for 41034: getting format feedback and list feedback untangled from each other.
git-svn-id: svn://10.0.0.236/trunk@71349 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 07:47:53 +00:00
ben%netscape.com
1ad232acd2 d&d tweaks
git-svn-id: svn://10.0.0.236/trunk@71348 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 07:10:47 +00:00
pavlov%netscape.com
8bcfabfa3d make this test actually work
git-svn-id: svn://10.0.0.236/trunk@71347 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 06:54:51 +00:00
jfrancis%netscape.com
695763bc3d fixes
41075: forward delete can delete wrong char,
41149: incorrect format feedback when in lists


git-svn-id: svn://10.0.0.236/trunk@71346 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 06:03:46 +00:00
thayes%netscape.com
e44968fb93 Bug 40349 - remove timeout on PSM recv and send ops. Rely entirely on
non-blocking mode instead.


git-svn-id: svn://10.0.0.236/trunk@71345 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 05:59:37 +00:00
ssu%netscape.com
653d391eb3 fixing bug #37168. Install.execute() is not working in xpinstall on all platforms. This fix is for windows only. Mac is coming up soon, then linux. a=dvedtiz, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@71344 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 05:34:44 +00:00
ben%netscape.com
8dbac75284 fix draggable scrollbars on mac
git-svn-id: svn://10.0.0.236/trunk@71343 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 05:28:11 +00:00
kin%netscape.com
273137df8e Fix for bug #41186: Drag & drop code is interfering with scrollbar operations
Modifed nsDragAndDrop.startDrag() so that it checks to see if it has
a list of flavours before it invokes a drag session.

r=mjudge@netscape.com  a=beppe@netscape.com


git-svn-id: svn://10.0.0.236/trunk@71342 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 05:19:39 +00:00
rpotts%netscape.com
d563d41bb5 The file channel needs to implement nsIProgressEventSink, so the channel parameter is *not* the file transport. Doing this means that the FileChannel also needs to implement nsIInterfaceRequestor...
git-svn-id: svn://10.0.0.236/trunk@71341 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 05:19:16 +00:00
rpotts%netscape.com
2cfc6b829d Propagate load attributes down into the file transport. This avoids generating unnecessary calls if the URI is LOAD_BACKGROUND...
git-svn-id: svn://10.0.0.236/trunk@71340 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 05:15:13 +00:00
waldemar%netscape.com
89fc65eb7c Added parsing and printing of classes, interfaces, and namespaces
git-svn-id: svn://10.0.0.236/trunk@71339 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 04:35:44 +00:00
waterson%netscape.com
aeed9836c3 Bug 29611. Use 'GetHref()' to retrieve anchor tag's href. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@71338 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 04:27:47 +00:00
rusty.lynch%intel.com
5ed479ebb0 Adding a reference to the new SANE sample plugin directory.
This is part of a fix for bug #25068.


git-svn-id: svn://10.0.0.236/trunk@71337 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 04:27:10 +00:00
rusty.lynch%intel.com
22441954ae Adding the SANE plugin as an example Linux XPCOM plugin.
This check-in related to bug #25068.  This isn't part of the build.


git-svn-id: svn://10.0.0.236/trunk@71336 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 04:11:45 +00:00
ben%netscape.com
9d00977e91 text changes
git-svn-id: svn://10.0.0.236/trunk@71335 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 03:50:42 +00:00
waterson%netscape.com
7746e3b0e6 Bug 41182. Set the resource channel's original URI to the 'chrome:' URI that spawned us. r=warren
git-svn-id: svn://10.0.0.236/trunk@71334 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 03:47:49 +00:00
ben%netscape.com
8d448eb362 fix a js error and make handling for the no-fonts-for-lang case (slightly) more elegant
git-svn-id: svn://10.0.0.236/trunk@71333 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 03:38:50 +00:00
mcafee%netscape.com
27dbfde542 Fixing copy link/image context menu to also copy selection to clipboard (Unix/X11 needs this). (39055) r=pavlov
git-svn-id: svn://10.0.0.236/trunk@71332 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 03:13:35 +00:00
sspitzer%netscape.com
1dd7b9f6f5 added files: mozilla/netwerk/base/public/nsIAuthenticator.idl
git-svn-id: svn://10.0.0.236/trunk@71331 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 03:08:40 +00:00
sspitzer%netscape.com
5e070cbda5 we can't use the localized pretty name for "Local Folders" for the
the hostname of the "Local Folders" server, or for the name of the
directory on disk.  if we did, as soon as someone localized "Local Folders"
migration would break.  while I'm here, only hard code these strings
once.  to allow people to build without mailnews, hard code them in nsIPrefMigration.idl

r=alecf


git-svn-id: svn://10.0.0.236/trunk@71330 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 02:49:06 +00:00
wtc%netscape.com
edd2af6a7d Bugzilla bug #40778: added new function PR_ConnectContinue and new
I/O method connectcontinue.  Deprecate PR_GetConnectStatus and define
it in terms of PR_ConnectContinue.
Modified files: prio.h, prfile.c, priometh.c, prlayer.c, prpolevt.c,
prsocket.c, ptio.c


git-svn-id: svn://10.0.0.236/trunk@71329 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 02:07:56 +00:00
mkaply%us.ibm.com
0dbacaf841 # 37239
r = mkaply, a = brendan
OS/2 bringup - Need charsets to bring the browser up


git-svn-id: svn://10.0.0.236/trunk@71328 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 01:58:50 +00:00
rjc%netscape.com
f2d1a6bc83 Small search fix: r=ben a=don (Past of last search checkin)
git-svn-id: svn://10.0.0.236/trunk@71327 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 01:56:04 +00:00
mcgreer%netscape.com
fa678d0a4a more performance testing
* timing of context creation for ciphers
* provide system information


git-svn-id: svn://10.0.0.236/trunk@71326 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 01:40:29 +00:00
rjc%netscape.com
1e3ce7b013 Fix PDT bug # 40369 & 39029: search UI changes to enable mode switching, and proper alias resolution. r=pavlov, a=dveditz,don
git-svn-id: svn://10.0.0.236/trunk@71325 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 01:40:20 +00:00
hyatt%netscape.com
cda3e97dc7 Make XBL props enumerable. r=brendan, a=brendan
git-svn-id: svn://10.0.0.236/trunk@71324 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 01:19:15 +00:00
pavlov%netscape.com
817c667cfb fix for dogfood+ bug 41124. event queues suck ass. i hate them. make them die. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@71323 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 01:14:35 +00:00
attinasi%netscape.com
14c878a64a New script for down-and-dirty collection of performance data (author:waterson).
git-svn-id: svn://10.0.0.236/trunk@71322 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:53:52 +00:00
attinasi%netscape.com
388ca85bdf New daily run numbers. not part of build
git-svn-id: svn://10.0.0.236/trunk@71321 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:53:07 +00:00
sfraser%netscape.com
e223b97770 Build script cleanup, adding ability to control plugin building. r=beard
git-svn-id: svn://10.0.0.236/trunk@71320 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:51:09 +00:00
shaver%mozilla.org
2af2b2ab9f use NS_METHOD to match _stdcall signature (I love you, Win32)
git-svn-id: svn://10.0.0.236/trunk@71319 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:50:16 +00:00
alecf%netscape.com
cf4336d992 put printf inside NOISY_FONTS to quiet down startup
git-svn-id: svn://10.0.0.236/trunk@71318 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:40:37 +00:00
alecf%netscape.com
65e3b2cb35 remove duplicate string from properties file, was causing warning on console at startup
git-svn-id: svn://10.0.0.236/trunk@71317 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:39:16 +00:00
alecf%netscape.com
ac0fae49ac quiet down the profile startup (only affects printfs in DEBUG builds!)
git-svn-id: svn://10.0.0.236/trunk@71316 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:36:24 +00:00
alecf%netscape.com
0cb8626b79 remove duplicate string from properties file (no reviewer, very simple!)
git-svn-id: svn://10.0.0.236/trunk@71315 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:29:09 +00:00
shaver%mozilla.org
8f3b031585 make HTTP auth pluggable (#39781), r=gagan
git-svn-id: svn://10.0.0.236/trunk@71314 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:23:56 +00:00
wtc%netscape.com
e1f1f9c9a2 Added #include <string.h> for memset.
git-svn-id: svn://10.0.0.236/trunk@71313 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:23:12 +00:00
wtc%netscape.com
1eba55e3b3 Added #include <string.h> for strcmp and memset.
git-svn-id: svn://10.0.0.236/trunk@71312 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:21:37 +00:00
sspitzer%netscape.com
2cb917e33a forgot to package editor.js on win32.
thanks to dveditz for point this out.


git-svn-id: svn://10.0.0.236/trunk@71311 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:20:39 +00:00
wtc%netscape.com
3a02f0db40 Added parentheses to remove nested if-else ambiguity.
git-svn-id: svn://10.0.0.236/trunk@71310 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:20:31 +00:00
brendan%mozilla.org
4a68c03a16 Fix ECMA DontDelete compliance problems, which create getter/setter security holes (40760, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@71309 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:02:46 +00:00
mstoltz%netscape.com
22d07a424b Added default pref to turn off URI security checks. Bug 16858 r=warerson a=beard. See also 40538
git-svn-id: svn://10.0.0.236/trunk@71308 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 00:00:12 +00:00
mstoltz%netscape.com
8d64704489 Fix for 16858 w/o breaking directory browser. r=waterson a=beard
git-svn-id: svn://10.0.0.236/trunk@71307 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:57:48 +00:00
edburns%acm.org
30686697e8 Added processing of "END_DOCUMENT_LOAD" and MouseExited events.
git-svn-id: svn://10.0.0.236/trunk@71306 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:42:35 +00:00
nboyd%atg.com
b283c983bc Fix "in" operator for compiled mode.
git-svn-id: svn://10.0.0.236/trunk@71305 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:40:29 +00:00
jst%netscape.com
a6ba38337a Fixing nsbeta2+ bug 40197, a typo caused the doctype in a document to be found only found if it was the first child in the document. r=vidur, a=nisheeth
git-svn-id: svn://10.0.0.236/trunk@71304 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:40:26 +00:00
alecf%netscape.com
75c0ea3eb4 fix for #40385 - filters were not saving to disk because servers sometimes leak. Instead of relying on servers not leaking,
we will save the current filter list everytime you hit ok in the filters dialog (much like how the prefs window works)
r=sspitzer
a=putterman


git-svn-id: svn://10.0.0.236/trunk@71303 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:35:38 +00:00
attinasi%netscape.com
a9a853f825 Floated elements now get their display type set to a block, in compliance with the CSS1 specification. Also, positioned elements get their float property cleared. b=32200 r=karnaze a=karnaze
git-svn-id: svn://10.0.0.236/trunk@71302 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:31:00 +00:00
cata%netscape.com
7b9ceb6b07 Fixing bug #36954. r=erik a=ftang.
git-svn-id: svn://10.0.0.236/trunk@71301 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:21:22 +00:00
erik%netscape.com
782db7ef63 bug 32206; become an observer of nsIDocument's charset changes; r=buster;
a=ftang


git-svn-id: svn://10.0.0.236/trunk@71300 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:12:26 +00:00
erik%netscape.com
87636a76ae bug 32206; add charset observer methods; r=buster; a=ftang
git-svn-id: svn://10.0.0.236/trunk@71299 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:11:40 +00:00
erik%netscape.com
98cb599fde bug 32206; add notifiers for charset changes; r=buster; a=ftang
git-svn-id: svn://10.0.0.236/trunk@71298 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:10:44 +00:00
edburns%acm.org
8001fb2a87 Added StatusBar for URL messages.
git-svn-id: svn://10.0.0.236/trunk@71297 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:10:33 +00:00
endico%mozilla.org
dd7c74be48 added comment to value_quote referencing bugs with quoting linebreaks
git-svn-id: svn://10.0.0.236/trunk@71296 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:09:14 +00:00
sspitzer%netscape.com
620c1e0e28 turn off mjudge's printf for everyone but mjudge
git-svn-id: svn://10.0.0.236/trunk@71295 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 23:04:46 +00:00
jst%netscape.com
7fef41cc2b Fixing dogfood+ bug 40571, various problems with multiple form objects with the same name. r=vidur
git-svn-id: svn://10.0.0.236/trunk@71294 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 22:55:19 +00:00
sfraser%netscape.com
f92cf61e0b Fix for 41006 -- fix for overlapping text when drawing text runs. r=ftang
git-svn-id: svn://10.0.0.236/trunk@71293 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 22:54:49 +00:00
sfraser%netscape.com
da5f71f1f3 Fix for bug 39811 -- make font prefs work for non-unicode text drawing. r=ftang.
git-svn-id: svn://10.0.0.236/trunk@71292 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 22:53:47 +00:00
sspitzer%netscape.com
ee6722561c move the string parsing into the imap server code, since right now, it is only
needed for imap.  r=mscott.


git-svn-id: svn://10.0.0.236/trunk@71291 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 22:49:46 +00:00
ruslan%netscape.com
2eb57c7b05 Fix 39941; a=gagan
git-svn-id: svn://10.0.0.236/trunk@71290 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 22:47:53 +00:00
sfraser%netscape.com
acd0c8f56d Fix the headers output file. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@71289 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 22:44:12 +00:00
edburns%acm.org
e547313630 If BAL_INTERFACE is defined in the build environment, produce
webclient_bal.{lib,dll} instead of webclient.{lib,dll}.


git-svn-id: svn://10.0.0.236/trunk@71288 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 22:41:31 +00:00
sfraser%netscape.com
cbd07c74c6 Adding bin\components\raptor.xpt to fix 41214. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@71287 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 22:38:46 +00:00
idk%eng.sun.com
93fc1af8c1 DOM viewer enhancement
a=sdv@sparc.spb.su
r=idk@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@71286 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 20:42:29 +00:00
cathleen%netscape.com
a298bc1323 missed a few files for dogfood bug 38603 r=dveditz a=dveditz
git-svn-id: svn://10.0.0.236/trunk@71285 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 20:08:09 +00:00
nboyd%atg.com
e217417b5f Add column number and line source information to the EcmaError object.
git-svn-id: svn://10.0.0.236/trunk@71283 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 17:30:28 +00:00
kin%netscape.com
6a5b5b265c Changed bogus "event" reference to "aEvent" in contentAreaDNDObserver.onDragStart().
This should fix the D&D of selection regression.
a=beppe@netscape.com


git-svn-id: svn://10.0.0.236/trunk@71282 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 16:06:06 +00:00
mkaply%us.ibm.com
3a3b8eee41 # 37239
r = mkaply, a = brendan
OS/2 bringup - Print support


git-svn-id: svn://10.0.0.236/trunk@71279 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 14:56:21 +00:00
mkaply%us.ibm.com
948d2ffb34 # 40177
r = leaf, a = brendan
OS/2 bringup - Adding proper SHORTNAME support and LIB_SUFFIX


git-svn-id: svn://10.0.0.236/trunk@71278 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 14:54:20 +00:00
valeski%netscape.com
6ccd64e40a 41110. nsIWebshellWindow erradication. removing extraneous usage.
git-svn-id: svn://10.0.0.236/trunk@71277 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 14:54:16 +00:00
mkaply%us.ibm.com
cdecb558da # 40177
r = leaf, a = brendan
OS/2 bringup - Removing OS/2 stuff we don't need anymore - changing NSPR_LIBS and XPCOM_LIBS to MOZ_COMPONENT_LIBS


git-svn-id: svn://10.0.0.236/trunk@71276 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 14:33:27 +00:00
valeski%netscape.com
b7624cbc5f 41110. eradicating nsIWebshellWindow usage. These are extraneous usages.
git-svn-id: svn://10.0.0.236/trunk@71275 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 14:29:43 +00:00
mkaply%us.ibm.com
6dcf045e8c # 37239
r = leaf, a = brendan
OS/2 bringup - addition of SHORTNAME for DLL


git-svn-id: svn://10.0.0.236/trunk@71274 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 14:28:31 +00:00
mkaply%us.ibm.com
b31c84dd61 # 37239
r = mkaply, a = brendan
Rewrite of OS/2 timer code


git-svn-id: svn://10.0.0.236/trunk@71273 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 14:26:49 +00:00
mkaply%us.ibm.com
fbccbd9e7d # 40177
r = leaf, a = brendan
OS/2 M16 bringup continues - Mispelling in BIN_SUFFIX and adding LIB_SUFFIX


git-svn-id: svn://10.0.0.236/trunk@71272 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 14:20:14 +00:00
mkaply%us.ibm.com
d4448c3496 # 40177
r = leaf, a = brendan
OS/2 M16 bringup continues - OS/2 only change for linker name and parameter


git-svn-id: svn://10.0.0.236/trunk@71271 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 14:17:35 +00:00
mkaply%us.ibm.com
254b8674d0 # 40177
r = leaf, a = brendan
Fix tab in makefile


git-svn-id: svn://10.0.0.236/trunk@71270 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 14:15:39 +00:00
mkaply%us.ibm.com
6941df5828 # 37239
r = gagan, a = brendan
OS/2 bringup on M16 continues - #ifdefs for OS/2


git-svn-id: svn://10.0.0.236/trunk@71269 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 14:14:46 +00:00
mkaply%us.ibm.com
cfb19645f9 # 37239
r = valeski, a = brendan
OS/2 bringup on M16 continues - PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@71268 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 14:12:05 +00:00
valeski%netscape.com
45daaf0069 41110. nsIWebshellWindow erradication effort. This cleans mail/news. r=rhp
git-svn-id: svn://10.0.0.236/trunk@71267 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 13:55:22 +00:00
leaf%mozilla.org
e69c81c5d6 adding the check-modules.pl script so modules editors can check the
integrity of the modules file *before* breaking the repository.
I couldn't figure out how to get commitinfo to do this on the server side
before commitment.


git-svn-id: svn://10.0.0.236/trunk@71266 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 11:03:22 +00:00
cls%seawood.org
78bf0101de Include <ctype.h> to resolve isspace(). Needed for BeOS.
git-svn-id: svn://10.0.0.236/trunk@71265 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 10:42:45 +00:00
cls%seawood.org
651b12ea7a Moved declaration of 'nsresult rv' for platforms w/o REPEATING_TIMERS (BeOS). Again.
git-svn-id: svn://10.0.0.236/trunk@71264 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 10:28:38 +00:00
leaf%mozilla.org
100436c86f adding mozilla/directory/xpcom to SeaMonkeyBrowser (part of SeaMonkeyAll)
so we can have some ldap support, rheeeeet! -leaf


git-svn-id: svn://10.0.0.236/trunk@71263 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 09:20:39 +00:00
sgehani%netscape.com
752131c8b7 Partial fix for crash on exit of Linux GTK installer. [b=36781, r=ssu]
git-svn-id: svn://10.0.0.236/trunk@71262 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 09:09:40 +00:00
waterson%netscape.com
e3d43a8f85 Support for --enable-malloc-tracing.
git-svn-id: svn://10.0.0.236/trunk@71261 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 09:01:56 +00:00
sgehani%netscape.com
4a13f454bd Dogfood fix for subfolder problem when setting XPInstall's notion of prog dir. [b=41002, r=dveditz]
git-svn-id: svn://10.0.0.236/trunk@71260 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 08:53:52 +00:00
cls%seawood.org
ecb87b3bb3 Apparently beos was left out of an api change. Thanks to Justin Morey <justin@68k.org> for the fix.
git-svn-id: svn://10.0.0.236/trunk@71259 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 08:27:44 +00:00
dveditz%netscape.com
83373d0402 script changes for dogfood bug 41002, getting chrome registered on a Mac install, r=sgehani
git-svn-id: svn://10.0.0.236/trunk@71258 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 07:56:25 +00:00
leaf%mozilla.org
5d422c0c74 fixing 35196, but with due diligence this time. r=hyatt,bruce a=waterson
git-svn-id: svn://10.0.0.236/trunk@71257 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 07:01:54 +00:00
cls%seawood.org
90402fac86 According to mjudge's caret api checkin comments, I think this is the proper fix for the xmlterm bustage. a=leaf
git-svn-id: svn://10.0.0.236/trunk@71256 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 06:58:16 +00:00
ben%netscape.com
ab32162f9a add nsIPref utility wrapper (code cleanup)
git-svn-id: svn://10.0.0.236/trunk@71255 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 06:36:18 +00:00
ben%netscape.com
b2cbc4902e adding nsIPref utility wrapper
git-svn-id: svn://10.0.0.236/trunk@71254 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 06:35:57 +00:00
leaf%mozilla.org
4ed4e28cb8 Automated update
git-svn-id: svn://10.0.0.236/trunk@71253 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 06:30:09 +00:00
waterson%netscape.com
9269648bfe Add --trace-malloc hook.
git-svn-id: svn://10.0.0.236/trunk@71252 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 06:21:12 +00:00
waterson%netscape.com
c45b5a55b7 Add --enable-trace-malloc flag. r=cls
git-svn-id: svn://10.0.0.236/trunk@71251 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 06:20:40 +00:00
ben%netscape.com
899baeb91b make home button drop a little safer/smarter
git-svn-id: svn://10.0.0.236/trunk@71250 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 06:12:28 +00:00
scc%mozilla.org
b27d72b4ff Exploiting a user-defined |operator->()| when the result is a pointer to a primitive type is problematic for the OS/2 VisualAge compiler. Eliminate such uses in the new string facilities. r=waterson
git-svn-id: svn://10.0.0.236/trunk@71249 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 06:01:18 +00:00
rginda%netscape.com
a52ad6116a --CHATZILLA CHANGES ONLY--
a=brendan

* chatzilla-service.js
added components required for irc:// urls.

* command-manager.js
sort names before returning

* connection-xpcom.js
added support for async reads.

* events.js
Added "yield" event type to break out of event processing.

* irc-debug.js
add MPL
show data for "senddata" type events.

* irc.js
add password param for server.login() method.
add key param for channel.join() method.
refactoring to use the connection's async read method if it's there
(it's not in connection-rhino.js yet.)

* utils.js
add hyphenateWord function.

* chatzilla.xul
add windowtype attribute.
apply exv@randomc.com 's userlist context menu patch.

* commands.js
apply cbegle@geocast.com 's /stalk and /unstalk patch.
update join, server, and attach commands to include new params.
alias leave part.
removed bogus comments.

* handlers.js
apply cbegle@geocast.com 's /stalk and /unstalk patch.
update join, server, and attach commands to include new params.
check for pending irc urls after connection is made.

* static.js
apply cbegle@geocast.com 's /stalk and /unstalk patch.
apply exv@randomc.com 's userlist context menu patch.
add long word rule to munger.
implement parseIRCURL() and gotoIRCURL() function.
implement doURLTest() to test the other two.


git-svn-id: svn://10.0.0.236/trunk@71248 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 05:31:04 +00:00
sspitzer%netscape.com
fe89c81f22 fix for #41099. fix migration problems due to "Local Folders" no comes from a string bundle.
git-svn-id: svn://10.0.0.236/trunk@71247 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 04:38:35 +00:00
beard%netscape.com
bab062eb70 bug #13848, build MRJ plugin in standard build.
git-svn-id: svn://10.0.0.236/trunk@71246 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 04:31:12 +00:00
beard%netscape.com
5736e48c7a bug #13848, removed an access path from BackwardAdaptor target.
git-svn-id: svn://10.0.0.236/trunk@71245 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 04:27:13 +00:00
sspitzer%netscape.com
828044e035 fix for bug #40248. I was using the category manager incorrectly.
thanks to bruce@cubik.org for pointing it out.


git-svn-id: svn://10.0.0.236/trunk@71244 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 04:14:34 +00:00
mjudge%netscape.com
47c6d13a01 removing warning
git-svn-id: svn://10.0.0.236/trunk@71243 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 04:02:49 +00:00
sspitzer%netscape.com
55740d377c make the subscribe i18n friendly when drilling down to find imap folders.
I need to use the folder path, not the folder name.  r=mscott


git-svn-id: svn://10.0.0.236/trunk@71242 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 03:59:14 +00:00
ben%netscape.com
45ee3b8c65 partial fix for 29403 and some text changes to open location dialog
git-svn-id: svn://10.0.0.236/trunk@71241 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 03:58:07 +00:00
sgehani%netscape.com
35e20a1317 Fixing broken installed build: adding urlbarhistory component.
[b=41131; r=syd]


git-svn-id: svn://10.0.0.236/trunk@71240 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 03:56:04 +00:00
ben%netscape.com
9d36afa596 partial fix for 29403
git-svn-id: svn://10.0.0.236/trunk@71239 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 03:56:00 +00:00
jbetak%netscape.com
f74e1eb3ec 39432 Crash when clicked on Language option in Prefs,
a,r=ftang


git-svn-id: svn://10.0.0.236/trunk@71238 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 03:39:53 +00:00
waldemar%netscape.com
f20b60ea74 Widened default line width to 30
git-svn-id: svn://10.0.0.236/trunk@71237 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 03:31:17 +00:00
waldemar%netscape.com
b956242026 Added function and constructor parsing and printing; fixed printing of blocks, compound statements, and ::
git-svn-id: svn://10.0.0.236/trunk@71236 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 03:30:58 +00:00
waldemar%netscape.com
64a453e946 Added two-argument linearBreak
git-svn-id: svn://10.0.0.236/trunk@71235 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 03:30:19 +00:00
waterson%netscape.com
9f5ea2ae18 Make more portable.
git-svn-id: svn://10.0.0.236/trunk@71234 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 03:23:19 +00:00
sspitzer%netscape.com
33ad06f5de fix for a bunch of subscribe problems.
#39263, imap subscribe only working to the second level deep
#40238, subscribed imap folders not showing up as subscribed.
#39261, imap folders showing up as full paths, not leaf names.

r=mscott


git-svn-id: svn://10.0.0.236/trunk@71233 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:41:03 +00:00
mjudge%netscape.com
26495f08d9 bug = 34896. changing caret use to not demand a presshell. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71232 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:39:52 +00:00
mjudge%netscape.com
3161e04a02 fixing caret usages. hiding caret now is done by giving the stack destructor a caret * not a presshell
git-svn-id: svn://10.0.0.236/trunk@71231 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:38:13 +00:00
mjudge%netscape.com
eaec62deed bug = 34896, r= hyatt. changing caret apis. this will demand that when a caret changes focus a call to setDOMSelection must be called to tell the caret what selection to listen to.
git-svn-id: svn://10.0.0.236/trunk@71230 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:37:40 +00:00
mjudge%netscape.com
6779a8a970 bug = 34896, r= hyatt, adding in preformatting as a viable reason to wrap.
git-svn-id: svn://10.0.0.236/trunk@71229 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:27:58 +00:00
waterson%netscape.com
3dba18490a Factored code to NS_TraceMallocStartupWithArgs(). r=brendan
git-svn-id: svn://10.0.0.236/trunk@71228 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:10:53 +00:00
waterson%netscape.com
5cc4533d98 Add NS_TraceMallocStartupArgs() so it's easier to factor between apprunner and other apps. Like viewer. r=brendan
git-svn-id: svn://10.0.0.236/trunk@71227 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:09:25 +00:00
waterson%netscape.com
ec44290f8f Ignore bloatblame.
git-svn-id: svn://10.0.0.236/trunk@71226 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:08:34 +00:00
pollmann%netscape.com
9ab3972a4e Bug 22983: Fix extra newlines in bugzilla updates when not logged into bugzilla on Linux. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@71225 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:04:51 +00:00
pollmann%netscape.com
1149bcb1f6 Bug 39867: Fix uninitialized variable problem that was causing Mac to not post after unchecking "show again" box in warning dialog. r=harishd
git-svn-id: svn://10.0.0.236/trunk@71224 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 02:02:39 +00:00
brendan%mozilla.org
41bd9bd59f Push monitor down to avoid overhead when suppressing tracing (r=waterson).
git-svn-id: svn://10.0.0.236/trunk@71223 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:53:52 +00:00
hyatt%netscape.com
d97eaa71bb New tree grid bindings.
git-svn-id: svn://10.0.0.236/trunk@71222 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:49:45 +00:00
hyatt%netscape.com
f2e72fc30d New grid tree bindings.
git-svn-id: svn://10.0.0.236/trunk@71221 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:49:14 +00:00
jbetak%netscape.com
c063ac3bff 18022, bookmark doc charset caching
r=rjc, ftang, a=ftang


git-svn-id: svn://10.0.0.236/trunk@71220 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:27:18 +00:00
cathleen%netscape.com
8d209a63e1 fix dpgfood bug 38603, r=dveditz linux not starting up in installer build
git-svn-id: svn://10.0.0.236/trunk@71219 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:21:44 +00:00
mcafee%netscape.com
ada9e5000e Fixing forward/back hot keys (29348). r=slamm
git-svn-id: svn://10.0.0.236/trunk@71218 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:17:53 +00:00
jbetak%netscape.com
a4c4317408 18022, bookmark doc charset caching
r=rjc, ftang, a=ftang


git-svn-id: svn://10.0.0.236/trunk@71217 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:13:45 +00:00
jbetak%netscape.com
3270617bdb 18022, bookmark doc charset caching
r=rjc, ftang, a=ftang


git-svn-id: svn://10.0.0.236/trunk@71216 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:08:28 +00:00
jim_nance%yahoo.com
ed1e49a12a Tru64 compiler flags to make template code smaller.
git-svn-id: svn://10.0.0.236/trunk@71215 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:07:23 +00:00
mjudge%netscape.com
5fd3bcf324 fixing small optimization oversight. based on pixleys code that was beta2+. optimization is not valid in this case. r=churchill
git-svn-id: svn://10.0.0.236/trunk@71214 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:03:48 +00:00
mjudge%netscape.com
e0e6694c78 bug = 34896. Fixing ender lite startup problem with caret. checking for inOffset<0. we checked for >mContentLength but not <0. r=churchil.
git-svn-id: svn://10.0.0.236/trunk@71213 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 01:00:15 +00:00
alecf%netscape.com
ac5c151506 fix typo to make and/or work in search and filters dialogs
(really obvious fix)
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@71212 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 00:48:58 +00:00
alecf%netscape.com
44fb4799f2 bring filter dialog up to spec
WIP for #33101 r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@71211 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 00:47:05 +00:00
mjudge%netscape.com
f930f65148 this was supposed to be checked in for someones pdt+ bug. this alters the view's destructor to remove itself from the viewmanagers mouse capture code. r= hyatt the bug had to do with OnClick on a view causing a web page reload. this became a must fix when joki checked in his event changes.
git-svn-id: svn://10.0.0.236/trunk@71210 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 00:38:57 +00:00
sfraser%netscape.com
feca177c8b Various fixes for Installer stability, bugs 39749, 41002. r=sgehani
git-svn-id: svn://10.0.0.236/trunk@71209 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 00:38:17 +00:00
leaf%mozilla.org
d4e3da0efa Automated update
git-svn-id: svn://10.0.0.236/trunk@71208 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 00:30:09 +00:00
dmose%mozilla.org
be9543aa8f make mozilla configure and build the ldap sdk when --enable-ldap is given. r=pavlov@netscape.com,cls@seawoord.org; a=brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@71207 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 00:26:48 +00:00
mjudge%netscape.com
487cdf6f26 bug = 41088. r=hyatt. moving releasing the editor shell earlier in the process so the document gets a chance to release its listeners.
git-svn-id: svn://10.0.0.236/trunk@71206 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 00:18:35 +00:00
cls%seawood.org
ab9862804e Removing a leftover unused header that's killing a HPUX build. Bug 37025 r=dmose
git-svn-id: svn://10.0.0.236/trunk@71205 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 00:11:52 +00:00
alecf%netscape.com
a8ad65b499 enable search menu item for #33101 r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@71204 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-01 00:06:47 +00:00
sspitzer%netscape.com
84749a900d fix for bug #40241. messages stop loading after we attempt to cancel
a news message.  the problem is we were never notifying the folder
that the DeleteOrMoveMsgCompleted event happened.  other code cleanup
to consolidate some common code.  r=alecf


git-svn-id: svn://10.0.0.236/trunk@71203 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 23:52:22 +00:00
edburns%acm.org
656f03311d Return from doRemoveListeners after issuing removeAllListeners
git-svn-id: svn://10.0.0.236/trunk@71202 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 23:37:06 +00:00
thayes%netscape.com
e1f78d746d Use PK11 fixed key lookup to locate the key value. Fix ENCRYPT/DECRYPT bug in
SDR_Decrypt.


git-svn-id: svn://10.0.0.236/trunk@71200 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 23:06:02 +00:00
cls%seawood.org
b1653698d9 Use relative path to call binaries as some shells break otherwise. Bug 40415. r=waterson
git-svn-id: svn://10.0.0.236/trunk@71199 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 23:05:14 +00:00
cls%seawood.org
113e5c5017 When using the local copies of zlib, png & jpeg, let the linker use the shared versions if they are available. r=waterson
git-svn-id: svn://10.0.0.236/trunk@71198 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 23:03:13 +00:00
sgehani%netscape.com
60423e63ea Towards fixing heisenbug exit after extraction but before installation. [b=39749, r=ssu]
git-svn-id: svn://10.0.0.236/trunk@71197 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 23:02:19 +00:00
mcafee%netscape.com
5c1afa5ae7 Fixing home hot key (29348) r=slamm
git-svn-id: svn://10.0.0.236/trunk@71196 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:42:34 +00:00
slamm%netscape.com
809482a6b9 Add window.close() to close broadcaster. Fix bug 40460 r=mcafee
git-svn-id: svn://10.0.0.236/trunk@71195 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:41:45 +00:00
sgehani%netscape.com
a57366f5a1 Partial fix for broken chrome registration on the Mac. [b=41002,r=dveditz]
git-svn-id: svn://10.0.0.236/trunk@71194 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:39:37 +00:00
relyea%netscape.com
6c6b9f8e6c Return to using the thread safe version. The non-thread safe version can double free memory
git-svn-id: svn://10.0.0.236/trunk@71193 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:37:17 +00:00
relyea%netscape.com
5d6e8ad9e2 Fix bug which would have bypassed mac checking in TLS
git-svn-id: svn://10.0.0.236/trunk@71192 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:36:02 +00:00
relyea%netscape.com
7c9f18ac81 Set up code that allows you to run only some of the SSL tests in a single run.
git-svn-id: svn://10.0.0.236/trunk@71191 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:35:00 +00:00
relyea%netscape.com
d3001cdfd2 Fix Environment variable overrides.
git-svn-id: svn://10.0.0.236/trunk@71190 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:34:07 +00:00
attinasi%netscape.com
44c387c3c8 Fixed problem with fixed background images. b=40217 r=mcclusk a=karnaze
git-svn-id: svn://10.0.0.236/trunk@71189 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:34:03 +00:00
attinasi%netscape.com
11e29319e1 Added a new method GetCanvasFrame which walks down from the root frame looking for the frame that represents the canvas. b=40217 r=kmcclusk a=karnaze
git-svn-id: svn://10.0.0.236/trunk@71188 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:33:12 +00:00
javi%netscape.com
e190799a3f Bug #28698 r=thayes a=lord
Make crypto.logout do something useful so that the security advisor's logout
button does the right thing.


git-svn-id: svn://10.0.0.236/trunk@71187 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:23:04 +00:00
mcgreer%netscape.com
49caba958d fix static array (found with solaris 2.7 build)
git-svn-id: svn://10.0.0.236/trunk@71185 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:17:47 +00:00
brendan%mozilla.org
9515bca40c Use JS_ValueToId to go from user to internal property id, for integer-id optimality (40731, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@71184 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:10:53 +00:00
ashuk%eng.sun.com
570ee7f745 Ed's fix for multiple window closing bug
author=edburns
r=ashuk


git-svn-id: svn://10.0.0.236/trunk@71183 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 21:58:36 +00:00
brendan%mozilla.org
ed99d6e493 Make JS_ExecuteScriptPart call the debugger hooks (41066, r=MyNGs@HotMail.com).
git-svn-id: svn://10.0.0.236/trunk@71182 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 21:57:46 +00:00
ashuk%eng.sun.com
b4e5689fee Ed's review for multiple window closing bug
author=ashuk
r=ashuk


git-svn-id: svn://10.0.0.236/trunk@71181 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 21:56:36 +00:00
ashuk%eng.sun.com
3887ea225b Ed's fix for bug where multiple window closing caused null ptr error
author = edburns
r = ashuk


git-svn-id: svn://10.0.0.236/trunk@71180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 21:55:49 +00:00
ashuk%eng.sun.com
62677f207f Ed's fix for bug where multiple windows closing caused null ptr dereference.
author = edburns
r = ashuk


git-svn-id: svn://10.0.0.236/trunk@71179 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 21:54:04 +00:00
alecf%netscape.com
4b366b0899 oops, fix bustage - typo in makefile
git-svn-id: svn://10.0.0.236/trunk@71178 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 21:41:26 +00:00
thayes%netscape.com
463c00a59c Bug=40349 Reverse changes made to PSM glue which break SSL connections and long
interactions with PSM, such as password setting dialogs.


git-svn-id: svn://10.0.0.236/trunk@71177 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 21:34:04 +00:00
colin%theblakes.com
07abcd895b OpenVMS specific change. r=leaf, a=leaf
Change/add known mime file types.


git-svn-id: svn://10.0.0.236/trunk@71176 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 20:54:08 +00:00
alecf%netscape.com
3a0014bd89 factor out search query code from the filter code in preparation for a search dialog
r=sspitzer
(approved feature bug)


git-svn-id: svn://10.0.0.236/trunk@71175 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 20:51:31 +00:00
morse%netscape.com
67c88dea83 bug 33542, wallet tables not appearing in installer bits, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@71174 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 20:45:54 +00:00
alecf%netscape.com
414294ef13 forgot to check in the properties file when fixing 28993
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@71173 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 20:41:01 +00:00
attinasi%netscape.com
e2034fc36f Updated for new location of the chrome files used in extraction of the BuildID. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@71172 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 20:33:22 +00:00
attinasi%netscape.com
e2d40c0598 Removed 5-11 data and added 5-26 data. Not part of build
git-svn-id: svn://10.0.0.236/trunk@71171 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 20:32:49 +00:00
evaughan%netscape.com
a7857b1f84 Fix for dogfood bug 41027 -r hyatt
git-svn-id: svn://10.0.0.236/trunk@71170 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 20:14:28 +00:00
shaver%mozilla.org
6e2756c80d properly handle updating of class or id, #39642, r=attinasi, a=waterson
git-svn-id: svn://10.0.0.236/trunk@71169 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 20:00:31 +00:00
jim_nance%yahoo.com
09d65462e7 Fix build bustage on Tru64 Unix.
git-svn-id: svn://10.0.0.236/trunk@71168 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 16:51:35 +00:00
kin%netscape.com
6ad77ab6e2 Fix for bug #37650: Initial values in text boxes not being displayed.
Modified AttributeChanged() to allow us to set the value attribute
even though mEditor is null.
r=morse@netscape.com  a=beppe@netscape.com


git-svn-id: svn://10.0.0.236/trunk@71167 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 14:14:16 +00:00
mkaply%us.ibm.com
112434216b # 37239
r = rickg, a = brendan
OS/2 bringup continues on M16 - Changes for VisualAge build (PR_CALLBACK)


git-svn-id: svn://10.0.0.236/trunk@71166 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 14:09:34 +00:00
rods%netscape.com
541f4e5592 These changes have been sitting in my tree for quite a while.
Without them some web developers could be misled as to
how frames and reflow work for SVG. It isn't right for me to leave
sitting here in my tree so I am checking them in
(plus I don't want to accidently lose them)


git-svn-id: svn://10.0.0.236/trunk@71165 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 13:58:03 +00:00
jst%netscape.com
9bc1bb4964 Checking in patch from Vidur that fixes part of nsbeta2+ bugs 34667, 36745 and 38537, this fixes a crash associated with javascript: URLs and the fact that javascript: URLs are sometimes invoked multiple times. r=me.
git-svn-id: svn://10.0.0.236/trunk@71164 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 13:57:02 +00:00
ben%netscape.com
909f205c94 Add wrapper libraries for clipboard and drag and drop.
git-svn-id: svn://10.0.0.236/trunk@71163 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 12:18:10 +00:00
hyatt%netscape.com
ed8412d3de Adding listbox bindings. Not used.
git-svn-id: svn://10.0.0.236/trunk@71162 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 09:33:45 +00:00
hyatt%netscape.com
61d5b03859 Fix win32 bustage.
git-svn-id: svn://10.0.0.236/trunk@71161 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 08:40:58 +00:00
hyatt%netscape.com
4538c1ebf8 Fix win32 bustage.
git-svn-id: svn://10.0.0.236/trunk@71160 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 08:40:44 +00:00
hyatt%netscape.com
276221f447 removed files: mozilla/layout/xul/base/src/nsTreeTwistyListener.cpp
git-svn-id: svn://10.0.0.236/trunk@71159 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 08:34:13 +00:00
hyatt%netscape.com
56437b0de4 Turning on XBL tree event bindings. Patching table frame construction to deal with anonymous content.
git-svn-id: svn://10.0.0.236/trunk@71158 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 08:32:45 +00:00
hyatt%netscape.com
1d490f519a Turning on XBL tree event bindings.
git-svn-id: svn://10.0.0.236/trunk@71157 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 08:32:14 +00:00
alecf%netscape.com
98c8798d6a I forgot this file in my checkin the other day for #14421
(it was r=sspitzer)


git-svn-id: svn://10.0.0.236/trunk@71156 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 08:31:04 +00:00
alecf%netscape.com
3f5c3500eb fix for #40390 - make nsMsgIncomingServer::GetPort fall back to the default
port for the specified server type using nsIMsgProtocolInfo.
Also clean up some of the GetDefaultPort stuff
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@71155 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 08:00:13 +00:00
hyatt%netscape.com
a2341a3389 New bindings for removed content elements.
git-svn-id: svn://10.0.0.236/trunk@71154 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 07:42:06 +00:00
hyatt%netscape.com
6eeea10bd1 removed files: mozilla/rdf/content/src/nsJSXULPopupElement.cpp, mozilla/rdf/content/src/nsJSXULBrowserElement.cpp, mozilla/rdf/content/src/nsJSXULEditorElement.cpp, mozilla/rdf/content/src/nsJSXULIFrameElement.cpp, mozilla/rdf/content/src/nsXULPopupElement.cpp, mozilla/rdf/content/src/nsXULEditorElement.cpp, mozilla/rdf/content/src/nsXULIFrameElement.cpp, mozilla/rdf/content/src/nsXULBrowserElement.cpp
git-svn-id: svn://10.0.0.236/trunk@71153 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 07:34:00 +00:00
hyatt%netscape.com
3aa99932d3 removing four more XUL content elements (moving their impls into XBL).
git-svn-id: svn://10.0.0.236/trunk@71152 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 07:32:36 +00:00
hyatt%netscape.com
7206eb3a97 added files: mozilla/layout/xul/base/src/nsBrowserBoxObject.cpp, mozilla/layout/xul/base/src/nsIFrameBoxObject.cpp, mozilla/layout/xul/base/src/nsEditorBoxObject.cpp
git-svn-id: svn://10.0.0.236/trunk@71151 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 07:24:06 +00:00
hyatt%netscape.com
39e792b3fa Eliminating browser, editor, and iframe content objects.
git-svn-id: svn://10.0.0.236/trunk@71150 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 07:22:20 +00:00
hyatt%netscape.com
ed14d50206 Fix brutal sharing of XBL classes.
git-svn-id: svn://10.0.0.236/trunk@71149 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 07:02:47 +00:00
warren%netscape.com
394fa5559d Removed input buffer from file input stream. Bug 41067
git-svn-id: svn://10.0.0.236/trunk@71144 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 05:33:12 +00:00
sspitzer%netscape.com
4180c4705d fix for #37673. get the password dialog to work again if we don't have a msg window.
r=mscott


git-svn-id: svn://10.0.0.236/trunk@71143 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 04:48:31 +00:00
warren%netscape.com
a3a9a03a59 Fixed leak.
git-svn-id: svn://10.0.0.236/trunk@71142 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 04:34:54 +00:00
morse%netscape.com
972cba9aa4 doing the right thing to fix bug 40656, r=cmanske
git-svn-id: svn://10.0.0.236/trunk@71141 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 03:28:57 +00:00
morse%netscape.com
b6732dbf7d doing the right thing to fix bug 40978, r=ben
git-svn-id: svn://10.0.0.236/trunk@71140 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 03:27:56 +00:00
kin%netscape.com
f0ffccdd37 Part2 of fix for bug #39821: Drag and Drop interferes with selection
Made GetSelectionController() a public method on the nsIFrame interface,
so that nsEventStateManager::GenerateDragGesture() has access to it. This
prevents D&D from interfering with selection in Ender-Lite.

    layout/base/public/nsIFrame.h
    layout/events/src/nsEventStateManager.cpp
    layout/html/base/src/nsFrame.h
    layout/html/base/src/nsFrame.cpp

r=buster@netscape.com,brade@netscape.com,cmanske@netscape.com   a=beppe@netscape.com


git-svn-id: svn://10.0.0.236/trunk@71139 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 03:20:02 +00:00
kin%netscape.com
c473a68817 Fix for bug #40392: Crash on exit from composer due to spellchecker init failure
Modified First/LastSelectedBlock() to check if a range is collapsed before
trying to iterate over it.

    editor/txtsvc/src/nsTextServicesDocument.cpp

r=jfrancis@netscape.com  a=beppe@netscape.com


git-svn-id: svn://10.0.0.236/trunk@71138 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 03:18:46 +00:00
kin%netscape.com
af8e97bfe5 Fix for bug #36935: [i18n] Textwidget doesn't scroll when non-7-bit-ascii chars
Made ScrollSelectionIntoView() a static function and called it from HandleText().
    editor/base/nsEditorEventListeners.cpp
    editor/base/nsEditorEventListeners.h

r=jfrancis@netscape.com  a=beppe@netscape.com


git-svn-id: svn://10.0.0.236/trunk@71137 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 03:18:05 +00:00
pavlov%netscape.com
9f15bf8ede fix for crash, dogfood, nsbeta2, pp, regression, smoketest bug 36361 (open web location doesn't load page on linux). r=syd
git-svn-id: svn://10.0.0.236/trunk@71136 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 02:52:25 +00:00
pinkerton%netscape.com
425d025958 just doing the right thing. fixes 41018, obfuscated and redundant code. r=many people.
git-svn-id: svn://10.0.0.236/trunk@71135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 02:51:12 +00:00
pinkerton%netscape.com
1e2737b3fa fix for bug 33250. fixes memory leaks by freeing strings in dtor. also switching to using nsCRT::strdup. r/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@71134 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 02:30:07 +00:00
pollmann%netscape.com
85ceb4d8bc Bug 41037: Fix my regression that was causing forms to submit twice! r=nisheeth (thanks pinkerton, nisheeth, and leger for the quick turnaround!)
git-svn-id: svn://10.0.0.236/trunk@71133 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 02:24:48 +00:00
pavlov%netscape.com
2941eeaf1e fix for nsbeta2+ bug 35921 (event notification outlives its event) r=danm,bryner,blizzard
git-svn-id: svn://10.0.0.236/trunk@71132 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 02:19:17 +00:00
wtc%netscape.com
f4d273b2b9 Bugzilla bug #39731: added new tests pipeping2.c and pipepong2.c
for pipe fd inheritance.
Added files: pipeping2.c, pipepong2.c
Modified files: Makefile, Makefile.in, runtests.ksh


git-svn-id: svn://10.0.0.236/trunk@71131 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 02:02:34 +00:00
brendan%mozilla.org
f33dd9f7bc Always call NS_TraceMallocStartup if NS_TRACE_MALLOC is defined.
git-svn-id: svn://10.0.0.236/trunk@71130 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 02:01:23 +00:00
mccabe%netscape.com
6704bc59c7 Add 'approve' command.
git-svn-id: svn://10.0.0.236/trunk@71129 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 01:45:30 +00:00
wtc%netscape.com
728680a4d9 Bugzilla bug #39731: added PR_ImportPipe and support of pipes to
PR_GetInheritedFD.
Modified files: pprio.h, prfile.c, prinit.c, ptio.c


git-svn-id: svn://10.0.0.236/trunk@71128 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 01:24:52 +00:00
morse%netscape.com
2c90a953be undo thayes' changes for 1.218 -- PSM is not yet ready for prime time and was causing all sorts of problems -- see bug 41024
git-svn-id: svn://10.0.0.236/trunk@71127 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:57:47 +00:00
despotdaemon%netscape.com
afaf26c767 Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@71126 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:56:17 +00:00
ssu%netscape.com
2989de9d4a fixing bug #40708 - The bug is actually about adding a new parameter to
the self-extracting .exe code so it simply uncompresses
                    its contents without running setup.exe at the end.
There are two fixes to fhe extra.c file.
1) When running in silent/auto mode, if there's not enough disk space, the
installer will go into an infinite loop.  This was discovered by fixing bug
#40708.  The fix is to simply exit the installer (one line fix).
2) #40715 - Installer could unintentionally delete the selected installation
            dir.  I've talked to Dan and Samir about this one line fix, and
            they both agreed that it should happen.

a=leaf,dvedtiz
r=sgehani


git-svn-id: svn://10.0.0.236/trunk@71125 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:49:13 +00:00
waterson%netscape.com
62f4fbbcad Bug 10373. Percent-encode URLs using the document's original character when returning the 'href' attribute. Cache the computed value once that's been done. Change event code to use GetHref() instead of raw GetAttribute() call. r=buster,warren,erik,attinasi,...
git-svn-id: svn://10.0.0.236/trunk@71124 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:48:02 +00:00
brendan%mozilla.org
1055bcb6aa Clear whole JSClass struct to zap stubs for future expansion (r=hyatt).
git-svn-id: svn://10.0.0.236/trunk@71123 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:42:10 +00:00
waterson%netscape.com
7dfe2a4928 Add nsHTMLUtils.cpp to the build
git-svn-id: svn://10.0.0.236/trunk@71122 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:36:53 +00:00
waterson%netscape.com
e0604e3dc1 Add nsHTMLUtils.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@71121 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:36:23 +00:00
wtc%netscape.com
e24555415a Bugzilla bug #39696: implemented the NSPR atomic routines in
assembly language for Solaris/x86.
Modified files: _solaris.h, solaris.c, os_SunOS_x86.s


git-svn-id: svn://10.0.0.236/trunk@71120 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:33:48 +00:00
rjc%netscape.com
f4722607c7 Fix PDT+ bug # 40199: default to ISO-8859-1 encoding instead of UTF-8. Review: waterson
git-svn-id: svn://10.0.0.236/trunk@71119 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:28:48 +00:00
javi%netscape.com
19ca97b15e Need to make in the ui directory as well.
git-svn-id: svn://10.0.0.236/trunk@71118 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:20:30 +00:00
dmose%mozilla.org
298cb2efed backing out simple to std URx usage for the moment
git-svn-id: svn://10.0.0.236/trunk@71117 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:14:08 +00:00
waterson%netscape.com
07dc1f7530 Bug 10373. Add NS_MakeAbsoluteURIWithCharset() and nsHTMLUtils class. NOT YET IN THE BUILD. r=buster,erik,warren,...
git-svn-id: svn://10.0.0.236/trunk@71116 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:12:48 +00:00
cmanske%netscape.com
b457171a1d Added row/column selection in tables: Bug 26833. r=kin, a=beppe
git-svn-id: svn://10.0.0.236/trunk@71115 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:07:58 +00:00
saari%netscape.com
9de8808921 fix for dogfood+ bug 40167, I broke chatzilla on the mac. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@71114 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:05:42 +00:00
waterson%netscape.com
02a3da0385 Bug 40284. Ensure that 'container' attribute correctly updated for extended templates. r=rjc
git-svn-id: svn://10.0.0.236/trunk@71113 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:03:12 +00:00
akkana%netscape.com
81f6895262 36559: run selection batching earlier in DeleteSelection, now that
the fix for 38713 allows it, so that deleting the selection doesn't
cause an autocopy. r=jfrancis a=beppe


git-svn-id: svn://10.0.0.236/trunk@71112 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:03:02 +00:00
akkana%netscape.com
e8f9d34322 38713: Allow TakeFocus motion inside selection batching. r=mjudge, jfrancis; a=beppe
git-svn-id: svn://10.0.0.236/trunk@71111 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:02:12 +00:00
leaf%mozilla.org
bb853c3a47 Automated update
git-svn-id: svn://10.0.0.236/trunk@71110 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 23:30:08 +00:00
colin%theblakes.com
6ff0c2db9c VMS only. Use uname -Wh for OS_TEST. r=leaf
git-svn-id: svn://10.0.0.236/trunk@71109 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 23:26:33 +00:00
beard%netscape.com
00da471cb4 (not part of build yet) needed to bootstrap MRJ plugin build.
git-svn-id: svn://10.0.0.236/trunk@71108 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 23:13:14 +00:00
pinkerton%netscape.com
7d2e367d0b fixes for bug 41015. accidentally broke checkmenus trying to fix radio menus. also fixing it so that radio menus no long uncheck their siblings twice. r=saari.
git-svn-id: svn://10.0.0.236/trunk@71107 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 23:12:41 +00:00
akkana%netscape.com
f00af5f8c4 39508: Use an int rather than a boolean to keep track of preformatting level,
so that we don't get confused about when to output <br> vs newline.
41017: Add <u> as an inline tag (a=beppe). r=jfrancis.


git-svn-id: svn://10.0.0.236/trunk@71106 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 23:11:49 +00:00
jst%netscape.com
bc1a2d475e Fixing nsbeta2+ crasher bug 39693, the JS gluecode generated by IDLC did properly check if the parguments passed in from JS were of correct type and properly set the return value if they weren't, but then ignored the error and continued passing along an invalid argument to the native implmentation. r=waterson
git-svn-id: svn://10.0.0.236/trunk@71105 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 22:55:15 +00:00
attinasi%netscape.com
1b5121d007 Fixed bug 31955: font-face is now inheriting into tables in QuirksMode. r=dcone, a=karnaze
git-svn-id: svn://10.0.0.236/trunk@71104 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 22:53:02 +00:00
wtc%netscape.com
c04e703ad9 Bugzilla bug #39712: work around the /GT bug of MSVC 6.0 SP3.
Modified files: WIN32.mk, ntthread.c


git-svn-id: svn://10.0.0.236/trunk@71103 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 22:51:39 +00:00
ruslan%netscape.com
0209d3a7d9 Fix 29219, a=gagan
git-svn-id: svn://10.0.0.236/trunk@71102 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 22:50:29 +00:00
wtc%netscape.com
11a064dc75 Bugzilla bug #5518: in _PR_MD_LSEEK and _PR_MD_LSEEK64, map the
NSPR seek flags to the Win32 seek flags before passing them to
SetFilePointer.  Simplified the code in _PR_MD_LSEEK64.


git-svn-id: svn://10.0.0.236/trunk@71100 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 22:40:27 +00:00
dmose%mozilla.org
c1d7e451a0 updated several build-related items
git-svn-id: svn://10.0.0.236/trunk@71099 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 22:12:25 +00:00
dmose%mozilla.org
8f5c05faa4 updated comment; made thread hang around forever in DEBUG mode to workaround gdb lossage; added forgotten Close for the nsIPipe
git-svn-id: svn://10.0.0.236/trunk@71098 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 22:10:46 +00:00
dmose%mozilla.org
b97e905f4a using nsStandardURL instead nsSimpleURL
git-svn-id: svn://10.0.0.236/trunk@71097 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 22:01:16 +00:00
dmose%mozilla.org
370deb96a0 moved some PR_fprintfs inside of #ifdef DEBUG
git-svn-id: svn://10.0.0.236/trunk@71096 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 21:59:54 +00:00
cyeh%bluemartini.com
c4473687d7 add missing call SqlFmtClock()
that was supposed to be a part of 1.4 of repophook.cgi.


git-svn-id: svn://10.0.0.236/trunk@71095 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 21:56:39 +00:00
javi%netscape.com
ca51101cc1 Use nlslayer as the library name instead of strres to avoid any potential
confusion.


git-svn-id: svn://10.0.0.236/trunk@71094 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 21:54:07 +00:00
nboyd%atg.com
070a685773 check for null scope
git-svn-id: svn://10.0.0.236/trunk@71093 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 21:50:44 +00:00
wtc%netscape.com
a4586a7e27 Added another (new) reason for the 5 second timeout to
GetQueuedCompletionStatus.


git-svn-id: svn://10.0.0.236/trunk@71092 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 21:49:16 +00:00
hyatt%netscape.com
0a67e8cd4a Patch for autocomplete text field horkage.
git-svn-id: svn://10.0.0.236/trunk@71091 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 21:38:47 +00:00
brade%netscape.com
ba1dcb0832 backout previous checkin; wrong file committed! a=leaf
git-svn-id: svn://10.0.0.236/trunk@71090 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 20:34:05 +00:00
brade%netscape.com
8ccbf63dda backout previous checkin; wrong file committed! a=leaf
git-svn-id: svn://10.0.0.236/trunk@71089 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 20:33:09 +00:00
brade%netscape.com
43832bade8 backout previous checkin; wrong file committed! a=leaf
git-svn-id: svn://10.0.0.236/trunk@71088 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 20:31:51 +00:00
brade%netscape.com
161def24b1 fix for autocomplete.xml file being in wrong location (blocker #41001) a=leaf; r=sfraser
git-svn-id: svn://10.0.0.236/trunk@71087 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 20:27:35 +00:00
brade%netscape.com
9d3fdd599e fix blocker #41001; autocomplete.xml is not in correct location a=leaf; r=sfraser
git-svn-id: svn://10.0.0.236/trunk@71086 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 20:21:18 +00:00
brade%netscape.com
f68a2bbd0b remove call to FetchFontInfo which doesn't work on 8.5; r=sfraser; a=granrose; bug #37318
git-svn-id: svn://10.0.0.236/trunk@71085 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 17:53:20 +00:00
mkaply%us.ibm.com
e264fe43d4 # 37239
r = gagan, a = brendan
OS/2 bringup continues on M16 - Changes for VisualAge build (casts, PR_CALLBACK)


git-svn-id: svn://10.0.0.236/trunk@71084 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 14:56:52 +00:00
mkaply%us.ibm.com
37a525ac8b # 40300
r = george.drapeau@eng.sun.comy, a = brendan
OS/2 bringup continues on M16 - linkages for OS/2 JNI


git-svn-id: svn://10.0.0.236/trunk@71083 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 14:43:56 +00:00
brade%netscape.com
827882f1c0 remove unnecessary ifdefs a=morse,brendan
git-svn-id: svn://10.0.0.236/trunk@71082 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 14:40:09 +00:00
mkaply%us.ibm.com
68fbbc3407 # 37239
r = mkaply, a = brendan
OS/2 bringup continues on M16 - port memory leak fix - OS/2 only


git-svn-id: svn://10.0.0.236/trunk@71081 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 14:36:43 +00:00
hyatt%netscape.com
7c26437b9c removed files: mozilla/layout/xul/base/src/nsCheckBoxFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@71080 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 09:47:45 +00:00
hyatt%netscape.com
1584ce2d80 Anonymous content patch.
git-svn-id: svn://10.0.0.236/trunk@71079 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 09:08:54 +00:00
hyatt%netscape.com
4baf0d4680 Anony..
git-svn-id: svn://10.0.0.236/trunk@71078 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 09:07:09 +00:00
hyatt%netscape.com
f1c39a37b9 Patch anonymous content.
git-svn-id: svn://10.0.0.236/trunk@71077 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 09:06:22 +00:00
hyatt%netscape.com
6cc7f150d5 Patch anonymousContent
git-svn-id: svn://10.0.0.236/trunk@71076 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 09:06:08 +00:00
ben%netscape.com
65115e3afb fix for radio group
git-svn-id: svn://10.0.0.236/trunk@71075 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:57:10 +00:00
hyatt%netscape.com
004ebb94e8 Fix windows.
git-svn-id: svn://10.0.0.236/trunk@71074 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:54:11 +00:00
hyatt%netscape.com
aeeee2ae71 More whackage.
git-svn-id: svn://10.0.0.236/trunk@71073 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:44:40 +00:00
hyatt%netscape.com
5f98ac445b Removing obsolete frame code.
git-svn-id: svn://10.0.0.236/trunk@71072 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:41:39 +00:00
hyatt%netscape.com
7e088bfeb6 Removing more obsolete files.
git-svn-id: svn://10.0.0.236/trunk@71071 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:40:46 +00:00
hyatt%netscape.com
2db6348762 Removing obsolete checkbox code.
git-svn-id: svn://10.0.0.236/trunk@71070 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:39:18 +00:00
hyatt%netscape.com
b6bafaeb8a Patching IDL for Win32.
git-svn-id: svn://10.0.0.236/trunk@71069 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:23:05 +00:00
hyatt%netscape.com
b5a6abf32f Removing XUL DOM elements.
git-svn-id: svn://10.0.0.236/trunk@71068 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:20:06 +00:00
hyatt%netscape.com
48f5b6a76d removed files: mozilla/rdf/content/src/nsJSXULRadioElement.cpp, mozilla/rdf/content/src/nsXULRadioElement.cpp, mozilla/rdf/content/src/nsJSXULRadioGroupElement.cpp, mozilla/rdf/content/src/nsXULRadioGroupElement.cpp, mozilla/rdf/content/src/nsJSXULTitledButtonElement.cpp, mozilla/rdf/content/src/nsXULTitledButtonElement.cpp, mozilla/rdf/content/src/nsJSXULCheckboxElement.cpp, mozilla/rdf/content/src/nsXULCheckboxElement.cpp
git-svn-id: svn://10.0.0.236/trunk@71067 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:16:25 +00:00
hyatt%netscape.com
f887de093b added files: mozilla/rdf/content/src/, removed files: mozilla/rdf/content/src/nsJSXULRadioElement.cpp, mozilla/rdf/content/src/nsXULRadioElement.cpp, mozilla/rdf/content/src/nsJSXULRadioGroupElement.cpp, mozilla/rdf/content/src/nsXULRadioGroupElement.cpp, mozilla/rdf/content/src/nsJSXULTitledButtonElement.cpp, mozilla/rdf/content/src/nsXULTitledButtonElement.cpp, mozilla/rdf/content/src/nsJSXULCheckboxElement.cpp, mozilla/rdf/content/src/nsXULCheckboxElement.cpp
git-svn-id: svn://10.0.0.236/trunk@71066 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:15:30 +00:00
hyatt%netscape.com
f561826556 Fix linux makefile.
git-svn-id: svn://10.0.0.236/trunk@71065 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:12:37 +00:00
hyatt%netscape.com
eff6e8c00c Removing obsolete files from the build.
git-svn-id: svn://10.0.0.236/trunk@71064 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:11:35 +00:00
hyatt%netscape.com
f2b8e4a603 Removing obsolete headers from the build.
git-svn-id: svn://10.0.0.236/trunk@71063 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:07:54 +00:00
hyatt%netscape.com
b3bab3c39b Removing obsolete C++ code.
git-svn-id: svn://10.0.0.236/trunk@71062 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:06:59 +00:00
hyatt%netscape.com
cfe708a23c added files: mozilla/layout/xul/base/src/nsBoxObject.cpp, mozilla/layout/xul/base/src/nsMenuBoxObject.cpp, mozilla/layout/xul/base/src/nsPopupSetBoxObject.cpp, mozilla/layout/xul/base/src/nsTreeBoxObject.cpp
git-svn-id: svn://10.0.0.236/trunk@71061 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:04:41 +00:00
hyatt%netscape.com
ab0e411e49 added files: mozilla/layout/xul/base/public/nsIBoxLayoutManager.idl, mozilla/layout/xul/base/public/nsIBoxObject.idl, mozilla/layout/xul/base/public/nsIBoxPaintManager.idl, mozilla/layout/xul/base/public/nsIBrowserBoxObject.idl, mozilla/layout/xul/base/public/nsIEditorBoxObject.idl, mozilla/layout/xul/base/public/nsIIFrameBoxObject.idl, mozilla/layout/xul/base/public/nsIMenuBoxObject.idl, mozilla/layout/xul/base/public/nsIPopupSetBoxObject.idl, mozilla/layout/xul/base/public/nsITreeBoxObject.idl
git-svn-id: svn://10.0.0.236/trunk@71060 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:03:41 +00:00
hyatt%netscape.com
dcb1062d06 Adding box object instantiation code.
git-svn-id: svn://10.0.0.236/trunk@71059 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 08:00:40 +00:00
hyatt%netscape.com
39d25fa1d3 Adding box object impls
git-svn-id: svn://10.0.0.236/trunk@71058 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 07:59:13 +00:00
hyatt%netscape.com
54a955e423 Adding interfaces for the scriptable XUL layout objects.
git-svn-id: svn://10.0.0.236/trunk@71057 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 07:57:51 +00:00
alecf%netscape.com
c4f36299d3 fix for 28993, 33802, 33811 r=sspitzer
Localize a bunch of strings for address book


git-svn-id: svn://10.0.0.236/trunk@71056 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 05:31:47 +00:00
pollmann%netscape.com
bf5160c243 Bug 36639: Fix memory leak / stability problems with circular form / form control references r=nisheeth
Bug 13652: Implement select and click methods for form elements r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@71055 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 02:45:55 +00:00
rginda%netscape.com
3dcf8ee928 -- NOT PART OF THE BUILD --
forgot to terminate comment.


git-svn-id: svn://10.0.0.236/trunk@71053 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 21:59:13 +00:00
jst%netscape.com
1e61aed599 Fixing silly regression I introduced last week when checking in some temporary DOM Level 2 code, HTML element names were not properly uppercased in the DOM. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@71052 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 20:00:23 +00:00
jim_nance%yahoo.com
1fc8facb29 Updated docs to reflect Red Hat 6.2 testing
git-svn-id: svn://10.0.0.236/trunk@71051 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 19:31:29 +00:00
nboyd%atg.com
b0fcd0f927 Fix bug 40844
git-svn-id: svn://10.0.0.236/trunk@71050 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 16:57:13 +00:00
rhp%netscape.com
5cb71c2338 Fix for intelligent send feature - Bug #: 28420 - r: rhp - Externally contributed fix
git-svn-id: svn://10.0.0.236/trunk@71049 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 16:31:08 +00:00
ben%netscape.com
ebee291b86 tell mac to put files in communicator, not global. d'oh
git-svn-id: svn://10.0.0.236/trunk@71048 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 08:36:18 +00:00
kvisco%ziplink.net
1655f87445 Not part of build, a=leaf
Made some performance adjustments in the match method.


git-svn-id: svn://10.0.0.236/trunk@71047 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 07:15:17 +00:00
kvisco%ziplink.net
754e9ae17b Not part of build, a=leaf
Added the get(int) method, for accessing via index. It's not recommended using
this method unless on very small lists. This will help save on overhead so we don't have to create an iterator on lists with only a couple elements.


git-svn-id: svn://10.0.0.236/trunk@71046 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 07:14:03 +00:00
ben%netscape.com
ac7f0fbbf6 update packager files
git-svn-id: svn://10.0.0.236/trunk@71045 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 05:53:36 +00:00
ben%netscape.com
df2cbe06de forgot this file
git-svn-id: svn://10.0.0.236/trunk@71044 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 05:52:42 +00:00
ben%netscape.com
15261d54b3 moving autocomplete to global/content
git-svn-id: svn://10.0.0.236/trunk@71043 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 05:44:12 +00:00
ben%netscape.com
b51c62a35d forgot file
git-svn-id: svn://10.0.0.236/trunk@71042 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 04:36:15 +00:00
ben%netscape.com
d65ace950f update Mac build script to point to new folders
git-svn-id: svn://10.0.0.236/trunk@71041 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 04:09:11 +00:00
ben%netscape.com
fa29db571e adding manifest for mac build system
git-svn-id: svn://10.0.0.236/trunk@71040 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 03:59:29 +00:00
ben%netscape.com
67a383a881 manifest for mac build system
git-svn-id: svn://10.0.0.236/trunk@71039 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 03:58:34 +00:00
ben%netscape.com
16dad38456 typo
git-svn-id: svn://10.0.0.236/trunk@71038 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 03:50:58 +00:00
ben%netscape.com
7054380d1c fix build bustage
git-svn-id: svn://10.0.0.236/trunk@71037 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 03:26:53 +00:00
ben%netscape.com
3f0de52df6 change references to core XBL bindings
git-svn-id: svn://10.0.0.236/trunk@71036 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 02:56:47 +00:00
ben%netscape.com
d3d35bd9ee disconnect global:resources:skin from build
git-svn-id: svn://10.0.0.236/trunk@71035 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 02:55:51 +00:00
ben%netscape.com
1970bb414b disconnect global/resources/skin/ from build
git-svn-id: svn://10.0.0.236/trunk@71034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 02:54:52 +00:00
ben%netscape.com
8bb2c660a0 move core toolkit XBL bindings into chrome://global/content/
git-svn-id: svn://10.0.0.236/trunk@71033 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 02:54:03 +00:00
idk%eng.sun.com
e3a3cf5021 Checked in new BlackConnect version
git-svn-id: svn://10.0.0.236/trunk@71032 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 01:26:46 +00:00
idk%eng.sun.com
452443a5fa addon to previos commit. .cvsignore got removed
git-svn-id: svn://10.0.0.236/trunk@71031 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 00:48:35 +00:00
idk%eng.sun.com
3293e9c759 Moved old blackConnect implamentation into java/xpcom/old
git-svn-id: svn://10.0.0.236/trunk@71030 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-29 00:44:24 +00:00
nboyd%atg.com
980dca512f Fix bug 39906
git-svn-id: svn://10.0.0.236/trunk@71028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 19:01:24 +00:00
nboyd%atg.com
909ece9f67 Remove tests obsoleted by the change that access to nonexistent properties of Java objects
returns undefined rather than causing an error


git-svn-id: svn://10.0.0.236/trunk@71027 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 18:50:58 +00:00
ben%netscape.com
4b3e6f8b37 fix assertion due to deprecated getter/setter usage
git-svn-id: svn://10.0.0.236/trunk@71026 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 09:34:18 +00:00
hyatt%netscape.com
a6d091bda9 Fixing skin switching on the browser window. Ensure the content variables regenerate properly.
git-svn-id: svn://10.0.0.236/trunk@71025 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 09:27:10 +00:00
hyatt%netscape.com
2c36f54e77 Adding support for weak references on docshells.
git-svn-id: svn://10.0.0.236/trunk@71024 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 09:25:55 +00:00
ben%netscape.com
ae3fcedf7c skin switching fix, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71023 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 09:14:44 +00:00
ben%netscape.com
9b704f554d fix for insertion point goofiness r=hyatt
git-svn-id: svn://10.0.0.236/trunk@71022 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 08:13:47 +00:00
bryner%uiuc.edu
a7f61b8f27 Enable the caching of XBL documents in the XUL cache. Not yet
used.  r=hyatt.


git-svn-id: svn://10.0.0.236/trunk@71021 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 07:30:48 +00:00
ben%netscape.com
c69cf9b675 check in fix for 40751 for Kevin Puetzk, r=myself
git-svn-id: svn://10.0.0.236/trunk@71020 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 06:19:53 +00:00
ben%netscape.com
7324169e85 advanced print button work, communicator overlay hook in
git-svn-id: svn://10.0.0.236/trunk@71019 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 06:12:08 +00:00
ben%netscape.com
059b47ed63 advanced print button, add communicator overlay hook in
git-svn-id: svn://10.0.0.236/trunk@71018 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 06:11:17 +00:00
ben%netscape.com
1e748689bf advanced print button functionality
git-svn-id: svn://10.0.0.236/trunk@71017 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 06:10:26 +00:00
ben%netscape.com
cbbf6613b2 add communicator hook in overlay, annotate navigator hook in overlay
git-svn-id: svn://10.0.0.236/trunk@71016 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 06:08:31 +00:00
ben%netscape.com
014d6cbcc3 create bindings for smaller toolbar menubuttons, for advanced print functionality.
git-svn-id: svn://10.0.0.236/trunk@71015 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 06:06:20 +00:00
ben%netscape.com
4b62fafa72 hook in overlay
git-svn-id: svn://10.0.0.236/trunk@71014 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 05:13:14 +00:00
nboyd%atg.com
fb413134cb for Java methods, print the signatures of the overloaded methods in a comment when
the JavaScript function wrapper's toString method is called


git-svn-id: svn://10.0.0.236/trunk@71013 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 04:25:07 +00:00
hyatt%netscape.com
38c0c409d2 Fix profile manager crash.
git-svn-id: svn://10.0.0.236/trunk@71012 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 04:10:50 +00:00
cls%seawood.org
c5e7aef931 Correcting typo. Bug #40815
git-svn-id: svn://10.0.0.236/trunk@71011 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 04:04:04 +00:00
ben%netscape.com
8c2d7428b0 fix for non-cropping statusbar
git-svn-id: svn://10.0.0.236/trunk@71010 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 00:52:18 +00:00
brendan%mozilla.org
82a7c4b5d1 Fix unreviewed changes made to fix 'Uninitialized variable compiler warnings'.
git-svn-id: svn://10.0.0.236/trunk@71009 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-28 00:02:26 +00:00
hyatt%netscape.com
3790cee907 Fix mac bustage.
git-svn-id: svn://10.0.0.236/trunk@71008 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 22:40:40 +00:00
hyatt%netscape.com
93085bdcea Ensure content area gets updated when the shell gets regenerated.
git-svn-id: svn://10.0.0.236/trunk@71007 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 22:00:07 +00:00
brendan%mozilla.org
f3b6687858 Fix #include filename spelling -- case matters on Unix systems, at least.
git-svn-id: svn://10.0.0.236/trunk@71006 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 20:54:35 +00:00
hyatt%netscape.com
bce78a9b6f Fixing bugs in skin switching.
git-svn-id: svn://10.0.0.236/trunk@71005 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 20:03:14 +00:00
jst%netscape.com
9c79c0289e Fixing bustage on solaris native builds. reported and reviewed by Tomi.Leppikangas@oulu.fi
git-svn-id: svn://10.0.0.236/trunk@71004 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 13:14:31 +00:00
rods%netscape.com
9f7a491400 missed one of the strings for localization
b=32666, original reviewer was pollmann, self is reviewer for this small additional change


git-svn-id: svn://10.0.0.236/trunk@71003 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 13:03:18 +00:00
syd%netscape.com
555b3bc24a Fix nsSound to work on Linux again. Needed for IM prefs work. r=pavlov, a=amusil
git-svn-id: svn://10.0.0.236/trunk@71002 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 10:56:23 +00:00
ben%netscape.com
3a4fa6c0e4 remove redundant stylesheet reference
git-svn-id: svn://10.0.0.236/trunk@71001 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 09:25:32 +00:00
hyatt%netscape.com
76f5ac4ebb Brutal sharing of XBL classes implemented.
git-svn-id: svn://10.0.0.236/trunk@71000 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 08:20:04 +00:00
leaf%mozilla.org
d0e429f593 Automated update
git-svn-id: svn://10.0.0.236/trunk@70999 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 06:00:10 +00:00
waterson%netscape.com
25af6f072e Bug 39424. Fix Sun Workshop compiler bustage by conditioning NS_READABLE_CAST's funkiness on NEED_CPP_TEMPLATE_CAST_TO_BASE. r=scc
git-svn-id: svn://10.0.0.236/trunk@70998 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 05:51:56 +00:00
waterson%netscape.com
0f983a4f75 Add NEED_CPP_TEMPLATE_CAST_TO_BASE.
git-svn-id: svn://10.0.0.236/trunk@70997 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 05:50:16 +00:00
waterson%netscape.com
e13d529eb4 Oops. I didn't need to do that.
git-svn-id: svn://10.0.0.236/trunk@70996 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 05:49:34 +00:00
waterson%netscape.com
686afe447d #if 0 out mstoltz's changes, which seem to cause tinderbox to hang on test #2
git-svn-id: svn://10.0.0.236/trunk@70995 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 05:48:40 +00:00
waterson%netscape.com
4a050fe624 #if-0 out mstoltz's changes to fix tinderbox.
git-svn-id: svn://10.0.0.236/trunk@70994 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 05:22:39 +00:00
ben%netscape.com
d7b932b44c fix bustage ('Load of URL 'chrome://global/content/content.css' failed')
git-svn-id: svn://10.0.0.236/trunk@70993 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 05:15:53 +00:00
ben%netscape.com
a95fc58cfa fix for 40473, Preferences Fonts panel font size menulists do not display selected value.
git-svn-id: svn://10.0.0.236/trunk@70992 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 03:44:07 +00:00
ben%netscape.com
d239205029 even more classic skin stuff...
git-svn-id: svn://10.0.0.236/trunk@70991 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 03:41:51 +00:00
ben%netscape.com
16cb9ef15a more classic skin stuff [not part of build]
git-svn-id: svn://10.0.0.236/trunk@70990 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 03:40:28 +00:00
ben%netscape.com
c74c09d6ca Scrollbar skinnability work (remove essential behaviour from skin), convert lock button from titledbutton to statusbarpanel
git-svn-id: svn://10.0.0.236/trunk@70989 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 03:39:50 +00:00
ben%netscape.com
4680f7a8f2 Convert lock button titledbutton to statusbarpanel.
git-svn-id: svn://10.0.0.236/trunk@70988 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 03:39:10 +00:00
ben%netscape.com
ca7d3cfa85 Fix for 15805, mis-spellings, duplicate accesskeys and 'save frame as' work.
git-svn-id: svn://10.0.0.236/trunk@70987 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 03:38:29 +00:00
ben%netscape.com
e3b1190234 Skinnable navigator/toolkit work. Moved essential focus behaviour from scrollbar skin to xul.css so that all skin providers do not need to duplicate this.
git-svn-id: svn://10.0.0.236/trunk@70986 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 03:37:42 +00:00
thayes%netscape.com
54b45daf6a Initial version of header for SDR wrappers
git-svn-id: svn://10.0.0.236/trunk@70985 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 03:31:51 +00:00
dveditz%netscape.com
dff72b227a add chatzilla to Mozilla mac install
git-svn-id: svn://10.0.0.236/trunk@70984 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 03:07:32 +00:00
dveditz%netscape.com
a7ba12fe18 Chatzilla install script template, not part of build
git-svn-id: svn://10.0.0.236/trunk@70983 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 03:01:26 +00:00
ben%netscape.com
76d0e6c856 forgot to check this in the other day with SSL update to proxy pref panel.
git-svn-id: svn://10.0.0.236/trunk@70982 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 02:44:22 +00:00
rods%netscape.com
e0fe88ca49 Moved the localization methods to the helper class
the file control is now localizable (*.*, "All Files")
b=32666, r=pollmann


git-svn-id: svn://10.0.0.236/trunk@70981 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 02:27:47 +00:00
leaf%mozilla.org
df776b59c9 i give up, backing myself out.
git-svn-id: svn://10.0.0.236/trunk@70980 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 01:53:36 +00:00
sfraser%netscape.com
f2e3671578 Fix for nsbeta2+ bug 38673 - editor UI elements get disabled if you use a dialog to insert the first element in composer.
git-svn-id: svn://10.0.0.236/trunk@70979 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 01:51:31 +00:00
nelsonb%netscape.com
4e9eafa605 Fix build on NT. Correct link order in PKCS11 directory.
git-svn-id: svn://10.0.0.236/trunk@70978 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 01:30:29 +00:00
nelsonb%netscape.com
a2672c9272 Add new implementation of the algorithm from RFC 2268. Fix some comments.
git-svn-id: svn://10.0.0.236/trunk@70977 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 01:29:35 +00:00
dveditz%netscape.com
ecf40dc1dc bug 40654, chrome not registered during Mac install
git-svn-id: svn://10.0.0.236/trunk@70976 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 01:26:22 +00:00
leaf%mozilla.org
2c93d426f5 fixing mac bustage
git-svn-id: svn://10.0.0.236/trunk@70975 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 01:18:07 +00:00
edburns%acm.org
03d158b415 r=brendan
a=brendan
bug: 27362

This fix makes it so nsCLiveconnect.cpp doesn't #include
files within an extern "C" {} block.  To make this work, I
simply moved the extern "C" {} to the minimum necessary
range.  This required placing an "ifdef __cplusplus extern "C""
block in jsj_private.h, since nsCLiveconnect.cpp is the only
c++ file that includes jsj_private.h.


git-svn-id: svn://10.0.0.236/trunk@70974 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 01:12:40 +00:00
cmanske%netscape.com
5a24c35b6b Changed CSS to make height of tag icons match image height. b=28498, r,a=beppe
git-svn-id: svn://10.0.0.236/trunk@70973 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 00:18:33 +00:00
waterson%netscape.com
5a5cff3522 Back out changes that I didn't mean to check in.
git-svn-id: svn://10.0.0.236/trunk@70972 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 00:17:36 +00:00
waterson%netscape.com
798592bacb Fix boneheaded mistake: I left the return type of NS_ConvertUCS2toUTF8::Init().
git-svn-id: svn://10.0.0.236/trunk@70971 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 00:17:10 +00:00
rods%netscape.com
746896d6d8 adding padding to disabled radio buttons
set font for html buttons
removed some unneeded rules
commnted out and "disabled" the label property for options
b 40065,39998 r=ekrock,self


git-svn-id: svn://10.0.0.236/trunk@70970 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:42:27 +00:00
sfraser%netscape.com
1151deaeba Fix nsbeta2+ bug 28973 -- only allow editing of text/html and text/plain files. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@70969 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:42:25 +00:00
leaf%mozilla.org
025b5c147c Fix for 35196, mlk. Free the C strings! r=bruce,hyatt a=waterson
git-svn-id: svn://10.0.0.236/trunk@70968 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:37:23 +00:00
rods%netscape.com
614a71b731 removed some uneeded code
made view so it was resized in SyncFrame
fixed the returning of the -1 for width
make sure combinedarea was set correctly for tables
b 39755,36321 r=buster,evaughan


git-svn-id: svn://10.0.0.236/trunk@70967 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:34:59 +00:00
rods%netscape.com
6a0b888642 set the clickCoubt appropriately on MouseUp so onclicks are sent or disabled correctly
b=40382 , r=joki


git-svn-id: svn://10.0.0.236/trunk@70966 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:31:25 +00:00
mstoltz%netscape.com
21edbcf9bf Fixed bug in DOM security checks, fixes bug 37907, 23516. Added security check for htmlelement.innerhtml, fixes 39083. Added location check to BASE HREF=, fixes 35859. r=vidur. Added check to style= tag, fixes 16858, r=pierre.
git-svn-id: svn://10.0.0.236/trunk@70965 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:28:40 +00:00
mcgreer%netscape.com
d5432800ca fix up file handling.
git-svn-id: svn://10.0.0.236/trunk@70964 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:19:17 +00:00
wtc%netscape.com
e7f717c715 Bugzilla bug #34920: added new test acceptreademu.c to test
PR_EmulateAcceptRead.
Added file: acceptreademu.c
Modified files: Makefile, Makefile.in, runtests.ksh


git-svn-id: svn://10.0.0.236/trunk@70963 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:14:23 +00:00
mcgreer%netscape.com
0d21df33e8 break off mode list when next option is reached
git-svn-id: svn://10.0.0.236/trunk@70962 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:09:09 +00:00
mcgreer%netscape.com
e130527e3f fix dsa self-test
git-svn-id: svn://10.0.0.236/trunk@70961 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:05:05 +00:00
mcgreer%netscape.com
9be62697ba * allow a directory for tests to be specified
* separate pqg generation for dsa test
* fix dsa self-test


git-svn-id: svn://10.0.0.236/trunk@70960 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:04:47 +00:00
waterson%netscape.com
c95e25c6e1 Bug 40601. Properly UTF-8 encode a URL that's been handed to us as UCS-2.
git-svn-id: svn://10.0.0.236/trunk@70959 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:57:04 +00:00
neeti%netscape.com
2884ab4c55 fix for bug 40581. a=leaf. Turning off netscape.cfg feature.
git-svn-id: svn://10.0.0.236/trunk@70958 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:47:39 +00:00
hyatt%netscape.com
1b0165a577 Adding anonymous content getter. r=waterson, a=waterson
git-svn-id: svn://10.0.0.236/trunk@70957 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:45:26 +00:00
thayes%netscape.com
361b57371a Cut over to PSM based secure storage component.
git-svn-id: svn://10.0.0.236/trunk@70956 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:37:13 +00:00
rogerl%netscape.com
3b010bfe27 Removed old branches, changed offset printing to handle NULL operand.
git-svn-id: svn://10.0.0.236/trunk@70955 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:35:36 +00:00
rogerl%netscape.com
29c270e28b Update to new icg constructor etc.
git-svn-id: svn://10.0.0.236/trunk@70954 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:34:42 +00:00
thayes%netscape.com
25a30b6f74 Put SDR changes on the tip. These changes include:
+ support for generic handling of messages on threads (msgthread.*)
  + add set_db_password form handling to control connection (temporary)
  + add SDR functions (Encrypt and Decrypt) and Changepassword to MISC category
  + checkin prototypes for trigger.js and install.js (parts of PSM installation)


git-svn-id: svn://10.0.0.236/trunk@70953 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:34:36 +00:00
rogerl%netscape.com
bbfb961ed9 Statement fun
git-svn-id: svn://10.0.0.236/trunk@70952 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:33:05 +00:00
waterson%netscape.com
eeeb5ab548 Bug 39876. QI() for nsIXULContent rather than checking the element's namespace. Who knows, some day HTML might support nsIXULContent ;-). r=rjc
git-svn-id: svn://10.0.0.236/trunk@70951 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:26:57 +00:00
av%netscape.com
674a9c4de3 nsbeta2+ fix for 17169, cheking in ftang's patch
git-svn-id: svn://10.0.0.236/trunk@70950 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:24:35 +00:00
waterson%netscape.com
11ea188ef2 Bug 40461. Implement NS_ConvertUCS2toUTF8, r=scc,brendan
git-svn-id: svn://10.0.0.236/trunk@70949 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:24:34 +00:00
thayes%netscape.com
68ae42e908 Initial version of the PK11 wrappers for SDR. This version uses a fixed key id (0)
and and 3DES key value.


git-svn-id: svn://10.0.0.236/trunk@70948 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:24:01 +00:00
av%netscape.com
fde2f82df4 nsbeta2+ fix for 17551, approved by PDT team, r=amusil
git-svn-id: svn://10.0.0.236/trunk@70947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:14:39 +00:00
wtc%netscape.com
0e0ce4e608 Bugzilla bug #34920: test PR_EmulateSendFile.
git-svn-id: svn://10.0.0.236/trunk@70946 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:08:29 +00:00
sfraser%netscape.com
80f8b77a96 Since I removed the FetchFontInfo call, no longer have to weak link with InterfaceLib.
git-svn-id: svn://10.0.0.236/trunk@70945 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:04:01 +00:00
sfraser%netscape.com
4d2ec01b87 Fixes for 39811, 36417 -- bad text layout on Mac, due to bad space width measurement. Also fixed justified text drawing. r=brade, a=beppe
git-svn-id: svn://10.0.0.236/trunk@70944 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:03:33 +00:00
pavlov%netscape.com
8a58c18119 fix for 39951 r=slamm a=waterson
git-svn-id: svn://10.0.0.236/trunk@70943 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:00:15 +00:00
leaf%mozilla.org
694932a234 Automated update
git-svn-id: svn://10.0.0.236/trunk@70942 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:00:11 +00:00
tor%cs.brown.edu
7dee9e3f04 SUNWspro5.1+ bustage fix: classic iostream test needs to check
for compilers >=5.0 (actually for anything other than 4.2).


git-svn-id: svn://10.0.0.236/trunk@70941 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 21:54:54 +00:00
harishd%netscape.com
93a69e96ef Yet another try to fix the orangeness.
git-svn-id: svn://10.0.0.236/trunk@70940 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 21:42:05 +00:00
saari%netscape.com
762dd84335 fix for 40167 dogfood bug; missing menu items on MacOS. Removing chatzilla chrome stuff from the mac build since it isn't built on mac anyway. Caused confusion in the overlay load. r=danm
git-svn-id: svn://10.0.0.236/trunk@70939 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 21:19:44 +00:00
karnaze%netscape.com
06430e799c nsbeta2+ bug 23345 - layout strategy bases percent over-allocations on style percent values rather than computed values. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@70938 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 21:13:01 +00:00
harishd%netscape.com
ddfc4f4e5c Let's see if this was the one that caused the orangeness.
git-svn-id: svn://10.0.0.236/trunk@70937 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 21:05:51 +00:00
radha%netscape.com
f5a1bb0728 fix for bug # 35566. r=adamlock@netscape.com
git-svn-id: svn://10.0.0.236/trunk@70936 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 21:04:15 +00:00
radha%netscape.com
33d9e7964b Fix for bugs 1718, 17685, 35566. Take care of postdata and form values while
navigating thro' session history. r=adamlock@netscape.com


git-svn-id: svn://10.0.0.236/trunk@70935 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 21:03:34 +00:00
ruslan%netscape.com
8bdd03cb35 Make res/chrome handlers implement threadsafe_isupports
git-svn-id: svn://10.0.0.236/trunk@70934 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 21:00:18 +00:00
ruslan%netscape.com
bf345da183 Make string properties implement threadsafe_isupports
git-svn-id: svn://10.0.0.236/trunk@70933 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 20:59:04 +00:00
Peter.VanderBeken%pandora.be
d8bd7f7ea4 Clear nodename before calling GetNodeName. Add comment about DOM Level 2.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@70932 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 20:58:28 +00:00
larryh%netscape.com
a8339ae588 BugSplat 25981. missing #endif
git-svn-id: svn://10.0.0.236/trunk@70931 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 20:47:56 +00:00
leaf%mozilla.org
04479d0a89 Automated update
git-svn-id: svn://10.0.0.236/trunk@70930 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 20:45:08 +00:00
tor%cs.brown.edu
57137febd9 SUNWspro5.1 bustage fix: use "-Qoption" instead of undocumented
option passthrough. r=rich.burridge@Sun.COM


git-svn-id: svn://10.0.0.236/trunk@70929 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 20:44:31 +00:00
valeski%netscape.com
73783629e1 39610. r=morse. ftp wasn't ditching bad auths from the wallet
git-svn-id: svn://10.0.0.236/trunk@70928 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 20:25:28 +00:00
ruslan%netscape.com
41d79fff6d Fix 26486
git-svn-id: svn://10.0.0.236/trunk@70927 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 20:12:50 +00:00
rusty.lynch%intel.com
74858ca097 Fixed webshell leaks for each textarea/input element for
bug #39796. r=jst a=waterson


git-svn-id: svn://10.0.0.236/trunk@70926 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 20:09:32 +00:00
rusty.lynch%intel.com
b7d6dab60a Added macro for GETIID.
This is part of a bug fix for bug #39796. r=jst a=waterson


git-svn-id: svn://10.0.0.236/trunk@70925 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 20:07:06 +00:00
harishd%netscape.com
65236ccc8d DumpContent() for parser regression test.
r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@70923 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:59 +00:00
harishd%netscape.com
3a2985bdb9 Added DumpContent() for parser regression test.
git-svn-id: svn://10.0.0.236/trunk@70922 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:54 +00:00
harishd%netscape.com
7d6ec636e5 Open "rtest_html.txt" file to dump content data..
r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@70921 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:49 +00:00
harishd%netscape.com
8418999fec Implemented DumpContent() for parser regression test.
r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@70920 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:42 +00:00
harishd%netscape.com
18fea65aca Added DumpContent() for parser regression test.
Triggered only under debug mode & when PARSER_DUMP_CONTENT flag is set.

r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@70919 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:37 +00:00
harishd%netscape.com
eb61c1cec9 Added DumpContent() triggered by parser [ for regression test ].
r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@70918 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:32 +00:00
harishd%netscape.com
d2f44f024a Parser regression test. Triggered by PARSER_DUMP_CONTENT env. flag
under NS_DEBUG.

r=rickg
a=rickg


git-svn-id: svn://10.0.0.236/trunk@70917 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 19:45:26 +00:00
axel%pike.org
2a47902cce Not part of the build, a=leaf
Bringing Makefiles uptodate with String changes
Get testcase going into new chrome structure.


git-svn-id: svn://10.0.0.236/trunk@70916 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 15:04:52 +00:00
mcgreer%netscape.com
3ad68f9285 self-test
git-svn-id: svn://10.0.0.236/trunk@70915 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 07:53:38 +00:00
shaver%mozilla.org
6b65e23434 Handle illegally-short JPEG comments more gracefully.
Patch from Solar Designer <solar@false.com>.
r=pnunn, a=waterson


git-svn-id: svn://10.0.0.236/trunk@70914 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 07:48:21 +00:00
mcgreer%netscape.com
7616cb0e38 self-test
git-svn-id: svn://10.0.0.236/trunk@70913 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 07:48:19 +00:00
mcgreer%netscape.com
850329a356 Fix up the hashes to only use one mode. Add self-test capability to bltest (test each of the BLAPI functions). DSA self-test not working at this time.
git-svn-id: svn://10.0.0.236/trunk@70912 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 07:41:22 +00:00
tor%cs.brown.edu
db2c5cf469 SUNWspro5.0 bustage fix - include the appropriate header instead
of duplicating the typedef (40651).  r=morse  a=brendan,waterson


git-svn-id: svn://10.0.0.236/trunk@70911 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 07:06:56 +00:00
evaughan%netscape.com
e32f5aa5dd fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt


git-svn-id: svn://10.0.0.236/trunk@70910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:42:29 +00:00
endico%mozilla.org
ce4a10a206 add error attribute to <bug>
git-svn-id: svn://10.0.0.236/trunk@70909 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:34:45 +00:00
waldemar%netscape.com
c4a32c8de3 Added var, const, and for statements
git-svn-id: svn://10.0.0.236/trunk@70908 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:20:11 +00:00
rbs%maths.uq.edu.au
eed09dcad3 [not part of default build] Fix bug 30589, and Fix array index that could wander out of bound and was detected by Peter Van der Beken's Mac Compiler when he was working on bug 39959. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@70907 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 05:56:23 +00:00
shaver%mozilla.org
fcc7b519ef use NS_METHOD for register/unregister callback, for Win32
git-svn-id: svn://10.0.0.236/trunk@70906 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 05:55:00 +00:00
rbs%maths.uq.edu.au
5522923de8 Remove <?xml...> that cause Mozilla to crash. a:waterson@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@70905 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 05:43:40 +00:00
shaver%mozilla.org
1e010bc06d fix build bustage -- I'm an ass
git-svn-id: svn://10.0.0.236/trunk@70904 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 05:18:31 +00:00
shaver%mozilla.org
d247779da6 remove useless nsIModule paste (#22922), add debug() for JS components, use categories for component loaders, XPCONNECT_STANDALONE (#39875), r=dp,waterson a=brendan
git-svn-id: svn://10.0.0.236/trunk@70903 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 04:56:23 +00:00
svn%xmlterm.org
aa8847f25b --NOT PART OF DEFAULT BUILD--
XMLterm changes only. Added FlushPendingNotifications call to scrolling routine to improve scrolling behaviour. Fixed typo in string template changes. Added (commented out) change to xmlterm.html to test PNG alpha "image melding" with the command line!


git-svn-id: svn://10.0.0.236/trunk@70902 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 03:54:47 +00:00
mcafee%netscape.com
dea68b16ed Comment only. Suggesting call to centerWindowOnScreen() (26017)
git-svn-id: svn://10.0.0.236/trunk@70901 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 03:13:11 +00:00
mcafee%netscape.com
83863dff8d Hooking up clear mem/disk cache buttons (39672). r=law
git-svn-id: svn://10.0.0.236/trunk@70900 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 02:30:43 +00:00
dp%netscape.com
e9fe7b9661 Updated code faq on xpcom-log and xpcom-log-analyze
git-svn-id: svn://10.0.0.236/trunk@70899 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 02:09:31 +00:00
wtc%netscape.com
6bbcb406d5 Bugzilla bug #39967: replace an assertion in _PR_MD_GETFILEINFO64 by
proper error checking and failure return.  Thanks to Bernd Mielke
<mielke@licel.com> for the bug report.
Modified files: ntio.c, w95io.c


git-svn-id: svn://10.0.0.236/trunk@70897 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:35:05 +00:00
dp%netscape.com
d4c1a32df2 More caveats.
git-svn-id: svn://10.0.0.236/trunk@70896 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:22:01 +00:00
dp%netscape.com
d7a140bb35 using $logfile consistently.
git-svn-id: svn://10.0.0.236/trunk@70895 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:21:25 +00:00
rginda%netscape.com
45dd6631f1 -- NOT PART OF THE BUILD --
change xpcom namespace id
comment fixes


git-svn-id: svn://10.0.0.236/trunk@70894 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:17:48 +00:00
cmanske%netscape.com
7cc245b6c9 Fixed insert table bug 40205. r=sfraser, a=beppe
git-svn-id: svn://10.0.0.236/trunk@70893 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:16:51 +00:00
evaughan%netscape.com
d2f1f7708c Fix for bug 40324 -r hyatt
git-svn-id: svn://10.0.0.236/trunk@70892 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:10:50 +00:00
wtc%netscape.com
1b283121cc Bugzilla bug #25981: sysconf(_SC_NPROC_ONLN) on SINIX-Z 5.42 and
SINIX-N 5.43 fails with EINVAL.  Don't know why.  So backed it out.


git-svn-id: svn://10.0.0.236/trunk@70891 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:10:23 +00:00
mscott%netscape.com
cecbe0520d Bug #40516 --> remove the oncreate method for the email address popup.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70890 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:10:19 +00:00
mscott%netscape.com
35c791ad20 Bug #40516 --> fix aim presence for mail in the commercial tree.
Changes to make the toggle button an image instead of a button
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70889 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:09:12 +00:00
mscott%netscape.com
4bad738a64 Bug #40516 --> this file is now obsolete....instead of having these
stub methods in the mozilla tree, we'll test to see if the function is
defined (it is in the  commercial tree) then call it if it is defined.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70888 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:08:38 +00:00
mscott%netscape.com
98a4572bed Bug #40516 --> remove on create handler for email address popup.
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70887 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:07:38 +00:00
wtc%netscape.com
0d332d63ea Bugzilla bug #25981: made PR_GetNumberOfProcessors() work on HP-UX 10
and SINIX.  Changed _SC_NPROC_CONF to _SC_NPROC_ONLN.


git-svn-id: svn://10.0.0.236/trunk@70886 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 01:03:47 +00:00
dp%netscape.com
d65a9a9811 Using singleton 1-byte unicode encoders and decoders. This will
eliminate creation of about 1000 objects on startup. r=waterson,cata a=waterson


git-svn-id: svn://10.0.0.236/trunk@70885 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:55:42 +00:00
joki%netscape.com
fab946580d Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge
git-svn-id: svn://10.0.0.236/trunk@70884 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:26:54 +00:00
larryh%netscape.com
ddcf7b1ef8 BugSplat 25981. Fix OS/2 Implementation
git-svn-id: svn://10.0.0.236/trunk@70883 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:24:21 +00:00
pinkerton%netscape.com
7b2ee79160 File Removed.
git-svn-id: svn://10.0.0.236/trunk@70882 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:16:58 +00:00
pinkerton%netscape.com
c8df49db6a fixes for bug 31104 (radio menus not updating when poked in content model). involved making only the menubar be a document observer (which increased performance on mac) and passing attributeChanged messages to menuItems that cared. r=saari.
git-svn-id: svn://10.0.0.236/trunk@70881 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:15:33 +00:00
pinkerton%netscape.com
c2c3b849eb stop building nsXULCommand r=saari. for bug 31104
git-svn-id: svn://10.0.0.236/trunk@70880 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:14:01 +00:00
edburns%acm.org
bcbf08419d bug: 20659
r=gbarney
a=edburns

This checkin adds java.awt.event.MouseListener support to webclient for
mozilla.  The following files are include in this checkin.  "A" is new
file "M" is modified file.

A classes_spec/org/mozilla/webclient/WCMouseEvent.java
A classes_spec/org/mozilla/webclient/wrapper_native/WCMouseListenerImpl.java
A src_moz/DOMMouseListenerImpl.cpp
A src_moz/DOMMouseListenerImpl.h
A src_moz/dom_util.cpp
A src_moz/dom_util.h

M classes_spec/org/mozilla/webclient/EventRegistration.java
M classes_spec/org/mozilla/webclient/test/EMWindow.java
M classes_spec/org/mozilla/webclient/wrapper_native/EventRegistrationImpl.java
M classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java
M src_moz/DocumentLoaderObserverImpl.cpp
M src_moz/DocumentLoaderObserverImpl.h
M src_moz/EventRegistration.cpp
M src_moz/EventRegistration.h
M src_moz/Makefile.solaris
M src_moz/Makefile.win
M src_moz/NativeEventThread.cpp
M src_moz/NavigationImpl.cpp
M src_moz/RDFTreeNode.cpp
M src_moz/bal_util.cpp
M src_moz/jni_util.cpp
M src_moz/jni_util.h
M src_moz/jni_util_export.cpp
M src_moz/jni_util_export.h



A classes_spec/org/mozilla/webclient/WCMouseEvent.java

 * <P> This java.awt.event.MouseEvent subclass allows the user to access the
 * WebclientEvent.  This eventData of this WebclientEvent, if non-null,
 * is a java.util.Properties instance that contains information about
 * this event.  </P>

 * <P>The following are some interesting keys:</P>

 * <UL>

 * <LI> href
 * </LI>

 * <LI> #text
 * </LI>

 * </UL>

A classes_spec/org/mozilla/webclient/wrapper_native/WCMouseListenerImpl.java

 * This class wraps the user provided instance of
 * java.awt.event.MouseListener so it can be installed as a
 * WebclientEventListener.  Note that we implement MouseListener so we
 * can be detected by the webclient event system.  We don't do anything
 * with these methods here, though.


A src_moz/DOMMouseListenerImpl.cpp

A src_moz/DOMMouseListenerImpl.h

 * This class is the shim between the mozilla listener event system for
 * mouse events and the java MouseListener interface.
 * For each of the Mouse* methods, we call the appropriate method in java.
 * See the implementation of MouseOver for an example.

 * For each mouseEvent, we create a Properties object containing
 * information about the event.  We use methods in dom_util to do this.

A src_moz/dom_util.cpp

A src_moz/dom_util.h

/**

 * Methods to simplify webclient accessing the mozilla DOM.

 */

M classes_spec/org/mozilla/webclient/EventRegistration.java

Added support for java.awt.event.MouseListener

M classes_spec/org/mozilla/webclient/test/EMWindow.java

Implemented simle MouseListener

M classes_spec/org/mozilla/webclient/wrapper_native/EventRegistrationImpl.java

Added support for java.awt.event.MouseListener

M classes_spec/org/mozilla/webclient/wrapper_native/NativeEventThread.java

Added support for java.awt.event.MouseListener

M src_moz/DocumentLoaderObserverImpl.cpp
M src_moz/DocumentLoaderObserverImpl.h

 * We define a local IID to allow the addDocumentLoadListener and
 * addMouseListener functions in EventRegistration.{h,cpp} to
 * interrogate the currently installed DocumentLoaderObserver instance
 * in mozilla.

 */

#define NS_IDOCLOADEROBSERVERIMPL_IID_STR "fdadb2e0-3028-11d4-8a96-0080c7b9c5ba"

#define NS_IDOCLOADEROBSERVERIMPL_IID {0xfdadb2e0, 0x3028, 0x11d4, { 0x8a, 0x96, 0x00, 0x80, 0xc7, 0xb9, 0xc5, 0xba }}

/**

 * This class is the shim between the mozilla listener event system for
 * document load events and the java DocumentLoadListener interface.
 * For each of the On* methods, we call the appropriate method in java.
 * See the implementation of OnEndDocumentLoad for an example.

 * A DocumentLoaderObserverImpl instance has a "jobject target", which
 * is the Java object that should ultimately receive the events.  This
 * target will be null if the user just wants to listen for mouse
 * events.  It willl be non-null if the user wants to listen for
 * DocumentLoad events.

 * It also hosts a nsIDOMMouseListener instance, which piggybacks on the
 * nsIDocumentLoaderObserver instance.

M src_moz/EventRegistration.cpp
M src_moz/EventRegistration.h

Add support for MouseListener

M src_moz/Makefile.win

Added classes for MouseListener and Dom access

M src_moz/NativeEventThread.cpp

Added support for MouseListener

M src_moz/NavigationImpl.cpp

Added call to ReleaseStringChars for bal case.

M src_moz/RDFTreeNode.cpp

Added call to ReleaseStringChars for bal case.

M src_moz/bal_util.cpp

Added #include "wchar.h" so this file compiles on Solaris.

M src_moz/jni_util.cpp

Added implementations for util_CreatePropertiesObject,
util_DestroyPropertiesObject and util_StoreIntoPropertiesObject.

M src_moz/jni_util.h

/**

 * A JNI wrapper to create a java.util.Properties object, or the
 * equivalent object in the BAL case.

 */

jobject util_CreatePropertiesObject(JNIEnv *env, jobject reserved_NotUsed);

/**

 * A JNI wrapper to destroy the object from CreatePropertiesObject

 */

void util_DestroyPropertiesObject(JNIEnv *env, jobject propertiesObject,
                                  jobject reserved_NotUsed);

/**

 * A JNI wrapper for storing a name/value pair into the Properties
 * object created by CreatePropertiesObject

 */

void util_StoreIntoPropertiesObject(JNIEnv *env, jobject propertiesObject,
                                    jobject name, jobject value);


M src_moz/jni_util_export.cpp
M src_moz/jni_util_export.h

Added functions for allowing the BAL user to specify functions for
{creating, destroying, setting values into} properties objects.


git-svn-id: svn://10.0.0.236/trunk@70879 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:51:51 +00:00
jst%netscape.com
6472af28e8 Checking in temporary code that lets a user turn on the new DOM Level 2 behavior by setting the 'temp.DOMLevel2update.enabled' preference to true, this is to help with the general DOM update, and it's part of the fix needed for bug 33474. r=vidur@netscape.com, a=pdt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@70878 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:48:45 +00:00
wtc%netscape.com
1b9a633335 Bugzilla bug #40629: the _PR_NewSegment and _PR_DestroySegment functions
are not needed in the pthreads version.  The /dev/zero file, if opened,
should have the close-on-exec flag so that it won't get inherited by
child processes.
Modified files: _unixos.h, primpl.h, prseg.c, unix.c


git-svn-id: svn://10.0.0.236/trunk@70877 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:26:10 +00:00
ruslan%netscape.com
334878d735 Fix 40189, a=gagan
git-svn-id: svn://10.0.0.236/trunk@70876 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:20:30 +00:00
Peter.VanderBeken%pandora.be
8808a6d60b Cleaning up string implementation. Not part of build. a=leaf
git-svn-id: svn://10.0.0.236/trunk@70875 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:15:25 +00:00
ruslan%netscape.com
4b6f1649a1 FIx 40189, a=gagan
git-svn-id: svn://10.0.0.236/trunk@70874 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:14:08 +00:00
mcgreer%netscape.com
5a02e6206f Allow any build to use moz_import rule. mozilla dbm uses different lib name, so copy it over.
git-svn-id: svn://10.0.0.236/trunk@70873 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:10:35 +00:00
attinasi%netscape.com
8ebbdd39ea Fixed a problem with the method AttributeAffectsStyle: it was erroneously ignoring the fact that HTML attributes can affect style even if there are no CSS rules with thos attributes in the selectors. Changed to restrict the selector evaluation to XML elements. r=shaver, a=karnaze, b=39642
git-svn-id: svn://10.0.0.236/trunk@70872 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:02:31 +00:00
Peter.VanderBeken%pandora.be
9a4d0fcae1 Remove TxString.cpp.
Not part of build. a=leaf


git-svn-id: svn://10.0.0.236/trunk@70871 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:01:08 +00:00
Peter.VanderBeken%pandora.be
2ebb0548a9 Correcting comment.
Not part of build. a=leaf


git-svn-id: svn://10.0.0.236/trunk@70870 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:59:25 +00:00
Peter.VanderBeken%pandora.be
d98d36e1b0 Cleaning up end-of-lines.
Not part of build. a=leaf


git-svn-id: svn://10.0.0.236/trunk@70869 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:57:08 +00:00
Peter.VanderBeken%pandora.be
90e59e0c49 Cleaning up string implementation.
Not part of build. a=leaf


git-svn-id: svn://10.0.0.236/trunk@70868 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:52:27 +00:00
nelsonb%netscape.com
92bec039c5 Use the -g keysize value, instead of DES_KEY_LENGTH, for all crypto
algorithms except DES and 3DES.


git-svn-id: svn://10.0.0.236/trunk@70867 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:42:23 +00:00
karnaze%netscape.com
8cc9e6956a nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@70866 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:40:21 +00:00
danm%netscape.com
5f0a629308 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@70865 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:40:08 +00:00
sfraser%netscape.com
4c5ce96ff3 Fix for 14768 -- turn off animated GIFs in editor. r=pnunn a=beppe
git-svn-id: svn://10.0.0.236/trunk@70864 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 21:50:46 +00:00
despotdaemon%netscape.com
da285c2d1e Pseudo-automatic update of changes made by depstein@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@70863 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 21:36:39 +00:00
wtc%netscape.com
3b04c5badd Bugzilla bug #39674: added a test selintr.c to verify that the select()
wrapper in classic NSPR properly blocks the SIGALRM clocks.
Added file: selintr.c
Modified files: Makefile, Makefile.in, runtests.ksh


git-svn-id: svn://10.0.0.236/trunk@70862 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 21:29:38 +00:00
radha%netscape.com
facb92e96d Fix for bug # 39719. Typo in gotoHistoryIndex() a=waterson
git-svn-id: svn://10.0.0.236/trunk@70861 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 21:18:12 +00:00
jst%netscape.com
bdf3919b60 Fixing typo that sneaked in when fixing this mornings mac bustage after fixing bug 36681. r=brade
git-svn-id: svn://10.0.0.236/trunk@70860 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 21:16:06 +00:00
despotdaemon%netscape.com
932a73c656 Pseudo-automatic update of changes made by jimmylee@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@70859 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 21:00:02 +00:00
blizzard%redhat.com
7ded81f062 removing unbuilt files and directories
git-svn-id: svn://10.0.0.236/trunk@70858 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 20:41:59 +00:00
erik%netscape.com
6002f40f82 bug 38387; add optimized GetWidth method to Japanese Windows 95-specific
subclass nsRenderingContextWinA to allow proper layout on Win95-J;
a,r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@70857 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 20:37:01 +00:00
mj%digicool.com
6edaa1844c Remove quotes around inline function code that was once a local Function object. Oops. Thanks to McCabe for finding this. a=brendan
git-svn-id: svn://10.0.0.236/trunk@70856 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 20:10:47 +00:00
kin%netscape.com
d7bccacbfb Part 1 of fix for bug #39821: Drag and Drop interferes with selection.
layout/base/public/nsIFrameSelection.h
  layout/base/src/nsSelection.cpp
  layout/events/src/nsEventStateManager.cpp
  layout/html/base/src/nsFrame.cpp
  layout/html/forms/src/nsGfxTextControlFrame2.cpp
  xpfe/browser/resources/content/navigatorDD.js

r=brade@netscape.com,cmanske@netscape.com a=beppe@netscape.com,waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@70855 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 20:04:02 +00:00
blizzard%redhat.com
19921e6a50 fix unitialized variable reference that was pointed out by jlnance ( thanks! ) r=pavlov, a=brendan
git-svn-id: svn://10.0.0.236/trunk@70854 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 20:02:47 +00:00
waterson%netscape.com
b91dc8288d Bug 36401. Deal with inline-blocks better. Add nsFrameState bit that indicates whether or not a frame is part of a 'special' inline-block hierarchy; use the 'inlineFrameAnnotation' property to remember the next 'special sibling' so that we can traverse correctly; pull methods out of nsCSSFrameConstructor's public API. r=nisheeth,buster
git-svn-id: svn://10.0.0.236/trunk@70853 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 19:58:51 +00:00
leaf%mozilla.org
9149d7ed72 Automated update
git-svn-id: svn://10.0.0.236/trunk@70852 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 19:45:38 +00:00
jgaunt%netscape.com
407b0af043 workaround for bug 39747. timer bustage is causing crash on HP as on Tru64
a=watterson # 39747


git-svn-id: svn://10.0.0.236/trunk@70851 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 19:40:30 +00:00
buster%netscape.com
45b187466f fixed bug 40577
r=rickg
a=leaf


git-svn-id: svn://10.0.0.236/trunk@70850 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 19:26:27 +00:00
brade%netscape.com
a961616ee2 File Removed.
git-svn-id: svn://10.0.0.236/trunk@70849 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 17:43:06 +00:00
brade%netscape.com
8e4e55a454 fix mac build bustage
git-svn-id: svn://10.0.0.236/trunk@70848 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 15:46:41 +00:00
jst%netscape.com
1a18ba7957 Fix typo.
git-svn-id: svn://10.0.0.236/trunk@70847 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:48:50 +00:00
mkaply%us.ibm.com
d67c411673 # 37239
r = mkaply, a = brendan
OS/2 bringup continues on M16 - OS/2 only changes for new string


git-svn-id: svn://10.0.0.236/trunk@70846 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:39:17 +00:00
jst%netscape.com
08b2966e58 Exporting nsIDOMHTMLEmbedElement.h on the mac too.
git-svn-id: svn://10.0.0.236/trunk@70845 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:37:02 +00:00
jst%netscape.com
d60f53edc3 added files: mozilla/dom/src/html/nsJSHTMLEmbedElement.cpp
git-svn-id: svn://10.0.0.236/trunk@70844 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:36:29 +00:00
mkaply%us.ibm.com
a9d8f1a8df # 37239
r = rjc, a = brendan
OS/2 bringup continues on M16 - Adding an XP_OS2 only path


git-svn-id: svn://10.0.0.236/trunk@70843 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:33:17 +00:00
mkaply%us.ibm.com
0c8a093517 # 37239
r = rusty.lynch, a = brendan
OS/2 bringup continues on M16 - Change XP_PC #ifdef to have !defined XP_OS2


git-svn-id: svn://10.0.0.236/trunk@70842 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:30:56 +00:00
mkaply%us.ibm.com
1555cdb946 # 37239
r = naoki, a = brendan
OS/2 bringup continues on M16 - OS/2 changes for string inside of an OS/2 ifdef


git-svn-id: svn://10.0.0.236/trunk@70841 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:28:15 +00:00
mkaply%us.ibm.com
2fa3265dbe # 37239
r = dougt, a = brendan
OS/2 bringup continues on M16 - #ifdefs for OS/2 only


git-svn-id: svn://10.0.0.236/trunk@70840 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:26:34 +00:00
neeti%netscape.com
83c30253b0 fix for 5132. Enabling netscape.cfg. r=dp@netscape.com
git-svn-id: svn://10.0.0.236/trunk@70839 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:26:32 +00:00
brade%netscape.com
45a8386f6e File Removed.
git-svn-id: svn://10.0.0.236/trunk@70838 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:25:11 +00:00
mkaply%us.ibm.com
889f6b82b3 # 34106
r = leaf, a = brendan
Mistake was made with an earlier makefile checkin - removing double definition of EXTRA_DSO_OPTS


git-svn-id: svn://10.0.0.236/trunk@70837 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:25:04 +00:00
mkaply%us.ibm.com
c9e741c5b1 # 37239
r = mkaply@us.ibm.com, a = brendan
OS/2 bringup continues on M16 - These files are OS/2 only


git-svn-id: svn://10.0.0.236/trunk@70836 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:23:27 +00:00
jst%netscape.com
6bfd494c6d Fixing bug 36681, lastModified date for local files was incorrect. r=dougt@netscape.com, a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@70835 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 14:03:57 +00:00
heikki%citec.fi
64d56d0a6b Bug 39715. a=waterson, r=jst.
git-svn-id: svn://10.0.0.236/trunk@70834 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 13:50:41 +00:00
shaver%mozilla.org
cb79075ed7 add content-policy hooks to <embed>/<applet>/<object> handling (#37983, r/a=brendan)
git-svn-id: svn://10.0.0.236/trunk@70833 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 13:32:42 +00:00
shaver%mozilla.org
dc84b2f4de add content-policy hooks to <script> handling (#37983, r/a=brendan)
git-svn-id: svn://10.0.0.236/trunk@70832 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 13:29:15 +00:00
jst%netscape.com
6c1fd2d1d4 Checking in fix for nsbeta2+ bug 38821, the fix was written by rusty.lynch@intel.com. The problem was that nsIDOMHTMLEmbedElement wasn't implemented by nsHTMLEmbedElement and the script object created for the element was a normal HTMLElement script object and not a HTMLEmbedElement script object on non-unix platforms. r=me
git-svn-id: svn://10.0.0.236/trunk@70831 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 13:26:32 +00:00
ben%netscape.com
8113636888 fixes for 39690, 22056, 36125. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@70830 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 12:14:15 +00:00
mccabe%netscape.com
5bb35c4665 Fix the fix to 40406, fixing bustage.
Don't destroy the per-thread safe JS context on cleanup if that context was provided through the setter.

r=waterson


git-svn-id: svn://10.0.0.236/trunk@70829 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 08:33:53 +00:00
warren%netscape.com
77c67afe23 Bug 24764. Cache of opened jar files. r=waterson
git-svn-id: svn://10.0.0.236/trunk@70828 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 08:32:09 +00:00
warren%netscape.com
90db77c3c7 Fixed nsZipReaderCache to get hits. (not used yet)
git-svn-id: svn://10.0.0.236/trunk@70827 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 08:30:29 +00:00
warren%netscape.com
c7bdf7e501 Lowercased handleEvent
git-svn-id: svn://10.0.0.236/trunk@70826 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 08:29:10 +00:00
warren%netscape.com
dc67c1a356 Removing URIParser attribute from nsIURI interface. Fixed Equals for case when port is the default. Cached URL parsers (all 3) to reduce object allocation. r=andreas,dp
git-svn-id: svn://10.0.0.236/trunk@70825 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 08:27:40 +00:00
ben%netscape.com
4d0d5a081c classic skin stuff (not part of build)
git-svn-id: svn://10.0.0.236/trunk@70824 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 08:07:11 +00:00
waterson%netscape.com
563f378d79 Bug 39037. Feeble attempt to fix: if for some reason we never got a parser, or the SetParser(nsnull) is called before calling DidBuildModel().
git-svn-id: svn://10.0.0.236/trunk@70823 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 06:58:34 +00:00
alecf%netscape.com
ddca5f2eaa ok, I'm a bonehead. set the passed in flag, not the TRASH flag on newly created local folders. duh.
git-svn-id: svn://10.0.0.236/trunk@70822 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 06:50:08 +00:00
waterson%netscape.com
1eabc360fe Bug 38887. Fix import of IE bookmarks, patch courtesy m_kato@ga2.so-net.ne.jp (Makoto Kato). r=rjc
git-svn-id: svn://10.0.0.236/trunk@70821 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 06:43:01 +00:00
waterson%netscape.com
a576e2bcde Bug 38887. Fix import of IE bookmarks, patch courtesy m_kato@ga2.so-net.ne.jp (Makoto Kato). r=waterson
git-svn-id: svn://10.0.0.236/trunk@70820 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 06:42:33 +00:00
rickg%netscape.com
76d5cb7753 fixed beta2 bugs: 38203, 38228, 39520, 40060, and WIP for bug 40190; also enabled debug code for automated regression testing of content models.
git-svn-id: svn://10.0.0.236/trunk@70819 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 06:19:32 +00:00
alecf%netscape.com
67c96f682b fix typo inside a #if 0 that was confusing the linux preprocessor
git-svn-id: svn://10.0.0.236/trunk@70818 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 06:18:32 +00:00
alecf%netscape.com
79202a1e68 make wizard and account manager resizable (#39202)
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70817 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 06:10:28 +00:00
ben%netscape.com
e6026954ae classic skin stuff
git-svn-id: svn://10.0.0.236/trunk@70816 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 06:05:00 +00:00
ben%netscape.com
fae61afe58 classic skin work, not part of build!
git-svn-id: svn://10.0.0.236/trunk@70815 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 06:04:41 +00:00
ben%netscape.com
332002ffd6 skinnability fixes for bookmarks
git-svn-id: svn://10.0.0.236/trunk@70814 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 06:00:50 +00:00
alecf%netscape.com
947a394d95 use string bundle based strings for all folders except the inbox (trash still needs to be done)
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70813 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 06:00:45 +00:00
ben%netscape.com
7225279f50 skinnability fixes for main windows
git-svn-id: svn://10.0.0.236/trunk@70812 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 06:00:16 +00:00
ben%netscape.com
68273ef7ed skinnability work for editor, 38534, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@70811 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 05:56:25 +00:00
ben%netscape.com
f305e3f586 skinnability work (19557)
git-svn-id: svn://10.0.0.236/trunk@70810 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 05:55:35 +00:00
ben%netscape.com
41a804e9c4 skinnability cleanup
git-svn-id: svn://10.0.0.236/trunk@70809 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 05:54:47 +00:00
ben%netscape.com
46fd1a6f85 some more sidebar skinnability stuff (19557) and fix assert and non-visible sidebar panel header in preview (39632)
git-svn-id: svn://10.0.0.236/trunk@70808 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 05:53:39 +00:00
alecf%netscape.com
3ef84367ad cooler way of sharing INBOX/Drafts/etc strings between nsPop3IncomingServer and nsNoIncmoingServer
as fix for 14421 r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70807 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 05:53:33 +00:00
alecf%netscape.com
aee143cbf7 fix horribly obvious typo that might cause assertions (surprised it hasn't already)
git-svn-id: svn://10.0.0.236/trunk@70806 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 05:14:24 +00:00
rpotts%netscape.com
d2142ef832 bug #29178. Do not show a blank document when a HTTP server returns a status 204 - No Content
git-svn-id: svn://10.0.0.236/trunk@70805 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 05:12:58 +00:00
sspitzer%netscape.com
e99cd8531b removing mimerosetta.h from the build. it is not used anymore.
git-svn-id: svn://10.0.0.236/trunk@70804 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 04:53:58 +00:00
alecf%netscape.com
8ecb06672e add unsent messages folder support (for a bunch of i18n bugs)
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70803 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 04:53:24 +00:00
alecf%netscape.com
6a18fa0471 fix for 37183 - hardcoded strings in nsMsgStatusFeedback - get them from the string bundle
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70802 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 04:10:47 +00:00
alecf%netscape.com
c2fcf7d5ea fix for #33852 - make "Local Folders" a localized string during migration
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70801 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 04:07:26 +00:00
alecf%netscape.com
cdb16112f1 fix for #18364 - get this string from the string bundle r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@70800 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 04:05:40 +00:00
alecf%netscape.com
3b4f4b559c removing conflicting files
git-svn-id: svn://10.0.0.236/trunk@70799 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 03:59:34 +00:00
alecf%netscape.com
da00796feb for local mail, use localized Drafts/Templates/etc from the stringbundle
git-svn-id: svn://10.0.0.236/trunk@70798 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 03:52:40 +00:00
alecf%netscape.com
669b3b25bc add localized strings for Inbox/Drafts/etc as preparation for 18364/37183/33852
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70797 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 03:50:48 +00:00
alecf%netscape.com
5d239f106a add localized strings for Drafts/Inbox/etc to base folder
class as static members (preparation for 18364/33852)
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70796 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 03:49:10 +00:00
blizzard%redhat.com
aa1a88d8d1 add google to the list of default search engines. bug #32586. r=rjc a=brendan
git-svn-id: svn://10.0.0.236/trunk@70795 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 03:39:08 +00:00
blizzard%redhat.com
fd5757b311 add google search service from Amit Patel <amitp@google.com>. bug #32586. r=rjc a=brendan
git-svn-id: svn://10.0.0.236/trunk@70794 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 03:37:35 +00:00
cmanske%netscape.com
b2680e8d6e Fixed object properties bug 39649, including moving methods involved (without change) from ComposerCommands.js to editor.js as suggested by sfraser. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@70793 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 03:35:33 +00:00
pinkerton%netscape.com
75d743e1e7 Fix for bug 7956, don't change cursor when app is in background. added knowledge of if we're in the bg to the nsToolkit and nsWindow now checks it. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@70792 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 03:35:13 +00:00
cmanske%netscape.com
c828e574cc Fixed object properties bug 39649. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@70791 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 03:34:20 +00:00
pinkerton%netscape.com
05818ed551 export nsIChangeManager.idl (mac-only) [Not part of build]
git-svn-id: svn://10.0.0.236/trunk@70790 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 03:30:36 +00:00
pinkerton%netscape.com
6b4371f7db First Checked In.
git-svn-id: svn://10.0.0.236/trunk@70789 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 03:30:02 +00:00
leaf%mozilla.org
19ec65c651 Automated update
git-svn-id: svn://10.0.0.236/trunk@70788 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 02:15:10 +00:00
wtc%netscape.com
9d0be6dc60 Bugzilla bug #26506: removed the dns lock if the platform has
gethostbyXXX_r or if the gethostbyXXX functions return the result
in thread specific storage.  Did this for AIX, HP-UX, IRIX, OSF1,
Linux, and Solaris.
Modified files: AIX.mk, HP-UX.mk, IRIX.mk, OSF1.mk, _linux.h,
_solaris.h, and prnetdb.c


git-svn-id: svn://10.0.0.236/trunk@70787 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 02:07:07 +00:00
jefft%netscape.com
9aa006663a try again; a better way to fix sun os bustage
git-svn-id: svn://10.0.0.236/trunk@70786 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 02:05:08 +00:00
axel%pike.org
4d0326284e fixing horkage of clobber builds, e.g. shrike, a=syd
git-svn-id: svn://10.0.0.236/trunk@70785 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 02:04:55 +00:00
jefft%netscape.com
5b3314c506 fixed sun os bustage
git-svn-id: svn://10.0.0.236/trunk@70784 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 01:55:46 +00:00
wtc%netscape.com
5ca4f93550 Bugzilla bug #40529: fixed bugs in PR_GetIPNodeByName (the code that
appends the IPv4 addresses returned by the second gethostbyname2
call to the h_addr_list).


git-svn-id: svn://10.0.0.236/trunk@70783 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 01:37:45 +00:00
pavlov%netscape.com
80f1c1d362 fix stupid windows compiler
git-svn-id: svn://10.0.0.236/trunk@70782 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 01:24:07 +00:00
pavlov%netscape.com
91b6a99ed2 try to fix stupid windows compiler bustage
git-svn-id: svn://10.0.0.236/trunk@70781 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 01:20:20 +00:00
axel%pike.org
15c6b2f1a9 Getting us a step closer to xslt on mozilla, see 36038,
[NOT PART OF THE BUILD]


git-svn-id: svn://10.0.0.236/trunk@70780 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 01:03:29 +00:00
sspitzer%netscape.com
35c6afda66 fix for #36159, get send unsent messages to work again. while I'm here, remove
the rosetta_mailnews.h horse crap.  r=mscott.


git-svn-id: svn://10.0.0.236/trunk@70779 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 01:02:13 +00:00
jefft%netscape.com
0941577de1 fixed bug 39810 - empty trash on exit causes slow shutdow; PR_Wait() too long; r=mscott
git-svn-id: svn://10.0.0.236/trunk@70778 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 00:56:28 +00:00
ssu%netscape.com
e00be1c883 fixing bugs #:
39783 - installer should install seamonkey into a subfolder from chosen destination path.
34011 - err check for files getting downloaded before installation starts

The code to fix this bug is in, but simply disabled
39015 - Browser needs proxy settings from installer when available

r=sgehani


git-svn-id: svn://10.0.0.236/trunk@70777 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 00:47:30 +00:00
ssu%netscape.com
afab02fd48 fixing bugs #:
39783 - installer should install seamonkey into a subfolder from chosen destination path.
34011 - err check for files getting downloaded before installation starts

The code to fix this bug is in, but simply disabled
39015 - Browser needs proxy settings from installer when available

r=sgehani

this particular file is not part of tinderbox build.


git-svn-id: svn://10.0.0.236/trunk@70776 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 00:46:30 +00:00
pavlov%netscape.com
724589f4d5 fix for unix file picker not handling null window parents bug 34328 r=brendan, slamm
fix for mailnews' file->save as dialog not saving files on unix in due to its handling of file extentions and filters.  this code now uses nsIFilePicker.  fixes nsbeta2+ bug 31096. r=mscott


git-svn-id: svn://10.0.0.236/trunk@70775 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 00:44:10 +00:00
sgehani%netscape.com
d5cadd0f3c Fixing seg fault on exit. [b=36781, r=dveditz]
git-svn-id: svn://10.0.0.236/trunk@70774 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 00:13:48 +00:00
jfrancis%netscape.com
dc1c4a0f26 fixing unix nsCOMPtr usage
git-svn-id: svn://10.0.0.236/trunk@70773 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:59:45 +00:00
pinkerton%netscape.com
384f96111e Using WINAPI macro for callback routines. Thanks to juberti@aol.com and
jesusx@who.net for the help and moral support. r=mozbot a=mozbot


git-svn-id: svn://10.0.0.236/trunk@70772 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:56:47 +00:00
jfrancis%netscape.com
8ce2bf117c fixes:
14753, 29843, 39864, 40141, 
40139, 36679, 39542, 34729, 
34855, 37216, 39292, 26447

r=sfraser,cmanske,fm; a=beppe


git-svn-id: svn://10.0.0.236/trunk@70771 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:38:07 +00:00
jst%netscape.com
9060265f7d Fixing bug nsbeta2+ bug 40197, accessing .href on anchors with no href attribute returned the base URL in stead of an empty string, same problem exists and is fixed with this checkin for images. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@70770 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:37:26 +00:00
buster%netscape.com
5527b8755e partial fix for bug 40211. This fixes the layout assertions loading the page.
the problem was dynamic creation of positioned elements wasn't properly handled
r=nisheeth@netscape.com


git-svn-id: svn://10.0.0.236/trunk@70769 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:28:20 +00:00
warren%netscape.com
3947d4bedd Fix problem handing deleted string to SetURLString. r=alecf
git-svn-id: svn://10.0.0.236/trunk@70768 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:26:49 +00:00
blizzard%redhat.com
8ef8ff1ccd bring test case in sync with new header file definitions
git-svn-id: svn://10.0.0.236/trunk@70767 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:24:39 +00:00
morse%netscape.com
d8a3f73756 bug 39653, describe obscure/encrypt choice better to reduce our liability, r=dp
git-svn-id: svn://10.0.0.236/trunk@70766 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:22:15 +00:00
blizzard%redhat.com
e1384a377c make enums more gtklike. r=pavlov, a=waterson
git-svn-id: svn://10.0.0.236/trunk@70765 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:18:23 +00:00
blizzard%redhat.com
4e897f6bfc automatically add text/plain where text/unicode is present. r=pavlov, a=waterson part of #37003
git-svn-id: svn://10.0.0.236/trunk@70764 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:17:43 +00:00
blizzard%redhat.com
8821148730 add interlacebuf to ipng_struct that was missed on pnunn's checkin. should fix impending redness. a=leaf
git-svn-id: svn://10.0.0.236/trunk@70763 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:12:00 +00:00
putterman%netscape.com
c0e639cf21 Fix for dogfood bug 40483. r=sspitzer. a=phil. Can now bring up account wizard when a new
profile is created.


git-svn-id: svn://10.0.0.236/trunk@70762 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:09:34 +00:00
ruslan%netscape.com
a50e3159f5 Fix 39107, a=gagan
git-svn-id: svn://10.0.0.236/trunk@70761 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:04:57 +00:00
jfrancis%netscape.com
4eb70cc230 fixes 29329
git-svn-id: svn://10.0.0.236/trunk@70760 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:01:09 +00:00
jfrancis%netscape.com
ed99ef899d fixes:
14753, 29843, 39864, 40141, 
40139, 36679, 39542, 34729, 
34855, 37216, 39292, 26447

r=sfraser,cmanske,fm; a=beppe


git-svn-id: svn://10.0.0.236/trunk@70759 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:00:24 +00:00
leaf%mozilla.org
63cbfa5ff2 Automated update
git-svn-id: svn://10.0.0.236/trunk@70758 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 23:00:11 +00:00
pnunn%netscape.com
7fed4815e5 bug#3195: Checking in for Chris Hill. Thanks for the patch, Chris.
fixes progressive (interlacing) png's. rev:pnunn@netscape.com, a:brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@70757 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 22:59:20 +00:00
dougt%netscape.com
6e6d15c4c5 Making ProxyService Threadsafe for Add and Remove Proxy. r=gagan.
git-svn-id: svn://10.0.0.236/trunk@70756 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 22:55:35 +00:00
axel%pike.org
db0570790a Fix for 40456, adding --enable-xsl to configure
second is not part of default build, r,a=leaf


git-svn-id: svn://10.0.0.236/trunk@70755 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 22:54:58 +00:00
mccabe%netscape.com
41a691e959 Fix for 40406. Add setter to XPConnect to set default JS context used to execute JS components when no appropriate context can be found.
The setter changes per-thread data - for the DOM/UI thread, this means that we can set the JS Context to one with DOM magic.  This magic allows some DOM JS <-> XPConnect JS conversions to succeed, and in particular allows creation of a DOM window from within a JS component.

Unblocks nsbeta2 work by Vishy and Pavlov.

r=mccabe,vishy.  a=brendan,sleestack.


git-svn-id: svn://10.0.0.236/trunk@70754 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 22:54:57 +00:00
dougt%netscape.com
7244bf12cf removing warning.
git-svn-id: svn://10.0.0.236/trunk@70753 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 22:53:15 +00:00
blizzard%redhat.com
246c094554 fix searching from the search sidebar. fix css for Customize dialog. r=rjc,waterson a=waterson,brendan
git-svn-id: svn://10.0.0.236/trunk@70752 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 22:52:39 +00:00
dougt%netscape.com
63352db625 nsPSMComponent.cpp
1.  Reduce complexity in launching code.

nsPSMShimLayer.c
1.  Read and Write should timeout
2.  Read and Write should return errors... duh.
2.  PR_IN_PROGRESS_ERROR on Connect should be returned

nsPSMUICallbacks.cpp
1. Use the modal flag to open new windows.

nsSSLIOLayer.cpp
1.  disable Nagle algorithm

r=valeski@netscape.com


git-svn-id: svn://10.0.0.236/trunk@70751 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 22:51:27 +00:00
danm%netscape.com
1fedac2750 fixing broken makefiles (see warnings in full tinderbox log) r=law
git-svn-id: svn://10.0.0.236/trunk@70750 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 21:20:50 +00:00
sfraser%netscape.com
d16fda390c Fix for 40444; don't allow buttons to steal focus willy-nilly, because this breaks toolbar buttons. What really needs to happen is that every kind of toolbar buttons needs user-focus: none style. r=hyatt, a=leaf
git-svn-id: svn://10.0.0.236/trunk@70749 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 20:52:26 +00:00
nelsonb%netscape.com
426f0d84cf Simplify and speed up client cache expiration detection.
git-svn-id: svn://10.0.0.236/trunk@70748 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 19:28:27 +00:00
nboyd%atg.com
a07cbfd43f Add rhino9 and rhinoms9.
git-svn-id: svn://10.0.0.236/trunk@70747 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 18:10:55 +00:00
locka%iol.ie
52c73e6671 Fixed back button scrolling to scroll to top left corner b=39716, r=jst
git-svn-id: svn://10.0.0.236/trunk@70746 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 17:18:10 +00:00
dveditz%netscape.com
a6d0dde7ef attempting to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@70745 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 15:37:12 +00:00
dveditz%netscape.com
40ed0a211b adding new error defines to wizard header to match new errors in XPInstall engine
git-svn-id: svn://10.0.0.236/trunk@70744 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 14:15:34 +00:00
dveditz%netscape.com
69fa7a30f7 Getting installed overlays to work, dogfood bug 1011 in bugSCAPE. Also fixing
misc horkage (still!!) from the nsIFile landing necessary to get this working
(bugs 40228, 40403, 40405, 37964, 28950)


git-svn-id: svn://10.0.0.236/trunk@70743 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 14:13:39 +00:00
dveditz%netscape.com
bd5eb0a920 Getting chrome registered in the build, necessary to fix install overlay problem
(bugSCAPE bug 1011), r=ssu


git-svn-id: svn://10.0.0.236/trunk@70742 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 14:08:46 +00:00
ben%netscape.com
df62b399af fix skinnability flaw (taskbar toolbar not in toolbox)
git-svn-id: svn://10.0.0.236/trunk@70741 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 13:57:19 +00:00
ben%netscape.com
f96e0a6579 classic skin...
git-svn-id: svn://10.0.0.236/trunk@70740 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 13:55:46 +00:00
ben%netscape.com
f9caa2dd32 classic skin...
git-svn-id: svn://10.0.0.236/trunk@70739 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 13:50:39 +00:00
ben%netscape.com
2a805af5a6 classic skin work (not part of build)
git-svn-id: svn://10.0.0.236/trunk@70738 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 13:45:43 +00:00
ben%netscape.com
fa3ee0d0fb fix skinnability flaw (put menubar in toolbox)
git-svn-id: svn://10.0.0.236/trunk@70737 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 13:45:01 +00:00
jefft%netscape.com
4904fc73e5 fixed bug 39883 - compact local folder crashes in nsMsgLocalMailFolder::Compact() with null database; r=putterman
git-svn-id: svn://10.0.0.236/trunk@70736 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 12:30:10 +00:00
ben%netscape.com
873eeef29d classic skin stuff
git-svn-id: svn://10.0.0.236/trunk@70735 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 09:51:54 +00:00
ben%netscape.com
fefcf2c5a1 widget lovin', r=hyatt
git-svn-id: svn://10.0.0.236/trunk@70734 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 09:45:04 +00:00
axel%pike.org
b40fc40007 Updating new build scheme for recent checkins, NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@70733 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 08:39:01 +00:00
hyatt%netscape.com
78f6e2f128 fix broken skin switching, r=ben
git-svn-id: svn://10.0.0.236/trunk@70732 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 08:36:10 +00:00
mcafee%netscape.com
a45100995b Fixing double-quit menu item problem; doubly-included globalOverlay files in browser, mailcompose. (38170) r=jrgm, ducarroz
git-svn-id: svn://10.0.0.236/trunk@70731 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 08:30:47 +00:00
saari%netscape.com
b703aee163 Fix for nsbeta2+ 33735, r=joki
git-svn-id: svn://10.0.0.236/trunk@70730 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 08:28:41 +00:00
hyatt%netscape.com
5691cb18d4 xbl fix r=ben
git-svn-id: svn://10.0.0.236/trunk@70729 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 08:27:29 +00:00
hyatt%netscape.com
94cf1a9da7 menu patch for rods, r=ben
git-svn-id: svn://10.0.0.236/trunk@70728 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 08:26:04 +00:00
sspitzer%netscape.com
221d93b578 fix for #26768, r=mscott. get biff / get new msg to work properly if you have
two accounts on the same pop server.


git-svn-id: svn://10.0.0.236/trunk@70727 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 08:24:43 +00:00
sspitzer%netscape.com
1772f2651f fix for #40245. r=mscott
git-svn-id: svn://10.0.0.236/trunk@70726 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 08:22:41 +00:00
hyatt%netscape.com
4fe7279acf XBL Fixes r=ben
git-svn-id: svn://10.0.0.236/trunk@70725 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 08:19:10 +00:00
hyatt%netscape.com
b082cddab4 XBL fixes r=ben
git-svn-id: svn://10.0.0.236/trunk@70724 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 08:18:38 +00:00
hyatt%netscape.com
94560c5bbe Fix for blocker bug: cannot create profile on linux, r=ben
git-svn-id: svn://10.0.0.236/trunk@70723 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 07:31:38 +00:00
mccabe%netscape.com
fb8d5eef77 Not used by Mozilla!
(also fixes a warning)

Change to use non-deprecated js getter/setter syntax.


git-svn-id: svn://10.0.0.236/trunk@70722 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 07:20:11 +00:00
ben%netscape.com
79b8a86bff classic skin work... (not part of build!)
git-svn-id: svn://10.0.0.236/trunk@70721 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 06:47:00 +00:00
rginda%netscape.com
224384074a -- NOT PART OF THE BUILD --
adding windows makefiles for component viewer
modified some comments


git-svn-id: svn://10.0.0.236/trunk@70720 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 05:58:28 +00:00
alecf%netscape.com
82ebb05027 augh, back myself out, accidentally checked in on a closed tree
git-svn-id: svn://10.0.0.236/trunk@70719 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 05:05:29 +00:00
kvisco%ziplink.net
74dcb00fb9 latest changes
git-svn-id: svn://10.0.0.236/trunk@70718 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 05:04:15 +00:00
alecf%netscape.com
c83ff6e681 move strings to messenger.properties
git-svn-id: svn://10.0.0.236/trunk@70717 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 05:03:59 +00:00
kvisco%ziplink.net
fa3187a549 Added fix from Marc Schefer regarding OR expressions
git-svn-id: svn://10.0.0.236/trunk@70716 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 05:00:25 +00:00
rginda%netscape.com
fbc1381dfd -- NOT PART OF THE BUILD --
Initial add of XUL/JS XPCOM component viewer.  Unix makefiles only.
to build on unix:
cd mozilla/extensions
make makefiles DIRS=cview
(ignore errors)
cd cview
make
start mozilla, you should have a "Component Viewer" in tasks->tools


git-svn-id: svn://10.0.0.236/trunk@70715 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 04:58:18 +00:00
kvisco%ziplink.net
8ae68ccb53 updated with latest info
git-svn-id: svn://10.0.0.236/trunk@70714 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 04:54:08 +00:00
kvisco%ziplink.net
ef8ea85c55 Non important changes
git-svn-id: svn://10.0.0.236/trunk@70713 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 04:29:00 +00:00
kvisco%ziplink.net
f0d623141e patched compilation error
git-svn-id: svn://10.0.0.236/trunk@70712 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 04:24:45 +00:00
kvisco%ziplink.net
29d5bf19a7 Initial checkin for Olivier
git-svn-id: svn://10.0.0.236/trunk@70711 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 03:46:43 +00:00
kvisco%ziplink.net
58c07c0a5b Added Olivier's changes to support the document() function
git-svn-id: svn://10.0.0.236/trunk@70710 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 03:46:31 +00:00
nelsonb%netscape.com
1880f41677 Correct the implementation of the options for disabling SSL2, SSL3 and TLS.
Add a new -R option to selfserv, which disables detection of rollback from
TLS to SSL3.0.  This is necessary for testing with broken TLS clients.


git-svn-id: svn://10.0.0.236/trunk@70709 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 03:44:50 +00:00
nelsonb%netscape.com
73f5156cca Fix the logic in client and server to detect version roll-back attack,
rolling back from TLS (SSL 3.1) to SSL 3.0.  Provide a new SSL socket
option to disable roll-back detection in servers, since certain TLS
clients are doing it incorrectly.


git-svn-id: svn://10.0.0.236/trunk@70708 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 03:35:23 +00:00
nelsonb%netscape.com
e4ad3d1501 Changes in support of corrected TLS rollback detection.
git-svn-id: svn://10.0.0.236/trunk@70707 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 03:31:44 +00:00
ben%netscape.com
763292e2e3 classic image files. not part of build
git-svn-id: svn://10.0.0.236/trunk@70706 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 02:53:09 +00:00
ben%netscape.com
78ad2d800d another classic file
git-svn-id: svn://10.0.0.236/trunk@70705 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 02:39:17 +00:00
ruslan%netscape.com
3568ff8c3a Fix 17570 (refresh header is broken)[nsbeta2+]; r/a=gagan
git-svn-id: svn://10.0.0.236/trunk@70704 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 02:32:13 +00:00
nelsonb%netscape.com
45d8ebf2ca Fix a transcription error that caused a crash.
git-svn-id: svn://10.0.0.236/trunk@70703 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 02:22:18 +00:00
waldemar%netscape.com
c942d3014f Fixed case/default indenting
git-svn-id: svn://10.0.0.236/trunk@70702 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 02:18:57 +00:00
ben%netscape.com
1d9145dffa classic skin stuff, not part of build
git-svn-id: svn://10.0.0.236/trunk@70701 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 02:18:11 +00:00
rogerl%netscape.com
2cd8ea4b80 Codegen for statements. Blew off old statement API and most of the test
functions for now, sorry.


git-svn-id: svn://10.0.0.236/trunk@70700 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 02:11:39 +00:00
idk%eng.sun.com
86d0fa61c2 Added Adaptor classes and Generic factory. Now we do not need to implement
PlugletFactory for simple pluglets.


git-svn-id: svn://10.0.0.236/trunk@70699 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 02:01:57 +00:00
waldemar%netscape.com
e3f617396a Turned on statement parsing and printing
git-svn-id: svn://10.0.0.236/trunk@70698 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 01:51:32 +00:00
waldemar%netscape.com
8d0c030319 Added statement parsing
git-svn-id: svn://10.0.0.236/trunk@70697 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 01:51:20 +00:00
danm%netscape.com
f9a9c4dd98 make processing of installed-chrome more robust. bugs 38198, 40186
git-svn-id: svn://10.0.0.236/trunk@70696 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 01:25:54 +00:00
waldemar%netscape.com
98d196d511 Added using std::fmod declaration
git-svn-id: svn://10.0.0.236/trunk@70695 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 00:55:23 +00:00
waldemar%netscape.com
6e9fc922fc Fixed Mac warning
git-svn-id: svn://10.0.0.236/trunk@70694 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 00:54:56 +00:00
waldemar%netscape.com
33c4987b24 Fixed Mac warnings
git-svn-id: svn://10.0.0.236/trunk@70693 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 00:54:40 +00:00
waldemar%netscape.com
7d8705ed17 Fixed syntax errors: can't use qualified names in class definitions, and 'not' is a C++ reserved word
git-svn-id: svn://10.0.0.236/trunk@70692 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 00:54:28 +00:00
varada%netscape.com
ff17fd6941 fix for bug #32115 -extending the progress bar
git-svn-id: svn://10.0.0.236/trunk@70691 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 00:30:55 +00:00
jbetak%netscape.com
e5358e41fc 36136 [regression]View source with meta charset info does not display properly
r=ftang


git-svn-id: svn://10.0.0.236/trunk@70690 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 23:09:25 +00:00
slamm%netscape.com
50079858a8 Fix typo from the last checkin.
git-svn-id: svn://10.0.0.236/trunk@70689 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 22:52:52 +00:00
locka%iol.ie
983bffdc95 Fixed problem with internation pages, bug 40320
Fixed problem with reloading the same page twice bug 40318
Reviewed by rahda


git-svn-id: svn://10.0.0.236/trunk@70688 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 22:36:47 +00:00
sspitzer%netscape.com
e29625922e stop the crash that causes #40306. the "first time start page" causes us
many problem on linux, not sure if it is related to that page, or
the redirect.  still investigating.

other changes here remove the crap code that forces you to go to
the checkin guidelines page and to see the account manager on start up
on debug builds.  this was preventing debug builds from seeing the problem.

after this change debug behaves like optimized, which is what we want.

r=mscott, a=granrose


git-svn-id: svn://10.0.0.236/trunk@70687 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 22:18:08 +00:00
mcgreer%netscape.com
231ef49c1e Added calls for BSAFE 5.0
git-svn-id: svn://10.0.0.236/trunk@70686 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 22:15:25 +00:00
larryh%netscape.com
ba7a80b797 BugZilla 25981. PR_GetNumberOfCpus()
git-svn-id: svn://10.0.0.236/trunk@70685 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 21:35:16 +00:00
ashuk%eng.sun.com
0ef34b084a Added fix for GetSourceBytes and SelectAll Stubs
author = ashuk
r = edburns

_Ashu


git-svn-id: svn://10.0.0.236/trunk@70684 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 21:10:02 +00:00
ashuk%eng.sun.com
92f29b7df3 Added code for CurrentPage::SelectAll()
author = ashuk
r = edburns

_Ashu


git-svn-id: svn://10.0.0.236/trunk@70683 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 21:08:27 +00:00
ashuk%eng.sun.com
88f2758dfd Added code for SelectAll()
author = ashuk
r = edburns

_Ashu


git-svn-id: svn://10.0.0.236/trunk@70682 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 21:07:49 +00:00
ashuk%eng.sun.com
cb6b63eb44 Added code to throw UnimplementedException whenever a method tht is
not yet implemented is called.

Bug = 40330
a = ashuk
r = edburns

_Ashu


git-svn-id: svn://10.0.0.236/trunk@70681 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 21:06:41 +00:00
ashuk%eng.sun.com
d60a1b5e4b Added code for UnimplementedException. This exception gets thrown whenever a
funcion that has not yet been implemented is called.

Bug = 40330
author = ashuk
r = edburns

_Ashu


git-svn-id: svn://10.0.0.236/trunk@70680 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 21:04:47 +00:00
nboyd%atg.com
c21916a171 Remove unused constructor.
git-svn-id: svn://10.0.0.236/trunk@70679 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 21:03:50 +00:00
nboyd%atg.com
aad7a4b568 Fix up bug where direct calls were getting the parent scope when they shouldn't have,
resulting in a NullPointerException on the following code when run on the MS VM with -opt 9:

var testcases = getTestCases();

function getTestCases() {
    return new Boolean(new MyObject(true));
}

function MyObject( value ) {
    this.value = value;
    this.valueOf = new Function( "return this.value" );
    return this;
}


git-svn-id: svn://10.0.0.236/trunk@70678 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 20:59:13 +00:00
mcgreer%netscape.com
74bd0ad7de break a long rsa message into key-sized blocks for testing.
git-svn-id: svn://10.0.0.236/trunk@70677 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 20:01:31 +00:00
dcone%netscape.com
21fa52a784 Implement LineStyle for Mac. This gets the pulldowns working again. r=buster b=34870
git-svn-id: svn://10.0.0.236/trunk@70676 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 19:47:48 +00:00
dcone%netscape.com
2c144176e6 Need to implement LineStyle for Mac. r=buster b=34870
git-svn-id: svn://10.0.0.236/trunk@70674 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 19:46:45 +00:00
valeski%netscape.com
4274bc405f updating impl list
git-svn-id: svn://10.0.0.236/trunk@70673 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 18:47:46 +00:00
javi%netscape.com
50d69f17f7 Look for libnecko_res.so instead of libnecko_resource.so on UNIX platforms.
git-svn-id: svn://10.0.0.236/trunk@70672 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 16:45:01 +00:00
despotdaemon%netscape.com
4549d1f9d7 Pseudo-automatic update of changes made by mbarnson@excitehome.net.
git-svn-id: svn://10.0.0.236/trunk@70671 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 16:40:31 +00:00
axel%pike.org
d63be564c8 Fixing 40120, not part of the build
git-svn-id: svn://10.0.0.236/trunk@70670 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 13:27:50 +00:00
kvisco%ziplink.net
2aeec144fc updated date
git-svn-id: svn://10.0.0.236/trunk@70669 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 08:33:18 +00:00
kvisco%ziplink.net
2cde7163c3 added changes by Marina for lang() support
git-svn-id: svn://10.0.0.236/trunk@70668 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 08:32:42 +00:00
kvisco%ziplink.net
67f64c7e8f Added changes by Marina for lang()
git-svn-id: svn://10.0.0.236/trunk@70667 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 08:30:09 +00:00
kvisco%ziplink.net
cae70bfea8 Added changes by Marina for lang()
git-svn-id: svn://10.0.0.236/trunk@70666 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 08:24:33 +00:00
kvisco%ziplink.net
ae3264eae5 Added changes by Marina
git-svn-id: svn://10.0.0.236/trunk@70665 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 08:17:42 +00:00
hyatt%netscape.com
cbe294cfb6 adding debug printfs
git-svn-id: svn://10.0.0.236/trunk@70664 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 06:57:17 +00:00
ben%netscape.com
922f8bf9bd more classic love
git-svn-id: svn://10.0.0.236/trunk@70663 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 06:19:08 +00:00
ben%netscape.com
c00317e452 classic skin stuff
git-svn-id: svn://10.0.0.236/trunk@70662 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 06:18:18 +00:00
ben%netscape.com
3d37b12423 more classic skin work (NOT PART OF BUILD)
git-svn-id: svn://10.0.0.236/trunk@70661 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 05:27:19 +00:00
ben%netscape.com
0e8e681ff6 more Classic skin work (NOT PART OF BUILD)
git-svn-id: svn://10.0.0.236/trunk@70660 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 05:26:50 +00:00
ben%netscape.com
2a560ad358 [CLASSIC SKIN] Build/information files NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@70659 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 04:54:15 +00:00
ben%netscape.com
3478fab5bc [CLASSIC SKIN] Communicator skin files. NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@70658 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 04:11:47 +00:00
sspitzer%netscape.com
b317c01ad5 fix for #39205, pref.css is no more. r=ben
git-svn-id: svn://10.0.0.236/trunk@70657 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 04:08:54 +00:00
ben%netscape.com
c83e3e4914 [CLASSIC SKIN] Widget toolkit skin files. NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@70656 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 04:04:02 +00:00
sspitzer%netscape.com
9e6ee35dac fix for #39205, pref.css is no more. r=ben
git-svn-id: svn://10.0.0.236/trunk@70655 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 04:02:09 +00:00
ben%netscape.com
d0f3dcee70 [CLASSIC SKIN] Editor skin files. NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@70654 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 03:56:51 +00:00
ben%netscape.com
766b4ae926 [CLASSIC SKIN] Messenger skin files. NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@70653 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 03:54:04 +00:00
ben%netscape.com
b4dff22f9a [CLASSIC SKIN] Navigator skin files. NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@70652 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 03:47:00 +00:00
jim_nance%yahoo.com
6d248600e8 Workaround for bug 39747. MOZ_MONOLITHIC_TOOLKIT breaks the timer code,
and this option was used on the alpha.  This changes configure.in not to set
it anymore under Tru64.  IRIX and HPUX still use this flag, are they
working right now? Blanket approval from Brendan & Waterson for porting
changes.


git-svn-id: svn://10.0.0.236/trunk@70651 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 03:37:14 +00:00
sspitzer%netscape.com
cd27f8d38b fix for several bugs.
#34355, for a new pop server, the copies and folders prefs should point to the pop server,
not the local server.

#22889, #37464, news article urls not displaying, and they causing autosubscribe to happen.

#36661, fix problems with autosubscribe / article url problem, if they happen before
we migrated and if there is no accounts.

#8216,  a successful cancelling of a news posting removes message from thread pane

r=alecf


git-svn-id: svn://10.0.0.236/trunk@70650 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 02:38:00 +00:00
karnaze%netscape.com
0ae6e65268 added 1 sec delay to ease the pain of bug 38496. This does not affect the build.
git-svn-id: svn://10.0.0.236/trunk@70649 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 02:18:53 +00:00
javi%netscape.com
c1230f5a1a Trick xpcom world into treating psm just as it would mozilla.
git-svn-id: svn://10.0.0.236/trunk@70648 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 01:14:39 +00:00
mscott%netscape.com
f9404e948f Bug #37827, #37784, 37675, 37832 --> fix many MS Exchange server bugs involving the envelope field.
There was a bug in our parse_addresses routine that was failing in the MS case with multiple email
addresses on a field.
r=jefft


git-svn-id: svn://10.0.0.236/trunk@70647 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 01:09:55 +00:00
thayes%netscape.com
2a998dbe19 Change UI Events for PSM to modal r=dougt bugid=26085
git-svn-id: svn://10.0.0.236/trunk@70646 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 01:08:34 +00:00
saari%netscape.com
14f58a455f Fix for nsbeta2+ 35100, typing is wedged after using the color picker in editor. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@70644 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 00:56:52 +00:00
slamm%netscape.com
1a9dfd32be Revert last two checkins. Fix for 37428 caused tabs to not load properly.
git-svn-id: svn://10.0.0.236/trunk@70643 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 00:55:43 +00:00
locka%iol.ie
f02663fac6 Added code to scroll to # hrefs in the current page rather than reload. - bug #39716
Added code to preserve postdata in the session history - bug #39668


git-svn-id: svn://10.0.0.236/trunk@70642 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 00:52:59 +00:00
locka%iol.ie
dc158b6469 New parameter for AddToSessionHistory #39668
git-svn-id: svn://10.0.0.236/trunk@70641 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 00:51:37 +00:00
wtc%netscape.com
fee8e2ef2f Bugzilla bug #26506: getipnodebyname and getipnodebyaddr are thread
safe, so no need to lock around them.


git-svn-id: svn://10.0.0.236/trunk@70640 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 00:51:09 +00:00
rginda%netscape.com
b28e710433 apparently windows is too
git-svn-id: svn://10.0.0.236/trunk@70639 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 00:15:06 +00:00
rginda%netscape.com
2b30f01c65 linux is so picky
git-svn-id: svn://10.0.0.236/trunk@70638 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 00:13:48 +00:00
sgehani%netscape.com
f5bbeda6ca Fix Linux installer seg fault on exit. [b=36781, r=dveditz]
git-svn-id: svn://10.0.0.236/trunk@70637 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 00:12:25 +00:00
rogerl%netscape.com
227af01979 COMPARE_GT etc are gone.
git-svn-id: svn://10.0.0.236/trunk@70636 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 00:09:44 +00:00
rogerl%netscape.com
51985251d3 Fall out from operator overloading.
git-svn-id: svn://10.0.0.236/trunk@70635 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 00:09:02 +00:00
rogerl%netscape.com
5bd38c3d54 Added operator overloading support
git-svn-id: svn://10.0.0.236/trunk@70634 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 00:08:29 +00:00
rogerl%netscape.com
4455542ec0 Fix bug #39309 - parameters must be AnyType, also vars used before def.
git-svn-id: svn://10.0.0.236/trunk@70633 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 00:06:24 +00:00
evaughan%netscape.com
b7a6f178a9 Fixed a round off error bug #29949
-r pinkerton


git-svn-id: svn://10.0.0.236/trunk@70632 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 23:23:04 +00:00
nhotta%netscape.com
3354d20e30 Additional break condition to prevent infinite loop, r=rhp, a=waterson, bug 39737.
git-svn-id: svn://10.0.0.236/trunk@70631 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 23:20:46 +00:00
pnunn%netscape.com
bb0f224ae2 bug#39301: bump up img cache size back up to 2M. Now have way to limit other
resources. pnunn r:sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@70630 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 23:08:42 +00:00
jst%netscape.com
893943c05f Fixing nsbeta2+ bug #24958, script.text never contained the actual script source, now it gets the script source from the textnodes inside the script element. r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@70629 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 23:02:40 +00:00
pnunn%netscape.com
f8dc78348d bug#36242: add test in il_PermitLoad(). pnunn, rev:morse.
git-svn-id: svn://10.0.0.236/trunk@70628 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 23:01:26 +00:00
wtc%netscape.com
659c6044bb Bugzilla bug #39110: removed the test freeif.c from the makefile and
test harness because the fix of this bug is deferred to NSPR 5.0.
Modified files: Makefile, Makefile.in, runtests.ksh.


git-svn-id: svn://10.0.0.236/trunk@70627 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 22:42:05 +00:00
pinkerton%netscape.com
2d2b7279d7 Fix for 36479, crash on some systems counting # of monitors. There were a couple
of possible culprits, removed a printf that was crashing things and removing the use
of the big rectangle that I bet was confusing certain video cards. r=mjudge.


git-svn-id: svn://10.0.0.236/trunk@70626 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 22:40:02 +00:00
wtc%netscape.com
fd765f77f5 Bugzilla bug #39110: backed out the fix because it breaks code that
depends on the broken definition.  Defer the fix to NSPR 5.0.


git-svn-id: svn://10.0.0.236/trunk@70625 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 22:38:53 +00:00
danm%netscape.com
79a98b29b1 installed chrome list now uses resource url instead of full file path. a=leaf r=saari
git-svn-id: svn://10.0.0.236/trunk@70624 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 22:26:19 +00:00
pavlov%netscape.com
c5dcb4d49c make defaultString a wstring instead of a string bug 39946
git-svn-id: svn://10.0.0.236/trunk@70623 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 22:19:00 +00:00
harishd%netscape.com
bf18c65a23 Forgot to checkin this file - This should have been a part of
my previous checkin.


git-svn-id: svn://10.0.0.236/trunk@70622 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 22:16:56 +00:00
danm%netscape.com
ff299a7371 installed chrome list now uses resource url instead of full file path. a=leaf r=saari
git-svn-id: svn://10.0.0.236/trunk@70621 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 22:13:44 +00:00
alecf%netscape.com
a49206acff fix for #37181 r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@70620 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 22:08:10 +00:00
slamm%netscape.com
10c9790349 Second attempt on FreeBSD checkout bug 33568. Use a shell function instead of nested eval's. r=pavlov a=waterson
git-svn-id: svn://10.0.0.236/trunk@70619 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 22:04:45 +00:00
alecf%netscape.com
5a077e84c4 change boolean to integer (same C++ storage size, so no other changes needed)
(no reviewer, this is trivial as it was already being used as an integer)


git-svn-id: svn://10.0.0.236/trunk@70618 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 22:00:14 +00:00
pavlov%netscape.com
c1f5a0c9a2 fix for 40020 r=alecf,mscott
git-svn-id: svn://10.0.0.236/trunk@70617 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:50:40 +00:00
mkaply%us.ibm.com
d995982e39 # 37239
r = mkaply@us.ibm.com, a = brendan
OS/2 bringup continues on M16 - These files are OS/2 only - fix for trap


git-svn-id: svn://10.0.0.236/trunk@70616 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:45:00 +00:00
danm%netscape.com
8c3335ee30 fix crash on startup bug 40150. code=hyatt r=me
git-svn-id: svn://10.0.0.236/trunk@70615 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:40:11 +00:00
nhotta%netscape.com
eb13c28294 Fix for uninitialized memory reference, contributed by rich.burridge@sun.com, r=nhotta, a=waterson, bug 39891.
git-svn-id: svn://10.0.0.236/trunk@70614 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:36:46 +00:00
buster%netscape.com
a647cfc5e7 fixed bug 35777
r=av@netscape.com

The problem was the object frame was assuming it was at offset y=0 within it's parent frame when calculating a percent height.  This is an invalid assumption.
Instead, we now measure from the top of the containing block.  This still isn't 100% correct, but it is the right parent to be measuring margin from.


git-svn-id: svn://10.0.0.236/trunk@70613 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:36:35 +00:00
nhotta%netscape.com
ed6d8aa0f2 Warning fix for unicharutil self test code, contributed by daa@distributed.net, r=nhotta, a=waterson bug 40089.
git-svn-id: svn://10.0.0.236/trunk@70612 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:35:33 +00:00
rods%netscape.com
f9ea52ae06 Preventing event from bubbling, capture and default causes a mismatch in mousecapture
and this causes the lock. After a lot of testing it appears that the original reason
this was needed is no longer there.
Bug 38422 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@70611 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:35:00 +00:00
harishd%netscape.com
216976b400 Get the parser bundle through a normal COM interface.
git-svn-id: svn://10.0.0.236/trunk@70610 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:33:12 +00:00
harishd%netscape.com
3ae31acebc Fix for
36148 - Mlk [ r= rickg ] nsParser::Parse(string)
39713 - Crash caused by an uninitialized ref. counter
39466 - Handling XML error before calling DidBuildModel().

r=nisheeth

a=waterson


git-svn-id: svn://10.0.0.236/trunk@70609 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:32:06 +00:00
rginda%netscape.com
e13ae8edbb quieting linux warnings and fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@70608 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:05:35 +00:00
dcone%netscape.com
a14e550690 Divided the number of bytes by 3 for grayscale image printing. r=rods a=brendan@mozilla.org b=26814
git-svn-id: svn://10.0.0.236/trunk@70607 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 20:13:12 +00:00
wtc%netscape.com
a0a15ff488 Improved the test a little.
git-svn-id: svn://10.0.0.236/trunk@70606 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 19:52:56 +00:00
mkaply%us.ibm.com
05b72d5cc8 # 37239
r = mkaply@us.ibm.com, a = brendan
OS/2 bringup continues on M16 - These files are OS/2 only!


git-svn-id: svn://10.0.0.236/trunk@70605 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 19:38:22 +00:00
wtc%netscape.com
671331210b Bugzilla bug #39110: added a new test freeif.c to catch this bug.
Added file: freeif.c
Modified files: Makefile, Makefile.in, runtests.ksh


git-svn-id: svn://10.0.0.236/trunk@70604 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 18:30:06 +00:00
wtc%netscape.com
e6919222a6 Bugzilla bug #39110: put PR_BEGIN_MACRO and PR_END_MACRO around
PR_DELETE and PR_FREEIF.  Thanks to Erik van der Poel <erik@netscape.com>
for the bug report and suggested fix.


git-svn-id: svn://10.0.0.236/trunk@70603 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 18:12:11 +00:00
slamm%netscape.com
4e0ba91a68 Arg, it does not work with the date. Back it out.
git-svn-id: svn://10.0.0.236/trunk@70602 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 17:54:15 +00:00
despotdaemon%netscape.com
d3db454dd0 Pseudo-automatic update of changes made by blizzard@redhat.com.
git-svn-id: svn://10.0.0.236/trunk@70601 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 17:53:57 +00:00
javi%netscape.com
feaecbaf4e Don't link against libraries we don't need.
git-svn-id: svn://10.0.0.236/trunk@70600 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 17:34:42 +00:00
slamm%netscape.com
1e856c0825 Fix checkout for FreeBSD. Thanks to Pascal Hofstee (daeron@shadowmere.student.utwente.nl) for the fix. bug 33568.. a=leaf,waterson.
git-svn-id: svn://10.0.0.236/trunk@70599 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 17:02:23 +00:00
chrisk%netscape.com
771c88f21f Added RFC2630 OID values:
SEC_OID_CMS_EPHEMERAL_STATIC_DIFFIE_HELLMAN = id-alg-ESDH
SEC_OID_CMS_3DES_KEY_WRAP                   = id-alg-CMS3DESwrap
SEC_OID_CMS_RC2_KEY_WRAP                    = id-alg-CMSRC2wrap


git-svn-id: svn://10.0.0.236/trunk@70598 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 15:28:22 +00:00
chrisk%netscape.com
db87eb60fc Added SEC_ASN1DecodeInteger function
git-svn-id: svn://10.0.0.236/trunk@70597 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 15:24:20 +00:00
hyatt%netscape.com
e019aebf96 packager file update for earlier checkin of treeBindings.xml, r=ben
git-svn-id: svn://10.0.0.236/trunk@70596 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 09:19:55 +00:00
hyatt%netscape.com
00046694d9 support for dynamic multiple insertion points r=ben
git-svn-id: svn://10.0.0.236/trunk@70595 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 09:15:54 +00:00
hyatt%netscape.com
cc0d786c91 support for multiple insertion points r=ben
git-svn-id: svn://10.0.0.236/trunk@70594 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 08:23:46 +00:00
hyatt%netscape.com
792a4021ec supporting multiple insertion points r=ben
git-svn-id: svn://10.0.0.236/trunk@70593 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 08:23:09 +00:00
hyatt%netscape.com
b391bd48e2 adding a file with bindings that aren't used. harmless. r=ben
git-svn-id: svn://10.0.0.236/trunk@70592 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 08:22:43 +00:00
alecf%netscape.com
6419ce0c03 adding assertion and null check to fix crash in #39860
(no reviewer, just a check-for-null before dereferencing a variable!)


git-svn-id: svn://10.0.0.236/trunk@70591 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 07:36:19 +00:00
alecf%netscape.com
cc9f3c2cf0 second part of fix for #28898 - fix multiple server selector functional, which was broken by me skinning this dialog. needed to update the way <text> node state is maintained to make it reliable for edge cases like undefined and null
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70590 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 07:22:49 +00:00
valeski%netscape.com
5357b0c6ca r=alecf. 39987. occasional crasher in nsMultiMixedConv.cpp stream converter. We now ensure that we don't search for EOL if we've moved beyond the legitimate buf len
git-svn-id: svn://10.0.0.236/trunk@70589 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 06:06:57 +00:00
alecf%netscape.com
54e10440ff first part of fix for #28898 - switch SMTP server API to store the key not the server itself, for easier access from the account manager
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@70588 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 05:33:49 +00:00
alecf%netscape.com
899a433cbe fix for #39873 - crash when no ISP rdf files exist
(no reviewer, just a null-check due to semantic changes in strings)


git-svn-id: svn://10.0.0.236/trunk@70587 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 05:29:01 +00:00
ben%netscape.com
43106a42c8 fix for 38089, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@70586 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 04:35:56 +00:00
ben%netscape.com
b54f55baf6 forgot to add file as part of previous check-in to 19557.
git-svn-id: svn://10.0.0.236/trunk@70585 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 04:32:18 +00:00
ben%netscape.com
f426fdc26b fix for 38743, remove XUL titledbutton from bookmarks window. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@70584 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 04:30:30 +00:00
ben%netscape.com
6383146c85 correct text for the skin switching pref panel, bug 38964 r=verah
git-svn-id: svn://10.0.0.236/trunk@70583 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 04:25:12 +00:00
ben%netscape.com
bcf508de5f second attempt at 19557, skinnable sidebar. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@70582 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 04:14:49 +00:00
nboyd%atg.com
7c5d5251df Fix formatting.
git-svn-id: svn://10.0.0.236/trunk@70581 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 03:03:37 +00:00
nboyd%atg.com
f59a9801e7 Fix 38590.
git-svn-id: svn://10.0.0.236/trunk@70579 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 00:10:10 +00:00
cls%seawood.org
15dc838b5c More OS/2 changes. Batches 19 & 20 of Bug #34106 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@70578 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 13:32:11 +00:00
cls%seawood.org
7f68da7b93 More OS/2 fixes. Bug #34106 Batch 17 & 18. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@70577 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 11:23:34 +00:00
mccabe%netscape.com
0477051202 Fixes to the xpcom sample. This code does not go into the Mozilla product.
- Update progid mentioned in the .html file to that actually used in the code.

- Remove outdated nsSampleFactory.cpp so nobody gets confused, but add note to nsSampleModule.cpp in its memory, as it had extensive comments.


git-svn-id: svn://10.0.0.236/trunk@70576 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 08:33:31 +00:00
hyatt%netscape.com
b01980390e oops. files aren't supposed to be built.
git-svn-id: svn://10.0.0.236/trunk@70575 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 07:46:46 +00:00
hyatt%netscape.com
f3dbea33c2 grid fixes.
git-svn-id: svn://10.0.0.236/trunk@70574 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 07:45:12 +00:00
hyatt%netscape.com
d9a700da60 New bindings for XUL trees. Not used.
git-svn-id: svn://10.0.0.236/trunk@70573 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 07:03:05 +00:00
hyatt%netscape.com
a82ce424e8 New XUL tree code. Not turned on (and therefore harmless)
git-svn-id: svn://10.0.0.236/trunk@70572 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 07:02:15 +00:00
hyatt%netscape.com
a363a69298 ifdef tree code. not part of build.
git-svn-id: svn://10.0.0.236/trunk@70571 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 07:00:35 +00:00
hyatt%netscape.com
041d712fc0 XBL event handler support. r=ben
git-svn-id: svn://10.0.0.236/trunk@70570 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 06:58:15 +00:00
dougt%netscape.com
92a9e2b312 fixing confusing comment. 38553
git-svn-id: svn://10.0.0.236/trunk@70569 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 05:42:57 +00:00
leaf%mozilla.org
8d1011eb20 Automated update
git-svn-id: svn://10.0.0.236/trunk@70568 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 03:45:10 +00:00
tor%cs.brown.edu
3d2d21889b Temporary fix for SUNWspro link bustage 39452.
git-svn-id: svn://10.0.0.236/trunk@70567 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 03:37:39 +00:00
tor%cs.brown.edu
efcfd8f795 SUNWspro5.0 build bustage fix - remove extra semicolon after a
body which confuses the compiler. a=brendan


git-svn-id: svn://10.0.0.236/trunk@70566 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 02:14:17 +00:00
scc%mozilla.org
9e46fa744e Bug #39963. The NS_LITERAL_[C]STRING macros incorrectly counted the null terminator for a literal string in the length. This may not be the complete solution. r=sdagley
git-svn-id: svn://10.0.0.236/trunk@70565 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-21 01:45:19 +00:00
jim_nance%yahoo.com
b4171ff062 Code to help fix 39541. We now use the cxx compiler to generate shared libs
containing cxx generated objects rather than calling /usr/bin/ld directly.
r=cls@seawood.org a=brendan@meer.net


git-svn-id: svn://10.0.0.236/trunk@70564 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 23:47:23 +00:00
scc%mozilla.org
ef3d992c6a fixed non-standard include-guard. This file is not currently part of the build
git-svn-id: svn://10.0.0.236/trunk@70563 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 20:48:12 +00:00
scc%mozilla.org
64c1d73da8 Bug #39686. Made an |NS_COUNT|. Put it in the new file "nsAlgorithm.h", to which I also moved |NS_MIN| and |NS_MAX| from "nscore.h", and |copy_string| and |copy_string_backward| from "nsAReadableString.h". Also fixed non-standard include-guards. r={sford, jag}
git-svn-id: svn://10.0.0.236/trunk@70562 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 20:43:26 +00:00
warren%netscape.com
cf7701ec8a New beta-quality Plugin API (now in IDL!).
git-svn-id: svn://10.0.0.236/trunk@70561 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 20:03:36 +00:00
scc%mozilla.org
ed25d6660b exporting to dist the new header file "nsAlgorithm.h" . Part of the fix for bug #39686
git-svn-id: svn://10.0.0.236/trunk@70560 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 20:00:49 +00:00
scc%mozilla.org
1993e1afa4 Adding a new file. Part of the fix for Bug #39686.
git-svn-id: svn://10.0.0.236/trunk@70559 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 19:57:03 +00:00
scc%mozilla.org
d029bb7e31 ugh. Fix to placate egcs. |static_cast| should be sufficient for a |void*|, but egcs seems to need |reinterpret_cast|
git-svn-id: svn://10.0.0.236/trunk@70558 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 19:08:36 +00:00
shaver%mozilla.org
9e916f41af add do_GetServiceFromCategory, r/a=brendan
git-svn-id: svn://10.0.0.236/trunk@70557 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 18:55:35 +00:00
brendan%mozilla.org
31c65537d7 Fix remove-while-enumerating, beef up metering and add JS_DHashTableDumpMeter (these files are not part of the client build).
git-svn-id: svn://10.0.0.236/trunk@70556 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 18:42:22 +00:00
brendan%mozilla.org
05c10bfd95 Fix old stddev calc bug (#ifdef'd code, not part of build).
git-svn-id: svn://10.0.0.236/trunk@70555 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 18:41:13 +00:00
scc%mozilla.org
9f480a5a2e Bug #39824. Checking in patch from dp. This patch fixes exports on some |nsCOMPtr_helper| classes so we can link appropriately. r=scc.
git-svn-id: svn://10.0.0.236/trunk@70554 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 18:31:45 +00:00
scc%mozilla.org
1a06df0830 Fixing platform bustage only caught by SunOS Workshop. Need a |const| in a cast to avoid casting away |const|-ness. r=jdunn
git-svn-id: svn://10.0.0.236/trunk@70553 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 18:22:05 +00:00
scc%mozilla.org
a31073f144 Checking in patch from Jim Dunn to fix platform bustage on HPUX. In fact, this is the way the code should have been written in the first place due to the C++ standard section 14.6.2(3). Members of the template base class just aren't visible without explicit scoping of some form, typically |this->|. r=scc
git-svn-id: svn://10.0.0.236/trunk@70552 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 18:19:27 +00:00
endico%mozilla.org
2ba5e540ef fix url of dtd
git-svn-id: svn://10.0.0.236/trunk@70551 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 08:07:19 +00:00
rhp%netscape.com
e6bc25d0c1 Fix for signatures in Japanese - Bug #: 34373 - r: sspitzer
git-svn-id: svn://10.0.0.236/trunk@70550 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 07:12:28 +00:00
rhp%netscape.com
156de44e6c Fix for mail bodies displaying HTML codes - Bug #38555 - r: sspitzer
git-svn-id: svn://10.0.0.236/trunk@70549 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 05:54:22 +00:00
wtc%netscape.com
23ef7106ae Bugzilla bug #34920: modified PR_EmulateSendFile so that it doesn't
depend on the mmap alignment being a power of 2.


git-svn-id: svn://10.0.0.236/trunk@70548 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 05:43:08 +00:00
cls%seawood.org
5a5da02809 Ack! I missed a file. Why hardcode a static zlib when you should use a shared one?
git-svn-id: svn://10.0.0.236/trunk@70547 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 04:29:55 +00:00
rhp%netscape.com
de05173909 Fix for problem with forwarding images - Bug #: 31207 - r: sspitzer
git-svn-id: svn://10.0.0.236/trunk@70546 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 04:21:36 +00:00
tor%cs.brown.edu
1a57db66f5 Fix crasher bug 36834 by making sure that the image we're about
to read/composite overlaps the underlying drawing surface. a=brendan


git-svn-id: svn://10.0.0.236/trunk@70545 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 04:03:17 +00:00
pavlov%netscape.com
2631089126 work to try and fix crasher bug 39752 by being sure to call Cancel() on the timers since the windows timer code holds a ref to itself.... more to come on that. r=jag@irc
git-svn-id: svn://10.0.0.236/trunk@70544 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 03:57:59 +00:00
pavlov%netscape.com
56c86ec3c7 backing out a change that went in with the new timer code that had nothing to do with timers and shouldn't have been checked in (and I don't know why was in my tree)
git-svn-id: svn://10.0.0.236/trunk@70543 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 03:05:48 +00:00
sspitzer%netscape.com
1efca71674 fix bustage.
git-svn-id: svn://10.0.0.236/trunk@70542 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 02:52:27 +00:00
cls%seawood.org
b96eac527f Finishing off the standalone modules framework.
List js/src/liveconnect & js/src/xpconnect in toplevel Makefile.in to allow js to be built using the standalone framework.
Use the <module>_STANDALONE defines anytime BUILD_MODULES != all.
r=slamm


git-svn-id: svn://10.0.0.236/trunk@70541 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 02:45:59 +00:00
sspitzer%netscape.com
a64d6be2bc fix for #39913, no you can subscribe / unsubscribe from imap folders with japanese folder
names.  r=mscott


git-svn-id: svn://10.0.0.236/trunk@70540 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 02:36:30 +00:00
rhp%netscape.com
db6ae8167d Fix for failing silently if prefs arent set - Bug 39872 - r: sspitzer
git-svn-id: svn://10.0.0.236/trunk@70539 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 02:06:15 +00:00
sspitzer%netscape.com
5dd0241536 fix bug #20987, handle case where a non-subscribable server is selected, and handle the
edge case if there are no subscrible servers.  r=alecf


git-svn-id: svn://10.0.0.236/trunk@70538 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 01:25:27 +00:00
cotter%netscape.com
392ce397f2 Revised section on Personal Security Password w/ SDR info, plus related glossary items.
git-svn-id: svn://10.0.0.236/trunk@70537 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 01:23:34 +00:00
cyeh%bluemartini.com
a588ad99b4 remove dependency on Mysql, use DBI instead. Patch submitted by
sstock@iconnect-inc.com, reworked slightly by cyeh@bluemartini.com
to update it to the tip


git-svn-id: svn://10.0.0.236/trunk@70536 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 01:22:07 +00:00
endico%mozilla.org
8199c2fa81 perform system calls in a more secure manner at suggestion of Adam Spiers <adam@spiers.net>
git-svn-id: svn://10.0.0.236/trunk@70535 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 01:15:42 +00:00
dougt%netscape.com
1ed14ca24a correcting invalid port number. They should be -1, not zero.
git-svn-id: svn://10.0.0.236/trunk@70534 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-20 00:19:24 +00:00
sspitzer%netscape.com
98db8e731b last of it for #39172, i18n friendly subscribe dialog.
this was a horrible landing.  some one horse whip me.


git-svn-id: svn://10.0.0.236/trunk@70533 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 22:56:34 +00:00
dougt%netscape.com
afe2f43f12 Fix for 31164, possibly 35658, and prep work for 31174.
1) Passing the proxy hostname and port to the underlying socket
   and changing all users that appeared in lxr.

2) (psm-glue) registering with the cache manager to allow local loopback so that
   psm will work with a proxy.

3) (psm-glue) Storing proxy information in psmSocketInfo.

most reviewed by gagan@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@70532 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 22:56:12 +00:00
mcgreer%netscape.com
0cabcfc955 hash performance functions now look the same as the other ciphers. add a zerobuffer option to avoid creating random buffers when performance testing.
git-svn-id: svn://10.0.0.236/trunk@70531 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 22:50:48 +00:00
sspitzer%netscape.com
67f2211e4f #39172, i18n friendly subscribe dialog
git-svn-id: svn://10.0.0.236/trunk@70530 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 22:42:47 +00:00
sspitzer%netscape.com
b6b7b04239 last bit of the fix for #39172, i18n friendly subscribe dialog
git-svn-id: svn://10.0.0.236/trunk@70529 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 22:38:07 +00:00
sspitzer%netscape.com
f2be33fbdb rest of fix for #39172, i18n friendly subscribe dialog.
git-svn-id: svn://10.0.0.236/trunk@70528 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 22:33:38 +00:00
sspitzer%netscape.com
9866779cc6 changes for make the subscribe dialog i18n friendly. now, imap folders with
japanese names work.  thanks to ji@netscape.com for the help in getting
a japanese folder name.  remove the old news/tests.  they are old
and not used anymore.


git-svn-id: svn://10.0.0.236/trunk@70527 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 22:27:18 +00:00
waterson%netscape.com
23b2210448 Remove obsolete file that is no longer part of the build.
git-svn-id: svn://10.0.0.236/trunk@70526 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 22:15:23 +00:00
nelsonb%netscape.com
b74080217f Performance enhancement. Takes only 70% as long as previous version.
git-svn-id: svn://10.0.0.236/trunk@70525 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 22:14:38 +00:00
sspitzer%netscape.com
649a52165a whoops. sorry about that, chief.
git-svn-id: svn://10.0.0.236/trunk@70524 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 21:38:24 +00:00
sspitzer%netscape.com
0ddeab01b6 ignore generated makefiles.
git-svn-id: svn://10.0.0.236/trunk@70523 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 21:12:38 +00:00
mcgreer%netscape.com
ccaae3568a fix up the mode arrays.
git-svn-id: svn://10.0.0.236/trunk@70522 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 21:02:05 +00:00
rhp%netscape.com
6c727059ff Fixing a problem with double header conversions - Bug #: 34865 - r: putterman
git-svn-id: svn://10.0.0.236/trunk@70521 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 20:49:55 +00:00
ddrinan%netscape.com
0b77e43aaa Fixed server_cert_view_buttons. Bugzilla 36129
git-svn-id: svn://10.0.0.236/trunk@70520 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 20:39:06 +00:00
kin%netscape.com
aaadc4e320 Temporarily disable D&D support for selection to unblock
people working on selection problems. (Bug #39821 Drag and Drop interferes with selection)
r=brade@netscape.com, a=trudelle@netscape.com


git-svn-id: svn://10.0.0.236/trunk@70519 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 20:37:53 +00:00
mcgreer%netscape.com
e0885e77e8 work on making test program more usable.
* added usage
* chaining modes and stream ciphers reset contexts when doing multiple iterations for performance testing


git-svn-id: svn://10.0.0.236/trunk@70518 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 20:34:05 +00:00
javi%netscape.com
92b59271e2 Have the current directory in the LD_LIBRARY_PATH first so that the shared
objects in the current directory are loaded before others that may be in
the LD_LIBRARY_PATH


git-svn-id: svn://10.0.0.236/trunk@70517 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 20:14:03 +00:00
alecf%netscape.com
bdeb54c4c8 fix up/down buttons and delete filter button for #17484 r=mscott
git-svn-id: svn://10.0.0.236/trunk@70516 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 19:58:49 +00:00
alecf%netscape.com
5659ec87fb reflect server hostname into smtp datasource for #18184 r=putterman
git-svn-id: svn://10.0.0.236/trunk@70515 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 19:57:55 +00:00
slamm%netscape.com
a769ee37e1 Tiny adjustment to last checkin (Fix for bug 37428). Adjustment fixes stuck 'loading...' message on Windows. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@70514 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 19:55:07 +00:00
nelsonb%netscape.com
272beb7e83 Add support for sha1. Add repetition count argument to -p.
git-svn-id: svn://10.0.0.236/trunk@70513 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 18:35:53 +00:00
brendan%mozilla.org
0e46bbe12e Use int for shift type consistently; optimize primary hash match (NOT PART OF BUILD).
git-svn-id: svn://10.0.0.236/trunk@70512 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 18:26:37 +00:00
rogerl%netscape.com
593d1fc0e3 Playing with operator overloading & Type types.
git-svn-id: svn://10.0.0.236/trunk@70511 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 17:41:10 +00:00
javi%netscape.com
e4b4e886f4 Use the correct type of comments for the start-psm script.
git-svn-id: svn://10.0.0.236/trunk@70510 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 17:19:59 +00:00
javi%netscape.com
5f1d0051ca Make sure the strings we get for configuring PKCS11 are the correct length.
This way the names we provide for the token name and such will stick.


git-svn-id: svn://10.0.0.236/trunk@70509 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 17:13:05 +00:00
svn%xmlterm.org
01dcdd9d2e -- XMLTERM CHANGES ONLY --
Not part of default build. Modified UI to conform to new chrome directory structure (bug 38891), following chatzilla's example.


git-svn-id: svn://10.0.0.236/trunk@70508 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 14:54:32 +00:00
mjudge%netscape.com
39916df945 not in build yet. when switch is thrown I will get a code review/approval
git-svn-id: svn://10.0.0.236/trunk@70507 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 07:07:23 +00:00
beard%netscape.com
e92366c650 fix const cast away linux breakage
git-svn-id: svn://10.0.0.236/trunk@70506 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 05:38:29 +00:00
heikki%citec.fi
555f842351 Bug 29818 (debug demo #15). Not part of build. Permission from vidur (original author) to add MozPL licenses. I will also update www.mozilla.org copies. a=leaf, r=jst.
git-svn-id: svn://10.0.0.236/trunk@70505 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 05:26:11 +00:00
brendan%mozilla.org
8b3c020392 Don't clear memory gratuitously (after create-error; after destroy).
git-svn-id: svn://10.0.0.236/trunk@70504 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 05:10:58 +00:00
hyatt%netscape.com
e469c92e38 fix for making skins script-safe. r=scc
git-svn-id: svn://10.0.0.236/trunk@70503 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 04:48:43 +00:00
brendan%mozilla.org
3da210df16 Don't destroy what hasn't been created (NOT PART OF BUILD).
git-svn-id: svn://10.0.0.236/trunk@70502 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 03:49:32 +00:00
danm%netscape.com
0dbad6ddf9 new chrome hierarchy. bug 39248. r=saari
git-svn-id: svn://10.0.0.236/trunk@70501 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 03:03:40 +00:00
danm%netscape.com
a988115b6e remove Mac-specific chrome hierarchy hack, now that the Mac is using the new hierarchy. bug 39248. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@70500 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 02:59:35 +00:00
brendan%mozilla.org
7aaffc5637 Experimental double-hashing code, hope to donate to nsprpub/lib/ds (NOT PART OF BUILD).
git-svn-id: svn://10.0.0.236/trunk@70499 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 02:51:20 +00:00
jim_nance%yahoo.com
86d8898b64 Fix bug 39688, build bustage under Tru64 Unix.
r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@70498 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 02:41:27 +00:00
danm%netscape.com
25c58ad7f3 chrome reorg. delete dist before using! code=saari r=me
git-svn-id: svn://10.0.0.236/trunk@70497 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 02:30:43 +00:00
mcafee%netscape.com
ecd25ff06f Prefs were being stored as wrong type (39779). r=cmanske
git-svn-id: svn://10.0.0.236/trunk@70496 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 02:23:48 +00:00
davidm%netscape.com
222a08ca98 34545 blo P1ermissions of 000 for disk cache directories
r= sspitzer


git-svn-id: svn://10.0.0.236/trunk@70495 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 02:14:04 +00:00
nelsonb%netscape.com
c62f029f1b Fix sha_fast for 64-bit solaris and 64-bit Alpha.
git-svn-id: svn://10.0.0.236/trunk@70494 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 02:10:33 +00:00
mccabe%netscape.com
b9f25e178d Patch xpcshell.cpp to not try to call JS_malloc with 0 bytes.
Patch courtesy Mark G. Adams <madams@livepage.com>

r=mccabe

This code is part of xpcshell, and doesn't go into the mozilla product.  Prior to this fix, xpcshell crashed on startup.


git-svn-id: svn://10.0.0.236/trunk@70493 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 00:34:46 +00:00
erik%netscape.com
29b3d171ba fixing bustage in the #ifdef MOZ_MATHML part (not part of default build)
a=leaf


git-svn-id: svn://10.0.0.236/trunk@70492 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 00:33:33 +00:00
ddrinan%netscape.com
a4402f88d2 Remove reference to NLS library
git-svn-id: svn://10.0.0.236/trunk@70491 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 00:16:20 +00:00
mjudge%netscape.com
9b9fe9f731 not in build yet. when i turn on ender-lite i will get a huge approval/review
git-svn-id: svn://10.0.0.236/trunk@70490 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 00:12:14 +00:00
rhp%netscape.com
6dbfc8bede Fix for crasher with lots of attachments - Bug #35923 - r: sspitzer
git-svn-id: svn://10.0.0.236/trunk@70489 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 00:07:28 +00:00
ddrinan%netscape.com
37ff7849a5 Updates
git-svn-id: svn://10.0.0.236/trunk@70488 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 23:53:53 +00:00
slamm%netscape.com
85fd43099b Add the 'load' handler through timeout to push it down in the event queue a little. Otherwise, js barf when it fires the 'load' handler too early. Fix bug 37428. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@70487 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 23:43:23 +00:00
pavlov%netscape.com
ec3744b372 fix for save as not working on linux bug #39387 r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@70486 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 23:22:00 +00:00
mcgreer%netscape.com
47be261858 very rudimentary test code for regression tests of BLAPI.
git-svn-id: svn://10.0.0.236/trunk@70485 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 22:59:42 +00:00
tao%netscape.com
eb93823ff4 bug 39634: Sidebar customize has no remote tabl r= slamm.
git-svn-id: svn://10.0.0.236/trunk@70484 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 22:44:19 +00:00
tao%netscape.com
d10a1f9223 Back out chages to 35121 (move searchplugins/ back to bin/) r=rjc
git-svn-id: svn://10.0.0.236/trunk@70483 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 22:40:44 +00:00
tao%netscape.com
9ffbb6628a BAck out hcange to 35121 (move searchplugins back tpo bin/) r=rjc
git-svn-id: svn://10.0.0.236/trunk@70482 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 22:39:29 +00:00
tao%netscape.com
cd8a3346c8 Back out change to 35121 (searchplugins/); move it back to bin/ r=rjc.
git-svn-id: svn://10.0.0.236/trunk@70481 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 22:37:50 +00:00
pnunn%netscape.com
3cedde6ba8 bug#33810: add animation control from presContext. pnunn r:sfraser
git-svn-id: svn://10.0.0.236/trunk@70480 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 22:18:19 +00:00
slamm%netscape.com
1cd8acaf4c Include globalOverlay.js to fix dispatching. bug 37243. r=mcafee
git-svn-id: svn://10.0.0.236/trunk@70479 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 22:10:42 +00:00
mcafee%netscape.com
9c0866d3cd Fixing colorwell in prefs. r=slamm, beta2+, blah blah. (21160)
git-svn-id: svn://10.0.0.236/trunk@70478 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 22:08:14 +00:00
sspitzer%netscape.com
bb2bb7b8cd no offline news in 6.0, so no need for these prefs. r=mscott. #17211
git-svn-id: svn://10.0.0.236/trunk@70477 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:56:33 +00:00
morse%netscape.com
398cfb9d57 fix bug 39607, crash when multiple logins saved for same site, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@70476 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:54:38 +00:00
morse%netscape.com
17327a2c36 fix bug 33542, wallet functions don't work on first usage of browser, r=neeti
git-svn-id: svn://10.0.0.236/trunk@70475 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:52:58 +00:00
valeski%netscape.com
47c824959d 38695. r=alecf. i18n network error strings
git-svn-id: svn://10.0.0.236/trunk@70474 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:52:23 +00:00
slamm%netscape.com
71a83abcfd Add items to bookmarks menu on personal toolbar (bug 35345). Also break long lines into multiple lines. r=law
git-svn-id: svn://10.0.0.236/trunk@70473 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:49:05 +00:00
ddrinan%netscape.com
eb033166cd Initial check-in
git-svn-id: svn://10.0.0.236/trunk@70472 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:30:26 +00:00
slamm%netscape.com
ddb6d22881 Remove onclick handler from <tree> since <treechildren> has a handler. Fix 2 windows on dblclick (bug 38811). r=mcafee
git-svn-id: svn://10.0.0.236/trunk@70471 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:24:41 +00:00
axel%pike.org
44a5477caa Checking in Makefile.ins for building transformiix on unix,
standalone version only. See post in n.p.m.l.xslt
Not part of the build


git-svn-id: svn://10.0.0.236/trunk@70470 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:17:27 +00:00
hyatt%netscape.com
5da5e40053 fix assert for dogfood bug#37854, r=danm
git-svn-id: svn://10.0.0.236/trunk@70469 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:08:27 +00:00
cmanske%netscape.com
77f7ac61c7 Fixed infinite loop in Join Table Cell, bug 30606, r=akkana, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@70468 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:02:10 +00:00
ddrinan%netscape.com
6dbc7f1cc0 Fixed i18n libraries for unix
git-svn-id: svn://10.0.0.236/trunk@70467 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:02:09 +00:00
sspitzer%netscape.com
aa5d529c9b fix bug #39763, not marking subscribed groups as subscribed, when we get the list
from hostinfo.dat, which is most of the time.
fix bug #39760, make subscribe population faster for large numbers of groups.
still more to do.  r=mscott.


git-svn-id: svn://10.0.0.236/trunk@70466 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 20:52:23 +00:00
pinkerton%netscape.com
aadc3a22aa Fix for 37421, showToolbar menu items not being checked. Put checkbox type
on broadcasters. r=saari.


git-svn-id: svn://10.0.0.236/trunk@70465 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 20:43:21 +00:00
dmose%mozilla.org
6e186b23bc More updates.
git-svn-id: svn://10.0.0.236/trunk@70464 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 20:40:49 +00:00
jefft%netscape.com
faaac86741 fixed 35908 - File/Copy multiple message selection NNTP->IMAP crashes; we call OnStopRequest() twice in a row; r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@70463 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 20:31:29 +00:00
brade%netscape.com
37de9f1619 handle d&d of selection (need to turn on d&d flag in nsFrame.cpp); r/a=cmanske; a=beppe (bug#6255)
git-svn-id: svn://10.0.0.236/trunk@70462 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 20:30:01 +00:00
hyatt%netscape.com
35af08406c fix for chrome registry bugs. r=danm,waterson, a=waterson
git-svn-id: svn://10.0.0.236/trunk@70461 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 20:27:37 +00:00
leaf%mozilla.org
0ddccc84cd Automated update
git-svn-id: svn://10.0.0.236/trunk@70460 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 20:15:08 +00:00
cls%seawood.org
720745c350 Make --without-dbgrinfo-modules work properly.
Fixes for platforms without REPEATING_TIMERS (BeOS).  r=pavlov a=leaf


git-svn-id: svn://10.0.0.236/trunk@70459 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 20:10:59 +00:00
ddrinan%netscape.com
4a78c22102 mozreg is a static library on unix
git-svn-id: svn://10.0.0.236/trunk@70458 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 20:06:09 +00:00
sspitzer%netscape.com
8454c02823 fix for crasher, #39744, r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@70457 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 19:58:27 +00:00
sspitzer%netscape.com
530f4abc9b fix my code that broke the mac. r=mscott, part of the "support hostinfo.dat" nsbeta2+ bugs.
git-svn-id: svn://10.0.0.236/trunk@70456 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 19:45:53 +00:00
axel%pike.org
8597bd1269 Support for BUILD_MODULES and MOZ_CO_MODULES for transformiix (standalone),
does not affect build, a=leaf, r=leaf
Makefile.ins will follow soon


git-svn-id: svn://10.0.0.236/trunk@70455 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 19:37:33 +00:00
rginda%netscape.com
935a497c18 -- chatzilla dogfood --
use document.createElementNS instead of document.createElement where necessary, as described in bug 39360
a=waterson


git-svn-id: svn://10.0.0.236/trunk@70454 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 19:32:02 +00:00
brendan%mozilla.org
fb24793d9d Fix SetupMallocTracing so argc is updated in main (r=sfraser, #ifdef off by default).
git-svn-id: svn://10.0.0.236/trunk@70453 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 18:59:32 +00:00
ddrinan%netscape.com
c5ab79ef17 Fixed comment style for Solaris
git-svn-id: svn://10.0.0.236/trunk@70452 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 18:32:43 +00:00
despotdaemon%netscape.com
0035146f6c Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@70451 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 18:23:45 +00:00
mjudge%netscape.com
b3b4a8464f changing style on dropdown list boxes to not allow selection. a=rickg r=cmanske
git-svn-id: svn://10.0.0.236/trunk@70450 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 18:18:31 +00:00
mcgreer%netscape.com
34b54eb2f3 Changing MIN's and MAX's to PR_MIN, PR_MAX
git-svn-id: svn://10.0.0.236/trunk@70448 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 15:32:18 +00:00
mcgreer%netscape.com
bfdb8192c3 Changing all MIN's and MAX's to PR_MIN, PR_MAX
git-svn-id: svn://10.0.0.236/trunk@70447 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 15:30:12 +00:00
mcgreer%netscape.com
253dbdc94b changing all MIN's and MAX's to PR_MIN, PR_MAX (MIN and MAX were defined in dbm).
git-svn-id: svn://10.0.0.236/trunk@70446 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 15:28:43 +00:00
Peter.VanderBeken%pandora.be
6c59416dbb Work around crash, leak instead.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@70445 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 11:57:09 +00:00
Peter.VanderBeken%pandora.be
5153e7b341 Converting to new string APIs.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@70444 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 11:43:44 +00:00
kvisco%ziplink.net
b7def2c4f0 points to the new standalone dom directory
git-svn-id: svn://10.0.0.236/trunk@70443 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 09:18:35 +00:00
kvisco%ziplink.net
13c15c5ba2 this file is used to point to the correct dom.h
git-svn-id: svn://10.0.0.236/trunk@70442 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 09:17:41 +00:00
kvisco%ziplink.net
0fa41df8f3 updated to point to the root directory
git-svn-id: svn://10.0.0.236/trunk@70441 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 09:16:45 +00:00
kvisco%ziplink.net
af2ec7f7d2 removed dependancies on DOM object files
git-svn-id: svn://10.0.0.236/trunk@70440 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 09:15:45 +00:00
dmose%mozilla.org
c12a69113a Updated to reflect the new async reality.
git-svn-id: svn://10.0.0.236/trunk@70439 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 08:51:27 +00:00
dmose%mozilla.org
4604e0ffd8 More minor updates & reorg.
git-svn-id: svn://10.0.0.236/trunk@70438 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 08:50:50 +00:00
dmose%mozilla.org
bf65d4d2c9 Lots of updates; many related to today's checkin of async code.
git-svn-id: svn://10.0.0.236/trunk@70437 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 08:48:07 +00:00
kvisco%ziplink.net
fda18eb7a8 moved from source/dom
git-svn-id: svn://10.0.0.236/trunk@70436 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 08:31:46 +00:00
kvisco%ziplink.net
337f926b04 moved to standalone subdirectory
git-svn-id: svn://10.0.0.236/trunk@70435 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 08:29:45 +00:00
mccabe%netscape.com
500e7bc765 Patch GetMethodInfoForName to not just return the first method found. Apparently, it never really worked.
Thanks to Mark G. Adams <madams@janna.com> for the patch.

r=mccabe
a=bruce (deputized)


git-svn-id: svn://10.0.0.236/trunk@70434 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 05:55:25 +00:00
kvisco%ziplink.net
2e2a7fb67e Added special case for handling xsl:copy-of when the node is a document node, this is a fix to a bug reported by Olivier Gerardin
git-svn-id: svn://10.0.0.236/trunk@70433 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 03:59:17 +00:00
mjudge%netscape.com
a9450341a2 a=syd. someone had bad dir in makefile
git-svn-id: svn://10.0.0.236/trunk@70432 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 03:22:01 +00:00
mcafee%netscape.com
2e227e80a6 Renaming prefs to live in the browser.display namespace: background_color, foreground_color, use_document_fonts, use_document_colors, base_font_scaler, wfe.use_windows>colors, screen_resolution. r=alecf, a=chofmann (31136)
git-svn-id: svn://10.0.0.236/trunk@70431 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 03:19:00 +00:00
kvisco%ziplink.net
35e833a0b1 should not be in CVS
git-svn-id: svn://10.0.0.236/trunk@70430 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 03:18:40 +00:00
dmose%mozilla.org
adb3c7cdcb channel now runs async on a worker thread
git-svn-id: svn://10.0.0.236/trunk@70429 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 02:37:42 +00:00
rhp%netscape.com
d7b28b3a88 Fix for missing AB Sync files - Bug: 39651 - a: sspitzer - r: ducarroz
git-svn-id: svn://10.0.0.236/trunk@70428 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 01:56:22 +00:00
rhp%netscape.com
d72bc4b7cb Fix for crash when forwarding NTTP message - Bug #: 38223 - r: ducarroz
git-svn-id: svn://10.0.0.236/trunk@70427 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 01:37:24 +00:00
nelsonb%netscape.com
7ac9730b18 Changes to ssl_EmulateSendFile suggested by Wan-Teh.
See http://bugzilla.mozilla.org/show_bug.cgi?id=39011


git-svn-id: svn://10.0.0.236/trunk@70426 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 01:32:53 +00:00
sgehani%netscape.com
25820b6f1e Fix upgrade support parent folder deletion problem.
[b=39676, a=granrose]


git-svn-id: svn://10.0.0.236/trunk@70425 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 01:08:10 +00:00
roeber%netscape.com
da21657c84 Applying ancient patch to dump out extended key usage extensions
git-svn-id: svn://10.0.0.236/trunk@70424 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 01:02:40 +00:00
pinkerton%netscape.com
8569c2504a fix for 39684, context menus not showing up. we forgot to show the view. doh!
git-svn-id: svn://10.0.0.236/trunk@70423 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 00:52:05 +00:00
nelsonb%netscape.com
e3773fbadf In ssl3_GenerateSessionKeys() ensure params secitem always points to valid
CK_SSL3_MASTER_KEY_DERIVE_PARAMS structure.  Bugzilla bug 39682.


git-svn-id: svn://10.0.0.236/trunk@70422 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 00:41:38 +00:00
evaughan%netscape.com
090c58c1f2 Fix for mac xp menus not comming up at all.
git-svn-id: svn://10.0.0.236/trunk@70421 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 00:37:27 +00:00
rhp%netscape.com
9eee1f2c48 Fix for crashing on save drafts - Bug #: 38561 - r: ducarroz
git-svn-id: svn://10.0.0.236/trunk@70420 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 00:24:31 +00:00
pinkerton%netscape.com
bbcb730ab9 fix for 39567, not being able to type in text fields after menu or tooltip displayed. added a new flag, separate from |mMenuOpen| since that was overloaded too much. a=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@70419 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 00:21:32 +00:00
jdunn%netscape.com
4f119d994c adding a 'const' to fix HP bustage
r= dveditz@netscape.com
a= syd@netscape.com - he approved earlier but i am just not getting a chance
   to check it in


git-svn-id: svn://10.0.0.236/trunk@70418 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 00:15:06 +00:00
wtc%netscape.com
a6bafe714f Bugzilla bug #39674: removed unnecessary sigprocmask() calls.
git-svn-id: svn://10.0.0.236/trunk@70417 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 00:08:07 +00:00
rogerl%netscape.com
1a9d746c54 Bunch o' expression ops.
git-svn-id: svn://10.0.0.236/trunk@70416 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 00:04:15 +00:00
rogerl%netscape.com
d62fe47db9 Moved genExpr to ICodeGenerator - added most expression ops.
git-svn-id: svn://10.0.0.236/trunk@70415 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 00:03:23 +00:00
rogerl%netscape.com
71f1389f62 Moved genExpr to ICodeGenerator
git-svn-id: svn://10.0.0.236/trunk@70414 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 00:01:33 +00:00
rickg%netscape.com
93b81cbee8 update to StrictDTD; not part of build. a=syd
git-svn-id: svn://10.0.0.236/trunk@70413 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 23:43:10 +00:00
mcgreer%netscape.com
c426e7215c allow import of NSPR and DBM from mozilla when building with BSAFE.
git-svn-id: svn://10.0.0.236/trunk@70412 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 23:19:18 +00:00
dougt%netscape.com
e744dc6a5a Adding SIOUX event processing
git-svn-id: svn://10.0.0.236/trunk@70411 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 23:00:19 +00:00
dougt%netscape.com
9c33dac73f Mac tweeks.
git-svn-id: svn://10.0.0.236/trunk@70410 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 22:59:40 +00:00
dmose%mozilla.org
03dd654c88 initial work to convert nsLDAPOperation, Message, and Connection to implement and use XPCOM interfaces
git-svn-id: svn://10.0.0.236/trunk@70409 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 22:48:50 +00:00
tara%tequilarista.org
5126892e98 Making all system calls use paramter arguments
git-svn-id: svn://10.0.0.236/trunk@70408 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 21:29:33 +00:00
jst%netscape.com
5399afa0da Fix content list regression I introduced a few days ago when working on DOM namespace support, document.forms and other arrays on HTML document objects never contained any elements! r=vidur, a=leaf
git-svn-id: svn://10.0.0.236/trunk@70407 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 20:35:19 +00:00
ddrinan%netscape.com
f076f1d32c Initial check-in
git-svn-id: svn://10.0.0.236/trunk@70406 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 20:26:28 +00:00
sfraser%netscape.com
46c0606929 Fix timer refcount issues in docshell, fixes bugs 39641, 39617. r=pavlov a=leaf
git-svn-id: svn://10.0.0.236/trunk@70405 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 20:24:43 +00:00
roeber%netscape.com
4f60076af4 Detect at runtime when we're running with NSPR 1 and switch the thread-private-data calls accordingly. This lets our pkcs#11 modules be loaded into Communicator.
git-svn-id: svn://10.0.0.236/trunk@70404 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 20:19:24 +00:00
beard%netscape.com
635cc77cd0 added on run handler
git-svn-id: svn://10.0.0.236/trunk@70403 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 20:02:17 +00:00
beard%netscape.com
7ac3904158 Removing obsolete project file. This is supplanted by js.mcp.xml.
git-svn-id: svn://10.0.0.236/trunk@70402 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 20:01:08 +00:00
ssu%netscape.com
0bc1efc286 changed build script to use command type instead of cat. Not part of tinderbox build. a=leaf
git-svn-id: svn://10.0.0.236/trunk@70401 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 20:00:26 +00:00
sfraser%netscape.com
c7b5598a40 Check in the one file to make all the timer magic work (d'oh!). r=leaf
git-svn-id: svn://10.0.0.236/trunk@70400 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 19:47:18 +00:00
carl.wong%intel.com
5632825acd Fixed bug#39134 (reference count leak in SheetLoadData). r=attinasi@netscape.com a=leaf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@70399 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 18:29:30 +00:00
roeber%netscape.com
d9327835d0 If a database has not been given a label, return the filename so Communicator has *something* to show
git-svn-id: svn://10.0.0.236/trunk@70398 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 18:28:13 +00:00
ddrinan%netscape.com
334eeb38f5 Fixed syntax error
git-svn-id: svn://10.0.0.236/trunk@70397 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 17:46:22 +00:00
mcgreer%netscape.com
9a1cac3784 fix some compiler warnings
git-svn-id: svn://10.0.0.236/trunk@70396 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 17:31:20 +00:00
brade%netscape.com
74a01a0c9c attempt to fix build bustage; remove NetworkModular*.shlb
git-svn-id: svn://10.0.0.236/trunk@70394 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 14:49:20 +00:00
sfraser%netscape.com
9965469511 Check in commented out #define for ender lite.
git-svn-id: svn://10.0.0.236/trunk@70393 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 10:36:37 +00:00
ben%netscape.com
c7cbf7e6cb forgot to add radiOBindings.xml to packages list, this was making radio
buttons not show up on the installer builds. a=syd.


git-svn-id: svn://10.0.0.236/trunk@70392 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 09:58:34 +00:00
sfraser%netscape.com
783cdc14b2 Remove NetworkModular.shlb from the optimized target
git-svn-id: svn://10.0.0.236/trunk@70391 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 09:45:32 +00:00
sfraser%netscape.com
f0a6d45fa7 Register the timer CID in widget
git-svn-id: svn://10.0.0.236/trunk@70390 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 08:45:16 +00:00
sfraser%netscape.com
dde2de38e5 NS_NewTimer is dead, man.
git-svn-id: svn://10.0.0.236/trunk@70389 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 08:44:43 +00:00
sfraser%netscape.com
3dc68a64fc No longer build NetworkModular.mcp, since the timer code has now been moved to widget.
git-svn-id: svn://10.0.0.236/trunk@70388 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 08:44:02 +00:00
sfraser%netscape.com
e6d779a76b Remove linkage with NetworkModular.shlb
git-svn-id: svn://10.0.0.236/trunk@70387 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 08:43:18 +00:00
sfraser%netscape.com
0bba649ace Remove linkage with NetworkModular.shlb
git-svn-id: svn://10.0.0.236/trunk@70386 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 08:05:14 +00:00
cls%seawood.org
32460b6bfd Documentation tweak. --enable-modules not --enable-module
git-svn-id: svn://10.0.0.236/trunk@70385 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:54:22 +00:00
sfraser%netscape.com
caef63e134 Remove linkage with NetworkModular.shlb
git-svn-id: svn://10.0.0.236/trunk@70384 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:48:58 +00:00
cata%netscape.com
c71947a6d1 Fixing more of the same problem. nsCOMPtr comparisons. Sorry!
git-svn-id: svn://10.0.0.236/trunk@70383 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:40:40 +00:00
sfraser%netscape.com
8318198770 Fix access paths
git-svn-id: svn://10.0.0.236/trunk@70382 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:37:20 +00:00
cata%netscape.com
162b0b3a96 Preventing possible more bustage...
git-svn-id: svn://10.0.0.236/trunk@70381 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:35:17 +00:00
sfraser%netscape.com
4473dd1fbc Remove linkage with NetworkModular.shlb
git-svn-id: svn://10.0.0.236/trunk@70380 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:33:50 +00:00
sfraser%netscape.com
40adda3c7f Remove linkage with NetworkModular.shlb, and add timer files.
git-svn-id: svn://10.0.0.236/trunk@70379 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:32:04 +00:00
cata%netscape.com
026cef5f66 Fixing bustage from nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@70378 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:31:44 +00:00
sfraser%netscape.com
8c8e97ee48 Remove linkage with NetworkModular.shlb
git-svn-id: svn://10.0.0.236/trunk@70377 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:25:45 +00:00
sfraser%netscape.com
666e9e81fb Remove linkage with NetworkModular.shlb, and add timer files.
git-svn-id: svn://10.0.0.236/trunk@70376 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:21:26 +00:00
sfraser%netscape.com
29c0d4c2c8 Remove linkage with NetworkModular.shlb
git-svn-id: svn://10.0.0.236/trunk@70375 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:16:17 +00:00
sfraser%netscape.com
339cb24a08 Remove linkage with NetworkModular.shlb, add nsGfxControlFrame2.cpp for mjudge
git-svn-id: svn://10.0.0.236/trunk@70374 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:13:30 +00:00
warren%netscape.com
377359d015 Bug 39416. Made ftp work with single sign-on for more than one user/host.
git-svn-id: svn://10.0.0.236/trunk@70373 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:12:40 +00:00
dveditz%netscape.com
c49a976120 making chrome installs work with late-breaking chromeRegistry changes -- required for tomorrow's install
git-svn-id: svn://10.0.0.236/trunk@70372 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:09:11 +00:00
morse%netscape.com
ffa553a09e use false sdr so we get the dialogs
git-svn-id: svn://10.0.0.236/trunk@70371 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:07:59 +00:00
mcafee%netscape.com
5318eeba96 Fixing MLK. (33773)
git-svn-id: svn://10.0.0.236/trunk@70370 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 07:00:15 +00:00
pavlov%netscape.com
4b0c34a1d1 last minute change
git-svn-id: svn://10.0.0.236/trunk@70369 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:59:50 +00:00
brendan%mozilla.org
6725db8971 Fix stupid logfile_list unlink bug; fix comment.
git-svn-id: svn://10.0.0.236/trunk@70368 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:59:21 +00:00
brendan%mozilla.org
0da336fcdb Better TraceMalloc* methods (r=waterson).
git-svn-id: svn://10.0.0.236/trunk@70367 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:58:48 +00:00
erik%netscape.com
3e7206338c added debugging code
git-svn-id: svn://10.0.0.236/trunk@70366 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:58:32 +00:00
cata%netscape.com
ad0e6cd338 Charset override implementation.
git-svn-id: svn://10.0.0.236/trunk@70365 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:56:34 +00:00
joki%netscape.com
32e51cfc6e More support for onresize and onscroll, bug 960
git-svn-id: svn://10.0.0.236/trunk@70364 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:53:58 +00:00
pavlov%netscape.com
9ed0b3ff36 one other things..
git-svn-id: svn://10.0.0.236/trunk@70363 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:48:21 +00:00
erik%netscape.com
d82e34d116 make line-height calculation language-sensitive to avoid overlapping lines
git-svn-id: svn://10.0.0.236/trunk@70362 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:47:56 +00:00
cmanske%netscape.com
0d89d5ecea Last tweak of the night to Split Table Cell
git-svn-id: svn://10.0.0.236/trunk@70361 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:47:34 +00:00
cls%seawood.org
87c20e0328 Mass replace of -lmozjs with $(MOZ_JS_LIBS) needed for OS/2 and consistency.
git-svn-id: svn://10.0.0.236/trunk@70360 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:45:45 +00:00
blizzard%redhat.com
9f7eb0c5d7 add the ability to interrupt a uri load
git-svn-id: svn://10.0.0.236/trunk@70359 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:44:59 +00:00
thayes%netscape.com
10f1416d0a Add FSDR module to PSMGlue component.
git-svn-id: svn://10.0.0.236/trunk@70358 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:39:58 +00:00
jst%netscape.com
bbc07c78b0 getComputedStyle() is now alive!
git-svn-id: svn://10.0.0.236/trunk@70357 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:38:43 +00:00
pavlov%netscape.com
d1c4704669 adding comment
git-svn-id: svn://10.0.0.236/trunk@70356 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:38:27 +00:00
sfraser%netscape.com
87646ed129 Remove linkage with NetworkModular.shlb
git-svn-id: svn://10.0.0.236/trunk@70355 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:36:59 +00:00
sspitzer%netscape.com
262a974c2d fix mac bustage until I get the PRInt64 macro's right.
git-svn-id: svn://10.0.0.236/trunk@70354 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:35:45 +00:00
thayes%netscape.com
7a4f294831 added files: mozilla/extensions/psm-glue/src/nsFSDR.cpp
git-svn-id: svn://10.0.0.236/trunk@70353 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:33:10 +00:00
mscott%netscape.com
bcd165f8c7 Bug #17001 --> impelment the ability to view all headers for a message and hide the normal
header toolbars. Still have to do some polish for this feature.


git-svn-id: svn://10.0.0.236/trunk@70352 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:30:20 +00:00
thayes%netscape.com
7a79d7fb7b Commit new file with updated nsIPrompt calls.
git-svn-id: svn://10.0.0.236/trunk@70351 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:29:53 +00:00
ben%netscape.com
f1822d565d code cleanup
git-svn-id: svn://10.0.0.236/trunk@70350 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:29:22 +00:00
mscott%netscape.com
10be5af8b2 Bug #17001 --> add a toolbar and box to contain all the headers for a message. We'll only
show and create content for this box if the user has turned view all headers on.


git-svn-id: svn://10.0.0.236/trunk@70349 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:28:46 +00:00
jst%netscape.com
d228d3d2f7 Export more functions.
git-svn-id: svn://10.0.0.236/trunk@70348 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:28:23 +00:00
mscott%netscape.com
214ca2aca9 Bug #17001 --> enable view all header menu items
git-svn-id: svn://10.0.0.236/trunk@70347 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:27:51 +00:00
cls%seawood.org
bb2840c26f The rdf test uses nsSetupRegistry.cpp from webshell/tests ????? Add MOZ_TOOLKIT_REGISTRY_CFLAGS to CXXFLAGS to get this to build on beos.
git-svn-id: svn://10.0.0.236/trunk@70346 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:26:41 +00:00
jst%netscape.com
383782079d Make this a bit safer to use.
git-svn-id: svn://10.0.0.236/trunk@70345 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:26:23 +00:00
mscott%netscape.com
1439944fd8 Bug #17001 --> enable the menus for Headers, view all and view normal.
git-svn-id: svn://10.0.0.236/trunk@70344 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:26:00 +00:00
sfraser%netscape.com
abe125dc1d Remove linkage with NetworkModular.shlb, really this time
git-svn-id: svn://10.0.0.236/trunk@70343 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:25:35 +00:00
brendan%mozilla.org
ab0195b1ab Include jsstddef.h first in all js*.c files (r=tlundeen@webcrossing.com).
git-svn-id: svn://10.0.0.236/trunk@70342 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:24:45 +00:00
cmanske%netscape.com
b81ed94ab8 Fixed another edge case in Split Cell when lots of columns have rowspan > 1
git-svn-id: svn://10.0.0.236/trunk@70341 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:23:55 +00:00
brendan%mozilla.org
d42ca5af73 JS_DestroyRuntime nukes all contexts; add JS_G/SetRuntimePrivate (r=tlundeen@webcrossing.com).
git-svn-id: svn://10.0.0.236/trunk@70340 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:23:03 +00:00
sfraser%netscape.com
f96cf9232f Fix access paths for faster opening
git-svn-id: svn://10.0.0.236/trunk@70339 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:22:39 +00:00
sfraser%netscape.com
981f9c0e77 Remove linkage with NetworkModular.shlb
git-svn-id: svn://10.0.0.236/trunk@70338 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:20:51 +00:00
tajima%eng.sun.com
048e61d401 no need to link libIDL.
git-svn-id: svn://10.0.0.236/trunk@70337 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:15:15 +00:00
jst%netscape.com
8e6e4f5c99 Register the computed DOM style component.
git-svn-id: svn://10.0.0.236/trunk@70336 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:14:19 +00:00
sfraser%netscape.com
bba288a55b Fix access paths for faster opening
git-svn-id: svn://10.0.0.236/trunk@70335 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:13:58 +00:00
jst%netscape.com
91243dfcb6 Hook up new property and fix a crasher.
git-svn-id: svn://10.0.0.236/trunk@70334 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:13:43 +00:00
racham%netscape.com
59480dce0b Fixing bug 29093. Modifying shrimp folder name to be uniform on all platforms. r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@70333 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:12:29 +00:00
sfraser%netscape.com
5ba3b4a382 Remove linkage with NetworkModular.shlb
git-svn-id: svn://10.0.0.236/trunk@70332 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:11:52 +00:00
racham%netscape.com
893d6dbc2a Fixing bug 29093. Removiong the need for commandline argument for shrimp. r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@70331 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:10:30 +00:00
cata%netscape.com
316f7f071e Charset override work: add API to force charset.
git-svn-id: svn://10.0.0.236/trunk@70330 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:06:02 +00:00
attinasi%netscape.com
708f094d44 Fix for table cell border styles: standard mode no longer applies the NavQuirks -moz-bg-inset style for HTML border attribute. Patch from VYV03354@nifty.ne.jp for bug 35586, thanks yet again! r=attinasi
git-svn-id: svn://10.0.0.236/trunk@70329 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 06:05:44 +00:00
waterson%netscape.com
8c34eff2e9 Flush miscellaneous comment changes.
git-svn-id: svn://10.0.0.236/trunk@70328 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:59:10 +00:00
waterson%netscape.com
9c372d4d88 Fix misleading comments.
git-svn-id: svn://10.0.0.236/trunk@70327 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:58:33 +00:00
waterson%netscape.com
0c7bcad38c Bug 35818. Add support for 'tag' attribute on 'content' condition.
git-svn-id: svn://10.0.0.236/trunk@70326 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:57:09 +00:00
thayes%netscape.com
e6ef3c455d Initial version of "fake" SDR implementation
git-svn-id: svn://10.0.0.236/trunk@70324 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:49:24 +00:00
warren%netscape.com
575bae7a5d Removed nsINetPrompt.idl (obsolete).
git-svn-id: svn://10.0.0.236/trunk@70323 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:46:40 +00:00
ducarroz%netscape.com
1dbb098a94 Fix for bug 39005 & 39008. Remove word show from menu items under view/toolbars.
git-svn-id: svn://10.0.0.236/trunk@70322 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:45:07 +00:00
dveditz%netscape.com
96d2e1a4eb fixing copy/paste bug in (De)SelectLocale
git-svn-id: svn://10.0.0.236/trunk@70321 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:44:35 +00:00
mcafee%netscape.com
7dbece752c Adding -quiet win32 option to -help output (26752)
git-svn-id: svn://10.0.0.236/trunk@70320 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:44:05 +00:00
heikki%citec.fi
88ce63f411 Enable show=new for simple XLink. Works at least when the link is clicked, does not seem to work with actuate=onLoad. Bug 15086.
git-svn-id: svn://10.0.0.236/trunk@70319 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:43:14 +00:00
blizzard%redhat.com
11b199eb3f add the ability to stream in data into the widget. r=valeski
git-svn-id: svn://10.0.0.236/trunk@70318 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:42:17 +00:00
jst%netscape.com
630825d9fa Add null pointer check.
git-svn-id: svn://10.0.0.236/trunk@70317 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:38:57 +00:00
tajima%eng.sun.com
04c710549f nsAutoString i/f has changed, need to align code accordingly to avoid build
error.


git-svn-id: svn://10.0.0.236/trunk@70316 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:36:42 +00:00
waterson%netscape.com
f364669ac7 Bug 39512. Remember the last match; support 'container=' and 'member=' attributes on 'template' tag; deduce them if they're not present.
git-svn-id: svn://10.0.0.236/trunk@70315 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:33:23 +00:00
joki%netscape.com
7fe66ffb76 fix for resize event support, bug 960, and additional support for DOM 2 events.
git-svn-id: svn://10.0.0.236/trunk@70314 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:27:22 +00:00
sspitzer%netscape.com
b93b097fcc get the refresh button to work in the subscribe dialog.
make it so when we get the list of newsgroups from the server, we'll
cache it, and write it to the newsrc file.

still a lot of clean up todo before we *truly* support hostinfo.dat, but the hard
parts are done.


git-svn-id: svn://10.0.0.236/trunk@70313 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:27:04 +00:00
mcafee%netscape.com
2f059a592d Removing enable_style_sheets pref UI. (39552)
git-svn-id: svn://10.0.0.236/trunk@70312 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:21:40 +00:00
jbetak%netscape.com
390e271a25 39448 Clicking Customize in charset menu freezes application.
39450 Mail View Charset Customize dialog window does not open.


git-svn-id: svn://10.0.0.236/trunk@70311 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:19:56 +00:00
sfraser%netscape.com
20e58b4994 Fix some string badness caused by tao.
git-svn-id: svn://10.0.0.236/trunk@70310 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:19:51 +00:00
ftang%netscape.com
cb2e8732a5 check in fix of 34617 for Xu.Yueheng@intel.com r=ftang@netscape.com
Use the new implementation for GB2312GL


git-svn-id: svn://10.0.0.236/trunk@70309 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:19:04 +00:00
rhp%netscape.com
82a7028038 Fix for better sync feedback - Bug: 33110
git-svn-id: svn://10.0.0.236/trunk@70308 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:18:38 +00:00
gordon%netscape.com
b215bdb2e0 export unix_dns.h, and add NSPR_LIBS
git-svn-id: svn://10.0.0.236/trunk@70307 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:16:48 +00:00
erik%netscape.com
67af191fbc adding minimum font size pref so that e.g. East Asian documents adhere to
a min font size, thereby avoiding overlapping lines


git-svn-id: svn://10.0.0.236/trunk@70306 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:15:54 +00:00
gordon%netscape.com
a7c9e960d8 Test code for dns daemon
git-svn-id: svn://10.0.0.236/trunk@70305 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:15:30 +00:00
cata%netscape.com
d79dfb890d Adding new component to the build.
git-svn-id: svn://10.0.0.236/trunk@70304 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:15:16 +00:00
leaf%mozilla.org
8700b4915d Automated update
git-svn-id: svn://10.0.0.236/trunk@70303 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:15:09 +00:00
cata%netscape.com
7cfe616724 added files: mozilla/intl/chardet/src/nsDocumentCharsetInfo.cpp
git-svn-id: svn://10.0.0.236/trunk@70302 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:14:42 +00:00
davidm%netscape.com
112549673f 21250 Need to implement stream-as-file service
git-svn-id: svn://10.0.0.236/trunk@70301 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:14:29 +00:00
gordon%netscape.com
a2920ee43f reordered wait on spawn process with response to caller.
git-svn-id: svn://10.0.0.236/trunk@70300 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:14:02 +00:00
mcafee%netscape.com
f01694b6ea Removing bogus part of this skeleton file.
git-svn-id: svn://10.0.0.236/trunk@70299 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:13:07 +00:00
cata%netscape.com
a278a03dae Adding new component into the tree.
git-svn-id: svn://10.0.0.236/trunk@70298 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:10:35 +00:00
cata%netscape.com
a285eeb2bf Interface updated with new methods and macros.
git-svn-id: svn://10.0.0.236/trunk@70297 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:08:39 +00:00
cls%seawood.org
079260ab04 Fix for BeOS and other platforms that don't use the NEW_FONT_HEIGHT_APIS.
git-svn-id: svn://10.0.0.236/trunk@70296 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:07:26 +00:00
ducarroz%netscape.com
5e26030164 Fix for bug 36730. Activate Autocomplete popup menu.
git-svn-id: svn://10.0.0.236/trunk@70295 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:07:13 +00:00
jdunn%netscape.com
b8ee36abec fix for hp (MOZ_MONOLITHIC_TOOLIT) make sure we include rules.mk so
that realclean is defined


git-svn-id: svn://10.0.0.236/trunk@70294 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:06:50 +00:00
akkana%netscape.com
2e4c958208 Default of 0 on MOZ_ENDER_LITE actually made it default to ON. Turn it back off
git-svn-id: svn://10.0.0.236/trunk@70293 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:05:26 +00:00
ducarroz%netscape.com
5190453157 Fix problem with openPopup which seems now to work as a toggle. Also prepare integration with IME. And some more little stuff.
git-svn-id: svn://10.0.0.236/trunk@70292 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:05:11 +00:00
jst%netscape.com
57173901f5 added files: mozilla/layout/html/style/src/nsComputedDOMStyle.cpp, mozilla/layout/html/style/src/nsROCSSPrimitiveValue.cpp
git-svn-id: svn://10.0.0.236/trunk@70291 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:02:46 +00:00
ftang%netscape.com
e8364e459f partially fix 38318. Register callback to rebuild the mapping Util singleton
git-svn-id: svn://10.0.0.236/trunk@70290 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:00:30 +00:00
ducarroz%netscape.com
a54adb1885 Fix for bug 36736. We need to create and ininiatize mRowGroupInfo before using it else we crash. R=hyatt
git-svn-id: svn://10.0.0.236/trunk@70289 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:58:41 +00:00
cmanske%netscape.com
7b902466de Fixed problems when spliting a cell that has both rowspan > 1 and colospan > 1, part of bug 20973
git-svn-id: svn://10.0.0.236/trunk@70288 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:58:34 +00:00
jst%netscape.com
30e91e2d64 Adding computed style implementation to the build, and make it compile on windows.
git-svn-id: svn://10.0.0.236/trunk@70287 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:57:50 +00:00
erik%netscape.com
aaa331ec68 adding minimum font sizes for East Asian languages
git-svn-id: svn://10.0.0.236/trunk@70286 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:56:08 +00:00
radha%netscape.com
8b525aad2a Enable autocomplete in teh urlbar
git-svn-id: svn://10.0.0.236/trunk@70285 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:54:49 +00:00
jst%netscape.com
a41afbac8e Store XUL attribute names as nsINodeInfos.
git-svn-id: svn://10.0.0.236/trunk@70284 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:53:16 +00:00
cls%seawood.org
8e5988a420 New string api fix for beos
git-svn-id: svn://10.0.0.236/trunk@70283 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:52:45 +00:00
jst%netscape.com
2f3f5c1350 Store attribute names in XML elements as nsINodeInfos plus some general DOM cleanup.
git-svn-id: svn://10.0.0.236/trunk@70282 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:52:09 +00:00
zuperdee%penguinpowered.com
b550a8aaad Temporary fix for bug 33801. r=shaver
git-svn-id: svn://10.0.0.236/trunk@70281 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:47:49 +00:00
zuperdee%penguinpowered.com
157dc8b4be Temporary fix for bug 33801. r=shaver
git-svn-id: svn://10.0.0.236/trunk@70280 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:47:00 +00:00
evaughan%netscape.com
a0451e24a4 Fixed bug that crashed when menus are used with native scrollbars.
git-svn-id: svn://10.0.0.236/trunk@70279 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:45:44 +00:00
brendan%mozilla.org
41c29ad8e2 Improve --trace-malloc to handle multiple logfiles.
git-svn-id: svn://10.0.0.236/trunk@70278 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:44:14 +00:00
mkaply%us.ibm.com
79ff9cfa5d # 37239
a= chofmann
OS/2 bringup continues - PR_CALLBACKs for Visual Age Build


git-svn-id: svn://10.0.0.236/trunk@70277 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:43:11 +00:00
cls%seawood.org
be0824be33 Beos fix for Bug #38249. Thanks to Justin Morey <justin@68k.org> for the patch.
git-svn-id: svn://10.0.0.236/trunk@70276 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:38:13 +00:00
cls%seawood.org
1c4df6b745 Oops. Forgot a couple of files for the beos fix in bug #38372.
git-svn-id: svn://10.0.0.236/trunk@70275 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:35:10 +00:00
mscott%netscape.com
bc1f47a275 Bug #32420 --> checking in for Ben Bucksch (mozilla@bucksch.org)
r=mscott


git-svn-id: svn://10.0.0.236/trunk@70274 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:22:49 +00:00
mscott%netscape.com
614e337542 Bug #23365 --> implement view all headers
as a popup on a mail header in the message pane.


git-svn-id: svn://10.0.0.236/trunk@70273 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:21:40 +00:00
mscott%netscape.com
beb415c15a Bug #23365 --> view headers all as a popup menu define the popup (just an empty box).
We'll dynamically generate the contents of this box.


git-svn-id: svn://10.0.0.236/trunk@70272 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:20:53 +00:00
cotter%netscape.com
f9f4f9d39e Changes related to new UI for viewing cert chains.
git-svn-id: svn://10.0.0.236/trunk@70271 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:19:47 +00:00
morse%netscape.com
1f2a7576c3 make tree be an integral number of lines
git-svn-id: svn://10.0.0.236/trunk@70270 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:10:40 +00:00
pavlov%netscape.com
d1a58c5cf8 minor fixups to the way we handle signals r=brendan
git-svn-id: svn://10.0.0.236/trunk@70269 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:06:08 +00:00
warren%netscape.com
e8c12d3263 Removed nsINetPrompt.idl (obsolete).
git-svn-id: svn://10.0.0.236/trunk@70268 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:05:50 +00:00
jst%netscape.com
afd6b8cd47 Fix bug 33111, crash when creating an applet element from JS, now we no longer crash but dynamically creating applets doesn't work yet.
git-svn-id: svn://10.0.0.236/trunk@70267 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 04:01:57 +00:00
sgehani%netscape.com
97e9d36acb *** NOT PART OF BUILD ***
Upgrade support on the Mac.


git-svn-id: svn://10.0.0.236/trunk@70266 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:47:12 +00:00
jst%netscape.com
0c35143f92 Fix getElementsByTagName() regression.
git-svn-id: svn://10.0.0.236/trunk@70265 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:47:06 +00:00
sgehani%netscape.com
63eca62e81 *** NOT PART OF BUILD ***
Upgrade support on Unix.


git-svn-id: svn://10.0.0.236/trunk@70264 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:45:08 +00:00
sspitzer%netscape.com
1a68a9d1d0 fix for #19482, exim's smtp server exposed a problem with our code.
r=mscott.


git-svn-id: svn://10.0.0.236/trunk@70263 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:31:42 +00:00
pavlov%netscape.com
cb832c7996 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@70262 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:24:43 +00:00
cmanske%netscape.com
46b34ca1a6 Implemented Split Table Cell, part of bug 20973
git-svn-id: svn://10.0.0.236/trunk@70261 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:21:17 +00:00
leaf%mozilla.org
9ecd0dc581 Automated update
git-svn-id: svn://10.0.0.236/trunk@70260 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:15:08 +00:00
sgehani%netscape.com
5ab4bf755f Upgrade support in mac installer. [b=32547]
git-svn-id: svn://10.0.0.236/trunk@70259 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:13:48 +00:00
rods%netscape.com
9a0fe99280 Anchors now reg and unreg their access keys in SetDocument
Bug 959 r=joki (verbally)


git-svn-id: svn://10.0.0.236/trunk@70258 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:11:47 +00:00
cmanske%netscape.com
58122b19d3 Fixed capitalization on Split Cell menu text
git-svn-id: svn://10.0.0.236/trunk@70257 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:09:42 +00:00
jst%netscape.com
b13543b1c3 Redo to fix for 35321 and fix 35319.
git-svn-id: svn://10.0.0.236/trunk@70256 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:09:00 +00:00
akkana%netscape.com
8645e77795 Add --enable-ender-lite flag (off by default)
git-svn-id: svn://10.0.0.236/trunk@70255 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:08:04 +00:00
mjudge%netscape.com
2f998b8cc1 removing debug messages
git-svn-id: svn://10.0.0.236/trunk@70254 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:07:31 +00:00
cmanske%netscape.com
2f225acb81 Fixed enabling of Split Cell command
git-svn-id: svn://10.0.0.236/trunk@70253 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:06:06 +00:00
akkana%netscape.com
9c85a51b56 Build ender-lite files if MOZ_ENDER_LITE is defined
git-svn-id: svn://10.0.0.236/trunk@70252 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:05:11 +00:00
leaf%mozilla.org
b8d4a1f137 Automated update
git-svn-id: svn://10.0.0.236/trunk@70251 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:00:11 +00:00
sgehani%netscape.com
a040f3d4f4 Add upgrade support dialog and old inst detection. [b=39543]
git-svn-id: svn://10.0.0.236/trunk@70250 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:55:24 +00:00
pavlov%netscape.com
a0feb91521 changes all usages of NS_NewTimer to CreateInstance
git-svn-id: svn://10.0.0.236/trunk@70249 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:49:35 +00:00
morse%netscape.com
fa1ea2300d refine change-password to work with a dummy nsSDR.cpp
git-svn-id: svn://10.0.0.236/trunk@70248 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:46:52 +00:00
sfraser%netscape.com
472c09e475 Change "stdio.h" to <stdio.h>
git-svn-id: svn://10.0.0.236/trunk@70247 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:44:49 +00:00
mstoltz%netscape.com
0fdc57f6f2 Allow scripting of plugins by untrusted web scripts. Bug 36375.
git-svn-id: svn://10.0.0.236/trunk@70246 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:38:22 +00:00
sfraser%netscape.com
f72dc9c694 Fix the static nsCOMPtr<nsIAtom> atom("type"), replacing it with nsHTMLAtoms::type, to fix an assertion on shutdown.
git-svn-id: svn://10.0.0.236/trunk@70245 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:23:59 +00:00
tao%netscape.com
05df0f0847 35401: use (lang,country) info from Activation to construct URL to the remote
SB panels.


git-svn-id: svn://10.0.0.236/trunk@70244 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:15:57 +00:00
jst%netscape.com
65819531a5 Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@70243 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:07:50 +00:00
mjudge%netscape.com
263051e1fc loading the gun for the switch to ender-lite
git-svn-id: svn://10.0.0.236/trunk@70242 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:04:57 +00:00
jst%netscape.com
05b84c1c86 Fixing nsbeta2+ bug #35321 (button.setAttribute('disabled', false) disables button instead of enabling it).
git-svn-id: svn://10.0.0.236/trunk@70241 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:03:10 +00:00
mjudge%netscape.com
2cbc1dcd1a missing {} around a block
git-svn-id: svn://10.0.0.236/trunk@70240 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:02:20 +00:00
danm%netscape.com
1ee175d89e teach new chrome registration to handle urls and jar files
git-svn-id: svn://10.0.0.236/trunk@70239 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:01:08 +00:00
mjudge%netscape.com
559066b486 replacing one ifdef with another. no change to tree
git-svn-id: svn://10.0.0.236/trunk@70238 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:59:47 +00:00
sfraser%netscape.com
017b69b2f7 Fix for 35866 -- have the splash screen show progress message (for now, just during autoreg).
git-svn-id: svn://10.0.0.236/trunk@70237 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:55:46 +00:00
sfraser%netscape.com
7ae6aff2d5 Fix to only broadcast to the autoreg observer if we are really registering.
git-svn-id: svn://10.0.0.236/trunk@70236 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:54:18 +00:00
sfraser%netscape.com
c12dfc2263 Change the XPCOM autoreg observer to provide more useful strings.
git-svn-id: svn://10.0.0.236/trunk@70235 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:53:50 +00:00
sfraser%netscape.com
c8aa5c009e Un-inline a bunch of methods that wouldn't have been inlined anyway because they are virtual. Just tidyup.
git-svn-id: svn://10.0.0.236/trunk@70234 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:53:21 +00:00
rickg%netscape.com
85d6960b5c allow <body> tags to be optional in strictDTD; not part of main build
git-svn-id: svn://10.0.0.236/trunk@70233 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:47:43 +00:00
javi%netscape.com
36dd6df7e2 Fix Linux build bustage.
git-svn-id: svn://10.0.0.236/trunk@70232 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:47:18 +00:00
attinasi%netscape.com
9793097100 Fixed a problem where background color could not be cleared once set. b=9151 r=rickg
git-svn-id: svn://10.0.0.236/trunk@70231 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:44:49 +00:00
morse%netscape.com
942afc90d3 somebody changed the component name for wallet but didn't fix the reference to it in this file
git-svn-id: svn://10.0.0.236/trunk@70230 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:37:13 +00:00
alecf%netscape.com
765cf3fee9 make new filters button work (yay!)
git-svn-id: svn://10.0.0.236/trunk@70229 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:25:59 +00:00
alecf%netscape.com
af988cfece fix addreffing issue with creating new filters
git-svn-id: svn://10.0.0.236/trunk@70228 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:25:22 +00:00
thayes%netscape.com
dd60cc54dc Land latest SDR changes on the tip.
git-svn-id: svn://10.0.0.236/trunk@70227 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:20:20 +00:00
pinkerton%netscape.com
8be2ec782e another tweak for tooltips to work on html content. thanks to Robert O'Callahan for the patch.
git-svn-id: svn://10.0.0.236/trunk@70226 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 01:02:36 +00:00
wtc%netscape.com
2a42a8f7fa Checked in IPv6 patch for Colin Blake <colin@theblakes.com>.
git-svn-id: svn://10.0.0.236/trunk@70224 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:56:59 +00:00
javi%netscape.com
5a87b2fef4 added files: mozilla/extensions/psm-glue/src/nsCrypto.cpp
git-svn-id: svn://10.0.0.236/trunk@70222 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:51:43 +00:00
tao%netscape.com
2785d55f3e 33665: move aol.rdf to under chrome.
git-svn-id: svn://10.0.0.236/trunk@70221 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:51:39 +00:00
rickg%netscape.com
783aed3888 one more tweak to entity redction code
git-svn-id: svn://10.0.0.236/trunk@70220 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:51:26 +00:00
rginda%netscape.com
fdecc4cae2 -- chatzilla only --
* manifest.rdf
put chatzilla in the tasks menu.

* static.js
fixed js error on attach


git-svn-id: svn://10.0.0.236/trunk@70219 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:50:16 +00:00
javi%netscape.com
c0bfdadb20 Implementing the JS crypto object interface.
git-svn-id: svn://10.0.0.236/trunk@70218 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:48:32 +00:00
putterman%netscape.com
5d620f172a fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@70217 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:46:47 +00:00
javi%netscape.com
b06888570e Add the files that implement the crypto js object interface.
git-svn-id: svn://10.0.0.236/trunk@70216 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:43:34 +00:00
joki%netscape.com
02dc257016 Part of fix for DOMEvent::GetCurrentTarget.
git-svn-id: svn://10.0.0.236/trunk@70215 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:40:22 +00:00
tao%netscape.com
8629bb37f7 35121: move sherlock files to under chrome/.
git-svn-id: svn://10.0.0.236/trunk@70214 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:38:55 +00:00
ruslan%netscape.com
5a10793ce9 Fix return code error, davidm
git-svn-id: svn://10.0.0.236/trunk@70211 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:32:47 +00:00
joki%netscape.com
c1ee765f8b Part of fix for 4163, enable 4.x dragdrop event
git-svn-id: svn://10.0.0.236/trunk@70210 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:31:36 +00:00
tao%netscape.com
fee1ad448c 35121: move sherlock files to chrome/locales/en-US/...
git-svn-id: svn://10.0.0.236/trunk@70209 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:31:06 +00:00
dougt%netscape.com
d1bb62f1df Fixing 38767. Allows C: to be a valid path to InitWithPath();
git-svn-id: svn://10.0.0.236/trunk@70208 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:29:59 +00:00
tao%netscape.com
bb2ae1f307 35121: mocw sherlock files to under chrome/.
git-svn-id: svn://10.0.0.236/trunk@70206 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:28:03 +00:00
alecf%netscape.com
2125f81705 support refreshing the tree after edits have been made, restoring original selection
git-svn-id: svn://10.0.0.236/trunk@70205 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:27:59 +00:00
alecf%netscape.com
a68c484500 clear item selection before refreshing to work around wierd tree bug
git-svn-id: svn://10.0.0.236/trunk@70204 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:26:30 +00:00
tao%netscape.com
8f729a9570 35121: move sherlock files to chrome/locales/en-US/...
git-svn-id: svn://10.0.0.236/trunk@70203 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:24:53 +00:00
jst%netscape.com
e4d9d527e8 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value.
git-svn-id: svn://10.0.0.236/trunk@70202 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:21:53 +00:00
ducarroz%netscape.com
501d830356 Fix for bug 39180. Don't autocomplete when we have more than one exact match or more than one partial match. Just display the list of matches.
git-svn-id: svn://10.0.0.236/trunk@70201 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:20:44 +00:00
javi%netscape.com
0358170951 Add new function for getting the version string that can be used by
Mozilla.


git-svn-id: svn://10.0.0.236/trunk@70200 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:17:42 +00:00
ruslan%netscape.com
b02cdb4f40 Make nsISupportsVoid implement threadsafe_isupports
git-svn-id: svn://10.0.0.236/trunk@70199 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:13:59 +00:00
racham%netscape.com
cf12a14aac Removing activation related prefs.
git-svn-id: svn://10.0.0.236/trunk@70198 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:13:44 +00:00
ruslan%netscape.com
f4659c8550 Fix 18886 - handle http 305 response correctly to close the potential
security hole


git-svn-id: svn://10.0.0.236/trunk@70197 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:11:12 +00:00
ftang%netscape.com
ae3372d7df fix 38322. load the current url if the document have not been modified yet.
git-svn-id: svn://10.0.0.236/trunk@70196 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:11:05 +00:00
thayes%netscape.com
d15f1d8e90 Change calls to CMT_SDR* functions to provide ctx for callbacks.
git-svn-id: svn://10.0.0.236/trunk@70194 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:10:57 +00:00
ftang%netscape.com
b3452ffa86 Change the default charset of the containviewer when we set the document charset of
the nsEditorShell. fix bug 38322


git-svn-id: svn://10.0.0.236/trunk@70193 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:09:40 +00:00
mjudge%netscape.com
b8ec5ab39a oops left in debugging header
git-svn-id: svn://10.0.0.236/trunk@70192 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:07:34 +00:00
davidm%netscape.com
0269a3b0af 13784 [FEATURE] Mime Type/File Extension/Application Service Regis
git-svn-id: svn://10.0.0.236/trunk@70191 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:05:52 +00:00
despotdaemon%netscape.com
9cc109b834 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@70190 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:59:20 +00:00
jefft%netscape.com
b41c1e80cc fixed bug 28929 -- [regression] incorrectly entered pop mail leaves user in wierd state - does not download messages
git-svn-id: svn://10.0.0.236/trunk@70189 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:56:19 +00:00
javi%netscape.com
8e5656b9ad Get a reference for the getter on the crypto and pkcs11 objects before returning them.
git-svn-id: svn://10.0.0.236/trunk@70188 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:52:42 +00:00
pavlov%netscape.com
a4983057a2 remove unix toolkit services
git-svn-id: svn://10.0.0.236/trunk@70187 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:51:45 +00:00
pavlov%netscape.com
3a1e6f72f5 remove unix toolkit service completly
git-svn-id: svn://10.0.0.236/trunk@70186 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:51:19 +00:00
sspitzer%netscape.com
7a7e91247e more work on the hostinfo.dat support. now, we can at least read the hostinfo.dat in
if we have on (say, from migration.)  if hostinfo.dat is there, we'll use it
to populate the subscribe dialog, instead of going to the server.  (woo-hoo!)

this is for bug #10854, still tons to do.


git-svn-id: svn://10.0.0.236/trunk@70185 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:51:10 +00:00
mjudge%netscape.com
dc2ca0d903 adding switch. not throwing yet
git-svn-id: svn://10.0.0.236/trunk@70184 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:48:45 +00:00
erik%netscape.com
d722a41fa4 bug 6588; adding support for the "User Defined" character encoding and font
git-svn-id: svn://10.0.0.236/trunk@70183 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:48:44 +00:00
despotdaemon%netscape.com
2d1b889001 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@70182 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:48:33 +00:00
mjudge%netscape.com
a63278f0f5 adding switch. not on by default
git-svn-id: svn://10.0.0.236/trunk@70181 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:48:25 +00:00
mjudge%netscape.com
5a98fd8081 not in build yet...
git-svn-id: svn://10.0.0.236/trunk@70180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:45:42 +00:00
ruslan%netscape.com
ce2bd046e6 Move necko resources to make them comply with new packaging rules
git-svn-id: svn://10.0.0.236/trunk@70178 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:40:00 +00:00
alecf%netscape.com
252cd2a57b add support for and/or radiobuttons
git-svn-id: svn://10.0.0.236/trunk@70177 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:37:15 +00:00
alecf%netscape.com
a2eae19cd1 remove dumb debugging
git-svn-id: svn://10.0.0.236/trunk@70176 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:36:38 +00:00
cmanske%netscape.com
9917be916c Set default for editmode toolbar to collapsed (36691)
git-svn-id: svn://10.0.0.236/trunk@70174 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:31:30 +00:00
varada%netscape.com
bd0141f352 creating the prefs.jsc file in the Configs\temp directory
git-svn-id: svn://10.0.0.236/trunk@70173 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:30:20 +00:00
mjudge%netscape.com
01ae2e51da adding ender_lite to the build
git-svn-id: svn://10.0.0.236/trunk@70172 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:30:00 +00:00
mjudge%netscape.com
0190a030ae adding new ender_lite flag to build
git-svn-id: svn://10.0.0.236/trunk@70171 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:29:35 +00:00
ducarroz%netscape.com
9934cea1a4 Add AbSync to the build system. R=rhp
git-svn-id: svn://10.0.0.236/trunk@70170 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:29:09 +00:00
alecf%netscape.com
f67f84a96d fix radiogroup.selectedItem - was referencing some aRadioGroup which should have been "this"
git-svn-id: svn://10.0.0.236/trunk@70169 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:29:02 +00:00
suresh%netscape.com
06e93efc64 fixing bunch of mailnews pref bugs. r=putterman
git-svn-id: svn://10.0.0.236/trunk@70168 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:28:45 +00:00
jdunn%netscape.com
02e26502a0 fix dependencies for AIX.
r= hctrinh@us.ibm.com, cls@seawood.org


git-svn-id: svn://10.0.0.236/trunk@70167 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:28:41 +00:00
chuang%netscape.com
691fb34191 Bug 32287, 32292 Add, delete mailing list. 16421 Enable New List menu, toolbar button. r=putterman
git-svn-id: svn://10.0.0.236/trunk@70166 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:27:41 +00:00
racham%netscape.com
7d99fe6a50 Fixing bug 29093. Providing no UI path for shrimp. r=amusil
git-svn-id: svn://10.0.0.236/trunk@70165 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:18:49 +00:00
dp%netscape.com
0e700bd86d Updating to use --enable-module. Thanks to cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@70164 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:18:31 +00:00
racham%netscape.com
1d0ee16a9d Fixing bug 29093. File location for shrimp directory has been added. r=amusil
git-svn-id: svn://10.0.0.236/trunk@70163 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:18:02 +00:00
racham%netscape.com
1f072efc55 Fixing bug 29093. Adding an entry for shrimp directory. r=amusil
git-svn-id: svn://10.0.0.236/trunk@70162 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:17:59 +00:00
leaf%mozilla.org
a1c183cfb6 Automated update
git-svn-id: svn://10.0.0.236/trunk@70161 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:15:08 +00:00
ducarroz%netscape.com
30a0a7ec69 Update project. R=rhp
git-svn-id: svn://10.0.0.236/trunk@70160 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:14:27 +00:00
morse%netscape.com
4d7cc60a00 fix incorrect component for wallet
git-svn-id: svn://10.0.0.236/trunk@70159 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:13:57 +00:00
mkaply%us.ibm.com
d53527a00b # 20338
a= bobj
Reenable Visual Hebrew for Beta 2


git-svn-id: svn://10.0.0.236/trunk@70158 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:11:33 +00:00
pollmann%netscape.com
c63bb05028 Frameset regression tests, not part of build. Undoing previous change, which was accidentally checked in.
git-svn-id: svn://10.0.0.236/trunk@70156 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:06:03 +00:00
mcgreer%netscape.com
9cb765c899 including md2 and md5 implementations in MOZILLA_SECURITY_BUILD
git-svn-id: svn://10.0.0.236/trunk@70155 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:05:47 +00:00
dp%netscape.com
2dccd09e54 Using BUILD_MODULES for standalone xpcom. Thanks to cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@70154 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:05:24 +00:00
dp%netscape.com
7b5ae24305 Using --enable-module. Thanks to cls@seawood.org
git-svn-id: svn://10.0.0.236/trunk@70153 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:04:54 +00:00
dp%netscape.com
56731cd1bc Using --enable-module instead of --enable-xpcom-standalone
git-svn-id: svn://10.0.0.236/trunk@70152 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:03:17 +00:00
ftang%netscape.com
b0a7cb2254 add perl tools which generate character frequency map and statistics files
git-svn-id: svn://10.0.0.236/trunk@70151 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:03:14 +00:00
cmanske%netscape.com
c225af8da7 Fixed editors mangling of taskbar buttons, bug 39458
git-svn-id: svn://10.0.0.236/trunk@70150 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:02:05 +00:00
pollmann%netscape.com
122235813e Adding html iframe regression tests, not part of any build
git-svn-id: svn://10.0.0.236/trunk@70149 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:01:42 +00:00
mkaply%us.ibm.com
bd93bdc1c0 # 37239
r= mscott
OS/2 bring up continues - add PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@70148 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:59:50 +00:00
law%netscape.com
7f70e58d47 Build windows desktop integration component, again
git-svn-id: svn://10.0.0.236/trunk@70147 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:59:07 +00:00
putterman%netscape.com
3beb6cd858 work on tooltips.
git-svn-id: svn://10.0.0.236/trunk@70146 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:57:59 +00:00
law%netscape.com
88928d69a8 Fix some string screw-ups
git-svn-id: svn://10.0.0.236/trunk@70145 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:57:41 +00:00
putterman%netscape.com
edc5130fbc more work on tooltips.
git-svn-id: svn://10.0.0.236/trunk@70144 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:56:53 +00:00
ftang%netscape.com
6084e90375 Change the score back to based on both the first and second byte.
git-svn-id: svn://10.0.0.236/trunk@70143 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:56:39 +00:00
putterman%netscape.com
4e0a35c885 Work on 14106, View unread messages.
git-svn-id: svn://10.0.0.236/trunk@70142 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:56:37 +00:00
putterman%netscape.com
40bab10e97 Fix for 36159 - js exception when sending unsent messages. Work on 14106, View unread messages.
git-svn-id: svn://10.0.0.236/trunk@70141 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:56:08 +00:00
karnaze%netscape.com
1979c23f3b bug 28811, 29459, 32507 - added flag to reflow state to handle table cells.
changed table min and max width calculations to include percent and proportional cells.
Include border and padding in min table width calc.


git-svn-id: svn://10.0.0.236/trunk@70140 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:55:34 +00:00
pollmann%netscape.com
e820b8149c Adding html iframe regression tests, not part of any build
git-svn-id: svn://10.0.0.236/trunk@70139 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:53:35 +00:00
cmanske%netscape.com
0f5c8a5358 When removing SpellCheck menu item, must also remove following separator. Changed style to use background image for NamedAnchor, now that we know how to select it!
git-svn-id: svn://10.0.0.236/trunk@70138 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:53:01 +00:00
mkaply%us.ibm.com
255a7c5844 # 37239
r= rogerl
OS/2 bring up continues - fix for floating point trap


git-svn-id: svn://10.0.0.236/trunk@70137 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:51:12 +00:00
ftang%netscape.com
74143dd860 iimprove charset detectors to use statistic model
git-svn-id: svn://10.0.0.236/trunk@70136 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:50:16 +00:00
akkana%netscape.com
a24273164d Partial work on 16311, 32807, 16352: code reorganization/cleanup of word/line/paragraph selection.
git-svn-id: svn://10.0.0.236/trunk@70135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:48:28 +00:00
mkaply%us.ibm.com
9e06320072 # 37239
r= dveditz
OS/2 bring up continues - need direct.h for VisualAge build


git-svn-id: svn://10.0.0.236/trunk@70134 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:47:31 +00:00
alecf%netscape.com
39f7005f7c short-circuit the server property lookup so that the filter dialog doesn't cause lots of URI parsing to happen
git-svn-id: svn://10.0.0.236/trunk@70133 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:45:00 +00:00
mkaply%us.ibm.com
1ecb2c6353 # 37239
r= dveditz
OS/2 bring up continues - change MAX_PATH for OS/2


git-svn-id: svn://10.0.0.236/trunk@70132 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:44:48 +00:00
alecf%netscape.com
dc56998531 reverse the datasource order to reduce the number of GetTarget calls
git-svn-id: svn://10.0.0.236/trunk@70131 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:44:20 +00:00
alecf%netscape.com
9bdb311e97 support i18n friendly names in the datasource by doing some utf8 conversion
git-svn-id: svn://10.0.0.236/trunk@70130 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:43:23 +00:00
mjudge%netscape.com
11cb811217 more ender-lite enhancements
git-svn-id: svn://10.0.0.236/trunk@70129 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:42:00 +00:00
mjudge%netscape.com
44d73d55a6 fixing relative div position bug with autoscroll
git-svn-id: svn://10.0.0.236/trunk@70128 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:41:38 +00:00
mstoltz%netscape.com
65b118d587 Removing archive attribute from nsCertificatePrincipal. This will not be used.
git-svn-id: svn://10.0.0.236/trunk@70127 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:37:38 +00:00
alecf%netscape.com
d66e8349a1 refresh the filter list when the user presses 'ok' in the filter editor
git-svn-id: svn://10.0.0.236/trunk@70126 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:32:58 +00:00
beard%netscape.com
ed1ce1402f ensuring both arguments to max are the same type
git-svn-id: svn://10.0.0.236/trunk@70125 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:23:15 +00:00
mcafee%netscape.com
62d0801541 Adding style for pageinfo (22119)
git-svn-id: svn://10.0.0.236/trunk@70124 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:21:05 +00:00
mcafee%netscape.com
a7027ebdf3 Adding style for pageinfo, courtsey smorrison@gte.com (22119).
git-svn-id: svn://10.0.0.236/trunk@70123 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:20:29 +00:00
cata%netscape.com
a2e3f80259 Dynamic charset menu in Composer. Bug #38079
git-svn-id: svn://10.0.0.236/trunk@70122 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:20:18 +00:00
kin%netscape.com
2ed3618a8f - First pass checkin for a Drag and Drop friendlier selection. (Bug #38527) Code is ifdef'd out with DRAG_AND_DROP_FRIENDLY_SELECTION.
- Replaced tabs with spaces.


git-svn-id: svn://10.0.0.236/trunk@70121 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:16:05 +00:00
neeti%netscape.com
fd5804c71d netscape.cfg support for prefs.bug 5132,r=alecf.This is currently disabled
git-svn-id: svn://10.0.0.236/trunk@70120 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:15:13 +00:00
leaf%mozilla.org
ac51591875 Automated update
git-svn-id: svn://10.0.0.236/trunk@70119 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:15:08 +00:00
sfraser%netscape.com
bfb4391ae7 Code cleanup of main() and friends
git-svn-id: svn://10.0.0.236/trunk@70118 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:14:55 +00:00
sspitzer%netscape.com
6fb5a404d6 a bit of code cleanup. start of the work to support hostinfo.dat
git-svn-id: svn://10.0.0.236/trunk@70117 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:14:23 +00:00
cmanske%netscape.com
ca87bdf4d5 Add code to paint selection border around Named Anchor frames when rect is not null - used only in Editor when Named Anchor is represented by an image. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@70116 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:12:54 +00:00
pollmann%netscape.com
ddf691bcc3 Bug 18501: Send onChange before submitting on enter press in text input if the text was changed. This fixes http://maps.mcom.com r=harishd
git-svn-id: svn://10.0.0.236/trunk@70115 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:09:04 +00:00
dougt%netscape.com
eb5d40672a Fixing 31259. r=dveditz.
git-svn-id: svn://10.0.0.236/trunk@70114 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:08:05 +00:00
locka%iol.ie
9f4460e53c Changed a few calls to GetIID to use the NS_GET_IID macro.
Put in a mouse listener on the web shell container (non functional at present)


git-svn-id: svn://10.0.0.236/trunk@70113 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:07:09 +00:00
locka%iol.ie
0abbbc12f0 Swapped around the order files were #include'd to get around a problem with ERROR being defined by wingdi as 0 when nsIDOMEvent.h tried to define it in an enum
git-svn-id: svn://10.0.0.236/trunk@70112 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:05:52 +00:00
shaver%mozilla.org
8894dc47fd make sure that style attributes get the reresolve dance
git-svn-id: svn://10.0.0.236/trunk@70111 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:05:47 +00:00
pavlov%netscape.com
2604ccb7ac libtimer_s.a begone!
git-svn-id: svn://10.0.0.236/trunk@70110 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:04:58 +00:00
locka%iol.ie
0b9165c2a3 Added property notify sink
Fire ready state property change when the control has finished loading


git-svn-id: svn://10.0.0.236/trunk@70109 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:04:44 +00:00
pollmann%netscape.com
e50f08ece3 Bug 23014: Quirks mode percentage height: enable for iframes, enable for native scrollbars, and add safety check for unconstrained height. r=harishd
git-svn-id: svn://10.0.0.236/trunk@70108 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:02:16 +00:00
ssu%netscape.com
3236750692 fixing bug #37457. Xpinstall's File.dirRemove() is now working.
git-svn-id: svn://10.0.0.236/trunk@70107 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 22:01:59 +00:00
pollmann%netscape.com
4d8371e915 Bug 32746 (3 of 3): Make iframe borders respond to both css and frameborder attribute, un-reverse frameborder=yes/no, and misc clean up with nsCOMPtrs. r=harishd
git-svn-id: svn://10.0.0.236/trunk@70106 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:59:23 +00:00
joki%netscape.com
22b991b909 fix for bug 15189 along with an annoying assert that just started. r: rods
git-svn-id: svn://10.0.0.236/trunk@70105 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:58:37 +00:00
davidm%netscape.com
fabc4b230f 34314 Remove execute permission from cache files
git-svn-id: svn://10.0.0.236/trunk@70104 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:58:17 +00:00
ben%netscape.com
92698411db search skinnability tweaks
git-svn-id: svn://10.0.0.236/trunk@70103 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:57:29 +00:00
davidm%netscape.com
4beca71da8 38260 necko file cache depends on xpfe!
git-svn-id: svn://10.0.0.236/trunk@70102 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:57:23 +00:00
rods%netscape.com
a388fb9eb3 DD&D now checks for readonly and disabled
b 38773


git-svn-id: svn://10.0.0.236/trunk@70101 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:57:06 +00:00
ben%netscape.com
3e5430d221 search sidebar skinnability
git-svn-id: svn://10.0.0.236/trunk@70100 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:56:12 +00:00
pollmann%netscape.com
0cebd244c8 Bug 32746 (2 of 3): Make iframe borders respond to both css and frameborder attribute. r=harishd
git-svn-id: svn://10.0.0.236/trunk@70099 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:56:02 +00:00
dcone%netscape.com
d068a54517 Added code to check file name for obvious directory syntax..
git-svn-id: svn://10.0.0.236/trunk@70098 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:55:39 +00:00
dougt%netscape.com
294ba96376 Using wrong converstion. It should have been 1000, but it I checked in 1 mil!
git-svn-id: svn://10.0.0.236/trunk@70097 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:53:34 +00:00
pollmann%netscape.com
dd5751cc82 Bug 32746 (1 of 3): Make iframe borders compatible with IE's precedent here, inset rather than solid border. r=harishd
git-svn-id: svn://10.0.0.236/trunk@70096 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:45:55 +00:00
sspitzer%netscape.com
66af01a2b9 all around the mulberry bush, the monkey chased the weasel.
git-svn-id: svn://10.0.0.236/trunk@70095 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:44:23 +00:00
rhp%netscape.com
3487a4523f A fix to make string bundles thread safe in back end - r: rhp (external contributor)
git-svn-id: svn://10.0.0.236/trunk@70094 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:43:29 +00:00
ftang%netscape.com
3a98843b0f fix OS2 problem for ibm
git-svn-id: svn://10.0.0.236/trunk@70093 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:41:14 +00:00
sspitzer%netscape.com
17c7abea6a fix regression #39453, also, comment out some dump statements.
git-svn-id: svn://10.0.0.236/trunk@70092 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:40:32 +00:00
mcafee%netscape.com
bc86763a2f Adding page info implementation, courtesy smorrison@gte.com. (22119)
git-svn-id: svn://10.0.0.236/trunk@70091 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:38:13 +00:00
pinkerton%netscape.com
21f01c9041 fix for 39347, translucent dragging picking up wrong bits in mail thread window. needed to add correct view offsets.
git-svn-id: svn://10.0.0.236/trunk@70090 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:36:28 +00:00
mscott%netscape.com
a72defd27a Bug #39445 --> news folders don't have a charset...fixes a crash
when trying to display news messages.


git-svn-id: svn://10.0.0.236/trunk@70089 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:36:23 +00:00
mcafee%netscape.com
df86a957b7 Page info implementation, courtesy smorrison@gte.com
git-svn-id: svn://10.0.0.236/trunk@70088 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:35:46 +00:00
ftang%netscape.com
d97f53e51f fix bug 39197. r=erik. Detect UTF8 BOM since Win2K notepad generate them
git-svn-id: svn://10.0.0.236/trunk@70087 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:35:40 +00:00
ddrinan%netscape.com
7b30c71d4a OS/2 changes for snizinsk@us.ibm.com
git-svn-id: svn://10.0.0.236/trunk@70086 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:30:23 +00:00
warren%netscape.com
b5d2eacffa Reverted serverPasswordRealm back to serverURI. Bug 39453.
git-svn-id: svn://10.0.0.236/trunk@70085 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:17:55 +00:00
varada%netscape.com
f2b7677c98 trivial bug fix for help
git-svn-id: svn://10.0.0.236/trunk@70084 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 21:05:11 +00:00
evaughan%netscape.com
9b4df52e9b 1) Fixed collapsing code. So sidebar does not assert when brought up closed.
2) fixed menu dismissing bug.


git-svn-id: svn://10.0.0.236/trunk@70083 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 20:46:08 +00:00
varada%netscape.com
28e215d8dc exporting the help1 and help2 files to the root
git-svn-id: svn://10.0.0.236/trunk@70082 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 20:28:37 +00:00
rickg%netscape.com
0696c6177e checking in fix for 39281
git-svn-id: svn://10.0.0.236/trunk@70081 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 20:27:45 +00:00
varada%netscape.com
3a924f3aee adding files for customizing helpmenu
git-svn-id: svn://10.0.0.236/trunk@70080 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 20:26:50 +00:00
shanjian%netscape.com
beb4a500e4 #7601, r = ftang
fixed backwards wordjump problem for non-ascii characters.


git-svn-id: svn://10.0.0.236/trunk@70079 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 19:52:05 +00:00
shanjian%netscape.com
8afbbf4919 #7601
r = ftang
Fixed non-ascii forward wordjump problem.


git-svn-id: svn://10.0.0.236/trunk@70078 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 19:51:09 +00:00
dbaron%fas.harvard.edu
2d67a42d05 Fix MathML build. r=erik@netscape.com a=leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@70077 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 19:31:57 +00:00
dbaron%fas.harvard.edu
158d100ab1 Fix MathML build (patch also pointed out by mielke@licel.com). r=sfraser@netscape.com a=leaf@mozilla.org Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@70076 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 19:29:44 +00:00
ddrinan%netscape.com
304b2ee6c2 Fixed the release_md rule to copy the components stuff
git-svn-id: svn://10.0.0.236/trunk@70075 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 18:54:01 +00:00
ddrinan%netscape.com
aa0fe0df80 Load the nlslayer/M14 from \\drinan. This is temporary
git-svn-id: svn://10.0.0.236/trunk@70074 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 18:47:22 +00:00
joki%netscape.com
8002cdafaf Fix for bug 39422, fix use of event.target from JS. a:leaf, r:vidur
git-svn-id: svn://10.0.0.236/trunk@70073 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 18:46:38 +00:00
mscott%netscape.com
86f6ffabe0 fix infinite recursion in the interface map macro. I wasn't jumping up to the base class (nsMsgMailNewsUrl) instead
I was re-enteringin nsNntpUrl =).
a=leaf


git-svn-id: svn://10.0.0.236/trunk@70072 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 18:43:05 +00:00
ddrinan%netscape.com
202cd73559 OS/2 changes for snizinsk@us.ibm.com
git-svn-id: svn://10.0.0.236/trunk@70071 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 18:30:55 +00:00
mcgreer%netscape.com
91396420b4 Performance enhancements for md5 implementation.
+ unroll a loop in md5_compress
+ remove a superfluous variable


git-svn-id: svn://10.0.0.236/trunk@70070 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 18:18:39 +00:00
kin%netscape.com
39c7e359c4 Fix for smoke test blocker bug #39426 (the spellchecker is not being recognized as present (missing))
Corrected spellchecker progid string.
r=sfraser@netscape.com a=leaf@netcape.com


git-svn-id: svn://10.0.0.236/trunk@70069 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 18:07:41 +00:00
relyea%netscape.com
3b8a866a62 Add a mini-framework to allow us to test NSS releases without using tet.
git-svn-id: svn://10.0.0.236/trunk@70067 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 17:50:52 +00:00
relyea%netscape.com
5984c2ad6c Change the attribute allocation scheme to a fixed array in the object.
git-svn-id: svn://10.0.0.236/trunk@70066 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 17:40:22 +00:00
relyea%netscape.com
2819a588b3 Add SSL and TLS to the slotlist search functions
git-svn-id: svn://10.0.0.236/trunk@70065 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 17:37:10 +00:00
relyea%netscape.com
74a18ec950 1) performance changes.
a) do C_Decrypt in the handUnwrap case on it's own session so we don't
 single thread through the code.
	b) reuse the session created for the symKey when importing the key from data.

2) robustness changes.
	a) try different ways of getting the signature length if non-complient
 tokens don't present the modulus to us.
	b) Recover from state buffers changing sizes on us in the middle of
GetOperationState().


git-svn-id: svn://10.0.0.236/trunk@70064 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 17:36:24 +00:00
putterman%netscape.com
309fb2dc04 fix for assertions on startup. a=leaf. r=sspitzer and cata.
git-svn-id: svn://10.0.0.236/trunk@70063 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 17:30:15 +00:00
relyea%netscape.com
66e653caff Only output caching if we turn tracing on.
git-svn-id: svn://10.0.0.236/trunk@70062 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 17:28:31 +00:00
relyea%netscape.com
79bdd1d55c Add TLS and SSL flags to modutil.
Allow the Default flag to work specifically on a slot.


git-svn-id: svn://10.0.0.236/trunk@70061 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 17:27:29 +00:00
relyea%netscape.com
3af266775d 1) add code to allow selfserv to reuse existing listen ports when they are 'just haning around' (allows our test suits to run when starting and stopping the server all the time).
2) flush out any server output so it doesn't get lost from out test suites


git-svn-id: svn://10.0.0.236/trunk@70060 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 17:25:42 +00:00
law%netscape.com
2c531b8f9a Backing out change
git-svn-id: svn://10.0.0.236/trunk@70059 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 15:51:33 +00:00
dougt%netscape.com
43b308e95e The files in winHooks have been removed for some reason, but this makefile
still points to this directory.  I am removing it until law@netscape.com
can figure out what is going on.  Hopefully, this really is a component.


git-svn-id: svn://10.0.0.236/trunk@70058 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 15:45:20 +00:00
morse%netscape.com
f82812c64e don't return error if decrypting a zero-length string
git-svn-id: svn://10.0.0.236/trunk@70057 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 15:00:35 +00:00
brade%netscape.com
e3480b94f9 enable drop of more types
git-svn-id: svn://10.0.0.236/trunk@70056 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 14:53:43 +00:00
brade%netscape.com
2f99e64b71 fix namespace
git-svn-id: svn://10.0.0.236/trunk@70055 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 14:44:35 +00:00
jst%netscape.com
37eb02ba89 Fix invalid nsString useage.
git-svn-id: svn://10.0.0.236/trunk@70054 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 14:43:32 +00:00
brade%netscape.com
86561558dd namespace fixes
git-svn-id: svn://10.0.0.236/trunk@70053 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 14:43:04 +00:00
law%netscape.com
940a87bbf9 Minor tweaking to clean up the code some
git-svn-id: svn://10.0.0.236/trunk@70052 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 14:36:08 +00:00
joki%netscape.com
2db4630dd8 Second part of fix for 7404, allow left right keyboard scrolling, patch from Matt Bissiri and John Morrison
git-svn-id: svn://10.0.0.236/trunk@70051 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 14:28:09 +00:00
endico%mozilla.org
6e3dba9ba9 remove requirement for Data::Dumper
git-svn-id: svn://10.0.0.236/trunk@70050 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 14:04:05 +00:00
mjudge%netscape.com
c9c824fb3b if you ever override mouseup, tell nsFrame about it. this maintains the selection/capture state.
git-svn-id: svn://10.0.0.236/trunk@70049 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:53:04 +00:00
mjudge%netscape.com
923a9c6cea changes for setcapture.
git-svn-id: svn://10.0.0.236/trunk@70048 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:52:28 +00:00
rbs%maths.uq.edu.au
7221d01a37 [not part of default build] Header that should have gone with the other files
git-svn-id: svn://10.0.0.236/trunk@70047 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:29:37 +00:00
ben%netscape.com
67e8886800 some more sidebar skin/CSS tweaks
git-svn-id: svn://10.0.0.236/trunk@70046 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:28:37 +00:00
joki%netscape.com
f71e0bbd1c Commenting out until we can figure out what mac wants here.
git-svn-id: svn://10.0.0.236/trunk@70045 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:27:10 +00:00
rbs%maths.uq.edu.au
705c55ff7e Restructure the CSS file and add changes needed to support alignments in <mtable>
git-svn-id: svn://10.0.0.236/trunk@70044 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:20:22 +00:00
rbs%maths.uq.edu.au
e0ccde3dcc [not part of default build] Added support for rowalign and columnalign attributes on <mtable>
git-svn-id: svn://10.0.0.236/trunk@70043 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:18:42 +00:00
rbs%maths.uq.edu.au
6736358eed [not part of default build] Remove unnecessary #include files
git-svn-id: svn://10.0.0.236/trunk@70042 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:17:20 +00:00
rbs%maths.uq.edu.au
ef6cbd27a0 [not part of default build] * Added recursion to search an attribute all the way up into the <mstyle> hierarchy. * Added support for MathML 2.0 'namedspace' values like: thickmathspace, thinmathspace, verythinmathspace, verythinmathspace, veryverythinmathspace, ... * Added some placeholders for incremental reflows
git-svn-id: svn://10.0.0.236/trunk@70041 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:15:15 +00:00
ben%netscape.com
968dd1d4b3 sidebar splitter grippy appearance tweaks
git-svn-id: svn://10.0.0.236/trunk@70040 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:13:18 +00:00
mjudge%netscape.com
b923a0809c left in bad reference
git-svn-id: svn://10.0.0.236/trunk@70039 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:02:36 +00:00
joki%netscape.com
2fb47fed49 Fix bustage
git-svn-id: svn://10.0.0.236/trunk@70038 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 12:49:04 +00:00
mjudge%netscape.com
2126ead29a fixing regunreg for form controls
git-svn-id: svn://10.0.0.236/trunk@70037 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 12:44:32 +00:00
ben%netscape.com
6c7384a436 making sidebar panels not suck appearance wise.
git-svn-id: svn://10.0.0.236/trunk@70036 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 12:43:43 +00:00
mjudge%netscape.com
bf7db3cfce accidental checkin
git-svn-id: svn://10.0.0.236/trunk@70035 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 12:20:24 +00:00
mjudge%netscape.com
685fb8086e adding in destroy method
git-svn-id: svn://10.0.0.236/trunk@70034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 12:18:49 +00:00
mjudge%netscape.com
d852583364 fixes for RegUnRegAccessKey
git-svn-id: svn://10.0.0.236/trunk@70033 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 12:18:36 +00:00
joki%netscape.com
b48cb878a4 temp fix for bustage
git-svn-id: svn://10.0.0.236/trunk@70032 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 12:14:19 +00:00
ben%netscape.com
1a49ebea5e XUL <radiogroup> and <radio> are now implemented completely in JS/XBL,
deprecate 'iconic' classes of <checkbox> and <radio>


git-svn-id: svn://10.0.0.236/trunk@70031 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 12:08:35 +00:00
ben%netscape.com
c83131d702 checkbox appearance tweaks/performance tuning
git-svn-id: svn://10.0.0.236/trunk@70030 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 12:06:13 +00:00
joki%netscape.com
b26273c196 Fix for bustage
git-svn-id: svn://10.0.0.236/trunk@70029 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 11:36:34 +00:00
joki%netscape.com
ec91adc761 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed.
git-svn-id: svn://10.0.0.236/trunk@70028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 11:35:12 +00:00
joki%netscape.com
6aa7ce987a Adding accesskey support. Bug 959.
git-svn-id: svn://10.0.0.236/trunk@70027 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 10:22:20 +00:00
scc%netscape.com
21439a6da2 fixed a problem with cut and advancing past the end of a string with an iterator r=waterson
git-svn-id: svn://10.0.0.236/trunk@70026 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 10:13:23 +00:00
leaf%mozilla.org
bef09d5490 Automated update
git-svn-id: svn://10.0.0.236/trunk@70025 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 09:45:08 +00:00
kvisco%ziplink.net
f4c34e07cc added Olivier Gerardin's changes to the command line app, see source code for more info
git-svn-id: svn://10.0.0.236/trunk@70024 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 09:43:09 +00:00
kvisco%ziplink.net
2ad6651228 Fixed a seg fault when '/' is used as a div operator, which is an error so I also added an error message for this case
git-svn-id: svn://10.0.0.236/trunk@70023 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 09:34:01 +00:00
cls%seawood.org
c96d6b6ad6 Added new configure option --with-dbgrinfo-modules to allow us to independently toggle the use of the developer's -DDEBUG flag and the compiler's -g debug flag.
Thanks to Justin Morey <justin@68k.org> for the patch.  Bug 39187


git-svn-id: svn://10.0.0.236/trunk@70022 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 09:31:58 +00:00
gagan%netscape.com
7ed21ddb16 removed old libnet.h
git-svn-id: svn://10.0.0.236/trunk@70021 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 09:07:14 +00:00
gagan%netscape.com
881994d97f old libnet.h. die die die.
git-svn-id: svn://10.0.0.236/trunk@70020 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 09:05:51 +00:00
kvisco%ziplink.net
efdba56307 added Nisheeth's name to contributors list
git-svn-id: svn://10.0.0.236/trunk@70019 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 09:03:13 +00:00
hyatt%netscape.com
c82025785f fixing string errors
git-svn-id: svn://10.0.0.236/trunk@70018 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 08:54:20 +00:00
gagan%netscape.com
92104de00f Fix for bug 27930. Support for IPv6.
git-svn-id: svn://10.0.0.236/trunk@70017 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 08:46:03 +00:00
hyatt%netscape.com
a70f9ae2cf Fix bustage.
git-svn-id: svn://10.0.0.236/trunk@70016 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 08:43:56 +00:00
gagan%netscape.com
6a7be083de Fix for bug 27930. Support for IPv6 in the url parser.
git-svn-id: svn://10.0.0.236/trunk@70015 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 08:42:40 +00:00
scc%netscape.com
12726a7170 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@70014 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 08:30:36 +00:00
anthonyd%netscape.com
8e4f929fe8 avoiding confusion between line iterator between layout and navigation.
if you want a line iterator for navigation you must explicitly ask for one.


git-svn-id: svn://10.0.0.236/trunk@70013 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 08:11:14 +00:00
endico%mozilla.org
a2868d1b34 move mime type declaration to fix types for html error messages
git-svn-id: svn://10.0.0.236/trunk@70012 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 07:35:21 +00:00
ben%netscape.com
a8af4813d5 shuffling navigator code around
git-svn-id: svn://10.0.0.236/trunk@70011 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 07:21:31 +00:00
scc%netscape.com
daa22be30a turning on the new strings API.
git-svn-id: svn://10.0.0.236/trunk@70010 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 07:18:04 +00:00
endico%mozilla.org
d9046bbf40 export_bug.cgi emits a bug as xml in a form that import.pl can use to import the bug into another instance of bugzilla.
git-svn-id: svn://10.0.0.236/trunk@70009 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 07:10:45 +00:00
waterson%netscape.com
286499ed4c Revert NS_READABLE_CAST. Without the reference, it didn't work.
git-svn-id: svn://10.0.0.236/trunk@70008 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 07:01:30 +00:00
av%netscape.com
ac3cca2313 Removing binary
git-svn-id: svn://10.0.0.236/trunk@70007 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 06:01:46 +00:00
alecf%netscape.com
9f1bae696a update delegate and factory to refer to filters by name rather than index, for ease in sorting filters
git-svn-id: svn://10.0.0.236/trunk@70006 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 06:00:26 +00:00
alecf%netscape.com
f95cad6393 initialize empty search terms to avoid crash! (duh)
git-svn-id: svn://10.0.0.236/trunk@70005 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:59:50 +00:00
alecf%netscape.com
b03393de13 explicit static cast seems to make ElementAt happy
git-svn-id: svn://10.0.0.236/trunk@70004 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:59:17 +00:00
waterson%netscape.com
cdf151eb01 Bug 29284. Be sure to escape quotes! Other serialization cleanup.
git-svn-id: svn://10.0.0.236/trunk@70003 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:58:48 +00:00
alecf%netscape.com
321f2008a2 add new API to search for filters by name
git-svn-id: svn://10.0.0.236/trunk@70002 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:58:47 +00:00
av%netscape.com
1edeb2036e Adding project file
git-svn-id: svn://10.0.0.236/trunk@70000 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:39:18 +00:00
av%netscape.com
e94f955ac6 Removing corrupted project file
git-svn-id: svn://10.0.0.236/trunk@69999 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:38:29 +00:00
warren%netscape.com
1958638f6c Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse
git-svn-id: svn://10.0.0.236/trunk@69998 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:35:23 +00:00
cmanske%netscape.com
db806b4238 Fixed Composer taskbar buttons. Changed Editorshell mouse listener so editorshell controls action, allowing selection of elements in All Tags mode with single click. Improved isCommandEnabled for Split cell command
git-svn-id: svn://10.0.0.236/trunk@69997 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:33:51 +00:00
blizzard%redhat.com
d0c1c5d889 back out the expose-a-page-at-a-time checkin since it was causing refresh problems.
git-svn-id: svn://10.0.0.236/trunk@69996 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:33:21 +00:00
gagan%netscape.com
eccc14f464 Fixes from wtc for bug 38300.
git-svn-id: svn://10.0.0.236/trunk@69995 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:33:18 +00:00
sfraser%netscape.com
b07d3b22e7 Fix for 37284 -- remove spell checker button if not installed.
git-svn-id: svn://10.0.0.236/trunk@69994 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:26:29 +00:00
av%netscape.com
b9b1ac0a1c Not part of the build
git-svn-id: svn://10.0.0.236/trunk@69993 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:24:31 +00:00
mscott%netscape.com
1cd514c5b2 Bug #18591 --> add the ability to bring up a new card using window.open
that includes arguments (like display name, email address, etc) to
pre-initialize attributes.
a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@69992 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:22:22 +00:00
mscott%netscape.com
bcaff94b6c Bug #18591 --> remove add to address book button, use the context menu instead.
a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@69991 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:21:38 +00:00
mscott%netscape.com
3efc04e953 Bug #18591 --> remove add to address book button, use the context menu
instead.
a=sspitzer


git-svn-id: svn://10.0.0.236/trunk@69990 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:20:26 +00:00
cls%seawood.org
722f33dedf Didn't mean to check this file in. Replacing xp.h header.
git-svn-id: svn://10.0.0.236/trunk@69989 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:16:59 +00:00
cmanske%netscape.com
457c851157 Added constants for outputflags to shared dialog js and fixed link dialog to use it
git-svn-id: svn://10.0.0.236/trunk@69988 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:14:52 +00:00
cmanske%netscape.com
8c3d820634 Fixed debug selection output command
git-svn-id: svn://10.0.0.236/trunk@69987 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:12:57 +00:00
rayw%netscape.com
98bd131e8e Added the fixes for 35866 and one older bug to the js component loader.
This means it is more careful about how it writes binary filenames in
the registry and it calls an observer to report autoregistrations.

This should have gone out with equivalent Native Component Loader fixes,
but it didn't.


git-svn-id: svn://10.0.0.236/trunk@69986 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:09:31 +00:00
av%netscape.com
3041b32aca Adding xpcom.lib to the plugin DK
git-svn-id: svn://10.0.0.236/trunk@69985 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:07:47 +00:00
av%netscape.com
6eab3bf30e Adding xpcom.lib to the plugin DK
git-svn-id: svn://10.0.0.236/trunk@69984 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:00:34 +00:00
ben%netscape.com
cdd74c496b fixing navigation buttons
git-svn-id: svn://10.0.0.236/trunk@69983 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 04:46:53 +00:00
cls%seawood.org
33a59aa036 Latest OS/2 makefile changes. Bug 34106. Batch 14, 15, & 16.
git-svn-id: svn://10.0.0.236/trunk@69982 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 04:41:54 +00:00
bryner%uiuc.edu
c836ba42de Adding text size enlarge/reduce radio button to the mousewheel prefs
panel.  r=shaver.


git-svn-id: svn://10.0.0.236/trunk@69981 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 04:37:42 +00:00
av%netscape.com
c0c27a8ae9 Removing wrong file
git-svn-id: svn://10.0.0.236/trunk@69980 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 04:36:29 +00:00
av%netscape.com
2f3d253c94 Adding xpcom.lib to the plugin DK
git-svn-id: svn://10.0.0.236/trunk@69979 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 04:30:46 +00:00
av%netscape.com
b41cf2ee21 Removing wrong file
git-svn-id: svn://10.0.0.236/trunk@69978 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 04:25:20 +00:00
bryner%uiuc.edu
2f860147d8 Removing this file, it's empty.
git-svn-id: svn://10.0.0.236/trunk@69977 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 04:24:07 +00:00
bryner%uiuc.edu
554a2f5c3f Removing pref-mousewheel.js from the build, it's empty.
git-svn-id: svn://10.0.0.236/trunk@69976 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 04:23:25 +00:00
mstoltz%netscape.com
a91654aee3 Fixing bustage in nsCertificatePrincipal.cpp
git-svn-id: svn://10.0.0.236/trunk@69975 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 04:15:56 +00:00
cls%seawood.org
f24e1a864d Added TK_LIBS to tests to resolve gtk dependencies. Bug 22673
git-svn-id: svn://10.0.0.236/trunk@69974 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 04:11:14 +00:00
av%netscape.com
1cbe08abde Adding new project file
git-svn-id: svn://10.0.0.236/trunk@69973 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 04:07:02 +00:00
av%netscape.com
bb657af4ec removing old project file
git-svn-id: svn://10.0.0.236/trunk@69972 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 04:06:07 +00:00
sgehani%netscape.com
4550613f8c Only switch to additions window if additional components were detected at parse time.
git-svn-id: svn://10.0.0.236/trunk@69971 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 04:05:21 +00:00
av%netscape.com
735db7afdb Adding makefile to the plugin DK which would allow to pull headers from appropriate places
git-svn-id: svn://10.0.0.236/trunk@69970 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:59:14 +00:00
gordon%netscape.com
18bf882f03 adding back an old friend.
git-svn-id: svn://10.0.0.236/trunk@69969 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:58:58 +00:00
sgehani%netscape.com
0bcb9dbb57 Land "Additions Window" for the Mac installer. [b=21039]
git-svn-id: svn://10.0.0.236/trunk@69968 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:57:46 +00:00
av%netscape.com
3f8ad55c85 Adding xpcom.lib to the plugin DK
git-svn-id: svn://10.0.0.236/trunk@69967 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:55:35 +00:00
waterson%netscape.com
dbee980bf9 string fixes r=waterson
git-svn-id: svn://10.0.0.236/trunk@69966 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:55:20 +00:00
bryner%uiuc.edu
05ba84a19d Hide the mousewheel prefs panel on Macintosh, since we do not have
mousewheel scrolling implemented there.  r=ben.


git-svn-id: svn://10.0.0.236/trunk@69965 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:51:46 +00:00
av%netscape.com
948c8a8155 Adding idl compiler to the plugin DK
git-svn-id: svn://10.0.0.236/trunk@69964 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:49:31 +00:00
mstoltz%netscape.com
a24d345d24 Fixes for 32878, 37739. Added PR_CALLBACK macros. Changed security.principal pref syntax to a nicer syntax. Removed "security.checkxpconnect" hack.
git-svn-id: svn://10.0.0.236/trunk@69963 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:40:51 +00:00
mjudge%netscape.com
24fcf27eea textareas are also special cases where some data is added in create anonymous frames
git-svn-id: svn://10.0.0.236/trunk@69962 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:40:02 +00:00
mjudge%netscape.com
5c9fccf9c2 not in build yet. default text now works..
git-svn-id: svn://10.0.0.236/trunk@69961 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:38:26 +00:00
erik%netscape.com
b086b8143d checking in the previous changes again since I fixed the bug in
nsFontMetricsGTK.cpp and checked that in again too


git-svn-id: svn://10.0.0.236/trunk@69960 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:31:51 +00:00
cmanske%netscape.com
e7efad7787 Changed comments to accurately describe HandleTableSelection parameters
git-svn-id: svn://10.0.0.236/trunk@69959 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:31:28 +00:00
erik%netscape.com
fcc726b474 checking in the previous changes again, this time with 3 more bugs fixed
git-svn-id: svn://10.0.0.236/trunk@69958 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:31:05 +00:00
ben%netscape.com
126385aa5a preparation for new <radiogroup> widget
git-svn-id: svn://10.0.0.236/trunk@69957 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:26:34 +00:00
jst%netscape.com
5ee82cc838 Cleaning up GetNodeName() in preparation for swiching mozilla over to a DOM Level 2 compliant .nodeName property.
git-svn-id: svn://10.0.0.236/trunk@69956 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:22:25 +00:00
danm%netscape.com
509a16e45e store generated overlays in their own directory. force overlay list node to be a seq. r=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69955 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:16:58 +00:00
ben%netscape.com
a905816d58 preparation for new <radiogroup> widget
git-svn-id: svn://10.0.0.236/trunk@69954 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:13:19 +00:00
danm%netscape.com
5c3346a180 create directory in Flush. r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69953 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:09:34 +00:00
danm%netscape.com
049b247b1a adding navExtraOverlay.xul
git-svn-id: svn://10.0.0.236/trunk@69952 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:07:57 +00:00
danm%netscape.com
86788bad0c an empty overlay file which can be overridden in custom builds
git-svn-id: svn://10.0.0.236/trunk@69951 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:06:44 +00:00
cmanske%netscape.com
7bf34e9d29 Select table column and row support (20973). r=mjudge
git-svn-id: svn://10.0.0.236/trunk@69950 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 03:03:13 +00:00
brendan%mozilla.org
af2f4da590 Fix GC request debiting to cope with multiple JSContexts on the same thread (39321, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@69949 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:44:27 +00:00
shaver%mozilla.org
f792546214 Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.


git-svn-id: svn://10.0.0.236/trunk@69948 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:43:33 +00:00
brendan%mozilla.org
18ba83921b Remove JS request API usage, it's wrong and unnecessary in the main thread (38780, r=alecf).
git-svn-id: svn://10.0.0.236/trunk@69947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:40:38 +00:00
alecf%netscape.com
ea550ddd6a try to persist this window
git-svn-id: svn://10.0.0.236/trunk@69946 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:19:02 +00:00
alecf%netscape.com
88dad3f1a6 less->fewer per discussion on IRC
git-svn-id: svn://10.0.0.236/trunk@69945 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:18:28 +00:00
alecf%netscape.com
a14494844e get rid of excess constructor calls
git-svn-id: svn://10.0.0.236/trunk@69944 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:17:46 +00:00
jst%netscape.com
3b35449119 Make .localName always return the local name, even if there's no namespace on the node.
git-svn-id: svn://10.0.0.236/trunk@69943 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:17:14 +00:00
bryner%uiuc.edu
bc3b593945 Removing a makefile that isn't in the tree. r=sspitzer@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@69942 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:04:42 +00:00
pavlov%netscape.com
236c53e909 decrement sWidgetCount since i removed it in my last checkin
git-svn-id: svn://10.0.0.236/trunk@69941 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 02:03:47 +00:00
roeber%netscape.com
a49e82e29d sync the database after writes
git-svn-id: svn://10.0.0.236/trunk@69940 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 01:55:20 +00:00
roeber%netscape.com
bd2da7022a Properly deregister shadow objects of session objects
git-svn-id: svn://10.0.0.236/trunk@69939 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 01:54:46 +00:00
despotdaemon%netscape.com
709cd3f5e8 Pseudo-automatic update of changes made by endico@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@69938 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 01:52:33 +00:00
rhp%netscape.com
a1f31dd556 Fix for phone issues
git-svn-id: svn://10.0.0.236/trunk@69937 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 01:50:55 +00:00
rbs%maths.uq.edu.au
997494aca9 [#ifdef MOZ_MATHML: NOT PART OF THE DEFAULT BUILD] Finally enable the Mathematica fonts on Unix. Paul Gartside <gartside@maths.ox.ac.uk> tested and reported that all went well.
git-svn-id: svn://10.0.0.236/trunk@69936 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 01:45:27 +00:00
nisheeth%netscape.com
5a01bb97d5 Do not do async reflow during document load because this breaks progress notificaitons and the performance metrics.
git-svn-id: svn://10.0.0.236/trunk@69935 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 01:11:29 +00:00
mjudge%netscape.com
461f2d27b5 not in build. form submission works
git-svn-id: svn://10.0.0.236/trunk@69934 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 01:03:07 +00:00
rhp%netscape.com
fbf28de24e Small fix for phone number handling...gggrrrrr.
git-svn-id: svn://10.0.0.236/trunk@69933 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:59:07 +00:00
rhp%netscape.com
a64581fc57 Fixing comparison call problem in new code.
git-svn-id: svn://10.0.0.236/trunk@69932 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:56:03 +00:00
jst%netscape.com
a4819fdc9d Implementing getElementsByTagNameNS() for XML and HTML documents.
git-svn-id: svn://10.0.0.236/trunk@69931 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:55:05 +00:00
waterson%netscape.com
b2c93adc15 Clean up some of the last warnings.
git-svn-id: svn://10.0.0.236/trunk@69930 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:45:38 +00:00
akkana%netscape.com
dec9c88f83 35118: Fix from Daniel Bratell <bratell@lysator.liu.se> to fix signature delimiters in format=flowed
git-svn-id: svn://10.0.0.236/trunk@69929 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:37:41 +00:00
alecf%netscape.com
210e774dac oops, in cleaning up the event API, I fired this event on the wrong folder
git-svn-id: svn://10.0.0.236/trunk@69928 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:30:53 +00:00
buster%netscape.com
64de8f0ada bug 29772
r=rods
added style rules to show text cursor over text and password input fields (except disabled fields)


git-svn-id: svn://10.0.0.236/trunk@69927 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:25:44 +00:00
ssu%netscape.com
a158ef9c7c fixing bug 5009
git-svn-id: svn://10.0.0.236/trunk@69926 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:25:42 +00:00
mscott%netscape.com
e9dc019be2 Bug #5938 --> set the charset override if the url has one.
git-svn-id: svn://10.0.0.236/trunk@69925 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:23:55 +00:00
mscott%netscape.com
8e5396ba7e Bug #5938 --> set the charset override on the url if there is one.
git-svn-id: svn://10.0.0.236/trunk@69924 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:22:53 +00:00
sdv%sparc.spb.su
b89d4b1ea8 sdv@sparc.spb.su
added a hook to notify Java DOM component
when a plugin is being instantiated
r=idk@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@69923 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:22:30 +00:00
mscott%netscape.com
0a8a84b1d5 Bug #5938 --> if the user forces a charset, reload the current message forcing that charset.
git-svn-id: svn://10.0.0.236/trunk@69922 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:21:44 +00:00
mscott%netscape.com
d78dc5c1c3 when setting a charset don't reload the message...we do this already
in messenger.SetDocumentCharset


git-svn-id: svn://10.0.0.236/trunk@69921 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:21:02 +00:00
cls%seawood.org
9677f78732 Removing unneeded beos shared lib dependency creating. Thanks to Justin Morey <justin@68k.org> for the patch. Bug #38372
git-svn-id: svn://10.0.0.236/trunk@69920 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:20:50 +00:00
cata%netscape.com
951cbcb55b Fixing bug #33669.
git-svn-id: svn://10.0.0.236/trunk@69919 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:19:29 +00:00
mcgreer%netscape.com
629f79fe55 In BSAFE build, libfreebl.a has symbols needed by libbsafe.a (memory management).
git-svn-id: svn://10.0.0.236/trunk@69918 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:18:51 +00:00
leaf%mozilla.org
a0137155e4 Automated update
git-svn-id: svn://10.0.0.236/trunk@69916 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:15:08 +00:00
erik%netscape.com
7e44f4ed8f backing out the previous change since it caused problems
git-svn-id: svn://10.0.0.236/trunk@69915 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:14:06 +00:00
erik%netscape.com
168e7fff24 backing out the changes since there were problems
git-svn-id: svn://10.0.0.236/trunk@69914 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:12:42 +00:00
wtc%netscape.com
d8f463065f Bugzilla bug #39350: checked in patch from beard@netscape.com. Just
malloc the thread object if GC_LEAK_DETECTOR is defined.  These thread
objects will be leaked.


git-svn-id: svn://10.0.0.236/trunk@69913 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:10:04 +00:00
cls%seawood.org
1dda5c3dbf Change the libIDL url. Bug 22200
git-svn-id: svn://10.0.0.236/trunk@69912 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:09:54 +00:00
mjudge%netscape.com
c0312d5689 not in build
git-svn-id: svn://10.0.0.236/trunk@69910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:03:38 +00:00
cata%netscape.com
c8030d8aea Fixing bug #33669.
git-svn-id: svn://10.0.0.236/trunk@69909 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 23:31:32 +00:00
rickg%netscape.com
bbc74dc45c more WIP for strictDTD to enable self-containment rules
git-svn-id: svn://10.0.0.236/trunk@69908 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 23:29:31 +00:00
wtc%netscape.com
ec5096502d Added missing parentheses that I missed in the previous checkin.
git-svn-id: svn://10.0.0.236/trunk@69907 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 23:28:59 +00:00
cata%netscape.com
e65269b002 Moving charsetTitles.properties from Res to Chrome.
git-svn-id: svn://10.0.0.236/trunk@69906 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 23:16:28 +00:00
dougt%netscape.com
265b2a9ead Adding PSM-Glue to mac build.
git-svn-id: svn://10.0.0.236/trunk@69905 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 23:13:07 +00:00
dougt%netscape.com
d4879ec92f Turning on psm-glue and protocol/client security code.
git-svn-id: svn://10.0.0.236/trunk@69904 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 23:10:04 +00:00
waterson%netscape.com
99866cd4f9 Flip NS_READABLE_CAST back the other way: more important to placate egcs that gcc-2.7.2.3
git-svn-id: svn://10.0.0.236/trunk@69903 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 23:06:25 +00:00
pinkerton%netscape.com
a822d142a4 make translucent dragging better for items inside child views not at (0,0), but still not totally right. needs more work.
git-svn-id: svn://10.0.0.236/trunk@69902 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 23:04:06 +00:00
mcgreer%netscape.com
7b494313d9 reordered libraries for builds
git-svn-id: svn://10.0.0.236/trunk@69901 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:59:12 +00:00
buster%netscape.com
f1259dab72 bug 35964, partial fix
r=rods


git-svn-id: svn://10.0.0.236/trunk@69900 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:51:42 +00:00
valeski%netscape.com
b5dfe8a1d8 fixing debugging text typo
git-svn-id: svn://10.0.0.236/trunk@69899 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:49:12 +00:00
jst%netscape.com
5510b53036 Pass the name without the prefix to the DOM script object factory...
git-svn-id: svn://10.0.0.236/trunk@69898 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:48:38 +00:00
mscott%netscape.com
e338ee6827 display message api synch.
git-svn-id: svn://10.0.0.236/trunk@69897 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:44:27 +00:00
evaughan%netscape.com
3ee152f7fe Now splitters can only be dragged with left mouse not both.
git-svn-id: svn://10.0.0.236/trunk@69896 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:43:47 +00:00
mscott%netscape.com
dbe5c37fcc Bug #5938 --> add get/set charset over-ride to I18N urls.
git-svn-id: svn://10.0.0.236/trunk@69895 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:40:47 +00:00
mscott%netscape.com
a2281fa990 Bug #5938 --> displayMessage needs to allow us to pass in a charset override.
Bug #5938 --> add get/set charset over-ride to I18N urls.


git-svn-id: svn://10.0.0.236/trunk@69894 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:40:01 +00:00
pavlov%netscape.com
8fda69c573 unix is widget code is now an xpcom component, don't register things here on unix
git-svn-id: svn://10.0.0.236/trunk@69893 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:33:04 +00:00
pavlov%netscape.com
e5ee75c14f make unix widget code a component as well
git-svn-id: svn://10.0.0.236/trunk@69892 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:32:01 +00:00
attinasi%netscape.com
32ce610d53 Added support for simple xlinks: we now treat simple xlinks like links for styling. b=38026 r=dbaron
git-svn-id: svn://10.0.0.236/trunk@69891 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:30:27 +00:00
rods%netscape.com
b1eb9c1882 focus now no longer shows when it has focus.
b=35307


git-svn-id: svn://10.0.0.236/trunk@69890 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:23:09 +00:00
valeski%netscape.com
a9e89b0bfc applying patch to ipv6'ify FTP from jgmyers@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69889 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:23:08 +00:00
rods%netscape.com
7038a1008c minor changes to the disabled look for selects
b=35307


git-svn-id: svn://10.0.0.236/trunk@69888 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:22:24 +00:00
donm%bluemartini.com
30fc3658c1 bug 39329 "Mail to everyone on this list" address list generated wrong when using despot
git-svn-id: svn://10.0.0.236/trunk@69887 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:15:07 +00:00
alecf%netscape.com
e34bf3411c implement "less" to remove search terms
git-svn-id: svn://10.0.0.236/trunk@69886 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:14:13 +00:00
rhp%netscape.com
3ba9f4e50d Fix for Tinderbox orange - undefined symbol
git-svn-id: svn://10.0.0.236/trunk@69885 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:07:39 +00:00
shaver%mozilla.org
8494d1230c more work on content-policy, r=brendan
git-svn-id: svn://10.0.0.236/trunk@69884 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:05:45 +00:00
pavlov%netscape.com
3b6e26c2c5 gfx on unix is now a component
git-svn-id: svn://10.0.0.236/trunk@69883 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:58:48 +00:00
pavlov%netscape.com
f018b53ec5 make gfx on unix be an xpcom component
git-svn-id: svn://10.0.0.236/trunk@69882 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:58:46 +00:00
alecf%netscape.com
f751dedb80 remove references to pref.css
git-svn-id: svn://10.0.0.236/trunk@69881 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:53:15 +00:00
rpallath%eng.sun.com
820786505d Changed some filenames to set it size to 31 ( MacOS restriction)
AlteredMakefiles
Changed Test File List
changed test cases to reflect status as described in bug 39050


git-svn-id: svn://10.0.0.236/trunk@69880 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:49:21 +00:00
rogerl%netscape.com
da7f347f3e Bug #39034. Fixed stupid logic that broke \n, sorry.
git-svn-id: svn://10.0.0.236/trunk@69879 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:48:00 +00:00
akkana%netscape.com
7ead992016 6276: Add menu item to rewrap part of a mail message.
git-svn-id: svn://10.0.0.236/trunk@69878 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:45:43 +00:00
sspitzer%netscape.com
5ba1af9ea4 comment out some dumps, printfs.
get unsubscribe working for news.
get ready to fix the problem of selecting a non-subscribable server and hitting subscribe.


git-svn-id: svn://10.0.0.236/trunk@69877 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:44:34 +00:00
rhp%netscape.com
949daa8801 Fixing a warning
git-svn-id: svn://10.0.0.236/trunk@69876 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:42:53 +00:00
rods%netscape.com
1a8cfae4f9 more fixes for getting the path work started
git-svn-id: svn://10.0.0.236/trunk@69875 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:38:47 +00:00
ducarroz%netscape.com
4964c796e0 Fix for bug 39225. Correct syntax error
git-svn-id: svn://10.0.0.236/trunk@69873 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:33:36 +00:00
sgehani%netscape.com
b5a2e336c6 Make loadResources() work again. [b=37837]
git-svn-id: svn://10.0.0.236/trunk@69872 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:29:33 +00:00
ducarroz%netscape.com
53b53d0035 Fix for bug 39225. Correct syntax error
git-svn-id: svn://10.0.0.236/trunk@69871 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:27:41 +00:00
jbetak%netscape.com
ce2aa59add 27646 Need to "inherit" charset info when opening a new browser window,
addressing some issues reported by ftang, recreating missing appCore in
mailnews context


git-svn-id: svn://10.0.0.236/trunk@69870 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:26:56 +00:00
pavlov%netscape.com
bd9659e6fa remove some unused member variables
git-svn-id: svn://10.0.0.236/trunk@69869 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:18:57 +00:00
blizzard%redhat.com
7ca34c259e Fixes for bug #28003 and bug #28023 from Marko Macek <Marko.Macek@gmx.net> with some touchups from me. If we are scrolling a full page, invalidate the entire screen space immediately instead of scrolling. It's faster and looks better. Make sure to unset the background color after creating windows since gtk hardcodes BlackPixel for the background color when creating windows. r=blizzard,Marko.Macek@gmx.net
git-svn-id: svn://10.0.0.236/trunk@69868 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:16:44 +00:00
ruslan%netscape.com
6096b97c7c Fix 38853
git-svn-id: svn://10.0.0.236/trunk@69867 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:13:27 +00:00
pavlov%netscape.com
802d3bcc43 we no longer need to set the background of the widget from nslookandfeel
git-svn-id: svn://10.0.0.236/trunk@69866 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:13:20 +00:00
jdunn%netscape.com
5d510be538 adding XPCOM libs to LDOPTS since there are dependencies and AIX needs
to resolve all at link time


git-svn-id: svn://10.0.0.236/trunk@69865 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:13:05 +00:00
rhp%netscape.com
b02e342087 Enabling the AB Sync Build on Win32 and Unix - Bug #33110
git-svn-id: svn://10.0.0.236/trunk@69864 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:12:51 +00:00
harishd%netscape.com
0389aba1fa Fix for
38601 - Calling DidBuildModel(), through nsParser::Terminate(),
        for documents stopped abruptly ( stopped before a complete load ).
Fixed a few warnings.
r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@69863 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:08:57 +00:00
blizzard%redhat.com
7223f6a8e3 turn on image blocking feature for the mozilla builds. bug #35981
git-svn-id: svn://10.0.0.236/trunk@69862 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:07:34 +00:00
dougt%netscape.com
a1417052ec Adding nsString and friends so that people can link against us without XPCOM until runtime.
git-svn-id: svn://10.0.0.236/trunk@69861 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 21:00:52 +00:00
roeber%netscape.com
ae3abb04a3 Store object contents in network byte order, for database portability
git-svn-id: svn://10.0.0.236/trunk@69860 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:59:11 +00:00
roeber%netscape.com
ad97131579 Use the public (cap-NSS) mutex calls, not the private ones
git-svn-id: svn://10.0.0.236/trunk@69859 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:58:19 +00:00
121 changed files with 8032 additions and 17654 deletions

View File

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

Binary file not shown.

Binary file not shown.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -17,7 +17,7 @@
# Rights Reserved.
#
# Contributor(s):
#
#
DEPTH = ../../..
topsrcdir = @top_srcdir@
@@ -26,7 +26,7 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = protocol client
DIRS = content locale
include $(topsrcdir)/config/rules.mk

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -22,6 +22,6 @@
DEPTH=..\..\..
include <$(DEPTH)/config/config.mak>
DIRS = client protocol
DIRS = content locale
include <$(DEPTH)\config\rules.mak>

View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

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

File diff suppressed because it is too large Load Diff

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,74 +0,0 @@
#! gmake
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#######################################################################
# (1) Include initial platform-independent assignments (MANDATORY). #
#######################################################################
include manifest.mn
#######################################################################
# (2) Include "global" configuration information. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/config.mk
#######################################################################
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/rules.mk
#######################################################################
# (6) Execute "component" rules. (OPTIONAL) #
#######################################################################
#######################################################################
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################

View File

@@ -1,3 +0,0 @@
cmtclist.h
cmtcmn.h
cmtjs.h

View File

@@ -1,74 +0,0 @@
#! gmake
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#######################################################################
# (1) Include initial platform-independent assignments (MANDATORY). #
#######################################################################
include manifest.mn
#######################################################################
# (2) Include "global" configuration information. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/config.mk
#######################################################################
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
include config.mk
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/rules.mk
#######################################################################
# (6) Execute "component" rules. (OPTIONAL) #
#######################################################################
#######################################################################
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################

View File

@@ -1,70 +0,0 @@
#! gmake
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
DEPTH = ../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = cmt
EXPORTS = \
cmtcmn.h \
cmtjs.h \
cmtclist.h \
$(NULL)
MODULE = security
CSRCS = cmtinit.c \
cmtssl.c \
cmtutils.c \
cmtcert.c \
cmthash.c \
cmtpkcs7.c \
cmtres.c \
cmtjs.c \
cmtevent.c \
cmtpasswd.c \
cmtadvisor.c \
cmtrng.c \
cmtsdr.c \
$(NULL)
EXTRA_DSO_LDOPTS += -L$(DIST)/bin -lprotocol
include $(topsrcdir)/config/rules.mk

View File

@@ -1,99 +0,0 @@
/*
* 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 Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#include "cmtcmn.h"
#include "cmtutils.h"
#include "messages.h"
#ifdef XP_MAC
#include "cmtmac.h"
#endif
CMTStatus CMT_SecurityAdvisor(PCMT_CONTROL control, CMTSecurityAdvisorData* data, CMUint32 *resID)
{
CMTItem message = {0, NULL, 0};
SecurityAdvisorRequest request;
SingleNumMessage reply;
if (!control) {
return CMTFailure;
}
if (!data) {
return CMTFailure;
}
request.infoContext = data->infoContext;
request.resID = data->resID;
request.hostname = data->hostname;
request.senderAddr = data->senderAddr;
request.encryptedP7CInfo = data->encryptedP7CInfo;
request.signedP7CInfo = data->signedP7CInfo;
request.decodeError = data->decodeError;
request.verifyError = data->verifyError;
request.encryptthis = data->encryptthis;
request.signthis = data->signthis;
request.numRecipients = data->numRecipients;
request.recipients = data->recipients;
message.type = SSM_REQUEST_MESSAGE | SSM_SECURITY_ADVISOR;
if (CMT_EncodeMessage(SecurityAdvisorRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Send the message and get the response */
if (CMT_SendMessage(control, &message) != CMTSuccess) {
goto loser;
}
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_SECURITY_ADVISOR)) {
goto loser;
}
/* Decode the message */
if (CMT_DecodeMessage(SingleNumMessageTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
*resID = reply.value;
return CMTSuccess;
loser:
if (message.data) {
free(message.data);
}
return CMTFailure;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,111 +0,0 @@
/*
* 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 Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#ifndef cmtclist_h___
#define cmtclist_h___
typedef struct CMTCListStr CMTCList;
/*
** Circular linked list
*/
struct CMTCListStr {
CMTCList *next;
CMTCList *prev;
};
/*
** Insert element "_e" into the list, before "_l".
*/
#define CMT_INSERT_BEFORE(_e,_l) \
(_e)->next = (_l); \
(_e)->prev = (_l)->prev; \
(_l)->prev->next = (_e); \
(_l)->prev = (_e); \
/*
** Insert element "_e" into the list, after "_l".
*/
#define CMT_INSERT_AFTER(_e,_l) \
(_e)->next = (_l)->next; \
(_e)->prev = (_l); \
(_l)->next->prev = (_e); \
(_l)->next = (_e); \
/*
** Append an element "_e" to the end of the list "_l"
*/
#define CMT_APPEND_LINK(_e,_l) CMT_INSERT_BEFORE(_e,_l)
/*
** Insert an element "_e" at the head of the list "_l"
*/
#define CMT_INSERT_LINK(_e,_l) CMT_INSERT_AFTER(_e,_l)
/* Return the head/tail of the list */
#define CMT_LIST_HEAD(_l) (_l)->next
#define CMT_LIST_TAIL(_l) (_l)->prev
/*
** Remove the element "_e" from it's circular list.
*/
#define CMT_REMOVE_LINK(_e) \
(_e)->prev->next = (_e)->next; \
(_e)->next->prev = (_e)->prev; \
/*
** Remove the element "_e" from it's circular list. Also initializes the
** linkage.
*/
#define CMT_REMOVE_AND_INIT_LINK(_e) \
(_e)->prev->next = (_e)->next; \
(_e)->next->prev = (_e)->prev; \
(_e)->next = (_e); \
(_e)->prev = (_e); \
/*
** Return non-zero if the given circular list "_l" is empty, zero if the
** circular list is not empty
*/
#define CMT_CLIST_IS_EMPTY(_l) \
((_l)->next == (_l))
/*
** Initialize a circular list
*/
#define CMT_INIT_CLIST(_l) \
(_l)->next = (_l); \
(_l)->prev = (_l); \
#define CMT_INIT_STATIC_CLIST(_l) \
{(_l), (_l)}
#endif /* cmtclist_h___ */

File diff suppressed because it is too large Load Diff

View File

@@ -1,480 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#include "cmtcmn.h"
#include "cmtutils.h"
#include "messages.h"
#include <string.h>
#ifdef XP_UNIX
#include <sys/time.h>
#endif
/* Typedefs */
typedef void (*taskcompleted_handler_fn)(CMUint32 resourceID, CMUint32 numReqProcessed, CMUint32 resultCode, void* data);
CMTStatus CMT_SetUIHandlerCallback(PCMT_CONTROL control,
uiHandlerCallback_fn f, void *data)
{
return CMT_RegisterEventHandler(control, SSM_UI_EVENT, 0,
(void_fun)f, data);
}
void CMT_SetFilePathPromptCallback(PCMT_CONTROL control,
filePathPromptCallback_fn f, void* arg)
{
control->userFuncs.promptFilePath = f;
control->userFuncs.filePromptArg = arg;
}
void CMT_SetPromptCallback(PCMT_CONTROL control,
promptCallback_fn f, void *arg)
{
control->userFuncs.promptCallback = f;
control->userFuncs.promptArg = arg;
}
void CMT_SetSavePrefsCallback(PCMT_CONTROL control, savePrefsCallback_fn f)
{
control->userFuncs.savePrefs = f;
}
CMTStatus CMT_RegisterEventHandler(PCMT_CONTROL control, CMUint32 type,
CMUint32 resourceID, void_fun handler,
void* data)
{
PCMT_EVENT ptr;
/* This is the first connection */
if (control->cmtEventHandlers == NULL) {
control->cmtEventHandlers = ptr =
(PCMT_EVENT)calloc(sizeof(CMT_EVENT), 1);
if (!ptr) {
goto loser;
}
} else {
/* Look for another event handler of the same type. Make sure the
event handler with a rsrcid of 0 is farther down the list so
that it doesn't get chosen when there's an event handler for
a specific rsrcid.
*/
for (ptr=control->cmtEventHandlers; ptr != NULL; ptr = ptr->next) {
if (ptr->type == type && resourceID != 0) {
/* So we've got an event handler that wants to over-ride
an existing event handler. We'll put it before the one
that's already here.
*/
if (ptr->previous == NULL) {
/* We're going to insert at the front of the list*/
control->cmtEventHandlers = ptr->previous =
(PCMT_EVENT)calloc(sizeof(CMT_EVENT), 1);
if (ptr->previous == NULL) {
goto loser;
}
ptr->previous->next = ptr;
ptr = control->cmtEventHandlers;
} else {
/* We want to insert in the middle of the list */
PCMT_EVENT tmpEvent;
tmpEvent = (PCMT_EVENT)calloc(sizeof(CMT_EVENT), 1);
if (tmpEvent == NULL) {
goto loser;
}
tmpEvent->previous = ptr->previous;
ptr->previous->next = tmpEvent;
tmpEvent->next = ptr;
ptr->previous = tmpEvent;
ptr = tmpEvent;
}
break;
}
if (ptr->next == NULL) break;
}
if (ptr == NULL) {
goto loser;
}
if (ptr->next == NULL) {
/* We're adding the event handler at the end of the list. */
ptr->next = (PCMT_EVENT)calloc(sizeof(CMT_EVENT), 1);
if (!ptr->next) {
goto loser;
}
/* Fix up the pointers */
ptr->next->previous = ptr;
ptr = ptr->next;
}
}
/* Fill in the data */
ptr->type = type;
ptr->resourceID = resourceID;
ptr->handler = handler;
ptr->data = data;
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus CMT_UnregisterEventHandler(PCMT_CONTROL control, CMUint32 type,
CMUint32 resourceID)
{
PCMT_EVENT ptr, pptr = NULL;
for (ptr = control->cmtEventHandlers; ptr != NULL;
pptr = ptr, ptr = ptr->next) {
if ((ptr->type == type) && (ptr->resourceID == resourceID)) {
if (pptr == NULL) {
/* node is at head */
control->cmtEventHandlers = ptr->next;
if (control->cmtEventHandlers != NULL) {
control->cmtEventHandlers->previous = NULL;
}
free(ptr);
return CMTSuccess;
}
/* node is elsewhere */
pptr->next = ptr->next;
if (ptr->next != NULL) {
ptr->next->previous = pptr;
}
free(ptr);
return CMTSuccess;
}
}
return CMTFailure;
}
PCMT_EVENT CMT_GetEventHandler(PCMT_CONTROL control, CMUint32 type,
CMUint32 resourceID)
{
PCMT_EVENT ptr;
for (ptr = control->cmtEventHandlers; ptr != NULL; ptr = ptr->next) {
if ((ptr->type == type) && ((ptr->resourceID == resourceID) ||
!ptr->resourceID)) {
return ptr;
}
}
return NULL;
}
PCMT_EVENT CMT_GetFirstEventHandler(PCMT_CONTROL control, CMUint32 type,
CMUint32 resourceID)
{
PCMT_EVENT ptr;
for (ptr = control->cmtEventHandlers; ptr != NULL; ptr = ptr->next) {
if ((ptr->type == type) && ((ptr->resourceID == resourceID) ||
!ptr->resourceID)) {
return ptr;
}
}
return NULL;
}
PCMT_EVENT CMT_GetNextEventHandler(PCMT_CONTROL control, PCMT_EVENT e)
{
PCMT_EVENT ptr;
for (ptr = control->cmtEventHandlers; ptr != NULL || ptr == e;
ptr = ptr->next) {
}
for (; ptr != NULL; ptr = ptr->next) {
if ((ptr->type == e->type) && ((ptr->resourceID == e->resourceID) ||
!ptr->resourceID)) {
return ptr;
}
}
return NULL;
}
void CMT_ProcessEvent(PCMT_CONTROL cm_control)
{
CMTSocket sock;
CMTItem eventData={ 0, NULL, 0 };
/* Get the control socket */
sock = cm_control->sock;
/* Acquire a lock on the control connection */
CMT_LOCK(cm_control->mutex);
/* Do another select here to be sure
that the socket is readable */
if (cm_control->sockFuncs.select(&sock, 1, 1) != sock) {
/* There's no event. */
goto done;
}
/* Read the event */
if (CMT_ReceiveMessage(cm_control, &eventData) == CMTFailure) {
goto done;
}
CMT_UNLOCK(cm_control->mutex);
/* Dispatch the event */
CMT_DispatchEvent(cm_control, &eventData);
return;
done:
/* Release the lock on the control connection */
CMT_UNLOCK(cm_control->mutex);
}
void CMT_EventLoop(PCMT_CONTROL cm_control)
{
CMTSocket sock;
/* Get the control socket */
sock = cm_control->sock;
CMT_ReferenceControlConnection(cm_control);
/* Select on the control socket to see if it's readable */
while(cm_control->sockFuncs.select(&sock, 1, 0)) {
CMT_ProcessEvent(cm_control);
}
CMT_CloseControlConnection(cm_control);
return;
}
void
CMT_PromptUser(PCMT_CONTROL cm_control, CMTItem *eventData)
{
char *promptReply = NULL;
CMTItem response={ 0, NULL, 0 };
PromptRequest request;
PromptReply reply;
void * clientContext;
/* Decode the message */
if (CMT_DecodeMessage(PromptRequestTemplate, &request, eventData) != CMTSuccess) {
goto loser;
}
/* Copy the client context to a pointer */
clientContext = CMT_CopyItemToPtr(request.clientContext);
if (cm_control->userFuncs.promptCallback == NULL) {
goto loser;
}
promptReply =
cm_control->userFuncs.promptCallback(cm_control->userFuncs.promptArg,
request.prompt, clientContext, 1);
response.type = SSM_EVENT_MESSAGE | SSM_PROMPT_EVENT;
if (!promptReply) {
/* the user canceled the prompt or other errors occurred */
reply.cancel = CM_TRUE;
}
else {
/* note that this includes an empty string (zero length) password */
reply.cancel = CM_FALSE;
}
reply.resID = request.resID;
reply.promptReply = promptReply;
/* Encode the message */
if (CMT_EncodeMessage(PromptReplyTemplate, &response, &reply) != CMTSuccess) {
goto loser;
}
CMT_TransmitMessage(cm_control, &response);
loser:
if (promptReply != NULL) {
cm_control->userFuncs.userFree(promptReply);
}
return;
}
void CMT_GetFilePath(PCMT_CONTROL cm_control, CMTItem * eventData)
{
char *fileName=NULL;
CMTItem response = { 0, NULL, 0 };
FilePathRequest request;
FilePathReply reply;
/* Decode the request */
if (CMT_DecodeMessage(FilePathRequestTemplate, &request, eventData) != CMTSuccess) {
goto loser;
}
if (cm_control->userFuncs.promptFilePath == NULL) {
goto loser;
}
fileName =
cm_control->userFuncs.promptFilePath(cm_control->userFuncs.filePromptArg,
request.prompt, request.fileRegEx,
request.getExistingFile);
response.type = SSM_EVENT_MESSAGE | SSM_FILE_PATH_EVENT;
reply.resID = request.resID;
reply.filePath = fileName;
/* Encode the reply */
if (CMT_EncodeMessage(FilePathReplyTemplate, &response, &reply) != CMTSuccess) {
goto loser;
}
CMT_TransmitMessage(cm_control, &response);
cm_control->userFuncs.userFree(fileName);
loser:
return;
}
void CMT_SavePrefs(PCMT_CONTROL cm_control, CMTItem* eventData)
{
SetPrefListMessage request;
int i;
/* decode the request */
if (CMT_DecodeMessage(SetPrefListMessageTemplate, &request, eventData) !=
CMTSuccess) {
return;
}
if (cm_control->userFuncs.savePrefs == NULL) {
/* callback was not registered: bail */
return;
}
cm_control->userFuncs.savePrefs(request.length,
(CMTSetPrefElement*)request.list);
for (i = 0; i < request.length; i++) {
if (request.list[i].key != NULL) {
free(request.list[i].key);
}
if (request.list[i].value != NULL) {
free(request.list[i].value);
}
}
return;
}
void CMT_DispatchEvent(PCMT_CONTROL cm_control, CMTItem * eventData)
{
CMUint32 eventType;
CMTItem msgCopy;
/* Init the msgCopy */
msgCopy.data = 0;
/* Get the event type */
if ((eventData->type & SSM_CATEGORY_MASK) != SSM_EVENT_MESSAGE) {
/* Somehow there was a message on the socket that was not
* an event message. Dropping it on the floor.
*/
goto loser;
}
eventType = (eventData->type & SSM_TYPE_MASK);
/* We must now dispatch the event based on it's type */
switch (eventType) {
case SSM_UI_EVENT:
{
PCMT_EVENT p;
UIEvent event;
void * clientContext = NULL;
/* Copy the message to allow a second try with the old format */
msgCopy.len = eventData->len;
msgCopy.data = calloc(msgCopy.len, 1);
if (msgCopy.data) {
memcpy(msgCopy.data, eventData->data, eventData->len);
}
/* Get the event data first */
if (CMT_DecodeMessage(UIEventTemplate, &event, eventData) != CMTSuccess) {
/* Attempt to decode using the old format. Modal is True */
if (!msgCopy.data ||
CMT_DecodeMessage(OldUIEventTemplate, &event, &msgCopy) != CMTSuccess) {
goto loser;
}
/* Set default modal value */
event.isModal = CM_TRUE;
}
/* Convert the client context to a pointer */
clientContext = CMT_CopyItemToPtr(event.clientContext);
/* Call any handlers for this event */
p = CMT_GetEventHandler(cm_control, eventType, event.resourceID);
if (!p) {
goto loser;
}
(*(uiHandlerCallback_fn)(p->handler))(event.resourceID,
clientContext, event.width,
event.height, event.isModal, event.url,
p->data);
break;
}
case SSM_TASK_COMPLETED_EVENT:
{
PCMT_EVENT p;
TaskCompletedEvent event;
/* Get the event data */
if (CMT_DecodeMessage(TaskCompletedEventTemplate, &event, eventData) != CMTSuccess) {
goto loser;
}
/* Call handler for this event */
p = CMT_GetEventHandler(cm_control, eventType, event.resourceID);
if (!p) {
goto loser;
}
(*(taskcompleted_handler_fn)(p->handler))(event.resourceID,
event.numTasks,
event.result, p->data);
break;
}
case SSM_AUTH_EVENT:
CMT_ServicePasswordRequest(cm_control, eventData);
break;
case SSM_FILE_PATH_EVENT:
CMT_GetFilePath(cm_control, eventData);
break;
case SSM_PROMPT_EVENT:
CMT_PromptUser(cm_control, eventData);
break;
case SSM_SAVE_PREF_EVENT:
CMT_SavePrefs(cm_control, eventData);
break;
default:
break;
}
loser:
free(eventData->data);
free(msgCopy.data);
return;
}

View File

@@ -1,216 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#ifdef XP_UNIX
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#else
#ifdef XP_MAC
#include "macsocket.h"
#include "string.h"
#else
#include <windows.h>
#include <winsock.h>
#endif
#endif
#include <errno.h>
#include "cmtcmn.h"
#include "cmtutils.h"
#include "messages.h"
#include "rsrcids.h"
CMTStatus CMT_HashCreate(PCMT_CONTROL control, CMUint32 algID,
CMUint32 * connID)
{
CMTItem message;
SingleNumMessage request;
DataConnectionReply reply;
/* Check passed in parameters */
if (!control) {
goto loser;
}
/* Set up the request */
request.value = algID;
/* Encode the request */
if (CMT_EncodeMessage(SingleNumMessageTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_DATA_CONNECTION | SSM_HASH_STREAM;
/* Send the message and get the response */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the response */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_DATA_CONNECTION | SSM_HASH_STREAM)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(DataConnectionReplyTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
/* Success */
if (reply.result == 0) {
CMTSocket sock;
sock = control->sockFuncs.socket(0);
if(sock == NULL) {
goto loser;
}
if (control->sockFuncs.connect(sock, reply.port, NULL) != CMTSuccess) {
goto loser;
}
/* Send the hello message */
control->sockFuncs.send(sock, control->nonce.data, control->nonce.len);
/* Save connection info */
if (CMT_AddDataConnection(control, sock, reply.connID)
!= CMTSuccess) {
goto loser;
}
/* Set the connection ID */
*connID = reply.connID;
return CMTSuccess;
}
loser:
*connID = 0;
return CMTFailure;
}
CMTStatus CMT_HASH_Destroy(PCMT_CONTROL control, CMUint32 connectionID)
{
if (!control) {
goto loser;
}
/* Get the cotext implementation data */
if (CMT_CloseDataConnection(control, connectionID) == CMTFailure) {
goto loser;
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus CMT_HASH_Begin(PCMT_CONTROL control, CMUint32 connectionID)
{
return CMTSuccess;
}
CMTStatus CMT_HASH_Update(PCMT_CONTROL control, CMUint32 connectionID, const unsigned char * buf, CMUint32 len)
{
CMTSocket sock;
CMUint32 sent;
/* Do some parameter checking */
if (!control || !buf) {
goto loser;
}
/* Get the data socket */
if (CMT_GetDataSocket(control, connectionID, &sock) == CMTFailure) {
goto loser;
}
/* Write the data to the socket */
sent = CMT_WriteThisMany(control, sock, (void*)buf, len);
if (sent != len) {
goto loser;
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus CMT_HASH_End(PCMT_CONTROL control, CMUint32 connectionID,
unsigned char * result, CMUint32 * resultlen,
CMUint32 maxLen)
{
CMTItem hash = { 0, NULL, 0 };
/* Do some parameter checking */
if (!control || !result || !resultlen) {
goto loser;
}
/* Close the connection */
if (CMT_CloseDataConnection(control, connectionID) == CMTFailure) {
goto loser;
}
/* Get the context info */
if (CMT_GetStringAttribute(control, connectionID, SSM_FID_HASHCONN_RESULT,
&hash) == CMTFailure) {
goto loser;
}
if (!hash.data) {
goto loser;
}
*resultlen = hash.len;
if (hash.len > maxLen) {
memcpy(result, hash.data, maxLen);
} else {
memcpy(result, hash.data, hash.len);
}
if (hash.data) {
free(hash.data);
}
return CMTSuccess;
loser:
if (hash.data) {
free(hash.data);
}
return CMTFailure;
}

View File

@@ -1,56 +0,0 @@
/*
* 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 Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#ifndef __CMTIMPL_H_
#define __CMTIMPL_H_
typedef unsigned long CMT_HANDLE;
struct _CMTControl {
CMT_HANDLE channelID;
int socketID;
CMTStatus (* cmtEventCallback)(struct _CMTControl * control,
CMTItem * event, void * arg);
void * cmtEventCallbackArg;
struct _CMTData * cmtDataConnection;
} _CMTControl;
struct _CMTData {
CMT_HANDLE channelID;
int socketID;
struct _CMTData * next;
struct _CMTData * previous;
};
#endif /*__CMTIMPL_H_*/

View File

@@ -1,484 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#ifdef XP_UNIX
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/stat.h>
#include <netinet/tcp.h>
#else
#ifdef XP_MAC
#include <Events.h> // for WaitNextEvent
#else /* Windows */
#include <windows.h>
#include <winsock.h>
#include <direct.h>
#include <sys/stat.h>
#endif
#endif
#include "messages.h"
#include "cmtcmn.h"
#include "cmtutils.h"
#include <string.h>
#ifdef XP_UNIX
#define DIRECTORY_SEPARATOR '/'
#elif defined WIN32
#define DIRECTORY_SEPARATOR '\\'
#elif defined XP_MAC
#define DIRECTORY_SEPARATOR ':'
#endif
/* Local defines */
#define CARTMAN_PORT 11111
#define MAX_PATH_LEN 256
/* write to the cmnav.log */
#if 0
#define LOG(x); do { FILE *f; f=fopen("cmnav.log","a+"); if (f) { \
fprintf(f, x); fclose(f); } } while(0);
#define LOG_S(x); do { FILE *f; f=fopen("cmnav.log","a+"); if (f) { \
fprintf(f, "%s", x); fclose(f); } } while(0);
#define ASSERT(x); if (!(x)) { LOG("ASSERT:"); LOG(#x); LOG("\n"); exit(-1); }
#else
#define LOG(x); ;
#define LOG_S(x); ;
#define ASSERT(x); ;
#endif
static char*
getCurrWorkDir(char *buf, int maxLen)
{
#if defined WIN32
return _getcwd(buf, maxLen);
#elif defined XP_UNIX
return getcwd(buf, maxLen);
#else
return NULL;
#endif
}
static void
setWorkingDir(char *path)
{
#if defined WIN32
_chdir(path);
#elif defined XP_UNIX
chdir(path);
#else
return;
#endif
}
static CMTStatus
launch_psm(char *executable)
{
char command[MAX_PATH_LEN];
#ifdef WIN32
STARTUPINFO sui;
PROCESS_INFORMATION pi;
UNALIGNED long *posfhnd;
int i;
char *posfile;
sprintf(command,"%s > psmlog", executable);
ZeroMemory( &sui, sizeof(sui) );
sui.cb = sizeof(sui);
sui.cbReserved2 = (WORD)(sizeof( int ) + (3 * (sizeof( char ) +
sizeof( long ))));
sui.lpReserved2 = calloc( sui.cbReserved2, 1 );
*((UNALIGNED int *)(sui.lpReserved2)) = 3;
posfile = (char *)(sui.lpReserved2 + sizeof( int ));
posfhnd = (UNALIGNED long *)(sui.lpReserved2 + sizeof( int ) +
(3 * sizeof( char )));
for ( i = 0, posfile = (char *)(sui.lpReserved2 + sizeof( int )),
posfhnd = (UNALIGNED long *)(sui.lpReserved2 + sizeof( int ) + (3 * sizeof( char ))) ;
i < 3 ; i++, posfile++, posfhnd++ ) {
*posfile = 0;
*posfhnd = (long)INVALID_HANDLE_VALUE;
}
/* Now, fire up PSM */
if (!CreateProcess(NULL, command, NULL, NULL, TRUE, DETACHED_PROCESS,
NULL, NULL, &sui, &pi)) {
goto loser;
}
return CMTSuccess;
loser:
return CMTFailure;
#elif defined XP_UNIX
sprintf(command,"./%s &", executable);
if (system(command) == -1) {
goto loser;
}
return CMTSuccess;
loser:
return CMTFailure;
#else
return CMTFailure;
#endif
}
PCMT_CONTROL CMT_EstablishControlConnection(char *inPath,
CMT_SocketFuncs *sockFuncs,
CMT_MUTEX *mutex)
{
PCMT_CONTROL control;
char *executable;
char *newWorkingDir;
char oldWorkingDir[MAX_PATH_LEN];
int i;
char *path = NULL;
size_t stringLen;
/* On the Mac, we do special magic in the Seamonkey PSM component, so
if PSM isn't launched by the time we reach this point, we're not doing well. */
#ifndef XP_MAC
struct stat stbuf;
/*
* Create our own copy of path.
* I'd like to do a straight strdup here, but that caused problems
* for https.
*/
stringLen = strlen(inPath);
path = (char*) malloc(stringLen+1);
memcpy(path, inPath, stringLen);
path[stringLen] = '\0';
control = CMT_ControlConnect(mutex, sockFuncs);
if (control != NULL) {
return control;
}
/*
* We have to try to launch it now, so it better be a valid
* path.
*/
if (stat(path, &stbuf) == -1) {
goto loser;
}
/*
* Now we have to parse the path and launch the psm server.
*/
executable = strrchr(path, DIRECTORY_SEPARATOR);
if (executable != NULL) {
*executable = '\0';
executable ++;
newWorkingDir = path;
} else {
executable = path;
newWorkingDir = NULL;
}
if (getCurrWorkDir(oldWorkingDir, MAX_PATH_LEN) == NULL) {
goto loser;
}
setWorkingDir(newWorkingDir);
if (launch_psm(executable) != CMTSuccess) {
goto loser;
}
setWorkingDir(oldWorkingDir);
#endif
/*
* Now try to connect to the psm server. We will try to connect
* a maximum of 30 times and then give up.
*/
#ifdef WIN32
for (i=0; i<30; i++) {
Sleep(1000);
control = CMT_ControlConnect(mutex, sockFuncs);
if (control != NULL) {
break;
}
}
#elif defined XP_UNIX
i = 0;
while (i<1000) {
i += sleep(10);
control = CMT_ControlConnect(mutex, sockFuncs);
if (control != NULL) {
break;
}
}
#elif defined(XP_MAC)
for (i=0; i<30; i++)
{
EventRecord theEvent;
WaitNextEvent(0, &theEvent, 30, NULL);
control = CMT_ControlConnect(mutex, sockFuncs);
if (control != NULL)
break;
}
#else
/*
* Figure out how to sleep for a while first
*/
for (i=0; i<30; i++) {
control = CMT_ControlConnect(mutex, sockFuncs);
if (control!= NULL) {
break;
}
}
#endif
if (control == NULL) {
goto loser;
}
if (path) {
free (path);
}
return control;
loser:
if (control != NULL) {
CMT_CloseControlConnection(control);
}
if (path) {
free(path);
}
return NULL;
}
PCMT_CONTROL CMT_ControlConnect(CMT_MUTEX *mutex, CMT_SocketFuncs *sockFuncs)
{
PCMT_CONTROL control = NULL;
CMTSocket sock=NULL;
#ifdef XP_UNIX
int unixSock = 1;
char path[20];
#else
int unixSock = 0;
char *path=NULL;
#endif
if (sockFuncs == NULL) {
return NULL;
}
#ifdef XP_UNIX
sprintf(path, "/tmp/.nsmc-%d", (int)geteuid());
#endif
sock = sockFuncs->socket(unixSock);
if (sock == NULL) {
LOG("Could not create a socket to connect to Control Connection.\n");
goto loser;
}
/* Connect to the psm process */
if (sockFuncs->connect(sock, CARTMAN_PORT, path)) {
LOG("Could not connect to Cartman\n");
goto loser;
}
#ifdef XP_UNIX
if (sockFuncs->verify(sock) != CMTSuccess) {
goto loser;
}
#endif
LOG("Connected to Cartman\n");
/* fill in the CMTControl struct */
control = (PCMT_CONTROL)calloc(sizeof(CMT_CONTROL), 1);
if (control == NULL ) {
goto loser;
}
control->sock = sock;
if (mutex != NULL) {
control->mutex = (CMT_MUTEX*)calloc(sizeof(CMT_MUTEX),1);
if (control->mutex == NULL) {
goto loser;
}
*control->mutex = *mutex;
}
memcpy(&control->sockFuncs, sockFuncs, sizeof(CMT_SocketFuncs));
control->refCount = 1;
goto done;
loser:
if (control != NULL) {
free(control);
}
if (sock != NULL) {
sockFuncs->close(sock);
}
control = NULL;
done:
return control;
}
CMTStatus CMT_CloseControlConnection(PCMT_CONTROL control)
{
/* XXX Don't know what to do here yet */
if (control != NULL) {
CMInt32 refCount;
CMT_LOCK(control->mutex);
control->refCount--;
refCount = control->refCount;
CMT_UNLOCK(control->mutex);
if (refCount <= 0) {
if (control->mutex != NULL) {
free (control->mutex);
}
control->sockFuncs.close(control->sock);
free(control);
}
}
return CMTSuccess;
}
CMTStatus CMT_Hello(PCMT_CONTROL control, CMUint32 version, char* profile,
char* profileDir)
{
CMTItem message;
PCMT_EVENT eventHandler;
CMBool doesUI;
HelloRequest request;
HelloReply reply;
/* Check the passed parameters */
if (!control) {
return CMTFailure;
}
if (!profile) {
return CMTFailure;
}
if (!profileDir) {
return CMTFailure;
}
/* Create the hello message */
eventHandler = CMT_GetEventHandler(control, SSM_UI_EVENT, 0);
doesUI = (eventHandler == NULL) ? CM_FALSE : CM_TRUE;
/* Setup the request struct */
request.version = version;
request.policy = 0; /* no more policy */
request.doesUI = doesUI;
request.profile = profile;
request.profileDir = profileDir;
message.type = SSM_REQUEST_MESSAGE | SSM_HELLO_MESSAGE;
if (CMT_EncodeMessage(HelloRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Send the message and get the response */
if (CMT_SendMessage(control, &message) != CMTSuccess) {
goto loser;
}
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_HELLO_MESSAGE)) {
goto loser;
}
/* Decode the message */
if (CMT_DecodeMessage(HelloReplyTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
/* Successful response */
if (reply.result == 0) {
/* Save the nonce value */
control->sessionID = reply.sessionID;
control->protocolVersion = reply.version;
control->port = reply.httpPort;
control->nonce = reply.nonce;
control->policy = reply.policy;
control->serverStringVersion = reply.stringVersion;
/* XXX Free the messages */
return CMTSuccess;
}
loser:
/* XXX Free the messages */
return CMTFailure;
}
CMTStatus CMT_PassAllPrefs(PCMT_CONTROL control, int num,
CMTSetPrefElement* list)
{
SetPrefListMessage request;
SingleNumMessage reply;
CMTItem message;
if ((control == NULL) || (list == NULL)) {
return CMTFailure;
}
/* pack the request */
request.length = num;
request.list = (SetPrefElement*)list;
if (CMT_EncodeMessage(SetPrefListMessageTemplate, &message, &request) !=
CMTSuccess) {
goto loser;
}
message.type = SSM_REQUEST_MESSAGE | SSM_PREF_ACTION;
/* send the message */
if (CMT_SendMessage(control, &message) != CMTSuccess) {
goto loser;
}
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_PREF_ACTION)) {
goto loser;
}
if (CMT_DecodeMessage(SingleNumMessageTemplate, &reply, &message) !=
CMTSuccess) {
goto loser;
}
/* don't really need to check the return value */
return CMTSuccess;
loser:
return CMTFailure;
}
char* CMT_GetServerStringVersion(PCMT_CONTROL control)
{
if (control == NULL) {
return NULL;
}
return control->serverStringVersion;
}

View File

@@ -1,556 +0,0 @@
/*
* 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 Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#include "cmtutils.h"
#include "cmtjs.h"
#include "messages.h"
CMTStatus
CMT_GenerateKeyPair(PCMT_CONTROL control, CMUint32 keyGenContext,
CMUint32 mechType, CMTItem *param, CMUint32 keySize,
CMUint32 *keyPairId)
{
CMTItem message;
CMTStatus rv;
KeyPairGenRequest request = {0, 0, 0, {0, NULL, 0}};
SingleNumMessage reply;
if (!control) {
return CMTFailure;
}
request.keyGenCtxtID = keyGenContext;
request.genMechanism = mechType;
if (param) {
request.params = *param;
}
request.keySize = keySize;
/* Encode the message */
if (CMT_EncodeMessage(KeyPairGenRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
message.type = SSM_REQUEST_MESSAGE | SSM_PKCS11_ACTION | SSM_CREATE_KEY_PAIR;
/* Send the message and get the response */
rv = CMT_SendMessage(control, &message);
if (rv != CMTSuccess) {
goto loser;
}
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_PKCS11_ACTION | SSM_CREATE_KEY_PAIR)) {
goto loser;
}
/* Decode the message */
if (CMT_DecodeMessage(SingleNumMessageTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
*keyPairId = reply.value;
return CMTSuccess;
loser:
*keyPairId = 0;
return CMTFailure;
}
CMTStatus
CMT_CreateNewCRMFRequest(PCMT_CONTROL control, CMUint32 keyPairID,
SSMKeyGenType keyGenType, CMUint32 *reqID)
{
CMTItem message;
CMTStatus rv;
SingleNumMessage request;
SingleNumMessage reply;
if (!control) {
return CMTFailure;
}
request.value = keyPairID;
if (CMT_EncodeMessage(SingleNumMessageTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
message.type = SSM_REQUEST_MESSAGE | SSM_CRMF_ACTION |
SSM_CREATE_CRMF_REQ;
rv = CMT_SendMessage(control, &message);
if (rv != CMTSuccess) {
goto loser;
}
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_CRMF_ACTION | SSM_CREATE_CRMF_REQ)) {
goto loser;
}
if (CMT_DecodeMessage(SingleNumMessageTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
*reqID = reply.value;
rv = CMT_SetNumericAttribute(control, *reqID, SSM_FID_CRMFREQ_KEY_TYPE,
keyGenType);
if (rv != CMTSuccess) {
goto loser;
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus
CMT_EncodeCRMFRequest(PCMT_CONTROL control, CMUint32 *crmfReqID,
CMUint32 numRequests, char ** der)
{
CMTItem message;
CMTStatus rv;
EncodeCRMFReqRequest request;
SingleItemMessage reply;
if (!control) {
return CMTFailure;
}
request.numRequests = numRequests;
request.reqIDs = (long *) crmfReqID;
/* Encode the request */
if (CMT_EncodeMessage(EncodeCRMFReqRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
message.type = SSM_REQUEST_MESSAGE | SSM_CRMF_ACTION | SSM_DER_ENCODE_REQ;
rv = CMT_SendMessage(control, &message);
if (rv != CMTSuccess) {
goto loser;
}
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_CRMF_ACTION | SSM_DER_ENCODE_REQ)) {
goto loser;
}
/* XXX Should this be a string? Decode the message */
if (CMT_DecodeMessage(SingleItemMessageTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
*der = (char *) reply.item.data;
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus
CMT_ProcessCMMFResponse(PCMT_CONTROL control, char *nickname,
char *certRepString, CMBool doBackup,
void *clientContext)
{
CMTItem message;
CMTStatus rv;
CMMFCertResponseRequest request;
if(!control) {
return CMTFailure;
}
request.nickname = nickname;
request.base64Der = certRepString;
request.doBackup = doBackup;
request.clientContext = CMT_CopyPtrToItem(clientContext);
/* Encode the request */
if (CMT_EncodeMessage(CMMFCertResponseRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
message.type = SSM_REQUEST_MESSAGE | SSM_CRMF_ACTION | SSM_PROCESS_CMMF_RESP;
rv = CMT_SendMessage(control, &message);
if (rv != CMTSuccess) {
goto loser;
}
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_CRMF_ACTION | SSM_PROCESS_CMMF_RESP)) {
goto loser;
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus
CMT_CreateResource(PCMT_CONTROL control, SSMResourceType resType,
CMTItem *params, CMUint32 *rsrcId, CMUint32 *errorCode)
{
CMTItem message;
CMTStatus rv;
CreateResourceRequest request = {0, {0, NULL, 0}};
CreateResourceReply reply;
request.type = resType;
if (params) {
request.params = *params;
}
/* Encode the request */
if (CMT_EncodeMessage(CreateResourceRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
message.type = SSM_REQUEST_MESSAGE | SSM_RESOURCE_ACTION | SSM_CREATE_RESOURCE;
rv = CMT_SendMessage(control, &message);
if (rv != CMTSuccess) {
goto loser;
}
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_RESOURCE_ACTION | SSM_CREATE_RESOURCE)) {
goto loser;
}
/* Decode the message */
if (CMT_DecodeMessage(CreateResourceReplyTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
*rsrcId = reply.resID;
*errorCode = reply.result;
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus CMT_SignText(PCMT_CONTROL control, CMUint32 resID, char* stringToSign, char* hostName, char* caOption, CMInt32 numCAs, char** caNames)
{
CMTItem message;
SignTextRequest request;
/* So some basic parameter checking */
if (!control || !stringToSign) {
goto loser;
}
/* Set up the request */
request.resID = resID;
request.stringToSign = stringToSign;
request.hostName = hostName;
request.caOption = caOption;
request.numCAs = numCAs;
request.caNames = caNames;
/* Encode the message */
if (CMT_EncodeMessage(SignTextRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_FORMSIGN_ACTION | SSM_SIGN_TEXT;
/* Send the message and get the response */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_FORMSIGN_ACTION | SSM_SIGN_TEXT)) {
goto loser;
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus
CMT_ProcessChallengeResponse(PCMT_CONTROL control, char *challengeString,
char **responseString)
{
CMTItem message;
CMTStatus rv;
SingleStringMessage request;
SingleStringMessage reply;
/* Set the request */
request.string = challengeString;
/* Encode the request */
if (CMT_EncodeMessage(SingleStringMessageTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_CRMF_ACTION | SSM_CHALLENGE;
/* Send the message */
rv = CMT_SendMessage(control, &message);
if (rv != CMTSuccess) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_CRMF_ACTION | SSM_CHALLENGE)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(SingleStringMessageTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
*responseString = reply.string;
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus
CMT_FinishGeneratingKeys(PCMT_CONTROL control, CMUint32 keyGenContext)
{
CMTItem message;
CMTStatus rv;
SingleNumMessage request;
/* Set up the request */
request.value = keyGenContext;
/* Encode the request */
if (CMT_EncodeMessage(SingleNumMessageTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_PKCS11_ACTION | SSM_FINISH_KEY_GEN;
/* Send the message */
rv = CMT_SendMessage(control, &message);
if (rv != CMTSuccess) {
goto loser;
}
/* Validate the reply */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_PKCS11_ACTION | SSM_FINISH_KEY_GEN)) {
goto loser;
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus
CMT_GetLocalizedString(PCMT_CONTROL control,
SSMLocalizedString whichString,
char **localizedString)
{
CMTItem message;
CMTStatus rv;
SingleNumMessage request;
GetLocalizedTextReply reply;
/* Set up the request */
request.value = whichString;
/* Encode the request */
if (CMT_EncodeMessage(SingleNumMessageTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_LOCALIZED_TEXT;
/* Send the message */
rv = CMT_SendMessage(control, &message);
if (rv != CMTSuccess) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_LOCALIZED_TEXT)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(GetLocalizedTextReplyTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
if (reply.whichString != whichString) {
goto loser;
}
*localizedString = reply.localizedString;
return CMTSuccess;
loser:
*localizedString = NULL;
return rv;
}
CMTStatus
CMT_AddNewModule(PCMT_CONTROL control,
char *moduleName,
char *libraryPath,
unsigned long pubMechFlags,
unsigned long pubCipherFlags)
{
CMTItem message;
CMTStatus rv;
AddNewSecurityModuleRequest request;
SingleNumMessage reply;
/* Set up the request */
request.moduleName = moduleName;
request.libraryPath = libraryPath;
request.pubMechFlags = pubMechFlags;
request.pubCipherFlags = pubCipherFlags;
/* Encode the request */
if (CMT_EncodeMessage(AddNewSecurityModuleRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_PKCS11_ACTION | SSM_ADD_NEW_MODULE;
/* Send the message */
rv = CMT_SendMessage(control, &message);
if (rv != CMTSuccess) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_PKCS11_ACTION | SSM_ADD_NEW_MODULE)) {
goto loser;
}
/* Decode the response */
if (CMT_DecodeMessage(SingleNumMessageTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
return (CMTStatus) reply.value;
loser:
return CMTFailure;
}
CMTStatus
CMT_DeleteModule(PCMT_CONTROL control,
char *moduleName,
int *moduleType)
{
CMTItem message;
CMTStatus rv;
SingleStringMessage request;
SingleNumMessage reply;
/* Set up the request */
request.string = moduleName;
/* Encode the request */
if (CMT_EncodeMessage(SingleStringMessageTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_PKCS11_ACTION | SSM_DEL_MODULE;
/* Send the message */
rv = CMT_SendMessage(control, &message);
if (rv != CMTSuccess) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_PKCS11_ACTION | SSM_DEL_MODULE)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(SingleNumMessageTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
*moduleType = reply.value;
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus CMT_LogoutAllTokens(PCMT_CONTROL control)
{
CMTItem message;
CMTStatus rv;
message.type = SSM_REQUEST_MESSAGE | SSM_PKCS11_ACTION | SSM_LOGOUT_ALL;
message.data = NULL;
message.len = 0;
rv = CMT_SendMessage(control, &message);
if (rv != CMTSuccess) {
return rv;
}
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_PKCS11_ACTION |
SSM_LOGOUT_ALL)) {
return CMTFailure;
}
return CMTSuccess;
}
CMTStatus CMT_GetSSLCapabilities(PCMT_CONTROL control, CMInt32 *capabilites)
{
SingleNumMessage reply;
CMTItem message;
CMTStatus rv;
message.type = (SSM_REQUEST_MESSAGE | SSM_PKCS11_ACTION |
SSM_ENABLED_CIPHERS);
message.data = NULL;
message.len = 0;
rv = CMT_SendMessage(control, &message);
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_PKCS11_ACTION |
SSM_ENABLED_CIPHERS)) {
goto loser;
}
if (CMT_DecodeMessage(SingleNumMessageTemplate, &reply,
&message) != CMTSuccess) {
goto loser;
}
*capabilites = reply.value;
return CMTSuccess;
loser:
return CMTFailure;
}

View File

@@ -1,555 +0,0 @@
/*
* 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 Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#ifndef _CMTJS_H_
#define _CMTJS_H_
#include "cmtcmn.h"
#include "ssmdefs.h"
#include "rsrcids.h"
/*
* Define some constants.
*/
/*
* These defines are used in conjuction with the function
* CMT_AddNewModule.
*/
#define PUBLIC_MECH_RSA_FLAG 0x00000001ul
#define PUBLIC_MECH_DSA_FLAG 0x00000002ul
#define PUBLIC_MECH_RC2_FLAG 0x00000004ul
#define PUBLIC_MECH_RC4_FLAG 0x00000008ul
#define PUBLIC_MECH_DES_FLAG 0x00000010ul
#define PUBLIC_MECH_DH_FLAG 0x00000020ul
#define PUBLIC_MECH_FORTEZZA_FLAG 0x00000040ul
#define PUBLIC_MECH_RC5_FLAG 0x00000080ul
#define PUBLIC_MECH_SHA1_FLAG 0x00000100ul
#define PUBLIC_MECH_MD5_FLAG 0x00000200ul
#define PUBLIC_MECH_MD2_FLAG 0x00000400ul
#define PUBLIC_MECH_RANDOM_FLAG 0x08000000ul
#define PUBLIC_MECH_FRIENDLY_FLAG 0x10000000ul
#define PUBLIC_OWN_PW_DEFAULTS 0X20000000ul
#define PUBLIC_DISABLE_FLAG 0x40000000ul
/*
* This is the lone supported constant for the Cipher flag
* for CMT_AddNewModule
*/
#define PUBLIC_CIPHER_FORTEZZA_FLAG 0x00000001ul
CMT_BEGIN_EXTERN_C
/*
* FUNCTION: CMT_GenerateKeyPair
* -----------------------------
* INPUTS:
* control
* The Control Connection that has already established a connection
* with the psm server.
* keyGenContext
* The Resource ID of a key gen context to use for creating the
* key pair.
* mechType
* A PKCS11 mechanism used to generate the key pair. Valid values are:
* CKM_RSA_PKCS_KEY_PAIR_GEN 0x00000000
* CKM_DSA_KEY_PAIR_GEN 0x00000010
* The definition of these values can be found at
* http://www.rsa.com/rsalabs/pubs/pkcs11.html
* The psm module currently supports v2.01 of PKCS11
* params
* This parameter will be used to pass parameters to the Key Pair
* generation process. Currently this feature is not supported, so
* pass in NULL for this parameter.
* keySize
* The size (in bits) of the key to generate.
* keyPairId
* A pointer to pre-allocated memory where the function can place
* the value of the resource ID of the key pair that gets created.
*
* NOTES:
* This function will send a message to the psm server requesting that
* a public/private key pair be generated. The key gen context will queue
* the request. You can send as many key gen requests as you want with a
* given key gen context. After sending all the key gen requests, the user
* must call CMT_FinishGeneratingKeys so that the key gen context actually
* generates the keys.
*
* RETURN:
* A return value of CMTSuccess indicates the request for key generation
* was queued successfully and the corresponding resource ID can be found
* at *keyPairId. Any other return value indicates an error and the value
* at *keyPairId should be ignored.
*/
CMTStatus
CMT_GenerateKeyPair(PCMT_CONTROL control, CMUint32 keyGenContext,
CMUint32 mechType, CMTItem *params, CMUint32 keySize,
CMUint32 *keyPairId);
/*
* FUNCTION: CMT_FinishGeneratingKeys
* ----------------------------------
* INPUTS
* control
* The Control Connection that has already established a connection
* with the psm server.
* keyGenContext
* The resource ID of the key gen context which should finish
* generating its key pairs.
* NOTES
* This function will send a message to the psm server notifying the key
* gen context with the resource ID of keyGenContext to finish generating
* all of the key gen requests it has queued up. After each key gen has
* finished, the psm server will send a SSM_TASK_COMPLETED_EVENT. So in order
* to detect when all of the key gens are done, the user should register
* an event handler. See comments for CMT_RegisterEventHandler for information
* on how to successfully register event handler callbacks. You must register
* the event handler with keyGenContext as the target resource ID for this
* to work correctly.
*
* RETURN:
* A return value of CMTSuccess indicates the key gen context has started to
* generate the key pairs in its queue. Any other return value indicates an
* error and the key pairs will not be generated.
*/
CMTStatus
CMT_FinishGeneratingKeys(PCMT_CONTROL control, CMUint32 keyGenContext);
/*
* FUNCTION: CMT_CreateNewCRMFRequest
* ----------------------------------
* INPUTS:
* control
* The Control Connection that has already established a connection
* with the psm server.
* keyPairID
* The resource ID of the key pair that should be associated with
* the CRMF request created. At the time this function is called,
* key pair should have already been created.
* keyGenType
* An enumeration that explains how the key pair will be used.
* Look at the definition of SSMKeyGenType in ssmdefs.h for valid
* values and their affects on the request.
* reqID
* A pointer to a pre-allocatd chunk of memory where the library
* can place the resource ID of the new CRMF request.
* NOTES:
* This function sends a message to the psm server requesting that a new
* CRMF resource object be created. Each CRMF request must be associated with
* a public/private key pair, that is why the keyPairID parameter exists.
* The keyGenType parameter is used to initialize the request, eg set the
* correct keyUsage extension.
*
* Before encoding a CRMF request, the user will want to set the appropriate
* attributes to build up the request. The supported attributes are:
*
* Attribute Enumeration Attribute Type What value means
* --------------------- -------------- ----------------
* SSM_FID_CRMFREQ_REGTOKEN String The value to encode as
* the registration token
* value for the request.
*
* SSM_FID_CRMFREQ_AUTHENTICATOR String The value to encode as
* authenticator control
* in the request.
*
* SSM_FID_DN String The RFC1485 formatted
* DN to include in the
* CRMF request.
*
* For information on how to properly set the attribute of a resource, refer
* to the comments for the functions CMT_SetNumericAttribute and
* CMT_SetStringAttribute.
*
* RETURN:
* A return value of CMTSuccess indicates a new CRMF resource was created by
* the psm server and has the resource ID placed at *reqID. Any other return
* value indicates an error and the value at *reqID should be ignored.
*/
CMTStatus
CMT_CreateNewCRMFRequest(PCMT_CONTROL control, CMUint32 keyPairID,
SSMKeyGenType keyGenType, CMUint32 *reqID);
/*
* FUNCTION: CMT_EncodeCRMFRequest
* ------------------------------
* INPUTS:
* control
* The Control Connection that has already established a connection
* with the psm server.
* crmfReqID
* An array of resource ID's for CRMF objects to be encoded.
* numRequests
* The length of the array crmfReqID that is passed in.
* der
* A pointer to a pre-allocated pointer for a char* where the library
* can place the final DER-encoding of the requests.
* NOTES
* This function will send a message to the psm server requesting that
* a number of CRMF requests be encoded into their appropriate DER
* representation. The DER that is sent back will be of the type
* CertReqMessages as define in the internet draft for CRMF. To look at the
* draft, visit the following URL:
* http://search.ietf.org/internet-drafts/internet-draft-ietf-pkix-crmf-01.txt
*
* RETURN:
* A return value of CMTSuccess indicates psm successfully encoded the requests
* and placed the base64 DER encoded request at *der. Any other return value
* indicates an error and the value at *der should be ignored.
*/
CMTStatus
CMT_EncodeCRMFRequest(PCMT_CONTROL control, CMUint32 *crmfReqID,
CMUint32 numRequests, char ** der);
/*
* FUNCTION: CMT_ProcessCMMFResponse
* ---------------------------------
* INPUTS:
* control
* The Control Connection that has already established a connection
* with the psm server.
* nickname
* The nickname that should be associated with the certificate
* contained in the CMMF Response.
* certRepString
* This is the base 64 encoded CertRepContent that issues a certificate.
* The psm server will decode the base 64 data and then parse the
* CertRepContent.
* doBackup
* A boolean value indicating whether or not psm should initiate the
* process of backing up the newly issued certificate into a PKCS-12
* file.
* clientContext
* Client supplied data pointer that is returned to the client during
* a UI event.
* NOTES:
* This function takes a CertRepContent as defined in the CMMF internet draft
* (http://search.ietf.org/internet-drafts/draft-ietf-pkix-cmmf-02.txt) and
* imports the certificate into the user's database. The certificate will have
* the string value of nickanme as it's nickname when added to the database
* unless another certificate with that same Distinguished Name (DN) already
* exists in the database, in which case the nickname of the certificate that
* already exists will be used. If the value passed in for doBackup is
* non-zero, then the psm server will initiate the process of backing up the
* certificate(s) that were just imported.
*
* RETURN:
* A return value of CMTSuccess indicates the certificate(s) were successfully
* added to the database. Any other return value means the certificate(s) could
* not be successfully added to the database.
*/
CMTStatus
CMT_ProcessCMMFResponse(PCMT_CONTROL control, char *nickname,
char *certRepString, CMBool doBackup,
void *clientContext);
/*
* FUNCTION: CMT_CreateResource
* ----------------------------
* INPUTS:
* control
* The Control Connection that has already established a connection
* with the psm server.
* resType
* The enumeration representing the resource type to create.
* params
* A resource dependent binary string that will be sent to the psm
* server. Each resource will expect a binary string it defines.
* rsrcId
* A pointer to a pre-allocated chunk of memory where the library
* can place the resource ID of the newly created resource.
* errorCode
* A pointer to a pre-allocated chunk of memory where the library
* can place the errorCode returned by the psm server after creating
* the resource.
* NOTES:
* This function sends a message to the psm server requesting that a new
* resource be created. The params parameter depends on the type of resource
* being created. Below is a table detailing the format of the params for
* a given resource type. Only the resource types listed below can be created
* by calling this function.
*
* Resource Type constant Value for params
* ------------------------------ ----------------
* SSM_RESTYPE_KEYGEN_CONTEXT NULL
* SSM_RESTYPE_SECADVISOR_CONTEXT NULL
* SSM_RESTYPE_SIGNTEXT NULL
*
* RETURN
* A return value of CMTSuccess means the psm server received the request and
* processed the create resource create. If the value at *errorCode is zero,
* then the value at *rsrcId is the resource ID of the newly created resource.
* Otherwise, creating the new resource failed and *errorCode contains the
* error code returned by the psm server. ???What are the return values and
* what do they mean. Any other return value indicates there was an error
* in the communication with the psm server and the values at *rsrcId and
* *errorCode should be ignored.
*/
CMTStatus
CMT_CreateResource(PCMT_CONTROL control, SSMResourceType resType,
CMTItem *params, CMUint32 *rsrcId, CMUint32 *errorCode);
/*
* FUNCTION: CMT_SignText
* ----------------------
* INPUTS:
* control
* The Control Connection that has already established a connection
* with the psm server.
* resID
* The resource ID of an SSMSignTextResource.
* stringToSign
* The string that the psm server should sign.
* hostName
* The host name of the site that is requesting a string to be
* signed. This is used for displaying the UI that tells the user
* a web site has requested the use sign some text.
* caOption
* If the value is "auto" then psm will select the certificate
* to use for signing automatically.
* If the value is "ask" then psm will display a list of
* certificates for signing.
* numCAs
* The number of CA names included in the array caNames passed in as
* the last parameter to this function.
* caNames
* An array of CA Names to use for filtering the user certs to use
* for signing the text.
* NOTES
* This function will sign the text passed via the parameter stringToSign.
* The function will also cause the psm server to send some UI notifying the
* user that a site has requested the user sign some text. The hostName
* parameter is used in the UI to inform the user which site is requesting
* the signed text. The caOption is used to determine if the psm server
* should automatically select which personal cert to use in signing the
* text. The caNames array is ussed to narrow down the field of personal
* certs to use when signing the text. In other words, only personal certs
* trusted by the CA's passed in will be used.
*
* RETURN
* If the function returns CMTSuccess, that indicates the psm server
* successfully signed the text. The signed text can be retrieved by
* calling CMT_GetStringResource and passing in SSM_FID_SIGNTEXT_RESULT
* as the field ID. Any other return value indicates an error meaning the
* string was not signed successfully.
*/
CMTStatus
CMT_SignText(PCMT_CONTROL control, CMUint32 resID, char* stringToSign,
char* hostName, char *caOption, CMInt32 numCAs, char** caNames);
/*
* FUNCTION: CMT_ProcessChallengeResponse
* --------------------------------------
* INPUTS:
* control
* The Control Connection that has already established a connection
* with the psm server.
* challengeString
* The base64 encoded Challenge string received as the
* Proof-Of-Possession Challenge in response to CRMF request that
* specified Challenge-Reponse as the method for Proof-Of-Possession.
* responseString
* A pointer to pre-allocated char* where the library can place a
* copy of the bas64 encoded response to the challenge presented.
* NOTES
* This function takes the a challenge--that is encrypted with the public key
* of a certificate we created--and decrypts it with the private key we
* generated. The format of the challenge is as follows:
*
* Challenge ::= SEQUENCE {
* owf AlgorithmIdentifier OPTIONAL,
* -- MUST be present in the first Challenge; MAY be omitted in any
* -- subsequent Challenge in POPODecKeyChallContent (if omitted,
* -- then the owf used in the immediately preceding Challenge is
* -- to be used).
* witness OCTET STRING,
* -- the result of applying the one-way function (owf) to a
* -- randomly-generated INTEGER, A. [Note that a different
* -- INTEGER MUST be used for each Challenge.]
* sender GeneralName,
* -- the name of the sender.
* key OCTET STRING,
* -- the public key used to encrypt the challenge. This will allow
* -- the client to find the appropriate key to do the decryption.
* challenge OCTET STRING
* -- the encryption (under the public key for which the cert.
* -- request is being made) of Rand, where Rand is specified as
* -- Rand ::= SEQUENCE {
* -- int INTEGER,
* -- - the randomly-generated INTEGER A (above)
* -- senderHash OCTET STRING
* -- - the result of applying the one-way function (owf) to
* -- - the sender's general name
* -- }
* -- the size of "int" must be small enough such that "Rand" can be
* -- contained within a single PKCS #1 encryption block.
* }
* This challenge is based on the Challenge initially defined in the CMMF
* internet draft, but differs in that this structure includes the sender
* as part of the challenge along with the public key and includes a has
* of the sender in the encrypted Rand structure. The reason for including
* the key is to facilitate looking up the key that should be used to
* decipher the challenge. Including the hash of the sender in the encrypted
* Rand structure makes the challenge smaller and allows it to fit in
* one RSA block.
*
* The response is of the type POPODecKeyRespContent as defined in the CMMF
* internet draft.
*
* RETURN
* A return value of CMTSuccess indicates psm successfully parsed and processed
* the challenge and created a response. The base64 encoded response to the
* challenge is placed at *responseString. Any other return value indicates
* an error and the value at *responseString should be ignored.
*/
CMTStatus
CMT_ProcessChallengeResponse(PCMT_CONTROL control, char *challengeString,
char **responseString);
/*
* FUNCTION: CMT_GetLocalizedString
* --------------------------------
* INPUTS:
* control
* The Control Connection that has already established a connection
* with the psm server.
* whichString
* The enumerated value corresponding to the localized string to
* retrieve from the psm server
* localizedString
* A pointer to a pre-allocated char* where the library can place
* copy of the localized string retrieved from the psm server.
* NOTES
* This function retrieves a localized string from the psm server. These
* strings are useful for strings that aren't localized in the client
* making use of the psm server, but need to be displayed by the user. Look
* in protocol.h for the enumerations of the localized strings that can
* be fetched from psm via this method.
*
* RETURN
* A return value of CMTSuccess indicates the localized string was retrieved
* successfully and the localized value is located at *localizedString. Any
* other return value indicates an error and the value at *localizedString
* should be ignored.
*/
CMTStatus
CMT_GetLocalizedString(PCMT_CONTROL control,
SSMLocalizedString whichString,
char **localizedString);
/*
* FUNCTION: CMT_DeleteModule
* --------------------------
* INPUTS:
* control
* The Control Connection that has already established a connection
* with the psm server.
* moduleName
* The name of the PKCS11 module to delete.
* moduleType
* A pointer to a pre-allocated integer where the library can place
* a value that tells what the type of module was deleted.
* NOTES
* This function will send a message to the psm server requesting the server
* delete a PKCS-11 module stored in psm's security module database. moduleName
* is the value passed in as moduleName when the module was added to the
* security module database of psm.
* The values that may be returned by psm for moduleType are:
*
* 0 The module was an external module developped by a third party
* that was added to the psm security module.
*
* 1 The module deleted was the internal PKCS-11 module that comes
* built in with the psm server.
*
* 2 The module that was deleted was the FIPS internal module.
*
* RETURN
* A return value of CMTSuccess indicates the security module was successfully
* delete from the psm security module database and the value at *moduleType
* will tell what type of module was deleted.
* Any other return value indicates an error and the value at *moduleType
* should be ignored.
*/
CMTStatus
CMT_DeleteModule(PCMT_CONTROL control,
char *moduleName,
int *moduleType);
/*
* FUNCTION: CMT_AddNewModule
* --------------------------
* INPUTS:
* control
* The Control Connection that has already established a connection
* with the psm server.
* moduleName
* The name to be associated with the module once it is added to
* the psm security module database.
* libraryPath
* The path to the library to be loaded. The library should be
* loadable at run-time.
* pubMechFlags
* A bit vector indicating all cryptographic mechanisms that should
* be turned on by default. This module will become the default
* handler for the mechanisms that are set by this bit vector.
* pubCipherFlags
* A bit vector indicating all SSL or S/MIME cipher functions
* supported by the module. Most modules will pas in 0x0 for this
* parameter.
* NOTES:
* This function sends a message to the psm server and requests the .so
* file on UNIX or .dll file on Windows be loaded as a PKCS11 module and
* be stored in the psm security module database. The module will be stored
* with the name moduleName that is passed in and will always expect the
* library to live at the path passed in via the parameter libraryPath.
* The pubMechFlags tell the psm server how this module should be used.
* Valid values are the #define constants defined at the beginning of
* this file.
*
* RETURN
* A return value of CMTSuccess indicates the module was successfully loaded
* and placed in the security module database of psm. Any other return value
* indicates an error and means the module was not loaded successfully and
* not stored in the psm server's security module database.
*/
CMTStatus
CMT_AddNewModule(PCMT_CONTROL control,
char *moduleName,
char *libraryPath,
unsigned long pubMechFlags,
unsigned long pubCipherFlags);
CMT_END_EXTERN_C
#endif /*_CMTJS_H_*/

View File

@@ -1,75 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#include "cmtmac.h"
#include "macsocket.h"
#include "stdlib.h"
#ifndef XP_MAC
#error Link with the builtin strdup() on your platform.
#endif
static void
my_strcpy(char *dest, const char *source)
{
char *i = dest;
const char *j = source;
while(*j)
*i++ = *j++;
*i = '\0';
}
static int
my_strlen(const char *str)
{
const char *c = str;
int i = 0;
while(*c++ != '\0')
i++;
return i;
}
char * strdup(const char *oldstr)
{
/* used to keep the mac client library from referring to strdup elsewhere */
char *newstr;
newstr = (char *) malloc(my_strlen(oldstr)+1);
if (newstr)
my_strcpy(newstr, oldstr);
return newstr;
}

View File

@@ -1,40 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#ifndef __CMTMAC_H__
#define __CMTMAC_H__
char * strdup(const char *str);
#endif

View File

@@ -1,119 +0,0 @@
/*
* 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 Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
/************************************************************************
* Code to handle password requests from the the PSM module.
*
************************************************************************
*/
#include "cmtcmn.h"
#include "cmtutils.h"
#include "messages.h"
void CMT_SetAppFreeCallback(PCMT_CONTROL control,
applicationFreeCallback_fn f)
{
control->userFuncs.userFree = f;
}
void CMT_ServicePasswordRequest(PCMT_CONTROL cm_control, CMTItem * requestData)
{
CMTItem response = {0, NULL, 0};
PasswordRequest request;
PasswordReply reply;
void * clientContext;
/********************************************
* What we trying to do here:
* 1) Throw up a dialog box and request a password.
* 2) Create a message and send it to the PSM module.
********************************************
*/
/* Decode the request */
if (CMT_DecodeMessage(PasswordRequestTemplate, &request, requestData) != CMTSuccess) {
goto loser;
}
/* Copy the client context to a pointer */
clientContext = CMT_CopyItemToPtr(request.clientContext);
if (cm_control->userFuncs.promptCallback == NULL) {
goto loser;
}
reply.passwd =
cm_control->userFuncs.promptCallback(cm_control->userFuncs.promptArg,
request.prompt, clientContext, 1);
reply.tokenID = request.tokenKey;
if (!reply.passwd) {
/* the user cancelled the prompt or other errors occurred */
reply.result = -1;
}
else {
/* note that this includes an empty string (zero length password) */
reply.result = 0;
}
/* Encode the reply */
if (CMT_EncodeMessage(PasswordReplyTemplate, &response, &reply) != CMTSuccess) {
goto loser;
}
/* Set the message response type */
response.type = SSM_EVENT_MESSAGE | SSM_AUTH_EVENT;
CMT_TransmitMessage(cm_control, &response);
goto done;
loser:
/* something has gone wrong */
done:
/*clean up anyway */
/* We can't just free up memory allocated by the host
application because the versions of free may not match up.
When you run the plug-in with an optimized older browser,
you'll see tons of Asserts (why they still have asserts in an
optimized build is a different question, but without them
I wouldn't have figured out this problem) about a pointer not
being a valid heap pointer and eventually crash. This was
the offending free line.
So we need to call a function within the browser that
calls the free linked in with it. js_free is
such a function. But this is extremely ugly.
*/
if (reply.passwd)
cm_control->userFuncs.userFree(reply.passwd);
if (request.prompt)
free(request.prompt);
return;
}

View File

@@ -1,636 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#ifdef XP_UNIX
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/time.h>
#else
#ifdef XP_MAC
#include "macsocket.h"
#else /* Windows */
#include <windows.h>
#include <winsock.h>
#endif
#endif
#include <errno.h>
#include "cmtcmn.h"
#include "cmtutils.h"
#include "messages.h"
#include "rsrcids.h"
typedef struct _CMTP7Private {
CMTPrivate priv;
CMTP7ContentCallback cb;
void *cb_arg;
} CMTP7Private;
CMTStatus CMT_PKCS7DecoderStart(PCMT_CONTROL control, void* clientContext, CMUint32 * connectionID, CMInt32 * result,
CMTP7ContentCallback cb, void *cb_arg)
{
CMTItem message;
CMTStatus rv;
CMTP7Private *priv=NULL;
SingleItemMessage request;
DataConnectionReply reply;
/* Check passed in parameters */
if (!control) {
goto loser;
}
request.item = CMT_CopyPtrToItem(clientContext);
/* Encode message */
if (CMT_EncodeMessage(SingleItemMessageTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_DATA_CONNECTION | SSM_PKCS7DECODE_STREAM;
/* Send the message. */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_DATA_CONNECTION | SSM_PKCS7DECODE_STREAM)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(DataConnectionReplyTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
/* Success */
if (reply.result == 0) {
CMTSocket sock;
priv = (CMTP7Private *)malloc(sizeof(CMTP7Private));
if (priv == NULL)
goto loser;
priv->priv.dest = (CMTReclaimFunc) free;
priv->cb = cb;
priv->cb_arg = cb_arg;
sock = control->sockFuncs.socket(0);
if (sock == NULL) {
goto loser;
}
if (control->sockFuncs.connect(sock, (short)reply.port,
NULL) != CMTSuccess) {
goto loser;
}
if (control->sockFuncs.send(sock, control->nonce.data,
control->nonce.len) != control->nonce.len){
goto loser;
}
/* Save connection info */
if (CMT_AddDataConnection(control, sock, reply.connID)
!= CMTSuccess) {
goto loser;
}
*connectionID = reply.connID;
rv = CMT_SetPrivate(control, reply.connID, &priv->priv);
if (rv != CMTSuccess)
goto loser;
return CMTSuccess;
}
loser:
if (priv) {
free(priv);
}
*result = reply.result;
return CMTFailure;
}
CMTStatus CMT_PKCS7DecoderUpdate(PCMT_CONTROL control, CMUint32 connectionID, const char * buf, CMUint32 len)
{
CMUint32 sent;
CMTP7Private *priv;
unsigned long nbytes;
char read_buf[128];
CMTSocket sock, ctrlsock, selSock, sockArr[2];
/* Do some parameter checking */
if (!control || !buf) {
goto loser;
}
/* Get the data socket */
if (CMT_GetDataSocket(control, connectionID, &sock) == CMTFailure) {
goto loser;
}
priv = (CMTP7Private *)CMT_GetPrivate(control, connectionID);
if (priv == NULL)
goto loser;
/* Write the data to the socket */
sent = CMT_WriteThisMany(control, sock, (void*)buf, len);
if (sent != len) {
goto loser;
}
ctrlsock = control->sock;
sockArr[0] = ctrlsock;
sockArr[1] = sock;
while ((selSock = control->sockFuncs.select(sockArr,2,1)))
{
if (selSock == ctrlsock) {
CMT_ProcessEvent(control);
} else {
nbytes = control->sockFuncs.recv(sock, read_buf, sizeof(read_buf));
if (nbytes == -1) {
goto loser;
}
if (nbytes == 0) {
break;
}
priv->cb(priv->cb_arg, read_buf, nbytes);
}
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus CMT_PKCS7DecoderFinish(PCMT_CONTROL control, CMUint32 connectionID,
CMUint32 * resourceID)
{
CMTP7Private *priv;
long nbytes;
char buf[128];
CMTSocket sock, ctrlsock, selSock, sockArr[2];
/* Do some parameter checking */
if (!control) {
goto loser;
}
priv = (CMTP7Private *)CMT_GetPrivate(control, connectionID);
if (priv == NULL)
goto loser;
if (CMT_GetDataSocket(control, connectionID, &sock) == CMTFailure) {
goto loser;
}
ctrlsock = control->sock;
/* drain socket before we close it */
control->sockFuncs.shutdown(sock);
sockArr[0] = sock;
sockArr[1] = ctrlsock;
/* Let's see if doing a poll first gets rid of a weird bug where we
* lock up the client.
*/
#ifndef XP_MAC
if (control->sockFuncs.select(sockArr,2,1) != NULL)
#endif
{
while (1) {
selSock = control->sockFuncs.select(sockArr,2,0);
if (selSock == ctrlsock) {
CMT_ProcessEvent(control);
} else if (selSock == sock) {
nbytes = control->sockFuncs.recv(sock, buf, sizeof(buf));
if (nbytes < 0) {
goto loser;
} else if (nbytes == 0) {
break;
}
priv->cb(priv->cb_arg, buf, nbytes);
}
}
}
if (CMT_CloseDataConnection(control, connectionID) == CMTFailure) {
goto loser;
}
/* Get the PKCS7 content info */
if (CMT_GetRIDAttribute(control, connectionID, SSM_FID_P7CONN_CONTENT_INFO,
resourceID) == CMTFailure) {
goto loser;
}
return CMTSuccess;
loser:
if (control) {
CMT_CloseDataConnection(control, connectionID);
}
return CMTFailure;
}
CMTStatus CMT_PKCS7DestroyContentInfo(PCMT_CONTROL control, CMUint32 resourceID)
{
if (!control) {
goto loser;
}
/* Delete the resource */
if (CMT_DestroyResource(control, resourceID, SSM_FID_P7CONN_CONTENT_INFO) == CMTFailure) {
goto loser;
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus CMT_PKCS7VerifyDetachedSignature(PCMT_CONTROL control, CMUint32 resourceID, CMUint32 certUsage, CMUint32 hashAlgID, CMUint32 keepCerts, CMTItem* digest, CMInt32 * result)
{
CMTItem message;
VerifyDetachedSigRequest request;
SingleNumMessage reply;
/* Do some parameter checking */
if (!control || !digest || !result) {
goto loser;
}
/* Set the request */
request.pkcs7ContentID = resourceID;
request.certUsage = certUsage;
request.hashAlgID = hashAlgID;
request.keepCert = (CMBool) keepCerts;
request.hash = *digest;
/* Encode the request */
if (CMT_EncodeMessage(VerifyDetachedSigRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_OBJECT_SIGNING | SSM_VERIFY_DETACHED_SIG;
/* Send the message */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_OBJECT_SIGNING |SSM_VERIFY_DETACHED_SIG)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(SingleNumMessageTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
*result = reply.value;
return CMTSuccess;
loser:
*result = reply.value;
return CMTFailure;
}
CMTStatus CMT_PKCS7VerifySignature(PCMT_CONTROL control, CMUint32 pubKeyAlgID,
CMTItem *pubKeyParams, CMTItem *signerPubKey,
CMTItem *computedHash, CMTItem *signature,
CMInt32 *result)
{
return CMTFailure;
}
CMTStatus CMT_CreateSigned(PCMT_CONTROL control, CMUint32 scertRID,
CMUint32 ecertRID, CMUint32 dig_alg,
CMTItem *digest, CMUint32 *ciRID, CMInt32 *errCode)
{
CMTItem message;
CreateSignedRequest request;
CreateContentInfoReply reply;
/* Do some parameter checking */
if (!control || !scertRID || !ecertRID || !digest || !ciRID) {
goto loser;
}
/* Set the request */
request.scertRID = scertRID;
request.ecertRID = ecertRID;
request.dig_alg = dig_alg;
request.digest = *digest;
/* Encode the request */
if (CMT_EncodeMessage(CreateSignedRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_OBJECT_SIGNING | SSM_CREATE_SIGNED;
/* Send the message */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_OBJECT_SIGNING | SSM_CREATE_SIGNED)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(CreateContentInfoReplyTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
*ciRID = reply.ciRID;
if (reply.result == 0) {
return CMTSuccess;
}
loser:
if (CMT_DecodeMessage(CreateContentInfoReplyTemplate, &reply, &message) == CMTSuccess) {
*errCode = reply.errorCode;
} else {
*errCode = 0;
}
return CMTFailure;
}
CMTStatus CMT_CreateEncrypted(PCMT_CONTROL control, CMUint32 scertRID,
CMUint32 *rcertRIDs, CMUint32 *ciRID)
{
CMTItem message;
CMInt32 nrcerts;
CreateEncryptedRequest request;
CreateContentInfoReply reply;
/* Do some parameter checking */
if (!control || !scertRID || !rcertRIDs || !ciRID) {
goto loser;
}
/* Calculate the number of certs */
for (nrcerts =0; rcertRIDs[nrcerts] != 0; nrcerts++) {
/* Nothing */
;
}
/* Set up the request */
request.scertRID = scertRID;
request.nrcerts = nrcerts;
request.rcertRIDs = (long *) rcertRIDs;
/* Encode the request */
if (CMT_EncodeMessage(CreateEncryptedRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_OBJECT_SIGNING | SSM_CREATE_ENCRYPTED;
/* Send the message */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the message response type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_OBJECT_SIGNING | SSM_CREATE_ENCRYPTED)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(CreateContentInfoReplyTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
*ciRID = reply.ciRID;
if (reply.result == 0) {
return CMTSuccess;
}
loser:
return CMTFailure;
}
CMTStatus CMT_PKCS7EncoderStart(PCMT_CONTROL control, CMUint32 ciRID,
CMUint32 *connectionID, CMTP7ContentCallback cb,
void *cb_arg)
{
CMTItem message;
CMTStatus rv;
CMTP7Private *priv;
PKCS7DataConnectionRequest request;
DataConnectionReply reply;
/* Check passed in parameters */
if (!control || !ciRID) {
goto loser;
}
/* Set up the request */
request.resID = ciRID;
request.clientContext.len = 0;
request.clientContext.data = NULL;
/* Encode the request */
if (CMT_EncodeMessage(PKCS7DataConnectionRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_DATA_CONNECTION | SSM_PKCS7ENCODE_STREAM;
/* Send the message */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_DATA_CONNECTION | SSM_PKCS7ENCODE_STREAM)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(DataConnectionReplyTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
/* Success */
if (reply.result == 0) {
CMTSocket sock;
priv = (CMTP7Private *)malloc(sizeof(CMTP7Private));
if (priv == NULL)
goto loser;
priv->priv.dest = (CMTReclaimFunc) free;
priv->cb = cb;
priv->cb_arg = cb_arg;
sock = control->sockFuncs.socket(0);
if (sock == NULL) {
goto loser;
}
if (control->sockFuncs.connect(sock, (short)reply.port,
NULL) != CMTSuccess) {
goto loser;
}
if (control->sockFuncs.send(sock, control->nonce.data,
control->nonce.len) != control->nonce.len) {
goto loser;
}
/* Save connection info */
if (CMT_AddDataConnection(control, sock, reply.connID)
!= CMTSuccess) {
goto loser;
}
*connectionID = reply.connID;
rv = CMT_SetPrivate(control, reply.connID, &priv->priv);
if (rv != CMTSuccess)
goto loser;
return CMTSuccess;
}
loser:
return CMTFailure;
}
CMTStatus CMT_PKCS7EncoderUpdate(PCMT_CONTROL control, CMUint32 connectionID,
const char *buf, CMUint32 len)
{
CMUint32 sent;
CMTP7Private *priv;
unsigned long nbytes;
char read_buf[128];
CMTSocket sock, ctrlsock, sockArr[2], selSock;
/* Do some parameter checking */
if (!control || !connectionID || !buf) {
goto loser;
}
/* Get the data socket */
if (CMT_GetDataSocket(control, connectionID, &sock) == CMTFailure) {
goto loser;
}
priv = (CMTP7Private *)CMT_GetPrivate(control, connectionID);
if (priv == NULL)
goto loser;
/* Write the data to the socket */
sent = CMT_WriteThisMany(control, sock, (void*)buf, len);
if (sent != len) {
goto loser;
}
ctrlsock = control->sock;
sockArr[0] = ctrlsock;
sockArr[1] = sock;
while ((selSock = control->sockFuncs.select(sockArr, 2, 1)) != NULL)
{
if (selSock == ctrlsock) {
CMT_ProcessEvent(control);
} else {
nbytes = control->sockFuncs.recv(sock, read_buf, sizeof(read_buf));
if (nbytes == -1) {
goto loser;
} else if (nbytes == 0) {
break;
} else {
priv->cb(priv->cb_arg, read_buf, nbytes);
}
}
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus CMT_PKCS7EncoderFinish(PCMT_CONTROL control, CMUint32 connectionID)
{
CMTP7Private *priv;
unsigned long nbytes;
char buf[128];
CMTSocket sock, ctrlsock, sockArr[2], selSock;
/* Do some parameter checking */
if (!control) {
goto loser;
}
priv = (CMTP7Private *)CMT_GetPrivate(control, connectionID);
if (priv == NULL)
goto loser;
if (CMT_GetDataSocket(control, connectionID, &sock) == CMTFailure) {
goto loser;
}
ctrlsock = control->sock;
sockArr[0] = ctrlsock;
sockArr[1] = sock;
control->sockFuncs.shutdown(sock);
while (1) {
selSock = control->sockFuncs.select(sockArr, 2, 0);
if (selSock == ctrlsock) {
CMT_ProcessEvent(control);
} else if (selSock == sock) {
nbytes = control->sockFuncs.recv(sock, buf, sizeof(buf));
if (nbytes < 0) {
goto loser;
} else if (nbytes == 0) {
break;
} else {
priv->cb(priv->cb_arg, buf, nbytes);
}
}
}
if (CMT_CloseDataConnection(control, connectionID) == CMTFailure) {
goto loser;
}
return CMTSuccess;
loser:
if (control) {
CMT_CloseDataConnection(control, connectionID);
}
return CMTFailure;
}

View File

@@ -1,479 +0,0 @@
/* -*- mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#ifdef XP_UNIX
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#else
#ifdef XP_MAC
#include "macsocket.h"
#else
#include <windows.h>
#include <winsock.h>
#endif
#endif
#include <errno.h>
#include "cmtcmn.h"
#include "cmtutils.h"
#include "messages.h"
#include <string.h>
CMTStatus CMT_GetNumericAttribute(PCMT_CONTROL control, CMUint32 resourceID, CMUint32 fieldID, CMInt32 *value)
{
CMTItem message;
GetAttribRequest request;
GetAttribReply reply;
/* Do some parameter checking */
if (!control) {
goto loser;
}
/* Set up the request */
request.resID = resourceID;
request.fieldID = fieldID;
/* Encode the request */
if (CMT_EncodeMessage(GetAttribRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_RESOURCE_ACTION | SSM_GET_ATTRIBUTE | SSM_NUMERIC_ATTRIBUTE;
/* Send the mesage and get the response */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_RESOURCE_ACTION | SSM_GET_ATTRIBUTE | SSM_NUMERIC_ATTRIBUTE)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(GetAttribReplyTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
*value = reply.value.u.numeric;
/* Success */
if (reply.result == 0) {
return CMTSuccess;
}
loser:
return CMTFailure;
}
CMTStatus CMT_SetNumericAttribute(PCMT_CONTROL control, CMUint32 resourceID,
CMUint32 fieldID, CMInt32 value)
{
CMTItem message;
SetAttribRequest request;
if (!control) {
goto loser;
}
/* Set the request */
request.resID = resourceID;
request.fieldID = fieldID;
request.value.type = SSM_NUMERIC_ATTRIBUTE;
request.value.u.numeric = value;
/* Encode the message */
if (CMT_EncodeMessage(SetAttribRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_RESOURCE_ACTION |
SSM_SET_ATTRIBUTE | SSM_NUMERIC_ATTRIBUTE;
if (CMT_SendMessage(control, &message) != CMTSuccess) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_RESOURCE_ACTION |
SSM_SET_ATTRIBUTE | SSM_NUMERIC_ATTRIBUTE)) {
goto loser;
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus
CMT_PadStringValue(CMTItem *dest, CMTItem src)
{
dest->data = NewArray(unsigned char, src.len+1);
if (dest->data == NULL) {
return CMTFailure;
}
memcpy(dest->data, src.data, src.len);
dest->data[src.len] = '\0';
dest->len = src.len;
free(src.data);
return CMTSuccess;
}
CMTStatus CMT_GetStringAttribute(PCMT_CONTROL control, CMUint32 resourceID, CMUint32 fieldID, CMTItem *value)
{
CMTItem message;
GetAttribRequest request;
GetAttribReply reply;
/* Do some parameter checking */
if (!control) {
goto loser;
}
/* Set up the request */
request.resID = resourceID;
request.fieldID = fieldID;
/* Encode the request */
if (CMT_EncodeMessage(GetAttribRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_RESOURCE_ACTION | SSM_GET_ATTRIBUTE | SSM_STRING_ATTRIBUTE;
/* Send the mesage and get the response */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_RESOURCE_ACTION | SSM_GET_ATTRIBUTE | SSM_STRING_ATTRIBUTE)) {
goto loser;
}
/* Decode the response */
if (CMT_DecodeMessage(GetAttribReplyTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
/* Success */
if (reply.result == 0) {
return CMT_PadStringValue(value, reply.value.u.string);
}
loser:
return CMTFailure;
}
CMTStatus
CMT_SetStringAttribute(PCMT_CONTROL control, CMUint32 resourceID,
CMUint32 fieldID, CMTItem *value)
{
CMTItem message;
SetAttribRequest request;
if (!control) {
goto loser;
}
/* Set up the request */
request.resID = resourceID;
request.fieldID = fieldID;
request.value.type = SSM_STRING_ATTRIBUTE;
request.value.u.string = *value;
/* Encode the request */
if (CMT_EncodeMessage(SetAttribRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_RESOURCE_ACTION |
SSM_SET_ATTRIBUTE | SSM_STRING_ATTRIBUTE;
/* Send the message */
if (CMT_SendMessage(control, &message) != CMTSuccess) {
goto loser;
}
/* Validate the message request type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_RESOURCE_ACTION |
SSM_SET_ATTRIBUTE | SSM_STRING_ATTRIBUTE)) {
goto loser;
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus CMT_DuplicateResource(PCMT_CONTROL control, CMUint32 resourceID,
CMUint32 *newResID)
{
CMTItem message;
SingleNumMessage request;
DupResourceReply reply;
/* Do some parameter checking */
if (!control) {
goto loser;
}
/* Set up the request */
request.value = resourceID;
/* Encode the request */
if (CMT_EncodeMessage(SingleNumMessageTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_RESOURCE_ACTION | SSM_DUPLICATE_RESOURCE;
/* Send the mesage */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_RESOURCE_ACTION | SSM_DUPLICATE_RESOURCE)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(DupResourceReplyTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
/* Success */
if (reply.result == 0) {
*newResID = reply.resID;
return CMTSuccess;
}
loser:
*newResID = 0;
return CMTFailure;
}
CMTStatus CMT_DestroyResource(PCMT_CONTROL control, CMUint32 resourceID, CMUint32 resourceType)
{
CMTItem message;
DestroyResourceRequest request;
SingleNumMessage reply;
/* Do some parameter checking */
if (!control) {
goto loser;
}
/* Set up the request */
request.resID = resourceID;
request.resType = resourceType;
/* Encode the message */
if (CMT_EncodeMessage(DestroyResourceRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_RESOURCE_ACTION | SSM_DESTROY_RESOURCE;
/* Send the message */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_RESOURCE_ACTION | SSM_DESTROY_RESOURCE)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(SingleNumMessageTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
/* Success */
if (reply.value == 0) {
return CMTSuccess;
}
loser:
return CMTFailure;
}
CMTStatus CMT_PickleResource(PCMT_CONTROL control, CMUint32 resourceID, CMTItem * pickledResource)
{
CMTItem message;
SingleNumMessage request;
PickleResourceReply reply;
/* Do some parameter checking */
if (!control) {
goto loser;
}
/* Set up the request */
request.value = resourceID;
/* Encode the request */
if (CMT_EncodeMessage(SingleNumMessageTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_RESOURCE_ACTION | SSM_CONSERVE_RESOURCE | SSM_PICKLE_RESOURCE;
/* Send the mesage and get the response */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_RESOURCE_ACTION | SSM_CONSERVE_RESOURCE | SSM_PICKLE_RESOURCE)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(PickleResourceReplyTemplate, &reply,&message) != CMTSuccess) {
goto loser;
}
/* Success */
if (reply.result == 0) {
*pickledResource = reply.blob;
return CMTSuccess;
}
loser:
return CMTFailure;
}
CMTStatus CMT_UnpickleResource(PCMT_CONTROL control, CMUint32 resourceType, CMTItem pickledResource, CMUint32 * resourceID)
{
CMTItem message;
UnpickleResourceRequest request;
UnpickleResourceReply reply;
/* Do some parameter checking */
if (!control) {
goto loser;
}
/* Set up the request */
request.resourceType = resourceType;
request.resourceData = pickledResource;
/* Encode the request */
if (CMT_EncodeMessage(UnpickleResourceRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_RESOURCE_ACTION | SSM_CONSERVE_RESOURCE | SSM_UNPICKLE_RESOURCE;
/* Send the mesage and get the response */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_RESOURCE_ACTION | SSM_CONSERVE_RESOURCE | SSM_UNPICKLE_RESOURCE)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(UnpickleResourceReplyTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
/* Success */
if (reply.result == 0) {
*resourceID = reply.resID;
return CMTSuccess;
}
loser:
*resourceID = 0;
return CMTFailure;
}
CMTStatus CMT_GetRIDAttribute(PCMT_CONTROL control, CMUint32 resourceID, CMUint32 fieldID, CMUint32 *value)
{
CMTItem message;
GetAttribRequest request;
GetAttribReply reply;
/* Do some parameter checking */
if (!control) {
goto loser;
}
/* Set the request */
request.resID = resourceID;
request.fieldID = fieldID;
/* Encode the message */
if (CMT_EncodeMessage(GetAttribRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_RESOURCE_ACTION | SSM_GET_ATTRIBUTE | SSM_RID_ATTRIBUTE;
/* Send the mesage and get the response */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the message response type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_RESOURCE_ACTION | SSM_GET_ATTRIBUTE | SSM_RID_ATTRIBUTE)) {
goto loser;
}
/* Decode the reply */
if (CMT_DecodeMessage(GetAttribReplyTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
/* Success */
if (reply.result == 0) {
*value = reply.value.u.rid;
return CMTSuccess;
}
loser:
return CMTFailure;
}

View File

@@ -1,270 +0,0 @@
/*
* 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 Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
/*
cmtrng.c -- Support for PSM random number generator and the seeding
thereof with data from the client.
Created by mwelch 1999 Oct 21
*/
#include "cmtcmn.h"
#include "cmtutils.h"
#include "messages.h"
#include "rsrcids.h"
#include <string.h>
CMTStatus
CMT_EnsureInitializedRNGBuf(PCMT_CONTROL control)
{
if (control->rng.outBuf == NULL)
{
control->rng.outBuf = (char *) calloc(RNG_OUT_BUFFER_LEN, sizeof(char));
if (control->rng.outBuf == NULL)
goto loser;
control->rng.validOutBytes = 0;
control->rng.out_cur = control->rng.outBuf;
control->rng.out_end = control->rng.out_cur + RNG_OUT_BUFFER_LEN;
control->rng.inBuf = (char *) calloc(RNG_IN_BUFFER_LEN, sizeof(char));
if (control->rng.outBuf == NULL)
goto loser;
}
return CMTSuccess;
loser:
if (control->rng.outBuf != NULL)
{
free(control->rng.outBuf);
control->rng.outBuf = NULL;
}
if (control->rng.inBuf != NULL)
{
free(control->rng.inBuf);
control->rng.inBuf = NULL;
}
return CMTFailure;
}
size_t
CMT_RequestPSMRandomData(PCMT_CONTROL control,
void *buf, CMUint32 maxbytes)
{
SingleNumMessage req;
SingleItemMessage reply;
CMTItem message;
size_t rv = 0;
/* Parameter checking */
if (!control || !buf || (maxbytes == 0))
goto loser;
/* Initialization. */
memset(&reply, 0, sizeof(SingleItemMessage));
/* Ask PSM for the data. */
req.value = maxbytes;
if (CMT_EncodeMessage(SingleNumMessageTemplate, &message, &req) != CMTSuccess)
goto loser;
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_MISC_ACTION | SSM_MISC_GET_RNG_DATA;
/* Send the message and get the response */
if (CMT_SendMessage(control, &message) == CMTFailure)
goto loser;
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_MISC_ACTION | SSM_MISC_GET_RNG_DATA))
goto loser;
/* Decode message */
if (CMT_DecodeMessage(SingleItemMessageTemplate, &reply, &message) != CMTSuccess)
goto loser;
/* Success - fill the return buf with what we got */
if (reply.item.len > maxbytes)
reply.item.len = maxbytes;
memcpy(buf, reply.item.data, reply.item.len);
rv = reply.item.len;
loser:
if (reply.item.data)
free(reply.item.data);
if (message.data)
free(message.data);
return rv;
}
size_t
CMT_GenerateRandomBytes(PCMT_CONTROL control,
void *buf, CMUint32 maxbytes)
{
CMUint32 remaining = maxbytes;
CMT_RNGState *rng = &(control->rng);
char *walk = (char *) buf;
/* Is there already enough in the incoming cache? */
while(remaining > rng->validInBytes)
{
/* Get what we have on hand. */
memcpy(walk, rng->in_cur, rng->validInBytes);
walk += rng->validInBytes;
remaining -= rng->validInBytes;
/* Request a buffer from PSM. */
rng->validInBytes = CMT_RequestPSMRandomData(control,
rng->inBuf,
RNG_IN_BUFFER_LEN);
if (rng->validInBytes == 0)
return (maxbytes - remaining); /* call failed */
rng->in_cur = rng->inBuf;
}
if (remaining > 0)
{
memcpy(walk, rng->in_cur, remaining);
rng->in_cur += remaining;
rng->validInBytes -= remaining;
}
return maxbytes;
}
void
cmt_rng_xor(void *dstBuf, void *srcBuf, int len)
{
unsigned char *s = (unsigned char*) srcBuf;
unsigned char *d = (unsigned char*) dstBuf;
unsigned char tmp;
int i;
for(i=0; i<len; i++, s++, d++)
{
tmp = *d;
/* I wish C had circular shift operators. So do others on the team. */
tmp = ((tmp << 1) | (tmp >> 7));
*d = tmp ^ *s;
}
}
CMTStatus
CMT_RandomUpdate(PCMT_CONTROL control, void *data, size_t numbytes)
{
size_t dataLeft = numbytes, cacheLeft;
char *walk = (char *) data;
if (CMT_EnsureInitializedRNGBuf(control) != CMTSuccess)
goto loser;
/* If we have more than what the buffer can handle, wrap around. */
cacheLeft = (control->rng.out_end - control->rng.out_cur);
while (dataLeft >= cacheLeft)
{
cmt_rng_xor(control->rng.out_cur, walk, cacheLeft);
walk += cacheLeft;
dataLeft -= cacheLeft;
control->rng.out_cur = control->rng.outBuf;
/* Max out used space */
control->rng.validOutBytes = cacheLeft = RNG_OUT_BUFFER_LEN;
}
/*
We now have less seed data available than we do space in the buf.
Write what we have and update validOutBytes if we're not looping already.
*/
cmt_rng_xor(control->rng.out_cur, walk, dataLeft);
control->rng.out_cur += dataLeft;
if (control->rng.validOutBytes < RNG_OUT_BUFFER_LEN)
control->rng.validOutBytes += dataLeft;
return CMTSuccess;
loser:
return CMTFailure;
}
size_t
CMT_GetNoise(PCMT_CONTROL control, void *buf, CMUint32 maxbytes)
{
/* ### mwelch - GetNoise and GenerateRandomBytes can be the
same function now, because presumably the RNG is being
seeded with environmental noise on the PSM end before we
make any of these requests */
return CMT_GenerateRandomBytes(control, buf, maxbytes);
}
CMTStatus
CMT_FlushPendingRandomData(PCMT_CONTROL control)
{
CMTItem message;
memset(&message, 0, sizeof(CMTItem));
if (CMT_EnsureInitializedRNGBuf(control) != CMTSuccess)
return CMTFailure; /* couldn't initialize RNG buffer */
if (control->rng.validOutBytes == 0)
return CMTSuccess; /* no random data available == we're flushed */
/* We have random data available. Send this to PSM.
We're sending an event, so no reply is needed. */
message.type = SSM_EVENT_MESSAGE
| SSM_MISC_ACTION
| SSM_MISC_PUT_RNG_DATA;
message.len = control->rng.validOutBytes;
message.data = (unsigned char *) calloc(message.len, sizeof(char));
if (!message.data)
goto loser;
memcpy(message.data, control->rng.outBuf, message.len);
if (CMT_TransmitMessage(control, &message) == CMTFailure)
goto loser;
/* Clear the RNG ring buffer, we've used that data */
control->rng.out_cur = control->rng.outBuf;
control->rng.validOutBytes = 0;
/* zero the buffer, because we XOR in new data */
memset(control->rng.outBuf, 0, RNG_OUT_BUFFER_LEN);
goto done;
loser:
if (message.data)
free(message.data);
return CMTFailure;
done:
return CMTSuccess;
}

View File

@@ -1,237 +0,0 @@
/*
* 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 Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
/*
cmtsdr.c -- Support for the Secret Decoder Ring, which provides
encryption and decryption using stored keys.
Created by thayes 18 April 2000
*/
#include "stddef.h"
#include "cmtcmn.h"
#include "cmtutils.h"
#include "messages.h"
#include "protocolshr.h"
#include "rsrcids.h"
#include <string.h>
#undef PROCESS_LOCALLY
/* Encryption result - contains the key id and the resulting data */
/* An empty key id indicates that NO encryption was performed */
typedef struct EncryptionResult
{
CMTItem keyid;
CMTItem data;
} EncryptionResult;
/* Constants for testing */
static const char *kPrefix = "Encrypted:";
static CMTItem
CMT_CopyDataToItem(const unsigned char *data, CMUint32 len)
{
CMTItem item;
item.data = (unsigned char*) calloc(len, 1);
item.len = len;
memcpy(item.data, data, len);
return item;
}
static CMTStatus
tmp_SendMessage(PCMT_CONTROL control, CMTItem *message)
{
#ifndef PROCESS_LOCALLY
return CMT_SendMessage(control, message);
#else
if (message->type == SSM_SDR_ENCRYPT_REQUEST)
return CMT_DoEncryptionRequest(message);
else if (message->type == SSM_SDR_DECRYPT_REQUEST)
return CMT_DoDecryptionRequest(message);
return CMTFailure;
#endif
}
/* End test code */
CMTStatus
CMT_SDREncrypt(PCMT_CONTROL control, void *ctx,
const unsigned char *key, CMUint32 keyLen,
const unsigned char *data, CMUint32 dataLen,
unsigned char **result, CMUint32 *resultLen)
{
CMTStatus rv = CMTSuccess;
CMTItem message;
EncryptRequestMessage request;
SingleItemMessage reply;
/* Fill in the request */
request.keyid = CMT_CopyDataToItem(key, keyLen);
request.data = CMT_CopyDataToItem(data, dataLen);
request.ctx = CMT_CopyPtrToItem(ctx);
reply.item.data = 0;
reply.item.len = 0;
message.data = 0;
message.len = 0;
/* Encode */
rv = CMT_EncodeMessage(EncryptRequestTemplate, &message, &request);
if (rv != CMTSuccess) {
goto loser;
}
message.type = SSM_SDR_ENCRYPT_REQUEST;
/* Send */
/* if (CMT_SendMessage(control, &message) != CMTSuccess) goto loser; */
rv = tmp_SendMessage(control, &message);
if (rv != CMTSuccess) goto loser;
if (message.type != SSM_SDR_ENCRYPT_REPLY) { rv = CMTFailure; goto loser; }
rv = CMT_DecodeMessage(SingleItemMessageTemplate, &reply, &message);
if (rv != CMTSuccess)
goto loser;
*result = reply.item.data;
*resultLen = reply.item.len;
reply.item.data = 0;
loser:
if (message.data) free(message.data);
if (request.keyid.data) free(request.keyid.data);
if (request.data.data) free(request.data.data);
if (request.ctx.data) free(request.ctx.data);
if (reply.item.data) free(reply.item.data);
return rv; /* need return value */
}
CMTStatus
CMT_SDRDecrypt(PCMT_CONTROL control, void *ctx,
const unsigned char *data, CMUint32 dataLen,
unsigned char **result, CMUint32 *resultLen)
{
CMTStatus rv;
CMTItem message;
DecryptRequestMessage request;
SingleItemMessage reply;
/* Fill in the request */
request.data = CMT_CopyDataToItem(data, dataLen);
request.ctx = CMT_CopyPtrToItem(ctx);
reply.item.data = 0;
reply.item.len = 0;
message.data = 0;
message.len = 0;
/* Encode */
rv = CMT_EncodeMessage(DecryptRequestTemplate, &message, &request);
if (rv != CMTSuccess) {
goto loser;
}
message.type = SSM_SDR_DECRYPT_REQUEST;
/* Send */
/* if (CMT_SendMessage(control, &message) != CMTSuccess) goto loser; */
rv = tmp_SendMessage(control, &message);
if (rv != CMTSuccess) goto loser;
if (message.type != SSM_SDR_DECRYPT_REPLY) { rv = CMTFailure; goto loser; }
rv = CMT_DecodeMessage(SingleItemMessageTemplate, &reply, &message);
if (rv != CMTSuccess)
goto loser;
*result = reply.item.data;
*resultLen = reply.item.len;
reply.item.data = 0;
loser:
if (message.data) free(message.data);
if (request.data.data) free(request.data.data);
if (request.ctx.data) free(request.ctx.data);
if (reply.item.data) free(reply.item.data);
return rv; /* need return value */
}
CMTStatus
CMT_SDRChangePassword(PCMT_CONTROL control, void *ctx)
{
CMTStatus rv = CMTSuccess;
CMTItem message;
SingleItemMessage request;
SingleNumMessage reply;
/* Fill in the request */
request.item = CMT_CopyPtrToItem(ctx);
message.data = 0;
message.len = 0;
/* Encode */
rv = CMT_EncodeMessage(SingleItemMessageTemplate, &message, &request);
if (rv != CMTSuccess) {
goto loser;
}
message.type = (SSM_REQUEST_MESSAGE|SSM_MISC_ACTION|SSM_MISC_UI|SSM_UI_CHANGE_PASSWORD);
/* Send */
rv = CMT_SendMessage(control, &message);
if (rv != CMTSuccess) goto loser;
if (message.type !=
(SSM_REPLY_OK_MESSAGE|SSM_MISC_ACTION|SSM_MISC_UI|SSM_UI_CHANGE_PASSWORD)) {
rv = CMTFailure;
goto loser;
}
rv = CMT_DecodeMessage(SingleNumMessageTemplate, &reply, &message);
if (rv != CMTSuccess)
goto loser;
loser:
if (request.item.data) free(request.item.data);
if (message.data) free(message.data);
return rv; /* need return value */
}

View File

@@ -1,467 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#ifdef XP_UNIX
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#else
#ifdef XP_MAC
#else /* windows */
#include <windows.h>
#include <winsock.h>
#endif
#endif
#include <errno.h>
#include "cmtcmn.h"
#include "cmtutils.h"
#include "messages.h"
#include "rsrcids.h"
CMTStatus CMT_OpenSSLConnection(PCMT_CONTROL control, CMTSocket sock,
SSMSSLConnectionRequestType flags,
CMUint32 port, char * hostIP,
char * hostName, CMBool forceHandshake, void* clientContext)
{
CMTItem message;
SSLDataConnectionRequest request;
DataConnectionReply reply;
CMUint32 sent;
/* Do some parameter checking */
if (!control || !hostIP || !hostName) {
goto loser;
}
request.flags = flags;
request.port = port;
request.hostIP = hostIP;
request.hostName = hostName;
request.forceHandshake = forceHandshake;
request.clientContext = CMT_CopyPtrToItem(clientContext);
/* Encode message */
if (CMT_EncodeMessage(SSLDataConnectionRequestTemplate, &message, &request) != CMTSuccess) {
goto loser;
}
/* Set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_DATA_CONNECTION | SSM_SSL_CONNECTION;
/* Send the message and get the response */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* Validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_DATA_CONNECTION | SSM_SSL_CONNECTION)) {
goto loser;
}
/* Decode message */
if (CMT_DecodeMessage(DataConnectionReplyTemplate, &reply, &message) != CMTSuccess) {
goto loser;
}
/* Success */
if (reply.result == 0) {
if (control->sockFuncs.connect(sock, reply.port, NULL) != CMTSuccess) {
goto loser;
}
sent = CMT_WriteThisMany(control, sock, control->nonce.data,
control->nonce.len);
if (sent != control->nonce.len) {
goto loser;
}
/* Save connection info */
if (CMT_AddDataConnection(control, sock, reply.connID)
!= CMTSuccess) {
goto loser;
}
return CMTSuccess;
}
loser:
return CMTFailure;
}
CMTStatus CMT_GetSSLDataErrorCode(PCMT_CONTROL control, CMTSocket sock,
CMInt32* errorCode)
{
CMUint32 connID;
if (!control || !errorCode) {
goto loser;
}
/* get the data connection */
if (CMT_GetDataConnectionID(control, sock, &connID) != CMTSuccess) {
goto loser;
}
/* get the PR error */
if (CMT_GetNumericAttribute(control, connID, SSM_FID_SSLDATA_ERROR_VALUE,
errorCode) != CMTSuccess) {
goto loser;
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus CMT_ReleaseSSLSocketStatus(PCMT_CONTROL control, CMTSocket sock)
{
CMUint32 connectionID;
if (!control || !sock) {
goto loser;
}
if (CMT_GetDataConnectionID(control, sock, &connectionID) != CMTSuccess) {
goto loser;
}
if (CMT_SetNumericAttribute(control, connectionID,
SSM_FID_SSLDATA_DISCARD_SOCKET_STATUS,
0) != CMTSuccess) {
goto loser;
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus CMT_GetSSLSocketStatus(PCMT_CONTROL control, CMTSocket sock,
CMTItem* pickledStatus, CMInt32* level)
{
CMUint32 connectionID;
SingleNumMessage request;
CMTItem message;
PickleSecurityStatusReply reply;
if (!control || !pickledStatus || !level) {
goto loser;
}
/* get the data connection */
if (CMT_GetDataConnectionID(control, sock, &connectionID) != CMTSuccess) {
goto loser;
}
/* set up the request */
request.value = connectionID;
/* encode the request */
if (CMT_EncodeMessage(SingleNumMessageTemplate, &message, &request) !=
CMTSuccess) {
goto loser;
}
/* set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_RESOURCE_ACTION |
SSM_CONSERVE_RESOURCE | SSM_PICKLE_SECURITY_STATUS;
/* send the message and get the response */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_RESOURCE_ACTION |
SSM_CONSERVE_RESOURCE | SSM_PICKLE_SECURITY_STATUS)) {
goto loser;
}
/* decode the reply */
if (CMT_DecodeMessage(PickleSecurityStatusReplyTemplate, &reply, &message)
!= CMTSuccess) {
goto loser;
}
/* success */
if (reply.result == 0) {
*pickledStatus = reply.blob;
*level = reply.securityLevel;
return CMTSuccess;
}
loser:
return CMTFailure;
}
CMTStatus CMT_OpenTLSConnection(PCMT_CONTROL control, CMTSocket sock,
CMUint32 port, char* hostIP, char* hostName)
{
TLSDataConnectionRequest request;
CMTItem message;
DataConnectionReply reply;
CMUint32 sent;
/* do some parameter checking */
if (!control || !hostIP || !hostName) {
goto loser;
}
request.port = port;
request.hostIP = hostIP;
request.hostName = hostName;
/* encode the message */
if (CMT_EncodeMessage(TLSDataConnectionRequestTemplate, &message, &request)
!= CMTSuccess) {
goto loser;
}
/* set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_DATA_CONNECTION |
SSM_TLS_CONNECTION;
/* send the message and get the response */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_DATA_CONNECTION |
SSM_TLS_CONNECTION)) {
goto loser;
}
/* decode the message */
if (CMT_DecodeMessage(DataConnectionReplyTemplate, &reply, &message) !=
CMTSuccess) {
goto loser;
}
/* success */
if (reply.result == 0) {
if (control->sockFuncs.connect(sock, reply.port, NULL) != CMTSuccess) {
goto loser;
}
sent = CMT_WriteThisMany(control, sock, control->nonce.data,
control->nonce.len);
if (sent != control->nonce.len) {
goto loser;
}
/* save connection info */
if (CMT_AddDataConnection(control, sock, reply.connID) != CMTSuccess) {
goto loser;
}
return CMTSuccess;
}
loser:
return CMTFailure;
}
CMTStatus CMT_TLSStepUp(PCMT_CONTROL control, CMTSocket sock,
void* clientContext)
{
TLSStepUpRequest request;
SingleNumMessage reply;
CMTItem message;
CMUint32 connectionID;
/* check arguments */
if (!control || !sock) {
goto loser;
}
/* get the data connection ID */
if (CMT_GetDataConnectionID(control, sock, &connectionID) != CMTSuccess) {
goto loser;
}
/* set up the request */
request.connID = connectionID;
request.clientContext = CMT_CopyPtrToItem(clientContext);
/* encode the request */
if (CMT_EncodeMessage(TLSStepUpRequestTemplate, &message, &request) !=
CMTSuccess) {
goto loser;
}
/* set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_RESOURCE_ACTION | SSM_TLS_STEPUP;
/* send the message and get the response */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_RESOURCE_ACTION |
SSM_TLS_STEPUP)) {
goto loser;
}
/* decode the reply */
if (CMT_DecodeMessage(SingleNumMessageTemplate, &reply, &message) !=
CMTSuccess) {
goto loser;
}
return (CMTStatus) reply.value;
loser:
return CMTFailure;
}
CMTStatus CMT_OpenSSLProxyConnection(PCMT_CONTROL control, CMTSocket sock,
CMUint32 port, char* hostIP,
char* hostName)
{
TLSDataConnectionRequest request;
CMTItem message;
DataConnectionReply reply;
CMUint32 sent;
/* do some parameter checking */
if (!control || !hostIP || !hostName) {
goto loser;
}
request.port = port;
request.hostIP = hostIP;
request.hostName = hostName;
/* encode the message */
if (CMT_EncodeMessage(TLSDataConnectionRequestTemplate, &message, &request)
!= CMTSuccess) {
goto loser;
}
/* set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_DATA_CONNECTION |
SSM_PROXY_CONNECTION;
/* send the message and get the response */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_DATA_CONNECTION |
SSM_PROXY_CONNECTION)) {
goto loser;
}
/* decode the message */
if (CMT_DecodeMessage(DataConnectionReplyTemplate, &reply, &message) !=
CMTSuccess) {
goto loser;
}
/* success */
if (reply.result == 0) {
if (control->sockFuncs.connect(sock, reply.port, NULL) != CMTSuccess) {
goto loser;
}
sent = CMT_WriteThisMany(control, sock, control->nonce.data,
control->nonce.len);
if (sent != control->nonce.len) {
goto loser;
}
/* save connection info */
if (CMT_AddDataConnection(control, sock, reply.connID) != CMTSuccess) {
goto loser;
}
return CMTSuccess;
}
loser:
return CMTFailure;
}
CMTStatus CMT_ProxyStepUp(PCMT_CONTROL control, CMTSocket sock,
void* clientContext, char* remoteUrl)
{
ProxyStepUpRequest request;
SingleNumMessage reply;
CMTItem message;
CMUint32 connectionID;
/* check arguments */
if (!control || !sock || !remoteUrl) {
goto loser;
}
/* get the data connection ID */
if (CMT_GetDataConnectionID(control, sock, &connectionID) != CMTSuccess) {
goto loser;
}
/* set up the request */
request.connID = connectionID;
request.clientContext = CMT_CopyPtrToItem(clientContext);
request.url = remoteUrl;
/* encode the request */
if (CMT_EncodeMessage(ProxyStepUpRequestTemplate, &message, &request) !=
CMTSuccess) {
goto loser;
}
/* set the message request type */
message.type = SSM_REQUEST_MESSAGE | SSM_RESOURCE_ACTION |
SSM_PROXY_STEPUP;
/* send the message and get the response */
if (CMT_SendMessage(control, &message) == CMTFailure) {
goto loser;
}
/* validate the message reply type */
if (message.type != (SSM_REPLY_OK_MESSAGE | SSM_RESOURCE_ACTION |
SSM_PROXY_STEPUP)) {
goto loser;
}
/* decode the reply */
if (CMT_DecodeMessage(SingleNumMessageTemplate, &reply, &message) !=
CMTSuccess) {
goto loser;
}
return (CMTStatus) reply.value;
loser:
return CMTFailure;
}

View File

@@ -1,636 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#ifdef XP_UNIX
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#else
#ifdef XP_MAC
#include "macsocket.h"
#else /* Windows */
#include <windows.h>
#include <winsock.h>
#endif
#endif
#include "cmtcmn.h"
#include "cmtutils.h"
#include "newproto.h"
#include <string.h>
/* Local defines */
#if 0
#define PSM_WAIT_BEFORE_SLEEP (CM_TicksPerSecond() * 60)
#define PSM_SPINTIME PSM_WAIT_BEFORE_SLEEP
#define PSM_KEEP_CONNECTION_ALIVE (PSM_WAIT_BEFORE_SLEEP * 900)
#endif
/* If you want to dump the messages sent between the plug-in and the PSM
* server, then remove the comment for the appropriate define.
*/
#if 0
#define PRINT_SEND_MESSAGES
#define PRINT_RECEIVE_MESSAGES
#endif
#ifdef PRINT_SEND_MESSAGES
#ifndef DEBUG_MESSAGES
#define DEBUG_MESSAGES
#endif /*DEBUG_MESSAGES*/
#endif /*PRINT_SEND_MESSAGES*/
#ifdef PRINT_RECEIVE_MESSAGES
#ifndef DEBUG_MESSAGES
#define DEBUG_MESSAGES
#endif /*DEBUG_MESSAGES*/
#endif /*PRINT_RECEIVE_MESSAGES*/
#ifdef DEBUG_MESSAGES
#define LOG(x) do { FILE *f; f=fopen("cmnav.log","a+"); if (f) { \
fprintf(f, x); fclose(f); } } while(0);
#define LOG_S(x) do { FILE *f; f=fopen("cmnav.log","a+"); if (f) { \
fprintf(f, "%s", x); fclose(f); } } while(0);
#define ASSERT(x) if (!(x)) { LOG("ASSERT:"); LOG(#x); LOG("\n"); exit(-1); }
#else
#define LOG(x)
#define LOG_S(x)
#define ASSERT(x)
#endif
CMUint32
cmt_Strlen(char *str)
{
CMUint32 len = strlen(str);
return sizeof(CMInt32) + (((len + 3)/4)*4);
}
CMUint32
cmt_Bloblen(CMTItem *blob)
{
return sizeof(CMInt32) + (((blob->len +3)/4)*4);
}
char *
cmt_PackString(char *buf, char *str)
{
CMUint32 len = strlen(str);
CMUint32 networkLen = htonl(len);
CMUint32 padlen = ((len + 3)/4)*4;
memcpy(buf, &networkLen, sizeof(CMUint32));
memcpy(buf + sizeof(CMUint32), str, len);
memset(buf + sizeof(CMUint32) + len, 0, padlen - len);
return buf+sizeof(CMUint32)+padlen;
}
char *
cmt_PackBlob(char *buf, CMTItem *blob)
{
CMUint32 len = blob->len;
CMUint32 networkLen = htonl(len);
CMUint32 padlen = (((blob->len + 3)/4)*4);
*((CMUint32*)buf) = networkLen;
memcpy(buf + sizeof(CMUint32), blob->data, len);
memset(buf + sizeof(CMUint32) + len, 0, padlen - len);
return buf + sizeof(CMUint32) + padlen;
}
char *
cmt_UnpackString(char *buf, char **str)
{
char *p = NULL;
CMUint32 len, padlen;
/* Get the string length */
len = ntohl(*(CMUint32*)buf);
/* Get the padded length */
padlen = ((len + 3)/4)*4;
/* Allocate the string and copy the data */
p = (char *) malloc(len + 1);
if (!p) {
goto loser;
}
/* Copy the data and NULL terminate */
memcpy(p, buf+sizeof(CMUint32), len);
p[len] = 0;
*str = p;
return buf+sizeof(CMUint32)+padlen;
loser:
*str = NULL;
if (p) {
free(p);
}
return buf+sizeof(CMUint32)+padlen;
}
char *
cmt_UnpackBlob(char *buf, CMTItem **blob)
{
CMTItem *p = NULL;
CMUint32 len, padlen;
/* Get the blob length */
len = ntohl(*(CMUint32*)buf);
/* Get the padded length */
padlen = ((len + 3)/4)*4;
/* Allocate the CMTItem for the blob */
p = (CMTItem*)malloc(sizeof(CMTItem));
if (!p) {
goto loser;
}
p->len = len;
p->data = (unsigned char *) malloc(len);
if (!p->data) {
goto loser;
}
/* Copy that data across */
memcpy(p->data, buf+sizeof(CMUint32), len);
*blob = p;
return buf+sizeof(CMUint32)+padlen;
loser:
*blob = NULL;
CMT_FreeMessage(p);
return buf+sizeof(CMUint32)+padlen;
}
#ifdef DEBUG_MESSAGES
void prettyPrintMessage(CMTItem *msg)
{
int numLines = ((msg->len+7)/8);
char curBuffer[9], *cursor, string[2], hexVal[8];
char hexArray[25];
int i, j, numToCopy;
/*Try printing out 8 bytes at a time. */
LOG("\n**********************************************************\n");
LOG("About to pretty Print Message\n\n");
curBuffer[9] = '\0';
hexArray[24] = '\0';
hexVal[2] = '\0';
string[1] = '\0';
LOG("Header Info\n");
LOG("Message Type: ");
sprintf(hexArray, "%lx\n", msg->type);
LOG(hexArray);
LOG("Message Length: ");
sprintf (hexArray, "%ld\n\n", msg->len);
LOG(hexArray);
LOG("Body of Message\n");
for (i=0, cursor=msg->data; i<numLines; i++, cursor+=8) {
/* First copy over the buffer to our local array */
numToCopy = ((msg->len - (unsigned int)((unsigned long)cursor-(unsigned long)msg->data)) < 8) ?
msg->len - (unsigned int)((unsigned long)cursor-(unsigned long)msg->data) : 8;
memcpy(curBuffer, cursor, 8);
for (j=0;j<numToCopy;j++) {
string[0] = curBuffer[j];
if (isprint(curBuffer[j])) {
string[0] = curBuffer[j];
} else {
string[0] = ' ';
}
LOG(string);
}
string[0] = ' ';
for (;j<8;j++) {
LOG(string);
}
LOG("\t");
for (j=0; j<numToCopy; j++) {
sprintf (hexVal,"%.2x", 0x0ff & (unsigned short)curBuffer[j]);
LOG(hexVal);
LOG(" ");
}
LOG("\n");
}
LOG("Done Pretty Printing Message\n");
LOG("**********************************************************\n\n");
}
#endif
CMTStatus CMT_SendMessage(PCMT_CONTROL control, CMTItem* message)
{
CMTStatus status;
CMUint32 msgCategory;
CMBool done = CM_FALSE;
#ifdef PRINT_SEND_MESSAGES
LOG("About to print message sent to PSM\n");
prettyPrintMessage(message);
#endif
/* Acquire lock on the control connection */
CMT_LOCK(control->mutex);
/* Try to send pending random data */
if (message->type != (SSM_REQUEST_MESSAGE | SSM_HELLO_MESSAGE))
{
/* If we've already said hello, then flush random data
just before sending the request. */
status = CMT_FlushPendingRandomData(control);
if (status != CMTSuccess)
goto loser;
}
status = CMT_TransmitMessage(control, message);
if (status != CMTSuccess) {
goto loser;
}
/* We have to deal with other types of data on the socket and */
/* handle them accordingly */
while (!done) {
status = CMT_ReceiveMessage(control, message);
if (status != CMTSuccess) {
goto loser;
}
msgCategory = (message->type & SSM_CATEGORY_MASK);
switch (msgCategory) {
case SSM_REPLY_OK_MESSAGE:
done = CM_TRUE;
break;
case SSM_REPLY_ERR_MESSAGE:
done = CM_TRUE;
break;
case SSM_EVENT_MESSAGE:
CMT_DispatchEvent(control, message);
break;
/* XXX FIX THIS!!! For the moment I'm ignoring all other types */
default:
break;
}
}
/* Release the control connection lock */
CMT_UNLOCK(control->mutex);
return CMTSuccess;
loser:
/* Release the control connection lock */
CMT_UNLOCK(control->mutex);
return CMTFailure;
}
CMTStatus CMT_TransmitMessage(PCMT_CONTROL control, CMTItem * message)
{
CMTMessageHeader header;
CMUint32 sent, rv;
/* Set up the message header */
header.type = htonl(message->type);
header.len = htonl(message->len);
/* Send the message header */
sent = CMT_WriteThisMany(control, control->sock,
(void *)&header, sizeof(CMTMessageHeader));
if (sent != sizeof(CMTMessageHeader)) {
goto loser;
}
/* Send the message body */
sent = CMT_WriteThisMany(control, control->sock, (void *)message->data,
message->len);
if (sent != message->len) {
goto loser;
}
/* Free the buffer */
free(message->data);
message->data = NULL;
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus CMT_ReceiveMessage(PCMT_CONTROL control, CMTItem * response)
{
CMTMessageHeader header;
CMUint32 numread, rv;
/* Get the message header */
numread = CMT_ReadThisMany(control, control->sock,
(void *)&header, sizeof(CMTMessageHeader));
if (numread != sizeof(CMTMessageHeader)) {
goto loser;
}
response->type = ntohl(header.type);
response->len = ntohl(header.len);
response->data = (unsigned char *) malloc(response->len);
if (response->data == NULL) {
goto loser;
}
numread = CMT_ReadThisMany(control, control->sock,
(void *)(response->data), response->len);
if (numread != response->len) {
goto loser;
}
#ifdef PRINT_RECEIVE_MESSAGES
LOG("About to print message received from PSM.\n");
prettyPrintMessage(response);
#endif /*PRINT_RECEIVE_MESSAGES*/
return CMTSuccess;
loser:
if (response->data) {
free(response->data);
}
return CMTFailure;
}
CMUint32 CMT_ReadThisMany(PCMT_CONTROL control, CMTSocket sock,
void * buffer, CMUint32 thisMany)
{
CMUint32 total = 0;
while (total < thisMany) {
int got;
got = control->sockFuncs.recv(sock, (void*)((char*)buffer + total),
thisMany-total);
if (got < 0 ) {
break;
}
total += got;
}
return total;
}
CMUint32 CMT_WriteThisMany(PCMT_CONTROL control, CMTSocket sock,
void * buffer, CMUint32 thisMany)
{
CMUint32 total = 0;
while (total < thisMany) {
CMInt32 got;
got = control->sockFuncs.send(sock, (void*)((char*)buffer+total),
thisMany-total);
if (got < 0) {
break;
}
total += got;
}
return total;
}
CMTItem* CMT_ConstructMessage(CMUint32 type, CMUint32 length)
{
CMTItem * p;
p = (CMTItem*)malloc(sizeof(CMTItem));
if (!p) {
goto loser;
}
p->type = type;
p->len = length;
p->data = (unsigned char *) malloc(length);
if (!p->data) {
goto loser;
}
return p;
loser:
CMT_FreeMessage(p);
return NULL;
}
void CMT_FreeMessage(CMTItem * p)
{
if (p != NULL) {
if (p->data != NULL) {
free(p->data);
}
free(p);
}
}
CMTStatus CMT_AddDataConnection(PCMT_CONTROL control, CMTSocket sock,
CMUint32 connectionID)
{
PCMT_DATA ptr;
/* This is the first connection */
if (control->cmtDataConnections == NULL) {
control->cmtDataConnections = ptr =
(PCMT_DATA)calloc(sizeof(CMT_DATA), 1);
if (!ptr) {
goto loser;
}
} else {
/* Position at the last entry */
for (ptr = control->cmtDataConnections; (ptr != NULL && ptr->next
!= NULL); ptr = ptr->next);
ptr->next = (PCMT_DATA)calloc(sizeof(CMT_DATA), 1);
if (!ptr->next) {
goto loser;
}
/* Fix up the pointers */
ptr->next->previous = ptr;
ptr = ptr->next;
}
/* Fill in the data */
ptr->sock = sock;
ptr->connectionID = connectionID;
return CMTSuccess;
loser:
return CMTFailure;
}
int
CMT_DestroyDataConnection(PCMT_CONTROL control, CMTSocket sock)
{
PCMT_DATA ptr, pptr = NULL;
int rv=CMTSuccess;
control->sockFuncs.close(sock);
for (ptr = control->cmtDataConnections; ptr != NULL;
pptr = ptr, ptr = ptr->next) {
if (ptr->sock == sock) {
if (pptr == NULL) {
/* node is at head */
control->cmtDataConnections = ptr->next;
if (ptr->priv != NULL)
ptr->priv->dest(ptr->priv);
free(ptr);
return rv;
}
/* node is elsewhere */
pptr->next = ptr->next;
if (ptr->priv != NULL)
ptr->priv->dest(ptr->priv);
free(ptr);
return rv;
}
}
return rv;
}
CMTStatus CMT_CloseDataConnection(PCMT_CONTROL control, CMUint32 connectionID)
{
/* PCMT_DATA ptr, pptr = NULL; */
CMTSocket sock;
/* int rv;*/
/* Get the socket for this connection */
if (CMT_GetDataSocket(control, connectionID, &sock) == CMTFailure) {
goto loser;
}
/* Free data connection associated with this socket */
if (CMT_DestroyDataConnection(control, sock) == CMTFailure) {
goto loser;
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus CMT_GetDataConnectionID(PCMT_CONTROL control, CMTSocket sock, CMUint32 * connectionID)
{
PCMT_DATA ptr;
for (ptr = control->cmtDataConnections; ptr != NULL; ptr = ptr->next) {
if (ptr->sock == sock) {
*connectionID = ptr->connectionID;
return CMTSuccess;
}
}
return CMTFailure;
}
CMTStatus CMT_GetDataSocket(PCMT_CONTROL control, CMUint32 connectionID, CMTSocket * sock)
{
PCMT_DATA ptr;
for (ptr = control->cmtDataConnections; ptr != NULL; ptr = ptr->next) {
if (ptr->connectionID == connectionID) {
*sock = ptr->sock;
return CMTSuccess;
}
}
return CMTFailure;
}
CMTStatus CMT_SetPrivate(PCMT_CONTROL control, CMUint32 connectionID,
CMTPrivate *cmtpriv)
{
PCMT_DATA ptr;
for (ptr = control->cmtDataConnections; ptr != NULL; ptr = ptr->next) {
if (ptr->connectionID == connectionID) {
ptr->priv = cmtpriv;
return CMTSuccess;
}
}
return CMTFailure;
}
CMTPrivate *CMT_GetPrivate(PCMT_CONTROL control, CMUint32 connectionID)
{
PCMT_DATA ptr;
for (ptr = control->cmtDataConnections; ptr != NULL; ptr = ptr->next) {
if (ptr->connectionID == connectionID) {
return ptr->priv;
}
}
return NULL;
}
void CMT_FreeItem(CMTItem *p)
{
CMT_FreeMessage(p);
}
CMTItem CMT_CopyPtrToItem(void* p)
{
CMTItem value = {0, NULL, 0};
if (!p) {
return value;
}
value.len = sizeof(p);
value.data = (unsigned char *) malloc(value.len);
memcpy(value.data, &p, value.len);
return value;
}
void * CMT_CopyItemToPtr(CMTItem value)
{
void * p = NULL;
if (value.len == sizeof(void*)) {
memcpy(&p, value.data, value.len);
}
return p;
}
CMTStatus CMT_ReferenceControlConnection(PCMT_CONTROL control)
{
CMT_LOCK(control->mutex);
control->refCount++;
CMT_UNLOCK(control->mutex);
return CMTSuccess;
}
void
CMT_LockConnection(PCMT_CONTROL control)
{
CMT_LOCK(control->mutex);
}
void
CMT_UnlockConnection(PCMT_CONTROL control)
{
CMT_UNLOCK(control->mutex);
}

View File

@@ -1,75 +0,0 @@
/*
* 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 Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#ifndef __CMTUTILS_H__
#define __CMTUTILS_H__
#include "cmtcmn.h"
#define New(type) (type*)malloc(sizeof(type))
#define NewArray(type, size) (type*)malloc(sizeof(type)*(size))
PCMT_EVENT CMT_GetEventHandler(PCMT_CONTROL control, CMUint32 type,
CMUint32 resourceID);
CMUint32 cmt_Strlen(char *str);
char *cmt_PackString(char *buf, char *str);
char *cmt_UnpackString(char *buf, char **str);
CMUint32 cmt_Bloblen(CMTItem* len);
char *cmt_PackBlob(char *buf, CMTItem * blob);
char *cmt_UnpackBlob(char *buf, CMTItem **blob);
CMTStatus CMT_SendMessage(PCMT_CONTROL control, CMTItem* message);
CMTStatus CMT_TransmitMessage(PCMT_CONTROL control, CMTItem * message);
CMTStatus CMT_ReceiveMessage(PCMT_CONTROL control, CMTItem * response);
CMUint32 CMT_ReadThisMany(PCMT_CONTROL control, CMTSocket sock,
void * buffer, CMUint32 thisMany);
CMUint32 CMT_WriteThisMany(PCMT_CONTROL control, CMTSocket sock,
void * buffer, CMUint32 thisMany);
CMTItem* CMT_ConstructMessage(CMUint32 type, CMUint32 length);
void CMT_FreeMessage(CMTItem * p);
CMTStatus CMT_AddDataConnection(PCMT_CONTROL control, CMTSocket sock, CMUint32 connectionID);
CMTStatus CMT_GetDataConnectionID(PCMT_CONTROL control, CMTSocket sock, CMUint32 * connectionID);
CMTStatus CMT_GetDataSocket(PCMT_CONTROL control, CMUint32 connectionID, CMTSocket * sock);
CMTStatus CMT_CloseDataConnection(PCMT_CONTROL control, CMUint32 connectionID);
CMTStatus CMT_SetPrivate(PCMT_CONTROL control, CMUint32 connectionID,
CMTPrivate *cmtpriv);
CMTPrivate *CMT_GetPrivate(PCMT_CONTROL control, CMUint32 connectionID);
void CMT_ServicePasswordRequest(PCMT_CONTROL cm_control, CMTItem * requestData);
void CMT_ProcessEvent(PCMT_CONTROL cm_control);
void CMT_DispatchEvent(PCMT_CONTROL cm_control, CMTItem * eventData);
CMTItem CMT_CopyPtrToItem(void* p);
void * CMT_CopyItemToPtr(CMTItem value);
#endif /* __CMTUTILS_H__ */

View File

@@ -1,44 +0,0 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#
# Override TARGETS variable so that only static libraries
# are specifed as dependencies within rules.mk.
#
TARGETS = $(LIBRARY)
SHARED_LIBRARY =
IMPORT_LIBRARY =
PURE_LIBRARY =
PROGRAM =

View File

@@ -1,125 +0,0 @@
#//
#// 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 Netscape security libraries.
#//
#// The Initial Developer of the Original Code is Netscape
#// Communications Corporation. Portions created by Netscape are
#// Copyright (C) 1994-2000 Netscape Communications Corporation. All
#// Rights Reserved.
#//
#// Contributor(s):
#//
#// Alternatively, the contents of this file may be used under the
#// terms of the GNU General Public License Version 2 or later (the
#// "GPL"), in which case the provisions of the GPL are applicable
#// instead of those above. If you wish to allow use of your
#// version of this file only under the terms of the GPL and not to
#// allow others to use your version of this file under the MPL,
#// indicate your decision by deleting the provisions above and
#// replace them with the notice and other provisions required by
#// the GPL. If you do not delete the provisions above, a recipient
#// may use your version of this file under either the MPL or the
#// GPL.
#//
IGNORE_MANIFEST=1
#//------------------------------------------------------------------------
#//
#// Makefile to build the ssl library
#//
#//------------------------------------------------------------------------
!if "$(MOZ_BITS)" == "16"
!ifndef MOZ_DEBUG
OPTIMIZER=-Os -UDEBUG -DNDEBUG
!endif
!endif
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH= ..\..\..\..
!ifndef MAKE_OBJ_TYPE
MAKE_OBJ_TYPE=EXE
!endif
#//------------------------------------------------------------------------
#//
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
#//
#//------------------------------------------------------------------------
LIBNAME=cmt
PDBFILE=$(LIBNAME).pdb
LINCS = -I$(PUBLIC)\security \
-I$(PUBLIC)\nspr \
-I$(DEPTH)\include \
-I..\include
!ifndef OS_CONFIG
OS_CONFIG = WIN$(MOZ_BITS)
!endif
LCFLAGS = -DEXPORT_VERSION -DLIB_BUILD
#//------------------------------------------------------------------------
#//
#// Define the files necessary to build the target (ie. OBJS)
#//
#//------------------------------------------------------------------------
OBJS= \
.\$(OBJDIR)\cmtinit.obj \
.\$(OBJDIR)\cmtssl.obj \
.\$(OBJDIR)\cmtutils.obj \
.\$(OBJDIR)\cmtpkcs7.obj \
.\$(OBJDIR)\cmthash.obj \
.\$(OBJDIR)\cmtcert.obj \
.\$(OBJDIR)\cmtres.obj \
.\$(OBJDIR)\cmtjs.obj \
.\$(OBJDIR)\cmtevent.obj \
.\$(OBJDIR)\cmtpasswd.obj \
.\$(OBJDIR)\cmtadvisor.obj \
.\$(OBJDIR)\cmtrng.obj \
.\$(OBJDIR)\cmtsdr.obj \
$(NULL)
#//------------------------------------------------------------------------
#//
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
#// (these must be defined before the common makefiles are included)
#//
#//------------------------------------------------------------------------
LIBRARY=.\$(OBJDIR)\$(LIBNAME).lib
#//------------------------------------------------------------------------
#//
#// install headers
#//
#//------------------------------------------------------------------------
INSTALL_DIR=$(PUBLIC)\security
INSTALL_FILE_LIST=cmtcmn.h cmtjs.h cmtclist.h
#//------------------------------------------------------------------------
#//
#// Include the common makefile rules
#//
#//------------------------------------------------------------------------
include <$(DEPTH)/config/rules.mak>
install:: $(LIBRARY)
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
export:: INSTALL_FILES

View File

@@ -1,64 +0,0 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
CORE_DEPTH = ../../..
DEPTH = ../../..
EXPORTS = \
cmtcmn.h \
cmtjs.h \
cmtclist.h \
$(NULL)
MODULE = security
CSRCS = cmtinit.c \
cmtssl.c \
cmtutils.c \
cmtcert.c \
cmthash.c \
cmtpkcs7.c \
cmtres.c \
cmtjs.c \
cmtevent.c \
cmtpasswd.c \
cmtadvisor.c \
cmtrng.c \
cmtsdr.c \
$(NULL)
REQUIRES = nspr security
LIBRARY_NAME = cmt
INCLUDES += -I$(CORE_DEPTH)/include

View File

@@ -1,128 +0,0 @@
#! gmake
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#######################################################################
# (1) Include initial platform-independent assignments (MANDATORY). #
#######################################################################
include manifest.mn
#######################################################################
# (2) Include "global" configuration information. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/config.mk
#######################################################################
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
ifneq ($(OS_ARCH), WINNT)
ifeq ($(OS_ARCH), Linux)
# On linux, we link with libstdc++
CPLUSPLUSRUNTIME = -L /usr/lib -lstdc++ -lm
else
# libC, presumably, is what we must link with elsewhere
CPLUSPLUSRUNTIME = -lC -lm
endif
endif
ifeq ($(OS_ARCH), SunOS)
ifeq ($(OS_RELEASE), 5.5.1)
OS_LIBS += -ldl -lsocket -lnsl -lthread -lposix4
endif
ifeq ($(OS_RELEASE), 5.6)
OS_LIBS += -ldl -lsocket -lnsl -lthread -lposix4
endif
endif
ifeq ($(OS_ARCH), Linux)
ifdef USE_PTHREADS
# Replace OS_LIBS, because the order of libpthread, libdl, and libc are
# very important. Otherwise you get horrible crashes.
OS_LIBS = -lpthread -ldl -lc
endif
endif
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/rules.mk
#######################################################################
# (6) Execute "component" rules. (OPTIONAL) #
#######################################################################
#######################################################################
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
ifeq ($(OS_ARCH), WINNT)
LDFLAGS += /NODEFAULTLIB:library
endif
EXTRA_LIBS = \
$(DIST)/lib/$(LIB_PREFIX)cmt.$(LIB_SUFFIX) \
$(DIST)/lib/$(LIB_PREFIX)protocol.$(LIB_SUFFIX) \
$(NULL)
ifeq ($(OS_ARCH), WINNT)
EXTRA_LIBS += wsock32.lib \
winmm.lib \
$(NULL)
endif
link:
if test -f $(PROGRAM); then \
echo "rm $(PROGRAM)"; \
rm $(PROGRAM); \
fi; \
gmake \
build_sample:
ifneq ($(OS_ARCH),WINNT)
cd $(CORE_DEPTH)/coreconf; gmake
endif
cd $(CORE_DEPTH)/security; gmake import; gmake export
cd ../../protocol; gmake
cd ..; gmake
gmake

View File

@@ -1,250 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#include "cmtcmn.h"
#include "appsock.h"
#ifdef XP_UNIX
#include <netinet/tcp.h>
#include <errno.h>
#endif
CMT_SocketFuncs socketFuncs = {
APP_GetSocket,
APP_Connect,
APP_VerifyUnixSocket,
APP_Send,
APP_Select,
APP_Receive,
APP_Shutdown,
APP_Close
};
CMTSocket APP_GetSocket(int unixSock)
{
APPSocket *sock;
int on = 1;
#ifndef XP_UNIX
if (unixSock) {
return NULL;
}
#endif
sock = malloc(sizeof(APPSocket));
if (sock == NULL) {
return NULL;
}
if (unixSock) {
sock->sock = socket(AF_UNIX, SOCK_STREAM, 0);
} else {
sock->sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
}
if (sock->sock < 0) {
free(sock);
return NULL;
}
if (!unixSock &&
setsockopt(sock->sock, IPPROTO_TCP, TCP_NODELAY, (const char*)&on,
sizeof(on))) {
free(sock);
return NULL;
}
sock->isUnix = unixSock;
#ifdef XP_UNIX
memset (&sock->servAddr, 0, sizeof(struct sockaddr_un));
#endif
return (CMTSocket)sock;
}
CMTStatus APP_Connect(CMTSocket sock, short port, char *path)
{
APPSocket *cmSock = (APPSocket*)sock;
struct sockaddr_in iServAddr;
const struct sockaddr *servAddr;
size_t addrLen;
int error;
if (cmSock->isUnix){
#ifndef XP_UNIX
return CMTFailure;
#else
cmSock->servAddr.sun_family = AF_UNIX;
memcpy(&cmSock->servAddr.sun_path, path, strlen(path)+1);
servAddr = (const struct sockaddr*)&cmSock->servAddr;
addrLen = sizeof(cmSock->servAddr);
#endif
} else {
iServAddr.sin_family = AF_INET;
iServAddr.sin_port = htons(port);
iServAddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
servAddr = (const struct sockaddr*)&iServAddr;
addrLen = sizeof(struct sockaddr_in);
}
while (connect(cmSock->sock, servAddr, addrLen) != 0) {
#ifdef WIN32
error = WSAGetLastError();
if (error == WSAEISCONN) {
break;
}
if ((error != WSAEINPROGRESS) && (error != WSAEWOULDBLOCK) &&
(error!= WSAEINVAL)) {
goto loser;
}
#else
error = errno;
if (error == EISCONN) {
break;
}
if (error != EINPROGRESS) {
goto loser;
}
#endif
}
return CMTSuccess;
loser:
return CMTFailure;
}
CMTStatus APP_VerifyUnixSocket(CMTSocket sock)
{
#ifndef XP_UNIX
return CMTFailure;
#else
APPSocket *cmSock = (APPSocket*)sock;
int rv;
struct stat statbuf;
if (!cmSock->isUnix) {
return CMTFailure;
}
rv = stat(cmSock->servAddr.sun_path, &statbuf);
if (rv < 0) {
goto loser;
}
if (statbuf.st_uid != geteuid()) {
goto loser;
}
return CMTSuccess;
loser:
close(cmSock->sock);
free(cmSock);
return CMTFailure;
#endif
}
size_t APP_Send(CMTSocket sock, void *buffer, size_t length)
{
APPSocket *cmSock = (APPSocket*) sock;
return send(cmSock->sock, buffer, length, 0);
}
CMTSocket APP_Select(CMTSocket *socks, int numsocks, int poll)
{
APPSocket **sockArr = (APPSocket**)socks;
SOCKET nsocks = 0;
int i, rv;
struct timeval timeout;
fd_set readfds;
#ifdef WIN32
win_startover:
#endif
FD_ZERO(&readfds);
for (i=0; i<numsocks; i++) {
FD_SET(sockArr[i]->sock, &readfds);
if (sockArr[i]->sock > nsocks) {
nsocks = sockArr[i]->sock;
}
}
if (poll) {
timeout.tv_sec = 0;
timeout.tv_usec = 0;
}
rv = select(nsocks+1, &readfds, NULL, NULL, (poll) ? &timeout : NULL);
#ifdef WIN32
/* XXX Win95/98 Bug (Q177346)
* select() with no timeout might return even if there is no data
* pending or no error has occurred. To get around this problem,
* we loop if these erroneous conditions happen.
*/
if (poll == 0 && rv == 0) {
goto win_startover;
}
#endif
/* Figure out which socket was selected */
if (rv == -1 || rv == 0) {
goto loser;
}
for (i=0; i<numsocks; i++) {
if (FD_ISSET(sockArr[i]->sock, &readfds)) {
return (CMTSocket)sockArr[i];
}
}
loser:
return NULL;
}
size_t APP_Receive(CMTSocket sock, void *buffer, size_t bufSize)
{
APPSocket *cmSock = (APPSocket*)sock;
return recv(cmSock->sock, buffer, bufSize, 0);
}
CMTStatus APP_Shutdown(CMTSocket sock)
{
APPSocket *cmSock = (APPSocket*)sock;
int rv;
rv = shutdown(cmSock->sock, 1);
return (rv == 0) ? CMTSuccess : CMTFailure;
}
CMTStatus APP_Close(CMTSocket sock)
{
APPSocket *cmSock = (APPSocket*)sock;
int rv;
#ifdef XP_UNIX
rv = close(cmSock->sock);
#else
rv = closesocket(cmSock->sock);
#endif
free(cmSock);
return (rv == 0) ? CMTSuccess : CMTFailure;
}

View File

@@ -1,69 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#ifndef _APPSOCK_H_
#define _APPSOCK_H_
#include "cmtcmn.h"
#ifdef XP_UNIX
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/un.h>
#include <sys/stat.h>
typedef int SOCKET;
#endif
typedef struct APPSocketStr {
SOCKET sock;
int isUnix;
#ifdef XP_UNIX
struct sockaddr_un servAddr;
#endif
} APPSocket;
extern CMT_SocketFuncs socketFuncs;
CMTStatus APP_Close(CMTSocket sock);
CMTStatus APP_Shutdown(CMTSocket sock);
size_t APP_Receive(CMTSocket sock, void *buffer, size_t bufSize);
CMTSocket APP_Select(CMTSocket *socks, int numsocks, int poll);
size_t APP_Send(CMTSocket sock, void *buffer, size_t length);
CMTStatus APP_VerifyUnixSocket(CMTSocket sock);
CMTStatus APP_Connect(CMTSocket sock, short port, char *path);
CMTSocket APP_GetSocket(int unixSock);
#endif /* _APPSOCK_H_ */

View File

@@ -1,44 +0,0 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#
# Override TARGETS variable so that only static libraries
# are specifed as dependencies within rules.mk.
#
TARGETS = $(PROGRAM)
SHARED_LIBRARY =
IMPORT_LIBRARY =
PURE_LIBRARY =
LIBRARY =

View File

@@ -1,52 +0,0 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
CORE_DEPTH = ../../../../..
# MODULE public and private header directories are implicitly REQUIRED.
MODULE = cmtsample
EXPORTS = \
$(NULL)
CSRCS = \
sample.c \
appsock.c \
$(NULL)
INCLUDES += -I../../protocol -I..
# The MODULE is always implicitly required.
# Listing it here in REQUIRES makes it appear twice in the cc command line.
REQUIRES = security
PROGRAM = cmtsample

View File

@@ -1,346 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#include "cmtcmn.h"
#include "cmtjs.h"
#include "appsock.h"
#include <stdarg.h>
#include <string.h>
#ifdef XP_UNIX
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#endif
#ifdef WIN32
#include <direct.h>
#endif
/*
* This is a simple program that tries to detect if the psm server is loaded.
* If the server is not loaded, it will start it. The program will then
* connect to the server and fetch an HTML page from an SSL server.
*
* NOTE: This sample program does not implement a mutex for the libraries.
* If implementing a threaded application, then pass in a mutex structure
* so that connections to the psm server happen in a thread safe manner.
*/
#define NUM_CONNECT_TRIES 10
#define READ_BUFFER_SIZE 1024
void
usage(void)
{
printf("Usage:\n"
"\tcmtsample <secure site>\n\n"
"This program will then echo the retrieved HTML to the screen\n");
}
void
errorMessage(int err,char *msg, ...)
{
va_list args;
va_start(args, msg);
fprintf (stderr, "cmtSample%s: ", (err) ? " error" : "");
vfprintf (stderr, msg, args);
fprintf (stderr, "\n");
va_end(args);
if (err) {
exit (err);
}
}
#ifdef XP_UNIX
#define FILE_PATH_SEPARATOR '/'
#elif defined (WIN32)
#define FILE_PATH_SEPARATOR '\\'
#else
#error Tell me what the file path separator is.
#endif
PCMT_CONTROL
connect_to_psm(void)
{
PCMT_CONTROL control=NULL;
char path[256], *tmp;
#ifdef XP_UNIX
if (getcwd(path,256) == NULL) {
return NULL;
}
#elif defined(WIN32)
if (_getcwd(path,256) == NULL) {
return NULL;
}
#else
#error Teach me how to get the current working directory.
#endif
tmp = &path[strlen(path)];
sprintf(tmp,"%c%s", FILE_PATH_SEPARATOR, "psm");
return CMT_EstablishControlConnection(path, &socketFuncs, NULL);
}
#define HTTPS_STRING "https://"
char*
extract_host_from_url(char *url)
{
char *start, *end, *retString=NULL;
while(isspace(*url)) {
url++;
}
url = strdup(url);
start = strstr(url, HTTPS_STRING);
if (start == NULL) {
return NULL;
}
start += strlen(HTTPS_STRING);
/*
* Figure out the end of the host name.
*/
end = strchr(start, ':');
if (end != NULL) {
*end = '\0';
} else {
end = strchr(start, '/');
if (end != NULL) {
*end = '\0';
} else {
end = strchr(start, ' ');
if (end != NULL) {
*end = '\0';
}
}
}
retString = strdup(start);
return retString;
}
CMUint32
get_port_from_url(char *url)
{
char *colon, *port;
url = strdup(url);
colon = strrchr(url, ':');
if (colon == NULL ||
!isdigit(colon[1])) {
/* Return the default SSL port. */
free(url);
return 443;
}
colon++;
port = colon;
while(isdigit(*colon))
colon++;
colon[1] = '\0';
free(url);
return (CMUint32)atol(port);
}
char*
extract_get_target(char *url)
{
char *slash;
slash = strstr(url, "//");
slash += 2;
slash = strchr(slash, '/');
if (slash != NULL)
return strdup (slash);
else
return strdup ("/");
}
/*
* We'll use this function for prompting for a password.
*/
char*
passwordCallback(void *arg, char *prompt, void *cotext, int isPaswd)
{
char input[256];
printf(prompt);
fgets(input, 256, stdin);
return strdup(input);
}
void
freeCallback(char *userInput)
{
free (userInput);
}
#define NUM_PREFS 2
int
main(int argc, char **argv)
{
PCMT_CONTROL control;
CMTSocket sock, selSock;
char *hostname;
struct hostent *host;
char *ipAddress;
char buffer[READ_BUFFER_SIZE];
size_t bytesRead;
struct sockaddr_in destAddr;
char *getString;
char requestString[256];
char *profile;
CMTSetPrefElement prefs[NUM_PREFS];
char profileDir[256];
#ifdef WIN32
WORD WSAVersion = 0x0101;
WSADATA WSAData;
WSAStartup (WSAVersion, &WSAData);
#endif
if (argc < 2) {
usage();
return 1;
}
errorMessage (0,"cmtsample v1.0");
errorMessage (0,"Will try connecting to site %s", argv[1]);
if (strstr(argv[1], "https://") == NULL) {
errorMessage(2,"%s is not a secure site", argv[1]);
}
control = connect_to_psm();
if (control == NULL) {
errorMessage(3, "Could not connect to the psm server");
}
/*
* Now we have to send the hello message.
*/
#ifdef WIN32
profile = strdup("default");
sprintf(profileDir,"%s", "c:\\default");
#elif defined (XP_UNIX)
profile = getenv("LOGNAME");
sprintf(profileDir, "%s/.netscape", getenv("HOME"));
#else
#error Teach me how to fill in the user profile.
#endif
if (CMT_Hello(control, PROTOCOL_VERSION,
profile, profileDir) != CMTSuccess)
{
errorMessage(10, "Failed to send the Hello Message.");
}
CMT_SetPromptCallback(control, passwordCallback, NULL);
CMT_SetAppFreeCallback(control, freeCallback);
/*
* Now pass along some preferences to psm. We'll pass hard coded
* ones here, but apps should figure out a way to manage their user's
* preferences.
*/
prefs[0].key = "security.enable_ssl2";
prefs[0].value = "true";
prefs[0].type = CMT_PREF_BOOL;
prefs[1].key = "security.enable_ssl3";
prefs[1].value = "true";
prefs[1].type = CMT_PREF_BOOL;
CMT_PassAllPrefs(control, NUM_PREFS, prefs);
hostname = extract_host_from_url(argv[1]);
host = gethostbyname(hostname);
if (host == NULL) {
errorMessage(11, "gethostbyname for %s failed", hostname);
}
if (host->h_length != 4) {
errorMessage(4, "Site %s uses IV v6 socket. Not supported by psm.");
}
/* Create the socket we will use to get the decrypted data back from
* the psm server.
*/
sock = APP_GetSocket(0);
if (sock == NULL) {
errorMessage(5, "Could not create new socket for communication with "
"the psm server.");
}
memcpy(&(destAddr.sin_addr.s_addr), host->h_addr, host->h_length);
ipAddress = inet_ntoa(destAddr.sin_addr);
errorMessage(0, "Mapped %s to the following IP address: %s", argv[1],
ipAddress);
if (CMT_OpenSSLConnection(control, sock, SSM_REQUEST_SSL_DATA_SSL,
get_port_from_url(argv[1]), ipAddress,
hostname, CM_FALSE, NULL) != CMTSuccess) {
errorMessage(6, "Could not open SSL connection to %s.", argv[1]);
}
getString = extract_get_target(argv[1]);
sprintf(requestString,
"GET %s HTTP/1.0\r\n"
"\r\n", getString, hostname);
APP_Send(sock, requestString, strlen(requestString));
/*
* Now all we have to do is sit here and fetch the data from the
* socket.
*/
errorMessage (0, "About to print out the fetched page.");
while ((selSock=APP_Select(&sock, 1, 0)) != NULL) {
if (selSock == sock) {
bytesRead = APP_Receive(sock, buffer, READ_BUFFER_SIZE-1);
if (bytesRead == -1 || bytesRead == 0) {
break;
}
buffer[bytesRead] = '\0';
fprintf(stderr, buffer);
}
}
fprintf(stderr,"\n");
if (bytesRead == -1) {
errorMessage(7, "Error receiving decrypted data from psm.");
}
errorMessage(0, "Successfully read the entire page.");
if (CMT_DestroyDataConnection(control, sock) != CMTSuccess) {
errorMessage(8, "Error destroygin the SSL data connection "
"with the psm server.");
}
if (CMT_CloseControlConnection(control) != CMTSuccess) {
errorMessage(9, "Error closing the control connection.");
}
return 0;
}

View File

@@ -1,99 +0,0 @@
/*
* 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 Netscape security libraries.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1994-2000 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 or later (the
* "GPL"), in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your
* version of this file only under the terms of the GPL and not to
* allow others to use your version of this file under the MPL,
* indicate your decision by deleting the provisions above and
* replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient
* may use your version of this file under either the MPL or the
* GPL.
*/
#include "cmt.h"
CMTStatus myCallback(CMTControl * control, CMTItem * event, void * arg);
int main(int argc, char ** argv)
{
CMTItem * msg, * event = NULL;
CMTStatus status;
int socket, datasocket;
int sent;
CMTControl * connect;
char * buffer = "some weird text that I feel like passing to server";
connect = CMT_ControlConnect(myCallback, event);
msg = CMT_ConstructMessage(10);
msg->type = (int)CMTClientMessage;
sprintf((char *)msg->data, "first msg!");
status = CMT_SendMessage(connect, msg, event);
if (status != SECSuccess)
perror("CMT_SendMessage");
CMT_FreeEvent(event);
event = NULL;
sprintf((char *)msg->data, "second msg");
status = CMT_SendMessage(connect, msg, event);
if (status != SECSuccess)
perror("CMT_SendMessage");
datasocket = CMT_DataConnect(connect, NULL);
if (datasocket < 0)
perror("CMT_DataConnect");
sent = write(datasocket, (void *)buffer, strlen(buffer));
sent = write(datasocket, (void *)buffer, strlen(buffer));
close(datasocket);
msg->type = (int)CMTClientMessage;
sprintf((char *)msg->data, "third msg!");
status = CMT_SendMessage(connect, msg, event);
if (status != SECSuccess)
perror("CMT_SendMessage");
status = CMT_CloseControlConnection(connect);
if (status != SECSuccess)
perror("CMT_CloseControl");
CMT_FreeMessage(msg);
CMT_FreeEvent(event);
}
CMTStatus myCallback(CMTControl * control, CMTItem * event, void * arg)
{
if (event)
printf("Event received is : type %d, data %s\n", event->type, event->data);
else printf("No event!\n");
if (arg)
printf("Arg is %s\n", (char *)arg);
else printf("No arg!\n");
return SECSuccess;
}

View File

@@ -1,3 +0,0 @@
#include "MacPrefix.h"

View File

@@ -1,2 +0,0 @@
#include "MacPrefix_debug.h"

View File

@@ -1,43 +0,0 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#
CORE_DEPTH = ../..
DEPTH = ../..
DIRS = protocol client
#
# these dirs are not built at the moment
#
#NOBUILD_DIRS = jar

View File

@@ -1,3 +0,0 @@
obscure.h
rsrcids.h
ssmdefs.h

View File

@@ -1,74 +0,0 @@
#! gmake
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#######################################################################
# (1) Include initial platform-independent assignments (MANDATORY). #
#######################################################################
include manifest.mn
#######################################################################
# (2) Include "global" configuration information. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/config.mk
#######################################################################
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
include config.mk
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/rules.mk
#######################################################################
# (6) Execute "component" rules. (OPTIONAL) #
#######################################################################
#######################################################################
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################

View File

@@ -1,64 +0,0 @@
#! gmake
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
DEPTH = ../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = protocol
MODULE = security
EXPORTS = \
protocol.h \
protocolf.h \
protocolport.h \
protocolnspr20.h \
protocolshr.h \
ssmdefs.h \
rsrcids.h \
messages.h \
newproto.h \
$(NULL)
CSRCS = newproto.c \
templates.c \
protocolshr.c \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@@ -1,44 +0,0 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
#
# Override TARGETS variable so that only static libraries
# are specifed as dependencies within rules.mk.
#
TARGETS = $(LIBRARY)
SHARED_LIBRARY =
IMPORT_LIBRARY =
PURE_LIBRARY =
PROGRAM =

View File

@@ -1,124 +0,0 @@
#//
#// 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 Netscape security libraries.
#//
#// The Initial Developer of the Original Code is Netscape
#// Communications Corporation. Portions created by Netscape are
#// Copyright (C) 1994-2000 Netscape Communications Corporation. All
#// Rights Reserved.
#//
#// Contributor(s):
#//
#// Alternatively, the contents of this file may be used under the
#// terms of the GNU General Public License Version 2 or later (the
#// "GPL"), in which case the provisions of the GPL are applicable
#// instead of those above. If you wish to allow use of your
#// version of this file only under the terms of the GPL and not to
#// allow others to use your version of this file under the MPL,
#// indicate your decision by deleting the provisions above and
#// replace them with the notice and other provisions required by
#// the GPL. If you do not delete the provisions above, a recipient
#// may use your version of this file under either the MPL or the
#// GPL.
#//
IGNORE_MANIFEST=1
#//------------------------------------------------------------------------
#//
#// Makefile to build the ssl library
#//
#//------------------------------------------------------------------------
!if "$(MOZ_BITS)" == "16"
!ifndef MOZ_DEBUG
OPTIMIZER=-Os -UDEBUG -DNDEBUG
!endif
!endif
#//------------------------------------------------------------------------
#//
#// Specify the depth of the current directory relative to the
#// root of NS
#//
#//------------------------------------------------------------------------
DEPTH= ..\..\..\..
!ifndef MAKE_OBJ_TYPE
MAKE_OBJ_TYPE=EXE
!endif
#//------------------------------------------------------------------------
#//
#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
#//
#//------------------------------------------------------------------------
LIBNAME=protocol
PDBFILE=$(LIBNAME).pdb
LINCS = -I$(PUBLIC)\security \
-I$(PUBLIC)\nspr \
-I$(DEPTH)\include \
-I..\include
!ifndef OS_CONFIG
OS_CONFIG = WIN$(MOZ_BITS)
!endif
LCFLAGS = -DEXPORT_VERSION -DLIB_BUILD
#//------------------------------------------------------------------------
#//
#// Define the files necessary to build the target (ie. OBJS)
#//
#//------------------------------------------------------------------------
OBJS= \
.\$(OBJDIR)\newproto.obj \
.\$(OBJDIR)\templates.obj \
.\$(OBJDIR)\protocolshr.obj \
$(NULL)
#//------------------------------------------------------------------------
#//
#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
#// (these must be defined before the common makefiles are included)
#//
#//------------------------------------------------------------------------
LIBRARY=.\$(OBJDIR)\$(LIBNAME).lib
#//------------------------------------------------------------------------
#//
#// install headers
#//
#//------------------------------------------------------------------------
INSTALL_DIR=$(PUBLIC)\security
INSTALL_FILE_LIST= protocol.h \
protocolf.h \
protocolport.h \
protocolnspr20.h \
protocolshr.h \
ssmdefs.h \
rsrcids.h \
messages.h \
newproto.h \
$(NULL)
#//------------------------------------------------------------------------
#//
#// Include the common makefile rules
#//
#//------------------------------------------------------------------------
include <$(DEPTH)/config/rules.mak>
install:: $(LIBRARY)
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
export:: INSTALL_FILES

View File

@@ -1,65 +0,0 @@
#
# 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 Netscape security libraries.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1994-2000 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 or later (the
# "GPL"), in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your
# version of this file only under the terms of the GPL and not to
# allow others to use your version of this file under the MPL,
# indicate your decision by deleting the provisions above and
# replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient
# may use your version of this file under either the MPL or the
# GPL.
#
CORE_DEPTH = ../../..
EXPORTS = \
protocol.h \
protocolf.h \
protocolport.h \
protocolnspr20.h \
protocolshr.h \
ssmdefs.h \
rsrcids.h \
messages.h \
newproto.h \
$(NULL)
MODULE = security
CSRCS = newproto.c \
protocolshr.c \
templates.c \
$(NULL)
ifeq ($(subst /,_,$(shell uname -s)),OS2)
CSRCS += os2_rand.c
endif
# mac_rand.c
# unix_rand.c
# win_rand.c
# prelib.c
REQUIRES = security dbm nspr
LIBRARY_NAME = protocol

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