Compare commits

..

4333 Commits

Author SHA1 Message Date
thayes%netscape.com
4127f7ed92 Initialize reply message structure.
git-svn-id: svn://10.0.0.236/branches/sdr_1@70179 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:43:20 +00:00
thayes%netscape.com
fc8cd8ebd2 Add ctx argumeent to SDR calls. This value will be returned (eventually) to
applications on password requests.


git-svn-id: svn://10.0.0.236/branches/sdr_1@70175 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:34:47 +00:00
thayes%netscape.com
26ed09faf4 Change protocol for SDR to include ctx pointer
git-svn-id: svn://10.0.0.236/branches/sdr_1@70157 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 23:07:21 +00:00
thayes%netscape.com
14e542e142 Add change-password protocol and client function
git-svn-id: svn://10.0.0.236/branches/sdr_1@70001 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 05:51:56 +00:00
(no author)
fe9b32e930 This commit was manufactured by cvs2svn to create branch 'sdr_1'.
git-svn-id: svn://10.0.0.236/branches/sdr_1@69858 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:56:32 +00:00
dougt%netscape.com
fa6759956f Updating project to build with standalone nlsLayer.
git-svn-id: svn://10.0.0.236/trunk@69856 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:56:30 +00:00
mcgreer%netscape.com
90253d80b6 Changed DestroyContext functions so that freeit means free everything or free nothing, not just the context pointer.
git-svn-id: svn://10.0.0.236/trunk@69855 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:54:35 +00:00
ducarroz%netscape.com
16c7dfc988 Fix for bug 38775. Don't use an id for the popup menu else we wont be able to deal with multiple autocomplete fields on the same window.
git-svn-id: svn://10.0.0.236/trunk@69854 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:52:21 +00:00
rhp%netscape.com
3110d0a7ca NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@69853 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:50:31 +00:00
rickg%netscape.com
cacb0ab510 removed warnings
git-svn-id: svn://10.0.0.236/trunk@69852 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:49:38 +00:00
ssu%netscape.com
370857c10c fixing bug 37910 and 39105
git-svn-id: svn://10.0.0.236/trunk@69851 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:42:12 +00:00
rhp%netscape.com
dfb6d7bd83 Fix for memory leak - Bug #35801 - r: jefft
git-svn-id: svn://10.0.0.236/trunk@69850 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:40:07 +00:00
roeber%netscape.com
e40cd096d8 First checkin of database module
git-svn-id: svn://10.0.0.236/trunk@69849 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:39:58 +00:00
ducarroz%netscape.com
228443b476 Force close the popup menu when we finnish to autocomplete (typically after the user press return). Also did some cleanup
git-svn-id: svn://10.0.0.236/trunk@69848 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:39:25 +00:00
rickg%netscape.com
44ebbe32f8 fixed edge case in entity reduction code
git-svn-id: svn://10.0.0.236/trunk@69847 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:37:01 +00:00
mscott%netscape.com
f9211ed0e5 Bug #31058 --> get the folder charset from the url if it supports nsImsgI18NUrl and use this charset as the default charset for the current
message we are trying to display.


git-svn-id: svn://10.0.0.236/trunk@69846 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:36:28 +00:00
jdunn%netscape.com
2bd69fa3c3 adding -lXt to LDOPTS for platforms that define MOZ_MONOLITHIC_TOOLKIT
git-svn-id: svn://10.0.0.236/trunk@69845 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:36:05 +00:00
mscott%netscape.com
f90a5a1e93 Bug #31058 -->synch with api change for get URI
git-svn-id: svn://10.0.0.236/trunk@69844 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:35:17 +00:00
mscott%netscape.com
9e48918833 Bug #31058 -->Add nsIMsgI18NUrl and Get/Set URI support.
set the URI for the imap url if we have one.


git-svn-id: svn://10.0.0.236/trunk@69843 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:34:54 +00:00
rods%netscape.com
6dee1ba054 remoaved button
git-svn-id: svn://10.0.0.236/trunk@69842 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:34:42 +00:00
mscott%netscape.com
cb548a34bb Bug #31058 -->Add nsIMsgI18NUrl and Get/Set URI support.
git-svn-id: svn://10.0.0.236/trunk@69841 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:34:33 +00:00
mscott%netscape.com
ce8a7cf85d Bug #31058 -->Add nsIMsgI18NUrl and Get/Set URI support.
set the URI for the url.


git-svn-id: svn://10.0.0.236/trunk@69840 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:34:18 +00:00
rods%netscape.com
0511841c5f added nsSVGPathFrame
git-svn-id: svn://10.0.0.236/trunk@69839 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:34:00 +00:00
mscott%netscape.com
30e83e0ad5 Bug #31058 --> add a new I18N url interface for storing charset information.
modify nsIMsgMesageURI to allow you to set a URI for a url.


git-svn-id: svn://10.0.0.236/trunk@69838 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:33:37 +00:00
jst%netscape.com
912f82de3a Checking in DOM Level 2 version of the DOM interface Element.
git-svn-id: svn://10.0.0.236/trunk@69837 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:31:55 +00:00
alecf%netscape.com
182037787c fix typo which was preventing new search terms from being appended
git-svn-id: svn://10.0.0.236/trunk@69836 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:29:38 +00:00
jdunn%netscape.com
75164efd32 adding -lXt to the LDOPTS since we need to resolve Xt calls
AIX requires this!


git-svn-id: svn://10.0.0.236/trunk@69835 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:29:22 +00:00
alecf%netscape.com
61244f6db9 fix typo which was preventing search rows without associated searchterms from saving
git-svn-id: svn://10.0.0.236/trunk@69834 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:28:52 +00:00
sfraser%netscape.com
5cee9b1889 Make XBL work for HTML elements. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@69833 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:25:02 +00:00
brendan%mozilla.org
d699297b9f Common a string literal (js_call_str; r=shaver).
git-svn-id: svn://10.0.0.236/trunk@69832 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:21:05 +00:00
erik%netscape.com
4e9d577664 bug 27378; be more specific when selecting fonts by including the foundry
field (and charset fields)


git-svn-id: svn://10.0.0.236/trunk@69831 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:16:52 +00:00
erik%netscape.com
b3271d3d97 bugs 20959, 27378, 30856, 31013; make font selection more specific by
including the foundry field (and charset fields); try names like "Times
New Roman" first, before aliasing it to "times"


git-svn-id: svn://10.0.0.236/trunk@69830 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:15:55 +00:00
mscott%netscape.com
656365af83 Bug #37509 --> if a folder doesn't have a charset, then get it from
the pref: mailnews.view_default_charset


git-svn-id: svn://10.0.0.236/trunk@69829 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:11:28 +00:00
erik%netscape.com
160461088a added some lang groups that were missing
git-svn-id: svn://10.0.0.236/trunk@69828 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:07:42 +00:00
jefft%netscape.com
7a09fe4664 added empty trash on exit pref for pop3 server
git-svn-id: svn://10.0.0.236/trunk@69827 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:07:08 +00:00
erik%netscape.com
f8112bc917 removing unused file
git-svn-id: svn://10.0.0.236/trunk@69826 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:06:02 +00:00
erik%netscape.com
5ceeefe014 removing unneeded "Unicode" and "Bitstream Cyberbit" aliases (there is no
font called "Unicode" anyway)


git-svn-id: svn://10.0.0.236/trunk@69825 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:05:06 +00:00
brendan%mozilla.org
8ffee9e13e Remove deadwood brought to my attention by tlundeen@webcrossing.com (r=shaver).
git-svn-id: svn://10.0.0.236/trunk@69824 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:04:41 +00:00
brendan%mozilla.org
0effc45ae2 Fix stupid 0-for-enumerator-equal-to-0 warning (r=shaver).
git-svn-id: svn://10.0.0.236/trunk@69823 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:03:13 +00:00
nhotta%netscape.com
153bea0ce4 Revert the last change (1.62) of striping off TAB which should not be done in MIME decoder, MIME_StripContinuations does this instead.
git-svn-id: svn://10.0.0.236/trunk@69822 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 20:03:04 +00:00
dougt%netscape.com
e96a25651f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@69821 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:59:01 +00:00
dougt%netscape.com
661b4f6cf9 Updating project file. NOT IN BUILD.
git-svn-id: svn://10.0.0.236/trunk@69820 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:42:19 +00:00
erik%netscape.com
7e1c431935 bug 27164; need to multiply line-height by font's em square height, not
bounding box height; r=buster


git-svn-id: svn://10.0.0.236/trunk@69819 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:40:42 +00:00
rayw%netscape.com
126369b22d Added an observer to autoregistration, which allows a callback during that
part of startup to advance a progress display, per bug 35866.

I did not get the code actually reviewed, but I discussed it, and tested it
for breakage.  Other developers must register for the observer before it can
be ascertained whether it performs as advertized.


git-svn-id: svn://10.0.0.236/trunk@69818 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:28:12 +00:00
jst%netscape.com
1be79694ec Fixing build bustage if PR_LOGGING was defined.
git-svn-id: svn://10.0.0.236/trunk@69817 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:15:14 +00:00
waterson%netscape.com
40c47054de Bug 39305. Do not add 'xmlns=' and 'xmlns:foo=' as properties to the RDF graph.
git-svn-id: svn://10.0.0.236/trunk@69816 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:12:14 +00:00
slamm%netscape.com
2b5f45f545 fix typo.
git-svn-id: svn://10.0.0.236/trunk@69815 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:04:27 +00:00
tor%cs.brown.edu
4b7377e099 SUNWspro4.2 bustage: move CElement::GetElement() definition
before its use so the compiler doesn't choke trying to inline it.
Bug 39294. r=bruce


git-svn-id: svn://10.0.0.236/trunk@69814 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:03:25 +00:00
jst%netscape.com
ed37b283d8 Adding support for document.createElementNS() for XUL documents.
git-svn-id: svn://10.0.0.236/trunk@69813 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:02:30 +00:00
sfraser%netscape.com
2b5f698903 Fix warnings.
git-svn-id: svn://10.0.0.236/trunk@69812 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:00:55 +00:00
tor%cs.brown.edu
667903813d SUNWspro5.0 bustage fix: add "const" in a couple places to keep
the compiler happy.  Patch from tomi.leppikangas@oulu.fi, r=tor


git-svn-id: svn://10.0.0.236/trunk@69811 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:00:43 +00:00
sfraser%netscape.com
7cc03763f5 Fix typo -- "public:;"
git-svn-id: svn://10.0.0.236/trunk@69810 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:00:32 +00:00
morse%netscape.com
c09210d2b9 fix clipping problem of OK/Cancel buttons
git-svn-id: svn://10.0.0.236/trunk@69809 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 19:00:05 +00:00
slamm%netscape.com
fd1ff543e9 Change the main regex to a multline regex with comments (using m{}x). Allow for no space between '(' and means.
git-svn-id: svn://10.0.0.236/trunk@69808 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 18:10:46 +00:00
mscott%netscape.com
696a201e07 backing out rayw's checkin because the tree WAS CLOSED! Shame on you =).
git-svn-id: svn://10.0.0.236/trunk@69807 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 18:07:36 +00:00
modgock%eng.sun.com
806b192a26 fix for bug #39221
git-svn-id: svn://10.0.0.236/trunk@69806 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 17:46:53 +00:00
rayw%netscape.com
b1e151b6e3 I needed to add a better comment for the prior version I checked in.
Bug 3690, I added the native character writing / escaping logic to
the javascript components as it was added to native components.

r=dveditz


git-svn-id: svn://10.0.0.236/trunk@69805 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 17:29:20 +00:00
rayw%netscape.com
0c6faf26f0 The remaining fix for international characters in component names.
git-svn-id: svn://10.0.0.236/trunk@69804 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 17:26:18 +00:00
jefft%netscape.com
585086c59c fixed bug 16244, 35704 - empty trash on exit for Pop3 and Imap
git-svn-id: svn://10.0.0.236/trunk@69803 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:55:22 +00:00
mjudge%netscape.com
a2fa84bf54 not in build still getting ender-lite off ground
git-svn-id: svn://10.0.0.236/trunk@69802 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:34:20 +00:00
mjudge%netscape.com
6a58aacae2 removing comment on code
git-svn-id: svn://10.0.0.236/trunk@69801 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:25:52 +00:00
mjudge%netscape.com
ee1697846e not in build
git-svn-id: svn://10.0.0.236/trunk@69800 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:24:53 +00:00
mjudge%netscape.com
a06e039410 typedef before switch gets thrown
git-svn-id: svn://10.0.0.236/trunk@69799 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:24:02 +00:00
brade%netscape.com
e7cbb3fca1 move from DragContentLink to BeginDragContentArea for drag gesture
git-svn-id: svn://10.0.0.236/trunk@69798 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:23:23 +00:00
mjudge%netscape.com
3252ce878c legal changes
git-svn-id: svn://10.0.0.236/trunk@69797 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:22:03 +00:00
brade%netscape.com
8c6a636718 don't require pref; lower case tag names
git-svn-id: svn://10.0.0.236/trunk@69796 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:21:58 +00:00
brade%netscape.com
ddc0384e5a add some tooltips that were missing
git-svn-id: svn://10.0.0.236/trunk@69795 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:19:33 +00:00
mjudge%netscape.com
82191df631 fixing legal issues
git-svn-id: svn://10.0.0.236/trunk@69794 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:19:25 +00:00
mjudge%netscape.com
6a5229782e fixing output from selection piece
git-svn-id: svn://10.0.0.236/trunk@69793 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:18:30 +00:00
brade%netscape.com
938ccd7d31 add some more tooltips which weren't added earlier
git-svn-id: svn://10.0.0.236/trunk@69792 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:17:34 +00:00
brade%netscape.com
1ca0d9924f add tooltip to editfield
git-svn-id: svn://10.0.0.236/trunk@69791 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:16:20 +00:00
brade%netscape.com
adb054995b add tooltip to advanced button (ugh)
git-svn-id: svn://10.0.0.236/trunk@69790 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:15:43 +00:00
jst%netscape.com
63ee09a339 Fix .innerHTML regression (from the XIF converter update), and add a null document check.
git-svn-id: svn://10.0.0.236/trunk@69789 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:07:36 +00:00
dcone%netscape.com
6775ad1391 Fixed ScaleX and ScaleY to handle identity matrix, based on O'Callahan patch.
git-svn-id: svn://10.0.0.236/trunk@69788 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 14:06:18 +00:00
jst%netscape.com
c46f0679b3 nsString --> nsAutoString changes.
git-svn-id: svn://10.0.0.236/trunk@69787 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 13:50:52 +00:00
scc%netscape.com
380575cb21 string fixes
git-svn-id: svn://10.0.0.236/trunk@69786 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 13:26:17 +00:00
dbaron%fas.harvard.edu
65a4685f64 Fix AtomImpl leaks (includes bug 32608). r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69785 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 13:12:27 +00:00
dbaron%fas.harvard.edu
fa23af6946 Fix leak of namespace manager. r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69784 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 13:11:06 +00:00
dbaron%fas.harvard.edu
d2082dfc31 Count some classes for the leak stats. r=warren@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69783 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 13:10:18 +00:00
scc%netscape.com
14aeb82131 patch from Joerg Brunsmann to fix bug #39268. r=scc
git-svn-id: svn://10.0.0.236/trunk@69782 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 12:57:21 +00:00
scc%netscape.com
cc35a79a5c string fixes
git-svn-id: svn://10.0.0.236/trunk@69781 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 12:50:31 +00:00
scc%netscape.com
2817f0d436 string fixes
git-svn-id: svn://10.0.0.236/trunk@69780 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 12:47:57 +00:00
scc%netscape.com
1eba7b6bbe string fixes
git-svn-id: svn://10.0.0.236/trunk@69779 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 12:41:16 +00:00
scc%netscape.com
23c0cd460f string fixes
git-svn-id: svn://10.0.0.236/trunk@69778 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 12:33:01 +00:00
ben%netscape.com
7fcde7c43e fix sizing problem on unchecked checkbox
git-svn-id: svn://10.0.0.236/trunk@69777 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 12:25:58 +00:00
scc%netscape.com
4e1acfee9b string fixes
git-svn-id: svn://10.0.0.236/trunk@69776 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 12:20:49 +00:00
jfrancis%netscape.com
075f3b1999 fixing list toolbar button updating...
git-svn-id: svn://10.0.0.236/trunk@69775 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 11:50:49 +00:00
hyatt%netscape.com
b1cf7fa2fb Fix progressmeter styles.
git-svn-id: svn://10.0.0.236/trunk@69774 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 09:42:26 +00:00
scc%netscape.com
578b1917ba circular include logic defeated me ... protect the new operator definitions locally
git-svn-id: svn://10.0.0.236/trunk@69773 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 08:07:25 +00:00
rickg%netscape.com
565b77a95f enabled empty element support in StrictDTD
git-svn-id: svn://10.0.0.236/trunk@69772 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:58:53 +00:00
rickg%netscape.com
4f20234171 enabled empty element support in StrictDTD
git-svn-id: svn://10.0.0.236/trunk@69771 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:52:38 +00:00
scc%netscape.com
87e4dcc1d6 oops
git-svn-id: svn://10.0.0.236/trunk@69770 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:37:18 +00:00
leaf%mozilla.org
9194028d7f Automated update
git-svn-id: svn://10.0.0.236/trunk@69769 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:30:10 +00:00
rickg%netscape.com
b2d584ed34 StrictDTD wip, and fixed bugs: 37417 and 26023
git-svn-id: svn://10.0.0.236/trunk@69768 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:28:12 +00:00
scc%netscape.com
a4547be9bd adding macros and uses to support Solaris' inability to pick operator+
git-svn-id: svn://10.0.0.236/trunk@69767 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:28:00 +00:00
rickg%netscape.com
f84570f461 fixed bugs: 37417 and 26023
git-svn-id: svn://10.0.0.236/trunk@69766 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:27:55 +00:00
dp%netscape.com
95400e4869 Updated build instructions
git-svn-id: svn://10.0.0.236/trunk@69765 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:21:12 +00:00
ben%netscape.com
8b6f90cc88 checking in support for script block children on XBL <handler> elements. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@69764 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:19:35 +00:00
waterson%netscape.com
ebc5da3a0a Add test for NEED_CPP_DERIVED_TEMPLATE_OPERATORS.
git-svn-id: svn://10.0.0.236/trunk@69763 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:18:54 +00:00
leaf%mozilla.org
a4e9dab641 Automated update
git-svn-id: svn://10.0.0.236/trunk@69762 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:15:10 +00:00
dp%netscape.com
93b286d054 xpcom standalone.
git-svn-id: svn://10.0.0.236/trunk@69761 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:04:54 +00:00
brendan%mozilla.org
f4d76ea285 Enforce interCaps Mozilla XPIDL style (r=shaver).
git-svn-id: svn://10.0.0.236/trunk@69760 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:03:46 +00:00
dp%netscape.com
4c0be90e26 xpcom standalone rules.
git-svn-id: svn://10.0.0.236/trunk@69759 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 07:03:04 +00:00
brendan%mozilla.org
5c4b53af9e Comment grammar and style fixes.
git-svn-id: svn://10.0.0.236/trunk@69758 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 06:41:00 +00:00
rginda%netscape.com
9eb614e30d munger regex modifications
git-svn-id: svn://10.0.0.236/trunk@69757 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 06:30:34 +00:00
ssu%netscape.com
a554fde0b5 fixing bug #37251.
also fixed problem with an uninstaller's dialog not being modal.

affects only windows platforms.


git-svn-id: svn://10.0.0.236/trunk@69756 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 06:23:36 +00:00
brendan%mozilla.org
13b1e5ebad Space cleanup.
git-svn-id: svn://10.0.0.236/trunk@69755 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 06:21:49 +00:00
brendan%mozilla.org
05bfc9f964 Warning abatement.
git-svn-id: svn://10.0.0.236/trunk@69754 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 06:20:14 +00:00
ssu%netscape.com
25a556e86e fixing bug 37251
removed the Uninstall folder creation from xpcom.jst.
set the windows system files that are installed as shared files.

not part of tinderbox build.


git-svn-id: svn://10.0.0.236/trunk@69753 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 06:16:26 +00:00
waterson%netscape.com
bad10238ec Bug 39089. Paint over the problem by special-casing 'javascript:' URIs. r=mscott
git-svn-id: svn://10.0.0.236/trunk@69752 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 06:14:32 +00:00
brendan%mozilla.org
f419d3b6d4 Update JS_InitClass to match signature.
git-svn-id: svn://10.0.0.236/trunk@69751 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 06:07:10 +00:00
brendan%mozilla.org
6d409a43c8 Comment the need for rooted JS_NewScriptObject; whitespace/comment cleanup.
git-svn-id: svn://10.0.0.236/trunk@69750 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 06:06:12 +00:00
rginda%netscape.com
21ae512e12 -- CHATZILLA CHANGES ONLY --
* irc.js
add ctcpTo(), ctcp() methods
forward unknown ctcp codes to onUnknownCTCP handler

* utils.js
add abbreviateWord function

* commands.js
add /ctcp command

* handler.js
make |this| refer to client.currentObject in /eval
implement /ctcp command
chop long hostnames onJoin
add onUnknownCTCP handler
redraw fixes in on366, onPart

* rdf.js
add getTreeRoot method

* static.js
comment fixes
add max word/nick display vars, implementations
updateTitle changes, show correct title based on client.currentObject
fix delete view issue
chop long nicks before displaying


git-svn-id: svn://10.0.0.236/trunk@69749 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 05:58:30 +00:00
waterson%netscape.com
d929273bc5 Fix string backsliding.
git-svn-id: svn://10.0.0.236/trunk@69748 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 05:33:26 +00:00
rhp%netscape.com
5207ba0132 NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@69747 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 05:32:20 +00:00
mjudge%netscape.com
78cd7564f7 no point in turning off the link handler if we are allready in text only mode.
git-svn-id: svn://10.0.0.236/trunk@69746 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 05:18:45 +00:00
jbetak%netscape.com
4cdefd7281 32477 Accept-Language UI
git-svn-id: svn://10.0.0.236/trunk@69745 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 05:17:44 +00:00
scc%netscape.com
d282389c10 added macro code to help define more comparison operators. Got rid of |typename|. We can live with the warnings, maybe; but windows can't digest it in this context.
git-svn-id: svn://10.0.0.236/trunk@69744 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 05:14:40 +00:00
dcone%netscape.com
2cdb288556 Fixed double drawing lines for buttons
git-svn-id: svn://10.0.0.236/trunk@69743 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:55:49 +00:00
shaver%mozilla.org
6cffd9112b fix build bustage
git-svn-id: svn://10.0.0.236/trunk@69742 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:39:47 +00:00
cmanske%netscape.com
97d27f72e7 Another tweak to table editing
git-svn-id: svn://10.0.0.236/trunk@69741 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:39:27 +00:00
cmanske%netscape.com
429c38a08e Shoud return NS_EDITOR_ELEMENT_NOT_FOUND from GetFirstSelectedCellInTable if cell not found
git-svn-id: svn://10.0.0.236/trunk@69740 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:29:10 +00:00
brendan%mozilla.org
300a69d558 Don't let the JS GC run on threads other than the main thread, where the dom and layout run.
git-svn-id: svn://10.0.0.236/trunk@69739 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:21:04 +00:00
cmanske%netscape.com
655ca23afd Minor change to JoinCells isCommandEnabled
git-svn-id: svn://10.0.0.236/trunk@69738 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:13:14 +00:00
evaughan%netscape.com
cd4a9a369b 1) Scrolling menus
2) many bug fixes
3) box debuging flags


git-svn-id: svn://10.0.0.236/trunk@69737 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 04:12:31 +00:00
brendan%mozilla.org
d2bc829802 Cleanups from tlundeen@webcrossing.com, plus fun->call=>native renaming.
git-svn-id: svn://10.0.0.236/trunk@69736 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:54:50 +00:00
shaver%mozilla.org
bcfe1cd20b more work on 37983's content-policy love, r=brendan
git-svn-id: svn://10.0.0.236/trunk@69735 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:40:40 +00:00
buster%netscape.com
25b5e3a49a added reflow notification, from Thomas Lendacky (toml@us.ibm.com)
r=buster


git-svn-id: svn://10.0.0.236/trunk@69734 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:37:21 +00:00
buster%netscape.com
fde77a8e89 adding constants for reflow notification, from Thomas Lendacky (toml@us.ibm.com)
r=buster


git-svn-id: svn://10.0.0.236/trunk@69733 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:36:34 +00:00
dbaron%fas.harvard.edu
c5b9526a60 Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@69732 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:19:53 +00:00
morse%netscape.com
96e78a22c9 minor wording change
git-svn-id: svn://10.0.0.236/trunk@69731 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:14:11 +00:00
scc%netscape.com
879df1b115 changes to fix some errors constructing autostrings from null pointers that led to crashes
git-svn-id: svn://10.0.0.236/trunk@69730 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:10:19 +00:00
hyatt%netscape.com
ebfb0669da Fumbling fumbling.
git-svn-id: svn://10.0.0.236/trunk@69729 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:09:19 +00:00
cmanske%netscape.com
8803273a98 Table editing: Join and Split cells (part of bug 20973)
git-svn-id: svn://10.0.0.236/trunk@69728 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:06:29 +00:00
cmanske%netscape.com
f96c5cdbdc Fixed problems with table editing commands. New 'All Tags' mode images and CSS from beppe (28498), added EditorSharedStart() for initialization actions common to all editor users.
git-svn-id: svn://10.0.0.236/trunk@69727 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:05:56 +00:00
cmanske%netscape.com
9b98a91beb Use EditorSharedStart() for initialization needed by mail composer
git-svn-id: svn://10.0.0.236/trunk@69726 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 03:05:39 +00:00
hyatt%netscape.com
e64c68e9c3 FLying blind. Woo hoo.
git-svn-id: svn://10.0.0.236/trunk@69725 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 02:50:42 +00:00
hyatt%netscape.com
2ccc066bc2 Better form.
git-svn-id: svn://10.0.0.236/trunk@69724 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 02:49:56 +00:00
jefft%netscape.com
59bea2bb57 added mail.server.default.empty_trash_on_exit pref
git-svn-id: svn://10.0.0.236/trunk@69723 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 02:45:47 +00:00
hyatt%netscape.com
7141d45beb Better form.
git-svn-id: svn://10.0.0.236/trunk@69722 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 02:42:37 +00:00
dveditz%netscape.com
58ab530914 bug 35036
git-svn-id: svn://10.0.0.236/trunk@69721 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 02:40:32 +00:00
dveditz%netscape.com
3d5d6eab4c removing obsolete res/xpinstall files from install
git-svn-id: svn://10.0.0.236/trunk@69720 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 02:23:49 +00:00
bryner%uiuc.edu
efa0f2876c Hook up text enlarge/reduce with ctrl+mousewheel. bug
25427.  r=erik@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@69719 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 02:10:11 +00:00
jst%netscape.com
757b271c1a More WIP on getComputedStyle(), not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@69718 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:59:05 +00:00
jst%netscape.com
04bccbd8fa Adding a very primitive readonly implementation of CSSPrimitiveValue. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@69717 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:58:26 +00:00
hyatt%netscape.com
e13add5c1e Changing convertChromeURL
git-svn-id: svn://10.0.0.236/trunk@69716 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:40:52 +00:00
hyatt%netscape.com
c3eb4a5e2a Changing convertChromeURL.
git-svn-id: svn://10.0.0.236/trunk@69715 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:40:35 +00:00
jst%netscape.com
4e40fded47 WIP for getComputedStyle().
git-svn-id: svn://10.0.0.236/trunk@69714 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:33:27 +00:00
scc%netscape.com
10f2c15f9e string fixes
git-svn-id: svn://10.0.0.236/trunk@69713 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:27:17 +00:00
waterson%netscape.com
2f3bfe1608 With NEW_STRING_APIS, turn on definition of string comparison operators to avoid accidental pointer comparisons. r=scc
git-svn-id: svn://10.0.0.236/trunk@69712 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:27:04 +00:00
alecf%netscape.com
c7f05c0de2 add support for saveTo() of search values
git-svn-id: svn://10.0.0.236/trunk@69711 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:22:39 +00:00
alecf%netscape.com
4ffbbdd73b add more/less lines and support adding new terms (doesn't QUITE work yet)
git-svn-id: svn://10.0.0.236/trunk@69710 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 01:22:07 +00:00
hyatt%netscape.com
dae0ebac37 making nightlies sane again
git-svn-id: svn://10.0.0.236/trunk@69709 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 00:48:51 +00:00
scc%netscape.com
85fcaf6e38 string fixes
git-svn-id: svn://10.0.0.236/trunk@69708 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 00:40:07 +00:00
danm%netscape.com
2ec3ab65c8 reduce goofiness level of last checkin
git-svn-id: svn://10.0.0.236/trunk@69707 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 00:36:56 +00:00
danm%netscape.com
6a8ccb4444 clear record of installed chrome at beginning of install
git-svn-id: svn://10.0.0.236/trunk@69706 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 00:26:47 +00:00
scc%netscape.com
0240bbf90c ...oops, have to comment out the body too. Sorry.
git-svn-id: svn://10.0.0.236/trunk@69705 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 00:16:30 +00:00
scc%netscape.com
c2c42ed547 commented out an |NS_WARNING| that will overwhelm you, I'll turn it into an assertion for me only, later. Also got rid of |Equals(*, int)| temporarily, as with |Compare| to catch clients who should be using |EqualsWithConversion|
git-svn-id: svn://10.0.0.236/trunk@69704 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 00:13:57 +00:00
alecf%netscape.com
a4e0615fcb add way to create a new search term from JS
git-svn-id: svn://10.0.0.236/trunk@69703 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 00:01:22 +00:00
scc%netscape.com
9da9a6e991 string fixes
git-svn-id: svn://10.0.0.236/trunk@69702 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 00:00:32 +00:00
jst%netscape.com
8593c93937 Implementing createElementNS().
git-svn-id: svn://10.0.0.236/trunk@69701 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:55:04 +00:00
alecf%netscape.com
124359bfb6 add support for saving new term elements that don't have search terms associated with them
git-svn-id: svn://10.0.0.236/trunk@69700 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:52:11 +00:00
jst%netscape.com
f5a0f1d857 More utility frunctions in nsINodeInfoManager.
git-svn-id: svn://10.0.0.236/trunk@69699 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:45:32 +00:00
alecf%netscape.com
26f2b0adf7 use QI macro
git-svn-id: svn://10.0.0.236/trunk@69698 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:34:20 +00:00
scc%netscape.com
937ea1fdff disable a not helpful warning for VC++
git-svn-id: svn://10.0.0.236/trunk@69697 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:33:05 +00:00
rhp%netscape.com
4e698712c6 Checking in code - NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@69696 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:26:00 +00:00
alecf%netscape.com
506ba66a39 switch to macro for QI accounting
git-svn-id: svn://10.0.0.236/trunk@69695 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:18:42 +00:00
alecf%netscape.com
346430e540 switch to using macros for QI/etc to enable QI accounting
git-svn-id: svn://10.0.0.236/trunk@69694 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:16:25 +00:00
alecf%netscape.com
5fe605cfb4 repair the NS_IMPL_QUERY_INTERFACE_INHERITED3 macro
git-svn-id: svn://10.0.0.236/trunk@69693 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:09:21 +00:00
scc%netscape.com
ebeba6679b string fixes
git-svn-id: svn://10.0.0.236/trunk@69692 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:06:18 +00:00
brendan%mozilla.org
601cf17c57 Forgot to check this in with the last batch!
git-svn-id: svn://10.0.0.236/trunk@69691 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:04:33 +00:00
brendan%mozilla.org
52c90059b6 GC synchronization and lock fixes, plus comments (37983, r=waterson@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@69690 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:00:51 +00:00
dp%netscape.com
a8784ff93d Including nsTestSample.cpp.
git-svn-id: svn://10.0.0.236/trunk@69689 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 22:56:53 +00:00
scc%netscape.com
7e48c62cec string fixes
git-svn-id: svn://10.0.0.236/trunk@69688 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 22:54:04 +00:00
dp%netscape.com
77b7903840 Sample XPCOM Application
git-svn-id: svn://10.0.0.236/trunk@69687 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 22:49:36 +00:00
dp%netscape.com
4bff050def Standalone xpcom.
git-svn-id: svn://10.0.0.236/trunk@69686 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 22:46:24 +00:00
scc%netscape.com
146d1274ec comment out |Compare| with a length to help find callers of the old compare function that need to become to |CompareWithConversion|.
git-svn-id: svn://10.0.0.236/trunk@69685 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 22:32:30 +00:00
ssu%netscape.com
6fb9d48858 disabled the cancel button once the user clicks Uninstall
git-svn-id: svn://10.0.0.236/trunk@69684 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 21:57:42 +00:00
morse%netscape.com
81b7144459 give feedback when allowing/blocking cookies/images
git-svn-id: svn://10.0.0.236/trunk@69683 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 21:22:31 +00:00
alecf%netscape.com
b02d709c17 move enums into IDL
git-svn-id: svn://10.0.0.236/trunk@69682 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 20:41:40 +00:00
alecf%netscape.com
4c48750303 switch to using nsCOMPtr for cleanliness
git-svn-id: svn://10.0.0.236/trunk@69681 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 20:40:04 +00:00
alecf%netscape.com
e320630245 oops, somehow I managed to forget these
git-svn-id: svn://10.0.0.236/trunk@69680 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 20:39:30 +00:00
alecf%netscape.com
a8f009cdd4 update JS folder listener to use new event API
git-svn-id: svn://10.0.0.236/trunk@69679 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 20:36:26 +00:00
alecf%netscape.com
a7111f80fa API cleanup: replace OnFolderLoaded/OnDeleteOrMoveMessageCompleted with OnItemEvent using atoms
git-svn-id: svn://10.0.0.236/trunk@69678 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 20:35:46 +00:00
morse%netscape.com
ca46b767aa fix bug 27247, OK/Cancel buttons getting clipped on cookie/signon viewer
git-svn-id: svn://10.0.0.236/trunk@69677 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 20:25:30 +00:00
morse%netscape.com
92e0e3948e fix bug 34200, dialogs are badly sized
git-svn-id: svn://10.0.0.236/trunk@69676 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 19:48:34 +00:00
alecf%netscape.com
3ce5ad690d cache the resolved chrome URL not the chrome URL, so that stringbundle caching doesn't screw with locale switching
git-svn-id: svn://10.0.0.236/trunk@69675 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 19:42:27 +00:00
jst%netscape.com
941c236798 Support wildcard ('*') for namespaceURI in getElementsByTagNameNS().
git-svn-id: svn://10.0.0.236/trunk@69674 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 19:37:40 +00:00
harishd%netscape.com
b68192bcb7 Observer base querys for nsIWebShellServices through the parser bundle...
r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@69673 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 19:25:13 +00:00
harishd%netscape.com
d9d69f2ded Enabling NOLAYERS by default ( since we don't support LAYER tag ).
r=vidur

Putting webshellservice into parser bundle for use by observer base.

r=nisheeth


git-svn-id: svn://10.0.0.236/trunk@69672 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 19:25:06 +00:00
harishd%netscape.com
1ddf9f1307 Fix for bugs:
34351 ( nsbeta2+ ) - Made webshell service available to
observer base through parser bundle.
37503,36852 ( nsbeta2+ ) - Fixed crash in Observer base...
( caused by a wrong assumtion for document key ). The key now is
always nsISupports*.
24474 - Fixed content leakage in my.netscape.com caused by a script
entity in LAYER.
31890 - Mlk fix ( patch provided by Patrick ) ( r=me )

r= nisheeth


git-svn-id: svn://10.0.0.236/trunk@69671 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 19:24:59 +00:00
ssu%netscape.com
82d4232e2a fixing bug #37232. removed Pr2/b2 from mozilla description. not part of tinderbox builds. affects only windows platforms.
git-svn-id: svn://10.0.0.236/trunk@69670 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 19:08:41 +00:00
jst%netscape.com
27b545ecc0 Adding more utility functions to nsINodeInfo.
git-svn-id: svn://10.0.0.236/trunk@69669 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 18:34:35 +00:00
dp%netscape.com
71aa4d745b Initial version
git-svn-id: svn://10.0.0.236/trunk@69668 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 18:22:11 +00:00
jst%netscape.com
b78129ad3a Implementing getElementsByTagNameNS() in the XUL document.
git-svn-id: svn://10.0.0.236/trunk@69667 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 18:14:30 +00:00
shaver%mozilla.org
4d15b8b11a remove bogus CHECK_REQUEST in JS_ClearRegexpStatics (16128)
git-svn-id: svn://10.0.0.236/trunk@69666 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 15:38:04 +00:00
michael.lowe%bigfoot.com
11d8d11a0a Add file selector types, and minor changes to cursors
git-svn-id: svn://10.0.0.236/trunk@69665 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 14:25:53 +00:00
jst%netscape.com
4c2e2d1d03 Implementing DOM hasFeature() and supports().
git-svn-id: svn://10.0.0.236/trunk@69664 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 13:08:00 +00:00
axel%pike.org
1e6769acc4 Removing $(srcdir) from CHROME variables.
r=syd@netscape.com


git-svn-id: svn://10.0.0.236/trunk@69663 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 11:17:58 +00:00
rjc%netscape.com
34bf8f3d8e Capitalize.
git-svn-id: svn://10.0.0.236/trunk@69662 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 10:50:43 +00:00
danm%netscape.com
3f0d9c47e4 correct typo in last checkin
git-svn-id: svn://10.0.0.236/trunk@69661 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 10:38:48 +00:00
danm%netscape.com
7dcea4a606 new chrome hierarchy
git-svn-id: svn://10.0.0.236/trunk@69660 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 10:37:30 +00:00
rjc%netscape.com
e4b0d97c55 Set "browser.search.mode" initial value to zero.
git-svn-id: svn://10.0.0.236/trunk@69659 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 10:12:08 +00:00
rjc%netscape.com
e3f5902b2e Add support for search modes.
git-svn-id: svn://10.0.0.236/trunk@69658 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 10:08:45 +00:00
rjc%netscape.com
1b63cb6d8b Add PR_CALLBACK.
git-svn-id: svn://10.0.0.236/trunk@69657 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 10:06:50 +00:00
rjc%netscape.com
b5458e7aca Add support for search modes.
git-svn-id: svn://10.0.0.236/trunk@69656 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 10:01:12 +00:00
michael.lowe%bigfoot.com
1a2368b436 Fix some leaks, and other problems found using BoundsChecker r=bryner@uiuc.edu
git-svn-id: svn://10.0.0.236/trunk@69655 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 09:18:43 +00:00
mcafee%netscape.com
d952c3a230 Cleaning up about:credits link (32009)
git-svn-id: svn://10.0.0.236/trunk@69654 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 08:18:19 +00:00
scc%netscape.com
64dbe462e7 string fixes
git-svn-id: svn://10.0.0.236/trunk@69653 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 08:10:00 +00:00
morse%netscape.com
a6418f2eb2 fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@69652 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 07:45:30 +00:00
morse%netscape.com
3fbc313997 use straightforward base64 encoding for obscuring
git-svn-id: svn://10.0.0.236/trunk@69651 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 07:11:56 +00:00
mcafee%netscape.com
b87ac24e36 Fixing resource URL to match danm's chrome restructuring. r=danm
git-svn-id: svn://10.0.0.236/trunk@69650 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 07:11:20 +00:00
mjudge%netscape.com
1e377ab381 adding navquirks support
git-svn-id: svn://10.0.0.236/trunk@69649 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 07:02:08 +00:00
danm%netscape.com
de082fc090 oops. removing temporary file that wouldn't have worked, anyway
git-svn-id: svn://10.0.0.236/trunk@69648 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 06:06:19 +00:00
danm%netscape.com
78b6f27be4 clear record of installed chrome at beginning of install
git-svn-id: svn://10.0.0.236/trunk@69647 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 05:53:25 +00:00
anthonyd%netscape.com
ec1076707f adding weak ptr support to EditorShellMouseListener
git-svn-id: svn://10.0.0.236/trunk@69646 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 05:52:56 +00:00
brendan%mozilla.org
357d9473e4 Set newborn to root of object tree created by literal (followup to waterson nsJSEnvironment.cpp fix).
git-svn-id: svn://10.0.0.236/trunk@69645 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 05:38:51 +00:00
brendan%mozilla.org
1cc9fce387 Avoid zero-length mallocs (prompted by ped@nospam.cadence.com).
git-svn-id: svn://10.0.0.236/trunk@69644 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 05:35:19 +00:00
hyatt%netscape.com
c44c9f89d7 toying with skin switching ui
git-svn-id: svn://10.0.0.236/trunk@69643 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 05:31:19 +00:00
leaf%mozilla.org
0269c4f502 Automated update
git-svn-id: svn://10.0.0.236/trunk@69642 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 05:30:08 +00:00
danm%netscape.com
ec3bcb9e44 correct display name
git-svn-id: svn://10.0.0.236/trunk@69641 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 05:30:00 +00:00
ssu%netscape.com
c1ca33ce6e fixed problem with files marked DO NOT UNINSTALL and still unregistering activeX file. Also fixed Are You Sure You Want To Remove The Shared File dialog to be more informative. Affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@69640 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 05:27:54 +00:00
anthonyd%netscape.com
c0177aa6b1 changed nsIDOMWindow* mContentWindow to a
nsWeakPtr mContentWindow to get around complexities with ~nsEditorShell


git-svn-id: svn://10.0.0.236/trunk@69639 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 05:27:17 +00:00
anthonyd%netscape.com
428060adbf made GlobalWindowImpl support weak ref to get around
holding on to raw pointers to windows causing problems
in destruction of windows


git-svn-id: svn://10.0.0.236/trunk@69638 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 05:26:06 +00:00
bryner%uiuc.edu
65772f6910 Removing unused #defines of MOZ_LEAKY and TRACING. r=cls.
git-svn-id: svn://10.0.0.236/trunk@69637 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 05:25:21 +00:00
ssu%netscape.com
f7889f4199 enabling the main uninstall window. Not part of tinderbox build. affects only windows platforms.
git-svn-id: svn://10.0.0.236/trunk@69636 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 05:12:40 +00:00
buster%netscape.com
98dbc47939 bugs 38396, 29429, 32471, 27390, 32581
errors in incremental calcuation of max-element-size and preferred-size


git-svn-id: svn://10.0.0.236/trunk@69635 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 04:56:25 +00:00
buster%netscape.com
8d08d0dae5 bug 38396, a bug in calculation of image width given it's height and a percent width
git-svn-id: svn://10.0.0.236/trunk@69634 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 04:46:19 +00:00
buster%netscape.com
e7bd6199bd bug 38396, a bug in max width calculation exposed by tables
git-svn-id: svn://10.0.0.236/trunk@69633 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 04:43:52 +00:00
ben%netscape.com
f1748c41cd foopy.
git-svn-id: svn://10.0.0.236/trunk@69632 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 04:37:08 +00:00
ben%netscape.com
0ffcaa4528 fix button arrow directions
git-svn-id: svn://10.0.0.236/trunk@69631 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 04:02:31 +00:00
ben%netscape.com
8e640d3171 fixing arrows
git-svn-id: svn://10.0.0.236/trunk@69630 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:58:21 +00:00
mjudge%netscape.com
60e950168b debug code for myself
git-svn-id: svn://10.0.0.236/trunk@69629 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:44:17 +00:00
mjudge%netscape.com
62cfa242f1 ender-lite looks like a real thing now
git-svn-id: svn://10.0.0.236/trunk@69628 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:41:57 +00:00
mjudge%netscape.com
5dc3b3236c updating capture code
git-svn-id: svn://10.0.0.236/trunk@69627 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:41:25 +00:00
ben%netscape.com
05799c35e6 fix 23103
git-svn-id: svn://10.0.0.236/trunk@69626 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:17:49 +00:00
bryner%uiuc.edu
047dcbb0f0 Create the offscreen buffer the size of the complete image, not just the
size that has been loaded so far.  r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@69625 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:16:43 +00:00
ben%netscape.com
2ae7b6a8b0 fix 23030
git-svn-id: svn://10.0.0.236/trunk@69624 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:15:32 +00:00
ssu%netscape.com
0985451b8a added nsInstallBitwise.cpp and nsInstallBitwise.h to the project file.
git-svn-id: svn://10.0.0.236/trunk@69623 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:07:33 +00:00
ssu%netscape.com
7f30e74836 added bit field in nsInstallFile for Windows Shared File and Do No Uninstall.
added support in fileop for registering ole server files.

changed the way logging is done in install.log to write to the log file *before* the attempt to complete() the file installation process.  This helps with debugging because is shows what file the installation probably stopped on.


git-svn-id: svn://10.0.0.236/trunk@69622 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:07:05 +00:00
ben%netscape.com
dc0f25ab51 fix 33359 per verah
git-svn-id: svn://10.0.0.236/trunk@69621 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:06:11 +00:00
suresh%netscape.com
e3e9a85b60 Adding imap tests.
git-svn-id: svn://10.0.0.236/trunk@69620 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:03:08 +00:00
ben%netscape.com
9a38e4ddbd fix 38785 (throbber url is invalid url)
git-svn-id: svn://10.0.0.236/trunk@69619 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 03:00:30 +00:00
ben%netscape.com
6cd97ee947 fix 33647 (display font size units in fonts pref panel)
git-svn-id: svn://10.0.0.236/trunk@69618 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 02:57:41 +00:00
ssu%netscape.com
7e142eb484 fixing parsing for uninstaller exe file size. Not part of tinderbox. affects only windows plaftforms.
git-svn-id: svn://10.0.0.236/trunk@69617 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 02:56:37 +00:00
ben%netscape.com
1d0c10b443 fix 37136 (Preferences titlebar reads "Foopy")
git-svn-id: svn://10.0.0.236/trunk@69616 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 02:54:49 +00:00
ben%netscape.com
8fe670c5ec fix small typo in string
git-svn-id: svn://10.0.0.236/trunk@69615 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 02:53:53 +00:00
jst%netscape.com
f35836d6c7 Don't generate code that uses internal JS functions, use the public functions in stead.
git-svn-id: svn://10.0.0.236/trunk@69614 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 02:46:08 +00:00
jst%netscape.com
1de9809f35 Use the public JS functions and not internal ones, this didn't work on the Mac, but was fine on windows and linux.
git-svn-id: svn://10.0.0.236/trunk@69613 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 02:43:03 +00:00
ssu%netscape.com
a4a39ae695 uninstaller:
fixed silent and auto mode.
  added uninstall control for shared files
  added uninstall control for unregistering ole server files
  added uninstall control for do-not-uninstall flag

setup:
  added new string resource for error control (UNABLE_TO_LOCATE_LIB_FUNCTION and UNABLE_TO_LOAD_LIBRARY)

affects windows platforms only.


git-svn-id: svn://10.0.0.236/trunk@69612 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 02:41:50 +00:00
ssu%netscape.com
9554cf6714 added new string resources for installing shared files and registering ole servers
git-svn-id: svn://10.0.0.236/trunk@69611 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 02:37:09 +00:00
ssu%netscape.com
8f4a48b779 new files to support setting of windows shared files registry in the windows registry. Not part of tinderbox build yet.
git-svn-id: svn://10.0.0.236/trunk@69610 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 02:27:52 +00:00
jst%netscape.com
657ba2e80f Make processing instructions implement nsIDOMLinkStyle, also did some general cleaning up.
git-svn-id: svn://10.0.0.236/trunk@69609 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 02:11:44 +00:00
jst%netscape.com
c032dc3b39 Add support for DOM Level 2 document.defaultView
git-svn-id: svn://10.0.0.236/trunk@69608 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 02:08:53 +00:00
jst%netscape.com
42339ddc33 Removing files that are not needed in the build yet.
git-svn-id: svn://10.0.0.236/trunk@69607 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 02:06:27 +00:00
jst%netscape.com
14d3bcbd1a added files: mozilla/dom/src/css/nsJSCSSPrimitiveValue.cpp
git-svn-id: svn://10.0.0.236/trunk@69606 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 02:05:23 +00:00
bryner%uiuc.edu
93879f2aae Fix some signed/unsigned warnings. r=tor@cs.brown.edu.
git-svn-id: svn://10.0.0.236/trunk@69605 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 01:32:34 +00:00
waterson%netscape.com
1aa0f80c90 Also wrap in #ifdef __cplusplus
git-svn-id: svn://10.0.0.236/trunk@69604 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:17:47 +00:00
waterson%netscape.com
fa1241b5bc Remove #ifdef that's no longer necessary now that STL headers aren't included.
git-svn-id: svn://10.0.0.236/trunk@69603 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:14:19 +00:00
waterson%netscape.com
04f4eede47 Wrap C++ in |extern C++| block to fix build. r=scc
git-svn-id: svn://10.0.0.236/trunk@69602 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:11:54 +00:00
anthonyd%netscape.com
ca5bf03af3 more changes to make table navigation in editor
work correctly and not crash.


git-svn-id: svn://10.0.0.236/trunk@69601 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:10:25 +00:00
jst%netscape.com
bb2694a684 Making Processing instructions implement the LinkStyle interface.
git-svn-id: svn://10.0.0.236/trunk@69600 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:09:11 +00:00
waterson%netscape.com
81c5f2460c Remove #ifdef that is unnecessary when STL headers are not included.
git-svn-id: svn://10.0.0.236/trunk@69599 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:05:24 +00:00
jst%netscape.com
851205f481 Adding DOM Level 2 LinkStyle interface.
git-svn-id: svn://10.0.0.236/trunk@69598 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 00:01:02 +00:00
scc%netscape.com
fa91dce42e waterson and I are giving up on the current build being allowed to even include files related to STL, mostly (but not only) because of Solaris ... by the time someone want to _use_ STL, maybe the compilers will be better, and this fix won't effect them.
git-svn-id: svn://10.0.0.236/trunk@69597 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 23:59:49 +00:00
dp%netscape.com
135af3793e Standalone xpcom.
git-svn-id: svn://10.0.0.236/trunk@69596 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 23:35:55 +00:00
dp%netscape.com
c754b24f87 Removed NS_NewSample(). Using NS_IMPL_ISUPPORTS1.
git-svn-id: svn://10.0.0.236/trunk@69595 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 23:11:43 +00:00
hyatt%netscape.com
8d31b561d6 XBL changes.
git-svn-id: svn://10.0.0.236/trunk@69594 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 23:02:12 +00:00
mjudge%netscape.com
66f161ec56 adding method to remove scrollbars
git-svn-id: svn://10.0.0.236/trunk@69593 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 23:00:53 +00:00
mjudge%netscape.com
9d7306f78a removing warning
git-svn-id: svn://10.0.0.236/trunk@69592 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 22:59:43 +00:00
mcafee%netscape.com
cca3a3f012 Fixing missing mozilla logo in about: page (38573)
git-svn-id: svn://10.0.0.236/trunk@69591 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 22:36:57 +00:00
danm%netscape.com
43a1f06786 sync with new chrome structure (top-level dirs are packages, locales, skins)
git-svn-id: svn://10.0.0.236/trunk@69590 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 22:16:00 +00:00
danm%netscape.com
9ffc617d32 load newly installed chrome at startup
git-svn-id: svn://10.0.0.236/trunk@69589 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:43:39 +00:00
danm%netscape.com
685326fd36 load newly installed chrome
git-svn-id: svn://10.0.0.236/trunk@69588 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:42:56 +00:00
danm%netscape.com
634834124b new method checkForNewChrome
git-svn-id: svn://10.0.0.236/trunk@69587 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:42:00 +00:00
scc%netscape.com
f5ccd18c8c fixed macro-based comparison operators to help with our type-unification problems
git-svn-id: svn://10.0.0.236/trunk@69586 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:39:37 +00:00
danm%netscape.com
c8c77763e3 now describes all of locales/en-US
git-svn-id: svn://10.0.0.236/trunk@69585 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:32:52 +00:00
danm%netscape.com
23679560b1 now describes packages/core
git-svn-id: svn://10.0.0.236/trunk@69584 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:32:15 +00:00
danm%netscape.com
3ac6aeef76 new CHROME_MISC rule. fix CHROME_TYPE rule
git-svn-id: svn://10.0.0.236/trunk@69583 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:30:45 +00:00
danm%netscape.com
24cc070710 top-level chrome dirs are now packages,locales,skins
git-svn-id: svn://10.0.0.236/trunk@69582 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:29:08 +00:00
danm%netscape.com
b8616df56f no longer used
git-svn-id: svn://10.0.0.236/trunk@69581 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:25:36 +00:00
mcafee%netscape.com
fdb00ff48d Adding trailing slash to browser buster URL (33826)
git-svn-id: svn://10.0.0.236/trunk@69580 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:22:41 +00:00
cls%seawood.org
4704c6df76 Fix detection for OS/2 builds. Bug 38977
git-svn-id: svn://10.0.0.236/trunk@69579 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:22:02 +00:00
mcafee%netscape.com
a1a1606253 Adding copyright symbol to about: page (37691)
git-svn-id: svn://10.0.0.236/trunk@69578 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:16:16 +00:00
danm%netscape.com
71dc6e827d new chrome manifest
git-svn-id: svn://10.0.0.236/trunk@69577 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 21:15:37 +00:00
mjudge%netscape.com
9f85d6b917 fixing warnings and some redundant code
git-svn-id: svn://10.0.0.236/trunk@69576 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 20:47:42 +00:00
scc%netscape.com
3f80c66aba Added |NS_READABLE_CAST| to clarify what we're doing in places where we face the type-unification error on lame compilers.
git-svn-id: svn://10.0.0.236/trunk@69575 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 20:29:18 +00:00
scc%netscape.com
729eef98f9 getting ready to turn this stuff on, changes related to that: empty strings specified with null pointer, a couple of other fixes.
git-svn-id: svn://10.0.0.236/trunk@69573 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 20:17:35 +00:00
leaf%mozilla.org
7cda96dd36 Automated update
git-svn-id: svn://10.0.0.236/trunk@69572 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 19:00:10 +00:00
waterson%netscape.com
359a1855c6 Temporarily add --enable-new-string-apis to ease transition to new Unixen.
git-svn-id: svn://10.0.0.236/trunk@69571 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 18:54:47 +00:00
morse%netscape.com
9f558b98f9 improve UI for selecting between encrypting and obscurring
git-svn-id: svn://10.0.0.236/trunk@69570 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 18:22:13 +00:00
morse%netscape.com
ff92bfc08a improve the UI for selecting between encrypting and obscurring
git-svn-id: svn://10.0.0.236/trunk@69569 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 18:14:11 +00:00
jst%netscape.com
f37851bcbd In stead of throwing an exception when the user asks for the owner rule of style sheet we return null.
git-svn-id: svn://10.0.0.236/trunk@69568 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 18:10:24 +00:00
morse%netscape.com
760f4310e8 improve UI for selecting between encrypting and obscurring
git-svn-id: svn://10.0.0.236/trunk@69567 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 18:08:46 +00:00
morse%netscape.com
955239b2a5 improve the UI for selecting between encrypting and obscurring
git-svn-id: svn://10.0.0.236/trunk@69566 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 18:07:57 +00:00
jdunn%netscape.com
d28aedb09d Fix alignment problem with DB reads.
r= davidm@netscape.com, wtc@netscape.com
#= 38884


git-svn-id: svn://10.0.0.236/trunk@69565 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 15:05:18 +00:00
ftang%netscape.com
7e7dd3f943 check in xprint changes for tajima@eng.sun.com r=erik@netscape.com
all the changes is now #ifdef USE_XPRINT and won't be build by default.


git-svn-id: svn://10.0.0.236/trunk@69564 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 13:31:05 +00:00
ftang%netscape.com
d8c1f3f40b fix OS/2 problem for IBM. Change the #ifdef XP_PC to #if defined(XP_PC) && !defined(XP_OS2)
git-svn-id: svn://10.0.0.236/trunk@69563 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 13:13:38 +00:00
ftang%netscape.com
538b3bb273 fix 38767 by
1. add Unicode Mac utility functions. We should move this function into a utility class later so it can be shared by context manu and menu
2. use this function when we create the Apple menu item.


git-svn-id: svn://10.0.0.236/trunk@69562 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 13:09:33 +00:00
andreas.otte%primus-online.de
316b3dc114 fix bug 37616, Retire SetRelativePath, removing unused SetRelativePath from nsIURI.idl and all it's implementations, r=warren@netscape.com, a=mscott@netscape.com for the mailnews part
git-svn-id: svn://10.0.0.236/trunk@69561 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 13:05:00 +00:00
jim_nance%yahoo.com
811c16554f Fix 37025. Slightly modified version of Rusty Lynches patch. r=jim_nance@yahoo.com
git-svn-id: svn://10.0.0.236/trunk@69560 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 12:39:16 +00:00
colin%theblakes.com
1f92076b4c Fix segmented reads on local files. r=warren
git-svn-id: svn://10.0.0.236/trunk@69559 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 12:29:13 +00:00
andreas.otte%primus-online.de
21c28f9e31 fix bug 36455, unable to go to url with port but without http://, clean up a if statement causing the problem, r=radha@netscape.com,adamlock@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69558 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 12:09:16 +00:00
andreas.otte%primus-online.de
78da1efce2 fix bug 32997, file URLs that include a hostname don't work, look for a hostname and do some special work on detecting drivenames for XP_PC, r=gagan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69557 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 12:00:38 +00:00
mjudge%netscape.com
4f704d5fd3 fixing redundant calls to notify selection listeners
git-svn-id: svn://10.0.0.236/trunk@69556 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 09:10:16 +00:00
mjudge%netscape.com
914db7a62a fixing crash when overflowing tables
git-svn-id: svn://10.0.0.236/trunk@69555 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 09:02:27 +00:00
mjudge%netscape.com
53d4a828fb shoudl not have been in the tree
git-svn-id: svn://10.0.0.236/trunk@69554 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:34:58 +00:00
mjudge%netscape.com
54cc90cd2b this should not have been in the tree
git-svn-id: svn://10.0.0.236/trunk@69553 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:34:33 +00:00
mjudge%netscape.com
ecfe0d174c shoudl not have had the .h in the tree
git-svn-id: svn://10.0.0.236/trunk@69552 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:34:04 +00:00
mjudge%netscape.com
ce12959dbc xuldocument now will output xif/text also changing references from nsXifconverter to nsIXIFConverter
git-svn-id: svn://10.0.0.236/trunk@69551 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:13:54 +00:00
mjudge%netscape.com
30f41d6e06 nsXifConverter to nsIXIFConverter
git-svn-id: svn://10.0.0.236/trunk@69550 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:13:05 +00:00
mjudge%netscape.com
74b1e799de ender-lite lives
git-svn-id: svn://10.0.0.236/trunk@69549 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:11:59 +00:00
mjudge%netscape.com
dd4523397c changing nsXifconverter to nsIXifConverter
git-svn-id: svn://10.0.0.236/trunk@69548 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:11:29 +00:00
mjudge%netscape.com
2974c17256 nsIXifconverter from nsXifConverter
git-svn-id: svn://10.0.0.236/trunk@69547 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:11:07 +00:00
mjudge%netscape.com
8dab9e6005 changing use of nsXIFConverter to nsIXifConverter
git-svn-id: svn://10.0.0.236/trunk@69546 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:10:25 +00:00
mjudge%netscape.com
2c8848032c changing nsXifconverter to nsIXIFconverter
git-svn-id: svn://10.0.0.236/trunk@69545 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:09:25 +00:00
mjudge%netscape.com
e01b786221 fixing up some of the calls for frameselection to setting mousedown state
git-svn-id: svn://10.0.0.236/trunk@69544 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:09:03 +00:00
sspitzer%netscape.com
39da1a8765 hook up to do imap subscribe / unsubscribe.
git-svn-id: svn://10.0.0.236/trunk@69543 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:08:16 +00:00
mjudge%netscape.com
2fd2c81f9d exporting nsDOMSelection and nsXIFconverter as com elements to be made from CIDs
git-svn-id: svn://10.0.0.236/trunk@69542 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:08:04 +00:00
mjudge%netscape.com
a7aed95683 (ender-lite) forcing use of nsixifconverter rather than nsxifconverter. making tostring method take output type parameters.
git-svn-id: svn://10.0.0.236/trunk@69541 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:07:34 +00:00
mjudge%netscape.com
02b5705ec7 exporting new apis for nsIXIFConverter and forcing nsidocument and nsicontent to use them
git-svn-id: svn://10.0.0.236/trunk@69540 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:06:37 +00:00
mjudge%netscape.com
4654bd6edc lets you set the view to be scrolled
git-svn-id: svn://10.0.0.236/trunk@69539 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:06:13 +00:00
mjudge%netscape.com
f83885b6c4 marking owner
git-svn-id: svn://10.0.0.236/trunk@69538 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:05:42 +00:00
mjudge%netscape.com
1f55bd749b writing out from content start using domseelction
git-svn-id: svn://10.0.0.236/trunk@69537 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:04:29 +00:00
mjudge%netscape.com
cab249d09c changing api for 2 string to force a output type.
git-svn-id: svn://10.0.0.236/trunk@69536 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:01:47 +00:00
cls%seawood.org
82eec7ddd0 Build the npsimple test plugin by default. Bug 38249
git-svn-id: svn://10.0.0.236/trunk@69535 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 07:42:31 +00:00
mjudge%netscape.com
650e065f82 else statement missing. grrr
git-svn-id: svn://10.0.0.236/trunk@69534 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 06:40:38 +00:00
alecf%netscape.com
0b7838ae25 add skeleton search term overlays
git-svn-id: svn://10.0.0.236/trunk@69533 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 06:39:21 +00:00
mjudge%netscape.com
9cf3817b6e marking comment
git-svn-id: svn://10.0.0.236/trunk@69532 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 06:38:06 +00:00
mjudge%netscape.com
645750abb3 xif converter interface
git-svn-id: svn://10.0.0.236/trunk@69531 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 06:37:01 +00:00
mjudge%netscape.com
809f880ce4 used to set specific under the hood settings on nsIDOMSelection
git-svn-id: svn://10.0.0.236/trunk@69530 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 06:36:30 +00:00
morse%netscape.com
cb1bd0ceba remove local event queue when fetching tables from server
git-svn-id: svn://10.0.0.236/trunk@69529 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 06:09:39 +00:00
cls%seawood.org
6695c945ff Vain attempt to make the xlib toolkit work. Switched nsRenderingContextXlib to use nsRenderingContextImpl. Filled in some missing functions.
git-svn-id: svn://10.0.0.236/trunk@69528 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 05:38:50 +00:00
cls%seawood.org
1e390e63e6 Added -DMOZ_WIDGET_<toolkit> for each toolkit that is enabled. Tweaked legacy plugin support so that it will compile when not using gtk. Bug 38145
git-svn-id: svn://10.0.0.236/trunk@69527 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 04:41:56 +00:00
sspitzer%netscape.com
a5e49350fe add subscribe / unsubscribe to the nsISubscribable interface and use them.
git-svn-id: svn://10.0.0.236/trunk@69526 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 04:41:52 +00:00
beard%netscape.com
afb351d73d bug #13848, build the MRJ plugin as part of the standard build. Checking this, although it isn't turned on yet, so shouldn't affect the current build.
git-svn-id: svn://10.0.0.236/trunk@69525 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 03:37:40 +00:00
ddrinan%netscape.com
4c39c9f483 Put nls layer into a separate static library
git-svn-id: svn://10.0.0.236/trunk@69524 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 03:27:53 +00:00
cls%seawood.org
9e0a3e0d84 Remove temp hack used to make --disable-mailnews work when profile manager was dependent upon mailnews headers. (See bug 27948 for details)
git-svn-id: svn://10.0.0.236/trunk@69523 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 03:25:26 +00:00
ddrinan%netscape.com
75595bd143 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@69522 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 03:12:20 +00:00
ben%netscape.com
5eb8699b85 skinnable bookmark properties dialog
git-svn-id: svn://10.0.0.236/trunk@69521 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 02:23:59 +00:00
beard%netscape.com
ef06dad541 fix for linux bustage
git-svn-id: svn://10.0.0.236/trunk@69520 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 02:14:52 +00:00
waterson%netscape.com
401931a3af Resolve gcc-2.7.2.3 type unification ambiguity for nsAReadableString's Compare() method. NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@69519 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 02:11:26 +00:00
waterson%netscape.com
e50b89bdf5 Fix build bustage. Added nscore.h, which declares NS_STATIC_CAST et. al.
git-svn-id: svn://10.0.0.236/trunk@69518 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 02:05:50 +00:00
sfraser%netscape.com
290779695a WIP for bug 33810 -- add an image animation enum, and getters and setters in the pres context
git-svn-id: svn://10.0.0.236/trunk@69516 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 01:39:20 +00:00
dmose%mozilla.org
81c8d45f56 created an nsILDAPConnection interface, and set up nsLDAPConnection to implement it so that we can use XPCOM proxies for cross-thread marshalling, and so we get JS access as well
git-svn-id: svn://10.0.0.236/trunk@69515 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 01:38:38 +00:00
dmose%mozilla.org
09e24473eb a couple of shutdown related things: added an mThreadRunning member, and made thread PR_JOINABLE
git-svn-id: svn://10.0.0.236/trunk@69514 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 01:36:25 +00:00
waterson%netscape.com
45c8ddee0e Fix string backsliding. r=scc
git-svn-id: svn://10.0.0.236/trunk@69513 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 01:11:31 +00:00
sspitzer%netscape.com
794f985e51 such a dumbass. nntp is the server type, not news.
git-svn-id: svn://10.0.0.236/trunk@69512 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 01:09:26 +00:00
racham%netscape.com
32813fa760 Fixing bug 10953. Modifying SetRegString interface to store all required values in the registry. r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@69511 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 01:02:29 +00:00
ben%netscape.com
20a81239ea skinnable sidebar
git-svn-id: svn://10.0.0.236/trunk@69510 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 01:02:28 +00:00
sspitzer%netscape.com
d0b03415da whoops.
git-svn-id: svn://10.0.0.236/trunk@69509 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:55:20 +00:00
sspitzer%netscape.com
b536345e9b fix for #38929, when building the subscribe dialog, don't block the ui thread.
using nsTimer to do this.  need to fix some performance problems, but that's
covered in other bugs.


git-svn-id: svn://10.0.0.236/trunk@69508 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:53:44 +00:00
ben%netscape.com
cecf1b0d5f tweaks to sidebar customize XUL classes
git-svn-id: svn://10.0.0.236/trunk@69507 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:49:23 +00:00
law%netscape.com
c34660ee3c Add desktop integration component for windows
git-svn-id: svn://10.0.0.236/trunk@69506 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:49:03 +00:00
waterson%netscape.com
03cd77245a Fix string backsliding. r=scc
git-svn-id: svn://10.0.0.236/trunk@69505 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:47:48 +00:00
sspitzer%netscape.com
b515128eeb get type down to do the right things for imap.
git-svn-id: svn://10.0.0.236/trunk@69504 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:47:47 +00:00
law%netscape.com
8a9a48f23d Add Desktop Integration pref panel
git-svn-id: svn://10.0.0.236/trunk@69499 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:41:56 +00:00
ben%netscape.com
be84f48ede skinnable taskbar
git-svn-id: svn://10.0.0.236/trunk@69498 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:40:39 +00:00
ben%netscape.com
008e073c10 patch sidebar to use new tab classes
git-svn-id: svn://10.0.0.236/trunk@69497 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:40:22 +00:00
cmanske%netscape.com
b7e1969c3e Fixed layout of personal dictionary dialog
git-svn-id: svn://10.0.0.236/trunk@69496 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:38:54 +00:00
sspitzer%netscape.com
cd8c1fe451 fix #38097, #37927, #37759. in official bits, menulists were horked.
we forgot to package menulistBindings.xml


git-svn-id: svn://10.0.0.236/trunk@69495 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:28:12 +00:00
waterson%netscape.com
3c024cf900 Deal with type unification errors on gcc-2.7.2.3 using NEW_STRING_APIS. r=scc
git-svn-id: svn://10.0.0.236/trunk@69493 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:23:04 +00:00
scc%netscape.com
00dcb069d9 bug #38765
git-svn-id: svn://10.0.0.236/trunk@69492 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:22:38 +00:00
waterson%netscape.com
85544a1fd1 Deal with type-unification errors on gcc-2.7.2.3 using NEW_STRING_APIS. r=scc
git-svn-id: svn://10.0.0.236/trunk@69491 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:19:21 +00:00
cmanske%netscape.com
9251d7bb1a Adding TableCommands to <commandset> for message composer
git-svn-id: svn://10.0.0.236/trunk@69490 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:18:59 +00:00
waldemar%netscape.com
25eb347e78 Simplified grammar without changing syntax
git-svn-id: svn://10.0.0.236/trunk@69489 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:18:56 +00:00
waterson%netscape.com
8f9c2e72ae Add necessary code to get NEW_STRING_APIS to compile properly on gcc-2.7.2.3. r=scc
git-svn-id: svn://10.0.0.236/trunk@69488 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:05:29 +00:00
waterson%netscape.com
c058edee4d Add notation as to why the SetOriginalURI() hack is necessary.
git-svn-id: svn://10.0.0.236/trunk@69486 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 00:01:22 +00:00
ben%netscape.com
a01d929dfc remove redundant directory, files
git-svn-id: svn://10.0.0.236/trunk@69485 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:51:34 +00:00
tao%netscape.com
4db8e26baf Adjust code logic to use the new Accpet-Lang file structure.r=jbetak.
git-svn-id: svn://10.0.0.236/trunk@69484 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:50:33 +00:00
gordon%netscape.com
c3149a5ecc Fixes for bug 34663 and bug 33821 - crashes in DNS CompleteLookup and/or Shutdown.
git-svn-id: svn://10.0.0.236/trunk@69483 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:44:20 +00:00
jfrancis%netscape.com
3b0339c1f2 fix for 38991: making lists screwed up
git-svn-id: svn://10.0.0.236/trunk@69482 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:43:50 +00:00
ben%netscape.com
c8b9b6b2ae remove dependency on pref.css
git-svn-id: svn://10.0.0.236/trunk@69481 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:42:55 +00:00
gordon%netscape.com
0b09ce8b0e Change allocation/deallocation of monitor to use nsAutoMonitor methods, as per brendan's suggestion.
git-svn-id: svn://10.0.0.236/trunk@69480 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:42:33 +00:00
gordon%netscape.com
1eba928e0f Reorder shutdown of DNS and SocketTransport services to allow the DNS service to notify socket transports that outstanding lookups are going away.
Part of fix for bug 33821 and 34663.


git-svn-id: svn://10.0.0.236/trunk@69479 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:41:40 +00:00
gordon%netscape.com
4718465f15 Let go of monitor a bit earlier in ReleaseService() so that services which are shuttingdown may aquire their own monitors without potential deadlocks. Also changed allocation/deallocation of ServiceManager's monitor to use nsAutoMonitor methods, as per brendan's suggestion.
git-svn-id: svn://10.0.0.236/trunk@69478 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:39:34 +00:00
ben%netscape.com
160040b55b code cleanup for charset configuration window
git-svn-id: svn://10.0.0.236/trunk@69477 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:38:07 +00:00
mcgreer%netscape.com
7058384b48 Add condition for BSAFE build.
git-svn-id: svn://10.0.0.236/trunk@69476 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:37:36 +00:00
mcgreer%netscape.com
91f759ee19 Initial checkin of implementations of MD2 and MD5. An empty definition of Diffie-Hellman to allow for building, more later. Changes to Makefile for building with BSAFE.
git-svn-id: svn://10.0.0.236/trunk@69475 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:35:06 +00:00
jbetak%netscape.com
68b26e4444 32591 View source page is displayed as ISO-8859-1 in no meta tag page
r=ftang


git-svn-id: svn://10.0.0.236/trunk@69474 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:33:37 +00:00
sfraser%netscape.com
3c0227b801 Add a null check.
git-svn-id: svn://10.0.0.236/trunk@69473 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:11:04 +00:00
scc%netscape.com
be376b8fd8 fix bug #36316
git-svn-id: svn://10.0.0.236/trunk@69472 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:09:28 +00:00
scc%netscape.com
9e801c011c fix bug #36311
git-svn-id: svn://10.0.0.236/trunk@69471 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:05:11 +00:00
dougt%netscape.com
0545061c8d fixing user profile directory and pref InstallFolder targets.
git-svn-id: svn://10.0.0.236/trunk@69470 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 23:03:44 +00:00
law%netscape.com
e9dcfda6d9 New native app support to enable Win32 dde
git-svn-id: svn://10.0.0.236/trunk@69469 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 22:37:20 +00:00
rginda%netscape.com
7cea9948ba * Makefile.in, makefile.win
install new file.

* command-manager.js
handle exact match case.

* chatzilla.css
remove old styles.

* output-default.css
darker bg on QUIT messages.


git-svn-id: svn://10.0.0.236/trunk@69468 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 22:30:53 +00:00
rginda%netscape.com
4a50592f6a -- CHATZILLA CHANGES ONLY --
* xul/content/MANIFEST
install new file.

* chatzilla.xul
remove old js file.
add new js file.
menu restructuring.
userlist as rdf populated tree.

* commands.js
hookup for quit, exit, clear, delete, hide, commands, names, toolbar, and statusbar commands.

* handlers.js
implement new commands.
userlist sorting.
tab completion reorg.
pgup/dn functionality.
userlist rdf related hookup.

* static.js
remove unused client.vars.
make version reply one line.
show activity in titlebar if toolbar is not visible.
fix scrolling AND redraw problems!!
userlist rdf related hookup.


git-svn-id: svn://10.0.0.236/trunk@69467 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 22:30:21 +00:00
mkaply%us.ibm.com
d4ead625e8 # 37239
r= waterson
OS/2 bring up continues - add PR_CALLBACK for VisualAge


git-svn-id: svn://10.0.0.236/trunk@69466 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 22:23:36 +00:00
mkaply%us.ibm.com
e802e063b8 # 37239
r= dcone
OS/2 bring up continues - PR_CALLBACK and typo


git-svn-id: svn://10.0.0.236/trunk@69465 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 22:21:42 +00:00
tao%netscape.com
030bce7a4a 34954: need a mechanism to convert from accpet-lang to locale name and
vice verse.


git-svn-id: svn://10.0.0.236/trunk@69464 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 22:17:49 +00:00
dougt%netscape.com
c2affef249 Patch from snizinsk@us.ibm.com
from email:
What is in the tree from 5/2 was not correct (the
PR_CALLBACKs that were checked in 5/2 were incorrect for our build. They
should be on the prototypes which are declared "static PRIntn" not on
"NS_IMETHOD".


git-svn-id: svn://10.0.0.236/trunk@69463 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 22:11:45 +00:00
cmanske%netscape.com
d550ab97c4 Fixing spellcheck bug 34356
git-svn-id: svn://10.0.0.236/trunk@69462 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 22:11:06 +00:00
rods%netscape.com
ba8e18920d really fixed it this time.
the mapping to the vk is done outside the KeyDispatch and this now works
b 5716  r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@69461 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:54:25 +00:00
tao%netscape.com
eeceecbd43 Add test case for nsIAcceptLang
git-svn-id: svn://10.0.0.236/trunk@69460 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:51:11 +00:00
tao%netscape.com
85eb4e1c19 Register nsIAcceptLang: 34954
git-svn-id: svn://10.0.0.236/trunk@69459 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:50:01 +00:00
tao%netscape.com
db773e95d4 Silent mac compiler warning.
git-svn-id: svn://10.0.0.236/trunk@69458 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:43:42 +00:00
nhotta%netscape.com
1b32bd9f8d Check in for tao, 34954.
git-svn-id: svn://10.0.0.236/trunk@69457 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:41:09 +00:00
tao%netscape.com
0f89a50782 Compile nsAcceptLang; bug 34954.
git-svn-id: svn://10.0.0.236/trunk@69456 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:36:05 +00:00
tao%netscape.com
2d6a5fad44 Add implementation of nsAcceptLang; bug 34954.
git-svn-id: svn://10.0.0.236/trunk@69455 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:34:41 +00:00
alecf%netscape.com
7b406feb34 fix multi-line common dialogs by using <html> tag
git-svn-id: svn://10.0.0.236/trunk@69454 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:32:18 +00:00
tao%netscape.com
5677d717fd Add nsIAcceptLang.idl; bug 34954.
git-svn-id: svn://10.0.0.236/trunk@69453 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:14:22 +00:00
tao%netscape.com
3120b3778b add nsIAcceptLang; bug 34954
git-svn-id: svn://10.0.0.236/trunk@69452 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:07:45 +00:00
dcone%netscape.com
2cfc6d7094 Fixed line drawing
git-svn-id: svn://10.0.0.236/trunk@69451 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:05:25 +00:00
nhotta%netscape.com
d2983508a9 checkin for tao; bug 34954
git-svn-id: svn://10.0.0.236/trunk@69450 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:03:48 +00:00
nhotta%netscape.com
f0f0bc2183 Check in for tao, 34954.
git-svn-id: svn://10.0.0.236/trunk@69449 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:03:07 +00:00
ssu%netscape.com
fdf06e54b0 fixing bug #37874. xpinstall now checks for write access before creating a windows shortcut.
git-svn-id: svn://10.0.0.236/trunk@69448 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 21:02:39 +00:00
valeski%netscape.com
17253bd373 38864. making multi mixed converter more flexible to handle more boundary types.
git-svn-id: svn://10.0.0.236/trunk@69447 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 20:56:47 +00:00
tao%netscape.com
1ee68c34d3 IDL for AcceptLang service; bug 34954.
git-svn-id: svn://10.0.0.236/trunk@69446 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 20:53:34 +00:00
locka%iol.ie
64cf448035 Replaced references to webshell with docshell equivalents
git-svn-id: svn://10.0.0.236/trunk@69445 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 20:41:19 +00:00
nhotta%netscape.com
151048e3b7 Added support for font name of no charset specified case bug 38890, also changed to use pixel instead point for font size.
git-svn-id: svn://10.0.0.236/trunk@69444 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 20:35:29 +00:00
rods%netscape.com
375710d6d3 part of fix for Bug 33733
added ShouldRollupOnMouseWheelEvent methos to ask if the rollup want to rollup on MouseWheel events


git-svn-id: svn://10.0.0.236/trunk@69441 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 20:23:04 +00:00
pnunn%netscape.com
30e01bc5eb Bug#31228: Patch from : roc+moz@cs.cmu.edu (Robert O'Callahan). Thanks Robert! r:pnunn.
git-svn-id: svn://10.0.0.236/trunk@69440 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 20:19:02 +00:00
tajima%eng.sun.com
6808259ac5 renamed 3 public header files names exported to 'dist/include' r/a=erik@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69439 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 20:15:08 +00:00
neeti%netscape.com
c1e68ee55b removing netscape.cfg from mozilla, r=morse@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69438 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 20:10:14 +00:00
kmcclusk%netscape.com
c7f71bf973 rods@netscape.com fix for navigation keys not working b=38939 r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69437 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 20:03:46 +00:00
dougt%netscape.com
df23cc1782 Fixes to make Mac work.
git-svn-id: svn://10.0.0.236/trunk@69436 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 19:58:37 +00:00
dougt%netscape.com
f9c4d1cdf9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@69435 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 19:57:18 +00:00
dougt%netscape.com
e1829be2fd Fix to make compile on Mac.
git-svn-id: svn://10.0.0.236/trunk@69434 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 19:57:00 +00:00
neeti%netscape.com
8cc8d8eeb5 File Removed.
git-svn-id: svn://10.0.0.236/trunk@69433 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 19:56:52 +00:00
sspitzer%netscape.com
78b535a5a3 fix for bug #38907
git-svn-id: svn://10.0.0.236/trunk@69432 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 19:55:53 +00:00
dougt%netscape.com
8da8fb7977 Fixes to make Mac compile.
git-svn-id: svn://10.0.0.236/trunk@69431 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 19:51:52 +00:00
chuang%netscape.com
804d675c2e Bug 31817 Tree D&D needs to support gestures to force move and copy.
git-svn-id: svn://10.0.0.236/trunk@69430 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 19:51:44 +00:00
mkaply%us.ibm.com
90fd61a274 # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - OS/2 specific changes


git-svn-id: svn://10.0.0.236/trunk@69429 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 19:39:20 +00:00
ssu%netscape.com
8ea450e3cb fixing bug 39101. not part of tinderbox builds
git-svn-id: svn://10.0.0.236/trunk@69428 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 19:29:54 +00:00
jbetak%netscape.com
4713b905fa 39089 Changed - 2nd browser window is tiny
fixing *two* browser window issue


git-svn-id: svn://10.0.0.236/trunk@69427 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 19:27:07 +00:00
mkaply%us.ibm.com
770280a67b # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - OS/2 specific changes


git-svn-id: svn://10.0.0.236/trunk@69426 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 19:26:34 +00:00
dougt%netscape.com
42d58bac04 Changes make project use static crypto lib.
git-svn-id: svn://10.0.0.236/trunk@69425 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 18:55:31 +00:00
dougt%netscape.com
1931899568 Minor changes to fix mac build bustages.
git-svn-id: svn://10.0.0.236/trunk@69424 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 18:43:28 +00:00
beard%netscape.com
5f85a99ec6 MRJPlugin build support (unused by current mozilla build). a=leaf
git-svn-id: svn://10.0.0.236/trunk@69423 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 18:24:44 +00:00
dmose%mozilla.org
3032b29df4 Security check needs to happen after the eval, so that it's matching
variable side-effects don't hurt us.


git-svn-id: svn://10.0.0.236/trunk@69422 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 17:51:00 +00:00
dmose%mozilla.org
0e8610b91d Fix the fix; it was slightly overzealous.
git-svn-id: svn://10.0.0.236/trunk@69421 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 17:39:40 +00:00
dmose%mozilla.org
c87ba932cb Fix security hole.
git-svn-id: svn://10.0.0.236/trunk@69420 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 17:27:57 +00:00
jefft%netscape.com
688ba3becc fixed blocker bug 39069; need to check for valid pointer m_filterList prior derefrencing it; a=granrose
git-svn-id: svn://10.0.0.236/trunk@69419 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 17:25:30 +00:00
brade%netscape.com
b1dc7bed7a allow drop of files into Composer (create image or link as appropriate)
git-svn-id: svn://10.0.0.236/trunk@69418 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 14:57:03 +00:00
cmanske%netscape.com
84d26a0471 Added focus reset to table editcommands, added a couple of missing commands, changed name for some global variables in editor.js, added some 'dump's to debug flaky command firing
git-svn-id: svn://10.0.0.236/trunk@69417 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 14:46:25 +00:00
jst%netscape.com
655ba83b6c Add GetNodeInfo() to nsIContent.
git-svn-id: svn://10.0.0.236/trunk@69416 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 14:09:28 +00:00
rods%netscape.com
b4ea3f3b57 assertion for OleInitialization
should have continued to used FAILED instead of checking against S_OK


git-svn-id: svn://10.0.0.236/trunk@69415 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 14:01:17 +00:00
jst%netscape.com
45c41da01c Add a SetAttribute method to nsIContent that takes a nsINodeInfo parameter.
git-svn-id: svn://10.0.0.236/trunk@69414 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 13:46:59 +00:00
brade%netscape.com
5efe9e0b5a actual js implementation; remove copied mailnews context menu stuff
git-svn-id: svn://10.0.0.236/trunk@69413 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 13:13:03 +00:00
brade%netscape.com
6c07965cf8 new ids
git-svn-id: svn://10.0.0.236/trunk@69412 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 13:11:50 +00:00
brade%netscape.com
9520edf3c5 moved commands from EditorCommandsOverlay.xul back here; removed unnecessary keybindings (should be in task menu overlay), add values for edit menu commands
git-svn-id: svn://10.0.0.236/trunk@69411 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 13:09:41 +00:00
pierre%netscape.com
bbb17e5884 enabled the NEW_FONT_HEIGHT_APIS for the Mac
git-svn-id: svn://10.0.0.236/trunk@69410 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 12:04:07 +00:00
pierre%netscape.com
dc91bbd88f Added the NEW_FONT_HEIGHT_APIS for the Mac
git-svn-id: svn://10.0.0.236/trunk@69409 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 12:03:48 +00:00
pierre%netscape.com
43d67b37f5 Fixed a crash at startup on the Mac (a null-check on 'mProxySvc').
git-svn-id: svn://10.0.0.236/trunk@69408 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 12:02:26 +00:00
ben%netscape.com
2967e4c80d fix bug with radio buttons on Mail Window layout pref panel
git-svn-id: svn://10.0.0.236/trunk@69407 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 10:30:08 +00:00
alecf%netscape.com
86e75663dc save filter files on exit
git-svn-id: svn://10.0.0.236/trunk@69406 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 09:15:05 +00:00
alecf%netscape.com
17c1a4b8b1 make this class="dialog" so it looks like a normal dialog!
git-svn-id: svn://10.0.0.236/trunk@69405 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 09:05:19 +00:00
alecf%netscape.com
bffa053c4a add support for target folder, filter name, and filter action
git-svn-id: svn://10.0.0.236/trunk@69404 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 09:00:58 +00:00
scc%netscape.com
974a640c69 string fixes. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@69403 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 07:55:52 +00:00
scc%netscape.com
8d5a50fb63 string backsliding. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@69402 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 07:53:02 +00:00
alecf%netscape.com
b227957c83 fix xlib bustage
git-svn-id: svn://10.0.0.236/trunk@69401 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 07:49:06 +00:00
scc%netscape.com
da0d0ad924 Added "nsStringIO.h" to exports. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@69400 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 07:46:13 +00:00
alecf%netscape.com
42ff392dde make filtername i18n friendly (store in utf8 format)
git-svn-id: svn://10.0.0.236/trunk@69399 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 07:26:15 +00:00
ducarroz%netscape.com
8d6265f4b6 Fix for bug 39005. Remove text "show" from menu items view/toolbars/...
git-svn-id: svn://10.0.0.236/trunk@69398 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 07:26:06 +00:00
alecf%netscape.com
3995672747 start factoring out searchterm code to share with search dialog
git-svn-id: svn://10.0.0.236/trunk@69397 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 07:20:21 +00:00
bryner%uiuc.edu
2b3f48d496 Sorry, forgot this file.
git-svn-id: svn://10.0.0.236/trunk@69396 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 07:01:09 +00:00
mscott%netscape.com
fc2c071a23 Bug #39032 --> still use a hide attribute on the toolbars because collapse doesn't work.
git-svn-id: svn://10.0.0.236/trunk@69395 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 06:57:02 +00:00
cmanske%netscape.com
377b0c1ce1 More table command enable work. Eliminate old commands and consolidate into ComposerCommands.js
git-svn-id: svn://10.0.0.236/trunk@69394 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 06:54:52 +00:00
ben%netscape.com
9fe7c8892b implement typedown feature
git-svn-id: svn://10.0.0.236/trunk@69393 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 06:43:11 +00:00
mscott%netscape.com
eed275792c fix display of the user agent field which i just broke.
git-svn-id: svn://10.0.0.236/trunk@69392 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 06:36:36 +00:00
mscott%netscape.com
70787b7125 temporary work around to get wrapping back again in the to and cc fields.
git-svn-id: svn://10.0.0.236/trunk@69391 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 06:34:48 +00:00
mscott%netscape.com
b492607fc1 A temporary work around for the fact that the To and cc fields haven't been wrapping. This is actually a xul bug
where xul elements inside of an html div weren't being displayed as inline by default. My temp workaround is to
explicitly declare each element in the html tag with a display: inline style. Thanks to evaughan for giving me this idea.


git-svn-id: svn://10.0.0.236/trunk@69390 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 06:30:26 +00:00
bryner%uiuc.edu
a626fea704 New and improved background tiling code for GTK. We take an offset into
the image as a parameter so we avoid drawing the whole tile if it's not
all needed.  Also, we can avoid setting any clip regions at all this
way, and avoid trips to the X server.  Fixes several background rendering
problems.  Also fix a signedness problem in the compositing code
(r=tor).  r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@69388 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 06:29:37 +00:00
ducarroz%netscape.com
4d95440295 Fix for bug 38757. Need to use a focus listenner in order to make inheriance of focus handlers working. R=hyatt
git-svn-id: svn://10.0.0.236/trunk@69387 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 06:25:48 +00:00
beard%netscape.com
a5c0e1a803 added jsc/Main.java.
git-svn-id: svn://10.0.0.236/trunk@69386 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 06:23:43 +00:00
mscott%netscape.com
1e90815150 Bug #35035 --> skinnability work for the message pane. Transition to use the mail email address XBL widget.
git-svn-id: svn://10.0.0.236/trunk@69385 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 06:11:35 +00:00
mscott%netscape.com
9d9fb76f5c Bug #35035 --> skinnability work for the message pane.
git-svn-id: svn://10.0.0.236/trunk@69384 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 06:10:24 +00:00
mscott%netscape.com
4203135581 Bug #35035 --> skinnability changes for the message pane. This involves using my new XBL widget for
an email address.


git-svn-id: svn://10.0.0.236/trunk@69383 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 06:09:01 +00:00
ben%netscape.com
b58380ea19 fix progressmeter to have a minimum size
git-svn-id: svn://10.0.0.236/trunk@69382 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:54:29 +00:00
mscott%netscape.com
a6e517c6c5 Make the email address popup act like a context menu isntead of a popup.
git-svn-id: svn://10.0.0.236/trunk@69381 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:43:33 +00:00
ducarroz%netscape.com
0bd1e62714 Fix few problems: Don't autocomplete after user press backspace or delete. If resutl contains only one match and default item is 0, don't show the popup menu. If the default item is -1, don't touch at the user input. Correctly detect when popup menu is open.
git-svn-id: svn://10.0.0.236/trunk@69380 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:40:20 +00:00
waldemar%netscape.com
4ea629c1bd Fixed ?: parsing bug and pretty-printing offsets
git-svn-id: svn://10.0.0.236/trunk@69379 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:39:28 +00:00
scc%netscape.com
e745f6a946 Fixed the block stomping bug by ensuring the correct |operator=()| was always available.
git-svn-id: svn://10.0.0.236/trunk@69378 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:25:26 +00:00
scc%netscape.com
3495a25e7e changed some comments
git-svn-id: svn://10.0.0.236/trunk@69377 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:20:21 +00:00
scc%netscape.com
57a3d8f94a added tests for the new IO stuff, etc.
git-svn-id: svn://10.0.0.236/trunk@69376 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:19:46 +00:00
scc%netscape.com
a0d84f0c6c Uncommented tests that should work now that I've fixed the block stomping bug.
git-svn-id: svn://10.0.0.236/trunk@69375 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:18:36 +00:00
scc%netscape.com
0736ff46a2 Changed some comments
git-svn-id: svn://10.0.0.236/trunk@69374 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:17:51 +00:00
scc%netscape.com
f536c121d4 Filled out the smart pointer implementation. Changed some comments.
git-svn-id: svn://10.0.0.236/trunk@69373 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:17:39 +00:00
waldemar%netscape.com
5be836e3a7 Fixed build flags
git-svn-id: svn://10.0.0.236/trunk@69372 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:16:08 +00:00
scc%netscape.com
9606d2e818 Added an assertion in |copy_string|. Changed some comments.
git-svn-id: svn://10.0.0.236/trunk@69371 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:16:00 +00:00
waldemar%netscape.com
b7523b9005 Fixed parser errors
git-svn-id: svn://10.0.0.236/trunk@69370 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:15:52 +00:00
cmanske%netscape.com
2d02de1755 Commandset for table commands must be included in master xul file even if update is done only in 'oncreate' method. Remove 'events' attribute to avoid updating unnecessarily
git-svn-id: svn://10.0.0.236/trunk@69369 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:15:41 +00:00
waldemar%netscape.com
49a48f8f8c Worked around Visual C++ problem
git-svn-id: svn://10.0.0.236/trunk@69368 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 05:15:17 +00:00
sspitzer%netscape.com
655521bf08 more #define loving.
git-svn-id: svn://10.0.0.236/trunk@69367 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:47:03 +00:00
sspitzer%netscape.com
645d96f136 comment out printfs.
git-svn-id: svn://10.0.0.236/trunk@69366 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:43:45 +00:00
sspitzer%netscape.com
9578bda7a6 remove printf.
git-svn-id: svn://10.0.0.236/trunk@69365 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:41:13 +00:00
nisheeth%netscape.com
a03ea3a94a Removing include of windows.h in and ifdef XSL section of the code. Does not affect mozilla build.
git-svn-id: svn://10.0.0.236/trunk@69364 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:40:55 +00:00
alecf%netscape.com
c7d97267b8 remove some of my warnings
git-svn-id: svn://10.0.0.236/trunk@69363 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:40:37 +00:00
ssu%netscape.com
e45c105fd2 added functionality in the wizard installer to register self registering dlls. Affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@69362 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:40:17 +00:00
sspitzer%netscape.com
0d36ac2559 fix assertion / problem with subscribe. duh.
git-svn-id: svn://10.0.0.236/trunk@69361 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:39:43 +00:00
rhp%netscape.com
0280b3ae46 NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@69360 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:36:07 +00:00
rhp%netscape.com
ce0434e36b Not part of the build!
git-svn-id: svn://10.0.0.236/trunk@69359 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:33:45 +00:00
alecf%netscape.com
04c5b0b77d better fix with correct casting
git-svn-id: svn://10.0.0.236/trunk@69358 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:32:10 +00:00
rhp%netscape.com
bc2153e6cc NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@69357 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:31:08 +00:00
alecf%netscape.com
b8dabf3541 fix for lame bustage
git-svn-id: svn://10.0.0.236/trunk@69356 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:30:12 +00:00
sspitzer%netscape.com
e4b8559c9d more subscribe work.
git-svn-id: svn://10.0.0.236/trunk@69355 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:23:45 +00:00
sspitzer%netscape.com
1b61d254d7 add nsSubscribableServer to the build.
git-svn-id: svn://10.0.0.236/trunk@69354 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:19:14 +00:00
sspitzer%netscape.com
7360212a9a add nsSubscribableServer to the build
git-svn-id: svn://10.0.0.236/trunk@69353 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:18:10 +00:00
alecf%netscape.com
57868ecff1 use macro-based QI
git-svn-id: svn://10.0.0.236/trunk@69352 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:17:31 +00:00
jbetak%netscape.com
ddaf9932f8 32591 View source page is displayed as ISO-8859-1 when meta tag is missing
36136 [regression]View source with meta charset info can't be displayed properly
27646 Need to "inherit" charset info when opening a new browser widow
r=ftang


git-svn-id: svn://10.0.0.236/trunk@69351 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:17:06 +00:00
alecf%netscape.com
e06b1988a7 get filter list from the server, not manually
git-svn-id: svn://10.0.0.236/trunk@69350 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:14:23 +00:00
alecf%netscape.com
1d14c5651f get filter list from the server
git-svn-id: svn://10.0.0.236/trunk@69349 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:09:37 +00:00
alecf%netscape.com
62dffa4352 fix some minor bugs that were preventing filters from saving from the UI to memory
git-svn-id: svn://10.0.0.236/trunk@69348 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:02:06 +00:00
morse%netscape.com
79a9e75e10 download server tables completely asynchronously
git-svn-id: svn://10.0.0.236/trunk@69347 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 04:01:12 +00:00
sspitzer%netscape.com
09e62c1777 re-add these, in the right place.
git-svn-id: svn://10.0.0.236/trunk@69346 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:59:02 +00:00
sspitzer%netscape.com
c7cfa8bbf5 added this in the wrong place.
git-svn-id: svn://10.0.0.236/trunk@69345 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:58:29 +00:00
alecf%netscape.com
2fc92583fc fix saving of values since the value object is transitory and must be reinserted into the searchterm
git-svn-id: svn://10.0.0.236/trunk@69344 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:57:16 +00:00
saari%netscape.com
55ef3ea5ba fix for 38619
git-svn-id: svn://10.0.0.236/trunk@69343 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:57:11 +00:00
saari%netscape.com
7e27276cd8 Fix for bug 38619, cannot use "hidden" attribute to hide top level menus on MacOS.
git-svn-id: svn://10.0.0.236/trunk@69342 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:53:54 +00:00
leaf%mozilla.org
3672dc695a Automated update
git-svn-id: svn://10.0.0.236/trunk@69341 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:45:14 +00:00
waldemar%netscape.com
9e4dfcf6e9 Interchanged linearBreak and fillBreak
git-svn-id: svn://10.0.0.236/trunk@69340 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:43:35 +00:00
jdunn%netscape.com
a58298d7d1 backing out previous change, since axel backed out his autoconf.mk.in change
r= jgaunt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@69339 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:42:02 +00:00
tajima%eng.sun.com
7f38bb3c57 build configuration change for xprint(gfx/src/xprint). r=leaf, a=ftang
git-svn-id: svn://10.0.0.236/trunk@69338 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:33:29 +00:00
tajima%eng.sun.com
357979ddfd build configuration changes for xprint(gfx/src/xprint). r=leaf, a=ftang
git-svn-id: svn://10.0.0.236/trunk@69337 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:31:18 +00:00
alecf%netscape.com
fa7d2782d1 duh, make these attributes not read-only so I can actually save them
git-svn-id: svn://10.0.0.236/trunk@69336 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:27:26 +00:00
waldemar%netscape.com
bb48faf496 Turned on expression parsing and printing
git-svn-id: svn://10.0.0.236/trunk@69335 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:26:43 +00:00
waldemar%netscape.com
310fb63a5a Added expression parsing and printing code
git-svn-id: svn://10.0.0.236/trunk@69334 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:26:24 +00:00
waldemar%netscape.com
554ddb0a91 Added RawArrayBuffer::reserve_advance_back
git-svn-id: svn://10.0.0.236/trunk@69333 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:25:49 +00:00
tajima%eng.sun.com
9e20bca86c modification for sharing methods with gfx/src/xprint/. r=blizzard, a=ftang
git-svn-id: svn://10.0.0.236/trunk@69332 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:20:55 +00:00
jbetak%netscape.com
f7883740c4 32477 Accept-Language UI
git-svn-id: svn://10.0.0.236/trunk@69331 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:19:50 +00:00
axel%pike.org
9aa6bb7e36 backout changes, as some platforms don't eat
MOZ_XSL = @MOX_XSL@
without action in configure


git-svn-id: svn://10.0.0.236/trunk@69330 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:18:25 +00:00
ddrinan%netscape.com
853e5fb5fd No longer use obscuring layer from protocol
git-svn-id: svn://10.0.0.236/trunk@69329 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:18:09 +00:00
ddrinan%netscape.com
e557d2c3c5 No longer build or export obscuring stuff
git-svn-id: svn://10.0.0.236/trunk@69328 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:17:08 +00:00
jbetak%netscape.com
af95521450 37130 Implement "Customize..." of Mail Composer charset menu
git-svn-id: svn://10.0.0.236/trunk@69327 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:16:56 +00:00
scc%netscape.com
20b669baf3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@69326 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:16:35 +00:00
pinkerton%netscape.com
f133f8eacb Added lots of error checking in AdjustClientXYForNestedDocuments so that things will fail gracefully while the content area is in the early stages of development (no view manager, etc). Probably fixes bug #31563.
git-svn-id: svn://10.0.0.236/trunk@69325 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:16:07 +00:00
blizzard%redhat.com
326ac2ac2a add code to handle the destruction of a window via JS, add support for FindNamedBrowserItem and fix some destruction related bugs in the widget.
git-svn-id: svn://10.0.0.236/trunk@69324 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 03:14:42 +00:00
pinkerton%netscape.com
a24e549491 Clear out |mElementFrame| when popup goes away so that subsequent reflows
won't try to access it. Fixes crash with tooltip on a tree when app is
minimized then restored (bug 38872)


git-svn-id: svn://10.0.0.236/trunk@69323 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 02:58:21 +00:00
pavlov%netscape.com
8d570636d4 fix for 38723
git-svn-id: svn://10.0.0.236/trunk@69322 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 02:46:41 +00:00
jdunn%netscape.com
aac87d5706 fixing hpux 11.00 build and autobahn's commercial build
I mentioned this to Axel but he was going to bed...
r= jgaunt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@69321 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 02:42:54 +00:00
sspitzer%netscape.com
0800a8cf0d implement this beast. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@69320 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 02:41:28 +00:00
cmanske%netscape.com
181b3f847b Removed top black border from HTMLSource edit window
git-svn-id: svn://10.0.0.236/trunk@69319 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 02:41:25 +00:00
cmanske%netscape.com
aadf2042b2 UI work: Implemented table commands (part of 20973), fixed Plain Text editor, don't remove toolbars for HTML Source editmode, helped ftang with new 'Save As Charset' dialog (moved methods shared with Page Properties dialog to common file)
git-svn-id: svn://10.0.0.236/trunk@69318 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 02:37:40 +00:00
cmanske%netscape.com
40262764bc Fixed SetBackgroundColor to remove 'bgcolor' when appropriate. Changed prompt for Title to use new string messages
git-svn-id: svn://10.0.0.236/trunk@69317 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 02:37:33 +00:00
ben%netscape.com
758a803e26 remove annoying alerts when adding/removing engines
git-svn-id: svn://10.0.0.236/trunk@69316 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 02:14:50 +00:00
ben%netscape.com
7c71944db3 search customize dialog tidy up
git-svn-id: svn://10.0.0.236/trunk@69315 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 02:13:49 +00:00
waterson%netscape.com
6a74783789 Bug 38846. Don't run GC before returning an unrooted property! Fix provided by and r=hyatt,brendan
git-svn-id: svn://10.0.0.236/trunk@69314 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 02:06:07 +00:00
jst%netscape.com
b446578908 Fix the DOM prop enum table, seems like putting tabs in the file doesn't work.
git-svn-id: svn://10.0.0.236/trunk@69313 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 02:05:23 +00:00
sspitzer%netscape.com
c2ab67bb35 added, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@69312 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 02:05:08 +00:00
beard%netscape.com
37167c2e41 removed unnecessary #include <iomanip>
git-svn-id: svn://10.0.0.236/trunk@69311 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:46:16 +00:00
pnunn%netscape.com
43b0cafe5d bug# 37909: added multipart support. pnunn. r:valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69310 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:38:18 +00:00
pnunn%netscape.com
92ce280e5b bug#37909: add multipart support. pnunn, r:valeski@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69309 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:37:02 +00:00
rayw%netscape.com
90d0498159 Per bug 3690:
Added new functions to the registry for reading / writing byte arrays
of binary content and escaping registry keys that contain binary
content.  Modified code which reads/writes location of dll or javascript
for components to use new ReadBytesUTF8/WriteBytesUTF8 and which uses
or reads the keys to use EscapeKey and UnescapeKey.

r=dveditz


git-svn-id: svn://10.0.0.236/trunk@69307 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:24:36 +00:00
beard%netscape.com
5771a2ef34 InterpretStage -> Context::Event.
git-svn-id: svn://10.0.0.236/trunk@69306 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:20:34 +00:00
beard%netscape.com
871655af92 Fixed signed/unsigned warning. InterpretStage -> Context::Event. Context::removeListener now using find() from <algorithm>.
git-svn-id: svn://10.0.0.236/trunk@69304 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:19:39 +00:00
beard%netscape.com
be78f0d1aa InterpretStage -> Context::Event. Added typedefs for ListenerList and ListenerIterator.
git-svn-id: svn://10.0.0.236/trunk@69303 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:17:32 +00:00
dougt%netscape.com
600b867627 Changes from snizinsk@us.ibm.com
visualage fixes to xpcom for OS/2.


git-svn-id: svn://10.0.0.236/trunk@69302 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 01:09:58 +00:00
pollmann%netscape.com
b49f7fb020 Bug 27383: Pass referer when loading iframe's document to allow javascript: urls - combine load methods, r=nisheeth
Bug 23014: Percent width on iframes allowed, r=karnaze (does not include percent height fixes)


git-svn-id: svn://10.0.0.236/trunk@69301 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 00:57:28 +00:00
pollmann%netscape.com
b84faceff5 Bug 35573: Fix part of a webshell leak, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@69300 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 00:53:38 +00:00
cmanske%netscape.com
06e91ff607 Tweaked an image
git-svn-id: svn://10.0.0.236/trunk@69299 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 00:52:57 +00:00
av%netscape.com
16d8933014 Adding zero check on a char pointer before sending it to printf.
git-svn-id: svn://10.0.0.236/trunk@69298 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 00:46:07 +00:00
beard%netscape.com
de3a5193cc turned off extra comma warnings.
git-svn-id: svn://10.0.0.236/trunk@69297 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 00:31:48 +00:00
wtc%netscape.com
dc8e98c0df Bugzilla bug #34920: use the new PR_GetMemMapAlignment() function to
get the proper alignment of the offset argument to PR_MemMap.  Pass
64-bit arguments to PR_CreateFileMap and PR_MemMap.


git-svn-id: svn://10.0.0.236/trunk@69296 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-12 00:02:35 +00:00
wtc%netscape.com
c984483443 Bugzilla bug #38996: added new function PR_GetMemMapAlignment().
Modified files: prio.h, _beos.h, _macos.h, _os2.h, _unixos.h, _win16.h,
_win95.h, _winnt.h, primpl.h, prmmap.c, bmmap.c, macio.c, os2misc.c,
ntmisc.c, w16fmem.c


git-svn-id: svn://10.0.0.236/trunk@69295 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 23:54:04 +00:00
axel%pike.org
304bbf62be Getting XSLT going on unix, patch by Andreas Otte, r=me
git-svn-id: svn://10.0.0.236/trunk@69294 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 23:53:36 +00:00
sfraser%netscape.com
60d6b3aa7e Fix bug 38818 -- prefs in composer.
git-svn-id: svn://10.0.0.236/trunk@69293 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 23:49:30 +00:00
sgehani%netscape.com
5f8c702529 *** NOT PART OF BUILD ***
Explicitly specifying plugins for MRJ ocnduit.


git-svn-id: svn://10.0.0.236/trunk@69292 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 23:32:41 +00:00
gagan%netscape.com
f5daa8c749 Not in the build (the data file for url parse testing)
git-svn-id: svn://10.0.0.236/trunk@69291 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 23:31:32 +00:00
axel%pike.org
0f2ab9935a Get XSLT going on unix, this one passed previous checkin
patch by andreas otte, r=me


git-svn-id: svn://10.0.0.236/trunk@69290 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 23:22:37 +00:00
axel%pike.org
81eaf69a10 Getting XSLT going, patch by andreas.otte@primus-online.de
r=me


git-svn-id: svn://10.0.0.236/trunk@69289 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 23:13:18 +00:00
saari%netscape.com
4d0784eaf2 missed this file
git-svn-id: svn://10.0.0.236/trunk@69288 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 23:08:13 +00:00
jst%netscape.com
16298d5eb5 Add the glue code for more DOM Level 2 interfaces to the build.
git-svn-id: svn://10.0.0.236/trunk@69287 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 23:03:25 +00:00
rbs%maths.uq.edu.au
82f8744fa3 [not part of default build] Remove usage of nsAreaFrame since it will be going away
git-svn-id: svn://10.0.0.236/trunk@69286 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 23:03:19 +00:00
rbs%maths.uq.edu.au
554825dfc0 [not part of default build] Added support for the attributes 'numalign' and 'denomalign' that were newly introduced in MathML 2.0
git-svn-id: svn://10.0.0.236/trunk@69285 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 23:02:00 +00:00
kmcclusk%netscape.com
a9d3122699 Cache the last size of the nsWindow on WIN32 to determine how much to invalidate when widget is resized. Also added checks to see if width or height actually changed before invalidating b=33799 r=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69284 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:59:20 +00:00
slamm%netscape.com
cad4f2f6e3 No need to compare is this is the first run (cmp was printing an error on BSD when one of the files did not exist)
git-svn-id: svn://10.0.0.236/trunk@69283 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:56:41 +00:00
nhotta%netscape.com
f9be2e3e22 Changed to apply charset conversion for fields like phone number because they may contain non ascii characters, bug 38901, r=rhp.
git-svn-id: svn://10.0.0.236/trunk@69282 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:54:39 +00:00
saari%netscape.com
42a5580f42 last checkin for 29800
git-svn-id: svn://10.0.0.236/trunk@69281 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:54:14 +00:00
sfraser%netscape.com
4fffbe0b2f Fix 38949 -- setSelectionRange broken by mjudge checking in nsGfxTextControlFrame2 stuff prematurely.
git-svn-id: svn://10.0.0.236/trunk@69280 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:47:19 +00:00
ftang%netscape.com
d67ea6d20d check in SaveAsCharset work. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@69279 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:45:29 +00:00
axel%pike.org
c8db92cdb0 Get XSLT going for unix, patch by andreas.otte@primus-online.de,
r=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@69278 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:45:24 +00:00
saari%netscape.com
beb4f73409 more for 29800
git-svn-id: svn://10.0.0.236/trunk@69277 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:43:32 +00:00
saari%netscape.com
7d2da79fbf First checkin for bug 29800, preventing scrolling to content when focus
memory is resetting focus after deactivating and reactivating a window.


git-svn-id: svn://10.0.0.236/trunk@69276 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:40:51 +00:00
jst%netscape.com
513ea03c7a Fix a problem where the HTML sink stream was cutting off the last character in element names when constructing the resulting HTML, also did a few nsString --> nsAutoString changes to speed things up a bit. r=akkana@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69275 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:33:19 +00:00
putterman%netscape.com
ab4ad6323a Fix OS/2 bustage.
git-svn-id: svn://10.0.0.236/trunk@69274 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:24:39 +00:00
radha%netscape.com
85501fc0b4 Call appCore.loadUrl(url) instead of doing window.content.location.href=url
r=slamm.


git-svn-id: svn://10.0.0.236/trunk@69273 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:20:27 +00:00
radha%netscape.com
ba3147c640 Change all calls to "window.content.location.href=url" to "appCore.loadUrl()" so that urls
get added in to Session History properly


git-svn-id: svn://10.0.0.236/trunk@69272 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:19:43 +00:00
pavlov%netscape.com
b948c891c9 fix for bug #9671 -- linux file picker filter by format support
git-svn-id: svn://10.0.0.236/trunk@69271 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:18:05 +00:00
av%netscape.com
f77c154953 Plugin DK, not part of the build, hopefully no duplicate files this time.
git-svn-id: svn://10.0.0.236/trunk@69270 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:13:06 +00:00
shanjian%netscape.com
95ba8ef614 fix bug 35356
r=ftang,erik


git-svn-id: svn://10.0.0.236/trunk@69269 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 22:08:46 +00:00
varada%netscape.com
7e28d5e59a changing the script.ib to match the landing of the new skin directories
git-svn-id: svn://10.0.0.236/trunk@69268 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:54:39 +00:00
rpotts%netscape.com
e9f58c7c2d Added an InterfaceRequestor argument to NS_OpenURI(...). This allows progress notifications to be fired for images...
git-svn-id: svn://10.0.0.236/trunk@69267 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:53:58 +00:00
rpotts%netscape.com
c92307bc1c Fixed progress notifications to respect the nsIChannel::LOAD_BACKGROUND flag
git-svn-id: svn://10.0.0.236/trunk@69266 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:52:49 +00:00
jst%netscape.com
6a6910e73a Landing support for the 'innerHTML' property on HTML elements in mozilla, fixes part of bug 9201.
git-svn-id: svn://10.0.0.236/trunk@69265 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:49:16 +00:00
chuang%netscape.com
4bb7cdf72d Edit Mailing list backend and fix for mailing list add, delete problem
git-svn-id: svn://10.0.0.236/trunk@69261 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:16:52 +00:00
attinasi%netscape.com
2713426ed0 New daily build data added
git-svn-id: svn://10.0.0.236/trunk@69260 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:16:11 +00:00
attinasi%netscape.com
bedb122dae Updated scripts to deal with the changes to the Viewer output and changes to the BuildID file location and format
git-svn-id: svn://10.0.0.236/trunk@69259 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:15:43 +00:00
chuang%netscape.com
11c9099186 more Edit mail list dialog front end
git-svn-id: svn://10.0.0.236/trunk@69258 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:09:52 +00:00
dcone%netscape.com
e3a36c7679 Fixed warnings.. using XP types.
git-svn-id: svn://10.0.0.236/trunk@69257 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:09:44 +00:00
dcone%netscape.com
e70f8cda25 Added the DrawStdLine call. Not using the GTK matrix member.. using the mTranMatrix
member declared in the nsRenderingContextImpl.h file.


git-svn-id: svn://10.0.0.236/trunk@69256 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:07:09 +00:00
dougt%netscape.com
553f70c5f1 adding xpfe file locations to be a provider of the nsDirectoryService.
r=dveditz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@69255 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:06:17 +00:00
dcone%netscape.com
f612b05135 Added the DrawStdLine call. The RenderingContext now updates the mTransMatrix pointer member so the RenderingContextImpl can use this matrix.
git-svn-id: svn://10.0.0.236/trunk@69254 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:05:49 +00:00
nhotta%netscape.com
ab9cf9370f Changed to apply base64 encoding for multibyte charsets (used to be for japanese only) instead of sending 8 bit, bug 33661.
git-svn-id: svn://10.0.0.236/trunk@69253 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:03:27 +00:00
nhotta%netscape.com
483044a210 Changed GetMailNewsFont to use a pref value to get a proper variable width font, bug 38890.
git-svn-id: svn://10.0.0.236/trunk@69252 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:01:19 +00:00
nhotta%netscape.com
442c4f9e0f Changed MIME decoder for a multiple lines of MIME encoded header, bug 38192.
git-svn-id: svn://10.0.0.236/trunk@69251 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 21:00:38 +00:00
dougt%netscape.com
6065732034 adding dirs.js. example of how you can get different locations via the
nsDirectoryService via JS.

not part of build.


git-svn-id: svn://10.0.0.236/trunk@69250 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 20:58:47 +00:00
thayes%netscape.com
593242e996 added files: mozilla/extensions/psm-glue/src/nsSDR.cpp
git-svn-id: svn://10.0.0.236/trunk@69249 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 20:58:12 +00:00
tajima%eng.sun.com
a8a9f0d2d7 Mozilla Xprint client module. a=frang@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69248 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 20:57:31 +00:00
mscott%netscape.com
93dc370cb7 Bug #34374 --> don't bring up an alert saying the login failed if the user canceled the password dialog
during a redirector request.


git-svn-id: svn://10.0.0.236/trunk@69247 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 20:57:02 +00:00
jst%netscape.com
b7c2c33142 Checking in glue code for new DOM Level 2 CSS interfaces, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@69246 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 20:29:49 +00:00
pinkerton%netscape.com
0a028fbe4c adding to other files to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@69245 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 20:25:18 +00:00
pinkerton%netscape.com
2cab390400 added nsJSCrypto.cpp to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@69244 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 20:21:20 +00:00
morse%netscape.com
1bf3efdeda fix typo
git-svn-id: svn://10.0.0.236/trunk@69243 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 20:20:08 +00:00
alecf%netscape.com
2235f71dcb add null check
git-svn-id: svn://10.0.0.236/trunk@69242 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 20:15:29 +00:00
alecf%netscape.com
fdf20bd922 fix typo which broke account manager
git-svn-id: svn://10.0.0.236/trunk@69241 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 20:11:06 +00:00
rhp%netscape.com
d8da90a8e9 NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@69240 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:38:40 +00:00
jst%netscape.com
dd7883959a Checkin in headers for new DOM Level 2 interfaces.
git-svn-id: svn://10.0.0.236/trunk@69239 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:31:07 +00:00
rods%netscape.com
355f8921f5 make sure the charCode also gets mapped
bug 5716 r=brade (sort of)


git-svn-id: svn://10.0.0.236/trunk@69238 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:24:54 +00:00
jst%netscape.com
78f555637a Adding more DOM Level 2 CSS interfaces.
git-svn-id: svn://10.0.0.236/trunk@69237 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:24:31 +00:00
rods%netscape.com
71b1eecc63 makes sure we are responding to the correct layer for GetFrameForPoint (thanks dbaron)
b 38925


git-svn-id: svn://10.0.0.236/trunk@69236 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:22:06 +00:00
javi%netscape.com
64fc4f95b0 Teach the script object factory to create the crypto and pkcs11 objects. r-jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69235 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:21:49 +00:00
javi%netscape.com
115fcfa9d1 Update header files with new constant so that dom recognizes the crypto
JS object as part of the window object. r=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@69234 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:20:59 +00:00
ssu%netscape.com
6064c10d0c fixed problem with detecting previous installed Mozilla Seamonkey path. Not part of tinderbox builds. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@69233 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:19:49 +00:00
javi%netscape.com
41d908ef34 Forgot this one during initial check-in.
git-svn-id: svn://10.0.0.236/trunk@69232 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:19:24 +00:00
javi%netscape.com
81b3e073e7 Public headers for getting crypto object into the window object. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69231 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:18:44 +00:00
javi%netscape.com
dbf34adeda Add new source files for crypto JS object and mods for getting it to
work as a property of the window object. r=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@69230 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:17:07 +00:00
javi%netscape.com
ced9ad03e3 New Makefiles for crypto JS object related changes.
git-svn-id: svn://10.0.0.236/trunk@69229 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:15:51 +00:00
javi%netscape.com
c56d0b8307 Adding new idl files for the crypto object. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69228 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:13:31 +00:00
sfraser%netscape.com
5e1aa60a2b Fix access paths.
git-svn-id: svn://10.0.0.236/trunk@69227 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:13:10 +00:00
thayes%netscape.com
d0a1fa6feb Land SDR changes from SDR_BRANCH.
Enable calls to new interface functions in wallet.


git-svn-id: svn://10.0.0.236/trunk@69226 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 18:59:25 +00:00
thayes%netscape.com
2c72ddc39a Change tag for security component to SECURITY_CLIENT_BRANCH
git-svn-id: svn://10.0.0.236/trunk@69225 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 18:58:10 +00:00
locka%iol.ie
61b3c036f2 no message
git-svn-id: svn://10.0.0.236/trunk@69224 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 18:56:11 +00:00
locka%iol.ie
277f072a6c Fixed the popup window code
git-svn-id: svn://10.0.0.236/trunk@69223 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 18:55:48 +00:00
locka%iol.ie
6c970907bf Changed error message text
git-svn-id: svn://10.0.0.236/trunk@69222 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 18:55:22 +00:00
sspitzer%netscape.com
adf9f0e4bb remove comment.
git-svn-id: svn://10.0.0.236/trunk@69221 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 18:38:35 +00:00
sspitzer%netscape.com
dddae4b918 update. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@69220 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 18:34:30 +00:00
wtc%netscape.com
c73ef44e07 Bugzilla bug #34920: provide an emulated implementation of acceptread
and sendfile methods that I/O layers can use.  _PR_EmulateAcceptRead
is superseded by PR_EmulateAcceptRead, and _PR_EmulateSendFile and
_PR_UnixSendFile are superseded by PR_EmulateSendFile.  Deleted unused
function _PR_HPUXTransmitFile.  The workaround for the OSF1 V4.0
MAP_PRIVATE bug is moved from _PR_UnixSendFile to _MD_CreateFileMap,
ifdef'd with the new macro OSF1V4_MAP_PRIVATE_BUG, which is defined
only on OSF1 V4.
Modified files: OSF1.mk, _hpux.h, pprio.h, primpl.h, priometh.c,
prsocket.c, unix.c, and ptio.c


git-svn-id: svn://10.0.0.236/trunk@69219 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 18:34:19 +00:00
sspitzer%netscape.com
1997cd93a9 better todo list output. not part of the build.
git-svn-id: svn://10.0.0.236/trunk@69218 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 18:33:02 +00:00
sspitzer%netscape.com
6d8276f12c shell script to create new themes based on existing ones.
git-svn-id: svn://10.0.0.236/trunk@69217 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 17:03:41 +00:00
despotdaemon%netscape.com
680049d4b4 Pseudo-automatic update of changes made by carl.wong@intel.com.
git-svn-id: svn://10.0.0.236/trunk@69216 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 16:37:41 +00:00
jdunn%netscape.com
06724d8946 adding newline for hp
git-svn-id: svn://10.0.0.236/trunk@69214 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 14:56:29 +00:00
morse%netscape.com
769ae998a8 minor wording change
git-svn-id: svn://10.0.0.236/trunk@69213 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 14:39:55 +00:00
cls%seawood.org
1b2a1c66e6 More OS/2 Makefile changes. Bug #34106 Batch 13
git-svn-id: svn://10.0.0.236/trunk@69212 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 14:15:34 +00:00
rods%netscape.com
dc414889ec added comments to ifdef for better explanation
git-svn-id: svn://10.0.0.236/trunk@69211 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 14:06:32 +00:00
rods%netscape.com
d00b5c06e3 temporary fix for 38825, the frame gets notified that an option has been added
before it is actually added into the content model, so the selection cache and the
content model can be of by 1


git-svn-id: svn://10.0.0.236/trunk@69210 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 14:05:44 +00:00
ftang%netscape.com
f9b00f2887 add xprint and xprint/readme.txt for tajima@eng.sun.com
git-svn-id: svn://10.0.0.236/trunk@69209 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 13:58:13 +00:00
rods%netscape.com
c7dc1fa98b added native event debug, will print out event names when turned (NS_DEBUG ifdef'ed)
add an OleRegister Manager for properly initializing and uninitializing Ole b=38776
fixed up the key handling to properly set the char code when it is <ctrl>- <ctrl>= etc. b=5716


git-svn-id: svn://10.0.0.236/trunk@69208 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 13:39:17 +00:00
sspitzer%netscape.com
f4cb623095 almost forgot to update the package files. leaf and granrose would have kicked my ass of this.
git-svn-id: svn://10.0.0.236/trunk@69207 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 10:37:34 +00:00
rjc%netscape.com
69d15b1e2c Get full name from category results.
git-svn-id: svn://10.0.0.236/trunk@69206 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 09:34:37 +00:00
sspitzer%netscape.com
f1372ab353 really fix the mac this time.
git-svn-id: svn://10.0.0.236/trunk@69205 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 09:04:16 +00:00
sspitzer%netscape.com
1b18a9989e remove duplicate line.
git-svn-id: svn://10.0.0.236/trunk@69204 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 08:48:00 +00:00
sspitzer%netscape.com
6500e416c5 fix crasher when clicking on a text area. bug #38897.
git-svn-id: svn://10.0.0.236/trunk@69203 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 08:41:35 +00:00
sspitzer%netscape.com
1040ae93ae fix mac.
git-svn-id: svn://10.0.0.236/trunk@69202 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 08:08:00 +00:00
sspitzer%netscape.com
b84f254dff remove unused stuff.
git-svn-id: svn://10.0.0.236/trunk@69201 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 07:38:19 +00:00
ben%netscape.com
96b9517eef fixing makefile foo
git-svn-id: svn://10.0.0.236/trunk@69200 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 07:35:47 +00:00
sspitzer%netscape.com
66efd38b20 the wallet skin stuff has moved.
git-svn-id: svn://10.0.0.236/trunk@69199 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 07:19:18 +00:00
sspitzer%netscape.com
db9aff762d remove unused stuff.
git-svn-id: svn://10.0.0.236/trunk@69198 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 07:10:37 +00:00
sspitzer%netscape.com
ad387413e2 removing obsolete files.
git-svn-id: svn://10.0.0.236/trunk@69197 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 07:02:34 +00:00
ssu%netscape.com
b141168976 fixing bug #18563. Select Directory dialog now works correctly. affects only windows platforms.
git-svn-id: svn://10.0.0.236/trunk@69196 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 06:35:41 +00:00
jbetak%netscape.com
9e5f56238f 37130 Implement "Customize..." of Mail Composer charset menu
git-svn-id: svn://10.0.0.236/trunk@69195 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 06:17:19 +00:00
jbetak%netscape.com
680cda5c62 37376 Customize charset coding
git-svn-id: svn://10.0.0.236/trunk@69194 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 06:13:11 +00:00
sspitzer%netscape.com
25e05a99b8 no longer a pref, it is hard coded to be on and set to modern.
remove temporary code.


git-svn-id: svn://10.0.0.236/trunk@69193 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 05:19:21 +00:00
mscott%netscape.com
46bc1dba2e Bug #35035 add a widget for email addresses in the message pane. this helps make the message pane skinnable.
git-svn-id: svn://10.0.0.236/trunk@69192 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:55:28 +00:00
tao%netscape.com
9e25b2bd23 restore the font size 5mm->3mm.
git-svn-id: svn://10.0.0.236/trunk@69191 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:52:57 +00:00
mjudge%netscape.com
303c4eb4ce need to check for independent selection to grab mousedown state. will change this to be implemented by selectioncontroller later
git-svn-id: svn://10.0.0.236/trunk@69190 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:50:16 +00:00
ducarroz%netscape.com
d8531ad9c1 Fix for bug 33790. Replace hard coded string by entity
git-svn-id: svn://10.0.0.236/trunk@69189 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:45:55 +00:00
sspitzer%netscape.com
51bc462e35 gone.
git-svn-id: svn://10.0.0.236/trunk@69188 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:36:35 +00:00
sspitzer%netscape.com
767aac7e46 these skin files have moved.
git-svn-id: svn://10.0.0.236/trunk@69187 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:36:24 +00:00
ben%netscape.com
bb92fbf659 removing redundant skin files
git-svn-id: svn://10.0.0.236/trunk@69186 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:35:15 +00:00
mjudge%netscape.com
8f71de091e fix for caret. need to pass in domselection you are referrning to
git-svn-id: svn://10.0.0.236/trunk@69185 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:33:55 +00:00
ben%netscape.com
6082c1c557 merge with slamm's earlier checkin to xpfe/components
git-svn-id: svn://10.0.0.236/trunk@69184 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:32:34 +00:00
ben%netscape.com
689707fd05 removing redundant skin files
git-svn-id: svn://10.0.0.236/trunk@69183 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:27:29 +00:00
sspitzer%netscape.com
a3203a8da0 editor, profile, xpinstall, psm-glue skin files have moved.
git-svn-id: svn://10.0.0.236/trunk@69182 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:27:05 +00:00
sspitzer%netscape.com
5ef4975a4b psm skin files have moved.
git-svn-id: svn://10.0.0.236/trunk@69181 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:26:45 +00:00
mjudge%netscape.com
2f9bd42697 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret.
git-svn-id: svn://10.0.0.236/trunk@69180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:25:43 +00:00
sspitzer%netscape.com
d49481c3cf no more xpinstall skin here
git-svn-id: svn://10.0.0.236/trunk@69179 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:25:28 +00:00
sspitzer%netscape.com
9b808b61d8 xpinstall skins have moved
git-svn-id: svn://10.0.0.236/trunk@69178 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:25:27 +00:00
sgehani%netscape.com
a959d88396 Part of fix for option to save dl bits [b=37340]
git-svn-id: svn://10.0.0.236/trunk@69177 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:24:16 +00:00
sspitzer%netscape.com
a22f5d9b59 no more profile skin here
git-svn-id: svn://10.0.0.236/trunk@69176 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:23:05 +00:00
sgehani%netscape.com
aa83dacb15 * [Feature] Option to save downloaded bits [b=37340]
* Don't try and install if dl fails [b=30138]
* Check sd errors and stop installation [b=34012]


git-svn-id: svn://10.0.0.236/trunk@69175 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:22:46 +00:00
mjudge%netscape.com
fee885fd3f changes to add hidden attribute on selection. also to make setcaret go through the selection controller
git-svn-id: svn://10.0.0.236/trunk@69174 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:22:32 +00:00
sspitzer%netscape.com
90c3e3e8d5 these don't live here anymore.
git-svn-id: svn://10.0.0.236/trunk@69173 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:21:34 +00:00
sspitzer%netscape.com
774c317ed4 these have moved.
git-svn-id: svn://10.0.0.236/trunk@69172 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:20:49 +00:00
ben%netscape.com
54281e520c removing redundant skins directories
git-svn-id: svn://10.0.0.236/trunk@69171 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:19:28 +00:00
sspitzer%netscape.com
0058b50ef9 editor skins no longer here.
git-svn-id: svn://10.0.0.236/trunk@69170 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:18:50 +00:00
sspitzer%netscape.com
709bbf3c3b editor skins no longer built.
git-svn-id: svn://10.0.0.236/trunk@69169 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:18:10 +00:00
sspitzer%netscape.com
e2951cfa56 no more skins here.
git-svn-id: svn://10.0.0.236/trunk@69168 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:07:57 +00:00
sspitzer%netscape.com
07be4b2c53 these skin files have moved
git-svn-id: svn://10.0.0.236/trunk@69167 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:07:48 +00:00
sspitzer%netscape.com
6f89d1cea7 these skin files have moved.
git-svn-id: svn://10.0.0.236/trunk@69166 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:04:52 +00:00
sspitzer%netscape.com
b755e03209 remove these files, the have moved to mozilla/themes/modern
git-svn-id: svn://10.0.0.236/trunk@69165 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:01:23 +00:00
sspitzer%netscape.com
53f8efe475 stop building all the old mailnews skin crap.
git-svn-id: svn://10.0.0.236/trunk@69164 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 04:00:07 +00:00
dcone%netscape.com
7a169e33e0 Fixed the curve drawing to use floating point.. corrects rounding problems
git-svn-id: svn://10.0.0.236/trunk@69163 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 03:59:43 +00:00
dcone%netscape.com
b218c26981 Added some rasterization of polygons, moved some point definitions to correct locations.
git-svn-id: svn://10.0.0.236/trunk@69162 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 03:58:58 +00:00
sspitzer%netscape.com
8eac670434 message compose skins have moved
git-svn-id: svn://10.0.0.236/trunk@69161 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 03:54:27 +00:00
sspitzer%netscape.com
732298a629 not used yet.
git-svn-id: svn://10.0.0.236/trunk@69160 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 03:53:04 +00:00
sspitzer%netscape.com
652bf84fa5 the message compose skin now lives under mozilla/themes/modern
git-svn-id: svn://10.0.0.236/trunk@69159 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 03:52:43 +00:00
sspitzer%netscape.com
23f6722955 adding directory.gif, but notice it is not used yet.
git-svn-id: svn://10.0.0.236/trunk@69158 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 03:47:32 +00:00
sspitzer%netscape.com
ebcf115371 remove old address book skins
git-svn-id: svn://10.0.0.236/trunk@69157 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 03:46:55 +00:00
sfraser%netscape.com
b5a55263a9 Fix for 38819 -- bad CSS causes button movement on mousedown.
git-svn-id: svn://10.0.0.236/trunk@69156 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 03:40:22 +00:00
sspitzer%netscape.com
32f7385e9b no longer building skins here. now under mozilla/themes/modern
git-svn-id: svn://10.0.0.236/trunk@69155 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 03:29:11 +00:00
sfraser%netscape.com
5e08096d28 Fix 38302 -- add binding magic for additional textfield attribute and methods. r=ben
git-svn-id: svn://10.0.0.236/trunk@69154 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 03:05:48 +00:00
sfraser%netscape.com
4075dc301e Fix for 38815 -- ensure that autocomplete widgets pick up textfield CSS. r=ben
git-svn-id: svn://10.0.0.236/trunk@69153 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 03:02:35 +00:00
sspitzer%netscape.com
dec0eb37da THROW THE SWITCH. woo hoo.
git-svn-id: svn://10.0.0.236/trunk@69152 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 03:01:36 +00:00
sspitzer%netscape.com
30ada66a16 it's skins/modern, not modern.
git-svn-id: svn://10.0.0.236/trunk@69151 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 02:57:31 +00:00
sspitzer%netscape.com
00f8cc4c60 update.
git-svn-id: svn://10.0.0.236/trunk@69150 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 02:54:03 +00:00
putterman%netscape.com
c14b641f3a add tooltips. fixes 31807.
git-svn-id: svn://10.0.0.236/trunk@69149 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 02:52:07 +00:00
sspitzer%netscape.com
a41563a355 it's skins:modern, not modern.
git-svn-id: svn://10.0.0.236/trunk@69148 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 02:51:11 +00:00
thayes%netscape.com
93c1ba7f88 Switch client builds to SECURITY_CLIENT_BRANCH tag for security (PSM) subdirectory
git-svn-id: svn://10.0.0.236/trunk@69147 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 02:36:42 +00:00
sspitzer%netscape.com
0dc7fd40a1 it's skins/modern, not modern.
git-svn-id: svn://10.0.0.236/trunk@69146 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 02:24:17 +00:00
morse%netscape.com
60beac178a Put change-password and logout back in the UI, add diagnostic print to track down bugs 28466 and 33542
git-svn-id: svn://10.0.0.236/trunk@69145 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 02:21:45 +00:00
morse%netscape.com
5ceab3f417 minor wording change
git-svn-id: svn://10.0.0.236/trunk@69144 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 02:19:17 +00:00
sspitzer%netscape.com
167b6b5dc3 for the mac.
git-svn-id: svn://10.0.0.236/trunk@69143 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 02:13:04 +00:00
sspitzer%netscape.com
5c672c4b29 it's now skins/modern, not just modern.
git-svn-id: svn://10.0.0.236/trunk@69142 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 02:11:42 +00:00
sspitzer%netscape.com
a8293ddc86 chatzilla and xmlterm no longer part of the modern skin
git-svn-id: svn://10.0.0.236/trunk@69141 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 02:07:53 +00:00
sspitzer%netscape.com
8fe6168da7 no longer needed.
git-svn-id: svn://10.0.0.236/trunk@69140 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 02:03:18 +00:00
thayes%netscape.com
9cd41f08ba Merge changes from SDR_BRANCH.
Add more SDR features, and provide compatibility between older PSM servers
and this client library.


git-svn-id: svn://10.0.0.236/trunk@69136 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:49:15 +00:00
slamm%netscape.com
536aea591f Add some min heights as a partial fix for bug 35442 (tabs draw onto taskbar)
git-svn-id: svn://10.0.0.236/trunk@69135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:46:17 +00:00
jst%netscape.com
053748f710 Fixing bug 38357. Passing a document node to nsRange::SelectNode() crashed mozilla, now it properly throws the exception INVALID_NODE_TYPE_ERR if the node type is incorrect. r=akkana@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69134 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:44:44 +00:00
pollmann%netscape.com
f26fd30713 Bug 17605: Don't tab to anchor without an href. r=harishd
git-svn-id: svn://10.0.0.236/trunk@69133 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:43:04 +00:00
alecf%netscape.com
aa59f2c418 preliminary frontend support for saving filters
git-svn-id: svn://10.0.0.236/trunk@69132 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:42:18 +00:00
pollmann%netscape.com
eaf09f080a Bug 32898: Fix crash when targetting new window. r=rpotts
git-svn-id: svn://10.0.0.236/trunk@69131 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:33:25 +00:00
pollmann%netscape.com
61904c7f60 Bug 32898: Don't abort() on illegal frame name. Instead, print warning and press ahead. r=rpotts
git-svn-id: svn://10.0.0.236/trunk@69130 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:24:59 +00:00
alecf%netscape.com
eee73716e3 add preliminary support for saving filter terms
git-svn-id: svn://10.0.0.236/trunk@69129 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:19:15 +00:00
jbetak%netscape.com
ce37d7e4b2 32477 Implement accept-language UI
git-svn-id: svn://10.0.0.236/trunk@69128 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:18:25 +00:00
law%netscape.com
c7af3f956f Export new nsINativeAppSupport interface header
git-svn-id: svn://10.0.0.236/trunk@69127 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:10:39 +00:00
sfraser%netscape.com
42773cae35 Add some scoping {} to keep nsCOMPtrs within #ifdef code scope. This make window destruction order similar on Mac and other platforms, thereby fixing bug 38869 and maybe some other leaks.
git-svn-id: svn://10.0.0.236/trunk@69126 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:08:37 +00:00
law%netscape.com
b5aaf45c85 Install windows desktop integration panel stuff (but not used yet)
git-svn-id: svn://10.0.0.236/trunk@69125 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:07:31 +00:00
anthonyd%netscape.com
20e7680b7c r:mjudge
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly


git-svn-id: svn://10.0.0.236/trunk@69124 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:04:39 +00:00
law%netscape.com
26cc53c5ac Build Windows desktop integration component (on Windows only, of course)
git-svn-id: svn://10.0.0.236/trunk@69123 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:02:58 +00:00
sspitzer%netscape.com
e26b3ee63b xmlterm and chatzilla are gone.
git-svn-id: svn://10.0.0.236/trunk@69122 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 01:01:40 +00:00
sspitzer%netscape.com
0ce23717ad removing.
git-svn-id: svn://10.0.0.236/trunk@69121 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:59:02 +00:00
sspitzer%netscape.com
348243c178 removing
git-svn-id: svn://10.0.0.236/trunk@69120 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:58:36 +00:00
law%netscape.com
e854bc2a6d Build Windows desktop integration component (on Windows only, of course)
git-svn-id: svn://10.0.0.236/trunk@69119 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:56:54 +00:00
sspitzer%netscape.com
2e8f6e0dbf chatzilla and xmlterm should not be here. application specific manifest.rdf
files should not be here either.


git-svn-id: svn://10.0.0.236/trunk@69118 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:55:48 +00:00
pinkerton%netscape.com
eefb15bbf2 temp workaround for 38801, moving folder pane tooltip into its own popupset.
git-svn-id: svn://10.0.0.236/trunk@69117 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:54:14 +00:00
pinkerton%netscape.com
340e5e0ecd fix for 38816. we would always call the ondestroy() handler even when the oncreate() handler failed.
git-svn-id: svn://10.0.0.236/trunk@69116 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:52:34 +00:00
jefft%netscape.com
614cf7a23c added new imap SubscribeFolder() & UnsubscribeFolder() services
git-svn-id: svn://10.0.0.236/trunk@69115 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:49:51 +00:00
alecf%netscape.com
ea41ee7806 update support for boolean filters
git-svn-id: svn://10.0.0.236/trunk@69114 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:46:47 +00:00
alecf%netscape.com
8f8c03017c update to reflect new method of displaying and/or text that's i18n friendly
git-svn-id: svn://10.0.0.236/trunk@69113 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:45:15 +00:00
alecf%netscape.com
c153a1a29d display boolean and/or text appropriately
git-svn-id: svn://10.0.0.236/trunk@69112 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:44:41 +00:00
rogerl%netscape.com
031f79e924 post inc/dec
git-svn-id: svn://10.0.0.236/trunk@69111 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:35:43 +00:00
rogerl%netscape.com
1ed0e7b17e Added post inc/dec for properties & names.
git-svn-id: svn://10.0.0.236/trunk@69110 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:35:06 +00:00
ducarroz%netscape.com
47213a5d6f Fix for bug 37955. Autocomplete now observes the pref "mail.enable_autocomplete"
git-svn-id: svn://10.0.0.236/trunk@69109 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:30:18 +00:00
ducarroz%netscape.com
bbd03d84f1 Fix for bug 37955. Add a default pref "mail.enable_autocomplete"
git-svn-id: svn://10.0.0.236/trunk@69108 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:27:20 +00:00
sgehani%netscape.com
6f43322f22 Alter "Browse..." folder selection dialog invoking button to read "Change..."
[b=36856]


git-svn-id: svn://10.0.0.236/trunk@69107 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:26:05 +00:00
ducarroz%netscape.com
2e07f1d73d Patch for bug 38800. Temporary disable autocomplete until we figure out the real problem.
git-svn-id: svn://10.0.0.236/trunk@69106 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:21:17 +00:00
ftang%netscape.com
38fc325d10 first add. not part of the build system yet. fix 38321
git-svn-id: svn://10.0.0.236/trunk@69104 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:19:03 +00:00
slamm%netscape.com
dc8b5fb06a Sidebar style optimizations.
git-svn-id: svn://10.0.0.236/trunk@69103 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:08:34 +00:00
slamm%netscape.com
8683991692 Fix "woefully inadequate" file menu (bug 29265).
git-svn-id: svn://10.0.0.236/trunk@69102 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 00:08:26 +00:00
mccabe%netscape.com
65adc912fa Mark 'clear' function exposed thru shell global object PR_CALLBACK, like other similar functions.
Patch courtesy Skip Nizinski <snizinsk@us.ibm.com>.


git-svn-id: svn://10.0.0.236/trunk@69101 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:58:51 +00:00
despotdaemon%netscape.com
03cfacab77 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@69100 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:46:48 +00:00
suresh%netscape.com
79273fd3a5 Adding id to treerow in template.
git-svn-id: svn://10.0.0.236/trunk@69099 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:45:48 +00:00
suresh%netscape.com
37dc539b9b Adding settimeout to selectfirstaddressbook.
git-svn-id: svn://10.0.0.236/trunk@69097 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:44:58 +00:00
pavlov%netscape.com
0db5c92501 fix for unix filepicker not coming up correctly (bug #38810)
git-svn-id: svn://10.0.0.236/trunk@69096 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:41:33 +00:00
av%netscape.com
3468b0998f Stanley Ho's patch to fix 19222
git-svn-id: svn://10.0.0.236/trunk@69095 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:29:21 +00:00
pavlov%netscape.com
6de511c66f work on filtering by type on unix filepicker bug #9671
git-svn-id: svn://10.0.0.236/trunk@69094 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:28:41 +00:00
attinasi%netscape.com
d41a6d8cd5 Fixed problem where continuation frames were repeating the background image even when no-repeat was set. b=38764 r=buster
git-svn-id: svn://10.0.0.236/trunk@69093 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:24:08 +00:00
dac%x.cx
1372774810 http stuff
git-svn-id: svn://10.0.0.236/trunk@69091 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:20:05 +00:00
alecf%netscape.com
44197c48b8 add smtp datasource to the factory
git-svn-id: svn://10.0.0.236/trunk@69090 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:07:32 +00:00
tao%netscape.com
9cf24b0328 Move localizable css settings to locale/intl.css. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@69089 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:03:54 +00:00
nisheeth%netscape.com
bf1e322201 Add support for loading an XML document from script within a XUL document also.
git-svn-id: svn://10.0.0.236/trunk@69088 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 23:02:32 +00:00
sgehani%netscape.com
90816b1fa7 Turning creation if desktop alias back on now that the xpinstall feature
regression is fixed.


git-svn-id: svn://10.0.0.236/trunk@69087 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:54:05 +00:00
alecf%netscape.com
99c90d4aa5 remove dependancies on mail util headers to fix HP build
git-svn-id: svn://10.0.0.236/trunk@69086 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:47:58 +00:00
kmcclusk%netscape.com
e26ea11f32 Allow global offscreen to size bigger than a screen without creating a new offscreen each time and asserting. b=38847 r=rods@netscape.com tested=WIN32,Linux Removed compiler warnings in nsViewManager2
git-svn-id: svn://10.0.0.236/trunk@69085 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:45:33 +00:00
davidm%netscape.com
90b0c858aa 21137 Hook up reload/shift-reload/back/forward buttons to load att
r = rpotts


git-svn-id: svn://10.0.0.236/trunk@69084 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:45:24 +00:00
sgehani%netscape.com
73c0bffc6e * [Feature] Multi-xpi support per checkbox [b=34881]
* Prevent multiple dialogs when consecutive return keys hit [b=36993,36988]
* Multiple resource release crash fixes.


git-svn-id: svn://10.0.0.236/trunk@69083 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:44:49 +00:00
pollmann%netscape.com
559cee18e9 Bug 30721: Crash fix for failing to get document URL during form submission, r=nisheeth
Bug 38664: Leak of encoder during form submission, fix thanks to yueheng.xu@intel.com, r=self, nisheeth


git-svn-id: svn://10.0.0.236/trunk@69082 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:37:49 +00:00
rickg%netscape.com
bd3e3d8caf more WIP for strict DTD; r=harishd
git-svn-id: svn://10.0.0.236/trunk@69081 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:37:32 +00:00
alecf%netscape.com
d81c8e3ecd Filter editor updates:
- add stub folder picker for move actions
- add columns in the tree for i18n to insert strings
- fix searchterm so that it actually refreshes each row


git-svn-id: svn://10.0.0.236/trunk@69080 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:35:02 +00:00
alecf%netscape.com
2188d95e64 add default keyset
git-svn-id: svn://10.0.0.236/trunk@69079 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:33:59 +00:00
pavlov%netscape.com
6d22087f58 see if this fixes the orangeness that has plagued us for the last few weeks ;)
git-svn-id: svn://10.0.0.236/trunk@69078 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:33:24 +00:00
alecf%netscape.com
79fddfc58d fix typo that was preventing non-text searchvalues from showing up, and remove lots of dumps
git-svn-id: svn://10.0.0.236/trunk@69077 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:33:17 +00:00
alecf%netscape.com
bb660c17f7 fix excess undefineds coming from the .defaultValue attribute
git-svn-id: svn://10.0.0.236/trunk@69076 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:30:54 +00:00
law%netscape.com
4a009e0019 Tweak this test per modified AsyncRead api
git-svn-id: svn://10.0.0.236/trunk@69075 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:27:17 +00:00
alecf%netscape.com
1bf1b54398 add new search criteria properties file
git-svn-id: svn://10.0.0.236/trunk@69074 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:26:51 +00:00
morse%netscape.com
4e62a02e8e perpare for having change-password and logout commands in the UI again
git-svn-id: svn://10.0.0.236/trunk@69073 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:25:09 +00:00
yueheng.xu%intel.com
bf4b7bf752 fix the platformencoder leak (#38664)
git-svn-id: svn://10.0.0.236/trunk@69072 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:24:35 +00:00
nhotta%netscape.com
7ff483a96d Changed to use _mbsrchr instead of strrchr to support double-byte characters on PC (the change is ifdef for XP_PC),
check in for m_kato@ga2.so-net.ne.jp, r=ftang, bug 29546.


git-svn-id: svn://10.0.0.236/trunk@69071 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:24:22 +00:00
morse%netscape.com
908bc40427 prepare for having change-password and logout commands in the UI again
git-svn-id: svn://10.0.0.236/trunk@69070 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:24:05 +00:00
rginda%netscape.com
6f3a60503b -- CHATZILLA CHANGES ONLY --
Implemented supah-kewl tab completion


git-svn-id: svn://10.0.0.236/trunk@69069 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:23:35 +00:00
law%netscape.com
ff4a6d95e2 Add label for Desktop Integration branch
git-svn-id: svn://10.0.0.236/trunk@69068 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:23:21 +00:00
law%netscape.com
e2d121f3d6 New panel for Windows desktop integration preferences
git-svn-id: svn://10.0.0.236/trunk@69067 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:20:50 +00:00
jefft%netscape.com
f470d1b7b8 implemented DiscoverAllAndSubscribedBoxes()
git-svn-id: svn://10.0.0.236/trunk@69066 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:07:57 +00:00
ssu%netscape.com
98a7f01dc8 fixing bug #38568. affects only windows platforms.
git-svn-id: svn://10.0.0.236/trunk@69065 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:06:36 +00:00
law%netscape.com
d44500542d New files to provide baseline implementation of new nsINativeAppSupport interface (not built yet)
git-svn-id: svn://10.0.0.236/trunk@69064 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:05:43 +00:00
kmcclusk%netscape.com
58ad144778 Force average character height to be at least 1 twip instead of allowing it to round off to 0 for extremely small fonts on WIN32. b=38188 r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69063 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:04:40 +00:00
rogerl%netscape.com
1f77608270 Bug #38384, fix from norris (which I tweaked a little) to handle a bug in
recursive reseting of the thisObj in InterpreterData.


git-svn-id: svn://10.0.0.236/trunk@69062 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:03:15 +00:00
jefft%netscape.com
24b4377de7 add default smtp auth method
git-svn-id: svn://10.0.0.236/trunk@69061 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 22:01:49 +00:00
blizzard%redhat.com
fdd6ad0446 add tests for new window and for visibility changes. make sure to destroy the widget when it's requested
git-svn-id: svn://10.0.0.236/trunk@69060 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 21:55:36 +00:00
blizzard%redhat.com
173ac2ddfd add new_window + visibility change signals. add map method to widget so that you can use the show and realize methods in the right order.
git-svn-id: svn://10.0.0.236/trunk@69059 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 21:54:53 +00:00
brade%netscape.com
f0461995e5 turn on editor context menus (though they are not done yet)
git-svn-id: svn://10.0.0.236/trunk@69058 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 21:02:28 +00:00
jbetak%netscape.com
0c0fc5f888 32477 Implement accept-language UI
git-svn-id: svn://10.0.0.236/trunk@69057 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 20:20:21 +00:00
jst%netscape.com
857088ac5a Teaching IDLC about the type 'float'.
git-svn-id: svn://10.0.0.236/trunk@69056 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 20:12:44 +00:00
brendan%mozilla.org
2b8ca54165 Reword comment to fix typo (missing 'to').
git-svn-id: svn://10.0.0.236/trunk@69055 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 20:05:17 +00:00
brendan%mozilla.org
573a86b5c2 More minor style cleanups, plus a teeny optimization from tlundeen@webcrossing.com.
git-svn-id: svn://10.0.0.236/trunk@69054 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 19:58:28 +00:00
brendan%mozilla.org
53d858c363 Fix the TOO_MUCH_GC define (optional for GC stress-testing, not part of build).
git-svn-id: svn://10.0.0.236/trunk@69053 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 19:56:21 +00:00
brendan%mozilla.org
64e4f8c0de Minor style improvements (80th column, over-parenthesization, better variable names).
git-svn-id: svn://10.0.0.236/trunk@69052 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 19:55:48 +00:00
brade%netscape.com
d9a3c28674 adding file for shaver
git-svn-id: svn://10.0.0.236/trunk@69051 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 19:55:35 +00:00
sfraser%netscape.com
e46df4119f Just reorder the $build array so that it matches the real build order
git-svn-id: svn://10.0.0.236/trunk@69050 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 19:54:07 +00:00
brade%netscape.com
9dbb8f77da fix to correspond with jst's fix (setting doctype properly)
git-svn-id: svn://10.0.0.236/trunk@69049 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 19:53:38 +00:00
jst%netscape.com
6ef78288c3 Support replacing the doctype in a document.
git-svn-id: svn://10.0.0.236/trunk@69048 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 19:52:08 +00:00
ftang%netscape.com
73c5c921d6 add demo cases for bug 16796 and 36863. add german &szlig;
Since we have not fix bug 36863 yet, that part is in
html comment for now.


git-svn-id: svn://10.0.0.236/trunk@69047 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 19:48:05 +00:00
ftang%netscape.com
ef22a5b8b1 fix bug 16796. handle german &szlig; and convert to SS in capital and uppercase
git-svn-id: svn://10.0.0.236/trunk@69046 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 19:44:09 +00:00
sspitzer%netscape.com
9e9f528339 fix for crasher bug #38803, r=putterman,a=granrose.
git-svn-id: svn://10.0.0.236/trunk@69045 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 18:26:45 +00:00
jst%netscape.com
e863b5d840 Fixing incorrect hash table useage, this fixes smoketest blocker #38795. a=granrose
git-svn-id: svn://10.0.0.236/trunk@69044 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 18:19:46 +00:00
karnaze%netscape.com
9e52ca34fc new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@69043 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 14:53:41 +00:00
karnaze%netscape.com
2ab4c80c67 bug 38699 - make left/right align caption act like top instead of bottom.
git-svn-id: svn://10.0.0.236/trunk@69042 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 14:51:37 +00:00
brade%netscape.com
85f5913cf2 check in change that was lost
git-svn-id: svn://10.0.0.236/trunk@69041 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 14:41:12 +00:00
jefft%netscape.com
4f02a16628 added couple more imap global prefs
git-svn-id: svn://10.0.0.236/trunk@69040 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 14:39:50 +00:00
sspitzer%netscape.com
1963368c66 update.
git-svn-id: svn://10.0.0.236/trunk@69039 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 14:01:05 +00:00
cmanske%netscape.com
79e11cf978 Removing EditorCommands.js (replaced by editor.js)
git-svn-id: svn://10.0.0.236/trunk@69038 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:57:33 +00:00
cmanske%netscape.com
a9dda20849 Switch to using 'editor.js' instead of 'EditorCommands.js', Removed obsolete methods in editor.js, Removed unnecessary code in editorshell.
git-svn-id: svn://10.0.0.236/trunk@69037 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:56:30 +00:00
cmanske%netscape.com
c021876187 Switch to using 'editor.js' instead of 'EditorCommands.js'
git-svn-id: svn://10.0.0.236/trunk@69036 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:56:27 +00:00
jst%netscape.com
965b3e5a20 added files: mozilla/layout/base/src/nsNodeInfo.cpp, mozilla/layout/base/src/nsNodeInfoManager.cpp
git-svn-id: svn://10.0.0.236/trunk@69035 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:31:53 +00:00
jst%netscape.com
0f0b4d6367 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
ben%netscape.com
5c4b1fc694 modifications to newsgroup subscription dialog:
- made sizable (enough of the damned 4.x/win nonresizability!)
- modified XUL a bit to make it scale more smoothly
- skinnability tweaks


git-svn-id: svn://10.0.0.236/trunk@69033 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 10:12:00 +00:00
morse%netscape.com
8b5dfddea9 bug 38709, preview editor can hang browser
git-svn-id: svn://10.0.0.236/trunk@69032 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 08:54:48 +00:00
rjc%netscape.com
09e97b17c4 Center common dialogs on screen.
git-svn-id: svn://10.0.0.236/trunk@69031 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 08:42:29 +00:00
cata%netscape.com
4358c39336 Fixing JS error bug.
git-svn-id: svn://10.0.0.236/trunk@69030 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 08:19:46 +00:00
hyatt%netscape.com
3fe1be68a3 Fix my bigass leak.
git-svn-id: svn://10.0.0.236/trunk@69029 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 08:19:43 +00:00
alecf%netscape.com
8d32f108a0 add smtp datasource and delegate factory to the unix build
git-svn-id: svn://10.0.0.236/trunk@69028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 08:06:50 +00:00
sspitzer%netscape.com
ee425d0d98 updated
git-svn-id: svn://10.0.0.236/trunk@69027 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 08:01:17 +00:00
alecf%netscape.com
539d07a12e fix test bustage
git-svn-id: svn://10.0.0.236/trunk@69026 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 07:55:04 +00:00
alecf%netscape.com
0df4fb30ff added files: mozilla/mailnews/compose/src/nsSmtpDataSource.cpp, mozilla/mailnews/compose/src/nsSmtpDelegateFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@69025 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 07:47:54 +00:00
sspitzer%netscape.com
251e736e76 update.
git-svn-id: svn://10.0.0.236/trunk@69024 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 07:32:44 +00:00
saari%netscape.com
4721e131f2 Slight modification to my fix for bug 38725 to make it more robust in the case of a popup bringing up a popup. Just in case.
git-svn-id: svn://10.0.0.236/trunk@69023 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 07:32:14 +00:00
alecf%netscape.com
21fca137ef scriptify key methods of nsIMsgSend so that QA can do more whitebox testing
git-svn-id: svn://10.0.0.236/trunk@69022 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 07:30:45 +00:00
alecf%netscape.com
70dd6608ec add delegate factory and datasource to windows build
git-svn-id: svn://10.0.0.236/trunk@69021 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 07:29:51 +00:00
rjc%netscape.com
a0a4d7c080 Fix silly warnings.
git-svn-id: svn://10.0.0.236/trunk@69020 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 07:26:13 +00:00
rginda%netscape.com
b74ebda008 -- CHATZILLA CHANGES ONLY --
add /server, /quit, /exit commands


git-svn-id: svn://10.0.0.236/trunk@69019 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 07:08:33 +00:00
ben%netscape.com
a8ef2c2904 update to link to new file
git-svn-id: svn://10.0.0.236/trunk@69018 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 07:05:37 +00:00
ben%netscape.com
0e6fa61357 adding file...
git-svn-id: svn://10.0.0.236/trunk@69017 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 07:02:45 +00:00
ducarroz%netscape.com
c91f7dcb2c Remove unused and invalid css rule
git-svn-id: svn://10.0.0.236/trunk@69016 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 07:01:54 +00:00
ben%netscape.com
079e7c7d3c formatting.css makefile support
git-svn-id: svn://10.0.0.236/trunk@69015 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:59:38 +00:00
sspitzer%netscape.com
c13f58ec54 ignore generated makefiles
git-svn-id: svn://10.0.0.236/trunk@69014 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:58:36 +00:00
ben%netscape.com
c899352582 formatting.css
git-svn-id: svn://10.0.0.236/trunk@69013 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:58:34 +00:00
rjc%netscape.com
1cd312351e Enable option to play sound on bookmark schedule status change.
git-svn-id: svn://10.0.0.236/trunk@69012 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:55:10 +00:00
sspitzer%netscape.com
cd35e3e106 ignore generated makefiles.
git-svn-id: svn://10.0.0.236/trunk@69011 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:53:03 +00:00
alecf%netscape.com
24f31489da add new new CIDs and progIDs for the SMTP datasource and delegate factory
git-svn-id: svn://10.0.0.236/trunk@69010 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:50:02 +00:00
alecf%netscape.com
328f6bea8c update import stuff to match new api
git-svn-id: svn://10.0.0.236/trunk@69009 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:45:01 +00:00
alecf%netscape.com
b0b421d185 add second parameter to nsISmtpService::FindServer for the datasource
git-svn-id: svn://10.0.0.236/trunk@69008 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:44:06 +00:00
ducarroz%netscape.com
0d1f53e951 fix for bug 38342. Don't test return & tab keys on onkeyup but on onkeypress
git-svn-id: svn://10.0.0.236/trunk@69007 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:40:14 +00:00
sspitzer%netscape.com
9ffceee93b update
git-svn-id: svn://10.0.0.236/trunk@69006 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:35:17 +00:00
sspitzer%netscape.com
00c8b2c24a update.
git-svn-id: svn://10.0.0.236/trunk@69005 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:32:28 +00:00
alecf%netscape.com
877fe8bf7b updated datasource and new checkin of smtp delegate factory
git-svn-id: svn://10.0.0.236/trunk@69004 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:24:53 +00:00
sspitzer%netscape.com
27649a9399 whoops, don't need that.
git-svn-id: svn://10.0.0.236/trunk@69003 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:23:45 +00:00
ducarroz%netscape.com
efcdce1375 Fix for bug 37478, 36734, 36730. More work with the autocomplete widget.
git-svn-id: svn://10.0.0.236/trunk@69002 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:20:54 +00:00
sspitzer%netscape.com
72b8e00459 update.
git-svn-id: svn://10.0.0.236/trunk@69001 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:19:07 +00:00
ducarroz%netscape.com
3d943d0884 ...really disable autocomplete menu this time!
git-svn-id: svn://10.0.0.236/trunk@69000 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:17:52 +00:00
ducarroz%netscape.com
fa5cf4b856 DIsable autocomplete menu in addressing widget until this one is more stable
git-svn-id: svn://10.0.0.236/trunk@68999 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:16:48 +00:00
rhp%netscape.com
a90b49fd46 CHANGES NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@68998 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:14:18 +00:00
cmanske%netscape.com
8ec545de44 Changed rules for All Tags mode so background color is not affected, only background image
git-svn-id: svn://10.0.0.236/trunk@68997 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:08:00 +00:00
sspitzer%netscape.com
63d5e2b6bc update.
git-svn-id: svn://10.0.0.236/trunk@68996 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 06:07:51 +00:00
saari%netscape.com
adea9a1c8b Fix for bug 38725, popups cause blurs to fire on MacOS only.
git-svn-id: svn://10.0.0.236/trunk@68995 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 05:42:22 +00:00
cmanske%netscape.com
032e96d2c8 Adding editor.js as replacement for EditorCommands.js to avoid confusion with ComposerCommands.js (not used yet)
git-svn-id: svn://10.0.0.236/trunk@68994 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 05:30:13 +00:00
rickg%netscape.com
830de45a8c more improvements to strictDTD::<body>
git-svn-id: svn://10.0.0.236/trunk@68993 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 05:25:43 +00:00
rjc%netscape.com
df160e34b3 Fix nsCAutoString usage.
git-svn-id: svn://10.0.0.236/trunk@68992 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 05:17:10 +00:00
rickg%netscape.com
39a40cc260 improvements to strictDTD::<body>
git-svn-id: svn://10.0.0.236/trunk@68991 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 05:15:21 +00:00
sspitzer%netscape.com
df5c34f10c packager changes for the modern chrome
git-svn-id: svn://10.0.0.236/trunk@68988 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 04:38:35 +00:00
sspitzer%netscape.com
a5546be134 eventually, manifest.rdf will be generated. for now, check it in.
git-svn-id: svn://10.0.0.236/trunk@68987 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 04:26:47 +00:00
dmose%mozilla.org
23c0e57b76 Made the warning at the top of the file less drastic.
git-svn-id: svn://10.0.0.236/trunk@68986 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 04:02:30 +00:00
dmose%mozilla.org
930050eaee updated a bit
git-svn-id: svn://10.0.0.236/trunk@68985 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 04:01:42 +00:00
ben%netscape.com
8db50d647b added manifest file for this skin
git-svn-id: svn://10.0.0.236/trunk@68984 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 04:01:30 +00:00
ftang%netscape.com
6d1f2c96e8 fix bug in the SaveDocument code.
git-svn-id: svn://10.0.0.236/trunk@68983 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 03:52:02 +00:00
dprice%netscape.com
b597942b31 Fixing 31135 r=mjudge
git-svn-id: svn://10.0.0.236/trunk@68982 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 03:41:50 +00:00
jbetak%netscape.com
6ce90c3690 32477 Accept-Language UI
git-svn-id: svn://10.0.0.236/trunk@68981 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 03:36:03 +00:00
attinasi%netscape.com
ce0f6c5fd1 Put back in the code to propagate the background to the canvas frame at frame construction time. b=38744
git-svn-id: svn://10.0.0.236/trunk@68980 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 03:31:43 +00:00
jbetak%netscape.com
33ed6fc836 32477 Implement accept-language UI
git-svn-id: svn://10.0.0.236/trunk@68979 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 03:27:25 +00:00
jbetak%netscape.com
61ea758c9d 32477 Implement accept-language UI
git-svn-id: svn://10.0.0.236/trunk@68978 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 03:21:58 +00:00
ben%netscape.com
e88ba0c873 forgot file
git-svn-id: svn://10.0.0.236/trunk@68977 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 03:11:32 +00:00
ben%netscape.com
06c63c04fa checking in preliminary skin switching UI.
git-svn-id: svn://10.0.0.236/trunk@68976 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 03:11:14 +00:00
jbetak%netscape.com
efac440d5e 37130 Implement "Customize..." of Mail Composer charset menu
git-svn-id: svn://10.0.0.236/trunk@68975 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:58:45 +00:00
cmanske%netscape.com
5ca556163b Removed temporary hack to test EditConflict dialog
git-svn-id: svn://10.0.0.236/trunk@68974 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:38:08 +00:00
danm%netscape.com
5a59b7fcfe new makefiles in xpfe/communicator/resources
git-svn-id: svn://10.0.0.236/trunk@68973 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:31:31 +00:00
cmanske%netscape.com
fb67e98807 Added another case for rule that supresses borders on plain buttons a=ben
git-svn-id: svn://10.0.0.236/trunk@68972 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:23:09 +00:00
danm%netscape.com
1777a43c6b more chrome registration rearrangement
git-svn-id: svn://10.0.0.236/trunk@68971 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:17:03 +00:00
hyatt%netscape.com
0c036a1b14 Making XML, MathML, SVG, and HTML elements support passing attribute changes into XBL bindings.
git-svn-id: svn://10.0.0.236/trunk@68970 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:15:47 +00:00
ruslan%netscape.com
c2bc395a0c Prevent infinite loop in OnStop in case when Cancel is issued
git-svn-id: svn://10.0.0.236/trunk@68969 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:05:54 +00:00
danm%netscape.com
e81fb16ddc adding final directory to CHROME_TYPE rule
git-svn-id: svn://10.0.0.236/trunk@68968 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:04:20 +00:00
cmanske%netscape.com
be7794e25a Collapse now works for hiding toolbars! Use this to hide toolbars in HTML Source editing
git-svn-id: svn://10.0.0.236/trunk@68967 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:03:47 +00:00
danm%netscape.com
d8bb5822cf chrome installation manifests
git-svn-id: svn://10.0.0.236/trunk@68966 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:02:13 +00:00
cmanske%netscape.com
d57fa12b4f Removing tag icons from makefile (moved to ui/composer/content/makefile.win)
git-svn-id: svn://10.0.0.236/trunk@68965 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:01:46 +00:00
danm%netscape.com
2db7b69daf new chrome installation stuff
git-svn-id: svn://10.0.0.236/trunk@68964 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 02:00:42 +00:00
nhotta%netscape.com
331918b706 Change for default font setting for Plain text view (format=fixed).
Put the default font info into existing tags instead of defining a separate tag
which was overridden by inner tags, bug 26182.


git-svn-id: svn://10.0.0.236/trunk@68963 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:58:32 +00:00
sspitzer%netscape.com
84ffeba8a9 fix for #37239. fix OS/2 build problems. patch from snizinsk@us.ibm.com
git-svn-id: svn://10.0.0.236/trunk@68962 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:57:35 +00:00
law%netscape.com
65847d9ff1 New files for windows desktop integration (not built yet)
git-svn-id: svn://10.0.0.236/trunk@68961 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:50:59 +00:00
jbetak%netscape.com
2877526ef2 37130 Implement "Customize..." charset dialog in Mail Composer view menu
git-svn-id: svn://10.0.0.236/trunk@68960 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:50:42 +00:00
mstoltz%netscape.com
13439fde3a added files: mozilla/caps/idl/nsISignatureVerifier.idl
git-svn-id: svn://10.0.0.236/trunk@68959 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:50:00 +00:00
mstoltz%netscape.com
763db43f91 Removed dependency of libjar on psm-glue, bug 36853. Fixed out parameter type problem in PSMComponent::HashEnd
git-svn-id: svn://10.0.0.236/trunk@68958 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:49:33 +00:00
sspitzer%netscape.com
3786a422e5 turn this on.
git-svn-id: svn://10.0.0.236/trunk@68957 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:47:55 +00:00
pinkerton%netscape.com
97b89c6754 fix for 38218. don't setup the menu dismissal listener if the popup is a tooltip. this allows menus to work in conjunction with tooltips.
git-svn-id: svn://10.0.0.236/trunk@68956 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:43:54 +00:00
sspitzer%netscape.com
79c820a057 more work to get subscribe dialog to work with imap servers.
thanks to jefft@netscape.com for the imap help.


git-svn-id: svn://10.0.0.236/trunk@68955 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:40:34 +00:00
jgaunt%netscape.com
369e6376aa hp only fix, word boundary problem
bug # 37482  r=jdunn@netscape.com


git-svn-id: svn://10.0.0.236/trunk@68954 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:11:22 +00:00
rhp%netscape.com
fec1146c44 JUST UPDATING SOURCE - NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@68953 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:11:06 +00:00
hyatt%netscape.com
e21033e3c4 Fix leak.
git-svn-id: svn://10.0.0.236/trunk@68952 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:09:45 +00:00
alecf%netscape.com
58973496f4 work on moving to new array of scriptable search terms
git-svn-id: svn://10.0.0.236/trunk@68951 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:06:26 +00:00
alecf%netscape.com
af78ea4e34 switch to using nsISupportsArray for now
git-svn-id: svn://10.0.0.236/trunk@68950 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:03:22 +00:00
alecf%netscape.com
e88dbf63bf make this interface scriptable
git-svn-id: svn://10.0.0.236/trunk@68949 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 01:02:56 +00:00
cmanske%netscape.com
7738cb80a5 The correct version of EditorCommands.js that was supposed to be in last checkin!
git-svn-id: svn://10.0.0.236/trunk@68948 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:57:05 +00:00
karnaze%netscape.com
f1700ddd48 bug 29459 - strategy's table min and max width is calculated to include
percent and proportional cells. Stopped caching it. Calculate max element size better.


git-svn-id: svn://10.0.0.236/trunk@68947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:54:00 +00:00
gagan%netscape.com
71361e9a0b Fixed bug 37347. HTTP HEAD requests should work now.
git-svn-id: svn://10.0.0.236/trunk@68946 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:48:28 +00:00
sfraser%netscape.com
645813c95e Tidy up the #ifdefs in CreateHiddenWindow to not confuse the CodeWarrior editor.
git-svn-id: svn://10.0.0.236/trunk@68945 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:37:05 +00:00
mccabe%netscape.com
0f10f8f0b5 Add pithy quote.
git-svn-id: svn://10.0.0.236/trunk@68944 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:35:30 +00:00
ben%netscape.com
dea097b2d5 making directory viewer skinnable
git-svn-id: svn://10.0.0.236/trunk@68943 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:26:46 +00:00
karnaze%netscape.com
bdb5c84556 new regression test not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@68942 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:24:57 +00:00
jst%netscape.com
b52057cd78 Checking partial fix for bug 37239, the fix was contributed by snizinsk@us.ibm.com. r=me
git-svn-id: svn://10.0.0.236/trunk@68941 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:24:38 +00:00
slamm%netscape.com
92296e74e2 Fix start time of 'C' links.
git-svn-id: svn://10.0.0.236/trunk@68940 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:22:05 +00:00
pierre%netscape.com
52506ce474 bumped up the debug build memory partition to 16Mb instead of 12
git-svn-id: svn://10.0.0.236/trunk@68939 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:10:45 +00:00
dmose%mozilla.org
c40bdd9845 Split out and added detail to XPCOMification info.
git-svn-id: svn://10.0.0.236/trunk@68938 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:08:26 +00:00
dmose%mozilla.org
73cf070508 Cleaned up a bit. Added some top-priority tasks to the top of the housecleaning section.
git-svn-id: svn://10.0.0.236/trunk@68937 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:07:22 +00:00
dmose%mozilla.org
e9ab102aa4 Added more verbiage about the instability of the code.
git-svn-id: svn://10.0.0.236/trunk@68936 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:06:46 +00:00
ddrinan%netscape.com
d85e625f23 Link xpcom dynamically for Solaris and HP-UX
git-svn-id: svn://10.0.0.236/trunk@68935 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:01:29 +00:00
sspitzer%netscape.com
1cf7bc04b8 update
git-svn-id: svn://10.0.0.236/trunk@68934 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 00:00:11 +00:00
sspitzer%netscape.com
0387ecf4c5 update.
git-svn-id: svn://10.0.0.236/trunk@68933 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:57:20 +00:00
dougt%netscape.com
18a3907030 InitWithPath should not store trailing seperatores in paths. It really is
an error to pass a trailing seperator, but we are just being kind.


git-svn-id: svn://10.0.0.236/trunk@68932 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:53:03 +00:00
wtc%netscape.com
82465958df Compatibility with Universal Headers 3.3 or later.
git-svn-id: svn://10.0.0.236/trunk@68931 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:49:23 +00:00
rogerl%netscape.com
5560de121d Bug #31316, didn't reset paren state after failed alt.
git-svn-id: svn://10.0.0.236/trunk@68930 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:47:18 +00:00
rogerl%netscape.com
539371e4ce Bug #32937, toLocaleString added to Number class.
git-svn-id: svn://10.0.0.236/trunk@68929 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:46:13 +00:00
rogerl%netscape.com
d079003c31 Bug #22866, support \u2028 \u2029 line terminators
git-svn-id: svn://10.0.0.236/trunk@68928 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:44:49 +00:00
wtc%netscape.com
dc4484722f Adjusted white space.
git-svn-id: svn://10.0.0.236/trunk@68927 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:44:35 +00:00
sspitzer%netscape.com
2313ca9b84 update.
git-svn-id: svn://10.0.0.236/trunk@68926 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:43:11 +00:00
dmose%mozilla.org
79013acd7d Move prototype outside of #ifdef DEBUG so that non-DEBUG builds don't die.
git-svn-id: svn://10.0.0.236/trunk@68924 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:41:32 +00:00
sspitzer%netscape.com
34854d1272 make the skin switching code turned on/off by a pref. off by default for now.
git-svn-id: svn://10.0.0.236/trunk@68922 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:28:57 +00:00
sspitzer%netscape.com
e3323b8c26 pref for skin switching.
git-svn-id: svn://10.0.0.236/trunk@68921 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:28:18 +00:00
sfraser%netscape.com
754e1a687b File Removed.
git-svn-id: svn://10.0.0.236/trunk@68920 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:24:55 +00:00
sspitzer%netscape.com
4834a547b3 update.
git-svn-id: svn://10.0.0.236/trunk@68919 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:18:55 +00:00
hangas%netscape.com
0f2a5efda4 Fixed files to import the correct css files. communicator.css for addressbook (19561), and messenger.css for messagecompose (19558).
git-svn-id: svn://10.0.0.236/trunk@68918 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:15:12 +00:00
ddrinan%netscape.com
87ec56fa91 Fixed NSPR library typos for Solaris
git-svn-id: svn://10.0.0.236/trunk@68917 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:14:07 +00:00
sfraser%netscape.com
597b31823e Add nsEditorShellMouseListener.cpp for cmanske
git-svn-id: svn://10.0.0.236/trunk@68916 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:10:30 +00:00
ssu%netscape.com
7949924917 fixing bug 21034. Program folders dialog now moved into the custom sequence. affects only windows platforms.
git-svn-id: svn://10.0.0.236/trunk@68915 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:07:50 +00:00
attinasi%netscape.com
6cf3f832c5 Preventing processing of style links if the HREF is empty. b=30817, r=harishd
git-svn-id: svn://10.0.0.236/trunk@68914 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:05:13 +00:00
cmanske%netscape.com
6eede096f5 Lots of editor feature work: bugs 26286, 34519, 28498, 36998, 37089, 14342. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@68913 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:03:41 +00:00
cmanske%netscape.com
63676aff34 Added new UNIX makefile
git-svn-id: svn://10.0.0.236/trunk@68912 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:03:31 +00:00
ben%netscape.com
dd148c282e making related panel skinnable
git-svn-id: svn://10.0.0.236/trunk@68911 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:00:46 +00:00
ben%netscape.com
a5434323fc moving loading.gif into global from res/
git-svn-id: svn://10.0.0.236/trunk@68910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:00:22 +00:00
tao%netscape.com
f081ad6639 1. move global vars into funciton blocks; 2. delay initialization of vars
until they are needed. 3. clen up. r=jbetak


git-svn-id: svn://10.0.0.236/trunk@68909 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:49:52 +00:00
ducarroz%netscape.com
d6e3f7ea37 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@68908 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:48:54 +00:00
cata%netscape.com
ec858cafdc Changed default order for Mail Compose Charset Menu. bug #25372
git-svn-id: svn://10.0.0.236/trunk@68907 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:34:28 +00:00
brade%netscape.com
e638a28636 move some xul into EditorCommandsOverlay.xul so they can be shared with context menus
git-svn-id: svn://10.0.0.236/trunk@68906 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:31:29 +00:00
brade%netscape.com
e5db2fe882 add EditorCommandsOverlay.xul, EditorContextMenu.js, EditorContextMenuOverlay.xul
git-svn-id: svn://10.0.0.236/trunk@68905 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:30:43 +00:00
brade%netscape.com
1b077a707f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@68904 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:28:23 +00:00
cata%netscape.com
97bf9482dc PR_CALLBACK for callback function. bug #37239
git-svn-id: svn://10.0.0.236/trunk@68903 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:22:44 +00:00
pinkerton%netscape.com
eaa2c8121e added PR_CALLBACK for os/2, per bug 37239.
git-svn-id: svn://10.0.0.236/trunk@68902 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:21:59 +00:00
hyatt%netscape.com
8106e246b2 added files: mozilla/layout/xbl/src/nsBindingManager.cpp
git-svn-id: svn://10.0.0.236/trunk@68901 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:16:31 +00:00
cmanske%netscape.com
cd1c426499 Adding new mouse listener for EditorShell. r=sfraser (not used yet)
git-svn-id: svn://10.0.0.236/trunk@68900 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:11:19 +00:00
ramiro%fateware.com
3ba7e280fe Quiet down the debug noise a tiny bit.
git-svn-id: svn://10.0.0.236/trunk@68899 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:09:32 +00:00
brade%netscape.com
60259db63e fix doctype bug
git-svn-id: svn://10.0.0.236/trunk@68898 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:07:33 +00:00
cmanske%netscape.com
29ea1b03dc Fixed missnamed image (not used yet)
git-svn-id: svn://10.0.0.236/trunk@68897 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:07:28 +00:00
ddrinan%netscape.com
b803ef38de I18N include should be lower case
git-svn-id: svn://10.0.0.236/trunk@68896 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:07:05 +00:00
cmanske%netscape.com
674f3f6b78 Adding new UNIX makefile for Composer content images (not used yet)
git-svn-id: svn://10.0.0.236/trunk@68895 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:06:49 +00:00
ddrinan%netscape.com
82d695fde1 Added import for I18N headers and libraries
git-svn-id: svn://10.0.0.236/trunk@68894 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:06:01 +00:00
pinkerton%netscape.com
ee347873a2 Fix crasher on linux for tooltips. Widget was going away before we could unregister things. Make sure we addref it if we're going to hold onto it for an extended period of time. Thanks alecf for finding this. bug # 38547.
git-svn-id: svn://10.0.0.236/trunk@68893 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 22:05:50 +00:00
hyatt%netscape.com
6fad83f403 XBL.
git-svn-id: svn://10.0.0.236/trunk@68892 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:42:57 +00:00
hyatt%netscape.com
c29836f8bc XBL now works with HTML, XUL, SVG, MathML, and XML!
git-svn-id: svn://10.0.0.236/trunk@68891 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:42:40 +00:00
hyatt%netscape.com
540c044797 XBL now works with HTML, SVG, MathML, XML, and XUL.
git-svn-id: svn://10.0.0.236/trunk@68890 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:41:01 +00:00
blizzard%redhat.com
ebd1f60735 add code for forward/back/reload
git-svn-id: svn://10.0.0.236/trunk@68889 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:34:54 +00:00
kmcclusk%netscape.com
e966a42ff1 Added support for searching simulated font weights on WIN32 (patch from VYV03354@nifty.ne.jp). b=18601 r=rods@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68888 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:33:49 +00:00
despotdaemon%netscape.com
fa9f2f5f60 Pseudo-automatic update of changes made by axel@pike.org.
git-svn-id: svn://10.0.0.236/trunk@68887 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:29:56 +00:00
cmanske%netscape.com
cbcd345f18 New dialog - not used yet
git-svn-id: svn://10.0.0.236/trunk@68886 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:22:01 +00:00
attinasi%netscape.com
febbf864d0 Tiny fix to avoid divide-by-zero when the AveCharWidth is 0. b=37577 r=dcone
git-svn-id: svn://10.0.0.236/trunk@68885 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:20:38 +00:00
attinasi%netscape.com
93775b8be6 Tiny fix to avoid divide-by-zero if the FontMetrics have 0 for the avg. char width. b=37757 r=dcone
git-svn-id: svn://10.0.0.236/trunk@68884 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:18:53 +00:00
jfrancis%netscape.com
994d0de6a6 editor embedding work; fixing bug with making lists
git-svn-id: svn://10.0.0.236/trunk@68883 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:06:49 +00:00
radha%netscape.com
33202a4e60 Forgot the tooltip text in the previous checkin
git-svn-id: svn://10.0.0.236/trunk@68882 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:03:26 +00:00
rjc%netscape.com
523b80a332 Fix bug # 38635: double-click bug fix.
git-svn-id: svn://10.0.0.236/trunk@68881 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:02:39 +00:00
jst%netscape.com
7d56950918 XPCOM methods that return a success call *must* set their output parameters, this fixes part of the crash in bug 35257 (crash setting selectedIndex for SELECT not in DOM tree).
git-svn-id: svn://10.0.0.236/trunk@68880 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 21:01:25 +00:00
radha%netscape.com
4be94edb8f Enable autocomplete in urlbar.
git-svn-id: svn://10.0.0.236/trunk@68879 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 20:57:35 +00:00
tor%cs.brown.edu
cb783928c7 Couple of crash fixes to DrawComposited* suggested by
pavlov and bryner@uiuc.edu.


git-svn-id: svn://10.0.0.236/trunk@68878 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 20:56:34 +00:00
radha%netscape.com
7a36b968bd Implement autocomplete interfaces to support autocomplete in the urlbar
git-svn-id: svn://10.0.0.236/trunk@68877 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 20:56:25 +00:00
waldemar%netscape.com
3c2297ea1d Added 'public' to the list of qualifiers
git-svn-id: svn://10.0.0.236/trunk@68876 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 20:55:09 +00:00
suresh%netscape.com
5967390e20 fix for 30035. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@68875 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 20:44:49 +00:00
suresh%netscape.com
b85d50bcaf fix for 6846 r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@68874 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 20:42:44 +00:00
dougt%netscape.com
e7a296151e Now printing js errors to install.log r=dveditz.
git-svn-id: svn://10.0.0.236/trunk@68873 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 20:41:25 +00:00
wtc%netscape.com
47f870da62 Adjusted white space.
git-svn-id: svn://10.0.0.236/trunk@68872 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 20:15:18 +00:00
dougt%netscape.com
46df6c9b5b Mac needs special LONG LONG support.
git-svn-id: svn://10.0.0.236/trunk@68871 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:59:06 +00:00
ssu%netscape.com
7283a4ae33 fixing bug #27580. affects only windows platforms.
git-svn-id: svn://10.0.0.236/trunk@68870 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:48:21 +00:00
dougt%netscape.com
0c73c63a0b Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@68869 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:38:20 +00:00
dougt%netscape.com
6ec01981a7 Missed six chars. fixing bustage
git-svn-id: svn://10.0.0.236/trunk@68868 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:28:55 +00:00
buster%netscape.com
c457606836 fixed bug 36022
r=troy (been holding this in my tree for a while)


git-svn-id: svn://10.0.0.236/trunk@68867 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:28:20 +00:00
rhp%netscape.com
e4c3a2ecff Checking in new method of ab card additions - r: chuang
git-svn-id: svn://10.0.0.236/trunk@68866 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:16:11 +00:00
jst%netscape.com
1ffbd8f19c Fixing the .value and .defaultValue properties on textarea's, this fixes bugs 32795 and 32799.
git-svn-id: svn://10.0.0.236/trunk@68865 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:11:27 +00:00
dougt%netscape.com
6036715cd7 Fixes bug 38553. Using usecs now. r=sgehani@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68864 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:11:14 +00:00
sspitzer%netscape.com
a1421e68ff fix assertions.
git-svn-id: svn://10.0.0.236/trunk@68863 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:09:41 +00:00
wtc%netscape.com
ddc70978c0 Adjusted white space.
git-svn-id: svn://10.0.0.236/trunk@68862 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:07:28 +00:00
sfraser%netscape.com
30537acb34 Make nsEventStateManger support nsIWeakReference, so that they are not held onto as XPCOM observers. r=saari
git-svn-id: svn://10.0.0.236/trunk@68861 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:04:13 +00:00
sspitzer%netscape.com
938d98bb07 update.
git-svn-id: svn://10.0.0.236/trunk@68860 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:03:29 +00:00
rogerl%netscape.com
3c72ded1b6 playing with gencode
git-svn-id: svn://10.0.0.236/trunk@68859 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 19:01:00 +00:00
beard%netscape.com
e625f9653f Needed to transfer ownwership of iCode from ICodeGenerator to ICodeModule
git-svn-id: svn://10.0.0.236/trunk@68858 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 18:59:12 +00:00
roeber%netscape.com
2fed7b3a05 Adding CK_USHORT back in, for pedantic tests' sake
git-svn-id: svn://10.0.0.236/trunk@68857 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 18:57:58 +00:00
roeber%netscape.com
2d898a14d6 Backing out accidental (recursive) commit
git-svn-id: svn://10.0.0.236/trunk@68856 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 18:35:24 +00:00
beard%netscape.com
9aa623cece generalized gc_allocator copy constructor
git-svn-id: svn://10.0.0.236/trunk@68855 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 18:32:14 +00:00
beard%netscape.com
4f1641163e removed JSFunction::operator delete
git-svn-id: svn://10.0.0.236/trunk@68854 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 18:31:43 +00:00
roeber%netscape.com
ff020541d0 Added ckmd.h to private exports list
git-svn-id: svn://10.0.0.236/trunk@68853 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 18:31:16 +00:00
ddrinan%netscape.com
8642afaa72 Fixed some comments
git-svn-id: svn://10.0.0.236/trunk@68850 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 18:24:35 +00:00
rogerl%netscape.com
343526f153 Fixed leakage of ICodeModule via JSFunction
git-svn-id: svn://10.0.0.236/trunk@68849 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 18:09:33 +00:00
brade%netscape.com
ed7c15dae9 first pass fixes for bug #38565
git-svn-id: svn://10.0.0.236/trunk@68848 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 14:39:14 +00:00
dcone%netscape.com
08470f6b73 Moved a point structure to nsPoint..
git-svn-id: svn://10.0.0.236/trunk@68847 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 14:23:27 +00:00
jst%netscape.com
0fd553eb01 Input element type names are now all lower case, this is required for mozilla to be compatible with all other existing browsers (even if the DOM spec says otherwize). This fixes bug 32368.
git-svn-id: svn://10.0.0.236/trunk@68846 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 13:56:40 +00:00
morse%netscape.com
3977e16170 bug 36116, compute multiple values when concatenation rules are used
git-svn-id: svn://10.0.0.236/trunk@68845 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 13:31:18 +00:00
brade%netscape.com
e9291caa76 clean up of editor prefs
git-svn-id: svn://10.0.0.236/trunk@68844 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 13:26:38 +00:00
mj%digicool.com
78d7dcb21c Fix missing var's and fix bug in internal state management.
git-svn-id: svn://10.0.0.236/trunk@68843 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 11:33:41 +00:00
cls%seawood.org
db00a5e873 Changed check for non-zero nsXPIDLCString from a dereference, which gcc 2.7.2.3 on speedracer doesn't seem to like, to a PL_strlen().
git-svn-id: svn://10.0.0.236/trunk@68842 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 09:03:02 +00:00
heikki%citec.fi
2a570ee89a Test files for simple XLink. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@68841 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 08:26:55 +00:00
morse%netscape.com
55580b624b give message if data conversion is not possible
git-svn-id: svn://10.0.0.236/trunk@68840 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 08:22:07 +00:00
alecf%netscape.com
cb5a3fc0b9 fix xlib bustage
git-svn-id: svn://10.0.0.236/trunk@68839 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 08:09:48 +00:00
alecf%netscape.com
3741f796af minor tweaks to make this dialog work again
git-svn-id: svn://10.0.0.236/trunk@68838 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 08:05:42 +00:00
morse%netscape.com
603b93043b fix typo
git-svn-id: svn://10.0.0.236/trunk@68837 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 08:03:00 +00:00
rjc%netscape.com
738d091ffd Fix bug # 36795: fix uninitialized return variable.
git-svn-id: svn://10.0.0.236/trunk@68836 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 07:50:13 +00:00
heikki%citec.fi
293cb0dc98 Implemented actuate=onLoad for simple XLinks. r=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@68835 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 07:30:21 +00:00
mccabe%netscape.com
19ff8a13f9 Towards fixing 34416, use build rules to install .xul, etc. resource files rather overriding install rule.
Thanks to axel@pike.org <Axel Hecht> for the patch.


git-svn-id: svn://10.0.0.236/trunk@68834 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 07:23:04 +00:00
cata%netscape.com
134ed6bc4b Dynamic charset menu for Mailview.
git-svn-id: svn://10.0.0.236/trunk@68833 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 07:18:49 +00:00
alecf%netscape.com
a2da0eaf7f xpidlize nsIMsgSearchTerm
git-svn-id: svn://10.0.0.236/trunk@68832 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 07:12:19 +00:00
leaf%mozilla.org
f79cf77bde Automated update
git-svn-id: svn://10.0.0.236/trunk@68831 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 07:00:11 +00:00
dmose%mozilla.org
05e3c04277 added --enable-ldap switch to configure; defaults to off; r=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68830 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 06:58:37 +00:00
beard%netscape.com
55b5a260f4 Need to modify string BEFORE caching iterators.
git-svn-id: svn://10.0.0.236/trunk@68829 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 06:39:39 +00:00
beard%netscape.com
c8f8269bbe ensure that source buffer is always terminated by a uni::null (which isn't automatically true for basic_string<T>).
git-svn-id: svn://10.0.0.236/trunk@68828 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 06:31:54 +00:00
chuang%netscape.com
b4becb1155 New files, not part of build.
git-svn-id: svn://10.0.0.236/trunk@68827 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 06:30:49 +00:00
alecf%netscape.com
9a1cf5ad17 make the account manager exactly the same dimensions and box flex as prefs
git-svn-id: svn://10.0.0.236/trunk@68826 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 06:27:21 +00:00
cls%seawood.org
9c028a54c5 Add <string.h> include for HP build.
git-svn-id: svn://10.0.0.236/trunk@68825 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 06:17:14 +00:00
alecf%netscape.com
80999d319a remove duplicate button
git-svn-id: svn://10.0.0.236/trunk@68824 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 06:17:08 +00:00
saari%netscape.com
37f2ac8410 fix for bug 38619, make MacOS menus respect the "hidden" attribute.
git-svn-id: svn://10.0.0.236/trunk@68823 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 06:15:33 +00:00
alecf%netscape.com
279b2e95ed remove the last of the extern symbols!
git-svn-id: svn://10.0.0.236/trunk@68822 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 06:07:02 +00:00
alecf%netscape.com
38c1f60e7c trim the pref DLL by removing lots of exported symbols
git-svn-id: svn://10.0.0.236/trunk@68821 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:58:29 +00:00
beard%netscape.com
886a9a4224 map::find() works just fine on all platforms.
git-svn-id: svn://10.0.0.236/trunk@68820 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:55:30 +00:00
beard%netscape.com
907f21ac56 generating code rather than showing tokens, printing generic result rather than assuming it's a float64.
git-svn-id: svn://10.0.0.236/trunk@68819 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:46:26 +00:00
sspitzer%netscape.com
af69df7832 rename method names so they make more sense.
git-svn-id: svn://10.0.0.236/trunk@68818 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:41:45 +00:00
beard%netscape.com
06cbcdcb54 LoadString now has JSString* as second operand
git-svn-id: svn://10.0.0.236/trunk@68817 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:38:48 +00:00
beard%netscape.com
16cf1ea190 Added JSString(const String&) and operator<<(Formatter&, const JSString&)
git-svn-id: svn://10.0.0.236/trunk@68816 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:37:58 +00:00
alecf%netscape.com
70d0ced1d9 remove some dead code
git-svn-id: svn://10.0.0.236/trunk@68815 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:37:39 +00:00
sspitzer%netscape.com
a05743fbdb fix some subscribe bugs. performance tweaks. more to come.
git-svn-id: svn://10.0.0.236/trunk@68814 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:36:02 +00:00
buster%netscape.com
ad08b5fc52 (forgot to check this in)
effectively removed area frame
work troy was holding in his tree
r=buster


git-svn-id: svn://10.0.0.236/trunk@68813 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:28:08 +00:00
putterman%netscape.com
fd8d4d84fe Fix for 38592. Don't show twisties if there are no children.
git-svn-id: svn://10.0.0.236/trunk@68812 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:27:30 +00:00
beard%netscape.com
89e8209acc LOAD_STRING now has String as second operand rather than String*
git-svn-id: svn://10.0.0.236/trunk@68811 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:18:16 +00:00
rhp%netscape.com
5c716fa48f NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@68810 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:14:26 +00:00
rhp%netscape.com
7610855e6d ADDING FILES NOT PART OF THE BUILD!!!
git-svn-id: svn://10.0.0.236/trunk@68809 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:12:23 +00:00
buster%netscape.com
4fb9226391 effectively removed area frame
work troy was holding in his tree
r=buster


git-svn-id: svn://10.0.0.236/trunk@68808 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:11:12 +00:00
buster%netscape.com
bc5c011434 fixed bug 24770
git-svn-id: svn://10.0.0.236/trunk@68807 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:09:55 +00:00
buster%netscape.com
57e870943a just removed a warning
git-svn-id: svn://10.0.0.236/trunk@68806 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:08:27 +00:00
buster%netscape.com
9debabbe59 fixed bugs 26952, 30944, 36022
r=troy


git-svn-id: svn://10.0.0.236/trunk@68805 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:08:02 +00:00
buster%netscape.com
6be2ec13df effectively removed area frame
work troy was holding in his tree
r=buster

also fixed bugs 26952, 30944, 36022
r=troy


git-svn-id: svn://10.0.0.236/trunk@68804 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:06:16 +00:00
buster%netscape.com
5109083548 bug 37171
r=kin


git-svn-id: svn://10.0.0.236/trunk@68803 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:02:09 +00:00
alecf%netscape.com
612c767e7f switch to onkeypress for ftang
git-svn-id: svn://10.0.0.236/trunk@68802 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 04:48:59 +00:00
beard%netscape.com
79c9bf61aa VC6 bustage: can't initialize refs using construction form
git-svn-id: svn://10.0.0.236/trunk@68801 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 04:29:32 +00:00
beard%netscape.com
126e31853b std::numeric_limits isn't working...
git-svn-id: svn://10.0.0.236/trunk@68800 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 04:26:44 +00:00
rhp%netscape.com
60b1b77362 JUST ADDING CODE - NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@68799 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 04:11:11 +00:00
mccabe%netscape.com
d0bcfbd069 Add -jsconsole to Mac command-line-caller-thingie.
Thanks to Seth Spitzer for the pointer.


git-svn-id: svn://10.0.0.236/trunk@68798 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 04:03:03 +00:00
beard%netscape.com
ef4461e92e JSNativeFunction::mCode returns JSValue now to avoid leaking
git-svn-id: svn://10.0.0.236/trunk@68797 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 03:57:28 +00:00
beard%netscape.com
ec4a108471 print now returns JSValue, added space between args when printing
git-svn-id: svn://10.0.0.236/trunk@68796 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 03:56:56 +00:00
beard%netscape.com
d5964ffccd CASE(string)
git-svn-id: svn://10.0.0.236/trunk@68795 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 03:56:08 +00:00
beard%netscape.com
c4c537b394 g++ basic_string annoyances
git-svn-id: svn://10.0.0.236/trunk@68794 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 03:55:43 +00:00
beard%netscape.com
55034c7771 needed deallocate(void*, size_type) on XP_UNIX for basic_string.
git-svn-id: svn://10.0.0.236/trunk@68793 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 03:46:03 +00:00
beard%netscape.com
9470cf777b Fixed leaks by changing JSValue::toString()/toNumber() to return JSValue rather than JSValue*. LOAD_STRING now creates a JSString from a String*.
git-svn-id: svn://10.0.0.236/trunk@68792 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 03:11:54 +00:00
beard%netscape.com
39570450bf Added JSString for gc-able UNICODE strings, changed toString(), toNumber() to return JSValue rather than JSValue*.
git-svn-id: svn://10.0.0.236/trunk@68791 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 03:10:04 +00:00
beard%netscape.com
42b76425a5 make wchar_t an atomic type, for JSString.
git-svn-id: svn://10.0.0.236/trunk@68790 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 03:06:49 +00:00
blizzard%redhat.com
78704fc915 better test program for testing embedding widget.
git-svn-id: svn://10.0.0.236/trunk@68789 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 03:02:11 +00:00
blizzard%redhat.com
33440808fa fix bug where we were returning the js status string instead of the location. remove the toplevel window handling code for now. reverse the cur + max totals for progress updates since it makes more sense that way. fix signal marshallers to assume that int != int32. fix wrong marshaler for net_status and progress signals. change prototypes from GtkWidget * to GtkMozEmbed * since that's the Gtk way. make sure to actually pass the flags during a net_status signal.
git-svn-id: svn://10.0.0.236/trunk@68788 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 03:01:41 +00:00
sspitzer%netscape.com
ec1228e901 make it so the throbber stops when you try to build the subscribe datasource for imap.
git-svn-id: svn://10.0.0.236/trunk@68787 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 02:48:25 +00:00
ddrinan%netscape.com
a9fb3a3694 Added newline to end of file
git-svn-id: svn://10.0.0.236/trunk@68786 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 02:20:54 +00:00
ducarroz%netscape.com
bd907872fa Fix for bug 38319. Check return key only onkeypressed to avoid conflict with Ja input.
git-svn-id: svn://10.0.0.236/trunk@68785 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 02:13:57 +00:00
ducarroz%netscape.com
0226be8ff8 Fix for bug 28501. Remove implemented buttons.
git-svn-id: svn://10.0.0.236/trunk@68784 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 02:09:11 +00:00
wtc%netscape.com
8ec06ba38f Fixed indentation.
git-svn-id: svn://10.0.0.236/trunk@68783 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 02:04:24 +00:00
locka%iol.ie
8bbe9f4732 Added some explanatory error messages for common problems
git-svn-id: svn://10.0.0.236/trunk@68782 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:54:23 +00:00
sfraser%netscape.com
06765eb611 Fix the paste as quotation command for mailnews.
git-svn-id: svn://10.0.0.236/trunk@68781 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:49:11 +00:00
ddrinan%netscape.com
9c424a6e72 Fix up manifest
git-svn-id: svn://10.0.0.236/trunk@68780 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:36:43 +00:00
ddrinan%netscape.com
c0c30f4a60 Adding Makefile to build in Mozilla
git-svn-id: svn://10.0.0.236/trunk@68779 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:35:54 +00:00
ddrinan%netscape.com
ae9242c609 Fixed up manifest
git-svn-id: svn://10.0.0.236/trunk@68778 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:31:07 +00:00
thayes%netscape.com
172be4c992 Add makefile to the tip
git-svn-id: svn://10.0.0.236/trunk@68776 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:30:38 +00:00
ddrinan%netscape.com
729d347dba Adding Makefile to build this in Mozilla
git-svn-id: svn://10.0.0.236/trunk@68775 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:30:31 +00:00
jefft%netscape.com
08cdb51577 fixed bug 20878 - IMAP: UW - supporting root folder
git-svn-id: svn://10.0.0.236/trunk@68774 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:26:55 +00:00
ducarroz%netscape.com
4c4292e7ab We need to hide the Insert menu as well in plain text mode.
git-svn-id: svn://10.0.0.236/trunk@68773 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:17:33 +00:00
cmanske%netscape.com
60ff2232d9 Changing image for named anchor (not used in build yet)
git-svn-id: svn://10.0.0.236/trunk@68772 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:17:23 +00:00
dmose%mozilla.org
e592592b5d LDAP XPCOM components + infrastructure
git-svn-id: svn://10.0.0.236/trunk@68771 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:09:11 +00:00
rginda%netscape.com
0bb57aeb22 * Makefile.in, makefile.win, MAINFEST
install new image.

* chatzilla.xul
add type="checkbox" to appropriate menuitems

* handlers.js
implement onToggleToolbarIcons()

* readprefs.js
read new prefs extensions.irc.(munger, .toolbar.icons, .notify.aggressive)

* static.js
sync menu checkmarks on startup
add fix for Bug# 29301
move button code to styles

* munger.js
add MPL

* chatzilla.css
added new activity-button styles


git-svn-id: svn://10.0.0.236/trunk@68770 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:00:42 +00:00
av%netscape.com
6637ffc911 This will fix 27558
git-svn-id: svn://10.0.0.236/trunk@68769 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:56:29 +00:00
attinasi%netscape.com
fed40883d0 Fixed a problem where background images on the BODY were not getting painted properly the first time they were loaded. b=36811 r=kmcklusk@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68768 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:53:51 +00:00
attinasi%netscape.com
c9b017ca5a Fixed problem where the frame was not being invalidated when the image size is known. This causes problems for tiled images. b=36811, r=kmcklusk@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68767 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:48:39 +00:00
slamm%netscape.com
6a8bea3e9d Fix up 'File > New' menu (bug 9978).
git-svn-id: svn://10.0.0.236/trunk@68766 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:48:20 +00:00
ddrinan%netscape.com
3f01987e70 Fixed typo for NSPR import for Solaris 2.5.1
git-svn-id: svn://10.0.0.236/trunk@68765 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:47:19 +00:00
av%netscape.com
583e1f4bae Code clean up
git-svn-id: svn://10.0.0.236/trunk@68764 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:37:52 +00:00
rickg%netscape.com
cbcffd215a fix bu 36449
git-svn-id: svn://10.0.0.236/trunk@68763 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:36:23 +00:00
ddrinan%netscape.com
076aa4a44d Fix for Solaris 2.5.1
git-svn-id: svn://10.0.0.236/trunk@68762 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:33:13 +00:00
rickg%netscape.com
5ba9ef8801 restore keygen
git-svn-id: svn://10.0.0.236/trunk@68761 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:31:25 +00:00
rickg%netscape.com
a5a71d088a fixed bug 36449
git-svn-id: svn://10.0.0.236/trunk@68760 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:29:59 +00:00
putterman%netscape.com
c859c26833 fix for 38580 and 38549. by andreas.otten@primus-online.de
git-svn-id: svn://10.0.0.236/trunk@68759 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:27:55 +00:00
ruslan%netscape.com
3e73bbbc89 Make sure SetUploadStream actually works when it's used.
git-svn-id: svn://10.0.0.236/trunk@68758 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:20:09 +00:00
locka%iol.ie
4edef2bbc6 Fixed a crash caused by accidentally calling an overridden version of MessageBox
git-svn-id: svn://10.0.0.236/trunk@68757 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:12:09 +00:00
waldemar%netscape.com
4c104a57ab Changed default constructor name from 'new' to the same name as its class
git-svn-id: svn://10.0.0.236/trunk@68756 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:10:50 +00:00
ddrinan%netscape.com
a2e8027962 Get NSPR 4.0 for Solaris 2.5.1
git-svn-id: svn://10.0.0.236/trunk@68755 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:06:35 +00:00
slamm%netscape.com
d8318eea3d Rename window. 'Bookmarks' to 'Manage Bookmarks' (bug 37829)
git-svn-id: svn://10.0.0.236/trunk@68754 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 00:03:14 +00:00
nelsonb%netscape.com
c1434fd985 Small optimization for RSA Server Key exchange message. Uses fewer PK11_
calls to do the job. Also, plug one mem leak in Fortezza code.


git-svn-id: svn://10.0.0.236/trunk@68753 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:55:05 +00:00
sgehani%netscape.com
bb04d12834 Fixing mac aliasing and AppleSingle decoding.
git-svn-id: svn://10.0.0.236/trunk@68752 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:54:05 +00:00
slamm%netscape.com
e36afa411a grippy list-style-image is broken, so use the background-image for now. Fixes 30595.
git-svn-id: svn://10.0.0.236/trunk@68751 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:46:38 +00:00
ducarroz%netscape.com
2dc5ae888b Fix for bug 33992. Need to call ComposeCanClose() before closing the window!
git-svn-id: svn://10.0.0.236/trunk@68750 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:45:22 +00:00
saari%netscape.com
586aa4fb09 adding preventDefault to the mousedown event if it pops up a xul popup. This works around a bug where it is possible to have multiple popup listeners for different elements called for one mousedown event. This is a work around for bug 35100. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@68749 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:43:35 +00:00
mccabe%netscape.com
28c5e67460 Support for starting up with -jsconsole on the Mac.
git-svn-id: svn://10.0.0.236/trunk@68748 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:43:27 +00:00
rjc%netscape.com
83ae6897f3 Part of fix for bug # 36037: drag&drop change.
git-svn-id: svn://10.0.0.236/trunk@68747 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:43:01 +00:00
nhotta%netscape.com
38b9d6b2ef Changed format=flowed case to call GetMailNewsFont(), also changed to use "div" and "tt" instead of "pre", bug 38491, 38511.
git-svn-id: svn://10.0.0.236/trunk@68746 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:39:33 +00:00
slamm%netscape.com
f9e96edba8 CreateProfile() is no longer needed. mozilla creates the 'default' profile if none exists.
git-svn-id: svn://10.0.0.236/trunk@68745 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:34:50 +00:00
rjc%netscape.com
6c4ace7dd4 Fix bug # 36037: drag&drop changes to support translucency on Mac.
git-svn-id: svn://10.0.0.236/trunk@68744 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:29:32 +00:00
cls%seawood.org
432e43810b Tweaks to let themes build with objdirs. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@68743 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:28:35 +00:00
pinkerton%netscape.com
29b38aa6ac fix for crasher 38595, patch by sean@beatnik.com
git-svn-id: svn://10.0.0.236/trunk@68742 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:26:06 +00:00
sgehani%netscape.com
50555a403c Fix mac aliasing and AppleSingle decoding regressions. Make the Mac installer behave itself once again after being in a coma for two weeks.
[b=38313,37568]


git-svn-id: svn://10.0.0.236/trunk@68741 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:22:15 +00:00
pinkerton%netscape.com
82275d6281 fix for 38132, assert when mouse was over html element and a tooltip was registered. two things: make sure we always find the xul document using where the popup is registered not the event target, and try/catch around asking for the attribute since DOM Elements won't have attributes.
git-svn-id: svn://10.0.0.236/trunk@68740 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:21:57 +00:00
roeber%netscape.com
0b1e1ad460 Initial checkin of an simple module-excercise program
git-svn-id: svn://10.0.0.236/trunk@68739 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:19:45 +00:00
dougt%netscape.com
f907340c55 Fixed a problem where the socket was being deleted before pickled status was saved. This caused security not always being recognized (35861)
Fixed a problem where https would not display correctly if they were the first document load (28418)
Added MIME content handling for CA, Server, User, and Email certs


git-svn-id: svn://10.0.0.236/trunk@68738 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:19:09 +00:00
slamm%netscape.com
f192ae5176 Capitalize some words (bug 38513)
git-svn-id: svn://10.0.0.236/trunk@68737 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:14:33 +00:00
nelsonb%netscape.com
6ecb379e3e Several fixes. Builds on WIN32. Prints Usage when invalid syntax.
git-svn-id: svn://10.0.0.236/trunk@68736 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:13:10 +00:00
rogerl%netscape.com
9134f7bfd5 testing native 'print' function
git-svn-id: svn://10.0.0.236/trunk@68735 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:12:10 +00:00
morse%netscape.com
582243bc1d improve obscuring algorithm
git-svn-id: svn://10.0.0.236/trunk@68734 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:09:31 +00:00
ruslan%netscape.com
394f8602cc Fix 37778 - now handle simple (no status line/headers) http response correctly
git-svn-id: svn://10.0.0.236/trunk@68733 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 23:04:36 +00:00
rogerl%netscape.com
8ba0e32346 Added more string handling + valueToString/Number code.
NativeFunction support.


git-svn-id: svn://10.0.0.236/trunk@68732 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 22:59:42 +00:00
slamm%netscape.com
356e71c8b2 Only save customize panel field if it exists (bug 31829)
git-svn-id: svn://10.0.0.236/trunk@68731 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 22:54:59 +00:00
cmanske%netscape.com
22134677f5 Adding image icons for Composer's Show All Tags editmode. These are also in composer/skin/images, but will be removed from there
git-svn-id: svn://10.0.0.236/trunk@68730 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 22:50:36 +00:00
ssu%netscape.com
bab6cbf509 fixing bug #37452. File.execute() should work now.
git-svn-id: svn://10.0.0.236/trunk@68729 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 22:46:21 +00:00
ssu%netscape.com
065a34d0c9 fixing bug 38588. creates correct destination path, not the one displayed with ... . affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@68728 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 22:44:55 +00:00
rods%netscape.com
76a13d70a5 get char code instead of key code
bug 34630


git-svn-id: svn://10.0.0.236/trunk@68727 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 22:18:38 +00:00
sgehani%netscape.com
eebb6c767d Progress bar and message changes. [b=38035]
git-svn-id: svn://10.0.0.236/trunk@68726 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 22:10:08 +00:00
suresh%netscape.com
837122cdf4 fix for 31729. r=putterman
git-svn-id: svn://10.0.0.236/trunk@68725 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 22:04:10 +00:00
terry%mozilla.org
bb5e8c5949 Add a new param, musthavemilestoneonaccept, which requires users to
set the target milestone when accepting a bug.


git-svn-id: svn://10.0.0.236/trunk@68724 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 22:00:38 +00:00
erik%netscape.com
d5529e8b27 bug 27164; need to use em square height to compute line-height; added new
APIs for this purpose; this is the Windows implementation; r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@68723 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:59:23 +00:00
cata%netscape.com
658f7340f2 Cosmetics.
git-svn-id: svn://10.0.0.236/trunk@68722 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:54:58 +00:00
slamm%netscape.com
cc93d5d0ee Fix history window xul that made it blank (bug 37737)
git-svn-id: svn://10.0.0.236/trunk@68721 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:50:03 +00:00
jefft%netscape.com
d787be2991 fixed imap server pref not initailized correctly; check in for alecf
git-svn-id: svn://10.0.0.236/trunk@68720 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:39:44 +00:00
karnaze%netscape.com
8b7fd0b7f0 bug 32471 - incremental reflow considers edge cellspacing when setting desired height
bug 37508 - get the row grp frame when there is a scrolling row grp


git-svn-id: svn://10.0.0.236/trunk@68719 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:39:35 +00:00
rods%netscape.com
132a6cb39a this should bring down the leaks
should have used XPCom


git-svn-id: svn://10.0.0.236/trunk@68718 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:39:29 +00:00
rjc%netscape.com
4c4c1c8ac8 Fix bug # 38545 and bug # 38570: use onkeypress instead of onkeyup for CR detection.
git-svn-id: svn://10.0.0.236/trunk@68717 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:38:52 +00:00
sspitzer%netscape.com
fd7b33eaf8 build mozilla/themes. don't panic, it doesn't matter yet.
git-svn-id: svn://10.0.0.236/trunk@68716 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:35:40 +00:00
cyeh%bluemartini.com
c57cc4be37 rolling version to 2.11 for development
git-svn-id: svn://10.0.0.236/trunk@68715 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:26:53 +00:00
pinkerton%netscape.com
96fca1c9cd don't let context menu show up under mouse so that clicks can more easily dismiss it. bug 27364, thanks dean_tessman@hotmail.com.
git-svn-id: svn://10.0.0.236/trunk@68714 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:24:51 +00:00
jdunn%netscape.com
95c3f2dea2 Fixing HPUX code - HP specific file
r= jgracer@ems.att.com
# 17997


git-svn-id: svn://10.0.0.236/trunk@68713 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:22:21 +00:00
rods%netscape.com
32bbf34604 added password to td rule
bug 37856


git-svn-id: svn://10.0.0.236/trunk@68712 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:19:07 +00:00
pavlov%netscape.com
351590b7b4 fix for 36711 and random other event dropping bugs on linux
git-svn-id: svn://10.0.0.236/trunk@68711 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:01:14 +00:00
miodrag%netscape.com
1f49a471ae Disbale unconditional debug statments
git-svn-id: svn://10.0.0.236/trunk@68709 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:58:49 +00:00
slamm%netscape.com
6bbb2c4221 Eliminate the bottom border on the tab if it is the last panel.
git-svn-id: svn://10.0.0.236/trunk@68708 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:55:27 +00:00
slamm%netscape.com
74a048287a Add 'last-panel' attribute to last visible sidebar header. Makes it easier to tweak the styles.
git-svn-id: svn://10.0.0.236/trunk@68707 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:54:49 +00:00
hyatt%netscape.com
6fef7eb022 Add blankrow capability to tree.
git-svn-id: svn://10.0.0.236/trunk@68706 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:51:50 +00:00
slamm%netscape.com
824c537a07 Fix 'webconfig' target (bug 34193).
git-svn-id: svn://10.0.0.236/trunk@68705 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:51:48 +00:00
slamm%netscape.com
f8796cbaaa Readd for 'webconfig' target of client.mk
git-svn-id: svn://10.0.0.236/trunk@68704 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:51:14 +00:00
cmanske%netscape.com
36f4b6d19a Adding composer image (not used yet)
git-svn-id: svn://10.0.0.236/trunk@68703 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:47:17 +00:00
wtc%netscape.com
545bb2e891 Bugzilla bug #36718: several socket options become enums in Mac OS
Universal Interfaces 3.3.  Define them as macros so that our code
in prmapopt.c, which assumes all socket options are macros, continues
to work.


git-svn-id: svn://10.0.0.236/trunk@68701 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:38:14 +00:00
slamm%netscape.com
e748176d98 Rename 'inbatch' to 'refresh' to make added panel show up right away (bug 28073).
git-svn-id: svn://10.0.0.236/trunk@68700 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:34:28 +00:00
rods%netscape.com
7741a4bea3 The fix will turn itself on when in HTMLdocument and turn off in XUL documents
I will remove the old code when all the selects are removed from the UI
bug 36558


git-svn-id: svn://10.0.0.236/trunk@68698 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:32:11 +00:00
ssu%netscape.com
d49ca980a6 fixing bug #38560. affects only windows platforms.
git-svn-id: svn://10.0.0.236/trunk@68697 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:31:31 +00:00
ruslan%netscape.com
6a07f89768 Make nsAtomService implement threadsafe isupports
git-svn-id: svn://10.0.0.236/trunk@68696 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:28:21 +00:00
ruslan%netscape.com
36070736e7 Fix 37744
git-svn-id: svn://10.0.0.236/trunk@68695 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:25:01 +00:00
rginda%netscape.com
2b5bde0474 don't install unused file
git-svn-id: svn://10.0.0.236/trunk@68694 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:21:09 +00:00
rginda%netscape.com
ab23966cef Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@68693 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:18:00 +00:00
colin%theblakes.com
be5c465ccd Make OpenVMS get auto-detected. r=leaf
git-svn-id: svn://10.0.0.236/trunk@68692 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:17:42 +00:00
cyeh%bluemartini.com
6c363350c8 rolling version number to latest release of 2.10
git-svn-id: svn://10.0.0.236/trunk@68690 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 19:46:22 +00:00
cyeh%bluemartini.com
ea5b8ebb0c add sec disclaimer, move installation on NT note to the installation
section where it should have gone in the first place


git-svn-id: svn://10.0.0.236/trunk@68689 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 19:05:41 +00:00
robinf%netscape.com
45a226c52b updated the URL for the Feedback button
git-svn-id: svn://10.0.0.236/trunk@68688 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 18:59:28 +00:00
robinf%netscape.com
157d954d92 removing feedback button from this page since we've inplemented it in the button bar
git-svn-id: svn://10.0.0.236/trunk@68687 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 18:57:57 +00:00
wtc%netscape.com
2b4dfd06a0 Added the peek.c test to runtests.ksh.
git-svn-id: svn://10.0.0.236/trunk@68686 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 18:48:59 +00:00
varada%netscape.com
e28997ae6d making the feedback button name customizable using the FeedbackButtonName variable in wizardmachine.ini
git-svn-id: svn://10.0.0.236/trunk@68685 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 18:44:54 +00:00
cyeh%bluemartini.com
2dd5a0e639 fix warnings on DBID_to_real_or_loginname. thanks to endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@68684 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 18:23:55 +00:00
putterman%netscape.com
88d067b82b backing out tooltip changes to fix mail crashes
git-svn-id: svn://10.0.0.236/trunk@68683 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 18:13:05 +00:00
cyeh%bluemartini.com
38f6aaeaf6 Validate value of $::FORM{who}. Thanks to Ed Korthof (edk@collab.net) for patch.
git-svn-id: svn://10.0.0.236/trunk@68682 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 18:12:28 +00:00
despotdaemon%netscape.com
41ccc6ac8a Pseudo-automatic update of changes made by kmcclusk@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@68681 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 17:58:16 +00:00
despotdaemon%netscape.com
5b5ced1d22 Pseudo-automatic update of changes made by kmcclusk@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@68680 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 17:27:38 +00:00
sspitzer%netscape.com
b4670e903b mozilla/themes is now part of the module,
so we don't need to check it out explictly anymore. a=leaf.


git-svn-id: svn://10.0.0.236/trunk@68679 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 16:32:10 +00:00
leaf%mozilla.org
9b37430cfa adding mozilla/themes to SeaMonkeyXPToolKit
git-svn-id: svn://10.0.0.236/trunk@68678 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 16:30:06 +00:00
mj%digicool.com
5c4053001a Fix for strange bug where status.toString() is '0', but status != Components.results.NS_OK.
git-svn-id: svn://10.0.0.236/trunk@68677 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 15:21:25 +00:00
brade%netscape.com
7679f2d4e4 bug #34416; tested by axel@pike.org
git-svn-id: svn://10.0.0.236/trunk@68676 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 15:01:26 +00:00
brade%netscape.com
354d866a47 bug #34416; tested by axel@pike.org (Thanks!)
git-svn-id: svn://10.0.0.236/trunk@68675 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 15:00:39 +00:00
putterman%netscape.com
a14084ca7e tooltips and making button icons show up again.
git-svn-id: svn://10.0.0.236/trunk@68674 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 14:48:51 +00:00
putterman%netscape.com
f7def2787a tooltips, folder tooltips, and making button icons show up again.
git-svn-id: svn://10.0.0.236/trunk@68673 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 14:48:24 +00:00
jst%netscape.com
bcd798824b Checking in new files for (the not yet checked in) shared node info code. Not part of the build yet. r=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68672 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 14:29:44 +00:00
dcone%netscape.com
ca71b94b59 Added the FillPath call.
git-svn-id: svn://10.0.0.236/trunk@68671 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 14:25:51 +00:00
mj%digicool.com
9cd7c9da0a Duh. Pay attention MJ. Fault is already thrown.
git-svn-id: svn://10.0.0.236/trunk@68670 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 14:17:02 +00:00
mj%digicool.com
7d6f217c08 Now that XML-RPC is part of the build, it should go along with the installer too... r=brade@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68669 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 14:11:07 +00:00
mj%digicool.com
40a6418764 Fix potential bug in nsXmlRpcClient::call, if an exception takes
place in parsing the response.


git-svn-id: svn://10.0.0.236/trunk@68668 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 14:00:12 +00:00
brade%netscape.com
bf85741535 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@68667 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 13:47:24 +00:00
mj%digicool.com
5e78766976 Small bugfix and optimalisations courtsey of Brendan Eich.
git-svn-id: svn://10.0.0.236/trunk@68666 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 10:38:26 +00:00
mccabe%netscape.com
8bce0a1282 Put contents of MANIFEST from xpfe/components/console into Components folder.
git-svn-id: svn://10.0.0.236/trunk@68665 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 10:29:58 +00:00
mccabe%netscape.com
e8c08b121c Manifest file for console component - for installing js-implemented -jsconsole 'commandline' handler on the mac.
git-svn-id: svn://10.0.0.236/trunk@68664 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 10:27:58 +00:00
mccabe%netscape.com
084d5d6219 Move from <html:script> to <script>. Thanks to Peter Annema for the review.
git-svn-id: svn://10.0.0.236/trunk@68663 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 10:18:47 +00:00
mccabe%netscape.com
ae77a7169a Add a rudimentary menu, with the extremely useful 'close' command.
git-svn-id: svn://10.0.0.236/trunk@68662 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 10:00:07 +00:00
mccabe%netscape.com
335193eb0e Make several handlers return true.
git-svn-id: svn://10.0.0.236/trunk@68661 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 09:54:57 +00:00
dveditz%netscape.com
faa851dcb1 flesh-out chrome registration; clean-up the non-threadsafe assertions
git-svn-id: svn://10.0.0.236/trunk@68660 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 08:53:44 +00:00
dveditz%netscape.com
0b468c42d4 added files: mozilla/xpinstall/src/nsRegisterItem.cpp
git-svn-id: svn://10.0.0.236/trunk@68659 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 08:51:38 +00:00
dveditz%netscape.com
92bbf4935f new chrome installation strings
git-svn-id: svn://10.0.0.236/trunk@68658 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 08:51:20 +00:00
dveditz%netscape.com
7a6b1eae08 leftover bug from nsIFile conversion: File.copy() changed the target directory into the final filename.
git-svn-id: svn://10.0.0.236/trunk@68657 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 08:50:40 +00:00
dveditz%netscape.com
fa10501a60 make the master listener threadsafe
git-svn-id: svn://10.0.0.236/trunk@68656 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 08:48:20 +00:00
dveditz%netscape.com
a19f355f1a new files for registering chrome
git-svn-id: svn://10.0.0.236/trunk@68655 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 08:47:10 +00:00
rbs%maths.uq.edu.au
0d1ea56be8 [not part of default build] Simple cleanup
git-svn-id: svn://10.0.0.236/trunk@68654 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 08:10:36 +00:00
jfrancis%netscape.com
d3579b5131 fix for 30759, plaintext paste as quotation creates ubercaret
git-svn-id: svn://10.0.0.236/trunk@68653 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:50:57 +00:00
dveditz%netscape.com
6b2bd20695 Resourced strings for registering chrome
git-svn-id: svn://10.0.0.236/trunk@68652 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:48:14 +00:00
dveditz%netscape.com
a214f4fe94 use threadsafe ISupports
git-svn-id: svn://10.0.0.236/trunk@68651 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:46:16 +00:00
rbs%maths.uq.edu.au
5d5d4b3895 [not part of the default build] Remove unused leftover
git-svn-id: svn://10.0.0.236/trunk@68650 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:38:16 +00:00
rbs%maths.uq.edu.au
77341a8366 [not part of default build] Re-worked the logic of the symmetric attribute to align stretchy chars on the bottom. Make maxsize and minsize inherit from <mstyle> if appropriate
git-svn-id: svn://10.0.0.236/trunk@68649 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:31:05 +00:00
rbs%maths.uq.edu.au
becc38bab0 [not part of default build] Use atoms from nsMathMLAtoms for pseudo style contexts
git-svn-id: svn://10.0.0.236/trunk@68648 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:30:15 +00:00
rbs%maths.uq.edu.au
506f6233b1 [not part of default build] Added support for align: top, bottom, center, baseline, axis on <mtable>
git-svn-id: svn://10.0.0.236/trunk@68647 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:23:22 +00:00
dougt%netscape.com
fc99d98d2e Prevents a stack overflow. was checking for null. I guess we need to check
for null as well as (child == child's parent)...


git-svn-id: svn://10.0.0.236/trunk@68646 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:22:09 +00:00
rbs%maths.uq.edu.au
63f93c1f6c [not part of default build] Allow some stretchy chars like OverCurlyBracket and UnderCurlyBracket to have their prefered extension tables. Added more sanity check
git-svn-id: svn://10.0.0.236/trunk@68645 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:18:10 +00:00
rbs%maths.uq.edu.au
bb49eac27b [not part of the default build] List of MathML 1.x entities
git-svn-id: svn://10.0.0.236/trunk@68644 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:14:21 +00:00
rbs%maths.uq.edu.au
deb0558e08 [not part of the default build] Make the operator dictionary more readable, and merge operators that have identical Unicode points. Added IsMutable() helper function
git-svn-id: svn://10.0.0.236/trunk@68643 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:12:39 +00:00
rbs%maths.uq.edu.au
f589cc13cf [not part of the default build] Added more atoms for MathML 2.0 and for pseudo elements
git-svn-id: svn://10.0.0.236/trunk@68642 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:09:23 +00:00
dougt%netscape.com
1ecc90a4f6 I change my mind about which text to display when the document was not loaded
correctly.


git-svn-id: svn://10.0.0.236/trunk@68641 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:04:32 +00:00
dougt%netscape.com
68c9f8600f More lock icon hacking.
Fixed a problem with nested frames posting not being recongnized.
Adding warnings to posts from insecure sites.  (37155)


git-svn-id: svn://10.0.0.236/trunk@68640 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 06:53:57 +00:00
morse%netscape.com
7306ab5acd allow conversion of database between encrypted and obscurred
git-svn-id: svn://10.0.0.236/trunk@68639 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 06:32:46 +00:00
dougt%netscape.com
fe46e07d21 Fixing 38202. Permission was incorrect.
git-svn-id: svn://10.0.0.236/trunk@68638 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 06:29:05 +00:00
rginda%netscape.com
d51576fb18 ** CHATZILLA CHANGES ONLY **
* chatzilla.xul
add tasksoverlay
convert starusbar from html:table to box
html:input -> textfield

* handlers.js
prompt for a new nickname if default was not changed

* readprefs.js
read network pref

* static.js
titlebutton -> menubutton

* listbox.js
convert html thingies to xul thingies.  Quite broken, need to change quicklist to a tree

* chatzilla.css
deleted much, more skinnable now


git-svn-id: svn://10.0.0.236/trunk@68637 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 06:04:24 +00:00
dougt%netscape.com
05f1132def Adding nsIContentHandler to XPInstall so that we can handle mime types. This
allows us to click on a xpinstall link and have the install happen.

I also changed the windows wizard test application to use explict paths.  This
should have been checked in with the rest of the nsIFile/xpInstall stuff.  You
may have to adjust these paths manually.


git-svn-id: svn://10.0.0.236/trunk@68636 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 05:12:35 +00:00
ssu%netscape.com
556e3c2075 added sanity checking for bug 27601. not part of tinderbox build. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@68635 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 05:09:35 +00:00
dougt%netscape.com
1d440dd7be adding xpinstall mime type. 11281
git-svn-id: svn://10.0.0.236/trunk@68634 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 05:09:21 +00:00
rhp%netscape.com
5818cdc5d9 CHECKING IN CHANGES - NOT PART OF THE BUILD!
git-svn-id: svn://10.0.0.236/trunk@68633 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 04:33:14 +00:00
rjc%netscape.com
bf0e6674a0 Fix bug # 36716.
git-svn-id: svn://10.0.0.236/trunk@68632 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 04:21:23 +00:00
ssu%netscape.com
68ff265391 fixing bug #27601. installer build scripts are now coded to install msvcrt and msvcirt.dll files. not part of tinderbox builds. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@68631 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 04:11:30 +00:00
rjc%netscape.com
a79a3205a3 Get icons back in Related Links data.
git-svn-id: svn://10.0.0.236/trunk@68630 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 04:04:23 +00:00
mjudge%netscape.com
f2fb0e21c6 we get selection controller not from pres shell. we get it from GetSelectionController
git-svn-id: svn://10.0.0.236/trunk@68629 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 04:01:26 +00:00
mjudge%netscape.com
78a87d2108 forgot to initialize this
git-svn-id: svn://10.0.0.236/trunk@68628 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 04:00:48 +00:00
mjudge%netscape.com
62b4efbac4 tabbing
git-svn-id: svn://10.0.0.236/trunk@68627 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 04:00:26 +00:00
mjudge%netscape.com
ef3e852f95 adjusting how we get nsIFrameSelection. maybe we can QI from SelectionController
git-svn-id: svn://10.0.0.236/trunk@68626 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 03:59:53 +00:00
mjudge%netscape.com
4bda86b3f7 ifdef changes wont touch build
git-svn-id: svn://10.0.0.236/trunk@68625 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 03:58:48 +00:00
mjudge%netscape.com
7f20b037e4 notin build yet
git-svn-id: svn://10.0.0.236/trunk@68624 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 03:58:25 +00:00
rjc%netscape.com
4b6447d392 Clean up separators in Related Links data.
git-svn-id: svn://10.0.0.236/trunk@68623 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 03:53:29 +00:00
jbetak%netscape.com
5c3dfc3e6b 32477 Accept Language UI
git-svn-id: svn://10.0.0.236/trunk@68622 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 03:23:16 +00:00
rjc%netscape.com
0160244407 Clean up sidebar loading ugliness.
git-svn-id: svn://10.0.0.236/trunk@68621 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 03:21:52 +00:00
jbetak%netscape.com
f38f71cf2f 32477 Accept Language Ui
git-svn-id: svn://10.0.0.236/trunk@68620 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 03:12:29 +00:00
jbetak%netscape.com
c3df47a870 32477 Accept language UI
git-svn-id: svn://10.0.0.236/trunk@68619 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 03:04:39 +00:00
jbetak%netscape.com
09e6ae0428 32477 Accept Language UI
git-svn-id: svn://10.0.0.236/trunk@68618 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 02:59:00 +00:00
jbetak%netscape.com
1e3b611449 32477 Accept Language UI
git-svn-id: svn://10.0.0.236/trunk@68617 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 02:47:43 +00:00
ssu%netscape.com
b8397bd425 fixing bugs:
38472 - choosing base now will show base in the StartInstall dialog
38473 - Correct components are now shown in the StartInstall dialog

affects only windows.


git-svn-id: svn://10.0.0.236/trunk@68616 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 02:09:08 +00:00
ssu%netscape.com
69ea5d226d fixing bugs:
38475 - fixed the browse button.  It now shows the browse for directory dialog.
32860 - installer truncates long destination paths with "..." correctly.

Also fixed code to display a string in the DlgMessage more accurately.
Optimized the way Setup matches the color to display the strings on the blue background.

Affects only windows platforms.


git-svn-id: svn://10.0.0.236/trunk@68615 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 01:53:43 +00:00
av%netscape.com
8c15d7737f Fixing 38273
git-svn-id: svn://10.0.0.236/trunk@68614 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 01:14:29 +00:00
av%netscape.com
cbc911b31d Fixing 38274
git-svn-id: svn://10.0.0.236/trunk@68613 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 01:08:15 +00:00
Jerry.Kirk%Nexwarecorp.com
239379cf00 Adding "GetNormalLineHeight" method.
Photon ONLY


git-svn-id: svn://10.0.0.236/trunk@68612 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 00:05:00 +00:00
ssu%netscape.com
1ad76cabb5 fixing bug 38465. not part of tinderbox builds. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@68611 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 23:43:23 +00:00
morse%netscape.com
f407b73bcc allow for storing both encrypted and obscurred values
git-svn-id: svn://10.0.0.236/trunk@68610 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 22:53:43 +00:00
morse%netscape.com
618df5f02a allow for storing both encrypted and obscurred values
git-svn-id: svn://10.0.0.236/trunk@68609 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 22:47:35 +00:00
jbetak%netscape.com
353dcebd08 32477 Accept language UI - fixing bustage
git-svn-id: svn://10.0.0.236/trunk@68608 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 22:12:22 +00:00
rickg%netscape.com
db5434c32a more fun with the Strict DTD
git-svn-id: svn://10.0.0.236/trunk@68607 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 21:59:06 +00:00
jbetak%netscape.com
23f14de47c 32477 Accept-Language UI, changing location and name of the language string bundle, r=erik, ftang
git-svn-id: svn://10.0.0.236/trunk@68606 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 21:50:32 +00:00
jbetak%netscape.com
89473ea8aa 32477 Accept-Language UI,
changing location and name of the language name string bundle,
r=erik, ftang


git-svn-id: svn://10.0.0.236/trunk@68605 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 21:45:41 +00:00
jbetak%netscape.com
21567f53a0 32477 Accept-Language UI,
changing location and name of the language name string bundle,
r=erik, ftang


git-svn-id: svn://10.0.0.236/trunk@68604 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 21:39:25 +00:00
jbetak%netscape.com
6bf8aa4a27 32477 Accept-Language UI,
changing location and name of the language name string bundle,
r=erik, ftang


git-svn-id: svn://10.0.0.236/trunk@68603 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 21:30:10 +00:00
jbetak%netscape.com
77fd90cde8 32477 Accept-Language UI,
changing location and name of the language name string bundle,
r=erik, ftang


git-svn-id: svn://10.0.0.236/trunk@68602 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 21:24:09 +00:00
jbetak%netscape.com
a1e8a4dd7a 37408
String bundle doesn't offer a scriptable enumerator
r=be (incrementally deprecating outdated non-scriptable interface)


git-svn-id: svn://10.0.0.236/trunk@68601 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 21:12:38 +00:00
bryner%uiuc.edu
ca88b02cf6 Turning off the new tiling code because it seems to have made tinderbox
go orange.


git-svn-id: svn://10.0.0.236/trunk@68600 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 21:10:33 +00:00
thayes%netscape.com
266d845e75 Update name of box for hooking in the security button. ("state-box" -> "status-bar")
git-svn-id: svn://10.0.0.236/trunk@68599 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 20:51:33 +00:00
bryner%uiuc.edu
1b4152d124 Finishing up the faster GDK image tiling code and turning it
on.  fixes bug 28578 and probably some others.  r=pavlov.


git-svn-id: svn://10.0.0.236/trunk@68598 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 20:44:12 +00:00
bryner%uiuc.edu
29671b1bfd Fixing the out of order DOM properties assertion. r=shaver.
git-svn-id: svn://10.0.0.236/trunk@68597 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 20:19:08 +00:00
pavlov%netscape.com
63a65a41e5 fix for assertion for real
git-svn-id: svn://10.0.0.236/trunk@68596 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 19:56:55 +00:00
erik%netscape.com
4dd800777c local .cvsignore file
git-svn-id: svn://10.0.0.236/trunk@68595 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 17:29:44 +00:00
erik%netscape.com
b5ac935167 local .cvsignore file
git-svn-id: svn://10.0.0.236/trunk@68594 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 17:19:20 +00:00
karnaze%netscape.com
e50286dff6 bug 33976 - make non numeric border value 1.
git-svn-id: svn://10.0.0.236/trunk@68593 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 17:15:56 +00:00
rusty.lynch%intel.com
0a9d325033 Fix for bug #37165 (Unknown protocol handler in embed/object src attribute
kills plug-in.) r=av


git-svn-id: svn://10.0.0.236/trunk@68592 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 16:48:06 +00:00
andreas.otte%primus-online.de
9c954b360e working on bug 37616, Retire SetRelativePath, NS_MakeAbsolute now only calls Resolve, let it do the complete resolving, r=warren@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68591 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 11:04:33 +00:00
andreas.otte%primus-online.de
ac76d18551 working on bug 37616, Retire SetRelativePath, Resolve now uses ExtractScheme from nsURLHelper, r=warren@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68590 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 10:56:33 +00:00
brade%netscape.com
c7b2d106a8 first pass at some of the editor toolbar tooltips
git-svn-id: svn://10.0.0.236/trunk@68589 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 10:53:42 +00:00
brade%netscape.com
255aaac473 missing line
git-svn-id: svn://10.0.0.236/trunk@68588 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 10:53:09 +00:00
brade%netscape.com
d626a7f992 enable tooltips in editor (when in overlay)
git-svn-id: svn://10.0.0.236/trunk@68587 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 10:52:22 +00:00
brade%netscape.com
ee896f9905 changes submitted by Brian King (briano9@yahoo.com); improvements to image map editor for skinnability and localization
git-svn-id: svn://10.0.0.236/trunk@68586 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 10:51:34 +00:00
andreas.otte%primus-online.de
77a488d3e3 working on bug 37616, Retire SetRelativePath, make nsIOService use the nsURLHelper version of ExtractScheme, r=warren@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68585 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 10:49:29 +00:00
andreas.otte%primus-online.de
8444c34c4c working on bug 37616, Retire SetRelativePath, moving ExtractScheme into nsURLHelper, r=warren@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68584 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 10:43:36 +00:00
andreas.otte%primus-online.de
abec451cc8 working on bug 37616, Retire SetRelativePath, removing last usage of SetRelativePath, r=warren@netscape.com, a=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68583 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 10:35:40 +00:00
rjc%netscape.com
05716ef3a9 Fix bug # 37682: use nsIFile instead of nsFileSpec.
git-svn-id: svn://10.0.0.236/trunk@68582 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 10:15:48 +00:00
rjc%netscape.com
208fc88c1f Now able to again click on a file link to load it in.
git-svn-id: svn://10.0.0.236/trunk@68581 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 10:08:53 +00:00
rjc%netscape.com
f32322c23b Fix memory leak (of an atom) which ruslan introduced.
git-svn-id: svn://10.0.0.236/trunk@68580 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 09:47:46 +00:00
rjc%netscape.com
ff3b6d368c If we encounter a stale search engine reference (i.e. a search engine which has been removed from the "Search Plugins" folder) then forget about it in "search.rdf".
git-svn-id: svn://10.0.0.236/trunk@68579 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 08:45:48 +00:00
rjc%netscape.com
fd2c99cc25 Whitespace cleanup.
git-svn-id: svn://10.0.0.236/trunk@68578 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 08:43:42 +00:00
rjc%netscape.com
d3d2c3f760 Tweak MakeContainer() to always call NS_NewRDFContainer() if the caller asks for one.
git-svn-id: svn://10.0.0.236/trunk@68577 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 08:38:45 +00:00
hyatt%netscape.com
fea729f987 Backing out tooltips. They break menu dismissal.
git-svn-id: svn://10.0.0.236/trunk@68576 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 08:09:35 +00:00
hangas%netscape.com
009d2a0ae5 Converting files to use xul widgets (19558)
git-svn-id: svn://10.0.0.236/trunk@68575 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 07:33:28 +00:00
brendan%mozilla.org
5792686597 Make sure the enumerator names are sorted (r=waterson@netscape.com).
git-svn-id: svn://10.0.0.236/trunk@68574 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 07:10:55 +00:00
ssu%netscape.com
79093d88e3 mapped error values to strings when windows installer vails. affects only windows platforms.
git-svn-id: svn://10.0.0.236/trunk@68573 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 07:07:01 +00:00
rjc%netscape.com
7965a60815 Set initial/default search category.
git-svn-id: svn://10.0.0.236/trunk@68572 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 06:54:27 +00:00
ssu%netscape.com
a0ef30a0b3 fixing bugs: 23221, 33354, 34599
git-svn-id: svn://10.0.0.236/trunk@68571 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 06:15:04 +00:00
ssu%netscape.com
24dea42332 updated template file for fixing bugs 23221, 33354, 34599. Not part of tinderbox build. affects only windows platforms.
git-svn-id: svn://10.0.0.236/trunk@68570 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 06:12:16 +00:00
davidm%netscape.com
bd38c5e43e 37071 Crash while downloading anything
37353    browser segfaults on page loading


git-svn-id: svn://10.0.0.236/trunk@68569 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 05:38:02 +00:00
michael.lowe%bigfoot.com
89eff2adf7 Implement CSS3 cursors on Windows
git-svn-id: svn://10.0.0.236/trunk@68568 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 05:14:43 +00:00
rickg%netscape.com
fa0ebb789a small improvement to strictDTD to allow auto-opening of Tbody
git-svn-id: svn://10.0.0.236/trunk@68567 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 04:55:36 +00:00
mccabe%netscape.com
93ab483327 Commandline handler for '-jsconsole' argument; calling mozilla with -jsconsole now brings up the javascript console (only).
Handler, idea and all clues courtesy Martijn Pieters <mj@digicool.com>


git-svn-id: svn://10.0.0.236/trunk@68566 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 04:26:37 +00:00
rpotts%netscape.com
88299ce209 Removed nsLoadCookie and made nsDocLoader implement nsIInterfaceRequestor directly...
git-svn-id: svn://10.0.0.236/trunk@68565 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 02:01:10 +00:00
jbetak%netscape.com
f26a12cb6a 37408
String bundle doesn't offer a scriptable enumerator
r=be


git-svn-id: svn://10.0.0.236/trunk@68564 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 01:58:18 +00:00
jfrancis%netscape.com
69a8501658 fixed bug where undo could cause extra break nodes; fixed bug 37845: plaintext gets clutered with empty text nodes; fixed bug where toolbar style feedback was wrong after typing a return.
git-svn-id: svn://10.0.0.236/trunk@68563 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 01:33:42 +00:00
alecf%netscape.com
4009369162 add search term to mac exports
git-svn-id: svn://10.0.0.236/trunk@68562 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 00:48:33 +00:00
alecf%netscape.com
b11c092398 add search term to windows build
git-svn-id: svn://10.0.0.236/trunk@68561 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 00:42:46 +00:00
alecf%netscape.com
d85950bbbb add searchterm idl to unix build
git-svn-id: svn://10.0.0.236/trunk@68560 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 00:42:01 +00:00
alecf%netscape.com
baf85d8a87 added files: mozilla/mailnews/base/search/public/nsIMsgSearchTerm.idl
git-svn-id: svn://10.0.0.236/trunk@68559 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 00:41:31 +00:00
alecf%netscape.com
da0ca5f9e6 add new IDL wrapper around searchterms
git-svn-id: svn://10.0.0.236/trunk@68558 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 00:39:27 +00:00
cls%seawood.org
d74f4ced61 Forgot to add EXTRA_DSO_LIBS to EXTRA_DSO_LDOPTS. Bug #38353
git-svn-id: svn://10.0.0.236/trunk@68557 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 23:58:03 +00:00
erik%netscape.com
4b6b9572ec getting rid of compiler warning
git-svn-id: svn://10.0.0.236/trunk@68556 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 22:10:10 +00:00
erik%netscape.com
81b0216fc1 getting rid of unused, old method (PickAppropriateSize)
git-svn-id: svn://10.0.0.236/trunk@68555 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 22:05:51 +00:00
jst%netscape.com
929f6d5726 Removing unnecessary file from the build.
git-svn-id: svn://10.0.0.236/trunk@68554 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 22:03:43 +00:00
erik%netscape.com
86df5b8d84 getting rid of initializations to zero since we already have
NS_DECL_AND_IMPL_ZEROING_OPERATOR_NEW


git-svn-id: svn://10.0.0.236/trunk@68553 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 21:56:08 +00:00
erik%netscape.com
faaa7432e0 got rid of unneeded mHeight (replaced by mMaxHeight)
git-svn-id: svn://10.0.0.236/trunk@68552 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 21:47:09 +00:00
erik%netscape.com
756361187c bug 35081; need to use CreateInstance instead of GetService for
nsISaveAsCharset


git-svn-id: svn://10.0.0.236/trunk@68551 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 21:17:43 +00:00
ducarroz%netscape.com
c47b23ca7a Fix for bug 28420. Check document content for HTML tags before asking the user which format to use for sending the message
git-svn-id: svn://10.0.0.236/trunk@68550 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 20:14:23 +00:00
miodrag%netscape.com
4a1c3242b1 Updates for LDAPJDK 4.1
git-svn-id: svn://10.0.0.236/trunk@68549 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 19:36:18 +00:00
morse%netscape.com
c6d5a69e5c autocapturing of submitted forms was not working
git-svn-id: svn://10.0.0.236/trunk@68548 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 19:22:13 +00:00
morse%netscape.com
7e85455db9 clean up some wording
git-svn-id: svn://10.0.0.236/trunk@68547 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 19:21:06 +00:00
michael.lowe%bigfoot.com
a9a3ef2a29 Adding Windows cursor files
git-svn-id: svn://10.0.0.236/trunk@68546 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 19:15:23 +00:00
jst%netscape.com
497287b516 Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@68545 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 18:57:43 +00:00
tonyr%fbdesigns.com
b01a72e80b Updated the import tools to new xul tags
git-svn-id: svn://10.0.0.236/trunk@68544 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 18:38:41 +00:00
jst%netscape.com
ac3370a4c2 Hooking up document.getOverrideStyle() in the DOM JS glue code, no implementation yet.
git-svn-id: svn://10.0.0.236/trunk@68543 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 18:05:10 +00:00
morse%netscape.com
6c86bede2f avoid prompting for master password too soon
git-svn-id: svn://10.0.0.236/trunk@68542 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 17:11:01 +00:00
jst%netscape.com
fb865bdd4b Adding header for the DOM Level 2 interface DocumentCSS, not used yet.
git-svn-id: svn://10.0.0.236/trunk@68541 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 17:09:24 +00:00
warren%netscape.com
f0c0a61e63 Added nsIConnectionCache.idl
git-svn-id: svn://10.0.0.236/trunk@68540 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 15:50:11 +00:00
warren%netscape.com
35d9654dd8 Added nsIProxyAutoConfig.idl
git-svn-id: svn://10.0.0.236/trunk@68539 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 15:05:33 +00:00
jst%netscape.com
107146f581 Add error messages for DOM Level 2 Range exceptions.
git-svn-id: svn://10.0.0.236/trunk@68538 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 14:34:47 +00:00
jst%netscape.com
3a11db589f Add DOM Range error codes.
git-svn-id: svn://10.0.0.236/trunk@68537 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 13:50:39 +00:00
jst%netscape.com
8623a07062 DOM Level 2 exception updates.
git-svn-id: svn://10.0.0.236/trunk@68536 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 13:35:53 +00:00
warren%netscape.com
08e095963b Fixed the !@#$% xpt target again.
git-svn-id: svn://10.0.0.236/trunk@68535 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 11:59:21 +00:00
warren%netscape.com
bf603f5425 Lost changes somehow that consolidate idl files into necko.idl. Adding them back in.
git-svn-id: svn://10.0.0.236/trunk@68534 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 11:50:12 +00:00
warren%netscape.com
6217be5874 Changed target name from network.xpt to necko.xpt.
git-svn-id: svn://10.0.0.236/trunk@68531 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 10:22:33 +00:00
warren%netscape.com
2a9a715a44 Moved build of zlib up for optimized builds.
git-svn-id: svn://10.0.0.236/trunk@68530 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 10:04:28 +00:00
warren%netscape.com
4bfc7fab53 Fixed nsIWebFilters problem.
git-svn-id: svn://10.0.0.236/trunk@68529 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 09:47:52 +00:00
warren%netscape.com
32c6c2e61d Removed unnecessary dependance on NetworkModular library (really just the Timer library now).
git-svn-id: svn://10.0.0.236/trunk@68528 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 09:20:44 +00:00
warren%netscape.com
06456f32f7 Combined all necko dlls into 2. Bug 17031.
git-svn-id: svn://10.0.0.236/trunk@68527 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 09:16:29 +00:00
warren%netscape.com
06f5a41c27 Combined all necko dlls into two. Bug 17031.
git-svn-id: svn://10.0.0.236/trunk@68526 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 09:15:56 +00:00
warren%netscape.com
25d84ab908 Fixed mac build warnings.
git-svn-id: svn://10.0.0.236/trunk@68525 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 09:07:31 +00:00
alecf%netscape.com
3ab7dcbb2b fix xlib bustage
git-svn-id: svn://10.0.0.236/trunk@68523 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 08:36:07 +00:00
alecf%netscape.com
d7969c848c fix for #34899
clear default server if we're deleting it.


git-svn-id: svn://10.0.0.236/trunk@68522 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 08:34:48 +00:00
alecf%netscape.com
791e312384 add a RDF URI that I'm going to need later
git-svn-id: svn://10.0.0.236/trunk@68521 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 08:34:24 +00:00
rjc%netscape.com
24be5d8ae8 Fixing ben's earliest checkin... don't obtain the extraneous "#URL" attribute eagerly, get it as needed.
git-svn-id: svn://10.0.0.236/trunk@68520 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 07:57:36 +00:00
warren%netscape.com
dc907bcee1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@68516 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 07:41:27 +00:00
alecf%netscape.com
a057bd56ec remove old file
git-svn-id: svn://10.0.0.236/trunk@68515 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 07:34:27 +00:00
alecf%netscape.com
e04b99bb9b remove accidental debugging text
git-svn-id: svn://10.0.0.236/trunk@68514 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 07:22:16 +00:00
alecf%netscape.com
0efdc089cd remove obsolete files from build
git-svn-id: svn://10.0.0.236/trunk@68513 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 07:14:22 +00:00
alecf%netscape.com
00189e55e8 fix collapsed tree
git-svn-id: svn://10.0.0.236/trunk@68512 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 07:11:52 +00:00
alecf%netscape.com
5b0d598137 skinnabilify the account manager, and use the shared smtp editor for the smtp page
git-svn-id: svn://10.0.0.236/trunk@68511 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 07:11:29 +00:00
bryner%uiuc.edu
017689fc50 Fixing objdir build bustage.
git-svn-id: svn://10.0.0.236/trunk@68510 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 06:17:48 +00:00
rpotts%netscape.com
08ae9559f8 some reformatting to keep lines from wrapping...
git-svn-id: svn://10.0.0.236/trunk@68509 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 06:05:03 +00:00
attinasi%netscape.com
c26c81dc23 Added a check in AttributeChanged to notify the canvas frame when the background image or color changes. This causes the entire canvas to be invalidate and thus painted. Also removed code that was propagating the background up to the canvas frame; it was not needed and was insufficient as it did not handle the case where the DOM set the background, nor did it handle the background being cleared from the BODY. b=11491,37502
git-svn-id: svn://10.0.0.236/trunk@68508 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 06:04:08 +00:00
rusty.lynch%intel.com
0b12b334b9 Fix for bug #797. -r=av
git-svn-id: svn://10.0.0.236/trunk@68507 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 06:00:48 +00:00
attinasi%netscape.com
0c6d39b35f Fixed the BodyBackground rule to propagate the backgound color when the background color is cleared as well as set. b=11491
git-svn-id: svn://10.0.0.236/trunk@68506 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 05:56:02 +00:00
attinasi%netscape.com
7fc3233b8e Added AttributeChanged method impl. for the CanvasFrame. This allows the frame to invalidate the whole canvas when a background color or background image changes. b=11491,37502
git-svn-id: svn://10.0.0.236/trunk@68505 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 05:50:49 +00:00
attinasi%netscape.com
2b8dd98033 QuirkMode: support for background="" to override the table inheriting the background down to the cells.
git-svn-id: svn://10.0.0.236/trunk@68504 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 05:48:38 +00:00
alecf%netscape.com
c13ebb0293 switch from document.controls to document.getElementsByAttribute, in preparation for skinnability work
git-svn-id: svn://10.0.0.236/trunk@68502 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 05:13:50 +00:00
alecf%netscape.com
3ed53791e7 skinnabilize the advanced imap pane
git-svn-id: svn://10.0.0.236/trunk@68501 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 05:11:21 +00:00
alecf%netscape.com
dc3790ca08 fix broken folder pickers
git-svn-id: svn://10.0.0.236/trunk@68500 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 05:10:30 +00:00
warren%netscape.com
2716f99c17 Revert accidental checkin
git-svn-id: svn://10.0.0.236/trunk@68499 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 05:10:25 +00:00
warren%netscape.com
1f1c809a1b build changes for unix
git-svn-id: svn://10.0.0.236/trunk@68498 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 05:07:16 +00:00
mj%digicool.com
d20882a294 Fixed a typo in the instructions.
git-svn-id: svn://10.0.0.236/trunk@68494 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 04:40:57 +00:00
bryner%uiuc.edu
16765b0299 Fixing objdir build bustage.
git-svn-id: svn://10.0.0.236/trunk@68492 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 03:54:17 +00:00
waldemar%netscape.com
72a41fbb9f Fixed syntax errors
git-svn-id: svn://10.0.0.236/trunk@68491 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 03:47:35 +00:00
waldemar%netscape.com
1c65d6ee72 Reordered includes to ensure that systemtypes.h is always included first; that's needed for Visual C++
git-svn-id: svn://10.0.0.236/trunk@68490 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 03:47:13 +00:00
waldemar%netscape.com
02864c9515 Reordered files back to dependency order. Added gc_allocator.h.
git-svn-id: svn://10.0.0.236/trunk@68489 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 03:33:25 +00:00
waldemar%netscape.com
5875d7f848 Fixed syntax error
git-svn-id: svn://10.0.0.236/trunk@68488 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 03:31:50 +00:00
waldemar%netscape.com
bb52addc5f Added formatters, zones, and other miscellaneous utilities
git-svn-id: svn://10.0.0.236/trunk@68487 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 03:31:35 +00:00
waldemar%netscape.com
ceb748de2b Fixed mac warning
git-svn-id: svn://10.0.0.236/trunk@68486 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 03:30:37 +00:00
mccabe%netscape.com
19d3741e83 Add standard taskbar.
git-svn-id: svn://10.0.0.236/trunk@68485 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 02:11:17 +00:00
danm%netscape.com
55d3fab4f6 adding crome registry update directives
git-svn-id: svn://10.0.0.236/trunk@68484 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 01:36:10 +00:00
nhotta%netscape.com
32b4eebc68 Changed to specify content type explicitly for GetMailNewFont().
git-svn-id: svn://10.0.0.236/trunk@68483 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 01:33:31 +00:00
danm%netscape.com
575e52f12a this directory isn't built! moving previous revision's changes elsewhere
git-svn-id: svn://10.0.0.236/trunk@68482 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 01:17:14 +00:00
danm%netscape.com
1a6aaaf3f6 adding chrome registry update directives
git-svn-id: svn://10.0.0.236/trunk@68479 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 01:02:42 +00:00
ruslan%netscape.com
71b4339b45 Fix MAC build breakage
git-svn-id: svn://10.0.0.236/trunk@68477 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 00:40:42 +00:00
ben%netscape.com
e1c5fdeb91 fixing some bookmarks window issues
git-svn-id: svn://10.0.0.236/trunk@68476 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 00:11:23 +00:00
locka%iol.ie
65a8f42c0c Moved mozctl.dll out of components directory
git-svn-id: svn://10.0.0.236/trunk@68474 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 00:08:39 +00:00
danm%netscape.com
556e6b50e4 update chrome rules to match new chrome hierarchy. also add chrome registration rule
git-svn-id: svn://10.0.0.236/trunk@68473 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 00:06:32 +00:00
ruslan%netscape.com
18d95e357f Fixing 36641
git-svn-id: svn://10.0.0.236/trunk@68472 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 00:06:28 +00:00
jst%netscape.com
d24292d0d4 Fixing bug 36308, document.close() didn't release the parser so subsequent document.open calls didn't properly clear the document/old parser.
git-svn-id: svn://10.0.0.236/trunk@68471 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 00:05:19 +00:00
jefft%netscape.com
b38da009b4 fixed bug 32316 - Allow server to override these namespaces pref not implemented
git-svn-id: svn://10.0.0.236/trunk@68470 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 00:02:27 +00:00
rjc%netscape.com
a3315c43e8 Fix bug # 20795: can now to specify order of template generated vs. XUL content.
git-svn-id: svn://10.0.0.236/trunk@68469 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 00:01:01 +00:00
gordon%netscape.com
1b11418d0d Added :streamconv:converters: to access paths, preparing for ruslan's checkin.
git-svn-id: svn://10.0.0.236/trunk@68468 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:54:29 +00:00
waterson%netscape.com
5ac0ad242b Bug 28236. Add explicit rule recompilation after SetSentFolderColumns().
git-svn-id: svn://10.0.0.236/trunk@68467 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:47:33 +00:00
jst%netscape.com
5b124bedb6 Fixing bug 35598, HTMLInputElement.click() wasn't working properly. r=joki
git-svn-id: svn://10.0.0.236/trunk@68466 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:44:43 +00:00
waterson%netscape.com
1532884ad5 Bug 34623. Add 'rebuild()' API to XUL elements.
git-svn-id: svn://10.0.0.236/trunk@68465 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:39:59 +00:00
andreas.otte%primus-online.de
46c368369e first round of checkins to fix bug 37616, Retire SetRelativePath, r=warren@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68464 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:39:25 +00:00
slamm%netscape.com
260db883ce Change dialog buttons at bottom to match prefs dialog (bug 36589).
git-svn-id: svn://10.0.0.236/trunk@68463 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:32:47 +00:00
rogerl%netscape.com
d494d230a8 Load_String
git-svn-id: svn://10.0.0.236/trunk@68462 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:23:13 +00:00
rogerl%netscape.com
eb993faee7 Basic string literal & value support
git-svn-id: svn://10.0.0.236/trunk@68461 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:22:31 +00:00
akkana%netscape.com
ea28ffcd73 38194: screen out moz br, which was producing an extra newline in textareas
git-svn-id: svn://10.0.0.236/trunk@68460 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:20:49 +00:00
sfraser%netscape.com
ce149a6b13 Big command tidyup. Make the distinction between editor and composer command clearer, and remove vestiges of the old singleton composer command manager. Also tidy up command node state attribute code.
git-svn-id: svn://10.0.0.236/trunk@68459 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:20:21 +00:00
sfraser%netscape.com
3d40a4cc67 Get rid of the redundant command state saving methods, and amalgamate the code that deals with multiple reloads into one method.
git-svn-id: svn://10.0.0.236/trunk@68458 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:19:08 +00:00
sfraser%netscape.com
33dc188047 Get rid of the redundant command state saving methods.
git-svn-id: svn://10.0.0.236/trunk@68457 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:18:15 +00:00
sfraser%netscape.com
d113eef21f Move the cmd_NewFoo command nodes out of any commandset, so that they don't appear disabled always. Remove superfluous cmd_Save nodes.
git-svn-id: svn://10.0.0.236/trunk@68456 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:17:38 +00:00
sfraser%netscape.com
ae076865a8 Comment out dump().
git-svn-id: svn://10.0.0.236/trunk@68455 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:16:52 +00:00
sfraser%netscape.com
f3151aa282 Remove the style commands command set, because we ain't got not style. Fixes JS errors/exceptions.
git-svn-id: svn://10.0.0.236/trunk@68454 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 23:16:28 +00:00
slamm%netscape.com
dc42b8a03b Make text for sidebar-header-box and sidebar-header-splitter flexible so it can be collapsed.
git-svn-id: svn://10.0.0.236/trunk@68453 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:41:00 +00:00
slamm%netscape.com
85a75392b2 Add 'loading...' text for tabs
git-svn-id: svn://10.0.0.236/trunk@68452 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:40:58 +00:00
slamm%netscape.com
c8ea27dec3 Change 'Panel' to 'Tab' and column headers.
git-svn-id: svn://10.0.0.236/trunk@68451 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:40:54 +00:00
slamm%netscape.com
5764e7ccc4 Change 'Panel' to 'Tab'.
git-svn-id: svn://10.0.0.236/trunk@68450 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:40:50 +00:00
slamm%netscape.com
ac139784e3 Add loading text/image to tabs. Clean-up some names. Fix styles for the first panel and the first panel after the selected one. Support only hiding the sidebar panels (as is needed for mailnews and addressbook).
git-svn-id: svn://10.0.0.236/trunk@68449 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:40:48 +00:00
slamm%netscape.com
dfdc2a0bc6 Trim some margins. Reformat file. Add grippy graphics. Add loading image/text for tabs. Fix border for .sidebar-main-header (had to add \!important to get it to work in mailnews and addressbook). Clean up styles for panel picker menu.
git-svn-id: svn://10.0.0.236/trunk@68448 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:40:40 +00:00
slamm%netscape.com
80cd385138 Make preview look more like an actual tab.
git-svn-id: svn://10.0.0.236/trunk@68447 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:40:25 +00:00
slamm%netscape.com
7831ccc3a4 Fix initial size (bug 37724) by adding size attributes to window tag. Persist dialog size.
git-svn-id: svn://10.0.0.236/trunk@68446 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:40:22 +00:00
slamm%netscape.com
8fffc2a32d Persist dialog dimensions. Fix bug where icons do not show on added tab (bug 37300)
git-svn-id: svn://10.0.0.236/trunk@68445 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:40:19 +00:00
slamm%netscape.com
243b63cc54 Add grippy graphics.
git-svn-id: svn://10.0.0.236/trunk@68444 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:40:16 +00:00
slamm%netscape.com
034d76f315 Remove obsolete class attribute from sidebar's splitter.
git-svn-id: svn://10.0.0.236/trunk@68443 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:39:42 +00:00
andreas.otte%primus-online.de
388b91cdc8 fix a possible mem leak introduced with my last checkin
git-svn-id: svn://10.0.0.236/trunk@68442 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:39:03 +00:00
nhotta%netscape.com
9351c12f63 Added a new function to return the default font name/size of mailnews.
git-svn-id: svn://10.0.0.236/trunk@68440 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:24:06 +00:00
slamm%netscape.com
9d09e93f2f Add id to view menu so the Sidebar menu option appears. Also remove an old sidebar call from the splitter.
git-svn-id: svn://10.0.0.236/trunk@68439 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:14:03 +00:00
slamm%netscape.com
6c8e77cac9 Remove a netwerk/protocol/resource Makefiles. warren pulled them out of the build, but forgot to remove these entries. Also pull out old network work directories.
git-svn-id: svn://10.0.0.236/trunk@68438 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:12:20 +00:00
alecf%netscape.com
acdfeb4b8a now pass in the filter's scope when the filter row is created
git-svn-id: svn://10.0.0.236/trunk@68437 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:09:18 +00:00
alecf%netscape.com
d343fd3b33 speed up initialization of the dialog by forwarding the scope into the initialization method for a searchterm
git-svn-id: svn://10.0.0.236/trunk@68436 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 22:06:18 +00:00
jfrancis%netscape.com
5c452edf65 rest of fix for bug 30763
git-svn-id: svn://10.0.0.236/trunk@68435 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:57:58 +00:00
rods%netscape.com
19a9f37fef The press event always delivers the key as lowercase where key down gives you the key that was pressed
need to change str to lowercase instead of uppercase
b=34630


git-svn-id: svn://10.0.0.236/trunk@68434 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:51:56 +00:00
rogerl%netscape.com
dee0321fd6 New arithmetic ops.
git-svn-id: svn://10.0.0.236/trunk@68433 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:38:16 +00:00
rogerl%netscape.com
2bd22b9c07 Bunch more arithmetic ops etc.
Also fixed case munging when class name was only 2 letters long.


git-svn-id: svn://10.0.0.236/trunk@68432 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:36:36 +00:00
ftang%netscape.com
3b39ef8824 check in for tajima@eng.sun.com
fix bug 36985. Add Solaris locale. r=ftang


git-svn-id: svn://10.0.0.236/trunk@68431 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:32:44 +00:00
sfraser%netscape.com
d49377ae02 Add XML-RPC to the build, and move installing chatzilla and XML-RPC resources to the BuildExtensions function.
git-svn-id: svn://10.0.0.236/trunk@68430 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:27:08 +00:00
andreas.otte%primus-online.de
7d0dda1495 fix bug 37109, nsStdURL::Equals() should not malloc, r=warren@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68429 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:23:08 +00:00
jfrancis%netscape.com
289b75d564 splitting mail cites in replies now gives you the caret where you want it.
git-svn-id: svn://10.0.0.236/trunk@68428 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:22:09 +00:00
ftang%netscape.com
ceb1878df9 fix 30798, skip font start with "." and "%" for font enumeration since they are private font.
git-svn-id: svn://10.0.0.236/trunk@68427 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:19:26 +00:00
sfraser%netscape.com
0db5672f06 File Removed.
git-svn-id: svn://10.0.0.236/trunk@68426 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:18:14 +00:00
sfraser%netscape.com
f5aa6a8d7a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@68425 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:18:13 +00:00
ftang%netscape.com
11f352cff2 fix 38182 and 31509. Make menu bar and help menu work for non English on JLK
git-svn-id: svn://10.0.0.236/trunk@68424 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:18:03 +00:00
andreas.otte%primus-online.de
d516528253 fix bug 37801, SetFile does not add a / in front of the path before calling SetPath on XP_PC, r=cmanske@netscape.com
fix bug 34966, fragment id on root-documents without /  misinterpreted, fixing the missed case, r=gagan@netscape.com


git-svn-id: svn://10.0.0.236/trunk@68423 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:11:28 +00:00
andreas.otte%primus-online.de
4a27900cb8 fix bug 37801, SetFile does not add a / in front of the path before calling SetPath on XP_PC, the fix is more general and applys to all platforms, r=cmanske@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68422 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:08:31 +00:00
erik%netscape.com
7430aa9ab0 bug 26237; added support for HTML LANG attribute -- it now uses the fonts
specified by the user for elements with the LANG attribute when the font
is a CSS generic (e.g. serif); r=pierre


git-svn-id: svn://10.0.0.236/trunk@68421 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:04:36 +00:00
waterson%netscape.com
02689bba14 Add nsIXULTemplateBuilder.idl
git-svn-id: svn://10.0.0.236/trunk@68420 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 21:00:42 +00:00
erik%netscape.com
1eddf57267 clean up a bit
git-svn-id: svn://10.0.0.236/trunk@68419 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:51:30 +00:00
mj%digicool.com
338ef37d06 Manual testfile for XML-RPC, not part of build. See README for usage.
git-svn-id: svn://10.0.0.236/trunk@68418 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:49:07 +00:00
pierre%netscape.com
3b94c33b40 Fixed the registration of the Language Atom Service. r=ftang
git-svn-id: svn://10.0.0.236/trunk@68417 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:47:27 +00:00
leaf%mozilla.org
f74ef5d026 Automated update
git-svn-id: svn://10.0.0.236/trunk@68416 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:45:27 +00:00
erik%netscape.com
8d46f2e31d correcting a comment
git-svn-id: svn://10.0.0.236/trunk@68415 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:44:33 +00:00
jfrancis%netscape.com
ce54ba7bc9 fixing bugs with paste; making paste not inherit local inline stlyes
git-svn-id: svn://10.0.0.236/trunk@68414 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:42:36 +00:00
waterson%netscape.com
0023f64678 Bug 34623. Add nsIXULTemplateBuilder.idl.
git-svn-id: svn://10.0.0.236/trunk@68413 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:42:21 +00:00
harishd%netscape.com
58a749a682 Propagating nsIFormProcessor change to nsTestFormProcessor.
git-svn-id: svn://10.0.0.236/trunk@68412 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:39:23 +00:00
harishd%netscape.com
2f4ca80bc1 Adding parser side support for KEYGEN.
r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@68411 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:39:18 +00:00
harishd%netscape.com
c823ed3de6 Changed a parameter ( nsVector to nsVoidArray ).
to add support for KEYGEN.


git-svn-id: svn://10.0.0.236/trunk@68410 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:39:12 +00:00
nhotta%netscape.com
4eafd3a665 Added a field to nsMsgAttachmentHandler in order to avoid applying base64 for main body, bug 33987, r=rhp.
git-svn-id: svn://10.0.0.236/trunk@68409 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:35:57 +00:00
mj%digicool.com
c7d1e4bbf2 Make XML-RPC part of the default build on Unix and Win32. smfr will take care ofthe Mac build.
r=shaver


git-svn-id: svn://10.0.0.236/trunk@68408 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:33:49 +00:00
nhotta%netscape.com
45f8dd9ac7 Changed to use charset service instead of hard coded charset names to decide mail header encoding type.
git-svn-id: svn://10.0.0.236/trunk@68407 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:31:53 +00:00
nhotta%netscape.com
52c983a054 Removed not used charset related entities.
git-svn-id: svn://10.0.0.236/trunk@68406 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 20:29:51 +00:00
valeski%netscape.com
b82ccfcb45 backing out socket change that is choking imap/pop
git-svn-id: svn://10.0.0.236/trunk@68405 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 19:54:42 +00:00
beard%netscape.com
c845b8395e Added debugger source
git-svn-id: svn://10.0.0.236/trunk@68404 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 18:20:05 +00:00
cyeh%bluemartini.com
652aaa880b add little blurb about flush privs
git-svn-id: svn://10.0.0.236/trunk@68403 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 18:02:05 +00:00
sspitzer%netscape.com
b0b8af3a83 fix for blocker bug #38288. need a default value for mail.SpellCheckBeforeSend
or we get a JS exception.


git-svn-id: svn://10.0.0.236/trunk@68402 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 17:58:48 +00:00
norris%netscape.com
9eeb86c316 Fix bug of IndexOutOfRangeException for
function query(query, text) {}


git-svn-id: svn://10.0.0.236/trunk@68401 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 16:38:16 +00:00
norris%netscape.com
a6e4aa1c6a Make NativeJavaPackage.class optional.
git-svn-id: svn://10.0.0.236/trunk@68400 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 16:37:40 +00:00
brade%netscape.com
c1b1e25a0d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@68399 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 15:05:01 +00:00
kin%netscape.com
5d6c2dec76 Fixed spellchecker recheck bug.
mozilla/editor/base/nsEditorShell.cpp
mozilla/editor/idl/nsIEditorSpellCheck.idl

    - Modified StartSpellChecking() so that it no longer calls
      NextMisspelledWord().
    - Renamed Start/CloseSpellChecking() to Init/UninitSpellChecker().
    - Changed prototype of GetCurrentDictionary() in the idl file.
    - Replaced all references of NS_SPELLCHECKER_CID with NS_SPELLCHECKER_PROGID.

mozilla/editor/txtsvc/public/nsISpellChecker.h

    - Added NS_SPELLCHECKER_PROGID.

mozilla/editor/txtsvc/public/nsTextServicesCID.h

    - Removed NS_SPELLCHECKER_CID.

mozilla/editor/ui/composer/content/ComposerCommands.js

    - Replaced all calls to  Start/CloseSpellChecking() with
      Init/UninitSpellChecker().
    - We now call GetNextMisspelledWord() after initing the spellchecker.

mozilla/editor/ui/dialogs/content/EdSpellCheck.js

    - Dialog now assumes the spellchecker language has been set before the
      dialog is invoked.
    - Fixed Recheck() so that it now sets the language.


git-svn-id: svn://10.0.0.236/trunk@68398 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 14:58:43 +00:00
mj%digicool.com
329bfae69c Bother. Camelot didn't eat it. I need a Mac buddy! =(
git-svn-id: svn://10.0.0.236/trunk@68397 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 14:53:41 +00:00
mj%digicool.com
f339ff6598 Template .mcp file. Camelot, here I come! (Oh, _NOT PART OF THE BUILD NOR OF ANY MAC BUILD PATH_)
git-svn-id: svn://10.0.0.236/trunk@68396 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 14:50:35 +00:00
joki%netscape.com
db2d2b63b6 Fix for 10574, fix pageX, pageY coords to match 4.x behavior
git-svn-id: svn://10.0.0.236/trunk@68395 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 14:47:37 +00:00
joki%netscape.com
1d39b5731f Adding assertion and null check for mCurrentTarget in PostHandleEvent
git-svn-id: svn://10.0.0.236/trunk@68394 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 14:43:20 +00:00
jst%netscape.com
11ac5cc7a6 Fixing bug 35276, flush all pending reflow notifications before requsting geometry from the frames, this makes the HTML element properties offsetXXX correct values even if requested immediately after a reflow was generated.
git-svn-id: svn://10.0.0.236/trunk@68393 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 14:25:49 +00:00
joki%netscape.com
c64d2868fc check in fix for 31892, null check in imagemap event code
git-svn-id: svn://10.0.0.236/trunk@68392 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 14:10:52 +00:00
edburns%acm.org
12b0c6b01b Added comment in nativeDestroyInitContext about bug http://bugzilla.mozilla.org/show_bug.cgi?id=38271
git-svn-id: svn://10.0.0.236/trunk@68391 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 14:02:12 +00:00
mj%digicool.com
70e4e92b99 Really backing out avs files this time.
git-svn-id: svn://10.0.0.236/trunk@68390 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 13:21:58 +00:00
cmanske%netscape.com
60958c9a7e Updating CSS to use new icons for All Tags mode. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@68389 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 12:54:55 +00:00
cmanske%netscape.com
77cab5b2ae Adding images for All Tags edit mode. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@68388 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 12:39:41 +00:00
gagan%netscape.com
6b51fd9e4a added files: mozilla/netwerk/base/public/nsIProxyAutoConfig.idl, mozilla/netwerk/base/public/nsIProxyAutoConfigUtils.idl, mozilla/netwerk/base/public/nsIWebFilters.idl
git-svn-id: svn://10.0.0.236/trunk@68387 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 10:25:07 +00:00
gagan%netscape.com
b17f19938b More proxy auto config work.
git-svn-id: svn://10.0.0.236/trunk@68386 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 09:49:42 +00:00
gagan%netscape.com
b35dd2e979 Flush out auth entries for 401 auth denied responses. And some filter work...
git-svn-id: svn://10.0.0.236/trunk@68385 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 09:46:24 +00:00
gagan%netscape.com
7ad3ae1722 Relevant idl includes for proxy auto config changes.
git-svn-id: svn://10.0.0.236/trunk@68384 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 09:35:50 +00:00
gagan%netscape.com
9197049c35 More proxy autoconfig stuff (in the making...)
git-svn-id: svn://10.0.0.236/trunk@68383 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 09:34:37 +00:00
sgehani%netscape.com
abe842f620 *** NOT PART OF CONTINUOUS BUILD ***
Workaround for bug 37957.  Getting the Mac installer to work again.


git-svn-id: svn://10.0.0.236/trunk@68382 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 09:07:12 +00:00
mjudge%netscape.com
3bf0034524 not in build yet. ender-lite
git-svn-id: svn://10.0.0.236/trunk@68381 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 08:58:24 +00:00
sspitzer%netscape.com
37264736c1 update.
git-svn-id: svn://10.0.0.236/trunk@68379 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 07:53:52 +00:00
warren%netscape.com
94103eefc7 Added
git-svn-id: svn://10.0.0.236/trunk@68378 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 07:53:43 +00:00
dp%netscape.com
c77b6c26de added contributors.
git-svn-id: svn://10.0.0.236/trunk@68377 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 07:44:50 +00:00
sspitzer%netscape.com
8050790def make it so the newsgroup (or folder) you have selected appears in the textfield.
git-svn-id: svn://10.0.0.236/trunk@68376 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 07:40:33 +00:00
sspitzer%netscape.com
79c8b6abdf simple status feedback (progress bar) for subscribe.
git-svn-id: svn://10.0.0.236/trunk@68374 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 07:25:16 +00:00
dp%netscape.com
e38e8c2fcf Initial version
git-svn-id: svn://10.0.0.236/trunk@68373 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 07:24:30 +00:00
sspitzer%netscape.com
048627ef4a lower count, and remove printfs.
git-svn-id: svn://10.0.0.236/trunk@68372 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 07:12:51 +00:00
sspitzer%netscape.com
ddd5d20639 start of the progress for the subscrbie dialog.
git-svn-id: svn://10.0.0.236/trunk@68371 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 07:11:23 +00:00
rhp%netscape.com
b2b35bb64a JUST CHECKING IN CODE - NOT PART OF THE BUILD!
git-svn-id: svn://10.0.0.236/trunk@68370 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:59:15 +00:00
dp%netscape.com
441a596498 Adding in class headers.
git-svn-id: svn://10.0.0.236/trunk@68369 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:53:09 +00:00
dp%netscape.com
26c0b8c1b8 Including class headers.
git-svn-id: svn://10.0.0.236/trunk@68368 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:49:13 +00:00
dp%netscape.com
5029b61046 - Using nsILocalFile::AppendRelativePath() to get components that live
under subdirs of component directory to work
- Fixing UnregisterComponent() to take a registryLocation as opposed
to a misinterpretted fullpathname


git-svn-id: svn://10.0.0.236/trunk@68367 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:37:39 +00:00
dp%netscape.com
40f02b827c Passing registry location correctly to nsIModule::UnregisterSelf()
git-svn-id: svn://10.0.0.236/trunk@68366 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:34:39 +00:00
dp%netscape.com
21d3193b87 Heavy documentation.
git-svn-id: svn://10.0.0.236/trunk@68365 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:33:05 +00:00
mj%digicool.com
59ae5fc11f Add xml-rpc Makefiles to build if building with --with-extentions="default xml-rpc"
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@68364 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:30:27 +00:00
dveditz%netscape.com
ee48888e3b suppressing warning that's probably fatal on VC5
git-svn-id: svn://10.0.0.236/trunk@68363 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:24:14 +00:00
dveditz%netscape.com
3fa5174d39 Skin/Locale installer (bug 32688) and groundwork for bug 32689
git-svn-id: svn://10.0.0.236/trunk@68362 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:23:11 +00:00
mj%digicool.com
1d76c60c78 New XML-RPC Client component.
_NOT PART OF THE BUILD_


git-svn-id: svn://10.0.0.236/trunk@68360 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:06:34 +00:00
warren%netscape.com
c50a812859 Obsolete
git-svn-id: svn://10.0.0.236/trunk@68359 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:05:38 +00:00
dp%netscape.com
599482c871 Adding progid for component manager.
git-svn-id: svn://10.0.0.236/trunk@68358 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 06:01:41 +00:00
dp%netscape.com
42ce4ccd0f Converting to generic module.
git-svn-id: svn://10.0.0.236/trunk@68357 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:59:42 +00:00
dp%netscape.com
ee7b3f74e5 Removed unneccessary casts.
git-svn-id: svn://10.0.0.236/trunk@68356 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:54:15 +00:00
dp%netscape.com
002b7b59c2 Converting to generic module.
git-svn-id: svn://10.0.0.236/trunk@68355 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:53:21 +00:00
sspitzer%netscape.com
0ba4cb400b make it so the UI doesn't block when building up the subscribe datasource.
thanks to mscott / waterson for the tips.


git-svn-id: svn://10.0.0.236/trunk@68354 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:52:38 +00:00
dp%netscape.com
300a3c4260 Added progid.
git-svn-id: svn://10.0.0.236/trunk@68353 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:52:26 +00:00
dp%netscape.com
57b4e946c4 Removed unneccessary include of nsIModule.h
git-svn-id: svn://10.0.0.236/trunk@68352 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:51:43 +00:00
dp%netscape.com
09f87e1345 - Api nsILocalFile::AppendRelativePath() added to interface
- nsILocalFile::Append() returns error uniformly on all platforms if
more than one component of path is being appended.


git-svn-id: svn://10.0.0.236/trunk@68351 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:47:32 +00:00
dprice%netscape.com
9e6c72d5c4 fix for 38253 r=mjudge
git-svn-id: svn://10.0.0.236/trunk@68350 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:37:27 +00:00
av%netscape.com
4deb19aa4c Not part of the build
git-svn-id: svn://10.0.0.236/trunk@68349 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:33:18 +00:00
cmanske%netscape.com
8ff9b0a9b5 Change attribute name of '-moz-userdefined' tag to '_moz-userdefied' to adhere to naming convention that strips out attribute when outputting HTML from editor
git-svn-id: svn://10.0.0.236/trunk@68348 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:32:15 +00:00
shaver%mozilla.org
ab6d79c646 first part of ContentPolicy stuff (#37983, r=brendan)
git-svn-id: svn://10.0.0.236/trunk@68347 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:28:49 +00:00
beard%netscape.com
2036592548 No need to use string, now that size_t LineReader::readLine(String& wstr) exists.
git-svn-id: svn://10.0.0.236/trunk@68346 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:25:00 +00:00
beard%netscape.com
be62e32401 added size_t LineReader::readLine(String& wstr) for convenience.
git-svn-id: svn://10.0.0.236/trunk@68345 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:24:02 +00:00
av%netscape.com
0422ab9d2a Not a part of the build
git-svn-id: svn://10.0.0.236/trunk@68344 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 05:05:09 +00:00
dveditz%netscape.com
3b7fb44490 Change logComment() calls to initial lowercase in case we resurrect editor as a separate installable later
git-svn-id: svn://10.0.0.236/trunk@68342 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:59:51 +00:00
beard%netscape.com
01cebe6414 regenerated dependencies
git-svn-id: svn://10.0.0.236/trunk@68341 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:58:56 +00:00
beard%netscape.com
08a7f31035 LineReader returns at least '\n'
git-svn-id: svn://10.0.0.236/trunk@68340 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:50:45 +00:00
beard%netscape.com
74bb57fecd stdin rather than cin
git-svn-id: svn://10.0.0.236/trunk@68339 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:45:39 +00:00
leaf%mozilla.org
7b9a609535 Automated update
git-svn-id: svn://10.0.0.236/trunk@68338 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:45:07 +00:00
beard%netscape.com
2566b08bc8 Needed to use namespace Interpreter to see Context, using LineReader instead of istream.
git-svn-id: svn://10.0.0.236/trunk@68337 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:44:51 +00:00
beard%netscape.com
9c590eb7bd remove unnecessary #include <iostream>
git-svn-id: svn://10.0.0.236/trunk@68336 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:44:01 +00:00
beard%netscape.com
79dd0e54a9 Use FILE* instead of istream& for better line handling
git-svn-id: svn://10.0.0.236/trunk@68335 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:43:12 +00:00
tor%cs.brown.edu
526efd5cf3 Patch from andreas.otte@primus-online.de to add an "--enable-svg"
option to configure.  Defaults to not building svg.


git-svn-id: svn://10.0.0.236/trunk@68334 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:32:50 +00:00
beard%netscape.com
0c6da3045e EOF handling
git-svn-id: svn://10.0.0.236/trunk@68333 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:19:20 +00:00
beard%netscape.com
4634345331 can't use std::getline() with a String on all platforms.
git-svn-id: svn://10.0.0.236/trunk@68332 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:10:01 +00:00
beard%netscape.com
08e0462469 forward declaring std::istream.
git-svn-id: svn://10.0.0.236/trunk@68331 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:08:59 +00:00
beard%netscape.com
cadeba85da fixed ICodeGenerator/ICodeModule::print on Mac, which seems to be getting confused when using operator<< in another namespace.
git-svn-id: svn://10.0.0.236/trunk@68330 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:05:56 +00:00
beard%netscape.com
2ba8cac7bf removed unused macro NS_JSICG.
git-svn-id: svn://10.0.0.236/trunk@68329 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:04:23 +00:00
dveditz%netscape.com
c74594dcf7 Adding the profile-chrome directory for use by skin installer
git-svn-id: svn://10.0.0.236/trunk@68328 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 04:03:17 +00:00
dveditz%netscape.com
fa282d9063 adding convenience macro to create always-proxied services necessary when creating the proxy on the same thread for use on a new thread
git-svn-id: svn://10.0.0.236/trunk@68327 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 03:47:00 +00:00
dveditz%netscape.com
d63321b3e2 Fixing repeated 'skin' provider types
git-svn-id: svn://10.0.0.236/trunk@68326 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 03:44:58 +00:00
ssu%netscape.com
43e5ee346a fixing bugs:
37911 - added the '>' char to the Next button
38138 - added a ':' in one of the dialog strings
37337 - added option to save the downloaded files and installer
35792 - exposed proxy support
31415 - fixed localization problem with string displayed on blue background

Affects only windows platforms.


git-svn-id: svn://10.0.0.236/trunk@68325 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 03:18:41 +00:00
chuang%netscape.com
6e375a9d15 More mailing list dialog stuff, r=putterman
git-svn-id: svn://10.0.0.236/trunk@68324 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 03:10:10 +00:00
davidm%netscape.com
7496328999 Fix memory leak
git-svn-id: svn://10.0.0.236/trunk@68323 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 03:09:37 +00:00
davidm%netscape.com
e04cd4167c Use QI to prevent a nsCOMPtr assert
git-svn-id: svn://10.0.0.236/trunk@68322 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 03:09:08 +00:00
davidm%netscape.com
74e41bc94e change from nsIEnumerator to nsISimpleEnumerator since that is the interface that the class actually implements
git-svn-id: svn://10.0.0.236/trunk@68321 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 03:08:26 +00:00
rbs%maths.uq.edu.au
48f7d1d691 [not part of default build]. Update some mappings of Unicode points
git-svn-id: svn://10.0.0.236/trunk@68320 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 03:07:33 +00:00
ssu%netscape.com
be4722f565 added logging of the creation of the components folder for uninstall. Fixed some typos, fixed bug 38139. Not part of tinderbox builds. affects only windows platforms
git-svn-id: svn://10.0.0.236/trunk@68319 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 03:07:05 +00:00
tor%cs.brown.edu
7992cab2b4 C++ comments in C files break native unix compilers.
git-svn-id: svn://10.0.0.236/trunk@68318 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 03:07:04 +00:00
mjudge%netscape.com
8004a683c1 adding more support for forms
git-svn-id: svn://10.0.0.236/trunk@68317 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 02:46:56 +00:00
mjudge%netscape.com
43bd57f8d5 not in build yet
git-svn-id: svn://10.0.0.236/trunk@68316 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 02:38:28 +00:00
mjudge%netscape.com
6b506c728a bad infiniteloop fix
git-svn-id: svn://10.0.0.236/trunk@68315 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 02:38:03 +00:00
despotdaemon%netscape.com
67889538c8 Pseudo-automatic update of changes made by inaky.gonzalez@intel.com.
git-svn-id: svn://10.0.0.236/trunk@68314 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 02:09:34 +00:00
danm%netscape.com
e4eacdcc9a adding chrome registry update directives
git-svn-id: svn://10.0.0.236/trunk@68313 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 01:43:24 +00:00
beard%netscape.com
ef844473ce Fixing Mac bustage.
git-svn-id: svn://10.0.0.236/trunk@68312 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 01:43:13 +00:00
cls%seawood.org
f2276bb2dc Fix for broken stopwatch (--enable-perf-metrics). Bug 27335
git-svn-id: svn://10.0.0.236/trunk@68311 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 01:30:17 +00:00
harishd%netscape.com
28983782c2 Let's see if this fixes the bustage
git-svn-id: svn://10.0.0.236/trunk@68310 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 01:21:55 +00:00
varada%netscape.com
35e5e849e0 fine tuning the feedback button by adding a ini file control to show the button or not
git-svn-id: svn://10.0.0.236/trunk@68309 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 01:05:39 +00:00
morse%netscape.com
798f19ab37 bug 36833, treehead should appear different from treechildren
git-svn-id: svn://10.0.0.236/trunk@68308 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:59:13 +00:00
morse%netscape.com
818468a24c fix an encryption error
git-svn-id: svn://10.0.0.236/trunk@68307 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:57:56 +00:00
ben%netscape.com
49aff8b3a4 fix prefwindow tree sizing
git-svn-id: svn://10.0.0.236/trunk@68306 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:57:51 +00:00
mcgreer%netscape.com
1b48ade751 change to comment text
git-svn-id: svn://10.0.0.236/trunk@68305 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:50:38 +00:00
alecf%netscape.com
e9c07dee4f really fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@68304 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:49:00 +00:00
alecf%netscape.com
c4f555c154 fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@68303 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:47:54 +00:00
harishd%netscape.com
afbd91ee27 Added an extra condition on an assertion.
git-svn-id: svn://10.0.0.236/trunk@68302 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:47:11 +00:00
sspitzer%netscape.com
8f7a610b03 more themes work.
git-svn-id: svn://10.0.0.236/trunk@68301 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:46:49 +00:00
harishd%netscape.com
0fb553bf96 Added method CreateCompatibleDTD() to retrieve an
instance of a DTD based on DOCTYPE, or MIMETYPE.

r=rickg


git-svn-id: svn://10.0.0.236/trunk@68300 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:33:16 +00:00
wtc%netscape.com
97d2ae4fd2 Bugzilla bug #17223: implemented the PR_MSG_PEEK flag for PR_Recv() for
BeOS, Mac OS, OS/2, and Windows.  On BeOS, Mac OS, and NT, PR_MSG_PEEK
is emulated with a peek buffer in the NSPR file descriptors.
Modified files: _beos.h, _macos.h, _winnt.h, primpl.h, prsocket.c,
macsockotpt.c, os2sock.c, ntio.c, and w95sock.c


git-svn-id: svn://10.0.0.236/trunk@68299 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:32:49 +00:00
alecf%netscape.com
7a38d3a548 whack prefs with a medium sized-stick.
also fix #33668, allow localized prefs to come from stringbundles


git-svn-id: svn://10.0.0.236/trunk@68298 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:22:20 +00:00
sfraser%netscape.com
4af814a535 Beep now when the search term is not found.
git-svn-id: svn://10.0.0.236/trunk@68297 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:21:34 +00:00
dp%netscape.com
18336a2e3f Removing nsConstructorPattern.cpp
git-svn-id: svn://10.0.0.236/trunk@68296 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:18:33 +00:00
putterman%netscape.com
aced5abbc5 Fix for 10881. Context menus in the message pane.
git-svn-id: svn://10.0.0.236/trunk@68295 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:14:08 +00:00
sspitzer%netscape.com
5ae4b629c5 more work to make the profile migration progress dialog skinnable.
next step is to write some css to make this look better.


git-svn-id: svn://10.0.0.236/trunk@68294 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 00:07:33 +00:00
sfraser%netscape.com
535b1ce485 Tweaking access paths for faster opening
git-svn-id: svn://10.0.0.236/trunk@68293 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:54:54 +00:00
jfrancis%netscape.com
70ffe624ce fix for 29320; deletion putting caret in wrong table cell
git-svn-id: svn://10.0.0.236/trunk@68292 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:54:00 +00:00
varada%netscape.com
4d610df478 fix for bug# 32113 - column should be left justified
git-svn-id: svn://10.0.0.236/trunk@68291 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:49:57 +00:00
tao%netscape.com
778b85d714 Bug 35404: centralize all URLs into builtinURLs.rdf (a=don,r=jbetak)
git-svn-id: svn://10.0.0.236/trunk@68290 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:49:45 +00:00
tao%netscape.com
256278d500 Bug 35404: centralize all URLs into builtinURLs.rdf
git-svn-id: svn://10.0.0.236/trunk@68289 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:41:17 +00:00
sfraser%netscape.com
d36dc422b7 Fix bugs 38189 and 38190 -- basic command enabling stuff.
git-svn-id: svn://10.0.0.236/trunk@68288 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:39:14 +00:00
varada%netscape.com
11569b4e0a fix for bug #26091 - Added Feedback button to the wizard.The page that it points to can be changed by modifying the feedback variable in wizardmachine.ini.
git-svn-id: svn://10.0.0.236/trunk@68287 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:35:29 +00:00
waterson%netscape.com
6ecdb660f2 Remove gratuitous NS_WARNING()s.
git-svn-id: svn://10.0.0.236/trunk@68286 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:34:25 +00:00
chuang%netscape.com
76aea12e8d New files, not part of build yet.
git-svn-id: svn://10.0.0.236/trunk@68284 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:23:07 +00:00
karnaze%netscape.com
a84a1ee61a bug 37037, 37490, and a table paganation problem when captions are present.
git-svn-id: svn://10.0.0.236/trunk@68283 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:16:42 +00:00
rayw%netscape.com
2702bf5ff6 Bug #37058
Added a simple test to CreateInstance, similar to the existing test in
GetService in the service manager, to prevent instances from being created
during shutdown.  We detected no calls to CreateInstance in normal code we
tested during shutdown.  If such occur, the fix is NOT to back out the
check, but rather to eliminate the calls to CreateInstance either by
registering a shutdown observer which gets called just before the
shutdown, or creating the instance before shutdown.

r=scc


git-svn-id: svn://10.0.0.236/trunk@68281 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:11:30 +00:00
rayw%netscape.com
9b790cf7cd Bug 38219
Commented two references to nsSystemInfo so that .idl and .cpp files should
not be compiled.  This makes the windows platform the same as the other
platforms which are missing these parts.

r=scs


git-svn-id: svn://10.0.0.236/trunk@68280 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:07:19 +00:00
cmanske%netscape.com
28f33c11c4 Removed duplicate declarations
git-svn-id: svn://10.0.0.236/trunk@68279 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 23:01:05 +00:00
valeski%netscape.com
753a46a9e3 Socket transport now blocks until DNS is resolved *only* in the Sync api usage case (Open*Stream() calls). This allows callers to deal w/ dns error failures when they're using the sync apis. 24435
git-svn-id: svn://10.0.0.236/trunk@68278 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:50:25 +00:00
danm%netscape.com
0eb74dcbea update chrome rules to match new chrome hierarchy. also add chrome registration rule
git-svn-id: svn://10.0.0.236/trunk@68277 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:43:41 +00:00
rginda%netscape.com
5f3e8f7af0 much debugger spankage; parse and execute step, continue, set, and print (kind-of) commands.
push implementation details of ICodeGenerator::print() into InstructionStream so they can be shared with ICodeModule.

copy variableList from ICodeGenerator to ICodeModule.

s/ScringAtom/const StringAtom/ in gencode.pl, regenerate vmtypes.h


git-svn-id: svn://10.0.0.236/trunk@68276 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:42:49 +00:00
ducarroz%netscape.com
8f0f85459b Fix for bug 35687. We need to initialize keyMatched to true. R=hyatt
git-svn-id: svn://10.0.0.236/trunk@68275 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:36:25 +00:00
ducarroz%netscape.com
ba0ab73933 Check for the ignorekeys attribute on the parent of the popup menu and not its grand parent. R=saari
git-svn-id: svn://10.0.0.236/trunk@68274 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:33:08 +00:00
cmanske%netscape.com
f9998d03b6 Added 'Split Cell' and fixed initialization of 'Join Cells' in table menu. Added stubs for 'Split Cell'
git-svn-id: svn://10.0.0.236/trunk@68273 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:32:24 +00:00
cmanske%netscape.com
6c7298e7bc Fixed Spell Check dialog layout. Replace more 'html:script' with 'script'.
git-svn-id: svn://10.0.0.236/trunk@68272 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:21:35 +00:00
ducarroz%netscape.com
4466dd8b4c Fix for bug 34467. We need to put back the double quote in some case. Let the parser do the right job. R=alecf
git-svn-id: svn://10.0.0.236/trunk@68271 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:16:25 +00:00
locka%iol.ie
6e53b341f0 Added mozctl.dll
git-svn-id: svn://10.0.0.236/trunk@68270 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:12:51 +00:00
rogerl%netscape.com
cc65738c48 Added const to the StringAtom usage.
Propagated variableList to ICodeModule


git-svn-id: svn://10.0.0.236/trunk@68269 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:08:38 +00:00
ducarroz%netscape.com
3f8debdcec Fix for bug 28762. Add Spell check menu item and button. Check spelling before sending message.
git-svn-id: svn://10.0.0.236/trunk@68268 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:08:27 +00:00
valeski%netscape.com
10f2a476fb getting rid of extraneous FTP members.
git-svn-id: svn://10.0.0.236/trunk@68267 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:06:21 +00:00
radha%netscape.com
a39c2753fd Remove keywords from the mozilla builds
git-svn-id: svn://10.0.0.236/trunk@68266 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 22:05:22 +00:00
mcgreer%netscape.com
dd2456a756 Code to provide hooks to RSA's BSAFE licensed code.
git-svn-id: svn://10.0.0.236/trunk@68265 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:58:18 +00:00
rickg%netscape.com
7e478dccbf fixed bug (feature) 35646
git-svn-id: svn://10.0.0.236/trunk@68264 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:55:36 +00:00
pierre%netscape.com
77cf922fa7 18817 and 35872 "Compatibility mode testing should be reviewed". eDTDMode_noquirks was used instead of eDTDMode_strict. Another fix from VYV03354@nifty.ne.jp, r=pierre.
git-svn-id: svn://10.0.0.236/trunk@68263 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:53:18 +00:00
ddrinan%netscape.com
3a6417ee88 Remove special import for Solaris 2.5.1
git-svn-id: svn://10.0.0.236/trunk@68262 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:48:43 +00:00
erik%netscape.com
5cd12e9864 bug 27164; added new GetNormalLineHeight API for proper line-height
git-svn-id: svn://10.0.0.236/trunk@68261 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:46:22 +00:00
erik%netscape.com
bbec0a38d2 bug 26237; return NULL if we can't find the language group
git-svn-id: svn://10.0.0.236/trunk@68260 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:41:07 +00:00
attinasi%netscape.com
f89065c311 Tables now inherit backgrond color and image into the cells and allow them to paint instead in quirks mode (the way it originally was). b=34838
git-svn-id: svn://10.0.0.236/trunk@68259 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:41:02 +00:00
attinasi%netscape.com
b65f73a73a Put checks for quirk mode before painting table background back in. Tables now inherit backgrond color and image into the cells and allow them to paint instead in quirks mode (the way it originally was).
git-svn-id: svn://10.0.0.236/trunk@68258 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:39:14 +00:00
attinasi%netscape.com
921df5eb29 Change to disallow underscore character in identifiers, as required in the CSS2 spec. Fix contributed by VYV03354@nifty.ne.jp, r=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@68257 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:36:49 +00:00
sfraser%netscape.com
27a989f31d New routine to install skin files from mozilla/themes, by iterating through directories looking for MANIFEST files. It is expected that MANIFEST files in these dirs have a first line like
#!dest chatzilla:skin

that specifies the destination directory. Also pull mozilla/themes.


git-svn-id: svn://10.0.0.236/trunk@68256 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:35:47 +00:00
mscott%netscape.com
ae6534e99e add thread safey addref and release macros to docloader.
git-svn-id: svn://10.0.0.236/trunk@68255 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:34:50 +00:00
pavlov%netscape.com
f91bbba3b8 reduce the amount of memory allocated by the charset menu by 600k r=brendan,cata
git-svn-id: svn://10.0.0.236/trunk@68254 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:32:20 +00:00
nhotta%netscape.com
7890b89055 Added an option to use charset code point as collation key controlled by a pref, bug 18338.
git-svn-id: svn://10.0.0.236/trunk@68253 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:31:14 +00:00
ddrinan%netscape.com
bf961430ca Build NSS before building PSM
git-svn-id: svn://10.0.0.236/trunk@68252 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:30:45 +00:00
wtc%netscape.com
a1ae819ae6 Non-blocking PR_Connect fails with PR_IN_PROGRESS_ERROR as opposed to
PR_WOULD_BLOCK_ERROR.  Made the test run two passes, one with local
threads and one with global threads.


git-svn-id: svn://10.0.0.236/trunk@68251 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:30:19 +00:00
sfraser%netscape.com
91f59672d4 Space to tab conversion, redoing the badness that was done a few revisions ago.
git-svn-id: svn://10.0.0.236/trunk@68250 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 21:30:02 +00:00
ddrinan%netscape.com
c5b1408f5d Fixed typo in nss gmake
git-svn-id: svn://10.0.0.236/trunk@68249 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 20:58:44 +00:00
ddrinan%netscape.com
6fe5542952 Initial revision
git-svn-id: svn://10.0.0.236/trunk@68248 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 20:40:41 +00:00
waterson%netscape.com
de05c39577 Bug 38185. Fix ports build bustage. a=brade
git-svn-id: svn://10.0.0.236/trunk@68247 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 19:57:31 +00:00
pinkerton%netscape.com
5be17635a2 remove tooltip from content area, for now.
git-svn-id: svn://10.0.0.236/trunk@68246 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 18:51:18 +00:00
pinkerton%netscape.com
9d045b9e38 check that there is a childpopup before removing the key listener from it.
git-svn-id: svn://10.0.0.236/trunk@68245 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 18:50:34 +00:00
sspitzer%netscape.com
0bb8ec6146 changes for the mac build.
git-svn-id: svn://10.0.0.236/trunk@68244 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 18:32:16 +00:00
brade%netscape.com
bf6a34cac6 add tooltips for page color properties dialog
git-svn-id: svn://10.0.0.236/trunk@68243 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:57:43 +00:00
brade%netscape.com
39ac2068a3 add tooltips for insert table dialog
git-svn-id: svn://10.0.0.236/trunk@68242 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:56:55 +00:00
brade%netscape.com
325419cf46 add tooltips for image dialog
git-svn-id: svn://10.0.0.236/trunk@68241 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:56:07 +00:00
karnaze%netscape.com
5823c8dc5f bug 34538 - allow more types of non table content inside table content get frames.
git-svn-id: svn://10.0.0.236/trunk@68240 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:53:59 +00:00
brade%netscape.com
7376774419 add tooltips to hrule dialog
git-svn-id: svn://10.0.0.236/trunk@68239 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:53:52 +00:00
karnaze%netscape.com
2a4c3e66cc bug 37791 - calculate auto margins during an incremental reflow.
git-svn-id: svn://10.0.0.236/trunk@68238 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:49:35 +00:00
karnaze%netscape.com
20cec33497 consider captions as blocks to calculate box-sizing.
git-svn-id: svn://10.0.0.236/trunk@68237 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:47:37 +00:00
kin%netscape.com
4285edb03b Added spellchecker support for different dictionaries/languages:
mozilla\editor\base\nsEditorShell.cpp
    mozilla\editor\idl\nsIEditorSpellCheck.idl
    mozilla\editor\txtsvc\public\nsISpellChecker.h

      - Added GetDictionaryList() and Get/SetCurrentDictionary() methods.

    mozilla\editor\ui\dialogs\content\EdDialogCommon.js

      - Added AppendValueAndDataToMenulist() function.

    mozilla\editor\ui\dialogs\content\EdSpellCheck.xul

      - We now import strres.js.

    mozilla\editor\ui\dialogs\content\EdSpellCheck.js

      - Added InitLanguageMenu().


git-svn-id: svn://10.0.0.236/trunk@68236 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:37:56 +00:00
cmanske%netscape.com
eddcbafbde Replace GetBodyElement with GetRootElement to fix bustage
git-svn-id: svn://10.0.0.236/trunk@68235 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:32:07 +00:00
cmanske%netscape.com
140f858dfd HTML Soure editor is working. Tweaked some dialog xul. Removed some unused stuff from EditorCommands.js
git-svn-id: svn://10.0.0.236/trunk@68234 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 14:02:03 +00:00
rods%netscape.com
6951fd7de5 button and input button content nodes now cancel all mouse click events except mouse up/down
b=38083


git-svn-id: svn://10.0.0.236/trunk@68233 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 13:57:35 +00:00
dcone%netscape.com
a46fddc03d Working on the Curve stroking and filling.
git-svn-id: svn://10.0.0.236/trunk@68232 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 13:35:54 +00:00
rjc%netscape.com
8ae6968681 Add flex on bookmark separators.
git-svn-id: svn://10.0.0.236/trunk@68231 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 13:29:00 +00:00
michael.lowe%bigfoot.com
34978023ee Adding Windows cursor files
git-svn-id: svn://10.0.0.236/trunk@68230 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 13:02:02 +00:00
rjc%netscape.com
46215a7fa2 Comment change.
git-svn-id: svn://10.0.0.236/trunk@68229 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 12:54:11 +00:00
despotdaemon%netscape.com
723194f3b0 Pseudo-automatic update of changes made by pp@ludusdesign.com.
git-svn-id: svn://10.0.0.236/trunk@68228 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 12:41:54 +00:00
rjc%netscape.com
ff2b86c155 AddBookmark() now takes an additional type parameter.
git-svn-id: svn://10.0.0.236/trunk@68227 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 11:40:28 +00:00
cls%seawood.org
a539ab2494 More OS/2 Makefile changes. Bug #34106 Batch 12
git-svn-id: svn://10.0.0.236/trunk@68226 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 11:00:47 +00:00
rjc%netscape.com
22b890f0ab Fix so that sorting works correctly with separators.
git-svn-id: svn://10.0.0.236/trunk@68225 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 10:56:57 +00:00
rjc%netscape.com
fce4e3876f Use proper CSS to indicate when a sort is active.
git-svn-id: svn://10.0.0.236/trunk@68224 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 10:42:33 +00:00
rjc%netscape.com
8e123c5603 Use proper CSS to indicate when a sort is active.
git-svn-id: svn://10.0.0.236/trunk@68223 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 10:31:07 +00:00
waterson%netscape.com
083496c7a6 Bug 37290. Fix 'bindings' implementation to avoid excessive update when re-computing: only index sources that participate in a binding, using bindings rather than lookup to maintain values even for 'simple' rules, lazily compute bindings. Rename 'nsBinding' to 'nsAssertion' to clarify difference.
git-svn-id: svn://10.0.0.236/trunk@68222 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 09:57:59 +00:00
mjudge%netscape.com
f7f4dc1659 merge error. my fault. fix
git-svn-id: svn://10.0.0.236/trunk@68221 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 09:32:40 +00:00
mjudge%netscape.com
d36527de30 left this one out
git-svn-id: svn://10.0.0.236/trunk@68220 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 09:03:58 +00:00
mjudge%netscape.com
e5b2003819 stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out.
git-svn-id: svn://10.0.0.236/trunk@68219 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 08:35:42 +00:00
mjudge%netscape.com
447ac72532 massive change to prepare for ender-lite. should be a no-op for current implementation
git-svn-id: svn://10.0.0.236/trunk@68218 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 08:33:48 +00:00
alecf%netscape.com
f53c27afc4 read-only filter lists live!
fix up a bunch of stuff to make XBL widgets initialize after being inserted into the document


git-svn-id: svn://10.0.0.236/trunk@68217 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 08:17:57 +00:00
alecf%netscape.com
319472648f remove some dumps
git-svn-id: svn://10.0.0.236/trunk@68216 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 08:16:55 +00:00
alecf%netscape.com
0b265c46a1 first pass at smtpserver datasource
(not part of build)


git-svn-id: svn://10.0.0.236/trunk@68215 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 08:08:43 +00:00
cls%seawood.org
e0beaba32c Add support for more informative tinderbox column names.
Move the automatic setting of CVSROOT so that it can be overridden by tinder-config.pl.


git-svn-id: svn://10.0.0.236/trunk@68214 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 07:30:45 +00:00
leaf%mozilla.org
002b34ecf5 Automated update
git-svn-id: svn://10.0.0.236/trunk@68213 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 07:00:14 +00:00
waterson%netscape.com
4d2812556b Improve wording for C++ tests.
git-svn-id: svn://10.0.0.236/trunk@68212 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 06:55:09 +00:00
rickg%netscape.com
7be87c598e fixed DTDMode regression
git-svn-id: svn://10.0.0.236/trunk@68211 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 05:54:04 +00:00
rickg%netscape.com
6792920069 StrictDTD WIP and fixed mode regression
git-svn-id: svn://10.0.0.236/trunk@68210 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 05:53:52 +00:00
dcone%netscape.com
e6386cfe84 Fixed up the FillStdPoly call, took out the transform.
git-svn-id: svn://10.0.0.236/trunk@68209 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 05:16:35 +00:00
rbs%maths.uq.edu.au
7b52303db9 [not part of default build] refine the flexibility of those stretchy chars which can be rendered with less partial glyphs nsMathMLChar.cpp
git-svn-id: svn://10.0.0.236/trunk@68208 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 04:44:36 +00:00
ben%netscape.com
212719da67 tooltips for navigator
git-svn-id: svn://10.0.0.236/trunk@68207 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 04:32:08 +00:00
ben%netscape.com
e93b80780c prefwindow code tidy-up
git-svn-id: svn://10.0.0.236/trunk@68206 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 04:31:12 +00:00
ben%netscape.com
1ab0aee4f5 tooltip infrastructure
git-svn-id: svn://10.0.0.236/trunk@68205 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 04:30:53 +00:00
waterson%netscape.com
59ce8fe286 Bug 37639. Be sure to send notifications about document change down to anonymous content elements. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@68204 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 04:25:50 +00:00
dcone%netscape.com
14e8eeba7a Added FillStdPoly() call to the nsRenderingContext for drawing post tranformation.
git-svn-id: svn://10.0.0.236/trunk@68203 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 04:03:10 +00:00
blizzard%redhat.com
c2004f984a add signals to monitor loading, progress values, start and stop and the ability to stop a network load.
git-svn-id: svn://10.0.0.236/trunk@68202 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 03:53:30 +00:00
waterson%netscape.com
fde715371d Reverting my previous changes, as they have no effect on tinderbox leak stats.
git-svn-id: svn://10.0.0.236/trunk@68201 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 03:52:33 +00:00
morse%netscape.com
3d2b6aa3b5 bug 37742 accomodate ever-changing xul specs
git-svn-id: svn://10.0.0.236/trunk@68200 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 03:32:15 +00:00
karnaze%netscape.com
1b46aa38ae new regression tests not affecting the build
git-svn-id: svn://10.0.0.236/trunk@68199 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 03:13:08 +00:00
karnaze%netscape.com
cd525940c1 let outer table inherit top, right, bottom, left, opacity, z-index, clip from content
git-svn-id: svn://10.0.0.236/trunk@68198 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 03:00:07 +00:00
valeski%netscape.com
9cfe0f787a putting ftp.mozilla.org back into the bloaturls.txt test in an attempt to kick start shrike tests again.
git-svn-id: svn://10.0.0.236/trunk@68197 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 02:41:32 +00:00
sspitzer%netscape.com
738b645ed5 chatzilla, not chatzila.
git-svn-id: svn://10.0.0.236/trunk@68196 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 02:28:38 +00:00
valeski%netscape.com
86828eb6a4 pulling out ftp to see if it's part of the bloat problem
git-svn-id: svn://10.0.0.236/trunk@68195 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 01:52:59 +00:00
leaf%mozilla.org
025b4b976b we crash in xpcom if we don't have the urlbarhistory component (at least
on windows). This fixes the xpi file creation, and, therefore, installers.


git-svn-id: svn://10.0.0.236/trunk@68194 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 01:44:42 +00:00
ruslan%netscape.com
9253c280b9 Fix 35407. Relax chunk converter's parser to accomodate some bad server
responses out there.


git-svn-id: svn://10.0.0.236/trunk@68193 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 01:28:00 +00:00
cls%seawood.org
70be1b8c38 Add support for pulling individual modules from cvs via client.mk.
git-svn-id: svn://10.0.0.236/trunk@68192 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 01:26:34 +00:00
slamm%netscape.com
e85e92d1eb Add id='menu_view_Popup' to get Sidebar checkbox added.
git-svn-id: svn://10.0.0.236/trunk@68191 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 01:08:19 +00:00
Jerry.Kirk%Nexwarecorp.com
0cec4903fd Fixing some compile errors due to changes in nsString PHOTON ONLY r=michael.kedl
git-svn-id: svn://10.0.0.236/trunk@68190 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:59:39 +00:00
Jerry.Kirk%Nexwarecorp.com
6a625cc94b Fixing some compile errors due to changes in nsString
PHOTON ONLY
r=michael.kedl


git-svn-id: svn://10.0.0.236/trunk@68189 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:59:14 +00:00
gagan%netscape.com
4a1eb5fb3a Fix for bug 37238. We were guessing the mime type incorrectly.
git-svn-id: svn://10.0.0.236/trunk@68188 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:57:58 +00:00
cata%netscape.com
991e7b2f99 Also adding back the implemenentation for the wronfully removed method.
git-svn-id: svn://10.0.0.236/trunk@68187 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:56:07 +00:00
karnaze%netscape.com
5b2c2eb4a2 bug 38048 - use correct reflow reason. fixed by Troy, r=karnaze
git-svn-id: svn://10.0.0.236/trunk@68186 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:39:01 +00:00
chuang%netscape.com
48a3c364eb New files for mailing list dialog, not part of build.
git-svn-id: svn://10.0.0.236/trunk@68184 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:35:59 +00:00
sfraser%netscape.com
0bf3935115 Make the quit menu item work in composer, bug 38074.
git-svn-id: svn://10.0.0.236/trunk@68183 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:33:44 +00:00
jst%netscape.com
b15a5bb348 New files needed for getComputedStyle(). Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@68182 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-04 00:07:33 +00:00
cata%netscape.com
a77b3a7daa Fixing bustage.
git-svn-id: svn://10.0.0.236/trunk@68181 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:57:00 +00:00
locka%iol.ie
4cb23c6456 Added a cast to a return value to stop a pointer comparison assert from firing.
git-svn-id: svn://10.0.0.236/trunk@68180 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:44:15 +00:00
waterson%netscape.com
c00b9422fb Must use string literal for named references.
git-svn-id: svn://10.0.0.236/trunk@68179 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:42:58 +00:00
akkana%netscape.com
bb9e9876ad Fix warnings
git-svn-id: svn://10.0.0.236/trunk@68178 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:42:25 +00:00
waterson%netscape.com
134b68dc77 Must use string literal for named references.
git-svn-id: svn://10.0.0.236/trunk@68177 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:42:20 +00:00
sfraser%netscape.com
516c24c116 Fix document leak.
git-svn-id: svn://10.0.0.236/trunk@68176 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:41:48 +00:00
akkana%netscape.com
a76b67e514 Restoring one of Joe's fixes, apparently lost in a CVS merge in the last checkin
git-svn-id: svn://10.0.0.236/trunk@68175 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:38:36 +00:00
chuang%netscape.com
179a1a9aba Bug33783 Import for Address book to be done by Import Utility, r=putterman
git-svn-id: svn://10.0.0.236/trunk@68174 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:37:49 +00:00
harishd%netscape.com
6eca6899fa Fixed a silly mistake in my previous checkin.
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@68173 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:36:52 +00:00
waterson%netscape.com
1fc2b711d9 Must use string literal for named references.
git-svn-id: svn://10.0.0.236/trunk@68172 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:34:10 +00:00
waterson%netscape.com
f60918d33f Must use string literal for named references.
git-svn-id: svn://10.0.0.236/trunk@68171 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:27:03 +00:00
ftang%netscape.com
333ad44d49 fix 33258. Ignore symbol font so we won't rendert ASCII by using it.
git-svn-id: svn://10.0.0.236/trunk@68170 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:22:45 +00:00
law%netscape.com
60fd2de2d9 New interface to provide Win32 DDE support, not built yet
git-svn-id: svn://10.0.0.236/trunk@68169 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:14:59 +00:00
cata%netscape.com
9b1b9095a5 Cleanup. Removing obsolete and unused code.
git-svn-id: svn://10.0.0.236/trunk@68168 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:10:27 +00:00
cata%netscape.com
e715f1745b Cleanup. Removing obsolete and unused code.
git-svn-id: svn://10.0.0.236/trunk@68167 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 23:01:32 +00:00
locka%iol.ie
dadebddb1e Add more explanatory warning for people coding with _MSC_VER set to 1100
Not part of build (until after this)


git-svn-id: svn://10.0.0.236/trunk@68166 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:55:08 +00:00
cata%netscape.com
7cf85d2b9f Cleanup. Removing obsolete and unused code.
git-svn-id: svn://10.0.0.236/trunk@68165 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:52:52 +00:00
harishd%netscape.com
ac0e7dd9a4 Accidently enabled a DEBUG_ONLY flag.
Disabling it now.


git-svn-id: svn://10.0.0.236/trunk@68164 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:50:58 +00:00
cls%seawood.org
2f13d89551 Move STATIC_MAKEFILES back into the toplevel Makefile
git-svn-id: svn://10.0.0.236/trunk@68163 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:49:47 +00:00
sfraser%netscape.com
4dff026d9f Print to the console when loading a JS file fails. This cause us to print a message when a JS file included by XUL is missing.
git-svn-id: svn://10.0.0.236/trunk@68162 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:47:48 +00:00
cata%netscape.com
37e3fbb1be removed files: mozilla/intl/uconv/src/nsObjectArray.cpp
git-svn-id: svn://10.0.0.236/trunk@68161 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:46:20 +00:00
waterson%netscape.com
0a34ff500f Hack to get startup leaks sane again.
git-svn-id: svn://10.0.0.236/trunk@68160 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:43:59 +00:00
warren%netscape.com
cf63417897 Added ioFlags enum. Bugs 37711.
git-svn-id: svn://10.0.0.236/trunk@68159 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:43:21 +00:00
locka%iol.ie
38ffe28937 Added activex to build
Not part of build


git-svn-id: svn://10.0.0.236/trunk@68158 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:41:39 +00:00
jefft%netscape.com
ae3534294c fixed bug 23447, 36429, 32797 -- mail folder not getting set correctly when UpdateSummaryTotal this causes subsequent empty trash & delete message to fail
git-svn-id: svn://10.0.0.236/trunk@68157 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:40:46 +00:00
cata%netscape.com
8b4f15fd0c Cleanup. Removing obsolete and unused code.
git-svn-id: svn://10.0.0.236/trunk@68156 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:37:53 +00:00
av%netscape.com
307240ef4c Fixing typo in the debug output string
git-svn-id: svn://10.0.0.236/trunk@68155 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:34:28 +00:00
evaughan%netscape.com
64a62d058a Fixed 1st part of visibility collapse bug.
git-svn-id: svn://10.0.0.236/trunk@68154 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:30:09 +00:00
attinasi%netscape.com
5f1b41704f Applied patch from VYV03354@nifty.ne.jp to make class names specified in non-ASCII characters recognizable as parts of selectors. b=38038,35800.
git-svn-id: svn://10.0.0.236/trunk@68153 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:12:58 +00:00
harishd%netscape.com
0275e427e2 34458 - Added static APIs to determine DTD for a given
DOCTYPE,MIMETYPE,COMMAND.
r=rickg,pollmann
33397 - Fixed the NOSCRIPT interference on residual style handling.
r=rickg.
35456 - Emulating Nav. for documents with unclosed STYLE and SCRIPT.
37052 - Handling XMP content.
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@68152 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:09:09 +00:00
gagan%netscape.com
7624784ee8 Fix for bug 22534 and an optimization of storing the nsIOService.
git-svn-id: svn://10.0.0.236/trunk@68151 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:03:33 +00:00
rods%netscape.com
65b1861334 bryner's fix for key repeat (thanks a lot)
need to make press event not bubble
b=38072, r=rods


git-svn-id: svn://10.0.0.236/trunk@68150 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:01:47 +00:00
norris%netscape.com
6ba8df9d90 Add missing files.
git-svn-id: svn://10.0.0.236/trunk@68149 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 22:00:22 +00:00
norris%netscape.com
a63b229d5a Clean up; remove need for synchronize
git-svn-id: svn://10.0.0.236/trunk@68148 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:55:09 +00:00
locka%iol.ie
4f03f6c1e0 Added makefile.win
Not part of build


git-svn-id: svn://10.0.0.236/trunk@68147 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:48:59 +00:00
locka%iol.ie
8895c7806c Changed wording of section
Not part of build


git-svn-id: svn://10.0.0.236/trunk@68146 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:48:46 +00:00
gagan%netscape.com
98b50e3d0c Fix for bug 36862. Added parameter checks to avoid crashes.
git-svn-id: svn://10.0.0.236/trunk@68145 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:47:56 +00:00
erik%netscape.com
c5e452e1ac bug 26237; move to newer nsICharsetConverterManager2 interface
git-svn-id: svn://10.0.0.236/trunk@68144 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:47:07 +00:00
pavlov%netscape.com
0bd7d1f370 fix assertions when trying to bring up file picker bug #37121
git-svn-id: svn://10.0.0.236/trunk@68143 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:47:05 +00:00
radha%netscape.com
0f7086317d Enable menubutton for back and forward buttons
git-svn-id: svn://10.0.0.236/trunk@68142 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:46:33 +00:00
pavlov%netscape.com
e61a8483d4 try to speed up SetTitle a tad
git-svn-id: svn://10.0.0.236/trunk@68141 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:46:08 +00:00
alecf%netscape.com
38ffd5ad0d adding comments to document new syntax that went in yesterday
git-svn-id: svn://10.0.0.236/trunk@68140 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:45:21 +00:00
alecf%netscape.com
82801dd9e5 add toString() method for easy examination from JS
git-svn-id: svn://10.0.0.236/trunk@68139 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:44:33 +00:00
ftang%netscape.com
d364c72a2b fix bug 26237. Check in for erik. Add LanguageAtomService into Mac build. r=ftang
git-svn-id: svn://10.0.0.236/trunk@68138 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:42:33 +00:00
alecf%netscape.com
c5b4b54fb5 fix for #23096 - ability to specify port in hostname
git-svn-id: svn://10.0.0.236/trunk@68137 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:42:31 +00:00
cata%netscape.com
1fbc1b3fa1 Adding ref & memory counting macros.
git-svn-id: svn://10.0.0.236/trunk@68136 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:42:04 +00:00
jst%netscape.com
09a726c20d WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre.
git-svn-id: svn://10.0.0.236/trunk@68135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:42:00 +00:00
sfraser%netscape.com
f94a42e025 Move the resouce copying to the end, so that we have fewer files in dist during the build process. This should speed up looking for include files.
git-svn-id: svn://10.0.0.236/trunk@68134 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:40:44 +00:00
cmanske%netscape.com
b555299fa2 Change to correct strings for 'Recent Pages' and 'Revert to Last Saved'
git-svn-id: svn://10.0.0.236/trunk@68133 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:40:18 +00:00
tor%cs.brown.edu
3a108a3ff9 Build bustage fix for SUNWspro: false->PR_FALSE
git-svn-id: svn://10.0.0.236/trunk@68132 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:38:50 +00:00
alecf%netscape.com
d225bc8315 initialize the dialog with all filter terms
(not working just yet)


git-svn-id: svn://10.0.0.236/trunk@68130 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:38:23 +00:00
alecf%netscape.com
ab9c3b0561 add getters for mailterm's target
git-svn-id: svn://10.0.0.236/trunk@68129 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:37:41 +00:00
jdunn%netscape.com
14b1ae8de9 remove incorrect/outdated pthread references
# 37394
r= rusty.lynch@intel.com blizzard@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@68128 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:34:29 +00:00
rods%netscape.com
a13f7b80d6 now mapping minus '-' key virtual code to correct DOM key virtual code
now correctly creating ket press events for <ctrl>= <ctrl>-  <ctrl>;
bug 5716


git-svn-id: svn://10.0.0.236/trunk@68127 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:34:09 +00:00
nhotta%netscape.com
6a4d4fab5d Alert the user if the subject contains out of range characters of the mail charset, r=ducarroz, bug 28908.
git-svn-id: svn://10.0.0.236/trunk@68126 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:31:15 +00:00
slamm%netscape.com
13390017dc Change collapsed rule to set 'visibility:collapse' instead of 'visibility:collapsed' bug 37725
git-svn-id: svn://10.0.0.236/trunk@68125 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:30:02 +00:00
nhotta%netscape.com
b0f78eb251 Added the encoder function to substitute not converted characters with question mark instead of abort the conversion, bug 31797.
git-svn-id: svn://10.0.0.236/trunk@68124 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:27:25 +00:00
mscott%netscape.com
857b1db11c get rid of observers for the progress meter and status text area
git-svn-id: svn://10.0.0.236/trunk@68123 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:24:37 +00:00
nhotta%netscape.com
db28976ab1 Added two new I18N functions,
nsMsgI18Nmultibyte_charset() - checks multibyte charset,
nsMsgI18NFormatNNTPXPATInNonRFC1522Format - create I18N search string for nntp.
nsMsgI18Ncheck_data_in_charset_range - checks if the input is in a charset range.


git-svn-id: svn://10.0.0.236/trunk@68122 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:23:58 +00:00
mscott%netscape.com
4ae9d53f72 adding host and port information to the logging code.
git-svn-id: svn://10.0.0.236/trunk@68121 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:22:18 +00:00
nhotta%netscape.com
23877f6937 Added new category "isMultibyte" and data, r=cata.
git-svn-id: svn://10.0.0.236/trunk@68120 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:22:09 +00:00
alecf%netscape.com
a93bfc4384 track box-header changes
git-svn-id: svn://10.0.0.236/trunk@68119 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:21:58 +00:00
mscott%netscape.com
efdf478d90 remove some obsolete #ifdefs
git-svn-id: svn://10.0.0.236/trunk@68118 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:21:57 +00:00
mscott%netscape.com
fd55f43f26 pass progress not as a percent but with a current and max byte count
Use progress event sink instead of nsIMsgStatusFeedback.


git-svn-id: svn://10.0.0.236/trunk@68117 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:21:35 +00:00
waterson%netscape.com
235aa7a8f3 Bug 37853. Add MOZ_COUNT_[C|D]TOR calls to the objects allocated from nsCSSDeclaration. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@68116 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:21:30 +00:00
blizzard%redhat.com
a32d0dbe41 add some signal tests
git-svn-id: svn://10.0.0.236/trunk@68115 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:21:18 +00:00
mscott%netscape.com
cdb8672c80 rewrite progress to go through the progress event sink which we get from the
mock channel instead of from the status feedback object attached to the url.

Change progress Info struct to pass in current and max progress separately
instead of as a percentage.


git-svn-id: svn://10.0.0.236/trunk@68114 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:21:07 +00:00
blizzard%redhat.com
2e73621067 more work on signals
git-svn-id: svn://10.0.0.236/trunk@68113 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:20:55 +00:00
mscott%netscape.com
b75e591af4 don't precaculate the percentage...pass the current and max values around instead
use progress event sink for progress instead of nsIMsgStatusFeedback.
implement Get/SetNotifcationCallbacks on the mock channel. Be sure to extract
the progress event sink if we were given one.


git-svn-id: svn://10.0.0.236/trunk@68112 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:20:34 +00:00
valeski%netscape.com
76cbf46cc5 removing extraneous channel member, and ensuring that final releases used by the FTP thread are made on the owning thread.
git-svn-id: svn://10.0.0.236/trunk@68111 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:20:32 +00:00
mscott%netscape.com
294ac37408 add ability to get the progress event sink directly from the channel.
git-svn-id: svn://10.0.0.236/trunk@68110 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:20:08 +00:00
mscott%netscape.com
5865caab1a progress & status should use the progress event sink associated with the laod
instead of the status feedback object


git-svn-id: svn://10.0.0.236/trunk@68109 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:19:38 +00:00
mscott%netscape.com
f3f69847f7 implement GetContentLength for mailbox protocol. Report progress
via the progress listener event sink associated with the load


git-svn-id: svn://10.0.0.236/trunk@68108 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:19:22 +00:00
mscott%netscape.com
b10d703c00 don't include msgMail3PaneWindow.js because we don't need it...this just
slows us down.


git-svn-id: svn://10.0.0.236/trunk@68107 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:18:33 +00:00
akkana%netscape.com
b9a29fd98d 37560: convert platform to dom newlines before inserting html. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@68106 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:18:23 +00:00
mscott%netscape.com
a85dfa238a remove unnecessary comment
git-svn-id: svn://10.0.0.236/trunk@68105 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:18:18 +00:00
mscott%netscape.com
9427c71d81 get rid of observers for the progress meter and status text area
git-svn-id: svn://10.0.0.236/trunk@68104 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:18:05 +00:00
mscott%netscape.com
b7ebe8563a get rid of broadcasters for the throbber and progressmeter as these
are no longer necessary.


git-svn-id: svn://10.0.0.236/trunk@68103 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:17:52 +00:00
valeski%netscape.com
fc1e9e7e1e 31587. FTP was caching the auth dialog data.
git-svn-id: svn://10.0.0.236/trunk@68102 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:17:48 +00:00
mscott%netscape.com
0dfccfaff9 remove obsolete onProgress method which was used by observers on the progressmeter
add more efficient implementations of Start/Stop Meteoers. Implement
setting progress as a percentage of the load.


git-svn-id: svn://10.0.0.236/trunk@68101 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:17:33 +00:00
mscott%netscape.com
c46485f0e6 remove observers on the progressmeter element. we now directly manipulate
the progressmeter instead of going through an observer which is *MUCH*
 slower


git-svn-id: svn://10.0.0.236/trunk@68100 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:17:14 +00:00
mscott%netscape.com
3300ea46de remove OnStart/OnStop meteor calls. These calls will happen automatically
when the channel for the url is added to its load group.


git-svn-id: svn://10.0.0.236/trunk@68099 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:16:44 +00:00
mscott%netscape.com
0bda6c4454 set a default progress event sink == the status feedback version.
necko may over-ride us with another one.
implement Get/SetNotification callbacks in order to extract the progress
event sink if there is one.


git-svn-id: svn://10.0.0.236/trunk@68098 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:16:22 +00:00
mscott%netscape.com
ad0ba323c0 remove unnecessary QI calls. remove thread safety locks
because this object is never accessed from multiple threads


git-svn-id: svn://10.0.0.236/trunk@68097 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:15:47 +00:00
mscott%netscape.com
8c8197ffdd set our status feedback object as the web progress listener
for the content docshell for the message pane.


git-svn-id: svn://10.0.0.236/trunk@68096 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:15:28 +00:00
mscott%netscape.com
4bbda5a255 whack status feedback to be a nsIWebProgressListener and not a
DocumentLoaderObserver. Yeah!!! We need to be a progress event sink as well
to handle the cases where urls don't get run through a load group.
Temporarily disable timeout code for starting / stopping the meteors.
remove all old nsIDocumentLoaderObserver cruft


git-svn-id: svn://10.0.0.236/trunk@68095 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:15:12 +00:00
valeski%netscape.com
64ae3223bf 35329. MultiMixed converter was stripping *all* whitespace from header values, now it is just compressing it off the ends.
git-svn-id: svn://10.0.0.236/trunk@68094 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:14:39 +00:00
sspitzer%netscape.com
72bcd7bb86 more changes
git-svn-id: svn://10.0.0.236/trunk@68093 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 19:32:35 +00:00
sspitzer%netscape.com
47a107114a more changes.
git-svn-id: svn://10.0.0.236/trunk@68092 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 19:31:21 +00:00
locka%iol.ie
c2e2b0a931 Added -Gx compiler flag to generate exception handling stubs
Not part of build


git-svn-id: svn://10.0.0.236/trunk@68091 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 18:55:10 +00:00
locka%iol.ie
54e190f492 More cleanups
Turned of the Unicode string checking by default
Not part of build


git-svn-id: svn://10.0.0.236/trunk@68090 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 18:54:46 +00:00
thayes%netscape.com
a4f9d91d97 Add makefiles to tip for psm library builds
git-svn-id: svn://10.0.0.236/trunk@68089 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 18:09:53 +00:00
locka%iol.ie
a0357fc50e Removed some crud and cleaned code a little
Not part of build


git-svn-id: svn://10.0.0.236/trunk@68088 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 18:06:17 +00:00
locka%iol.ie
f9e7254eca Fixed more coding style issues
Not part of build


git-svn-id: svn://10.0.0.236/trunk@68087 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 17:56:02 +00:00
locka%iol.ie
6217b7a2c1 Tool to print dependency info
Not part of build


git-svn-id: svn://10.0.0.236/trunk@68086 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 17:45:35 +00:00
despotdaemon%netscape.com
51fbb989b6 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@68085 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 17:43:14 +00:00
karnaze%netscape.com
1f5399ce0f bug 9271 - correctly insert cells, rows when insertion index equals number of elements.
git-svn-id: svn://10.0.0.236/trunk@68084 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 14:57:00 +00:00
brade%netscape.com
455bfc35d0 add some missing entities so Composer will startup today; add some tooltips which Simone will reword
git-svn-id: svn://10.0.0.236/trunk@68083 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 14:47:05 +00:00
svn%xmlterm.org
7a698991a0 xmlterm changes only.
Changed window name in window.open call in menuhack from "XMLterm" to "_blank".
Fix for bug 36420.


git-svn-id: svn://10.0.0.236/trunk@68082 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 14:42:34 +00:00
karnaze%netscape.com
b10cfe19e6 bug 30692 - skip inner table cell's block as percentage base and use cell instead. r=troy
git-svn-id: svn://10.0.0.236/trunk@68081 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 14:36:04 +00:00
brade%netscape.com
77ef763446 check in some missing entities so Composer might open up
git-svn-id: svn://10.0.0.236/trunk@68080 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 14:28:52 +00:00
tonyr%fbdesigns.com
3d080c9b36 Added comment when building with VC++ 5
git-svn-id: svn://10.0.0.236/trunk@68079 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 14:15:36 +00:00
tonyr%fbdesigns.com
a3eeacf24f Getting ready to skin
git-svn-id: svn://10.0.0.236/trunk@68078 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 14:13:05 +00:00
tonyr%fbdesigns.com
4653458755 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@68077 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 14:12:32 +00:00
rods%netscape.com
b1ad3ba665 cleaned up a lot of rules for buttons (html, submit, reset, input)
also changed rule so "active" style only shows when "hover"


git-svn-id: svn://10.0.0.236/trunk@68076 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 13:32:15 +00:00
dcone%netscape.com
ee50abacce Fixed a bug with PatBlt and windows 95 and 98
git-svn-id: svn://10.0.0.236/trunk@68075 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 13:31:16 +00:00
brade%netscape.com
9cf16a66b3 slight rework/cleanup of BeginDragContentArea
git-svn-id: svn://10.0.0.236/trunk@68074 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 13:27:57 +00:00
jst%netscape.com
df6e86a955 Checking in DOM JS glue and stub implemetation for getComputedStyle().
git-svn-id: svn://10.0.0.236/trunk@68073 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 13:03:17 +00:00
jst%netscape.com
9e95d487bb Adding header for the DOM Level 2 interface ViewCSS, not used yet.
git-svn-id: svn://10.0.0.236/trunk@68072 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 12:30:05 +00:00
jst%netscape.com
aafde896c8 Export more functions from the jsdom library.
git-svn-id: svn://10.0.0.236/trunk@68071 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 12:28:08 +00:00
mjudge%netscape.com
54fcdac0fd fixing vc5.0 does not know what CFSTR_SHELLURL is
git-svn-id: svn://10.0.0.236/trunk@68070 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 09:16:39 +00:00
hyatt%netscape.com
a60341443f Fixing viewer's scrollbars.
git-svn-id: svn://10.0.0.236/trunk@68069 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 09:15:50 +00:00
sspitzer%netscape.com
eda2ad7fe7 fix the subscribe dialog. bug #37885. sorry this was broken all day.
git-svn-id: svn://10.0.0.236/trunk@68068 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 08:33:15 +00:00
sspitzer%netscape.com
17ccbc478f clean up. the tree is still broken, looking into it.
git-svn-id: svn://10.0.0.236/trunk@68067 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 08:22:59 +00:00
alecf%netscape.com
562bd254b0 add searchterm to the filter editor, and allow the first searchterm to be initialized
with the first term of the current filter


git-svn-id: svn://10.0.0.236/trunk@68066 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 07:35:58 +00:00
alecf%netscape.com
cc2db64b76 implement searchterm and reflect the XBL into XUL
git-svn-id: svn://10.0.0.236/trunk@68065 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 07:35:18 +00:00
sspitzer%netscape.com
d49beaf6e1 for chatzilla.
git-svn-id: svn://10.0.0.236/trunk@68064 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 07:21:15 +00:00
sspitzer%netscape.com
99e9e985cb work for chatzilla.
git-svn-id: svn://10.0.0.236/trunk@68063 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 07:18:43 +00:00
morse%netscape.com
a28a077d1c disable adv image pref is imageblocking is enabled
git-svn-id: svn://10.0.0.236/trunk@68062 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 07:18:28 +00:00
ben%netscape.com
791e7840c7 tweak
git-svn-id: svn://10.0.0.236/trunk@68061 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 07:12:37 +00:00
ben%netscape.com
110f7d4a50 sidebar panel preview skinnability
git-svn-id: svn://10.0.0.236/trunk@68060 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 07:12:17 +00:00
ftang%netscape.com
44b7555922 fix IsAscii function. The origional one report Latin1 characters as ASCII
git-svn-id: svn://10.0.0.236/trunk@68059 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 07:05:19 +00:00
ftang%netscape.com
e64f254a72 add IsAscii function.
git-svn-id: svn://10.0.0.236/trunk@68058 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 07:04:25 +00:00
morse%netscape.com
e427046b0e fix regression with disabling image blocking
git-svn-id: svn://10.0.0.236/trunk@68057 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 06:49:55 +00:00
ben%netscape.com
73e5337979 appearance tweaks for sidebar customize dialog
git-svn-id: svn://10.0.0.236/trunk@68056 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 06:46:37 +00:00
mjudge%netscape.com
83062e04ad r=hyatt. just because we have an XBL keybinding does not mean that we are generating content from XBL. if we have no children generated, then ask the frame to construct anonymous content
git-svn-id: svn://10.0.0.236/trunk@68055 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 06:17:49 +00:00
mjudge%netscape.com
8d2654f33a preparation for ender-lite landing.
git-svn-id: svn://10.0.0.236/trunk@68054 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 06:16:32 +00:00
ben%netscape.com
575cfb16cd support sort column bg shading
git-svn-id: svn://10.0.0.236/trunk@68053 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 06:15:41 +00:00
ben%netscape.com
41963b575f support sortdirection indicators in treehead
git-svn-id: svn://10.0.0.236/trunk@68052 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 06:15:22 +00:00
radha%netscape.com
2d998ecc9c Enable the drop down list under urlbar
git-svn-id: svn://10.0.0.236/trunk@68051 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 05:33:07 +00:00
sfraser%netscape.com
308140c3c4 Fix access paths to remove old freenav path.
git-svn-id: svn://10.0.0.236/trunk@68050 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 05:32:39 +00:00
cmanske%netscape.com
cb3d681391 Strings and menu items for 'Revert' and 'Recent pages'. Preliminary UI for HTML Source editor (not activated).
git-svn-id: svn://10.0.0.236/trunk@68049 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 05:17:43 +00:00
sfraser%netscape.com
4a4d4d4cfc General tidyup.
git-svn-id: svn://10.0.0.236/trunk@68048 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 05:14:11 +00:00
sfraser%netscape.com
532a7edf2e Ensure that the style buttons update as soon as you press them, so that the button reflects the type-in state properly.
git-svn-id: svn://10.0.0.236/trunk@68047 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 05:13:59 +00:00
blizzard%redhat.com
ea753b5a87 work on getting status messages to the widget that is embedding. link gtk libraries explicitely for platforms that need all symbols resolved at compile time.
git-svn-id: svn://10.0.0.236/trunk@68046 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 05:13:36 +00:00
modgock%eng.sun.com
735e4ecf0a updated build instructions for the new world order.
git-svn-id: svn://10.0.0.236/trunk@68045 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 04:58:30 +00:00
jbetak%netscape.com
a1a094ce39 32477 Accept-Language UI not implemented
git-svn-id: svn://10.0.0.236/trunk@68043 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 04:54:53 +00:00
sspitzer%netscape.com
62ad9f6e22 more skins work.
git-svn-id: svn://10.0.0.236/trunk@68042 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 04:29:08 +00:00
sspitzer%netscape.com
709f673473 more themes crap.
git-svn-id: svn://10.0.0.236/trunk@68041 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 04:26:48 +00:00
yueheng.xu%intel.com
389c76eb5b for #31380. This is a re-do of the intended part of the change of r1.92 and make it
on top of r1.91 (i.e. r1.93). r=erik/ftang.


git-svn-id: svn://10.0.0.236/trunk@68040 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 04:15:04 +00:00
davidm%netscape.com
bf0d1ad731 comment out serialize while I try to figure out why linux is o=unhappy
git-svn-id: svn://10.0.0.236/trunk@68039 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:52:57 +00:00
rjc%netscape.com
f6610a0d8d Small XUL change: get twisties back for file/ftp listings.
git-svn-id: svn://10.0.0.236/trunk@68038 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:41:29 +00:00
ben%netscape.com
4fd61896b9 re-add tabcontrol styles
git-svn-id: svn://10.0.0.236/trunk@68037 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:38:26 +00:00
davidm%netscape.com
1ca36b31e3 13784 [FEATURE] Mime Type/File Extension/Application Service Regis
git-svn-id: svn://10.0.0.236/trunk@68036 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:34:33 +00:00
ben%netscape.com
755a0786f4 convert unknown content dialog to use new widgets
git-svn-id: svn://10.0.0.236/trunk@68035 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:30:08 +00:00
ben%netscape.com
53d9d808d1 dialog padding tweaks
git-svn-id: svn://10.0.0.236/trunk@68034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:29:47 +00:00
sspitzer%netscape.com
4206933a1e place holder for the readme to come later.
git-svn-id: svn://10.0.0.236/trunk@68033 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:26:03 +00:00
sspitzer%netscape.com
45cece5bc1 move readme.txt to README
git-svn-id: svn://10.0.0.236/trunk@68032 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:25:17 +00:00
sspitzer%netscape.com
0ade3378e4 add comment to theme.mk about it being used by linux and win32
git-svn-id: svn://10.0.0.236/trunk@68031 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:24:14 +00:00
sspitzer%netscape.com
09075f6059 adding splitter.css to the manifest file
git-svn-id: svn://10.0.0.236/trunk@68030 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:22:59 +00:00
sspitzer%netscape.com
f2cacd5f42 makefile badness for win32 for themes.
git-svn-id: svn://10.0.0.236/trunk@68029 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:20:49 +00:00
dprice%netscape.com
909c21583e fixing 37980, r=mjudge
git-svn-id: svn://10.0.0.236/trunk@68028 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:11:23 +00:00
ben%netscape.com
59e6f822b7 fix profile manager window.title switching
git-svn-id: svn://10.0.0.236/trunk@68027 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:10:56 +00:00
erik%netscape.com
62465de378 backing out the previous change, which broke the tree
git-svn-id: svn://10.0.0.236/trunk@68026 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:07:38 +00:00
brendan%mozilla.org
72282ad97a Fix site logfile flushing on startup; #if 0 doomed libbfd-based version of dladdr.
git-svn-id: svn://10.0.0.236/trunk@68025 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:07:20 +00:00
ben%netscape.com
a81f90bc08 typo
git-svn-id: svn://10.0.0.236/trunk@68024 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 03:00:18 +00:00
ben%netscape.com
cd6d71ba2b making profile manager smart about brand name switching.
git-svn-id: svn://10.0.0.236/trunk@68023 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:57:51 +00:00
davidm%netscape.com
38135a2a1c 13182 [PI] Internet Config support for MIME type mapping
switch to using nsInternetConfig of nsUserInfoMac


git-svn-id: svn://10.0.0.236/trunk@68022 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:53:30 +00:00
davidm%netscape.com
5cb2757c4b 13182 [PI] Internet Config support for MIME type mapping.
git-svn-id: svn://10.0.0.236/trunk@68021 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:52:45 +00:00
davidm%netscape.com
2f3c5cd3ea First Checked In.
git-svn-id: svn://10.0.0.236/trunk@68020 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:51:51 +00:00
jfrancis%netscape.com
6fb011deec nsIHTMLEditRules IID
git-svn-id: svn://10.0.0.236/trunk@68019 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:39:58 +00:00
ben%netscape.com
8025eb468e fixes for typos in automigration confirmation dialog
git-svn-id: svn://10.0.0.236/trunk@68018 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:39:04 +00:00
rjc%netscape.com
96f0d523c9 Comment out debugging info.
git-svn-id: svn://10.0.0.236/trunk@68017 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:25:37 +00:00
sfraser%netscape.com
5f7584275a Change the Find interface to use an nsIDOMWindow instead of a webshell, for better scriptability.
git-svn-id: svn://10.0.0.236/trunk@68016 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:24:16 +00:00
sfraser%netscape.com
b4417a1d04 Fix Find and Find Again in message compose (just remove the broadcasters to pick up the ones from the editor overlay).
git-svn-id: svn://10.0.0.236/trunk@68015 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:20:16 +00:00
sspitzer%netscape.com
f250e4a3e8 themes update.
git-svn-id: svn://10.0.0.236/trunk@68014 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:19:00 +00:00
yueheng.xu%intel.com
296c4770c1 fix for #31380 (Unicode to GBK converter not working for some GBK chars )
this fix should go together with today's change of intl/uconv/ucvcn/nsUnicodeToGBK.cpp.:


git-svn-id: svn://10.0.0.236/trunk@68013 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:16:20 +00:00
rjc%netscape.com
869717ac61 Get branding icons back.
git-svn-id: svn://10.0.0.236/trunk@68012 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:06:23 +00:00
ftang%netscape.com
0c53487cc8 fix 22980. Ignore ucs2in the end of the first block.
git-svn-id: svn://10.0.0.236/trunk@68011 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:05:35 +00:00
bryner%uiuc.edu
2c47d06a17 Fixing objdir build bustage.
git-svn-id: svn://10.0.0.236/trunk@68010 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 02:00:50 +00:00
yueheng.xu%intel.com
55dc3ba804 fix for #31380 (Unicode to GBK converter not working for some GBK chars) reported
and fix suggested by Xianping Ge ( xge@ics.uci.edu).


git-svn-id: svn://10.0.0.236/trunk@68009 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:59:55 +00:00
rjc%netscape.com
779e44576c Use <button> instead of <titledbutton> in various spots.
git-svn-id: svn://10.0.0.236/trunk@68008 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:59:01 +00:00
sspitzer%netscape.com
8b1e077b14 fix spelling mistake.
git-svn-id: svn://10.0.0.236/trunk@68007 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:55:20 +00:00
rjc%netscape.com
7e5f58d8e2 Small XUL change to get branding icons back.
git-svn-id: svn://10.0.0.236/trunk@68006 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:41:53 +00:00
beard%netscape.com
0f21810e9b fix assert bustage in DEBUG build.
git-svn-id: svn://10.0.0.236/trunk@68005 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:41:37 +00:00
ben%netscape.com
c278e6aab7 some tweaks/polish for profile manager
git-svn-id: svn://10.0.0.236/trunk@68004 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:38:19 +00:00
rjc%netscape.com
bc37c75bec Small XUL changes (flex on boxes) to get things visible again.
git-svn-id: svn://10.0.0.236/trunk@68003 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:38:16 +00:00
jfrancis%netscape.com
4a240e0ec1 partial fix for bug 30763
git-svn-id: svn://10.0.0.236/trunk@68002 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:34:34 +00:00
conrad%ingress.com
715d87a4a2 Use nsString::AssignWithConversion to build nsStrings from char strings.
git-svn-id: svn://10.0.0.236/trunk@68001 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:27:15 +00:00
conrad%ingress.com
c973a17f15 Added nsIPrompt implementation.
git-svn-id: svn://10.0.0.236/trunk@68000 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:24:54 +00:00
conrad%ingress.com
b60164cb1a Use AssignWithConversion to make nsString.
git-svn-id: svn://10.0.0.236/trunk@67999 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:23:13 +00:00
wtc%netscape.com
009810cff6 Bugzilla bug #17223: added the PR_MSG_PEEK (with same value as MSG_PEEK)
for PR_Recv().  Define _PR_EMULATE_MSG_PEEK on platforms that don't
natively support MSG_PEEK.  Implemented PR_MSG_PEEK for pthreads.
Added the peek.c test case.
Modified files: prio.h, _macos.h, _winnt.h, primpl.h, ptio.c,
pr/tests/Makefile, pr/tests/Makefile.in
Added file: pr/tests/peek.c


git-svn-id: svn://10.0.0.236/trunk@67998 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:22:54 +00:00
conrad%ingress.com
4c5c1d5f3c Use AssignWithConversion to create nsAutoString from char string.
git-svn-id: svn://10.0.0.236/trunk@67997 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:21:59 +00:00
jbetak%netscape.com
d079aef3ff 37377 Page reloaded when you press Cancel in customize charset dialog, r=cata
git-svn-id: svn://10.0.0.236/trunk@67996 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:10:47 +00:00
conrad%ingress.com
ef112a7e81 Added resource IDs for nsIPrompt implementation.
git-svn-id: svn://10.0.0.236/trunk@67995 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:09:32 +00:00
conrad%ingress.com
f25304dafe Added resources for nsIPrompt implementation.
git-svn-id: svn://10.0.0.236/trunk@67994 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:07:37 +00:00
ducarroz%netscape.com
5656d3e2e0 Fix for bug 37939: Correct typo in string name.
git-svn-id: svn://10.0.0.236/trunk@67993 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:04:19 +00:00
rpallath%eng.sun.com
1407d4f007 New API Tests for OJI.
git-svn-id: svn://10.0.0.236/trunk@67992 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:03:55 +00:00
alecf%netscape.com
5e807d1e3b start work on <searchterm> pseudo-widget
git-svn-id: svn://10.0.0.236/trunk@67991 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 01:03:43 +00:00
sspitzer%netscape.com
2205da57d1 temporary hack for skin switching, so I can test mozilla/themes.
not turned on yet.


git-svn-id: svn://10.0.0.236/trunk@67988 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:55:58 +00:00
saari%netscape.com
a7256ab15f Fix for space bar scrolling page when in text fields. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@67987 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:49:37 +00:00
erik%netscape.com
fa6348d77a bug 26237; adding language atom service
git-svn-id: svn://10.0.0.236/trunk@67986 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:45:45 +00:00
sspitzer%netscape.com
20c59023bc more themes work.
git-svn-id: svn://10.0.0.236/trunk@67985 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:45:44 +00:00
ben%netscape.com
0c54c5da67 fix for 'can't create profile' bug
git-svn-id: svn://10.0.0.236/trunk@67984 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:42:47 +00:00
erik%netscape.com
595957529c bug 26237; added langGroups.properties to Win/Mac/Unix package files
git-svn-id: svn://10.0.0.236/trunk@67983 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:38:31 +00:00
erik%netscape.com
b5a60c2712 bug 26237; added language atom service
git-svn-id: svn://10.0.0.236/trunk@67982 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:36:59 +00:00
erik%netscape.com
24b48591f2 bug 26237; added langGroups.properties to Mac build
git-svn-id: svn://10.0.0.236/trunk@67981 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:34:48 +00:00
ruslan%netscape.com
992870a249 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@67980 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:33:20 +00:00
erik%netscape.com
b0e84d3833 removed files: mozilla/intl/locale/idl/nsILanguageAtom.idl, mozilla/intl/locale/idl/nsILanguageAtomService.idl
git-svn-id: svn://10.0.0.236/trunk@67979 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:29:11 +00:00
erik%netscape.com
f620103276 added files: mozilla/intl/locale/idl/nsILanguageAtom.idl, mozilla/intl/locale/idl/nsILanguageAtomService.idl
git-svn-id: svn://10.0.0.236/trunk@67978 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:27:56 +00:00
ruslan%netscape.com
4b5228b83d Fix 37800
git-svn-id: svn://10.0.0.236/trunk@67977 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:21:51 +00:00
cls%seawood.org
4225c9d4bf MOZ_JS_LIBS doesn't set the linker path so put it after MOZ_COMPONENT_LIBS.
git-svn-id: svn://10.0.0.236/trunk@67976 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:21:08 +00:00
ruslan%netscape.com
d0edd8ec9e Fix for 37800 - API change: SetRequestMethod now has to take Atom
as method name


git-svn-id: svn://10.0.0.236/trunk@67975 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:18:08 +00:00
jfrancis%netscape.com
c1c92a17d8 implementing list behavior spec, plus a few bug fixes
git-svn-id: svn://10.0.0.236/trunk@67974 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:14:28 +00:00
jfrancis%netscape.com
afd82c66f7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@67973 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:09:13 +00:00
jbetak%netscape.com
e91d81f43c 37376 Customize Char Coding dialog: Cancel - Save are in the wrong order
git-svn-id: svn://10.0.0.236/trunk@67972 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:08:27 +00:00
thayes%netscape.com
f483c05bd1 Replace implementation of nsISupports with thread-safe version. This allows
SSL/HTTPS operations to complete on debug builds with thread-safety checking.
r=bryner


git-svn-id: svn://10.0.0.236/trunk@67971 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 00:04:48 +00:00
sfraser%netscape.com
140f04ff74 Fix the build for pink.
git-svn-id: svn://10.0.0.236/trunk@67970 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:58:49 +00:00
troy%netscape.com
31435f5938 b=26792 r=karnaze@netscape.com Change to SplitRowGroup to handle the
case where GetCellInfoAt() returns NULL


git-svn-id: svn://10.0.0.236/trunk@67969 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:47:01 +00:00
sspitzer%netscape.com
f5a1f3e74d more themes work.
git-svn-id: svn://10.0.0.236/trunk@67968 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:46:54 +00:00
erik%netscape.com
1405a96365 bug 26237; adding langGroups.properties to Unix build
git-svn-id: svn://10.0.0.236/trunk@67967 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:41:34 +00:00
erik%netscape.com
b856111899 bug 26237; adding language atom service implementation to Windows build
git-svn-id: svn://10.0.0.236/trunk@67966 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:35:23 +00:00
erik%netscape.com
29a0e9289b bug 26237; adding language atom service implementation to Unix build
git-svn-id: svn://10.0.0.236/trunk@67965 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:33:14 +00:00
sfraser%netscape.com
361f4c53f2 Implement nsUserInfo on Mac, bug 29594. Add IC lib, weak linked. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@67964 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:27:52 +00:00
sfraser%netscape.com
aeca5ac666 Implement nsUserInfo on Mac, bug 29594. r=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@67963 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:27:35 +00:00
locka%iol.ie
eb39b5e459 Obselete files removed
Not part of build


git-svn-id: svn://10.0.0.236/trunk@67962 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:27:18 +00:00
sfraser%netscape.com
fea067deb4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@67961 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:26:01 +00:00
locka%iol.ie
50254f8093 Removed references to nsString
Not part of build


git-svn-id: svn://10.0.0.236/trunk@67960 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:25:44 +00:00
mkaply%us.ibm.com
d515d1abab # 34082
r= leaf
OS/2 bring up continues - We need getopt and dirent on OS/2


git-svn-id: svn://10.0.0.236/trunk@67959 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:22:59 +00:00
erik%netscape.com
92354c04f5 removing unused variable
git-svn-id: svn://10.0.0.236/trunk@67958 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:19:36 +00:00
mkaply%us.ibm.com
fac3e5b39a # 34082
r= rogerl
OS/2 bring up continues - support for debugging asserts on OS/2


git-svn-id: svn://10.0.0.236/trunk@67957 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:18:32 +00:00
mkaply%us.ibm.com
475e244fcb # 34082
r= mkaply
OS/2 bring up continues - fix for wrong this pointer


git-svn-id: svn://10.0.0.236/trunk@67956 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:17:36 +00:00
mkaply%us.ibm.com
ce3f7a2f87 # 34082
r= alecf
OS/2 bring up continues - VisualAge PR_CALLBACKs and #ifdefs


git-svn-id: svn://10.0.0.236/trunk@67955 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:16:41 +00:00
mkaply%us.ibm.com
8c63da6052 # 34082
r= mkaply
OS/2 bring up continues - OS/2 test viewer


git-svn-id: svn://10.0.0.236/trunk@67954 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:15:14 +00:00
mkaply%us.ibm.com
2ae395f27d # 34082
r= dougt
OS/2 bring up continues - support for OS/2 nsLocalFile


git-svn-id: svn://10.0.0.236/trunk@67953 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:14:31 +00:00
mkaply%us.ibm.com
f5fe312659 # 34082
r= mkaply
OS/2 bring up continues - checking in changes for the OS/2 team


git-svn-id: svn://10.0.0.236/trunk@67952 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:13:43 +00:00
mkaply%us.ibm.com
90f6977406 # 34082
r= pinkerton
OS/2 bring up continues - PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@67951 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:13:01 +00:00
erik%netscape.com
e984f4e05f bug 26237; adding language atom interfaces to Windows build
git-svn-id: svn://10.0.0.236/trunk@67950 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:12:37 +00:00
mkaply%us.ibm.com
f666b4c7f8 # 34082
r= mscott
OS/2 bring up continues - PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@67949 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:11:58 +00:00
erik%netscape.com
1b17d86109 bug 26237; adding language atom interfaces to Unix and Mac builds
git-svn-id: svn://10.0.0.236/trunk@67948 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:11:44 +00:00
mkaply%us.ibm.com
de7be3a9e5 # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@67947 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:07:11 +00:00
erik%netscape.com
c11c4c620b bug 26237; implementation of the new language atom interfaces to support
the HTML LANG attribute (for example)


git-svn-id: svn://10.0.0.236/trunk@67946 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:04:35 +00:00
mkaply%us.ibm.com
92015c2558 # 34082
r= mkaply
OS/2 bring up continues - Timer changes for OS/2 team


git-svn-id: svn://10.0.0.236/trunk@67945 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:02:55 +00:00
mkaply%us.ibm.com
b2460aaf2c # 34082
r= nisheeth
OS/2 bring up continues - Add PR_CALLBACKs for VisualAge


git-svn-id: svn://10.0.0.236/trunk@67944 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 23:02:17 +00:00
sfraser%netscape.com
c12587565c Fix for bug 37318 -- fix library linkage so that FetchFontInfo is weak linked, and look for it at runtime.
git-svn-id: svn://10.0.0.236/trunk@67943 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:52:19 +00:00
erik%netscape.com
aa1a00308d bug 26237; new interfaces for language atoms
git-svn-id: svn://10.0.0.236/trunk@67942 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:52:08 +00:00
pinkerton%netscape.com
f25f457f91 fix one case, the opposite breaks. helps to check all the function results correctly, not just some.
git-svn-id: svn://10.0.0.236/trunk@67941 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:50:28 +00:00
ben%netscape.com
ff212843f2 speeding up menus again
git-svn-id: svn://10.0.0.236/trunk@67940 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:49:18 +00:00
ben%netscape.com
1e05241dbb speeding up menus again (slowed them down yesterday)
git-svn-id: svn://10.0.0.236/trunk@67939 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:48:55 +00:00
danm%netscape.com
d9b5b22351 add search of anonymous content to previous checkin. code=hyatt
git-svn-id: svn://10.0.0.236/trunk@67938 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:48:17 +00:00
jefft%netscape.com
cac98ba122 round 2,partial fix bug 10802; passed in part number and content type for open attachment
git-svn-id: svn://10.0.0.236/trunk@67937 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:45:44 +00:00
mkaply%us.ibm.com
c33dc12d2a # 34082
r= rogerl
OS/2 bring up continues - VisualAge fixes


git-svn-id: svn://10.0.0.236/trunk@67936 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:44:23 +00:00
pinkerton%netscape.com
1cbd9902d5 adding url flavor to proxy icon to test creation of internet shortcuts on win32
git-svn-id: svn://10.0.0.236/trunk@67935 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:40:02 +00:00
alecf%netscape.com
650acc9a0f fix xlib bustage from nsString landing
git-svn-id: svn://10.0.0.236/trunk@67934 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:39:56 +00:00
pinkerton%netscape.com
ed98b59942 First stab at creating an internet shortcut when dragging a link to desktop.
git-svn-id: svn://10.0.0.236/trunk@67933 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:39:08 +00:00
attinasi%netscape.com
e079ebd121 checks for null strings. test programs only.
git-svn-id: svn://10.0.0.236/trunk@67932 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:38:58 +00:00
mkaply%us.ibm.com
f32dd26a1b # 34082
r= dougt@netscape.com
OS/2 bring up continues - Adding PR_CALLBACKs for VisualAge Compiler


git-svn-id: svn://10.0.0.236/trunk@67931 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:38:04 +00:00
pinkerton%netscape.com
c59c385280 updating drag mime types. adding one for URLs
git-svn-id: svn://10.0.0.236/trunk@67930 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:37:52 +00:00
pinkerton%netscape.com
83970d31cc Fix for non-file drags. Incorrectly checking result code when looking for a file drop.
git-svn-id: svn://10.0.0.236/trunk@67929 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:36:21 +00:00
racham%netscape.com
34c4a0e971 Fixing bugs 31688, 17457. Modifying createprofile option to create profile and exit alow the profile creation to use the existing dir. r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@67928 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:32:21 +00:00
racham%netscape.com
639eb01cd1 Fixing bug 17457. Allow the user to use the existing dir. r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@67927 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:32:16 +00:00
racham%netscape.com
15a04c22f3 Fixing bugs 31688, 17457. Modifying createprofile option to create profile and exit and allow the profile creation to use the existing dir. r=gayatrib
git-svn-id: svn://10.0.0.236/trunk@67926 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:32:11 +00:00
av%netscape.com
a46a4b7b65 Fixing release leaks for plugin instance, bug #37915
git-svn-id: svn://10.0.0.236/trunk@67925 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:27:58 +00:00
valeski%netscape.com
c2cdc700b2 28880. socket transport now provides access to the underlying ip address
git-svn-id: svn://10.0.0.236/trunk@67924 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:25:00 +00:00
morse%netscape.com
607c6f8f66 bug 37846, signon viewer and wallet editor not accessible from pref panel
git-svn-id: svn://10.0.0.236/trunk@67923 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:24:16 +00:00
Peter.VanderBeken%pandora.be
3d2736252a Sample files to show how to call Transformiix from JS.
Not part of build. a=leaf


git-svn-id: svn://10.0.0.236/trunk@67922 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:20:53 +00:00
Peter.VanderBeken%pandora.be
b57b4db1f4 Remove layout library. Add a bunch of files.
Not part of the build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@67921 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:06:50 +00:00
Peter.VanderBeken%pandora.be
8ea1e73834 Add a first version of the TransformDocument method.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@67920 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:03:54 +00:00
Peter.VanderBeken%pandora.be
0de8acab41 Add a cast to UNICODE_CHAR*.
Not part of the build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@67919 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 21:57:19 +00:00
thayes%netscape.com
88d604b797 Fix LDAPSDK include path to allow locally installed sdk
git-svn-id: svn://10.0.0.236/trunk@67917 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 21:55:10 +00:00
Peter.VanderBeken%pandora.be
440dd74edb Ifdef the rint function out for platforms other than Windows (temporary).
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@67916 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 21:53:37 +00:00
sfraser%netscape.com
77e1854d70 Fix for bug 37898 -- can't type in editor, msg and IM compose. r=kin, a=leaf
git-svn-id: svn://10.0.0.236/trunk@67915 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 21:46:23 +00:00
Peter.VanderBeken%pandora.be
8b1b8e6990 Use DOMString instead of String.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@67914 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 21:41:45 +00:00
Peter.VanderBeken%pandora.be
5c13129677 Remove dependency on layout.
Add our own InsertChildNode and AppendChild with workaround for bug #25123.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@67913 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 21:41:24 +00:00
Peter.VanderBeken%pandora.be
d273761935 Add namespace prefix to node name if available.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@67912 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 21:37:13 +00:00
rogerl%netscape.com
3513520366 Cleaning up some label stuff
git-svn-id: svn://10.0.0.236/trunk@67911 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 21:36:28 +00:00
Peter.VanderBeken%pandora.be
4d72c0a6ab Converting to new string APIs.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@67910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 21:34:43 +00:00
valeski%netscape.com
67e2b90ac6 backing out sync failure checkin because of suspect behavior
git-svn-id: svn://10.0.0.236/trunk@67909 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 19:58:29 +00:00
despotdaemon%netscape.com
5d796f762f Pseudo-automatic update of changes made by rusty.lynch@intel.com.
git-svn-id: svn://10.0.0.236/trunk@67908 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 19:48:35 +00:00
robinf%netscape.com
78c0b71c15 Updta the text for Beta Feedback button; update butlleted list text
git-svn-id: svn://10.0.0.236/trunk@67907 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 17:59:59 +00:00
norris%netscape.com
638e40de9e Fix bug: All the standard object constructors were showing up as enumerable properties of the global object.
git-svn-id: svn://10.0.0.236/trunk@67905 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 17:36:47 +00:00
despotdaemon%netscape.com
4fdcd2365c Pseudo-automatic update of changes made by carl.wong@intel.com.
git-svn-id: svn://10.0.0.236/trunk@67904 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 16:15:51 +00:00
despotdaemon%netscape.com
e0e0525467 Pseudo-automatic update of changes made by yixiong.zou@intel.com.
git-svn-id: svn://10.0.0.236/trunk@67903 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 15:54:01 +00:00
rods%netscape.com
970c96d7ee fixed up display rule for comboboxes
git-svn-id: svn://10.0.0.236/trunk@67902 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 14:52:51 +00:00
rods%netscape.com
191a691de3 adding back in changes that got removed with the checkin 1.425
git-svn-id: svn://10.0.0.236/trunk@67901 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 14:34:24 +00:00
dcone%netscape.com
8195d3ac52 Added some API's for the curve drawing code
git-svn-id: svn://10.0.0.236/trunk@67900 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 14:24:08 +00:00
sspitzer%netscape.com
17e9101845 manifest files, for the themes work.
git-svn-id: svn://10.0.0.236/trunk@67899 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 13:43:28 +00:00
valeski%netscape.com
264c38b1d0 back in we go
git-svn-id: svn://10.0.0.236/trunk@67898 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 13:08:20 +00:00
valeski%netscape.com
2b91edb562 backing out changes until I can figure out what went wrong w/ the tests
git-svn-id: svn://10.0.0.236/trunk@67897 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 13:04:00 +00:00
valeski%netscape.com
b27c53dc4e 24435. socket transport now handles synchronous failure so we can capture conection errors w/ the sync api
git-svn-id: svn://10.0.0.236/trunk@67896 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 12:29:34 +00:00
colin%theblakes.com
82ea8513c8 Link in toolkit. r=cls
git-svn-id: svn://10.0.0.236/trunk@67895 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 10:19:23 +00:00
sspitzer%netscape.com
44360598a2 update skins.
git-svn-id: svn://10.0.0.236/trunk@67894 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 08:10:42 +00:00
sspitzer%netscape.com
9aa97ae7e6 remove the old subscribe ui, since we've moved on to the new one.
#37732


git-svn-id: svn://10.0.0.236/trunk@67893 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 07:36:08 +00:00
alecf%netscape.com
59db377cb6 update filter editor to reflect new search widget changes
git-svn-id: svn://10.0.0.236/trunk@67892 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 07:34:33 +00:00
alecf%netscape.com
ba9c1a1760 add new <searchvalue> attribute which dynamically changes it's appearance depending on the data being entered.
also updated notification mechanism for abstract search menulists to notify an arbitrary number of widgets that their value has changed.


git-svn-id: svn://10.0.0.236/trunk@67891 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 07:32:42 +00:00
jbetak%netscape.com
4729998ab7 fix bustage
37408
String bundle doesn't offer a scriptable enumerator
r=be


git-svn-id: svn://10.0.0.236/trunk@67890 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 07:15:52 +00:00
jbetak%netscape.com
dc8fafa8a8 fix bustage
37408
String bundle doesn't offer a scriptable enumerator
r=be


git-svn-id: svn://10.0.0.236/trunk@67889 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 07:02:30 +00:00
cls%seawood.org
2099ccac6e prepend $(srcdir) to $(RESOURCES) to make nsinstall happy.
git-svn-id: svn://10.0.0.236/trunk@67888 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 06:58:12 +00:00
cls%seawood.org
45512a73c8 Set PR_MD_ASFILES for Linux.
Set default AS to $(CC).


git-svn-id: svn://10.0.0.236/trunk@67887 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 06:53:54 +00:00
sspitzer%netscape.com
a75bf3db1e fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@67886 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 06:50:24 +00:00
despotdaemon%netscape.com
1872d8ca6c Pseudo-automatic update of changes made by mj@digicool.com.
git-svn-id: svn://10.0.0.236/trunk@67885 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 06:45:17 +00:00
sspitzer%netscape.com
07b42eaa82 added files: mozilla/xpcom/ds/nsIPersistentProperties2.idl
git-svn-id: svn://10.0.0.236/trunk@67884 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 06:30:38 +00:00
jbetak%netscape.com
07ef74221a fix bustage
37408
String bundle doesn't offer a scriptable enumerator
r=be


git-svn-id: svn://10.0.0.236/trunk@67883 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 06:27:05 +00:00
sspitzer%netscape.com
732933d95c more themes work.
git-svn-id: svn://10.0.0.236/trunk@67882 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 06:26:42 +00:00
jbetak%netscape.com
d8bf955ee5 fix bustage
37408
String bundle doesn't offer a scriptable enumerator
r=be


git-svn-id: svn://10.0.0.236/trunk@67881 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 06:20:25 +00:00
sspitzer%netscape.com
3a091ab1ef more themes crap.
git-svn-id: svn://10.0.0.236/trunk@67880 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 06:10:03 +00:00
rhp%netscape.com
69d2ebd469 JUST ADDING FILES TO THE TREE - NOT PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@67879 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 06:03:54 +00:00
sspitzer%netscape.com
6fc68ff03d more themes work.
git-svn-id: svn://10.0.0.236/trunk@67878 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 06:02:19 +00:00
rhp%netscape.com
f09e70d1ce THIS IS NOT PART OF THE BUILD! JUST CHECKING IN CODE
git-svn-id: svn://10.0.0.236/trunk@67877 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 06:00:00 +00:00
sspitzer%netscape.com
a91fb79fc6 fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@67876 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 05:56:27 +00:00
jbetak%netscape.com
accd2b59b2 37408
String bundle doesn't offer a scriptable enumerator
r=be


git-svn-id: svn://10.0.0.236/trunk@67875 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 05:52:50 +00:00
sspitzer%netscape.com
c891a3faac more theme stuff
git-svn-id: svn://10.0.0.236/trunk@67874 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 05:36:13 +00:00
sspitzer%netscape.com
d9209abe1b more theme stuff
git-svn-id: svn://10.0.0.236/trunk@67873 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 05:28:52 +00:00
jbetak%netscape.com
89ecb1f974 5313 Accept-charset for form is not implemented, r=ftang, be
git-svn-id: svn://10.0.0.236/trunk@67872 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 05:19:19 +00:00
sspitzer%netscape.com
e7b8b46365 more theme stuff
git-svn-id: svn://10.0.0.236/trunk@67871 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 05:15:46 +00:00
jbetak%netscape.com
88df138133 37408
String bundle doesn't offer a scriptable enumerator
r=be


git-svn-id: svn://10.0.0.236/trunk@67870 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 05:08:39 +00:00
ben%netscape.com
7fd131e559 fix splitter problems
git-svn-id: svn://10.0.0.236/trunk@67869 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 05:00:03 +00:00
ben%netscape.com
d910c04183 splitter fixes
git-svn-id: svn://10.0.0.236/trunk@67868 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 04:57:48 +00:00
sspitzer%netscape.com
f3aca1a713 theme work
git-svn-id: svn://10.0.0.236/trunk@67867 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 04:32:28 +00:00
sspitzer%netscape.com
b00df8b8cf themes work.
git-svn-id: svn://10.0.0.236/trunk@67866 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 04:30:56 +00:00
sspitzer%netscape.com
5d1b2bb3f3 more themes stuff
git-svn-id: svn://10.0.0.236/trunk@67865 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 04:29:33 +00:00
ben%netscape.com
997c95b6d6 fixes for cookie pref panel
git-svn-id: svn://10.0.0.236/trunk@67864 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 04:20:29 +00:00
sspitzer%netscape.com
5985bdc9eb more themes stuff
git-svn-id: svn://10.0.0.236/trunk@67863 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 04:18:26 +00:00
sspitzer%netscape.com
0063920952 more themes work.
git-svn-id: svn://10.0.0.236/trunk@67862 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 04:17:44 +00:00
chuang%netscape.com
fec54b3192 part of bug 35432 [SKINS] make the mailnews pref panes skinnable, r=putterman
git-svn-id: svn://10.0.0.236/trunk@67861 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 04:17:13 +00:00
sspitzer%netscape.com
886c0c81ab more theme work.
git-svn-id: svn://10.0.0.236/trunk@67860 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 04:16:36 +00:00
ben%netscape.com
f006f9b754 removing redundant content
git-svn-id: svn://10.0.0.236/trunk@67859 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 04:15:29 +00:00
ben%netscape.com
db3911bb2e fixing xml error
git-svn-id: svn://10.0.0.236/trunk@67858 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 04:14:38 +00:00
ben%netscape.com
521e52ebcb fixing 37847: js error on keyverb selection
git-svn-id: svn://10.0.0.236/trunk@67857 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 04:10:05 +00:00
ben%netscape.com
6853df671a fixing toolkit menus, making grey fgcolour only apply to disabled textfields
git-svn-id: svn://10.0.0.236/trunk@67856 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 04:01:38 +00:00
putterman%netscape.com
f74dc1a564 Fix for 29543 so we can now create new Japanese local folders. Patch submitted by
m_kato@ga2.so-net.ne.jp. r=scottip and nhotta.


git-svn-id: svn://10.0.0.236/trunk@67855 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:59:19 +00:00
putterman%netscape.com
c99a2e4085 Fix for 29543 so we can now create new Japanese local folders. Patch submitted by
m_kato@ga2.so-net.ne.jp. r=andreas.otte@primus-online.de


git-svn-id: svn://10.0.0.236/trunk@67854 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:58:25 +00:00
sspitzer%netscape.com
0d6dd1082d more themes stuff.
git-svn-id: svn://10.0.0.236/trunk@67853 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:58:00 +00:00
ben%netscape.com
f3cc8c7635 fix icons in bookmark button menu
git-svn-id: svn://10.0.0.236/trunk@67852 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:52:50 +00:00
sspitzer%netscape.com
d82a21aa3a more themes horse crap
git-svn-id: svn://10.0.0.236/trunk@67851 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:51:07 +00:00
sspitzer%netscape.com
16e5504b11 more themes work
git-svn-id: svn://10.0.0.236/trunk@67850 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:49:00 +00:00
jj%netscape.com
c7cc8c371b adding directory creation to complete rjc's checkin
git-svn-id: svn://10.0.0.236/trunk@67849 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:46:17 +00:00
ben%netscape.com
184475d13f fix missing text in profile manager delete dialog
git-svn-id: svn://10.0.0.236/trunk@67848 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:46:16 +00:00
mjudge%netscape.com
849dca7792 adding call to new api for initing selection
git-svn-id: svn://10.0.0.236/trunk@67847 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:45:01 +00:00
mjudge%netscape.com
8d3cfc61b9 new api for limiter in selection
git-svn-id: svn://10.0.0.236/trunk@67846 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:44:17 +00:00
ben%netscape.com
f729f15424 fixing throbber-not-throbbing problem (37808)
git-svn-id: svn://10.0.0.236/trunk@67845 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:43:05 +00:00
sspitzer%netscape.com
f01b6e7057 more theme work.
git-svn-id: svn://10.0.0.236/trunk@67844 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:42:33 +00:00
blizzard%redhat.com
681cb6d4d9 Change the root widget for the embedding control to the GtkBin class so we can be a container that contains a mozilla window. Start work on load progress. Start work on over link message. Remove the superwin creation since the widget classes now will now honor a GtkContainer as a parent. Add an unrealize handler that will properly shut down the Mozilla window when the widget is destroyed.
git-svn-id: svn://10.0.0.236/trunk@67843 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:41:46 +00:00
mjudge%netscape.com
5449c8ea3a setting up for gfxtextcontrolchange
git-svn-id: svn://10.0.0.236/trunk@67842 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:40:44 +00:00
rjc%netscape.com
a36b32312b Update search file for better parsing results.
git-svn-id: svn://10.0.0.236/trunk@67841 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:38:42 +00:00
rjc%netscape.com
72dcb0cded Small search changes. Allow "alsoMatch" to contain multiple items. If search file has multiple <INTERPRET> sections, but can't find one of them, just go to the next instead of trying to search the entire document for URLs.
git-svn-id: svn://10.0.0.236/trunk@67840 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:36:06 +00:00
blizzard%redhat.com
16011dbc3d Change the way that focus is handled for toplevel windows and the GtkMozArea. This will allow us to track whether or not any Mozilla window has the focus.
Add code to properly propagate key press/key release events to the toplevel window if a Mozilla window doesn't have focus.  This fixes focus in the embedding case and will allow other gtk windows that have focus to get key events.
Add code to allow a Mozilla child window to be created as the child of any ol' GtkContainer class.  This means that parent's don't have to worry about creating a superwin or any of that garbage.  This makes embedding much, much easier. r=pavlov@netscape.com,hidetoshi.tajima@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@67839 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:33:43 +00:00
sspitzer%netscape.com
90fa95f77c ignore generated makefiles.
git-svn-id: svn://10.0.0.236/trunk@67838 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:28:41 +00:00
cmanske%netscape.com
dd3d7d4810 Set editor type to 'textmail' so editor knows it's a plain text mail composer
git-svn-id: svn://10.0.0.236/trunk@67837 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:25:21 +00:00
cmanske%netscape.com
5eed0d89a9 Set focus when page is done loading. Fixed labels for menus and toolbars. Replaced 'vertical-align' with 'valign' for box alignment. Changed strings for Edit Modes. Unload style sheets when loading a url into existing window
git-svn-id: svn://10.0.0.236/trunk@67836 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:24:11 +00:00
sspitzer%netscape.com
f136598464 more themes work.
git-svn-id: svn://10.0.0.236/trunk@67835 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:19:36 +00:00
sspitzer%netscape.com
5932860f34 more themes work
git-svn-id: svn://10.0.0.236/trunk@67834 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:11:57 +00:00
sspitzer%netscape.com
20d1f443e0 more themes work.
git-svn-id: svn://10.0.0.236/trunk@67833 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:11:19 +00:00
sspitzer%netscape.com
bb8c26d99b new makefile.
git-svn-id: svn://10.0.0.236/trunk@67832 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:09:48 +00:00
ben%netscape.com
867daed226 reordering cookie prefs a little
git-svn-id: svn://10.0.0.236/trunk@67831 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 03:01:38 +00:00
sfraser%netscape.com
d0d7a8b884 Oops, need to check in this file for new selection enums.
git-svn-id: svn://10.0.0.236/trunk@67830 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 02:51:30 +00:00
rbs%maths.uq.edu.au
32ac3276a3 Change to case-insentive compare because the BaKoMa have lower-case names, r:troy,erik. a:troy
git-svn-id: svn://10.0.0.236/trunk@67829 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 02:46:58 +00:00
sfraser%netscape.com
c114dc2226 Fix for 37303 -- fix text selection code to behave better for an empty text field, and take -1 to mean 'select to end'.
git-svn-id: svn://10.0.0.236/trunk@67828 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 02:31:11 +00:00
evaughan%netscape.com
a3c13c8739 Made gfx scrollframe store maxelement size for gfxlist controls.
git-svn-id: svn://10.0.0.236/trunk@67827 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 02:28:41 +00:00
troy%netscape.com
bb653520dc b=33150 Fixed problem where reflow commands in different child lists were
being coalesced


git-svn-id: svn://10.0.0.236/trunk@67826 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 02:23:31 +00:00
pavlov%netscape.com
550784c674 workaround/fix? for 37741 from jag.
git-svn-id: svn://10.0.0.236/trunk@67825 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 02:08:17 +00:00
rjc%netscape.com
52223cf369 Add support for "interpret/charset".
git-svn-id: svn://10.0.0.236/trunk@67821 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 01:44:50 +00:00
ssu%netscape.com
fddfd3b082 restored the Start Install dialog in order to add new features to the installer. Affects only windows platforms.
git-svn-id: svn://10.0.0.236/trunk@67819 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 01:36:10 +00:00
cls%seawood.org
dbb305b492 Removed the forced build date generation for libraptorhtml.so. Bug #37484
git-svn-id: svn://10.0.0.236/trunk@67818 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 01:28:23 +00:00
rjc%netscape.com
2067f2484c Populate the "Shopping" category with "Shop@Netscape".
git-svn-id: svn://10.0.0.236/trunk@67817 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 01:27:29 +00:00
dac%x.cx
397443171b Isolate common http functionality
git-svn-id: svn://10.0.0.236/trunk@67816 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 01:23:29 +00:00
rjc%netscape.com
17cdd85a3e Add ShopNetscape file/image. (From Netcenter)
git-svn-id: svn://10.0.0.236/trunk@67815 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 01:23:02 +00:00
jj%netscape.com
f94a667e7f #37355: minor fixes & adjustments between debug/optimized scripts.
git-svn-id: svn://10.0.0.236/trunk@67814 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 01:21:07 +00:00
cls%seawood.org
7b09f0a0a3 OS/2 Makefile.in tweaks. Batch 10 & 11. Bug #34106
git-svn-id: svn://10.0.0.236/trunk@67813 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 01:18:46 +00:00
rjc%netscape.com
91d042bdd8 Create a "Shopping" category and populate it with appropriate search engine(s).
git-svn-id: svn://10.0.0.236/trunk@67812 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 01:13:19 +00:00
karnaze%netscape.com
4b818debc3 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@67811 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 01:10:51 +00:00
rjc%netscape.com
3bb9b64561 Add in ClassifiedPlus search file/image. (From Netcenter)
git-svn-id: svn://10.0.0.236/trunk@67810 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 01:04:53 +00:00
sgehani%netscape.com
faf6d58f28 Part of fix for Mac installer bustage. [b = 36784]
git-svn-id: svn://10.0.0.236/trunk@67809 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:57:40 +00:00
sgehani%netscape.com
e53f310127 Fix Mac and Linux installer bustage caused by AutoregisterInterfaces. [b=37086, 36784]
git-svn-id: svn://10.0.0.236/trunk@67808 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:55:36 +00:00
sgehani%netscape.com
c23aaa32b2 Fix Autoregistration bustage in the context of apps using XPCOM outside Mozilla (e.g. the installer stubs).
git-svn-id: svn://10.0.0.236/trunk@67807 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:54:11 +00:00
thayes%netscape.com
c361fa080a Copy nspr libraries into platform build directory to allow running without library path
setup.


git-svn-id: svn://10.0.0.236/trunk@67806 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:38:11 +00:00
sfraser%netscape.com
590e3375e3 Extra check to make sure contextual menu manager is installed before initting it.
git-svn-id: svn://10.0.0.236/trunk@67805 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:37:12 +00:00
rjc%netscape.com
1eedf455e5 Small text changes in various search files. (Changes from Netcenter.)
git-svn-id: svn://10.0.0.236/trunk@67804 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:35:47 +00:00
sfraser%netscape.com
1d762941ed Fix bug 36112 -- check for QuickTime being installed before using it.
git-svn-id: svn://10.0.0.236/trunk@67803 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:30:35 +00:00
rjc%netscape.com
dbf2c5a18f Small text changes in various search files. (Changes from Netcenter.)
git-svn-id: svn://10.0.0.236/trunk@67802 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:26:30 +00:00
jst%netscape.com
f59ae4bac2 The string returned from CSSStyleDeclaration::removeProperty() should only contain the old value, not the property name.
git-svn-id: svn://10.0.0.236/trunk@67801 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:24:45 +00:00
rjc%netscape.com
1f60f1cf41 Small text change to a search category name.
git-svn-id: svn://10.0.0.236/trunk@67800 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:17:33 +00:00
ducarroz%netscape.com
d28fc64a04 Fix for bug 35038. Replace html:iframe by a xul editor widget
git-svn-id: svn://10.0.0.236/trunk@67799 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:11:06 +00:00
ducarroz%netscape.com
b5c1da031e Fix for bug 37628. Do not autocomplete newsgroup and followup-to
git-svn-id: svn://10.0.0.236/trunk@67798 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:09:11 +00:00
ducarroz%netscape.com
3c68923b3d Fix for bug 37628. Need to be able to disable autocomplete.
git-svn-id: svn://10.0.0.236/trunk@67797 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 00:05:28 +00:00
sspitzer%netscape.com
2f6fea48d8 theme update.
git-svn-id: svn://10.0.0.236/trunk@67796 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 23:59:17 +00:00
sspitzer%netscape.com
f7c4abd0da more themes work
git-svn-id: svn://10.0.0.236/trunk@67795 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 23:48:47 +00:00
sspitzer%netscape.com
2c3b847a0a more themes work.
git-svn-id: svn://10.0.0.236/trunk@67794 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 23:47:56 +00:00
mstoltz%netscape.com
e5ac600ff0 Added archive attribute to nsICertificatePrincipal...part of fix for 37481.
git-svn-id: svn://10.0.0.236/trunk@67793 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 23:39:51 +00:00
sspitzer%netscape.com
9310eefe17 more themes work.
git-svn-id: svn://10.0.0.236/trunk@67790 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 23:36:58 +00:00
rpotts%netscape.com
4b3d7c15f3 Fixed typo in HTTP header string If-None-Match. Thanks to Morgan Owens (packrat@nznet.get.nz) for finding it!!
git-svn-id: svn://10.0.0.236/trunk@67789 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 23:30:21 +00:00
alecf%netscape.com
76a1a7219f make priority a scriptable type
add scriptable enums for priority
make more of the search interface use nsIMsgSearchValue instead of nsMsgSearchValue


git-svn-id: svn://10.0.0.236/trunk@67788 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 23:19:46 +00:00
alecf%netscape.com
075ceb4f25 remove unnecessary parameter
git-svn-id: svn://10.0.0.236/trunk@67787 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 23:13:21 +00:00
wtc%netscape.com
d1df095344 Bugzilla bug #37761: changed open file to correctly handle
PR_TRUNCATE | PR_CREATE_FILE and also fixed _PR_MD_SET_FD_INHERITABLE.
Thanks to Skip Nizinski <snizinsk@us.ibm.com> of IBM Corporation for
the patch.


git-svn-id: svn://10.0.0.236/trunk@67786 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 23:12:01 +00:00
alecf%netscape.com
9b3bfc398b remove unnecessary dependancy on prefs
git-svn-id: svn://10.0.0.236/trunk@67785 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 23:08:38 +00:00
pavlov%netscape.com
0517c097c8 fixes for package installation bug #34399 r=hyatt
git-svn-id: svn://10.0.0.236/trunk@67784 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 23:08:00 +00:00
ruslan%netscape.com
16509162ef Fix 37632
git-svn-id: svn://10.0.0.236/trunk@67783 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 23:02:59 +00:00
jst%netscape.com
ca090e77c3 Fix for bug #30492 and last part of #9876. Setting a style property to an empty string through the DOM now removes the property.
git-svn-id: svn://10.0.0.236/trunk@67782 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:59:54 +00:00
alecf%netscape.com
ad8183f7ba don't need to do all this extra work - work is done in base class
git-svn-id: svn://10.0.0.236/trunk@67781 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:58:42 +00:00
alecf%netscape.com
07a3c0cdd1 don't need to do all this extra work, it's been done in the base class
git-svn-id: svn://10.0.0.236/trunk@67780 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:57:54 +00:00
mkaply%us.ibm.com
c3fce7da4a # 37239
r= alecf@netscape.com
OS/2 bring up continues - DLL Names for OS/2


git-svn-id: svn://10.0.0.236/trunk@67778 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:40:37 +00:00
wtc%netscape.com
8edf811bd7 Bugzilla bug #37595: checked in patches for building on BSD/OS 4.1
and 4.2 from Kurt J. Lidl <lidl@pix.net>.


git-svn-id: svn://10.0.0.236/trunk@67776 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:38:58 +00:00
mkaply%us.ibm.com
fc181e3a58 # 37239
r= warren@netscape.com
OS/2 bring up continues - Fix some #ifdefs, and add code to set OS/2 as a platform and query OS/2 version


git-svn-id: svn://10.0.0.236/trunk@67775 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:35:28 +00:00
mkaply%us.ibm.com
9fa5366cc9 # 37239
r= warren@netscape.com
OS/2 bring up continues - Remove some legacy #ifdef stuff for OS/2


git-svn-id: svn://10.0.0.236/trunk@67774 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:32:47 +00:00
mkaply%us.ibm.com
e8d1fa38f6 # 37239
r= warren@netscape.com
OS/2 bring up continues - Add !defined XP_OS2 to #ifdef XP_PC


git-svn-id: svn://10.0.0.236/trunk@67773 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:32:02 +00:00
mkaply%us.ibm.com
788765ffb8 # 37239
r= dveditz@netscape.com
OS/2 bring up continues - add include file in OS/2 #ifdef


git-svn-id: svn://10.0.0.236/trunk@67772 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:30:13 +00:00
mkaply%us.ibm.com
950434f186 # 37239
r= dveditz@netscape.com
OS/2 bring up continues - need PR_CALLBACK to specify linkage for VisualAge build


git-svn-id: svn://10.0.0.236/trunk@67771 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:29:03 +00:00
ben%netscape.com
e021072e06 fix js error
git-svn-id: svn://10.0.0.236/trunk@67770 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:28:39 +00:00
mkaply%us.ibm.com
8da14785ea # 37239
r= dougt@netscape.com
OS/2 bring up continues - need an include for EMX only


git-svn-id: svn://10.0.0.236/trunk@67769 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:27:59 +00:00
mkaply%us.ibm.com
49f13d862e # 37239
r= dougt@netscape.com
OS/2 bring up continues - need another INCL_


git-svn-id: svn://10.0.0.236/trunk@67768 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:27:21 +00:00
saari%netscape.com
cca40a05b2 Adding the ability for popups to not install the keyboard navigation listener. Needed for autocomplete. R=hyatt
git-svn-id: svn://10.0.0.236/trunk@67767 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:27:16 +00:00
mkaply%us.ibm.com
651cfa5e2d # 37239
r= dougt@netscape.com
Misspelling in printf


git-svn-id: svn://10.0.0.236/trunk@67766 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:26:26 +00:00
mkaply%us.ibm.com
aeefaeec2e # 37239
r= dougt@netscape.com
OS/2 bring up continues - xpcom changes - #ifdefs for OS/2


git-svn-id: svn://10.0.0.236/trunk@67765 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:25:44 +00:00
mkaply%us.ibm.com
0781f6f80c # 37239
r= mkaply@us.ibm.com
OS/2 bring up continues - checking in files for the OS/2 team


git-svn-id: svn://10.0.0.236/trunk@67764 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:21:43 +00:00
sfraser%netscape.com
76462e9b10 Make the toolbar look purdy.
git-svn-id: svn://10.0.0.236/trunk@67763 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:19:26 +00:00
sfraser%netscape.com
4c7f27df8d Minor fixage for new command stuff.
git-svn-id: svn://10.0.0.236/trunk@67762 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:15:40 +00:00
putterman%netscape.com
7a4d8c92fd also use keyset in this window.
git-svn-id: svn://10.0.0.236/trunk@67761 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:12:10 +00:00
sfraser%netscape.com
d881a7f29a Fix the case of nsHash*t*able.h include.
git-svn-id: svn://10.0.0.236/trunk@67760 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:11:22 +00:00
danm%netscape.com
b13c0dcca3 fix initialization bug that fails loading files from the installation dir. code=hyatt
git-svn-id: svn://10.0.0.236/trunk@67759 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:08:25 +00:00
putterman%netscape.com
d1c0e20406 fix for 35716 where using the address picker didn't allow you to send messages.
r=ducarroz.


git-svn-id: svn://10.0.0.236/trunk@67758 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:04:52 +00:00
ben%netscape.com
73321e855e fixing 37738, fail to migrate 4.x profile on start
git-svn-id: svn://10.0.0.236/trunk@67757 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:03:52 +00:00
joki%netscape.com
f1d654f4a0 Fix for bug 12379, open tree frame on enter/return keystroke
git-svn-id: svn://10.0.0.236/trunk@67756 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:00:54 +00:00
nhotta%netscape.com
5b1be929c1 Changed to use canonical charset name instead of using the charset name from the message header as is, bug 37562.
git-svn-id: svn://10.0.0.236/trunk@67755 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:00:46 +00:00
sfraser%netscape.com
c999ec12fc Changes for changes in editor command handling.
git-svn-id: svn://10.0.0.236/trunk@67754 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 22:00:05 +00:00
nhotta%netscape.com
68caf033cf Changed to use "pre", fixing a remaining part of the last change, bug 37299.
git-svn-id: svn://10.0.0.236/trunk@67753 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:59:49 +00:00
putterman%netscape.com
7f880a49e6 More work on moving functions around in mail frontend.
git-svn-id: svn://10.0.0.236/trunk@67752 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:58:24 +00:00
rogerl%netscape.com
c8331f888e r=norris@netscape.com. Add ASSERT/ASSERT_NOT cases to fixNext child
processing - was running into garbage when processing these as children
of a '|'


git-svn-id: svn://10.0.0.236/trunk@67751 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:57:22 +00:00
sfraser%netscape.com
cb7627f33d Make the checkout error messages a bit more gentle, put in a MakeJars stub method.
git-svn-id: svn://10.0.0.236/trunk@67750 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:57:11 +00:00
nhotta%netscape.com
4515a176ec Changed a string of NS_MSG_MULTILINGUAL_SEND.
git-svn-id: svn://10.0.0.236/trunk@67749 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:56:22 +00:00
rogerl%netscape.com
22da079eb8 r=norris@netscape.com
Bug #34187, adding 'eval' as property of global object.
Bug #31864, decompiler failure when attempting to invoke a non-function
where that object is accessed via an incoming argument of the current
function.


git-svn-id: svn://10.0.0.236/trunk@67748 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:55:52 +00:00
nhotta%netscape.com
6b1538f464 Changed a string of sendDefaultCharset.label.
git-svn-id: svn://10.0.0.236/trunk@67747 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:55:02 +00:00
sfraser%netscape.com
88ad65c788 Make the text of inputs non-grey
git-svn-id: svn://10.0.0.236/trunk@67746 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:54:26 +00:00
rogerl%netscape.com
e92af4aae2 r=norris@netscape.com; Bug#32174
Prevent recursive death when user has a function 'Object'.


git-svn-id: svn://10.0.0.236/trunk@67745 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:53:20 +00:00
sfraser%netscape.com
d7d0eeb842 Remove bogus string concat
git-svn-id: svn://10.0.0.236/trunk@67744 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:53:19 +00:00
sfraser%netscape.com
ebce48fb7e Print when checking out each module
git-svn-id: svn://10.0.0.236/trunk@67743 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:52:52 +00:00
sfraser%netscape.com
2819dcdb9c Add null check, to save crash when closing a window.
git-svn-id: svn://10.0.0.236/trunk@67742 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:51:11 +00:00
sfraser%netscape.com
5d806b0567 Add null check.
git-svn-id: svn://10.0.0.236/trunk@67741 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:50:18 +00:00
sfraser%netscape.com
e1c3f451ab Fixes for bugs 34503 and 34504 -- split the editor controller into editor and composer controllers, and make commands for lots of editor functions.
git-svn-id: svn://10.0.0.236/trunk@67740 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:49:52 +00:00
sfraser%netscape.com
0e9467e4f6 Added nsComposerCommands.cpp
git-svn-id: svn://10.0.0.236/trunk@67739 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:43:21 +00:00
sfraser%netscape.com
9a3125bb01 Remove bogus button styles.
git-svn-id: svn://10.0.0.236/trunk@67738 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:42:58 +00:00
sfraser%netscape.com
2b875f9765 Add ComposerCommands.js
git-svn-id: svn://10.0.0.236/trunk@67737 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:39:02 +00:00
sfraser%netscape.com
e785b47126 Add nsComposerCommands.cpp
git-svn-id: svn://10.0.0.236/trunk@67736 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:38:31 +00:00
sfraser%netscape.com
5718095214 Adding ComposerCommands.js
git-svn-id: svn://10.0.0.236/trunk@67735 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:38:11 +00:00
sfraser%netscape.com
348d61614e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@67734 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:37:38 +00:00
mscott%netscape.com
f467b64b5d Bug #36371 --> clear refresh timers when loading new documents into the
docshell. This fixes the problem where after visiting a page with a refresh,
we would later always try to refresh that page even if you had moved on.


git-svn-id: svn://10.0.0.236/trunk@67733 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 21:33:49 +00:00
kin%netscape.com
b748362cc1 Fix for crasher bugs 37701 and 37728. r=mjudge@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67732 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 18:21:30 +00:00
robinf%netscape.com
c1980a9113 fixing bug 37443
git-svn-id: svn://10.0.0.236/trunk@67731 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 18:12:58 +00:00
beard%netscape.com
13d60e41ab warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@67730 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 17:18:49 +00:00
beard%netscape.com
0be8ba319f fixing breakage on Linux
git-svn-id: svn://10.0.0.236/trunk@67729 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 17:18:23 +00:00
alecf%netscape.com
0866c80df2 fix for non-wrapping status line
r,a=leaf


git-svn-id: svn://10.0.0.236/trunk@67728 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 17:12:32 +00:00
beard%netscape.com
3ba81bd192 removed unnecessary casts to int32 in ICodeGenerator::setLabel() which were generating warnings.
git-svn-id: svn://10.0.0.236/trunk@67727 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 17:11:36 +00:00
alecf%netscape.com
2475eb57ac fix for #37716 r=putterman a=leaf
put flex on the tree so it doesn't have zero width


git-svn-id: svn://10.0.0.236/trunk@67726 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 17:07:47 +00:00
slamm%netscape.com
2970248ecc Fix link for sidebar panel.
git-svn-id: svn://10.0.0.236/trunk@67725 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 16:41:38 +00:00
locka%iol.ie
b2acf47256 Added minimize/maximize button.
Not part of build


git-svn-id: svn://10.0.0.236/trunk@67724 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 16:21:22 +00:00
locka%iol.ie
7535c94efc Added explicit call to release webbrowser during destruction
Not part of build


git-svn-id: svn://10.0.0.236/trunk@67723 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 16:20:25 +00:00
rods%netscape.com
98214f8267 fixes two different checks for the existence of lowsrc. al text now displays
correctly for net based images.


git-svn-id: svn://10.0.0.236/trunk@67722 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 14:35:19 +00:00
brade%netscape.com
2896bf04e0 remove unused entities; remove colon from color entities so that they display properly in preview box; add colon entity as a separate character
git-svn-id: svn://10.0.0.236/trunk@67721 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 13:55:55 +00:00
brade%netscape.com
d63a732a18 add some missing entities
git-svn-id: svn://10.0.0.236/trunk@67720 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 13:52:42 +00:00
brade%netscape.com
d570465aca fix the link strings to not have a colon so it displays properly in preview box; add the colon as a separate entity; remove "useDefaults" button
git-svn-id: svn://10.0.0.236/trunk@67719 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 13:50:47 +00:00
brade%netscape.com
6ba4b06a20 redo some of the skinnability work I had checked in (reverted in cvs merge?); add checkbox for Akkana (saving output)
git-svn-id: svn://10.0.0.236/trunk@67718 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 13:49:13 +00:00
alecf%netscape.com
dae7015bb1 add inset header styles to the thread pane to see if people like the look
git-svn-id: svn://10.0.0.236/trunk@67717 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 09:05:25 +00:00
alecf%netscape.com
851529745d updated filter editor and list:
1) update buttons as appropriate (disabled/enabled)
2) actually pass the filter to the filter edit dialog
3) update the scope automatically based on the filter
4) on new filters, update the scope based on the filterList that's passed in
5) put searchattribute and searchoperators in the right place in the tree


git-svn-id: svn://10.0.0.236/trunk@67716 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 08:55:48 +00:00
hyatt%netscape.com
91afa4ede4 Fixing tree XBL.
git-svn-id: svn://10.0.0.236/trunk@67715 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 08:17:33 +00:00
alecf%netscape.com
18e910e0f0 expose the message filter's parent list through a scriptable interface, and move more private enums into a public interface
git-svn-id: svn://10.0.0.236/trunk@67714 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 08:15:46 +00:00
hyatt%netscape.com
f4a900e702 Menubuttons are not the cause of the leak. Reverting.
git-svn-id: svn://10.0.0.236/trunk@67713 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 07:58:44 +00:00
hyatt%netscape.com
4b5e1f3bf4 Fix scrollbar stylesheet relative to ua stylesheet.
git-svn-id: svn://10.0.0.236/trunk@67712 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 07:58:07 +00:00
alecf%netscape.com
78f82455bb fix some enum typos, remove some non-scriptable enums, and fix some non XPCOM-compliant accessors
git-svn-id: svn://10.0.0.236/trunk@67711 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 07:36:46 +00:00
alecf%netscape.com
ad80c6340b remove assertion for now, not really a bad thing
git-svn-id: svn://10.0.0.236/trunk@67710 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 07:35:22 +00:00
nisheeth%netscape.com
8a6a52bef1 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.


git-svn-id: svn://10.0.0.236/trunk@67709 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 06:58:53 +00:00
hyatt%netscape.com
e9adb35e5d Testing to see if the leak is in menubutton.
git-svn-id: svn://10.0.0.236/trunk@67708 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 06:32:20 +00:00
waldemar%netscape.com
11342210b6 Changed syntax of identifiers, attributes, expressions, functions, and packages. Added export, use, constructor, namespace, import.
git-svn-id: svn://10.0.0.236/trunk@67707 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 06:21:39 +00:00
hyatt%netscape.com
26cd683e93 Fixing chrome registry leak. r=scc
git-svn-id: svn://10.0.0.236/trunk@67706 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 06:07:52 +00:00
jbetak%netscape.com
8ef1419d47 5313 Accept-Charset for form is not implemented, r=ftang, be
git-svn-id: svn://10.0.0.236/trunk@67705 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 05:47:12 +00:00
bryner%uiuc.edu
9238a4494c Stop building the unused native widgets (these were removed from the win32
build awhile back).  Also remove unused code relating to these
widgets.  r=blizzard.


git-svn-id: svn://10.0.0.236/trunk@67704 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 04:35:30 +00:00
dbaron%fas.harvard.edu
8c144a4475 Fix leak of nsHTMLOptionElement. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67703 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 04:00:38 +00:00
jbetak%netscape.com
4a1b02dcd2 5313 Accept language UI is not implemented r=ftang, be
git-svn-id: svn://10.0.0.236/trunk@67702 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 03:31:30 +00:00
jbetak%netscape.com
f1dd899185 5313 Accept-Charset for form is not implemented, r=ftang, be
git-svn-id: svn://10.0.0.236/trunk@67701 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 03:22:01 +00:00
karnaze%netscape.com
5fa036be77 Removed FixBadReflowState, added an assert if boxes try to set outer table reflow state computed values when a caption is present.
git-svn-id: svn://10.0.0.236/trunk@67700 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 02:25:08 +00:00
racham%netscape.com
2934026492 Removing activation dtd file. Not needed in mozilla anymore.
git-svn-id: svn://10.0.0.236/trunk@67699 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 02:14:36 +00:00
racham%netscape.com
d654ff7650 Removing activation xul files. Not needed in mozilla anymore.
git-svn-id: svn://10.0.0.236/trunk@67698 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 02:13:18 +00:00
ben%netscape.com
69770ba96c some more button styles
git-svn-id: svn://10.0.0.236/trunk@67697 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 02:08:09 +00:00
sfraser%netscape.com
b568f44c40 Add an UpdateCommandState method to the command maanger.
git-svn-id: svn://10.0.0.236/trunk@67696 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 01:33:22 +00:00
tonyr%fbdesigns.com
f0cd3eadc0 Added uriloader/extprotocol to the build (again, now that we have InternetConfig back it should be OK now).
git-svn-id: svn://10.0.0.236/trunk@67695 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 01:21:17 +00:00
ben%netscape.com
c6ecd2b640 fix XML error
git-svn-id: svn://10.0.0.236/trunk@67694 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 01:18:39 +00:00
sfraser%netscape.com
7d46b5b852 Persist the Open Location dialog location.
git-svn-id: svn://10.0.0.236/trunk@67693 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 01:14:12 +00:00
rjc%netscape.com
5b3ea37da8 Search cleanup: pass around PRUnichar*s more instead of relying on nsAutoStrings. Implement "nameStart" & "nameEnd" tags. Fix "#URL" resolution (for when search engines are dynamically added via the JavaScript URL)
git-svn-id: svn://10.0.0.236/trunk@67692 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 00:33:32 +00:00
alecf%netscape.com
7aac633d16 update search widgets - add operator widget, and make generic abstract XUL widget which attribute and operator widgets inherit from
git-svn-id: svn://10.0.0.236/trunk@67691 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 00:31:40 +00:00
alecf%netscape.com
dfdb6bc39a make names more readable
git-svn-id: svn://10.0.0.236/trunk@67690 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 00:30:58 +00:00
dbaron%fas.harvard.edu
cce89251da Fixed miscellaneous leaks exposed to tinderbox leak stats by brade%netscape.com's JS checkin (rev 1.150 of navigator.js, 2000-04-28).
git-svn-id: svn://10.0.0.236/trunk@67689 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 00:26:37 +00:00
sfraser%netscape.com
1f5d3d499d Fix access paths
git-svn-id: svn://10.0.0.236/trunk@67688 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 00:08:38 +00:00
sfraser%netscape.com
1781d4dba1 Fix access paths to remove bogus path to freenav.
git-svn-id: svn://10.0.0.236/trunk@67687 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 00:07:18 +00:00
pavlov%netscape.com
3cc536f06c remove use of gccache in image code.. just doesn't give the win I was hoping for... :(
git-svn-id: svn://10.0.0.236/trunk@67686 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 22:40:31 +00:00
pavlov%netscape.com
7a316edf8f don't make a copy of the gc from the rendering context if we don't have an alpha pixmap since we arn't going to change it
git-svn-id: svn://10.0.0.236/trunk@67685 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 22:36:43 +00:00
karnaze%netscape.com
bd1b930f20 Fix for Linux bustage, bug 37643. Give outer table reflow state initial computed values of 0 to avoid excessive reflows from boxes.
git-svn-id: svn://10.0.0.236/trunk@67684 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 22:29:01 +00:00
ducarroz%netscape.com
81646e1514 Fix for bug 24951: Add dialog for asking user to enter a subject
Fix for bug 37422: Replace custom dialog for Attach Web page by common dialog


git-svn-id: svn://10.0.0.236/trunk@67683 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 21:46:07 +00:00
ducarroz%netscape.com
92d6839514 Remove unused JavaScript include
git-svn-id: svn://10.0.0.236/trunk@67682 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 21:45:50 +00:00
ducarroz%netscape.com
03e0689973 Replace harcoded string by a define. R=putterman, chung
git-svn-id: svn://10.0.0.236/trunk@67681 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 21:45:19 +00:00
ducarroz%netscape.com
841434095c Fix for bug 24951. Don't force anymore to have a subject.
git-svn-id: svn://10.0.0.236/trunk@67680 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 21:45:17 +00:00
ducarroz%netscape.com
f55aa79508 Fix a crasher in openMDB because we were returning a wrong error code. R=chuang
git-svn-id: svn://10.0.0.236/trunk@67679 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 21:45:08 +00:00
ducarroz%netscape.com
64077f32e6 Remove unused files
git-svn-id: svn://10.0.0.236/trunk@67678 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 21:45:01 +00:00
ducarroz%netscape.com
81c2752463 Remove unused string define
git-svn-id: svn://10.0.0.236/trunk@67677 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 21:45:00 +00:00
ducarroz%netscape.com
daf0ed5bcd Fix for bug 29014. Now we scan all the address books to determine if a recipient accepts HTML.
git-svn-id: svn://10.0.0.236/trunk@67676 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 21:44:58 +00:00
ducarroz%netscape.com
0c43fd5f17 Fix for bug 34563. Replace HTML elements by XUL widget
git-svn-id: svn://10.0.0.236/trunk@67675 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 21:44:55 +00:00
ducarroz%netscape.com
5474b25a61 Fix for bug 24951: Add dialog for asking user to enter a subject
Fix for bug 37422: Add string for dialog Attach Web Page


git-svn-id: svn://10.0.0.236/trunk@67674 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 21:44:52 +00:00
dprice%netscape.com
e89d130a94 not in build- mjudge
git-svn-id: svn://10.0.0.236/trunk@67673 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 20:01:29 +00:00
alecf%netscape.com
fd6f01043d don't crash when there is bad XML
git-svn-id: svn://10.0.0.236/trunk@67672 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 19:21:20 +00:00
anthonyd%netscape.com
8922af96b4 r: mjudge
table bacgrounds now sleected properly with disabled selection
(grey selection)


git-svn-id: svn://10.0.0.236/trunk@67671 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 18:56:26 +00:00
anthonyd%netscape.com
1ddf298e06 r: mjudge
disabled selection (grey selection) excludes input fields now.


git-svn-id: svn://10.0.0.236/trunk@67670 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 18:55:13 +00:00
sspitzer%netscape.com
cbcf324f47 fix warning.
git-svn-id: svn://10.0.0.236/trunk@67669 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 17:40:50 +00:00
sspitzer%netscape.com
ad106773f7 fix warning
git-svn-id: svn://10.0.0.236/trunk@67668 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 17:39:03 +00:00
sspitzer%netscape.com
e6fd04c304 ignore generated makefiles
git-svn-id: svn://10.0.0.236/trunk@67667 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 17:21:47 +00:00
mjudge%netscape.com
c383967e26 not in build yet
git-svn-id: svn://10.0.0.236/trunk@67666 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 17:09:52 +00:00
michael.lowe%bigfoot.com
8807cc67e0 Implement CSS2 resize cursors on Windows (bug 1916)
git-svn-id: svn://10.0.0.236/trunk@67665 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 15:29:32 +00:00
beard%netscape.com
fd9a28e5d7 made startsWith() static, to fix no prototype warning.
git-svn-id: svn://10.0.0.236/trunk@67664 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 14:56:31 +00:00
beard%netscape.com
941c2c4cff added debugger.cpp/h.
git-svn-id: svn://10.0.0.236/trunk@67663 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 14:55:51 +00:00
rods%netscape.com
600b95d39b now sets maxelement width/height
b=25541


git-svn-id: svn://10.0.0.236/trunk@67662 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 13:27:49 +00:00
sspitzer%netscape.com
113b269550 fix assertion reported in bug #37645.
git-svn-id: svn://10.0.0.236/trunk@67661 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 10:01:43 +00:00
sspitzer%netscape.com
98792611a0 make the subscribe dialog skinnable.
git-svn-id: svn://10.0.0.236/trunk@67660 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 09:39:15 +00:00
sspitzer%netscape.com
630e4b1264 remove inline styles. now, these dialogs are skinnable, and I can sleep.
git-svn-id: svn://10.0.0.236/trunk@67659 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 09:34:53 +00:00
sspitzer%netscape.com
31251ffdaa make the new / rename folder dialogs more skinnable. they are almost 100% skinnable, just
some inline styles to remove.


git-svn-id: svn://10.0.0.236/trunk@67658 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 09:30:32 +00:00
sspitzer%netscape.com
0863b96c6f skinability fixes for the download headers dialog.
git-svn-id: svn://10.0.0.236/trunk@67657 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 09:15:07 +00:00
alecf%netscape.com
a2ef8ae3cf first consumer of searchattribute tag - dynamically change contents based on scope
git-svn-id: svn://10.0.0.236/trunk@67656 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 08:51:43 +00:00
sspitzer%netscape.com
2e0801e136 fix warning.
git-svn-id: svn://10.0.0.236/trunk@67655 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 08:26:01 +00:00
ben%netscape.com
9d605abd96 skinnable history
git-svn-id: svn://10.0.0.236/trunk@67654 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 08:23:26 +00:00
sspitzer%netscape.com
5ea1c2df28 more wiring for imap subscribe.
git-svn-id: svn://10.0.0.236/trunk@67653 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 08:19:31 +00:00
michael.lowe%bigfoot.com
ce4b5a4956 Fix CSS2 system fonts on Windows (bug 33312). author={michael.lowe@bigfoot.com, xiaotong@us.ibm.com}, r=michael.lowe@bigfoot.com
git-svn-id: svn://10.0.0.236/trunk@67652 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 08:15:13 +00:00
pavlov%netscape.com
924357fd57 allow for multiple gc caches. new image tiling code partially uses gc cache. (new image tiling code not turned on yet)
git-svn-id: svn://10.0.0.236/trunk@67651 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 08:05:35 +00:00
ben%netscape.com
2e1957967e remove need for dup navigator.dtd files in mozilla/commercial trees
git-svn-id: svn://10.0.0.236/trunk@67650 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 08:03:24 +00:00
ben%netscape.com
935e865930 remove need for dup dtd files in mozilla/commercial trees
git-svn-id: svn://10.0.0.236/trunk@67649 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 08:03:10 +00:00
ben%netscape.com
546d5c18d2 some more PM fixes
git-svn-id: svn://10.0.0.236/trunk@67648 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 08:00:06 +00:00
ben%netscape.com
88efcf9e73 skinnability fixes
git-svn-id: svn://10.0.0.236/trunk@67647 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 07:51:02 +00:00
ben%netscape.com
8846378ba3 skinnability/localizability fixes.
git-svn-id: svn://10.0.0.236/trunk@67646 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 07:50:48 +00:00
alecf%netscape.com
a468384518 update search attribute widget to automatically repopulate itself when the scope changes
git-svn-id: svn://10.0.0.236/trunk@67645 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 07:44:44 +00:00
pavlov%netscape.com
23b406fee4 more changes to unix tiling (not turned on yet)
git-svn-id: svn://10.0.0.236/trunk@67644 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 07:38:24 +00:00
sspitzer%netscape.com
482d0aad62 the confirm migration dialog (not the autoconfirm migration, but the other one)
was coming up with the icon all stretched.  this fixes that problem.


git-svn-id: svn://10.0.0.236/trunk@67643 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 07:22:29 +00:00
pavlov%netscape.com
72d9796ff2 more work on unix tiling code
git-svn-id: svn://10.0.0.236/trunk@67642 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 07:16:41 +00:00
sspitzer%netscape.com
50005cc7dd some skinnability changes for the migration progress dialog.
still more needed.


git-svn-id: svn://10.0.0.236/trunk@67641 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 07:11:42 +00:00
alecf%netscape.com
d35d03c99d add support for <getter> and <setter> tags on properties
r=hyatt


git-svn-id: svn://10.0.0.236/trunk@67640 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 06:41:41 +00:00
sspitzer%netscape.com
8a4ee044f1 fix nasty problem that was causing us to crash. ben will take a better look at this
later.


git-svn-id: svn://10.0.0.236/trunk@67639 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 05:12:49 +00:00
cyeh%bluemartini.com
a3f4e76a86 duhhh. backout unique index change for versions table.
thanks to dave@intrec.com for catching my complete brain lock
this one.


git-svn-id: svn://10.0.0.236/trunk@67638 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 04:34:53 +00:00
ben%netscape.com
1a4ff92941 fixed js errors
git-svn-id: svn://10.0.0.236/trunk@67637 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 03:11:01 +00:00
ben%netscape.com
d13ca8acc1 editor skinnability fixes
git-svn-id: svn://10.0.0.236/trunk@67636 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 02:49:23 +00:00
ben%netscape.com
2982005e4c skinnability fixes for addrbook, mailcompose, messenger, mailnews prefpanels
git-svn-id: svn://10.0.0.236/trunk@67635 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 02:49:07 +00:00
ben%netscape.com
80220e7a92 prefwindow skinnability cleanup, string changes for verah
git-svn-id: svn://10.0.0.236/trunk@67634 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 02:47:45 +00:00
ben%netscape.com
4fbf9bcc8c added home icon, style rule performance tweaks
git-svn-id: svn://10.0.0.236/trunk@67633 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 02:44:34 +00:00
ben%netscape.com
874fa792f7 skinnable navigator
git-svn-id: svn://10.0.0.236/trunk@67632 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 02:42:22 +00:00
ben%netscape.com
1ec4383c1b skinnable preferences headers
git-svn-id: svn://10.0.0.236/trunk@67631 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 02:41:54 +00:00
ben%netscape.com
c5114b8f32 oops forgot to add this graphic
git-svn-id: svn://10.0.0.236/trunk@67630 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 02:41:11 +00:00
ben%netscape.com
3b94e5a0ea global.css tidy up, some nicer menu arrow graphics, other tweaks.
git-svn-id: svn://10.0.0.236/trunk@67629 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 02:40:55 +00:00
sspitzer%netscape.com
45b1d59aa7 finish the fix for a bad compatability bug with Typhoon news servers (and other types, too).
git-svn-id: svn://10.0.0.236/trunk@67628 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 02:39:59 +00:00
ben%netscape.com
e72d6e2f40 doh. try again... (removing 'modern' skin stuff from toolkit skin)
git-svn-id: svn://10.0.0.236/trunk@67627 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 02:38:37 +00:00
danm%netscape.com
0123217825 adding urlbarhistory for radha
git-svn-id: svn://10.0.0.236/trunk@67626 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 02:20:39 +00:00
danm%netscape.com
91bc7eb2e3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@67625 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 02:16:42 +00:00
danm%netscape.com
757a32e346 !@#!@%$#~#
git-svn-id: svn://10.0.0.236/trunk@67624 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 02:04:53 +00:00
danm%netscape.com
5ed8dbfa8e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@67623 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 01:57:31 +00:00
sspitzer%netscape.com
5fafa6fbe2 for subscribe, root the tree in null, so that it goes blank when you switch servers.
start of fix for a bad news compatibility bug with Typhoon news servers.
(rest of fix coming soon.)

Fix it so if we don't have a msg window, we use the hidden window for the parent
of the username/password dialog.

general code cleanup.


git-svn-id: svn://10.0.0.236/trunk@67622 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 00:27:23 +00:00
sspitzer%netscape.com
927a7d44b6 slight cleanup. -chat doesn't pass any args when it opens the window.
git-svn-id: svn://10.0.0.236/trunk@67621 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 00:17:45 +00:00
sford3%swbell.net
0ef1dff95f added files: mozilla/netwerk/protocol/about/src/mzAboutMozilla.cpp
git-svn-id: svn://10.0.0.236/trunk@67620 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 00:09:23 +00:00
sford3%swbell.net
221f9a223e Mozilla lives!
git-svn-id: svn://10.0.0.236/trunk@67619 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-30 00:07:00 +00:00
mjudge%netscape.com
2eb601e175 not used in the build
git-svn-id: svn://10.0.0.236/trunk@67618 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 20:29:12 +00:00
mjudge%netscape.com
31b0e13752 not used in the build.
git-svn-id: svn://10.0.0.236/trunk@67617 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 20:29:02 +00:00
rhp%netscape.com
c785b99faa NOT PART OF THE BUILD...JUST KEEPING THE TIP UP TO DATE
git-svn-id: svn://10.0.0.236/trunk@67616 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 20:17:43 +00:00
jefft%netscape.com
e80d650ac7 fixed typo & press cancel button not closing window problem
git-svn-id: svn://10.0.0.236/trunk@67615 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 16:59:11 +00:00
beard%netscape.com
69becd5ded Removed setGlobalObject(), as only the interpreter should be mucking with it after initial creation. Added getWorld(), made getICode() out of line, removed mICode since it's part of Activation record.
git-svn-id: svn://10.0.0.236/trunk@67614 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 14:44:42 +00:00
beard%netscape.com
0e9bbd2edc Implemented WITHIN, WITHOUT instructions, removed mICode from Context since it's part of Activation. No longer deleteing mActivation, just clearing it, since Activation objects are garbage collected.
git-svn-id: svn://10.0.0.236/trunk@67613 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 14:43:36 +00:00
beard%netscape.com
8211c36e77 Added JSScope::getParent().
git-svn-id: svn://10.0.0.236/trunk@67612 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 14:39:50 +00:00
beard%netscape.com
dbb69e2bd5 JSNamespace -> JSScope.
git-svn-id: svn://10.0.0.236/trunk@67611 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 14:14:28 +00:00
beard%netscape.com
cc0e9f0fbb JSValue::operator==(const JSValue&)
git-svn-id: svn://10.0.0.236/trunk@67610 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 14:13:43 +00:00
beard%netscape.com
de946232aa Added JSValue::operator==(const JSValue&), renamed JSNamespace JSScope.
git-svn-id: svn://10.0.0.236/trunk@67609 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 14:13:08 +00:00
beard%netscape.com
afb35bf33b moved kUndefinedValue to jstypes.cpp, where it belongs.
git-svn-id: svn://10.0.0.236/trunk@67608 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 14:11:27 +00:00
beard%netscape.com
660beb403e added WITHIN, WITHOUT instructions.
git-svn-id: svn://10.0.0.236/trunk@67607 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 14:10:53 +00:00
cls%seawood.org
b4e3633b13 More nsString fixes for BeOS
git-svn-id: svn://10.0.0.236/trunk@67606 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 01:14:31 +00:00
locka%iol.ie
fcb77f0d1f Added back some broken project references
Not part of build


git-svn-id: svn://10.0.0.236/trunk@67605 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 01:14:02 +00:00
locka%iol.ie
827bc6f021 Removed some cruft
Moved some CID/IID declarations here from other files
Not part of build


git-svn-id: svn://10.0.0.236/trunk@67604 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 01:13:28 +00:00
locka%iol.ie
0b2e27dcc8 Add author section to header
Not part of build


git-svn-id: svn://10.0.0.236/trunk@67603 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 01:11:34 +00:00
locka%iol.ie
2ca18e5e3d Renamed WebShellContainer deps to WebBrowserContainer
Not part of build


git-svn-id: svn://10.0.0.236/trunk@67602 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 01:09:05 +00:00
slamm%netscape.com
b50cc3c28d typo
git-svn-id: svn://10.0.0.236/trunk@67601 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 01:08:50 +00:00
locka%iol.ie
6d2b29f5c9 Made first steps in conforming to the Mozilla coding guidelines.
Did some cleanups of inconsistencies
Removed some cruft
Not part of build


git-svn-id: svn://10.0.0.236/trunk@67600 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 01:08:29 +00:00
locka%iol.ie
97898500af Renamed WebShellContainer.cpp to this
Not part of build


git-svn-id: svn://10.0.0.236/trunk@67599 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 01:06:12 +00:00
locka%iol.ie
d8562e1ff3 MSDev project for editing control
git-svn-id: svn://10.0.0.236/trunk@67598 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 00:59:08 +00:00
beard%netscape.com
8249e64a0a fixing windows bustage.
git-svn-id: svn://10.0.0.236/trunk@67597 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 00:29:56 +00:00
jefft%netscape.com
c3b85c7d3f partial fix for bug 10802 - new openSaveAttachment.xul & openSaveAttachment.js files to sync up with the spec
git-svn-id: svn://10.0.0.236/trunk@67596 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 00:26:07 +00:00
troy%netscape.com
b922f3dde8 b=36635 Fixed a problem with 'auto' margin calculation not taking into
account border/padding


git-svn-id: svn://10.0.0.236/trunk@67595 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 00:24:53 +00:00
slamm%netscape.com
dbdda455a2 Use correct netcenter url for sidebar.
git-svn-id: svn://10.0.0.236/trunk@67594 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 00:24:51 +00:00
rginda%netscape.com
efe0062655 somewhat weak debugger console hookup.
build shouldn't *look* different yet.

Moved Context::interpret() local vars into Context private, added accessors for
stuff, using JavaScript::Lexer to lex debugger commands.

Fixed sign comparison warning in icg.cpp


git-svn-id: svn://10.0.0.236/trunk@67593 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 00:23:06 +00:00
attinasi%netscape.com
232d899893 Removed the rest of the PERF_METRICS stuff that was removed when the WebShell changes were landed (the code is now in the Viewer itself).
git-svn-id: svn://10.0.0.236/trunk@67592 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 00:07:40 +00:00
alecf%netscape.com
4ae82a2b79 fix indentation in the preftree
git-svn-id: svn://10.0.0.236/trunk@67591 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-29 00:03:25 +00:00
cmanske%netscape.com
ae7bc112b6 Fixed bug 37029, strip <body> from head output string. Last checkin fixed bug 36681: put last-modified date in Page Properties
git-svn-id: svn://10.0.0.236/trunk@67590 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:39:27 +00:00
morse%netscape.com
55ef0ca0a9 bug 37534, give feedback on capture-data command
git-svn-id: svn://10.0.0.236/trunk@67589 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:39:14 +00:00
rods%netscape.com
3db9d56a60 added the menus and code to dump reflow stats when they are turned on.
git-svn-id: svn://10.0.0.236/trunk@67588 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:38:19 +00:00
rods%netscape.com
86c97e62ca adding menus for turning on/off gfx selects
git-svn-id: svn://10.0.0.236/trunk@67587 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:37:39 +00:00
cmanske%netscape.com
3d685492d0 Added last-modified date to Page Properties dialog
git-svn-id: svn://10.0.0.236/trunk@67586 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:35:36 +00:00
hyatt%netscape.com
33c7459c81 Adding support for backstop style sheets
git-svn-id: svn://10.0.0.236/trunk@67585 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:34:12 +00:00
hyatt%netscape.com
283f4ca371 Adding support for other backstop style sheets.
git-svn-id: svn://10.0.0.236/trunk@67584 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:32:51 +00:00
rods%netscape.com
f120d8187f added two additional methods for capturing and dumping of reflow stats
it also now keeps diffs between dumps


git-svn-id: svn://10.0.0.236/trunk@67583 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:32:04 +00:00
rods%netscape.com
1bc8d28b4e added two additional methods for capturing and dumping of reflow stats
git-svn-id: svn://10.0.0.236/trunk@67582 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:31:13 +00:00
rods%netscape.com
0f30221b12 when an option gets dsabled it will now notify the frame so it can be deselected
git-svn-id: svn://10.0.0.236/trunk@67581 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:29:35 +00:00
rods%netscape.com
a59a1ace9c add OptionDisabled so the nsHTMLOptionElement can notify a select that an option
has just been disabled


git-svn-id: svn://10.0.0.236/trunk@67580 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:24:59 +00:00
beard%netscape.com
f536232c7e Added jstypes.cpp
git-svn-id: svn://10.0.0.236/trunk@67579 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:10:06 +00:00
morse%netscape.com
c87d780fdb rest of fix for bug 37122, fix up xul
git-svn-id: svn://10.0.0.236/trunk@67578 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:09:23 +00:00
morse%netscape.com
8a41236a08 rest of fix for bug 37127, fix up xul
git-svn-id: svn://10.0.0.236/trunk@67577 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:06:52 +00:00
beard%netscape.com
d8d71120b0 Merged JSMap & JSObject. Introduced JSNamespace.
git-svn-id: svn://10.0.0.236/trunk@67576 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:04:43 +00:00
robinf%netscape.com
10e15432a8 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@67575 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 22:08:04 +00:00
erik%netscape.com
47c08e9884 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@67574 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 22:06:39 +00:00
erik%netscape.com
fe81115c20 fixing build bustage; temporary removal of nsStringTest.cpp
git-svn-id: svn://10.0.0.236/trunk@67573 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 22:04:57 +00:00
pavlov%netscape.com
a70e6f512e fix unix tiling code so that it runs (not turned on yet)
git-svn-id: svn://10.0.0.236/trunk@67572 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:59:33 +00:00
dcone%netscape.com
80fb5117d9 fix for mac
git-svn-id: svn://10.0.0.236/trunk@67571 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:48:44 +00:00
rods%netscape.com
4836043074 removing some rules that just got put back in for some reason, karnaze can't figure out why either
git-svn-id: svn://10.0.0.236/trunk@67570 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:43:08 +00:00
attinasi%netscape.com
54cf88372a URL of gear1.gif was wrong in the style rule for the UL LI: updated to correct location
git-svn-id: svn://10.0.0.236/trunk@67569 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:29:33 +00:00
attinasi%netscape.com
6c6204a81c Put the PERF_METRICS timing code back into Viewer: it was removed when the WebShell changes were made a while ago. r=dcone
git-svn-id: svn://10.0.0.236/trunk@67568 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:27:20 +00:00
ruslan%netscape.com
d0a82f270e Fix 21561 - force revalidation of the cache when Vary header is sent.
git-svn-id: svn://10.0.0.236/trunk@67567 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:12:29 +00:00
karnaze%netscape.com
47f205f65f new reflow/layout code for outer table to handle captions and margins. better % height handling.
row groups and rows don't include external cellspacing in there dimensions. r=troy.


git-svn-id: svn://10.0.0.236/trunk@67566 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:05:31 +00:00
amasri%netscape.com
e382a1921d *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@67565 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:05:28 +00:00
rods%netscape.com
5ff2372c82 fixes for nsString changes
git-svn-id: svn://10.0.0.236/trunk@67564 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 21:00:27 +00:00
alecf%netscape.com
7d2c40e4fc fix compose to use the "hidden" attribute since I changed common dialogs last night
git-svn-id: svn://10.0.0.236/trunk@67563 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:58:50 +00:00
alecf%netscape.com
9b1a279e92 fix common dialogs where button3 and button4 are used, such as in editor
git-svn-id: svn://10.0.0.236/trunk@67561 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:55:44 +00:00
cls%seawood.org
e4b9239694 nsString fixes for BeOS
git-svn-id: svn://10.0.0.236/trunk@67560 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:50:47 +00:00
dcone%netscape.com
06552de18d Moving the curve drawing into the nsRenderingContextImpl class.
git-svn-id: svn://10.0.0.236/trunk@67559 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:46:40 +00:00
attinasi%netscape.com
b58f73f0cf Made table backgrounds draw in NavQuirks as well as Standard mode. r=karnaze b=34838
git-svn-id: svn://10.0.0.236/trunk@67558 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:40:17 +00:00
alecf%netscape.com
c0cf08d396 rev the selectattribute popup to start adding some useful attributes
git-svn-id: svn://10.0.0.236/trunk@67557 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:38:29 +00:00
ssu%netscape.com
5b49b5cfa4 fixed problem with redirect.ini being deleted when user canceled download.
When redirect.ini was deleted, it cause the download agent to start its
download process from the first file when it was restarted.

fixed 33357: installer can no longer be run while a copy is already running.


git-svn-id: svn://10.0.0.236/trunk@67556 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:37:56 +00:00
alecf%netscape.com
6b8401aef9 fix the progid for the validity manager so I don't have to escape strings in XBL
git-svn-id: svn://10.0.0.236/trunk@67555 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:37:53 +00:00
danm%netscape.com
58b3a99c0c add popup and popupset atoms. bug 33675
git-svn-id: svn://10.0.0.236/trunk@67554 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:33:52 +00:00
granrose%netscape.com
2572c1148a Added -c,--component option to pkgcp.pl so that you can specify what components to copy from the packages-* file rather than having to copy them all.
git-svn-id: svn://10.0.0.236/trunk@67553 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:32:23 +00:00
danm%netscape.com
4c82852387 implement _child popup content. bug 33675. code=hyatt
git-svn-id: svn://10.0.0.236/trunk@67552 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:31:26 +00:00
danm%netscape.com
d66fbc869b guard against extra release of timer object when one-shot timers are cleared out during execution of a timer. bug 35074.
git-svn-id: svn://10.0.0.236/trunk@67551 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:28:13 +00:00
radha%netscape.com
6b5382b158 Add urlbarhistory component to be built
git-svn-id: svn://10.0.0.236/trunk@67550 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:27:38 +00:00
rods%netscape.com
d9c4ca2cf5 now calculates 1, 2 & 3 click counts correctly.
b=15095


git-svn-id: svn://10.0.0.236/trunk@67549 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:27:18 +00:00
radha%netscape.com
53bb1a5418 Initial checkin for urlbar history component
git-svn-id: svn://10.0.0.236/trunk@67548 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:25:25 +00:00
rods%netscape.com
62e15bf5cf change added quotes around "file'
removed several unneeded rule for the select
added !important to -moz-option-selected attrs
b=36964, 25869


git-svn-id: svn://10.0.0.236/trunk@67547 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:24:35 +00:00
pavlov%netscape.com
4f9e44104c patch from puetzk@iastate.edu to fix but 20496.
git-svn-id: svn://10.0.0.236/trunk@67546 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:14:05 +00:00
putterman%netscape.com
70f298df94 You can now select a message or folder from a msgWindow.
git-svn-id: svn://10.0.0.236/trunk@67545 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:10:36 +00:00
pavlov%netscape.com
ffafe3d68f additional fixes for bug #37352. reduce region creation/mallocing
git-svn-id: svn://10.0.0.236/trunk@67544 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:08:16 +00:00
pavlov%netscape.com
2c6d954267 fix nsfilespecwithui problems
git-svn-id: svn://10.0.0.236/trunk@67543 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 20:07:29 +00:00
tara%tequilarista.org
9732f62d8f Fix for bug #1105--no more annoying blank quips
git-svn-id: svn://10.0.0.236/trunk@67542 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 18:51:11 +00:00
slamm%netscape.com
76466123dc Fix support for multiple trees on quickparse.
git-svn-id: svn://10.0.0.236/trunk@67541 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 18:27:16 +00:00
slamm%netscape.com
ad9ed735c3 typo
git-svn-id: svn://10.0.0.236/trunk@67540 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 16:00:39 +00:00
rginda%netscape.com
fab5dad791 80 column nit picked, comment fixed
git-svn-id: svn://10.0.0.236/trunk@67539 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 15:32:54 +00:00
ducarroz%netscape.com
d3ecd81753 Fix for bug 37435. We need to set the textfield value using both .value and setAttribute('value') else we wont be able to query the value of invisible textfield.
git-svn-id: svn://10.0.0.236/trunk@67538 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 14:52:02 +00:00
cmanske%netscape.com
42907c7a27 Added method to select textfield. Fixed error in pixel/percent menulist initialization
git-svn-id: svn://10.0.0.236/trunk@67537 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 14:41:04 +00:00
morse%netscape.com
ba7d41a6f0 bug 37133, remove change-password from UI
git-svn-id: svn://10.0.0.236/trunk@67536 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 14:14:09 +00:00
morse%netscape.com
50c20ca4cd bug 37127, partial fix of xul for wallet editor
git-svn-id: svn://10.0.0.236/trunk@67535 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 14:07:07 +00:00
cmanske%netscape.com
97fa4e7729 More editor CSS and XUL cleanup. Use grid to control button widths in dialogs. [Grids rock!]. New text for Edit Mode buttons
git-svn-id: svn://10.0.0.236/trunk@67534 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 14:06:34 +00:00
jst%netscape.com
b1edeeb86a Hooking up document.getSelection() for html documents to return a string so that we're compatible with 4.x.
git-svn-id: svn://10.0.0.236/trunk@67533 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 14:05:45 +00:00
morse%netscape.com
8f8eab8ede remove erroneous line
git-svn-id: svn://10.0.0.236/trunk@67532 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 14:05:38 +00:00
morse%netscape.com
d33839cf5c bug 37122, partial fix of xul for cookieviewer
git-svn-id: svn://10.0.0.236/trunk@67531 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 14:05:06 +00:00
morse%netscape.com
4e5ae2f803 bug 37120, fix up xul for signonviewer
git-svn-id: svn://10.0.0.236/trunk@67530 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 14:04:12 +00:00
morse%netscape.com
48a1d3f69a bug 36114, wrong title on wallet previewer
git-svn-id: svn://10.0.0.236/trunk@67529 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 14:03:13 +00:00
jst%netscape.com
a51e761fc4 Hooking up window.getSelection() to return a selection object.
git-svn-id: svn://10.0.0.236/trunk@67528 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 14:02:29 +00:00
jst%netscape.com
24cb527be6 Make nsSelection::ToString(); do the right thing, now it uses the document encoder to create the string representation of the selection. r=mjudge&akkana (before I did a string API change).
git-svn-id: svn://10.0.0.236/trunk@67527 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:58:08 +00:00
rhp%netscape.com
4981e1c2c0 NOT PART OF THE BUILD...nothing to see here, just move along...
git-svn-id: svn://10.0.0.236/trunk@67526 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:56:54 +00:00
beard%netscape.com
6912fa0d4b Don't print BRANCH operands.
git-svn-id: svn://10.0.0.236/trunk@67525 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:46:01 +00:00
beard%netscape.com
1eb2c54f7f tightened up spacing in printOperands(), changed GenericBranch.printOperands() to conditionally print condition register contents.
git-svn-id: svn://10.0.0.236/trunk@67524 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:44:59 +00:00
beard%netscape.com
3570ae95ce tightened up spacing in printOperands().
git-svn-id: svn://10.0.0.236/trunk@67523 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:43:49 +00:00
brade%netscape.com
7fcdb006e6 fix bug #35184; give urlbar focus so that the editor is activated and d&d can work properly
git-svn-id: svn://10.0.0.236/trunk@67522 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:33:22 +00:00
beard%netscape.com
d1a4dfc205 Added Tracer to testFunctionCall().
git-svn-id: svn://10.0.0.236/trunk@67521 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:31:39 +00:00
beard%netscape.com
d3a31f301a const ArgList& makes gcc happy.
git-svn-id: svn://10.0.0.236/trunk@67520 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:25:57 +00:00
beard%netscape.com
4a89820d17 Added jstypes.o
git-svn-id: svn://10.0.0.236/trunk@67519 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:25:24 +00:00
beard%netscape.com
4e9133e52e added ArgList helper struct to print Call operands, regenerated printOperands() methods to reduce warnings.
git-svn-id: svn://10.0.0.236/trunk@67518 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:20:26 +00:00
beard%netscape.com
882bdc1eb3 operator<< (Formatter& f, ArgList& al)
git-svn-id: svn://10.0.0.236/trunk@67517 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:18:03 +00:00
beard%netscape.com
26dcdf733f support for printing ArgLists.
git-svn-id: svn://10.0.0.236/trunk@67516 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:17:35 +00:00
beard%netscape.com
4af5b43403 Unused.
git-svn-id: svn://10.0.0.236/trunk@67515 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 13:16:23 +00:00
mccabe%netscape.com
6da6024f35 Fix 13413 - Require that the targets of length_is attributes have unsigned long type. There were a number of violations of this in the tree, so it turns out this was a useful one. Also add checks for missing parameters, length_is parameters that point to themselves, etc.
Fix 8833 - Allow typedefs in const declarations.

Fix several warnings.

Remove a huge chunk of #if 0 code in in xpidl_typelib.c (that had accumulated subsequent changes!)


git-svn-id: svn://10.0.0.236/trunk@67514 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 11:14:29 +00:00
cls%seawood.org
e807b32e72 nsString fixes for xmlterm
git-svn-id: svn://10.0.0.236/trunk@67513 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 10:55:20 +00:00
mccabe%netscape.com
5adc001389 change several IDL parameters to be unsigned, to work better with length_is, size_is. Preperatory to requiring unsigned in xpidl, fixing 13413
git-svn-id: svn://10.0.0.236/trunk@67512 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 10:51:52 +00:00
cls%seawood.org
29e579028f Made sure that sub-modules use the date option when MOZ_CO_DATE is set.
Made sure CONFIGURE_ENV_ARGS were passed to configure.


git-svn-id: svn://10.0.0.236/trunk@67511 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 10:33:50 +00:00
pierre%netscape.com
8be7e09c16 35261. Implement :last-node (P and Hx tags inside a cell do not collapse the cell). Change TD to collapse the bottom margin on the last-node.
git-svn-id: svn://10.0.0.236/trunk@67510 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 10:02:12 +00:00
mwelch%netscape.com
bc0989014f Applying Mac changes
git-svn-id: svn://10.0.0.236/trunk@67509 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 09:35:09 +00:00
mwelch%netscape.com
a50b587b72 Adding Mac build information. Project file is merely a placeholder right now; serious work remains to be done here.
git-svn-id: svn://10.0.0.236/trunk@67508 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 09:28:54 +00:00
mwelch%netscape.com
d452d50cfb Adding Mac files, primarily as placeholders
git-svn-id: svn://10.0.0.236/trunk@67507 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 09:14:36 +00:00
cls%seawood.org
e07c399878 nsString fixes for mathml.
git-svn-id: svn://10.0.0.236/trunk@67506 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 08:55:55 +00:00
pierre%netscape.com
cdcf7d8bca 9876. Implemented CSSStyleDeclaration removeProperty. r=jst.
git-svn-id: svn://10.0.0.236/trunk@67505 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 08:35:40 +00:00
alecf%netscape.com
268e43c928 add skeleton implementations of search attribute XBL (doesn't work right now)
git-svn-id: svn://10.0.0.236/trunk@67504 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 08:25:47 +00:00
alecf%netscape.com
7499719e4e add the cool hypnotizing background to the messenger toolbar
git-svn-id: svn://10.0.0.236/trunk@67503 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 08:23:07 +00:00
alecf%netscape.com
c602d56e64 do ben a favor and make a bunch of shared stuff skinnable!
git-svn-id: svn://10.0.0.236/trunk@67502 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 08:20:11 +00:00
sspitzer%netscape.com
bd06626120 fix assertion, reported by mjudge.
git-svn-id: svn://10.0.0.236/trunk@67501 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 08:09:57 +00:00
cmanske%netscape.com
264e9cc62c Tweak EdImageProps.js
git-svn-id: svn://10.0.0.236/trunk@67500 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 07:57:29 +00:00
cmanske%netscape.com
05e969a983 Fixed AdvancedEditButton in ImageProps dialog
git-svn-id: svn://10.0.0.236/trunk@67499 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 07:54:58 +00:00
mjudge%netscape.com
7f55d84c40 fixed str bustage.
git-svn-id: svn://10.0.0.236/trunk@67498 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 07:51:09 +00:00
cmanske%netscape.com
d75948bfd1 Fixed EdHLineProps.xul and EdColorProps.xul. Cleaned up AdvancedEdit buttons
git-svn-id: svn://10.0.0.236/trunk@67497 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 07:34:48 +00:00
ruslan%netscape.com
5229d9bde7 Add necko resource bundle manifests to MAC build, r=davidm
git-svn-id: svn://10.0.0.236/trunk@67492 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:38:26 +00:00
ruslan%netscape.com
240e0d8b74 Uncomment http preferences (doesn't change any defaults) to make
them recognizable with right values by pref UI


git-svn-id: svn://10.0.0.236/trunk@67491 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:37:31 +00:00
ruslan%netscape.com
2a5e84b4e0 Turn on nsHTTPFinalListener to fix various notification bugs, r=gagan. Make
disk cache classes implement threadsafe_isupports, r=davidm, add placeholder
for resource bundles for necko.


git-svn-id: svn://10.0.0.236/trunk@67490 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:36:31 +00:00
ruslan%netscape.com
8165cdeffb Hook up http preferences to pref_debug window
git-svn-id: svn://10.0.0.236/trunk@67489 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:36:29 +00:00
hyatt%netscape.com
5ae96e8d73 Tweak.
git-svn-id: svn://10.0.0.236/trunk@67488 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:35:49 +00:00
mjudge%netscape.com
e7664ef7d7 small change to the way you get selection
git-svn-id: svn://10.0.0.236/trunk@67487 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:22:07 +00:00
mjudge%netscape.com
1cc1a29d13 change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument
git-svn-id: svn://10.0.0.236/trunk@67486 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:21:31 +00:00
mjudge%netscape.com
aacbb20c68 massive change to stop the editor fromknowing about nsIPresShell or nsIDocument
git-svn-id: svn://10.0.0.236/trunk@67485 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:20:36 +00:00
nhotta%netscape.com
6ed5ffdd71 Added a pref UI for mailnews.send_default_charset, bug 32802.
git-svn-id: svn://10.0.0.236/trunk@67484 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:18:50 +00:00
hyatt%netscape.com
9469cab582 Fix crash on dynamic skin switch.
git-svn-id: svn://10.0.0.236/trunk@67483 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 06:17:47 +00:00
cmanske%netscape.com
e196258f67 Fixed Composer bugs 287475, 36937, 36981, 36996. More massive XUL skin conversion.
git-svn-id: svn://10.0.0.236/trunk@67482 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 05:59:16 +00:00
cmanske%netscape.com
c56cb4bb36 Converting message compose to use new xul widgets on toolbar. Removing 'edit HTML source'. r=ducarroz
git-svn-id: svn://10.0.0.236/trunk@67481 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 05:57:06 +00:00
beard%netscape.com
9523bfea1b regenerated dependencies
git-svn-id: svn://10.0.0.236/trunk@67480 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 05:46:22 +00:00
beard%netscape.com
b8602f2475 tracing now prints instruction operands.
git-svn-id: svn://10.0.0.236/trunk@67479 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 05:44:38 +00:00
beard%netscape.com
76df7ba704 using JSValue::tag to do simple operand validation.
git-svn-id: svn://10.0.0.236/trunk@67478 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 05:43:33 +00:00
jband%netscape.com
0064a35eeb not part of build
git-svn-id: svn://10.0.0.236/trunk@67477 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 05:42:57 +00:00
beard%netscape.com
0ba9fd66f0 forward declaring ICodeModule, to break circularity. JSValue is now a tagged union.
git-svn-id: svn://10.0.0.236/trunk@67476 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 05:42:46 +00:00
beard%netscape.com
4fb576a938 Instruction::count(), Instruction::printOperands(), plus newly generated instruction classes.
git-svn-id: svn://10.0.0.236/trunk@67475 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 05:41:54 +00:00
beard%netscape.com
beaa9014f4 added jstypes.cpp
git-svn-id: svn://10.0.0.236/trunk@67474 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 05:40:42 +00:00
beard%netscape.com
4c3078dbdf operator<<(Formatter&, const JSValue&)
git-svn-id: svn://10.0.0.236/trunk@67473 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 05:40:16 +00:00
beard%netscape.com
c12f1ab4b4 generates printOperands()
git-svn-id: svn://10.0.0.236/trunk@67472 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 05:39:27 +00:00
beard%netscape.com
87f99bcba5 runs gencode.pl with MW Perl.
git-svn-id: svn://10.0.0.236/trunk@67471 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 05:39:04 +00:00
sspitzer%netscape.com
9dd26ceee3 more fixes.
git-svn-id: svn://10.0.0.236/trunk@67470 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 04:23:05 +00:00
sspitzer%netscape.com
17f63bc50f more bustage fixage
git-svn-id: svn://10.0.0.236/trunk@67469 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 04:07:58 +00:00
sspitzer%netscape.com
1ff18e7542 more bustage fixed. help from scc.
git-svn-id: svn://10.0.0.236/trunk@67468 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 04:04:56 +00:00
sspitzer%netscape.com
3d55654f98 more bustage fixage. help from scc.
git-svn-id: svn://10.0.0.236/trunk@67467 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 04:01:18 +00:00
sspitzer%netscape.com
33814334bb fix bustage. help from scc.
git-svn-id: svn://10.0.0.236/trunk@67466 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 03:59:34 +00:00
sspitzer%netscape.com
1332bc36fd fix the build.
git-svn-id: svn://10.0.0.236/trunk@67465 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 03:53:57 +00:00
mjudge%netscape.com
dac4122cee i dont believe it. more fixes to str
git-svn-id: svn://10.0.0.236/trunk@67464 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 03:46:32 +00:00
mjudge%netscape.com
8cb1961b4f another fix...
git-svn-id: svn://10.0.0.236/trunk@67463 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 02:57:24 +00:00
waldemar%netscape.com
5544e9ee1d Changed attributes and 'language' statement syntax, added interfaces, and removed ^*, ^?, |*, and |?.
git-svn-id: svn://10.0.0.236/trunk@67462 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 02:34:14 +00:00
rginda%netscape.com
a8bfb0a422 don't generate print_args if super_has_print
comment fixes


git-svn-id: svn://10.0.0.236/trunk@67461 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 02:33:36 +00:00
waldemar%netscape.com
7391d11015 Changed period to dot
git-svn-id: svn://10.0.0.236/trunk@67460 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 02:31:41 +00:00
waldemar%netscape.com
7288667828 Fixed syntax of (bottom)
git-svn-id: svn://10.0.0.236/trunk@67459 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 02:30:44 +00:00
waldemar%netscape.com
ca2d0fdbb8 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@67458 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 02:30:19 +00:00
mjudge%netscape.com
d3ae26b9a4 str bustage
git-svn-id: svn://10.0.0.236/trunk@67457 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 02:27:04 +00:00
rginda%netscape.com
f2d467d84d moved comment so it made more sense
git-svn-id: svn://10.0.0.236/trunk@67456 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 02:26:14 +00:00
beard%netscape.com
0fc16a2fb9 reordered inheritance graph of Linkage.
git-svn-id: svn://10.0.0.236/trunk@67455 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 02:23:08 +00:00
rginda%netscape.com
3708c97e3c printarg stubbed out
git-svn-id: svn://10.0.0.236/trunk@67454 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 02:20:23 +00:00
sspitzer%netscape.com
f0659c6849 skin re-org
git-svn-id: svn://10.0.0.236/trunk@67453 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 02:03:45 +00:00
sspitzer%netscape.com
b3abcadf67 skin re-org.
git-svn-id: svn://10.0.0.236/trunk@67452 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 02:02:27 +00:00
beard%netscape.com
70f65a5092 testProto()
git-svn-id: svn://10.0.0.236/trunk@67451 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 01:43:03 +00:00
sspitzer%netscape.com
1eba3b6fa0 not part of the build. watch this space. good stuff coming soon.
git-svn-id: svn://10.0.0.236/trunk@67450 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 01:42:39 +00:00
pinkerton%netscape.com
360a7ef35e MORE string changes. will it ever stop...
git-svn-id: svn://10.0.0.236/trunk@67449 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 01:18:25 +00:00
varada%netscape.com
5be84665f1 fix for bug #37447 - faulty line ending in help line
git-svn-id: svn://10.0.0.236/trunk@67448 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 00:51:10 +00:00
pinkerton%netscape.com
0648807271 conversions for string. making them explicit
git-svn-id: svn://10.0.0.236/trunk@67447 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 00:46:10 +00:00
scc%netscape.com
79d6fa2d05 fix for pink
git-svn-id: svn://10.0.0.236/trunk@67446 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 00:21:44 +00:00
rogerl%netscape.com
de17d45afa try/catch exercise changes
git-svn-id: svn://10.0.0.236/trunk@67445 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 00:11:18 +00:00
pinkerton%netscape.com
5c7e4a417e missed one more
git-svn-id: svn://10.0.0.236/trunk@67444 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 00:11:07 +00:00
rogerl%netscape.com
2878990855 fixed bad constructor thing.
git-svn-id: svn://10.0.0.236/trunk@67443 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 00:10:22 +00:00
wtc%netscape.com
66c442fe8e Bugzilla bug #37240: define DebugBreak() for OS/2 for use by PR_Assert().
Thanks to snizinsk@us.ibm.com of IBM Corporation for contributing the
patch.


git-svn-id: svn://10.0.0.236/trunk@67441 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 00:01:57 +00:00
pinkerton%netscape.com
ff4bed05d3 removing nsTextAreaWidget because it was only in the opt target.
git-svn-id: svn://10.0.0.236/trunk@67440 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 23:56:04 +00:00
pinkerton%netscape.com
fb908afecc one... more... time... small string fix
git-svn-id: svn://10.0.0.236/trunk@67439 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 23:30:04 +00:00
pavlov%netscape.com
b3d5f46f13 fix runtime bustage
git-svn-id: svn://10.0.0.236/trunk@67438 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 23:28:35 +00:00
pavlov%netscape.com
1ab0700084 fix tests
git-svn-id: svn://10.0.0.236/trunk@67437 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 23:20:32 +00:00
dmose%mozilla.org
0b0b51f77a Fixed a typo that was causing Perl to abort before printing the HTML
footer when a certain database inconsistency was detected.


git-svn-id: svn://10.0.0.236/trunk@67436 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 23:12:44 +00:00
pavlov%netscape.com
ecc10455eb fix for string sillyness
git-svn-id: svn://10.0.0.236/trunk@67435 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 23:09:31 +00:00
slamm%netscape.com
2f3765a701 Revert previousstarttime to previousbuildtime. Didn't mean to check that in.
git-svn-id: svn://10.0.0.236/trunk@67434 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 23:09:26 +00:00
pavlov%netscape.com
aff715afda fix string stupidness
git-svn-id: svn://10.0.0.236/trunk@67433 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 23:08:11 +00:00
slamm%netscape.com
bf7826c69d Fix open/close state for panel.html and express=1. Encapsulate it a little better.
git-svn-id: svn://10.0.0.236/trunk@67432 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 22:56:17 +00:00
pavlov%netscape.com
3d07d7c1fe fix shrike
git-svn-id: svn://10.0.0.236/trunk@67431 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 22:52:00 +00:00
pavlov%netscape.com
9261804b73 more string love
git-svn-id: svn://10.0.0.236/trunk@67430 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 22:41:58 +00:00
pavlov%netscape.com
3ffe0c46dd string fun
git-svn-id: svn://10.0.0.236/trunk@67429 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 22:39:17 +00:00
pavlov%netscape.com
36dca2ec19 more string fun
git-svn-id: svn://10.0.0.236/trunk@67428 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 22:38:19 +00:00
pavlov%netscape.com
bb41273a8c string changes
git-svn-id: svn://10.0.0.236/trunk@67427 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 22:29:04 +00:00
pavlov%netscape.com
234de8fe77 more string fun
git-svn-id: svn://10.0.0.236/trunk@67426 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 22:24:36 +00:00
pavlov%netscape.com
c677a52a0c string fixes
git-svn-id: svn://10.0.0.236/trunk@67425 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 22:15:24 +00:00
pinkerton%netscape.com
5527c2f9b6 small fix for sting conversion. no need to convert from char* to nsCString
git-svn-id: svn://10.0.0.236/trunk@67424 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 22:14:08 +00:00
scc%netscape.com
33ed7048db making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67423 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 22:09:11 +00:00
pavlov%netscape.com
04d8edc70a new string apis
git-svn-id: svn://10.0.0.236/trunk@67422 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 22:02:28 +00:00
pinkerton%netscape.com
0b38e76633 missing string conversion for comparing AutoString with Unichar*
git-svn-id: svn://10.0.0.236/trunk@67421 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 21:58:43 +00:00
scc%netscape.com
222fa27bdc making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67420 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 21:53:50 +00:00
pavlov%netscape.com
de5ddde938 string changes
git-svn-id: svn://10.0.0.236/trunk@67419 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 21:46:26 +00:00
dac%x.cx
3b099cb1ad Add PNG support for gnuplot
git-svn-id: svn://10.0.0.236/trunk@67418 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 21:36:40 +00:00
pavlov%netscape.com
653d779a08 update to new string apis
git-svn-id: svn://10.0.0.236/trunk@67417 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 21:36:05 +00:00
dac%x.cx
33529f7fa7 Send domain with HELO
git-svn-id: svn://10.0.0.236/trunk@67416 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 21:33:14 +00:00
modgock%eng.sun.com
1001702b84 updated version strings for any impending distribution
git-svn-id: svn://10.0.0.236/trunk@67415 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 21:33:01 +00:00
scc%netscape.com
20ebb8f45e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67414 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 21:32:39 +00:00
pavlov%netscape.com
e6afdc0e31 update string apis
git-svn-id: svn://10.0.0.236/trunk@67413 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 21:28:02 +00:00
scc%netscape.com
a4e898e031 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67412 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 21:24:29 +00:00
scc%netscape.com
47f0b60fe6 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67411 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 21:09:10 +00:00
scc%netscape.com
ba4a0d48d1 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67410 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:59:12 +00:00
scc%netscape.com
e26ca7dcdc making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67409 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:50:34 +00:00
despotdaemon%netscape.com
4bb0e4d410 Pseudo-automatic update of changes made by rayw@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@67408 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:42:18 +00:00
scc%netscape.com
62b1c05b32 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67407 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:38:50 +00:00
scc%netscape.com
072da30887 making string conversions explicit; this checkin stops the back-sliding before we turn on NEW_STRING_APIS.
git-svn-id: svn://10.0.0.236/trunk@67406 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:37:54 +00:00
scc%netscape.com
04634cb6fa making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67405 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:29:56 +00:00
scc%netscape.com
d110c14712 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67404 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:22:27 +00:00
scc%netscape.com
c946ad6ca5 making string conversions explicit, and converting global static returning function to the canonical form
git-svn-id: svn://10.0.0.236/trunk@67403 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:19:17 +00:00
scc%netscape.com
68d2b8e9f4 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67402 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:08:45 +00:00
scc%netscape.com
8327846ea7 making promises work
git-svn-id: svn://10.0.0.236/trunk@67401 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 20:01:28 +00:00
scc%netscape.com
506e781f8f making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67400 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 19:49:53 +00:00
gagan%netscape.com
2ba511144a First checkin of proxy auto config interfaces. Not in the build.
git-svn-id: svn://10.0.0.236/trunk@67399 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 18:42:47 +00:00
norris%netscape.com
dd245029e8 Propagate changes from 1.21.2.3 into tip.
git-svn-id: svn://10.0.0.236/trunk@67398 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 18:39:10 +00:00
despotdaemon%netscape.com
c1aaa31b84 Pseudo-automatic update of changes made by pavel@gingerall.cz.
git-svn-id: svn://10.0.0.236/trunk@67396 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 16:53:18 +00:00
despotdaemon%netscape.com
5a6c0afaa9 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@67395 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 16:34:36 +00:00
rjc%netscape.com
3012a6055b Center customize dialog when its opened.
git-svn-id: svn://10.0.0.236/trunk@67394 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 14:36:54 +00:00
alecf%netscape.com
714bc2b1ff fix xlib bustage
git-svn-id: svn://10.0.0.236/trunk@67393 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 14:21:59 +00:00
mjudge%netscape.com
fca75e564b fix to get vc5.0 building again
git-svn-id: svn://10.0.0.236/trunk@67392 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 10:50:29 +00:00
mccabe%netscape.com
c470017373 Add console.css file; make javascript console scrollable. Fix to 35998.
git-svn-id: svn://10.0.0.236/trunk@67391 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 08:45:30 +00:00
rjc%netscape.com
687ea97750 Fix bug # 37199: small search file parsing fix.
git-svn-id: svn://10.0.0.236/trunk@67390 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 08:29:02 +00:00
mjudge%netscape.com
a8455b3f32 files not in build yet
git-svn-id: svn://10.0.0.236/trunk@67389 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 08:13:39 +00:00
pavlov%netscape.com
a3516423a3 fix for excessive mallocing of regions bug #37352
git-svn-id: svn://10.0.0.236/trunk@67388 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:58:15 +00:00
mjudge%netscape.com
24b8f29c46 ender lite checkin.
git-svn-id: svn://10.0.0.236/trunk@67387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:37:12 +00:00
waterson%netscape.com
3ea6e05838 Revert changes. They're causing problems elsewhere.
git-svn-id: svn://10.0.0.236/trunk@67386 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:01:58 +00:00
waterson%netscape.com
7932d69920 Oops. Didn't realize nscore.h was included in 'C' compilation as well. Wrap namespace baloney with #ifdef __cplusplus__. r=scc
git-svn-id: svn://10.0.0.236/trunk@67385 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 06:50:38 +00:00
waterson%netscape.com
abb5be1743 Get rid of extra operators that we can get for free by including <algorithm>. Gets rid of gcc-2.7.2.3 ambiguity problems with new string APIs, too. r=scc
git-svn-id: svn://10.0.0.236/trunk@67384 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 06:47:05 +00:00
waterson%netscape.com
3be3c2bff5 Fix memory churn caused by implicit nsString ctor.
git-svn-id: svn://10.0.0.236/trunk@67383 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 06:44:13 +00:00
waterson%netscape.com
32c86a2d7e Get rid of SetString() usages. r=scc
git-svn-id: svn://10.0.0.236/trunk@67382 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 06:39:07 +00:00
waterson%netscape.com
05ffd4174a Make the std::rel_ops namespace visible without qualification so that we can get operator!= from operator==, and operators >=, <=, and > from operator<. Needed for disambiguation with new string classes. r=scc
git-svn-id: svn://10.0.0.236/trunk@67381 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 06:37:06 +00:00
modgock%eng.sun.com
2bbcfc004f fixed java target type.
git-svn-id: svn://10.0.0.236/trunk@67380 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 06:36:18 +00:00
modgock%eng.sun.com
a1cf58f4ff Defined CALL_NOT_IN_CARBON since it was wrapping method definitions in 3.3.1 JManager that were referenced in the code.
Added an import for ControlDefinitions.h; kControlEditTextPasswordTag and kControlEditTextTextTag were defined in Controls.h in 3.2, but moved out in 3.3.1 so MRJSession.cpp was failing build.
(these are still tinderbox immune since they're not auto built)


git-svn-id: svn://10.0.0.236/trunk@67379 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 06:32:45 +00:00
leaf%mozilla.org
cbc56183d8 Automated update
git-svn-id: svn://10.0.0.236/trunk@67378 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 06:00:39 +00:00
waterson%netscape.com
541385fe5a Fix memory churn caused by implicit nsString ctor.
git-svn-id: svn://10.0.0.236/trunk@67377 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 05:53:36 +00:00
waterson%netscape.com
f2ec547d67 Add test to check whether partial template specialization works. r=scc
git-svn-id: svn://10.0.0.236/trunk@67376 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 05:52:26 +00:00
brendan%mozilla.org
3af34ae6d8 Debloat output by consolidating onmouseovers.
git-svn-id: svn://10.0.0.236/trunk@67375 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 05:41:59 +00:00
leaf%mozilla.org
22027badd7 Automated update
git-svn-id: svn://10.0.0.236/trunk@67374 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 05:30:08 +00:00
waterson%netscape.com
735ae2f5cb Add test to determine if the compiler has trouble comparing nsCOMPtr's to zero using operator==() and operator!=(). r=scc
git-svn-id: svn://10.0.0.236/trunk@67373 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 05:23:02 +00:00
waterson%netscape.com
6f3568569c Get rid of operator==(nsCOMPtr, int) usage because it fries gcc-2.7.2.3's mind with new string stuff. r=scc
git-svn-id: svn://10.0.0.236/trunk@67372 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 04:44:56 +00:00
bienvenu%netscape.com
26186d5c5f fix get running scope to return running scope
git-svn-id: svn://10.0.0.236/trunk@67371 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 04:14:51 +00:00
brendan%mozilla.org
ab1fe68877 Add TraceMalloc* native methods; allow multiple log files per site file.
git-svn-id: svn://10.0.0.236/trunk@67370 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 04:02:22 +00:00
valeski%netscape.com
c92e7d31c2 37200. text type data urls were having whitespace stripped out of them.
git-svn-id: svn://10.0.0.236/trunk@67369 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 03:55:20 +00:00
alecf%netscape.com
65a545621a fix xlib bustage
git-svn-id: svn://10.0.0.236/trunk@67368 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 03:55:06 +00:00
alecf%netscape.com
8f0db75cff add helper routine to get all valid operators for a given attribute
git-svn-id: svn://10.0.0.236/trunk@67367 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 02:29:23 +00:00
ssu%netscape.com
76a1691d91 updating install build scripts to correctly set the uninstall.exe file size. Not part of tinderbox build. would affect only windows platforms
git-svn-id: svn://10.0.0.236/trunk@67366 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 02:25:50 +00:00
alecf%netscape.com
d356ed0bbd add english versions of search attributes and properties for filters/search
git-svn-id: svn://10.0.0.236/trunk@67365 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 02:23:43 +00:00
alecf%netscape.com
8df4c47d09 make stringbundles a little more bullet-proof - don't crash when the bundle couldn't be loaded
git-svn-id: svn://10.0.0.236/trunk@67364 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 02:17:17 +00:00
hyatt%netscape.com
3a64e17e0b More XBL goodness.
git-svn-id: svn://10.0.0.236/trunk@67363 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 02:15:45 +00:00
hyatt%netscape.com
494757a73f XBL Change
git-svn-id: svn://10.0.0.236/trunk@67362 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 02:11:41 +00:00
hyatt%netscape.com
29c9e50cca Dynamic skin switching lives, baby.
git-svn-id: svn://10.0.0.236/trunk@67361 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 02:10:43 +00:00
hyatt%netscape.com
13f6b2d0af New XBL.
git-svn-id: svn://10.0.0.236/trunk@67360 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 02:08:35 +00:00
despotdaemon%netscape.com
2c1f2e3b02 Pseudo-automatic update of changes made by risto@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@67359 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 01:59:33 +00:00
cls%seawood.org
247b97c387 Rearranged CFLAGS so that mozilla includes come before system includes. Bug #37210
git-svn-id: svn://10.0.0.236/trunk@67358 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 01:38:11 +00:00
alecf%netscape.com
3d36ec997e ok, now that I actually understand how XPIDL arrays work, implement them correctly, and add a missing ADDREF that was causing memory corruption
git-svn-id: svn://10.0.0.236/trunk@67357 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 01:38:06 +00:00
rogerl%netscape.com
e626dba4ad More exception handling handling.
git-svn-id: svn://10.0.0.236/trunk@67356 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 01:27:09 +00:00
rjc%netscape.com
f83df9056a Fix bug # 37102: if its a "ftp://" URL and its a HTTP-INDEX mimetype, it has to be a directory, so ensure that the URL ends with a slash.
git-svn-id: svn://10.0.0.236/trunk@67355 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 01:17:10 +00:00
cls%seawood.org
579022dcee Removed DrawTile() stub implementation for BeOS. Thanks to justin@68k.org for the patch.
git-svn-id: svn://10.0.0.236/trunk@67354 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 01:16:19 +00:00
javi%netscape.com
721a5fcc39 Only add the hot link on cert windows if the target for the HTTP request
is a certificate resource.


git-svn-id: svn://10.0.0.236/trunk@67353 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 01:08:19 +00:00
gagan%netscape.com
51ed41e99e Fix the form posting problem. I forget the bug number... r=ruslan
git-svn-id: svn://10.0.0.236/trunk@67352 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 01:06:57 +00:00
cmanske%netscape.com
db32952cd9 Changed flex=100% to flex=1
git-svn-id: svn://10.0.0.236/trunk@67351 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 01:03:15 +00:00
slamm%netscape.com
740bd5517e Sidebar panels file url changed from sidebar-rdf.netscape.com to sidebar.netscape.com.
git-svn-id: svn://10.0.0.236/trunk@67350 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 01:02:48 +00:00
attinasi%netscape.com
d5aa4c73cb Fixed recent regression: DidLoadStyle was not being called if the status was failure, causing the parser to remain blocked forever. b=27208
git-svn-id: svn://10.0.0.236/trunk@67349 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:51:06 +00:00
leaf%mozilla.org
fb66f101d4 Automated update
git-svn-id: svn://10.0.0.236/trunk@67348 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:45:21 +00:00
waterson%netscape.com
4fd3986e26 Remove rdf:httpindex datasource from menus. r=rjc
git-svn-id: svn://10.0.0.236/trunk@67347 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:38:02 +00:00
ben%netscape.com
c72ffbba08 added some new skin files
git-svn-id: svn://10.0.0.236/trunk@67346 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:34:13 +00:00
waterson%netscape.com
2d18faeefc Move template builder 'release' to SetScriptGlobalObject() so that we'll always release the template builders regardless of whether someone else leaks the nsXULDocument object.
git-svn-id: svn://10.0.0.236/trunk@67345 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:32:02 +00:00
tor%cs.brown.edu
5a667aa264 Patch from rich.burridge@Sun.COM to remove unneeded reference to
-lCstd when using the SUNWspro5.0 compilers.  libCstd is large
and only provided in static form, so this change causes the
distribution directory to shrink by about a factor of two.  r=tor


git-svn-id: svn://10.0.0.236/trunk@67344 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:32:01 +00:00
mstoltz%netscape.com
dae11b0075 Removed getOwner() function from nsIStreamLoader. getChannel() now fulfills this function.
git-svn-id: svn://10.0.0.236/trunk@67343 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:30:27 +00:00
nhotta%netscape.com
423b78d26f Changed to use "pre" instead of "div" in case of plain text for the font setting, bug 37299.
git-svn-id: svn://10.0.0.236/trunk@67342 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:26:24 +00:00
danm%netscape.com
0b5cd59030 synch with widget/nsWindow.cpp rev 3.272. code by roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@67341 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:25:54 +00:00
danm%netscape.com
0691d1e6d3 synch with nsWindow.cpp rev 3.272. code by roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@67340 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:25:01 +00:00
danm%netscape.com
5c72c7fd00 use a dialog windproc for dialog windows. code by roc+moz@cs.cmu.edu
git-svn-id: svn://10.0.0.236/trunk@67339 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:23:18 +00:00
alecf%netscape.com
e1fd66e141 reduce some dependancies and bloat (this stuff no longer used)
git-svn-id: svn://10.0.0.236/trunk@67338 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:15:15 +00:00
nhotta%netscape.com
20a1b1cfcc Changed to use NS_IMPL_THREADSAFE_ISUPPORTS.
git-svn-id: svn://10.0.0.236/trunk@67337 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:14:06 +00:00
dbaron%fas.harvard.edu
6b88c55779 Fix bugs 12398, 12450, and 35215, and comment out some unused code. r=pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67336 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:12:25 +00:00
dbaron%fas.harvard.edu
c266c49303 Fix bug 37082 - attribute selector matching for ~= and |= backwards. r=pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@67335 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:07:12 +00:00
javi%netscape.com
ad78f2d7f0 Whomping my changes for imporoved cert UI and cert lookup over LDAP onto
mozilla.

Make P12 unicode conversion switch bytes to Network Byte Order.  Mozilla
localization doesn't do that for us.


git-svn-id: svn://10.0.0.236/trunk@67334 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 00:03:33 +00:00
dmose%mozilla.org
c895d262f9 added prerequisite cvs patch and modified README to reflect this
git-svn-id: svn://10.0.0.236/trunk@67333 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:59:15 +00:00
javi%netscape.com
a9c201e451 Automaticallly pre-select all e-mail addresses that the user doesn't have.
git-svn-id: svn://10.0.0.236/trunk@67332 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:59:14 +00:00
alecf%netscape.com
f2f112a7d5 add the validity manager to the factory so we can retrieve it as a service
git-svn-id: svn://10.0.0.236/trunk@67331 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:56:51 +00:00
javi%netscape.com
8bc8a0cf41 Trim down the number of libraries we link against.
git-svn-id: svn://10.0.0.236/trunk@67330 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:55:52 +00:00
javi%netscape.com
222b7d4c9b Add spiffy new UI for cert viewing. Let's you walk the chain. Also
enhancements to search look up through LDAP.


git-svn-id: svn://10.0.0.236/trunk@67329 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:53:51 +00:00
javi%netscape.com
c736d5e4b3 coreconf lives in a new directory now.
git-svn-id: svn://10.0.0.236/trunk@67327 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:51:47 +00:00
dmose%mozilla.org
eef9bebdd3 added lots of info
git-svn-id: svn://10.0.0.236/trunk@67326 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:51:39 +00:00
pavlov%netscape.com
a4baa9c869 fix getting screen depth that pink screwed up the other day
git-svn-id: svn://10.0.0.236/trunk@67324 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:49:35 +00:00
norris%netscape.com
63dfd1bdb3 Allow multiple uses of importClass on the same class.
git-svn-id: svn://10.0.0.236/trunk@67323 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:47:15 +00:00
alecf%netscape.com
67fba5aa2a scriptify and COMify the validity manager and tables - make the validity manager into a service instead of a global variable
git-svn-id: svn://10.0.0.236/trunk@67322 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:41:45 +00:00
morse%netscape.com
d6c6dcb9ad restore psm again but this time controlled by a pref
git-svn-id: svn://10.0.0.236/trunk@67321 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:41:35 +00:00
attinasi%netscape.com
f0e756bc78 Eliminated a wasteful duplication of a string. Should reduce bloat substantially. r=pierre
git-svn-id: svn://10.0.0.236/trunk@67320 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:36:45 +00:00
norris%netscape.com
d1cd56f4c1 Fix bug 37317.
git-svn-id: svn://10.0.0.236/trunk@67319 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:33:25 +00:00
jst%netscape.com
3a55dd1f0f Initialize mRefCnt in the constructor, duh!
git-svn-id: svn://10.0.0.236/trunk@67318 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:24:30 +00:00
waterson%netscape.com
e9f6768fc1 Turn on 'add' menu in sidebar. r=slamm
git-svn-id: svn://10.0.0.236/trunk@67317 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:24:05 +00:00
waterson%netscape.com
4ec70ed6ab Bug 37280 (workaround). Refresh sidebars *before* flushing the panels datasource to deal with the fact that there's a leak. r=slamm
git-svn-id: svn://10.0.0.236/trunk@67316 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:23:47 +00:00
jst%netscape.com
9b4ef67be1 Fix crash when modifying a stylesheet through the DOM before the document is displayed.
git-svn-id: svn://10.0.0.236/trunk@67315 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 23:22:06 +00:00
norris%netscape.com
b443eb6d5e Fix NullPointerException caused by clearing cache
git-svn-id: svn://10.0.0.236/trunk@67314 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 22:48:48 +00:00
ssu%netscape.com
d6f29e64ba fixing the makefile to build without having set WINOS explicitly
git-svn-id: svn://10.0.0.236/trunk@67313 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 22:47:45 +00:00
jefft%netscape.com
f58d235d03 fixed bug 35039 - POP: Shouldn't got an Alert when canceling login dialog
git-svn-id: svn://10.0.0.236/trunk@67312 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 22:31:59 +00:00
alecf%netscape.com
b491534779 add CIDs and ProgIDs for search validity manager
git-svn-id: svn://10.0.0.236/trunk@67311 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 22:26:45 +00:00
alecf%netscape.com
e012532b1d fix extra warning
git-svn-id: svn://10.0.0.236/trunk@67310 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 22:18:38 +00:00
alecf%netscape.com
be8d990f03 fix a whole bunch of warnings and add more assertions
git-svn-id: svn://10.0.0.236/trunk@67309 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 22:14:00 +00:00
beard%netscape.com
1977ec8556 oops.
git-svn-id: svn://10.0.0.236/trunk@67308 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 22:10:20 +00:00
beard%netscape.com
1ff7c57804 removed JSMap::operator[], added set/getPrototype().
git-svn-id: svn://10.0.0.236/trunk@67307 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 22:06:17 +00:00
alecf%netscape.com
0fe44539de added files: mozilla/mailnews/base/search/public/nsIMsgSearchValidityManager.idl, mozilla/mailnews/base/search/public/nsIMsgSearchValidityTable.idl
git-svn-id: svn://10.0.0.236/trunk@67305 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 22:03:49 +00:00
alecf%netscape.com
bec1196da6 add search validity table/manager to windows build
git-svn-id: svn://10.0.0.236/trunk@67304 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 22:01:44 +00:00
alecf%netscape.com
6f6183a1ff add validity manager stuff to unix build
git-svn-id: svn://10.0.0.236/trunk@67303 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:54:37 +00:00
alecf%netscape.com
989e23c3ce add scriptable interfaces to the search validity manager and tables (not yet part of build)
git-svn-id: svn://10.0.0.236/trunk@67302 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:54:18 +00:00
erik%netscape.com
76518adf54 bug 27164; added new font height APIs, currently only on Unix; will be
added to other platforms later


git-svn-id: svn://10.0.0.236/trunk@67301 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:53:26 +00:00
erik%netscape.com
f9ba3f64eb bug 27164; added new font height APIs for PostScript module
git-svn-id: svn://10.0.0.236/trunk@67300 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:52:05 +00:00
erik%netscape.com
9b37656bf7 bug 27164; added new font height APIs for Unix (GTK) version
git-svn-id: svn://10.0.0.236/trunk@67299 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:51:11 +00:00
alecf%netscape.com
0a0605e2dc skinify the wizard overlays
git-svn-id: svn://10.0.0.236/trunk@67298 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:50:49 +00:00
beard%netscape.com
6fd78a8973 oops getProperty() can't be const unless map.find() is used everywhere.
git-svn-id: svn://10.0.0.236/trunk@67297 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:48:04 +00:00
av%netscape.com
5981bef8dd Fixing mismatched addref/release pair
git-svn-id: svn://10.0.0.236/trunk@67296 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:47:45 +00:00
ducarroz%netscape.com
11a8d41f13 Fix autocomplete dll name to be 8.3. That will fix problem that autocomplete dll isn't installed on Windows.
git-svn-id: svn://10.0.0.236/trunk@67295 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:44:21 +00:00
javi%netscape.com
d178c04839 Add a file that can pretty print DER blobs.
git-svn-id: svn://10.0.0.236/trunk@67294 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:39:28 +00:00
beard%netscape.com
0b93de01f3 Using getProperty/setProperty rather than JSMap::operator[]. This follows the prototype chain.
git-svn-id: svn://10.0.0.236/trunk@67293 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:38:14 +00:00
dougt%netscape.com
5a4918cdf1 Patch from Tim Rowley <tor@cs.brown.edu>.
From his email:

Your checkin v1.9 to nsDirectoryService.cpp broke a SUNWspro4.2
debug build of mozilla, causing xpcom to fail initializing.  The
root problem was that nsDirectoryService::Create() was failing.
This appears to a mistake caused by a shadowed copy of the "rv"
variable in that method.  The fix below causes the SUNWspro build
to start up normally.

Not sure why this didn't break other platforms.


git-svn-id: svn://10.0.0.236/trunk@67292 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:37:45 +00:00
putterman%netscape.com
df2a2222ee r=mscott. Fixes 37296. can now add a new card to the preselected ab.
git-svn-id: svn://10.0.0.236/trunk@67291 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:33:44 +00:00
cata%netscape.com
ec7eec75f2 New pref added.
git-svn-id: svn://10.0.0.236/trunk@67290 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:31:27 +00:00
cata%netscape.com
61111423e6 Dynamic charset menu for mail edit.
git-svn-id: svn://10.0.0.236/trunk@67289 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:29:51 +00:00
erik%netscape.com
31884f29d1 changed names of interfaces (Language -> LanguageAtom)
git-svn-id: svn://10.0.0.236/trunk@67288 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:29:50 +00:00
alecf%netscape.com
504215c8d0 fix indentation on account tree
git-svn-id: svn://10.0.0.236/trunk@67287 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:29:00 +00:00
alecf%netscape.com
1b0e1d04b9 add cool headers to the top of each account manager page
git-svn-id: svn://10.0.0.236/trunk@67286 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:28:24 +00:00
slamm%netscape.com
ef73f85acf Fix declaration order to quiet build warning
git-svn-id: svn://10.0.0.236/trunk@67285 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:27:52 +00:00
beard%netscape.com
fdf82b170e added JSMap::setProperty()/getProperty(), and a prototype field.
git-svn-id: svn://10.0.0.236/trunk@67284 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:27:44 +00:00
alecf%netscape.com
99a12ff5ee fix some minor wizard bugs
git-svn-id: svn://10.0.0.236/trunk@67282 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:27:11 +00:00
cata%netscape.com
6b9dc1370a Label name changed.
git-svn-id: svn://10.0.0.236/trunk@67281 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:26:18 +00:00
pnunn%netscape.com
7480761ea9 bug#29643: add new method FlushImgBuffer(). pnunn. r:valeski
git-svn-id: svn://10.0.0.236/trunk@67280 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:25:53 +00:00
robinf%netscape.com
64b02c90bf *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@67279 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:25:11 +00:00
cata%netscape.com
dbdb1f0d16 Fixes on the Charset Menu.
git-svn-id: svn://10.0.0.236/trunk@67278 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:25:00 +00:00
pnunn%netscape.com
b60b36657a bug#29643: add new method. pnunn. r: valeski
git-svn-id: svn://10.0.0.236/trunk@67276 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:24:32 +00:00
ssu%netscape.com
79ba9f8985 cleaning up the install scripts. will not affect tinderbox builds.
git-svn-id: svn://10.0.0.236/trunk@67275 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:23:25 +00:00
cata%netscape.com
80ce30d28f Comment.
git-svn-id: svn://10.0.0.236/trunk@67274 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:23:09 +00:00
pnunn%netscape.com
a53e0ce472 bug#29643: check in for valeski. r: pnunn.
git-svn-id: svn://10.0.0.236/trunk@67273 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:22:15 +00:00
cata%netscape.com
2e230e0a06 Dynamic charset menu for mail compose.
git-svn-id: svn://10.0.0.236/trunk@67272 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:21:35 +00:00
alecf%netscape.com
44b3d09c53 fix for #37205 - switch back to "pop3" from "pop"
git-svn-id: svn://10.0.0.236/trunk@67271 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:21:12 +00:00
ddrinan%netscape.com
8fea996325 Changes for the NSS coreconf landing
git-svn-id: svn://10.0.0.236/trunk@67270 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:17:32 +00:00
ddrinan%netscape.com
2c454aff3e Initial checkin
git-svn-id: svn://10.0.0.236/trunk@67269 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:17:02 +00:00
tor%cs.brown.edu
658f8643db Include <time.h> so glib's definition of "struct tm" doesn't
confuse SUNWspro5.0.


git-svn-id: svn://10.0.0.236/trunk@67266 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:10:05 +00:00
nhotta%netscape.com
8a7f72f74b Added "mailnews.language_sensitive_font", now mailnews listen the font pref setting, bug 26182.
git-svn-id: svn://10.0.0.236/trunk@67265 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:08:15 +00:00
alecf%netscape.com
9644dca914 more skinning work, plus beautify the wizard header
git-svn-id: svn://10.0.0.236/trunk@67264 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:07:46 +00:00
alecf%netscape.com
62fbfe84f3 re-add strings that got whacked during prefwindow landing
git-svn-id: svn://10.0.0.236/trunk@67263 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:03:25 +00:00
evaughan%netscape.com
0fc64ebc07 Fixed merge error. Added rods performance code back in.
git-svn-id: svn://10.0.0.236/trunk@67262 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:01:57 +00:00
akkana%netscape.com
cd8643349b Better fix for 37059: initial space should be retained in selection-only case.
git-svn-id: svn://10.0.0.236/trunk@67261 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 20:57:03 +00:00
bienvenu%netscape.com
6355c6d7fa add AddResultElement as a search session interface
git-svn-id: svn://10.0.0.236/trunk@67260 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 20:57:01 +00:00
nhotta%netscape.com
49508d770e Changed forward code to use UTF-8 in order to be constant with string resources, bug 34666.
git-svn-id: svn://10.0.0.236/trunk@67259 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 20:55:44 +00:00
mstoltz%netscape.com
b715b7ce56 Fix bustage on Sun and HP compilers...was casting void* to PRInt16. Added intermediate cast.
git-svn-id: svn://10.0.0.236/trunk@67258 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 20:54:02 +00:00
pinkerton%netscape.com
ce6ac64380 Stupid mistake that broke text-only clipboard/drags.
git-svn-id: svn://10.0.0.236/trunk@67257 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 20:50:17 +00:00
wtc%netscape.com
a9cb65d0b6 Bugzilla bug #37272: inet_addr() should return -1 rather than assert on
failure.


git-svn-id: svn://10.0.0.236/trunk@67256 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 20:10:59 +00:00
ddrinan%netscape.com
ccb6bc6c04 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@67255 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 20:06:16 +00:00
ddrinan%netscape.com
f8acc38c6a First cut of makefile.
git-svn-id: svn://10.0.0.236/trunk@67254 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 20:02:05 +00:00
donm%bluemartini.com
3bfbf244d5 bug 25010 need a way to edit groups
git-svn-id: svn://10.0.0.236/trunk@67252 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 19:35:51 +00:00
cyeh%bluemartini.com
d2f1bd5f4a slightly more paranoid database schema:.
made column 'program' in table 'versions' be not null, and unique.
optimally you would want a unique index on 'value' and 'program' but
indexes are not supported on datatype 'tinytext' until mysql 3.23


git-svn-id: svn://10.0.0.236/trunk@67251 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 19:12:17 +00:00
donm%bluemartini.com
655dcaff93 bug 30823, advanced querying didn't work for dependencies.
git-svn-id: svn://10.0.0.236/trunk@67250 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 17:44:24 +00:00
brade%netscape.com
5c5bf79cc4 fix some of the brokenness; don't always add a map tag; set customsize/original size appropriately; enable/disable some strings
git-svn-id: svn://10.0.0.236/trunk@67249 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 15:06:24 +00:00
brade%netscape.com
7381e8f2df bad parameter
git-svn-id: svn://10.0.0.236/trunk@67248 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 15:04:51 +00:00
jst%netscape.com
3eb684ae46 Trying to fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@67247 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:43:10 +00:00
slamm%netscape.com
7b47342c42 Fix declaration order to quiet build warning
git-svn-id: svn://10.0.0.236/trunk@67245 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:31:01 +00:00
slamm%netscape.com
d43ab7f0e7 Fix "comparison between signed and unsigned" build warning.
git-svn-id: svn://10.0.0.236/trunk@67244 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:25:47 +00:00
slamm%netscape.com
ca724c7a3b Ignore generated Makefile
git-svn-id: svn://10.0.0.236/trunk@67243 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:24:16 +00:00
slamm%netscape.com
fde7b0ab39 Ignore date header, gbdate.h
git-svn-id: svn://10.0.0.236/trunk@67242 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:23:26 +00:00
slamm%netscape.com
e5fa70cc9e Ignore binary, TestGtkEmbed
git-svn-id: svn://10.0.0.236/trunk@67241 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:23:08 +00:00
slamm%netscape.com
6a8941305f Add a Destruct() function to remove observers on onload.
git-svn-id: svn://10.0.0.236/trunk@67240 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:22:42 +00:00
slamm%netscape.com
338b007b44 Add folder icons for selected states.
git-svn-id: svn://10.0.0.236/trunk@67239 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:22:24 +00:00
slamm%netscape.com
6976fa7036 Fix up tree styles. Fixes icons, indenting, and twisties. Also, reduces amount of style matching that needs to be done. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@67238 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:21:56 +00:00
chuang%netscape.com
6997f5902f bug 32297 D&D from Address Book to the Compose window, r=putterman
git-svn-id: svn://10.0.0.236/trunk@67237 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:21:53 +00:00
slamm%netscape.com
1d81a68608 Do not persist the open state of folders for now.Fix up tree styles. Fixes icons, indenting, and twisties. Also, reduces amount of style matching that needs to be done.
git-svn-id: svn://10.0.0.236/trunk@67236 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:20:14 +00:00
slamm%netscape.com
74fa6719e7 Replace start_batch() and end_batch() calls with refresh_all_sidebars() to clear up the intent of the code.
git-svn-id: svn://10.0.0.236/trunk@67235 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:19:26 +00:00
slamm%netscape.com
06d58f0ba8 Add label for popup menu panel picker.
git-svn-id: svn://10.0.0.236/trunk@67234 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:18:48 +00:00
slamm%netscape.com
71fa4356b6 Add a popup menu to include/exclude sidebar panels (bug 24035). The sidebar header that includes the menu is now an XBL widget. Add support for picking a specific default panel (requested by AIM, bug 36967).
git-svn-id: svn://10.0.0.236/trunk@67233 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:18:43 +00:00
slamm%netscape.com
1e345a4f8d Add a popup menu to include/exclude sidebar panels (bug 24035). The sidebar header that includes the menu is now an XBL widget. Also, rely on the toolbar styles more.
git-svn-id: svn://10.0.0.236/trunk@67232 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:18:17 +00:00
slamm%netscape.com
de04af660b Add bindings for sidebar header so it can be either a box or a splitter as needed.
git-svn-id: svn://10.0.0.236/trunk@67231 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:17:45 +00:00
slamm%netscape.com
271377ee26 Add bindings for treecell-indented-leaf and treecell-indented-folder. Fixes twisties in trees. Checkin for hyatt.
git-svn-id: svn://10.0.0.236/trunk@67230 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:17:33 +00:00
jst%netscape.com
aee07a0b08 Removing files that must be in another directory.
git-svn-id: svn://10.0.0.236/trunk@67229 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:11:07 +00:00
jst%netscape.com
7bfa430d82 Landing DOM Level 2 CSS and Views interfaces and implementation.
git-svn-id: svn://10.0.0.236/trunk@67228 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 14:05:36 +00:00
jst%netscape.com
e7caf2b7ff Landing DOM Level 2 CSS and Views interfaces and implementation.
git-svn-id: svn://10.0.0.236/trunk@67227 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 13:58:56 +00:00
brade%netscape.com
543030ffdf add/remove files for jst (+dom/src/base/nsJSAbstractView.cpp, +dom/src/coreDOM/nsJSDocumentStyle.cpp, +dom/src/coreDOM/nsJSDocumentView.cpp, +dom/src/coreDOM/nsJSMediaList.cpp, +dom/src/coreDOM/nsJSStyleSheetList.cpp, +dom/src/css/nsJSCSSRuleList.cpp, -dom/src/coreDOM/nsJSStyleSheetCollection.cpp, -dom/src/css/nsJSCSSStyleRuleCollection.cpp)
git-svn-id: svn://10.0.0.236/trunk@67226 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 13:57:45 +00:00
chuang%netscape.com
64c5f8ae06 Add record key for address book sync
git-svn-id: svn://10.0.0.236/trunk@67225 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 13:46:00 +00:00
jst%netscape.com
7ccf7a4264 Adding headers for new DOM Level 2 interfaces to the build, not used yet.
git-svn-id: svn://10.0.0.236/trunk@67224 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 12:30:42 +00:00
jst%netscape.com
da6a13cafb Adding new files to the makefiles, not part of the normal build.
git-svn-id: svn://10.0.0.236/trunk@67223 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 12:17:05 +00:00
brade%netscape.com
1ec6784799 latest changes to image map editor; hooking it up to image properties dialog (submitted by Dan Haddix; dan6992@hotmail.com)
git-svn-id: svn://10.0.0.236/trunk@67222 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 10:07:04 +00:00
brade%netscape.com
e1b306c969 latest changes to image map editor (submitted by Dan Haddix; dan6992@hotmail.com)
git-svn-id: svn://10.0.0.236/trunk@67221 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 10:04:43 +00:00
brade%netscape.com
194f03e569 latest changes to image map editor (submitted by Dan Haddix; dan6992@hotmail.com)
git-svn-id: svn://10.0.0.236/trunk@67220 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 09:50:23 +00:00
brade%netscape.com
a751ac33d0 forgot to add contributor Brian King (noticed by Dan Haddix)
git-svn-id: svn://10.0.0.236/trunk@67219 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 09:46:05 +00:00
alecf%netscape.com
c769141546 make stringbundles threadsafe now that their lifetime is longer than their initial creation
git-svn-id: svn://10.0.0.236/trunk@67218 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 09:37:05 +00:00
brade%netscape.com
0de9437246 add some missing entities
git-svn-id: svn://10.0.0.236/trunk@67217 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 08:58:46 +00:00
brade%netscape.com
97e4f097f9 insert function for FillInTooltip a=ben; remove duplicate function NewEditorFromDraft
git-svn-id: svn://10.0.0.236/trunk@67216 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 08:57:04 +00:00
brade%netscape.com
27775ce20f move tooltip into globalOverlay a=ben
git-svn-id: svn://10.0.0.236/trunk@67215 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 08:56:39 +00:00
brade%netscape.com
66b5416871 move popupset for tooltip out of navigator.xul into globalOverlay.xul
git-svn-id: svn://10.0.0.236/trunk@67214 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 08:54:42 +00:00
brade%netscape.com
608ab6a7b2 fix bug; set heightInput
git-svn-id: svn://10.0.0.236/trunk@67213 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 08:48:47 +00:00
sfraser%netscape.com
1e7af02cef Fix bug 36134 -- avoid extra release when cancelling a fired timer.
git-svn-id: svn://10.0.0.236/trunk@67212 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 08:37:06 +00:00
evaughan%netscape.com
2f0b8539e3 Fix for titledbox bugs
git-svn-id: svn://10.0.0.236/trunk@67211 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 07:28:19 +00:00
ftang%netscape.com
ea8691582c fix bug 34963. check patch from m_kato@ga2.so-net.ne.jp r=ftang
git-svn-id: svn://10.0.0.236/trunk@67210 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 06:22:24 +00:00
av%netscape.com
42fad10ef7 Cleaning up addref/release pairs for plugin instance
git-svn-id: svn://10.0.0.236/trunk@67209 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 06:19:26 +00:00
sfraser%netscape.com
f6a67ae209 Implemented new calls on the command manager which are callthroughs from the controller, with a context parameter.
git-svn-id: svn://10.0.0.236/trunk@67208 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 06:15:40 +00:00
sfraser%netscape.com
13c74256d0 Lots of new comments, added interface for nsIStateUpdatingControllerCommand, and added calls on the command manager which are callthroughs from the controller, with a context parameter.
git-svn-id: svn://10.0.0.236/trunk@67207 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 06:15:23 +00:00
rginda%netscape.com
7b16e426c0 initial add of debugger vapors
git-svn-id: svn://10.0.0.236/trunk@67206 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 06:04:02 +00:00
ben%netscape.com
c5f038a47f files I forgot to checkin with yesterday's prefwindow landing
git-svn-id: svn://10.0.0.236/trunk@67205 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 05:56:26 +00:00
beard%netscape.com
638f25e058 Fixing windows bustage in Linkage.
git-svn-id: svn://10.0.0.236/trunk@67204 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 05:56:20 +00:00
beard%netscape.com
d0406cbff4 fixing bug: js2.cpp:328: Internal compiler error in scope_die_for, at dwarf2out.c:7794 Please submit a full bug report. See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
git-svn-id: svn://10.0.0.236/trunk@67203 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 05:43:24 +00:00
beard%netscape.com
bad269e6ef testFactorial() now installs a Context::Listener to trace execution.
git-svn-id: svn://10.0.0.236/trunk@67202 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 05:37:00 +00:00
beard%netscape.com
7e863f9219 JSActivation -> Activation, JSLinkage --> Linkage. Linkage now implements the Context::Frame interface. Implemented simple Context::Listener support.
git-svn-id: svn://10.0.0.236/trunk@67201 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 05:35:07 +00:00
thayes%netscape.com
7750cbce77 Cleanup implementation of SDR code.
git-svn-id: svn://10.0.0.236/trunk@67200 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 05:31:19 +00:00
beard%netscape.com
b3a4a03169 Added Context::Frame, Context::Listener abstract classes. Initial support for debugger.
git-svn-id: svn://10.0.0.236/trunk@67199 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 05:29:35 +00:00
rods%netscape.com
7ec2dc0089 added white-space:pre to button rule so whitespace doesn't get stripped from the label of a button
b=37193


git-svn-id: svn://10.0.0.236/trunk@67198 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 05:17:39 +00:00
ssu%netscape.com
dec4d7bdae fixing bug #7478. We now have an uninstaller for the installer on the Windows platform. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@67197 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 05:04:21 +00:00
ssu%netscape.com
983d11bcde fixing bug #7478. We now have an uninstaller for the installer on the windows platform (code is cross platform).
git-svn-id: svn://10.0.0.236/trunk@67196 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 05:02:00 +00:00
evaughan%netscape.com
4d77b521e8 Removed friend.
git-svn-id: svn://10.0.0.236/trunk@67195 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 04:57:31 +00:00
ssu%netscape.com
487e0aeb4c initial checkin for files to fix bug #7478. Not part of any build yet.
git-svn-id: svn://10.0.0.236/trunk@67194 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 04:53:06 +00:00
ducarroz%netscape.com
d7c781880d Fix for bug 37202. New created menulist must have a item pre-selected.
git-svn-id: svn://10.0.0.236/trunk@67193 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 04:36:48 +00:00
nhotta%netscape.com
c845c03828 Change to use NS_IMPL_THREADSAFE_ISUPPORTS, a patch from sspitzer@netscape.com, bug 37035.
git-svn-id: svn://10.0.0.236/trunk@67192 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 04:25:22 +00:00
nhotta%netscape.com
38c81895ec Fixed typo in the property, contributed by tenthumbs@cybernex.net, bug 36938.
git-svn-id: svn://10.0.0.236/trunk@67191 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 04:24:42 +00:00
suresh%netscape.com
c9f8b37b94 fix for 33131. r=putterman
git-svn-id: svn://10.0.0.236/trunk@67190 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 04:09:07 +00:00
suresh%netscape.com
b24800a195 fix for 31062. r=putterman
git-svn-id: svn://10.0.0.236/trunk@67189 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 04:03:11 +00:00
ftang%netscape.com
36700bd476 fix unicode conversion problem . Check in patch proposed by m_kato@ga2.so-net.ne.jp r=ftang
git-svn-id: svn://10.0.0.236/trunk@67188 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 04:01:23 +00:00
evaughan%netscape.com
ef7527364f 1) fixed warnings.
2) scrollbars only work with left mouse


git-svn-id: svn://10.0.0.236/trunk@67187 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 04:00:29 +00:00
ftang%netscape.com
356d730c55 add new method to case conversion so we can handle special casing ( SS or turiksh dotless I)
git-svn-id: svn://10.0.0.236/trunk@67186 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 04:00:22 +00:00
ftang%netscape.com
823c799e12 check in fix for 37106. r=ftang. patched proposed by m_kato@ga2.so-net.ne.jp
handle 0x5C properly by calling DBCSIsLeadByte function


git-svn-id: svn://10.0.0.236/trunk@67185 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:57:34 +00:00
ducarroz%netscape.com
212e488b3a Fix for bug 36425 and bug 32224. Avoid to fire an assert in a legitimate case and make signature working again. R=rhp
git-svn-id: svn://10.0.0.236/trunk@67184 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:57:12 +00:00
anthonyd%netscape.com
e88fa00856 r: mjudge
bug fix for 34397, broken IME selection


git-svn-id: svn://10.0.0.236/trunk@67183 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:54:21 +00:00
sspitzer%netscape.com
e0ba658641 if you double click a file, open it. patch from dshahbaz@ucla.edu. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@67182 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:50:59 +00:00
mstoltz%netscape.com
1aebd93c62 Fixes for 27010, 32878, and 32948.
git-svn-id: svn://10.0.0.236/trunk@67181 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:50:07 +00:00
waterson%netscape.com
53f13b1aba Remove assertions so that you can set properties on XUL elements.
git-svn-id: svn://10.0.0.236/trunk@67180 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:49:39 +00:00
rods%netscape.com
4ec6397d6c Changing notify from false to true for AppendChildTo in SetText
this is where the block doesn't have any children and a text element gets
created for it.
b=36900, r=pollmann


git-svn-id: svn://10.0.0.236/trunk@67179 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:48:58 +00:00
waterson%netscape.com
3138935719 Remove XIF assertions. akk and mjudge say this is ok.
git-svn-id: svn://10.0.0.236/trunk@67178 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:47:15 +00:00
ftang%netscape.com
e060485bad fix 23705. r=pavlov change to unicodePath from path for nsILocalFile
git-svn-id: svn://10.0.0.236/trunk@67177 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:46:30 +00:00
cls%seawood.org
cdbaa6ac84 Made BeOS use the nsRenderingContextImpl class as the gtk builds do.
git-svn-id: svn://10.0.0.236/trunk@67176 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:43:45 +00:00
sspitzer%netscape.com
3c74221438 stop gap fix for #37202
git-svn-id: svn://10.0.0.236/trunk@67175 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 03:26:59 +00:00
hyatt%netscape.com
437fe892cc fix menus.
git-svn-id: svn://10.0.0.236/trunk@67174 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 02:27:56 +00:00
danm%netscape.com
70cc20384f use preference for browser chrome url (aka navigator.xul). bug 31867
git-svn-id: svn://10.0.0.236/trunk@67173 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 02:25:28 +00:00
hyatt%netscape.com
e1a2918851 making menus 30-40% faster.
git-svn-id: svn://10.0.0.236/trunk@67172 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 02:21:47 +00:00
akkana%netscape.com
00fbe97972 The mInWhitespace fix broke the automated tests -- need to find another solution
git-svn-id: svn://10.0.0.236/trunk@67171 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 02:21:41 +00:00
mjudge%netscape.com
8b0c5ad03e small change bad return type. use assign with conversion
git-svn-id: svn://10.0.0.236/trunk@67170 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 02:03:07 +00:00
mjudge%netscape.com
d4488f8071 strange corruptness
git-svn-id: svn://10.0.0.236/trunk@67169 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:58:34 +00:00
akkana%netscape.com
fe3c0b3f4a Backing out previous change -- wasn't ready. a=mjudge
git-svn-id: svn://10.0.0.236/trunk@67168 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:58:28 +00:00
dougt%netscape.com
a58aa50a52 Fixes problems in local file where getting a parent of a non-existant file did not work.
Fixes a problem if you tried to create a folder and it parents did not exist. 
Fixes a problem if you had a initialized with a FSSpec which was not resolved complete and you tried to add a relative path.
Fixing nsInstallFile to use nsIFile:: enums insteads of numbers.

r=sgehani, a=leaf


git-svn-id: svn://10.0.0.236/trunk@67167 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:50:24 +00:00
cyeh%bluemartini.com
7a7b83408f better implementation of realnames support. remove overhead of two sql
calls from bug_form.


git-svn-id: svn://10.0.0.236/trunk@67166 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:44:28 +00:00
beard%netscape.com
8a6abe2247 JSFrame -> JSLinkage, using explicit linked list rather than a stack.
git-svn-id: svn://10.0.0.236/trunk@67165 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:42:00 +00:00
beard%netscape.com
87e47c8e04 removed intentionally private JSActivation/JSFrame types. The debugger should be able to ask questions of the interpreter to obtain this information.
git-svn-id: svn://10.0.0.236/trunk@67164 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:39:56 +00:00
wtc%netscape.com
e5b434bb22 Bugzilla bug #36818: fixed bugs in PR_WaitCondVar, PR_NotifyAllCondVar,
and PR_Interrupt.  Thanks to justin morey <justin@68k.org> for the bug
report and the patch.
Modified files: btcvar.c, btthread.c


git-svn-id: svn://10.0.0.236/trunk@67162 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:31:48 +00:00
mjudge%netscape.com
3cd9a051da making string conversions explicit. scc
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +00:00
danm%netscape.com
81b801ff58 define new preference for the browser xul URL. bug 31867
git-svn-id: svn://10.0.0.236/trunk@67160 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:10:10 +00:00
bienvenu%netscape.com
52ce9ad555 fix linux bustage
git-svn-id: svn://10.0.0.236/trunk@67159 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:10:01 +00:00
bienvenu%netscape.com
2b4f0cb001 fix linux build problem
git-svn-id: svn://10.0.0.236/trunk@67158 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:08:05 +00:00
pinkerton%netscape.com
4470c606aa implement accepting drops of files onto mozilla.
git-svn-id: svn://10.0.0.236/trunk@67157 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:04:13 +00:00
bienvenu%netscape.com
f2b884d22d more work on news search
git-svn-id: svn://10.0.0.236/trunk@67156 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:04:11 +00:00
akkana%netscape.com
b2aefd93c7 Change Save File APIs in layout and editor to eliminate the specific
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.


git-svn-id: svn://10.0.0.236/trunk@67155 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:00:50 +00:00
jst%netscape.com
be1cc24626 Checking in DOM JS glue code for new DOM Level 2 interfaces, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@67154 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:00:40 +00:00
bienvenu%netscape.com
7d91889298 turn off assertion for everyone but me
git-svn-id: svn://10.0.0.236/trunk@67153 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:00:33 +00:00
harishd%netscape.com
c51469a9f3 Fix for 36233, 36754, 36491, 36323
Make sure that DTD's WillBuildModel() is not
called multiple times,i.e.,we shouldn't leave auto-detect-status
unknown

r=rickg


git-svn-id: svn://10.0.0.236/trunk@67152 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:59:43 +00:00
pavlov%netscape.com
eff718a6ad fix warning
git-svn-id: svn://10.0.0.236/trunk@67151 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:58:55 +00:00
sfraser%netscape.com
98f2662236 Add some null checks to prevent crashes if calling GetControllerAt with an index that is too large.
git-svn-id: svn://10.0.0.236/trunk@67150 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:58:14 +00:00
bienvenu%netscape.com
a9d9e71802 more work on search, esp news
git-svn-id: svn://10.0.0.236/trunk@67149 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:55:47 +00:00
mjudge%netscape.com
f74ce25354 scc string fixes
git-svn-id: svn://10.0.0.236/trunk@67148 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:55:37 +00:00
jst%netscape.com
021f6306e8 Checking in DOM JS glue code for new DOM Level 2 interfaces, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@67147 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:55:05 +00:00
akkana%netscape.com
3753603232 35961: Add missing keycodes for { } |
git-svn-id: svn://10.0.0.236/trunk@67146 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:54:53 +00:00
akkana%netscape.com
7c36399c11 36861: newlines after <a> tags were being ignored.
37059: initial space should be retained in selection-only case.


git-svn-id: svn://10.0.0.236/trunk@67145 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:54:19 +00:00
anthonyd%netscape.com
71597aa3c3 review: kmcclusk, mjudge
fix for invalid rootWidget in nsViewManager::GetWidgetBounds


git-svn-id: svn://10.0.0.236/trunk@67144 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:53:31 +00:00
pavlov%netscape.com
c3627050e1 fix hashtable lookup for xbl binding files to remove 15% of time paging up/down in mailnews r=waterson,hyatt
stop creating nsISupportsArrays and instead chain nsIXBLAttributeEntrys r=hyatt
remove unnecessary creation of atoms r=hyatt
(around 20% speedup to mailnews tree scrolling)


git-svn-id: svn://10.0.0.236/trunk@67143 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:50:48 +00:00
pavlov%netscape.com
e04f0e3062 add support for 'TEXT' atom
git-svn-id: svn://10.0.0.236/trunk@67142 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:50:37 +00:00
jst%netscape.com
8ddbd3a621 Adding new DOM Level 2 interfaces, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@67141 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:43:24 +00:00
jst%netscape.com
a7adb85f49 Adding new DOM Level 2 interfaces, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@67140 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:38:08 +00:00
jst%netscape.com
34e8837cf1 Adding new DOM Level 2 CSS interfaces CSSRuleList and CSSCharsetRule, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@67138 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:32:52 +00:00
jst%netscape.com
7dfe8fb314 Adding new DOM Level 2 CSS interfaces MediaList and StyleSheetList, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@67137 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:27:59 +00:00
ruslan%netscape.com
887e77e885 More complete update to the previos check in. Don't even instatiate
the final listener as we're not using it anyway.


git-svn-id: svn://10.0.0.236/trunk@67136 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 00:11:30 +00:00
ruslan%netscape.com
20ec067c14 Don't fire OnStopRequest just yet when the channel gets Cancelled (until
the receiver learns how to handle it correctly), r=imoT, a=leaf. Used to
crash when following expedia link from msn.com


git-svn-id: svn://10.0.0.236/trunk@67135 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 23:59:25 +00:00
dougt%netscape.com
80dea51d4b changing to getFolder. r=dveditz
git-svn-id: svn://10.0.0.236/trunk@67134 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 23:01:37 +00:00
leaf%mozilla.org
87c638e169 backing out changes that keep mozilla mailnews from working without psm.
git-svn-id: svn://10.0.0.236/trunk@67133 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 22:47:44 +00:00
wtc%netscape.com
d0253ef8e5 Bugzilla bug #30902: added an alternative implementation of PR_AtomicSet
using cmpxchg in the comments.  Made PR_AtomicAdd a little more efficient.


git-svn-id: svn://10.0.0.236/trunk@67130 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 22:33:10 +00:00
jst%netscape.com
1f9c2013e5 Fixing a wallet crasher. a=leaf
git-svn-id: svn://10.0.0.236/trunk@67129 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 22:01:31 +00:00
wtc%netscape.com
c8d51401c5 In _PR_MD_ATOMIC_ADD, use the edx register instead of the ebx register.
git-svn-id: svn://10.0.0.236/trunk@67128 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 21:48:33 +00:00
wtc%netscape.com
048f25aa33 Bugzilla bug #37146: fixed the output of the test.
git-svn-id: svn://10.0.0.236/trunk@67127 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 21:40:49 +00:00
ducarroz%netscape.com
8228894768 Fix for bug 37119. We need to query the attribute "data" in order to handle correctly menulist. A=leaf
git-svn-id: svn://10.0.0.236/trunk@67126 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 21:32:17 +00:00
larryh%netscape.com
a408760231 BugZilla 32048 is realy 35408
git-svn-id: svn://10.0.0.236/trunk@67125 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 21:08:03 +00:00
donm%bluemartini.com
94c6c05b70 patch from bug 2178 applied and fix for versions of GD/Chart::Lines that won't
produce gifs.


git-svn-id: svn://10.0.0.236/trunk@67124 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 21:05:32 +00:00
dougt%netscape.com
d56e3fbe9f if components directory does not include any xpt files, we should not fail
autoregistration.  This caused the xpinstall stub installer to fail.
r=dveditz, a=leaf


git-svn-id: svn://10.0.0.236/trunk@67123 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 19:37:57 +00:00
ruslan%netscape.com
8e9abd5fa9 Fix 37084 (blocker), r=gagan
git-svn-id: svn://10.0.0.236/trunk@67122 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 19:11:26 +00:00
larryh%netscape.com
05abe12da0 BugZilla: 32048. WinGate bug. Use loopback address in PR_NewTCPSocketPair()
git-svn-id: svn://10.0.0.236/trunk@67121 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 18:54:17 +00:00
wtc%netscape.com
98b0948880 Removed 'nop' instructions that I accidentally added.
git-svn-id: svn://10.0.0.236/trunk@67120 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 18:23:56 +00:00
dougt%netscape.com
93f5201c5e missed commenting out two assertions which will cause mac and OS2 users
lots of pain.  r=brade, a=leaf.


git-svn-id: svn://10.0.0.236/trunk@67119 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 18:16:16 +00:00
robinf%netscape.com
14021a0f28 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@67118 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 17:46:16 +00:00
sspitzer%netscape.com
8594a4b43c fix the threadsafe assertion.
git-svn-id: svn://10.0.0.236/trunk@67117 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 14:56:59 +00:00
sgehani%netscape.com
c3b7bad14d * Fix build warnings
* Make MIW.mcp build with Universal Headers 3.3.1


git-svn-id: svn://10.0.0.236/trunk@67116 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 14:55:11 +00:00
sgehani%netscape.com
a4b9e133a4 Partial fix for nsIFile/Mac installer horkage [b=36784]
git-svn-id: svn://10.0.0.236/trunk@67115 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 14:43:58 +00:00
dcone%netscape.com
c8b7cfd884 Added the nsRenderingContextImpl for interface
git-svn-id: svn://10.0.0.236/trunk@67114 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 14:37:40 +00:00
brade%netscape.com
845b272d31 for DragDrop, call InsertFromDrop which will handle the drop for the appropriate flavors (as paste if appropriate)
git-svn-id: svn://10.0.0.236/trunk@67113 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 14:15:33 +00:00
brade%netscape.com
95c5ec2a22 factored paste so drop could use the common code; added InsertFromDrop, InsertFromTransferable, PrepareTransferable; r/tested=akkana; tested=jst
git-svn-id: svn://10.0.0.236/trunk@67112 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 14:15:04 +00:00
brade%netscape.com
a670cfd1c0 add methods for InsertFromDrop, PrepareTransferable, InsertFromTransferable; r=akkana
git-svn-id: svn://10.0.0.236/trunk@67111 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 14:14:48 +00:00
brade%netscape.com
b2e9ac0108 add method for InsertFromDrop; r=akkana
git-svn-id: svn://10.0.0.236/trunk@67110 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 14:14:42 +00:00
ftang%netscape.com
dd8e77ee54 fix 33862/33864. Use the Unicode version of method of nsILocalFile
so we can display non ASCII user name and file / directory correctly !!!!
thanks m_kato's help


git-svn-id: svn://10.0.0.236/trunk@67109 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 13:54:04 +00:00
dcone%netscape.com
4d69a44d7e Added a DrawPath method to nsRenderingContext, currenly does nothing.
git-svn-id: svn://10.0.0.236/trunk@67108 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 13:51:46 +00:00
ftang%netscape.com
447587b634 *eat* UTF-8 BOM which generated by Win2K NotePad so it won't confused parser.
bug 36914


git-svn-id: svn://10.0.0.236/trunk@67107 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 13:50:41 +00:00
cls%seawood.org
cca739156a Changed nsinstall to fail if the file to link against does not exist. Objdir build breakage should become more apparent when it happens. Thanks to Greg Noel <GregNoel@san.rr.com> for the patch.
git-svn-id: svn://10.0.0.236/trunk@67106 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 10:52:11 +00:00
cls%seawood.org
751835d768 Added dependency to real Makefile & config.status for targets passed to real Makefile.
git-svn-id: svn://10.0.0.236/trunk@67104 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 09:12:13 +00:00
hyatt%netscape.com
f8b2e9e3e2 Tweak menulist.
git-svn-id: svn://10.0.0.236/trunk@67103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 08:38:12 +00:00
scc%netscape.com
87d165a120 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@67102 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 08:10:43 +00:00
jband%netscape.com
821ccde88b be less aggresive in shutdown cleanup to avoid shutdown crashes. See bug 37058 for an example stack.
git-svn-id: svn://10.0.0.236/trunk@67101 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 07:26:02 +00:00
cls%seawood.org
40f2f32adc The clobber objdir build didn't work because we forgot to create the objdir before the realclean
git-svn-id: svn://10.0.0.236/trunk@67100 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 07:21:40 +00:00
evaughan%netscape.com
ff486e57f1 1) StyleChange coelescing
2) Warning fixes
3) Table fixes


git-svn-id: svn://10.0.0.236/trunk@67099 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 07:10:48 +00:00
sspitzer%netscape.com
d44a8c6730 am I a man or am I a mouse? turn on the real subscribe dialog.
there are a lot of issues with it, but I'm working on them, and the
new subscribe dialog is no worse than the old one.


git-svn-id: svn://10.0.0.236/trunk@67098 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 07:10:33 +00:00
sspitzer%netscape.com
856ebf7b72 change to get -chat to work for the mac. still need a "Mozilla Chat" file.
git-svn-id: svn://10.0.0.236/trunk@67097 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 06:53:49 +00:00
sspitzer%netscape.com
20ce194071 get -chat to work on the mac.
git-svn-id: svn://10.0.0.236/trunk@67096 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 06:51:17 +00:00
sspitzer%netscape.com
2d897f5c60 implementing the chatzilla service that I promised rginda months ago.
now, -chat from the command line works and brings up chatzilla.
(only win32 and unix, until I tweak the mac build.)


git-svn-id: svn://10.0.0.236/trunk@67095 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 06:39:39 +00:00
hyatt%netscape.com
a9478c3941 landing debug rules
git-svn-id: svn://10.0.0.236/trunk@67094 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 06:35:28 +00:00
bryner%uiuc.edu
d505a018fe Reorganizing the mousewheel code, and in the process fixing bug 36886 and
working around bug 32344.  Also removing some old #ifdef code that is not
going to be used.


git-svn-id: svn://10.0.0.236/trunk@67093 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 06:25:43 +00:00
mscott%netscape.com
3126b8a1cd Bug #33156 --> implement real progress as a percentage of the document download.
git-svn-id: svn://10.0.0.236/trunk@67092 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:52:10 +00:00
mscott%netscape.com
5605b3ca71 Bug #33156 --> add a OnProgress handler
git-svn-id: svn://10.0.0.236/trunk@67091 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:51:04 +00:00
mscott%netscape.com
1800cd0e39 Bug #33156 --> finish new nsIWebProgress work --> implement real progress as a percentage of the document download.
git-svn-id: svn://10.0.0.236/trunk@67090 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:50:23 +00:00
leaf%mozilla.org
bc4d18dd88 Automated update
git-svn-id: svn://10.0.0.236/trunk@67089 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:45:15 +00:00
pavlov%netscape.com
4af9c6adc5 string api changes r=scc
git-svn-id: svn://10.0.0.236/trunk@67088 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:40:45 +00:00
alecf%netscape.com
9654203959 String bundle caching - cache the last 10 stringbundles created by the stringbundle service
git-svn-id: svn://10.0.0.236/trunk@67087 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:29:58 +00:00
jband%netscape.com
95a3361f4b make the component manager's AutoRegister call the interface info manager's AutoRegisterInterfaces
git-svn-id: svn://10.0.0.236/trunk@67086 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:11:30 +00:00
mjudge%netscape.com
95232e3018 fixing vc6.0 compiler bug. cant have static variable called "count" and compare it using "<". dont ask.
git-svn-id: svn://10.0.0.236/trunk@67085 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:09:49 +00:00
jband%netscape.com
2f6e580cf0 fix leak of nsIPref Service
git-svn-id: svn://10.0.0.236/trunk@67084 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:07:02 +00:00
jband%netscape.com
38efea7fb0 Remove use of nsSpecialSystemDirectory. r=dougt
git-svn-id: svn://10.0.0.236/trunk@67083 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:01:05 +00:00
jband%netscape.com
74a771526d release the threadcontextstack to avoid a shutdown leak
git-svn-id: svn://10.0.0.236/trunk@67082 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:59:21 +00:00
jband%netscape.com
c2ab972684 Cleanup at shutdown the JSContexts that xpconnect manages on a per thread basis. This should fix some shutdown leaks.
git-svn-id: svn://10.0.0.236/trunk@67081 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:57:32 +00:00
jband%netscape.com
7e8c6ecbdf fix to make the comment not lie
git-svn-id: svn://10.0.0.236/trunk@67080 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:52:30 +00:00
jband%netscape.com
f546b3427a Do something safe if this call fails
git-svn-id: svn://10.0.0.236/trunk@67079 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:50:49 +00:00
troy%netscape.com
2831676fb5 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem


git-svn-id: svn://10.0.0.236/trunk@67078 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:43:11 +00:00
sspitzer%netscape.com
e47adc60ff fix spelling mistake. wrap printf with #ifdef DEBUG
git-svn-id: svn://10.0.0.236/trunk@67077 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:37:52 +00:00
ben%netscape.com
14eb1843f1 correct reference to invalid stylesheet
git-svn-id: svn://10.0.0.236/trunk@67076 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:25:21 +00:00
pinkerton%netscape.com
14a4e00b00 These files are now obsolete. See mozilla/embedding/browser/powerplant
git-svn-id: svn://10.0.0.236/trunk@67075 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:21:31 +00:00
ben%netscape.com
948abede5f fix for gigantic personal toolbar
git-svn-id: svn://10.0.0.236/trunk@67074 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:20:18 +00:00
ben%netscape.com
c8e146693e fix for XBL assertions on startup
git-svn-id: svn://10.0.0.236/trunk@67073 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:13:08 +00:00
waterson%netscape.com
f9bb1f98a0 Bug 34619. Fixed-size allocators for nsXULTemplateBuilder, try numero dos, with egcs fixed.
git-svn-id: svn://10.0.0.236/trunk@67072 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:11:53 +00:00
pinkerton%netscape.com
190c4f5552 adding ability to drag a file from the desktop into the content area.
git-svn-id: svn://10.0.0.236/trunk@67071 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:10:36 +00:00
pinkerton%netscape.com
cc18c1fadd preliminary support for dragging files from the desktop into mozilla. works on macos for now.
git-svn-id: svn://10.0.0.236/trunk@67070 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:10:35 +00:00
pinkerton%netscape.com
d1aa3a6521 adding a helper to create/init from an FSSpec.
git-svn-id: svn://10.0.0.236/trunk@67069 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:09:18 +00:00
beard%netscape.com
2483f6c208 changed Context constructor to take JSObject* not JSObject&, to be able to control lifetime a little more carefully.
git-svn-id: svn://10.0.0.236/trunk@67068 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 03:32:53 +00:00
beard%netscape.com
d94e75b843 warning removal
git-svn-id: svn://10.0.0.236/trunk@67067 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 03:28:41 +00:00
pavlov%netscape.com
8a5cb9e2c1 add rules for tree-cell-icon
git-svn-id: svn://10.0.0.236/trunk@67066 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 03:27:01 +00:00
pavlov%netscape.com
51fdc0b6f6 fix to use new tree rules
git-svn-id: svn://10.0.0.236/trunk@67065 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 03:25:13 +00:00
ben%netscape.com
d29e33541e another tweak
git-svn-id: svn://10.0.0.236/trunk@67064 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 03:10:15 +00:00
ben%netscape.com
40f87ec37c PrefWindow IV landing
git-svn-id: svn://10.0.0.236/trunk@67063 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 03:09:02 +00:00
sspitzer%netscape.com
844a6bd5a5 added files: mozilla/extensions/psm-glue/public/nsIPSMSocketInfo.idl
git-svn-id: svn://10.0.0.236/trunk@67060 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 03:00:29 +00:00
sspitzer%netscape.com
515793e89d added files: mozilla/extensions/psm-glue/public/nsISecretDecoderRing.idl
git-svn-id: svn://10.0.0.236/trunk@67059 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:58:50 +00:00
beard%netscape.com
253ee4158c fixing mac bustage (we do reference argc/argv, to initialize them to something sensible).
git-svn-id: svn://10.0.0.236/trunk@67058 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:58:30 +00:00
mwelch%netscape.com
18749490fd Bringing tip of PSM client lib up to date with changes from commercial tip
git-svn-id: svn://10.0.0.236/trunk@67057 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:57:11 +00:00
mwelch%netscape.com
d064e9f953 Bringing tip of PSM client lib up to date with commercial version
git-svn-id: svn://10.0.0.236/trunk@67056 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:55:21 +00:00
beard%netscape.com
9bf768a892 renamed not() -> complement() (not is a keyword in C++), implemented complement().
git-svn-id: svn://10.0.0.236/trunk@67055 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:55:08 +00:00
mwelch%netscape.com
e74dbfb386 Bringing client lib up to date
git-svn-id: svn://10.0.0.236/trunk@67054 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:53:28 +00:00
pavlov%netscape.com
cebb5b7cc0 change hit count to show hit percent
git-svn-id: svn://10.0.0.236/trunk@67053 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:50:55 +00:00
mwelch%netscape.com
d95327b2ac Bringing tip of PSM client library up to date
git-svn-id: svn://10.0.0.236/trunk@67052 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:49:38 +00:00
ben%netscape.com
1343dccaf5 update reference to dead file -> new file with shorter name
git-svn-id: svn://10.0.0.236/trunk@67051 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:46:31 +00:00
ben%netscape.com
7471870c68 truncating long filename for Mac, removing dead file
git-svn-id: svn://10.0.0.236/trunk@67050 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:45:06 +00:00
ben%netscape.com
261f7e75c3 removing dead file
git-svn-id: svn://10.0.0.236/trunk@67049 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:43:34 +00:00
ben%netscape.com
3aea6429c0 oops, file name too long for mac. shortening
git-svn-id: svn://10.0.0.236/trunk@67048 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:43:03 +00:00
cls%seawood.org
d5badb6d55 Replaced accidentally removed LDFLAGS to creation of shared libs.
git-svn-id: svn://10.0.0.236/trunk@67047 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:40:30 +00:00
ssu%netscape.com
9f6aa50f41 fixing bug #36958. No longer makes the installer require a reboot at the end if replacing file that are *not* in use.
git-svn-id: svn://10.0.0.236/trunk@67046 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:39:42 +00:00
sfraser%netscape.com
6aefc1e462 Just some doc updates, not in the build
git-svn-id: svn://10.0.0.236/trunk@67045 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:38:25 +00:00
ben%netscape.com
777caed0ef PrefWindow IV landing
git-svn-id: svn://10.0.0.236/trunk@67044 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:36:18 +00:00
jim_nance%yahoo.com
d30c827e39 Fix Tru64 bustage. r=blizzard
git-svn-id: svn://10.0.0.236/trunk@67043 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:22:51 +00:00
sfraser%netscape.com
93e478a51f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@67042 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:18:30 +00:00
ben%netscape.com
a9305f1ecc PrefWindow IV landing
git-svn-id: svn://10.0.0.236/trunk@67041 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:17:38 +00:00
cls%seawood.org
17a91b92d9 Added --long-argument support for BeOS. Thanks to justin@68k.org for the patch.
git-svn-id: svn://10.0.0.236/trunk@67040 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:15:55 +00:00
cls%seawood.org
a92c463176 Build fixes for BeOS. Bug 36924 & bug 36926. Thanks to Justin Morey <justin@68k.org> for the patches.
git-svn-id: svn://10.0.0.236/trunk@67039 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:05:08 +00:00
ben%netscape.com
e7f81ce853 Prefwindow IV landing
git-svn-id: svn://10.0.0.236/trunk@67038 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 02:01:49 +00:00
pavlov%netscape.com
fa44636088 remove unused functions
git-svn-id: svn://10.0.0.236/trunk@67037 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:58:51 +00:00
dougt%netscape.com
8bce344ced Fixes:
35864 Convert nsSecureBrowserUIImpl to use new WebProgress interfa
35472 Lock does not change when going to a mixed frames site.
27104 [feature] No warning when sending insecure form data
28335 Forcing handshake on CMT_OpenSSLConnection for https connect
28418 Lock broken on https startup home page.
36814 nsPSMSocketInfo not thread safe
updated to pavlov's new directory picker.


git-svn-id: svn://10.0.0.236/trunk@67036 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:56:59 +00:00
cls%seawood.org
a36b712b81 Revert my objdir changes from this weekend.
git-svn-id: svn://10.0.0.236/trunk@67035 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:55:52 +00:00
mscott%netscape.com
4e97d4e4b7 when determining progress for a cache entry, use the content length
for the cache entry as the total max progress. This change gives us more accurate progress for loading
entries from the cache for http.


git-svn-id: svn://10.0.0.236/trunk@67034 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:52:24 +00:00
pavlov%netscape.com
3bd9fa2952 add ReportStats() to the gc cache destructor
git-svn-id: svn://10.0.0.236/trunk@67033 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:49:34 +00:00
mscott%netscape.com
c3461eec43 implement GetContentLength for a memory cache entry. This helps us report
progress for items coming out of the cache


git-svn-id: svn://10.0.0.236/trunk@67032 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:48:48 +00:00
morse%netscape.com
2cb284f6ab use thayes encryption routines
git-svn-id: svn://10.0.0.236/trunk@67031 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:48:35 +00:00
dougt%netscape.com
bf7163c089 checked in warren's patch to remove circular memory leak in directory service
removed strcmp'er in favor of atom compares.
added comments to nsFileSpec indicating that it is no longer supported.


git-svn-id: svn://10.0.0.236/trunk@67030 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:48:02 +00:00
jefft%netscape.com
d6e0059bda fixed bug 17100 - [FEATURE] enabled partial message download for pop3
git-svn-id: svn://10.0.0.236/trunk@67029 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:48:00 +00:00
mscott%netscape.com
0235e1892f fix unnecessary assetions in viewer.
git-svn-id: svn://10.0.0.236/trunk@67028 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:46:39 +00:00
pinkerton%netscape.com
c072d340fe update use of clipboard apis. fix bug 36374.
git-svn-id: svn://10.0.0.236/trunk@67027 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:46:29 +00:00
mscott%netscape.com
eff72069e6 need to fake a onprogress change for the parent
docloader...Fix viewer crash by returning aChannel instead of the
doc channel.


git-svn-id: svn://10.0.0.236/trunk@67026 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:45:37 +00:00
danm%netscape.com
3db6ec44d3 add null check for target document while positioning popups. bug 35643
git-svn-id: svn://10.0.0.236/trunk@67025 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:44:53 +00:00
morse%netscape.com
896ae9275b use thayes encryption routijnes
git-svn-id: svn://10.0.0.236/trunk@67024 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:41:23 +00:00
sspitzer%netscape.com
4f98438af9 more checkins for the new subscribe dialog.
make it so only subscribable servers show up in the server picker.
make it so "newsgroup" turns to "folder" if subscribing to imap.
do the basic wiring to imap servers are hooked in.
clean up my css.


git-svn-id: svn://10.0.0.236/trunk@67023 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:30:30 +00:00
waterson%netscape.com
6619226328 Back out changes: they broke egcs.
git-svn-id: svn://10.0.0.236/trunk@67022 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:28:09 +00:00
ruslan%netscape.com
afed361fe5 WIP on 33508, 28890. Adjust response timeout up to 120 seconds by default
as well.


git-svn-id: svn://10.0.0.236/trunk@67021 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:27:30 +00:00
waterson%netscape.com
09208c6991 Bug 34619. Judicious use of fixed size allocators to reduce overhead.
git-svn-id: svn://10.0.0.236/trunk@67020 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:24:24 +00:00
sspitzer%netscape.com
621dbc460b for the new subscribe dialog.
git-svn-id: svn://10.0.0.236/trunk@67019 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:22:15 +00:00
wtc%netscape.com
50696e13da Bugzilla bug #30902: use true atomic implementation of the NSPR atomic
routines on Linux on Intel x86.
Modified files: _linux.h, pr/src/md/unix/Makefile,
pr/src/md/unix/Makefile.in, pr/src/md/unix/objs.mk
Added file: os_Linux_x86.s


git-svn-id: svn://10.0.0.236/trunk@67018 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:22:14 +00:00
waterson%netscape.com
1122960544 Use fixed size arena allocator for element map.
git-svn-id: svn://10.0.0.236/trunk@67017 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:21:57 +00:00
ducarroz%netscape.com
f3b400f908 Fix for bug 36939. Autocomplete widget doesn't use anymore its own tag but instead, it's now a textfield with the attribute "autocomplete" set to true.
git-svn-id: svn://10.0.0.236/trunk@67016 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:21:56 +00:00
waterson%netscape.com
2a4ab1589e Clean up pool initialization.
git-svn-id: svn://10.0.0.236/trunk@67015 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:20:00 +00:00
waterson%netscape.com
53140ef64b Change from an array of sizes to a linked list so it can handle new sizes after initialization.
git-svn-id: svn://10.0.0.236/trunk@67014 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:18:56 +00:00
ducarroz%netscape.com
44ad071ea9 Fix for bug 22338, 27171, 36939 and part of bug 35038. Some UI and autocomplete cleanup.
git-svn-id: svn://10.0.0.236/trunk@67013 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:18:41 +00:00
gagan%netscape.com
49989bc6b0 Fixed bug 36831. Removed an accidental checkin of an assertion.
git-svn-id: svn://10.0.0.236/trunk@67012 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:18:26 +00:00
shaver%mozilla.org
29133d8264 Linux/m68k xptcall port from <Michael_Fedrowitz@gmx.net>
git-svn-id: svn://10.0.0.236/trunk@67011 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:15:51 +00:00
gagan%netscape.com
77bcb2946d First checkin of proxy auto config stuff.
git-svn-id: svn://10.0.0.236/trunk@67010 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:15:35 +00:00
brendan%mozilla.org
d9b006ed90 Final destroy-context must await racing GCs before freeing atom state (32525, r=jband).
git-svn-id: svn://10.0.0.236/trunk@67009 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:12:36 +00:00
shaver%mozilla.org
762347617a add CurrentItemInPlaceUTF8 to reduce startup alloc by 2.3M(!), r=brendan
git-svn-id: svn://10.0.0.236/trunk@67008 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:11:08 +00:00
jdunn%netscape.com
d89086daa8 Remove HP specific stanza. It is not needed and causes 11.00 tinderbox bustage
git-svn-id: svn://10.0.0.236/trunk@67007 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:10:28 +00:00
shaver%mozilla.org
abb7463552 replace GC cache with LRU linked-list thing. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@67006 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:09:32 +00:00
brendan%mozilla.org
1bd1fa7328 Count allocations too; dump nodes ranked by mean allocation size.
git-svn-id: svn://10.0.0.236/trunk@67005 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 23:52:27 +00:00
dougt%netscape.com
f8f6b08b0c Adding xpcom.currentProcess
git-svn-id: svn://10.0.0.236/trunk@67004 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:54:04 +00:00
rogerl%netscape.com
61ae45d738 Fixes for handling missing params.
git-svn-id: svn://10.0.0.236/trunk@67003 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:40:53 +00:00
putterman%netscape.com
d5555765e3 Backing out troy's changes to fix various UI blocker bugs.
git-svn-id: svn://10.0.0.236/trunk@67002 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:29:06 +00:00
dougt%netscape.com
ff1dd2ab65 Fixing tree blocker. nsInstallFolder did not return an error code when
it could not initialize itself.  This caused crashes and return values which
were not correct.  I also fixed a huge about of memory leaks for allocation
of strings that were never freed.  r=dveditz, a=leaf.


git-svn-id: svn://10.0.0.236/trunk@67001 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:23:44 +00:00
putterman%netscape.com
8237a54fdd Backing out troy's changes to fix various UI blocker bugs.
git-svn-id: svn://10.0.0.236/trunk@67000 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:21:56 +00:00
putterman%netscape.com
97e6e61f3c Backing out troy's changes to fix various UI blocker bugs.
git-svn-id: svn://10.0.0.236/trunk@66999 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:15:55 +00:00
putterman%netscape.com
a27f77816e backing out troy's changes to fix various ui not working blocker bugs.
git-svn-id: svn://10.0.0.236/trunk@66998 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:05:39 +00:00
rginda%netscape.com
4a6106e9f6 adding comments
git-svn-id: svn://10.0.0.236/trunk@66997 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 21:43:49 +00:00
rpallath%eng.sun.com
ee8dbcd916 modified README
git-svn-id: svn://10.0.0.236/trunk@66996 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 21:28:42 +00:00
rginda%netscape.com
f16150cd10 NotARegister check in GenericBranch::print()
git-svn-id: svn://10.0.0.236/trunk@66994 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 20:08:16 +00:00
norris%netscape.com
0a8316b7cf Patch from Matthias Radestock <rade@logee.com>:
Subject:
             JavaAdapter return type conversion
        Date:
             Wed, 19 Apr 2000 12:12:47 +0100
       From:
             Matthias Radestock <rade@logee.com>
 Organization:
             Logee
         To:
             norris@netscape.com
         CC:
             mccabe@netscape.com, beard@netscape.com, rogerl@netscape.com




Dear Rhino team,

When returning an array from a scripted Java object (i.e. a JS object
that implements a Java interface), no type conversion is performed, ie.
a NativeArray is returned instead of a Java array. Example:

Java:
interface Foo {
        public String[] boo();
        }

JS:
FooI = {
        boo: function() { return ["Boo"];}
        }
myFoo = new Packages.Foo(FooI);
myFoo.boo(); //==> breaks with a ClassCastException


Looking at the JavaAdapter code, there is no code for array conversion.
This is particularly bad because precisely such a conversion *does*
happen when calling a Java method from JS. So we end up with a
discrepancy.

See attachment for a patch to fix this and little test program. The
patch works by calling the coerceType function on NativeJavaObject,
which is the function responsible for doing the conversion when calling
from JS to Java. I've simplified the code so that this function gets
called for all non-primitive return type, not just arrays. There are
probably more efficient solutions but I'm not a Java bytecode hacker.


Matthias
PS: I didn't open a bug for this because I wasn't sure whether you guys
would agree that this is indeed a problem ;)





public interface JSReturnTest {

  public boolean returnBoolean();
  public char returnChar();
  public int returnInt();
  public String returnString();
  public org.mozilla.javascript.Scriptable returnScriptable();
  public Object returnObject();
  public boolean[] returnBooleanA();
  public char[] returnCharA();
  public int[] returnIntA();
  public String[] returnStringA();
  public org.mozilla.javascript.Scriptable[] returnScriptableA();
  public Object[] returnObjectA();
  public Object[][] returnObjectAA();
}




Index: JavaAdapter.java
===================================================================
RCS file: /cvsroot/mozilla/js/rhino/org/mozilla/javascript/JavaAdapter.java,v
retrieving revision 1.21
diff -r1.21 JavaAdapter.java
54c54,59
<
---
>
>     public static Object convertResult(Object result, String classname)
>     throws ClassNotFoundException {
>         return NativeJavaObject.coerceType(Class.forName(classname),
>                                            result);
>     }
467,474c472,474
<         } else  if (retType.equals(String.class)) {
<             cfw.add(ByteCode.INVOKESTATIC,
<                     "org/mozilla/javascript/Context",
<                     "toString", "(Ljava/lang/Object;)",
<                     "Ljava/lang/String;");
<             cfw.add(ByteCode.ARETURN);
<         } else if (retType.equals(Scriptable.class)) {
<             cfw.add(ByteCode.ALOAD_0);  // load 'this' to find scope from
---
>         } else {
>             String retTypeStr = retType.getName();
>             cfw.addLoadConstant(retTypeStr);
476,477c476,477
<                     "org/mozilla/javascript/Context",
<                     "toObject",
---
>                     "org/mozilla/javascript/JavaAdapter",
>                     "convertResult",
479,500c479,480
<                      "Lorg/mozilla/javascript/Scriptable;)",
<                     "Lorg/mozilla/javascript/Scriptable;");
<             cfw.add(ByteCode.ARETURN);
<         } else {
<             // If it is a wrapped type, cast to Wrapper and call unwrap()
<             cfw.add(ByteCode.DUP);
<             cfw.add(ByteCode.INSTANCEOF, "org/mozilla/javascript/Wrapper");
<             // skip 3 for IFEQ, 3 for CHECKCAST, and 5 for INVOKEINTERFACE
<             cfw.add(ByteCode.IFEQ, 11);
<             cfw.add(ByteCode.CHECKCAST, "org/mozilla/javascript/Wrapper");
<             cfw.add(ByteCode.INVOKEINTERFACE,
<                     "org/mozilla/javascript/Wrapper",
<                     "unwrap", "()", "Ljava/lang/Object;");
<
<             // If Undefined, return null
<             cfw.add(ByteCode.DUP);
<             cfw.add(ByteCode.INSTANCEOF, "org/mozilla/javascript/Undefined");
<             // skip 3 for IFEQ, 1 for ACONST_NULL, 1 for ARETURN
<             cfw.add(ByteCode.IFEQ, 5);
<             cfw.add(ByteCode.ACONST_NULL);
<             cfw.add(ByteCode.ARETURN);
<
---
>                     "Ljava/lang/String;)",
>                     "Ljava/lang/Object;");
502,503c482
<             String retTypeStr = retType.getName().replace('.', '/');
<             cfw.add(ByteCode.CHECKCAST, retTypeStr);
---
>             cfw.add(ByteCode.CHECKCAST, retTypeStr.replace('.', '/'));



   testpatch.js

               Name:
                     testpatch.js
                Type:
                     JavaScript Program (application/x-javascript)
             Encoding:
                     7bit


git-svn-id: svn://10.0.0.236/trunk@66993 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 19:36:51 +00:00
rpallath%eng.sun.com
2801619f43 New Tests for getAlignment
git-svn-id: svn://10.0.0.236/trunk@66992 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 19:02:42 +00:00
rpallath%eng.sun.com
075e485b1c getAlignment tests for API -> LEFT
git-svn-id: svn://10.0.0.236/trunk@66991 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 18:58:18 +00:00
rpallath%eng.sun.com
b5b2879b1b GetAlignment API tests
git-svn-id: svn://10.0.0.236/trunk@66990 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 18:55:25 +00:00
rpallath%eng.sun.com
64d5ffefb9 New files for Killer app on Win32
git-svn-id: svn://10.0.0.236/trunk@66989 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 18:52:40 +00:00
despotdaemon%netscape.com
cffb8511e1 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@66988 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 18:46:05 +00:00
despotdaemon%netscape.com
c2c1fb1540 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@66987 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 18:41:41 +00:00
rginda%netscape.com
3bc6bc1635 quieting linux warnings
git-svn-id: svn://10.0.0.236/trunk@66986 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 18:41:05 +00:00
rpallath%eng.sun.com
2fd5307c2d Added README and BWTest.lst
Updated some test cases


git-svn-id: svn://10.0.0.236/trunk@66984 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 18:25:27 +00:00
brade%netscape.com
23edb20bda fixing build bustage; submitted by Philip.Blundell@pobox.com (a=granrose)
git-svn-id: svn://10.0.0.236/trunk@66982 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 15:42:15 +00:00
dveditz%netscape.com
b679a7a88e fixing clobber bustage
git-svn-id: svn://10.0.0.236/trunk@66981 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 15:03:47 +00:00
ftang%netscape.com
c936bf31e5 Change the implementation to use nsILocalFile as the first step to fix
non ASCII problem. We will change to use the unicode version of the method in the
near future. The unicode version is put in the comment for now. After we validate the
nsILocalFile version have no problem. We will switch to it's unicode version of method
r=dougt


git-svn-id: svn://10.0.0.236/trunk@66980 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 14:51:48 +00:00
dcone%netscape.com
4d7e55797e Round the stikewidth properly.. instead of truncation.
git-svn-id: svn://10.0.0.236/trunk@66979 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 14:32:58 +00:00
dveditz%netscape.com
a84476f045 First cut at chrome install
git-svn-id: svn://10.0.0.236/trunk@66978 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 13:53:38 +00:00
dveditz%netscape.com
a9932c06b7 added missing dependency
git-svn-id: svn://10.0.0.236/trunk@66977 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 13:36:06 +00:00
dcone%netscape.com
69a294ebad Adjusted the subscript height for the font.
git-svn-id: svn://10.0.0.236/trunk@66976 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 13:34:07 +00:00
jfrancis%netscape.com
612bfa299f lots of improvements to block transformations:
1) looks inside inlines for breaks;
2) fixes the "extra break when unlisting" bug
3) changing paragraph style to normal consistently gets breaks
4) any splitting needed occurs when blocks inserted
plus a lot of small bug fixes


git-svn-id: svn://10.0.0.236/trunk@66975 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 11:51:12 +00:00
rjc%netscape.com
e896317e7d Remove "category.rdf"... its been replaced with "search.rdf" which is now in the default profile directory.
git-svn-id: svn://10.0.0.236/trunk@66974 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 09:39:40 +00:00
rjc%netscape.com
904201e8bd When downloading new search engines/images, check HTTP status against 200 level success.
git-svn-id: svn://10.0.0.236/trunk@66973 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 08:49:59 +00:00
alecf%netscape.com
dca50080db fix strres js so that the string bundle service is retrieved via getService, not createInstance()
(otherwise there were 2 createinstances for every creation of a stringbundle!)


git-svn-id: svn://10.0.0.236/trunk@66972 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 08:04:06 +00:00
rickg%netscape.com
2831483a57 more WIP on strict DTD
git-svn-id: svn://10.0.0.236/trunk@66971 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 07:35:37 +00:00
tbogard%aol.net
2d18828b59 Added getContentDocShell to allow access to the browser docShell.
git-svn-id: svn://10.0.0.236/trunk@66970 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 06:31:30 +00:00
rickg%netscape.com
947aefeccf first pass (of many) to bring us into alignment with Strict DTD
git-svn-id: svn://10.0.0.236/trunk@66969 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 06:09:04 +00:00
dougt%netscape.com
354bfa7dc3 Adding critical check for null.
removing unneded assignment to temp var.


git-svn-id: svn://10.0.0.236/trunk@66968 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 06:08:48 +00:00
sspitzer%netscape.com
9770a6681b fix warnings, remove unused code.
git-svn-id: svn://10.0.0.236/trunk@66967 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 05:37:34 +00:00
sspitzer%netscape.com
b9ff1121ad fix for #14313, don't migrate on top of an existing directory.
git-svn-id: svn://10.0.0.236/trunk@66966 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 05:28:49 +00:00
scc%netscape.com
88d748c99a makings string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66965 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 05:19:20 +00:00
scc%netscape.com
cfa9b4dfd6 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66964 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 05:11:18 +00:00
tbogard%aol.net
3e9a277be7 Added comment for when to add win_start in just like the win_stop.
git-svn-id: svn://10.0.0.236/trunk@66963 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 05:06:51 +00:00
tbogard%aol.net
0c0a490183 Added new flag for a timed out net connection.
git-svn-id: svn://10.0.0.236/trunk@66962 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 05:03:49 +00:00
tbogard%aol.net
2b5d01facf Instead of getting the interface off the treeowner, do a GetInterface off the docShell to get a prompter.
git-svn-id: svn://10.0.0.236/trunk@66961 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 05:00:34 +00:00
scc%netscape.com
4338ace0cb making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66960 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:55:38 +00:00
scc%netscape.com
fc37d8e7c0 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66959 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:47:32 +00:00
joki%netscape.com
8aabc79a05 fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.


git-svn-id: svn://10.0.0.236/trunk@66958 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:41:27 +00:00
scc%netscape.com
9265e89295 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66957 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:36:57 +00:00
dcone%netscape.com
738deb408a Put in the Tiling call from the RenderingContextImpl.
git-svn-id: svn://10.0.0.236/trunk@66956 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:36:05 +00:00
waterson%netscape.com
f86157ef95 Bug 35815. Implement <bindings> for XUL templates.
git-svn-id: svn://10.0.0.236/trunk@66955 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:22:26 +00:00
conrad%ingress.com
9e250c6fea Made access paths within the CW folder more specific.
git-svn-id: svn://10.0.0.236/trunk@66954 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 03:49:08 +00:00
conrad%ingress.com
cc4bed5c7b In SetTopLevelWindow, no longer calling AddProgressListener. This is redundant because the call to nsIWebBrowser::SetTopLevelWindow already makes the chrome the progress listening parent. The redundancy makes each of the nsIWebProgressListener methods in the chrome get called an extra time.
git-svn-id: svn://10.0.0.236/trunk@66953 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 03:47:43 +00:00
bienvenu%netscape.com
52e94911b8 avoid cell api's, get yarn directly from column, performance win, r=waterson
git-svn-id: svn://10.0.0.236/trunk@66952 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 03:42:15 +00:00
conrad%ingress.com
0a0ca35bce Removed BeginDocumentLoad/EndDocumentLoad. This functionality is handled by OnStatusNetStart/OnStatusNetStop.
git-svn-id: svn://10.0.0.236/trunk@66951 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 03:40:53 +00:00
conrad%ingress.com
b6c53b9bc1 Removed implementation of nsIDocumentLoaderObserver. Its functionality is now handled by nsIWebProgressListener.
git-svn-id: svn://10.0.0.236/trunk@66950 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 03:37:55 +00:00
conrad%ingress.com
e622d7c794 1. Removed implementation of nsIDocumentLoaderObserver. Its functionality is now handled by nsIWebProgressListener.
2. Fixed OnStatusChange. More than one status bit could be set and it was not handling this.


git-svn-id: svn://10.0.0.236/trunk@66949 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 03:37:10 +00:00
dougt%netscape.com
e60b39313e Fix for bug 35751. Caching type and creator information for nsLocalFileMac. This is so that files can be created with a given type/creator tag after the initialization of the ifile.. r=warren and sfraser.
git-svn-id: svn://10.0.0.236/trunk@66948 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 03:24:49 +00:00
sspitzer%netscape.com
1aa6d91c9f fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@66947 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 03:15:52 +00:00
cata%netscape.com
cdcf3a48cf Fixing tree bustage.
git-svn-id: svn://10.0.0.236/trunk@66946 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 03:13:46 +00:00
cata%netscape.com
1dc75215d9 Menu code moved on new API.
git-svn-id: svn://10.0.0.236/trunk@66945 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 02:18:16 +00:00
joki%netscape.com
2ce6d1e219 Fix for bug 23373, allow prevention of context menu via mousedown handler
git-svn-id: svn://10.0.0.236/trunk@66944 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 02:07:06 +00:00
rginda%netscape.com
4ceded7c68 -- CHATZILLA CHANGES ONLY --
undoing damn's misplaced changes


git-svn-id: svn://10.0.0.236/trunk@66943 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 00:45:23 +00:00
rginda%netscape.com
aebe1cd818 -- CHATZILLA CHANGES ONLY --
checking in patch from Josh Gough, <exv@randomc.com>
muchas gracias!

irc.js
add whois, invite

utils.js
added map and mapObjFunc

chatzilla.xul
add cntxt menu for userlist

commands.js
hook up /away, op, deop, voice, devoice, echo, invite, and kick commands

hadlers.js
onload hack
whois, away, deop, op, voice, devoice, echo, invite, kick command implementations

static.js
more of the onload hack
addEventListener on toolbuttons

listbox.js
selection code

chatzilla.css
selicted list item style


git-svn-id: svn://10.0.0.236/trunk@66942 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 00:40:56 +00:00
pollmann%netscape.com
4845051437 Bug 36830: Revert a small part of the fix for bug 33203 that was breaking observer notification.
git-svn-id: svn://10.0.0.236/trunk@66941 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 23:54:29 +00:00
jband%netscape.com
2e1e95ace7 belt and suspenders check of WITH_SERVICE results
git-svn-id: svn://10.0.0.236/trunk@66940 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 23:04:40 +00:00
scc%netscape.com
3b642847fd making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66939 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 22:43:46 +00:00
scc%netscape.com
68bdfcbb24 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66938 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 22:25:52 +00:00
mstoltz%netscape.com
a8b220b370 Backing out changes until I can figure out why it's crashing on startup.
git-svn-id: svn://10.0.0.236/trunk@66937 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 21:25:39 +00:00
jband%netscape.com
22a08b511e checking in changes from Stefan Hanske <sh990154@mail.uni-greifswald.de> (who wrote the original version of the Linux ARM code)
git-svn-id: svn://10.0.0.236/trunk@66936 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 21:14:11 +00:00
mstoltz%netscape.com
85e8a5b8e2 Fixes for bugs 27010, 32878, 32948.
git-svn-id: svn://10.0.0.236/trunk@66935 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 20:30:29 +00:00
scc%netscape.com
293ca6c86b making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66934 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 19:55:29 +00:00
attinasi%netscape.com
ce64bdd8ed Removed warnings: very basic changes
git-svn-id: svn://10.0.0.236/trunk@66933 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 19:06:37 +00:00
scc%netscape.com
21b4d298b9 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66932 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 19:04:37 +00:00
cls%seawood.org
edfdaaa3a8 General cleanup of the shared library rules.
Quick fix for bug #36844.
Since people kept forgetting to wrap SHARED_LIBRARY_LIBS inside MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs, we now handle it in rules.mk.  Same goes for making $(SHARED_LIBRARY) dependent upon $(SHARED_LIBRARY_LIBS).


git-svn-id: svn://10.0.0.236/trunk@66931 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 17:48:04 +00:00
rhp%netscape.com
caffd950d8 Disable the add to address book - Bug #29436 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@66930 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 17:40:58 +00:00
alecf%netscape.com
69cacb25db switch to using attributes instead of Get/SetMsgFolder
git-svn-id: svn://10.0.0.236/trunk@66929 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 17:36:03 +00:00
alecf%netscape.com
ae9065569d switch to nsString::IsSpace to avoid dependancies on xp_core.h
git-svn-id: svn://10.0.0.236/trunk@66928 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 17:32:22 +00:00
alecf%netscape.com
c50d657e80 switch to nspr types to reduce dependancies on xp_core.h, and fix a warning
git-svn-id: svn://10.0.0.236/trunk@66927 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 17:31:29 +00:00
alecf%netscape.com
b7e95a4b1e switch to nspr values to reduce dependancy on xp_core.h
git-svn-id: svn://10.0.0.236/trunk@66926 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 17:30:21 +00:00
cls%seawood.org
892351c1b5 Removing unused dependency upon nsappShellCIDs.h. Bug #24515. r=shaver
git-svn-id: svn://10.0.0.236/trunk@66925 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 16:08:55 +00:00
blizzard%redhat.com
aed9e69bf5 Fix for bug #31709. Make sure to initialize the return value so that targetListFromTransArr() won't return garbage if the array is empty. This fixes a crash when doing a ctrl-drag in mailnews with imap.
git-svn-id: svn://10.0.0.236/trunk@66924 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 15:40:01 +00:00
rickg%netscape.com
1baa2cd792 remove undesired warnings
git-svn-id: svn://10.0.0.236/trunk@66923 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 14:48:51 +00:00
scc%netscape.com
2500aea861 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66922 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 13:42:22 +00:00
scc%netscape.com
f5a0181745 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66921 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 11:54:43 +00:00
scc%netscape.com
9eb8099abc making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66920 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 11:37:44 +00:00
scc%netscape.com
c22a354196 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66919 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 11:12:53 +00:00
scc%netscape.com
77ff640a95 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66918 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 10:58:27 +00:00
scc%netscape.com
4f5712d057 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66917 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 09:29:12 +00:00
pavlov%netscape.com
3b74a6b1a4 changes to work with new string apis
git-svn-id: svn://10.0.0.236/trunk@66916 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 08:29:39 +00:00
shaver%mozilla.org
7d81715f23 show pointed-to symbol onmouseover, for easier scanning (r=brendan)
git-svn-id: svn://10.0.0.236/trunk@66915 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 07:13:19 +00:00
rjc%netscape.com
81704a0eb9 Package up files in "Search Plugins" (Mac) ["searchplugins" on other platforms]
git-svn-id: svn://10.0.0.236/trunk@66914 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 06:36:45 +00:00
rjc%netscape.com
02a0d377c6 Install search files into "$(DIST)Search Plugins" and "search.rdf" into default profile directory.
git-svn-id: svn://10.0.0.236/trunk@66913 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 06:34:52 +00:00
rjc%netscape.com
154f75f5af Use "Search Plugins" folder.
git-svn-id: svn://10.0.0.236/trunk@66912 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 06:33:35 +00:00
rjc%netscape.com
fd70d5b46c Place search files into "Search Plugins" folder.
git-svn-id: svn://10.0.0.236/trunk@66911 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 06:31:29 +00:00
pavlov%netscape.com
737b1b7d4e add typename to make linux compiler happy r=scc
git-svn-id: svn://10.0.0.236/trunk@66910 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 05:54:36 +00:00
sspitzer%netscape.com
c6bf74a308 use button, instead of titlebutton
git-svn-id: svn://10.0.0.236/trunk@66909 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 05:31:32 +00:00
sspitzer%netscape.com
cf356a17d2 missing the </RDF:RDF> tag. this was causing me to crash on exit.
git-svn-id: svn://10.0.0.236/trunk@66908 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 05:30:37 +00:00
sspitzer%netscape.com
067368fcf4 root the tree in the subscribe dialog after we are done building the datasource.
git-svn-id: svn://10.0.0.236/trunk@66907 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 05:18:23 +00:00
brendan%mozilla.org
2055088134 Add -f function-dump-filename option; try to keep its first table cell of reasonable width without depending on (broken in 4.x) css support.
git-svn-id: svn://10.0.0.236/trunk@66906 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 05:04:58 +00:00
troy%netscape.com
e5cd366545 Fixed CreateViewForFrame() to check for a block-level frame with
'overflow' set to 'hidden' and force the frame to have a view. This
way child frames with views are clipped correctly


git-svn-id: svn://10.0.0.236/trunk@66905 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 04:55:27 +00:00
pavlov%netscape.com
2db71ac58c clean up after we get the targets
git-svn-id: svn://10.0.0.236/trunk@66904 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 04:52:58 +00:00
rjc%netscape.com
3c4b952a02 Add ability to find search.rdf or "Search Plugins" directory.
git-svn-id: svn://10.0.0.236/trunk@66903 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 04:45:39 +00:00
rjc%netscape.com
7342779fa0 Add search.rdf
git-svn-id: svn://10.0.0.236/trunk@66902 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 04:43:44 +00:00
rjc%netscape.com
62f8b7af48 Enable ability to do a copy instead of an alias.
git-svn-id: svn://10.0.0.236/trunk@66901 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 04:40:42 +00:00
troy%netscape.com
a93d4ec8b6 Changed SyncFrameViewAfterReflow() to consider out-of-flow frames
as block-level as well. This covers the case where a floated or
absolutely positioned frame has its 'display' value set to 'inline'
and so we didn't recognise it as block-level


git-svn-id: svn://10.0.0.236/trunk@66900 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 04:33:23 +00:00
sspitzer%netscape.com
9053f6dc05 add this, for the new subscribe dialog.
git-svn-id: svn://10.0.0.236/trunk@66899 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 03:59:18 +00:00
attinasi%netscape.com
f07445d22b Fixed PseudoStyle resolution for primary style context in ReResolveStyleContext: was passing child-content when it should be passing parent-content. r=pierre
git-svn-id: svn://10.0.0.236/trunk@66898 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 03:49:19 +00:00
rickg%netscape.com
0d6131fe26 enabling Strict DTD; r=harishd.
git-svn-id: svn://10.0.0.236/trunk@66897 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 03:28:18 +00:00
sspitzer%netscape.com
8bb327a403 give credit where credit is due.
git-svn-id: svn://10.0.0.236/trunk@66896 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 03:21:49 +00:00
ssu%netscape.com
ca5fa8f4c3 fixing bug #35872. xpinstall engine now correctly creates nested dirs more than 1 level deep. This problem could have been the cause of the brownser not launching from a clean install (which I have experienced) because files were not getting installed into their proper subdirs.
git-svn-id: svn://10.0.0.236/trunk@66895 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 02:09:17 +00:00
attinasi%netscape.com
3c5099c351 Added support for @charset in external stylesheets, as well as support for charset being set byt HTML document for parsing HTML style attributes in other charsets. r=ftang b=2870,28500
git-svn-id: svn://10.0.0.236/trunk@66894 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 02:01:40 +00:00
mscott%netscape.com
d5d50a4909 Some folks were confused about why we had AsyncOpen I put a comment saying this method is being
made obsolete and no one really implements it.


git-svn-id: svn://10.0.0.236/trunk@66893 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 01:45:21 +00:00
sspitzer%netscape.com
25aae9ee4e changes for subscribe. it needs to be general, not just for news, since imap
will use the subscribe dialog as well.

also, some minor changes, the humble beginnings of the hostinfo.dat support.


git-svn-id: svn://10.0.0.236/trunk@66892 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 01:19:51 +00:00
sspitzer%netscape.com
da9c33c2a4 add nsISubscribableServer to the build
git-svn-id: svn://10.0.0.236/trunk@66891 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 01:18:34 +00:00
sspitzer%netscape.com
1c3d617cb7 changes for subscribe. need this interface because subscribe is not news specific. (imap does it too.)
git-svn-id: svn://10.0.0.236/trunk@66890 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 01:15:04 +00:00
scc%netscape.com
c3ce8681aa Added an additional permitting and denying signatures for |NS_ConvertASCIItoUCS2|
git-svn-id: svn://10.0.0.236/trunk@66889 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 01:03:28 +00:00
hoa.nguyen%intel.com
3f42da3f71 Fixed a bug where the browser would die try to dlopen gtkxtbin
when loading a legacy plugin (on Linux.) This is still part of the
bug fix for #31012
-r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@66888 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 01:01:23 +00:00
troy%netscape.com
e90db6dfb9 Changes to bring clipping inline with upcoming CSS2 errata
git-svn-id: svn://10.0.0.236/trunk@66887 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 00:56:16 +00:00
sspitzer%netscape.com
8ca11b539e fix the indent regression in the new subscribe dialog.
git-svn-id: svn://10.0.0.236/trunk@66886 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 00:25:37 +00:00
sspitzer%netscape.com
c4fa627bce turn off gagan's assertion. #36831. r=mscott.
git-svn-id: svn://10.0.0.236/trunk@66885 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:34:03 +00:00
scc%netscape.com
6bee853362 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66884 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:23:43 +00:00
mscott%netscape.com
d464cd0c36 Bug #33156 --> webshell no longer implements nsIProgressEventSink, the doc loader does.
it's getting smaller! *yeah*


git-svn-id: svn://10.0.0.236/trunk@66883 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:19:40 +00:00
mscott%netscape.com
83ea2e4cb1 Bug #33156 --> the doc loader now implements nsIProgressEventSink. Add this support to getInterface for the docshell.
git-svn-id: svn://10.0.0.236/trunk@66882 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:18:18 +00:00
mscott%netscape.com
0c02c5b5b3 help support the doc loader using the web progress listener.
git-svn-id: svn://10.0.0.236/trunk@66881 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:17:11 +00:00
sspitzer%netscape.com
bf8148d6b9 fix for #36663. make it so when you run a news://host/group url to autosubscribe, a new messenger window opens up. eventually I'll heed the 4.x pref for
this, so that it will open in an existing messenger window.


git-svn-id: svn://10.0.0.236/trunk@66880 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:16:45 +00:00
mscott%netscape.com
2693ece9ce Bug #33156 --> implment onChildStatusChanged AND progress notifications for the doc loader
through the web progress interfaces. In order to implement progress, the doc loader now implements
nsIProgressEventSink and receives events directly from the channels.


git-svn-id: svn://10.0.0.236/trunk@66879 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:16:31 +00:00
sspitzer%netscape.com
1d7271a722 project changes so that running a news://host/group url opens a new window.
git-svn-id: svn://10.0.0.236/trunk@66878 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 23:06:40 +00:00
mscott%netscape.com
3f5c264c10 These changes are actually valeski's. I'm checking them in for him. These changes are to make http
report proper progress to the consumer of the url. Before, http was reporting the socket's progress instead of
its own. That information wasn't very useful.

r=mscott


git-svn-id: svn://10.0.0.236/trunk@66877 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 22:40:40 +00:00
mscott%netscape.com
59e19b391e fix build breakage for windows and mac.
git-svn-id: svn://10.0.0.236/trunk@66876 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 21:47:01 +00:00
sspitzer%netscape.com
4f8303820f fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@66875 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 21:41:59 +00:00
hoa.nguyen%intel.com
1d58a77da7 Adding legacy plug-in support for Linux. These changes depend on a new gtkxtbin library.
This applies to bug #31012. r=blizzard


git-svn-id: svn://10.0.0.236/trunk@66874 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 20:50:22 +00:00
hoa.nguyen%intel.com
3d151d580d Adding lines to build the new gtkxtbin library for implementing legacy
plugin support on Linux.  This is part of bug #31012.
-r=blizzard


git-svn-id: svn://10.0.0.236/trunk@66873 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 20:45:12 +00:00
hoa.nguyen%intel.com
a04a3e539c Adding gtkxtbin library which allows Xt widgets inside a Gtk application.
This is part of a fix for bug #3102 to add legacy plug-in support on linux.
-r=blizzard


git-svn-id: svn://10.0.0.236/trunk@66872 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 20:39:38 +00:00
jband%netscape.com
fe6d89c828 a little safer
git-svn-id: svn://10.0.0.236/trunk@66871 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 19:21:18 +00:00
jband%netscape.com
4950cd0520 cleanup manifest line scanner - was reading one char beyond the end of the array
git-svn-id: svn://10.0.0.236/trunk@66870 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 19:13:39 +00:00
bienvenu%netscape.com
2010fd542a fix build warnings
git-svn-id: svn://10.0.0.236/trunk@66869 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 18:51:33 +00:00
sspitzer%netscape.com
7c22d40ddb adding this, will be used very soon for autosubscribe.
git-svn-id: svn://10.0.0.236/trunk@66868 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 18:45:02 +00:00
bienvenu%netscape.com
f3cfd36e26 fix build warnings
git-svn-id: svn://10.0.0.236/trunk@66867 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 18:42:51 +00:00
bienvenu%netscape.com
a1aca70ec6 fix build warning, set search session on url
git-svn-id: svn://10.0.0.236/trunk@66866 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 18:37:58 +00:00
brendan%mozilla.org
01a44c7e01 Comment improvements.
git-svn-id: svn://10.0.0.236/trunk@66865 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 18:36:10 +00:00
cata%netscape.com
95d27b85a2 New interface method.
git-svn-id: svn://10.0.0.236/trunk@66864 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 17:49:55 +00:00
bienvenu%netscape.com
bf4e728d7c add search session to factory
git-svn-id: svn://10.0.0.236/trunk@66863 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 17:44:45 +00:00
bienvenu%netscape.com
eb359f72b4 more work on search, including validity manager
git-svn-id: svn://10.0.0.236/trunk@66862 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 17:36:27 +00:00
cata%netscape.com
7c706435a1 Comments.
git-svn-id: svn://10.0.0.236/trunk@66861 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 17:26:54 +00:00
sspitzer%netscape.com
95352140f3 fix for bug #36832. twisty's class changed from "twisty" to "tree-cell-twisty".
git-svn-id: svn://10.0.0.236/trunk@66860 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 17:13:59 +00:00
sspitzer%netscape.com
62c10e8691 init the refcount.
git-svn-id: svn://10.0.0.236/trunk@66859 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 16:52:06 +00:00
cata%netscape.com
353221332f Adding new file to the build.
git-svn-id: svn://10.0.0.236/trunk@66858 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 16:38:50 +00:00
cata%netscape.com
c6ab27fb9c More test code.
git-svn-id: svn://10.0.0.236/trunk@66857 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 16:36:47 +00:00
cata%netscape.com
b012028df3 Cosmetic changes.
git-svn-id: svn://10.0.0.236/trunk@66856 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 16:35:10 +00:00
troy%netscape.com
ec619780c1 Slight performance improvement
git-svn-id: svn://10.0.0.236/trunk@66855 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 15:50:12 +00:00
jim_nance%yahoo.com
bfc3003957 Changed the version of the DEC C++ compiler we test for.
This should not affect systems not running Tru64 Unix


git-svn-id: svn://10.0.0.236/trunk@66854 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 11:01:07 +00:00
scc%netscape.com
1acc00c9d4 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66853 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 10:46:20 +00:00
scc%netscape.com
fe0f1e89f2 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66852 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 10:31:38 +00:00
tbogard%aol.net
5a9e9b10c1 Moved the implementation of AssignWithConversion to the cpp file since Linux and Windows didn't like it inline in the h file. r=scc
git-svn-id: svn://10.0.0.236/trunk@66851 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 09:17:20 +00:00
scc%netscape.com
22fed30c55 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66850 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 08:43:34 +00:00
scc%netscape.com
c594237017 Added a signature previously covered by |Assign(const nsStr&)|, now |Assign( const nsString& )|.
git-svn-id: svn://10.0.0.236/trunk@66849 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 08:36:28 +00:00
hangas%netscape.com
45eb2b82fd More progress on 19561 (converting AB to xul widgets)
git-svn-id: svn://10.0.0.236/trunk@66848 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 08:14:59 +00:00
hangas%netscape.com
19be5d0120 Fix to 34156 (using onkeypress handler on URL bar of browser window).
git-svn-id: svn://10.0.0.236/trunk@66847 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 07:16:17 +00:00
warren%netscape.com
5c00be008e admin -kb
git-svn-id: svn://10.0.0.236/trunk@66846 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 07:10:04 +00:00
hangas%netscape.com
0a036d94d6 Progress towards 19561 (making AB skinnable), fix to 36428 & 36268 bugs with html widgets not drawing in Card Edit dialog.
git-svn-id: svn://10.0.0.236/trunk@66845 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 07:04:15 +00:00
jband%netscape.com
3f9f054e71 fix bug 36805 - was leaking xptiInterfaceGuts by unconditionally overwriting a union
git-svn-id: svn://10.0.0.236/trunk@66844 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 06:30:46 +00:00
jband%netscape.com
b8b53007ad fix bug 36806 - leaking locks. Just plain sloppy!
git-svn-id: svn://10.0.0.236/trunk@66843 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 06:28:44 +00:00
ducarroz%netscape.com
2f2140c3b3 Fix for bug 20180. Since we use menulist instead of SELECT, we need to extract the identity key from the menuitem's id.
git-svn-id: svn://10.0.0.236/trunk@66842 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 05:41:15 +00:00
jband%netscape.com
f043572e9c hey! someone changed the progid for the zip reader, updating my copy of the progid. xptiZipLoader.cpp
git-svn-id: svn://10.0.0.236/trunk@66841 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 04:11:33 +00:00
ducarroz%netscape.com
ff1f5c17ea Fix for bug 16354. Land new autocomplete for mailnews
git-svn-id: svn://10.0.0.236/trunk@66840 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 03:30:45 +00:00
ducarroz%netscape.com
312811a5b0 Fix for bug 16354. Add autocomplete to the browser package
git-svn-id: svn://10.0.0.236/trunk@66839 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 03:30:21 +00:00
pollmann%netscape.com
2dae2dfd5c Bug 33203: Form submit observer changes for psm-glue; r=dougt
git-svn-id: svn://10.0.0.236/trunk@66838 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 03:29:50 +00:00
ducarroz%netscape.com
b480a0d782 Need to be able to parse AB directories without to have to open the AddressBook first. Needed by autocomplete search engine. R=candice
git-svn-id: svn://10.0.0.236/trunk@66837 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 03:29:44 +00:00
ducarroz%netscape.com
3c1bcc78ff Fix for bug 16354. Landing of the new autocomplete in mailnews
git-svn-id: svn://10.0.0.236/trunk@66836 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 03:29:36 +00:00
ducarroz%netscape.com
4a5ac72a7d Fix for bug 16354. Landing of the new autocomplete in mailnews. R=mscott
git-svn-id: svn://10.0.0.236/trunk@66835 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 03:29:35 +00:00
ducarroz%netscape.com
14bbfae9a4 Fix for bug 16354. Landing of the new autocomplete in mailnews, R=mscott
git-svn-id: svn://10.0.0.236/trunk@66834 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 03:28:46 +00:00
ducarroz%netscape.com
9f5325c5ae Fix for bug 16354. Change component prog id name to be more generic
git-svn-id: svn://10.0.0.236/trunk@66833 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 03:28:45 +00:00
pollmann%netscape.com
ba50a67219 Bug 34416: Use CHROME vars in Makefile.in instead of overwriting install targets (GTK only); r=harishd
git-svn-id: svn://10.0.0.236/trunk@66832 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 03:01:11 +00:00
pavlov%netscape.com
831fb8d0dc fix bug where we copied pasted ascii data as unicode
git-svn-id: svn://10.0.0.236/trunk@66831 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 02:49:33 +00:00
pollmann%netscape.com
1b74be46d0 Bug 34416: Use CHROME vars in makefile.win instead of overwriting install targets (WIN32 only); r=harishd
git-svn-id: svn://10.0.0.236/trunk@66830 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 02:48:56 +00:00
edburns%acm.org
8f4e04f72f a=edburns
bug: pressing BACK hangs webclient

Files touched

File: DocumentLoadEvent.java	Status: Locally Modified

Made the constants final so they can be used in a
switch statement

File: EMWindow.java    	Status: Locally Modified

Modified eventDispatched() so it doesn't call any webclient
events.  This was causing the hang.  Took advantage of
the newly implemented ability to pass a string from the
mozilla event handler into java.


File: DocumentLoaderObserverImpl.cpp	Status: Locally Modified

Create a jstring from the url in the OnStartDocumentLoad event.
Pass it on to java.

File: jni_util.cpp	Status: Locally Modified

Wrapped JNU_GetEnv in BAL stuff so it works from Star.

File: WebclinetEventListener.java	Status: Locally Modified

Added comment to eventDispatched.


git-svn-id: svn://10.0.0.236/trunk@66829 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 02:01:20 +00:00
cmanske%netscape.com
c7c27b019e Very simple UI fix - replaced titledbutton with button for Plain Text Editor
git-svn-id: svn://10.0.0.236/trunk@66828 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 01:49:00 +00:00
alecf%netscape.com
eb357e27cf missing object file from makefile
git-svn-id: svn://10.0.0.236/trunk@66827 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 01:31:55 +00:00
gagan%netscape.com
97d633db2b Fixing a bad merge. Reordered WriteRequest with ReleaseTransport in OnStopRequest.
git-svn-id: svn://10.0.0.236/trunk@66826 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 01:23:29 +00:00
sfraser%netscape.com
5ea79431e4 Add nsIMsgSearchScopeTerm.idl for alecf.
git-svn-id: svn://10.0.0.236/trunk@66825 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 01:21:20 +00:00
akkana%netscape.com
42ebe8609c 36778: Contribution from Ryan Cassin (kidteckco@hotmail.com) to fix toolbar and titlebar in plaintext editor
git-svn-id: svn://10.0.0.236/trunk@66824 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 01:12:52 +00:00
jband%netscape.com
0d66118294 fix debug message
git-svn-id: svn://10.0.0.236/trunk@66823 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 01:07:39 +00:00
jband%netscape.com
7511ada4ea fix a dangerous looking (but harmless) warning on Mac opt
git-svn-id: svn://10.0.0.236/trunk@66822 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 01:06:42 +00:00
alecf%netscape.com
a008eb602c fix class casting bustage
git-svn-id: svn://10.0.0.236/trunk@66821 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:57:48 +00:00
dbaron%fas.harvard.edu
a37963e5fe Prevent selector matching from incorrectly failing due to greedy matching. b=24031 r=pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66820 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:47:18 +00:00
alecf%netscape.com
f6c785cc57 added files: mozilla/mailnews/base/search/src/nsMsgSearchValue.cpp
git-svn-id: svn://10.0.0.236/trunk@66819 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:44:42 +00:00
alecf%netscape.com
f327f45176 fix casting bustage
git-svn-id: svn://10.0.0.236/trunk@66818 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:42:50 +00:00
gagan%netscape.com
7265366ff3 Small HTTP api change.
git-svn-id: svn://10.0.0.236/trunk@66817 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:40:21 +00:00
dbaron%fas.harvard.edu
0dc8ee1f48 Make XPCOM_MEM_LOG_OBJECTS work with alloc logging (before it worked only with refcount logging). r=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66816 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:40:13 +00:00
alecf%netscape.com
183da7204a added files: mozilla/mailnews/base/search/src/nsMsgSearchValue.cpp
git-svn-id: svn://10.0.0.236/trunk@66815 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:38:46 +00:00
alecf%netscape.com
c5d146facc oops, fix IDL bustage
git-svn-id: svn://10.0.0.236/trunk@66814 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:38:29 +00:00
alecf%netscape.com
9550ce0fb3 added files: mozilla/mailnews/base/search/public/nsIMsgSearchValue.idl
git-svn-id: svn://10.0.0.236/trunk@66813 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:36:36 +00:00
gagan%netscape.com
50ad50522f Fixed bug 23480. Changed the PostDataStream api to be UploadStream api to allow PUT requests as well.
Fixed bug 32560. Added AsyncWrite implementation for HTTP.
Fixed bug 33842. Some of the earliar code that ruslan had landed broke the status updating for proxy cases.
Fixed bug 36602. Added an api to add (and remove) entries to the "no proxy for" array. Also changed the array to be constructed once (and hence parsed once) instead on each call to ExamineForProxy.
Part fix for bug 31174. Added HTTPS proxy settings.
And finally also un"ruslan"ized the HTTP code :)


git-svn-id: svn://10.0.0.236/trunk@66812 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:35:05 +00:00
alecf%netscape.com
e15aa9b9bf make a whole bunch of search/filter stuff scriptable.
this included adding a new nsIMsgSearchValue interface, and renaming some of the IDL typedefs to be consistent with each other.


git-svn-id: svn://10.0.0.236/trunk@66811 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:34:39 +00:00
jim_nance%yahoo.com
fb4610a106 Fix for 34949. Problem with 64 bit pointers.
r=wtc


git-svn-id: svn://10.0.0.236/trunk@66810 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:32:03 +00:00
av%netscape.com
627d164622 Fixing memory leak during start up, #35912
git-svn-id: svn://10.0.0.236/trunk@66809 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 00:04:24 +00:00
alecf%netscape.com
0eee15699c - fixed missing html:div tag in am-main.xul
- fix for #36771 - document.controls stopped containing hidden form elements - still the right fix because document.controls likely going away
- make the IMAP advanced dialog skinnable


git-svn-id: svn://10.0.0.236/trunk@66808 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:51:19 +00:00
cls%seawood.org
b5fa37707b Added separate list to distinguish between trees to be tracked and those to be reported. And it works this time too. Trees that are not reported by default can be seen via 'mozbot trees name-of-not-reported-tree'.
git-svn-id: svn://10.0.0.236/trunk@66805 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:47:20 +00:00
rjc%netscape.com
6073e32105 New Jobs image file from Netcenter.
git-svn-id: svn://10.0.0.236/trunk@66804 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:39:48 +00:00
rjc%netscape.com
dcdf52232d New Jobs search file from Netcenter.
git-svn-id: svn://10.0.0.236/trunk@66803 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:39:34 +00:00
cyeh%bluemartini.com
e11f7e6c73 added Windows NT blurb to disclaimer section.
git-svn-id: svn://10.0.0.236/trunk@66802 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:32:25 +00:00
tbogard%aol.net
fd2d55735d Removed the static Create method since the generic factory handles that. Changed GetStringBundle to GetPromptAndStringBundle since most people are always wanting to get both the prompt and the string bundle. Removed EnsureGlobalHistory. Global History is now instantiated on startup.
git-svn-id: svn://10.0.0.236/trunk@66801 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:32:11 +00:00
tbogard%aol.net
cbdaeff8a6 Creation of the docshell now uses the generic factory rather than it's own private Create method for instantiation of the nsDocShell class.
git-svn-id: svn://10.0.0.236/trunk@66800 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:31:42 +00:00
tbogard%aol.net
16119f1693 Removed some old ifdef 0 code. Removed some unused variables. Some cleanup to OnStart and OnEndDocumentLoad to get ready to move them over to the progress interface code.
git-svn-id: svn://10.0.0.236/trunk@66799 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:31:41 +00:00
tbogard%aol.net
5ccd89354b Made the constructor public to allow the generic factory to be used for creation. Removed the static Create. Removed EnsureGlobalHistory. Global History is now instantiated on startup. Changed GetStringBundle to GetPromptAndStringBundle since most people are always wanting to get both the prompt and the string bundle.
git-svn-id: svn://10.0.0.236/trunk@66798 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:31:40 +00:00
pavlov%netscape.com
3f2945e1df remove unused variables and store the clipregion in an nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@66797 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:28:23 +00:00
davidm%netscape.com
e93b33a996 32956 Triggering same xpi file in same session fails (mem cache on
r = ruslan


git-svn-id: svn://10.0.0.236/trunk@66796 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:23:59 +00:00
tbogard%aol.net
2cb76151cf Fixed the duplicates in the enum.
git-svn-id: svn://10.0.0.236/trunk@66795 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:23:17 +00:00
racham%netscape.com
51c188925f Adding the updated mcp file
git-svn-id: svn://10.0.0.236/trunk@66794 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:23:06 +00:00
sgehani%netscape.com
358986567c Make directory creation failure a non-fatal error.
git-svn-id: svn://10.0.0.236/trunk@66793 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:12:50 +00:00
pavlov%netscape.com
21ece4e459 remove unused member variable
git-svn-id: svn://10.0.0.236/trunk@66792 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:06:45 +00:00
kmcclusk%netscape.com
747d8897bf Offscreen drawing surface now shrinks and expands in discrete increments of the screen size. b=20741 r=rods@netscape.com. tested on WIN32, Mac, Linux
Applied second half of patch to prevent invisible views from being painted (patch from Tomi.Leppikangas@oulu.fi) b=34466 r=rods@netscape tested on WIN32, Mac, Linux


git-svn-id: svn://10.0.0.236/trunk@66791 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 23:02:02 +00:00
sgehani%netscape.com
786480f959 * Fix error mapping off-by-one for error strings.
* Hide cancel button once download/installation begins.


git-svn-id: svn://10.0.0.236/trunk@66790 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:57:05 +00:00
sspitzer%netscape.com
f4f0dc6ce6 PerformExpand() and UpdateCounts() need to take a nsIMsgWindow, because these
action may require the user to enter a password, which means a dialog must comes up,
which means we need the msg window for the parent.


git-svn-id: svn://10.0.0.236/trunk@66789 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:55:18 +00:00
rogerl%netscape.com
c4747ce60e Added a beginning for exception handling.
git-svn-id: svn://10.0.0.236/trunk@66788 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:52:52 +00:00
warren%netscape.com
e0763807e2 Don't know why it thought these were different. Reverting.
git-svn-id: svn://10.0.0.236/trunk@66787 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:52:23 +00:00
cata%netscape.com
38aea9ef82 New interface method.
git-svn-id: svn://10.0.0.236/trunk@66786 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:50:35 +00:00
warren%netscape.com
9e8d69db81 Fixed clobber rules to use $(RM) instead of rm.
git-svn-id: svn://10.0.0.236/trunk@66785 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:49:57 +00:00
erik%netscape.com
6b94e9b01b grabbing a few IDs for nsILanguage and nsILanguageService; not part of
build


git-svn-id: svn://10.0.0.236/trunk@66784 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:42:42 +00:00
racham%netscape.com
48969b2e9f Fixing bugs 28888, 27948. Moving activation code out of mozilla. r=alecf
git-svn-id: svn://10.0.0.236/trunk@66783 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:37:52 +00:00
racham%netscape.com
fc302f0ed3 Fixing bug 28888, 27948. Moving activation code out of mozilla. r=alecf
git-svn-id: svn://10.0.0.236/trunk@66782 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:36:31 +00:00
sfraser%netscape.com
e439aaae9f Fix for 24043, close empty editor doc when opening a new file. Help from Ryan Cassin <kidteckco@hotmail.com>.
git-svn-id: svn://10.0.0.236/trunk@66781 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:32:57 +00:00
racham%netscape.com
333e3a78de Fixing bugs 28888, 27948. Moving activation code out of mozilla. r=alecf
git-svn-id: svn://10.0.0.236/trunk@66780 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:29:42 +00:00
rods%netscape.com
0d4686e71e It now uses the nsHTMLContent->GetHTMLAttribute to get the value and/or label
The code now lso checks to see if the attr actually exists before it moves to the label or the content
bug 36459


git-svn-id: svn://10.0.0.236/trunk@66779 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:28:07 +00:00
racham%netscape.com
a17588c52e Fixing bug 28888, 27948. Moving activation code out of mozilla. r=alecf
git-svn-id: svn://10.0.0.236/trunk@66778 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:27:58 +00:00
alecf%netscape.com
4d9f326b1a add an extra variable to make this easier for consumers of this file
git-svn-id: svn://10.0.0.236/trunk@66777 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:21:52 +00:00
racham%netscape.com
8b15d218b9 Adding startup listener interface fo profiles. part bug fix 28888. a=alecf
git-svn-id: svn://10.0.0.236/trunk@66776 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:20:57 +00:00
rods%netscape.com
e5771a56d4 also added asserts for improper sizes being passed
back in reflow send onChange events on all navigation bug 29440


git-svn-id: svn://10.0.0.236/trunk@66775 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:20:44 +00:00
jdunn%netscape.com
da6ba99da1 adding newline for hp
git-svn-id: svn://10.0.0.236/trunk@66774 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:17:14 +00:00
alecf%netscape.com
7db8f3fa92 switch from titledbuttons and <div>'s to <text> for skinnability and speed
git-svn-id: svn://10.0.0.236/trunk@66773 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:16:39 +00:00
rods%netscape.com
eca0eab156 Add ifdef'ed Performance Reflow Counting code
also added asserts for improper sizes being passed back in reflow
send onChange events on all navigation bug 29440


git-svn-id: svn://10.0.0.236/trunk@66772 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:16:23 +00:00
alecf%netscape.com
6591b41789 switch from titledbutton to <text> for skinnability
git-svn-id: svn://10.0.0.236/trunk@66771 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:14:31 +00:00
alecf%netscape.com
14ba6cfbc3 localize some hardcoded strings in the account manager
git-svn-id: svn://10.0.0.236/trunk@66770 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:04:10 +00:00
tao%netscape.com
b2205900ef 35397: "Make Taskbar localizable". Move menu hierarchy to taskbar.rdf. (r=waterson,a=ben)
git-svn-id: svn://10.0.0.236/trunk@66769 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:04:02 +00:00
rods%netscape.com
e3eef2c9c4 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66768 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:02:46 +00:00
tao%netscape.com
1de451c62a 35397: "Make Taskbar localizable". Move menu hierarchy to taskbar.rdf.
git-svn-id: svn://10.0.0.236/trunk@66767 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:02:38 +00:00
alecf%netscape.com
b6c558dd41 add some new strings for the account manager datasource
git-svn-id: svn://10.0.0.236/trunk@66766 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 22:01:38 +00:00
rods%netscape.com
013db4369f The value in the GetAttribute will no longer have the space stripped in front and back
git-svn-id: svn://10.0.0.236/trunk@66765 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:59:53 +00:00
rods%netscape.com
26338973b9 text content longer gets set to "" which it ignores, it
gets set to " " when thedisplay should be ""
bug 36459
Add ifdef'ed Performance Reflow Counting code


git-svn-id: svn://10.0.0.236/trunk@66763 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:53:38 +00:00
rods%netscape.com
a54cc52332 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66762 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:51:35 +00:00
ftang%netscape.com
ccfbbac151 change the dump code to dump in UTF8 so we can reduce unnecessary assertion when we turn on nsString
data corruption code


git-svn-id: svn://10.0.0.236/trunk@66761 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:46:36 +00:00
ftang%netscape.com
2d7bb61d3f fix nsFileSpec unicode interface .
git-svn-id: svn://10.0.0.236/trunk@66760 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:44:23 +00:00
anthonyd%netscape.com
50c380015e r=mjudge. adding in focus listener to docviwer. this will now disable/reenable selection on those displays that desired selection at all.
git-svn-id: svn://10.0.0.236/trunk@66758 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:40:28 +00:00
brendan%mozilla.org
8856ae619c Stop component-wise over-totalling madness when JS=>js=>JS=>js.
git-svn-id: svn://10.0.0.236/trunk@66756 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:38:18 +00:00
anthonyd%netscape.com
8b1598a468 r=mjudge. Removing redundant call to SetColor for ::RenderString. all places have allready set the color before calling this method. this removal should be a no-op. Selection color now should look correct
git-svn-id: svn://10.0.0.236/trunk@66755 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:38:08 +00:00
radha%netscape.com
f842fd8235 Fix up the back/forward menu item. A small regression from last night's pull-out.
git-svn-id: svn://10.0.0.236/trunk@66754 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:36:54 +00:00
rods%netscape.com
a5da60889f Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66753 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:36:33 +00:00
jst%netscape.com
be8e9d04c6 Regenerating the DOM JS glue now that idlc knows about the new nsString API's, also updated nsGlobalWindow.cpp to use the new API.
git-svn-id: svn://10.0.0.236/trunk@66752 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:36:26 +00:00
nhotta%netscape.com
d94d86a374 Added language sensitive font selection (disabled as a default), bug 26182.
git-svn-id: svn://10.0.0.236/trunk@66751 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:36:10 +00:00
nhotta%netscape.com
2943f7f9fe Changed to use ToNewUTF8String instead of ToNewCString in order to avoid data loss of non latin1 data,
contributed by m_kato@ga2.so-net.ne.jp, r=chuang,nhotta.


git-svn-id: svn://10.0.0.236/trunk@66750 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:35:21 +00:00
jst%netscape.com
8d2336ba83 Teaching idlc about the new nsString API.
git-svn-id: svn://10.0.0.236/trunk@66749 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:29:19 +00:00
danm%netscape.com
32c66da05d allowed windows with position specified to also specify size. deuglified some braces. couldn't help myself. bug 36219
git-svn-id: svn://10.0.0.236/trunk@66748 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:28:25 +00:00
pinkerton%netscape.com
966827cd60 fix for sunWpro compiler. forgot a return in my haste. thanks to tor@cs.brown.edu for pointing this out.
git-svn-id: svn://10.0.0.236/trunk@66747 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:26:42 +00:00
thayes%netscape.com
60e1c346ac Add Secret Decoder Ring implementation, and add it to the PSM glue module
git-svn-id: svn://10.0.0.236/trunk@66746 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:26:33 +00:00
cls%seawood.org
9221752b3a Explicitly cast string literals (const char*) to char *.
git-svn-id: svn://10.0.0.236/trunk@66745 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:26:21 +00:00
thayes%netscape.com
80e8ea44aa Add SecretDecoderRing idl file
git-svn-id: svn://10.0.0.236/trunk@66744 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:23:56 +00:00
danm%netscape.com
6e7d9365b0 stop up a couple of leaks. r=davidm
git-svn-id: svn://10.0.0.236/trunk@66743 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:23:10 +00:00
tor%cs.brown.edu
96b3184fd1 Build bustage fix: include <stdlib.h> so we don't pick up glib's
erroneous definition of NULL.


git-svn-id: svn://10.0.0.236/trunk@66742 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:22:46 +00:00
harishd%netscape.com
3f72307bc5 Fix for
26583,2946, 22636 (partial),32782
33570,27136,24184,35125,
35806,36063,29456
r=rickg,waqar
34311 - Patch provided by Patrick ( Fix for MLK ).
r=me.


git-svn-id: svn://10.0.0.236/trunk@66741 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:22:03 +00:00
thayes%netscape.com
48cfcc6fd3 Merge build fix from M14 branch
git-svn-id: svn://10.0.0.236/trunk@66740 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:18:51 +00:00
cls%seawood.org
8a0a3cf145 BeOS uses the Unix local file implementation.
git-svn-id: svn://10.0.0.236/trunk@66737 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:04:35 +00:00
cls%seawood.org
75402120b8 Removed extra & as suggested by Matthew Z. on m.beos.
git-svn-id: svn://10.0.0.236/trunk@66736 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:03:56 +00:00
dbragg%netscape.com
d71cf08885 Removed the offending const
git-svn-id: svn://10.0.0.236/trunk@66735 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 20:05:06 +00:00
gagan%netscape.com
9e3d0fa3b1 Ignore newer test case. Not in the build.
git-svn-id: svn://10.0.0.236/trunk@66734 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 19:45:16 +00:00
hyatt%netscape.com
1a7d42cf4a Fix smoketest blocker.
git-svn-id: svn://10.0.0.236/trunk@66733 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 19:21:04 +00:00
brendan%mozilla.org
7151e98552 Percent signs after numbers, please\!
git-svn-id: svn://10.0.0.236/trunk@66732 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 19:05:53 +00:00
terry%mozilla.org
dcf74ecad1 Undo cls's last two changes, at his request.
git-svn-id: svn://10.0.0.236/trunk@66731 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 18:59:16 +00:00
dbragg%netscape.com
3dbf15e9a0 Fix for bug 24984, conversion to use nsIFile and related ilk.
git-svn-id: svn://10.0.0.236/trunk@66730 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 18:58:41 +00:00
cyeh%bluemartini.com
5866ee54d9 Add conditional support to display users real name in bug reports if user
entered in that information. Thanks to
Chris Baldwin <cbaldwin@redback.com>
for providing the patch.


git-svn-id: svn://10.0.0.236/trunk@66729 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 18:45:55 +00:00
cyeh%bluemartini.com
278aa1a47f change field name to more accurately reflect what it is
git-svn-id: svn://10.0.0.236/trunk@66728 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 18:43:53 +00:00
wtc%netscape.com
29e39470f2 Bugzilla bug #36464: OpenBSD shared libraries must be named .so.n.m.
Thanks to greg-mozillabugs@nest.cx for the bug report and the fix.


git-svn-id: svn://10.0.0.236/trunk@66726 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 17:51:36 +00:00
modgock%eng.sun.com
47a6464a51 doh - stupid egg test code left in; removed (well def'd it out - future generations are bored, it's still there..)
This module isn't built in tinderbox and is thereby immune from the tree-status.


git-svn-id: svn://10.0.0.236/trunk@66725 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 17:46:55 +00:00
blizzard%redhat.com
795f381e8f fix solaris by calling .Length() explicitly
git-svn-id: svn://10.0.0.236/trunk@66722 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 15:13:22 +00:00
cls%seawood.org
a9dd620645 BeOS only build fixes
git-svn-id: svn://10.0.0.236/trunk@66721 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 15:03:32 +00:00
cmanske%netscape.com
e100ad52bb Lots of xul rewrite, e.g., replaced all 'align' on box with 'orient', using <tree> for simple lists. Added 'Insert Chars' feature by bakibon@yahoo.com
git-svn-id: svn://10.0.0.236/trunk@66720 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 15:00:23 +00:00
rods%netscape.com
fbf8aca833 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66719 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:59:47 +00:00
cmanske%netscape.com
74d942f798 Fixed setting title bug 36179, lots of xul rewrite, e.g., replaced all 'align' on box with 'orient', using <tree> for simple lists. Added 'Insert Chars' feature by bakibon@yahoo.com
git-svn-id: svn://10.0.0.236/trunk@66718 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:55:54 +00:00
cmanske%netscape.com
9d7ff496b5 Allow setting 'rows' attribute on a <tree> without children (initially)
git-svn-id: svn://10.0.0.236/trunk@66717 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:50:21 +00:00
cls%seawood.org
faa0f9f117 Some compilers (HP) require an explicit cast from a const char * to a char *. String literals are treated as const char *.
git-svn-id: svn://10.0.0.236/trunk@66716 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:47:25 +00:00
cls%seawood.org
e03d924e06 Temp dummy implementation of nsMsgSearchValidityManager::NewTable for BeOS. Bug #36686
git-svn-id: svn://10.0.0.236/trunk@66715 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:40:54 +00:00
blizzard%redhat.com
eca4d03366 turn on the embedding widget
git-svn-id: svn://10.0.0.236/trunk@66714 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:35:03 +00:00
blizzard%redhat.com
d8ee0714ac add more safety to the embedding initialization functions, start on signals ( just an enum now )
git-svn-id: svn://10.0.0.236/trunk@66713 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:34:35 +00:00
putterman%netscape.com
819902fd6a r=sspitzer. Start page sticks around until the first message is loaded. If the message
pane is closed you can now double click on a message to open a standalone window.  More working
on moving code to correct front end files.


git-svn-id: svn://10.0.0.236/trunk@66712 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:22:16 +00:00
andreas.otte%primus-online.de
b46b93b02d extended fix for bug 34863 [Local Harddisks not found if I tried with C: without \], partial fix for bugs 32997 [file URLs that include a hostname don't work] and 19174 [Canonify does not handle UNC file paths], enable the urlparser to handle unc paths better for XP_PC, r=dougt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66711 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:10:23 +00:00
svn%xmlterm.org
a55b92da3b xmlterm changes only.
Changed true to PR_TRUE and false to PR_FALSE to compile on native Solaris
compilers. Patch provided by Ashutosh.Kulkarni@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@66710 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:01:43 +00:00
dcone%netscape.com
82cd8d6511 Took out a call for drawTile.. so the implementation will be used (parent classes method)
git-svn-id: svn://10.0.0.236/trunk@66709 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 13:40:19 +00:00
svn%xmlterm.org
19dfa7162f xmlterm changes only.
Changed XMLterm escape sequence string terminator from ^G to CRLF to allow use with buffered STDOUT.


git-svn-id: svn://10.0.0.236/trunk@66708 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 13:10:44 +00:00
svn%xmlterm.org
e1da4af413 xmlterm changes only.
Clipboard paste fix (still doesn't work properly).


git-svn-id: svn://10.0.0.236/trunk@66707 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 13:06:28 +00:00
svn%xmlterm.org
afa39571f0 xmlterm changes only.
Chrome restructuring: xmlterm extension is not part of communicator and needs to have top level chrome (like chatzilla).


git-svn-id: svn://10.0.0.236/trunk@66706 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 13:04:45 +00:00
Peter.VanderBeken%pandora.be
c2e8f60419 First checkin of Mac project for Transformiix.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@66705 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 12:23:23 +00:00
cls%seawood.org
3f0ba1cf5f Fixed typo.
git-svn-id: svn://10.0.0.236/trunk@66704 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 11:02:21 +00:00
scc%netscape.com
7e2049c75c making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66703 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 10:28:04 +00:00
ben%netscape.com
00e4800c81 stylesheet load correction
git-svn-id: svn://10.0.0.236/trunk@66702 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 10:22:47 +00:00
ben%netscape.com
c3fcc30ceb correcting stylesheet load
git-svn-id: svn://10.0.0.236/trunk@66701 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 10:21:47 +00:00
mccabe%netscape.com
aeacf9b174 Display an informative message if unable to get the console service.
git-svn-id: svn://10.0.0.236/trunk@66700 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 10:13:56 +00:00
hyatt%netscape.com
6ee90ca261 More love.
git-svn-id: svn://10.0.0.236/trunk@66699 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 10:13:18 +00:00
hyatt%netscape.com
3ca93160d9 Fix tree selection color.
git-svn-id: svn://10.0.0.236/trunk@66698 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 10:00:37 +00:00
hyatt%netscape.com
923409afc8 Fix mac.
git-svn-id: svn://10.0.0.236/trunk@66697 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 09:58:32 +00:00
hyatt%netscape.com
7e46e6fccd Fixing mac.
git-svn-id: svn://10.0.0.236/trunk@66696 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 09:54:32 +00:00
hyatt%netscape.com
f870fa5616 Making tree scrolling faster in mailnews.
git-svn-id: svn://10.0.0.236/trunk@66695 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 09:49:34 +00:00
hyatt%netscape.com
602341e940 Beginning the process of massaging the CSS and XUL to conform to the new
directory org.


git-svn-id: svn://10.0.0.236/trunk@66694 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 09:40:38 +00:00
scc%netscape.com
0dbeaa04b3 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66693 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 09:33:45 +00:00
mccabe%netscape.com
0318df82ae Fix to 23532. Check validity of JS_ARENA_ALLOCATE call before using it as an argument of memcpy in JS_ArenaGrow.
Thanks to wyeung@real.com for noticing we were being unsafe here and suggesting the fix.


git-svn-id: svn://10.0.0.236/trunk@66692 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 09:25:43 +00:00
alecf%netscape.com
04ba7f4e42 oops, back out previous change, my tree had other stuff in it
git-svn-id: svn://10.0.0.236/trunk@66691 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:53:32 +00:00
alecf%netscape.com
7456d946f2 oops, back out that unix change, my tree was filled with other crap
git-svn-id: svn://10.0.0.236/trunk@66690 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:52:29 +00:00
alecf%netscape.com
969b83c3d5 oops, back out part of that change, forgot my tree had other stuff in it
git-svn-id: svn://10.0.0.236/trunk@66689 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:51:51 +00:00
alecf%netscape.com
519ecf52f6 add scriptable search value to windows build
git-svn-id: svn://10.0.0.236/trunk@66688 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:49:46 +00:00
alecf%netscape.com
49fcfa1fc2 add scriptable searchvalue to unix build
git-svn-id: svn://10.0.0.236/trunk@66687 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:49:06 +00:00
alecf%netscape.com
9cd08b1e72 add new IDL to windows build
git-svn-id: svn://10.0.0.236/trunk@66686 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:48:14 +00:00
brendan%mozilla.org
5046822d35 Optimize total computation, fix visited to be a counter.
git-svn-id: svn://10.0.0.236/trunk@66685 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:47:00 +00:00
alecf%netscape.com
14a3b350f1 add new IDL to unix build
git-svn-id: svn://10.0.0.236/trunk@66684 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:46:14 +00:00
alecf%netscape.com
da7980b76c add first cut at scriptable search scope terms
git-svn-id: svn://10.0.0.236/trunk@66683 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:45:53 +00:00
jband%netscape.com
4014d24d42 trivial renaming of local var to fix compiler warning
git-svn-id: svn://10.0.0.236/trunk@66682 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:42:14 +00:00
alecf%netscape.com
7c4ae13677 add scriptable version of search term value object
git-svn-id: svn://10.0.0.236/trunk@66681 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:38:24 +00:00
alecf%netscape.com
619c08e2d6 fix xlib bustage in a lame way
git-svn-id: svn://10.0.0.236/trunk@66680 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:36:44 +00:00
sspitzer%netscape.com
103a46b138 printf to remind me to fix #36661
git-svn-id: svn://10.0.0.236/trunk@66679 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:34:34 +00:00
sspitzer%netscape.com
0d541f1ded fix a warning by making the dtor virtual.
git-svn-id: svn://10.0.0.236/trunk@66678 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:13:24 +00:00
hyatt%netscape.com
7292453a7e Tree performance improvements.
git-svn-id: svn://10.0.0.236/trunk@66677 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:12:13 +00:00
hyatt%netscape.com
b1d870dd34 Tree performance enhancements.
git-svn-id: svn://10.0.0.236/trunk@66676 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:11:39 +00:00
pierre%netscape.com
8b87581e2e Implemented i18n list-style-types. Thanks to bakibon@yahoo.com.
git-svn-id: svn://10.0.0.236/trunk@66675 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 08:05:29 +00:00
pinkerton%netscape.com
bf29931ab9 Fix build bustage r=scc.
git-svn-id: svn://10.0.0.236/trunk@66674 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 07:34:06 +00:00
hyatt%netscape.com
5fd7d7eef1 Commdir.
git-svn-id: svn://10.0.0.236/trunk@66673 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 07:15:48 +00:00
hyatt%netscape.com
76421c2030 Adding communicator dir.
git-svn-id: svn://10.0.0.236/trunk@66672 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 07:15:14 +00:00
hyatt%netscape.com
cecf50bef4 Adding communicator dir and css file to build.
git-svn-id: svn://10.0.0.236/trunk@66671 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 07:13:06 +00:00
scc%netscape.com
31f1176499 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66670 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 07:09:51 +00:00
mccabe%netscape.com
50ffbdd08e Remove now-unused files.
git-svn-id: svn://10.0.0.236/trunk@66669 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 07:09:49 +00:00
pavlov%netscape.com
d85285be87 turn off DrawTile until I can fix it on unix so dcone can check in his code.
git-svn-id: svn://10.0.0.236/trunk@66668 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 07:00:36 +00:00
scc%netscape.com
181154f76c there were a bunch of routines that returned references to this and were abused as much as they were used correctly. now they return |void|
git-svn-id: svn://10.0.0.236/trunk@66667 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 06:59:14 +00:00
scc%netscape.com
96a031fd50 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66666 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 06:56:47 +00:00
sfraser%netscape.com
19216192c5 Checkign in radha's diffs to see if this reduces the leak numbers.
git-svn-id: svn://10.0.0.236/trunk@66665 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 06:56:32 +00:00
pinkerton%netscape.com
28e12d5484 Moving Screen API away from individual attributes for performance reasons (stage 1). Fixes bugs on win32 with xul popups where taskbar is not at bottom of screen.
git-svn-id: svn://10.0.0.236/trunk@66664 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 06:55:13 +00:00
sspitzer%netscape.com
eb58f946a3 get snews://<host>/<group> urls to work for autosubscribe.
git-svn-id: svn://10.0.0.236/trunk@66663 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 06:55:12 +00:00
warren%netscape.com
8f28511cda Fixed optimized build problem.
git-svn-id: svn://10.0.0.236/trunk@66662 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 05:32:59 +00:00
warren%netscape.com
c22d12ae9b Bug 34217. Making js protocol not clear window when it returns no result.
git-svn-id: svn://10.0.0.236/trunk@66661 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 05:18:15 +00:00
warren%netscape.com
bd9c1829cc Removed extra call to Open
git-svn-id: svn://10.0.0.236/trunk@66660 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 05:15:42 +00:00
warren%netscape.com
5baf7cfd38 Changed max thread count to 4 (for now).
git-svn-id: svn://10.0.0.236/trunk@66659 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 05:14:49 +00:00
warren%netscape.com
e42631defd Fixed thread pool thread allocation to be more lazy (still doesn't release unused threads though). (Code adapted from dougt.)
git-svn-id: svn://10.0.0.236/trunk@66658 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 05:12:57 +00:00
brendan%mozilla.org
13518b89f8 Fix plib-instead-of-lib->total += type; use int32 for possibly negative values.
git-svn-id: svn://10.0.0.236/trunk@66657 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 03:01:09 +00:00
bienvenu%netscape.com
7f7c4dfe1c fix linux runtime failure to load mailnews
git-svn-id: svn://10.0.0.236/trunk@66656 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 02:47:53 +00:00
scc%netscape.com
14ddf6b38a making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66655 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 02:35:42 +00:00
rhp%netscape.com
f91d5edc87 Just fixing a test harness program. NOT PART OF THE BUILD!!!!
git-svn-id: svn://10.0.0.236/trunk@66654 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 02:25:03 +00:00
mccabe%netscape.com
eee609d9d0 Remove builds of nsConsoleService binary, IDL and IDL-export projects from xpfe/components/console for the Mac.
git-svn-id: svn://10.0.0.236/trunk@66653 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 02:21:23 +00:00
nisheeth%netscape.com
ec7530ecda Ongoing work to get Transformiix to build on Windows as a Mozilla component. Not part of the build.
- implemented rint() in NumberFunctionCall.cpp
- Changed String to DOMString in calls to processAttrValueTemplate() in XSLTProcessor.cpp
- Fixed up more windows makefiles.


git-svn-id: svn://10.0.0.236/trunk@66652 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 02:20:28 +00:00
bienvenu%netscape.com
3497fd0d1a Fix dup file in Makefile
git-svn-id: svn://10.0.0.236/trunk@66651 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 02:18:03 +00:00
rhp%netscape.com
21283c2724 Fix for problem with invalid file names - Bug # 24962 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@66650 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 02:13:18 +00:00
bienvenu%netscape.com
1583495a8e add nsMsgSearchNews to the build
git-svn-id: svn://10.0.0.236/trunk@66649 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 02:12:58 +00:00
bienvenu%netscape.com
500e9a2f26 add nsMsgSearchNews.cpp
git-svn-id: svn://10.0.0.236/trunk@66648 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 02:12:10 +00:00
bienvenu%netscape.com
a138cb8770 fix linux warning
git-svn-id: svn://10.0.0.236/trunk@66647 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 02:08:44 +00:00
bienvenu%netscape.com
844cb64e01 add search validity stuff, not run yet
git-svn-id: svn://10.0.0.236/trunk@66646 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 02:05:35 +00:00
ducarroz%netscape.com
83c74bdc85 Remove unused files. Part of autocomplete clean up
git-svn-id: svn://10.0.0.236/trunk@66645 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 02:05:04 +00:00
sspitzer%netscape.com
fab898e51e no newline at the end of the file. this will hork some compilers
git-svn-id: svn://10.0.0.236/trunk@66644 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 02:04:53 +00:00
beard%netscape.com
1acd7e19ec [Not part of build] Simple tool to emit information about the build system, to be consumed by the Perl build scripts.
git-svn-id: svn://10.0.0.236/trunk@66643 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:51:07 +00:00
brendan%mozilla.org
a1e0219a1d Spruce up a couple of comments.
git-svn-id: svn://10.0.0.236/trunk@66642 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:49:49 +00:00
brendan%mozilla.org
50400ce9b5 Functions that use unqualified __parent__ or __proto__ must be heavyweight (36625, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@66641 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:47:20 +00:00
jband%netscape.com
6809acc097 fix bustage due to relative path include of removed (and otherwise unused) file
git-svn-id: svn://10.0.0.236/trunk@66640 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:33:13 +00:00
cls%seawood.org
839d44304a Remove extraneous whitespace between the object file and the ':'.
Thanks to Justin Morey <justin@68k.org> for the patch.


git-svn-id: svn://10.0.0.236/trunk@66639 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:28:58 +00:00
ruslan%netscape.com
83c749b56f Be more conservative when checking that the keep-alive connection has
died. On some platforms it can come out as eof and on some (windows)
it'll come out as "connection aborted".


git-svn-id: svn://10.0.0.236/trunk@66638 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:27:48 +00:00
pavlov%netscape.com
b689f12e81 reimpliment nsClipboard::HasDataMatchingFlavors to be reentrant to fix bug #13161
git-svn-id: svn://10.0.0.236/trunk@66637 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:27:46 +00:00
scc%netscape.com
b342a90485 Fixed |nsPromiseSubstring::GetReadableFragment|, which had been walking off the end. Re-implemented |copy_string| in terms of the new char-source/char-sink stuff that beard and I came up with. Factored some code into |SameFragment|. Did some general shuffling and cleanup.
git-svn-id: svn://10.0.0.236/trunk@66636 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:25:19 +00:00
jband%netscape.com
81c2f39c08 fix bustage due to relative path include of removed (and otherwise unused) file
git-svn-id: svn://10.0.0.236/trunk@66635 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:22:16 +00:00
scc%netscape.com
1651080984 Added |nsCharSourceTraits| and |nsCharSinkTraits| to better facilitate copying from arbitrary char sources into arbitrary char consumers
git-svn-id: svn://10.0.0.236/trunk@66634 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:20:55 +00:00
ducarroz%netscape.com
399c74ae3c More work on autocomplete. Add support for text selection
git-svn-id: svn://10.0.0.236/trunk@66633 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:20:17 +00:00
scc%netscape.com
75e584abac added |nsWritingIterator<T>::write| to satisfy the char-source/char-sink stuff beard and I put in.
git-svn-id: svn://10.0.0.236/trunk@66632 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:19:40 +00:00
ducarroz%netscape.com
917464a6a3 Fix problem where you cannot set or remove the focus on a textfield using JS call focus() or blur(). Now with this fix, we may have another bug showing up that don't let you tab outside the field. hyatt has a bug filed for that. R=hyatt.
git-svn-id: svn://10.0.0.236/trunk@66631 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:16:58 +00:00
scc%netscape.com
a92da1cfda making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66630 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:15:53 +00:00
cls%seawood.org
4ed8043f95 Fixed SHARED_LIBRARY_LIBS dependency in docshell/build.
Removed extraneous ; makefiles target.
Thanks to Justin Morey <justin@68k.org> for the patch.


git-svn-id: svn://10.0.0.236/trunk@66629 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:14:45 +00:00
ducarroz%netscape.com
a3992a0ef3 More autocomplete landing...
git-svn-id: svn://10.0.0.236/trunk@66628 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:14:05 +00:00
jband%netscape.com
64ddebafed fix bustage due to relative path include of removed (and otherwise unused) file
git-svn-id: svn://10.0.0.236/trunk@66627 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:12:19 +00:00
rhp%netscape.com
107c231547 Fix for message text on signed message stub - Bug # 34570 - r: bienvenu
git-svn-id: svn://10.0.0.236/trunk@66626 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:09:50 +00:00
bienvenu%netscape.com
d88dccd020 add news search, not part of build
git-svn-id: svn://10.0.0.236/trunk@66625 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:08:06 +00:00
yueheng.xu%intel.com
192619e1aa fixed #35910 (PostScript error when printing CJK pages but a CJK font dictionary/Unicodedict is not defined.). The fix included a Masaki Tatakai's suggestion to define a NoglyphUnicodedict dictionary and switch at run time. So the default behavior will be: all unicode with non-zero high byte will be printed as "han". With a post processing filter to define a /Unicodedict and its font procedures, above default behavior will be overwritten. This change also fixed 34367, #27311, #18132, so we have italics, bold, etc. style support now. We might also fixed #36264 which is likely a dup of #35910, though #35910 only happens for non ASCIIcontent and #36264 happens for an ASCII content
git-svn-id: svn://10.0.0.236/trunk@66624 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:07:56 +00:00
cls%seawood.org
0cf0ff5dd9 Added separate list of all available trees. This allows mozbot to actively report the status of one set of trees and individually give the results for another set.
git-svn-id: svn://10.0.0.236/trunk@66623 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:07:38 +00:00
nisheeth%netscape.com
aa48d39e68 Fix for bug 36362. We no longer null out the ref count of form elements in their Release() methods before deleting them. This fixes the crashes on www.cnn.com and www.msn.com.
git-svn-id: svn://10.0.0.236/trunk@66622 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 01:03:20 +00:00
rginda%netscape.com
bb75bc1957 Add nsIScriptError.idl. Build it here rather than back in xpfe/components/console.
Checkin by McCabe, on rginda's mac.


git-svn-id: svn://10.0.0.236/trunk@66621 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 00:57:27 +00:00
rginda%netscape.com
7e28be766c Adding nsIConsoleService.idl, nsIConsoleMessage.idl, nsIConsoleListener.idl. Previously, the .h and .xpt products of these files were still being built back in xpfe/components/console, which is bad.
Checkin by McCabe, on rginda's mac.


git-svn-id: svn://10.0.0.236/trunk@66620 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 00:52:02 +00:00
sfraser%netscape.com
d6e85a808d Fix frameset detection. An additional Notify() method was not hooked up properly.
git-svn-id: svn://10.0.0.236/trunk@66619 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 00:50:04 +00:00
rogerl%netscape.com
55872f1c24 oops
git-svn-id: svn://10.0.0.236/trunk@66618 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 00:46:48 +00:00
rogerl%netscape.com
cf972ed7c0 Added labelled statements, fixed some VC++'isms
git-svn-id: svn://10.0.0.236/trunk@66617 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 00:37:51 +00:00
mccabe%netscape.com
5bbdddad23 Turn off building nsConsoleService binaries for unix and windows. nsConsoleService has moved to xpcom/base, and nsScriptError has moved to js/src/xpconnect.
git-svn-id: svn://10.0.0.236/trunk@66616 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 00:35:53 +00:00
ducarroz%netscape.com
9ab768faec Remove old autocomplete IDL files
git-svn-id: svn://10.0.0.236/trunk@66615 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 00:28:53 +00:00
sgehani%netscape.com
4576d1ca97 Add cancel button to installer.
b=35346


git-svn-id: svn://10.0.0.236/trunk@66614 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 00:25:15 +00:00
jband%netscape.com
639a114082 removing unused files
git-svn-id: svn://10.0.0.236/trunk@66613 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 00:17:56 +00:00
pavlov%netscape.com
869c08755b fix pasting
git-svn-id: svn://10.0.0.236/trunk@66612 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 00:09:23 +00:00
rginda%netscape.com
e7290871fc icodegenerator.cpp
add m prefix to base and offset label members

interpreter.cpp,h
dual license
wrap interpret in a Context class
add RETURN_VOID case

js2.cpp
update to use context class
remove #if 0 code that'll probably never be used anyway.

jstypes.h
add defineProperty/function to JSObject

vmtypes.h
regerated opcode classes:
  added RETURN_VOID, removed LOAD/SAVE_VAR
  reverted bacl to the smaller print function (thanks to RETURN_VOID)
  fixed branch printing issue
  inherit print() from super if possible

tools/gencode.pl
generate smaller print functions again
don't generate print function if superclass can take care of it.


git-svn-id: svn://10.0.0.236/trunk@66611 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 00:04:14 +00:00
tajima%eng.sun.com
b10dbf484b fix for #33996(Correct usage of XIMPreeditEnable) r=ftang, and passed pre-check-in
test on local Redhat 6.1 environment.


git-svn-id: svn://10.0.0.236/trunk@66610 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 00:03:44 +00:00
sspitzer%netscape.com
27de60ef5a changes for autosubscribe. bug #11075. handle the case where they have a news server
already, and the case where they don't.  still more work to be done here, but the basics
work.

also, turn nsMessengerMigrator::CopyIdentity() into nsMsgIdentity::Copy() and
use that in migration and news account creation during autosubscribe.  r=alecf


git-svn-id: svn://10.0.0.236/trunk@66609 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 00:03:02 +00:00
locka%iol.ie
5ed535b45e Moved away some obselete CID/IID decls
Added method CheckForBinDirPath to request the user to set the path when there is not registry entry for it


git-svn-id: svn://10.0.0.236/trunk@66608 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:34:08 +00:00
dcone%netscape.com
7293930612 Updated 256 color mode for tiling
git-svn-id: svn://10.0.0.236/trunk@66607 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:33:46 +00:00
varada%netscape.com
4165046e6b fix for bug #36585 :changing the default title bar to Netscape 6
git-svn-id: svn://10.0.0.236/trunk@66606 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:32:55 +00:00
valeski%netscape.com
eeac60048e adding callback test harness to unix builds
git-svn-id: svn://10.0.0.236/trunk@66605 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:26:41 +00:00
valeski%netscape.com
4cf8606bde adding callback test harness to the build and fixing a typo that wasn't letting TestWriteSpeed get built on windows
git-svn-id: svn://10.0.0.236/trunk@66604 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:22:27 +00:00
thayes%netscape.com
6cb44d95c9 Add definition of SDR interface
git-svn-id: svn://10.0.0.236/trunk@66603 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:21:21 +00:00
radha%netscape.com
6b3236ea72 Go menu Back/Forward popup menus re-wired to use new Session history
git-svn-id: svn://10.0.0.236/trunk@66602 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:15:39 +00:00
radha%netscape.com
2d7c9cad08 update session history too with the title when title gets set.
git-svn-id: svn://10.0.0.236/trunk@66601 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:14:53 +00:00
anthonyd%netscape.com
10a34f6e1b drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@66600 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:11:41 +00:00
norris%netscape.com
43bc21e458 Clean up new methods.
git-svn-id: svn://10.0.0.236/trunk@66598 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:08:07 +00:00
nhotta%netscape.com
db0e5bb094 Re-label charset us-ascii to ISO-8859-1 when quoting text, bug 35105, 36410, r=rhp.
git-svn-id: svn://10.0.0.236/trunk@66597 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:06:04 +00:00
dbragg%netscape.com
ed0b32600c typo in Manifest file
git-svn-id: svn://10.0.0.236/trunk@66596 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:06:00 +00:00
nhotta%netscape.com
4da532d770 Adding a new file, functions to enumerate available fonts, to be used for mailnews.view_default_charset.
Not part of the build.


git-svn-id: svn://10.0.0.236/trunk@66595 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:04:08 +00:00
beard%netscape.com
c31b6beead Simple dependency tracking with make depend target.
git-svn-id: svn://10.0.0.236/trunk@66594 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:02:19 +00:00
thayes%netscape.com
d0a8fc6dea Add decryption functions for SDR. Add SDR to UNIX builds.
git-svn-id: svn://10.0.0.236/trunk@66593 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:00:39 +00:00
rogerl%netscape.com
5c3e4646d4 Added ASSERT cases to FixNext child handling.
git-svn-id: svn://10.0.0.236/trunk@66592 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:00:37 +00:00
pinkerton%netscape.com
e58c07d43f oops, forgot to weak link in the optimized target!
git-svn-id: svn://10.0.0.236/trunk@66591 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:00:07 +00:00
ftang%netscape.com
2d672c7bdf add nsLocalFileCommon.cpp
git-svn-id: svn://10.0.0.236/trunk@66590 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 23:00:00 +00:00
dbragg%netscape.com
f8c0450ab3 Oops, forgot nsFileSpec.h
git-svn-id: svn://10.0.0.236/trunk@66589 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:59:30 +00:00
pinkerton%netscape.com
afdd8ba069 whoops, forgot to weaklink in the optimized target.
git-svn-id: svn://10.0.0.236/trunk@66588 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:59:29 +00:00
locka%iol.ie
6c6ce21718 Added declaration of NS_PREF_CID
git-svn-id: svn://10.0.0.236/trunk@66587 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:59:20 +00:00
beard%netscape.com
caf86b0278 Simple dependencies list. Rebuilt with make depend target.
git-svn-id: svn://10.0.0.236/trunk@66586 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:58:23 +00:00
sfraser%netscape.com
fcc42459c0 Remove the gShellCounter printf cruft.
git-svn-id: svn://10.0.0.236/trunk@66585 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:57:40 +00:00
bienvenu%netscape.com
39d05d298f turn back on imap search code now that it's part of the mac build
git-svn-id: svn://10.0.0.236/trunk@66584 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:54:17 +00:00
ftang%netscape.com
26ddc69606 1. small fix on nsLocalFileCommon.cpp to fix unix warrning
2. add unicode methods to nsIFile/nsILocalFile idl
3. add nsLocalFileCommon.cpp to the unix and window makefile


git-svn-id: svn://10.0.0.236/trunk@66583 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:53:29 +00:00
dbragg%netscape.com
a56b5806c3 Fully implemented the DirectoryService and fixed the Mac nsFileSpecToIFile
git-svn-id: svn://10.0.0.236/trunk@66582 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:49:18 +00:00
granrose%netscape.com
dc5987c03e changed Milestone from static M14 to dynamically generated value of whatever's between the last ; and ) in the user agent string. r=leaf. bug 36027.
git-svn-id: svn://10.0.0.236/trunk@66581 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:49:09 +00:00
akkana%netscape.com
df673274b7 36188: fix double-spaced quotations in mail, plus lots of code cleanup
git-svn-id: svn://10.0.0.236/trunk@66580 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:47:04 +00:00
akkana%netscape.com
0e6558edd8 6276: Add wrapping support for mail.
git-svn-id: svn://10.0.0.236/trunk@66579 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:45:54 +00:00
akkana%netscape.com
0511a3d364 Don't return an error code just because there was no nsXPLookAndFeel override (thanks to Pierre for noticing)
git-svn-id: svn://10.0.0.236/trunk@66578 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:43:25 +00:00
granrose%netscape.com
e5517a4a21 change default user agent string milestone from m14 to m16.
git-svn-id: svn://10.0.0.236/trunk@66577 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:42:23 +00:00
akkana%netscape.com
0623ccf912 Add nsWrapUtils to build.
git-svn-id: svn://10.0.0.236/trunk@66576 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:41:02 +00:00
granrose%netscape.com
b48f95cc15 added -vf9 to gzip for packaging mozilla tarball. tell strip not to strip various text files (js/xul/html/etc). r=leaf
git-svn-id: svn://10.0.0.236/trunk@66575 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:40:39 +00:00
norris%netscape.com
9287db173c Fix build error.
git-svn-id: svn://10.0.0.236/trunk@66574 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:36:46 +00:00
pnunn%netscape.com
f9cb277088 bug#3013: turning on 8 bit mask generation. pnunn. tested nt, mac, linux.
git-svn-id: svn://10.0.0.236/trunk@66573 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:36:06 +00:00
pnunn%netscape.com
2ef8bd8842 bug#3013; bug#16742; and maybe bug#28616: fixed scaling on 8 bit masks. pnunn. tested on nt, linux, mac
git-svn-id: svn://10.0.0.236/trunk@66572 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:34:05 +00:00
akkana%netscape.com
c965d13ea1 Wrapping code, useful for citers and perhaps other code
git-svn-id: svn://10.0.0.236/trunk@66571 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:32:56 +00:00
akkana%netscape.com
60d2734d63 19137: <u> wasn't in the list of inline tags.
git-svn-id: svn://10.0.0.236/trunk@66570 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:31:14 +00:00
Peter.VanderBeken%pandora.be
ea53a928d3 More conversions from String to DOMString.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@66569 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 22:10:16 +00:00
dveditz%netscape.com
3d668c11ae keep check-in information from appearing inside little tbox iframe
git-svn-id: svn://10.0.0.236/trunk@66568 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 20:03:10 +00:00
norris%netscape.com
e40c972eba Subject:
contextClassloader problem in ScriptRuntime.java
   Date:
        Tue, 11 Apr 2000 09:45:36 -0400
   From:
        "Howard Lin" <howard@softcom.com>
     To:
        "Norris Boyd" <norris@netscape.com>
    CC:
        "Andrew Wason" <aw@softcom.com>




Hi, Norris, we are trying to create a Java class in JavaScript. When security manager is on, everything works fine. But when security
manager is off, we got an error saying the "... is not defined". The problem is that in ScriptRuntime.java, when security is on,
getContextClassLoader is null due to SecurityException and Class.forName is used to find the class, which works fine. When security
is off, ContextClassLoaderMethod is invoked to find the class. Since we use a separate thread to load third party jar files,
ContextClassLoaderMethod will throw a ClassNotFound exception.

To illustrate this problem, I wrote a simple applet, evaluating a simple js file in its paint method, which is running on a separate thread.
When security is off, I got the following:

ReferenceError: "Global" is not defined.
        at org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java:
494)
        at org.mozilla.javascript.ScriptRuntime.name(ScriptRuntime.java, Compile
d Code)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java, Compil
ed Code)
        at org.mozilla.javascript.InterpretedScript.call(InterpretedScript.java:
67)
        at org.mozilla.javascript.InterpretedScript.exec(InterpretedScript.java:
54)
        at org.mozilla.javascript.Context.evaluateReader(Context.java:739)
        at test.evaluate(test.java:26)
        at test.paint(test.java:16)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:117)
        at java.awt.Component.dispatchEventImpl(Component.java:2447)
        at java.awt.Container.dispatchEventImpl(Container.java:1035)
        at java.awt.Component.dispatchEvent(Component.java:2307)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:287)
        at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:10
1)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)

When security is on, it runs fine. Or if the code moved to init method, it works fine regardless of security. We are using JDK 1.2.2.

Howard


git-svn-id: svn://10.0.0.236/trunk@66567 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 19:53:16 +00:00
tor%cs.brown.edu
0275c961ec Build bustage fix: add two casts (unsigned char* -> char* and the
reverse) for more pedantic compilers, such as SUNWspro4.2. a=leaf


git-svn-id: svn://10.0.0.236/trunk@66566 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 19:52:26 +00:00
slamm%netscape.com
e9ad8593fa Continue past cvsblame parse errors.
git-svn-id: svn://10.0.0.236/trunk@66565 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 19:05:56 +00:00
dveditz%netscape.com
868efccd71 resurrecting VC 5 build (and other pedantic compilers)
git-svn-id: svn://10.0.0.236/trunk@66564 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 18:52:06 +00:00
edburns%acm.org
394bcff4aa bug 33099
r=shaver
a=edburns

Native code changes: This fix eradicates all
occurrences of the following symbols
 nsComponentManager nsServiceManeger
And replaces them with their nsI counterparts.
The following ns* classes still are used in
webclient, and no plans exist to replace them
with nsI counterparts: nsresult nsCOMPtr
nsCRT nsnull * nsServiceManager occurrences
were replaced with do_GetService(), using a
PROGID. * nsComponentManager occurrences were replaced with a call on the global class gComponentManager, declared in the new file ns_globals.h, and defined in WrapperFactoryImpl.cpp. ns_globals.h is included in jni_util.h. See the attachment to bug 33099 for ns_globals.h * Added deallocation code to WindowControlImpl.cpp nativeTerminate. I know it doesn't do much, but it's correct. Java code changes: * Added static method BrowserControlFactory.appTerminate(). This method simply calls the existing BrowserControlImpl.appTerminate(), which calls WrapperFactoryImpl.cpp nativeTerminate(). BrowserControlFactory.appTerminate() is called from EmbeddedMozilla's WindowListener, which gets fired when the user signals she wants the app to terminate.


git-svn-id: svn://10.0.0.236/trunk@66563 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 18:16:05 +00:00
terry%mozilla.org
fd8819aef9 Was reporting the wrong version number.
git-svn-id: svn://10.0.0.236/trunk@66562 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 17:36:55 +00:00
jst%netscape.com
c0dbb2190f Backing out dcones last changes since they made linux tinderbox go orange, and the toolbar wasn't properly drawn with the changes.
git-svn-id: svn://10.0.0.236/trunk@66560 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 16:22:10 +00:00
brade%netscape.com
a7015276a3 changes submitted by Brian King (briank@clubi.ie); handle the case where an image hasn't been inserted but will be.
git-svn-id: svn://10.0.0.236/trunk@66559 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 14:12:33 +00:00
dcone%netscape.com
058887ab74 Turned on the Fast Background Rendering.
git-svn-id: svn://10.0.0.236/trunk@66558 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 14:00:22 +00:00
brade%netscape.com
8bb892ecba add a function to handle dragging all types of data in the content area (not used yet; not complete yet)
git-svn-id: svn://10.0.0.236/trunk@66557 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 14:00:15 +00:00
jst%netscape.com
65876f7f11 Updating the DOM interface CSSStyleDeclaration to DOM Level 2.
git-svn-id: svn://10.0.0.236/trunk@66556 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 13:50:56 +00:00
brade%netscape.com
f4ff00e57e add nsJSCSSValue.cpp for jst
git-svn-id: svn://10.0.0.236/trunk@66555 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 13:48:39 +00:00
jst%netscape.com
a8f76590ab Adding GetIID() to nsICSSDeclaration.
git-svn-id: svn://10.0.0.236/trunk@66554 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 13:00:08 +00:00
jst%netscape.com
c4e455e5bc Fix build warnings.
git-svn-id: svn://10.0.0.236/trunk@66553 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 12:40:35 +00:00
jst%netscape.com
4cece07c24 Fixing bug #32376. Mozilla now populates a select list with new empty options if it's length is set to a bigger number than it already is, this is against the DOM but we need this to be compatible with older browsers.
git-svn-id: svn://10.0.0.236/trunk@66552 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 12:34:35 +00:00
jband%netscape.com
486fb4f510 Had the wrong clazz for the root! So it was better when the caching was broken. Now it works on MI objects with caching fixed. My bad copy/paste error from long ago.
git-svn-id: svn://10.0.0.236/trunk@66551 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 12:16:45 +00:00
jst%netscape.com
9e95ae73d6 Adding CSSValue interface, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@66550 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 11:07:16 +00:00
jband%netscape.com
fe72a694dd backing out little fix from earlier today because it causes crashes in some MI cases. I'll investigate and do the right fix
git-svn-id: svn://10.0.0.236/trunk@66549 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 11:06:48 +00:00
kvisco%ziplink.net
a62b3fdec4 updated with latest info
git-svn-id: svn://10.0.0.236/trunk@66548 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 10:21:06 +00:00
kvisco%ziplink.net
f4c1a830ad latest info
git-svn-id: svn://10.0.0.236/trunk@66547 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 10:16:44 +00:00
kvisco%ziplink.net
db938ecc41 Added a fix for relative URI with xsl:include (npride)
git-svn-id: svn://10.0.0.236/trunk@66546 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 10:14:05 +00:00
kvisco%ziplink.net
5eacd941ae Added Nathan Pride's fix for document base when a stylesheet is specified on the command line
git-svn-id: svn://10.0.0.236/trunk@66545 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 10:13:22 +00:00
kvisco%ziplink.net
cbfd64055e Added some changes from Marina (see changes.txt)
git-svn-id: svn://10.0.0.236/trunk@66544 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 10:12:06 +00:00
kvisco%ziplink.net
c1e3519474 changed a couple postfix increments to prefix, aesthetics really.
git-svn-id: svn://10.0.0.236/trunk@66543 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 10:11:28 +00:00
kvisco%ziplink.net
128c34fe01 added Marina's changes (removed casts from XML_Char to DOM_CHAR)
git-svn-id: svn://10.0.0.236/trunk@66542 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 10:09:42 +00:00
pavlov%netscape.com
e1978d5f91 finish COMPOUND_TEXT support
git-svn-id: svn://10.0.0.236/trunk@66541 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 09:29:38 +00:00
waterson%netscape.com
2e4423d60c Replace raw use of nsArrayEnumerator with NS_NewArrayEnumerator(). r=sspitzer, alecf
git-svn-id: svn://10.0.0.236/trunk@66540 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 09:15:23 +00:00
jband%netscape.com
723651965b landing typelib loading improvements. bug 30753
git-svn-id: svn://10.0.0.236/trunk@66539 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 08:52:05 +00:00
sgehani%netscape.com
927911ea8e Fix for exposing default destination in config.ini. [b=36392]
git-svn-id: svn://10.0.0.236/trunk@66538 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 07:42:43 +00:00
sgehani%netscape.com
1ccd24955c * Fix shell script env setup.
* Add feature support to specify folder default in config.ini. [b=36392]
* Pipe erros to a dialog instead of to stdout.


git-svn-id: svn://10.0.0.236/trunk@66537 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 07:42:23 +00:00
sspitzer%netscape.com
6d97a3f99e more changes for the new subscribe dialog.
git-svn-id: svn://10.0.0.236/trunk@66536 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 07:11:27 +00:00
brendan%mozilla.org
953de28629 Check access and redeclaration legality when defining a getter/setter (36117, r=norris)
git-svn-id: svn://10.0.0.236/trunk@66535 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 07:10:14 +00:00
sspitzer%netscape.com
72ece3deff more work for the new subscribe dialog.
git-svn-id: svn://10.0.0.236/trunk@66534 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 06:59:43 +00:00
sspitzer%netscape.com
41aafbe0d9 more changes for the new subscribe dialog. use a check and dot instead of "true" and "false"
in the ui.


git-svn-id: svn://10.0.0.236/trunk@66533 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 06:39:28 +00:00
beard%netscape.com
051398cca7 removed extraneous semi-colons after namespace declarations.
git-svn-id: svn://10.0.0.236/trunk@66532 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 06:20:31 +00:00
beard%netscape.com
a9070a5a89 warnings: commented out unused parameter name.
git-svn-id: svn://10.0.0.236/trunk@66531 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 06:19:43 +00:00
sspitzer%netscape.com
dd457a6819 debug vs. opt problem. I need these labels at run time for PR_LOG.
git-svn-id: svn://10.0.0.236/trunk@66530 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 05:49:58 +00:00
ftang%netscape.com
7fe0360603 first add for nsILocalFile unicode interface wrapper code
not part of the build system yet.


git-svn-id: svn://10.0.0.236/trunk@66529 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 05:44:03 +00:00
putterman%netscape.com
2d7ee10e86 r=sspitzer. Move more functions into new FE files. Make sent folder display recipient column.
Make sorting by size and priority work correctly.


git-svn-id: svn://10.0.0.236/trunk@66528 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 05:30:32 +00:00
sspitzer%netscape.com
f310597284 fix warnings.
git-svn-id: svn://10.0.0.236/trunk@66527 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 05:18:55 +00:00
sspitzer%netscape.com
b621b1b8f1 more work for the subscribe dialog. use PR_LOG instead of printfs. #35217
git-svn-id: svn://10.0.0.236/trunk@66526 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 05:12:14 +00:00
ftang%netscape.com
55a9331676 fix 34963. check in fix patch by m_kato@ga2.so-net.ne.jp
add ::CoUninitialize


git-svn-id: svn://10.0.0.236/trunk@66525 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 05:09:59 +00:00
ftang%netscape.com
d578dffe20 fix 22116. Check in patch from m_kato@ga2.so-net.ne.jp
Perform IsDBCSLeadByte before 0x5c escaping


git-svn-id: svn://10.0.0.236/trunk@66524 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 05:08:02 +00:00
brendan%mozilla.org
a52af9e334 Add nsTraceMalloc.[ch] and bloatblame.c, not part of build (setenv NS_TRACE_MALLOC to enable here and in xpfe/bootstrap).
git-svn-id: svn://10.0.0.236/trunk@66523 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 04:55:26 +00:00
jband%netscape.com
ea3832197e update comment - mostly just to verify that I can checkin from my Mac without bad things happening.
git-svn-id: svn://10.0.0.236/trunk@66522 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 04:50:06 +00:00
troy%netscape.com
f9339d1efa b=6252 Fixed problem with computing of hypothetical box
git-svn-id: svn://10.0.0.236/trunk@66521 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 04:44:32 +00:00
brendan%mozilla.org
7c7ede314f Added NS_TraceMalloc support (ifdef'd off -- not part of build by default).
git-svn-id: svn://10.0.0.236/trunk@66520 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 04:35:07 +00:00
pavlov%netscape.com
a8ed449125 fix ups for COMPOUND_TEXT
git-svn-id: svn://10.0.0.236/trunk@66519 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 04:26:24 +00:00
sfraser%netscape.com
e70599bdc0 Fix for 29843 -- caret disappears on delete. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@66518 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:59:50 +00:00
sfraser%netscape.com
d158f6cf76 Fix a warning.
git-svn-id: svn://10.0.0.236/trunk@66517 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:58:10 +00:00
sfraser%netscape.com
b2af441c4b Tweak the WaitNextEvent sleep time depending on what the browser is doing (if there are file or network connections active). r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@66516 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:57:39 +00:00
sfraser%netscape.com
98afab0b38 Just rename some mFoo static member variables to sFoo.
git-svn-id: svn://10.0.0.236/trunk@66515 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:55:00 +00:00
putterman%netscape.com
ef35fa88a2 Turn off probe maps. This speeds up loading a folder. r=bienvenu.
git-svn-id: svn://10.0.0.236/trunk@66514 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:46:32 +00:00
rods%netscape.com
335366306f uncommenting out some important clean up code and gating it with "!kGoodToGo"
should fix leaks


git-svn-id: svn://10.0.0.236/trunk@66513 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:42:12 +00:00
sspitzer%netscape.com
99fe1f804c more changes for the new subscribe dialog.
git-svn-id: svn://10.0.0.236/trunk@66512 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:41:30 +00:00
jband%netscape.com
b251c67df7 fix typo bug that was causing wrapper cache misses on wrapper around objects implementing multiple interfaces when the first wrapper is made for an interface that is not leftmost
git-svn-id: svn://10.0.0.236/trunk@66511 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:38:47 +00:00
pavlov%netscape.com
b41b43c634 fix support for UTF8_STRING and add code to begin work on COMPOUND_TEXT support
git-svn-id: svn://10.0.0.236/trunk@66510 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:29:06 +00:00
mscott%netscape.com
a341169351 fix build breakage for davidb
git-svn-id: svn://10.0.0.236/trunk@66509 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:18:45 +00:00
mscott%netscape.com
4f8d8b2ab0 fix build breakage for davidb.
git-svn-id: svn://10.0.0.236/trunk@66508 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:18:31 +00:00
ashuk%eng.sun.com
9cf731c129 fixed small bug with call to getSourceBytes
_Ashu


git-svn-id: svn://10.0.0.236/trunk@66507 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:16:15 +00:00
roeber%netscape.com
ceba238a3a Getting session objects working.
git-svn-id: svn://10.0.0.236/trunk@66506 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:14:47 +00:00
ashuk%eng.sun.com
fdc4a78470 new signature for getSourceBytes
_Ashu


git-svn-id: svn://10.0.0.236/trunk@66505 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 02:59:53 +00:00
bienvenu%netscape.com
c9866021b9 attempt to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@66504 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 02:46:01 +00:00
bienvenu%netscape.com
976c2bcaea ifdef out code causing link problem
git-svn-id: svn://10.0.0.236/trunk@66503 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 02:21:40 +00:00
bienvenu%netscape.com
69ad15ca70 fix linux build bustage
git-svn-id: svn://10.0.0.236/trunk@66502 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 02:14:24 +00:00
bienvenu%netscape.com
42ec5a4c2e add nsImapSearch to unix makefile
git-svn-id: svn://10.0.0.236/trunk@66501 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 02:12:07 +00:00
pinkerton%netscape.com
ed40ec06d6 don't init context menu stuff if it's not present.
git-svn-id: svn://10.0.0.236/trunk@66500 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 02:01:12 +00:00
pinkerton%netscape.com
40fe50ec26 Adding top and left to screen object because they're not always at 0,0 and
availTop and availLeft aren't good enough for all cases.


git-svn-id: svn://10.0.0.236/trunk@66499 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 02:00:55 +00:00
bienvenu%netscape.com
b92acce064 add search session and imap search
git-svn-id: svn://10.0.0.236/trunk@66498 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 02:00:07 +00:00
pinkerton%netscape.com
e6b0f66500 Adding top and left to screen object.
git-svn-id: svn://10.0.0.236/trunk@66497 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:59:24 +00:00
pinkerton%netscape.com
2369d36239 Adding top and left because they are not always at 0,0.
git-svn-id: svn://10.0.0.236/trunk@66496 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:58:36 +00:00
pinkerton%netscape.com
9c1ea57df4 Adding screen.top and screen.left
git-svn-id: svn://10.0.0.236/trunk@66495 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:57:16 +00:00
jefft%netscape.com
51a847e8ce partial fix for limit message size download; we now generate truncated message html from mime
git-svn-id: svn://10.0.0.236/trunk@66494 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:55:42 +00:00
bienvenu%netscape.com
0f310fe0a6 add PROGID for search session
git-svn-id: svn://10.0.0.236/trunk@66493 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:40:39 +00:00
bienvenu%netscape.com
1d11345bf1 fix linux build bustage
git-svn-id: svn://10.0.0.236/trunk@66492 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:36:16 +00:00
jdunn%netscape.com
283e18968a Structs are inheritently private, so friend is required
r= waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@66491 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:33:29 +00:00
bienvenu%netscape.com
bf68fe4b68 add include of nsIMsgSearchSession
git-svn-id: svn://10.0.0.236/trunk@66490 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:32:02 +00:00
jdunn%netscape.com
37e4d99aab adding newline for hp
git-svn-id: svn://10.0.0.236/trunk@66489 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:30:45 +00:00
bienvenu%netscape.com
e909d1ce59 maintain folder flags if we delete a local mail folder potential fix for 24376
git-svn-id: svn://10.0.0.236/trunk@66488 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:26:45 +00:00
bienvenu%netscape.com
cccc474333 more work on search, not part of build
git-svn-id: svn://10.0.0.236/trunk@66487 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:19:41 +00:00
bienvenu%netscape.com
e83a56298f remove Init method for search, not part of build
git-svn-id: svn://10.0.0.236/trunk@66486 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:17:05 +00:00
wtc%netscape.com
1444dc6553 Bugzilla bug #36250: updated the list of modules to check out for
$pull(runtime).  r=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@66485 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:16:52 +00:00
bienvenu%netscape.com
f47c14fe8c add search session to mail news url, not used yet
git-svn-id: svn://10.0.0.236/trunk@66484 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:13:31 +00:00
bienvenu%netscape.com
8386723f37 fix generation of search url spec
git-svn-id: svn://10.0.0.236/trunk@66483 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:11:52 +00:00
bienvenu%netscape.com
e1be5d5ddd fix parsing of search urls
git-svn-id: svn://10.0.0.236/trunk@66482 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:11:05 +00:00
ruslan%netscape.com
f6444fea8a Adjust transport socket timeout everytime it's getting put back into the
work queue. Fix WinGate crash (32048) by stopping using polable events in case
when creation of pollable event has failed (until nspr finds a real solution).
Fix 36445. Apply slamm's patch to shut off some compiler warnings.


git-svn-id: svn://10.0.0.236/trunk@66481 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:10:30 +00:00
dougt%netscape.com
b7617f6ab3 fix for 36266. submitting by koehler@mythrium.com.
git-svn-id: svn://10.0.0.236/trunk@66480 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:08:53 +00:00
mccabe%netscape.com
3ff433857d Ignore some generated Makefiles
git-svn-id: svn://10.0.0.236/trunk@66479 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 01:08:17 +00:00
dveditz%netscape.com
15b7512934 Bug 6252, making tinderbox popups work for Mozilla. The code comes from
dbaron@fas.harvard.edu, and I modified the browser version detection
code slightly.


git-svn-id: svn://10.0.0.236/trunk@66478 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 00:50:15 +00:00
danm%netscape.com
9d6d0ce704 fix bad URL in last checkin
git-svn-id: svn://10.0.0.236/trunk@66477 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 00:10:50 +00:00
wtc%netscape.com
9b91a671e3 Bugzilla bug #36170: pass the correct OS error code to PR_SetError when
the load library function fails.  Thanks to justin@68k.org for the bug
report and suggesting a fix.


git-svn-id: svn://10.0.0.236/trunk@66476 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 23:34:48 +00:00
norris%netscape.com
cedf1a3762 Add line number information.
git-svn-id: svn://10.0.0.236/trunk@66475 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 23:24:04 +00:00
nisheeth%netscape.com
c2106f0282 More changes to get Transformiix to build as a Mozilla component on windows. Not part of the mozilla build.
git-svn-id: svn://10.0.0.236/trunk@66474 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 23:07:33 +00:00
locka%iol.ie
a267b65ead Removed .sbr file generation C flag
Added the bin directory to the PATH so control can be registered


git-svn-id: svn://10.0.0.236/trunk@66473 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 22:46:22 +00:00
rogerl%netscape.com
41b94e7563 Removing variables.
git-svn-id: svn://10.0.0.236/trunk@66472 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 22:45:57 +00:00
rogerl%netscape.com
c7b01f8cea Added hasOwnProperty, propertyIsEnumerable, isPrototypeOf to Object.
git-svn-id: svn://10.0.0.236/trunk@66471 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 22:32:50 +00:00
beard%netscape.com
ebfb917075 Compatibility with Universal Headers 3.3 or later. a=leaf
git-svn-id: svn://10.0.0.236/trunk@66470 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 22:13:51 +00:00
beard%netscape.com
f81bec15ac Added target for Universal Interfaces 3.3.
git-svn-id: svn://10.0.0.236/trunk@66469 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 22:07:47 +00:00
roeber%netscape.com
c2d6384af2 Wait a minute, I was right the first time: I don't need to worry about
endianness, that's a display problem.


git-svn-id: svn://10.0.0.236/trunk@66468 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 22:07:09 +00:00
despotdaemon%netscape.com
03275d2412 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@66467 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 22:04:43 +00:00
saari%netscape.com
3f2a2b73c9 dist... chrome restructuring
git-svn-id: svn://10.0.0.236/trunk@66466 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:54:45 +00:00
saari%netscape.com
7cc067d14b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@66465 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:53:22 +00:00
danm%netscape.com
fda3acfcbd dist...chrome restructuring
git-svn-id: svn://10.0.0.236/trunk@66464 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:42:30 +00:00
roeber%netscape.com
b555cc52b0 Multiple changes to get the cryptoki framework and builtin-object
module working:  1) C_GetFunctionList is always present; 2) fwObject
and fwSession now remember their handles on behalf of the fwInstance;
3) fwSessions are created before mdSessions, so the mdSession can
use the fwSession's arena; 4) finished implementing findObjects;
5) builtin constants are in network byte order; 6) libnssckbi.so
knows about and can pull in its dependencies (e.g. libnssckfw.so,
libnssb.so, and NSPR).


git-svn-id: svn://10.0.0.236/trunk@66463 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:32:38 +00:00
roeber%netscape.com
f85ed5e665 I missed a couple usages of nssUTF8_Size when its signature changed.
Also made a pedantic check #ifdef PEDANTIC.


git-svn-id: svn://10.0.0.236/trunk@66462 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:24:57 +00:00
roeber%netscape.com
833aaa0bee Free from the beginning of the real block pointer, not the user's pointer.
git-svn-id: svn://10.0.0.236/trunk@66461 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:23:13 +00:00
sgehani%netscape.com
50b21d933b Use new INI parser keys.
b=36395
a=leaf


git-svn-id: svn://10.0.0.236/trunk@66460 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 21:21:22 +00:00
dougt%netscape.com
c407eb7891 Fix for 36236. Make all https channels use the load flag:
INHIBIT_PERSISTENT_CACHING.  r=davidm@netscape.com


git-svn-id: svn://10.0.0.236/trunk@66458 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 19:59:40 +00:00
valeski%netscape.com
3720ba25a9 adding cmd line arg usage, not part of builds
git-svn-id: svn://10.0.0.236/trunk@66457 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 19:58:29 +00:00
valeski%netscape.com
f45c9c82c8 NOT PART OF BUILD. adding a protocol callback test harness
git-svn-id: svn://10.0.0.236/trunk@66453 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 17:47:45 +00:00
locka%iol.ie
e9d3aff69f Fixed a build dependency problem with the idl file
git-svn-id: svn://10.0.0.236/trunk@66452 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 17:13:00 +00:00
locka%iol.ie
c25964419c Removed MIDL autogenerated header file
git-svn-id: svn://10.0.0.236/trunk@66451 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 17:09:59 +00:00
rods%netscape.com
f6659ace4f change char detection to use unichar and upper case so now pressing 't' or 'T'
gets you the first item that begin with 't' ot 'T'
Bug 34630


git-svn-id: svn://10.0.0.236/trunk@66450 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 14:57:44 +00:00
jdunn%netscape.com
67c52e8eef adding newline - hp bustage
git-svn-id: svn://10.0.0.236/trunk@66449 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 14:57:43 +00:00
rods%netscape.com
9d806d5fd4 no longer strips beginning and ending spaces of value when GetAttributeValueAt
is called.
Bug 33050


git-svn-id: svn://10.0.0.236/trunk@66448 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 14:00:11 +00:00
rods%netscape.com
b4be14287d added new rules for -moz-display-comboboxcontrol-frame
bug 33515


git-svn-id: svn://10.0.0.236/trunk@66447 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 13:55:57 +00:00
rods%netscape.com
bbcb0f397d Not enabling creator's to be asked if they want to create a special frame for anonymous content
bug 33515


git-svn-id: svn://10.0.0.236/trunk@66446 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 13:55:17 +00:00
kvisco%ziplink.net
b0bd21cd05 updated examples to show generate-id that takes an argument
git-svn-id: svn://10.0.0.236/trunk@66445 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 11:07:04 +00:00
kvisco%ziplink.net
82f21d32ee added support for optional NodeSet argument
git-svn-id: svn://10.0.0.236/trunk@66444 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 11:06:09 +00:00
kvisco%ziplink.net
1a08fb523b updated make files to add new files, updated functions.xsl to show an example of generate-id()
git-svn-id: svn://10.0.0.236/trunk@66443 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 10:43:41 +00:00
kvisco%ziplink.net
1d8f8edf06 added support for extension functions
git-svn-id: svn://10.0.0.236/trunk@66442 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 10:41:13 +00:00
kvisco%ziplink.net
5f342946a5 initial checkin: generate-id extension function
git-svn-id: svn://10.0.0.236/trunk@66441 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 10:40:06 +00:00
kvisco%ziplink.net
d9c475bece updated to include xslt extension functions
git-svn-id: svn://10.0.0.236/trunk@66440 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 10:38:01 +00:00
kvisco%ziplink.net
57cd1c2618 Added definitions for some of the XSLT extension functions
git-svn-id: svn://10.0.0.236/trunk@66439 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 10:32:35 +00:00
kvisco%ziplink.net
721532228f Added the generateId method
git-svn-id: svn://10.0.0.236/trunk@66438 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 10:31:32 +00:00
rickg%netscape.com
926b4bff3d backing out for now; I'll retry tomorrow
git-svn-id: svn://10.0.0.236/trunk@66437 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 09:04:46 +00:00
rickg%netscape.com
d7bc270f6f try to fix tinderbox bustage for nisheeth
git-svn-id: svn://10.0.0.236/trunk@66436 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 08:45:45 +00:00
hyatt%netscape.com
d4539ffc73 Converting XBL bindings to use id.
git-svn-id: svn://10.0.0.236/trunk@66435 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 08:20:20 +00:00
hyatt%netscape.com
acdc95c40a Switching name to id in XBL.:
git-svn-id: svn://10.0.0.236/trunk@66434 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 08:19:47 +00:00
alecf%netscape.com
2c2f52f6c2 add temporary styles for filters being enabled/disabled
git-svn-id: svn://10.0.0.236/trunk@66433 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 08:15:00 +00:00
alecf%netscape.com
59ef83b016 add cool icons when a filter is enabled, and add a warning about filing bugs
git-svn-id: svn://10.0.0.236/trunk@66432 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 08:13:08 +00:00
alecf%netscape.com
c6a32b2ae0 use the new non-html widgets, and take out the html namespace entirely
git-svn-id: svn://10.0.0.236/trunk@66431 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 08:12:02 +00:00
rickg%netscape.com
57616b9065 removed warnings; retry landing Strict DTD. r=harishd
git-svn-id: svn://10.0.0.236/trunk@66430 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 08:08:28 +00:00
nisheeth%netscape.com
ce05c41617 Fix for bug 30091. nsFormControlList::NamedItem() was doing a linear walk through the form control list. Now it uses a hash table lookup. This greatly reduces the time for the screen to update when one clicks on the Program list box on the Bugzilla query page.
git-svn-id: svn://10.0.0.236/trunk@66429 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 07:49:07 +00:00
alecf%netscape.com
d0a56f8f93 add locale directory to build (doh!)
git-svn-id: svn://10.0.0.236/trunk@66428 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 07:42:40 +00:00
alecf%netscape.com
ae314bab8b remove spam filter item and enable mail filters item
git-svn-id: svn://10.0.0.236/trunk@66427 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 05:43:36 +00:00
waterson%netscape.com
9ea3990175 Bug 10208. Correctly update 'empty' attribute when a container's contents are changed.
git-svn-id: svn://10.0.0.236/trunk@66426 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 05:39:26 +00:00
alecf%netscape.com
69c003384f clean this up (not part of build anyway)
git-svn-id: svn://10.0.0.236/trunk@66425 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 05:37:47 +00:00
alecf%netscape.com
ff129411f3 convert base to be a generic factory, and add temporary ProgIDs for the filter delegate factory
git-svn-id: svn://10.0.0.236/trunk@66424 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 05:32:22 +00:00
alecf%netscape.com
3923612700 add filter datasource and delegate factory to the windows build
git-svn-id: svn://10.0.0.236/trunk@66423 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 05:25:50 +00:00
alecf%netscape.com
2160b60799 add filter datasource and delegate factory to unix build
git-svn-id: svn://10.0.0.236/trunk@66422 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 05:24:46 +00:00
alecf%netscape.com
d2ae47c1e4 added nsMsgFilterDataSource.cpp and nsMsgFilterDelegateFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@66421 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 05:23:36 +00:00
alecf%netscape.com
d282628224 export nsMsgRDFUtils.h so search can use it.
git-svn-id: svn://10.0.0.236/trunk@66420 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 05:00:34 +00:00
sspitzer%netscape.com
76b86bd7b1 cleanup of some of the migration code. this is needed before we properly fix #36249
git-svn-id: svn://10.0.0.236/trunk@66419 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:58:36 +00:00
davidm%netscape.com
c02dd57263 28412 metaDataLength is wrong in nsCachedNetData::Deserialize
Update streamasfile interface to be a file rather than filename.


git-svn-id: svn://10.0.0.236/trunk@66418 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:55:57 +00:00
sgehani%netscape.com
be504c48ca Update usage comments.
git-svn-id: svn://10.0.0.236/trunk@66417 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:55:40 +00:00
davidm%netscape.com
782be6b659 28412 metaDataLength is wrong in nsCachedNetData::Deserialize. Add routines to build stream from char* and length
git-svn-id: svn://10.0.0.236/trunk@66416 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:54:53 +00:00
davidm%netscape.com
9445a7c86d Replace nsString with nsCString. Add routines for setting the ext froma comma delimenated list
git-svn-id: svn://10.0.0.236/trunk@66415 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:45:30 +00:00
troy%netscape.com
512dca046c b=26221 Fixed ConstructFrameByDisplayType() to pass in the correct parent
frame pointer when constructing a floated table


git-svn-id: svn://10.0.0.236/trunk@66414 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:44:16 +00:00
sgehani%netscape.com
f2f8fc2e1e Added site selector feature, dynamic download path feature, graceful error handling if running on a system that is older than OS 8.5, and we now handle comments in the INI parser. Also, got rid of bad access paths in the project file.
b = 34836, 32694, 32766, 36253


git-svn-id: svn://10.0.0.236/trunk@66413 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:43:14 +00:00
davidm%netscape.com
d3d43bee83 Fix problem with prefs not being initialized
git-svn-id: svn://10.0.0.236/trunk@66412 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:43:04 +00:00
davidm%netscape.com
187dcfca7c 21100 Implement file cache
git-svn-id: svn://10.0.0.236/trunk@66411 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:41:57 +00:00
davidm%netscape.com
34312be304 35197 Leaking nsFileSpecImpl
git-svn-id: svn://10.0.0.236/trunk@66410 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:41:28 +00:00
waterson%netscape.com
7e98956c88 Bug 24762. Use arena-based fixed-size allocator for enumerator objects. r=scc
git-svn-id: svn://10.0.0.236/trunk@66409 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:37:41 +00:00
waterson%netscape.com
19c0036fac Bug 24762. Use arena-based fixed-size allocator for Assertion, PLHashEntry, and enumerator objects. r=scc
git-svn-id: svn://10.0.0.236/trunk@66408 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:36:28 +00:00
sgehani%netscape.com
e4b1934167 Whitespace formatting for last warnings' checkin.
git-svn-id: svn://10.0.0.236/trunk@66407 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:32:46 +00:00
ruslan%netscape.com
a6866c4a57 Fire OnStop on the right listener
git-svn-id: svn://10.0.0.236/trunk@66406 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:19:18 +00:00
sgehani%netscape.com
df59affbb8 Fix all 143 build warnings.
NOTE:
Compiled on RedHat 6.1 Linux and debian Linux.


git-svn-id: svn://10.0.0.236/trunk@66405 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:16:28 +00:00
sspitzer%netscape.com
0998fc31e6 fix for #34739. when possible, ask for a news article by number, not by message id.
git-svn-id: svn://10.0.0.236/trunk@66404 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:14:33 +00:00
alecf%netscape.com
a1297dbea3 update delegate factory to create the object first, then QI
(so object creation is not dependant on the interface)


git-svn-id: svn://10.0.0.236/trunk@66403 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 04:00:15 +00:00
ruslan%netscape.com
649ea793cf Fix 24884
git-svn-id: svn://10.0.0.236/trunk@66402 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 03:55:56 +00:00
jefft%netscape.com
22ca60b844 not correctly initialized limit message download size
git-svn-id: svn://10.0.0.236/trunk@66401 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 03:42:58 +00:00
jefft%netscape.com
4c0572ac5d make sure we write out 4 digit status flag; this fixes local mail folder corrupted problem when updating folder message flags
git-svn-id: svn://10.0.0.236/trunk@66400 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 03:39:45 +00:00
waterson%netscape.com
608cdf55ec Add nsFixedSizeAllocator.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@66399 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 03:27:42 +00:00
troy%netscape.com
e1791f741f b=36220 Added check for a frame type of "areaFrame"
git-svn-id: svn://10.0.0.236/trunk@66398 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 03:27:31 +00:00
sspitzer%netscape.com
96c8f11f3a backing myself out. the problem of what to do on out of disk space is not
going to be fixed this way.


git-svn-id: svn://10.0.0.236/trunk@66397 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 03:20:23 +00:00
waterson%netscape.com
5e5619176a Add nsFixedSizeAllocator.cpp to build.
git-svn-id: svn://10.0.0.236/trunk@66396 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 03:17:32 +00:00
waterson%netscape.com
c9b44264cb Initial revision.
git-svn-id: svn://10.0.0.236/trunk@66395 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 03:15:25 +00:00
troy%netscape.com
acf6fe34f4 b=36202 Patch from roc+moz@cs.cmu.edu that makes sure we invalidate if
necessary when pulling up frames


git-svn-id: svn://10.0.0.236/trunk@66394 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 03:12:13 +00:00
sspitzer%netscape.com
05cb5c10d6 add error module for the profile module.
git-svn-id: svn://10.0.0.236/trunk@66393 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 03:04:49 +00:00
dveditz%netscape.com
f8ec34399c resurrecting VC 5.0 build -- again
git-svn-id: svn://10.0.0.236/trunk@66392 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 02:36:21 +00:00
endico%mozilla.org
8823ce2547 backing out because this has broken bugzilla.mozilla.org. the choice is no longer given in show_bug.cgi to make bugs confidential. I need to change lounge so it no longer automatically updates.
git-svn-id: svn://10.0.0.236/trunk@66391 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 02:14:41 +00:00
troy%netscape.com
e68720f217 b=15405 Renamed root frame to canvas frame and changed frame construction
code to propagate document element's background to canvas


git-svn-id: svn://10.0.0.236/trunk@66390 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 02:13:43 +00:00
rogerl%netscape.com
f2e47face0 Began moving away from variables, fixed compare/branch ordering.
Testcases working.


git-svn-id: svn://10.0.0.236/trunk@66389 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 02:09:06 +00:00
thayes%netscape.com
ab02f6ff88 Add initial cmtsdr.c file for SDR implementation from M14 branch
git-svn-id: svn://10.0.0.236/trunk@66388 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 01:43:29 +00:00
thayes%netscape.com
d7a558c2d9 Merge changes for SDR encrypt and decrypt from M14 branch
git-svn-id: svn://10.0.0.236/trunk@66387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 01:38:04 +00:00
thayes%netscape.com
37d3a6797f Add protocol opcodes for SDR encrypt and decrypt
git-svn-id: svn://10.0.0.236/trunk@66385 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 01:29:56 +00:00
tajima%eng.sun.com
49a6e20a7d fix for 35829: need ja_JP.PCK entry in unixcharset.properties for Solaris Shift_JIS: r=ftang@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66384 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 01:26:23 +00:00
rjc%netscape.com
87964a9ccd Fix bug # 33703: persist the "open" attribute on file/ftp listings.
git-svn-id: svn://10.0.0.236/trunk@66383 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 01:06:20 +00:00
alecf%netscape.com
d53abb4c85 fix datasource to treat delegates as opaque objects which are QI'ed to find their type. implement GetTarget and GetTargets for filters.
Not part of build.


git-svn-id: svn://10.0.0.236/trunk@66381 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 01:04:14 +00:00
alecf%netscape.com
f9a704dc51 implemented Get/SetFilterName/Desc, and remove old duplicate GetName/Description methods
git-svn-id: svn://10.0.0.236/trunk@66380 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 01:03:01 +00:00
bienvenu%netscape.com
052e0d1456 More work on search, not run yet
git-svn-id: svn://10.0.0.236/trunk@66379 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 01:01:51 +00:00
alecf%netscape.com
52764f97d8 update some strings to match the spec
git-svn-id: svn://10.0.0.236/trunk@66378 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 01:01:26 +00:00
bienvenu%netscape.com
c20e8a36c7 add msg folder to Search interface, not run yet
git-svn-id: svn://10.0.0.236/trunk@66377 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 01:01:08 +00:00
alecf%netscape.com
34ce21c978 make filter dialog actually capable of listing filters through RDF!
Also bring filter editor closer up to spec
(not really part of anything just yet)


git-svn-id: svn://10.0.0.236/trunk@66376 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 01:01:05 +00:00
ssu%netscape.com
d2d5f9e6f3 fixing bugs 7874 (on going) and 30909.
Affects only windows platforms.


git-svn-id: svn://10.0.0.236/trunk@66375 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 00:51:00 +00:00
sspitzer%netscape.com
bb9b739242 fix for #32649. make it so an error on migration makes its way into an alert for the user.
(still more work to do when handling out of space errors.)  clean up code.


git-svn-id: svn://10.0.0.236/trunk@66374 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 00:49:51 +00:00
scc%netscape.com
2484865aa6 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66373 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 00:36:46 +00:00
cls%seawood.org
4abbec56b0 Added SeaMonkey-Ports to the tree list
git-svn-id: svn://10.0.0.236/trunk@66372 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 00:32:33 +00:00
scc%netscape.com
67560a359c making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66371 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 00:19:06 +00:00
pavlov%netscape.com
6ab5455913 fix windows bustage
git-svn-id: svn://10.0.0.236/trunk@66370 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 00:17:51 +00:00
sspitzer%netscape.com
4e9595b85a really adding nsILocalMailIncomingServer.idl to the build this time.
last time, I was just smoking crack.


git-svn-id: svn://10.0.0.236/trunk@66369 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 00:12:32 +00:00
alecf%netscape.com
c14ab48429 get rid of xp_core.h dependancies
git-svn-id: svn://10.0.0.236/trunk@66368 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 00:03:14 +00:00
rhp%netscape.com
280c627eb2 Just adding files to the tree - NOT PART OF THE BUILD!!!
git-svn-id: svn://10.0.0.236/trunk@66367 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:59:32 +00:00
pavlov%netscape.com
8df6302299 fix for not being able to change profile directories on windows (bug #35821)
git-svn-id: svn://10.0.0.236/trunk@66365 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:55:06 +00:00
scc%netscape.com
d2a7990448 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66364 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:53:10 +00:00
ftang%netscape.com
34376d1ac5 fix bug 35240. Use nsCString to keep mFile for now.
git-svn-id: svn://10.0.0.236/trunk@66363 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:49:17 +00:00
ftang%netscape.com
abe206b6a8 remove euro entry from symbol encoding. The updated Adobe table have euro
symbol in it but most of the symbol font do not have it.
r=erik


git-svn-id: svn://10.0.0.236/trunk@66362 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:43:53 +00:00
slamm%netscape.com
010f90a657 Clean up old tbx.xxxxx mail files in data/.
git-svn-id: svn://10.0.0.236/trunk@66361 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:35:08 +00:00
cata%netscape.com
ec1019f1a0 Implementation for the new methods in the nsICharsetConverterManager2 interface.
git-svn-id: svn://10.0.0.236/trunk@66360 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:31:28 +00:00
tbogard%aol.net
38b7587274 Remove unused variable.
git-svn-id: svn://10.0.0.236/trunk@66359 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:31:26 +00:00
cata%netscape.com
e889af2513 New methods in the nsICharsetConverterManager2 interface.
git-svn-id: svn://10.0.0.236/trunk@66358 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:30:34 +00:00
tbogard%aol.net
34be4f1d74 Don't persist "about:blank" in the session history.
git-svn-id: svn://10.0.0.236/trunk@66357 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:30:02 +00:00
sgehani%netscape.com
d51a78592c Ignoring generated Makefile and compiled installer binary.
git-svn-id: svn://10.0.0.236/trunk@66356 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:20:42 +00:00
sgehani%netscape.com
9415196f58 Adding xptlinking phase to Unix installer delivery script.
git-svn-id: svn://10.0.0.236/trunk@66355 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:17:53 +00:00
pinkerton%netscape.com
c522733aab removed color picker files for pavlov.
git-svn-id: svn://10.0.0.236/trunk@66354 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:13:02 +00:00
donm%bluemartini.com
861e3e08fb bug 25010 add ability to easily edit groups
git-svn-id: svn://10.0.0.236/trunk@66353 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:12:00 +00:00
pavlov%netscape.com
c8b7b143d3 remove creation code for colorpicker
git-svn-id: svn://10.0.0.236/trunk@66352 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:07:43 +00:00
pavlov%netscape.com
0fd3b8d905 remove color picker files since it was replaced by the xbl version
git-svn-id: svn://10.0.0.236/trunk@66351 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:06:23 +00:00
troy%netscape.com
079299546c Added "canvasFrame" frame type atom
git-svn-id: svn://10.0.0.236/trunk@66350 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:05:15 +00:00
valeski%netscape.com
ead9dc862f 26191. FTP can now recover when browsing and a connection times out
git-svn-id: svn://10.0.0.236/trunk@66349 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:05:12 +00:00
jj%netscape.com
6c6b554eb4 removed obsolete resource.shlb ; r=sfraser
git-svn-id: svn://10.0.0.236/trunk@66347 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:01:06 +00:00
jst%netscape.com
c33863d639 Updating the DOM interfaces HTMLFormElement and HTMLOptionElement to DOM Level 2.
git-svn-id: svn://10.0.0.236/trunk@66346 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:00:58 +00:00
troy%netscape.com
c5e890f8a6 Initial check-in
git-svn-id: svn://10.0.0.236/trunk@66345 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 23:00:50 +00:00
buster%netscape.com
f39b7faae9 bug 26917 (using "-d" option on viewer causes premature exit)
r=travis


git-svn-id: svn://10.0.0.236/trunk@66344 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:59:12 +00:00
jst%netscape.com
32aa1b74f9 Updating the HTMLObjectElement interface to DOM Level 2.
git-svn-id: svn://10.0.0.236/trunk@66343 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:57:42 +00:00
nhotta%netscape.com
47929299c8 Changed to check the line breaker flag to detect it needs more text, bug 27062.
git-svn-id: svn://10.0.0.236/trunk@66342 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:53:21 +00:00
jgaunt%netscape.com
1e866dd5dc Fixing build bustage: adding newline for HPUX
git-svn-id: svn://10.0.0.236/trunk@66340 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:48:04 +00:00
jband%netscape.com
140f88e299 egads! lost the return type declaration in a copy/paste goofup.
git-svn-id: svn://10.0.0.236/trunk@66339 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:46:48 +00:00
slamm%netscape.com
d206144527 Fix DTD file name (bug 33237).
git-svn-id: svn://10.0.0.236/trunk@66337 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:40:59 +00:00
akkana%netscape.com
eb9b9e717d 29794: Disable meta-refresh in editor pages.
API and some implementation for 6276: rewrap.


git-svn-id: svn://10.0.0.236/trunk@66336 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:39:10 +00:00
pavlov%netscape.com
63ad099071 partial fix for transient windows not being transient bug #19255
git-svn-id: svn://10.0.0.236/trunk@66335 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:38:49 +00:00
akkana%netscape.com
7bfd820f78 33753: don't output the doctype when outputting only selection
git-svn-id: svn://10.0.0.236/trunk@66331 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:31:00 +00:00
slamm%netscape.com
1c4a8c2dd8 mini-hack: add /bin to path for cwd.
git-svn-id: svn://10.0.0.236/trunk@66329 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:20:30 +00:00
cls%seawood.org
4280283ad2 Exporting LIBRARY_PATH & ADDON_PATH vars needed for BeOS runtime.
git-svn-id: svn://10.0.0.236/trunk@66328 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:19:14 +00:00
jband%netscape.com
851e24b380 NOT PART OF BUILD. cvs is a fine place for the TODO list
git-svn-id: svn://10.0.0.236/trunk@66327 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:19:12 +00:00
sspitzer%netscape.com
60520775bc more divorcing of pop from local mail. use the nsILocalMailIncomingServer interface
for what is shared between pop and none (and eventually movemail).
changes needed for tobias, who will be fixing some i18n bugs in mailnews.


git-svn-id: svn://10.0.0.236/trunk@66326 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:10:36 +00:00
jst%netscape.com
776ee71d62 Fixing bug #25359, accessing mimetypes by name wasn't implemented, now it is. r=av@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66324 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:08:05 +00:00
pinkerton%netscape.com
29d3966f2b adding ability to drag links from the content area. thanks to Kevin Puetz (puetzk@iastate.edu) for this feature.
git-svn-id: svn://10.0.0.236/trunk@66323 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:06:25 +00:00
sspitzer%netscape.com
cd7a83ec68 adding nsILocalMailIncomingServer.idl to the build
git-svn-id: svn://10.0.0.236/trunk@66322 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 22:06:09 +00:00
edburns%acm.org
b51ab218cc bug 32011
r=ashuk
a=edburns

Add an "eventData" argument to WebclientEvent and subclasses.
This argument is sub-event specific.  For example, when a user
gets a DocumentLoadEvent, with an event type of
STATUS_URL_LOAD, the eventData is a String containing
the status string from the browser.

Added support for doing this in a BAL context.


git-svn-id: svn://10.0.0.236/trunk@66321 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:58:29 +00:00
jband%netscape.com
3d85343708 Fix sorting bug reported by Michael Kaply <mkaply@us.ibm.com>. There was a bad assumption that qsort would produce the exact same ordering on two arrays with elements of different size even when some string keys compare the same. The fix is to use the address of the string keys as a fallback in the compare function. This works right because the two arrays have diffrent elements, but they contain pointers to shared strings. r=mccabe
git-svn-id: svn://10.0.0.236/trunk@66320 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:57:57 +00:00
edburns%acm.org
7d273c0b6a bug 32011
r=ashuk
a=edburns

Add an "eventData" argument to WebclientEvent and subclasses.
This argument is sub-event specific.  For example, when a user
gets a DocumentLoadEvent, with an event type of
STATUS_URL_LOAD, the eventData is a String containing
the status string from the browser.


git-svn-id: svn://10.0.0.236/trunk@66319 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:57:42 +00:00
sspitzer%netscape.com
65240709c0 adding this interface. all local mail incoming servers should implement it.
git-svn-id: svn://10.0.0.236/trunk@66318 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:56:50 +00:00
rginda%netscape.com
e400e4c1b0 formatting changes. use only one tab regardless of nested namespaces
git-svn-id: svn://10.0.0.236/trunk@66317 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:51:45 +00:00
av%netscape.com
9889e4de2b #26893, moved GetDOMElement from nsIPluginTagInfo to nsIPluginTagInfo2.h
git-svn-id: svn://10.0.0.236/trunk@66316 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:44:56 +00:00
jband%netscape.com
5960528106 add an assert for a whacky case that is not supposed to happen but biting me a while back when some other code was broken. This has been kicking around my tree for a while.
git-svn-id: svn://10.0.0.236/trunk@66315 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:44:38 +00:00
slamm%netscape.com
bdd31d3cc5 Restore directory after find.
git-svn-id: svn://10.0.0.236/trunk@66314 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:40:55 +00:00
jfrancis%netscape.com
0ce2a2d341 tab in table, tab in lists, fixed inline style handling over multi-ranged selections
git-svn-id: svn://10.0.0.236/trunk@66313 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:39:35 +00:00
mscott%netscape.com
6b14d19867 Bug #36221 --> throbber never stops when loading a frameset doc.
I was signaling the stop notification via a OnchildStatus in this scenario. We should always signal the start
and stop of documents as a status change even if a child is originating the change.


git-svn-id: svn://10.0.0.236/trunk@66312 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:39:09 +00:00
jband%netscape.com
7fa4e4cdba NOT YET PART OF SEAMONKEY BUILD. added locking
git-svn-id: svn://10.0.0.236/trunk@66311 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:33:46 +00:00
pnunn%netscape.com
7a939399f7 bug#924. Added test in clean up. pnunn.
git-svn-id: svn://10.0.0.236/trunk@66310 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:20:56 +00:00
harishd%netscape.com
9cd3c6e67f XIF DTD now depends on a single stack rather than
multiple stacks.
r=akkana
Moved Node recycling to DTD Utils so that the recycler could
be used across DTDs.
r=rickg
Also fixed bug 27136.


git-svn-id: svn://10.0.0.236/trunk@66309 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:10:28 +00:00
nhotta%netscape.com
aab7fba560 Added more mapping for encodings, bug 27394, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@66308 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:09:52 +00:00
harishd%netscape.com
1a594bbf0e Checkin for akkana - Regression test change
r=me


git-svn-id: svn://10.0.0.236/trunk@66307 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:08:39 +00:00
nhotta%netscape.com
79585091d6 Added mail/news font setting by prefs (no UI yet) to libmime, bug 26182.
git-svn-id: svn://10.0.0.236/trunk@66306 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:07:19 +00:00
nhotta%netscape.com
1dad569e3e Forgot to use NS_MSG_BASE for added conversion functions.
git-svn-id: svn://10.0.0.236/trunk@66305 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:05:10 +00:00
nhotta%netscape.com
79275a9789 Changed to use nsILineBreaker instead of IsAsciiSpace, bug 27062, r=akkana.
git-svn-id: svn://10.0.0.236/trunk@66304 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:04:21 +00:00
valeski%netscape.com
4a3d32cfa5 we now use the cached, correct, event queue when firing our Async*() channel api calls from the FTP thread. this allows other applications to spin up FTP threads.
git-svn-id: svn://10.0.0.236/trunk@66303 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 20:56:04 +00:00
chuang%netscape.com
6f896464be Address Book drag and drop file, not in build yet.
git-svn-id: svn://10.0.0.236/trunk@66302 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 20:42:05 +00:00
mscott%netscape.com
cbd589f16e Bug #36218 --> fix ftp! We were unable to open the unknown content handler because we couldn't get
the dom window from the original docshell. I changed it to make this possible.


git-svn-id: svn://10.0.0.236/trunk@66301 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 20:41:38 +00:00
chuang%netscape.com
3c7779d2aa Bug11366 [FEATURE] Print Address Book Card, r=rhp+hangas
git-svn-id: svn://10.0.0.236/trunk@66300 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 20:27:28 +00:00
idk%eng.sun.com
32d14fbb0f (36174) Added null checking
a = idk@eng.sun.com


git-svn-id: svn://10.0.0.236/trunk@66299 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 18:38:01 +00:00
despotdaemon%netscape.com
59fcc7d65c Pseudo-automatic update of changes made by donm@bluemartini.com.
git-svn-id: svn://10.0.0.236/trunk@66298 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 18:05:07 +00:00
despotdaemon%netscape.com
403757ccce Pseudo-automatic update of changes made by cyeh@bluemartini.com.
git-svn-id: svn://10.0.0.236/trunk@66297 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 18:00:14 +00:00
terry%mozilla.org
6ff8085825 Patch by daa@distributed.net -- scan ftp listings, added summary stats for tinderbox.
git-svn-id: svn://10.0.0.236/trunk@66296 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 17:59:50 +00:00
despotdaemon%netscape.com
41e5c35a4f Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@66295 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 17:46:16 +00:00
jst%netscape.com
5307dee09b Adding DOM Level 2 interface definitions for AbstractView and DocumentView, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@66294 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 17:07:52 +00:00
norris%netscape.com
f69d357294 Add missing method for 1.4R3 compatibility.
git-svn-id: svn://10.0.0.236/trunk@66293 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 16:53:28 +00:00
norris%netscape.com
7569513f71 Fix bug where a bean property can conflict with a method name.
git-svn-id: svn://10.0.0.236/trunk@66292 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 16:52:00 +00:00
norris%netscape.com
13d51fccf7 Fix bug:
var a = Math.abs;
  a(-245);

  gets the following error :

  org.mozilla.javascript.EvaluatorException: Method "abs" called on
  incompatible object.


git-svn-id: svn://10.0.0.236/trunk@66291 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 16:34:36 +00:00
brade%netscape.com
cb287dc0b5 commented out some code that really should be rewritten
git-svn-id: svn://10.0.0.236/trunk@66290 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 14:33:23 +00:00
brade%netscape.com
7dc400c4d2 submitted changes from Brian King (briano9@yahoo.com) as well as some tweaking needed to get it to layout a bit better with new xul widgets
git-svn-id: svn://10.0.0.236/trunk@66289 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 14:32:27 +00:00
brade%netscape.com
156b26d52f changes submitted by Dan Haddix (dan6992@hotmail.com); also I added some error checking
git-svn-id: svn://10.0.0.236/trunk@66288 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 14:26:36 +00:00
valeski%netscape.com
bb077d9b6c 27982. if we were trying to login and the server told us it was full (via a 421 code :-/), then just stop processing
git-svn-id: svn://10.0.0.236/trunk@66287 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 13:48:34 +00:00
valeski%netscape.com
91b336fbed fixing multi mixed so it can handle errors coming from the data producer (http)
git-svn-id: svn://10.0.0.236/trunk@66286 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 13:42:40 +00:00
valeski%netscape.com
495b392d65 35439. data urls having trouble with data including spaces.
git-svn-id: svn://10.0.0.236/trunk@66285 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 13:39:59 +00:00
dcone%netscape.com
dbe235678d Updated the Tiling code.
git-svn-id: svn://10.0.0.236/trunk@66284 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 13:39:26 +00:00
cls%seawood.org
5e8a0762d2 Forgot to add EXTRA_DSO_LIBS to EXTRA_DSO_LDOPTS
git-svn-id: svn://10.0.0.236/trunk@66283 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 11:20:13 +00:00
scc%netscape.com
ed3ad6524d making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66282 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 11:00:16 +00:00
scc%netscape.com
c1871d7c7c making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66281 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 10:37:22 +00:00
scc%netscape.com
066cc67cc0 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66280 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 10:28:03 +00:00
cls%seawood.org
460fef543a Latest batch of OS/2 makefile changes. Batch 09. Bug #34106
git-svn-id: svn://10.0.0.236/trunk@66279 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 10:27:21 +00:00
scc%netscape.com
4e16eb1bd6 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66278 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 10:22:00 +00:00
cls%seawood.org
dbd3feb9c5 Added newlines for HP-UX build. Can we add a cvs filter that checks for this?
git-svn-id: svn://10.0.0.236/trunk@66277 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 09:52:24 +00:00
cls%seawood.org
08b799c0a5 Added support for building select individual modules using --enable-modules. Currently, only dbm, xpcom & necko work. At this point, you still have to pull the whole tree. We'll fix that later. Bugs 24515 & 34159
git-svn-id: svn://10.0.0.236/trunk@66276 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 09:42:12 +00:00
alecf%netscape.com
011c692fda further updates to the datasource to allow it to answer more questions
not part of build


git-svn-id: svn://10.0.0.236/trunk@66275 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 08:05:39 +00:00
scc%netscape.com
979b51638c making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66274 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 07:52:02 +00:00
scc%netscape.com
4f0c5e3591 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66273 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 07:44:58 +00:00
alecf%netscape.com
89ee8d4abc add support for sidebar titles to be <text> nodes, not just <html:div>'s
git-svn-id: svn://10.0.0.236/trunk@66272 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 07:25:24 +00:00
tbogard%aol.net
e9b88f7a80 Making sure session history is in the release builds.
git-svn-id: svn://10.0.0.236/trunk@66271 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 07:20:31 +00:00
rginda%netscape.com
88784cab59 removed superfluous ;s after namespace decs.
git-svn-id: svn://10.0.0.236/trunk@66270 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 07:14:49 +00:00
alecf%netscape.com
c270796ac9 further skinability updates - this time to the account wizard.
fix html:iframe problem (looks like xul iframe still isn't as smart as html:iframe!)


git-svn-id: svn://10.0.0.236/trunk@66269 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 07:14:33 +00:00
rginda%netscape.com
544236f78a regenerated opcode classes after grncode.pl changes
git-svn-id: svn://10.0.0.236/trunk@66268 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 07:06:25 +00:00
rginda%netscape.com
a9d2177159 modified to print R~ if NotARegister
git-svn-id: svn://10.0.0.236/trunk@66267 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 07:04:24 +00:00
cls%seawood.org
695f196952 Tweaks to make the tinderbox work with objdir builds.
git-svn-id: svn://10.0.0.236/trunk@66266 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 07:03:15 +00:00
dp%netscape.com
1d657fcd71 Converting to generic module.
git-svn-id: svn://10.0.0.236/trunk@66265 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 06:51:21 +00:00
alecf%netscape.com
ef2a983bf8 skinify the account wizard outer frame
git-svn-id: svn://10.0.0.236/trunk@66264 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 06:44:43 +00:00
alecf%netscape.com
09c5ba1265 first round of skinifying the account manager - remove html tables, divs, and update JS that expected certain tags
git-svn-id: svn://10.0.0.236/trunk@66263 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 06:40:02 +00:00
chuang%netscape.com
fb6913d513 Bug 32286, 32287, 32292, mailing list backend feature, r=putterman
git-svn-id: svn://10.0.0.236/trunk@66262 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 06:26:53 +00:00
dp%netscape.com
908cf8b20d Converting to generic module. r=rjc
git-svn-id: svn://10.0.0.236/trunk@66261 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 06:23:37 +00:00
dp%netscape.com
5289dd950e Converting to generic module.
git-svn-id: svn://10.0.0.236/trunk@66260 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 06:22:20 +00:00
dp%netscape.com
49fb90b6c9 Hooking up component unregister to regxpcom.
git-svn-id: svn://10.0.0.236/trunk@66259 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 06:20:35 +00:00
chuang%netscape.com
1feacc8f9f Fix assigning invalid pointer. r=putterman
git-svn-id: svn://10.0.0.236/trunk@66258 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 06:19:09 +00:00
waterson%netscape.com
6cf9f67312 Alphabetize the bloat log output.
git-svn-id: svn://10.0.0.236/trunk@66257 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 06:00:24 +00:00
scc%netscape.com
7a2ecce5c3 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66256 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:51:09 +00:00
scc%netscape.com
d35db85332 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66255 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:46:08 +00:00
scc%netscape.com
9b476989bf making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66254 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:38:58 +00:00
syd%netscape.com
540954b8a6 Fix for 36084, r=alecf,a=alecf. Put guard code around code that dereferences a context,
it was null, causing asserts, and eventually, a crash. Bug was a smoketest blocker.


git-svn-id: svn://10.0.0.236/trunk@66253 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:38:05 +00:00
dp%netscape.com
4e89ce53af Implemented component unregister.
git-svn-id: svn://10.0.0.236/trunk@66252 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:26:40 +00:00
dp%netscape.com
1f21d972f7 Implemented component unregistration.
git-svn-id: svn://10.0.0.236/trunk@66251 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:25:05 +00:00
troy%netscape.com
48f166c4ac b=36095 Fixed problem in GetNearestContainingBlock()
git-svn-id: svn://10.0.0.236/trunk@66250 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 05:03:42 +00:00
bienvenu%netscape.com
814ec8be0f more work on search, not really part of build
git-svn-id: svn://10.0.0.236/trunk@66249 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 04:47:50 +00:00
mccabe%netscape.com
e6a8f44754 Removing errant classname:: in method declaration in class definition, for Ruslan. To fix bustage.
git-svn-id: svn://10.0.0.236/trunk@66248 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 04:44:20 +00:00
waterson%netscape.com
38b9ccd9dd Fix resource leak because of flow-of-control changes. r=rjc
git-svn-id: svn://10.0.0.236/trunk@66247 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 04:40:56 +00:00
waterson%netscape.com
9730aa1e21 Back out changes my changes to nsILinkHandler because of performance problems.
git-svn-id: svn://10.0.0.236/trunk@66246 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 04:34:20 +00:00
mccabe%netscape.com
1af7c28b13 Temporary definition of NS_SCRIPTERROR_CLASSNAME (until file removed) to stave off bustage.
git-svn-id: svn://10.0.0.236/trunk@66245 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 03:36:20 +00:00
pinkerton%netscape.com
9137b95797 well, i guess you can't put '<' in an attribute in xml. hrm.
git-svn-id: svn://10.0.0.236/trunk@66244 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 03:16:21 +00:00
mccabe%netscape.com
6d22b784c7 Temporary add of needed define to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@66243 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 03:07:38 +00:00
pinkerton%netscape.com
7dd43ce5cc add contextmenu and quicktime as weak links.
git-svn-id: svn://10.0.0.236/trunk@66242 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:58:58 +00:00
rginda%netscape.com
be1446639b Add new files nsConsoleService.cpp, nsConsoleMessage.cpp.
git-svn-id: svn://10.0.0.236/trunk@66241 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:55:39 +00:00
mscott%netscape.com
ec97d88f7d Bug #36119 --> implement DoContent for nsBrowserInstance. This broke over the weekend and caused us to fail
to load browser urls in a current browser window from the mail window.


git-svn-id: svn://10.0.0.236/trunk@66240 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:45:00 +00:00
bryner%uiuc.edu
ac0e34d599 Make the title for a finger document show "Finger information for
user@host". r=valeski.


git-svn-id: svn://10.0.0.236/trunk@66239 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:40:23 +00:00
ruslan%netscape.com
aa0631529d Add a new pref
git-svn-id: svn://10.0.0.236/trunk@66238 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:36:28 +00:00
mccabe%netscape.com
2c08b5daa3 added files: mozilla/xpcom/base/nsConsoleService.cpp, mozilla/xpcom/base/nsConsoleMessage.cpp
git-svn-id: svn://10.0.0.236/trunk@66237 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:36:18 +00:00
pinkerton%netscape.com
ab46388a9f don't replace the transferable if the platform doesn't support the clipboard asked for.
git-svn-id: svn://10.0.0.236/trunk@66236 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:36:01 +00:00
pinkerton%netscape.com
5d3f683035 remove contextmenu and quicktime stubs from the interfaces project and put them in widget so we can weakLink against them.
git-svn-id: svn://10.0.0.236/trunk@66235 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:35:09 +00:00
mccabe%netscape.com
adf9593bd0 added files: mozilla/js/src/xpconnect/src/nsScriptError.cpp
git-svn-id: svn://10.0.0.236/trunk@66234 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:35:06 +00:00
mccabe%netscape.com
dd8d16945e Move nsIConsoleService and implementation into xpcom/base, and nsIScriptError and implementation into js/src/xpconnect. (A place for JavaScript-specific XPCOM would be better, but xpconnect will do).
git-svn-id: svn://10.0.0.236/trunk@66233 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:34:54 +00:00
pinkerton%netscape.com
1de3ac01a9 set the popup node on tooltips.
git-svn-id: svn://10.0.0.236/trunk@66232 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:34:32 +00:00
pinkerton%netscape.com
e54106503d fixing tooltips (tooltipElement->tooltipNode)
git-svn-id: svn://10.0.0.236/trunk@66231 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:34:18 +00:00
ruslan%netscape.com
777db77fad Backing up some changes from friday which broke authenticate (36071). Support
Apache-style keep-alive header. Make *ServerCapabilities methods public.


git-svn-id: svn://10.0.0.236/trunk@66230 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:32:53 +00:00
pavlov%netscape.com
1af8424c91 Finish up clipboard code to support multiple clipboards
git-svn-id: svn://10.0.0.236/trunk@66229 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:31:46 +00:00
blizzard%redhat.com
5cd8d72acc fix for bug #32710. make sure to call gdk_drop_finish() after the drop. this gets rid of the problem of a ghost icon flying across the screen a few minutes after a drag-n-drop operation.
git-svn-id: svn://10.0.0.236/trunk@66228 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 02:29:48 +00:00
rogerl%netscape.com
debf86a7a6 added '(' for RegisterList output
git-svn-id: svn://10.0.0.236/trunk@66227 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 01:46:32 +00:00
rginda%netscape.com
3143f7a0fc regenerated opcodenames to include padding, added label printing back into icg::print
git-svn-id: svn://10.0.0.236/trunk@66226 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 01:31:24 +00:00
jim_nance%yahoo.com
363437eded *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@66225 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 01:27:01 +00:00
jim_nance%yahoo.com
2cce16102d Adding file to update xterm title bar
git-svn-id: svn://10.0.0.236/trunk@66224 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 01:22:33 +00:00
rginda%netscape.com
acf83b07ec space out opcodenames array
git-svn-id: svn://10.0.0.236/trunk@66223 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 01:19:12 +00:00
beard%netscape.com
a24bcda5a6 std::pair
git-svn-id: svn://10.0.0.236/trunk@66222 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 00:52:07 +00:00
beard%netscape.com
7d9d64236f moved initConsole() out to :: namespace.
git-svn-id: svn://10.0.0.236/trunk@66221 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 00:51:53 +00:00
beard%netscape.com
4545220c24 added vmtypes.h,.cpp
git-svn-id: svn://10.0.0.236/trunk@66220 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 00:50:58 +00:00
rogerl%netscape.com
46eb804c04 added vmtypes/jstypes
git-svn-id: svn://10.0.0.236/trunk@66219 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 00:46:18 +00:00
rogerl%netscape.com
1bfac2ec9e Fixed WINDOZE build issues
git-svn-id: svn://10.0.0.236/trunk@66218 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 00:38:26 +00:00
rginda%netscape.com
9a35e0f5df initial add of perl script to generate icode classes
git-svn-id: svn://10.0.0.236/trunk@66217 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 00:22:51 +00:00
rginda%netscape.com
825a9c7f3c removing bogus file
git-svn-id: svn://10.0.0.236/trunk@66216 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 00:20:10 +00:00
rginda%netscape.com
831390e752 adding files for namespace change
git-svn-id: svn://10.0.0.236/trunk@66215 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 00:19:09 +00:00
rginda%netscape.com
570245f757 added js::VM, ICG, JSTypes, and Interpreter namespaces; messed around with lots of code.
Created class for each ICode, adding a print() method (using formatters)


git-svn-id: svn://10.0.0.236/trunk@66214 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 00:17:34 +00:00
evaughan%netscape.com
880d113c1e Putting back code that was backed out last week.
-a leaf


git-svn-id: svn://10.0.0.236/trunk@66213 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 00:17:00 +00:00
beard%netscape.com
5366b9a5af FASTLOCK changes.
git-svn-id: svn://10.0.0.236/trunk@66212 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 23:58:28 +00:00
Peter.VanderBeken%pandora.be
a7fdc5a2ba Include mozilladom.h if MOZILLA is defined. Hack until we get the dom directories cleaned up.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@66210 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 22:01:39 +00:00
Peter.VanderBeken%pandora.be
fd291f1545 Remove use of nsXMLDocument so we only use interfaces.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@66209 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 22:00:30 +00:00
waterson%netscape.com
c1ec9e04ea Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@66208 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 17:51:01 +00:00
robinf%netscape.com
2aec47c20b thieds file not necessary for cck cd autoruyn screen
git-svn-id: svn://10.0.0.236/trunk@66207 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 17:24:04 +00:00
danm%netscape.com
274cb03326 removing deleted files a=leaf
git-svn-id: svn://10.0.0.236/trunk@66206 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 16:35:06 +00:00
buster%netscape.com
f0a9a8c250 I suck. More debugging code that should have been removed.
git-svn-id: svn://10.0.0.236/trunk@66205 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 15:54:55 +00:00
buster%netscape.com
00671105d4 one line of debug code accidentally slipped in. Removed.
git-svn-id: svn://10.0.0.236/trunk@66204 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 15:03:55 +00:00
scc%netscape.com
f742fe7b5f needed to make the implementation of |EqualsIgnoreCase(nsIAtom*, ...)| available.
git-svn-id: svn://10.0.0.236/trunk@66203 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 14:50:07 +00:00
scc%netscape.com
ab4e1cb845 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66202 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 14:47:33 +00:00
buster%netscape.com
2fa9ad90e8 bug 588 (text justification) for Robert O'Callahan <roc+moz@cs.cmu.edu>
r=buster

bug 18545 ([FLOAT] Problem Centering <TABLE> with <DIV> tag)
r=troy

bugs 18827, 19579, 22327 24782, 26512, 30124, 31849, 32846 (floater behavior wrong)
The primary change here is to determine if a block is impacted by a floater, and if so
mark the block's lines dirty when appropriate.
r=troy

no bug number.  performance work.  reduced the size of some reflow data structures by
collapsing multiple fields into a single bit field.
r=troy


git-svn-id: svn://10.0.0.236/trunk@66201 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 14:40:46 +00:00
scc%netscape.com
4d9893911c making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66200 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 14:40:25 +00:00
scc%netscape.com
8c7f6c18d8 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66199 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 14:30:23 +00:00
conrad%ingress.com
c433657818 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@66198 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 12:27:12 +00:00
scc%netscape.com
a351285602 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@66197 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 12:22:37 +00:00
conrad%ingress.com
41fa09724b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@66196 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 12:19:56 +00:00
scc%netscape.com
64d4b88ac4 attempting to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@66195 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 11:49:23 +00:00
scc%netscape.com
1621a4cffc making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66194 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 11:24:01 +00:00
jim_nance%yahoo.com
31da29b44f Fix the last part of 34949
r=cla a=bienvenu


git-svn-id: svn://10.0.0.236/trunk@66193 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 11:20:15 +00:00
jim_nance%yahoo.com
7acaf34050 configure
git-svn-id: svn://10.0.0.236/trunk@66192 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 11:16:40 +00:00
scc%netscape.com
0101017dfc Added private unimplemented signatures of |...WithConversion| to prevent accidents where I should have used the non-converting form. Removed |AppendWithConversion|s that stood in for |AppendInt| and |AppendFloat|.
git-svn-id: svn://10.0.0.236/trunk@66191 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 11:06:41 +00:00
heikki%citec.fi
3d4174f476 Changed redirects to point to the updated XML demos (new XLink).
git-svn-id: svn://10.0.0.236/trunk@66190 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 10:47:37 +00:00
scc%netscape.com
4e8e28e89b making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66189 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 10:28:55 +00:00
scc%netscape.com
82bb627381 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66188 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 09:57:13 +00:00
scc%netscape.com
32ef1c0c04 fixing an earlier mistake while making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66187 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 09:56:40 +00:00
scc%netscape.com
4858549d2d making string conversions explicit, had to fix an accidental regression from rickg
git-svn-id: svn://10.0.0.236/trunk@66186 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 09:09:42 +00:00
scc%netscape.com
ad149b30bf making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66185 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 08:21:30 +00:00
rickg%netscape.com
59931d007b correct linux build problem
git-svn-id: svn://10.0.0.236/trunk@66184 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 07:21:19 +00:00
nisheeth%netscape.com
68adc31658 Fix for bug 30958: Reflow commands are now processed asynchronously all the time. The semantics of the API for queuing and processing reflow commands has changed. Now, AppendReflowCommand() initiates an asynchronous reflow event and all reflow command processing happens when that event fires. It is no longer possible for consumers outside the presentation shell to call ProcessReflowCommands() synchronously. Because of this change, reflow locks are no longer needed and have been removed.
git-svn-id: svn://10.0.0.236/trunk@66183 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 07:13:57 +00:00
rickg%netscape.com
e986fc3858 fixed DTD selection bugs; entity bugs; conditionally enabled Strict DTD
git-svn-id: svn://10.0.0.236/trunk@66182 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 06:33:31 +00:00
tbogard%aol.net
2bbfe2a06b Added more code to ShouldAddToGlobalHistory to properly weed out items such as "about", "imap", "news", and "mailbox" schemes from getting put into global history.
git-svn-id: svn://10.0.0.236/trunk@66181 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:54:09 +00:00
rjc%netscape.com
f1167fd6f1 Fix trivial warning regarding initialization order.
git-svn-id: svn://10.0.0.236/trunk@66180 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:46:13 +00:00
tbogard%aol.net
95751ea16b Removed the URLShouldBeInHistory function to resolve bug 29604. DocShell now properly calls only when it should to add a page to history.
git-svn-id: svn://10.0.0.236/trunk@66179 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:38:22 +00:00
rjc%netscape.com
e04e2311b0 Comment out oftenhit assertion in ArcLabelsIn().
git-svn-id: svn://10.0.0.236/trunk@66178 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:26:25 +00:00
rjc%netscape.com
e05925b05f Fix GetURI() to return "rdf:httpindex".
git-svn-id: svn://10.0.0.236/trunk@66177 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:22:50 +00:00
rjc%netscape.com
5fdb5d41ab Aggregate in "rdf:httpindex".
git-svn-id: svn://10.0.0.236/trunk@66176 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:17:15 +00:00
ssu%netscape.com
c9cfc44ad0 fixing bug #7874 (on going). this file is not part of tinderbox build. would affect windows platforms only.
git-svn-id: svn://10.0.0.236/trunk@66175 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:11:34 +00:00
rjc%netscape.com
de0a40838e Aggregate in "rdf:httpindex".
git-svn-id: svn://10.0.0.236/trunk@66174 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:10:04 +00:00
rjc%netscape.com
0e2efedad6 "HTTP-Index" datasource now allows easy aggregation with out datasources.
git-svn-id: svn://10.0.0.236/trunk@66173 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 05:07:26 +00:00
cls%seawood.org
4f15ce6b19 Fix non-MD and non-native makedepend depend builds. Bug 35186. r=jlnance
git-svn-id: svn://10.0.0.236/trunk@66172 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 04:57:33 +00:00
blizzard%redhat.com
60907f527e fix for bug #14856. this fixes DOM key events on linux so that a keyrepeat is keydown, keypress, keypress, keypress, keyup like it should be. r=syd
git-svn-id: svn://10.0.0.236/trunk@66171 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 04:45:08 +00:00
bryner%uiuc.edu
665438dd89 Write the html, title, and body tags directly to the stream listener
without having them go through the txt->html conversion.  This makes it so
we don't accidentely try to form an HREF inside the title.  r=valeski.


git-svn-id: svn://10.0.0.236/trunk@66170 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 04:40:44 +00:00
tbogard%aol.net
68935bbb97 Fixed stop to look at the right item for the disabled state. Fixes 35975.
git-svn-id: svn://10.0.0.236/trunk@66169 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 04:39:38 +00:00
rbs%maths.uq.edu.au
00a24552f9 [NOT PART OF THE DEFAULT BUILD] Compute the actual bounding metrics of the minus sign ('-') to get a more acurate math axis
git-svn-id: svn://10.0.0.236/trunk@66168 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 04:23:03 +00:00
rbs%maths.uq.edu.au
8f93137259 [NOT PART OF THE DEFAULT BUILD] Pick stretchy glyphs from the Math4 font. Make the stretchy code more robust by explicitly re-ordering the font-family list to place the selected font to be used in first position
git-svn-id: svn://10.0.0.236/trunk@66167 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 04:19:54 +00:00
rhp%netscape.com
4fb6af3b57 Fix for crash on vCard Add button - Bug #34780
git-svn-id: svn://10.0.0.236/trunk@66166 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 04:16:06 +00:00
leaf%mozilla.org
04c0ce8312 Automated update
git-svn-id: svn://10.0.0.236/trunk@66165 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 04:00:18 +00:00
rhp%netscape.com
41d493ae7c Fix for problem with printing address book entries
git-svn-id: svn://10.0.0.236/trunk@66164 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 03:53:49 +00:00
cls%seawood.org
1f03a63b04 Changed BeOS linker flags so that it will resolve all symbols when linking shared libs. Added -lbe to OS_LIBS for BeOS. This should get rid of the "missing symbol" error at runtime.
git-svn-id: svn://10.0.0.236/trunk@66163 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 03:47:33 +00:00
cls%seawood.org
8fd619b896 BeOS uses LIBRARY_PATH to search for runtime libs.
git-svn-id: svn://10.0.0.236/trunk@66162 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 03:38:39 +00:00
tbogard%aol.net
8c5b3565a9 If the same page is being loaded twice, don't add it twice to session history.
git-svn-id: svn://10.0.0.236/trunk@66160 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 02:17:42 +00:00
waterson%netscape.com
eca015b729 Fix uninitialized variable, caught by shalabh@pspl.co.in
git-svn-id: svn://10.0.0.236/trunk@66159 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 02:07:00 +00:00
bienvenu%netscape.com
1347967663 maintain mailboxname across imap uid validity change
git-svn-id: svn://10.0.0.236/trunk@66158 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 01:46:47 +00:00
tbogard%aol.net
6584b0a36b Both compiling and linking are pulled from the same list CPP_OBJS.
git-svn-id: svn://10.0.0.236/trunk@66157 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 01:05:24 +00:00
neeti%netscape.com
bf1858e6a2 fix for 21329, restricting the number of items in cache only for windows.r=pnunn
git-svn-id: svn://10.0.0.236/trunk@66156 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 00:28:56 +00:00
ssu%netscape.com
337e654a4c fixing bug 7874 (on going).
Affects windows platforms only.


git-svn-id: svn://10.0.0.236/trunk@66155 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 23:07:11 +00:00
cls%seawood.org
b7b42dab93 Added xpinstall/wizard/unix/src2/Makefile & fixed typo with psm-glue.
git-svn-id: svn://10.0.0.236/trunk@66154 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 22:26:44 +00:00
bienvenu%netscape.com
4412d4d512 add search method to message service, not used yet
git-svn-id: svn://10.0.0.236/trunk@66153 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 22:12:36 +00:00
bienvenu%netscape.com
8b4a8150cf fix problem saving flags when we blow away dbs 32531
git-svn-id: svn://10.0.0.236/trunk@66152 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 22:09:52 +00:00
warren%netscape.com
d54f4ee028 Changing dir create permissions to 775.
git-svn-id: svn://10.0.0.236/trunk@66151 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 21:32:29 +00:00
cmanske%netscape.com
234e9d93d3 Replace 'onclick' with 'oncommand' in sidebar xul.
git-svn-id: svn://10.0.0.236/trunk@66150 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 21:27:42 +00:00
blizzard%redhat.com
f5010a6eb5 remove motion_notify signals from being generated anywhere. note that this is different than an XMotionEvent that we handle elsewhere. there aren't any cases where we need the motion_notify signal anymore. we were causing motion_notify signals to be generated from scrolling the scrollbar in native widgets which was causing selection to happen on the parent window in the case where the native scrollbar was on a popup. this fixes bug #32311. r=syd
git-svn-id: svn://10.0.0.236/trunk@66149 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 21:22:22 +00:00
cmanske%netscape.com
2acc429d39 Put 'width' controls first in HLine Props dialog
git-svn-id: svn://10.0.0.236/trunk@66148 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 20:49:15 +00:00
cmanske%netscape.com
c95e44e712 Most all dialogs rewritten for XUL widget covnersion for skins, bug 19565
git-svn-id: svn://10.0.0.236/trunk@66147 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 20:29:08 +00:00
leaf%mozilla.org
2a545d5e66 removing reference to an obj file that no longer gets built
git-svn-id: svn://10.0.0.236/trunk@66146 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 19:47:38 +00:00
jband%netscape.com
02ff64d558 NOT PART OF SEAMONKEY BUILD. Improve sample to show calling of [scriptable] xpcom interface methods directly from JavaScript using xpconnect. This should work on all platforms, but currently the visuals in the plugin are only updated on Windows. See bug 32150. r=av
git-svn-id: svn://10.0.0.236/trunk@66145 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 18:51:02 +00:00
tonyr%fbdesigns.com
31bb5f3935 Got rid of the shared library reference. No longer needed.
git-svn-id: svn://10.0.0.236/trunk@66144 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 15:47:35 +00:00
tbogard%aol.net
424c54ff18 Making docShell not assert when global history can't be added. Someone is doing something stupid in viewer right that makes the service fail.
git-svn-id: svn://10.0.0.236/trunk@66143 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 13:01:28 +00:00
tbogard%aol.net
ce7c50e021 Making the addref and release thread safe.
git-svn-id: svn://10.0.0.236/trunk@66142 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 13:00:52 +00:00
tbogard%aol.net
555b9e4d86 removed files: mozilla/xpfe/appshell/src/nsSessionHistory.cpp
git-svn-id: svn://10.0.0.236/trunk@66141 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:20:51 +00:00
tbogard%aol.net
fe598938a5 Removing the old session history code.
git-svn-id: svn://10.0.0.236/trunk@66140 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:47 +00:00
scc%netscape.com
7741d6c076 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66139 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:26 +00:00
tbogard%aol.net
b7fb06935c Removed references to the old session history code. Replace setNetworkActive and setWindowActive by just passing up the status in the new onStatusChange method. onLocationChange now fires at the right time. BrowserInstance now implements nsIWebProgressListener. The class is now completely named nsBrowserInstance with out that ugly #define to convert nsBrowserAppCore. Reorganized much of the file to be in the order it is in it's declaration.
git-svn-id: svn://10.0.0.236/trunk@66138 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:18 +00:00
tbogard%aol.net
bf89759e57 Replace setNetworkActive and setWindowActive by just passing up the status in the new onStatusChange method.
git-svn-id: svn://10.0.0.236/trunk@66137 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:03 +00:00
tbogard%aol.net
c209eefd50 Removing the old session history interface.
git-svn-id: svn://10.0.0.236/trunk@66136 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:02 +00:00
tbogard%aol.net
68a75e99a9 Replace setNetworkActive and setWindowActive by just passing up the status in the new onStatusChange method. Removed the UpdateHistory since that is done in the backend already.
git-svn-id: svn://10.0.0.236/trunk@66135 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:00 +00:00
tbogard%aol.net
fb21af6abe Removed references to the old session history interface.
git-svn-id: svn://10.0.0.236/trunk@66134 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:18:54 +00:00
tbogard%aol.net
8ba6a91529 DocShell is now handling all the loading and navigation. The new session history is now being used in place of the old.
git-svn-id: svn://10.0.0.236/trunk@66133 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:18:41 +00:00
tbogard%aol.net
d17b788ad5 removed files: mozilla/xpfe/appshell/public/nsISessionHistory.idl
git-svn-id: svn://10.0.0.236/trunk@66132 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:18:40 +00:00
tbogard%aol.net
e6de54d6db Removed the methods dealing with the old session history that is going away.
git-svn-id: svn://10.0.0.236/trunk@66131 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:18:39 +00:00
scc%netscape.com
d80a2c24a6 no, the |Equals(PRUnichar*, PRUnichar*, ...)| form is not what you think it is. It has to go. Make comparing with |nsIAtoms| remain avalailable even in |NEW_STRINGS_APIS|
git-svn-id: svn://10.0.0.236/trunk@66130 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:09:16 +00:00
tbogard%aol.net
d69e63230a Removed references to the old session history.
git-svn-id: svn://10.0.0.236/trunk@66129 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:08:28 +00:00
cls%seawood.org
751a9582c8 The extprotocol subproject does not actually build under unix. A bug in the way we handle SHARED_LIBRARY_LIBS is the only reason the tinderboxes didn't go red with the previous checkin.
git-svn-id: svn://10.0.0.236/trunk@66128 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 08:42:25 +00:00
tbogard%aol.net
654300ddb3 Cached the globalHistory service as it is called a lot especially when dealing with links up in the webshell. Fixed a bug in GetInterface where we were failing to do an else if so if you were requesting a nsIURIContentListener you ended up clearing out the object.
git-svn-id: svn://10.0.0.236/trunk@66127 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 08:39:15 +00:00
andreas.otte%primus-online.de
261e05249b fix bug 20891 [Assertion when displaying message], don't try to find a drive in an empty path, r=putterman@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66126 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 07:33:25 +00:00
andreas.otte%primus-online.de
80bfa207d0 fix bug 33868 [URL encoding for Basic Realm authentication doesn't work], just unescape the prehost, r=gagan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66125 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 07:16:28 +00:00
andreas.otte%primus-online.de
be348159ac fix bug 34863 [Local Harddisks not found if I tried with C: without \], check for a drive in nsDocShell::ConvertFileToStringURI, r=gagan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66124 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 07:11:43 +00:00
tbogard%aol.net
b7b1ee0f64 Changed over from using the webshell APIs and nsISessionHistory to using the webNavigation interface on the docshell to go back and forward. Don't have to get the root, docshell does that for you.
git-svn-id: svn://10.0.0.236/trunk@66123 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 06:14:38 +00:00
tbogard%aol.net
435ed0e07a Removed the GetCanGoBack and GetCanGoForward calls from GoBack and GoForward respectively. The session history calls to get the next and previous entry will properly return error codes if navigtion in the desired direction isn't possible.
git-svn-id: svn://10.0.0.236/trunk@66122 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 05:16:16 +00:00
tbogard%aol.net
99dfff1ec5 Make sure we properly notify of window activity starting and stoping.
git-svn-id: svn://10.0.0.236/trunk@66121 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 05:09:07 +00:00
tbogard%aol.net
a0e58c98ba Changed the concept of the transaction parent/ child to be previous and next. This flows better with actual relationship they hold in session history terms. The prev and next are also now not just readonly to allow properly setting up the list while avoiding nasty casts to implementation objects. Removed a bunch of dead code. Changed the module object to use generic factories and removed the hand created NS_New* functions. Changed over to interface maps in some places. The nsSHEntry obect no longer has the concept of children. There is no need since frame state will be stored in the layout history state object. This means nsSHEntry no longer implements the nsISHContainer interface.
git-svn-id: svn://10.0.0.236/trunk@66120 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 05:08:44 +00:00
troy%netscape.com
f1d75a440d New rules for absolute positioning
git-svn-id: svn://10.0.0.236/trunk@66118 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 04:07:02 +00:00
despotdaemon%netscape.com
cd1fd8e44e Pseudo-automatic update of changes made by bruce@cubik.org.
git-svn-id: svn://10.0.0.236/trunk@66117 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 02:49:48 +00:00
despotdaemon%netscape.com
e65e95ff5a Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@66115 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 02:43:03 +00:00
svn%xmlterm.org
e34af8d3a6 xmlterm changes only.
Minor workaround to handle 80 character wraparound on FreeBSD.


git-svn-id: svn://10.0.0.236/trunk@66114 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 01:56:11 +00:00
svn%xmlterm.org
b7e54b40b8 xmlterm changes only.
Fixed bustage due to changes in nsIClipboard.idl


git-svn-id: svn://10.0.0.236/trunk@66113 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 01:26:33 +00:00
pavlov%netscape.com
f3dfcddb1b fix for clipboard crashing (bug #35954)
git-svn-id: svn://10.0.0.236/trunk@66112 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 01:17:26 +00:00
braddr%puremagic.com
2ecf22f141 eliminiate NS_COMFALSE and remove a layer of logical negation.
r=brendan


git-svn-id: svn://10.0.0.236/trunk@66111 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 00:23:57 +00:00
braddr%puremagic.com
e185fff9bb Implicit types are evil. Add PRUint32.
r=mccabe


git-svn-id: svn://10.0.0.236/trunk@66110 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 00:21:07 +00:00
tonyr%fbdesigns.com
b9a0fbcda8 Added the extprotocol subproject
git-svn-id: svn://10.0.0.236/trunk@66109 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 00:08:40 +00:00
ssu%netscape.com
a2962fb2dd initial checkin to fix bug 7874 (on going). affects only windows platforms. Not hooked up to build system yet.
git-svn-id: svn://10.0.0.236/trunk@66108 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 00:05:39 +00:00
Jerry.Kirk%Nexwarecorp.com
c8a8f64f55 Fix nsClipboard so it would compile because of the prototype changes.
PHOTON ONLY.


git-svn-id: svn://10.0.0.236/trunk@66107 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 00:01:45 +00:00
ssu%netscape.com
a344907db2 initial checkin to fix bug 7874 (on going). affects only windows platforms. Not hooked up to build system yet.
git-svn-id: svn://10.0.0.236/trunk@66106 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 23:50:59 +00:00
scc%netscape.com
22d3ef155d attempting to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@66105 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:48:04 +00:00
scc%netscape.com
2c6ea08501 attempting to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@66104 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:46:25 +00:00
scc%netscape.com
b5432ec86e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:18:29 +00:00
scc%netscape.com
4f247b2dba attempting to fix bustage
git-svn-id: svn://10.0.0.236/trunk@66102 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:13:55 +00:00
scc%netscape.com
8a7f53cc88 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66101 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 20:15:37 +00:00
tor%cs.brown.edu
deb4fcc89d Composite work: special case the common framebuffer formats
(32bpp, 24bpp, 16bpp) and general cleanup.  r=pavlov


git-svn-id: svn://10.0.0.236/trunk@66100 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 19:58:09 +00:00
mccabe%netscape.com
6870f35938 Add trailing newline.
git-svn-id: svn://10.0.0.236/trunk@66099 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 19:38:05 +00:00
scc%netscape.com
946462abec making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66098 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 19:03:12 +00:00
scc%netscape.com
3466d240d3 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66097 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 18:48:07 +00:00
jband%netscape.com
4826209b80 add a test with an 'out' array of strings
git-svn-id: svn://10.0.0.236/trunk@66096 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 18:44:22 +00:00
tonyr%fbdesigns.com
47382c2b54 Added the extprotocol subdir
git-svn-id: svn://10.0.0.236/trunk@66095 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 18:36:11 +00:00
svn%xmlterm.org
b340e06398 Removed references to deleted xmlterm directories ui/content and ui/skin
git-svn-id: svn://10.0.0.236/trunk@66094 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 17:40:24 +00:00
tonyr%fbdesigns.com
68b0b8c4ce Added uriloader/extprotocol/base and /unix makefiles
git-svn-id: svn://10.0.0.236/trunk@66093 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 16:54:24 +00:00
tonyr%fbdesigns.com
a047864b36 Fix up the unix makefiles so it actually builds
git-svn-id: svn://10.0.0.236/trunk@66092 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 16:51:51 +00:00
bienvenu%netscape.com
a46f65be7f more work on search, not part of build
git-svn-id: svn://10.0.0.236/trunk@66091 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 16:07:49 +00:00
andreas.otte%primus-online.de
e4892dcd84 fix bug 34966 [fragment id on root-documents without / misinterpreted], r=warren@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66090 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 16:07:28 +00:00
andreas.otte%primus-online.de
d99072ae87 fix bug 35736 [url encoding - character encoded when it shouldn't] No longer escaping $, r=gagan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@66089 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 15:52:40 +00:00
troy%netscape.com
765e175504 Fixed GetIntrinsicImageSize() to return the correct size
git-svn-id: svn://10.0.0.236/trunk@66088 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 15:49:57 +00:00
troy%netscape.com
6f83cde1a2 Added GetIntrinsicSize() function
git-svn-id: svn://10.0.0.236/trunk@66087 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 15:49:03 +00:00
scc%netscape.com
82570061ee making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66086 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 11:40:33 +00:00
scc%netscape.com
2e1ad1e89b making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66085 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 10:56:54 +00:00
jim_nance%yahoo.com
4f097ffb10 Fix for 35810. The configure script now stops running if perl can
be found.  It used to keep going and cause build errors.
r=cls


git-svn-id: svn://10.0.0.236/trunk@66084 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 10:55:55 +00:00
pierre%netscape.com
8352fc6523 33710 "background-color: inherit doesn't work correctly". Split the NS_STYLE_BG_PROPOGATED flag into 2 flags: NS_STYLE_BG_PROPAGATED_TO_PARENT and NS_STYLE_BG_PROPAGATED_FROM_CHILD. MapDeclarationColorInto() fetches the color from the grand-parent if PROPAGATED_TO_PARENT is set.
git-svn-id: svn://10.0.0.236/trunk@66083 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 10:38:13 +00:00
scc%netscape.com
dd6763e198 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66082 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 10:10:02 +00:00
scc%netscape.com
497a066600 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66081 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 09:54:17 +00:00
scc%netscape.com
c4d65fdb75 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66080 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 09:47:08 +00:00
scc%netscape.com
8bddc6616e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66079 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 09:16:58 +00:00
scc%netscape.com
6a57d077e1 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66076 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 07:05:34 +00:00
mccabe%netscape.com
31bd0337ce Print error diagnostics to stderr even when non-debug, to support those folks
that want to debug with the -console flag.


git-svn-id: svn://10.0.0.236/trunk@66075 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 06:59:21 +00:00
scc%netscape.com
3fef05c0ff making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66074 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 06:52:12 +00:00
scc%netscape.com
95b7b1b8c7 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66073 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 06:42:27 +00:00
pierre%netscape.com
4506eee4b8 35455 "CSS2 system color as background color does not work". Fixed the previous checkin from akkana in GetColor().
git-svn-id: svn://10.0.0.236/trunk@66072 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 06:25:23 +00:00
blizzard%redhat.com
68c9c4b623 fix for bug #27295. don't listen for the drag_leave signal. the problem was that the drag_leave signal was getting sent before the drag_drop signal causing the state machine in the tree widget to set tree elements as invalid drag targets. we aren't using the drag_leave signal for anything anyway so this isn't hurting anything. this gets drags working to mail folders and folders in the bookmark windows.
git-svn-id: svn://10.0.0.236/trunk@66071 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 05:45:21 +00:00
cls%seawood.org
17dc8d7ba0 Remove redundant use of MOZ_REGISTRY_LIBS. Fix for regression bug #35384
git-svn-id: svn://10.0.0.236/trunk@66070 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 05:42:16 +00:00
scc%netscape.com
99119fc4be making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66069 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 05:40:34 +00:00
scc%netscape.com
7c78464470 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66067 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 05:29:33 +00:00
scc%netscape.com
96c417cc61 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66066 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 05:23:09 +00:00
svn%xmlterm.org
b739325c75 xmlterm changes only.
Changed xmlterm/ui/Makefile.in to use CHROME vars to handle content/skin resources (bug 34416); eliminated directories xmlterm/ui/content and xmlterm/ui/skin.


git-svn-id: svn://10.0.0.236/trunk@66065 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 04:45:36 +00:00
pierre%netscape.com
c0c95f1979 32063: <font size=""> makes font tiny
git-svn-id: svn://10.0.0.236/trunk@66064 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 04:28:12 +00:00
svn%xmlterm.org
09944cfcb8 xmlterm changes only.
Checking in patch provided by bero@redhat.com to fix Linux/Alpha bustage


git-svn-id: svn://10.0.0.236/trunk@66063 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 04:10:29 +00:00
pavlov%netscape.com
fa2114d6c4 use C comments
git-svn-id: svn://10.0.0.236/trunk@66062 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 04:05:53 +00:00
pierre%netscape.com
41a29ba8dc #33244. changed the default value for empty-cells: 'hide' in quirks mode and 'show' in strict mode.
git-svn-id: svn://10.0.0.236/trunk@66061 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 03:50:48 +00:00
mstoltz%netscape.com
e8a0e8479c Made prefapi.h private and removed all #includes of it outside of libpref. r=norris
git-svn-id: svn://10.0.0.236/trunk@66060 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 03:43:09 +00:00
mccabe%netscape.com
92986b4e9c Fix logic to fall through to stderr-printing code.
git-svn-id: svn://10.0.0.236/trunk@66059 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 03:40:48 +00:00
despotdaemon%netscape.com
0a94d4f96b Pseudo-automatic update of changes made by dmose@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@66058 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 03:22:49 +00:00
gagan%netscape.com
452de975e9 Fix for bug 28950. Header values in nsHeaderEntry are now CString instead of the nsString.
git-svn-id: svn://10.0.0.236/trunk@66057 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 03:22:36 +00:00
cmanske%netscape.com
5bd0866450 Fixed 20938: added 'Blank Page to Edit' to 'New' submenus in all primary module windows. a=german
git-svn-id: svn://10.0.0.236/trunk@66056 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 03:16:43 +00:00
cmanske%netscape.com
a7024530e2 Fixed 20938: added 'Blank Page to Edit' to 'New' submenus in all primary module windows. a=german
git-svn-id: svn://10.0.0.236/trunk@66055 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 03:08:43 +00:00
jband%netscape.com
473f08fdac fixing bustage
git-svn-id: svn://10.0.0.236/trunk@66054 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 02:50:22 +00:00
cmanske%netscape.com
55d5e7c69e Replaced titledbuttons with button (part of 19565), onclick with oncommand in dialogs. Added more text styles (34894)
git-svn-id: svn://10.0.0.236/trunk@66053 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 02:03:52 +00:00
brendan%mozilla.org
5b0a490b7f Always call resolve for each object in a prototype chain (35738, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@66052 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 02:01:02 +00:00
cmanske%netscape.com
86e93b7f46 Fix null pointer bugs (35785 and nonfiled), fixes editor bug 35885. r=evaughan
git-svn-id: svn://10.0.0.236/trunk@66051 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 01:57:16 +00:00
mccabe%netscape.com
5c6b7446d6 Modify nsIScriptGlobalObjectOwner::ReportScriptError to take an nsIScriptError interface, rather than separate message, file, line arguments.
Fix implementations and their callers, and restore error printing to stderr even when the error is successfully logged to the console service, to make life easier for people who go to the trouble to invoke Mozilla with -console.


git-svn-id: svn://10.0.0.236/trunk@66050 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 01:56:47 +00:00
gagan%netscape.com
bf68369869 Fix for 32813. Moved the hardcoded tests out into a separate file and added functionality to specify that file. Look at urltests.dat in this directory for more info.
git-svn-id: svn://10.0.0.236/trunk@66049 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 01:47:17 +00:00
gagan%netscape.com
4f256b345c First checkin of all the url parsing related tests. Not in the build.
git-svn-id: svn://10.0.0.236/trunk@66048 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 01:44:57 +00:00
pavlov%netscape.com
05a5fab9fe fix for bug #20901 (Unix Paste should request CLIPBOARD selection)
git-svn-id: svn://10.0.0.236/trunk@66047 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 01:08:34 +00:00
tajima%eng.sun.com
ec4628d22d added #if XlibSpecificationRelease >=6 for OpenVMS build problem, r=colin@theblakes.com.
X11R6 base system will get no impact with the changes.


git-svn-id: svn://10.0.0.236/trunk@66046 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 00:53:31 +00:00
tajima%eng.sun.com
3053c32c1a Fix for IME status window problems: 30879,30097,29836. r=erik@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@66045 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 00:45:51 +00:00
edburns%acm.org
573dca278a bug=http://bugzilla.mozilla.org/show_bug.cgi?id=32011
Added ability to allow Native webclient client to populate
the listener class hash table and provide an InstanceOf function.

This enables listeners to work for the future.


git-svn-id: svn://10.0.0.236/trunk@66043 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 00:27:35 +00:00
scc%netscape.com
d14516727b new ideas about string conversion
git-svn-id: svn://10.0.0.236/trunk@66042 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 00:05:17 +00:00
ruslan%netscape.com
0378d0baa5 Implement firing of OnStartRequest regardless of the error code but don't
enable it yet till the webshell is fixed.


git-svn-id: svn://10.0.0.236/trunk@66041 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 00:01:23 +00:00
akkana%netscape.com
35155abf7c 35814: add clipboard type to editor paste methods, and call the right type
git-svn-id: svn://10.0.0.236/trunk@66040 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:38:21 +00:00
pavlov%netscape.com
d323248bfc hack to fix 35594 so that evaughan can land his box changes
git-svn-id: svn://10.0.0.236/trunk@66039 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:27:19 +00:00
shaver%mozilla.org
a0c44a968e Replace stupid and evil BYTECODE_ITER hack with proper use of back-patch
chained PatchGotos goodness.  (PatchGotos seasoned to taste.)
r=brendan


git-svn-id: svn://10.0.0.236/trunk@66038 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:27:09 +00:00
attinasi%netscape.com
60a35f5c47 Using the 40-url-dup.txt file now so that the timing values are from the second run of the page, which should be from cache, thus further eliminating the latency variabilities. Not part of build
git-svn-id: svn://10.0.0.236/trunk@66037 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:26:21 +00:00
scc%netscape.com
d4ae0a9e41 Added signatures to prevent automatic incorrect promotion of |char| to |PRUnichar|
git-svn-id: svn://10.0.0.236/trunk@66036 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:20:31 +00:00
scc%netscape.com
3904cb14f9 Added a new type, |incompatible_char_type| to help build signatures that prevent automatic incorrect promotion from |char| to |PRUnichar|. Kind of a hack, but the right way (specializing |nsAWritable| for |PRUnichar| can't be made to compile everywhere)
git-svn-id: svn://10.0.0.236/trunk@66035 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:19:14 +00:00
mccabe%netscape.com
8f4c442bf8 Make XPInstall JavaScript errors get logged to the console service.
git-svn-id: svn://10.0.0.236/trunk@66034 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:14:48 +00:00
attinasi%netscape.com
b251b613cb Newest run data added. Not part of build
git-svn-id: svn://10.0.0.236/trunk@66033 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:13:19 +00:00
attinasi%netscape.com
e70c6da8c2 Each URL is duplicated so the second time all images and the page itself will be from cache: catches the rogue image that is not on the file system, and it also limits the effect of the file system in skewing the numbers. Not part of build
git-svn-id: svn://10.0.0.236/trunk@66032 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:12:20 +00:00
jband%netscape.com
7b2567867b NOT PART OF BUILD. Getting recent fixes to this stuff we aren't building yet safely into cvs
git-svn-id: svn://10.0.0.236/trunk@66031 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:06:39 +00:00
mjudge%netscape.com
ca2f869fca new reason for notification
git-svn-id: svn://10.0.0.236/trunk@66030 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:03:57 +00:00
mjudge%netscape.com
a73525b7eb adding reason to notification
git-svn-id: svn://10.0.0.236/trunk@66029 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:03:16 +00:00
mjudge%netscape.com
57e01eabb4 new spi addition for reason for notification
git-svn-id: svn://10.0.0.236/trunk@66028 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:02:51 +00:00
mccabe%netscape.com
4527b59848 Remove unused pref.
git-svn-id: svn://10.0.0.236/trunk@66027 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:02:50 +00:00
jband%netscape.com
dcf6438cce NOT PART OF BUILD - removing this badly named and unused work around file
git-svn-id: svn://10.0.0.236/trunk@66026 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:01:11 +00:00
mjudge%netscape.com
40593b87ce fixing another api change on notifyt selection
git-svn-id: svn://10.0.0.236/trunk@66025 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:01:09 +00:00
mjudge%netscape.com
922709ebdd fixing selection speed. only copying to clipboard on mouse up
git-svn-id: svn://10.0.0.236/trunk@66024 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 23:00:30 +00:00
sgehani%netscape.com
b49aa33078 Added libjsj.so to yield working build after installation using the Linux installer.
git-svn-id: svn://10.0.0.236/trunk@66023 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 22:59:55 +00:00
robinf%netscape.com
bf3a1b7a52 removing this file from default and template autorun
git-svn-id: svn://10.0.0.236/trunk@66021 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 22:55:26 +00:00
jband%netscape.com
0565282928 fix bug 32150. Expose to JavaScript the scriptable interfaces on plugin objects implementing nsIPluginInstance. Given an embed tag with a plugin named 'foo' that has an xpcom interface named 'nsIFoo' with a method 'bar', this fix allows JS code (with the UniversalXPConnect privilege) to call document.foo.nsIFoo.bar()
git-svn-id: svn://10.0.0.236/trunk@66020 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 22:54:48 +00:00
jband%netscape.com
81eb9c9d6b extracted the declaration of nsObjectFrame into a separate .h file so that it can be accessed by nsHTMLEmbedElement.cpp. This is needed to fix bug 32150
git-svn-id: svn://10.0.0.236/trunk@66019 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 22:48:30 +00:00
robinf%netscape.com
090098d528 removing old file; replacement is Install.bmp
git-svn-id: svn://10.0.0.236/trunk@66018 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 22:46:36 +00:00
robinf%netscape.com
c7f39c3cca *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@66017 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 22:40:27 +00:00
ftang%netscape.com
fba2b12015 improve superscript/subscript/fraction in the transliteration fallback
add latin fallback for U+1Exx


git-svn-id: svn://10.0.0.236/trunk@66016 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 22:32:03 +00:00
nhotta%netscape.com
b43a0ab6b2 Added popup menus for default charsets, bug 32720, 32802, r=ducarroz.
git-svn-id: svn://10.0.0.236/trunk@66015 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 22:24:30 +00:00
nhotta%netscape.com
bc7b6be9de Increased height of pref window for new items in messages, bug 32720, 32802.
git-svn-id: svn://10.0.0.236/trunk@66014 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 22:22:51 +00:00
nhotta%netscape.com
d90fac8811 Added new conversion functions.
git-svn-id: svn://10.0.0.236/trunk@66013 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 22:17:57 +00:00
cmanske%netscape.com
c467099cc4 Removing blue background css for cells with border=0
git-svn-id: svn://10.0.0.236/trunk@66012 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:51:51 +00:00
radha%netscape.com
a1eb5d8292 Add Keywords menu by the urlbar
git-svn-id: svn://10.0.0.236/trunk@66011 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:49:50 +00:00
saari%netscape.com
407a95b69f Fix for 27936, double carets in message compose window. reviewed by hyatt many moons ago, tested by many.
git-svn-id: svn://10.0.0.236/trunk@66010 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:49:34 +00:00
saari%netscape.com
3d60b14173 Adding saftey checks to Mac dynamic menu MDEF to stop some crashes brade has been seeing.
git-svn-id: svn://10.0.0.236/trunk@66009 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:39:27 +00:00
valeski%netscape.com
a7376f3952 re-write of multi-mixed converter so it handles binary data. also have the unknown decoder looking for script tags.
git-svn-id: svn://10.0.0.236/trunk@66008 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:27:32 +00:00
ssu%netscape.com
15a1696718 added check for OS_TARGET env var to build nsztool. Affects only windows platforms.
git-svn-id: svn://10.0.0.236/trunk@66007 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:26:25 +00:00
despotdaemon%netscape.com
73d1ccecf8 Pseudo-automatic update of changes made by janc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@66006 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:20:56 +00:00
akkana%netscape.com
e1b81d1397 29794: tell docshell to disable meta-refresh
git-svn-id: svn://10.0.0.236/trunk@66005 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:19:44 +00:00
jbetak%netscape.com
2ff50a4acf 34719 Available Charset list box doesn't contain anythig - removed hidden XUL box element
git-svn-id: svn://10.0.0.236/trunk@66004 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:16:13 +00:00
ruslan%netscape.com
b8fe8a2254 Fix 35508, 33762, 35024.
git-svn-id: svn://10.0.0.236/trunk@66003 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:10:27 +00:00
despotdaemon%netscape.com
a73f820f43 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@66002 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:06:36 +00:00
putterman%netscape.com
bc91fd5fcb Fix for 35865. Frequent crashes when using standalone msg window. r=mscott.
git-svn-id: svn://10.0.0.236/trunk@66001 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:01:59 +00:00
akkana%netscape.com
261c4ced6d 15275: track Pavlov's change to the clipboard API (which broke this feature). r=pavlov
git-svn-id: svn://10.0.0.236/trunk@66000 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:01:31 +00:00
nhotta%netscape.com
64a47140b2 Added view default charset.
git-svn-id: svn://10.0.0.236/trunk@65999 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 21:00:27 +00:00
rpallath%eng.sun.com
9646c39468 Added sort routine in autorun.pl
and setUnsupported method add in ElementImpl_hasAttrib*.java


git-svn-id: svn://10.0.0.236/trunk@65998 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 18:41:37 +00:00
robinf%netscape.com
5b775a2ce2 adding new bmps for shell
git-svn-id: svn://10.0.0.236/trunk@65997 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 18:01:08 +00:00
robinf%netscape.com
e114fb7db2 updaging for new button bmps
git-svn-id: svn://10.0.0.236/trunk@65996 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 17:46:32 +00:00
robinf%netscape.com
e54e82a22e adding new files for shell bmps
git-svn-id: svn://10.0.0.236/trunk@65995 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 17:42:11 +00:00
tonyr%fbdesigns.com
1886c6ae00 got rid of uriloader/extprotocol/mac projects until I figure out why they don't build
git-svn-id: svn://10.0.0.236/trunk@65994 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 14:58:28 +00:00
brade%netscape.com
0c9a32c1a3 first pass at moving to new composer prefs based on spec
git-svn-id: svn://10.0.0.236/trunk@65993 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 14:55:28 +00:00
tor%cs.brown.edu
650a91f7fb Compositing work: fix 16bpp color shift and remove unneeded logic. r=blizzard
git-svn-id: svn://10.0.0.236/trunk@65992 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 14:50:55 +00:00
tonyr%fbdesigns.com
290a7e4e58 Got rid of some compiler warnings
git-svn-id: svn://10.0.0.236/trunk@65991 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 14:46:50 +00:00
tonyr%fbdesigns.com
648840c2d6 Updated makefiles to almost work.
git-svn-id: svn://10.0.0.236/trunk@65990 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 14:37:23 +00:00
tonyr%fbdesigns.com
61018349a5 added uriloader/extprotocol/mac projects
git-svn-id: svn://10.0.0.236/trunk@65989 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 14:31:09 +00:00
cls%seawood.org
59f735c01a Beos build fix for the clipboard API change.
git-svn-id: svn://10.0.0.236/trunk@65988 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 14:24:44 +00:00
putterman%netscape.com
a8c6ab7ea6 More work on reorganizing mailnews frontend so standalone msg window will work. Also
fixes some bugs from the last time.  r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@65987 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 14:07:23 +00:00
rjc%netscape.com
197a9d1b05 Small "Search Editor" changes.
git-svn-id: svn://10.0.0.236/trunk@65986 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 12:03:39 +00:00
rjc%netscape.com
6358dc4e07 Implement the "New Category" and "Remove Category" functions.
git-svn-id: svn://10.0.0.236/trunk@65985 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:52:48 +00:00
mjudge%netscape.com
4abdfed200 Pavlov beat me to this. he changed the APIS while i was editing this file
git-svn-id: svn://10.0.0.236/trunk@65984 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:52:13 +00:00
mjudge%netscape.com
7e0749e956 get rid of a warning on linux
git-svn-id: svn://10.0.0.236/trunk@65983 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:43:59 +00:00
mjudge%netscape.com
82b10d4ab1 added files: mozilla/layout/base/src/nsAutoCopy.cpp
git-svn-id: svn://10.0.0.236/trunk@65982 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:38:30 +00:00
mjudge%netscape.com
9f14c8db1f added new parameters to notification
git-svn-id: svn://10.0.0.236/trunk@65981 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:28:55 +00:00
mjudge%netscape.com
55a061173b added new parameters to NotifySelectionlisteners
git-svn-id: svn://10.0.0.236/trunk@65980 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:27:59 +00:00
mjudge%netscape.com
12a628ba6f new api more details on notification
git-svn-id: svn://10.0.0.236/trunk@65979 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:27:22 +00:00
mjudge%netscape.com
63c6a3cb7b changes to api for selection listeners
git-svn-id: svn://10.0.0.236/trunk@65978 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:26:18 +00:00
mjudge%netscape.com
55078146c7 touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api.
git-svn-id: svn://10.0.0.236/trunk@65977 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:21:19 +00:00
mjudge%netscape.com
63cc30e7be new file changes to get working for autocopyt from selection
git-svn-id: svn://10.0.0.236/trunk@65976 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:15:58 +00:00
mjudge%netscape.com
41dd8efb7c adding in export of nsIAutoCopy.h
git-svn-id: svn://10.0.0.236/trunk@65975 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 11:15:34 +00:00
rjc%netscape.com
78d7a4e165 Implement the "Add Engine" function.
git-svn-id: svn://10.0.0.236/trunk@65974 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 10:47:00 +00:00
rjc%netscape.com
aa7d538544 Implement RemoveEngine() function in "Search Editor".
git-svn-id: svn://10.0.0.236/trunk@65973 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 10:34:09 +00:00
rjc%netscape.com
21b2f0cf89 Allow multiple item selections in "Search Editor".
git-svn-id: svn://10.0.0.236/trunk@65972 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 10:33:10 +00:00
sspitzer%netscape.com
ef0472c71d fix for #20966, default for where to put the cursor should be below the quoted text.
(following the GNSKA guidelines.)


git-svn-id: svn://10.0.0.236/trunk@65971 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 10:29:59 +00:00
rjc%netscape.com
b93c0a8aa8 Small "Search Editor" changes.
git-svn-id: svn://10.0.0.236/trunk@65970 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 10:17:14 +00:00
rjc%netscape.com
2c6b45085f Small "Search Editor" changes.
git-svn-id: svn://10.0.0.236/trunk@65969 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 10:07:54 +00:00
rjc%netscape.com
fe294d880e Small "Search Editor" changes.
git-svn-id: svn://10.0.0.236/trunk@65968 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 09:58:05 +00:00
warren%netscape.com
9edaccbdac Fixed to truncate by default. Fixed permissions to default to 664.
git-svn-id: svn://10.0.0.236/trunk@65967 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 09:32:24 +00:00
rjc%netscape.com
e9324d307b Small changes.
git-svn-id: svn://10.0.0.236/trunk@65966 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 08:18:43 +00:00
rjc%netscape.com
a2d24cc1b3 Add support for "Search Editor".
git-svn-id: svn://10.0.0.236/trunk@65965 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 08:00:49 +00:00
despotdaemon%netscape.com
5bdceb4a31 Pseudo-automatic update of changes made by dean.jackson@cmis.csiro.au.
git-svn-id: svn://10.0.0.236/trunk@65964 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 07:56:30 +00:00
ssu%netscape.com
5cfdeed98e fixing bug 28173. affects windows platforms only. Not part of tinderbox builds
git-svn-id: svn://10.0.0.236/trunk@65963 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 07:48:30 +00:00
warren%netscape.com
40e0941ace Fixed refcounting bug 35794.
git-svn-id: svn://10.0.0.236/trunk@65962 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 07:18:36 +00:00
sspitzer%netscape.com
7e4c121fa4 more changes for the new subscribe dialog.
git-svn-id: svn://10.0.0.236/trunk@65961 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 06:54:19 +00:00
mjudge%netscape.com
729aef9dfb not in bulid yet
git-svn-id: svn://10.0.0.236/trunk@65960 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 06:19:03 +00:00
mjudge%netscape.com
9697811536 not in build yet.
git-svn-id: svn://10.0.0.236/trunk@65959 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 06:18:36 +00:00
sgehani%netscape.com
d811e3fda5 *** NOT PART OF BUILD ***
Copying the mozilla-installer shell script too as part of the delivered build.


git-svn-id: svn://10.0.0.236/trunk@65958 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 05:59:31 +00:00
sspitzer%netscape.com
2236d87914 more work on the new subscribe dialog. NOT PART OF THE BUILD SO IT IS OK IF I CHECK IN WHILE RED.
git-svn-id: svn://10.0.0.236/trunk@65957 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 05:34:49 +00:00
warren%netscape.com
e31211b526 Fixed leak in AsyncRead/AsyncWrite. r=danm
git-svn-id: svn://10.0.0.236/trunk@65956 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 05:29:21 +00:00
sgehani%netscape.com
5717e67566 Adding a wrapper shell script to launch the installer binary. The shell
script takes care of setting up the users environment before launching the
installer binary.


git-svn-id: svn://10.0.0.236/trunk@65955 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 05:02:06 +00:00
ftang%netscape.com
a87d5f94d9 fix copyright trademark and register mark mapping issue. verified by erik. fix bug 34522
git-svn-id: svn://10.0.0.236/trunk@65954 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 04:58:53 +00:00
ftang%netscape.com
6b7160944a fix 35565 MLK. decrese gCnt and delete gInfo when gCnt is 0
git-svn-id: svn://10.0.0.236/trunk@65953 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 04:51:50 +00:00
sspitzer%netscape.com
19edf13829 more changes for the new subscribe dialog.
git-svn-id: svn://10.0.0.236/trunk@65952 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 04:49:12 +00:00
ftang%netscape.com
24538bacf6 check in fix of 29341 . patched submitted by m_kato@ga2.so-net.ne.jp
Make sure the \ to / conversion respect double byte system on window.


git-svn-id: svn://10.0.0.236/trunk@65951 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 04:43:02 +00:00
mscott%netscape.com
d197d1ed7e some more performance tweaks...cache the status text isntead of looking it up each time
use .value instead of setAttribute which is faster.


git-svn-id: svn://10.0.0.236/trunk@65950 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 04:26:15 +00:00
kvisco%ziplink.net
db0fc10022 Changed constructor to use new naming, TX_FALSE, instead of FALSE
git-svn-id: svn://10.0.0.236/trunk@65949 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 04:24:28 +00:00
troy%netscape.com
f35d51df0e Made FindLineFor() public because I need to call it from the HTML reflow
state code


git-svn-id: svn://10.0.0.236/trunk@65948 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 04:05:58 +00:00
sspitzer%netscape.com
3c941d6e07 fix the bug where we aren't preflighting compose with the correct identity,
or in the case of news, the correct addressee.

this was hidden by a try / catch, where the dump statement was hidden.


git-svn-id: svn://10.0.0.236/trunk@65947 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 04:00:50 +00:00
ftang%netscape.com
fbd077a726 add fallback code for precomposed hangul
git-svn-id: svn://10.0.0.236/trunk@65946 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:50:57 +00:00
tor%cs.brown.edu
50b1403f0e Alpha compositing work: fix 16bpp and be more flexible about the
ximage read from the server.  Remove old debugging printf.  r=pavlov


git-svn-id: svn://10.0.0.236/trunk@65945 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:36:05 +00:00
rjc%netscape.com
b48524084d Get silly beta1 redirect URLs out of the tip.
git-svn-id: svn://10.0.0.236/trunk@65944 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:28:42 +00:00
mscott%netscape.com
c776f5aa61 Pass in the right channel into the web progress listener.
git-svn-id: svn://10.0.0.236/trunk@65943 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:28:23 +00:00
cmanske%netscape.com
d2540f15c6 Lots and lots of bug fixes and XUL widget conversions. Work in progress, but must checkin to allow XPFE to fix bugs
git-svn-id: svn://10.0.0.236/trunk@65942 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:19:31 +00:00
ssu%netscape.com
1a6e24d84c fixing bugs:
16068
  16465
  25595
  27587
  27598
  18563
  23240
  34664
  34621
  33348

affects only Windows platforms.


git-svn-id: svn://10.0.0.236/trunk@65941 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:19:16 +00:00
norris%netscape.com
f70a94e258 Fix
28390, 28866, 34364
r=brendan@mozilla.org
35701
r=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@65940 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:14:53 +00:00
pavlov%netscape.com
dddba59c63 major cleanup of unix clipboard code
git-svn-id: svn://10.0.0.236/trunk@65939 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:13:49 +00:00
bienvenu%netscape.com
b065ea4e59 fix case of nscore.h include
git-svn-id: svn://10.0.0.236/trunk@65938 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:05:46 +00:00
tonyr%fbdesigns.com
584b0d5a41 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@65937 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:04:08 +00:00
bienvenu%netscape.com
7d18f0132a teach mdb about nspr types r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@65936 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 03:03:25 +00:00
mscott%netscape.com
54319ffafd dynamically generate slots for header information. this will make
view all headers easier to implement


git-svn-id: svn://10.0.0.236/trunk@65934 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:54:09 +00:00
alecf%netscape.com
d6c6ba389f updates to the datasource
not part of build


git-svn-id: svn://10.0.0.236/trunk@65933 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:54:08 +00:00
pinkerton%netscape.com
c5745a98a6 New clipboard interface for unix selection clipboard.
git-svn-id: svn://10.0.0.236/trunk@65932 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:52:58 +00:00
pinkerton%netscape.com
ad03ebaa03 new clipboard interfaces for unix selection clipboard.
git-svn-id: svn://10.0.0.236/trunk@65931 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:52:38 +00:00
mscott%netscape.com
c3fe3801fe remove obsolete observer MessengerStatus
r=alecf


git-svn-id: svn://10.0.0.236/trunk@65930 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:51:37 +00:00
mscott%netscape.com
016c70bd05 remove obsolete observer MessengerStatus and remove broadcaster for progress
r=alecf


git-svn-id: svn://10.0.0.236/trunk@65929 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:51:28 +00:00
rjc%netscape.com
3db2c8f12c Use proper window ID.
git-svn-id: svn://10.0.0.236/trunk@65928 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:50:46 +00:00
mscott%netscape.com
42ad3ca34a remove obsolete observer MessengerStatus and remove broadcaster for progress
git-svn-id: svn://10.0.0.236/trunk@65927 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:50:24 +00:00
rjc%netscape.com
267ef775c3 Open up new "Find Bookmarks" window.
git-svn-id: svn://10.0.0.236/trunk@65926 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:50:06 +00:00
mscott%netscape.com
9ee2f929f7 remove obsolete broadcaster: Messenger:Status
r=alecf


git-svn-id: svn://10.0.0.236/trunk@65925 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:49:59 +00:00
mscott%netscape.com
0d50789ef5 implement nsIMsgStatusFeedback on the mail window. You can get to this
object by calling window.MsgStatusFeedback. Remove an obsolete OnStatus
method.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@65924 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:49:35 +00:00
mscott%netscape.com
e62593a03d remove expensive setAttribute method! forward all status calls
to our little brother in JS. This should make setting status and starting / stopping the meteors
so much faster! Remove knowledge of the webshell,
and webshell window which we no longer need to keep track of.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@65923 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:48:57 +00:00
mccabe%netscape.com
876926090b Added xpfe/components/console Makefiles.
git-svn-id: svn://10.0.0.236/trunk@65922 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:47:54 +00:00
jbetak%netscape.com
824e021a3a r=ftang 32604 Trunk fix for illegal use of nsString-external JavaScript
git-svn-id: svn://10.0.0.236/trunk@65921 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:47:28 +00:00
jbetak%netscape.com
695ca1012e r=valeski, exposing channel for 32604 Trunk fix for illegal use of nsString-external JavaScript
git-svn-id: svn://10.0.0.236/trunk@65920 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:46:28 +00:00
rjc%netscape.com
994fffa5ab Use <xul:textfield> instead of <html:input>
git-svn-id: svn://10.0.0.236/trunk@65919 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:46:01 +00:00
mscott%netscape.com
1e7d49a3dd mark setWebShell as no script.
r=alecf


git-svn-id: svn://10.0.0.236/trunk@65918 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:46:00 +00:00
rjc%netscape.com
7d50551e82 Use <xul:textfield> instead of <html:input>. Set initial focus.
git-svn-id: svn://10.0.0.236/trunk@65917 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:45:26 +00:00
pavlov%netscape.com
b2bf27643a backing out tajima's changes until we can find out why they caused shrike to go orange
git-svn-id: svn://10.0.0.236/trunk@65915 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:31:28 +00:00
Peter.VanderBeken%pandora.be
05110da058 Resolve name conflict.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@65913 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:05:21 +00:00
sfraser%netscape.com
2deda51d30 Rename chrome:caps to chrome:security, and put the autocomplete stuff buck in that waqar stomped on. r=jj. Mac only.
git-svn-id: svn://10.0.0.236/trunk@65912 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:01:39 +00:00
Peter.VanderBeken%pandora.be
88861cfaef Correcting end of lines.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@65911 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:00:44 +00:00
tajima%eng.sun.com
15e9237e8f Fix for previous check-in, which still caused an error on X11R5 basis.
git-svn-id: svn://10.0.0.236/trunk@65910 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 01:50:09 +00:00
Peter.VanderBeken%pandora.be
77cc193274 Correcting end of lines.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@65909 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 01:47:09 +00:00
rjc%netscape.com
e653288aab Add "bookmark find" dialog support.
git-svn-id: svn://10.0.0.236/trunk@65905 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 00:05:49 +00:00
suresh%netscape.com
28afdb6e46 Adding POP Testcases to the tree, so there is no security preference issues while running.
git-svn-id: svn://10.0.0.236/trunk@65904 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 00:01:23 +00:00
alecf%netscape.com
7b75c928b4 rev the filter datasource to match up with the filter delegate factory
(not yet part of build)


git-svn-id: svn://10.0.0.236/trunk@65903 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 23:50:50 +00:00
jst%netscape.com
c1252cc4a3 Making nsDOMAttributeMap a 'live' NamedNodeMap, removed the hashtable for the attributes since a) it caused the none-liveness and b) it was overkill, the number of attributes is usually so low so having a hashtable for them doesn't help much.
git-svn-id: svn://10.0.0.236/trunk@65902 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 23:42:52 +00:00
Peter.VanderBeken%pandora.be
bd26fcf528 Use DOMString instead of String (getting these changes back in).
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@65901 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 23:41:43 +00:00
alecf%netscape.com
78af7e543b add CID and temporary ProgIDs for filter delegate factory
git-svn-id: svn://10.0.0.236/trunk@65900 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 23:40:49 +00:00
alecf%netscape.com
9aa821c613 first cut at filter delegate factory (not yet part of build)
git-svn-id: svn://10.0.0.236/trunk@65899 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 23:38:58 +00:00
alecf%netscape.com
fde8b488c1 make the rdf delegate progid accessable from a header file, and switch to the cutting-edge progid schema
r=waterson


git-svn-id: svn://10.0.0.236/trunk@65898 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 23:37:41 +00:00
sgehani%netscape.com
2abd707206 Updating rpm generation scripts to reflect new packages section name:
`install' -> `xpcom'


git-svn-id: svn://10.0.0.236/trunk@65897 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 23:33:15 +00:00
bienvenu%netscape.com
0bc640f34a add a couple search error codes, not used yet
git-svn-id: svn://10.0.0.236/trunk@65896 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 23:28:49 +00:00
rjc%netscape.com
2da0f2205f Add "bookmark find" dialog support.
git-svn-id: svn://10.0.0.236/trunk@65895 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 23:28:14 +00:00
despotdaemon%netscape.com
85ecea8aa6 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@65894 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 23:18:05 +00:00
sspitzer%netscape.com
2f1447ced8 more changes for the new subscribe dialog. instead of having all newsgroups as children
of the server, they are children of the appropriate container.

ie, netscape.public.mozilla.mail-news is a child of netscape.public.mozilla


git-svn-id: svn://10.0.0.236/trunk@65893 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 23:07:13 +00:00
sspitzer%netscape.com
911878fca9 make it so the the children aren't right under the parent, they should be indented.
git-svn-id: svn://10.0.0.236/trunk@65892 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 23:05:08 +00:00
tajima%eng.sun.com
3283e06af7 Fix for build problem on OpenVMS. r=colin@theblakes.com,a=ftang@netscape.com
git-svn-id: svn://10.0.0.236/trunk@65891 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:54:33 +00:00
mjudge%netscape.com
6737cb1c39 made the table temporarily pull from nsLookandFeel until we get style rule working correctly
git-svn-id: svn://10.0.0.236/trunk@65890 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:39:39 +00:00
av%netscape.com
b15f0bce26 Eliminated creation of invalid pointers which causes crash for some plugins, r=serge
git-svn-id: svn://10.0.0.236/trunk@65889 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:34:49 +00:00
ruslan%netscape.com
87b7525c92 Fix 35024 - add new API to the socketTransportService to see how many
connections are alive/in-progress/etc.


git-svn-id: svn://10.0.0.236/trunk@65888 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:30:21 +00:00
jim_nance%yahoo.com
a8382bd69b Backing out some changes to CFLAGS that did not work as well as I wanted
them to.


git-svn-id: svn://10.0.0.236/trunk@65887 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:28:27 +00:00
jfrancis%netscape.com
d3929e89c3 added RemoveAllInlineProperties()
git-svn-id: svn://10.0.0.236/trunk@65886 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:27:41 +00:00
morse%netscape.com
c44e303fae fix bug 34866
git-svn-id: svn://10.0.0.236/trunk@65885 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:24:55 +00:00
nhotta%netscape.com
cb59c76a30 IME change for Win2000, bug 29606, check in for m_kato@ga2.so-net.ne.jp, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@65884 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:23:04 +00:00
jefft%netscape.com
23e5c47731 fixed bug 21742 -- [FEATURE] Save all attachments; r=mscott
git-svn-id: svn://10.0.0.236/trunk@65883 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:19:48 +00:00
akkana%netscape.com
57c4475945 28401: Code cleanup. Move the key event handling to a separate method (r=sfraser)
git-svn-id: svn://10.0.0.236/trunk@65882 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 22:06:30 +00:00
sspitzer%netscape.com
ff898bbb52 add helper function GetFirstSelectedMsgFolder(), and fix the ".len" vs ".length" problem
to get subscribe, new folder, and rename folder to work again.  also some more debugging
dumps.  r=putterman.


git-svn-id: svn://10.0.0.236/trunk@65881 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:56:28 +00:00
kmcclusk%netscape.com
741be3a48f Clip now applies to child views. b=11660 r=buster@netscape.com
Prevent the invalidation of hidden views (1/2 patch from <Tomi.Leppikangas@oulu.fi> b=34466 r=buster@netscape.com
Prevent ViewManager1 from getting into endless loops (patch from <jst@citec.fi> b=25336 r=buster@netscape.com
tested=WINNT, Linux, Mac


git-svn-id: svn://10.0.0.236/trunk@65880 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:56:27 +00:00
jfrancis%netscape.com
86d514b5e7 Wrote RemoveAllInlineProperties() to deal with clearing out inline style, and also fixed a bunch of IME bugs.
git-svn-id: svn://10.0.0.236/trunk@65879 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:50:19 +00:00
danm%netscape.com
ab2158eea3 removing obsolete, erroneous dialog samples
git-svn-id: svn://10.0.0.236/trunk@65878 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:43:55 +00:00
shaver%mozilla.org
abd4f1d678 FreeBSD 3.4 and BSDI/4.1 tweaks from <joerg.brunsmann@FernUni-Hagen.de>
and <drehuis@plaything.org>, respectively.


git-svn-id: svn://10.0.0.236/trunk@65877 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:43:45 +00:00
danm%netscape.com
923c06dc47 removing old, broken dialog samples from debug menu
git-svn-id: svn://10.0.0.236/trunk@65876 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:34:35 +00:00
pnunn%netscape.com
a53e4a6e41 corrected comment in code. pnunn.
git-svn-id: svn://10.0.0.236/trunk@65875 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:27:47 +00:00
pnunn%netscape.com
9932a506b6 Changed rand function for converting 8bit mask to 1bit dithered mask.
msrand() function not working properly on mac.  pnunn.


git-svn-id: svn://10.0.0.236/trunk@65874 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:26:01 +00:00
rginda%netscape.com
97c5eb37e0 fix for 33694, and some cleanup in addSearchEngine.
r=rjc


git-svn-id: svn://10.0.0.236/trunk@65873 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:22:50 +00:00
jst%netscape.com
c64f805590 Update the DOM interface to DOM Level 2, only stubs so far.
git-svn-id: svn://10.0.0.236/trunk@65872 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:21:02 +00:00
danm%netscape.com
60e8666b30 adding centerScreen flag
git-svn-id: svn://10.0.0.236/trunk@65871 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:19:45 +00:00
ruslan%netscape.com
553dd4f555 In case of getting Connection: close during http/1.1 response - don't
record the capabilities of such server.


git-svn-id: svn://10.0.0.236/trunk@65870 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:19:27 +00:00
sgehani%netscape.com
a164abfcc0 Renaming [install] section to [xpcom] to conform to our delivery scripts.
git-svn-id: svn://10.0.0.236/trunk@65869 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:13:27 +00:00
erik%netscape.com
26bfd9ac75 bug 35108; we weren't drawing the geometric shapes from the Japanese
JIS X 0208 fonts on Unix; fixed now


git-svn-id: svn://10.0.0.236/trunk@65868 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:13:04 +00:00
waterson%netscape.com
ac1dd0e9f8 Bug 34565. Initial support for extended <template> syntax.
git-svn-id: svn://10.0.0.236/trunk@65867 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:13:00 +00:00
danm%netscape.com
f8a0bbac98 centering profile manager window. bug 23463
git-svn-id: svn://10.0.0.236/trunk@65866 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:00:54 +00:00
jst%netscape.com
e225db1f22 Fixing objdir build bustage.
git-svn-id: svn://10.0.0.236/trunk@65865 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 21:00:39 +00:00
troy%netscape.com
56f855481d b=35749 Fixed Purify warning
git-svn-id: svn://10.0.0.236/trunk@65864 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:55:40 +00:00
ruslan%netscape.com
d938ad8e99 Partially fix 34743. Handle 100 (Continue) responses. Add an exclusion list
for servers with broken 1.1/pipelining. Fire onstop in case of the error on
all queued up channels in the pipeline.


git-svn-id: svn://10.0.0.236/trunk@65863 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:48:19 +00:00
troy%netscape.com
1b1acabdc3 b=35312 Made sure we don't mesure in chunks if letter spacing is
specified


git-svn-id: svn://10.0.0.236/trunk@65862 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:43:48 +00:00
danm%netscape.com
1006b9f5db hook up new 'centerscreen' chrome flag
git-svn-id: svn://10.0.0.236/trunk@65861 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:32:30 +00:00
mjudge%netscape.com
b5c40f47f1 table cell selection now shows up background. also small fix for nsBlockFrame to do the right thing for mouse capture.
git-svn-id: svn://10.0.0.236/trunk@65860 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:21:32 +00:00
ducarroz%netscape.com
c74a04e3a6 More work on autocomplete. Add support for text selection
git-svn-id: svn://10.0.0.236/trunk@65859 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:21:07 +00:00
waterson%netscape.com
9136a139fd Back out file akk didn't mean to check in. r=akkanna
git-svn-id: svn://10.0.0.236/trunk@65858 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:17:35 +00:00
pinkerton%netscape.com
c52b371c62 Adding support for nsIMenuRollup and not rolling up xpmenus when a click
is in a parent menu.


git-svn-id: svn://10.0.0.236/trunk@65857 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:17:29 +00:00
pinkerton%netscape.com
694a1d5347 Adding support for nsIMenuRollup and xpmenus not rolling up when a click is inside a parent.
git-svn-id: svn://10.0.0.236/trunk@65856 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:15:40 +00:00
pinkerton%netscape.com
6a44695291 adding support for xpmenus to not rollup when a click is inside a parent menu.
git-svn-id: svn://10.0.0.236/trunk@65855 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:15:23 +00:00
danm%netscape.com
084c71db23 adding alwaysLowered and alwaysRaised flags
git-svn-id: svn://10.0.0.236/trunk@65854 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:14:45 +00:00
pinkerton%netscape.com
ae52c7cbda Adding support for xpmenus not rolling up when a click is inside a parent.
git-svn-id: svn://10.0.0.236/trunk@65853 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:14:23 +00:00
pinkerton%netscape.com
57c4d1e558 add nsMenuRollup.idl
git-svn-id: svn://10.0.0.236/trunk@65852 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:10:32 +00:00
pinkerton%netscape.com
47908616f9 fix anonymous content child location to handle the case where a scroll frame may be in the way. r=hyatt.
git-svn-id: svn://10.0.0.236/trunk@65851 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:10:06 +00:00
waqar%netscape.com
ca8eaccbf1 #=27745
r=pollmann
d=Adding Gecko useragent string


git-svn-id: svn://10.0.0.236/trunk@65850 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:09:47 +00:00
pinkerton%netscape.com
185393343a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@65849 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:09:08 +00:00
nhotta%netscape.com
9f11f2ae38 Disabled debug printf, changed query setlocale() to pass NULL instead of an empty string.
git-svn-id: svn://10.0.0.236/trunk@65848 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:08:57 +00:00
danm%netscape.com
650ba2f7b9 adding a 'center' method
git-svn-id: svn://10.0.0.236/trunk@65847 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:07:28 +00:00
waqar%netscape.com
8c02d1edc0 #=27745
r=pollmann
d=Adding Gecko user agent string.


git-svn-id: svn://10.0.0.236/trunk@65846 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:07:13 +00:00
nhotta%netscape.com
997350ef97 Alert the user before sending a plain text mail if the string contains multilingual data, bug 28908, r=ducarroz.
git-svn-id: svn://10.0.0.236/trunk@65845 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:06:28 +00:00
danm%netscape.com
b51bc8ee33 adding 'centered' chrome flag
git-svn-id: svn://10.0.0.236/trunk@65844 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:06:19 +00:00
waterson%netscape.com
95aa66310a Fix compiler warning; use of uninitialized variable.
git-svn-id: svn://10.0.0.236/trunk@65843 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:04:13 +00:00
waterson%netscape.com
c780091c0b Add commentary, Value::GetType() method.
git-svn-id: svn://10.0.0.236/trunk@65842 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:03:39 +00:00
waterson%netscape.com
f86d3e294b Be sure to initialize out parameter when FindChildByTag() doesn't find anything.
git-svn-id: svn://10.0.0.236/trunk@65841 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:02:38 +00:00
nhotta%netscape.com
9ce41cc4c2 Added comments.
git-svn-id: svn://10.0.0.236/trunk@65840 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 20:01:17 +00:00
nhotta%netscape.com
7a17aae4c3 Added fallback conversion to support broken 4.x japanese vCard, bug 21743, r=cata.
git-svn-id: svn://10.0.0.236/trunk@65839 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:57:52 +00:00
nhotta%netscape.com
3168bcbf55 Adding new functions to control message view font, bug 26182, r=rhp.
git-svn-id: svn://10.0.0.236/trunk@65838 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:56:41 +00:00
waterson%netscape.com
76b91f9af2 Bug 12493. Change nsILinkHandler interface to take an nsIURI object instead of a string. This allows necko to canonify URIs before passing them back to global history. r=travis,pierre
git-svn-id: svn://10.0.0.236/trunk@65837 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:55:47 +00:00
gagan%netscape.com
6d14b4f30d Backing out last changes since warren has the new ones.
git-svn-id: svn://10.0.0.236/trunk@65836 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:50:43 +00:00
pnunn%netscape.com
e6b10505d0 bug#3013. Changed code so simple conditional sets generation of 8 bit mask
or triggers 8 bit to dithered 1 bit mask conversion. Set for dithering on
all platforms until rendering crash bug fixed. Tested on linux, NT, mac. pnunn.


git-svn-id: svn://10.0.0.236/trunk@65835 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:47:18 +00:00
pnunn%netscape.com
727398ba49 Bugs 3013, 16742. Added dithering algorithms from Glenn Randers-Pehrson
<randeg@alum.rpi.edu> for platforms that do not support 8 bit masks.
Fixed reducing algorithm for masks.  tested on linux, NT, mac. pnunn.


git-svn-id: svn://10.0.0.236/trunk@65834 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:44:22 +00:00
gagan%netscape.com
003ea98b15 35564 MLK fixes and IOService optimization from beard.
git-svn-id: svn://10.0.0.236/trunk@65833 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:44:15 +00:00
akkana%netscape.com
df015900ff Rename libender to libeditor on Linux and Windows (r=ssu)
git-svn-id: svn://10.0.0.236/trunk@65832 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:43:51 +00:00
akkana%netscape.com
32b72adc7c Remove obsolete csh version of the test
git-svn-id: svn://10.0.0.236/trunk@65831 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:42:18 +00:00
akkana%netscape.com
0d1e0074d2 Fix xlib version (patch from Joerg Brunsmann <joerg.brunsmann@FernUni-Hagen.de>)
git-svn-id: svn://10.0.0.236/trunk@65830 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:41:49 +00:00
akkana%netscape.com
aebcdaddab Fix Editor's View Source dialog (r=cmanske)
git-svn-id: svn://10.0.0.236/trunk@65829 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:41:11 +00:00
gagan%netscape.com
3a9e3e15c2 Fixed the testserver to print arbitrary content-length request. So you can now try http://<testserver>/?Length=N to get back a document with content-length of N. This is not in the build.
git-svn-id: svn://10.0.0.236/trunk@65828 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:20:54 +00:00
varada%netscape.com
5a31a00908 fix for bug#35684- removing the creation of the help shortcut link on the desktop
git-svn-id: svn://10.0.0.236/trunk@65827 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 19:12:25 +00:00
nisheeth%netscape.com
907f5b8e8a Ongoing work to get Transformiix to build as a mozilla component on windows. Not part of mozilla build.
git-svn-id: svn://10.0.0.236/trunk@65826 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 18:30:03 +00:00
rogerl%netscape.com
9be8a000b9 Fxied oboscure bug when user defines function Object(), the next new Object
gets a stack crash looking for the prototype. (bug #32174)


git-svn-id: svn://10.0.0.236/trunk@65825 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 17:58:18 +00:00
locka%iol.ie
678f59224d Removed last vestiges of nsIWebShellContainer (hurrah!)
Made first effort to fix various IE events which have either misfired or not fired at all for a while
Not part of build


git-svn-id: svn://10.0.0.236/trunk@65824 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 16:30:25 +00:00
locka%iol.ie
8e284ed5d1 Removed last vestiges of nsIWebShell (hurrah!)
Not part of build


git-svn-id: svn://10.0.0.236/trunk@65823 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 16:28:43 +00:00
locka%iol.ie
ca54959667 Removed #includes for nsIWebShell added #includes for nsIWebProgress & nsIWebProgressListener
Not part of build


git-svn-id: svn://10.0.0.236/trunk@65822 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 16:27:08 +00:00
locka%iol.ie
1902706b6e Removed references to webshellcontainer
Not part of build


git-svn-id: svn://10.0.0.236/trunk@65821 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 16:23:53 +00:00
bienvenu%netscape.com
7fc272bc86 fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@65820 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 14:58:30 +00:00
bienvenu%netscape.com
34f85b1289 remove unneeded header
git-svn-id: svn://10.0.0.236/trunk@65819 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 14:49:12 +00:00
bienvenu%netscape.com
4be336f346 work on nntp connection cache,not turned on yet r=sspitzer 13506
git-svn-id: svn://10.0.0.236/trunk@65818 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 14:41:35 +00:00
bienvenu%netscape.com
31f00cc1ea fix fast delete breaking delete, r=mscott 32742
git-svn-id: svn://10.0.0.236/trunk@65817 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 14:41:20 +00:00
Peter.VanderBeken%pandora.be
c2b7a4d19a Use DOMString instead of String (getting these changes back in).
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@65816 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 14:14:45 +00:00
cls%seawood.org
9e726ea4ef Added CXXFLAGS to link line for toolkit specific test viewers. Bug #35730
git-svn-id: svn://10.0.0.236/trunk@65815 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 13:59:03 +00:00
jdunn%netscape.com
40cfe4d01b newline for hp
git-svn-id: svn://10.0.0.236/trunk@65814 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 13:35:54 +00:00
neeti%netscape.com
807fe4e46e fix for bug 21329,r=pnunn, Image cache needs to limit number as well as size of the image resources consumed on WIN95/WIN98
git-svn-id: svn://10.0.0.236/trunk@65813 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 13:00:31 +00:00
jst%netscape.com
231ff5a791 Fixing #35605, avoid accessing a null pointer in GetOffsetParent()!
git-svn-id: svn://10.0.0.236/trunk@65812 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 12:52:03 +00:00
jst%netscape.com
92c42dfdf8 Fixing #34573. Properly reflow a textcontrol if it's 'rows' attribute changes.
git-svn-id: svn://10.0.0.236/trunk@65811 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 12:28:35 +00:00
heikki%citec.fi
57ff046d84 Missing QI entry for an interface we inherit from. Found by ddediu@usa.net, thanks. r=me.
git-svn-id: svn://10.0.0.236/trunk@65810 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 12:19:50 +00:00
jst%netscape.com
bf63c4d811 If a class claims to support an interface in QueryInterface() it *really* should inherit from that interface then! Fixes #35398.
git-svn-id: svn://10.0.0.236/trunk@65809 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 12:02:58 +00:00
kvisco%ziplink.net
3d84f2d4e8 removed for-loop declaration of ints to be compiler friendly
git-svn-id: svn://10.0.0.236/trunk@65808 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 10:37:49 +00:00
kvisco%ziplink.net
9c6abb1455 updated with latest info
git-svn-id: svn://10.0.0.236/trunk@65807 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 10:23:23 +00:00
warren%netscape.com
1985a1bd83 Fixed assertion problem with rv/rv2.
git-svn-id: svn://10.0.0.236/trunk@65806 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 10:07:13 +00:00
warren%netscape.com
cf8e62d78e Fixed RemoveChannel problem.
git-svn-id: svn://10.0.0.236/trunk@65805 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 10:02:32 +00:00
kvisco%ziplink.net
e6ffefd096 added Marina's fix to handle recurise attribute-set processing, and to handle attribute-set processing for xsl:copy
git-svn-id: svn://10.0.0.236/trunk@65804 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:39:28 +00:00
warren%netscape.com
cdc4a80955 Added some cleanup.
git-svn-id: svn://10.0.0.236/trunk@65803 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:30:09 +00:00
warren%netscape.com
2541e06a0f Removed
git-svn-id: svn://10.0.0.236/trunk@65802 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:22:09 +00:00
warren%netscape.com
298c244142 Fixed AddRef/Release to use NS_ADDREF/NS_RELEASE.
git-svn-id: svn://10.0.0.236/trunk@65801 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:20:58 +00:00
warren%netscape.com
0aa92d16e5 Added nsIStreamIO.idl. Removed nsIFileSystem.idl.
git-svn-id: svn://10.0.0.236/trunk@65800 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:20:57 +00:00
warren%netscape.com
7cefc01f95 Factoring stream i/o operations into nsIStreamIO interface.
git-svn-id: svn://10.0.0.236/trunk@65799 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:20:50 +00:00
warren%netscape.com
94a34176f2 Added sanity assertions.
git-svn-id: svn://10.0.0.236/trunk@65798 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:19:47 +00:00
warren%netscape.com
06e285caf8 Added some sanity checking to SetMimeType.
git-svn-id: svn://10.0.0.236/trunk@65797 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:18:57 +00:00
tbogard%aol.net
c022feee82 Removed a dump statement that wasn't meant to have been pushed.
git-svn-id: svn://10.0.0.236/trunk@65796 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:18:30 +00:00
kvisco%ziplink.net
4937ae4d73 added patches from Marina M. to fix predicate parsing, and make sure we look for Axis Identifier wild cards
git-svn-id: svn://10.0.0.236/trunk@65795 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:13:22 +00:00
tbogard%aol.net
656d2c9cb2 Changed the code to use the nsIXULBrowserWindow interface rather than poking attributes for setting throbber activity, window activity and location changing. This should speed things up a bit and also makes the code a bit cleaner.
git-svn-id: svn://10.0.0.236/trunk@65794 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 08:08:52 +00:00
mscott%netscape.com
d3e79e0155 this checkin is actually bryners. Backing out the changes that seem to cause various problems
on linux. Eric is going to sit down with a linux guru tomorrow and try to figure out why these changes
were causing a problem.


git-svn-id: svn://10.0.0.236/trunk@65793 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 07:43:39 +00:00
mccabe%netscape.com
9e602a5bac Make the console service threadsafe. Lock when logging messages, copying out the message array, registering and unregistering listeners, etc. Also proxy each registered listener to ensure that it is called only on the thread that registers it; hopefully this will make it safe to use javascript-implemented listeners even when error messages are logged on other threads.
Also log some partial work towards making nsIConsoleMessage interfaces factory-instantiable.


git-svn-id: svn://10.0.0.236/trunk@65792 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 07:20:24 +00:00
mccabe%netscape.com
5e883fa2be Rename interface constants from names like ERROR and STRICT, which evidently conflict with preprocessor defines on Windows.
Thanks to Travis for noticing this problem.


git-svn-id: svn://10.0.0.236/trunk@65791 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 07:03:46 +00:00
kvisco%ziplink.net
941f240e84 changed makefile to remove dependancy on base/String.o
git-svn-id: svn://10.0.0.236/trunk@65790 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 07:02:54 +00:00
mccabe%netscape.com
8c6917a47b Fix Makefile to work with srcdir.
Patch courtesy Colin Blake <colin@theblakes.com>


git-svn-id: svn://10.0.0.236/trunk@65789 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 07:00:33 +00:00
kvisco%ziplink.net
ec687e9867 finished making name change from String to TxString
git-svn-id: svn://10.0.0.236/trunk@65788 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 06:40:34 +00:00
heikki%citec.fi
b1206faf63 Test files for XML Base. **Sicking testing cvs admin**
git-svn-id: svn://10.0.0.236/trunk@65787 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 06:40:18 +00:00
heikki%citec.fi
839955a875 Test files for XML Base. Not part of build.
git-svn-id: svn://10.0.0.236/trunk@65786 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 06:40:17 +00:00
beard%netscape.com
62acd3149d [not part of build] using non-debugging allocators to keep out of leak reports.
git-svn-id: svn://10.0.0.236/trunk@65785 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 06:40:16 +00:00
beard%netscape.com
e02a506408 [not part of build] more heuristics for valid identifiers
git-svn-id: svn://10.0.0.236/trunk@65784 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 06:39:20 +00:00
heikki%citec.fi
ea22c7c2e0 Implemented XML Base (http://www.w3.org/TR/xmlbase). Still some issues with escaping illegal chars in URLs etc. Bug 32842.
git-svn-id: svn://10.0.0.236/trunk@65783 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 06:38:31 +00:00
beard%netscape.com
29c061c8e4 [not part of build] silent when leaking objects w/o debugging info.
git-svn-id: svn://10.0.0.236/trunk@65782 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 06:36:13 +00:00
beard%netscape.com
16903c7520 [not part of build] StringTable
git-svn-id: svn://10.0.0.236/trunk@65781 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 06:35:02 +00:00
beard%netscape.com
6e7906e41f [not part of build] NFRAMES == 2 for alignment reasons, splaying sibling lists.
git-svn-id: svn://10.0.0.236/trunk@65780 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 06:34:20 +00:00
beard%netscape.com
0baf8e8743 [not part of build] NFRAMES == 2 for alignment reasons.
git-svn-id: svn://10.0.0.236/trunk@65779 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 06:33:09 +00:00
bienvenu%netscape.com
85635c2332 fix ClearFlag method, r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@65778 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 05:55:48 +00:00
bienvenu%netscape.com
451881b581 add InitFromUri method, r=mscott for nntp connection cache
git-svn-id: svn://10.0.0.236/trunk@65777 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 05:54:45 +00:00
bienvenu%netscape.com
c630e11823 fix line buffer to grow past 4k r=mscott 33715
git-svn-id: svn://10.0.0.236/trunk@65776 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 05:53:56 +00:00
morse%netscape.com
78427a8b29 remove image blocking
git-svn-id: svn://10.0.0.236/trunk@65775 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 05:16:10 +00:00
sfraser%netscape.com
11edab2993 Adding methods to allow control of the selection in text widgets.
git-svn-id: svn://10.0.0.236/trunk@65774 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 05:15:59 +00:00
sfraser%netscape.com
2150b9eaeb Use an nsCOMPtr in the Select call.
git-svn-id: svn://10.0.0.236/trunk@65773 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 05:14:08 +00:00
sfraser%netscape.com
9be180bf20 Adding methods to NSHTMLInputElement to allow control of the selection from JS.
git-svn-id: svn://10.0.0.236/trunk@65772 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 05:02:35 +00:00
beard%netscape.com
8f6ef04403 gc_base now used as common base class of GC allocated objects.
git-svn-id: svn://10.0.0.236/trunk@65771 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:54:41 +00:00
beard%netscape.com
80f0e049d9 added gc_base, which defines a more generic operator new().
git-svn-id: svn://10.0.0.236/trunk@65770 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:53:56 +00:00
sfraser%netscape.com
89c406272d Adding methods to nsHTMLNSInputElement to support getting/setting the selection from JS. Also added a textLength attribute.
git-svn-id: svn://10.0.0.236/trunk@65769 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:50:59 +00:00
ducarroz%netscape.com
36b9328d4b Remove the old autocomplete widget which is now replaced by the XBL one (xpfe/components/autocomplete). R=alecf.
git-svn-id: svn://10.0.0.236/trunk@65768 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:50:39 +00:00
sfraser%netscape.com
648cb7d34b No need to #include nsIGfxTextControlFrame.h any more.
git-svn-id: svn://10.0.0.236/trunk@65767 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:49:52 +00:00
ducarroz%netscape.com
65fa96c9c0 Add xpfe/components/autocomplete to the build. R=alecf.
git-svn-id: svn://10.0.0.236/trunk@65766 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:49:50 +00:00
ducarroz%netscape.com
616b465b58 Add CSS binding for new XBL autocomplete widget. R=alecf.
git-svn-id: svn://10.0.0.236/trunk@65765 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:49:28 +00:00
ducarroz%netscape.com
39e4219b50 Fix makefile error. R=alecf
git-svn-id: svn://10.0.0.236/trunk@65764 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:49:23 +00:00
nisheeth%netscape.com
bf73b5e100 Back out earlier fix to bug 13565. I shouldn't remove the code that dumps XML error messages to the console because the browser window is not going to be around all time, for example, in the case of the profile manager window.
git-svn-id: svn://10.0.0.236/trunk@65763 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:43:37 +00:00
nisheeth%netscape.com
057f60e982 Fix for bug 13565. Removed code that dumps XML error messages to console because error messages now show up inside the browser window.
git-svn-id: svn://10.0.0.236/trunk@65762 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 04:13:41 +00:00
beard%netscape.com
c737d3c063 XP_MAC improvements, stack walking, pc to name translation, early toolbox initialization so console will pop-up in correct location.
git-svn-id: svn://10.0.0.236/trunk@65761 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 03:51:43 +00:00
beard%netscape.com
bb9fac76c4 [not part of build] since MacOS isn't preemptive, make FASTLOCK a no-op.
git-svn-id: svn://10.0.0.236/trunk@65760 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 03:27:51 +00:00
erik%netscape.com
c95a9c55ef bug 35515; get *-iso10646-1 fonts to work by correcting the test for glyph
availability; bug 35665; add support for microsoft-cp1251 fonts


git-svn-id: svn://10.0.0.236/trunk@65759 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 03:24:13 +00:00
jim_nance%yahoo.com
139bae80c1 Fixes for bug 35466 from wtc, along with some suggestions for better
compiler flags from Jeff D. at Compaq.  This should not affect anything
other than Tru64 Unix.  If it does I can be reached at 919.859.3885


git-svn-id: svn://10.0.0.236/trunk@65758 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 03:13:14 +00:00
tbogard%aol.net
a92109cc36 Moved the implementation of nsIRefreshURI into the docShell. Reordered CreateFixupURI to try simply creating the URI before actually doing any munging. Stop now calls CancelRefreshURITimers. String version of LoadURI now properly puts up error boxes for missing protocols.
git-svn-id: svn://10.0.0.236/trunk@65757 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 03:11:44 +00:00
tbogard%aol.net
1799dc127e Moved the implementation of nsIRefreshURI into the docShell. When the webShell is getting destructed make sure we call Destroy.
git-svn-id: svn://10.0.0.236/trunk@65756 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 03:11:25 +00:00
tbogard%aol.net
34e6aace92 Make DocShell link with the timer library so it can call NS_NewTimer.
git-svn-id: svn://10.0.0.236/trunk@65755 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 03:05:35 +00:00
mscott%netscape.com
4caf2e5bba Bug #35661 --> don't try to load a message if we are about to delete it
r=putterman


git-svn-id: svn://10.0.0.236/trunk@65754 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 03:03:50 +00:00
sspitzer%netscape.com
5f3fdf25ee fix for #11043. implement news biff. thanks to tobias@adamson.com for contributing this patch. r=sspitzer
git-svn-id: svn://10.0.0.236/trunk@65753 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 02:59:01 +00:00
tbogard%aol.net
b65c1a8b6c WebShell no longer creates the plugin host. nsObjectFrame now gets it from the service manager instead of trying to get it from the webshell.
git-svn-id: svn://10.0.0.236/trunk@65752 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 02:56:05 +00:00
tbogard%aol.net
b6416a6dce Implemented SetFocus.
git-svn-id: svn://10.0.0.236/trunk@65751 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 02:54:38 +00:00
sspitzer%netscape.com
56e99cfeb2 fix for #34791. "check new mail" -> "check new messages".
git-svn-id: svn://10.0.0.236/trunk@65750 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 02:53:55 +00:00
tbogard%aol.net
3e66256a75 Get the service for the plugin host. Don't bother requesting it from the container.
git-svn-id: svn://10.0.0.236/trunk@65749 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 02:53:18 +00:00
tbogard%aol.net
8c8146c9a7 When the object goes away due to the last ref on the object, make sure to Destroy() so we free everything up that is usually done there.
git-svn-id: svn://10.0.0.236/trunk@65748 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 02:52:34 +00:00
beard%netscape.com
99c9a6173b builds gc
git-svn-id: svn://10.0.0.236/trunk@65743 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 00:37:00 +00:00
beard%netscape.com
b9a7cafdad Added gc_allocator.h to project and gc.lib to link against.
git-svn-id: svn://10.0.0.236/trunk@65742 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 00:28:40 +00:00
beard%netscape.com
a1b04f96e3 linking in gc.lib from ../../gc/boehm
git-svn-id: svn://10.0.0.236/trunk@65741 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 00:16:58 +00:00
beard%netscape.com
0ee7e71e66 Not part of build, Makefile used by JS2
git-svn-id: svn://10.0.0.236/trunk@65740 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 00:16:03 +00:00
mjudge%netscape.com
bccee5ad91 a=gramps. smoketest fix for 35590
git-svn-id: svn://10.0.0.236/trunk@65739 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 00:15:02 +00:00
beard%netscape.com
9b49d537d4 enabling GC on all platforms
git-svn-id: svn://10.0.0.236/trunk@65738 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 00:14:23 +00:00
edburns%acm.org
e27cea00ad bug: http://bugzilla.mozilla.org/show_bug.cgi?id=32011
Add first function pointer integration to webclient for StarOffice.
This is necessary to allow events to be sent from mozilla to
StarOffice.


git-svn-id: svn://10.0.0.236/trunk@65737 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 00:12:50 +00:00
despotdaemon%netscape.com
7f4e413648 Pseudo-automatic update of changes made by bnesse@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@65736 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 23:36:19 +00:00
locka%iol.ie
a664395dc2 Moved control to components folder.
Put some hacks in around the calls to the non-reentrant NS_InitXPCOM so that the control can be used from VB


git-svn-id: svn://10.0.0.236/trunk@65735 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 22:54:54 +00:00
nisheeth%netscape.com
e316922109 Removing the header file because it is generated by IDL now. Not part of mozilla build.
git-svn-id: svn://10.0.0.236/trunk@65734 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 22:52:38 +00:00
dveditz%netscape.com
1f18235a56 get VC5 Mozilla build back off the floor, a=granrose
git-svn-id: svn://10.0.0.236/trunk@65733 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 22:48:54 +00:00
nisheeth%netscape.com
bc8a6ab806 Ongoing work to get Transformiix to build on Windows. Not part of the mozilla build.
git-svn-id: svn://10.0.0.236/trunk@65732 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 22:47:04 +00:00
nisheeth%netscape.com
3b22990b3e Ongoing attempt to get Transformiix building on Windows. Not part of mozilla build.
git-svn-id: svn://10.0.0.236/trunk@65731 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 22:34:04 +00:00
troy%netscape.com
b6151e0baf b=35603, r=jinjin@pacbell.net Fix for blocker (crash when selecting
text)


git-svn-id: svn://10.0.0.236/trunk@65730 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 22:22:58 +00:00
warren%netscape.com
08abdd677d Added nsIStreamIO.idl
git-svn-id: svn://10.0.0.236/trunk@65728 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 21:32:15 +00:00
donm%bluemartini.com
fb2de4f637 Rewrite of repophook to pull changes from the bonsai database from a certain
date, and according to legaldirs rebuild the hook list of checkins.  This
had been broken since switching over from the flatfile checkinlog.
Reviewed and Approved by: Terry Weismann


git-svn-id: svn://10.0.0.236/trunk@65727 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 18:44:37 +00:00
ashuk%eng.sun.com
93dcc0b67f Made fix for Find Dialog closing correctly on Solaris
a=ashuk
r=geetha.vaidyanaathan@sun.com
Bug=35514

_Ashu


git-svn-id: svn://10.0.0.236/trunk@65726 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 18:06:21 +00:00
norris%netscape.com
b4284415c8 Fix bug 33841.
git-svn-id: svn://10.0.0.236/trunk@65725 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 17:30:32 +00:00
jdunn%netscape.com
aed89a2d6d adding include for tolower & toupper
git-svn-id: svn://10.0.0.236/trunk@65724 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 15:52:50 +00:00
troy%netscape.com
7f8c86cbc4 Fix for build bustage
git-svn-id: svn://10.0.0.236/trunk@65723 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 15:42:55 +00:00
sspitzer%netscape.com
ded4692ea9 fix for blocker bug #35591. 3 pane toolbar buttons don't work.
git-svn-id: svn://10.0.0.236/trunk@65722 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 15:32:27 +00:00
troy%netscape.com
b382c442f3 Added support for measuring text runs in ascii, and changed text transformer
to leave the text as ascii if possible


git-svn-id: svn://10.0.0.236/trunk@65721 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 14:54:43 +00:00
rods%netscape.com
a3d39e96df Dirty reflows are treated like Incremental for optimization
The GetAbsoluteFramePosition didn't take into account if the comboxbox was had a prent view with no parent
b=35291


git-svn-id: svn://10.0.0.236/trunk@65720 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 14:51:10 +00:00
troy%netscape.com
ae75e4aa8c b=34731 Fixed bug in Unicode version of GetWidth() that takes a line break array.
Also added an ascii version of function


git-svn-id: svn://10.0.0.236/trunk@65719 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 14:49:46 +00:00
jdunn%netscape.com
5effad2e06 fixing typedef of an enum which broke hp builds.
r= akanna@netscape.com, johng@netscape.com


git-svn-id: svn://10.0.0.236/trunk@65718 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 14:44:46 +00:00
jdunn%netscape.com
c17d125985 Initialize the vars and make sure we 'NULL' them after we free them.
On HP (for example) there isn't a sound shared lib, so we ended up
freeing an uninitialized pointer.
r= dougt@netscape.com


git-svn-id: svn://10.0.0.236/trunk@65717 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 14:42:40 +00:00
jefft%netscape.com
89f7ff51dd fixed bug 33566, 34252 - cancel from saveAs saveAttachment causes alert; r=scottip
git-svn-id: svn://10.0.0.236/trunk@65716 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 14:23:41 +00:00
dcone%netscape.com
bffb29319c Changed some tiling code. Cleanup up how DIB's and DDB's are cleaned up.
git-svn-id: svn://10.0.0.236/trunk@65715 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 13:52:10 +00:00
dcone%netscape.com
83a2f389b7 Changed some tiling code.
git-svn-id: svn://10.0.0.236/trunk@65714 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 13:47:03 +00:00
brade%netscape.com
a4fdf81708 remove duplicate line
git-svn-id: svn://10.0.0.236/trunk@65713 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 13:30:32 +00:00
brade%netscape.com
9ea38beeba remove colon from alignment box label; add image map box label
git-svn-id: svn://10.0.0.236/trunk@65712 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 13:27:00 +00:00
brade%netscape.com
7ab7fc0808 redo with xul widgets
git-svn-id: svn://10.0.0.236/trunk@65711 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 13:26:16 +00:00
brade%netscape.com
b64fab6896 remove update of labels which are being removed altogether; add edit image map js
git-svn-id: svn://10.0.0.236/trunk@65710 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 13:24:41 +00:00
brade%netscape.com
a73bffacf6 use platform-specific keybindings for previous/next word (with and without extending selection)
git-svn-id: svn://10.0.0.236/trunk@65709 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 13:08:51 +00:00
brade%netscape.com
c7804be17c move windows-specific keybindings out of general editor file and into window-specific file
git-svn-id: svn://10.0.0.236/trunk@65708 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 13:07:44 +00:00
brade%netscape.com
4cd9a53b26 remove commented out keybindings; comment out stylesheet insertion menu items
git-svn-id: svn://10.0.0.236/trunk@65707 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 13:07:02 +00:00
brade%netscape.com
2943746d7e remove EditorApplyStyleSheet and EditorImageMap functions (we aren't supporting insertion of stylesheets at this time and image map function is moved to image dialog js file).
git-svn-id: svn://10.0.0.236/trunk@65706 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 13:05:28 +00:00
kvisco%ziplink.net
ed8d0a3d36 updated with latest info
git-svn-id: svn://10.0.0.236/trunk@65705 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 11:44:13 +00:00
kvisco%ziplink.net
25a0b57a40 updated example to show descending order
git-svn-id: svn://10.0.0.236/trunk@65704 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 11:26:26 +00:00
kvisco%ziplink.net
2783ee8657 added support for sorting under xsl:for-each
git-svn-id: svn://10.0.0.236/trunk@65703 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 11:25:21 +00:00
kvisco%ziplink.net
0ea5682ae3 changed header
git-svn-id: svn://10.0.0.236/trunk@65702 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 11:08:06 +00:00
kvisco%ziplink.net
8a9f793007 added support for simple xslt sorting
git-svn-id: svn://10.0.0.236/trunk@65701 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 11:00:56 +00:00
kvisco%ziplink.net
69fd22db23 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@65700 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:59:29 +00:00
kvisco%ziplink.net
4d06125b0d initial checkin of simple sorting example
git-svn-id: svn://10.0.0.236/trunk@65699 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:57:19 +00:00
kvisco%ziplink.net
f6d355a99e initial checkin of NodeSorter.h/cpp which as the name suggests handles Node sorting
git-svn-id: svn://10.0.0.236/trunk@65698 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:55:55 +00:00
kvisco%ziplink.net
563dcf7154 made TxObect::hashCode virtual, added TxObject::equals
git-svn-id: svn://10.0.0.236/trunk@65697 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:53:27 +00:00
kvisco%ziplink.net
e333ebe447 added new classes to Makefile
git-svn-id: svn://10.0.0.236/trunk@65696 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:52:27 +00:00
kvisco%ziplink.net
4ebb6cce15 initial checkin. StringComparator is a virtual class used for doing String
comparisons. DefaultStringComparator is the default implementation of
StringComparator. Map.h/cpp is a simple HashMap implementation for TxObjects.


git-svn-id: svn://10.0.0.236/trunk@65695 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:50:03 +00:00
mjudge%netscape.com
ae3c9d9ad5 fixing 2 bugs. bug for notifications going out when we dont need them for selection changing. and for fixing some keyboard navigations around non-text frames
git-svn-id: svn://10.0.0.236/trunk@65694 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:34:19 +00:00
Peter.VanderBeken%pandora.be
e7b8cce71b Added processTopLevel function that takes an Element as input.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@65693 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:16:45 +00:00
tbogard%aol.net
d35db358c7 Provided implementation for the file fixup work.
git-svn-id: svn://10.0.0.236/trunk@65692 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:06:58 +00:00
tbogard%aol.net
1bac2e91d8 Put the GetInterface for the uriContentListener into an ifndef for DOCSHELL_LOAD so when DOCSHELL_LOADING is turned on, we get the right handler.
git-svn-id: svn://10.0.0.236/trunk@65691 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 10:00:04 +00:00
warren%netscape.com
f9056257c8 Adding code to remove entries from free list when recycled.
git-svn-id: svn://10.0.0.236/trunk@65690 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 09:48:30 +00:00
sspitzer%netscape.com
d3e6a61e1b changes so that the alert for cross posting to multiple news server shows up.
(instead of a silent failure.)  note, we are still being too over-zealous when
deciding if you are cross posting to multiple servers.  see bug #35338


git-svn-id: svn://10.0.0.236/trunk@65689 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 09:48:25 +00:00
tbogard%aol.net
8c7494bc47 Removed the file fixup and completely rely on docShell fro Creating the uri.
git-svn-id: svn://10.0.0.236/trunk@65688 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 09:46:40 +00:00
tbogard%aol.net
03530c32c4 Fixed viewer to implement SizeBrowserTo and on notification of a location change make sure not to try poking data into a field that isn't there (the location one). CLEANUP_WIDGET now checks to see if the widget is in existence before destroying it. Bug #34433
git-svn-id: svn://10.0.0.236/trunk@65687 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 09:25:46 +00:00
sspitzer%netscape.com
bc41af2aff make sure we mark the newsrc file as dirty if we update it.
git-svn-id: svn://10.0.0.236/trunk@65686 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 08:50:01 +00:00
jband%netscape.com
4573c49fd4 NOT PART OF SEAMONKEY BUILD. Make plugin sample work on windows. It looks like this has been unable to compile on windows since someone added Unix only includes outside the #ifdef XP_UNIX block about *nine* months ago. There were also a few places where it was causing crashes. I'm not very confident in the rest of this code.
git-svn-id: svn://10.0.0.236/trunk@65685 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 08:35:15 +00:00
warren%netscape.com
e6ef4a1f7b Moved nsXPIDLString.h out of ifdef for optimized builds.
git-svn-id: svn://10.0.0.236/trunk@65684 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 08:25:32 +00:00
heikki%citec.fi
27dfe3cf98 Fixing build bustage. When MOZ_SGV is set and DISABLE_TESTS is not set, the build dies in this makefile.
git-svn-id: svn://10.0.0.236/trunk@65683 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 08:19:19 +00:00
rjc%netscape.com
56c6533261 Small search changes.
git-svn-id: svn://10.0.0.236/trunk@65682 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 08:07:10 +00:00
sspitzer%netscape.com
2b358d3567 I need to name this node, so I can overlay the ab synch pref panel.
git-svn-id: svn://10.0.0.236/trunk@65681 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 07:58:25 +00:00
warren%netscape.com
22161b7197 Added nsIZipReaderCache. Removed nsIZipReader::ParseManifest. Got jar: protocol going for downloaded jars and input streams. Added assertions that Cancel is called with a failure code.
git-svn-id: svn://10.0.0.236/trunk@65680 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 07:58:24 +00:00
sspitzer%netscape.com
6595ce61e5 fix for #14645. we need those mailnews default prefs, even when installing the
base package, because of migration.


git-svn-id: svn://10.0.0.236/trunk@65679 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 07:48:21 +00:00
sspitzer%netscape.com
eb928ab05c bulletproofing fix for bug #35568. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@65678 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 07:38:17 +00:00
sspitzer%netscape.com
29f20e5113 fix spelling mistake. I'm so anal, it is scary.
git-svn-id: svn://10.0.0.236/trunk@65677 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 06:54:35 +00:00
morse%netscape.com
7b4d7fc3d1 fix bug 35372, appropriate title when used as image manager
git-svn-id: svn://10.0.0.236/trunk@65676 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 06:35:26 +00:00
leaf%mozilla.org
dd3ff63fdf Automated update
git-svn-id: svn://10.0.0.236/trunk@65675 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 06:30:10 +00:00
sspitzer%netscape.com
12c1e01ae5 add bug # to the assertion, so people know where to add info if they can reproduce this.
git-svn-id: svn://10.0.0.236/trunk@65674 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 06:22:14 +00:00
cls%seawood.org
25fe7656b0 BeOS build fixes. Bug #34553
git-svn-id: svn://10.0.0.236/trunk@65673 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 06:20:59 +00:00
sspitzer%netscape.com
6c67b6c9a4 fix for #35567. bulletproof to avoid a crash. r=putterman.
git-svn-id: svn://10.0.0.236/trunk@65672 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 06:16:23 +00:00
ducarroz%netscape.com
efc75ecfbc Rename Addressbook classes nsIAutoCompleteSession & nsIAutoCompleteListener to avoid any conflict with the new autocomplete widget during it's landing. R=mscott.
git-svn-id: svn://10.0.0.236/trunk@65671 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 06:12:41 +00:00
sspitzer%netscape.com
f311981876 fix a comment.
git-svn-id: svn://10.0.0.236/trunk@65670 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:55:49 +00:00
kvisco%ziplink.net
4f5478aefa Added name changes from Marina
git-svn-id: svn://10.0.0.236/trunk@65669 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:52:09 +00:00
mjudge%netscape.com
20beb15b82 dangit
git-svn-id: svn://10.0.0.236/trunk@65668 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:48:03 +00:00
mjudge%netscape.com
7623edc2ec left out static in prototype. mac compiler...grumble
git-svn-id: svn://10.0.0.236/trunk@65667 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:43:42 +00:00
morse%netscape.com
5b40011ca3 fix bugs 34760 (not all cookies displayed in cookie viewer) and bug 34866 (better test for foreign images)
git-svn-id: svn://10.0.0.236/trunk@65666 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:28:53 +00:00
morse%netscape.com
015761afef fix bug 34952, cookie header should have Cookie: with uppercase C
git-svn-id: svn://10.0.0.236/trunk@65665 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:26:59 +00:00
morse%netscape.com
1749c5246b attempt to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@65664 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:20:49 +00:00
bienvenu%netscape.com
1ae3a2a9c3 more work on search, not used yet
git-svn-id: svn://10.0.0.236/trunk@65663 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:14:38 +00:00
bienvenu%netscape.com
c9e9e7e340 initial checkin, not part of build
git-svn-id: svn://10.0.0.236/trunk@65662 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:12:48 +00:00
waterson%netscape.com
31c026f5b1 Add nsXULAtoms.cpp to the build.
git-svn-id: svn://10.0.0.236/trunk@65660 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 05:00:32 +00:00
ducarroz%netscape.com
c7b48092a7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@65658 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 04:57:48 +00:00
waterson%netscape.com
2ed20459c3 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@65657 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 04:49:28 +00:00
mjudge%netscape.com
b9926db7f9 missed another.get
git-svn-id: svn://10.0.0.236/trunk@65656 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 04:20:07 +00:00
mjudge%netscape.com
9d8e7b1e33 dangit forgot this one
git-svn-id: svn://10.0.0.236/trunk@65653 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 03:35:27 +00:00
mjudge%netscape.com
367a053d05 thought this would have been caught on my machine sorry. .get added
git-svn-id: svn://10.0.0.236/trunk@65651 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 03:26:49 +00:00
rjc%netscape.com
f8069a4a8d Add support for importing/exporting bookmarks.
git-svn-id: svn://10.0.0.236/trunk@65650 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 03:09:04 +00:00
mjudge%netscape.com
c25a8377d7 fix for setcapture. passes events to the nsHTMLFrame's areaframe when events are trapped to a given frame's view.
git-svn-id: svn://10.0.0.236/trunk@65649 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 03:04:11 +00:00
evaughan%netscape.com
5e5d2c2425 Fix for titledbox bugs.
git-svn-id: svn://10.0.0.236/trunk@65648 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 02:59:26 +00:00
ruslan%netscape.com
383bf26a65 Adding additional prefs for networking
git-svn-id: svn://10.0.0.236/trunk@65647 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 02:51:58 +00:00
pavlov%netscape.com
63edd1eeaf disable x11-shm code until crash can be looked at
rewrote image drawing code
  -- refactored drawing
  -- added tiling code
added patch from Tim Rowley <tor@cs.brown.edu> for 8bit alpha compositing of images (not used yet)


git-svn-id: svn://10.0.0.236/trunk@65646 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 02:23:12 +00:00
mscott%netscape.com
5c3c7b0e4c Bug #29222 --> fix alignment of add to ab and attachment icons
r=sspitzer


git-svn-id: svn://10.0.0.236/trunk@65645 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 02:17:45 +00:00
tbogard%aol.net
3ea4662027 Checks for when progress is called after docShell goes away. This is now going to be valid with changes made to the way the uriLoader and necko do cancelling. Bug #35505
git-svn-id: svn://10.0.0.236/trunk@65644 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 01:59:15 +00:00
ruslan%netscape.com
6e7da609de Landing link-click problem fix. Also fix DNS lockup (gordon) on Windows,
memory leak of socket transports during pipelined request, add timeout
setters on socket transport, add a restriction on the number of keep-alive
connections.


git-svn-id: svn://10.0.0.236/trunk@65643 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 01:47:22 +00:00
bryner%uiuc.edu
ca8b146fdd Make sure we correctly obtain the system setting for the number of
lines to mousewheel scroll on Win95 (it's different than 98/NT).  This
was causing ProcessMessage to bail out early and never dispatch the
event.  r=hyatt.


git-svn-id: svn://10.0.0.236/trunk@65642 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 01:43:39 +00:00
ddrinan%netscape.com
ef0d7f74ea Initial check in PSM docs
git-svn-id: svn://10.0.0.236/trunk@65641 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 01:19:11 +00:00
akkana%netscape.com
16b9790143 Fix mac bustage -- conflict with a mac system header
git-svn-id: svn://10.0.0.236/trunk@65640 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 00:59:40 +00:00
ruslan%netscape.com
53ad7be163 Add a quick constructor for nsISupportsPRBool as well as make it implement
threadsafe isupports. Stream convs. use it.


git-svn-id: svn://10.0.0.236/trunk@65639 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 00:46:58 +00:00
hyatt%netscape.com
f2850a15c0 Cuddling mailnews. XOXOXOXOX
git-svn-id: svn://10.0.0.236/trunk@65638 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 00:26:01 +00:00
dmose%mozilla.org
e280088418 use sendmail deferred delivery to avoid long hangs at bug submission time
git-svn-id: svn://10.0.0.236/trunk@65637 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 00:25:38 +00:00
hyatt%netscape.com
c074373552 Cuddling mailnews and giving it some of my sweet sweet love.
git-svn-id: svn://10.0.0.236/trunk@65636 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 00:25:05 +00:00
hyatt%netscape.com
3dca29dd25 Cuddling mailnews and giving it some of my sweet sweet love. r=saari
git-svn-id: svn://10.0.0.236/trunk@65635 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 00:24:07 +00:00
ddrinan%netscape.com
2dc58d9818 Initial checkin of the PSM server
git-svn-id: svn://10.0.0.236/trunk@65634 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 00:15:15 +00:00
tbogard%aol.net
39e0862ae5 Added an attribute for holding the charset info to be used during a load.
git-svn-id: svn://10.0.0.236/trunk@65633 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 00:07:04 +00:00
ddrinan%netscape.com
688ef1c934 Initial checkin of the PSM server
git-svn-id: svn://10.0.0.236/trunk@65632 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 00:05:55 +00:00
evaughan%netscape.com
3d16a0efc8 Grid fixes.
Memory leak fixes.
box cleanup.

-a ftang


git-svn-id: svn://10.0.0.236/trunk@65631 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:55:15 +00:00
ddrinan%netscape.com
4b983e02eb Initial check-in PSM UI files
git-svn-id: svn://10.0.0.236/trunk@65630 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:54:23 +00:00
tbogard%aol.net
b07f35a6c6 Close now simply calls destroy. nsWebShellWindow now has a subclass for Destroy which does everything that Close use to do. Removed all the implementation of nsIWebShellContainer methods that went away.
git-svn-id: svn://10.0.0.236/trunk@65629 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:52:50 +00:00
tbogard%aol.net
4f35b6560c Provided implementation for CreateFixupURI. Added needed parameters to DoURILoad and finished implementation. InternalLoad now takes needed parameters as well.
git-svn-id: svn://10.0.0.236/trunk@65628 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:52:42 +00:00
tbogard%aol.net
d135c517d8 Removed the viewSource member and the GetStringForCommand as it is no longer used.
git-svn-id: svn://10.0.0.236/trunk@65627 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:52:37 +00:00
tbogard%aol.net
10067a9afc Removed nsIWebShellContainer methods that are no longer part of the interface. Removed convertFileToURL and convertURLToFileCharset as the implementation in docShell is now relied upon. LoadURL now largely relies on docShell's CreateFixupURI to get a uri. No longer call nsIWebShellContainer::BeginLoadURL or EndLoadURL as the nsIWebProgressListener interface provides all these needed listeners. No longer call nsIWebShellContainer::WillLoadURL as the uriLoader code provides the ability to cancel or stop a load from happening. DoLoadURL now relies on the implementation in docShell for talking to the uriloader. Fixed a bug with nsWebShell::GoTo pointed out by Conrad.
git-svn-id: svn://10.0.0.236/trunk@65626 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:52:28 +00:00
tbogard%aol.net
8727537dfe Removed the remaining methods on nsIWebShellContainer as they are no longer used.
git-svn-id: svn://10.0.0.236/trunk@65625 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:52:27 +00:00
tbogard%aol.net
65f8207048 nsChromeTreeOwner is now a nsIWebProgressListener for a load.
git-svn-id: svn://10.0.0.236/trunk@65624 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:50:14 +00:00
tbogard%aol.net
20df804f7d Changed tab spacing to say 3 to be accurate.
git-svn-id: svn://10.0.0.236/trunk@65623 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:49:08 +00:00
tbogard%aol.net
835aca6ed0 Changed to use the enumeration rather than the string based parameter to the parser loading mode.
git-svn-id: svn://10.0.0.236/trunk@65622 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:48:37 +00:00
tbogard%aol.net
733b054319 Changed nsEditorShell to hold on to docShells instead of webShells. Changed a number of places to use nsIDocShell instead of nsIWebShell. Removed the hold on a nsIWebShellWindow as no one should ever hold onto that.
git-svn-id: svn://10.0.0.236/trunk@65621 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 23:48:14 +00:00
akkana%netscape.com
4a9fb6a45b Fix build bustage, a misplaced #ifdef
git-svn-id: svn://10.0.0.236/trunk@65620 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 22:59:30 +00:00
ftang%netscape.com
b401834a10 fix 34886. add accidential deleted line back.
git-svn-id: svn://10.0.0.236/trunk@65619 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 22:47:18 +00:00
ftang%netscape.com
8d7e132980 fix 34646. Change the key to the new non-offending name
git-svn-id: svn://10.0.0.236/trunk@65618 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 22:43:43 +00:00
ftang%netscape.com
b2d7a4d989 add transliteration fall back . fix bug 33501
git-svn-id: svn://10.0.0.236/trunk@65617 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 22:41:21 +00:00
bryner%uiuc.edu
7a1359d810 Enable parsing of URL's in finger: text. bug 26753. r=valeski, a=ftang.
git-svn-id: svn://10.0.0.236/trunk@65616 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 22:41:02 +00:00
ftang%netscape.com
6b8e136315 add more entries into the transliteration table which generated by the perl script.
git-svn-id: svn://10.0.0.236/trunk@65615 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 22:37:10 +00:00
waterson%netscape.com
7e2dcaa22c Bug 35360. Fix UMRs in MatchList discovered by bruce@cybersight.com.
git-svn-id: svn://10.0.0.236/trunk@65614 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 22:36:53 +00:00
waterson%netscape.com
cf5d15a49e Bug 35392. Fix leaking MemoryElement when already in set. r=beard -- thanks for wiping my chin.
git-svn-id: svn://10.0.0.236/trunk@65613 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 22:35:43 +00:00
akkana%netscape.com
85178871d8 34704: Make colors as well as metrics customizable.
git-svn-id: svn://10.0.0.236/trunk@65612 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 22:34:55 +00:00
ftang%netscape.com
5534509670 add perl script which read unicode character database and generate the transliteration table
git-svn-id: svn://10.0.0.236/trunk@65611 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 22:34:39 +00:00
ftang%netscape.com
489432d6b6 fix bug 35025
git-svn-id: svn://10.0.0.236/trunk@65610 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 22:33:13 +00:00
despotdaemon%netscape.com
1f1eac3851 Pseudo-automatic update of changes made by ddrinan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@65609 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 21:22:20 +00:00
putterman%netscape.com
6e8b94b72c Add a standalone message window and make multiple 3 pane configurations work. r=mscott, sspitzer.
git-svn-id: svn://10.0.0.236/trunk@65608 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 20:19:32 +00:00
despotdaemon%netscape.com
2f1ca033da Pseudo-automatic update of changes made by tara@tequilarista.org.
git-svn-id: svn://10.0.0.236/trunk@65607 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 18:39:42 +00:00
despotdaemon%netscape.com
d53bd28e8e Pseudo-automatic update of changes made by tara@tequilarista.org.
git-svn-id: svn://10.0.0.236/trunk@65606 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 18:33:55 +00:00
norris%netscape.com
5f17ad5f2c Remove obsolete statement from javadoc.
git-svn-id: svn://10.0.0.236/trunk@65605 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 18:24:08 +00:00
norris%netscape.com
00a6eda054 Update javadoc
git-svn-id: svn://10.0.0.236/trunk@65604 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 18:22:36 +00:00
despotdaemon%netscape.com
e4b8b4d8d7 Pseudo-automatic update of changes made by namachi@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@65603 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 12:13:26 +00:00
despotdaemon%netscape.com
eb7080dad4 Pseudo-automatic update of changes made by heikki@citec.fi.
git-svn-id: svn://10.0.0.236/trunk@65602 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 06:28:18 +00:00
ducarroz%netscape.com
48de6c967a More work on autocomplete. NOT YET PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@65599 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 06:05:28 +00:00
ducarroz%netscape.com
a4a087a39b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@65598 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 06:04:29 +00:00
beard%netscape.com
9381029146 JSActivation, JSFunction
git-svn-id: svn://10.0.0.236/trunk@65597 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 05:11:58 +00:00
beard%netscape.com
58374dbac2 Added JSFunction, defineFunction()
git-svn-id: svn://10.0.0.236/trunk@65596 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 05:10:40 +00:00
beard%netscape.com
e24d19e2ad defineFunction, added assert
git-svn-id: svn://10.0.0.236/trunk@65595 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 05:09:38 +00:00
beard%netscape.com
8ac9fe969d _Charalloc, deallocate(void*) for _WIN32 only
git-svn-id: svn://10.0.0.236/trunk@65594 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 04:55:27 +00:00
beard%netscape.com
937ff28877 defineGlobalProperty
git-svn-id: svn://10.0.0.236/trunk@65593 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 03:11:47 +00:00
beard%netscape.com
975ce0edfa JSObject, JSArray : public JSMap, gc_object<T>. Frame -> JSFrame. Added JSFrameStack which is an std:stack<JSFrame*, std:vector<JSFrame*> >.
git-svn-id: svn://10.0.0.236/trunk@65592 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 03:11:00 +00:00
beard%netscape.com
a4e6e6cf4e use gc_allocator<T> everywhere, addGlobalProperty -> defineGlobalProperty
git-svn-id: svn://10.0.0.236/trunk@65591 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 03:07:39 +00:00
beard%netscape.com
dca329f860 removed commented out GET_PROP/SET_PROP.
git-svn-id: svn://10.0.0.236/trunk@65589 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 02:59:52 +00:00
beard%netscape.com
38d43f6703 added gc_object.
git-svn-id: svn://10.0.0.236/trunk@65588 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 02:59:14 +00:00
despotdaemon%netscape.com
7c4cc6ee74 Pseudo-automatic update of changes made by conrad@ingress.com.
git-svn-id: svn://10.0.0.236/trunk@65587 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 02:45:52 +00:00
beard%netscape.com
2e228d4d0e fixing an assert and warnings
git-svn-id: svn://10.0.0.236/trunk@65585 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 01:10:26 +00:00
wtc%netscape.com
8b4c9c2280 Bugzilla bug #35405: use memcmp, as opposed to ==, to compare two structs.
Thanks to Braden N. McDaniel <braden@endoframe.com> for the bug report.


git-svn-id: svn://10.0.0.236/trunk@65584 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 00:39:12 +00:00
rogerl%netscape.com
1f60d50799 CALL opcode & frames etc. (r=beard)
git-svn-id: svn://10.0.0.236/trunk@65583 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 00:32:17 +00:00
ducarroz%netscape.com
9366728ce4 Fix make file build error. NOT YET PART OF THE BUILD
git-svn-id: svn://10.0.0.236/trunk@65582 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 00:14:43 +00:00
ducarroz%netscape.com
4c2d093bd1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@65581 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-11 00:00:38 +00:00
despotdaemon%netscape.com
4c39b6a42f Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@65580 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 23:30:25 +00:00
danm%netscape.com
19fce78469 imap thread now uses a monitored thread event queue. bug 33928. r=mscott a=leaf
git-svn-id: svn://10.0.0.236/trunk@65579 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 23:29:55 +00:00
waqar%netscape.com
46853e110d Depend build does not do exports of header files. r=pollmann,a=leaf
git-svn-id: svn://10.0.0.236/trunk@65577 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 22:57:29 +00:00
ramiro%fateware.com
82d07c94ba If an argument is given on the command line, load it as a url to test loading
of urls before the widget is realized.


git-svn-id: svn://10.0.0.236/trunk@65576 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 22:57:27 +00:00
ramiro%fateware.com
27ffb75a2e Constify gtk_moz_emged_load_url. If the widget aint realized on url load,
save the url for later.


git-svn-id: svn://10.0.0.236/trunk@65575 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 22:52:54 +00:00
waqar%netscape.com
65fa28da33 nsIByteArrayInputStream.h files does not exist any more. r=pollmann,a=leaf
git-svn-id: svn://10.0.0.236/trunk@65574 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 22:48:27 +00:00
varada%netscape.com
0e1897676f fix for bug #34641 - changing the homepageurl and animatedlogourl to http://home.netscape.com
git-svn-id: svn://10.0.0.236/trunk@65573 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 22:31:57 +00:00
waldemar%netscape.com
b65369342e Fixed delete/delete[] mismatch
git-svn-id: svn://10.0.0.236/trunk@65571 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 22:23:17 +00:00
waldemar%netscape.com
fd66ae5e9f Fixed memory leak
git-svn-id: svn://10.0.0.236/trunk@65570 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 22:20:00 +00:00
pavlov%netscape.com
bfc6ce54f1 fix for 34651 r=sfraser a=leaf
git-svn-id: svn://10.0.0.236/trunk@65569 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 22:08:19 +00:00
danm%netscape.com
c9730b8f8b temporarily make all modal dialogs unmodal while a combobox popup is popping. bug 34484. r=pavlov a=leaf
git-svn-id: svn://10.0.0.236/trunk@65568 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 21:56:04 +00:00
ruslan%netscape.com
07a2c08ca4 Fix 35344, r=dougt, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65567 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 21:41:55 +00:00
ftang%netscape.com
38e332d0be mjudge at ftangs machine. last fix to stop crashing. still problem with event from external IME window not getting to ESM
git-svn-id: svn://10.0.0.236/trunk@65566 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 21:35:52 +00:00
locka%iol.ie
81a14eca60 Fixed link clicking assert
git-svn-id: svn://10.0.0.236/trunk@65565 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 21:09:46 +00:00
locka%iol.ie
77c38c448a Removed some vestiges of when plugin used to be part of the control project
git-svn-id: svn://10.0.0.236/trunk@65564 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 21:09:07 +00:00
ftang%netscape.com
349c2130a1 mjudge checkin in from ftangs machine. fixing japanese lockup. this will not fix the strange loss of the commit event to the ESM however. that was making thisproblem obvious.
git-svn-id: svn://10.0.0.236/trunk@65563 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 21:02:25 +00:00
saari%netscape.com
1f93ec4b0d Fix for M15 bug, crashing on tab. Effectively a null check in event state manager. r=hyatt, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65562 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 20:52:52 +00:00
saari%netscape.com
27a2e3d8c1 Fixing M15 blocker 34464, crashing mac menu. r=danm, a=leaf, granrose, et al.
git-svn-id: svn://10.0.0.236/trunk@65561 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 20:48:42 +00:00
cls%seawood.org
8a4651162e Add CFLAGS & CXXFLAGS to MKCSHLIB & MKSHLIB respectively. Bug 35127, r=shaver, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65560 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 20:38:28 +00:00
ruslan%netscape.com
d02e769e2d Fixing the first part of 35344, r=dougt, a=leaf.
git-svn-id: svn://10.0.0.236/trunk@65559 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 20:02:33 +00:00
blizzard%redhat.com
b4d50ddeae fix building on sparc linux. r=jband a=leaf
git-svn-id: svn://10.0.0.236/trunk@65558 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 19:43:31 +00:00
beard%netscape.com
c9985ffa8c [not part of build] guarding all reclamations with GC_root_size. This allows safely removing all registered root sets, to see all globals allocated at shutdown.
git-svn-id: svn://10.0.0.236/trunk@65556 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 18:16:27 +00:00
beard%netscape.com
14f09e88df [not part of build] rewrote GC_print_callers() to use the call_tree.
git-svn-id: svn://10.0.0.236/trunk@65555 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 18:14:37 +00:00
beard%netscape.com
e76da2c12c [not part of build] rewrote GC_save_callers() to use a global call_tree to store stack crawls of arbitrary depth.
git-svn-id: svn://10.0.0.236/trunk@65554 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 18:12:40 +00:00
beard%netscape.com
89f0e63df3 [not part of build] reduced # of frames to 1, now using a global call_tree to store all stack crawls.
git-svn-id: svn://10.0.0.236/trunk@65553 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 18:10:43 +00:00
beard%netscape.com
b984ba1624 [not part of build] turned on ALIGN_DOUBLE configuration flag.
git-svn-id: svn://10.0.0.236/trunk@65552 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 18:09:15 +00:00
miodrag%netscape.com
e68d3ddf9f Pass className rather than mechanismName to DynamicInvoker (391585)
git-svn-id: svn://10.0.0.236/trunk@65551 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 17:47:02 +00:00
miodrag%netscape.com
6e37b34294 Just return the raw bytes rather than a string in getCredentials (391585)
git-svn-id: svn://10.0.0.236/trunk@65550 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 17:45:59 +00:00
beard%netscape.com
95772d686b [not part of build] to save memory, no longer keeping the stack crawl strings in memory, but just keeping pointers to their location. This keeps the tool from running out of memory when processing complete stack crawls now provided by the leak detector.
git-svn-id: svn://10.0.0.236/trunk@65549 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 17:42:24 +00:00
beard%netscape.com
d047a7d0d7 [not part of build] fixed getFileLocation() when function name has [] in it (such as operator[]).
git-svn-id: svn://10.0.0.236/trunk@65548 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 17:40:08 +00:00
beard%netscape.com
663909e662 [not part of build] stack crawl tree
git-svn-id: svn://10.0.0.236/trunk@65547 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 17:38:25 +00:00
karnaze%netscape.com
63fa8b6505 bug 35099 - create form frame when inside table related element. a=leaf
git-svn-id: svn://10.0.0.236/trunk@65546 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 04:00:37 +00:00
mscott%netscape.com
d0f3c1301a Bug #12505 --> fix printing for imap. the load attributes for nsMsgProtocol weren't getting initialized!
Implement get/Set load attributes. When displaying a message, we weren't putting the channel in the right load
group. It was goinging into the 3-pane's load group instead of the message pane's load group. I needed to fix
this b4 I could implment get/set load attributes which in turn was required to fix printing of imap messages.
r=bienvenu
a=leaf


git-svn-id: svn://10.0.0.236/trunk@65544 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 01:50:06 +00:00
mscott%netscape.com
89c45408b5 Bug #12505 --> fix printing for local and news. the load attributes for nsMsgProtocol weren't getting initialized!
r=bienvenu
a=leaf


git-svn-id: svn://10.0.0.236/trunk@65543 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 01:48:41 +00:00
mscott%netscape.com
765dfe797a Bug #31806 --> unhork the mail message pane where each email recipient in the to or cc field was showing up on
it's own line (inlcuding the ", " which also got it's own line).
However, this fix made us use a box where we used to use a div. div's wrap the addresses to the next line nicely
and boxes don't do this so more work still needs to be done.
r=putterman
a=leaf


git-svn-id: svn://10.0.0.236/trunk@65542 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 00:32:25 +00:00
mscott%netscape.com
4e309e8bd7 Bug #34769 (this change is actually dougt's). Don't allow the chrome cache channel to stomp on it's original
uri if it's already been set.
r=waterson,mscott
a=leaf


git-svn-id: svn://10.0.0.236/trunk@65541 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-10 00:25:22 +00:00
law%netscape.com
22ecf769a5 Fix for bug 32664; change url and menu text for some QA menu items; a=leaf
git-svn-id: svn://10.0.0.236/trunk@65540 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-09 01:55:04 +00:00
talisman%anamorphic.com
cc52016ae0 Added contribution from Ian Clarke.
git-svn-id: svn://10.0.0.236/trunk@65539 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 06:16:32 +00:00
endico%mozilla.org
3fb9cfa72f add link to unconfirmed
git-svn-id: svn://10.0.0.236/trunk@65538 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 06:04:15 +00:00
beard%netscape.com
6679286072 Fixed warnings about member initializers on Linux. Whatever.
git-svn-id: svn://10.0.0.236/trunk@65537 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 04:49:41 +00:00
beard%netscape.com
f546db4e0e Reduced size of args arrays to minimum.
git-svn-id: svn://10.0.0.236/trunk@65536 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 04:41:19 +00:00
beard%netscape.com
1432ce9406 Reordered parameters to getProperty()/setProperty() to be consistent with operand ordering. Added array allocation/indexing to testObjects().
git-svn-id: svn://10.0.0.236/trunk@65535 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 04:15:02 +00:00
beard%netscape.com
914d7a51de JSArray::elements(1), operator[](const JSValue&), fixed register-indexing.
git-svn-id: svn://10.0.0.236/trunk@65534 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 04:12:28 +00:00
beard%netscape.com
11ffde7160 Fixed NEW_ARRAY, GET_ELEMENT, SET_ELEMENT printing.,
git-svn-id: svn://10.0.0.236/trunk@65533 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 04:11:16 +00:00
beard%netscape.com
15070af13c NEW_ARRAY
git-svn-id: svn://10.0.0.236/trunk@65531 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 03:37:49 +00:00
beard%netscape.com
decc24505a Reordered GetProp/SetProp operands to base, name. Added NewArray, GetElement, SetElement instructions.
git-svn-id: svn://10.0.0.236/trunk@65530 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 03:37:18 +00:00
beard%netscape.com
d19e518b56 added JSArray, GET_ELEMENT, SET_ELEMENT, changed some ops to dest/src.
git-svn-id: svn://10.0.0.236/trunk@65529 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 03:23:44 +00:00
beard%netscape.com
eb44d3ea34 added JSArray, comments.
git-svn-id: svn://10.0.0.236/trunk@65528 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 02:44:34 +00:00
beard%netscape.com
9dedd058cb Changed boilerplate, chmod -x
git-svn-id: svn://10.0.0.236/trunk@65527 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 02:29:07 +00:00
beard%netscape.com
15d3b6be0f converted NotALabel to an enum, so it obeys proper scoping rules.
git-svn-id: svn://10.0.0.236/trunk@65525 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 02:25:37 +00:00
rogerl%netscape.com
d40d777177 added interpreter & icodegenerator
git-svn-id: svn://10.0.0.236/trunk@65524 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 01:09:50 +00:00
rogerl%netscape.com
250e4699ba Fixed wacky tabs
git-svn-id: svn://10.0.0.236/trunk@65523 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 01:08:01 +00:00
rogerl%netscape.com
f8a5823b94 Added ICodeModule to collect extra info about executable chunks.
git-svn-id: svn://10.0.0.236/trunk@65522 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 01:04:55 +00:00
beard%netscape.com
3a3a84dc6b fixed LoadImmediate.
git-svn-id: svn://10.0.0.236/trunk@65521 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 00:57:28 +00:00
beard%netscape.com
bf8767518c reindented, introduced gc_map_allocator to hide platform differences
git-svn-id: svn://10.0.0.236/trunk@65520 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 00:52:59 +00:00
beard%netscape.com
dd8c036d33 conforming to MSVC++ allocators
git-svn-id: svn://10.0.0.236/trunk@65519 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 00:48:13 +00:00
cls%seawood.org
a80d7f57c8 Set SHORT_LIBNAME for 8.3 platforms.
git-svn-id: svn://10.0.0.236/trunk@65518 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 00:39:39 +00:00
despotdaemon%netscape.com
76ef22f835 Pseudo-automatic update of changes made by gerv@gerv.net.
git-svn-id: svn://10.0.0.236/trunk@65517 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 00:19:35 +00:00
mjudge%netscape.com
5d8cfb2393 a=leaf r=ftang. I will be more carefull with ime when doing selection.. I will be more carefull with ime...
git-svn-id: svn://10.0.0.236/trunk@65516 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-08 00:17:14 +00:00
nhotta%netscape.com
c1cd9d0105 Initialize the output buffer length in order to avoid infinite loop, bug 34859, r=ftang, a=leaf.
git-svn-id: svn://10.0.0.236/trunk@65515 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 23:58:59 +00:00
sspitzer%netscape.com
882b02a93c fix for #33749. first time compose window problems on linux. use skinnable menulist instead of html-select (kill two birds with one stone.) right-on=mscott, amen=leaf.
git-svn-id: svn://10.0.0.236/trunk@65514 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 23:47:31 +00:00
gagan%netscape.com
7b7e7d922a Some test changes to allow echoing requests at arbitrary locations in urlmap. You can now use ECHO [HTTPHeader] to display all headers (if HTTPHeader is not specified) or that header value as it came in the request. See <your-testserver>/echo for an example. Not in build (a=leaf)
git-svn-id: svn://10.0.0.236/trunk@65513 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 23:14:52 +00:00
Peter.VanderBeken%pandora.be
9b3878bbe5 Prevent multiple inclusion.
Fix class declaration.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@65512 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 23:00:35 +00:00
Peter.VanderBeken%pandora.be
276d072ae7 Use DOMString instead of String.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@65511 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 22:59:18 +00:00
rogerl%netscape.com
b66a335e7f Re-ordered instructions so destination is always first.
Changed labels to be struct * instead of ints.


git-svn-id: svn://10.0.0.236/trunk@65510 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 22:19:36 +00:00
rogerl%netscape.com
0d2d2befc2 fix invalid return in GC_free for win32 build
git-svn-id: svn://10.0.0.236/trunk@65509 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 21:58:33 +00:00
mscott%netscape.com
1229f5f777 backing out my bug fix because it appears to have broken the page cycler.
thanks to sspitzer for helping me figure this out.


git-svn-id: svn://10.0.0.236/trunk@65507 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 21:36:09 +00:00
rginda%netscape.com
f888771c6c #if out references to std::iterator to get gcc to compile
git-svn-id: svn://10.0.0.236/trunk@65506 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 21:11:40 +00:00
attinasi%netscape.com
3c9a929557 New Daily run data. not part of builds.
git-svn-id: svn://10.0.0.236/trunk@65505 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 20:30:07 +00:00
leaf%mozilla.org
6825eab444 removing incompatibly licensed source.
git-svn-id: svn://10.0.0.236/trunk@65504 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 20:14:28 +00:00
despotdaemon%netscape.com
be030a3bb3 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@65503 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 20:08:16 +00:00
mjudge%netscape.com
4d25156406 a=leaf. r=sfraser. fixing ime lockup. stupid mistake on my part
git-svn-id: svn://10.0.0.236/trunk@65502 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 19:32:46 +00:00
mscott%netscape.com
a1a3736941 Bug #34769 --> don't set the refferer as the original url on the channel in the webshell.
r=warren
a=leaf


git-svn-id: svn://10.0.0.236/trunk@65501 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 19:25:42 +00:00
waterson%netscape.com
fca444bc04 Bug 34726. Add an out parameter to ConflictSet::Add() that indicates whether the new instantiation triggered any new rules to be matched. The caller then uses this parameter to decide whether or not to add the key of a rule cluster to the 'newkeys' set. r=rjc, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65500 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 19:22:59 +00:00
cls%seawood.org
7241e7d876 Removing unused bitrotted file from BeOS build. Bug #34555. r=pavlov, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65499 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 19:21:19 +00:00
hyatt%netscape.com
0344ba8296 Backing out some global changes that cause sidebar horkage.
git-svn-id: svn://10.0.0.236/trunk@65498 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 18:38:04 +00:00
hyatt%netscape.com
366866a55f Fix double sidebar problem. Still don't understand why these rules would be required.
r=don


git-svn-id: svn://10.0.0.236/trunk@65497 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 18:29:21 +00:00
waterson%netscape.com
ee118c74c7 Bug 34408. Fix botched checkin that left '#if 0' in the code. a=leaf
git-svn-id: svn://10.0.0.236/trunk@65496 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 18:24:15 +00:00
robodan%netscape.com
bc21ec9bb8 Add a multi-OS build tool
git-svn-id: svn://10.0.0.236/trunk@65495 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 17:51:22 +00:00
erik%netscape.com
efe2ce4839 was dereferencing a NULL pointer for some fonts; discovered via Beta 1's
TalkBack; r=troy; a=leaf


git-svn-id: svn://10.0.0.236/trunk@65494 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 17:47:40 +00:00
rich.burridge%sun.com
550c4c2d2c Adjusted the be instruction to now branch to .invoke and not invoke (was
a missing symbol at link time).
a=leaf r=rogerl
Bug id #15604


git-svn-id: svn://10.0.0.236/trunk@65493 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 17:45:03 +00:00
Peter.VanderBeken%pandora.be
30702485f3 Obsolete.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@65492 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 10:36:35 +00:00
Peter.VanderBeken%pandora.be
bf187e46c5 Removing obsolete Create method. Renaming CID and PROGID defines. Move PROGID into header file. Add my copyright.
Not part of build yet. a=leaf


git-svn-id: svn://10.0.0.236/trunk@65491 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 10:35:05 +00:00
kvisco%ziplink.net
3f4955e164 checking in for Olivier Gerardin
git-svn-id: svn://10.0.0.236/trunk@65490 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 09:00:45 +00:00
kvisco%ziplink.net
abda4330f3 checking in for Olivier
git-svn-id: svn://10.0.0.236/trunk@65489 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 09:00:06 +00:00
kvisco%ziplink.net
ab2b94d44c Added scoping back in
git-svn-id: svn://10.0.0.236/trunk@65488 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 08:58:55 +00:00
kvisco%ziplink.net
1fa27063ab removed copyright for myself
git-svn-id: svn://10.0.0.236/trunk@65487 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 08:09:25 +00:00
beard%netscape.com
c1a72f96eb printing code in testObjects().
git-svn-id: svn://10.0.0.236/trunk@65486 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 04:59:57 +00:00
beard%netscape.com
974defe34d added code to print SAVE_NAME, NEW_OBJECT, GET_PROP, and SET_PROP iCodes.
git-svn-id: svn://10.0.0.236/trunk@65485 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 04:58:58 +00:00
beard%netscape.com
7e5b3ffe33 JSObject and its elements now allocated using gc_allocator<T> (XP_MAC only).
git-svn-id: svn://10.0.0.236/trunk@65484 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 04:39:50 +00:00
beard%netscape.com
860e0eb56b JSValues now using gc_allocator (XP_MAC only for now).
git-svn-id: svn://10.0.0.236/trunk@65483 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 04:38:18 +00:00
beard%netscape.com
35050e55d7 added gc library.
git-svn-id: svn://10.0.0.236/trunk@65482 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 04:36:38 +00:00
beard%netscape.com
34cc7ca2f2 prebuilt gc library for bootstrapping.
git-svn-id: svn://10.0.0.236/trunk@65481 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 04:35:14 +00:00
beard%netscape.com
b80c0a05d3 added stub implementations of GC entry points.
git-svn-id: svn://10.0.0.236/trunk@65480 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 04:00:21 +00:00
beard%netscape.com
e7deb28317 added failed gc_rebind, for future compilers to ponder.
git-svn-id: svn://10.0.0.236/trunk@65479 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 03:11:38 +00:00
beard%netscape.com
6b7c024d03 duh, can't use wide string constants on Linux
git-svn-id: svn://10.0.0.236/trunk@65478 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 03:08:20 +00:00
beard%netscape.com
14d0662d1c XP_MAC: no longer auto close upon exit (so we can see asserts, etc.). Renamed testInterpreter() to testFactorial(). Added testObjects(), which allocates an object, stores it in the global variable "global", assigns 0.0 to "global.counter", and finally defines a function "increment" which adds 1.0 to "global.counter" each time it is called.
git-svn-id: svn://10.0.0.236/trunk@65477 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 02:58:01 +00:00
beard%netscape.com
4543749474 Added preliminary object representation class JSObject, which is simply an STL map<String, JSValue> for now. Changed static globals to be a JSObject (can you say scope chain?). Implemented NEW_OBJECT, GET_PROP, and SET_PROP, all in terms of operations provided by JSObject. No GC (yet).
git-svn-id: svn://10.0.0.236/trunk@65476 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 02:52:07 +00:00
beard%netscape.com
36e56e8886 added forward declaration to class JSObject, and changed void* JSValue.ref to JSObject* JSValue.obj.
git-svn-id: svn://10.0.0.236/trunk@65475 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 02:47:53 +00:00
beard%netscape.com
d882c1dfe6 fix calls to template superclass for gcc
git-svn-id: svn://10.0.0.236/trunk@65474 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 02:45:33 +00:00
beard%netscape.com
733a7d7159 added NEW_OBJECT instruction. unified typedef GetProp, SetProp. changed typedef Return to class Return, added class NewObject. These classes automatically pass their opcode to their base-class, and look better in the debugger. Added a virtual destructor to Instruction() #ifdef DEBUG. Added newObject(), saveName() and setProperty() methods to ICodeGenerator.
git-svn-id: svn://10.0.0.236/trunk@65473 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 02:41:21 +00:00
beard%netscape.com
d7fbbfb982 added newObject(), saveName() and setProperty().
git-svn-id: svn://10.0.0.236/trunk@65472 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 02:41:08 +00:00
nelsonb%netscape.com
238246791c This file was not the source authorized by Paul Kocher of Cryptography
Research Inc for release on Mozilla.  It has been replaced by sha_fast.c.


git-svn-id: svn://10.0.0.236/trunk@65471 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 02:24:57 +00:00
nelsonb%netscape.com
722e157645 Switch freebl to use the sha1 sources authorized by Paul Kocher of
Cryptography Research Inc.


git-svn-id: svn://10.0.0.236/trunk@65470 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 02:22:47 +00:00
nelsonb%netscape.com
1a5ef0ac85 Make additional performance improvements, especially for big endian CPUs.
git-svn-id: svn://10.0.0.236/trunk@65469 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 01:14:06 +00:00
waldemar%netscape.com
e22e019484 Worked around Visual C++ bugs
git-svn-id: svn://10.0.0.236/trunk@65468 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 00:47:39 +00:00
davidm%netscape.com
a837246fb6 34713 Incorrect MIME type for .dtd files causes browser to not sta
r=sfraser a =jj


git-svn-id: svn://10.0.0.236/trunk@65466 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 00:31:04 +00:00
beard%netscape.com
a207c82fa2 needed to qualify isFieldKind
git-svn-id: svn://10.0.0.236/trunk@65465 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 00:24:42 +00:00
beard%netscape.com
a86bd6fe1d adding int to printCharBufferSize
git-svn-id: svn://10.0.0.236/trunk@65464 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 00:23:33 +00:00
waldemar%netscape.com
6206f33439 Fixed Mac MPW build
git-svn-id: svn://10.0.0.236/trunk@65463 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 00:06:05 +00:00
rginda%netscape.com
aeb31fc3c7 fix to include java version info on rhino(i|ms|msi) engines
git-svn-id: svn://10.0.0.236/trunk@65462 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 00:05:50 +00:00
waldemar%netscape.com
9ccf4f1672 Made Mac MPW js2 tool work
git-svn-id: svn://10.0.0.236/trunk@65461 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-07 00:05:23 +00:00
waldemar%netscape.com
03d030fe69 Added Buffer, BitSet, and implemented Formatters for output
git-svn-id: svn://10.0.0.236/trunk@65460 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 23:48:05 +00:00
waldemar%netscape.com
e8930953fc Implemented Formatters for output
git-svn-id: svn://10.0.0.236/trunk@65459 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 23:47:33 +00:00
waldemar%netscape.com
fc34fc49ba Implemented Formatters for output and added parseMember
git-svn-id: svn://10.0.0.236/trunk@65458 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 23:45:58 +00:00
waldemar%netscape.com
b5267e4d45 Fixed syntax errors
git-svn-id: svn://10.0.0.236/trunk@65457 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 23:43:08 +00:00
waldemar%netscape.com
9529ea9d27 Commented out syntax error
git-svn-id: svn://10.0.0.236/trunk@65456 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 23:40:47 +00:00
nelsonb%netscape.com
5d3b43045e Detect failure of NSS_Init.
git-svn-id: svn://10.0.0.236/trunk@65455 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 23:02:44 +00:00
repka%netscape.com
d2ae30fe63 Put "btoa" back into the built directories, since the underlying code
is now available in nss/lib.


git-svn-id: svn://10.0.0.236/trunk@65454 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:45:50 +00:00
saari%netscape.com
a184d87233 Checking in fix for Waterson for M15 bug #34464, Mac menus crashing after you close a window. Waterson did the work, I just reviewed. r=saari, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65453 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:43:18 +00:00
repka%netscape.com
19e2f0bcca Build new base64 encoder implementation.
git-svn-id: svn://10.0.0.236/trunk@65452 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:41:21 +00:00
dbragg%netscape.com
feb6571090 Oops. Was checking into a branch that was created in the io directory only.
Backing out.


git-svn-id: svn://10.0.0.236/trunk@65451 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:40:25 +00:00
rogerl%netscape.com
8ea5e6aebd Changed compare/branch handling to determine last compare opcode.
Made returnStatement a member in ICG.


git-svn-id: svn://10.0.0.236/trunk@65450 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:40:17 +00:00
Peter.VanderBeken%pandora.be
bb24b2f07b New module file for transformiix. Not part of build yet.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@65449 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:39:54 +00:00
repka%netscape.com
238efb4902 Removed BTOA_ConvertItemToAscii (now defined in nssb64e.c, using new
base64 encoder implementation).


git-svn-id: svn://10.0.0.236/trunk@65448 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:38:27 +00:00
Peter.VanderBeken%pandora.be
9d9091443f Fixing class declaration. Not part of build yet.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@65447 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:37:48 +00:00
Peter.VanderBeken%pandora.be
7ed19d2d00 Fixing class declarations. Not part of build yet.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@65446 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:36:39 +00:00
dbragg%netscape.com
d0fdac4dbe checked in to XPInstall IFile branch
git-svn-id: svn://10.0.0.236/trunk@65445 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:35:05 +00:00
hyatt%netscape.com
598802b0b1 Fixing the XBL event handler bug and the menu accelerator bug (plus getting menus
looking normal again). r=brendan, ben a=leaf


git-svn-id: svn://10.0.0.236/trunk@65444 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:33:41 +00:00
hyatt%netscape.com
6d45452ece Fixing an XBL event handling bug and the menu accelerator bug. r=brendan, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65443 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:32:39 +00:00
hyatt%netscape.com
3678a102a6 Fixing an XBL event handling bug and a menu shortcut bug. r=brendan, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65442 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:32:36 +00:00
waterson%netscape.com
8f1bbc4ff7 Bug 34714. Only add 'default' containment properties if the 'containment' attribute *isn't* set on the root. r=rjc, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65440 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 22:01:32 +00:00
waterson%netscape.com
b7c9edaaf2 Bug 34408. Force <treeitem> to reframe when open/close attribute changes. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@65439 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:53:12 +00:00
pnunn%netscape.com
29dec7c37d bug#34801: put a frame notification back at end of frame decoding. r:rods, a:leaf.
git-svn-id: svn://10.0.0.236/trunk@65438 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:51:58 +00:00
rginda%netscape.com
5c75d29ae2 punctuation fix
git-svn-id: svn://10.0.0.236/trunk@65437 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:50:03 +00:00
ruslan%netscape.com
03171d1302 Fix nsBinaryStream::ReadStringZ which used to add extra '\0' thus causing
tje string lenth to be off by 1 and all these nasty nsString warnings;
a=leaf,r=smfr


git-svn-id: svn://10.0.0.236/trunk@65436 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:28:09 +00:00
rginda%netscape.com
f029c602eb -- NOT PART OF THE DEFAULT BUILD --
Added -c (stackchunksize) option to the js shell, for testing purposes
r=pschwartau


git-svn-id: svn://10.0.0.236/trunk@65435 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:19:56 +00:00
rginda%netscape.com
bcba2e4de9 added -o/--opt options to pass args to js engine
git-svn-id: svn://10.0.0.236/trunk@65434 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:14:23 +00:00
terry%mozilla.org
1c8f76fb73 Queries should fully qualify the field name, in case there is more
than one table that have a field with that name.


git-svn-id: svn://10.0.0.236/trunk@65433 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 21:09:02 +00:00
rginda%netscape.com
0dc5b9ae1a remove +x mode.
Not part of the default build.


git-svn-id: svn://10.0.0.236/trunk@65432 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 20:27:22 +00:00
rich.burridge%sun.com
2b16c9719e Fix to prevent tail-call optimisation. Fix also includes adjustment to
stack size, plus ASM niceities.
a=leaf r=rogerl
Bug id #15604


git-svn-id: svn://10.0.0.236/trunk@65431 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 18:28:06 +00:00
ashuk%eng.sun.com
978a03597e Made changes for accomodating new CurrentPage Find features into
webclient

a=ashuk
r=edburns
Bug=20659

Ashu


git-svn-id: svn://10.0.0.236/trunk@65430 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 17:45:27 +00:00
ashuk%eng.sun.com
b8d80f0eaa changed signatures of functions in CurrentPage interface
a=ashuk
r=edburns
Bug=20659

Ashu


git-svn-id: svn://10.0.0.236/trunk@65429 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 17:42:46 +00:00
ashuk%eng.sun.com
0056fc3244 Added stuff to implement Find features in CurrentPage interface
a=ashuk
r=edburns
Bug=20659

_Ashu


git-svn-id: svn://10.0.0.236/trunk@65428 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 17:39:01 +00:00
ashuk%eng.sun.com
1703e1e146 Added AWT code to create a generic Dialog box. Used this to create a
Find Dialog Box for the Find features in the CurrentPage interface

a=ashuk
r=edburns
Bug=20659

Ashu


git-svn-id: svn://10.0.0.236/trunk@65427 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 17:36:57 +00:00
ashuk%eng.sun.com
f3ef86993e Made changes in EMWIndow.java and EmbeddedMozilla.java to create a better
GUI with menus for creating and closing new windows and for Find features.

Ashu

a=ashuk
r=edburns
Bug=20659


git-svn-id: svn://10.0.0.236/trunk@65426 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 17:33:49 +00:00
kvisco%ziplink.net
15152d130c updated Olivier's information
git-svn-id: svn://10.0.0.236/trunk@65425 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 08:19:39 +00:00
kvisco%ziplink.net
faab154f76 Moved files to source/xslt and source/xpath
git-svn-id: svn://10.0.0.236/trunk@65424 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 07:57:14 +00:00
kvisco%ziplink.net
e087ec3f85 Changed directory structure, changed name of XSLProcessor to XSLTProcessor
git-svn-id: svn://10.0.0.236/trunk@65423 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 07:47:44 +00:00
pavlov%netscape.com
bc2d60ede1 fix for colorpicker not working r=ben a=leaf
git-svn-id: svn://10.0.0.236/trunk@65422 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 06:49:10 +00:00
nelsonb%netscape.com
489dce75cb Convert to BLAPI interface. Make very minor optimizations.
git-svn-id: svn://10.0.0.236/trunk@65421 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 06:07:37 +00:00
alecf%netscape.com
1167bbd9d1 update filter UI from pre-beta1 days
not part of build!


git-svn-id: svn://10.0.0.236/trunk@65420 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 05:24:56 +00:00
edburns%acm.org
64215a475e a=leaf
r=edburns
Author = snizinsk@us.ibm.com

bug: http://bugzilla.mozilla.org/show_bug.cgi?id=34762

#defines for Optlink calling convention


git-svn-id: svn://10.0.0.236/trunk@65419 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 04:21:51 +00:00
edburns%acm.org
afc4214e74 a=leaf
r=edburns
Author = snizinsk@us.ibm.com

bug: http://bugzilla.mozilla.org/show_bug.cgi?id=34762

Use PR_CALLBACK on thread_starter


git-svn-id: svn://10.0.0.236/trunk@65418 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 04:20:32 +00:00
sspitzer%netscape.com
578e7970d0 fix for #33471. fix by mscott, r=sspitzer, a=leaf. stop now works again for news, pop & smtp.
git-svn-id: svn://10.0.0.236/trunk@65417 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 03:23:21 +00:00
robodan%netscape.com
7da0e52342 Add proper reconnect concept
git-svn-id: svn://10.0.0.236/trunk@65416 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 03:21:53 +00:00
beard%netscape.com
c8788c23eb Added interpreter.o to build of js2.
git-svn-id: svn://10.0.0.236/trunk@65415 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 03:05:12 +00:00
beard%netscape.com
d8212dd27a cases for SUBTRACT, MULTIPLY, DIVIDE in print().
git-svn-id: svn://10.0.0.236/trunk@65414 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 03:02:24 +00:00
beard%netscape.com
e431bb0ff8 added testInterpreter(), which computes factorial using iCode (woo hoo!)
git-svn-id: svn://10.0.0.236/trunk@65413 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 02:59:16 +00:00
beard%netscape.com
826b63caba more arithmetic, conditional branches, return instruction.
git-svn-id: svn://10.0.0.236/trunk@65412 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 02:58:22 +00:00
beard%netscape.com
beb6ce856d added new instructions, SUBTRACT, MULTIPLY, DIVICE, BRANCH_*, and RETURN. Changed LoadVar/SaveVar to have uint32 operand. Added optional paramter branchOp to ICodeGenerator::branchConditional() & endWhileExpression() to parametrize branch kind. Added complete(Register) to generate a RETURN instruction.
git-svn-id: svn://10.0.0.236/trunk@65411 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 02:57:42 +00:00
beard%netscape.com
82df346ee5 added a ref field, changed default constructor to initialize f64.
git-svn-id: svn://10.0.0.236/trunk@65410 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 02:52:51 +00:00
nelsonb%netscape.com
e4e6791139 Check in original SHA implementation sources on behalf of Paul Kocher Cryptography Research, Inc. paul@cryptography.com
git-svn-id: svn://10.0.0.236/trunk@65409 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 02:48:30 +00:00
mccabe%netscape.com
5b3b220e27 Fix console by updating component request from unused 'consoleservice' to 'mozilla.consoleservice.1'. Oversight!
git-svn-id: svn://10.0.0.236/trunk@65408 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 02:08:18 +00:00
jim_nance%yahoo.com
e451d3b332 Someone broke jprof. This fixes it. This (obviously) should
not break anything, but if it does, give me a call at 919.859.3885.
a,r=leaf


git-svn-id: svn://10.0.0.236/trunk@65407 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 01:46:07 +00:00
akkana%netscape.com
1ada668b89 24360: make mail compose window remember its size/position. r=cmanske,a=leaf
git-svn-id: svn://10.0.0.236/trunk@65406 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 01:22:41 +00:00
jim_nance%yahoo.com
750fa76806 Removed extraneous parenthesis which caused make to spit warnings.
r,a=leaf


git-svn-id: svn://10.0.0.236/trunk@65403 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 01:18:34 +00:00
cmanske%netscape.com
20170b35d2 Fixed spell checker bug 34479. r=akkana, a=leaf
git-svn-id: svn://10.0.0.236/trunk@65402 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 01:17:54 +00:00
repka%netscape.com
4875e07b30 Fixed some typos and inconsistencies.
git-svn-id: svn://10.0.0.236/trunk@65401 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:42:49 +00:00
repka%netscape.com
fb068397fb First cut at replacement for base64 encoder.
git-svn-id: svn://10.0.0.236/trunk@65400 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:39:49 +00:00
repka%netscape.com
5314d8e5ca - Added an error check and comment complementary to thayes's previous change
(same as I had already made in my version, but he beat me to checking it in).
- Some miscellaneous clean-up (typos, really).


git-svn-id: svn://10.0.0.236/trunk@65399 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:38:12 +00:00
danm%netscape.com
85c6799dd2 another tweak for bug 34631
git-svn-id: svn://10.0.0.236/trunk@65398 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:37:51 +00:00
thayes%netscape.com
3bea4efd2f Initialize SECItem values in ATOB_ routines to avoid PR_Assert for previously
allocated data buffers in the NSS versions of these routines.


git-svn-id: svn://10.0.0.236/trunk@65397 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:26:24 +00:00
thayes%netscape.com
1267e8cd26 Change handling of hash table for OSCP hashes to delete both hash key and
associated value in the hashtable "free entry" routine.  Fixes a memory leak.
(Re Netscape bug: 390117)


git-svn-id: svn://10.0.0.236/trunk@65396 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:24:43 +00:00
pavlov%netscape.com
ccf012c877 fix build problems
git-svn-id: svn://10.0.0.236/trunk@65395 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:17:39 +00:00
repka%netscape.com
9ae1a5bad4 Add a trailing CRLF; the encoder doesn't.
git-svn-id: svn://10.0.0.236/trunk@65394 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:15:54 +00:00
rogerl%netscape.com
ce4eff7437 Resolved branch targets
git-svn-id: svn://10.0.0.236/trunk@65393 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-06 00:04:11 +00:00
beard%netscape.com
e1e3d42b75 removed usage of labels (duh)
git-svn-id: svn://10.0.0.236/trunk@65392 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:57:51 +00:00
evaughan%netscape.com
a4bb7357fa Fixes for bugs
#34079 (context menus)
#34673 (grid crashes)
(Crash opening many of the editor dialogs)

-r hyatt -a leaf


git-svn-id: svn://10.0.0.236/trunk@65391 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:46:48 +00:00
bruce%cybersight.com
fa90ceb20a Fix build bustage. a=leaf,mulled=dveditz
git-svn-id: svn://10.0.0.236/trunk@65390 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:43:49 +00:00
rogerl%netscape.com
3580a148de typedef'd instructions
git-svn-id: svn://10.0.0.236/trunk@65389 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:41:58 +00:00
svn%xmlterm.org
1231c8bf78 xmlterm changes only, should not affect default SeaMonkey build;
(blanket a=leaf)
Fixed minor typos causing Solaris bustage


git-svn-id: svn://10.0.0.236/trunk@65388 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:40:39 +00:00
jst%netscape.com
fd4153a968 Fixing unix objdir build bustage. r,a=leaf
git-svn-id: svn://10.0.0.236/trunk@65387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:26:15 +00:00
rjc%netscape.com
9445d5ad26 Fix bug # 34557: choosing a new search category needs to update the list of engines. Review: waterson Approval: leaf
git-svn-id: svn://10.0.0.236/trunk@65386 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:16:22 +00:00
danm%netscape.com
272c27c2de bug 34631 -- host window was forcing itself above popup menus created from clicks in window content. r=saari a=leaf
git-svn-id: svn://10.0.0.236/trunk@65385 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:11:44 +00:00
alecf%netscape.com
2631283d4e fix for #34199 r=sspitzer a=leaf
when enumerating preferences, build up the list before the callback is called, instead of while the hash table is being enumerated


git-svn-id: svn://10.0.0.236/trunk@65384 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:09:04 +00:00
evaughan%netscape.com
88ca55b802 Fix for PDT bugs #34056, #34280 (endor focus bug and tree sorting bug)
git-svn-id: svn://10.0.0.236/trunk@65383 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 23:02:29 +00:00
jim_nance%yahoo.com
8116cad07e Fix for bug 34543. Compile problem under Tru64 Unix.
a=leaf.  This is #ifdefed for Tru64 Unix, but if it causes
bustage and I am not on IRC, you can get me at 919.859.3885


git-svn-id: svn://10.0.0.236/trunk@65382 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 22:37:01 +00:00
robodan%netscape.com
36ea13f657 Add some initial series support
git-svn-id: svn://10.0.0.236/trunk@65381 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 21:55:54 +00:00
edburns%acm.org
6bd98defd0 bug: http://bugzilla.mozilla.org/show_bug.cgi?id=34665
This change replaces all printfs in src_moz with calls to PR_LOG.  No
printfs should appear in src_moz anymore.

You won't see any console output from native code unless you define

NSPR_LOG_MODULES=webclient:3

in your environment.  Furthermore, if you want PR_LOG statements in
webclient to go to a file instead, define

WEBCLIENT_LOG_FILE=C:\VALIDDIR\filename.txt

in your environment.  This file will get created fresh each time, since
PR_LOG uses fopen(filename, "w").

New Files:

I've created ns_globals.h, included from jni_util.h.  ns_globals.h holds
an extern * to a struct used in the PR_LOG calls.

Significant changes:

WrapperFactoryImpl.cpp

nativeAppInitialize(){

Added:

#if DEBUG_RAPTOR_CANVAS
    prLogModuleInfo = PR_NewLogModule("webclient");
    const char *webclientLogFile = PR_GetEnv("WEBCLIENT_LOG_FILE");
    if (nsnull != webclientLogFile) {
        PR_SetLogFile(webclientLogFile);
        // If this fails, it just goes to stdout/stderr
    }
#endif
}

All the other files in this checkin follow the this pattern:

Before checkin:

       printf("InitMozillaStuff(%lx): Create the Event Queue for the UI thread...\n",
               initContext);

After checkin:

    if (prLogModuleInfo) {
        PR_LOG(prLogModuleInfo, 3,
               ("InitMozillaStuff(%lx): Create the Event Queue for the UI thread...\n",
               initContext));
    }

See http://lxr.mozilla.org/mozilla/source/nsprpub/pr/include/prlog.h#190

for the definition of PR_LOG


git-svn-id: svn://10.0.0.236/trunk@65380 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 21:38:27 +00:00
beard%netscape.com
e095d84ccd Added default case to avoid warning
git-svn-id: svn://10.0.0.236/trunk@65379 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 21:26:01 +00:00
mscott%netscape.com
6a0e14a348 Bug #34561 --> we were reporting false timeouts with connection based protocols
r=ruslan,warren
a=granrose


git-svn-id: svn://10.0.0.236/trunk@65378 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 21:15:44 +00:00
beard%netscape.com
a91f66f391 added "globals", labels parameter for branches, combined some Instruction_N<> typedefs.
git-svn-id: svn://10.0.0.236/trunk@65377 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 20:33:41 +00:00
beard%netscape.com
c8c4fce31f added labels parameter.
git-svn-id: svn://10.0.0.236/trunk@65376 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 20:29:09 +00:00
beard%netscape.com
e84810f504 added Instruction::opcode(), and Instruction_N::oN(), and ICodeGenerator::getLabels().
git-svn-id: svn://10.0.0.236/trunk@65375 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 20:28:17 +00:00
beard%netscape.com
e7393a42b0 moved declaration of lgBasicAlignment & basicAlignment inside the include guard.
git-svn-id: svn://10.0.0.236/trunk@65374 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 20:26:49 +00:00
wtc%netscape.com
2c58e6354d Bugzilla bug #29427: restore the realclean/clobber_all targets to their
original behavior.
Modified files: Makefile, Makefile.in, config/rules.mk


git-svn-id: svn://10.0.0.236/trunk@65373 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 20:18:13 +00:00
despotdaemon%netscape.com
88e2ee342c Pseudo-automatic update of changes made by rich.burridge@sun.com.
git-svn-id: svn://10.0.0.236/trunk@65372 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 19:25:09 +00:00
edburns%acm.org
2decd663c1 DOESN'T IMPACT SEAMONKEY since it's inside
!ifdef JDIRS.

a=leaf
r=leaf
author=Steven Green <steven@surfcast.com>

bug: http://bugzilla.mozilla.org/show_bug.cgi?id=34614

Make it so clobber_all, as well as clobber: causes java .class files
in packages defined in JDIRS to be deleted.


git-svn-id: svn://10.0.0.236/trunk@65371 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 18:56:00 +00:00
rogerl%netscape.com
5e575e0c0a added missing semi in win32 case
git-svn-id: svn://10.0.0.236/trunk@65370 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 18:20:02 +00:00
beard%netscape.com
98eab49b31 added interpreter.cpp/.h
git-svn-id: svn://10.0.0.236/trunk@65369 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 18:06:04 +00:00
despotdaemon%netscape.com
eea46ae431 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@65368 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 18:04:33 +00:00
evaughan%netscape.com
9429071437 Last solaris build bustage fix.
git-svn-id: svn://10.0.0.236/trunk@65367 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 08:20:24 +00:00
evaughan%netscape.com
7f0295183a fix for solaris
git-svn-id: svn://10.0.0.236/trunk@65366 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 07:35:13 +00:00
evaughan%netscape.com
eb756173af Possible fix for solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@65365 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 07:27:59 +00:00
220 changed files with 17690 additions and 41520 deletions

View File

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

@@ -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 = protocol client
include $(topsrcdir)/config/rules.mk

View File

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

View File

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@@ -0,0 +1,99 @@
/*
* 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;
}

Binary file not shown.

View File

@@ -0,0 +1,3 @@
#include "MacPrefix.h"

View File

@@ -0,0 +1,2 @@
#include "MacPrefix_debug.h"

Binary file not shown.

View File

@@ -1,3 +1,4 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
@@ -9,25 +10,18 @@
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code,
# released March 31, 1998.
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All
# 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):
# Sean Su <ssu@netscape.com>
DEPTH=..\..\..
include <$(DEPTH)/config/config.mak>
DIRS=$(DIRS) nsinstall \
!if "$(WINOS)"=="WINNT"
nsztool \
!endif
setup \
setuprsc \
ren8dot3
DIRS = client protocol
include <$(DEPTH)\config\rules.mak>

View File

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

@@ -0,0 +1,3 @@
obscure.h
rsrcids.h
ssmdefs.h

View File

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

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

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

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

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

View File

@@ -0,0 +1,620 @@
/* -*- 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 __MESSAGES_H__
#define __MESSAGES_H__
#include "newproto.h"
typedef struct SingleNumMessage {
CMInt32 value;
} SingleNumMessage;
extern CMTMessageTemplate SingleNumMessageTemplate[];
typedef struct SingleStringMessage {
char *string;
} SingleStringMessage;
extern CMTMessageTemplate SingleStringMessageTemplate[];
typedef struct SingleItemMessage {
CMTItem item;
} SingleItemMessage;
extern CMTMessageTemplate SingleItemMessageTemplate[];
typedef struct HelloRequest {
CMInt32 version;
CMInt32 policy;
CMBool doesUI;
char *profile;
char* profileDir;
} HelloRequest;
extern CMTMessageTemplate HelloRequestTemplate[];
typedef struct HelloReply {
CMInt32 result;
CMInt32 sessionID;
CMInt32 version;
CMInt32 httpPort;
CMInt32 policy;
CMTItem nonce;
char *stringVersion;
} HelloReply;
extern CMTMessageTemplate HelloReplyTemplate[];
typedef struct SSLDataConnectionRequest {
CMInt32 flags;
CMInt32 port;
char *hostIP;
char *hostName;
CMBool forceHandshake;
CMTItem clientContext;
} SSLDataConnectionRequest;
extern CMTMessageTemplate SSLDataConnectionRequestTemplate[];
typedef struct TLSDataConnectionRequest {
CMInt32 port;
char* hostIP;
char* hostName;
} TLSDataConnectionRequest;
extern CMTMessageTemplate TLSDataConnectionRequestTemplate[];
typedef struct TLSStepUpRequest {
CMUint32 connID;
CMTItem clientContext;
} TLSStepUpRequest;
extern CMTMessageTemplate TLSStepUpRequestTemplate[];
typedef struct ProxyStepUpRequest {
CMUint32 connID;
CMTItem clientContext;
char* url;
} ProxyStepUpRequest;
extern CMTMessageTemplate ProxyStepUpRequestTemplate[];
typedef struct PKCS7DataConnectionRequest {
CMUint32 resID;
CMTItem clientContext;
} PKCS7DataConnectionRequest;
extern CMTMessageTemplate PKCS7DataConnectionRequestTemplate[];
typedef struct DataConnectionReply {
CMInt32 result;
CMInt32 connID;
CMInt32 port;
} DataConnectionReply;
extern CMTMessageTemplate DataConnectionReplyTemplate[];
typedef struct UIEvent {
CMInt32 resourceID;
CMInt32 width;
CMInt32 height;
CMBool isModal;
char *url;
CMTItem clientContext;
} UIEvent;
extern CMTMessageTemplate UIEventTemplate[];
extern CMTMessageTemplate OldUIEventTemplate[];
typedef struct TaskCompletedEvent {
CMInt32 resourceID;
CMInt32 numTasks;
CMInt32 result;
} TaskCompletedEvent;
extern CMTMessageTemplate TaskCompletedEventTemplate[];
typedef struct VerifyDetachedSigRequest {
CMInt32 pkcs7ContentID;
CMInt32 certUsage;
CMInt32 hashAlgID;
CMBool keepCert;
CMTItem hash;
} VerifyDetachedSigRequest;
extern CMTMessageTemplate VerifyDetachedSigRequestTemplate[];
typedef struct CreateSignedRequest {
CMInt32 scertRID;
CMInt32 ecertRID;
CMInt32 dig_alg;
CMTItem digest;
} CreateSignedRequest;
extern CMTMessageTemplate CreateSignedRequestTemplate[];
typedef struct CreateContentInfoReply {
CMInt32 ciRID;
CMInt32 result;
CMInt32 errorCode;
} CreateContentInfoReply;
extern CMTMessageTemplate CreateContentInfoReplyTemplate[];
typedef struct CreateEncryptedRequest {
CMInt32 scertRID;
CMInt32 nrcerts;
CMInt32 *rcertRIDs;
} CreateEncryptedRequest;
extern CMTMessageTemplate CreateEncryptedRequestTemplate[];
typedef struct CreateResourceRequest {
CMInt32 type;
CMTItem params;
} CreateResourceRequest;
extern CMTMessageTemplate CreateResourceRequestTemplate[];
typedef struct CreateResourceReply {
CMInt32 result;
CMInt32 resID;
} CreateResourceReply;
extern CMTMessageTemplate CreateResourceReplyTemplate[];
typedef struct GetAttribRequest {
CMInt32 resID;
CMInt32 fieldID;
} GetAttribRequest;
extern CMTMessageTemplate GetAttribRequestTemplate[];
typedef struct GetAttribReply {
CMInt32 result;
SSMAttributeValue value;
} GetAttribReply;
extern CMTMessageTemplate GetAttribReplyTemplate[];
typedef struct SetAttribRequest {
CMInt32 resID;
CMInt32 fieldID;
SSMAttributeValue value;
} SetAttribRequest;
extern CMTMessageTemplate SetAttribRequestTemplate[];
typedef struct PickleResourceReply {
CMInt32 result;
CMTItem blob;
} PickleResourceReply;
extern CMTMessageTemplate PickleResourceReplyTemplate[];
typedef struct UnpickleResourceRequest {
CMInt32 resourceType;
CMTItem resourceData;
} UnpickleResourceRequest;
extern CMTMessageTemplate UnpickleResourceRequestTemplate[];
typedef struct UnpickleResourceReply {
CMInt32 result;
CMInt32 resID;
} UnpickleResourceReply;
extern CMTMessageTemplate UnpickleResourceReplyTemplate[];
typedef struct PickleSecurityStatusReply {
CMInt32 result;
CMInt32 securityLevel;
CMTItem blob;
} PickleSecurityStatusReply;
extern CMTMessageTemplate PickleSecurityStatusReplyTemplate[];
typedef struct DupResourceReply {
CMInt32 result;
CMUint32 resID;
} DupResourceReply;
extern CMTMessageTemplate DupResourceReplyTemplate[];
typedef struct DestroyResourceRequest {
CMInt32 resID;
CMInt32 resType;
} DestroyResourceRequest;
extern CMTMessageTemplate DestroyResourceRequestTemplate[];
typedef struct VerifyCertRequest {
CMInt32 resID;
CMInt32 certUsage;
} VerifyCertRequest;
extern CMTMessageTemplate VerifyCertRequestTemplate[];
typedef struct AddTempCertToDBRequest {
CMInt32 resID;
char *nickname;
CMInt32 sslFlags;
CMInt32 emailFlags;
CMInt32 objSignFlags;
} AddTempCertToDBRequest;
extern CMTMessageTemplate AddTempCertToDBRequestTemplate[];
typedef struct MatchUserCertRequest {
CMInt32 certType;
CMInt32 numCANames;
char **caNames;
} MatchUserCertRequest;
extern CMTMessageTemplate MatchUserCertRequestTemplate[];
typedef struct MatchUserCertReply {
CMInt32 numCerts;
CMInt32 *certs;
} MatchUserCertReply;
extern CMTMessageTemplate MatchUserCertReplyTemplate[];
typedef struct EncodeCRMFReqRequest {
CMInt32 numRequests;
CMInt32 * reqIDs;
} EncodeCRMFReqRequest;
extern CMTMessageTemplate EncodeCRMFReqRequestTemplate[];
typedef struct CMMFCertResponseRequest {
char *nickname;
char *base64Der;
CMBool doBackup;
CMTItem clientContext;
} CMMFCertResponseRequest;
extern CMTMessageTemplate CMMFCertResponseRequestTemplate[];
typedef struct PasswordRequest {
CMInt32 tokenKey;
char *prompt;
CMTItem clientContext;
} PasswordRequest;
extern CMTMessageTemplate PasswordRequestTemplate[];
typedef struct PasswordReply {
CMInt32 result;
CMInt32 tokenID;
char * passwd;
} PasswordReply;
extern CMTMessageTemplate PasswordReplyTemplate[];
typedef struct KeyPairGenRequest {
CMInt32 keyGenCtxtID;
CMInt32 genMechanism;
CMInt32 keySize;
CMTItem params;
} KeyPairGenRequest;
extern CMTMessageTemplate KeyPairGenRequestTemplate[];
typedef struct DecodeAndCreateTempCertRequest {
CMInt32 type;
CMTItem cert;
} DecodeAndCreateTempCertRequest;
extern CMTMessageTemplate DecodeAndCreateTempCertRequestTemplate[];
typedef struct GenKeyOldStyleRequest {
char *choiceString;
char *challenge;
char *typeString;
char *pqgString;
} GenKeyOldStyleRequest;
extern CMTMessageTemplate GenKeyOldStyleRequestTemplate[];
typedef struct GenKeyOldStyleTokenRequest {
CMInt32 rid;
CMInt32 numtokens;
char ** tokenNames;
} GenKeyOldStyleTokenRequest;
extern CMTMessageTemplate GenKeyOldStyleTokenRequestTemplate[];
typedef struct GenKeyOldStyleTokenReply {
CMInt32 rid;
CMBool cancel;
char * tokenName;
} GenKeyOldStyleTokenReply;
extern CMTMessageTemplate GenKeyOldStyleTokenReplyTemplate[];
typedef struct GenKeyOldStylePasswordRequest {
CMInt32 rid;
char * tokenName;
CMBool internal;
CMInt32 minpwdlen;
CMInt32 maxpwdlen;
} GenKeyOldStylePasswordRequest;
extern CMTMessageTemplate GenKeyOldStylePasswordRequestTemplate[];
typedef struct GenKeyOldStylePasswordReply {
CMInt32 rid;
CMBool cancel;
char * password;
} GenKeyOldStylePasswordReply;
extern CMTMessageTemplate GenKeyOldStylePasswordReplyTemplate[];
typedef struct GetKeyChoiceListRequest {
char *type;
char *pqgString;
} GetKeyChoiceListRequest;
extern CMTMessageTemplate GetKeyChoiceListRequestTemplate[];
typedef struct GetKeyChoiceListReply {
CMInt32 nchoices;
char **choices;
} GetKeyChoiceListReply;
extern CMTMessageTemplate GetKeyChoiceListReplyTemplate[];
typedef struct AddNewSecurityModuleRequest {
char *moduleName;
char *libraryPath;
CMInt32 pubMechFlags;
CMInt32 pubCipherFlags;
} AddNewSecurityModuleRequest;
extern CMTMessageTemplate AddNewSecurityModuleRequestTemplate[];
typedef struct FilePathRequest {
CMInt32 resID;
char *prompt;
CMBool getExistingFile;
char *fileRegEx;
} FilePathRequest;
extern CMTMessageTemplate FilePathRequestTemplate[];
typedef struct FilePathReply {
CMInt32 resID;
char *filePath;
} FilePathReply;
extern CMTMessageTemplate FilePathReplyTemplate[];
typedef struct PasswordPromptReply {
CMInt32 resID;
char *promptReply;
} PasswordPromptReply;
extern CMTMessageTemplate PasswordPromptReplyTemplate[];
typedef struct SignTextRequest {
CMInt32 resID;
char *stringToSign;
char *hostName;
char *caOption;
CMInt32 numCAs;
char** caNames;
} SignTextRequest;
extern CMTMessageTemplate SignTextRequestTemplate[];
typedef struct GetLocalizedTextReply {
CMInt32 whichString;
char *localizedString;
} GetLocalizedTextReply;
extern CMTMessageTemplate GetLocalizedTextReplyTemplate[];
typedef struct ImportCertReply {
CMInt32 result;
CMInt32 resID;
} ImportCertReply;
extern CMTMessageTemplate ImportCertReplyTemplate[];
typedef struct PromptRequest {
CMInt32 resID;
char *prompt;
CMTItem clientContext;
} PromptRequest;
extern CMTMessageTemplate PromptRequestTemplate[];
typedef struct PromptReply {
CMInt32 resID;
CMBool cancel;
char *promptReply;
} PromptReply;
extern CMTMessageTemplate PromptReplyTemplate[];
typedef struct RedirectCompareReqeust {
CMTItem socketStatus1Data;
CMTItem socketStatus2Data;
} RedirectCompareRequest;
extern CMTMessageTemplate RedirectCompareRequestTemplate[];
typedef struct DecodeAndAddCRLRequest {
CMTItem derCrl;
CMUint32 type;
char *url;
} DecodeAndAddCRLRequest;
extern CMTMessageTemplate DecodeAndAddCRLRequestTemplate[];
typedef struct SecurityAdvisorRequest {
CMInt32 infoContext;
CMInt32 resID;
char * hostname;
char * senderAddr;
CMUint32 encryptedP7CInfo;
CMUint32 signedP7CInfo;
CMInt32 decodeError;
CMInt32 verifyError;
CMBool encryptthis;
CMBool signthis;
CMInt32 numRecipients;
char ** recipients;
} SecurityAdvisorRequest;
extern CMTMessageTemplate SecurityAdvisorRequestTemplate[];
/* "SecurityConfig" javascript related message templates */
typedef struct SCAddTempCertToPermDBRequest {
CMTItem certKey;
char* trustStr;
char* nickname;
} SCAddTempCertToPermDBRequest;
extern CMTMessageTemplate SCAddTempCertToPermDBRequestTemplate[];
typedef struct SCDeletePermCertsRequest {
CMTItem certKey;
CMBool deleteAll;
} SCDeletePermCertsRequest;
extern CMTMessageTemplate SCDeletePermCertsRequestTemplate[];
typedef struct TimeMessage {
CMInt32 year;
CMInt32 month;
CMInt32 day;
CMInt32 hour;
CMInt32 minute;
CMInt32 second;
} TimeMessage;
extern CMTMessageTemplate TimeMessageTemplate[];
typedef struct CertEnumElement {
char* name;
CMTItem certKey;
} CertEnumElement;
typedef struct SCCertIndexEnumReply {
int length;
CertEnumElement* list;
} SCCertIndexEnumReply;
extern CMTMessageTemplate SCCertIndexEnumReplyTemplate[];
/* Test message */
typedef struct TestListElement {
char * name;
char * value;
} TestListElement;
typedef struct TestList {
char *listName;
int numElements;
TestListElement *elements;
} TestList;
extern CMTMessageTemplate TestListTemplate[];
/* Preference-related structs */
typedef struct SetPrefElement {
char* key;
char* value;
CMInt32 type;
} SetPrefElement;
typedef struct SetPrefListMessage {
int length;
SetPrefElement* list;
} SetPrefListMessage;
extern CMTMessageTemplate SetPrefListMessageTemplate[];
typedef struct GetPrefElement {
char* key;
CMInt32 type;
} GetPrefElement;
typedef struct GetPrefListRequest {
int length;
GetPrefElement* list;
} GetPrefListRequest;
extern CMTMessageTemplate GetPrefListRequestTemplate[];
typedef struct GetCertExtension {
CMUint32 resID;
CMUint32 extension;
} GetCertExtension;
extern CMTMessageTemplate GetCertExtensionTemplate[];
typedef struct HTMLCertInfoRequest {
CMUint32 certID;
CMUint32 showImages;
CMUint32 showIssuer;
} HTMLCertInfoRequest;
extern CMTMessageTemplate HTMLCertInfoRequestTemplate[];
typedef struct EncryptRequestMessage
{
CMTItem keyid; /* May have length 0 for default */
CMTItem data;
CMTItem ctx; /* serialized void* ptr */
} EncryptRequestMessage;
extern CMTMessageTemplate EncryptRequestTemplate[];
typedef struct SingleItemMessage EncryptReplyMessage;
#define EncryptReplyTemplate SingleItemMessageTemplate
typedef struct DecryptRequestMessage
{
CMTItem data;
CMTItem ctx; /* serialized void* ptr */
} DecryptRequestMessage;
extern CMTMessageTemplate DecryptRequestTemplate[];
typedef struct SingleItemMessage DecryptReplyMessage;
#define DecryptReplyTemplate SingleItemMessageTemplate
#endif /* __MESSAGES_H__ */

View File

@@ -0,0 +1,602 @@
/* -*- 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 <string.h>
#include <assert.h>
#ifdef WIN32
#include <winsock.h>
#endif
#ifdef XP_MAC
#include "macsocket.h"
#endif
#include "newproto.h"
char SSMVersionString[] = "1.1";
CMT_Alloc_fn cmt_alloc = malloc;
CMT_Free_fn cmt_free = free;
#define ASSERT(x) assert(x)
#define CM_ntohl ntohl
#define CM_htonl htonl
/*************************************************************
*
* CMT_Init
*
*
************************************************************/
void
CMT_Init(CMT_Alloc_fn allocfn, CMT_Free_fn freefn)
{
cmt_alloc = allocfn;
cmt_free = freefn;
}
static CMTStatus
decode_int(unsigned char **curptr, void *dest, CMInt32 *remaining)
{
CMInt32 datalen = sizeof(CMInt32);
if (*remaining < datalen)
return CMTFailure;
*(CMInt32 *)dest = ntohl(**(CMInt32 **)curptr);
*remaining -= datalen;
*curptr += datalen;
return CMTSuccess;
}
static CMTStatus
decode_string(unsigned char **curptr, CMInt32 *len,
unsigned char **data, CMInt32 *remaining)
{
CMTStatus rv;
CMInt32 datalen;
rv = decode_int(curptr, len, remaining);
if (rv != CMTSuccess)
return CMTFailure;
/* NULL string */
if (*len == 0) {
*data = NULL;
goto done;
}
datalen = (*len + 3) & ~3;
if (*remaining < datalen)
return CMTFailure;
*data = (unsigned char *) cmt_alloc(*len + 1);
if (*data == NULL)
return CMTFailure;
memcpy(*data, *curptr, *len);
(*data)[*len] = 0;
*remaining -= datalen;
*curptr += datalen;
done:
return CMTSuccess;
}
/*************************************************************
* CMT_DecodeMessage
*
* Decode msg into dest as specified by tmpl.
*
************************************************************/
CMTStatus
CMT_DecodeMessage(CMTMessageTemplate *tmpl, void *dest, CMTItem *msg)
{
unsigned char *curptr, *destptr, *list;
void ** ptr;
CMInt32 remaining, len, choiceID = 0, listSize, listCount = 0;
CMBool inChoice = CM_FALSE, foundChoice = CM_FALSE, inList = CM_FALSE;
CMInt32 listItemSize = 0;
CMTStatus rv = CMTSuccess;
CMTMessageTemplate *startOfList, *p;
CMBool inStructList = CM_FALSE;
curptr = msg->data;
remaining = msg->len;
while(tmpl->type != CMT_DT_END) {
/* XXX Maybe this should be a more formal state machine? */
if (inChoice) {
if (tmpl->type == CMT_DT_END_CHOICE) {
if (!foundChoice)
goto loser;
inChoice = CM_FALSE;
foundChoice = CM_FALSE;
tmpl++;
continue;
}
if (choiceID != tmpl->choiceID) {
tmpl++;
continue; /* Not this option */
} else {
foundChoice = CM_TRUE;
}
}
if (inList) {
destptr = &list[listCount * listItemSize];
listCount++;
} else {
if (inStructList) {
destptr = tmpl->offset + list;
} else {
destptr = tmpl->offset + (unsigned char *)dest;
}
}
switch (tmpl->type) {
case CMT_DT_RID:
case CMT_DT_INT:
case CMT_DT_BOOL:
rv = decode_int(&curptr, destptr, &remaining);
if (rv != CMTSuccess)
goto loser;
break;
case CMT_DT_STRING:
rv = decode_string(&curptr, &len, (unsigned char **)destptr,
&remaining);
if (rv != CMTSuccess)
goto loser;
break;
case CMT_DT_ITEM:
rv = decode_string(&curptr, (long *) &((CMTItem *)destptr)->len,
&((CMTItem *)destptr)->data, &remaining);
if (rv != CMTSuccess)
goto loser;
break;
case CMT_DT_LIST:
/* XXX This is too complicated */
rv = decode_int(&curptr, destptr, &remaining);
if (rv != CMTSuccess)
goto loser;
listSize = *(CMInt32 *)destptr;
tmpl++;
if (tmpl->type == CMT_DT_STRING) {
listItemSize = sizeof(unsigned char *);
} else if (tmpl->type == CMT_DT_ITEM) {
listItemSize = sizeof(CMTItem);
} else {
listItemSize = sizeof(CMInt32);
}
if (listSize == 0) {
list = NULL;
} else {
list = (unsigned char *) cmt_alloc(listSize * listItemSize);
}
*(void **)(tmpl->offset + (unsigned char *)dest) = list;
inList = CM_TRUE;
listCount = 0;
break;
case CMT_DT_STRUCT_LIST:
/* XXX This is too complicated */
rv = decode_int(&curptr, destptr, &remaining);
if (rv != CMTSuccess)
goto loser;
listSize = *(CMInt32 *)destptr;
tmpl++;
if (tmpl->type != CMT_DT_STRUCT_PTR) {
goto loser;
}
ptr = (void**)(tmpl->offset + (unsigned char *)dest);
startOfList = tmpl;
p = tmpl;
listItemSize = 0;
while (p->type != CMT_DT_END_STRUCT_LIST) {
if (p->type == CMT_DT_STRING) {
listItemSize += sizeof(unsigned char *);
} else if (p->type == CMT_DT_ITEM) {
listItemSize += sizeof(CMTItem);
} else if (p->type == CMT_DT_INT) {
listItemSize += sizeof(CMInt32);
}
p++;
}
if (listSize == 0) {
list = NULL;
} else {
list = (unsigned char *) cmt_alloc(listSize * listItemSize);
}
*ptr = list;
inStructList = CM_TRUE;
listCount = 0;
break;
case CMT_DT_END_STRUCT_LIST:
listCount++;
if (listCount == listSize) {
inStructList = CM_FALSE;
} else {
list += listItemSize;
tmpl = startOfList;
}
break;
case CMT_DT_CHOICE:
rv = decode_int(&curptr, destptr, &remaining);
if (rv != CMTSuccess)
goto loser;
choiceID = *(CMInt32 *)destptr;
inChoice = CM_TRUE;
foundChoice = CM_FALSE;
break;
case CMT_DT_END_CHOICE: /* Loop should exit before we see these. */
case CMT_DT_END:
default:
ASSERT(0);
break;
}
if (inList) {
if (listCount == listSize) {
inList = CM_FALSE;
tmpl++;
}
} else {
tmpl++;
}
}
loser:
/* Free the data buffer */
if (msg->data) {
cmt_free(msg->data);
msg->data = NULL;
}
return rv;
}
static CMTStatus
calc_msg_len(CMTMessageTemplate *tmpl, void *src, CMInt32 *len_out)
{
CMInt32 len = 0, choiceID = 0, listSize, listItemSize, listCount;
unsigned char *srcptr, *list;
CMBool inChoice = CM_FALSE, inList = CM_FALSE, foundChoice = CM_FALSE;
CMTMessageTemplate *startOfList, *p;
CMBool inStructList = CM_FALSE;
while(tmpl->type != CMT_DT_END) {
if (inChoice) {
if (tmpl->type == CMT_DT_END_CHOICE) {
if (!foundChoice)
goto loser;
inChoice = CM_FALSE;
foundChoice = CM_FALSE;
tmpl++;
continue;
}
if (choiceID != tmpl->choiceID) {
tmpl++;
continue; /* Not this option */
} else {
foundChoice = CM_TRUE;
}
}
if (inList) {
srcptr = &list[listCount * listItemSize];
listCount++;
} else if (inStructList) {
srcptr = tmpl->offset + list;
} else {
srcptr = tmpl->offset + (unsigned char *)src;
}
switch(tmpl->type) {
case CMT_DT_RID:
case CMT_DT_INT:
case CMT_DT_BOOL:
len += sizeof(CMInt32);
break;
case CMT_DT_STRING:
len += sizeof(CMInt32);
/* Non NULL string */
if (*(char**)srcptr) {
len += (strlen(*(char**)srcptr) + 4) & ~3;
}
break;
case CMT_DT_ITEM:
len += sizeof(CMInt32);
len += (((CMTItem *)srcptr)->len + 3) & ~3;
break;
case CMT_DT_LIST:
len += sizeof(CMInt32);
listSize = *(CMInt32 *)srcptr;
tmpl++;
if (tmpl->type == CMT_DT_STRING) {
listItemSize = sizeof(unsigned char *);
} else if (tmpl->type == CMT_DT_ITEM) {
listItemSize = sizeof(CMTItem);
} else {
listItemSize = sizeof(CMInt32);
}
list = *(unsigned char **)(tmpl->offset + (unsigned char *)src);
listCount = 0;
inList = CM_TRUE;
break;
case CMT_DT_STRUCT_LIST:
len += sizeof(CMInt32);
listSize = *(CMInt32 *)srcptr;
tmpl++;
if (tmpl->type != CMT_DT_STRUCT_PTR) {
goto loser;
}
list = *(unsigned char**)(tmpl->offset + (unsigned char*)src);
startOfList = tmpl;
p = tmpl;
listItemSize = 0;
while (p->type != CMT_DT_END_STRUCT_LIST) {
if (p->type == CMT_DT_STRING) {
listItemSize += sizeof(unsigned char *);
} else if (p->type == CMT_DT_ITEM) {
listItemSize += sizeof(CMTItem);
} else if (p->type == CMT_DT_INT) {
listItemSize += sizeof(CMInt32);
}
p++;
}
listCount = 0;
inStructList = CM_TRUE;
break;
case CMT_DT_END_STRUCT_LIST:
listCount++;
if (listCount == listSize) {
inStructList = CM_FALSE;
} else {
list += listItemSize;
tmpl = startOfList;
}
break;
case CMT_DT_CHOICE:
len += sizeof(CMInt32);
choiceID = *(CMInt32 *)srcptr;
inChoice = CM_TRUE;
foundChoice = CM_FALSE;
break;
case CMT_DT_END_CHOICE: /* Loop should exit before we see these. */
case CMT_DT_END:
default:
ASSERT(0);
break;
}
if (inList) {
if (listCount == listSize) {
inList = CM_FALSE;
tmpl++;
}
} else {
tmpl++;
}
}
*len_out = len;
return CMTSuccess;
loser:
return CMTFailure;
}
static CMTStatus
encode_int(unsigned char **curptr, void *src, CMInt32 *remaining)
{
CMInt32 datalen = sizeof(CMInt32);
if (*remaining < datalen)
return CMTFailure;
**(CMInt32 **)curptr = CM_htonl(*(CMInt32 *)src);
*remaining -= datalen;
*curptr += datalen;
return CMTSuccess;
}
static CMTStatus
encode_string(unsigned char **curptr, CMInt32 len,
unsigned char *data, CMInt32 *remaining)
{
CMTStatus rv;
CMInt32 datalen;
rv = encode_int(curptr, &len, remaining);
if (rv != CMTSuccess)
return CMTFailure;
/* NULL string */
if (len == 0) {
goto done;
}
datalen = (len + 3) & ~3;
if (*remaining < datalen)
return CMTFailure;
memcpy(*curptr, data, len);
*remaining -= datalen;
*curptr += datalen;
done:
return CMTSuccess;
}
/*************************************************************
* CMT_EncodeMessage
*
* Encode src into msg as specified by tmpl.
*
************************************************************/
CMTStatus
CMT_EncodeMessage(CMTMessageTemplate *tmpl, CMTItem *msg, void *src)
{
CMInt32 choiceID = 0, listSize, listItemSize, listCount, remaining;
unsigned char *srcptr, *curptr, *list;
CMBool inChoice = CM_FALSE, inList = CM_FALSE, foundChoice = CM_FALSE;
CMTStatus rv = CMTSuccess;
CMTMessageTemplate *startOfList, *p;
CMBool inStructList = CM_FALSE;
rv = calc_msg_len(tmpl, src, (long *) &msg->len);
if (rv != CMTSuccess)
goto loser;
curptr = msg->data = (unsigned char *) cmt_alloc(msg->len);
if(msg->data == NULL)
goto loser;
remaining = msg->len;
while(tmpl->type != CMT_DT_END) {
if (inChoice) {
if (tmpl->type == CMT_DT_END_CHOICE) {
if (!foundChoice)
goto loser;
inChoice = CM_FALSE;
foundChoice = CM_FALSE;
tmpl++;
continue;
}
if (choiceID != tmpl->choiceID) {
tmpl++;
continue; /* Not this option */
} else {
foundChoice = CM_TRUE;
}
}
if (inList) {
srcptr = &list[listCount * listItemSize];
listCount++;
} else {
if (inStructList) {
srcptr = tmpl->offset + list;
} else {
srcptr = tmpl->offset + (unsigned char *)src;
}
}
switch(tmpl->type) {
case CMT_DT_RID:
case CMT_DT_INT:
case CMT_DT_BOOL:
rv = encode_int(&curptr, srcptr, &remaining);
if (rv != CMTSuccess)
goto loser;
break;
case CMT_DT_STRING:
if (*(char**)srcptr) {
/* Non NULL string */
rv = encode_string(&curptr, (long) strlen(*(char**)srcptr),
*(unsigned char**)srcptr, &remaining);
} else {
/* NULL string */
rv = encode_string(&curptr, 0L, *(unsigned char**)srcptr, &remaining);
}
if (rv != CMTSuccess)
goto loser;
break;
case CMT_DT_ITEM:
rv = encode_string(&curptr, ((CMTItem *)srcptr)->len,
((CMTItem *)srcptr)->data, &remaining);
if (rv != CMTSuccess)
goto loser;
break;
case CMT_DT_LIST:
rv = encode_int(&curptr, srcptr, &remaining);
if (rv != CMTSuccess)
goto loser;
listSize = *(CMInt32 *)srcptr;
tmpl++;
if (tmpl->type == CMT_DT_STRING) {
listItemSize = sizeof(unsigned char *);
} else if (tmpl->type == CMT_DT_ITEM) {
listItemSize = sizeof(CMTItem);
} else {
listItemSize = sizeof(CMInt32);
}
list = *(unsigned char **)(tmpl->offset + (unsigned char *)src);
listCount = 0;
inList = CM_TRUE;
break;
case CMT_DT_STRUCT_LIST:
rv = encode_int(&curptr, srcptr, &remaining);
if (rv != CMTSuccess)
goto loser;
listSize = *(CMInt32 *)srcptr;
tmpl++;
if (tmpl->type != CMT_DT_STRUCT_PTR) {
goto loser;
}
list = *(unsigned char**)(tmpl->offset + (unsigned char*)src);
startOfList = tmpl;
p = tmpl;
listItemSize = 0;
while (p->type != CMT_DT_END_STRUCT_LIST) {
if (p->type == CMT_DT_STRING) {
listItemSize += sizeof(unsigned char *);
} else if (p->type == CMT_DT_ITEM) {
listItemSize += sizeof(CMTItem);
} else if (p->type == CMT_DT_INT) {
listItemSize += sizeof(CMInt32);
}
p++;
}
listCount = 0;
inStructList = CM_TRUE;
break;
case CMT_DT_END_STRUCT_LIST:
listCount++;
if (listCount == listSize) {
inStructList = CM_FALSE;
} else {
list += listItemSize;
tmpl = startOfList;
}
break;
case CMT_DT_CHOICE:
rv = encode_int(&curptr, srcptr, &remaining);
if (rv != CMTSuccess)
goto loser;
choiceID = *(CMInt32 *)srcptr;
inChoice = CM_TRUE;
foundChoice = CM_FALSE;
break;
case CMT_DT_END_CHOICE: /* Loop should exit before we see these. */
case CMT_DT_END:
default:
ASSERT(0);
break;
}
if (inList) {
if (listCount == listSize) {
inList = CM_FALSE;
tmpl++;
}
} else {
tmpl++;
}
}
return CMTSuccess;
loser:
return CMTFailure;
}

View File

@@ -0,0 +1,102 @@
/* -*- 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 __NEWPROTO_H__
#define __NEWPROTO_H__
#include <stdlib.h>
#include "ssmdefs.h"
typedef enum CMTDataType {
CMT_DT_END,
CMT_DT_RID,
CMT_DT_INT,
CMT_DT_BOOL,
CMT_DT_STRING,
CMT_DT_ITEM,
CMT_DT_LIST,
CMT_DT_CHOICE,
CMT_DT_END_CHOICE,
CMT_DT_STRUCT_LIST,
CMT_DT_END_STRUCT_LIST,
CMT_DT_STRUCT_PTR
} CMTDataType;
typedef struct CMTMessageTemplate {
CMTDataType type;
CMUint32 offset;
CMInt32 validator;
CMInt32 choiceID;
} CMTMessageTemplate;
typedef struct CMTMessageHeader {
CMInt32 type;
CMInt32 len;
} CMTMessageHeader;
typedef void *(* CMT_Alloc_fn) (size_t size);
typedef void (* CMT_Free_fn)(void * ptr);
extern CMT_Alloc_fn cmt_alloc;
extern CMT_Free_fn cmt_free;
/*************************************************************
*
* CMT_Init
*
*
************************************************************/
void
CMT_Init(CMT_Alloc_fn allocfn, CMT_Free_fn freefn);
/*************************************************************
* CMT_DecodeMessage
*
* Decode msg into dest as specified by tmpl.
*
************************************************************/
CMTStatus
CMT_DecodeMessage(CMTMessageTemplate *tmpl, void *dest, CMTItem *msg);
/*************************************************************
* CMT_EncodeMessage
*
* Encode src into msg as specified by tmpl.
*
************************************************************/
CMTStatus
CMT_EncodeMessage(CMTMessageTemplate *tmpl, CMTItem *msg, void *src);
#endif /* __NEWPROTO_H__ */

View File

@@ -0,0 +1,187 @@
/*
* 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.
*/
/* SAMPLE CODE
** Illustrates use of SSMObscure object methods.
**
** Author: Nelson Bolyard June 1999
*/
#include <stdio.h>
#include "obscure.h"
/* On error, returns -1.
** On success, returns non-negative number of unobscured bytes in buf
int
RecvInitObscureData(int fd, SSMObscureObject * obj, void * buf, int bufSize )
{
SSMObscureBool done = 0;
do {
int cc;
int rv;
cc = read(fd, buf, bufSize);
if (cc <= 0)
return -1;
rv = SSMObscure_RecvInit(obj, buf, cc, &done);
} while (!done);
return rv;
}
/* returns -1 on error, 0 on success. */
int
SendInitObscureData(int fd, SSMObscureObject * obj)
{
unsigned char * initBuf = NULL;
int rv = -1;
do {
int bufLen;
int len;
int cc;
bufLen = SSMObscure_SendInit(obj, NULL);
if (bufLen <= 0)
break;
initBuf = malloc(bufLen);
if (!initBuf)
break;
len = SSMObscure_SendInit(obj, initBuf);
if (len != bufLen)
break;
cc = write(fd, initBuf, len);
/* Note, this code assumes a blocking socket,
** and hence doesn't deal with short writes.
*/
if (cc < len)
break;
rv = 0;
} while (0);
if (initBuf) {
free(initBuf);
initBuf = NULL;
}
return rv;
}
/* This is like write, but it obscures the data first. */
/* This code assumes a blocking socket, and so it doesn't handle short
** writes.
*/
int
obscuredWrite(SSMObscureObject * obj, int fd, void * buf, int len)
{
int rv;
int cc;
cc = SSMObscure_Send(obj, buf, len);
if (cc <= 0)
return cc;
rv = write(fd, buf, cc);
ASSERT(rv == cc || rv < 0);
return rv;
}
/* This is like read, but it unobscures the data after reading it. */
int
obscuredRead(SSMObscureObject * obj, int fd, void * buf, int len)
{
int rv;
int cc;
do {
cc = read(fd, buf, len);
if (cc <= 0)
return cc;
rv = SSMObscure_Recv(obj, buf, len);
} while (rv == 0);
return rv;
}
SSMObscureObject * sobj;
unsigned char buf[8192];
/* Call this with fd for socket that has just been accepted.
** returns -1 on error,
** On success, returns non-negative number of bytes received in buf.
*/
int
InitClientObscureObject(int fd)
{
int rv;
sobj = SSMObscure_Create(0);
if (!sobj)
return -1;
rv = SendInitObscureData(fd, sobj);
if (rv < 0)
return rv;
rv = RecvInitObscureData(fd, sobj, buf, sizeof buf);
return rv;
}
/* Call this with fd for socket that has just been connected.
** returns -1 on error,
** On success, returns non-negative number of bytes received in buf.
*/
int
InitServerObscureObject(int fd)
{
int cc;
sobj = SSMObscure_Create(1);
if (!sobj)
return -1;
cc = RecvInitObscureData(fd, sobj, buf, sizeof buf);
if (cc < 0)
return cc;
rv = SendInitObscureData(fd, sobj);
if (rv < 0)
return rv;
return cc;
}

View File

@@ -0,0 +1,136 @@
/*
* 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 <stdlib.h>
#include "obspriv.h"
#include "newproto.h"
/*
** Create a new Obscuring object
*/
SSMObscureObject *
SSMObscure_Create(SSMObscureBool IsServer)
{
SSMObscureObject * obj;
void * priv;
obj = (SSMObscureObject *) cmt_alloc(sizeof *obj);
if (!obj)
return obj;
/* This needs to be a little more elegant */
priv = SSMObscure_InitPrivate(obj, IsServer);
if (!priv) {
cmt_free(obj);
return NULL;
}
obj->privData = priv;
return obj;
}
/* Prepare initial buffer with initial message to send to other side to
** establish cryptographic * synchronization.
**
** If buf is NULL, function returns the size of the buffer that
** the caller needs to allocate for sending the initial message.
**
** If buf is non-null, function returns the number of bytes of data filled
** into buf, the amount that the caller should then send to the other side.
**
*/
int
SSMObscure_SendInit( SSMObscureObject * obj, void * buf)
{
int rv;
rv = obj->sendInit(obj->privData, buf);
return rv;
}
/*
** Obscure "len" bytes in "buf" before sending it.
*/
int
SSMObscure_Send( SSMObscureObject * obj,
void * buf,
unsigned int len)
{
int rv;
rv = obj->send(obj->privData, buf, len);
return rv;
}
/*
** UnObscure "len" bytes in "buf" after receiving it.
** This function may absorb some or all of the received bytes, leaving
** fewer bytes (possibly none) in the buffer for the application to use
** than were in the buffer when the function was called.
** Function returns the number of bytes of unobscured data remaining in
** buf. Zero means all data was used internally and no data remains
** for application use. Negative number means error occurred.
*/
int
SSMObscure_Recv( SSMObscureObject * obj,
void * buf,
unsigned int len)
{
int rv;
rv = obj->recv(obj->privData, buf, len);
return rv;
}
/* like _Recv, but returns a flag telling when all initialization info has
** been received.
*/
int
SSMObscure_RecvInit( SSMObscureObject * obj,
void * buf,
unsigned int len,
SSMObscureBool * done)
{
int rv;
rv = obj->recvInit(obj->privData, buf, len, done);
return rv;
}
/*
** Destroy the Obscure Object
*/
int
SSMObscure_Destroy(SSMObscureObject * obj)
{
int rv;
rv = obj->destroy(obj->privData);
cmt_free(obj);
return rv;
}

View File

@@ -0,0 +1,98 @@
/*
* 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 __obscure_h__
#define __obscure_h__ 1
#ifdef __cplusplus
extern "C" {
#endif
typedef unsigned char SSMObscureBool;
typedef struct SSMObscureObjectStr SSMObscureObject;
/*
** Create a new Obscuring object
*/
extern SSMObscureObject * SSMObscure_Create(SSMObscureBool IsServer);
/* Prepare initial buffer with initial message to send to other side to
** establish cryptographic * synchronization.
**
** If buf is NULL, function returns the size of the buffer that
** the caller needs to allocate for sending the initial message.
**
** If buf is non-null, function returns the number of bytes of data filled
** into buf, the amount that the caller should then send to the other side.
**
*/
extern int SSMObscure_SendInit( SSMObscureObject * obj,
void * buf);
/*
** Obscure "len" bytes in "buf" before sending it.
*/
extern int SSMObscure_Send( SSMObscureObject * obj,
void * buf,
unsigned int len);
/*
** UnObscure "len" bytes in "buf" after receiving it.
** This function may absorb some or all of the received bytes, leaving
** fewer bytes (possibly none) in the buffer for the application to use
** than were in the buffer when the function was called.
** Function returns the number of bytes of unobscured data remaining in
** buf. Zero means all data was used internally and no data remains
** for application use. Negative number means error occurred.
*/
extern int SSMObscure_Recv( SSMObscureObject * obj,
void * buf,
unsigned int len);
/* like _Recv, but returns a flag telling when all initialization info has
** been received.
*/
extern int SSMObscure_RecvInit( SSMObscureObject * obj,
void * buf,
unsigned int len,
SSMObscureBool * done);
/*
** Destroy the Obscure Object
*/
extern int SSMObscure_Destroy(SSMObscureObject * obj);
#ifdef __cplusplus
}
#endif
#endif /* __obscure_h__ */

View File

@@ -0,0 +1,115 @@
/*
* 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 "obspriv.h"
#include "newproto.h"
#include <string.h>
#include <assert.h>
#include <time.h>
/*
Originally this code was used to obscure the control messages
traveling between processes. With the relaxation of export rules,
this whole step is no longer necessary, and is included for
informational purposes only. (We need to finish removing the
obscuring code.)
*/
struct obscureNOPStr {
SSMObscureObject * obj;
};
typedef struct obscureNOPStr obscureV1;
static int
ssmObscure_Destroy(void * privData)
{
obscureV1 * priv = (obscureV1 *)privData;
memset(priv, 0, sizeof *priv);
cmt_free(priv);
return 0;
}
static int
ssmObscure_Send(void * privData, void * buf, unsigned int len)
{
/* obscureV1 * priv = (obscureV1 *)privData;*/
/* NOP */
return len;
}
static int
ssmObscure_Recv(void * privData, void * buf, unsigned int len)
{
/*obscureV1 * priv = (obscureV1 *)privData;*/
/* NOP */
return len;
}
static int
ssmObscure_SendInit(void * privData, void * buf)
{
/*obscureV1 * priv = (obscureV1 *)privData;*/
return 0;
}
static int
ssmObscure_RecvInit(void * privData, void * buf, unsigned int len,
SSMObscureBool * pDone)
{
return 0;
}
static void *
ssmObscure_InitPrivate(SSMObscureObject * obj, SSMObscureBool IsServer)
{
obscureV1 * priv = (obscureV1 *) cmt_alloc(sizeof (obscureV1));
if (!priv)
return NULL;
priv->obj = obj;
obj->privData = (void *)priv;
obj->destroy = ssmObscure_Destroy;
obj->send = ssmObscure_Send;
obj->recv = ssmObscure_Recv;
obj->sendInit = ssmObscure_SendInit;
obj->recvInit = ssmObscure_RecvInit;
return priv;
}
obsInitFn SSMObscure_InitPrivate = ssmObscure_InitPrivate;

View File

@@ -0,0 +1,63 @@
/*
* 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 "obscure.h"
typedef void * (* obsInitFn) (SSMObscureObject * instance,
SSMObscureBool IsServer);
typedef int (* obsDestroyFn) (void * priv);
typedef int (* obsSendFn) (void * priv, void * buf, unsigned int len);
typedef int (* obsRecvFn) (void * priv, void * buf, unsigned int len);
typedef int (* obsSendInitFn)(void * priv, void * buf);
typedef int (* obsRecvInitFn)(void * priv, void * buf, unsigned int len,
SSMObscureBool * done);
struct SSMObscureObjectStr {
void * privData;
obsDestroyFn destroy;
obsSendFn send;
obsRecvFn recv;
obsSendInitFn sendInit;
obsRecvInitFn recvInit;
};
/* This is common to the beginning of all versions of the obscuring protocol */
struct SSMInitMsgHdrStr {
short version;
short length;
};
typedef struct SSMInitMsgHdrStr SSMInitMsgHdr;
extern obsInitFn SSMObscure_InitPrivate;

View File

@@ -0,0 +1,141 @@
/*
* 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.
*/
/*
protocol.h - Definitions of various items to support the PSM protocol.
*/
#ifndef __PROTOCOL_H__
#define __PROTOCOL_H__
#include "rsrcids.h"
#define SSMPRStatus SSMStatus
#define SSMPR_SUCCESS SSM_SUCCESS
#define SSMPR_FAILURE SSM_FAILURE
#define SSMPR_INVALID_ARGUMENT_ERROR PR_INVALID_ARGUMENT_ERROR
#define SSMPR_OUT_OF_MEMORY_ERROR PR_OUT_OF_MEMORY_ERROR
#define SSMPRInt32 PRInt32
#define SSMPRUint32 PRUint32
#define SSMPR_ntohl PR_ntohl
#define SSMPR_htonl PR_htonl
#define SSMPORT_Free PORT_Free
#define SSMPORT_ZAlloc PORT_ZAlloc
#define SSMPR_SetError PR_SetError
#define SSMPR_GetError PR_GetError
#define SSMPORT_SetError PORT_SetError
#define SSMPORT_GetError PORT_GetError
/*
Current version of PSM protocol.
Increment this value when the protocol changes.
*/
#define SSMSTRING_PADDED_LENGTH(x) ((((x)+3)/4)*4)
#define SSMPORT_ZNEW(type) (type*)SSMPORT_ZAlloc(sizeof(type))
#define SSMPORT_ZNewArray(type,size) (type*)SSMPORT_ZAlloc(sizeof(type)*(size))
/* Various message structs */
struct _SSMHelloRequest {
CMUint32 m_version; /* Protocol version supported by client */
struct _SSMString m_profileName; /* Name of user profile (where to find
certs etc) */
};
struct _SSMHelloReply {
CMInt32 m_result; /* Error, if any, which occurred
(0 == success) */
CMUint32 m_version; /* Protocol version supported by PSM */
struct _SSMString m_nonce; /* Session nonce -- must be written to data channels */
};
struct _SSMRequestSSLDataConnection
{
CMUint32 m_flags; /* Flags to indicate to SSM what to do with
the connection */
CMUint32 m_port; /* Port number to connect to */
struct _SSMString m_hostIP; /* IP address of final target machine (not proxy) */
/* struct _SSMString m_hostName; Host name of target machine (for server auth) -- not accessed directly */
};
struct _SSMReplySSLDataConnection {
CMInt32 m_result; /* Error, if any, which occurred (0 == success) */
CMUint32 m_connectionID; /* Connection ID of newly opened channel */
CMUint32 m_port; /* Port number to which to connect on PSM */
};
struct _SSMRequestSecurityStatus {
CMUint32 m_connectionID; /* ID of connection of which to stat */
};
struct _SSMReplySecurityStatus {
CMInt32 m_result; /* Error, if any, which occurred (0 == success) */
CMUint32 m_keySize; /* Key size */
CMUint32 m_secretKeySize; /* Secret key size */
struct _SSMString m_cipherName; /* Name of cipher in use */
/* SSMString m_certificate; -- DER encoded cert
We do not access this as a field, we have to skip over m_cipherName */
};
/*
Use this macro to jump over strings.
For example, if you wanted to access m_certificate above,
use a line like the following:
char *ptr = &(reply->m_cipherName) + SSM_SIZEOF_STRING(reply->m_cipherName);
*/
#define SSM_SIZEOF_STRING(str) (SSMSTRING_PADDED_LENGTH(PR_ntohl((str).m_length)) + sizeof(CMUint32))
typedef struct _SSMHelloRequest SSMHelloRequest;
typedef struct _SSMHelloReply SSMHelloReply;
typedef struct _SSMRequestSSLDataConnection SSMRequestSSLDataConnection;
typedef struct _SSMReplySSLDataConnection SSMReplySSLDataConnection;
typedef struct _SSMRequestSecurityStatus SSMRequestSecurityStatus;
typedef struct _SSMReplySecurityStatus SSMReplySecurityStatus;
/*
Functions to convert between an SSMString and a C string.
Return values are allocated using PR_Malloc (which means that
SSMPR_Free must be used to free up the memory after use).
*/
CMTStatus SSM_StringToSSMString(SSMString ** ssmString, int len, char * string);
CMTStatus SSM_SSMStringToString(char ** string,int *len, SSMString * ssmString);
#endif /* __PROTOCOL_H__ */

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,359 @@
/*
* 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 __PROTOCOLF_H__
#define __PROTOCOLF_H__
/*************************************************************************
* For each type of message, parse and pack function is provided.
*
* Parse functions accept a ptr to the "blob" of data received from the
* network and fill in fields of the message, numbers in host-order, strings
* as C-style NULL-terminated strings. Return SSMPRStatus.
*
* Pack functions take all the info to construct a message and fill in a
* ptr to the "blob" of data to be sent. Return length of the data blob, or
* a zero in case of an error
*
* All functions set NSPR errors when necessary.
************************************************************************/
#include "protocol.h"
#include "cert.h"
SSMPRStatus SSM_ParseHelloRequest(void * helloRequest,
SSMPRUint32 * version,
PRBool * doesUI,
PRInt32 * policyType,
SSMPRUint32 * profileLen,
char ** profile);
SSMPRInt32 SSM_PackHelloReply(void ** helloReply, SSMPRInt32 result,
SSMPRUint32 sessionID, SSMPRUint32 version,
SSMPRUint32 httpPort, SSMPRUint32 nonceLen,
char * nonce, SSMPolicyType policy);
/* Parse data connections requests */
SSMPRStatus SSM_ParseSSLDataConnectionRequest(void *sslRequest,
SSMPRUint32 * flags,
SSMPRUint32 * port,
SSMPRUint32 * hostIPLen,
char ** hostIP,
SSMPRUint32 * hostNameLen,
char ** hostName);
SSMPRStatus SSM_ParseHashStreamRequest(void * hashStreamRequest,
SSMPRUint32 * type);
SSMPRStatus SSM_ParseP7EncodeConnectionRequest(void *request,
SSMPRUint32 *ciRID);
/* Messages to initiate PKCS7 data connection */
/* PKCS7DecodeRequest message has no data */
/* Single data connection reply */
SSMPRInt32 SSM_PackDataConnectionReply(void ** sslReply,
SSMPRInt32 result,
SSMPRUint32 connID,
SSMPRUint32 port);
SSMPRStatus SSM_ParseSSLSocketStatusRequest(void * statusRequest,
SSMPRUint32 * connID);
SSMPRInt32 SSM_PackSSLSocketStatusReply(void ** statusReply,
SSMPRInt32 result,
SSMPRUint32 resourceID);
/*
* UI event is an asynchroneous message sent from PSM server to the client
* NOTE: (context) is the actual context pointer, it is NOT a ptr-to-ptr.
* The value of (context) is copied into the packet.
*/
SSMPRInt32 SSM_PackUIEvent(void ** eventRequest, SSMPRUint32 resourceID,
SSMPRUint32 width, SSMPRUint32 height,
SSMPRUint32 urlLen, char * url);
SSMPRInt32 SSM_PackTaskCompletedEvent(void **event, SSMPRUint32 resourceID,
SSMPRUint32 numTasks, SSMPRUint32 result);
/* Verify raw signature */
SSMPRStatus SSM_ParseVerifyRawSigRequest(void * verifyRawSigRequest,
SSMPRUint32 * algorithmID,
SSMPRUint32 * paramsLen,
unsigned char ** params,
SSMPRUint32 * pubKeyLen,
unsigned char ** pubKey,
SSMPRUint32 * hashLen,
unsigned char ** hash,
SSMPRUint32 * signatureLen,
unsigned char ** signature);
SSMPRInt32 SSM_PackVerifyRawSigReply(void ** verifyRawSigReply,
SSMPRInt32 result);
/* Verify detached signature */
SSMPRStatus SSM_ParseVerifyDetachedSigRequest(void * request,
SSMPRInt32 * pkcs7ContentID,
SSMPRInt32 * certUsage,
SSMPRInt32 * hashAlgID,
SSMPRUint32 * keepCert,
SSMPRUint32 * digestLen,
unsigned char ** hash);
SSMPRInt32 SSM_PackVerifyDetachedSigReply(void ** verifyDetachedSigReply,
SSMPRInt32 result);
/* PKCS#7 functions */
SSMPRStatus SSM_ParseCreateSignedRequest(void *request,
SSMPRInt32 *scertRID,
SSMPRInt32 *ecertRID,
SSMPRUint32 *dig_alg,
SECItem **digest);
SSMPRInt32 SSM_PackCreateSignedReply(void **reply, SSMPRInt32 ciRID,
SSMPRUint32 result);
SSMPRStatus SSM_ParseCreateEncryptedRequest(void *request,
SSMPRInt32 *scertRID,
SSMPRInt32 *nrcerts,
SSMPRInt32 **rcertRIDs);
SSMPRInt32 SSM_PackCreateEncryptedReply(void **reply, SSMPRInt32 ciRID,
SSMPRUint32 result);
/* Resource functions */
SSMPRStatus SSM_ParseCreateResourceRequest(void *request,
SSMPRUint32 *type,
unsigned char **params,
SSMPRUint32 *paramLen);
SSMPRStatus SSM_PackCreateResourceReply(void **reply, SSMPRStatus rv,
SSMPRUint32 resID);
SSMPRStatus SSM_ParseGetAttribRequest(void * getAttribRequest,
SSMPRUint32 * resourceID,
SSMPRUint32 * fieldID);
void SSM_DestroyAttrValue(SSMAttributeValue *value, PRBool freeit);
SSMPRInt32 SSM_PackGetAttribReply(void **getAttribReply,
SSMPRInt32 result,
SSMAttributeValue *value);
SSMPRStatus SSM_ParseSetAttribRequest(SECItem *msg,
SSMPRInt32 *resourceID,
SSMPRInt32 *fieldID,
SSMAttributeValue *value);
/* Currently, there is no need for a pack version. There is nothing to send
* back except for the notice that the operation was successful.
*/
/* Pickle and unpickle resources. */
SSMPRStatus SSM_ParsePickleResourceRequest(void * pickleResourceRequest,
SSMPRUint32 * resourceID);
SSMPRInt32 SSM_PackPickleResourceReply(void ** pickleResourceReply,
SSMPRInt32 result,
SSMPRUint32 resourceLen,
void * resource);
SSMPRStatus SSM_ParseUnpickleResourceRequest(void * unpickleResourceRequest,
SSMPRUint32 blobSize,
SSMPRUint32 * resourceType,
SSMPRUint32 * resourceLen,
void ** resource);
SSMPRInt32 SSM_PackUnpickleResourceReply(void ** unpickleResourceReply,
SSMPRInt32 result,
SSMPRUint32 resourceID);
/* Destroy resource */
SSMPRStatus SSM_ParseDestroyResourceRequest(void * destroyResourceRequest,
SSMPRUint32 * resourceID,
SSMPRUint32 * resourceType);
SSMPRInt32 SSM_PackDestroyResourceReply(void ** destroyResourceReply,
SSMPRInt32 result);
/* Duplicate resource */
SSMPRStatus SSM_ParseDuplicateResourceRequest(void * request,
SSMPRUint32 * resourceID);
SSMPRInt32 SSM_PackDuplicateResourceReply(void ** reply, SSMPRInt32 result,
SSMPRUint32 resID);
/* Cert actions */
typedef struct MatchUserCertRequestData {
PRUint32 certType;
PRInt32 numCANames;
char ** caNames;
} MatchUserCertRequestData;
typedef struct SSMCertList {
PRCList certs;
PRInt32 count;
} SSMCertList;
typedef struct SSMCertListElement {
PRCList links;
PRUint32 certResID;
} SSMCertListElement;
#define SSM_CERT_LIST_ELEMENT_PTR(_q) (SSMCertListElement*)(_q);
SSMPRStatus SSM_ParseVerifyCertRequest(void * verifyCertRequest,
SSMPRUint32 * resourceID,
SSMPRInt32 * certUsage);
SSMPRInt32 SSM_PackVerifyCertReply(void ** verifyCertReply,
SSMPRInt32 result);
SSMPRStatus SSM_ParseImportCertRequest(void * importCertRequest,
SSMPRUint32 * blobLen,
void ** certBlob);
SSMPRInt32 SSM_PackImportCertReply(void ** importCertReply, SSMPRInt32 result,
SSMPRUint32 resourceID);
PRStatus SSM_ParseFindCertByNicknameRequest(void *request, char ** nickname);
PRInt32 SSM_PackFindCertByNicknameReply(void ** reply, PRUint32 resourceID);
PRStatus SSM_ParseFindCertByKeyRequest(void *request, SECItem ** key);
PRInt32 SSM_PackFindCertByKeyReply(void ** reply, PRUint32 resourceID);
PRStatus SSM_ParseFindCertByEmailAddrRequest(void *request, char ** emailAddr);
PRInt32 SSM_PackFindCertByEmailAddrReply(void ** reply, PRUint32 resourceID);
PRStatus SSM_ParseAddTempCertToDBRequest(void *request, PRUint32 *resourceID, char ** nickname, PRInt32 *ssl, PRInt32 *email, PRInt32 *objectSigning);
PRInt32 SSM_PackAddTempCertToDBReply(void ** reply);
PRStatus SSM_ParseMatchUserCertRequest(void *request, MatchUserCertRequestData** data);
PRInt32 SSM_PackMatchUserCertReply(void **reply, SSMCertList * certList);
SSMPRInt32 SSM_PackErrorMessage(void ** errorReply, SSMPRInt32 result);
/* PKCS11 actions */
SSMPRStatus SSM_ParseKeyPairGenRequest(void *keyPairGenRequest,
SSMPRInt32 requestLen,
SSMPRUint32 *keyPairCtxtID,
SSMPRUint32 *genMechanism,
SSMPRUint32 *keySize,
unsigned char **params,
SSMPRUint32 *paramLen);
SSMPRInt32 SSM_PackKeyPairGenResponse(void ** keyPairGenResponse,
SSMPRUint32 keyPairId);
PRStatus
SSM_ParseFinishKeyGenRequest(void *finishKeyGenRequest,
PRInt32 requestLen,
PRInt32 *keyGenContext);
/* CMMF/CRMF Actions */
SSMPRStatus SSM_ParseCreateCRMFReqRequest(void *crmfReqRequest,
SSMPRInt32 requestLen,
SSMPRUint32 *keyPairId);
SSMPRInt32 SSM_PackCreateCRMFReqReply(void **crmfReqReply,
SSMPRUint32 crmfReqId);
SSMPRStatus SSM_ParseEncodeCRMFReqRequest(void *encodeReq,
SSMPRInt32 requestLen,
SSMPRUint32 **crmfReqId,
SSMPRInt32 *numRequests);
SSMPRInt32 SSM_PackEncodeCRMFReqReply(void **encodeReply,
char *crmfDER,
SSMPRUint32 derLen);
SSMPRStatus SSM_ParseCMMFCertResponse(void *encodedRes,
SSMPRInt32 encodeLen,
char **nickname,
char **base64Der,
PRBool *doBackup);
PRStatus SSM_ParsePOPChallengeRequest(void *challenge,
PRInt32 len,
char **responseString);
PRInt32 SSM_PackPOPChallengeResponse(void **response,
char *responseString,
PRInt32 responseStringLen);
PRInt32 SSM_PackPasswdRequest(void ** passwdRequest, PRInt32 tokenID,
char * prompt, PRInt32 promptLen);
PRStatus SSM_ParsePasswordReply(void * passwdReply, PRInt32 * result,
PRInt32 * tokenID,
char ** passwd, PRInt32 * passwdLen);
/* Sign Text Actions */
typedef struct {
char *stringToSign;
char *hostName;
char *caOption;
PRInt32 numCAs;
char **caNames;
} signTextRequestData;
PRStatus SSM_ParseSignTextRequest(void* signTextRequest, PRInt32 len, PRUint32* resID, signTextRequestData ** data);
PRStatus SSM_ParseGetLocalizedTextRequest(void *data,
SSMLocalizedString *whichString);
PRInt32 SSM_PackGetLocalizedTextResponse(void **data,
SSMLocalizedString whichString,
char *retString);
PRStatus SSM_ParseAddNewSecurityModuleRequest(void *data,
char **moduleName,
char **libraryPath,
unsigned long *pubMechFlags,
unsigned long *pubCipherFlags);
PRInt32 SSM_PackAddNewModuleResponse(void **data, PRInt32 rv);
PRStatus SSM_ParseDeleteSecurityModuleRequest(void *data, char **moduleName);
PRInt32 SSM_PackDeleteModuleResponse(void **data, PRInt32 moduleType);
PRInt32 SSM_PackFilePathRequest(void **data, PRInt32 resID, char *prompt,
PRBool shouldFileExist, char *fileSuffix);
PRStatus SSM_ParseFilePathReply(void *message, char **filePath,
PRInt32 *rid);
PRInt32 SSM_PackPromptRequestEvent(void **data, PRInt32 resID, char *prompt);
PRStatus SSM_ParsePasswordPromptReply(void *data, PRInt32 *resID,
char **reply);
/* messages for importing certs *the traditional way* */
PRInt32 SSM_PackDecodeCertReply(void ** data, PRInt32 certID);
PRStatus SSM_ParseDecodeCertRequest(void * data, PRInt32 * len,
char ** buffer);
PRStatus SSM_ParseGetKeyChoiceListRequest(void * data, PRUint32 dataLen,
char ** type, PRUint32 *typeLen,
char ** pqgString, PRUint32 *pqgLen);
PRInt32 SSM_PackGetKeyChoiceListReply(void **data, char ** list);
PRStatus SSM_ParseGenKeyOldStyleRequest(void * data, PRUint32 datalen,
char ** choiceString,
char ** challenge,
char ** typeString,
char ** pqgString);
PRInt32 SSM_PackGenKeyOldStyleReply(void ** data, char * keydata);
PRStatus SSM_ParseDecodeAndCreateTempCertRequest(void * data,
char ** certbuf, PRUint32 * certlen, int * certClass);
#endif /*PROTOCOLF_H_*/

View File

@@ -0,0 +1,74 @@
/*
* 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 NULL
#define NULL 0x00000000
#endif
#define SSMPR_BYTES_PER_INT 4
#define SSMPR_BYTES_PER_LONG 4
/******************************************************************
* No NSPR - define all the SSMPR values and functions here
******************************************************************
*/
#define SSMPRStatus PRStatus
#define SSMPR_SUCCESS PR_SUCCESS
#define SSMPR_FAILURE PR_FAILURE
#define SSMPR_INVALID_ARGUMENT_ERROR PR_INVALID_ARGUMENT_ERROR
#define SSMPR_OUT_OF_MEMORY_ERROR PR_OUT_OF_MEMORY_ERROR
#define SSMPRInt32 PRInt32
#define SSMPRUint32 PRUint32
#define SSMPR_ntohl PR_ntohl
#define SSMPR_htonl PR_htonl
#define SSMPORT_Free PORT_Free
#define SSMPORT_ZAlloc PORT_ZAlloc
#define SSMPR_SetError PR_SetError
#define SSMPR_GetError PR_GetError
#define SSMPORT_SetError PORT_SetError
#define SSMPORT_GetError PORT_GetError

View File

@@ -0,0 +1,49 @@
/*
* 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.
*/
/*************************************************************************
*
* PSM portable run-time. (Used when NSPR20 is not available.)
*
*************************************************************************
*/
SSMPRInt32 ssmprErrno;
void SSMPORT_SetError(SSMPRInt32 errorcode)
{ ssmprErrno = errorcode; }
SSMPRInt32 SSMPORT_GetError(void)
{ return ssmprErrno; }

View File

@@ -0,0 +1,93 @@
/*
* 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 NULL
#define NULL 0x00000000
#endif
#define SSMPR_BYTES_PER_INT 4
#define SSMPR_BYTES_PER_LONG 4
/******************************************************************
* No NSPR - define all the SSMPR values and functions here
******************************************************************
*/
typedef enum { SSMPR_SUCCESS = 0, SSMPR_FAILURE = -1 } SSMPRStatus;
enum {
SSMPR_INVALID_ARGUMENT_ERROR = -6000,
SSMPR_OUT_OF_MEMORY_ERROR = -5987
};
#if SSMPR_BYTES_PER_INT == 4
typedef unsigned int SSMPRUint32;
typedef int SSMPRInt32;
#elif SSMPR_BYTES_PER_LONG == 4
typedef unsigned long SSMPRUint32;
typedef long SSMPRInt32;
#else
#error No suitable type for SSMPRInt32/SSMPRUint32
#endif
/*******************************************************************
* Use libc functions instead
*******************************************************************
*/
#include <sys/types.h>
#ifdef WIN32
#include <winsock.h>
#else
#include <netinet/in.h>
#endif
#define SSMPR_ntohl ntohl
#define SSMPR_htonl htonl
#include <stdlib.h>
#define SSMPORT_Free free
#define SSMPR_sprint printf
#define SSMPORT_ZAlloc malloc
extern SSMPRInt32 ssmprErrno;
#define SSMPR_SetError(x, y) SSMPORT_SetError(x)
#define SSMPR_GetError SSMPORT_GetError
void SSMPORT_SetError(SSMPRInt32 errorcode);

View File

@@ -0,0 +1,169 @@
/*
* 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 "string.h"
#include "protocol.h"
#include "protocolshr.h"
#include "messages.h"
/* Forward ref */
static void encrypt(CMTItem *data);
static void decrypt(CMTItem *data);
const char *kPrefix = "Encrypted";
/* encryption request */
CMTStatus
CMT_DoEncryptionRequest(CMTItem *message)
{
CMTStatus rv = CMTSuccess;
EncryptRequestMessage request;
EncryptReplyMessage reply;
CMUint32 pLen = strlen(kPrefix);
/* Initialize */
request.keyid.data = 0;
request.data.data = 0;
reply.item.data = 0;
/* Decode incoming message */
rv = CMT_DecodeMessage(EncryptRequestTemplate, &request, message);
if (rv != CMTSuccess) goto loser; /* Protocol error */
/* Free incoming message */
free(message->data);
message->data = NULL;
/* "Encrypt" by prefixing the data */
reply.item.len = request.data.len + pLen;
reply.item.data = calloc(reply.item.len, 1);
if (!reply.item.data) {
rv = CMTFailure;
goto loser;
}
if (pLen) memcpy(reply.item.data, kPrefix, pLen);
encrypt(&request.data);
memcpy(&reply.item.data[pLen], request.data.data, request.data.len);
/* Generate response */
message->type = SSM_SDR_ENCRYPT_REPLY;
rv = CMT_EncodeMessage(EncryptReplyTemplate, message, &reply);
if (rv != CMTSuccess) goto loser; /* Unknown error */
loser:
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;
}
/* decryption request */
CMTStatus
CMT_DoDecryptionRequest(CMTItem *message)
{
CMTStatus rv = CMTSuccess;
DecryptRequestMessage request;
DecryptReplyMessage reply;
CMUint32 pLen = strlen(kPrefix);
/* Initialize */
request.data.data = 0;
request.ctx.data = 0;
reply.item.data = 0;
/* Decode the message */
rv = CMT_DecodeMessage(DecryptRequestTemplate, &request, message);
if (rv != CMTSuccess) goto loser;
/* Free incoming message */
free(message->data);
message->data = NULL;
/* "Decrypt" the message by removing the key */
if (pLen && memcmp(request.data.data, kPrefix, pLen) != 0) {
rv = CMTFailure; /* Invalid format */
goto loser;
}
reply.item.len = request.data.len - pLen;
reply.item.data = calloc(reply.item.len, 1);
if (!reply.item.data) { rv = CMTFailure; goto loser; }
memcpy(reply.item.data, &request.data.data[pLen], reply.item.len);
decrypt(&reply.item);
/* Create reply message */
message->type = SSM_SDR_DECRYPT_REPLY;
rv = CMT_EncodeMessage(DecryptReplyTemplate, message, &reply);
if (rv != CMTSuccess) goto loser;
loser:
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;
}
/* "encrypt" */
static unsigned char mask[64] = {
0x73, 0x46, 0x1a, 0x05, 0x24, 0x65, 0x43, 0xb4, 0x24, 0xee, 0x79, 0xc1, 0xcc,
0x49, 0xc7, 0x27, 0x11, 0x91, 0x2e, 0x8f, 0xaa, 0xf7, 0x62, 0x75, 0x41, 0x7e,
0xb2, 0x42, 0xde, 0x1b, 0x42, 0x7b, 0x1f, 0x33, 0x49, 0xca, 0xd1, 0x6a, 0x85,
0x05, 0x6c, 0xf9, 0x0e, 0x3e, 0x72, 0x02, 0xf2, 0xd8, 0x9d, 0xa1, 0xb8, 0x6e,
0x03, 0x18, 0x3e, 0x82, 0x86, 0x34, 0x1a, 0x61, 0xd9, 0x65, 0xb6, 0x7f
};
static void
encrypt(CMTItem *data)
{
unsigned int i, j;
j = 0;
for(i = 0;i < data->len;i++)
{
data->data[i] ^= mask[j];
if (++j >= 64) j = 0;
}
}
static void
decrypt(CMTItem *data)
{
encrypt(data);
}

View File

@@ -0,0 +1,48 @@
/*
* 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.
*/
/*
protocolshr.h - Definitions of shared routines for both client and server
These are mostly for testing.
*/
#ifndef __PROTOCOLSHR_H__
#define __PROTOCOLSHR_H__
CMTStatus
CMT_DoEncryptionRequest(CMTItem *message);
CMTStatus
CMT_DoDecryptionRequest(CMTItem *meessage);
#endif /* __PROTOCOLSHR_H__ */

View File

@@ -0,0 +1,207 @@
/*
* 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 "protocolf.h"
#include <stdio.h>
int main()
{
void * blob, * recvd;
int blobSize;
SSMPRUint32 version, flags, port, connID, keySize, secretKeySize;
SSMPRUint32 sessionID, httpPort;
SSMPRInt32 result;
char *profile, * nonce, * hostIP, * hostName, * cipher, * CA;
SSMPRStatus rv;
/*
* Test functions to pack and parse HelloRequest message
*/
version = 3;
profile = (char *)SSMPORT_ZAlloc(strlen("profile"));
sprintf(profile, "profile");
printf("HelloRequest, packing version #%d, profile %s\n",
version, profile);
blobSize = SSM_PackHelloRequest(&blob, version, profile);
if (!blobSize)
printf("Error in PackHelloRequest: %d\n", SSMPR_GetError());
SSMPORT_Free(profile);
version = 0;
recvd = (void *)SSMPORT_ZAlloc(blobSize);
if (!recvd) printf("Can't allocate %d bytes of memory!\n", blobSize);
memcpy(recvd, blob, blobSize);
SSMPORT_Free(blob);
rv = SSM_ParseHelloRequest(recvd, &version, &profile);
if (rv != SSMPR_SUCCESS)
printf("Error in ParseHelloRequest: %d\n", SSMPR_GetError());
printf("HelloRequest, parsing version #%d, profile %s\n",
version, profile);
/*
* Test functions to parse and pack HelloReply message
*/
version = 5;
result = 2;
sessionID = 34567;
httpPort = 87654;
nonce = (char *)SSMPORT_ZAlloc(strlen("some secret nonce"));
sprintf(nonce, "some secret nonce");
printf("HelloReply, packing result %d, sessionID %d, version #%d, httpPort %d,\n nonce %s\n",
result, sessionID, version, httpPort, nonce);
blobSize = SSM_PackHelloReply(&blob, result, sessionID, version, httpPort,
nonce);
if (!blobSize)
printf("Error in PackHelloReply: %d\n", SSMPR_GetError());
memset(nonce, 0, strlen(nonce));
SSMPORT_Free(nonce);
version = result = sessionID = httpPort = 0;
recvd = (void *)SSMPORT_ZAlloc(blobSize);
if (!recvd) printf("Can't allocate %d bytes of memory!\n", blobSize);
memcpy(recvd, blob, blobSize);
SSMPORT_Free(blob);
rv = SSM_ParseHelloReply(recvd, &result, &sessionID, &version, &httpPort,
&nonce);
if (rv != SSMPR_SUCCESS)
printf("Error in ParseHelloReply: %d\n", SSMPR_GetError());
printf("HelloReply, parsing result %d, sessionID %d, version #%d, httpPort %d, \n nonce %s\n",
result, sessionID, version, httpPort, nonce);
/*
* Test functions to parse and pack SSLDataConnectionRequest message
*/
flags = 0x00044000;
port = 34567;
hostIP = (char *)SSMPORT_ZAlloc(strlen("somehostIP"));
sprintf(hostIP, "somehostIP");
hostName = (char *)SSMPORT_ZAlloc(strlen("somehostName"));
sprintf(hostName, "somehostName");
printf("SSLDataConnRequest, packing flags %x, port %d, hostIP %s, hostName %s\n",
flags, port, hostIP, hostName);
blobSize = SSM_PackSSLDataConnectionRequest(&blob, flags, port, hostIP,
hostName);
if (!blobSize)
printf("Error in PackSSLDataConnectionRequest: %d\n", SSMPR_GetError());
SSMPORT_Free(hostIP);
SSMPORT_Free(hostName);
flags = port = 0;
recvd = (void *)SSMPORT_ZAlloc(blobSize);
if (!recvd) printf("Can't allocate %d bytes of memory!\n", blobSize);
memcpy(recvd, blob, blobSize);
SSMPORT_Free(blob);
rv = SSM_ParseSSLDataConnectionRequest(recvd, &flags, &port, &hostIP,
&hostName);
if (rv != SSMPR_SUCCESS)
printf("Error in ParseSSLDataConnectionRequest: %d\n", SSMPR_GetError());
printf(
"SSLDataConnRequest, parsing flags %x, port %d, hostIP %s, hostName %s\n",
flags, port, hostIP, hostName);
SSMPORT_Free(hostIP);
SSMPORT_Free(hostName);
/*
* Test functions to parse and pack SSLDataConnectionReply message
*/
result = 2;
connID = 713259;
port = 57402;
printf("SSLDataConnReply, packing result %d, connectionID %d, port %d\n",
result, connID, port);
blobSize = SSM_PackSSLDataConnectionReply(&blob, result, connID, port);
if (!blobSize)
printf("Error in PackSSLDataConnReply: %d\n", SSMPR_GetError());
result = connID = port = 0;
recvd = (void *)SSMPORT_ZAlloc(blobSize);
if (!recvd) printf("Can't allocate %d bytes of memory!\n", blobSize);
memcpy(recvd, blob, blobSize);
SSMPORT_Free(blob);
rv = SSM_ParseSSLDataConnectionReply(recvd, &result, &connID, &port);
if (rv != SSMPR_SUCCESS)
printf("Error in ParseSSLDataConnectionReply: %d\n", SSMPR_GetError());
printf("SSLDataConnReply, parsing result %d, connectionID %d, port %d\n",
result, connID, port);
/*
* Test functions to parse and pack SecurityStatusRequest message
*/
connID = 45375;
printf("SecurityStatusRequest, packing connection ID %d\n", connID);
blobSize = SSM_PackSecurityStatusRequest(&blob, connID);
if (!blobSize)
printf("Error in PackSecurityStatusRequest: %d\n", SSMPR_GetError());
connID = 0;
recvd = (void *)SSMPORT_ZAlloc(blobSize);
if (!recvd) printf("Can't allocate %d bytes of memory!\n", blobSize);
memcpy(recvd, blob, blobSize);
SSMPORT_Free(blob);
rv = SSM_ParseSecurityStatusRequest(recvd, &connID);
if (rv != SSMPR_SUCCESS)
printf("Error in ParseSecurityStatusRequest: %d\n", SSMPR_GetError());
printf("SecurityStatusRequest, parsing connection ID %d\n", connID);
/*
* Test functions to parse and pack SecurityStatusReply message
*/
result = 2;
keySize = 256;
secretKeySize = 511;
cipher = (char *)SSMPORT_ZAlloc(strlen("My Cipher"));
sprintf(cipher, "My Cipher");
CA = (char *)SSMPORT_ZAlloc(strlen("My CA issuer"));
sprintf(CA, "My CA issuer");
printf("SecurityStatusReply, packing result %d, keysize %d, secretKeySize %d, cipher %s, CA %s\n", result, keySize, secretKeySize, cipher, CA);
blobSize = SSM_PackSecurityStatusReply(&blob, result, keySize, secretKeySize, cipher, CA);
if (!blobSize)
printf("Error in PackSecurityStatusReply: %d\n", SSMPR_GetError());
result = keySize = secretKeySize = 0;
SSMPORT_Free(cipher);
SSMPORT_Free(CA);
recvd = (void *)SSMPORT_ZAlloc(blobSize);
if (!recvd) printf("Can't allocate %d bytes of memory!\n", blobSize);
memcpy(recvd, blob, blobSize);
SSMPORT_Free(blob);
rv = SSM_ParseSecurityStatusReply(recvd, &result, &keySize, &secretKeySize,
&cipher, &CA);
if (rv != SSMPR_SUCCESS)
printf("Error in ParseSecurityStatusReply: %d\n", SSMPR_GetError());
printf("SecurityStatusReply, parsing result %d, keysize %d, secretKeySize %d, cipher %s, CA %s\n", result, keySize, secretKeySize, cipher, CA);
}

View File

@@ -0,0 +1,130 @@
/*
* 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 "protocol.h"
#include "prmem.h"
#include "prnetdb.h"
#include <string.h>
#ifndef NSPR20
#include "protocolport.c"
#endif
CMStatus SSM_SSMStringToString(char ** string,
int *len,
SSMString * ssmString)
{
char * str = NULL;
int realLen;
PRStatus rv =PR_SUCCESS;
if (!ssmString || !string ) {
rv = PR_INVALID_ARGUMENT_ERROR;
goto loser;
}
/* in case we fail */
*string = NULL;
if (len) *len = 0;
/* Convert from net byte order */
realLen = SSMPR_ntohl(ssmString->m_length);
str = (char *)PR_CALLOC(realLen+1); /* add 1 byte for end 0 */
if (!str) {
rv = PR_OUT_OF_MEMORY_ERROR;
goto loser;
}
memcpy(str, (char *) &(ssmString->m_data), realLen);
/* str[realLen]=0; */
if (len) *len = realLen;
*string = str;
return rv;
loser:
if (str)
PR_Free(str);
if (string && *string) {
PR_Free(*string);
*string = NULL;
}
if (rv == PR_SUCCESS)
rv = PR_FAILURE;
return rv;
}
CMStatus SSM_StringToSSMString(SSMString ** ssmString, int length,
char * string)
{
SSMPRUint32 len;
SSMString *result = NULL;
PRStatus rv = PR_SUCCESS;
if (!string || !ssmString) {
rv = PR_INVALID_ARGUMENT_ERROR;
goto loser;
}
*ssmString = NULL; /* in case we fail */
if (length) len = length;
else len = strlen(string);
if (len <= 0) {
rv = PR_INVALID_ARGUMENT_ERROR;
goto loser;
}
result = (SSMString *) PR_CALLOC(sizeof(PRUint32) +
SSMSTRING_PADDED_LENGTH(len));
if (!result) {
rv = PR_OUT_OF_MEMORY_ERROR;
goto loser;
}
result->m_length = SSMPR_htonl(len);
memcpy((char *) (&(result->m_data)), string, len);
*ssmString = result;
goto done;
loser:
if (result)
PR_Free(result);
*ssmString = NULL;
if (rv == PR_SUCCESS)
rv = PR_FAILURE;
done:
return rv;
}

View File

@@ -0,0 +1,165 @@
/* -*- 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 __SSM_RSRCIDS_H__
#define __SSM_RSRCIDS_H__
#include "ssmdefs.h"
/*
* IMPORTANT:
*
* To preserve backward compatibility as much as possible, always add new
* values to either one of the enumeration tables at the end of the table.
*/
typedef enum
{
SSM_RESTYPE_NULL = 0L,
SSM_RESTYPE_RESOURCE,
SSM_RESTYPE_CONNECTION,
SSM_RESTYPE_CONTROL_CONNECTION,
SSM_RESTYPE_DATA_CONNECTION,
SSM_RESTYPE_SSL_DATA_CONNECTION,
SSM_RESTYPE_PKCS7_DECODE_CONNECTION,
SSM_RESTYPE_PKCS7_ENCODE_CONNECTION,
SSM_RESTYPE_HASH_CONNECTION,
SSM_RESTYPE_CERTIFICATE,
SSM_RESTYPE_SSL_SOCKET_STATUS,
SSM_RESTYPE_PKCS7_CONTENT_INFO,
SSM_RESTYPE_KEY_PAIR,
SSM_RESTYPE_CRMF_REQUEST,
SSM_RESTYPE_KEYGEN_CONTEXT,
SSM_RESTYPE_SECADVISOR_CONTEXT,
SSM_RESTYPE_SIGNTEXT,
SSM_RESTYPE_PKCS12_CONTEXT,
SSM_RESTYPE_MAX
} SSMResourceType;
/* Attribute/resource types */
/* Attribute IDs */
typedef enum
{
SSM_FID_NULL = (CMUint32) 0, /* placeholder */
/* Connection attributes */
SSM_FID_CONN_ALIVE,
SSM_FID_CONN_PARENT,
/* Data connection attributes */
SSM_FID_CONN_DATA_PENDING,
/* SSL data connection attributes */
SSM_FID_SSLDATA_SOCKET_STATUS,
SSM_FID_SSLDATA_ERROR_VALUE,
/* PKCS7 decode connection attributes */
SSM_FID_P7CONN_CONTENT_INFO,
SSM_FID_P7CONN_RETURN_VALUE,
SSM_FID_P7CONN_ERROR_VALUE,
/* Hash connection attributes */
SSM_FID_HASHCONN_RESULT,
/* Certificate attributes */
SSM_FID_CERT_SUBJECT_NAME,
SSM_FID_CERT_ISSUER_NAME,
SSM_FID_CERT_SERIAL_NUMBER,
SSM_FID_CERT_EXP_DATE,
SSM_FID_CERT_FINGERPRINT,
SSM_FID_CERT_COMMON_NAME,
SSM_FID_CERT_NICKNAME,
SSM_FID_CERT_ORG_NAME,
SSM_FID_CERT_HTML_CERT,
SSM_FID_CERT_PICKLE_CERT,
SSM_FID_CERT_CERTKEY,
SSM_FID_CERT_FIND_CERT_ISSUER,
SSM_FID_CERT_EMAIL_ADDRESS,
SSM_FID_CERT_ISPERM,
/* SSL socket status attributes */
SSM_FID_SSS_KEYSIZE,
SSM_FID_SSS_SECRET_KEYSIZE,
SSM_FID_SSS_CERT_ID,
SSM_FID_SSS_CIPHER_NAME,
SSM_FID_SSS_SECURITY_LEVEL,
SSM_FID_SSS_HTML_STATUS,
/* PKCS7 content info attributes */
SSM_FID_P7CINFO_IS_SIGNED,
SSM_FID_P7CINFO_IS_ENCRYPTED,
SSM_FID_P7CINFO_SIGNER_CERT,
/* CRMF ID's */
SSM_FID_CRMFREQ_REGTOKEN,
SSM_FID_CRMFREQ_AUTHENTICATOR,
SSM_FID_CRMFREQ_EXTENSIONS,
SSM_FID_CRMFREQ_KEY_TYPE,
SSM_FID_CRMFREQ_DN,
/* Security advisor context */
SSM_FID_SECADVISOR_URL,
SSM_FID_SECADVISOR_WIDTH,
SSM_FID_SECADVISOR_HEIGHT,
/* Sign Text */
SSM_FID_SIGNTEXT_RESULT,
/* Key Gen ID's */
SSM_FID_KEYGEN_ESCROW_AUTHORITY,
/* Key Pair ID's */
SSM_FID_KEYPAIR_KEY_GEN_TYPE,
/* Session Attributes */
SSM_FID_DEFAULT_EMAIL_RECIPIENT_CERT,
SSM_FID_DEFAULT_EMAIL_SIGNER_CERT,
/* Client Context Attribute */
SSM_FID_CLIENT_CONTEXT,
/* Resource Error */
SSM_FID_RESOURCE_ERROR,
SSM_FID_KEYGEN_SLOT_NAME,
SSM_FID_DISABLE_ESCROW_WARN,
SSM_FID_KEYGEN_TOKEN_NAME,
SSM_FID_SSLDATA_DISCARD_SOCKET_STATUS,
SSM_FID_MAX /* placeholder */
} SSMAttributeID;
#endif

View File

@@ -0,0 +1,324 @@
/* -*- 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 __SSMDEFS_H__
#define __SSMDEFS_H__
/* Basic type definitions for both client and server. */
typedef long CMInt32;
typedef unsigned long CMUint32;
typedef long SSMResourceID;
typedef int SSMStatus;
#define PSM_PORT 11111
#define PSM_DATA_PORT 11113 /* needs to be removed */
typedef enum _CMTStatus {
CMTFailure = -1,
CMTSuccess = 0
} CMTStatus;
typedef enum {
CM_FALSE = 0,
CM_TRUE = 1
} CMBool;
typedef struct CMTItemStr {
CMUint32 type;
unsigned char *data;
unsigned int len;
} CMTItem;
/* A length-encoded string. */
struct _SSMString {
CMUint32 m_length;
char m_data;
};
typedef struct _SSMString SSMString;
#define SSM_PROTOCOL_VERSION 0x00000051
#define SSM_INVALID_RESOURCE 0x00000000
#define SSM_GLOBAL_RESOURCE 0x00000001
#define SSM_SESSION_RESOURCE 0x00000002
/* Message category flags */
#define SSM_REQUEST_MESSAGE 0x10000000
#define SSM_REPLY_OK_MESSAGE 0x20000000
#define SSM_REPLY_ERR_MESSAGE 0x30000000
#define SSM_EVENT_MESSAGE 0x40000000
/* Message types */
#define SSM_DATA_CONNECTION 0x00001000
#define SSM_OBJECT_SIGNING 0x00002000
#define SSM_RESOURCE_ACTION 0x00003000
#define SSM_CERT_ACTION 0x00004000
#define SSM_PKCS11_ACTION 0x00005000
#define SSM_CRMF_ACTION 0x00006000
#define SSM_FORMSIGN_ACTION 0x00007000
#define SSM_LOCALIZED_TEXT 0x00008000
#define SSM_HELLO_MESSAGE 0x00009000
#define SSM_SECURITY_ADVISOR 0x0000a000
#define SSM_SEC_CFG_ACTION 0x0000b000
#define SSM_KEYGEN_TAG 0x0000c000
#define SSM_PREF_ACTION 0x0000d000
#define SSM_MISC_ACTION 0x0000f000
/* Data connection messages subtypes */
#define SSM_SSL_CONNECTION 0x00000100
#define SSM_PKCS7DECODE_STREAM 0x00000200
#define SSM_PKCS7ENCODE_STREAM 0x00000300
#define SSM_HASH_STREAM 0x00000400
#define SSM_TLS_CONNECTION 0x00000500
#define SSM_PROXY_CONNECTION 0x00000600
/* Object signing message subtypes */
#define SSM_VERIFY_RAW_SIG 0x00000100
#define SSM_VERIFY_DETACHED_SIG 0x00000200
#define SSM_CREATE_SIGNED 0x00000300
#define SSM_CREATE_ENCRYPTED 0x00000400
/* Resource access messages subtypes */
#define SSM_CREATE_RESOURCE 0x00000100
#define SSM_DESTROY_RESOURCE 0x00000200
#define SSM_GET_ATTRIBUTE 0x00000300
#define SSM_CONSERVE_RESOURCE 0x00000400
#define SSM_DUPLICATE_RESOURCE 0x00000500
#define SSM_SET_ATTRIBUTE 0x00000600
#define SSM_TLS_STEPUP 0x00000700
#define SSM_PROXY_STEPUP 0x00000800
/* Further specification for resource access messages */
#define SSM_SSLSocket_Status 0x00000010
#define SSM_NO_ATTRIBUTE 0x00000000
#define SSM_NUMERIC_ATTRIBUTE 0x00000010
#define SSM_STRING_ATTRIBUTE 0x00000020
#define SSM_RID_ATTRIBUTE 0x00000030
#define SSM_PICKLE_RESOURCE 0x00000010
#define SSM_UNPICKLE_RESOURCE 0x00000020
#define SSM_PICKLE_SECURITY_STATUS 0x00000030
/* Certificate access message subtypes */
#define SSM_IMPORT_CERT 0x00000100
#define SSM_VERIFY_CERT 0x00000200
#define SSM_FIND_BY_NICKNAME 0x00000300
#define SSM_FIND_BY_KEY 0x00000400
#define SSM_FIND_BY_EMAILADDR 0x00000500
#define SSM_ADD_TO_DB 0x00000600
#define SSM_DECODE_CERT 0x00000700
#define SSM_MATCH_USER_CERT 0x00000800
#define SSM_DESTROY_CERT 0x00000900
#define SSM_DECODE_TEMP_CERT 0x00000a00
#define SSM_REDIRECT_COMPARE 0x00000b00
#define SSM_DECODE_CRL 0x00000c00
#define SSM_EXTENSION_VALUE 0x00000d00
#define SSM_HTML_INFO 0x00000e00
/* message subtypes used for KEYGEN form tag */
#define SSM_GET_KEY_CHOICE 0x00000100
#define SSM_KEYGEN_START 0x00000200
#define SSM_KEYGEN_TOKEN 0x00000300
#define SSM_KEYGEN_PASSWORD 0x00000400
#define SSM_KEYGEN_DONE 0x00000500
#define SSM_CREATE_KEY_PAIR 0x00000100
#define SSM_FINISH_KEY_GEN 0x00000200
#define SSM_ADD_NEW_MODULE 0x00000300
#define SSM_DEL_MODULE 0x00000400
#define SSM_LOGOUT_ALL 0x00000500
#define SSM_ENABLED_CIPHERS 0x00000600
#define SSM_CREATE_CRMF_REQ 0x00000100
#define SSM_DER_ENCODE_REQ 0x00000200
#define SSM_PROCESS_CMMF_RESP 0x00000300
#define SSM_CHALLENGE 0x00000400
#define SSM_SIGN_TEXT 0x00000100
/* Security Config subtypes */
#define SSM_ADD_CERT_TO_TEMP_DB 0x00000100
#define SSM_ADD_TEMP_CERT_TO_DB 0x00000200
#define SSM_DELETE_PERM_CERTS 0x00000300
#define SSM_FIND_CERT_KEY 0x00000400
#define SSM_GET_CERT_PROP_BY_KEY 0x00000500
#define SSM_CERT_INDEX_ENUM 0x00000600
/* subcategories for SSM_FIND_CERT_KEY and SSM_CERT_INDEX_ENUM */
#define SSM_FIND_KEY_BY_NICKNAME 0x00000010
#define SSM_FIND_KEY_BY_EMAIL_ADDR 0x00000020
#define SSM_FIND_KEY_BY_DN 0x00000030
/* subcategories for SSM_GET_CERT_PROP_BY_KEY */
#define SSM_SECCFG_GET_NICKNAME 0x00000010
#define SSM_SECCFG_GET_EMAIL_ADDR 0x00000020
#define SSM_SECCFG_GET_DN 0x00000030
#define SSM_SECCFG_GET_TRUST 0x00000040
#define SSM_SECCFG_CERT_IS_PERM 0x00000050
#define SSM_SECCFG_GET_NOT_BEFORE 0x00000060
#define SSM_SECCFG_GET_NOT_AFTER 0x00000070
#define SSM_SECCFG_GET_SERIAL_NO 0x00000080
#define SSM_SECCFG_GET_ISSUER 0x00000090
#define SSM_SECCFG_GET_ISSUER_KEY 0x000000a0
#define SSM_SECCFG_GET_SUBJECT_NEXT 0x000000b0
#define SSM_SECCFG_GET_SUBJECT_PREV 0x000000c0
/* Misc requests */
#define SSM_MISC_GET_RNG_DATA 0x00000100
#define SSM_MISC_PUT_RNG_DATA 0x00000200
#define SSM_MISC_SDR_ENCRYPT 0x00000300
#define SSM_MISC_SDR_DECRYPT 0x00000400
#define SSM_MISC_UI 0x00000500
/* specific UI requests */
#define SSM_UI_CHANGE_PASSWORD 0x00000010
#define SSM_SDR_ENCRYPT_REQUEST \
(SSM_REQUEST_MESSAGE|SSM_MISC_ACTION|SSM_MISC_SDR_ENCRYPT)
#define SSM_SDR_ENCRYPT_REPLY \
(SSM_REPLY_OK_MESSAGE|SSM_MISC_ACTION|SSM_MISC_SDR_ENCRYPT)
#define SSM_SDR_DECRYPT_REQUEST \
(SSM_REQUEST_MESSAGE|SSM_MISC_ACTION|SSM_MISC_SDR_DECRYPT)
#define SSM_SDR_DECRYPT_REPLY \
(SSM_REPLY_OK_MESSAGE|SSM_MISC_ACTION|SSM_MISC_SDR_DECRYPT)
/* Type masks for message types */
#define SSM_CATEGORY_MASK 0xF0000000
#define SSM_TYPE_MASK 0x0000F000
#define SSM_SUBTYPE_MASK 0x00000F00
#define SSM_SPECIFIC_MASK 0x000000F0
typedef struct SSMAttributeValue {
CMUint32 type;
union {
SSMResourceID rid;
CMTItem string;
CMInt32 numeric;
} u;
} SSMAttributeValue;
typedef enum {
rsaEnc, rsaDualUse, rsaSign, rsaNonrepudiation, rsaSignNonrepudiation,
dhEx, dsaSignNonrepudiation, dsaSign, dsaNonrepudiation, invalidKeyGen
} SSMKeyGenType;
typedef enum {
ssmUnknownPolicy= -1,ssmDomestic=0, ssmExport=1, ssmFrance=2
} SSMPolicyType;
/* These are the localized strings that PSM can feed back to
* the plug-in. These will initially be used by the plug-in for
* JavaScript purposes to pop up alert/confirm dialogs that would
* cause nightmares to do if we sent UI events.
*/
typedef enum {
SSM_STRING_BAD_PK11_LIB_PARAM,
SSM_STRING_BAD_PK11_LIB_PATH,
SSM_STRING_ADD_MOD_SUCCESS,
SSM_STRING_DUP_MOD_FAILURE,
SSM_STRING_ADD_MOD_FAILURE,
SSM_STRING_BAD_MOD_NAME,
SSM_STRING_EXT_MOD_DEL,
SSM_STRING_INT_MOD_DEL,
SSM_STRING_MOD_DEL_FAIL,
SSM_STRING_ADD_MOD_WARN,
SSM_STRING_MOD_PROMPT,
SSM_STRING_DLL_PROMPT,
SSM_STRING_DEL_MOD_WARN,
SSM_STRING_INVALID_CRL,
SSM_STRING_INVALID_CKL,
SSM_STRING_ROOT_CKL_CERT_NOT_FOUND,
SSM_STRING_BAD_CRL_SIGNATURE,
SSM_STRING_BAD_CKL_SIGNATURE,
SSM_STRING_ERR_ADD_CRL,
SSM_STRING_ERR_ADD_CKL,
SSM_STRING_JAVASCRIPT_DISABLED
} SSMLocalizedString;
/* Event types */
#define SSM_UI_EVENT 0x00001000
#define SSM_TASK_COMPLETED_EVENT 0x00002000
#define SSM_FILE_PATH_EVENT 0x00003000
#define SSM_PROMPT_EVENT 0x00004000
#define SSM_AUTH_EVENT 0x00007000
#define SSM_SAVE_PREF_EVENT 0x00008000
#define SSM_MISC_EVENT 0x0000f000
/* Flags used in Create SSL Data request */
#define SSM_REQUEST_SSL_DATA_SSL 0x00000001
#define SSM_REQUEST_SSL_DATA_PROXY 0x00000002
#define SSM_REQUEST_SSL_CONNECTION_MASK 0x00000003
/* Create typedefs for the various #defines */
typedef CMUint32 SSMMessageCategory;
typedef CMUint32 SSMMessageType;
typedef CMUint32 SSMDataConnectionSType;
typedef CMUint32 SSMObjSignSType;
typedef CMUint32 SSMResourceAccessSType;
typedef CMUint32 SSMCreateResource;
typedef CMUint32 SSMResourceAttrType;
typedef CMUint32 SSMResourceConsv;
typedef CMUint32 SSMCertAccessSType;
typedef CMUint32 SSMKeyGenTagProcessType;
typedef CMUint32 SSMPKCS11Actions;
typedef CMUint32 SSMCRMFAction;
typedef CMUint32 SSMFormSignAction;
typedef CMUint32 SSMSecCfgAction;
typedef CMUint32 SSMSecCfgFindByType;
typedef CMUint32 SSMSecCfgGetCertPropType;
typedef CMUint32 SSMMiscRequestType;
typedef CMUint32 SSMMessageMaskType;
typedef CMUint32 SSMEventType;
typedef CMUint32 SSMSSLConnectionRequestType;
/*
* This string is version that can be used to assemble any
* version information by the apllication using the protocol
* library.
*/
extern char SSMVersionString[];
/* What type of client */
typedef enum
{
SSM_NOINFO,
SSM_COMPOSE,
SSM_MAIL_MESSAGE,
SSM_NEWS_MESSAGE,
SSM_SNEWS_MESSAGE,
SSM_BROWSER
} SSMClientType;
#endif /* __SSMDEFS_H__ */

View File

@@ -0,0 +1,628 @@
/* -*- 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 "stddef.h"
#include "messages.h"
CMTMessageTemplate SingleNumMessageTemplate[] =
{
{ CMT_DT_INT, offsetof(SingleNumMessage, value) },
{ CMT_DT_END }
};
CMTMessageTemplate SingleStringMessageTemplate[] =
{
{ CMT_DT_STRING, offsetof(SingleStringMessage, string) },
{ CMT_DT_END }
};
CMTMessageTemplate SingleItemMessageTemplate[] =
{
{ CMT_DT_ITEM, offsetof(SingleItemMessage, item) },
{ CMT_DT_END }
};
CMTMessageTemplate HelloRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(HelloRequest, version) },
{ CMT_DT_INT, offsetof(HelloRequest, policy) },
{ CMT_DT_BOOL, offsetof(HelloRequest, doesUI) },
{ CMT_DT_STRING, offsetof(HelloRequest, profile) },
{ CMT_DT_STRING, offsetof(HelloRequest, profileDir) },
{ CMT_DT_END }
};
CMTMessageTemplate HelloReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(HelloReply, result) },
{ CMT_DT_INT, offsetof(HelloReply, sessionID) },
{ CMT_DT_INT, offsetof(HelloReply, version) },
{ CMT_DT_STRING, offsetof(HelloReply, stringVersion) },
{ CMT_DT_INT, offsetof(HelloReply, httpPort) },
{ CMT_DT_INT, offsetof(HelloReply, policy) },
{ CMT_DT_ITEM, offsetof(HelloReply, nonce) },
{ CMT_DT_END }
};
CMTMessageTemplate SSLDataConnectionRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(SSLDataConnectionRequest, flags) },
{ CMT_DT_INT, offsetof(SSLDataConnectionRequest, port) },
{ CMT_DT_STRING, offsetof(SSLDataConnectionRequest, hostIP) },
{ CMT_DT_STRING, offsetof(SSLDataConnectionRequest, hostName) },
{ CMT_DT_BOOL, offsetof(SSLDataConnectionRequest, forceHandshake) },
{ CMT_DT_ITEM, offsetof(SSLDataConnectionRequest, clientContext) },
{ CMT_DT_END }
};
CMTMessageTemplate TLSDataConnectionRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(TLSDataConnectionRequest, port) },
{ CMT_DT_STRING, offsetof(TLSDataConnectionRequest, hostIP) },
{ CMT_DT_STRING, offsetof(TLSDataConnectionRequest, hostName) },
{ CMT_DT_END }
};
CMTMessageTemplate TLSStepUpRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(TLSStepUpRequest, connID) },
{ CMT_DT_ITEM, offsetof(TLSStepUpRequest, clientContext) },
{ CMT_DT_END }
};
CMTMessageTemplate ProxyStepUpRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(ProxyStepUpRequest, connID) },
{ CMT_DT_ITEM, offsetof(ProxyStepUpRequest, clientContext) },
{ CMT_DT_STRING, offsetof(ProxyStepUpRequest, url) },
{ CMT_DT_END }
};
CMTMessageTemplate PKCS7DataConnectionRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(PKCS7DataConnectionRequest, resID) },
{ CMT_DT_ITEM, offsetof(PKCS7DataConnectionRequest, clientContext) },
{ CMT_DT_END }
};
CMTMessageTemplate DataConnectionReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(DataConnectionReply, result) },
{ CMT_DT_INT, offsetof(DataConnectionReply, connID) },
{ CMT_DT_INT, offsetof(DataConnectionReply, port) },
{ CMT_DT_END }
};
CMTMessageTemplate UIEventTemplate[] =
{
{ CMT_DT_INT, offsetof(UIEvent, resourceID) },
{ CMT_DT_INT, offsetof(UIEvent, width) },
{ CMT_DT_INT, offsetof(UIEvent, height) },
{ CMT_DT_BOOL, offsetof(UIEvent, isModal) },
{ CMT_DT_STRING, offsetof(UIEvent, url) },
{ CMT_DT_ITEM, offsetof(UIEvent, clientContext) },
{ CMT_DT_END }
};
/*
* The old UI Event was missing the modal indication.
* As a transition aid, we use the old template if the
* "modern" version doesn't work. Model is true in that case
*/
CMTMessageTemplate OldUIEventTemplate[] =
{
{ CMT_DT_INT, offsetof(UIEvent, resourceID) },
{ CMT_DT_INT, offsetof(UIEvent, width) },
{ CMT_DT_INT, offsetof(UIEvent, height) },
{ CMT_DT_STRING, offsetof(UIEvent, url) },
{ CMT_DT_ITEM, offsetof(UIEvent, clientContext) },
{ CMT_DT_END }
};
CMTMessageTemplate TaskCompletedEventTemplate[] =
{
{ CMT_DT_INT, offsetof(TaskCompletedEvent, resourceID) },
{ CMT_DT_INT, offsetof(TaskCompletedEvent, numTasks) },
{ CMT_DT_INT, offsetof(TaskCompletedEvent, result) },
{ CMT_DT_END }
};
CMTMessageTemplate VerifyDetachedSigRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(VerifyDetachedSigRequest, pkcs7ContentID) },
{ CMT_DT_INT, offsetof(VerifyDetachedSigRequest, certUsage) },
{ CMT_DT_INT, offsetof(VerifyDetachedSigRequest, hashAlgID) },
{ CMT_DT_BOOL, offsetof(VerifyDetachedSigRequest, keepCert) },
{ CMT_DT_ITEM, offsetof(VerifyDetachedSigRequest, hash) },
{ CMT_DT_END }
};
CMTMessageTemplate CreateSignedRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(CreateSignedRequest, scertRID) },
{ CMT_DT_INT, offsetof(CreateSignedRequest, ecertRID) },
{ CMT_DT_INT, offsetof(CreateSignedRequest, dig_alg) },
{ CMT_DT_ITEM, offsetof(CreateSignedRequest, digest) },
{ CMT_DT_END }
};
CMTMessageTemplate CreateContentInfoReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(CreateContentInfoReply, ciRID) },
{ CMT_DT_INT, offsetof(CreateContentInfoReply, result) },
{ CMT_DT_INT, offsetof(CreateContentInfoReply, errorCode) },
{ CMT_DT_END }
};
CMTMessageTemplate CreateEncryptedRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(CreateEncryptedRequest, scertRID) },
{ CMT_DT_LIST, offsetof(CreateEncryptedRequest, nrcerts) },
{ CMT_DT_INT, offsetof(CreateEncryptedRequest, rcertRIDs) },
{ CMT_DT_END }
};
CMTMessageTemplate CreateResourceRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(CreateResourceRequest, type) },
{ CMT_DT_ITEM, offsetof(CreateResourceRequest, params) },
{ CMT_DT_END }
};
CMTMessageTemplate CreateResourceReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(CreateResourceReply, result) },
{ CMT_DT_INT, offsetof(CreateResourceReply, resID) },
{ CMT_DT_END }
};
CMTMessageTemplate GetAttribRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(GetAttribRequest, resID) },
{ CMT_DT_INT, offsetof(GetAttribRequest, fieldID) },
{ CMT_DT_END }
};
CMTMessageTemplate GetAttribReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(GetAttribReply, result) },
{ CMT_DT_CHOICE, offsetof(GetAttribReply, value.type) },
{ CMT_DT_RID, offsetof(GetAttribReply, value.u.rid), 0, SSM_RID_ATTRIBUTE },
{ CMT_DT_INT, offsetof(GetAttribReply, value.u.numeric), 0,
SSM_NUMERIC_ATTRIBUTE },
{ CMT_DT_ITEM, offsetof(GetAttribReply, value.u.string), 0,
SSM_STRING_ATTRIBUTE},
{ CMT_DT_END_CHOICE },
{ CMT_DT_END }
};
CMTMessageTemplate SetAttribRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(SetAttribRequest, resID) },
{ CMT_DT_INT, offsetof(SetAttribRequest, fieldID) },
{ CMT_DT_CHOICE, offsetof(SetAttribRequest, value.type) },
{ CMT_DT_RID, offsetof(SetAttribRequest, value.u.rid), 0, SSM_RID_ATTRIBUTE },
{ CMT_DT_INT, offsetof(SetAttribRequest, value.u.numeric), 0,
SSM_NUMERIC_ATTRIBUTE },
{ CMT_DT_ITEM, offsetof(SetAttribRequest, value.u.string), 0,
SSM_STRING_ATTRIBUTE},
{ CMT_DT_END_CHOICE },
{ CMT_DT_END }
};
CMTMessageTemplate PickleResourceReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(PickleResourceReply, result) },
{ CMT_DT_ITEM, offsetof(PickleResourceReply, blob) },
{ CMT_DT_END }
};
CMTMessageTemplate UnpickleResourceRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(UnpickleResourceRequest, resourceType) },
{ CMT_DT_ITEM, offsetof(UnpickleResourceRequest, resourceData) },
{ CMT_DT_END }
};
CMTMessageTemplate UnpickleResourceReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(UnpickleResourceReply, result) },
{ CMT_DT_INT, offsetof(UnpickleResourceReply, resID) },
{ CMT_DT_END }
};
CMTMessageTemplate PickleSecurityStatusReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(PickleSecurityStatusReply, result) },
{ CMT_DT_INT, offsetof(PickleSecurityStatusReply, securityLevel) },
{ CMT_DT_ITEM, offsetof(PickleSecurityStatusReply, blob) },
{ CMT_DT_END }
};
CMTMessageTemplate DupResourceReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(DupResourceReply, result) },
{ CMT_DT_RID, offsetof(DupResourceReply, resID), 0, SSM_RID_ATTRIBUTE },
{ CMT_DT_END }
};
CMTMessageTemplate DestroyResourceRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(DestroyResourceRequest, resID) },
{ CMT_DT_INT, offsetof(DestroyResourceRequest, resType) },
{ CMT_DT_END }
};
CMTMessageTemplate VerifyCertRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(VerifyCertRequest, resID) },
{ CMT_DT_INT, offsetof(VerifyCertRequest, certUsage) },
{ CMT_DT_END }
};
CMTMessageTemplate AddTempCertToDBRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(AddTempCertToDBRequest, resID) },
{ CMT_DT_STRING, offsetof(AddTempCertToDBRequest, nickname) },
{ CMT_DT_INT, offsetof(AddTempCertToDBRequest, sslFlags) },
{ CMT_DT_INT, offsetof(AddTempCertToDBRequest, emailFlags) },
{ CMT_DT_INT, offsetof(AddTempCertToDBRequest, objSignFlags) },
{ CMT_DT_END }
};
CMTMessageTemplate MatchUserCertRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(MatchUserCertRequest, certType) },
{ CMT_DT_LIST, offsetof(MatchUserCertRequest, numCANames) },
{ CMT_DT_STRING, offsetof(MatchUserCertRequest, caNames) },
{ CMT_DT_END }
};
CMTMessageTemplate MatchUserCertReplyTemplate[] =
{
{ CMT_DT_LIST, offsetof(MatchUserCertReply, numCerts) },
{ CMT_DT_INT, offsetof(MatchUserCertReply, certs) },
{ CMT_DT_END }
};
CMTMessageTemplate EncodeCRMFReqRequestTemplate[] =
{
{ CMT_DT_LIST, offsetof(EncodeCRMFReqRequest, numRequests) },
{ CMT_DT_INT, offsetof(EncodeCRMFReqRequest, reqIDs) },
{ CMT_DT_END }
};
CMTMessageTemplate CMMFCertResponseRequestTemplate[] =
{
{ CMT_DT_STRING, offsetof(CMMFCertResponseRequest, nickname) },
{ CMT_DT_STRING, offsetof(CMMFCertResponseRequest, base64Der) },
{ CMT_DT_INT, offsetof(CMMFCertResponseRequest, doBackup) },
{ CMT_DT_ITEM, offsetof(CMMFCertResponseRequest, clientContext) },
{ CMT_DT_END }
};
CMTMessageTemplate PasswordRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(PasswordRequest, tokenKey) },
{ CMT_DT_STRING, offsetof(PasswordRequest, prompt) },
{ CMT_DT_ITEM, offsetof(PasswordRequest, clientContext) },
{ CMT_DT_END }
};
CMTMessageTemplate PasswordReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(PasswordReply, result) },
{ CMT_DT_INT, offsetof(PasswordReply, tokenID) },
{ CMT_DT_STRING, offsetof(PasswordReply, passwd) },
{ CMT_DT_END }
};
CMTMessageTemplate KeyPairGenRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(KeyPairGenRequest, keyGenCtxtID) },
{ CMT_DT_INT, offsetof(KeyPairGenRequest, genMechanism) },
{ CMT_DT_INT, offsetof(KeyPairGenRequest, keySize) },
{ CMT_DT_ITEM, offsetof(KeyPairGenRequest, params) },
{ CMT_DT_END }
};
CMTMessageTemplate DecodeAndCreateTempCertRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(DecodeAndCreateTempCertRequest, type) },
{ CMT_DT_ITEM, offsetof(DecodeAndCreateTempCertRequest, cert) },
{ CMT_DT_END }
};
CMTMessageTemplate GenKeyOldStyleRequestTemplate[] =
{
{ CMT_DT_STRING, offsetof(GenKeyOldStyleRequest, choiceString) },
{ CMT_DT_STRING, offsetof(GenKeyOldStyleRequest, challenge) },
{ CMT_DT_STRING, offsetof(GenKeyOldStyleRequest, typeString) },
{ CMT_DT_STRING, offsetof(GenKeyOldStyleRequest, pqgString) },
{ CMT_DT_END }
};
CMTMessageTemplate GenKeyOldStyleTokenRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(GenKeyOldStyleTokenRequest, rid) },
{ CMT_DT_LIST, offsetof(GenKeyOldStyleTokenRequest, numtokens) },
{ CMT_DT_STRING,offsetof(GenKeyOldStyleTokenRequest, tokenNames)},
{ CMT_DT_END }
};
CMTMessageTemplate GenKeyOldStyleTokenReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(GenKeyOldStyleTokenReply, rid) },
{ CMT_DT_BOOL, offsetof(GenKeyOldStyleTokenReply, cancel) },
{ CMT_DT_STRING, offsetof(GenKeyOldStyleTokenReply, tokenName) },
{ CMT_DT_END }
};
CMTMessageTemplate GenKeyOldStylePasswordRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(GenKeyOldStylePasswordRequest, rid) },
{ CMT_DT_STRING, offsetof(GenKeyOldStylePasswordRequest, tokenName) },
{ CMT_DT_BOOL, offsetof(GenKeyOldStylePasswordRequest, internal) },
{ CMT_DT_INT, offsetof(GenKeyOldStylePasswordRequest, minpwdlen) },
{ CMT_DT_INT, offsetof(GenKeyOldStylePasswordRequest, maxpwdlen) },
{ CMT_DT_END }
};
CMTMessageTemplate GenKeyOldStylePasswordReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(GenKeyOldStylePasswordReply, rid) },
{ CMT_DT_BOOL, offsetof(GenKeyOldStylePasswordReply, cancel) },
{ CMT_DT_STRING, offsetof(GenKeyOldStylePasswordReply, password) },
{ CMT_DT_END }
};
CMTMessageTemplate GetKeyChoiceListRequestTemplate[] =
{
{ CMT_DT_STRING, offsetof(GetKeyChoiceListRequest, type) },
{ CMT_DT_STRING, offsetof(GetKeyChoiceListRequest, pqgString) },
{ CMT_DT_END }
};
CMTMessageTemplate GetKeyChoiceListReplyTemplate[] =
{
{ CMT_DT_LIST, offsetof(GetKeyChoiceListReply, nchoices) },
{ CMT_DT_STRING, offsetof(GetKeyChoiceListReply, choices) },
{ CMT_DT_END }
};
CMTMessageTemplate AddNewSecurityModuleRequestTemplate[] =
{
{ CMT_DT_STRING, offsetof(AddNewSecurityModuleRequest, moduleName) },
{ CMT_DT_STRING, offsetof(AddNewSecurityModuleRequest, libraryPath) },
{ CMT_DT_INT, offsetof(AddNewSecurityModuleRequest, pubMechFlags) },
{ CMT_DT_INT, offsetof(AddNewSecurityModuleRequest, pubCipherFlags) },
{ CMT_DT_END }
};
CMTMessageTemplate FilePathRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(FilePathRequest, resID) },
{ CMT_DT_STRING, offsetof(FilePathRequest, prompt) },
{ CMT_DT_BOOL, offsetof(FilePathRequest, getExistingFile) },
{ CMT_DT_STRING, offsetof(FilePathRequest, fileRegEx) },
{ CMT_DT_END }
};
CMTMessageTemplate FilePathReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(FilePathReply, resID) },
{ CMT_DT_STRING, offsetof(FilePathReply, filePath) },
{ CMT_DT_END }
};
CMTMessageTemplate PasswordPromptReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(PasswordPromptReply, resID) },
{ CMT_DT_STRING, offsetof(PasswordPromptReply, promptReply) },
{ CMT_DT_END }
};
CMTMessageTemplate SignTextRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(SignTextRequest, resID) },
{ CMT_DT_STRING, offsetof(SignTextRequest, stringToSign) },
{ CMT_DT_STRING, offsetof(SignTextRequest, hostName) },
{ CMT_DT_STRING, offsetof(SignTextRequest, caOption) },
{ CMT_DT_LIST, offsetof(SignTextRequest, numCAs) },
{ CMT_DT_STRING, offsetof(SignTextRequest, caNames) },
{ CMT_DT_END }
};
CMTMessageTemplate GetLocalizedTextReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(GetLocalizedTextReply, whichString) },
{ CMT_DT_STRING, offsetof(GetLocalizedTextReply, localizedString) },
{ CMT_DT_END }
};
CMTMessageTemplate ImportCertReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(ImportCertReply, result) },
{ CMT_DT_INT, offsetof(ImportCertReply, resID) },
{ CMT_DT_END }
};
CMTMessageTemplate PromptRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(PromptRequest, resID) },
{ CMT_DT_STRING, offsetof(PromptRequest, prompt) },
{ CMT_DT_ITEM, offsetof(PromptRequest, clientContext) },
{ CMT_DT_END }
};
CMTMessageTemplate PromptReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(PromptReply, resID) },
{ CMT_DT_BOOL, offsetof(PromptReply, cancel) },
{ CMT_DT_STRING, offsetof(PromptReply, promptReply) },
{ CMT_DT_END }
};
CMTMessageTemplate RedirectCompareRequestTemplate[] =
{
{ CMT_DT_ITEM, offsetof(RedirectCompareRequest, socketStatus1Data) },
{ CMT_DT_ITEM, offsetof(RedirectCompareRequest, socketStatus2Data) },
{ CMT_DT_END }
};
CMTMessageTemplate DecodeAndAddCRLRequestTemplate[] =
{
{ CMT_DT_ITEM, offsetof(DecodeAndAddCRLRequest, derCrl) },
{ CMT_DT_INT, offsetof(DecodeAndAddCRLRequest, type) },
{ CMT_DT_STRING, offsetof(DecodeAndAddCRLRequest, url) },
{ CMT_DT_END }
};
CMTMessageTemplate SecurityAdvisorRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(SecurityAdvisorRequest, infoContext) },
{ CMT_DT_INT, offsetof(SecurityAdvisorRequest, resID) },
{ CMT_DT_STRING, offsetof(SecurityAdvisorRequest, hostname) },
{ CMT_DT_STRING, offsetof(SecurityAdvisorRequest, senderAddr) },
{ CMT_DT_INT, offsetof(SecurityAdvisorRequest, encryptedP7CInfo) },
{ CMT_DT_INT, offsetof(SecurityAdvisorRequest, signedP7CInfo) },
{ CMT_DT_INT, offsetof(SecurityAdvisorRequest, decodeError) },
{ CMT_DT_INT, offsetof(SecurityAdvisorRequest, verifyError) },
{ CMT_DT_BOOL, offsetof(SecurityAdvisorRequest, encryptthis) },
{ CMT_DT_BOOL, offsetof(SecurityAdvisorRequest, signthis) },
{ CMT_DT_LIST, offsetof(SecurityAdvisorRequest, numRecipients) },
{ CMT_DT_STRING, offsetof(SecurityAdvisorRequest, recipients) },
{ CMT_DT_END }
};
CMTMessageTemplate SCAddTempCertToPermDBRequestTemplate[] =
{
{ CMT_DT_ITEM, offsetof(SCAddTempCertToPermDBRequest, certKey) },
{ CMT_DT_STRING, offsetof(SCAddTempCertToPermDBRequest, trustStr) },
{ CMT_DT_STRING, offsetof(SCAddTempCertToPermDBRequest, nickname) },
{ CMT_DT_END }
};
CMTMessageTemplate SCDeletePermCertsRequestTemplate[] =
{
{ CMT_DT_ITEM, offsetof(SCDeletePermCertsRequest, certKey) },
{ CMT_DT_BOOL, offsetof(SCDeletePermCertsRequest, deleteAll) },
{ CMT_DT_END }
};
CMTMessageTemplate TimeMessageTemplate[] =
{
{ CMT_DT_INT, offsetof(TimeMessage, year) },
{ CMT_DT_INT, offsetof(TimeMessage, month) },
{ CMT_DT_INT, offsetof(TimeMessage, day) },
{ CMT_DT_INT, offsetof(TimeMessage, hour) },
{ CMT_DT_INT, offsetof(TimeMessage, minute) },
{ CMT_DT_INT, offsetof(TimeMessage, second) },
{ CMT_DT_END }
};
CMTMessageTemplate SCCertIndexEnumReplyTemplate[] =
{
{ CMT_DT_INT, offsetof(SCCertIndexEnumReply, length) },
{ CMT_DT_STRUCT_PTR, offsetof(SCCertIndexEnumReply, list) },
{ CMT_DT_STRING, offsetof(CertEnumElement, name) },
{ CMT_DT_ITEM, offsetof(CertEnumElement, certKey) },
{ CMT_DT_END_STRUCT_LIST },
{ CMT_DT_END }
};
/* Test template */
CMTMessageTemplate TestListTemplate[] =
{
{ CMT_DT_STRING, offsetof(TestList, listName) },
{ CMT_DT_STRUCT_LIST, offsetof(TestList, numElements) },
{ CMT_DT_STRUCT_PTR, offsetof(TestList, elements) },
{ CMT_DT_STRING, offsetof(TestListElement, name) },
{ CMT_DT_STRING, offsetof(TestListElement, value) },
{ CMT_DT_END_STRUCT_LIST},
{ CMT_DT_END}
};
CMTMessageTemplate SetPrefListMessageTemplate[] =
{
{ CMT_DT_STRUCT_LIST, offsetof(SetPrefListMessage, length) },
{ CMT_DT_STRUCT_PTR, offsetof(SetPrefListMessage, list) },
{ CMT_DT_STRING, offsetof(SetPrefElement, key) },
{ CMT_DT_STRING, offsetof(SetPrefElement, value) },
{ CMT_DT_INT, offsetof(SetPrefElement, type) },
{ CMT_DT_END_STRUCT_LIST },
{ CMT_DT_END }
};
CMTMessageTemplate GetPrefListRequestTemplate[] =
{
{ CMT_DT_STRUCT_LIST, offsetof(GetPrefListRequest, length) },
{ CMT_DT_STRUCT_PTR, offsetof(GetPrefListRequest, list) },
{ CMT_DT_STRING, offsetof(GetPrefElement, key) },
{ CMT_DT_INT, offsetof(GetPrefElement, type) },
{ CMT_DT_END_STRUCT_LIST },
{ CMT_DT_END }
};
CMTMessageTemplate GetCertExtensionTemplate[] =
{
{ CMT_DT_INT, offsetof(GetCertExtension, resID) },
{ CMT_DT_INT, offsetof(GetCertExtension, extension) },
{ CMT_DT_END }
};
CMTMessageTemplate HTMLCertInfoRequestTemplate[] =
{
{ CMT_DT_INT, offsetof(HTMLCertInfoRequest, certID) },
{ CMT_DT_INT, offsetof(HTMLCertInfoRequest, showImages) },
{ CMT_DT_INT, offsetof(HTMLCertInfoRequest, showIssuer) },
{ CMT_DT_END }
};
CMTMessageTemplate EncryptRequestTemplate[] =
{
{ CMT_DT_ITEM, offsetof(EncryptRequestMessage, keyid) },
{ CMT_DT_ITEM, offsetof(EncryptRequestMessage, data) },
{ CMT_DT_ITEM, offsetof(EncryptRequestMessage, ctx) },
{ CMT_DT_END }
};
CMTMessageTemplate DecryptRequestTemplate[] =
{
{ CMT_DT_ITEM, offsetof(DecryptRequestMessage, data) },
{ CMT_DT_ITEM, offsetof(DecryptRequestMessage, ctx) },
{ CMT_DT_END }
};

View File

@@ -1,239 +0,0 @@
function createShortcuts()
{
var subkey;
var valname;
var szStartMenuPrograms;
var szStartMenu;
var szFolderDesktop;
var szFolderQuickLaunch;
var szFolderSendTo;
var winreg;
var fWindows;
var fTemp;
var fCommunicator;
var fileExe;
var scExeDesc;
var scProfileDesc;
var scProfileDescParam;
var scFolderName;
var fFolderPath;
var fFolderPathStr;
var is_winnt;
var szCurrentVersion;
winreg = getWinRegistry();
fWindows = getFolder("Windows");
fCommunicator = getFolder("Communicator");
fTemp = fCommunicator + "\\mozilla.exe";
fileExe = getFolder("file:///", fTemp);
scExeDesc = "Mozilla Seamonkey";
scProfileDesc = "Profile Manager";
scProfileDescParam = "-ProfileManager";
scFolderName = "Mozilla Seamonkey";
if(winreg != null)
{
winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
subkey = "SOFTWARE\\Mozilla\\Mozilla Seamonkey\\$UserAgent$\\Main";
valname = "Program Folder Path";
fFolderPathStr = winreg.getValueString(subkey, valname);
if((fFolderPathStr == "") || (fFolderPathStr == null))
{
/* determine if the script is running under NT or not */
winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
subkey = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion";
valname = "CurrentVersion";
szCurrentVersion = winreg.getValueString(subkey, valname);
logComment("szCurrentVersion: " + szCurrentVersion);
if((szCurrentVersion == "") || (szCurrentVersion == null))
{
is_winnt = false;
}
else
{
is_winnt = true;
}
if(is_winnt == false)
{
logComment("is_winnt is false: " + is_winnt);
winreg.setRootKey(winreg.HKEY_CURRENT_USER);
subkey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
valname = "Programs";
szStartMenuPrograms = winreg.getValueString(subkey, valname);
valname = "Start Menu";
szStartMenu = winreg.getValueString(subkey, valname);
valname = "Desktop";
szFolderDesktop = winreg.getValueString(subkey, valname);
}
else
{
logComment("is_winnt is true: " + is_winnt);
winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
subkey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
valname = "Common Programs";
szStartMenuPrograms = winreg.getValueString(subkey, valname);
valname = "Common Start Menu";
szStartMenu = winreg.getValueString(subkey, valname);
valname = "Common Desktop";
szFolderDesktop = winreg.getValueString(subkey, valname);
}
winreg.setRootKey(winreg.HKEY_CURRENT_USER);
subkey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders";
valname = "SendTo";
szFolderSendTo = winreg.getValueString(subkey, valname);
subkey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\GrpConv\\MapGroups";
valname = "Quick Launch";
szFolderQuickLaunch = winreg.getValueString(subkey, valname);
fTemp = szStartMenuPrograms + "\\" + scFolderName;
fFolderPath = getFolder("file:///", fTemp);
logComment("Folder StartMenuPrograms: " + szStartMenuPrograms);
logComment("Folder StartMenu: " + szStartMenu);
logComment("Folder FolderDesktop: " + szFolderDesktop);
logComment("Folder FolderSendTo: " + szFolderSendTo);
logComment("Folder FolderQuickLaunch: " + szFolderQuickLaunch);
}
else
{
/* convert the path string to a path folder object */
fFolderPath = getFolder("file:///", fFolderPathStr);
}
logComment("fileExe: " + fileExe);
logComment("fFolderPath: " + fFolderPath);
logComment("scExeDesc: " + scExeDesc);
logComment("fCommunicator : " + fCommunicator);
/* explicitly create the fFolderPath even though the windowsShortcut function creates the folder.
* This is so that the folder creation gets logged for uninstall to remove it. */
File.dirCreate(fFolderPath);
/* create the shortcuts */
File.windowsShortcut(fileExe, fFolderPath, scExeDesc, fCommunicator, "", fileExe, 0);
File.windowsShortcut(fileExe, fFolderPath, scProfileDesc, fCommunicator, scProfileDescParam, fileExe, 0);
/* set the Program Folder Path in the Mozilla key in the Windows Registry */
winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
subkey = "SOFTWARE\\Mozilla";
winreg.createKey(subkey,"");
valname = "CurrentVersion";
subkey = "SOFTWARE\\Mozilla\\Mozilla Seamonkey";
winreg.createKey(subkey,"");
valname = "CurrentVersion";
value = "$UserAgent$";
err = winreg.setValueString(subkey, valname, value);
subkey = "SOFTWARE\\Mozilla\\Mozilla Seamonkey\\$UserAgent$";
winreg.createKey(subkey,"");
subkey = "SOFTWARE\\Mozilla\\Mozilla Seamonkey\\$UserAgent$\\Main";
winreg.createKey(subkey,"");
valname = "Program Folder Path";
value = fFolderPath;
err = winreg.setValueString(subkey, valname, value);
}
else
{
logComment("winreg is null");
}
}
function updateWinReg()
{
//Notes:
// can't use a double backslash before subkey - Windows already puts it in.
// subkeys have to exist before values can be put in.
var winreg = getWinRegistry();
var subkey; //the name of the subkey you are poking around in
var valname; // the name of the value you want to look at
var value; //the data in the value you want to look at.
if(winreg != null)
{
winreg.setRootKey(winreg.HKEY_LOCAL_MACHINE);
subkey = "SOFTWARE\\Mozilla";
winreg.createKey(subkey,"");
subkey = "SOFTWARE\\Mozilla\\Mozilla Seamonkey";
winreg.createKey(subkey,"");
valname = "CurrentVersion";
value = "$UserAgent$";
err = winreg.setValueString(subkey, valname, value);
subkey = "SOFTWARE\\Mozilla\\Mozilla Seamonkey\\$UserAgent$";
winreg.createKey(subkey,"");
subkey = "SOFTWARE\\Mozilla\\Mozilla Seamonkey\\$UserAgent$\\Main";
winreg.createKey(subkey,"");
valname = "Install Directory";
value = fCommunicator;
err = winreg.setValueString(subkey, valname, value);
// set the App Paths key here
subkey = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\App Paths\\mozilla.exe";
winreg.createKey(subkey,"");
valname = "";
value = fCommunicator + "\\mozilla.exe";
err = winreg.setValueString(subkey, valname, value);
valname = "Path";
value = fCommunicator;
err = winreg.setValueString(subkey, valname, value);
}
}
// main
var srDest;
var err;
var fCommunicator;
var fWindowsSystem;
var fileComponentRegStr;
var fileComponentReg;
srDest = $SpaceRequired$:bin;
err = startInstall("Mozilla Seamonkey", "Browser", "$Version$");
logComment("startInstall: " + err);
fCommunicator = getFolder("Communicator");
fWindowsSystem = getFolder("Win System");
logComment("fCommunicator: " + fCommunicator);
if(verifyDiskSpace(fCommunicator, srDest) == true)
{
setPackageFolder(fCommunicator);
err = addDirectory("",
"$Version$",
"bin", // dir name in jar to extract
fCommunicator, // Where to put this file (Returned from GetFolder)
"", // subdir name to create relative to fCommunicator
true); // Force Flag
logComment("addDirectory() of Program returned: " + err);
// check return value
if(!checkError(err))
{
fileComponentRegStr = fCommunicator + "\\component.reg";
fileComponentReg = getFolder("file:///", fileComponentRegStr);
err = fileDelete(fileComponentReg);
logComment("fileDelete() returned: " + err);
updateWinReg();
createShortcuts();
err = finalizeInstall();
logComment("finalizeInstall() returned: " + err);
}
}
// end main

View File

@@ -1,494 +0,0 @@
[General]
; Run Mode values:
; Normal - Shows all dialogs. Requires user input.
; Auto - Shows some dialogs, but none requiring user input. It will
; automatically install the product using default values.
; Silent - Show no dialogs at all. It will install product using default
; values.
Run Mode=Normal
Product Name=Mozilla Seamonkey
; Destination Path values:
; PROGRAMFILESDIR
; WINDISK
; WINDIR
; WINSYSDIR
Path=[PROGRAMFILESDIR]\Mozilla\Seamonkey
; Program Folder Path values:
; COMMON_STARTUP
; COMMON_PROGRAMS
; COMMON_STARTMENU
; COMMON_DESKTOP
;
; PERSONAL_STARTUP
; PERSONAL_PROGRAMS
; PERSONAL_STARTMENU
; PERSONAL_DESKTOP
;
; PERSONAL_APPDATA
; PERSONAL_CACHE
; PERSONAL_COOKIES
; PERSONAL_FAVORITES
; PERSONAL_FONTS
; PERSONAL_HISTORY
; PERSONAL_NETHOOD
; PERSONAL_PERSONAL
; PERSONAL_PRINTHOOD (supported only under Windows NT)
; PERSONAL_RECENT
; PERSONAL_SENDTO
; PERSONAL_TEMPLATES
;
; PROGRAMFILESDIR
; COMMONFILESDIR
; MEDIAPATH
; CONFIGPATH (supported only under Windows95 and Windows98)
; DEVICEPATH
Program Folder Name=Mozilla Seamonkey
Program Folder Path=[COMMON_PROGRAMS]
; Default Setup Type values:
; Setup Type 0 - first radio button (default)
; Setup Type 1 - second radio button
; Setup Type 2 - third radio button
; Setup Type 3 - fourth radio button (usually the Custom option)
Default Setup Type=Setup Type 0
; Default Font Size is 32
; Default Font Color is WHITE (of BLACK and GREEN)
; Default Font Shadow is TRUE
Setup Title0=Mozilla Seamonkey Pr2 Setup
Setup Title0 Font Size=
Setup Title0 Font Color=
Setup Title0 Font Shadow=TRUE
Setup Title1=Build $Version$
Setup Title1 Font Size=12
Setup Title1 Font Color=BLACK
Setup Title1 Font Shadow=FALSE
Setup Title2=
Setup Title2 Font Size=
Setup Title2 Font Color=
Setup Title2 Font Shadow=TRUE
; HKey: valid decryptable setup keys are [Mozilla Seamonkey CurrentVersion]
; and [Mozilla Seamonkey CurrentVersion].
; Decrypt HKey: there are times when '[' and ']' are valid part of windows registry key names.
; Contains Filename: tells setup that the path contains filename needed to be removed before
; using it as a path.
; Verify Existance: FILE or PATH
;
[Locate Previous Product Path0]
HRoot=HKEY_LOCAL_MACHINE
HKey=[Netscape Seamonkey CurrentVersion]\Main
Name=Install Directory
Decrypt HKey=TRUE
Contains Filename=FALSE
Verify Existance=
; This section checks for legacy files.
; If the file(s), indicated by the Filename= key, is found to have a version of less than the value
; indicated by the Version= key, then display the string in the Message= key.
[Legacy Check0]
Filename=[SETUP PATH]\mozilla.exe
Version=6.0.0.0
Message=Setup has detected an old version of Mozilla in the chosen destination directory that may pose compatibility issues. It is highly recommended that a different destination directory be used. Would you like to choose a different directory?
[Dialog Welcome]
Show Dialog=TRUE
Title=Welcome
Message0=Welcome to %s Setup.
Message1=It is strongly recommended that you exit all Windows programs before running this Setup program.
Message2=Click Cancel to quit Setup and then close any programs you have running. Click Next to continue the Setup program.
[Dialog License]
Show Dialog=FALSE
Title=Software License Agreement
License File=license.txt
Message0=Please read the following license agreement. Use the scroll bar to view the rest of this agreement.
Message1=Click Accept if you accept the terms of the preceeding license agreement. If No is clicked, setup will quit.
[Dialog Setup Type]
Show Dialog=TRUE
Title=Setup Type
Message0=Click the type of setup you prefer, then click Next.
Readme Filename=readme.txt
Readme App=notepad.exe
; at least one Setup Type needs to be set, and up to 4 can be
; set (Setup Type0, Setup Type1, Setup Type2, Setup Type3).
[Setup Type0]
Description Short=B&ase
Description Long=Program will be installed with the minimal options.
; List of components to install/enable for this Setup Type.
; All other components not listed here will be disabled if
; this Setup Type is selected.
C0=Component0
C1=Component1
[Setup Type1]
Description Short=C&omplete
Description Long=Program will be installed with the most common options.
; List of components to install/enable for this Setup Type.
; All other components not listed here will be disabled if
; this Setup Type is selected.
C0=Component0
C1=Component1
C2=Component2
[Setup Type2]
Description Short=C&ustom
Description Long=You may choose the options you want to install. Recommended for advanced users only.
;Description Short=&Pro
;Description Long=Program will be installed with all the options available.
; List of components to install/enable for this Setup Type.
; All other components not listed here will be disabled if
; this Setup Type is selected.
C0=Component0
C1=Component1
C2=Component2
;[Setup Type3]
;Description Short=C&ustom
;Description Long=You may choose the options you want to install. Recommended for advanced users.
; List of components to install/enable for this Setup Type.
; All other components not listed here will be disabled if
; this Setup Type is selected.
;C0=Component0
;C1=Component1
;C2=Component2
;C3=Component3
[Dialog Select Components]
Show Dialog=TRUE
Title=Select Components
Message0=The browser is always installed. Select or clear the additional components you want to install.
[Dialog Windows Integration]
Show Dialog=FALSE
Title=Windows Integration
Message0=Check the Mozilla Preference options you would like Setup to perform.
Message1=These settings allow you to set default Internet preferences for browsing and searching. They affect browsers installed on your machine, including Mozilla Communicator and Microsoft Internet Explorer.
; Only a maximum of 4 "Windows Integration-Item"s are allowded. Each Item
; shows up as a checkbox in the Windows Integration dialog.
[Windows Integration-Item0]
CheckBoxState=FALSE
Description=Make Mozilla Communicator my default Internet browser
Archive=
[Windows Integration-Item1]
CheckBoxState=FALSE
Description=Make Mozilla Netcenter my home page
Archive=
[Windows Integration-Item2]
CheckBoxState=FALSE
Description=Use Mozilla Netcenter to search the Web
Archive=
[Dialog Program Folder]
Show Dialog=TRUE
Title=Select Program Folder
Message0=Setup will add program icons to the Program Folder listed below. You may type a new folder name, or select one from the Existing Folder list. Click Install to begin installation.
[Dialog Site Selector]
Show Dialog=FALSE
Title=Site Selector
Message0=Select the region you wish to download from, or leave it on Default for Setup to automatically determine the best place to download from relative to where you are.
[Dialog Start Install]
Show Dialog=FALSE
Title=Start Install
Message0=Setup has enough information to start copying the program files. If you want to review or change settings, click Back. If you are satisfied with the current settings, click Install to begin copying files.
[Dialog Reboot]
; Show Dialog values are:
; TRUE - Always show
; FALSE - Don't show unless at least one component has its reboot show value set
; to TRUE. This will not show even if some files were in use and a reboot
; is necessary.
; AUTO - Don't show unless a component has its reboot show value set to
; TRUE or there was at least one file in use and a reboot is
; is required for the file to be replaced correctly.
Show Dialog=AUTO
; These SmartDownload sections contain information to configure SmartDownload.
; The info is applied to all components to be downloaded.
[SmartDownload-Netscape Install]
;core_file=base.zip
;core_dir=[SETUP PATH]
no_ads=true
silent=false
execution=false
confirm_install=false
;extract_msg=Uncompressing Seamonkey. Please wait...
[SmartDownload-Proxy]
[SmartDownload-Execution]
exe=
exe_param=
[Check Instance0]
Class Name=NetscapeWindowClass
Window Name=
Message=Setup has detected that an instance of Seamonkey is currently running. Please quit Seamonkey before continuing Setup.
[Check Instance1]
Process Name=psm.exe
Message=Setup has detected that an instance of Personal Security Manager is currently running. Personal Security Manager will quit by itself when there are no other applications running that require it. A reboot might be necessary. Setup will then be able to continue.
; These are the components to be offered to the user (shown in the Select
; Components dialog) for installation.
; There is no limit to the number of components to install.
[Component0]
Description Short=Mozilla Xpinstall Engine
Description Long=Install Engine
Archive=core.xpi
$InstallSize$:core
$InstallSizeSystem$
$InstallSizeArchive$:core.xpi
;Dependency0=
Dependee0=Mozilla Seamonkey
; Attributes can be the following values:
; SELECTED - the component is selected to be installed by default.
; INVISIBLE - the component is not shown in the Select Components dialog.
Attributes=SELECTED|INVISIBLE
; url keys can be as many as needed. url0 is attempted first. if it fails,
; the next url key is tried in sequential order.
; The url should not contain the filename. Setup will assemble the complete url
; using the url keys and the Archive key.
Domain0=$Domain$
Server Path0=$ServerPath$
[Component1]
Description Short=Mozilla Seamonkey
Description Long=Browser software for the internet
Archive=browser.xpi
$InstallSize$:browser
$InstallSizeSystem$
$InstallSizeArchive$:browser.xpi
;Dependency0=
; Attributes can be the following values:
; SELECTED - the component is selected to be installed by default.
; INVISIBLE - the component is not shown in the Select Components dialog.
Attributes=SELECTED|DISABLED
; url keys can be as many as needed. url0 is attempted first. if it fails,
; the next url key is tried in sequential order.
; The url should not contain the filename. Setup will assemble the complete url
; using the url keys and the Archive key.
Domain0=$Domain$
Server Path0=$ServerPath$
;url0=$URLPath$
[Component2]
Description Short=Mail & News
Description Long=Seamonkey Mail && News
Archive=mail.xpi
$InstallSize$:mail
$InstallSizeSystem$
$InstallSizeArchive$:mail.xpi
;Dependency0=
; Attributes can be the following values:
; SELECTED - the component is selected to be installed by default.
; INVISIBLE - the component is not shown in the Select Components dialog.
Attributes=SELECTED
Parameter=
; url keys can be as many as needed. url0 is attempted first. if it fails,
; the next url key is tried in sequential order.
; The url should not contain the filename. Setup will assemble the complete url
; using the url keys and the Archive key.
Domain0=$Domain$
Server Path0=$ServerPath$
;url0=$URLPath$
[Core]
Source=[XPI PATH]\core.xpi
Destination=[WIZTEMP]\core.ns
$InstallSize$:core
Cleanup=TRUE
Message=Preparing Install, please wait...
[Redirect]
Status=Enabled
url0=$RedirIniUrl$
Description=
Message=
; The Timing key needs to be one of the following values:
; pre download - process before any files have been downloaded.
; post download - process after all files have been downloaded.
; pre core - process before the core file has been uncompressed.
; post core - process after the core file has been uncompressed.
; pre smartupdate - process before the smartupdate engine has been launched.
; post smartupdate - process after the smartupdate engine has been launched.
; pre launchapp - process before the launching of executables.
; post launchapp - process after the launching of executables.
; depend reboot - process depending on if a reboot is necessary or not.
; if reboot is necessary, installer can set it up so
; the app runs once upon windows reboot.
;Uncompress FileX sections
;[Uncompress File0]
;Timing=post download
;Source=[XPI PATH]\core.xpi
;Destination=[SETUP PATH]
;Message=Configuring Seamonkey, please wait...
;[Uncompress File1]
;Timing=post download
;Source=[XPI PATH]\extratest.xpi
;Destination=[SETUP PATH]
;Message=Configuring Extra test files, please wait...
;Move FileX sections
;[Move File0]
;Timing=post download
;Source=[SETUP PATH]\bin\*
;Destination=[SETUP PATH]\program
;[Move File1]
;Timing=post download
;Source=[SETUP PATH]\ftmain\*
;Destination=[SETUP PATH]\program
;Copy FileX sections
[Copy File0]
Timing=post launchapp
Source=[JRE BIN PATH]\npjava*.dll
Destination=[SETUP PATH]\Plugins
Fail If Exists=FALSE
;[Copy File1]
;Timing=post launchapp
;Source=[TEMP]\xtratest\bin\*.*
;Destination=[SETUP PATH]
;Fail If Exists=FALSE
;[Copy File1]
;Timing=post download
;Source=[SETUP PATH]\bin\*.exe
;Destination=[TEMP]
;Fail If Exists=
;Create DirectoryX sections
[Create Directory0]
Timing=post download
Destination=[SETUP PATH]\Plugins
;[Create Directory1]
;Timing=post download
;Destination=[TEMP]\Test\temp
;Delete FileX sections
[Delete File0]
Timing=post download
Destination=[COMMON_PROGRAMS]\Mozilla Seamonkey\Mozilla AppRunner.lnk
;Remove DirectoryX sections
;[Remove Directory0]
;Timing=post launchapp
;Destination=[TEMP]\xtratest
;Remove subdirs=TRUE
;RunAppX sections
[RunApp0]
Timing=depend reboot
Wait=FALSE
Target=[SETUP PATH]\mozilla.exe
Parameters=-installer
WorkingDir=[SETUP PATH]
[Windows Registry0]
Root Key=HKEY_LOCAL_MACHINE
Key=Software\Mozilla\Mozilla Seamonkey\$UserAgent$\Main
Name=Program Folder Path
Name Value=[Default Folder]
Type=REG_SZ
Decrypt Key=FALSE
Decrypt Name=FALSE
Decrypt Name Value=TRUE
Overwrite Key=TRUE
Overwrite Name=TRUE
Timing=pre smartupdate
; Values for Show Folder:
; HIDE Hides the window and activates another window.
; MAXIMIZE Maximizes the specified window.
; MINIMIZE Minimizes the specified window and activates the next
; top-level window in the z-order.
; RESTORE Activates and displays the window. If the window is
; minimized or maximized, Windows restores it to its
; original size and position. An application should specify
; this flag when restoring a minimized window.
; SHOW Activates the window and displays it in its current size
; and position.
; SHOWMAXIMIZED Activates the window and displays it as a maximized
; window.
; SHOWMINIMIZED Activates the window and displays it as a minimized
; window.
; SHOWMINNOACTIVE Displays the window as a minimized window. The active
; window remains active.
; SHOWNA Displays the window in its current state. The active
; window remains active.
; SHOWNOACTIVATE Displays a window in its most recent size and position.
; The active window remains active.
; SHOWNORMAL Activates and displays a window. If the window is
; minimized or maximized, Windows restores it to its
; original size and position. An application should specify
; this flag when displaying the window for the first time.
[Program Folder0]
Timing=post smartupdate
Show Folder=SHOW
Program Folder=[Default Folder]
;[Program Folder0-Shortcut0]
;File=[SETUP PATH]\mozilla.exe
;Arguments=
;Working Dir=[SETUP PATH]
;Description=Mozilla Seamonkey
;Icon Path=[SETUP PATH]\mozilla.exe
;Icon Id=0
;[Program Folder0-Shortcut1]
;File=[SETUP PATH]\mozilla.exe
;Arguments=-ProfileManager
;Working Dir=[SETUP PATH]
;Description=Profile Manager
;Icon Path=[SETUP PATH]\mozilla.exe
;Icon Id=0
;[Program Folder0-Shortcut2]
;File=[SETUP PATH]\bin\Net2fone.exe
;Arguments=
;Working Dir=[SETUP PATH]
;Description=Net2Fone
;Icon Path=[SETUP PATH]\bin\Net2fone.exe
;Icon Id=0
;[Program Folder1]
;Timing=post download
;Show Folder=SHOW
;Program Folder=[Default Folder]\lala land
;[Program Folder1-Shortcut0]
;File=c:\bin\getver.exe
;Arguments=
;Working Dir=[TEMP]
;Description=Getver Test
;Icon Path=[WINDISK]\4nt\4nt.exe
;Icon Id=0
;[Program Folder1-Shortcut1]
;File=c:\perl\bin\perl.exe
;Arguments=
;Working Dir=[WINSYS]
;Description=Perl
;Icon Path=c:\perl\bin\perl.exe
;Icon Id=0

View File

@@ -1,41 +0,0 @@
// main
var srDest;
var err;
var communicatorFolder;
var fWindowsSystem;
var fileComponentRegStr;
var fileComponentReg;
srDest = $SpaceRequired$:bin;
err = startInstall("Mozilla XPCom", "XPCom", "$Version$");
logComment("startInstall: " + err);
communicatorFolder = getFolder("Communicator");
fWindowsSystem = getFolder("Win System");
logComment("communicatorFolder: " + communicatorFolder);
if(verifyDiskSpace(communicatorFolder, srDest) == true)
{
setPackageFolder(communicatorFolder);
err = addDirectory("",
"$Version$",
"bin", // dir name in jar to extract
communicatorFolder, // Where to put this file (Returned from GetFolder)
"", // subdir name to create relative to communicatorFolder
true); // Force Flag
logComment("addDirectory() of Program returned: " + err);
// check return value
if(!checkError(err))
{
fileComponentRegStr = communicatorFolder + "\\component.reg";
fileComponentReg = getFolder("file:///", fileComponentRegStr);
err = fileDelete(fileComponentReg);
logComment("fileDelete() returned: " + err);
err = finalizeInstall();
logComment("finalizeInstall() returned: " + err);
}
}
// end main

View File

@@ -1,18 +0,0 @@
var err = StartInstall("Mozilla Editor", "Seamonkey", "$Version$");
LogComment("StartInstall: " + err);
var communicatorFolder = Install.GetFolder("Communicator");
LogComment("communicatorFolder: " + communicatorFolder);
err = AddDirectory("Program",
"$Version$",
"bin", // fileName in jar,
communicatorFolder, // Where to put this file (Returned from GetFolder)
"", // fileName in jar,
true); // Force Flag
LogComment("AddDirectory() returned: " + err);
err = FinalizeInstall();
LogComment("FinalizeInstall() returned: " + err);

View File

@@ -1,34 +0,0 @@
// main
var srDest;
var err;
var communicatorFolder;
srDest = $SpaceRequired$:bin;
err = startInstall("Mozilla Mail", "Mail", "$Version$");
logComment("startInstall: " + err);
// check return value
checkError(err);
communicatorFolder = getFolder("Communicator");
logComment("communicatorFolder: " + communicatorFolder);
if(verifyDiskSpace(communicatorFolder, srDest) == true)
{
setPackageFolder(communicatorFolder);
err = addDirectory("",
"$Version$",
"bin", // dir name in jar to extract
communicatorFolder, // Where to put this file (Returned from GetFolder)
"", // subdir name to create relative to communicatorFolder
true); // Force Flag
logComment("addDirectory() returned: " + err);
// check return value
if(!checkError(err))
{
err = finalizeInstall();
logComment("finalizeInstall() returned: " + err);
}
}
// end main

View File

@@ -1,134 +0,0 @@
#!c:\perl\bin\perl
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998-1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Sean Su <ssu@netscape.com>
#
#
# This perl script builds the xpi, config.ini, and js files.
#
# Make sure there are at least four arguments
if($#ARGV < 2)
{
die "usage: $0 <default version> <staging path> <dist install path>
default version : y2k compliant based date version.
ie: 5.0.0.2000040413
staging path : full path to where the components are staged at
dist install path : full path to where the dist install dir is at.
ie: d:\\builds\\mozilla\\dist\\win32_o.obj\\install
\n";
}
$inDefaultVersion = $ARGV[0];
$inStagePath = $ARGV[1];
$inDistPath = $ARGV[2];
$inRedirIniUrl = "ftp://not.needed.com/because/the/xpi/files/will/be/located/in/the/same/dir/as/the/installer";
$inXpiUrl = "ftp://not.needed.com/because/the/xpi/files/will/be/located/in/the/same/dir/as/the/installer";
$seiFileNameGeneric = "nsinstall.exe";
$seiFileNameSpecific = "mozilla-win32-installer.exe";
$userAgent = "5.0b2 (en)";
# Check for existance of staging path
if(!(-e "$inStagePath"))
{
die "invalid path: $inStagePath\n";
}
# Make sure inDestPath exists
if(!(-e "$inDistPath"))
{
mkdir ("$inDestPath",0775);
}
# Make .js files
MakeJsFile("core");
MakeJsFile("browser");
MakeJsFile("mail");
# Make .xpi files
MakeXpiFile("core");
MakeXpiFile("browser");
MakeXpiFile("mail");
MakeConfigFile();
if(-e "$inDistPath\\setup")
{
unlink <$inDistPath\\setup\\*>;
}
else
{
mkdir ("$inDistPath\\setup",0775);
}
# Copy the setup files to the dist setup directory.
system("xcopy /f config.ini $inDistPath\\");
system("xcopy /f config.ini $inDistPath\\setup\\");
system("xcopy /f $inDistPath\\setup.exe $inDistPath\\setup\\");
system("xcopy /f $inDistPath\\setuprsc.dll $inDistPath\\setup\\");
# build the self-extracting .exe file.
print "\nbuilding self-extracting installer ($seiFileNameSpecific)...\n";
system("copy $inDistPath\\$seiFileNameGeneric $inDistPath\\$seiFileNameSpecific");
system("$inDistPath\\nszip.exe $inDistPath\\$seiFileNameSpecific $inDistPath\\setup\\*.* $inDistPath\\xpi\\*.*");
print " done!\n";
# end of script
exit(0);
sub MakeConfigFile
{
# Make config.ini file
if(system("perl makecfgini.pl config.it $inDefaultVersion \"$userAgent\" $inStagePath $inDistPath\\xpi $inRedirIniUrl $inXpiUrl") != 0)
{
exit(1);
}
}
sub MakeJsFile
{
my($componentName) = @_;
# Make .js file
if(system("perl makejs.pl $componentName.jst $inDefaultVersion \"$userAgent\" $inStagePath\\$componentName") != 0)
{
exit(1);
}
}
sub MakeXpiFile
{
my($componentName) = @_;
# Make .xpi file
if(system("perl makexpi.pl $componentName $inStagePath $inDistPath\\xpi") != 0)
{
exit(1);
}
}

View File

@@ -1,277 +0,0 @@
#!c:\perl\bin\perl
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998-1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Sean Su <ssu@netscape.com>
#
#
# This perl script parses the input file for special variables
# in the format of $Variable$ and replace it with the appropriate
# value(s).
#
# Input: .it file
# - which is a .ini template
#
# version
# - version to display on the blue background
#
# UserAgent
# - user agent to use in the windows registry. should be the same as the one
# built into the browser (ie "6.0b2 (en)")
#
# Path to staging area
# - path on where the seamonkey built bits are staged to
#
# xpi path
# - path on where xpi files will be located at
#
# redirect file url
# - url to where the redirect.ini file will be staged at.
# Either ftp:// or http:// can be used
# ie: ftp://ftp.netscape.com/pub/seamonkey
#
# xpi url
# - url to where the .xpi files will be staged at.
# Either ftp:// or http:// can be used
# ie: ftp://ftp.netscape.com/pub/seamonkey/xpi
#
# ie: perl makecfgini.pl config.it 5.0.0.1999120608 "5.0b1 (en)" k:\windows\32bit\5.0 d:\builds\mozilla\dist\win32_o.obj\install\xpi ftp://ftp.netscape.com/pub/seamonkey/windows/32bit/x86/1999-09-13-10-M10 ftp://ftp.netscape.com/pub/seamonkey/windows/32bit/x86/1999-09-13-10-M10/xpi
#
#
# Make sure there are at least two arguments
if($#ARGV < 6)
{
die "usage: $0 <.it file> <version> <UserAgent> <staging path> <.xpi path> <redirect file url> <xpi url>
.it file : input ini template file
version : version to be shown in setup. Typically the same version
as show in mozilla.exe.
UserAgent : user agent to use in the windows registry. should be the same as the one
built into the browser (ie \"6.0b2 (en)\")
staging path : path to where the components are staged at
.xpi path : path to where the .xpi files have been built to
ie: d:\\builds\\mozilla\\dist\\win32_o.obj\\install\\xpi
redirect file : url to where the redirect.ini file will be staged at.
url Either ftp:// or http:// can be used
ie: ftp://ftp.netscape.com/pub/seamonkey
xpi url : url to where the .xpi files will be staged at.
Either ftp:// or http:// can be used
ie: ftp://ftp.netscape.com/pub/seamonkey/xpi
\n";
}
$inItFile = $ARGV[0];
$inVersion = $ARGV[1];
$inUserAgent = $ARGV[2];
$inStagePath = $ARGV[3];
$inXpiPath = $ARGV[4];
$inRedirIniUrl = $ARGV[5];
$inUrl = $ARGV[6];
$inDomain;
$inServerPath;
($inDomain, $inServerPath) = ParseDomainAndPath($inUrl);
# Get the name of the file replacing the .it extension with a .ini extension
@inItFileSplit = split(/\./,$inItFile);
$outIniFile = $inItFileSplit[0];
$outIniFile .= ".ini";
# Open the input file
open(fpInIt, $inItFile) || die "\ncould not open $ARGV[0]: $!\n";
# Open the output file
open(fpOutIni, ">$outIniFile") || die "\nCould not open $outIniFile: $!\n";
print "\n Making $outIniFile...\n";
# While loop to read each line from input file
while($line = <fpInIt>)
{
# For each line read, search and replace $InstallSize$ with the calculated size
if($line =~ /\$InstallSize\$/i)
{
$installSize = 0;
$installSizeSystem = 0;
# split read line by ":" deliminator
@colonSplit = split(/:/, $line);
if($#colonSplit >= 0)
{
$componentName = $colonSplit[1];
chop($componentName);
$installSize = OutputInstallSize("$inStagePath\\$componentName");
# special oji consideration here. Since it's an installer that
# seamonkey installer will be calling, the disk space allocation
# needs to be adjusted by an expansion factor of 3.62.
if($componentName =~ /oji/i)
{
$installSize = int($installSize * 3.62);
}
}
# Read the next line to calculate for the "Install Size System="
if($line = <fpInIt>)
{
if($line =~ /\$InstallSizeSystem\$/i)
{
$installSizeSystem = OutputInstallSizeSystem($line, "$inStagePath\\$componentName");
}
}
$installSize -= $installSizeSystem;
print fpOutIni "Install Size=$installSize\n";
print fpOutIni "Install Size System=$installSizeSystem\n";
}
elsif($line =~ /\$InstallSizeArchive\$/i)
{
$installSizeArchive = 0;
# split read line by ":" deliminator
@colonSplit = split(/:/, $line);
if($#colonSplit >= 0)
{
$componentName = $colonSplit[1];
chop($componentName);
$installSizeArchive = OutputInstallSizeArchive("$inXpiPath\\$componentName");
}
print fpOutIni "Install Size Archive=$installSizeArchive\n";
}
else
{
# For each line read, search and replace $Version$ with the version passed in
$line =~ s/\$Version\$/$inVersion/i;
$line =~ s/\$Domain\$/$inDomain/i;
$line =~ s/\$ServerPath\$/$inServerPath/i;
$line =~ s/\$RedirIniUrl\$/$inRedirIniUrl/i;
$line =~ s/\$UserAgent\$/$inUserAgent/i;
print fpOutIni $line;
}
}
print " done!\n";
# end of script
exit(0);
sub ParseDomainAndPath()
{
my($aUrl) = @_;
my($aDomain, $aServerPath);
@slashSplit = split(/\//, $aUrl);
if($#slashSplit >= 0)
{
for($i = 0; $i <= $#slashSplit; $i++)
{
if($i <= 2)
{
if($aDomain eq "")
{
$aDomain = "$slashSplit[$i]";
}
else
{
$aDomain = "$aDomain/$slashSplit[$i]";
}
}
else
{
if($aServerPath eq "")
{
$aServerPath = "/$slashSplit[$i]";
}
else
{
$aServerPath = "$aServerPath/$slashSplit[$i]";
}
}
}
}
return($aDomain, $aServerPath);
}
sub OutputInstallSize()
{
my($inPath) = @_;
my($installSize);
print " calculating size for $inPath\n";
$installSize = `ds32.exe /D /L0 /A /S /C 32768 $inPath`;
$installSize += 32768; # take into account install.js
$installSize = int($installSize / 1024);
$installSize += 1;
return($installSize);
}
sub OutputInstallSizeArchive()
{
my($inPath) = @_;
my($installSizeArchive);
my($dev, $ino, $mode, $nlink, $uid, $gui, $rdev, $size, $atime, $mtime, $ctime, $blksize, $blocks);
print " calculating size for $inPath\n";
($dev, $ino, $mode, $nlink, $uid, $gui, $rdev, $size, $atime, $mtime, $ctime, $blksize, $blocks) = stat $inPath;
$installSizeArchive += 32768; # take into account install.js
$installSizeArchive = int($size / 1024);
$installSizeArchive += 1;
return($installSizeArchive);
}
sub OutputInstallSizeSystem()
{
my($inLine, $inPath) = @_;
my($installSizeSystem) = 0;
# split read line by ":" deliminator
@colonSplit = split(/:/, $inLine);
if($#colonSplit >= 0)
{
# split line by "," deliminator
@commaSplit = split(/\,/, $colonSplit[1]);
if($#commaSplit >= 0)
{
foreach(@commaSplit)
{
# calculate the size of component installed using ds32.exe in Kbytes
print " calculating size for $inPath\\$_";
$installSizeSystem += `ds32.exe /D /L0 /A /S /C 32768 $inPath\\$_`;
}
}
}
$installSizeSystem = int($installSizeSystem / 1024);
$installSizeSystem += 1;
return($installSizeSystem);
}

View File

@@ -1,122 +0,0 @@
#!c:\perl\bin\perl
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998-1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Sean Su <ssu@netscape.com>
#
#
# This perl script parses the input file for special variables
# in the format of $Variable$ and replace it with the appropriate
# value(s).
#
# Input: .jst file - which is a .js template
# default version - a julian date in the form of:
# major.minor.release.yydoy
# ie: 5.0.0.99256
# user agent - user agent of product
# component staging path - path to where the components are staged at
#
# ie: perl makejs.pl core.jst 5.0.0.99256
#
# Make sure there are at least two arguments
if($#ARGV < 3)
{
die "usage: $0 <.jst file> <default version> <UserAgent> <staging path>
.jst file : .js template input file
default version : default julian base version number to use in the
form of: major.minor.release.yydoy
ie: 5.0.0.99256
user agent : user agent of product (5.0b1 [en])
component staging path : path to where this component is staged at
ie: z:\\stage\\windows\\32bit\\en\\5.0\\core
\n";
}
$inJstFile = $ARGV[0];
$inVersion = $ARGV[1];
$inUserAgent = $ARGV[2];
$inStagePath = $ARGV[3];
# Get the name of the file replacing the .jst extension with a .js extension
@inJstFileSplit = split(/\./,$inJstFile);
$outJsFile = $inJstFileSplit[0];
$outJsFile .= ".js";
$outTempFile = $inJstFileSplit[0];
$outTempFile .= ".template";
system("copy ..\\common\\share.t $outTempFile");
system("cat $inJstFile >> $outTempFile");
# Open the input .template file
open(fpInTemplate, $outTempFile) || die "\ncould not open $outTempFile: $!\n";
# Open the output .js file
open(fpOutJs, ">$outJsFile") || die "\nCould not open $outJsFile: $!\n";
# While loop to read each line from input file
while($line = <fpInTemplate>)
{
# For each line read, search and replace $Version$ with the version passed in
if($line =~ /\$Version\$/i)
{
$line =~ s/\$Version\$/$inVersion/i;
}
elsif($line =~ /\$UserAgent\$/i)
{
$line =~ s/\$UserAgent\$/$inUserAgent/i;
}
elsif($line =~ /\$SpaceRequired\$/i) # For each line read, search and replace $InstallSize$ with the calculated size
{
$spaceRequired = 0;
# split read line by ":" deliminator
@colonSplit = split(/:/, $line);
if($#colonSplit > 0)
{
@semiColonSplit = split(/;/, $colonSplit[1]);
$subDir = $semiColonSplit[0];
$spaceRequired = GetSpaceRequired("$inStagePath\\$subDir");
$line =~ s/\$SpaceRequired\$:$subDir/$spaceRequired/i;
}
else
{
$spaceRequired = GetSpaceRequired("$inStagePath");
$line =~ s/\$SpaceRequired\$/$spaceRequired/i;
}
}
print fpOutJs $line;
}
sub GetSpaceRequired()
{
my($inPath) = @_;
my($spaceRequired);
print " calulating size for $inPath\n";
$spaceRequired = `ds32.exe /D /L0 /A /S /C 32768 $inPath`;
$spaceRequired = int($spaceRequired / 1024);
$spaceRequired += 1;
return($spaceRequired);
}

View File

@@ -1,114 +0,0 @@
#!c:\perl\bin\perl
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998-1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Sean Su <ssu@netscape.com>
#
#
# This perl script creates .xpi files given component input name
#
# Input: component name
# - name of the component directory located in the staging path
# staging path
# - path to where the built files are staged at
# dest path
# - path to where the .xpi files are are to be created at.
# ** MUST BE AN ABSOLUTE PATH, NOT A RELATIVE PATH **
#
# ie: perl makexpi.pl core z:\exposed\windows\32bit\en\5.0 d:\build\mozilla\dist\win32_o.obj\install\working
#
use File::Copy;
use Cwd;
# Make sure there are at least three arguments
if($#ARGV < 2)
{
die "usage: $0 <component name> <staging path> <dest path>
component name : name of component directory within staging path
staging path : path to where the components are staged at
dest path : path to where the .xpi files are to be created at
\n";
}
$inComponentName = $ARGV[0];
$inStagePath = $ARGV[1];
$inDestPath = $ARGV[2];
# check for existance of staging component path
if(!(-e "$inStagePath\\$inComponentName"))
{
die "invalid path: $inStagePath\\$inComponentName\n";
}
# check for existance of .js script
if(!(-e "$inComponentName.js"))
{
die "missing .js script: $inComponentName.js\n";
}
# delete component .xpi file
if(-e "$inDestPath\\$inComponentName.xpi")
{
unlink("$inDestPath\\$inComponentName.xpi");
}
if(-e "$inStagePath\\$incomponentName\\$inComponentName.xpi")
{
unlink("$inDestPath\\$inComponentName.xpi");
}
# delete install.js
if(-e "install.js")
{
unlink("install.js");
}
# make sure inDestPath exists
if(!(-e "$inDestPath"))
{
system("mkdir $inDestPath");
}
print "\n Making $inComponentName.xpi...\n";
$saveCwdir = cwd();
# change directory to where the files are, else zip will store
# unwanted path information.
chdir("$inStagePath\\$inComponentName");
system("zip -r $inDestPath\\$inComponentName.xpi *");
chdir("$saveCwdir");
copy("$inComponentName.js", "install.js");
system("zip -g $inDestPath\\$inComponentName.xpi install.js");
# delete install.js
if(-e "install.js")
{
unlink("install.js");
}
print " done!\n";
# end of script
exit(0);

View File

@@ -1,111 +0,0 @@
#!c:\perl\bin\perl
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998-1999 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Sean Su <ssu@netscape.com>
#
use Cwd;
if($#ARGV < 0)
{
print_usage();
exit(1);
}
print "removing directory:\n";
for($i = 0; $i <= $#ARGV; $i++)
{
print " $ARGV[$i]";
remove_dir_structure($ARGV[$i]);
print "\n";
}
exit(0);
# end
sub remove_dir_structure
{
my($curr_dir) = @_;
$save_cwd = cwd();
$save_cwd =~ s/\//\\/g;
if((-e "$curr_dir") && (-d "$curr_dir"))
{
remove_all_dir($curr_dir);
chdir($save_cwd);
remove_directory($curr_dir);
print " done!";
}
else
{
if(!(-e "$curr_dir"))
{
print "\n";
print "$curr_dir does not exist!";
}
elsif(!(-d "$curr_dir"))
{
print "\n";
print "$curr_dir is not a valid directory!";
}
}
}
sub remove_all_dir
{
my($curr_dir) = @_;
my(@dirlist);
my($dir);
chdir("$curr_dir");
@dirlist = <*>;
foreach $dir (@dirlist)
{
if(-d "$dir")
{
print ".";
remove_all_dir($dir);
}
}
chdir("..");
remove_directory($curr_dir);
}
sub remove_directory
{
my($directory) = @_;
my($save_cwd);
$save_cwd = cwd();
$save_cwd =~ s/\//\\/g;
if(-e "$directory")
{
chdir($directory);
unlink <*>; # remove files
chdir($save_cwd);
rmdir $directory; # remove directory
}
}
sub print_usage
{
print "usage: $0 <dir1> [dir2 dir3...]\n";
}

View File

@@ -1,83 +0,0 @@
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code,
# released March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Daniel Veditz <dveditz@netscape.com>
# Douglas Turner <dougt@netscape.com>
#
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xpinstall
LIBRARY_NAME = xpinstall
SHORT_LIBNAME = xpinstal
IS_COMPONENT = 1
EXTRA_DSO_LIBS = jsdom
REQUIRES = dom js netlib raptor xpcom
# XXX shouldn't need to export this
EXPORTS = nsXPITriggerInfo.h
CPPSRCS = \
nsInstall.cpp \
nsInstallTrigger.cpp \
nsInstallVersion.cpp \
nsInstallFolder.cpp \
nsJSInstall.cpp \
nsJSFile.cpp \
nsJSInstallTriggerGlobal.cpp \
nsJSInstallVersion.cpp \
nsSoftwareUpdate.cpp \
nsSoftwareUpdateRun.cpp \
nsInstallFile.cpp \
nsInstallDelete.cpp \
nsInstallExecute.cpp \
nsInstallPatch.cpp \
nsInstallUninstall.cpp \
nsInstallResources.cpp \
nsTopProgressNotifier.cpp \
nsLoggingProgressNotifier.cpp \
ScheduledTasks.cpp \
nsInstallProgressDialog.cpp \
nsXPITriggerInfo.cpp \
nsXPInstallManager.cpp \
nsInstallFileOpItem.cpp \
nsJSFileSpecObj.cpp \
$(NULL)
LOCAL_INCLUDES = -I$(srcdir)/../public
EXTRA_DSO_LDOPTS = \
$(MOZ_REGISTRY_LIBS) \
-L$(DIST)/bin \
$(EXTRA_DSO_LIBS) \
$(MOZ_JS_LIBS) \
$(MOZ_COMPONENT_LIBS) \
$(ZLIB_LIBS) \
$(NULL)
include $(topsrcdir)/config/rules.mk

View File

@@ -1,924 +0,0 @@
/* -*- Mode: C; tab-width: 4; 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 Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Douglas Turner <dougt@netscape.com>
*/
#include "PatchableAppleSingle.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
OSErr PAS_EncodeFile(FSSpec *inSpec, FSSpec *outSpec);
OSErr PAS_DecodeFile(FSSpec *inSpec, FSSpec *outSpec);
OSErr PAS_encodeResource(FSSpec *inFile, short outRefNum);
OSErr PAS_decodeResource(PASEntry *entry, FSSpec *outFile, short inRefNum);
OSErr PAS_encodeMisc(FSSpec *inFile, short outRefNum);
OSErr PAS_decodeMisc(PASEntry *entry, FSSpec *outFile, short inRefNum);
OSErr PAS_encodeData(FSSpec *inFile, short outRefNum);
OSErr PAS_decodeData(PASEntry *entry, FSSpec *outFile, short inRefNum);
OSErr PAS_encodeHeader(short refnum);
OSErr PAS_decodeHeader(short refNum, PASHeader *header);
unsigned long PAS_getDataSize(FSSpec *spec);
short PAS_getResourceID(Handle resource);
OSErr PAS_flattenResource(ResType type, short *ids, long count, short source, short dest);
OSErr PAS_unflattenResource(PASResource *pasRes, Ptr buffer);
void PAS_sortTypes(short sourceRefNum, ResType **resTypePtr, long *count);
void PAS_sortIDs(short sourceRefNum, OSType theType, short **IdPtr, long *count);
void PAS_bubbleSortResType(ResType *types, long count);
void PAS_bubbleSortIDS(short *ids, long count);
OSErr PAS_EncodeFile(FSSpec *inSpec, FSSpec *outSpec)
{
OSErr err;
short outRefNum;
PASEntry dataEntry, miscEntry, resourceEntry;
long sizeOfEntry;
if (inSpec == NULL || outSpec == NULL)
return paramErr;
memset(&dataEntry, 0, sizeof(PASEntry));
memset(&miscEntry, 0, sizeof(PASEntry));
memset(&resourceEntry, 0, sizeof(PASEntry));
FSpDelete( outSpec ) ;
err = FSpCreate( outSpec, kCreator, kType ,smSystemScript );
if (err != noErr) return err;
err = FSpOpenDF(outSpec, fsRdWrPerm, &outRefNum);
if (err != noErr) goto error;
// Write Out Header
err = PAS_encodeHeader(outRefNum);
if (err != noErr) goto error;
/* Why am I using three (3)?
E stand for entry.
The data for the entry is after the THREE headers
|---------|----|----|----|---------------------->
header E E E
*/
// Write Out Data Entry
dataEntry.entryID = ePas_Data;
dataEntry.entryLength = PAS_getDataSize(inSpec);
dataEntry.entryOffset = sizeof(PASHeader) + (3 * sizeof(PASEntry));
sizeOfEntry = sizeof(PASEntry);
if(dataEntry.entryLength < 0)
{
err = dataEntry.entryLength;
goto error;
}
err = FSWrite(outRefNum, &sizeOfEntry, &dataEntry);
if (err != noErr) goto error;
// Write Out Misc Entry
miscEntry.entryID = ePas_Misc;
miscEntry.entryLength = sizeof(PASMiscInfo);
miscEntry.entryOffset = sizeof(PASHeader) + (3 * sizeof(PASEntry)) + dataEntry.entryLength;
sizeOfEntry = sizeof(PASEntry);
err = FSWrite(outRefNum, &sizeOfEntry, &miscEntry);
if (err != noErr) goto error;
// Write Out Resource Entry
resourceEntry.entryID = ePas_Resource;
resourceEntry.entryLength = -1;
resourceEntry.entryOffset = sizeof(PASHeader) + (3 * sizeof(PASEntry)) + dataEntry.entryLength + miscEntry.entryLength;
sizeOfEntry = sizeof(PASEntry);
err = FSWrite(outRefNum, &sizeOfEntry, &resourceEntry);
if (err != noErr) goto error;
err = PAS_encodeData(inSpec, outRefNum);
if (err != noErr) goto error;
err = PAS_encodeMisc(inSpec, outRefNum);
if (err != noErr) goto error;
err = PAS_encodeResource(inSpec, outRefNum);
if (err == kResFileNotOpened)
{
// there was no resource fork
err = noErr;
}
else if (err != noErr)
{
goto error;
}
FSClose(outRefNum);
return noErr;
error:
if (outRefNum != kResFileNotOpened)
{
FSClose(outRefNum);
}
FSpDelete( outSpec ) ;
return err;
}
OSErr PAS_DecodeFile(FSSpec *inSpec, FSSpec *outSpec)
{
OSErr err;
short inRefNum;
PASHeader header;
PASEntry dataEntry, miscEntry, resourceEntry;
long sizeOfEntry;
if (inSpec == NULL || outSpec == NULL)
return paramErr;
FSpDelete( outSpec ) ;
err = FSpCreate( outSpec, kCreator, kType ,smSystemScript );
if (err != noErr) return err;
err = FSpOpenDF(inSpec, fsRdPerm, &inRefNum);
if (err != noErr) goto error;
// Read Header
err = PAS_decodeHeader(inRefNum, &header);
if (err != noErr) goto error;
if( header.magicNum != PAS_MAGIC_NUM ||
header.versionNum != PAS_VERSION)
{
err = -1;
goto error;
}
// Read Data Entry
err = SetFPos(inRefNum, fsFromStart, sizeof(PASHeader));
if (err != noErr) goto error;
sizeOfEntry = sizeof(PASEntry);
err = FSRead(inRefNum, &sizeOfEntry, &dataEntry);
if (err != noErr) goto error;
// Read Misc Entry
err = SetFPos(inRefNum, fsFromStart, (sizeof(PASHeader) + sizeof(PASEntry)));
if (err != noErr) goto error;
sizeOfEntry = sizeof(PASEntry);
err = FSRead(inRefNum, &sizeOfEntry, &miscEntry);
if (err != noErr) goto error;
// Read Resource Entry
err = SetFPos(inRefNum, fsFromStart, (sizeof(PASHeader) + (2 * sizeof(PASEntry)))) ;
if (err != noErr) goto error;
sizeOfEntry = sizeof(PASEntry);
err = FSRead(inRefNum, &sizeOfEntry, &resourceEntry);
if (err != noErr) goto error;
err = PAS_decodeData(&dataEntry, outSpec, inRefNum);
if (err != noErr) goto error;
err = PAS_decodeMisc(&miscEntry, outSpec, inRefNum);
if (err != noErr) goto error;
err = PAS_decodeResource(&resourceEntry, outSpec, inRefNum);
if (err == kResFileNotOpened)
{
// there was no resource fork
err = noErr;
}
else if (err != noErr)
{
goto error;
}
FSClose(inRefNum);
return noErr;
error:
if (inRefNum != kResFileNotOpened)
{
FSClose(inRefNum);
}
FSpDelete( outSpec ) ;
return err;
}
#pragma mark -
OSErr PAS_encodeResource(FSSpec *inFile, short outRefNum)
{
OSErr err;
short inRefNum;
PASResFork resInfo;
SInt32 currentWrite;
ResType *resTypes;
long typeCount;
short *ids;
long idCount;
short oldResFile;
oldResFile=CurResFile();
inRefNum = FSpOpenResFile(inFile, fsRdPerm);
if (inRefNum < noErr) return inRefNum;
UseResFile(inRefNum);
memset(&resInfo, 0, sizeof(PASResFork));
PAS_sortTypes(inRefNum, &resTypes, &typeCount);
resInfo.NumberOfTypes = typeCount;
currentWrite = sizeof(PASResFork);
err = FSWrite(outRefNum, &currentWrite, &resInfo);
if (err != noErr) return err;
for (typeCount = 0; ((typeCount < resInfo.NumberOfTypes) && (err == noErr)); typeCount++)
{
PAS_sortIDs(inRefNum, resTypes[typeCount], &ids, &idCount);
err = PAS_flattenResource(resTypes[typeCount], ids, idCount, inRefNum, outRefNum);
DisposePtr((Ptr)ids);
}
DisposePtr((Ptr)resTypes);
UseResFile(oldResFile);
CloseResFile(inRefNum);
return err;
}
OSErr PAS_decodeResource(PASEntry *entry, FSSpec *outFile, short inRefNum)
{
OSErr err = noErr;
short outRefNum;
PASResFork info;
SInt32 infoSize;
short oldResFile;
PASResource pasRes;
SInt32 pasResSize;
long bufSize;
Handle buffer;
long counter=0;
infoSize = sizeof(PASResFork);
err = SetFPos(inRefNum, fsFromStart, (*entry).entryOffset );
if (err != noErr) return err;
err = FSRead( inRefNum, &infoSize, &info);
if (err != noErr) return err;
if(infoSize != sizeof(PASResFork))
{
err = -1;
goto error;
}
oldResFile=CurResFile();
outRefNum = FSpOpenResFile(outFile, fsRdWrPerm);
if (outRefNum < noErr) return outRefNum;
UseResFile(outRefNum);
while (1)
{
pasResSize = sizeof(PASResource);
err = FSRead( inRefNum, &pasResSize, &pasRes);
if (err != noErr)
{
if(err == eofErr)
err = noErr;
break;
}
bufSize = pasRes.length;
buffer = NewHandle(bufSize);
HLock(buffer);
if(buffer == NULL)
{
// if we did not get our memory, try updateresfile
HUnlock(buffer);
UpdateResFile(outRefNum);
counter=0;
buffer = NewHandle(bufSize);
HLock(buffer);
if(buffer == NULL)
{
err = memFullErr;
break;
}
}
err = FSRead( inRefNum, &bufSize, &(**buffer));
if (err != noErr && err != eofErr) break;
AddResource(buffer, pasRes.attrType, pasRes.attrID, pasRes.attrName);
WriteResource(buffer);
SetResAttrs(buffer, pasRes.attr);
ChangedResource(buffer);
WriteResource(buffer);
ReleaseResource(buffer);
if (counter++ > 100)
{
UpdateResFile(outRefNum);
counter=0;
}
}
error:
UseResFile(oldResFile);
CloseResFile(outRefNum);
return err;
}
#pragma mark -
OSErr PAS_encodeMisc(FSSpec *inFile, short outRefNum)
{
OSErr err;
short inRefNum;
PASMiscInfo infoBlock;
FInfo fInfo;
SInt32 currentRead;
err = FSpOpenDF(inFile, fsRdPerm, &inRefNum);
if (err != noErr) return err;
memset(&infoBlock, 0, sizeof(PASMiscInfo));
err = FSpGetFInfo(inFile, &fInfo);
if (err != noErr) return err;
infoBlock.fileType = fInfo.fdType;
infoBlock.fileCreator = fInfo.fdCreator;
infoBlock.fileFlags = fInfo.fdFlags;
FSClose(inRefNum);
inRefNum = FSpOpenResFile(inFile, fsRdPerm);
if (inRefNum > noErr)
{
infoBlock.fileHasResFork = 1;
infoBlock.fileResAttrs = GetResFileAttrs(inRefNum);
FSClose(inRefNum);
}
else
{
infoBlock.fileHasResFork = 0;
infoBlock.fileResAttrs = 0;
}
currentRead = sizeof(PASMiscInfo);
err = FSWrite(outRefNum, &currentRead, &infoBlock);
if (err != noErr) return err;
CloseResFile(inRefNum);
return noErr;
}
OSErr PAS_decodeMisc(PASEntry *entry, FSSpec *outFile, short inRefNum)
{
OSErr err = noErr;
short outRefNum;
PASMiscInfo info;
SInt32 infoSize;
FInfo theFInfo;
infoSize = sizeof(PASMiscInfo);
err = SetFPos(inRefNum, fsFromStart, (*entry).entryOffset );
if (err != noErr) return err;
err = FSRead( inRefNum, &infoSize, &info);
if (err != noErr) return err;
if(infoSize != sizeof(PASMiscInfo))
{
return -1;
}
err = FSpOpenDF(outFile, fsRdWrPerm, &outRefNum);
if (err != noErr) return err;
memset(&theFInfo, 0, sizeof(FInfo));
theFInfo.fdType = info.fileType;
theFInfo.fdCreator = info.fileCreator;
theFInfo.fdFlags = info.fileFlags;
err = FSpSetFInfo(outFile, &theFInfo);
if (err != noErr) return err;
FSClose(outRefNum);
if (info.fileHasResFork)
{
outRefNum = FSpOpenResFile(outFile, fsRdWrPerm);
if (outRefNum < noErr)
{
// maybe it does not have one!
FSpCreateResFile(outFile, info.fileCreator, info.fileType, smSystemScript);
outRefNum = FSpOpenResFile(outFile, fsRdWrPerm);
if (outRefNum < noErr)
{
return outRefNum;
}
}
SetResFileAttrs(outRefNum, info.fileResAttrs);
CloseResFile(outRefNum);
}
if(info.fileType == 'APPL')
{
// we need to add applications to the desktop database.
/* FIX :: need to find DTSetAPPL() function
err = DTSetAPPL( NULL,
outFile->vRefNum,
info.fileCreator,
outFile->parID,
outFile->name);
*/ }
return err;
}
#pragma mark -
OSErr PAS_encodeData(FSSpec *inFile, short outRefNum)
{
OSErr err;
short inRefNum;
Ptr buffer;
SInt32 currentRead = PAS_BUFFER_SIZE;
buffer = NewPtr(currentRead);
err = FSpOpenDF(inFile, fsRdPerm, &inRefNum);
if (err != noErr) return err;
while ( currentRead > 0 )
{
err = FSRead( inRefNum, &currentRead, buffer);
if (err != noErr && err != eofErr) return err;
err = FSWrite(outRefNum, &currentRead, buffer);
if (err != noErr) return err;
}
FSClose(inRefNum);
DisposePtr(buffer);
return noErr;
}
OSErr PAS_decodeData(PASEntry *entry, FSSpec *outFile, short inRefNum)
{
OSErr err;
short outRefNum;
Ptr buffer;
SInt32 currentWrite = PAS_BUFFER_SIZE;
SInt32 totalSize;
buffer = NewPtr(currentWrite);
err = FSpOpenDF(outFile, fsRdWrPerm, &outRefNum);
if (err != noErr) return err;
err = SetFPos(inRefNum, fsFromStart, (*entry).entryOffset );
if (err != noErr) return err;
err = SetFPos(outRefNum, fsFromStart, 0 );
if (err != noErr) return err;
totalSize = (*entry).entryLength;
while(totalSize > 0)
{
currentWrite = PAS_BUFFER_SIZE;
if (totalSize < currentWrite)
{
currentWrite = totalSize;
}
err = FSRead( inRefNum, &currentWrite, buffer);
if (err != noErr && err != eofErr) return err;
err = FSWrite(outRefNum, &currentWrite, buffer);
if (err != noErr) return err;
totalSize = totalSize - currentWrite;
}
FSClose(outRefNum);
DisposePtr(buffer);
return noErr;
}
#pragma mark -
OSErr PAS_encodeHeader(short refnum)
{
PASHeader header;
long sizeOfHeader;
OSErr err;
sizeOfHeader = sizeof(PASHeader);
memset(&header, 0, sizeOfHeader);
header.magicNum = PAS_MAGIC_NUM;
header.versionNum = PAS_VERSION;
header.numEntries = 3;
// Write Out Header
err = FSWrite(refnum, &sizeOfHeader, &header);
return err;
}
OSErr PAS_decodeHeader(short refNum, PASHeader *header)
{
OSErr err;
long sizeOfHeader = sizeof(PASHeader);
memset(header, 0, sizeOfHeader);
err = FSRead(refNum, &sizeOfHeader, header);
return err;
}
#pragma mark -
unsigned long PAS_getDataSize(FSSpec *spec)
{
short refNum;
OSErr err;
Str255 temp;
CInfoPBRec cbrec;
err = FSpOpenDF(spec, fsRdPerm, &refNum);
memcpy( temp, spec->name, spec->name[0] + 1);
cbrec.hFileInfo.ioNamePtr = temp;
cbrec.hFileInfo.ioDirID = spec->parID;
cbrec.hFileInfo.ioVRefNum = spec->vRefNum;
cbrec.hFileInfo.ioFDirIndex = 0;
err = PBGetCatInfoSync(&cbrec);
FSClose(refNum);
if(err != noErr)
{
cbrec.hFileInfo.ioFlLgLen = err;
}
return (cbrec.hFileInfo.ioFlLgLen);
}
short PAS_getResourceID(Handle resource)
{
ResType theType;
Str255 name;
short theID;
memset(&name, 0, sizeof(Str255));
GetResInfo(resource, &theID, &theType, name);
return theID;
}
#pragma mark -
OSErr PAS_flattenResource(ResType type, short *ids, long count, short source, short dest)
{
long idIndex;
Handle resToCopy;
long handleLength;
PASResource pasResource;
long pasResLen;
OSErr err;
for (idIndex=0; idIndex < count; idIndex++)
{
if( (type == 'SIZE') && ( ids[idIndex] == 1 || ids[idIndex] == 0 ) )
{
/*
We do not want to encode/flatten SIZE 0 or 1 because this
is the resource that the user can modify. Most applications
will not be affected if we remove these resources
*/
}
else
{
resToCopy=Get1Resource(type,ids[idIndex]);
if(!resToCopy)
{
return resNotFound;
}
memset(&pasResource, 0, sizeof(PASResource));
GetResInfo( resToCopy,
&pasResource.attrID,
&pasResource.attrType,
pasResource.attrName);
pasResource.attr = GetResAttrs(resToCopy);
DetachResource(resToCopy);
HLock(resToCopy);
pasResource.length = GetHandleSize(resToCopy);
handleLength = pasResource.length;
pasResLen = sizeof(PASResource);
err = FSWrite(dest, &pasResLen, &pasResource);
if(err != noErr)
{
return err;
}
err = FSWrite(dest, &handleLength, &(**resToCopy));
if(err != noErr)
{
return err;
}
HUnlock(resToCopy);
DisposeHandle(resToCopy);
}
}
return noErr;
}
#pragma mark -
void PAS_sortTypes(short sourceRefNum, ResType **resTypePtr, long *count)
{
short oldRef;
short typeIndex;
short numberOfTypes;
*count = -1;
oldRef = CurResFile();
UseResFile(sourceRefNum);
numberOfTypes = Count1Types();
*resTypePtr = (ResType*) NewPtrClear( numberOfTypes * sizeof(OSType) );
for (typeIndex=1; typeIndex <= numberOfTypes; typeIndex++)
{
Get1IndType(&(*resTypePtr)[typeIndex-1], typeIndex);
}
UseResFile(oldRef);
PAS_bubbleSortResType(*resTypePtr, numberOfTypes);
*count = numberOfTypes;
}
void PAS_sortIDs(short sourceRefNum, OSType theType, short **IdPtr, long *count)
{
short oldRef;
Handle theHandle;
short resCount;
short resIndex;
*count = -1;
oldRef = CurResFile();
UseResFile(sourceRefNum);
resCount = Count1Resources(theType);
*IdPtr = (short*) NewPtrClear( resCount * sizeof(short) );
for (resIndex=1; resIndex <= resCount; resIndex++)
{
theHandle = Get1IndResource(theType, resIndex);
if(theHandle == NULL) return;
(*IdPtr)[resIndex-1] = PAS_getResourceID(theHandle);
ReleaseResource(theHandle);
}
UseResFile(oldRef);
PAS_bubbleSortIDS(*IdPtr, resCount);
*count = resCount;
}
#pragma mark -
void
PAS_bubbleSortResType(ResType *types, long count)
{
long x, y;
OSType temp;
for (x=0; x < count-1; x++)
{
for (y=0; y < count-x-1; y++)
{
if (types[y] > types[y+1])
{
temp=types[y];
types[y]=types[y+1];
types[y+1]=temp;
}
}
}
}
void
PAS_bubbleSortIDS(short *ids, long count)
{
long x, y;
short temp;
for (x=0; x < count-1; x++)
{
for (y=0; y < count-x-1; y++)
{
if (ids[y] > ids[y+1])
{
temp=ids[y];
ids[y]=ids[y+1];
ids[y+1]=temp;
}
}
}
}

View File

@@ -1,117 +0,0 @@
/* -*- Mode: C; tab-width: 4; 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 Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Douglas Turner <dougt@netscape.com>
*/
#ifndef SU_PAS_H
#define SU_PAS_H
#include <Errors.h>
#include <Types.h>
#include <Files.h>
#include <Script.h>
#include <Resources.h>
typedef struct PASHeader /* header portion of Patchable AppleSingle */
{
UInt32 magicNum; /* internal file type tag = 0x00244200*/
UInt32 versionNum; /* format version: 1 = 0x00010000 */
UInt8 filler[16]; /* filler */
UInt16 numEntries; /* number of entries which follow */
} PASHeader ;
typedef struct PASEntry /* one Patchable AppleSingle entry descriptor */
{
UInt32 entryID; /* entry type: see list, 0 invalid */
UInt32 entryOffset; /* offset, in bytes, from beginning */
/* of file to this entry's data */
UInt32 entryLength; /* length of data in octets */
} PASEntry;
typedef struct PASMiscInfo
{
short fileHasResFork;
short fileResAttrs;
OSType fileType;
OSType fileCreator;
UInt32 fileFlags;
} PASMiscInfo;
typedef struct PASResFork
{
short NumberOfTypes;
} PASResFork;
typedef struct PASResource
{
short attr;
short attrID;
OSType attrType;
Str255 attrName;
unsigned long length;
} PASResource;
#if PRAGMA_ALIGN_SUPPORTED
#pragma options align=reset
#endif
#define kCreator 'MOSS'
#define kType 'PASf'
#define PAS_BUFFER_SIZE (1024*512)
#define PAS_MAGIC_NUM (0x00244200)
#define PAS_VERSION (0x00010000)
enum
{
ePas_Data = 1,
ePas_Misc,
ePas_Resource
};
#ifdef __cplusplus
extern "C" {
#endif
/* Prototypes */
OSErr PAS_EncodeFile(FSSpec *inSpec, FSSpec *outSpec);
OSErr PAS_DecodeFile(FSSpec *inSpec, FSSpec *outSpec);
#ifdef __cplusplus
}
#endif
#endif /* SU_PAS_H */

View File

@@ -1,481 +0,0 @@
/* -*- Mode: C; tab-width: 4; 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 Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#include "nscore.h"
#include "nsFileSpec.h"
#include "nsFileStream.h"
#include "nsInstall.h" // for error codes
#include "prmem.h"
#include "ScheduledTasks.h"
static nsresult
GetPersistentStringFromSpec(const nsFileSpec& inSpec, char **string)
{
if (!string) return NS_ERROR_NULL_POINTER;
nsCOMPtr<nsIFileSpec> spec;
#ifdef XP_MAC
nsFileSpec interim = inSpec.GetFSSpec(); /* XXX get rid of mError in nsFileSpec */
nsresult rv = NS_NewFileSpecWithSpec(interim, getter_AddRefs(spec));
#else
nsresult rv = NS_NewFileSpecWithSpec(inSpec, getter_AddRefs(spec));
#endif
if (NS_SUCCEEDED(rv)) {
rv = spec->GetPersistentDescriptorString(string);
}
else {
*string = nsnull;
}
return rv;
}
#ifdef _WINDOWS
#include <sys/stat.h>
#include <windows.h>
PRInt32 ReplaceExistingWindowsFile(const nsFileSpec& currentSpec, const nsFileSpec& finalSpec)
{
// this routine is now for DOS-based windows only. WinNT should
// be taken care of by the XP code
//
// NOTE for WINNT:
//
// the MOVEFILE_DELAY_UNTIL_REBOOT option doesn't work on
// NT 3.51 SP4 or on NT 4.0 until SP2. On the broken versions
// of NT 4.0 Microsoft warns using it can lead to an irreparably
// corrupt windows' registry "after an unknown number of calls".
// Time to reinstall windows when that happens.
//
// I don't want to risk it, I also don't want two separate code
// paths to test, so we do it the lame way on all NT systems
// until such time as there are few enough old revs around to
// make it worth switching back to MoveFileEx().
PRInt32 err = -1;
/* Get OS version info */
DWORD dwVersion = GetVersion();
/* Get build numbers for Windows NT or Win32s */
if (dwVersion > 0x80000000)
{
// Windows 95 or Win16
// Place an entry in the WININIT.INI file in the Windows directory
// to delete finalName and rename currentName to be finalName at reboot
int strlen;
char Src[_MAX_PATH]; // 8.3 name
char Dest[_MAX_PATH]; // 8.3 name
char* final = strdup(finalSpec.GetNativePathCString());
char* current = strdup(currentSpec.GetNativePathCString());
strlen = GetShortPathName( (LPCTSTR)current, (LPTSTR)Src, (DWORD)sizeof(Src) );
if ( strlen > 0 )
{
free(current);
current = strdup(Src);
}
strlen = GetShortPathName( (LPCTSTR) final, (LPTSTR) Dest, (DWORD) sizeof(Dest));
if ( strlen > 0 )
{
free(final);
final = strdup(Dest);
}
/* NOTE: use OEM filenames! Even though it looks like a Windows
* .INI file, WININIT.INI is processed under DOS
*/
AnsiToOem( final, final );
AnsiToOem( current, current );
if ( WritePrivateProfileString( "Rename", final, current, "WININIT.INI" ) )
err = 0;
free(final);
free(current);
}
return err;
}
#endif
PRInt32 DeleteFileNowOrSchedule(const nsFileSpec& filename)
{
PRInt32 result = nsInstall::SUCCESS;
filename.Delete(PR_FALSE);
if (filename.Exists())
{
// could not delete, schedule it for later
RKEY newkey;
HREG reg;
REGERR err;
result = nsInstall::UNEXPECTED_ERROR;
err = NR_RegOpen("", &reg) ;
if ( err == REGERR_OK )
{
err = NR_RegAddKey(reg,ROOTKEY_PRIVATE,REG_DELETE_LIST_KEY,&newkey);
if ( err == REGERR_OK )
{
char valname[20];
char* fnamestr = nsnull;
err = NR_RegGetUniqueName( reg, valname, sizeof(valname) );
if ( err == REGERR_OK )
{
nsresult rv;
rv = GetPersistentStringFromSpec( filename, &fnamestr );
if ( NS_SUCCEEDED(rv) && fnamestr )
{
err = NR_RegSetEntry( reg, newkey, valname,
REGTYPE_ENTRY_BYTES,
(void*)fnamestr,
strlen(fnamestr)+1);
if ( err == REGERR_OK )
result = nsInstall::REBOOT_NEEDED;
}
}
}
NR_RegClose(reg);
}
}
return result;
}
PRInt32 ReplaceFileNow(nsFileSpec& replacementFile, nsFileSpec& doomedFile )
{
// replacement file must exist, doomed file doesn't have to
if ( !replacementFile.Exists() )
return nsInstall::DOES_NOT_EXIST;
// don't have to do anything if the files are the same
if ( replacementFile == doomedFile )
return nsInstall::SUCCESS;
PRInt32 result = nsInstall::ACCESS_DENIED;
// first try to rename the doomed file out of the way (if it exists)
char* leafname;
nsFileSpec tmpFile( doomedFile );
if ( tmpFile.Exists() )
{
tmpFile.MakeUnique();
leafname = tmpFile.GetLeafName();
tmpFile = doomedFile;
tmpFile.Rename( leafname );
nsCRT::free( leafname );
}
// if doomedFile is gone move new file into place
nsresult rv;
if ( !doomedFile.Exists() )
{
nsFileSpec parentofFinalFile;
nsFileSpec parentofReplacementFile;
doomedFile.GetParent(parentofFinalFile);
replacementFile.GetParent(parentofReplacementFile);
// XXX looks dangerous, the replacement file name may NOT be unique in the
// target directory if we have to move it! Either we should never move the
// files like this (i.e. error if not in the same dir) or we need to take
// a little more care in the move.
if(parentofReplacementFile != parentofFinalFile)
{
NS_WARN_IF_FALSE( 0, "File unpacked into a non-dest dir" );
rv = replacementFile.MoveToDir(parentofFinalFile);
}
else
rv = NS_OK;
leafname = doomedFile.GetLeafName();
if ( NS_SUCCEEDED(rv) )
rv = replacementFile.Rename( leafname );
if ( NS_SUCCEEDED(rv) )
{
// we replaced the old file OK, now we have to
// get rid of it permanently
result = DeleteFileNowOrSchedule( tmpFile );
}
else
{
// couldn't rename file, try to put old file back
tmpFile.Rename( leafname );
}
nsCRT::free( leafname );
}
return result;
}
PRInt32 ReplaceFileNowOrSchedule(nsFileSpec& replacementFile, nsFileSpec& doomedFile )
{
PRInt32 result = ReplaceFileNow( replacementFile, doomedFile );
if ( result == nsInstall::ACCESS_DENIED )
{
// if we couldn't replace the file schedule it for later
#ifdef _WINDOWS
if ( ReplaceExistingWindowsFile(replacementFile, doomedFile) == 0 )
return nsInstall::REBOOT_NEEDED;
#endif
RKEY listkey;
RKEY filekey;
HREG reg;
REGERR err;
if ( REGERR_OK == NR_RegOpen("", &reg) )
{
err = NR_RegAddKey( reg, ROOTKEY_PRIVATE, REG_REPLACE_LIST_KEY, &listkey );
if ( err == REGERR_OK )
{
char valname[20];
char* fsrc = nsnull;
char* fdest = nsnull;
REGERR err2;
nsresult rv, rv2;
err = NR_RegGetUniqueName( reg, valname, sizeof(valname) );
if ( err == REGERR_OK )
{
err = NR_RegAddKey( reg, listkey, valname, &filekey );
if ( REGERR_OK == err )
{
rv = GetPersistentStringFromSpec(replacementFile, &fsrc);
rv2 = GetPersistentStringFromSpec(doomedFile, &fdest);
if ( NS_SUCCEEDED(rv) && NS_SUCCEEDED(rv2) )
{
err = NR_RegSetEntry( reg, filekey,
REG_REPLACE_SRCFILE,
REGTYPE_ENTRY_BYTES,
(void*)fsrc,
strlen(fsrc));
err2 = NR_RegSetEntry(reg, filekey,
REG_REPLACE_DESTFILE,
REGTYPE_ENTRY_BYTES,
(void*)fdest,
strlen(fdest));
if ( err == REGERR_OK && err2 == REGERR_OK )
result = nsInstall::REBOOT_NEEDED;
else
NR_RegDeleteKey( reg, listkey, valname );
}
if (NS_SUCCEEDED(rv))
nsCRT::free(fsrc);
if (NS_SUCCEEDED(rv2))
nsCRT::free(fdest);
}
}
}
NR_RegClose(reg);
}
}
return result;
}
//-----------------------------------------------------------------------------
//
// STARTUP: DO SCHEDULED ACTIONS
//
//-----------------------------------------------------------------------------
void DeleteScheduledFiles(HREG);
void ReplaceScheduledFiles(HREG);
void PerformScheduledTasks(HREG reg)
{
DeleteScheduledFiles( reg );
ReplaceScheduledFiles( reg );
}
void DeleteScheduledFiles( HREG reg )
{
REGERR err;
RKEY key;
REGENUM state = 0;
/* perform scheduled file deletions */
if (REGERR_OK == NR_RegGetKey(reg,ROOTKEY_PRIVATE,REG_DELETE_LIST_KEY,&key))
{
// the delete key exists, so we loop through its children
// and try to delete all the listed files
char namebuf[MAXREGNAMELEN];
char valbuf[MAXREGPATHLEN];
nsFileSpec doomedFile;
nsCOMPtr<nsIFileSpec> spec;
nsresult rv = NS_NewFileSpec(getter_AddRefs(spec));
if (NS_SUCCEEDED(rv))
{
while (REGERR_OK == NR_RegEnumEntries( reg, key, &state, namebuf,
sizeof(namebuf), 0 ) )
{
uint32 bufsize = sizeof(valbuf); // gets changed, must reset
err = NR_RegGetEntry( reg, key, namebuf, valbuf, &bufsize );
if ( err == REGERR_OK )
{
// no need to check return value of
// SetPersistentDescriptorString, it's always NS_OK
spec->SetPersistentDescriptorString(valbuf);
rv = spec->GetFileSpec(&doomedFile);
if (NS_SUCCEEDED(rv))
{
doomedFile.Delete(PR_FALSE);
if ( !doomedFile.Exists() )
{
// deletion successful, don't have to retry
NR_RegDeleteEntry( reg, key, namebuf );
}
}
}
}
/* delete list node if empty */
state = 0;
err = NR_RegEnumEntries(reg, key, &state, namebuf, sizeof(namebuf), 0);
if ( err == REGERR_NOMORE )
{
NR_RegDeleteKey(reg, ROOTKEY_PRIVATE, REG_DELETE_LIST_KEY);
}
}
}
}
void ReplaceScheduledFiles( HREG reg )
{
RKEY key;
/* replace files if any listed */
if (REGERR_OK == NR_RegGetKey(reg,ROOTKEY_PRIVATE,REG_REPLACE_LIST_KEY,&key))
{
char keyname[MAXREGNAMELEN];
char doomedFile[MAXREGPATHLEN];
char srcFile[MAXREGPATHLEN];
nsFileSpec doomedSpec;
nsFileSpec srcSpec;
nsCOMPtr<nsIFileSpec> src;
nsCOMPtr<nsIFileSpec> dest;
nsresult rv1, rv2;
rv1 = NS_NewFileSpec(getter_AddRefs(src));
rv2 = NS_NewFileSpec(getter_AddRefs(dest));
if (NS_SUCCEEDED(rv1) && NS_SUCCEEDED(rv2))
{
uint32 bufsize;
REGENUM state = 0;
while (REGERR_OK == NR_RegEnumSubkeys( reg, key, &state,
keyname, sizeof(keyname), REGENUM_CHILDREN))
{
bufsize = sizeof(srcFile);
REGERR err1 = NR_RegGetEntry( reg, (RKEY)state,
REG_REPLACE_SRCFILE, srcFile, &bufsize);
bufsize = sizeof(doomedFile);
REGERR err2 = NR_RegGetEntry( reg, (RKEY)state,
REG_REPLACE_DESTFILE, doomedFile, &bufsize);
if ( err1 == REGERR_OK && err2 == REGERR_OK )
{
src->SetPersistentDescriptorString(srcFile);
rv1 = src->GetFileSpec(&srcSpec);
dest->SetPersistentDescriptorString(doomedFile);
rv2 = dest->GetFileSpec(&doomedSpec);
if (NS_SUCCEEDED(rv1) && NS_SUCCEEDED(rv2))
{
// finally now try to do the replace
PRInt32 result = ReplaceFileNow( srcSpec, doomedSpec );
if ( result == nsInstall::DOES_NOT_EXIST ||
result == nsInstall::SUCCESS )
{
// This one is done
NR_RegDeleteKey( reg, key, keyname );
}
}
}
}
/* delete list node if empty */
state = 0;
if (REGERR_NOMORE == NR_RegEnumSubkeys( reg, key, &state, keyname,
sizeof(keyname), REGENUM_CHILDREN ))
{
NR_RegDeleteKey(reg, ROOTKEY_PRIVATE, REG_REPLACE_LIST_KEY);
}
}
}
}

View File

@@ -1,44 +0,0 @@
/* -*- Mode: C; tab-width: 4; 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 Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef __SCHEDULEDTASKS_H__
#define __SCHEDULEDTASKS_H__
#include "NSReg.h"
//#include "mozreg.h"
#include "nsFileSpec.h"
PR_BEGIN_EXTERN_C
PRInt32 DeleteFileNowOrSchedule(const nsFileSpec& filename);
PRInt32 ReplaceFileNowOrSchedule(nsFileSpec& tmpfile, nsFileSpec& target );
void PerformScheduledTasks(HREG reg);
PR_END_EXTERN_C
#endif

View File

@@ -1,139 +0,0 @@
/* -*- Mode: C; tab-width: 4; 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):
*/
/*--------------------------------------------------------------
* GDIFF.H
*
* Constants used in processing the GDIFF format
*--------------------------------------------------------------*/
#include "prio.h"
#include "nsFileSpec.h"
#define GDIFF_MAGIC "\xD1\xFF\xD1\xFF"
#define GDIFF_MAGIC_LEN 4
#define GDIFF_VER 5
#define GDIFF_EOF "\0"
#define GDIFF_VER_POS 4
#define GDIFF_CS_POS 5
#define GDIFF_CSLEN_POS 6
#define GDIFF_HEADERSIZE 7
#define GDIFF_APPDATALEN 4
#define GDIFF_CS_NONE 0
#define GDIFF_CS_MD5 1
#define GDIFF_CS_SHA 2
#define GDIFF_CS_CRC32 32
#define CRC32_LEN 4
/*--------------------------------------
* GDIFF opcodes
*------------------------------------*/
#define ENDDIFF 0
#define ADD8MAX 246
#define ADD16 247
#define ADD32 248
#define COPY16BYTE 249
#define COPY16SHORT 250
#define COPY16LONG 251
#define COPY32BYTE 252
#define COPY32SHORT 253
#define COPY32LONG 254
#define COPY64 255
/* instruction sizes */
#define ADD16SIZE 2
#define ADD32SIZE 4
#define COPY16BYTESIZE 3
#define COPY16SHORTSIZE 4
#define COPY16LONGSIZE 6
#define COPY32BYTESIZE 5
#define COPY32SHORTSIZE 6
#define COPY32LONGSIZE 8
#define COPY64SIZE 12
/*--------------------------------------
* error codes
*------------------------------------*/
#define GDIFF_OK 0
#define GDIFF_ERR_UNKNOWN -1
#define GDIFF_ERR_ARGS -2
#define GDIFF_ERR_ACCESS -3
#define GDIFF_ERR_MEM -4
#define GDIFF_ERR_HEADER -5
#define GDIFF_ERR_BADDIFF -6
#define GDIFF_ERR_OPCODE -7
#define GDIFF_ERR_OLDFILE -8
#define GDIFF_ERR_CHKSUMTYPE -9
#define GDIFF_ERR_CHECKSUM -10
#define GDIFF_ERR_CHECKSUM_TARGET -11
#define GDIFF_ERR_CHECKSUM_RESULT -12
/*--------------------------------------
* types
*------------------------------------*/
#ifndef AIX
#ifdef OSF1
#include <sys/types.h>
#else
typedef unsigned char uchar;
#endif
#endif
typedef struct _diffdata {
PRFileDesc* fSrc;
PRFileDesc* fOut;
PRFileDesc* fDiff;
uint8 checksumType;
uint8 checksumLength;
uchar* oldChecksum;
uchar* newChecksum;
PRBool bMacAppleSingle;
PRBool bWin32BoundImage;
uchar* databuf;
uint32 bufsize;
} DIFFDATA;
typedef DIFFDATA* pDIFFDATA;
/*--------------------------------------
* miscellaneous
*------------------------------------*/
#define APPFLAG_W32BOUND "autoinstall:Win32PE"
#define APPFLAG_APPLESINGLE "autoinstall:AppleSingle"
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif

View File

@@ -1,106 +0,0 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is Mozilla Communicator client code,
# released March 31, 1998.
#
# The Initial Developer of the Original Code is Netscape Communications
# Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
# Daniel Veditz <dveditz@netscape.com>
# Douglas Turner <dougt@netscape.com>
DEPTH=..\..
include <$(DEPTH)/config/config.mak>
MAKE_OBJ_TYPE = DLL
MODULE=xpinstal
XPIDL_MODULE=xpinstall
DLL=.\$(OBJDIR)\$(MODULE).dll
DEFINES=-D_IMPL_NS_DOM -DWIN32_LEAN_AND_MEAN
LCFLAGS = \
$(LCFLAGS) \
$(DEFINES) \
$(NULL)
LLIBS = \
$(DIST)\lib\xpcom.lib \
$(DIST)\lib\js3250.lib \
$(DIST)\lib\jsdombase_s.lib \
$(DIST)\lib\jsdomevents_s.lib \
$(DIST)\lib\zlib.lib \
$(DIST)\lib\strres.lib \
$(LIBNSPR) \
$(DIST)\lib\mozreg.lib \
$(NULL)
OBJS = \
.\$(OBJDIR)\nsInstall.obj \
.\$(OBJDIR)\nsInstallTrigger.obj \
.\$(OBJDIR)\nsInstallVersion.obj \
.\$(OBJDIR)\nsInstallFolder.obj \
.\$(OBJDIR)\nsJSInstall.obj \
.\$(OBJDIR)\nsJSFile.obj \
.\$(OBJDIR)\nsJSInstallTriggerGlobal.obj \
.\$(OBJDIR)\nsJSInstallVersion.obj \
.\$(OBJDIR)\nsSoftwareUpdate.obj \
.\$(OBJDIR)\nsSoftwareUpdateRun.obj \
.\$(OBJDIR)\nsInstallFile.obj \
.\$(OBJDIR)\nsInstallDelete.obj \
.\$(OBJDIR)\nsInstallExecute.obj \
.\$(OBJDIR)\nsInstallPatch.obj \
.\$(OBJDIR)\nsInstallUninstall.obj \
.\$(OBJDIR)\nsInstallResources.obj \
.\$(OBJDIR)\nsTopProgressNotifier.obj \
.\$(OBJDIR)\nsLoggingProgressNotifier.obj\
.\$(OBJDIR)\ScheduledTasks.obj \
.\$(OBJDIR)\nsWinReg.obj \
.\$(OBJDIR)\nsJSWinReg.obj \
.\$(OBJDIR)\nsWinRegItem.obj \
.\$(OBJDIR)\nsWinRegValue.obj \
.\$(OBJDIR)\nsWinProfile.obj \
.\$(OBJDIR)\nsJSWinProfile.obj \
.\$(OBJDIR)\nsWinProfileItem.obj \
.\$(OBJDIR)\nsInstallProgressDialog.obj \
.\$(OBJDIR)\nsXPITriggerInfo.obj \
.\$(OBJDIR)\nsXPInstallManager.obj \
.\$(OBJDIR)\nsInstallFileOpItem.obj \
.\$(OBJDIR)\nsWinShortcut.obj \
.\$(OBJDIR)\nsJSFileSpecObj.obj \
# .\$(OBJDIR)\nsUpdateNotification.obj \
$(NULL)
WIN_LIBS= \
ole32.lib \
$(NULL)
include <$(DEPTH)\config\rules.mak>
install:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(MODULE).lib $(DIST)\lib
$(MAKE_INSTALL) .\$(OBJDIR)\$(MODULE).dll $(DIST)\bin\components
clobber::
$(RM) $(DIST)\lib\$(MODULE).lib
$(RM) $(DIST)\bin\components\$(MODULE).dll

View File

@@ -1,744 +0,0 @@
/* -*- Mode: C++; tab-width: 4; 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 Communicator client code, released March
* 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1999
* Netscape Communications Corporation. All Rights Reserved.
*
* Contributors:
* Samir Gehani <sgehani@netscape.com>
*/
#ifndef _NS_APPLESINGLEDECODER_H_
#include "nsAppleSingleDecoder.h"
#endif
#include "MoreFilesExtras.h"
#include "MoreDesktopMgr.h"
#include "IterateDirectory.h"
#include "nsISupportsUtils.h"
/*----------------------------------------------------------------------*
* Constructors/Destructor
*----------------------------------------------------------------------*/
MOZ_DECL_CTOR_COUNTER(nsAppleSingleDecoder);
nsAppleSingleDecoder::nsAppleSingleDecoder(FSSpec *inSpec, FSSpec *outSpec)
: mInSpec(NULL),
mOutSpec(NULL),
mInRefNum(0),
mRenameReqd(false)
{
MOZ_COUNT_CTOR(nsAppleSingleDecoder);
if (inSpec && outSpec)
{
/* merely point to FSSpecs, not own 'em */
mInSpec = inSpec;
mOutSpec = outSpec;
}
}
nsAppleSingleDecoder::nsAppleSingleDecoder()
: mInSpec(NULL),
mOutSpec(NULL),
mInRefNum(0),
mRenameReqd(false)
{
MOZ_COUNT_CTOR(nsAppleSingleDecoder);
}
nsAppleSingleDecoder::~nsAppleSingleDecoder()
{
/* not freeing FSSpecs since we don't own 'em */
MOZ_COUNT_DTOR(nsAppleSingleDecoder);
}
/*----------------------------------------------------------------------*
* Public methods
*----------------------------------------------------------------------*/
OSErr
nsAppleSingleDecoder::Decode()
{
OSErr err = noErr;
ASHeader header;
long bytesRead = sizeof(header);
// param check
if (!mInSpec || !mOutSpec)
return paramErr;
// check for existence
FSSpec tmp;
err = FSMakeFSSpec(mInSpec->vRefNum, mInSpec->parID, mInSpec->name, &tmp);
if (err == fnfErr)
return err;
MAC_ERR_CHECK(FSpOpenDF( mInSpec, fsRdPerm, &mInRefNum ));
MAC_ERR_CHECK(FSRead( mInRefNum, &bytesRead, &header ));
if ( (bytesRead != sizeof(header)) ||
(header.magicNum != 0x00051600) ||
(header.versionNum != 0x00020000) ||
(header.numEntries == 0) ) // empty file?
return -1;
// create the outSpec which we'll rename correctly later
err = FSMakeFSSpec( mInSpec->vRefNum, mInSpec->parID, "\pdecode", mOutSpec );
if (err!=noErr && err!=fnfErr)
return err;
MAC_ERR_CHECK(FSMakeUnique( mOutSpec ));
MAC_ERR_CHECK(FSpCreate( mOutSpec, 'MOZZ', '????', 0 ));
/* Loop through the entries, processing each.
** Set the time/date stamps last, because otherwise they'll
** be destroyed when we write.
*/
{
Boolean hasDateEntry = false;
ASEntry dateEntry;
long offset;
ASEntry entry;
for ( int i=0; i < header.numEntries; i++ )
{
offset = sizeof( ASHeader ) + sizeof( ASEntry ) * i;
MAC_ERR_CHECK(SetFPos( mInRefNum, fsFromStart, offset ));
bytesRead = sizeof(entry);
MAC_ERR_CHECK(FSRead( mInRefNum, &bytesRead, &entry ));
if (bytesRead != sizeof(entry))
return -1;
if ( entry.entryID == AS_FILEDATES )
{
hasDateEntry = true;
dateEntry = entry;
}
else
MAC_ERR_CHECK(ProcessASEntry( entry ));
}
if ( hasDateEntry )
MAC_ERR_CHECK(ProcessASEntry( dateEntry ));
}
// close the inSpec
FSClose( mInRefNum );
// rename if need be
if (mRenameReqd)
{
FSSpec old; // delete old version of target file
FSMakeFSSpec(mInSpec->vRefNum, mInSpec->parID, mInSpec->name, &old);
MAC_ERR_CHECK(FSpDelete(&old));
MAC_ERR_CHECK(FSpRename(mOutSpec, mInSpec->name));
// reflect change in outSpec
nsAppleSingleDecoder::PLstrncpy( mOutSpec->name, mInSpec->name, mInSpec->name[0] );
mOutSpec->name[0] = mInSpec->name[0];
mRenameReqd = false; // XXX redundant reinit?
}
return err;
}
OSErr
nsAppleSingleDecoder::Decode(FSSpec *inSpec, FSSpec *outSpec)
{
OSErr err = noErr;
// param check
if (inSpec && outSpec)
{
mInSpec = inSpec; // reinit
mOutSpec = outSpec;
mRenameReqd = false;
}
else
return paramErr;
err = Decode();
return err;
}
pascal void
DecodeDirIterateFilter(const CInfoPBRec * const cpbPtr, Boolean *quitFlag, void *yourDataPtr)
{
OSErr err = noErr;
FSSpec currFSp, outFSp;
nsAppleSingleDecoder* thisObj = NULL;
Boolean isDir = false;
long dummy;
// param check
if (!yourDataPtr || !cpbPtr || !quitFlag)
return;
*quitFlag = false;
// extract 'this' -- an nsAppleSingleDecoder instance
thisObj = (nsAppleSingleDecoder*) yourDataPtr;
// make an FSSpec from the CInfoPBRec*
err = FSMakeFSSpec(cpbPtr->hFileInfo.ioVRefNum, cpbPtr->hFileInfo.ioFlParID,
cpbPtr->hFileInfo.ioNamePtr, &currFSp);
if (err == noErr)
{
FSpGetDirectoryID(&currFSp, &dummy, &isDir);
// if current FSSpec is file
if (!isDir)
{
// if file is in AppleSingle format
if (nsAppleSingleDecoder::IsAppleSingleFile(&currFSp))
{
// decode file
thisObj->Decode(&currFSp, &outFSp);
}
}
else
{
// else if current FSSpec is folder ignore
// XXX never reached?
return;
}
}
}
OSErr
nsAppleSingleDecoder::DecodeFolder(FSSpec *aFolder)
{
OSErr err = noErr;
long dummy;
Boolean isDir = false;
// check that FSSpec is folder
if (aFolder)
{
FSpGetDirectoryID(aFolder, &dummy, &isDir);
if (!isDir)
return dirNFErr;
}
// recursively enumerate contents of folder (maxLevels=0 means recurse all)
FSpIterateDirectory(aFolder, 0, DecodeDirIterateFilter, (void*)this);
return err;
}
Boolean
nsAppleSingleDecoder::IsAppleSingleFile(FSSpec *inSpec)
{
OSErr err;
Boolean bAppleSingle = false;
short inRefNum;
UInt32 magic;
long bytesRead = sizeof(magic);
// param checks
if (!inSpec)
return false;
// check for existence
FSSpec tmp;
err = FSMakeFSSpec(inSpec->vRefNum, inSpec->parID, inSpec->name, &tmp);
if (err!=noErr)
return false;
// open and read the magic number len bytes
err = FSpOpenDF( inSpec, fsRdPerm, &inRefNum );
if (err!=noErr)
return false;
err = FSRead( inRefNum, &bytesRead, &magic );
if (err!=noErr)
return false;
FSClose(inRefNum);
if (bytesRead != sizeof(magic))
return false;
// check if bytes read match magic number
bAppleSingle = (magic == 0x00051600);
return bAppleSingle;
}
/*----------------------------------------------------------------------*
* Private methods
*----------------------------------------------------------------------*/
OSErr
nsAppleSingleDecoder::ProcessASEntry(ASEntry inEntry)
{
switch (inEntry.entryID)
{
case AS_DATA:
return ProcessDataFork( inEntry );
break;
case AS_RESOURCE:
return ProcessResourceFork( inEntry );
break;
case AS_REALNAME:
ProcessRealName( inEntry );
break;
// return 0; // Ignore these errors in ASD <--- XXX remove
case AS_COMMENT:
// return ProcessComment( inEntry );
break;
case AS_ICONBW:
// return ProcessIconBW( inEntry );
break;
case AS_ICONCOLOR:
// return ProcessIconColor( inEntry );
break;
case AS_FILEDATES:
return ProcessFileDates( inEntry );
break;
case AS_FINDERINFO:
return ProcessFinderInfo( inEntry );
break;
case AS_MACINFO:
return ProcessMacInfo( inEntry );
break;
case AS_PRODOSINFO:
case AS_MSDOSINFO:
case AS_AFPNAME:
case AS_AFPINFO:
case AS_AFPDIRID:
default:
return 0;
}
return 0;
}
OSErr
nsAppleSingleDecoder::ProcessDataFork(ASEntry inEntry)
{
OSErr err = noErr;
SInt16 refNum;
/* Setup the files */
err = FSpOpenDF (mOutSpec, fsWrPerm, &refNum);
if ( err == noErr )
err = EntryToMacFile( inEntry, refNum );
FSClose( refNum );
return err;
}
OSErr
nsAppleSingleDecoder::ProcessResourceFork(ASEntry inEntry)
{
OSErr err = noErr;
SInt16 refNum;
err = FSpOpenRF(mOutSpec, fsWrPerm, &refNum);
if ( err == noErr )
err = EntryToMacFile( inEntry, refNum );
FSClose( refNum );
return err;
}
OSErr
nsAppleSingleDecoder::ProcessRealName(ASEntry inEntry)
{
OSErr err = noErr;
Str255 newName;
long bytesRead;
if ( inEntry.entryLength > 32 ) /* Max file name length for the Mac */
return -1;
MAC_ERR_CHECK(SetFPos(mInRefNum, fsFromStart, inEntry.entryOffset));
bytesRead = inEntry.entryLength;
MAC_ERR_CHECK(FSRead(mInRefNum, &bytesRead, &newName[1]));
if (bytesRead != inEntry.entryLength)
return -1;
newName[0] = inEntry.entryLength;
err = FSpRename(mOutSpec, newName);
if (err == dupFNErr)
{
// if we are trying to rename temp decode file to src name, rename later
if (nsAppleSingleDecoder::PLstrcmp(newName, mInSpec->name))
{
mRenameReqd = true;
return noErr;
}
FSSpec old; // delete old version of target file
FSMakeFSSpec(mOutSpec->vRefNum, mOutSpec->parID, newName, &old);
MAC_ERR_CHECK(FSpDelete(&old));
MAC_ERR_CHECK(FSpRename(mOutSpec, newName));
}
nsAppleSingleDecoder::PLstrncpy( mOutSpec->name, newName, inEntry.entryLength );
mOutSpec->name[0] = inEntry.entryLength;
return err;
}
OSErr
nsAppleSingleDecoder::ProcessFileDates(ASEntry inEntry)
{
OSErr err = noErr;
ASFileDates dates;
long bytesRead;
if ( inEntry.entryLength != sizeof(dates) ) /* Max file name length for the Mac */
return -1;
MAC_ERR_CHECK(SetFPos(mInRefNum, fsFromStart, inEntry.entryOffset));
bytesRead = inEntry.entryLength;
MAC_ERR_CHECK(FSRead(mInRefNum, &bytesRead, &dates));
if (bytesRead != inEntry.entryLength)
return -1;
Str31 name;
nsAppleSingleDecoder::PLstrncpy(name, mOutSpec->name, mOutSpec->name[0]);
name[0] = mOutSpec->name[0];
CInfoPBRec pb;
pb.hFileInfo.ioNamePtr = &name[0];
pb.hFileInfo.ioVRefNum = mOutSpec->vRefNum;
pb.hFileInfo.ioDirID = mOutSpec->parID;
pb.hFileInfo.ioFDirIndex = 0; /* use ioNamePtr and ioDirID */
err = PBGetCatInfoSync(&pb);
if ( err != noErr )
return -1;
#define YR_2000_SECONDS 3029529600
pb.hFileInfo.ioFlCrDat = dates.create + YR_2000_SECONDS;
pb.hFileInfo.ioFlMdDat = dates.modify + YR_2000_SECONDS;
pb.hFileInfo.ioFlBkDat = dates.backup + YR_2000_SECONDS;
/* Not sure if mac has the last access time */
nsAppleSingleDecoder::PLstrncpy(name, mOutSpec->name, mOutSpec->name[0]);
name[0] = mOutSpec->name[0];
pb.hFileInfo.ioNamePtr = name;
pb.hFileInfo.ioVRefNum = mOutSpec->vRefNum;
pb.hFileInfo.ioDirID = mOutSpec->parID;
pb.hFileInfo.ioFDirIndex = 0; /* use ioNamePtr and ioDirID */
err = PBSetCatInfo(&pb, false);
return err;
}
OSErr
nsAppleSingleDecoder::ProcessFinderInfo(ASEntry inEntry)
{
OSErr err = noErr;
ASFinderInfo info;
long bytesRead;
if (inEntry.entryLength != sizeof( ASFinderInfo ))
return -1;
MAC_ERR_CHECK(SetFPos(mInRefNum, fsFromStart, inEntry.entryOffset));
bytesRead = sizeof(info);
MAC_ERR_CHECK(FSRead(mInRefNum, &bytesRead, &info));
if (bytesRead != inEntry.entryLength)
return -1;
err = FSpSetFInfo(mOutSpec, &info.ioFlFndrInfo);
if (err!=noErr && err!=fnfErr)
return err;
Str31 name;
nsAppleSingleDecoder::PLstrncpy(name, mOutSpec->name, mOutSpec->name[0]);
name[0] = mOutSpec->name[0];
CInfoPBRec pb;
pb.hFileInfo.ioNamePtr = name;
pb.hFileInfo.ioVRefNum = mOutSpec->vRefNum;
pb.hFileInfo.ioDirID = mOutSpec->parID;
pb.hFileInfo.ioFDirIndex = 0; /* use ioNamePtr and ioDirID */
MAC_ERR_CHECK(PBGetCatInfoSync(&pb));
pb.hFileInfo.ioNamePtr = name;
pb.hFileInfo.ioVRefNum = mOutSpec->vRefNum;
pb.hFileInfo.ioDirID = mOutSpec->parID;
pb.hFileInfo.ioFDirIndex = 0; /* use ioNamePtr and ioDirID */
pb.hFileInfo.ioFlXFndrInfo = info.ioFlXFndrInfo;
err = PBSetCatInfo(&pb, false);
if (info.ioFlFndrInfo.fdType == 'APPL')
{
// need to register in desktop database or bad things will happen
DTSetAPPL( NULL,
mOutSpec->vRefNum,
info.ioFlFndrInfo.fdCreator,
mOutSpec->parID,
mOutSpec->name );
}
return err;
}
OSErr
nsAppleSingleDecoder::ProcessMacInfo(ASEntry inEntry)
{
OSErr err = noErr;
ASMacInfo info;
long bytesRead;
if (inEntry.entryLength != sizeof( ASMacInfo ))
return -1;
MAC_ERR_CHECK(SetFPos(mInRefNum, fsFromStart, inEntry.entryOffset));
bytesRead = sizeof(info);
MAC_ERR_CHECK(FSRead(mInRefNum, &bytesRead, &info));
if (bytesRead != inEntry.entryLength)
return -1;
Str31 name;
nsAppleSingleDecoder::PLstrncpy(name, mOutSpec->name, mOutSpec->name[0]);
name[0] = mOutSpec->name[0];
CInfoPBRec pb;
pb.hFileInfo.ioNamePtr = name;
pb.hFileInfo.ioVRefNum = mOutSpec->vRefNum;
pb.hFileInfo.ioDirID = mOutSpec->parID;
pb.hFileInfo.ioFDirIndex = 0; /* use ioNamePtr and ioDirID */
MAC_ERR_CHECK(PBGetCatInfoSync(&pb));
pb.hFileInfo.ioNamePtr = name;
pb.hFileInfo.ioVRefNum = mOutSpec->vRefNum;
pb.hFileInfo.ioDirID = mOutSpec->parID;
pb.hFileInfo.ioFlAttrib = info.ioFlAttrib;
err = PBSetCatInfo(&pb, false);
return err;
}
OSErr
nsAppleSingleDecoder::EntryToMacFile(ASEntry inEntry, UInt16 inTargetSpecRefNum)
{
#define BUFFER_SIZE 8192
OSErr err = noErr;
char buffer[BUFFER_SIZE];
long totalRead = 0, bytesRead, bytesToWrite;
MAC_ERR_CHECK(SetFPos( mInRefNum, fsFromStart, inEntry.entryOffset ));
while ( totalRead < inEntry.entryLength )
{
// Should we yield in here?
bytesRead = BUFFER_SIZE;
err = FSRead( mInRefNum, &bytesRead, buffer );
if (err!=noErr && err!=eofErr)
return err;
if ( bytesRead <= 0 )
return -1;
bytesToWrite = totalRead + bytesRead > inEntry.entryLength ?
inEntry.entryLength - totalRead :
bytesRead;
totalRead += bytesRead;
MAC_ERR_CHECK(FSWrite(inTargetSpecRefNum, &bytesToWrite, buffer));
}
return err;
}
OSErr DTSetAPPL(Str255 volName,
short vRefNum,
OSType creator,
long applParID,
Str255 applName)
{
OSErr err;
DTPBRec *pb = NULL;
short dtRefNum;
short realVRefNum;
Boolean newDTDatabase;
/* get the real vRefnum */
err = DetermineVRefNum(volName, vRefNum, &realVRefNum);
if (err == noErr)
{
err = DTOpen(volName, vRefNum, &dtRefNum, &newDTDatabase);
if (err == noErr && !newDTDatabase)
{
pb = (DTPBRec*) NewPtrClear( sizeof(DTPBRec) );
if (pb==NULL) return -1;
pb->ioNamePtr = applName;
pb->ioDTRefNum = dtRefNum;
pb->ioDirID = applParID;
pb->ioFileCreator = creator;
err = PBDTAddAPPLSync(pb);
if (pb) DisposePtr((Ptr)pb);
}
}
return err;
}
OSErr
nsAppleSingleDecoder::FSMakeUnique(FSSpec *ioSpec)
{
OSErr err = noErr;
Boolean bUnique = false;
FSSpec tmp;
long uniqueID = 0;
Str255 name;
short i, j;
unsigned char puniqueID[16];
char *cuniqueIDPtr;
// grab suggested name from in-out FSSpec
nsAppleSingleDecoder::PLstrncpy(name, ioSpec->name, ioSpec->name[0]);
name[0] = ioSpec->name[0];
for (i=0; i<65536; i++) // prevent infinite loop
{
if (!bUnique)
{
err = FSMakeFSSpec( ioSpec->vRefNum, ioSpec->parID, name, &tmp );
if (err == fnfErr)
{
bUnique = true;
break;
}
else if (err == noErr) // file already exists
{
// grab suggested name from in-out FSSpec
nsAppleSingleDecoder::PLstrncpy(name, ioSpec->name, ioSpec->name[0]);
name[0] = ioSpec->name[0];
// attempt to create a new unique file name
nsAppleSingleDecoder::PLstrncat( name, "\p-", 1 );
// tack on digit(s)
cuniqueIDPtr = nsAppleSingleDecoder::ltoa(uniqueID++);
puniqueID[0] = strlen(cuniqueIDPtr);
for (j=0; j<strlen(cuniqueIDPtr); j++)
{
puniqueID[j+1] = cuniqueIDPtr[j];
}
nsAppleSingleDecoder::PLstrncat( name, puniqueID, puniqueID[0] );
DisposePtr((Ptr)cuniqueIDPtr);
}
else
return err;
}
}
// put back unique name into in-out FSSpec
nsAppleSingleDecoder::PLstrncpy(ioSpec->name, name, name[0]);
ioSpec->name[0] = name[0];
return noErr;
}
/*----------------------------------------------------------------------*
* Utilities
*----------------------------------------------------------------------*/
char *
nsAppleSingleDecoder::ltoa(long n)
{
char *s;
int i, j, sign, tmp;
/* check sign and convert to positive to stringify numbers */
if ( (sign = n) < 0)
n = -n;
i = 0;
s = (char*) malloc(sizeof(char));
/* grow string as needed to add numbers from powers of 10 down till none left */
do
{
s = (char*) realloc(s, (i+1)*sizeof(char));
s[i++] = n % 10 + '0'; /* '0' or 30 is where ASCII numbers start from */
s[i] = '\0';
}
while( (n /= 10) > 0);
/* tack on minus sign if we found earlier that this was negative */
if (sign < 0)
{
s = (char*) realloc(s, (i+1)*sizeof(char));
s[i++] = '-';
}
s[i] = '\0';
/* pop numbers (and sign) off of string to push back into right direction */
for (i = 0, j = strlen(s) - 1; i < j; i++, j--)
{
tmp = s[i];
s[i] = s[j];
s[j] = tmp;
}
return s;
}
StringPtr
nsAppleSingleDecoder::PLstrncpy(StringPtr dst, ConstStr255Param src, short max)
{
int srcLen = src[0];
if (srcLen > max)
srcLen = max;
dst[0] = srcLen;
memcpy(&dst[1], &src[1], srcLen);
return dst;
}
StringPtr
nsAppleSingleDecoder::PLstrncat(StringPtr dst, ConstStr255Param src, short max)
{
int srcLen = src[0], dstLen = dst[0];
if (srcLen > max)
srcLen = max;
dst[0] += srcLen;
memcpy(&dst[dstLen+1], &src[1], srcLen);
return dst;
}
Boolean
nsAppleSingleDecoder::PLstrcmp(StringPtr str1, StringPtr str2)
{
Boolean bEqual = true;
// check for same length
if (str1[0] == str2[0])
{
// verify mem blocks match
if (0 != memcmp(&str1[1], &str2[1], str1[0]))
bEqual = false;
}
else
bEqual = false;
return bEqual;
}

View File

@@ -1,222 +0,0 @@
/* -*- Mode: C++; tab-width: 4; 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 Communicator client code, released March
* 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are Copyright (C) 1999
* Netscape Communications Corporation. All Rights Reserved.
*
* Contributors:
* Samir Gehani <sgehani@netscape.com>
*/
/*----------------------------------------------------------------------*
* Implements a simple AppleSingle decoder, as described in RFC1740
* http://andrew2.andrew.cmu.edu/rfc/rfc1740.html
*----------------------------------------------------------------------*/
#ifndef macintosh
#error Sorry! This is Mac only functionality!
#endif
#pragma options align=mac68k
#ifndef _NS_APPLESINGLEDECODER_H_
#define _NS_APPLESINGLEDECODER_H_
#include <stdlib.h>
#include <string.h>
#include <Files.h>
#include <Errors.h>
/*----------------------------------------------------------------------*
* Struct definitions from RFC1740
*----------------------------------------------------------------------*/
typedef struct ASHeader /* header portion of AppleSingle */
{
/* AppleSingle = 0x00051600; AppleDouble = 0x00051607 */
UInt32 magicNum; /* internal file type tag */
UInt32 versionNum; /* format version: 2 = 0x00020000 */
UInt8 filler[16]; /* filler, currently all bits 0 */
UInt16 numEntries; /* number of entries which follow */
} ASHeader ; /* ASHeader */
typedef struct ASEntry /* one AppleSingle entry descriptor */
{
UInt32 entryID; /* entry type: see list, 0 invalid */
UInt32 entryOffset; /* offset, in octets, from beginning */
/* of file to this entry's data */
UInt32 entryLength; /* length of data in octets */
} ASEntry; /* ASEntry */
typedef struct ASFinderInfo
{
FInfo ioFlFndrInfo; /* PBGetFileInfo() or PBGetCatInfo() */
FXInfo ioFlXFndrInfo; /* PBGetCatInfo() (HFS only) */
} ASFinderInfo; /* ASFinderInfo */
typedef struct ASMacInfo /* entry ID 10, Macintosh file information */
{
UInt8 filler[3]; /* filler, currently all bits 0 */
UInt8 ioFlAttrib; /* PBGetFileInfo() or PBGetCatInfo() */
} ASMacInfo;
typedef struct ASFileDates /* entry ID 8, file dates info */
{
SInt32 create; /* file creation date/time */
SInt32 modify; /* last modification date/time */
SInt32 backup; /* last backup date/time */
SInt32 access; /* last access date/time */
} ASFileDates; /* ASFileDates */
/* entryID list */
#define AS_DATA 1 /* data fork */
#define AS_RESOURCE 2 /* resource fork */
#define AS_REALNAME 3 /* File's name on home file system */
#define AS_COMMENT 4 /* standard Mac comment */
#define AS_ICONBW 5 /* Mac black & white icon */
#define AS_ICONCOLOR 6 /* Mac color icon */
/* 7 /* not used */
#define AS_FILEDATES 8 /* file dates; create, modify, etc */
#define AS_FINDERINFO 9 /* Mac Finder info & extended info */
#define AS_MACINFO 10 /* Mac file info, attributes, etc */
#define AS_PRODOSINFO 11 /* Pro-DOS file info, attrib., etc */
#define AS_MSDOSINFO 12 /* MS-DOS file info, attributes, etc */
#define AS_AFPNAME 13 /* Short name on AFP server */
#define AS_AFPINFO 14 /* AFP file info, attrib., etc */
#define AS_AFPDIRID 15 /* AFP directory ID */
/*----------------------------------------------------------------------*
* Macros
*----------------------------------------------------------------------*/
#define MAC_ERR_CHECK(_funcCall) \
err = _funcCall; \
if (err!=noErr) \
return err;
class nsAppleSingleDecoder
{
public:
nsAppleSingleDecoder(FSSpec *inSpec, FSSpec *outSpec);
nsAppleSingleDecoder();
~nsAppleSingleDecoder();
/**
* Decode
*
* Takes an "in" FSSpec for the source file in AppleSingle
* format to decode and write out to an "out" FSSpec.
* This form is used when the Decode(void) method has already
* been invoked once and this object is reused to decode
* another AppleSingled file: useful in iteration to avoid
* nsAppleSingleDecoder object instantiation per file.
*
* @param inSpec the AppleSingled file to decode
* @param outSpec the destination file in which the decoded
* data was written out (empty when passed in
* and filled on return)
* @return err a standard MacOS OSErr where noErr means OK
*/
OSErr Decode(FSSpec *inSpec, FSSpec *outSpec);
/**
* Decode
*
* Decodes the AppleSingled file passed in to the constructor
* and writes out the decoded data to the outSpec passed to the
* constructor.
*
* @return err a standard MacOS OSErr where noErr = OK
*/
OSErr Decode();
/**
* DecodeFolder
*
* Traverses arbitrarily nested subdirs decoding any files
* in AppleSingle format and leaving other files alone.
*
* @param aFolder the folder whose contents to decode
* @return err a standard MacOS err (dirNFErr if invalid dir, noErr = OK)
*/
OSErr DecodeFolder(FSSpec *aFolder);
/**
* IsAppleSingleFile
*
* Checks the file header to see whether this is an AppleSingle
* version 2 file by matching the magicNum field in the header.
*
* @param inSpec the file to check
* @return bAppleSingle a Boolean where true indicates this is
* in fact an AppleSingle file
*/
static Boolean IsAppleSingleFile(FSSpec *inSpec);
/**
* String utilities to ensure building standalone
* since Mozilla doesn't use PLStringFuncs.
*/
static StringPtr PLstrncpy(StringPtr dst, ConstStr255Param src, short max);
static StringPtr PLstrncat(StringPtr dst, ConstStr255Param src, short max);
static Boolean PLstrcmp(StringPtr str1, StringPtr str2);
/**
* ltoa -- long to ascii
*
* Converts a long to a C string. We allocate
* a string of the appropriate size and the caller
* should assume ownership of the returned pointer.
*/
static char *ltoa(long n);
private:
FSSpec *mInSpec;
FSSpec *mOutSpec;
short mInRefNum; // cache since it's used through the life of one Decode cycle
Boolean mRenameReqd;
OSErr ProcessASEntry(ASEntry inEntry);
OSErr ProcessDataFork(ASEntry inEntry);
OSErr ProcessResourceFork(ASEntry inEntry);
OSErr ProcessRealName(ASEntry inEntry);
OSErr ProcessFileDates(ASEntry inEntry);
OSErr ProcessFinderInfo(ASEntry inEntry);
OSErr ProcessMacInfo(ASEntry inEntry);
OSErr EntryToMacFile(ASEntry inEntry, UInt16 inTargetSpecRefNum);
OSErr FSMakeUnique(FSSpec *ioSpec);
};
#ifdef __cplusplus
extern "C" {
#endif
OSErr DTSetAPPL(Str255 volName,short vRefNum,OSType creator,long applParID,Str255 applName);
pascal void
DecodeDirIterateFilter(const CInfoPBRec * const cpbPtr, Boolean *quitFlag, void *yourDataPtr);
#ifdef __cplusplus
}
#endif
#pragma options align=reset
#endif /* _NS_APPLESINGLEDECODER_H_ */

File diff suppressed because it is too large Load Diff

View File

@@ -1,323 +0,0 @@
/* -*- Mode: C; tab-width: 4; 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 Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef __NS_INSTALL_H__
#define __NS_INSTALL_H__
#include "nscore.h"
#include "nsISupports.h"
#include "jsapi.h"
#include "plevent.h"
#include "nsString.h"
#include "nsFileSpec.h"
#include "nsVoidArray.h"
#include "nsHashtable.h"
#include "nsCOMPtr.h"
#include "nsSoftwareUpdate.h"
#include "nsInstallObject.h"
#include "nsInstallVersion.h"
#include "nsInstallFolder.h"
#include "nsIXPINotifier.h"
#include "nsIStringBundle.h"
#include "nsILocale.h"
#include "nsIEventQueueService.h"
#include "nsIServiceManager.h"
#include "nsIComponentManager.h"
#include "nsIPersistentProperties.h"
#include "nsIEnumerator.h"
#include "nsIZipReader.h"
class nsInstallInfo
{
public:
nsInstallInfo( nsIFileSpec* aFile,
const PRUnichar* aURL,
const PRUnichar* aArgs,
long aFlags,
nsIXPINotifier* aNotifier);
virtual ~nsInstallInfo();
nsresult GetLocalFile(nsFileSpec& aSpec);
void GetURL(nsString& aURL) { aURL = mURL; }
void GetArguments(nsString& aArgs) { aArgs = mArgs; }
long GetFlags() { return mFlags; }
nsIXPINotifier* GetNotifier() { return mNotifier; };
private:
nsresult mError;
long mFlags;
nsString mURL;
nsString mArgs;
nsCOMPtr<nsIFileSpec> mFile;
nsCOMPtr<nsIXPINotifier> mNotifier;
};
#ifdef XP_PC
#define FILESEP '\\'
#elif defined XP_MAC
#define FILESEP ':'
#elif defined XP_BEOS
#define FILESEP '/'
#else
#define FILESEP '/'
#endif
class nsInstall
{
friend class nsWinReg;
friend class nsWinProfile;
public:
enum
{
BAD_PACKAGE_NAME = -200,
UNEXPECTED_ERROR = -201,
ACCESS_DENIED = -202,
TOO_MANY_CERTIFICATES = -203,
NO_INSTALL_SCRIPT = -204,
NO_CERTIFICATE = -205,
NO_MATCHING_CERTIFICATE = -206,
CANT_READ_ARCHIVE = -207,
INVALID_ARGUMENTS = -208,
ILLEGAL_RELATIVE_PATH = -209,
USER_CANCELLED = -210,
INSTALL_NOT_STARTED = -211,
SILENT_MODE_DENIED = -212,
NO_SUCH_COMPONENT = -213,
DOES_NOT_EXIST = -214,
READ_ONLY = -215,
IS_DIRECTORY = -216,
NETWORK_FILE_IS_IN_USE = -217,
APPLE_SINGLE_ERR = -218,
INVALID_PATH_ERR = -219,
PATCH_BAD_DIFF = -220,
PATCH_BAD_CHECKSUM_TARGET = -221,
PATCH_BAD_CHECKSUM_RESULT = -222,
UNINSTALL_FAILED = -223,
PACKAGE_FOLDER_NOT_SET = -224,
EXTRACTION_FAILED = -225,
FILENAME_ALREADY_USED = -226,
ABORT_INSTALL = -227,
DOWNLOAD_ERROR = -228,
SCRIPT_ERROR = -229,
ALREADY_EXISTS = -230,
IS_FILE = -231,
SOURCE_DOES_NOT_EXIST = -232,
SOURCE_IS_DIRECTORY = -233,
SOURCE_IS_FILE = -234,
INSUFFICIENT_DISK_SPACE = -235,
FILENAME_TOO_LONG = -236,
OUT_OF_MEMORY = -299,
GESTALT_UNKNOWN_ERR = -5550,
GESTALT_INVALID_ARGUMENT = -5551,
SUCCESS = 0,
REBOOT_NEEDED = 999,
LIMITED_INSTALL = 0,
FULL_INSTALL = 1,
NO_STATUS_DLG = 2,
NO_FINALIZE_DLG = 4,
INSTALL_FILE_UNEXPECTED_MSG_ID = 0,
DETAILS_REPLACE_FILE_MSG_ID = 1,
DETAILS_INSTALL_FILE_MSG_ID = 2
};
nsInstall(nsIZipReader * theJARFile);
virtual ~nsInstall();
PRInt32 SetScriptObject(void* aScriptObject);
PRInt32 SaveWinRegPrototype(void* aScriptObject);
PRInt32 SaveWinProfilePrototype(void* aScriptObject);
JSObject* RetrieveWinRegPrototype(void);
JSObject* RetrieveWinProfilePrototype(void);
PRInt32 GetUserPackageName(nsString& aUserPackageName);
PRInt32 GetRegPackageName(nsString& aRegPackageName);
PRInt32 AbortInstall(PRInt32 aErrorNumber);
PRInt32 AddDirectory(const nsString& aRegName, const nsString& aVersion, const nsString& aJarSource, nsInstallFolder* aFolder, const nsString& aSubdir, PRInt32 aMode, PRInt32* aReturn);
PRInt32 AddDirectory(const nsString& aRegName, const nsString& aVersion, const nsString& aJarSource, nsInstallFolder* aFolder, const nsString& aSubdir, PRInt32* aReturn);
PRInt32 AddDirectory(const nsString& aRegName, const nsString& aJarSource, nsInstallFolder* aFolder, const nsString& aSubdir, PRInt32* aReturn);
PRInt32 AddDirectory(const nsString& aJarSource, PRInt32* aReturn);
PRInt32 AddSubcomponent(const nsString& aRegName, const nsString& aVersion, const nsString& aJarSource, nsInstallFolder *aFolder, const nsString& aTargetName, PRInt32 aMode, PRInt32* aReturn);
PRInt32 AddSubcomponent(const nsString& aRegName, const nsString& aVersion, const nsString& aJarSource, nsInstallFolder *aFolder, const nsString& aTargetName, PRInt32* aReturn);
PRInt32 AddSubcomponent(const nsString& aRegName, const nsString& aJarSource, nsInstallFolder *aFolder, const nsString& aTargetName, PRInt32* aReturn);
PRInt32 AddSubcomponent(const nsString& aJarSource, PRInt32* aReturn);
PRInt32 DeleteComponent(const nsString& aRegistryName, PRInt32* aReturn);
PRInt32 DeleteFile(nsInstallFolder* aFolder, const nsString& aRelativeFileName, PRInt32* aReturn);
PRInt32 DiskSpaceAvailable(const nsString& aFolder, PRInt64* aReturn);
PRInt32 Execute(const nsString& aJarSource, const nsString& aArgs, PRInt32* aReturn);
PRInt32 Execute(const nsString& aJarSource, PRInt32* aReturn);
PRInt32 FinalizeInstall(PRInt32* aReturn);
PRInt32 Gestalt(const nsString& aSelector, PRInt32* aReturn);
PRInt32 GetComponentFolder(const nsString& aComponentName, const nsString& aSubdirectory, nsInstallFolder** aFolder);
PRInt32 GetComponentFolder(const nsString& aComponentName, nsInstallFolder** aFolder);
PRInt32 GetFolder(nsInstallFolder& aTargetFolder, const nsString& aSubdirectory, nsInstallFolder** aFolder);
PRInt32 GetFolder(const nsString& aTargetFolder, const nsString& aSubdirectory, nsInstallFolder** aFolder);
PRInt32 GetFolder(const nsString& aTargetFolder, nsInstallFolder** aFolder);
PRInt32 GetLastError(PRInt32* aReturn);
PRInt32 GetWinProfile(const nsString& aFolder, const nsString& aFile, JSContext* jscontext, JSClass* WinProfileClass, jsval* aReturn);
PRInt32 GetWinRegistry(JSContext* jscontext, JSClass* WinRegClass, jsval* aReturn);
PRInt32 LoadResources(JSContext* cx, const nsString& aBaseName, jsval* aReturn);
PRInt32 Patch(const nsString& aRegName, const nsString& aVersion, const nsString& aJarSource, nsInstallFolder* aFolder, const nsString& aTargetName, PRInt32* aReturn);
PRInt32 Patch(const nsString& aRegName, const nsString& aJarSource, nsInstallFolder* aFolder, const nsString& aTargetName, PRInt32* aReturn);
PRInt32 ResetError();
PRInt32 SetPackageFolder(nsInstallFolder& aFolder);
PRInt32 StartInstall(const nsString& aUserPackageName, const nsString& aPackageName, const nsString& aVersion, PRInt32* aReturn);
PRInt32 Uninstall(const nsString& aPackageName, PRInt32* aReturn);
PRInt32 FileOpDirCreate(nsInstallFolder& aTarget, PRInt32* aReturn);
PRInt32 FileOpDirGetParent(nsInstallFolder& aTarget, nsFileSpec* aReturn);
PRInt32 FileOpDirRemove(nsInstallFolder& aTarget, PRInt32 aFlags, PRInt32* aReturn);
PRInt32 FileOpDirRename(nsInstallFolder& aSrc, nsString& aTarget, PRInt32* aReturn);
PRInt32 FileOpFileCopy(nsInstallFolder& aSrc, nsInstallFolder& aTarget, PRInt32* aReturn);
PRInt32 FileOpFileDelete(nsInstallFolder& aTarget, PRInt32 aFlags, PRInt32* aReturn);
PRInt32 FileOpFileExists(nsInstallFolder& aTarget, PRBool* aReturn);
PRInt32 FileOpFileExecute(nsInstallFolder& aTarget, nsString& aParams, PRInt32* aReturn);
PRInt32 FileOpFileGetNativeVersion(nsInstallFolder& aTarget, nsString* aReturn);
PRInt32 FileOpFileGetDiskSpaceAvailable(nsInstallFolder& aTarget, PRInt64* aReturn);
PRInt32 FileOpFileGetModDate(nsInstallFolder& aTarget, nsFileSpec::TimeStamp* aReturn);
PRInt32 FileOpFileGetSize(nsInstallFolder& aTarget, PRUint32* aReturn);
PRInt32 FileOpFileIsDirectory(nsInstallFolder& aTarget, PRBool* aReturn);
PRInt32 FileOpFileIsFile(nsInstallFolder& aTarget, PRBool* aReturn);
PRInt32 FileOpFileModDateChanged(nsInstallFolder& aTarget, nsFileSpec::TimeStamp& aOldStamp, PRBool* aReturn);
PRInt32 FileOpFileMove(nsInstallFolder& aSrc, nsInstallFolder& aTarget, PRInt32* aReturn);
PRInt32 FileOpFileRename(nsInstallFolder& aSrc, nsString& aTarget, PRInt32* aReturn);
PRInt32 FileOpFileWindowsShortcut(nsFileSpec& aTarget, nsFileSpec& aShortcutPath, nsString& aDescription, nsFileSpec& aWorkingPath, nsString& aParams, nsFileSpec& aIcon, PRInt32 aIconId, PRInt32* aReturn);
PRInt32 FileOpFileMacAlias(nsString& aSourcePath, nsString& aAliasPath, PRInt32* aReturn);
PRInt32 FileOpFileUnixLink(nsInstallFolder& aTarget, PRInt32 aFlags, PRInt32* aReturn);
void LogComment(nsString& aComment);
PRInt32 ExtractFileFromJar(const nsString& aJarfile, nsFileSpec* aSuggestedName, nsFileSpec** aRealName);
char* GetResourcedString(const nsString& aResName);
void AddPatch(nsHashKey *aKey, nsFileSpec* fileName);
void GetPatch(nsHashKey *aKey, nsFileSpec** fileName);
void GetJarFileLocation(nsString& aFile);
void SetJarFileLocation(const nsFileSpec& aFile);
void GetInstallArguments(nsString& args);
void SetInstallArguments(const nsString& args);
void GetInstallURL(nsString& url);
void SetInstallURL(const nsString& url);
PRBool GetStatusSent() { return mStatusSent; }
PRBool InInstallTransaction(void) { return mInstalledFiles != nsnull; }
PRInt32 Alert(nsString& string);
PRInt32 Confirm(nsString& string, PRBool* aReturn);
void InternalAbort(PRInt32 errcode);
PRInt32 SaveError(PRInt32 errcode);
private:
JSObject* mScriptObject;
JSObject* mWinRegObject;
JSObject* mWinProfileObject;
nsFileSpec mJarFileLocation;
nsIZipReader* mJarFileData;
nsString mInstallArguments;
nsString mInstallURL;
nsInstallFolder* mPackageFolder;
PRBool mUserCancelled;
PRBool mStatusSent;
PRBool mUninstallPackage;
PRBool mRegisterPackage;
PRBool mStartInstallCompleted;
nsString mRegistryPackageName; /* Name of the package we are installing */
nsString mUIName; /* User-readable package name */
nsInstallVersion* mVersionInfo; /* Component version info */
nsVoidArray* mInstalledFiles;
nsHashtable* mPatchList;
nsIXPINotifier *mNotifier;
nsCOMPtr<nsIStringBundle> mStringBundle;
PRInt32 mLastError;
void ParseFlags(int flags);
PRInt32 SanityCheck(void);
void GetTime(nsString &aString);
PRInt32 GetQualifiedRegName(const nsString& name, nsString& qualifiedRegName );
PRInt32 GetQualifiedPackageName( const nsString& name, nsString& qualifiedName );
void CurrentUserNode(nsString& userRegNode);
PRBool BadRegName(const nsString& regName);
void CleanUp();
PRInt32 ExtractDirEntries(const nsString& directory, nsVoidArray *paths);
PRInt32 ScheduleForInstall(nsInstallObject* ob);
static void DeleteVector(nsVoidArray* vector);
};
#endif

View File

@@ -1,291 +0,0 @@
/* -*- Mode: C; tab-width: 4; 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 Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#include "prmem.h"
#include "nsFileSpec.h"
#include "VerReg.h"
#include "ScheduledTasks.h"
#include "nsInstallDelete.h"
#include "nsInstallResources.h"
#include "nsInstall.h"
#include "nsIDOMInstallVersion.h"
MOZ_DECL_CTOR_COUNTER(nsInstallDelete);
nsInstallDelete::nsInstallDelete( nsInstall* inInstall,
nsInstallFolder* folderSpec,
const nsString& inPartialPath,
PRInt32 *error)
: nsInstallObject(inInstall)
{
MOZ_COUNT_CTOR(nsInstallDelete);
if ((folderSpec == nsnull) || (inInstall == nsnull))
{
*error = nsInstall::INVALID_ARGUMENTS;
return;
}
mDeleteStatus = DELETE_FILE;
mFinalFile = nsnull;
mRegistryName = "";
nsFileSpec* tmp = folderSpec->GetFileSpec();
if (!tmp)
{
*error = nsInstall::INVALID_ARGUMENTS;
return;
}
mFinalFile = new nsFileSpec(*tmp);
if (mFinalFile == nsnull)
{
*error = nsInstall::OUT_OF_MEMORY;
return;
}
*mFinalFile += inPartialPath;
*error = ProcessInstallDelete();
}
nsInstallDelete::nsInstallDelete( nsInstall* inInstall,
const nsString& inComponentName,
PRInt32 *error)
: nsInstallObject(inInstall)
{
MOZ_COUNT_CTOR(nsInstallDelete);
if (inInstall == NULL)
{
*error = nsInstall::INVALID_ARGUMENTS;
return;
}
mDeleteStatus = DELETE_COMPONENT;
mFinalFile = nsnull;
mRegistryName = inComponentName;
*error = ProcessInstallDelete();
}
nsInstallDelete::~nsInstallDelete()
{
if (mFinalFile == nsnull)
delete mFinalFile;
MOZ_COUNT_DTOR(nsInstallDelete);
}
PRInt32 nsInstallDelete::Prepare()
{
// no set-up necessary
return nsInstall::SUCCESS;
}
PRInt32 nsInstallDelete::Complete()
{
PRInt32 err = nsInstall::SUCCESS;
if (mInstall == NULL)
return nsInstall::INVALID_ARGUMENTS;
if (mDeleteStatus == DELETE_COMPONENT)
{
char* temp = mRegistryName.ToNewCString();
if (temp)
{
err = VR_Remove(temp);
Recycle(temp);
}
}
if ((mDeleteStatus == DELETE_FILE) || (err == REGERR_OK))
{
err = NativeComplete();
}
else
{
err = nsInstall::UNEXPECTED_ERROR;
}
return err;
}
void nsInstallDelete::Abort()
{
}
char* nsInstallDelete::toString()
{
char* buffer = new char[1024];
char* rsrcVal = nsnull;
if (buffer == nsnull || !mInstall)
return nsnull;
if (mDeleteStatus == DELETE_COMPONENT)
{
char* temp = mRegistryName.ToNewCString();
rsrcVal = mInstall->GetResourcedString("DeleteComponent");
if (rsrcVal)
{
sprintf( buffer, rsrcVal, temp);
nsCRT::free(rsrcVal);
}
if (temp)
Recycle(temp);
}
else
{
if (mFinalFile)
{
rsrcVal = mInstall->GetResourcedString("DeleteComponent");
if (rsrcVal)
{
sprintf( buffer, rsrcVal, mFinalFile->GetCString());
nsCRT::free(rsrcVal);
}
}
}
return buffer;
}
PRBool
nsInstallDelete::CanUninstall()
{
return PR_FALSE;
}
PRBool
nsInstallDelete::RegisterPackageNode()
{
return PR_FALSE;
}
PRInt32 nsInstallDelete::ProcessInstallDelete()
{
PRInt32 err;
char* tempCString = nsnull;
if (mDeleteStatus == DELETE_COMPONENT)
{
/* Check if the component is in the registry */
tempCString = mRegistryName.ToNewCString();
if (tempCString == nsnull)
return nsInstall::OUT_OF_MEMORY;
err = VR_InRegistry( tempCString );
if (err != REGERR_OK)
{
return err;
}
else
{
char* tempRegistryString;
tempRegistryString = (char*)PR_Calloc(MAXREGPATHLEN, sizeof(char));
if (tempRegistryString == nsnull)
return nsInstall::OUT_OF_MEMORY;
err = VR_GetPath( tempCString , MAXREGPATHLEN, tempRegistryString);
if (err == REGERR_OK)
{
if (mFinalFile)
delete mFinalFile;
mFinalFile = new nsFileSpec(tempRegistryString);
if (mFinalFile == nsnull)
return nsInstall::OUT_OF_MEMORY;
}
PR_FREEIF(tempRegistryString);
}
}
if(tempCString)
Recycle(tempCString);
if (mFinalFile->Exists())
{
if (mFinalFile->IsFile())
{
err = nsInstall::SUCCESS;
}
else
{
err = nsInstall::IS_DIRECTORY;
}
}
else
{
err = nsInstall::DOES_NOT_EXIST;
}
return err;
}
PRInt32 nsInstallDelete::NativeComplete()
{
NS_WARN_IF_FALSE(mFinalFile->Exists(),"nsInstallDelete::Complete -- file should exist!");
if (mFinalFile->Exists())
{
if (mFinalFile->IsFile())
{
return DeleteFileNowOrSchedule(*mFinalFile);
}
else
{
NS_ASSERTION(0,"nsInstallDelete::Complete -- expected file was a directory!");
return nsInstall::IS_DIRECTORY;
}
}
return nsInstall::DOES_NOT_EXIST;
}

View File

@@ -1,78 +0,0 @@
/* -*- Mode: C; tab-width: 4; 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 Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef nsInstallDelete_h__
#define nsInstallDelete_h__
#include "prtypes.h"
#include "nsString.h"
#include "nsInstallObject.h"
#include "nsInstall.h"
#define DELETE_COMPONENT 1
#define DELETE_FILE 2
class nsInstallDelete : public nsInstallObject
{
public:
nsInstallDelete( nsInstall* inInstall,
nsInstallFolder* folderSpec,
const nsString& inPartialPath,
PRInt32 *error);
nsInstallDelete( nsInstall* inInstall,
const nsString& ,
PRInt32 *error);
virtual ~nsInstallDelete();
PRInt32 Prepare();
PRInt32 Complete();
void Abort();
char* toString();
PRBool CanUninstall();
PRBool RegisterPackageNode();
private:
/* Private Fields */
nsFileSpec* mFinalFile;
nsString mRegistryName;
PRInt32 mDeleteStatus;
PRInt32 ProcessInstallDelete();
PRInt32 NativeComplete();
};
#endif /* nsInstallDelete_h__ */

View File

@@ -1,159 +0,0 @@
/* -*- Mode: C; tab-width: 4; 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 Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#include "prmem.h"
#include "nsFileSpec.h"
#include "VerReg.h"
#include "nsInstallExecute.h"
#include "nsInstallResources.h"
#include "ScheduledTasks.h"
#include "nsInstall.h"
#include "nsIDOMInstallVersion.h"
MOZ_DECL_CTOR_COUNTER(nsInstallExecute);
nsInstallExecute:: nsInstallExecute( nsInstall* inInstall,
const nsString& inJarLocation,
const nsString& inArgs,
PRInt32 *error)
: nsInstallObject(inInstall)
{
MOZ_COUNT_CTOR(nsInstallExecute);
if ((inInstall == nsnull) || (inJarLocation.Equals("")) )
{
*error = nsInstall::INVALID_ARGUMENTS;
return;
}
mJarLocation = inJarLocation;
mArgs = inArgs;
mExecutableFile = nsnull;
}
nsInstallExecute::~nsInstallExecute()
{
if (mExecutableFile)
delete mExecutableFile;
MOZ_COUNT_DTOR(nsInstallExecute);
}
PRInt32 nsInstallExecute::Prepare()
{
if (mInstall == NULL || mJarLocation.Equals(""))
return nsInstall::INVALID_ARGUMENTS;
return mInstall->ExtractFileFromJar(mJarLocation, nsnull, &mExecutableFile);
}
PRInt32 nsInstallExecute::Complete()
{
if (mExecutableFile == nsnull)
return nsInstall::INVALID_ARGUMENTS;
nsFileSpec app( *mExecutableFile);
if (!app.Exists())
{
return nsInstall::INVALID_ARGUMENTS;
}
PRInt32 result = app.Execute( mArgs );
DeleteFileNowOrSchedule( app );
return result;
}
void nsInstallExecute::Abort()
{
/* Get the names */
if (mExecutableFile == nsnull)
return;
DeleteFileNowOrSchedule(*mExecutableFile);
}
char* nsInstallExecute::toString()
{
char* buffer = new char[1024];
char* rsrcVal = nsnull;
if (buffer == nsnull || !mInstall)
return nsnull;
// if the FileSpec is NULL, just us the in jar file name.
if (mExecutableFile == nsnull)
{
char *tempString = mJarLocation.ToNewCString();
rsrcVal = mInstall->GetResourcedString("Execute");
if (rsrcVal)
{
sprintf( buffer, rsrcVal, tempString);
nsCRT::free(rsrcVal);
}
if (tempString)
Recycle(tempString);
}
else
{
rsrcVal = mInstall->GetResourcedString("Execute");
if (rsrcVal)
{
sprintf( buffer, rsrcVal, mExecutableFile->GetCString());
nsCRT::free(rsrcVal);
}
}
return buffer;
}
PRBool
nsInstallExecute::CanUninstall()
{
return PR_FALSE;
}
PRBool
nsInstallExecute::RegisterPackageNode()
{
return PR_FALSE;
}

View File

@@ -1,73 +0,0 @@
/* -*- Mode: C; tab-width: 4; 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 Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef nsInstallExecute_h__
#define nsInstallExecute_h__
#include "prtypes.h"
#include "nsString.h"
#include "nsInstallObject.h"
#include "nsInstall.h"
#include "nsIDOMInstallVersion.h"
class nsInstallExecute : public nsInstallObject
{
public:
nsInstallExecute( nsInstall* inInstall,
const nsString& inJarLocation,
const nsString& inArgs,
PRInt32 *error);
virtual ~nsInstallExecute();
PRInt32 Prepare();
PRInt32 Complete();
void Abort();
char* toString();
PRBool CanUninstall();
PRBool RegisterPackageNode();
private:
nsString mJarLocation; // Location in the JAR
nsString mArgs; // command line arguments
nsFileSpec *mExecutableFile; // temporary file location
PRInt32 NativeComplete(void);
void NativeAbort(void);
};
#endif /* nsInstallExecute_h__ */

View File

@@ -1,452 +0,0 @@
/* -*- Mode: C; tab-width: 4; 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 Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#include "prprf.h"
#include "nsInstallFile.h"
#include "nsFileSpec.h"
#include "VerReg.h"
#include "ScheduledTasks.h"
#include "nsInstall.h"
#include "nsIDOMInstallVersion.h"
#include "nsInstallResources.h"
/* Public Methods */
/* Constructor
inInstall - softUpdate object we belong to
inComponentName - full path of the registry component
inVInfo - full version info
inJarLocation - location inside the JAR file
inFinalFileSpec - final location on disk
*/
MOZ_DECL_CTOR_COUNTER(nsInstallFile);
nsInstallFile::nsInstallFile(nsInstall* inInstall,
const nsString& inComponentName,
const nsString& inVInfo,
const nsString& inJarLocation,
nsInstallFolder *folderSpec,
const nsString& inPartialPath,
PRInt32 mode,
PRInt32 *error)
: nsInstallObject(inInstall),
mVersionInfo(nsnull),
mJarLocation(nsnull),
mExtractedFile(nsnull),
mFinalFile(nsnull),
mVersionRegistryName(nsnull),
mReplaceFile(PR_FALSE),
mChildFile(PR_TRUE),
mUpgradeFile(PR_FALSE),
mSkipInstall(PR_FALSE),
mMode(mode)
{
MOZ_COUNT_CTOR(nsInstallFile);
if ((folderSpec == nsnull) || (inInstall == NULL))
{
*error = nsInstall::INVALID_ARGUMENTS;
return;
}
*error = nsInstall::SUCCESS;
/* Check for existence of the newer version */
#if 0 // XXX need to re-implement force mode in the opposite sense
char* qualifiedRegNameString = inComponentName.ToNewCString();
// --------------------------------------------------------------------
// we always install if forceInstall is true, or the new file's
// version is null, or the file doesn't previously exist.
//
// IFF it's not force, AND the new file has a version, AND it's been
// previously installed, THEN we have to do the version comparing foo.
// --------------------------------------------------------------------
if ( !(mode & INSTALL_NO_COMPARE ) && (inVInfo != "") &&
( VR_ValidateComponent( qualifiedRegNameString ) == 0 ) )
{
nsInstallVersion *newVersion = new nsInstallVersion();
if (newVersion == nsnull)
{
Recycle(qualifiedRegNameString);
*error = nsInstall::OUT_OF_MEMORY;
return;
}
newVersion->Init(inVInfo);
VERSION versionStruct;
VR_GetVersion( qualifiedRegNameString, &versionStruct );
nsInstallVersion* oldVersion = new nsInstallVersion();
if (oldVersion == nsnull)
{
Recycle(qualifiedRegNameString);
delete oldVersion;
*error = nsInstall::OUT_OF_MEMORY;
return;
}
oldVersion->Init(versionStruct.major,
versionStruct.minor,
versionStruct.release,
versionStruct.build);
PRInt32 areTheyEqual;
newVersion->CompareTo(oldVersion, &areTheyEqual);
delete oldVersion;
delete newVersion;
if ( areTheyEqual < 0 )
{
// the file to be installed is OLDER than what is on disk.
// Don't install it.
mSkipInstall = PR_TRUE;
}
}
Recycle(qualifiedRegNameString);
#endif
nsFileSpec* tmp = folderSpec->GetFileSpec();
if (!tmp)
{
*error = nsInstall::INVALID_ARGUMENTS;
return;
}
mFinalFile = new nsFileSpec(*tmp);
if (mFinalFile == nsnull)
{
*error = nsInstall::OUT_OF_MEMORY;
return;
}
if ( mFinalFile->Exists() )
{
// is there a file with the same name as the proposed folder?
if ( mFinalFile->IsFile() )
{
*error = nsInstall::FILENAME_ALREADY_USED;
return;
}
// else this directory already exists, so do nothing
}
else
{
/* the nsFileSpecMac.cpp operator += requires "this" (the nsFileSpec)
* to be an existing dir
*/
int dirPermissions = 0755; // std default for UNIX, ignored otherwise
mFinalFile->CreateDir(dirPermissions);
}
*mFinalFile += inPartialPath;
mReplaceFile = mFinalFile->Exists();
if (mReplaceFile == PR_FALSE)
{
/* although it appears that we are creating the dir _again_ it is necessary
* when inPartialPath has arbitrary levels of nested dirs before the leaf
*/
nsFileSpec parent;
mFinalFile->GetParent(parent);
nsFileSpec makeDirs(parent.GetCString(), PR_TRUE);
}
mVersionRegistryName = new nsString(inComponentName);
mJarLocation = new nsString(inJarLocation);
mVersionInfo = new nsString(inVInfo);
if (mVersionRegistryName == nsnull ||
mJarLocation == nsnull ||
mVersionInfo == nsnull )
{
*error = nsInstall::OUT_OF_MEMORY;
return;
}
nsString regPackageName;
mInstall->GetRegPackageName(regPackageName);
// determine Child status
if ( regPackageName.IsEmpty() )
{
// in the "current communicator package" absolute pathnames (start
// with slash) indicate shared files -- all others are children
mChildFile = ( mVersionRegistryName->CharAt(0) != '/' );
}
else
{
mChildFile = mVersionRegistryName->Equals( regPackageName,
PR_FALSE,
regPackageName.Length() );
}
}
nsInstallFile::~nsInstallFile()
{
if (mVersionRegistryName)
delete mVersionRegistryName;
if (mJarLocation)
delete mJarLocation;
if (mExtractedFile)
delete mExtractedFile;
if (mFinalFile)
delete mFinalFile;
if (mVersionInfo)
delete mVersionInfo;
MOZ_COUNT_DTOR(nsInstallFile);
}
/* Prepare
* Extracts file out of the JAR archive
*/
PRInt32 nsInstallFile::Prepare()
{
if (mSkipInstall)
return nsInstall::SUCCESS;
if (mInstall == nsnull || mFinalFile == nsnull || mJarLocation == nsnull )
return nsInstall::INVALID_ARGUMENTS;
return mInstall->ExtractFileFromJar(*mJarLocation, mFinalFile, &mExtractedFile);
}
/* Complete
* Completes the install:
* - move the downloaded file to the final location
* - updates the registry
*/
PRInt32 nsInstallFile::Complete()
{
PRInt32 err;
if (mInstall == nsnull || mVersionRegistryName == nsnull || mFinalFile == nsnull )
{
return nsInstall::INVALID_ARGUMENTS;
}
if (mSkipInstall)
return nsInstall::SUCCESS;
err = CompleteFileMove();
if ( 0 == err || nsInstall::REBOOT_NEEDED == err )
{
// XXX Don't register individual files for now -- crucial performance
// speed up on the Mac, and we'll switch uninstall schemes after beta
// RegisterInVersionRegistry();
}
return err;
}
void nsInstallFile::Abort()
{
if (mExtractedFile != nsnull)
mExtractedFile->Delete(PR_FALSE);
}
#define RESBUFSIZE 1024
char* nsInstallFile::toString()
{
char* buffer = new char[RESBUFSIZE];
char* rsrcVal = nsnull;
const char* fname = nsnull;
if (buffer == nsnull || !mInstall)
return nsnull;
else
buffer[0] = '\0';
if (mReplaceFile)
{
rsrcVal = mInstall->GetResourcedString("ReplaceFile");
}
else if (mSkipInstall)
{
rsrcVal = mInstall->GetResourcedString("SkipFile");
}
else
{
rsrcVal = mInstall->GetResourcedString("InstallFile");
}
if (rsrcVal)
{
if (mFinalFile)
fname = mFinalFile->GetCString();
PR_snprintf( buffer, RESBUFSIZE, rsrcVal, fname );
Recycle(rsrcVal);
}
return buffer;
}
PRInt32 nsInstallFile::CompleteFileMove()
{
int result = 0;
if (mExtractedFile == nsnull)
{
return nsInstall::UNEXPECTED_ERROR;
}
if ( *mExtractedFile == *mFinalFile )
{
/* No need to rename, they are the same */
result = nsInstall::SUCCESS;
}
else
{
result = ReplaceFileNowOrSchedule(*mExtractedFile, *mFinalFile );
}
return result;
}
PRInt32
nsInstallFile::RegisterInVersionRegistry()
{
int refCount;
nsString regPackageName;
mInstall->GetRegPackageName(regPackageName);
// Register file and log for Uninstall
if (!mChildFile)
{
int found;
if (!regPackageName.IsEmpty())
{
found = VR_UninstallFileExistsInList( (char*)(const char*)nsAutoCString(regPackageName) ,
(char*)(const char*)nsAutoCString(*mVersionRegistryName));
}
else
{
found = VR_UninstallFileExistsInList( "", (char*)(const char*)nsAutoCString(*mVersionRegistryName) );
}
if (found != REGERR_OK)
mUpgradeFile = PR_FALSE;
else
mUpgradeFile = PR_TRUE;
}
else if (REGERR_OK == VR_InRegistry( (char*)(const char*)nsAutoCString(*mVersionRegistryName)))
{
mUpgradeFile = PR_TRUE;
}
else
{
mUpgradeFile = PR_FALSE;
}
if ( REGERR_OK != VR_GetRefCount( (char*)(const char*)nsAutoCString(*mVersionRegistryName), &refCount ))
{
refCount = 0;
}
VR_Install( (char*)(const char*)nsAutoCString(*mVersionRegistryName),
(char*)(const char*)mFinalFile->GetNativePathCString(), // DO NOT CHANGE THIS.
(char*)(const char*)nsAutoCString(*mVersionInfo),
PR_FALSE );
if (mUpgradeFile)
{
if (refCount == 0)
VR_SetRefCount( (char*)(const char*)nsAutoCString(*mVersionRegistryName), 1 );
else
VR_SetRefCount( (char*)(const char*)nsAutoCString(*mVersionRegistryName), refCount ); //FIX?? what should the ref count be/
}
else
{
if (refCount != 0)
{
VR_SetRefCount( (char*)(const char*)nsAutoCString(*mVersionRegistryName), refCount + 1 );
}
else
{
if (mReplaceFile)
VR_SetRefCount( (char*)(const char*)nsAutoCString(*mVersionRegistryName), 2 );
else
VR_SetRefCount( (char*)(const char*)nsAutoCString(*mVersionRegistryName), 1 );
}
}
if ( !mChildFile && !mUpgradeFile )
{
if (!regPackageName.IsEmpty())
{
VR_UninstallAddFileToList( (char*)(const char*)nsAutoCString(regPackageName),
(char*)(const char*)nsAutoCString(*mVersionRegistryName));
}
else
{
VR_UninstallAddFileToList( "", (char*)(const char*)nsAutoCString(*mVersionRegistryName) );
}
}
return nsInstall::SUCCESS;
}
/* CanUninstall
* InstallFile() installs files which can be uninstalled,
* hence this function returns true.
*/
PRBool
nsInstallFile::CanUninstall()
{
return PR_TRUE;
}
/* RegisterPackageNode
* InstallFile() installs files which need to be registered,
* hence this function returns true.
*/
PRBool
nsInstallFile::RegisterPackageNode()
{
return PR_TRUE;
}

View File

@@ -1,105 +0,0 @@
/* -*- Mode: C; tab-width: 4; 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 Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef nsInstallFile_h__
#define nsInstallFile_h__
#include "prtypes.h"
#include "nsString.h"
#include "nsInstallObject.h"
#include "nsInstall.h"
#include "nsInstallVersion.h"
/* Global defines for file handling mode bitfield values */
#define INSTALL_NO_COMPARE 0x1
#define INSTALL_IF_NEWER 0x2
#define INSTALL_IF_EQUAL_OR_NEWER 0x4
class nsInstallFile : public nsInstallObject
{
public:
/*************************************************************
* Public Methods
*
* Constructor
* inSoftUpdate - softUpdate object we belong to
* inComponentName - full path of the registry component
* inVInfo - full version info
* inJarLocation - location inside the JAR file
* inFinalFileSpec - final location on disk
*************************************************************/
nsInstallFile( nsInstall* inInstall,
const nsString& inVRName,
const nsString& inVInfo,
const nsString& inJarLocation,
nsInstallFolder *folderSpec,
const nsString& inPartialPath,
PRInt32 mode,
PRInt32 *error);
virtual ~nsInstallFile();
PRInt32 Prepare();
PRInt32 Complete();
void Abort();
char* toString();
PRBool CanUninstall();
PRBool RegisterPackageNode();
private:
/* Private Fields */
nsString* mVersionInfo; /* Version info for this file*/
nsString* mJarLocation; /* Location in the JAR */
nsFileSpec* mExtractedFile; /* temporary file location */
nsFileSpec* mFinalFile; /* final file destination */
nsString* mVersionRegistryName; /* full version path */
PRBool mForceInstall; /* whether install is forced */
PRBool mReplaceFile; /* whether file exists */
PRBool mChildFile; /* whether file is a child */
PRBool mUpgradeFile; /* whether file is an upgrade */
PRBool mSkipInstall; /* if true don't install this file */
PRInt32 mMode; /* an integer used like a bitfield to control *
* how a file is installed or registered */
PRInt32 CompleteFileMove();
PRInt32 RegisterInVersionRegistry();
};
#endif /* nsInstallFile_h__ */

View File

@@ -1,42 +0,0 @@
/* -*- Mode: C++; tab-width: 4; 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 nsInstallFileOpEnums_h__
#define nsInstallFileOpEnums_h__
typedef enum nsInstallFileOpEnums {
NS_FOP_DIR_CREATE = 0,
NS_FOP_DIR_REMOVE = 1,
NS_FOP_DIR_RENAME = 2,
NS_FOP_FILE_COPY = 3,
NS_FOP_FILE_DELETE = 4,
NS_FOP_FILE_EXECUTE = 5,
NS_FOP_FILE_MOVE = 6,
NS_FOP_FILE_RENAME = 7,
NS_FOP_WIN_SHORTCUT = 8,
NS_FOP_MAC_ALIAS = 9,
NS_FOP_UNIX_LINK = 10,
NS_FOP_FILE_SET_STAT = 11
} nsInstallFileOpEnums;
#endif /* nsInstallFileOpEnums_h__ */

File diff suppressed because it is too large Load Diff

View File

@@ -1,156 +0,0 @@
/* -*- Mode: C++; tab-width: 4; 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 nsInstallFileOpItem_h__
#define nsInstallFileOpItem_h__
#include "prtypes.h"
#include "nsFileSpec.h"
#include "nsSoftwareUpdate.h"
#include "nsInstallObject.h"
#include "nsInstall.h"
class nsInstallFileOpItem : public nsInstallObject
{
public:
/* Public Fields */
enum
{
ACTION_NONE = -401,
ACTION_SUCCESS = -402,
ACTION_FAILED = -403
};
/* Public Methods */
// used by:
// FileOpFileDelete()
nsInstallFileOpItem(nsInstall* installObj,
PRInt32 aCommand,
nsFileSpec& aTarget,
PRInt32 aFlags,
PRInt32* aReturn);
// used by:
// FileOpDirRemove()
// FileOpFileCopy()
// FileOpFileMove()
// FileMacAlias()
nsInstallFileOpItem(nsInstall* installObj,
PRInt32 aCommand,
nsFileSpec& aSrc,
nsFileSpec& aTarget,
PRInt32* aReturn);
// used by:
// FileOpDirCreate()
nsInstallFileOpItem(nsInstall* aInstallObj,
PRInt32 aCommand,
nsFileSpec& aTarget,
PRInt32* aReturn);
// used by:
// FileOpDirRename()
// FileOpFileExecute()
// FileOpFileRename()
nsInstallFileOpItem(nsInstall* aInstallObj,
PRInt32 aCommand,
nsFileSpec& a1,
nsString& a2,
PRInt32* aReturn);
// used by:
// WindowsShortcut()
nsInstallFileOpItem(nsInstall* aInstallObj,
PRInt32 aCommand,
nsFileSpec& aTarget,
nsFileSpec& aShortcutPath,
nsString& aDescription,
nsFileSpec& aWorkingPath,
nsString& aParams,
nsFileSpec& aIcon,
PRInt32 aIconId,
PRInt32* aReturn);
virtual ~nsInstallFileOpItem();
PRInt32 Prepare(void);
PRInt32 Complete();
char* toString();
void Abort();
/* should these be protected? */
PRBool CanUninstall();
PRBool RegisterPackageNode();
private:
/* Private Fields */
nsInstall* mIObj; // initiating Install object
nsFileSpec* mSrc;
nsFileSpec* mTarget;
nsFileSpec* mShortcutPath;
nsFileSpec* mWorkingPath;
nsFileSpec* mIcon;
nsString* mDescription;
nsString* mStrTarget;
nsString* mParams;
long mFStat;
PRInt32 mFlags;
PRInt32 mIconId;
PRInt32 mCommand;
PRInt32 mAction;
/* Private Methods */
PRInt32 NativeFileOpDirCreatePrepare();
PRInt32 NativeFileOpDirCreateAbort();
PRInt32 NativeFileOpDirRemovePrepare();
PRInt32 NativeFileOpDirRemoveComplete();
PRInt32 NativeFileOpDirRenamePrepare();
PRInt32 NativeFileOpDirRenameComplete();
PRInt32 NativeFileOpDirRenameAbort();
PRInt32 NativeFileOpFileCopyPrepare();
PRInt32 NativeFileOpFileCopyComplete();
PRInt32 NativeFileOpFileCopyAbort();
PRInt32 NativeFileOpFileDeletePrepare();
PRInt32 NativeFileOpFileDeleteComplete(nsFileSpec *aTarget);
PRInt32 NativeFileOpFileExecutePrepare();
PRInt32 NativeFileOpFileExecuteComplete();
PRInt32 NativeFileOpFileMovePrepare();
PRInt32 NativeFileOpFileMoveComplete();
PRInt32 NativeFileOpFileMoveAbort();
PRInt32 NativeFileOpFileRenamePrepare();
PRInt32 NativeFileOpFileRenameComplete();
PRInt32 NativeFileOpFileRenameAbort();
PRInt32 NativeFileOpWindowsShortcutComplete();
PRInt32 NativeFileOpWindowsShortcutAbort();
PRInt32 NativeFileOpMacAliasComplete();
PRInt32 NativeFileOpMacAliasAbort();
PRInt32 NativeFileOpUnixLink();
};
#endif /* nsInstallFileOpItem_h__ */

View File

@@ -1,467 +0,0 @@
/* -*- Mode: C; tab-width: 4; 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 Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#include "nsInstall.h"
#include "nsInstallFolder.h"
#include "nscore.h"
#include "prtypes.h"
#include "nsRepository.h"
#include "nsString.h"
#include "nsFileSpec.h"
#include "nsIFileSpec.h"
#include "nsSpecialSystemDirectory.h"
#include "nsFileLocations.h"
#include "nsIFileLocator.h"
struct DirectoryTable
{
char * directoryName; /* The formal directory name */
PRInt32 folderEnum; /* Directory ID */
};
struct DirectoryTable DirectoryTable[] =
{
{"Plugins", 100 },
{"Program", 101 },
{"Communicator", 102 },
{"User Pick", 103 },
{"Temporary", 104 },
{"Installed", 105 },
{"Current User", 106 },
{"Preferences", 107 },
{"OS Drive", 108 },
{"file:///", 109 },
{"Components", 110 },
{"Chrome", 111 },
{"Win System", 200 },
{"Windows", 201 },
{"Mac System", 300 },
{"Mac Desktop", 301 },
{"Mac Trash", 302 },
{"Mac Startup", 303 },
{"Mac Shutdown", 304 },
{"Mac Apple Menu", 305 },
{"Mac Control Panel", 306 },
{"Mac Extension", 307 },
{"Mac Fonts", 308 },
{"Mac Preferences", 309 },
{"Mac Documents", 310 },
{"Unix Local", 400 },
{"Unix Lib", 401 },
{"", -1 }
};
MOZ_DECL_CTOR_COUNTER(nsInstallFolder);
nsInstallFolder::nsInstallFolder(const nsString& aFolderID)
{
nsInstallFolder( aFolderID, "" );
}
nsInstallFolder::nsInstallFolder(const nsString& aFolderID, const nsString& aRelativePath)
{
MOZ_COUNT_CTOR(nsInstallFolder);
mFileSpec = nsnull;
/*
aFolderID can be either a Folder enum in which case we merely pass it
to SetDirectoryPath, or it can be a Directory. If it is the later, it
must already exist and of course be a directory not a file.
*/
SetDirectoryPath( aFolderID, aRelativePath );
// check to see if that worked
if ( !mFileSpec )
{
// it didn't, so aFolderID is not one of the magic strings.
// maybe it's already a pathname? If so it had better be a directory
// if it already exists...
nsFileSpec dirCheck(aFolderID);
if ( (dirCheck.Error() == NS_OK) &&
( dirCheck.IsDirectory() || !dirCheck.Exists() ) )
{
mFileSpec = new nsFileSpec( dirCheck );
if (mFileSpec && aRelativePath.Length() > 0 )
{
// we've got a subdirectory to tack on
nsString morePath(aRelativePath);
if ( morePath.Last() != '/' || morePath.Last() != '\\' )
morePath += '/';
*mFileSpec += morePath;
}
// make sure that the directory is created.
// XXX: **why** are we creating these? they might not be used!
nsFileSpec(mFileSpec->GetCString(), PR_TRUE);
}
}
}
nsInstallFolder::nsInstallFolder(nsInstallFolder& inFolder, const nsString& subString)
{
MOZ_COUNT_CTOR(nsInstallFolder);
mFileSpec = new nsFileSpec();
if (mFileSpec != nsnull)
{
*mFileSpec = *inFolder.mFileSpec;
if (!subString.IsEmpty())
*mFileSpec += subString;
}
}
nsInstallFolder::~nsInstallFolder()
{
if (mFileSpec != nsnull)
delete mFileSpec;
MOZ_COUNT_DTOR(nsInstallFolder);
}
void
nsInstallFolder::GetDirectoryPath(nsString& aDirectoryPath)
{
aDirectoryPath = "";
if (mFileSpec != nsnull)
{
// We want the a NATIVE path.
aDirectoryPath.Assign(mFileSpec->GetCString());
if (mFileSpec->IsDirectory())
{
if (aDirectoryPath.Last() != FILESEP)
aDirectoryPath.Append(FILESEP);
}
}
}
void
nsInstallFolder::SetDirectoryPath(const nsString& aFolderID, const nsString& aRelativePath)
{
if ( aFolderID.EqualsIgnoreCase("User Pick") )
{
PickDefaultDirectory();
return;
}
else if ( aFolderID.EqualsIgnoreCase("Installed") )
{
// XXX block from users or remove "Installed"
// XXX the filespec creation will fail due to unix slashes on Mac
mFileSpec = new nsFileSpec(aRelativePath, PR_TRUE); // creates the directories to the relative path.
return;
}
else
{
nsresult rv = NS_OK;
PRInt32 folderDirSpecID = MapNameToEnum(aFolderID);
switch (folderDirSpecID)
{
case 100: /////////////////////////////////////////////////////////// Plugins
if (!nsSoftwareUpdate::GetProgramDirectory())
{
SetAppShellDirectory(nsSpecialFileSpec::App_PluginsDirectory );
}
else
{
mFileSpec = new nsFileSpec();
if ( !mFileSpec )
rv = NS_ERROR_OUT_OF_MEMORY;
else
rv = nsSoftwareUpdate::GetProgramDirectory()->GetFileSpec(mFileSpec);
if (NS_SUCCEEDED(rv))
{
#ifdef XP_MAC
*mFileSpec += "Plugins";
#else
*mFileSpec += "plugins";
#endif
}
else
mFileSpec = nsnull;
}
break;
case 101: /////////////////////////////////////////////////////////// Program
case 102: /////////////////////////////////////////////////////////// Communicator
if (!nsSoftwareUpdate::GetProgramDirectory())
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::OS_CurrentProcessDirectory ));
else
{
mFileSpec = new nsFileSpec();
if ( !mFileSpec )
rv = NS_ERROR_OUT_OF_MEMORY;
else
rv = nsSoftwareUpdate::GetProgramDirectory()->GetFileSpec(mFileSpec);
if (!NS_SUCCEEDED(rv))
mFileSpec = nsnull;
}
break;
case 103: /////////////////////////////////////////////////////////// User Pick
// we should never be here.
mFileSpec = nsnull;
break;
case 104: /////////////////////////////////////////////////////////// Temporary
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::OS_TemporaryDirectory ));
break;
case 105: /////////////////////////////////////////////////////////// Installed
// we should never be here.
mFileSpec = nsnull;
break;
case 106: /////////////////////////////////////////////////////////// Current User
SetAppShellDirectory(nsSpecialFileSpec::App_UserProfileDirectory50 );
break;
case 107: /////////////////////////////////////////////////////////// Preferences
SetAppShellDirectory(nsSpecialFileSpec::App_PrefsDirectory50 );
break;
case 108: /////////////////////////////////////////////////////////// OS Drive
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::OS_DriveDirectory ));
break;
case 109: /////////////////////////////////////////////////////////// File URL
{
if (aRelativePath.IsEmpty())
{
mFileSpec = nsnull;
return;
}
nsString tempFileURLString = aFolderID;
tempFileURLString += aRelativePath;
mFileSpec = new nsFileSpec( nsFileURL(tempFileURLString) );
// file:// is a special case where it returns and does not
// go to the standard relative path code below. This is
// so that nsFile(Spec|Path) will work properly. (ie. Passing
// just "file://" to the nsFileSpec && nsFileURL is wrong).
return;
}
break;
case 110: /////////////////////////////////////////////////////////// Components
if (!nsSoftwareUpdate::GetProgramDirectory())
SetAppShellDirectory(nsSpecialFileSpec::App_ComponentsDirectory );
else
{
mFileSpec = new nsFileSpec();
if ( !mFileSpec )
rv = NS_ERROR_OUT_OF_MEMORY;
else
rv = nsSoftwareUpdate::GetProgramDirectory()->GetFileSpec(mFileSpec);
if (NS_SUCCEEDED(rv))
{
#ifdef XP_MAC
*mFileSpec += "Components";
#else
*mFileSpec += "components";
#endif
}
}
break;
case 111: /////////////////////////////////////////////////////////// Chrome
if (!nsSoftwareUpdate::GetProgramDirectory())
SetAppShellDirectory(nsSpecialFileSpec::App_ChromeDirectory );
else
{
mFileSpec = new nsFileSpec();
if ( !mFileSpec )
rv = NS_ERROR_OUT_OF_MEMORY;
else
rv = nsSoftwareUpdate::GetProgramDirectory()->GetFileSpec(mFileSpec);
if (NS_SUCCEEDED(rv))
{
#ifdef XP_MAC
*mFileSpec += "Chrome";
#else
*mFileSpec += "chrome";
#endif
}
}
break;
case 200: /////////////////////////////////////////////////////////// Win System
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Win_SystemDirectory ));
break;
case 201: /////////////////////////////////////////////////////////// Windows
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Win_WindowsDirectory ));
break;
case 300: /////////////////////////////////////////////////////////// Mac System
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_SystemDirectory ));
break;
case 301: /////////////////////////////////////////////////////////// Mac Desktop
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_DesktopDirectory ));
break;
case 302: /////////////////////////////////////////////////////////// Mac Trash
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_TrashDirectory ));
break;
case 303: /////////////////////////////////////////////////////////// Mac Startup
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_StartupDirectory ));
break;
case 304: /////////////////////////////////////////////////////////// Mac Shutdown
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_ShutdownDirectory ));
break;
case 305: /////////////////////////////////////////////////////////// Mac Apple Menu
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_AppleMenuDirectory ));
break;
case 306: /////////////////////////////////////////////////////////// Mac Control Panel
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_ControlPanelDirectory ));
break;
case 307: /////////////////////////////////////////////////////////// Mac Extension
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_ExtensionDirectory ));
break;
case 308: /////////////////////////////////////////////////////////// Mac Fonts
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_FontsDirectory ));
break;
case 309: /////////////////////////////////////////////////////////// Mac Preferences
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_PreferencesDirectory ));
break;
case 310: /////////////////////////////////////////////////////////// Mac Documents
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_DocumentsDirectory ));
break;
case 400: /////////////////////////////////////////////////////////// Unix Local
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Unix_LocalDirectory ));
break;
case 401: /////////////////////////////////////////////////////////// Unix Lib
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Unix_LibDirectory ));
break;
case -1:
default:
mFileSpec = nsnull;
return;
}
if (aRelativePath.Length() > 0 && mFileSpec)
{
nsString tempPath(aRelativePath);
if (aRelativePath.Last() != '/' || aRelativePath.Last() != '\\')
tempPath += '/';
*mFileSpec += tempPath;
}
}
}
void nsInstallFolder::PickDefaultDirectory()
{
//FIX: Need to put up a dialog here and set mFileSpec
return;
}
/* MapNameToEnum
* maps name from the directory table to its enum */
PRInt32
nsInstallFolder::MapNameToEnum(const nsString& name)
{
int i = 0;
if ( name.Equals(""))
return -1;
while ( DirectoryTable[i].directoryName[0] != 0 )
{
if ( name.EqualsIgnoreCase(DirectoryTable[i].directoryName) )
return DirectoryTable[i].folderEnum;
i++;
}
return -1;
}
void
nsInstallFolder::SetAppShellDirectory(PRUint32 value)
{
nsIFileSpec* fs = NS_LocateFileOrDirectory(value);
if ( fs )
{
mFileSpec = new nsFileSpec();
fs->GetFileSpec(mFileSpec);
NS_RELEASE(fs);
}
}
nsFileSpec*
nsInstallFolder::GetFileSpec()
{
if (mFileSpec == nsnull)
return nsnull;
return mFileSpec;
}
PRInt32
nsInstallFolder::ToString(nsAutoString* outString)
{
//XXX: May need to fix. Native charset paths will be converted into Unicode when the get to JS
// This will appear to work on Latin-1 charsets but won't work on Mac or other charsets.
*outString = mFileSpec->GetCString();
return NS_OK;
}

View File

@@ -1,61 +0,0 @@
/* -*- Mode: C; tab-width: 4; 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 Communicator client code,
* released March 31, 1998.
*
* The Initial Developer of the Original Code is Netscape Communications
* Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef __NS_INSTALLFOLDER_H__
#define __NS_INSTALLFOLDER_H__
#include "nscore.h"
#include "prtypes.h"
#include "nsString.h"
#include "nsFileSpec.h"
#include "nsSpecialSystemDirectory.h"
class nsInstallFolder
{
public:
nsInstallFolder(const nsString& aFolderID);
nsInstallFolder(nsInstallFolder& inFolder, const nsString& subString);
nsInstallFolder(const nsString& aFolderID, const nsString& aRelativePath);
virtual ~nsInstallFolder();
void GetDirectoryPath(nsString& aDirectoryPath);
nsFileSpec* GetFileSpec();
PRInt32 ToString(nsAutoString* outString);
private:
nsFileSpec* mFileSpec;
void SetDirectoryPath(const nsString& aFolderID, const nsString& aRelativePath);
void PickDefaultDirectory();
PRInt32 MapNameToEnum(const nsString& name);
void SetAppShellDirectory(PRUint32 value);
};
#endif

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