Compare commits

..

2086 Commits

Author SHA1 Message Date
waterson%netscape.com
b0683b976e Feeble attempt to clean up initialization.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36546 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 08:30:53 +00:00
waterson%netscape.com
4d708d2fce Fix ro use Refresh() instead of Open().
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36538 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 07:53:38 +00:00
waterson%netscape.com
fe45bc63c8 Clean up crufty NS_IMETHODIMP's.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36534 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 07:38:12 +00:00
waterson%netscape.com
f5edbe6699 Clean up crufty NS_IMETHODIMP's.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36528 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 07:20:56 +00:00
waterson%netscape.com
4873584c81 Add implementation for GetURI().
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36509 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 05:23:30 +00:00
waterson%netscape.com
65fecee4bf Remove reference to NS_XULDATASOURCE_CID.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36508 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 05:18:35 +00:00
waterson%netscape.com
c301081002 Add implementation for GetURI() method.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36507 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 05:17:39 +00:00
waterson%netscape.com
ef140f93d5 AddChange() and Move() implementations.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36506 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 05:12:39 +00:00
waterson%netscape.com
8a717dd0e6 Remove CID for XUL datasource.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36505 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 04:55:53 +00:00
waterson%netscape.com
3db4871313 Remove nsIRDFXMLDataSource.idl; add nsIRDFRemoteDataSource.idl and nsIRDFXMLSink.idl.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36502 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 04:37:49 +00:00
waterson%netscape.com
0c7af0ecc3 Add OnChange() and OnMove() methods to observer; clean up printf()
code. Use nsIRDFRemoteDataSource instead of nsIRDFXMLDataSouce.


git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36501 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 04:33:33 +00:00
waterson%netscape.com
cf6e43ff8a Factor nsIRDFXMLMethods into nsIRDFRemoteDataSource.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36499 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 04:24:10 +00:00
waterson%netscape.com
5867aad520 Change Open() to Refresh().
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36498 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 04:23:21 +00:00
waterson%netscape.com
e8ba0fc4da Add Change() and Move() methods, and corresponding methods to observer interface. Factor out Init() and Flush() into separate interface. Change ownership model s.t. a datasource owns its observers.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36496 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 04:17:58 +00:00
waterson%netscape.com
5b0040dc6d Add missing NS_RELEASE() calls.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36438 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:09:07 +00:00
waterson%netscape.com
1a438d36ca Add Change() and Move() methods; factor Init() and Flush() into
nsIRDFRemoteDataSource.


git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36423 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 00:55:17 +00:00
waterson%netscape.com
fc106a52a8 Implement Change() and Move() methods; factor out Init() and Flush()
into nsIRDFRemoteDataSource.


git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36422 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 00:45:34 +00:00
waterson%netscape.com
1278b7b0a8 Add Change() and Move() methods; implement nsIRDFRemoteDataSource.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36421 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 00:43:08 +00:00
waterson%netscape.com
79cc09c568 Add Move() and Change() methods; factor out Init() and Flush() into nsIRDFRemoteDataSource.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36420 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 00:31:35 +00:00
waterson%netscape.com
08ad873701 Include nsRDFBaseDataSources.h; fix compiler warnings.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36413 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 23:53:27 +00:00
waterson%netscape.com
5538ce7500 Add NS_NewRDFXMLDataSource.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36412 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 23:53:04 +00:00
waterson%netscape.com
c72f64ccc2 Change singature of NS_NewRDFXMLDataSource.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36411 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 23:52:38 +00:00
waterson%netscape.com
074ba1dcac Add Move() and Change() methods; factor Init() out of nsIRDFDataSource.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36372 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 22:32:00 +00:00
waterson%netscape.com
ca4520f870 Change to use nsIRDFDataSource instead of nsIRDFXMLDataSource.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36371 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 22:31:00 +00:00
waterson%netscape.com
a2fea3d8dc Add OnChange() and OnMove() methods to nsIRDFObserver.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36106 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 22:12:12 +00:00
waterson%netscape.com
d8be1ddb11 Factor 'remote' interfaces out of nsIRDFDataSource and into nsIRDFRemoteDataSource; add Change() and Move() methods to nsIRDFDataSource; add OnChange() and OnMove() methods to nsIRDFObserver; change nsIRDFObserver ownership model s.t. a datasource now owns its observers.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36105 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 22:11:36 +00:00
waterson%netscape.com
48e6ccaa81 Add OnChange() and OnMove() methods to nsIRDFObserver.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36057 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 19:42:48 +00:00
waterson%netscape.com
271e57320d Factor 'remote' interfaces out of nsIRDFDataSource and into nsIRDFRemoteDataSource; add Change() and Move() methods to nsIRDFDataSource; add OnChange() and OnMove() methods to nsIRDFObserver; change nsIRDFObserver ownership model s.t. a datasource now owns its observers.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36056 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 19:41:47 +00:00
waterson%netscape.com
d3f3a6177b Factor 'remote' interfaces out of nsIRDFDataSource and into nsIRDFRemoteDataSource; add Change() and Move() methods to nsIRDFDataSource; add OnChange() and OnMove() methods to nsIRDFObserver.
git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@36055 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 19:41:16 +00:00
(no author)
5343ae0029 This commit was manufactured by cvs2svn to create branch
'RDF_19990617_BRANCH'.

git-svn-id: svn://10.0.0.236/branches/RDF_19990617_BRANCH@35815 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 19:49:07 +00:00
waterson%netscape.com
a1126bff88 Bug 8221. Fix false positive on the leak grep radar.
git-svn-id: svn://10.0.0.236/trunk@35813 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 19:49:05 +00:00
waterson%netscape.com
f89f2a350d Bug 8221. Fix to get off the leak radar.
git-svn-id: svn://10.0.0.236/trunk@35812 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 19:47:21 +00:00
varada%netscape.com
7883b5d2a2 adding help to show example pages
git-svn-id: svn://10.0.0.236/trunk@35811 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 19:25:42 +00:00
rickg%netscape.com
9972377ad2 fixed ToInteger (again) and eliminate bug 8140
git-svn-id: svn://10.0.0.236/trunk@35810 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 19:15:57 +00:00
andreas.otte%primus-online.de
daf6861e60 adding hack to change PUBLIC variable
This has no effect until some other changes to SeaMonkey


git-svn-id: svn://10.0.0.236/trunk@35809 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 19:07:58 +00:00
varada%netscape.com
eca7a6ae1e clhelp.txt
git-svn-id: svn://10.0.0.236/trunk@35808 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 19:06:53 +00:00
varada%netscape.com
0016d15c84 help ini files
git-svn-id: svn://10.0.0.236/trunk@35807 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 19:06:29 +00:00
andreas.otte%primus-online.de
06481dcaab some more ignorance
git-svn-id: svn://10.0.0.236/trunk@35806 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 19:00:56 +00:00
varada%netscape.com
4a73019098 wizardmachine.rc
git-svn-id: svn://10.0.0.236/trunk@35805 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 18:49:51 +00:00
andreas.otte%primus-online.de
8565f8d329 adding resource makefiles
git-svn-id: svn://10.0.0.236/trunk@35804 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 18:21:05 +00:00
andreas.otte%primus-online.de
11f082290c renaming library from fileprotocol to resourceprotocol
adding hack to change PUBLIC variable


git-svn-id: svn://10.0.0.236/trunk@35803 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 18:20:13 +00:00
varada%netscape.com
bb00cb0945 change to button name
git-svn-id: svn://10.0.0.236/trunk@35802 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 17:56:19 +00:00
sspitzer%netscape.com
e621136f16 change the start page until #7417 gets fixed. a=hofmann
git-svn-id: svn://10.0.0.236/trunk@35801 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 15:16:47 +00:00
morse%netscape.com
ee3621104d fix M7 bug 8341 -- approved chofmann
git-svn-id: svn://10.0.0.236/trunk@35800 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 14:38:56 +00:00
warren%netscape.com
fce56036f0 Fixed refcount problem in Clone.
git-svn-id: svn://10.0.0.236/trunk@35799 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 10:11:58 +00:00
warren%netscape.com
d3663c46e3 Fixed refcount problem.
git-svn-id: svn://10.0.0.236/trunk@35798 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 10:11:35 +00:00
warren%netscape.com
a4f314b7ff Added resource: protocol.
git-svn-id: svn://10.0.0.236/trunk@35797 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 09:24:31 +00:00
warren%netscape.com
b00e37509d cleanup
git-svn-id: svn://10.0.0.236/trunk@35796 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 09:24:11 +00:00
warren%netscape.com
3243f56af3 fixed refcount problem
git-svn-id: svn://10.0.0.236/trunk@35795 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 09:23:34 +00:00
warren%netscape.com
a946fddf22 Added QI for nsIURL
git-svn-id: svn://10.0.0.236/trunk@35794 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 09:23:05 +00:00
sspitzer%netscape.com
fcc87d468e clean up README a little
git-svn-id: svn://10.0.0.236/trunk@35787 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 08:24:57 +00:00
sspitzer%netscape.com
a40b125986 not part of build.
git-svn-id: svn://10.0.0.236/trunk@35785 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 08:21:10 +00:00
rpotts%netscape.com
f5545d55c1 I'm beginning to rework this test to handle multiple URL loads... This is WIP :-)
git-svn-id: svn://10.0.0.236/trunk@35784 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 07:46:00 +00:00
rickg%netscape.com
9cc8c710fd approved update
git-svn-id: svn://10.0.0.236/trunk@35783 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 07:24:13 +00:00
rickg%netscape.com
e9da222324 approved fix
git-svn-id: svn://10.0.0.236/trunk@35782 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 07:08:30 +00:00
dveditz%netscape.com
3da4ad9be3 commenting out XPIDLSRCS until mystery CVS problem on Tinderbox is solved. We aren't building on Unix yet anyway
git-svn-id: svn://10.0.0.236/trunk@35777 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 06:01:12 +00:00
racham%netscape.com
c063552f59 Modified page title.
git-svn-id: svn://10.0.0.236/trunk@35776 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 05:29:06 +00:00
racham%netscape.com
bf6586b554 Modified page title. Modified some command parameters
git-svn-id: svn://10.0.0.236/trunk@35775 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 05:20:45 +00:00
racham%netscape.com
89b2ecc807 Removed the title to the base dialog to make it dynamic. inifile supplies the value.
git-svn-id: svn://10.0.0.236/trunk@35774 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 04:48:16 +00:00
racham%netscape.com
5691564e80 Fixed bug 4975 and enabled picking page titles from ini files
git-svn-id: svn://10.0.0.236/trunk@35773 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 04:44:53 +00:00
racham%netscape.com
8c6130f264 Fixed bugs 8258, 6218
git-svn-id: svn://10.0.0.236/trunk@35772 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 04:42:40 +00:00
kin%netscape.com
3c230ce015 Fix for bug #8375: Editor API Log fails to set paragraph style.
Changed "window.editorShell.SetParagraphStyle(" to "window.editorShell.paragraphStyle =".
Approved by chofmann.


git-svn-id: svn://10.0.0.236/trunk@35771 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 04:40:08 +00:00
waterson%netscape.com
eb2017c427 Bug 8367. Remove cruft after '#endif' to make HP compiler happy. Thanks, Bruce. a=chofmann
git-svn-id: svn://10.0.0.236/trunk@35770 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 04:37:05 +00:00
waterson%netscape.com
9faa9cb223 Bug 7026. Make GetTarget() return the first child of a directory. Plus clean up the mess I've made of RJC's spaces.
git-svn-id: svn://10.0.0.236/trunk@35769 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 04:13:39 +00:00
pierre%netscape.com
76630b14c1 In GetDrawingSurface(), erase the drawing surface when it is re-used.
3455: [PP] mac/linux, dual toolbars appear after surfing.
6989: Multiple window drawing gets messed up.
6678: [PP]clipping/port problems in child dialogs.
5560: [PP] CornerView displays garbage.


git-svn-id: svn://10.0.0.236/trunk@35768 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 04:01:50 +00:00
dougt%netscape.com
1f099440ac Bug 8311 mac project files
git-svn-id: svn://10.0.0.236/trunk@35767 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 03:51:17 +00:00
warren%netscape.com
b955f8f621 Added missing addref
git-svn-id: svn://10.0.0.236/trunk@35766 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 03:38:49 +00:00
warren%netscape.com
a92a6d3b89 Fixed GetPort
git-svn-id: svn://10.0.0.236/trunk@35765 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 03:38:23 +00:00
dveditz%netscape.com
253c1dcf34 Bug #8311 XPInstall triggers not working. a chofmann, r cathleen
git-svn-id: svn://10.0.0.236/trunk@35764 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 03:36:50 +00:00
amasri%netscape.com
7b33bcaa8e added extra tests for version 2.0
added timing changes to help stabilize bitmap
added functional tests for version 2.0
added error handling to account for windows not opening completely
changed default URL loading method to Mozilla.LoadURL() NOTE: Smoketest is now dependant only on correct button positions for "OpenFile" dialog.
added full path OpenFile() capabilities on mac, plus String2List utility to permit graphic file interface to be manipulated


git-svn-id: svn://10.0.0.236/trunk@35763 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 01:53:18 +00:00
amasri%netscape.com
e3ad6958f9 changed Invoke() method to give better error messages
changed iBitmapWait to 90 to account for i18n sites
changed default home page to "Navigator Help"
changed sDir to full path from relative path NOTE: must be changed for each machine it runs on


git-svn-id: svn://10.0.0.236/trunk@35762 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 01:53:15 +00:00
amasri%netscape.com
2915043876 added extra tests for version 2.0
added i18n tests
changed expected file names
added ender tests
added functional tests for version 2.0


git-svn-id: svn://10.0.0.236/trunk@35761 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 01:53:12 +00:00
pinkerton%netscape.com
ae3e96aa5e remove NEW_DRAG_AND_DROP define since it's obsolete now. reviewed mcafee, appr chofmann.
git-svn-id: svn://10.0.0.236/trunk@35760 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 01:48:29 +00:00
saari%netscape.com
5a4b85ed88 Fixing Bug #8328, keybinding fix
git-svn-id: svn://10.0.0.236/trunk@35759 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 01:48:22 +00:00
mcafee%netscape.com
063677e6e9 Adding beeptest to XPToolkit test menu, a=leaf.
git-svn-id: svn://10.0.0.236/trunk@35758 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 01:21:08 +00:00
slamm%netscape.com
4fc3ad4e08 Prefs have some problems with our windows builds. Bug #8265. Make so the sidebar can be opened even when prefs cannot save the open/close state.
git-svn-id: svn://10.0.0.236/trunk@35756 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 01:18:53 +00:00
mcafee%netscape.com
57eaa41a12 Adding beeptest.html to the test suite.
git-svn-id: svn://10.0.0.236/trunk@35755 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 01:12:15 +00:00
beard%netscape.com
f348dd8ed2 Bug #5677: Reenabled drawing images referenced by <OBJECT> tags, fixed a crashing bug on the Mac as a result.
a=chofmann, r=pierre


git-svn-id: svn://10.0.0.236/trunk@35754 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 00:58:07 +00:00
cbegle%netscape.com
a910491319 Add regression test for http://bugzilla.mozilla.org/show_bug.cgi?id=7635.
Rename files for consistency.

These files are not part of the client.


git-svn-id: svn://10.0.0.236/trunk@35753 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 00:20:04 +00:00
mcafee%netscape.com
ab08e086d4 Adding nsSound. Fixing NT bustage
git-svn-id: svn://10.0.0.236/trunk@35752 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 00:12:43 +00:00
mcafee%netscape.com
29d756c2f5 Adding nsSound. Fixing linux bustage
git-svn-id: svn://10.0.0.236/trunk@35750 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 00:12:18 +00:00
sfraser%netscape.com
53026171ea Fix for bug 8317 -- leaked caret causes crash. r mjudge, a leaf.
git-svn-id: svn://10.0.0.236/trunk@35749 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 23:55:48 +00:00
beard%netscape.com
9d49b0ba5e bug #5352: navigator.javaEnabled() now returns false if the "security.enable_java" preference is undefined, which it is if the "Advanced" preferences dialog has never been run, or you're running under viewer.
a=chofmann, r=vidur


git-svn-id: svn://10.0.0.236/trunk@35748 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 23:40:41 +00:00
jfrancis%netscape.com
fab90f1e90 bug 8300; rvd: floppy moose; aprvd: chofmann
git-svn-id: svn://10.0.0.236/trunk@35747 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 23:40:16 +00:00
sdagley%netscape.com
0003b6a218 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@35745 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 23:24:25 +00:00
sdagley%netscape.com
c44cbc1fa7 Finish landing XP Beep() functionality (bug #6911). Approved chofmann, reviewed saari & mcafee.
git-svn-id: svn://10.0.0.236/trunk@35744 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 23:23:45 +00:00
ducarroz%netscape.com
22c674eb88 Fix for bug 7508, A=chofmann, R=bienvenu
git-svn-id: svn://10.0.0.236/trunk@35743 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 22:58:02 +00:00
joki%netscape.com
487055f223 Fix for bug 8270. A:chofmann Reenable key events to control tabbing/scrolling
git-svn-id: svn://10.0.0.236/trunk@35742 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 22:52:16 +00:00
ramiro%netscape.com
9de8beddf7 Fix for bug 6159. Reviewed by pollmann and approved by leaf.
Form check boxes were out of whack by one.  I removed the pathetically lame
hack i added before (which didn't work) and added a new and improved
pathetically dumb hack that really fixes the problem.  Yes folks, toggle
the toggle button 3 times to work around artificial intelligence in the
gtktogglebutton widget.


git-svn-id: svn://10.0.0.236/trunk@35740 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 22:24:18 +00:00
evaughan%netscape.com
34263a8ca6 Added some scrollbar samples.
git-svn-id: svn://10.0.0.236/trunk@35739 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 22:20:29 +00:00
ssu%netscape.com
d983fb8d2e backed out previous checkin due to tree closure
git-svn-id: svn://10.0.0.236/trunk@35738 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:54:13 +00:00
ssu%netscape.com
d852045e1f ifdef'ed all calls to PR_Seek() for the standalone build
git-svn-id: svn://10.0.0.236/trunk@35737 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:47:58 +00:00
cmanske%netscape.com
8fd6a9796d Fixed bug 8281. Reviewed by sfraser, approved by chofmann
git-svn-id: svn://10.0.0.236/trunk@35736 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:45:38 +00:00
jfrancis%netscape.com
a84649ba07 bug 8287; rvd sfraser; aprvd buster; aprvd chofmann
git-svn-id: svn://10.0.0.236/trunk@35735 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:38:51 +00:00
jfrancis%netscape.com
1b33a49066 bug 8303; rvd kin; aprvd buster; aprvd chofmann
git-svn-id: svn://10.0.0.236/trunk@35734 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:38:04 +00:00
kin%netscape.com
ba3ef45bce Fix for bug #8306: [PP] Need to enable Editor API Logging on the Mac
Uncommented out define for ENABLE_JS_EDITOR_LOG.
Approved by chofmann@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@35733 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:30:16 +00:00
briano%netscape.com
2ebf347236 Automated update
git-svn-id: svn://10.0.0.236/trunk@35732 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:29:54 +00:00
kin%netscape.com
00d6da8b0d Fix for bug #8309: Need to Flush() during Editor API Logging.
git-svn-id: svn://10.0.0.236/trunk@35731 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:27:46 +00:00
briano%netscape.com
50606b8e34 Duh. Forgot to add the AC_SUBST line for MOZ_NSPRENV_CLASSIC_NSPR. Kind of necessary to complete bug 7567....
git-svn-id: svn://10.0.0.236/trunk@35730 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:27:14 +00:00
sfraser%netscape.com
b798ce46a3 Fix for 6345 - opening local files in editor. r kin, a leaf.
git-svn-id: svn://10.0.0.236/trunk@35729 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:05:08 +00:00
akkana%netscape.com
e413aafe07 8283: Fix crash because selectin wasn't initialized. r=sfraser/a=leaf
git-svn-id: svn://10.0.0.236/trunk@35728 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:02:25 +00:00
sspitzer%netscape.com
f3fe6c6d13 fix for #8249 to get card pane to work on linux.
I had to remove NO_GET_XPT=1 line from Makefile.in.

This was causing the following error at run time:

JavaScript error: uncaught exception: Could not convert JavaScript argument (NULL value can not be used for a C++ reference type) arg 0 [nsIRDFResource.QueryInterface, {file: file:////builds/sspitzer/MOZILLA/06.16.1999/04.30/mozilla/dist/bin/chrome/addressbook/content/default/resultPane.xul, line: 160}]


git-svn-id: svn://10.0.0.236/trunk@35727 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 20:14:31 +00:00
andreas.otte%primus-online.de
8f551f726b adding urltest and TestFileInput2 to the unix build
git-svn-id: svn://10.0.0.236/trunk@35726 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 19:51:14 +00:00
cbegle%netscape.com
e5616ebbdb Add regression test for http://bugzilla.mozilla.org/show_bug.cgi?id=4088,
Date.parse.

Not built in the client.


git-svn-id: svn://10.0.0.236/trunk@35725 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 19:25:05 +00:00
andreas.otte%primus-online.de
b103483ab5 resurrected
git-svn-id: svn://10.0.0.236/trunk@35723 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 17:43:28 +00:00
valeski%netscape.com
a248ada3dd CHECKIN NOT ON MAIN PULL: removed the cookie module dependency on the HTTPResponse interface.
git-svn-id: svn://10.0.0.236/trunk@35722 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 14:49:25 +00:00
rpotts%netscape.com
fd02c25f8b Added an if check around the call out through the event sink...
git-svn-id: svn://10.0.0.236/trunk@35721 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 09:50:30 +00:00
rpotts%netscape.com
18957e4484 Separated the Event Sink from the nsIStreamListener...
git-svn-id: svn://10.0.0.236/trunk@35720 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 09:40:40 +00:00
dveditz%netscape.com
9c2c527f01 chasing the tree, not part of build
git-svn-id: svn://10.0.0.236/trunk@35719 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 07:03:36 +00:00
sspitzer%netscape.com
e19ef83fb5 clean up the interfaces I'll need to remove the message from the db after
the user hits cancel.  add newlines to ends of files.  remove old bogus code.


git-svn-id: svn://10.0.0.236/trunk@35718 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 07:00:47 +00:00
rjc%netscape.com
39691919cd Work around bug #8278.
git-svn-id: svn://10.0.0.236/trunk@35717 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:58:40 +00:00
sfraser%netscape.com
34c398fd4f delete[] -> PR_Free. r bruce
git-svn-id: svn://10.0.0.236/trunk@35716 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:57:53 +00:00
dveditz%netscape.com
a59404197c eliminate extra startup file i/o
git-svn-id: svn://10.0.0.236/trunk@35714 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:50:37 +00:00
dveditz%netscape.com
9d8448f9db use standard XPCOM macros
git-svn-id: svn://10.0.0.236/trunk@35713 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:49:42 +00:00
dveditz%netscape.com
1bbd739131 Updating utility for mozilla world
git-svn-id: svn://10.0.0.236/trunk@35712 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:47:06 +00:00
rjc%netscape.com
3ec32b01ec Try and ensure that we're actually looking at proper search datasets by checking file type and creator on Mac.
git-svn-id: svn://10.0.0.236/trunk@35711 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:46:51 +00:00
waterson%netscape.com
8bc32bab29 When destroying an RDFElement, call SetParent(nsnull) on each of its children so that there aren't any dangling reference back to us (should a child leak, or be referred to by somebody else).
git-svn-id: svn://10.0.0.236/trunk@35710 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:44:23 +00:00
sspitzer%netscape.com
3e326c02c9 fix warnings.
also Back() and Back(nsIWebShell *) existed, and this is bad.
Renamed Back(nsIWebShell *) to GoBack(nsIWebShell *).


git-svn-id: svn://10.0.0.236/trunk@35709 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:38:44 +00:00
pierre%netscape.com
0f43ffca1d Removed the NSPR event queue from nsMacMessagePump (and keep the one in nsToolkit).
git-svn-id: svn://10.0.0.236/trunk@35708 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:30:38 +00:00
pierre%netscape.com
bb778ecb1f set the caret at the right location after a cut
git-svn-id: svn://10.0.0.236/trunk@35707 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:26:38 +00:00
pierre%netscape.com
6d043a28a5 Fixed a crash in HandleMenuCommand(). It could especially happen on Quit.
git-svn-id: svn://10.0.0.236/trunk@35706 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:22:11 +00:00
peterl%netscape.com
a86f4802a3 fixed re-resolve style contexts to handle local pseudo elements
and capture style change information


git-svn-id: svn://10.0.0.236/trunk@35705 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:17:21 +00:00
peterl%netscape.com
5770b2f9a6 dont emit error messages when sheets canceled after doc disconnect
git-svn-id: svn://10.0.0.236/trunk@35704 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:16:53 +00:00
peterl%netscape.com
262c024b61 changed initialization of basefont so as not to override font style on HTML elements
git-svn-id: svn://10.0.0.236/trunk@35703 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:15:01 +00:00
alecf%netscape.com
994f4f4c20 fix depth to appease shrike
git-svn-id: svn://10.0.0.236/trunk@35702 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:14:51 +00:00
waterson%netscape.com
cf8d4effe1 Add '-chrome' flag to load alternative chrome.
git-svn-id: svn://10.0.0.236/trunk@35701 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:14:28 +00:00
rjc%netscape.com
bd7b75801d Only save data in graph if its not already there. Also, resolve aliases to search datasets on Mac.
git-svn-id: svn://10.0.0.236/trunk@35700 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 06:01:04 +00:00
briano%netscape.com
dab091fda9 Automated update
git-svn-id: svn://10.0.0.236/trunk@35699 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:59:52 +00:00
despotdaemon%netscape.com
ac36a93d5a Pseudo-automatic update of changes made by zuperdee@penguinpowered.com.
git-svn-id: svn://10.0.0.236/trunk@35698 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:59:06 +00:00
bienvenu%netscape.com
1659b03f62 don't continue applying filters after move
git-svn-id: svn://10.0.0.236/trunk@35697 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:58:02 +00:00
alecf%netscape.com
f278c932b4 fix makefiles to enter "skin" directory
git-svn-id: svn://10.0.0.236/trunk@35696 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:57:20 +00:00
bienvenu%netscape.com
056b8eb71d fix filter success determination
git-svn-id: svn://10.0.0.236/trunk@35695 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:56:33 +00:00
waterson%netscape.com
c5e85cb531 Fix unintialized memory read.
git-svn-id: svn://10.0.0.236/trunk@35694 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:52:42 +00:00
mcafee%netscape.com
07ce5cf20b Removing --enable-new-drag-and-drop, NEW_DRAG_AND_DROP is on by default now.
git-svn-id: svn://10.0.0.236/trunk@35693 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:50:32 +00:00
sfraser%netscape.com
14abd86023 Fix some really weird casting bugs. Details are in bug 8277.
git-svn-id: svn://10.0.0.236/trunk@35692 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:44:07 +00:00
alecf%netscape.com
e4854bd257 localize the dialog title
git-svn-id: svn://10.0.0.236/trunk@35691 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:37:21 +00:00
alecf%netscape.com
dba13afe57 add FilterListDialog.js to makefiles
git-svn-id: svn://10.0.0.236/trunk@35688 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:35:51 +00:00
alecf%netscape.com
b49938cfcc set column widths appropriately
git-svn-id: svn://10.0.0.236/trunk@35687 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:35:33 +00:00
alecf%netscape.com
34329cf783 add some logic for Filters
git-svn-id: svn://10.0.0.236/trunk@35686 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:34:36 +00:00
rjc%netscape.com
9c97726dbc Set a white background.
git-svn-id: svn://10.0.0.236/trunk@35685 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:32:48 +00:00
alecf%netscape.com
31a6da33c0 remove some excess XUL that used to have templates for combo boxes
git-svn-id: svn://10.0.0.236/trunk@35684 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:32:17 +00:00
rjc%netscape.com
0e7aa68bd8 Use case-insignificant string comparisons now that we can.
git-svn-id: svn://10.0.0.236/trunk@35683 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:32:13 +00:00
talisman%anamorphic.com
ed8ac7c79c Set the default build to debug (javac -g) so we can do a better job of quality control;
Set max stack size to 64MB during compile phase - we have enough classes now that the compiler runs out of memory occasionally without the -mx64m flag.


git-svn-id: svn://10.0.0.236/trunk@35682 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:24:21 +00:00
bienvenu%netscape.com
545ded29f5 fix warnings
git-svn-id: svn://10.0.0.236/trunk@35680 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:23:05 +00:00
rjc%netscape.com
d908baf252 If we already have the results from a search, just return them; don't bother re-doing the search.
git-svn-id: svn://10.0.0.236/trunk@35679 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:22:14 +00:00
talisman%anamorphic.com
72661a376b *Lots* of bug fixes:
- Fixed problem of showing Look & Feel sets that won't run on a given
	  platform;

	- Fixed font bugs

	- Updated deprecated methods to be JDK 1.1 compliant


git-svn-id: svn://10.0.0.236/trunk@35678 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:21:42 +00:00
talisman%anamorphic.com
9c842315ec Author severely broke compatibility with JDK 1.1 - only fix so far is changing Vector.add(Object) to Vector.addElement(Object). As far as I know, we still want to be compatible with JDK 1.1.
git-svn-id: svn://10.0.0.236/trunk@35677 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:20:12 +00:00
pollmann%netscape.com
3512f5a5f9 Bug 2195: select[n] == select.options[n], new idlc-generated glue for nonstandard DOM interface
git-svn-id: svn://10.0.0.236/trunk@35676 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:20:00 +00:00
pollmann%netscape.com
7ff45ac8f5 Bug 2195: select[n] == select.options[n], new implementation for nonstandard DOM interface
git-svn-id: svn://10.0.0.236/trunk@35675 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:19:08 +00:00
mcafee%netscape.com
1ce5a1bf28 Removing NEW_DRAG_AND_DROP ifdef, this is on by default now.
git-svn-id: svn://10.0.0.236/trunk@35674 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:18:53 +00:00
talisman%anamorphic.com
1c53aaec59 Yet more font bug fixes.
git-svn-id: svn://10.0.0.236/trunk@35673 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:17:33 +00:00
talisman%anamorphic.com
05c4a4b604 More font bug fixes.
git-svn-id: svn://10.0.0.236/trunk@35672 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:16:29 +00:00
talisman%anamorphic.com
1e068fe4e0 More bug fixes - would throw a FileNotFound exception at startup if the $HOME/.grendel/grendel.pref file didn't exist. Now it creates it if it doesn't already exist.
git-svn-id: svn://10.0.0.236/trunk@35671 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:15:31 +00:00
pollmann%netscape.com
80638fa053 Bug 2195: select[n] == select.options[n], new nonstandard DOM interface
git-svn-id: svn://10.0.0.236/trunk@35670 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:15:30 +00:00
talisman%anamorphic.com
5301f90f8b Font bug fixes - default font was too big (may be platform specific to linux, but Helvetica-plain-12 is a safe bet for any system).
git-svn-id: svn://10.0.0.236/trunk@35669 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:13:53 +00:00
rjc%netscape.com
203c0c7631 Less memory intensiveness: now only load/save data into memory store as needed instead of upfront.
git-svn-id: svn://10.0.0.236/trunk@35668 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:11:54 +00:00
waterson%netscape.com
6b475c686a Bug 8272. Assert when writing RDF file. This probably had to do with the fact that we were writing out ID= attributes on the RDF containers. I changed to write an illegal 'about=' construct to get Matt alive.
git-svn-id: svn://10.0.0.236/trunk@35667 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:11:05 +00:00
jfrancis%netscape.com
ca6c1a3d36 editor rules framework for {make list, indent, outdent, change alignment}
git-svn-id: svn://10.0.0.236/trunk@35666 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:02:43 +00:00
pollmann%netscape.com
0af1f8f6d1 Bug 2195: select[n] == select.options[n], new header for nonstandard DOM interface
git-svn-id: svn://10.0.0.236/trunk@35665 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 05:02:21 +00:00
ramiro%netscape.com
43674ab48e Make it work with gnu libc 2.1. On glibc 2.1, the Dl_info api defined in
<dlfcn.h> is only exposed __USE_GNU is defined.  I suppose its some kind of
standards adherence thing.


git-svn-id: svn://10.0.0.236/trunk@35664 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:55:36 +00:00
matt%netscape.com
c24a0ef0ee adding files for dialog window for sidebar
git-svn-id: svn://10.0.0.236/trunk@35663 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:55:32 +00:00
matt%netscape.com
b670993976 Adding dialog for sidebar
git-svn-id: svn://10.0.0.236/trunk@35662 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:54:36 +00:00
matt%netscape.com
6ea8276e99 adding files for customize dialog
git-svn-id: svn://10.0.0.236/trunk@35661 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:53:30 +00:00
mcafee%netscape.com
e481f068c2 Removing NEW_DRAG_AND_DROP ifdef, this is on by default now.
git-svn-id: svn://10.0.0.236/trunk@35660 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:52:05 +00:00
pierre%netscape.com
c4d1ac9b9b File Removed.
git-svn-id: svn://10.0.0.236/trunk@35659 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:51:34 +00:00
waterson%netscape.com
7f4b857914 Bug 8174. Remove PR_EXTERN for private symbols.
git-svn-id: svn://10.0.0.236/trunk@35658 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:45:36 +00:00
waterson%netscape.com
fcac155fcb Juggle headers a bit so that we can build on VC5.0 and gcc-2.7.2.3 (need definition of classes for use with nsCOMPtr).
git-svn-id: svn://10.0.0.236/trunk@35657 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:42:45 +00:00
joki%netscape.com
9314e8c0fd Fixing event clientx/y coords to have the right value even in subviews
git-svn-id: svn://10.0.0.236/trunk@35656 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:39:51 +00:00
erik%netscape.com
43e3606d63 Pass null terminator to converter now that Frank has fixed it.
git-svn-id: svn://10.0.0.236/trunk@35655 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:36:33 +00:00
sspitzer%netscape.com
1da755d932 More build breakage fixes....
git-svn-id: svn://10.0.0.236/trunk@35654 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:34:25 +00:00
rjc%netscape.com
4932cde3cf Add "Save Search" button with appropriate disabling/enabling.
git-svn-id: svn://10.0.0.236/trunk@35653 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:27:16 +00:00
davidm%netscape.com
b0ed737d4e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@35652 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:23:37 +00:00
sfraser%netscape.com
f839256ffb Pinkterton removed the wrong line. He meant to remove nsIDOMToolbarCore.h, not nsIDOMToolkitCore.h
git-svn-id: svn://10.0.0.236/trunk@35651 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:17:12 +00:00
warren%netscape.com
6cb3c62ff9 New and improved.
git-svn-id: svn://10.0.0.236/trunk@35650 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:15:29 +00:00
warren%netscape.com
003486244b Changed nsAutoMonitor to nsAutoCMonitor (cached).
git-svn-id: svn://10.0.0.236/trunk@35649 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:15:25 +00:00
warren%netscape.com
b3ec99f296 Added NewChannelFromNativePath for convenience.
git-svn-id: svn://10.0.0.236/trunk@35648 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:15:22 +00:00
warren%netscape.com
ff5039c9f6 Fixed bug causing Flush to block forever. Changed nsAutoMonitor to nsAutoCMonitor (cached monitors).
git-svn-id: svn://10.0.0.236/trunk@35647 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:15:15 +00:00
warren%netscape.com
1221ac1cc0 Upped max pages because there's some sort of PRMonitor bug when you run out of VM space.
git-svn-id: svn://10.0.0.236/trunk@35646 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:15:12 +00:00
warren%netscape.com
1fafa621b4 Changed nsAutoMonitor to nsAutoCMonitor (cached monitors).
git-svn-id: svn://10.0.0.236/trunk@35645 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:15:08 +00:00
erik%netscape.com
480d812687 Fix for bug 7822. Remove the code that strips the high byte off of the
Unicode string for menu items that have a submenu.


git-svn-id: svn://10.0.0.236/trunk@35644 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:13:58 +00:00
davidm%netscape.com
285d776c21 I am going blind. Was calling register rather than unregister function
git-svn-id: svn://10.0.0.236/trunk@35643 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:13:03 +00:00
tague%netscape.com
bf790334ec Fixed #5438 - Mac Buttons not displaying Japanese correctly.
git-svn-id: svn://10.0.0.236/trunk@35642 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:12:14 +00:00
alecf%netscape.com
9abea099f4 fix vc5 bustage - don't use nsCOMPtr on implementations, only on interfaces
git-svn-id: svn://10.0.0.236/trunk@35641 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 04:09:33 +00:00
erik%netscape.com
4e612f7bce Fix for bug 7841. Some fonts return bad glyph IDs. Now checking for these.
It turns out that GulimChe is one of those bad fonts.


git-svn-id: svn://10.0.0.236/trunk@35640 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:57:55 +00:00
sspitzer%netscape.com
9081dcee74 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@35639 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:51:08 +00:00
sspitzer%netscape.com
85e0830ca5 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@35638 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:50:00 +00:00
syd%netscape.com
1a6de599ba One change: if user sets ncols, ignore installcmap. The two collide
(they both set thresholds) and we can assume if the user is setting
the ncols that he/she is doing some fine tune control over the more
granular control installcmap gives.


git-svn-id: svn://10.0.0.236/trunk@35637 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:41:52 +00:00
pierre%netscape.com
43b859ff7b #8214 "[PP] Mac - Closing browser window with text field focused crashes apprunner". Removed an extra addRef in nsBaseWidget::Enumerator::CurrentItem()
git-svn-id: svn://10.0.0.236/trunk@35636 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:34:44 +00:00
sspitzer%netscape.com
549f5a4fe6 fix windows build bustage.
git-svn-id: svn://10.0.0.236/trunk@35635 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:34:37 +00:00
hangas%netscape.com
7f1d1f85e8 Updated code to match the changes in the address book back-end.
git-svn-id: svn://10.0.0.236/trunk@35634 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:32:26 +00:00
hangas%netscape.com
725e1658f7 Added box around card view pane as an example to demonstrate a bug
git-svn-id: svn://10.0.0.236/trunk@35633 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:31:49 +00:00
alecf%netscape.com
6b5779bcf8 fix mac bustage, this was supposed to be in #ifdef DEBUG
git-svn-id: svn://10.0.0.236/trunk@35632 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:28:42 +00:00
dveditz%netscape.com
6ee73b8ff9 Adding NS_RELEASE_THIS()
git-svn-id: svn://10.0.0.236/trunk@35631 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:28:25 +00:00
dveditz%netscape.com
8b1ee7529d proxy can now find main thread
git-svn-id: svn://10.0.0.236/trunk@35630 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:26:37 +00:00
syd%netscape.com
1784850441 Support for ncols and installcmap prefs.
Currently, 8 bit pseudocolor visual users are going to get a private cmap
installed base on design of gdk_rgb* code design. We want the default to
really be that we share with the server default colormap; if that looks
too bad (e.g., can't get enough colors, user can set the browser.installcmap
pref to "true" to get a priviate cmap installed.

Gdk determines if to install a private cmap based on being able to allocate
a certain number of colors from the default colormap. If that fails, a
private cmap is installed. The default gdk threshold is 5 * 5 * 5. If we
see browser.installcmap == true, we set to 255 to force it. If we see
browser.installcmap == false, we set it to 0. Also added browser.ncols
pref, which allows fine-grained control of this; the user can set the
threshold value and control when gdk will use shared colormap vs. private.


git-svn-id: svn://10.0.0.236/trunk@35629 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:24:55 +00:00
syd%netscape.com
fb779f6f02 Add browser.ncols and browser.installcmap preferences
git-svn-id: svn://10.0.0.236/trunk@35628 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:18:44 +00:00
mscott%netscape.com
65ae0724c3 After creating an imap url from create instance, we need to initialize it.
git-svn-id: svn://10.0.0.236/trunk@35627 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:10:22 +00:00
mscott%netscape.com
de04424f72 Add initialize support
git-svn-id: svn://10.0.0.236/trunk@35626 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:09:12 +00:00
mscott%netscape.com
76338689e7 Add interface method for initialize.
git-svn-id: svn://10.0.0.236/trunk@35625 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:08:49 +00:00
blizzard%redhat.com
c94ea9d669 xlib renders, baby.
git-svn-id: svn://10.0.0.236/trunk@35624 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:07:55 +00:00
sdagley%netscape.com
99e28f20cf First Checked In.
git-svn-id: svn://10.0.0.236/trunk@35623 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 03:02:41 +00:00
alecf%netscape.com
4f9901c5fe return XP_AssertAtLine
git-svn-id: svn://10.0.0.236/trunk@35622 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:41:15 +00:00
sspitzer%netscape.com
f643d8223c more build bustage fixes. burn, hollywood, burn.
git-svn-id: svn://10.0.0.236/trunk@35621 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:37:48 +00:00
sspitzer%netscape.com
12bd64e970 more fixes for build bustage
git-svn-id: svn://10.0.0.236/trunk@35620 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:25:34 +00:00
alecf%netscape.com
3c715fd75b second attempt to eliminate useless functions
git-svn-id: svn://10.0.0.236/trunk@35619 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:23:26 +00:00
sspitzer%netscape.com
c3b3f2fb2f more build bustage fixes
git-svn-id: svn://10.0.0.236/trunk@35618 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:21:19 +00:00
mscott%netscape.com
488588081e Don't attempt to read from the file we are sending unless the file stream is in fact open.
git-svn-id: svn://10.0.0.236/trunk@35617 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:19:49 +00:00
bienvenu%netscape.com
1b72cfee5b check for null mdb row when setting property, perhaps fix #7443
git-svn-id: svn://10.0.0.236/trunk@35616 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:17:08 +00:00
rjc%netscape.com
cdc6027941 Add in search datasource in bookmarks.
git-svn-id: svn://10.0.0.236/trunk@35615 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:14:56 +00:00
waterson%netscape.com
aface37a9e Bug 8267. Add nsIRDFContainer::RemoveElementAt() implementation.
git-svn-id: svn://10.0.0.236/trunk@35614 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:08:54 +00:00
waterson%netscape.com
dcf90fba85 Bug 6665. Hack to addref resources before doing the sort. This saves mailnews from having to recreate them.
git-svn-id: svn://10.0.0.236/trunk@35613 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:07:56 +00:00
bienvenu%netscape.com
6d767e7900 add commit after deleting msg
git-svn-id: svn://10.0.0.236/trunk@35612 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:07:00 +00:00
waterson%netscape.com
9fea56b5f8 Remove Window.Equals() hack.
git-svn-id: svn://10.0.0.236/trunk@35611 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:06:48 +00:00
waterson%netscape.com
daeb84e9fe Add WalkTheStack() implementation for i386 Linux. Tip o' the hat to kipp for the stack walking code, and shaver for the dladdr() hint. Replace PR_snprintf() with nsIToA().
git-svn-id: svn://10.0.0.236/trunk@35610 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:05:32 +00:00
alecf%netscape.com
cac896e871 remove unnecessary functions
git-svn-id: svn://10.0.0.236/trunk@35609 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 02:04:53 +00:00
sspitzer%netscape.com
0143851e83 fix build bustage. sending mail to rahda so she can back this out, if necessary
git-svn-id: svn://10.0.0.236/trunk@35608 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:50:17 +00:00
rjc%netscape.com
a72551e11b More Search changes.
git-svn-id: svn://10.0.0.236/trunk@35607 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:47:02 +00:00
pollmann%netscape.com
48590ea9b6 Bug 2195: select[n] == select.options[n], new IID for nonstandard DOM interface
git-svn-id: svn://10.0.0.236/trunk@35606 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:41:13 +00:00
pavlov%pavlov.net
b01d95c15d initial context menu stuff.. not finished
git-svn-id: svn://10.0.0.236/trunk@35605 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:34:29 +00:00
mcmullen%netscape.com
6433e00bb3 Fix the profile logic now that a default profile is not created by pref->StartUp().
git-svn-id: svn://10.0.0.236/trunk@35604 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:33:02 +00:00
nisheeth%netscape.com
b9c9cc95a1 Do not include nsXMLTokenizer.h any more.
git-svn-id: svn://10.0.0.236/trunk@35603 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:31:55 +00:00
jband%netscape.com
d862ba14f3 updaing TODO list
git-svn-id: svn://10.0.0.236/trunk@35602 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:30:13 +00:00
jband%netscape.com
e5880c8aa6 fix for bug 8248. Not setting the VAL_IS_IFACE flag for purely out params when calling native from JS. All interfaces that return an interface (e.g. QueryInterface) were getting left with one extra ref. Yuck!
git-svn-id: svn://10.0.0.236/trunk@35601 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:29:49 +00:00
nisheeth%netscape.com
7d86f7a5e9 Fixed a crash that resulted from trying to access freed memory in CSSLoaderImpl::DidLoadStyle(). I was trying to access aLoadData to print out an error message after aLoadData had been freed. Moved the error printing code to where aLoadData still has valid content.
git-svn-id: svn://10.0.0.236/trunk@35600 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:29:27 +00:00
pierre%netscape.com
e5c0d34d91 #8264 "[PP] Mac GFX draws lines one pixel too long"
git-svn-id: svn://10.0.0.236/trunk@35599 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:18:15 +00:00
waterson%netscape.com
b911cdf0ae No longer need to special case comparison of XPConnect and DOM objects.
git-svn-id: svn://10.0.0.236/trunk@35598 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:12:37 +00:00
nisheeth%netscape.com
bf550f5348 We no longer need to check an environment variable before instantiating the expat tokenizer. The next step is to remove the XML tokenizer from the build system.
git-svn-id: svn://10.0.0.236/trunk@35597 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:11:48 +00:00
jdunn%netscape.com
3a94d4f0be Use C comment delims and not C++
git-svn-id: svn://10.0.0.236/trunk@35596 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:08:26 +00:00
radha%netscape.com
86b169912d Fix the GetURL() bustage in windows
git-svn-id: svn://10.0.0.236/trunk@35595 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:02:19 +00:00
alecf%netscape.com
f46902fa6b remove unused functions
git-svn-id: svn://10.0.0.236/trunk@35594 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:01:09 +00:00
alecf%netscape.com
7f042a583d remove some unused functions
git-svn-id: svn://10.0.0.236/trunk@35593 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 01:00:29 +00:00
rjc%netscape.com
0ad5ad4b4b Add checks for NULL before using mInner. It could be NULL, for example, if JavaScript creates the datasource but forgets to Init() the datasource.
git-svn-id: svn://10.0.0.236/trunk@35592 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:59:43 +00:00
alecf%netscape.com
ff6ad9e181 back out previous checkin - busts on windows
git-svn-id: svn://10.0.0.236/trunk@35591 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:59:24 +00:00
alecf%netscape.com
111a3af6d6 back out last checkin, busts on windows
git-svn-id: svn://10.0.0.236/trunk@35590 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:58:16 +00:00
akkana%netscape.com
8154b700e1 Add a comment and an acute entity, for testing purposes
git-svn-id: svn://10.0.0.236/trunk@35589 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:53:54 +00:00
akkana%netscape.com
a9a778be57 Oh, drat. Previous fix for const problem also threw away the result
of UnicodeToHTMLString.  This fixes that.


git-svn-id: svn://10.0.0.236/trunk@35588 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:52:47 +00:00
alecf%netscape.com
362a835691 if 0 and static a bunch of functions that aren't used anywhere
git-svn-id: svn://10.0.0.236/trunk@35587 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:51:20 +00:00
gagan%netscape.com
dd250dc838 Removed the temporary Open call on nsIChannel. Inspite of the misnomer, the AsyncRead is the one to use.
git-svn-id: svn://10.0.0.236/trunk@35586 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:49:01 +00:00
hangas%netscape.com
99bc4ff232 Updated mac projects to reflect Candice' changes to windows/unix.
git-svn-id: svn://10.0.0.236/trunk@35585 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:47:36 +00:00
hangas%netscape.com
f4ec91d3ec Commented out Mac breakage
git-svn-id: svn://10.0.0.236/trunk@35584 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:46:12 +00:00
vidur%netscape.com
aba7d2a324 sink now creates content for BASE element
git-svn-id: svn://10.0.0.236/trunk@35583 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:44:50 +00:00
pierre%netscape.com
6889524375 #4084 "JS events: Mac form element events"
git-svn-id: svn://10.0.0.236/trunk@35582 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:41:30 +00:00
pierre%netscape.com
1cc9deab39 #4084 "JS events: Mac form element events"
A little cleanup in key events too


git-svn-id: svn://10.0.0.236/trunk@35581 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:41:02 +00:00
pierre%netscape.com
955ffba2a9 #4084 "JS events: Mac form element events"
#7100 "JS change state (enabled/checked) of html:checkbox doesn't redraw"


git-svn-id: svn://10.0.0.236/trunk@35580 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:40:20 +00:00
danm%netscape.com
cd06b36af7 more careful with dialog webshellwindow member variable. fixes bug 7858. also, release appshell service correctly
git-svn-id: svn://10.0.0.236/trunk@35579 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:38:22 +00:00
blizzard%redhat.com
f4816602ee use PR_LOG for debugging
git-svn-id: svn://10.0.0.236/trunk@35578 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:37:57 +00:00
radha%netscape.com
e5fe173125 OOps. Commented out NS_NewSessionHistory() by mistake in the previous checkin
git-svn-id: svn://10.0.0.236/trunk@35577 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:35:53 +00:00
danm%netscape.com
15d3d4ef10 released modal dialog windows after use
git-svn-id: svn://10.0.0.236/trunk@35576 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:34:11 +00:00
dp%netscape.com
767d4f61b3 Using default autoregistration
git-svn-id: svn://10.0.0.236/trunk@35575 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:34:08 +00:00
pinkerton%netscape.com
632800454c remove the toolbar appCore from the build.
git-svn-id: svn://10.0.0.236/trunk@35574 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:32:12 +00:00
dp%netscape.com
e7840a0ada Using default autoregistration.
git-svn-id: svn://10.0.0.236/trunk@35573 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:29:34 +00:00
danm%netscape.com
ec8fd288c2 just added some usage notes and a bit of extra care during window initialization
git-svn-id: svn://10.0.0.236/trunk@35572 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:27:41 +00:00
dp%netscape.com
4f64ef995b Removing xcDllStore.cpp from the build.
git-svn-id: svn://10.0.0.236/trunk@35571 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:27:13 +00:00
dp%netscape.com
b28116e9b0 Registry location and filename added.
git-svn-id: svn://10.0.0.236/trunk@35570 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:26:43 +00:00
dp%netscape.com
c8118dee3e Removing nsIComponentManager.h from nsIFileSpec.h to prevent circular
header dependencies in preparation for component manager using nsIFileSpec.


git-svn-id: svn://10.0.0.236/trunk@35569 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:26:02 +00:00
bienvenu%netscape.com
936c5ca3d7 work around gcc bug with MI
git-svn-id: svn://10.0.0.236/trunk@35568 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:25:14 +00:00
blizzard%redhat.com
1278260f3c use PR_LOG for debugging messages
git-svn-id: svn://10.0.0.236/trunk@35567 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:25:10 +00:00
sspitzer%netscape.com
7fd43d6316 no newline at the end of the file
git-svn-id: svn://10.0.0.236/trunk@35566 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:24:39 +00:00
ssu%netscape.com
abd1750bd2 ifdef'ed call to PR_Seek() for the standalone build
git-svn-id: svn://10.0.0.236/trunk@35565 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:24:37 +00:00
alecf%netscape.com
ad66b78a7f remove HashTable routines (we're only using HashLists)
git-svn-id: svn://10.0.0.236/trunk@35564 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:24:31 +00:00
sspitzer%netscape.com
629185ee2a rename s to s2 to stop shadowing. we don't need to get the prefs service again, we already have it.
git-svn-id: svn://10.0.0.236/trunk@35563 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:24:17 +00:00
alecf%netscape.com
551717687a hide some symbols from the build
git-svn-id: svn://10.0.0.236/trunk@35562 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:23:21 +00:00
sspitzer%netscape.com
ab994e28c8 missing newlines at the end of the file
git-svn-id: svn://10.0.0.236/trunk@35561 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:23:12 +00:00
alecf%netscape.com
0a8ec439ba xp_qsort is gone, so remove it from the build
git-svn-id: svn://10.0.0.236/trunk@35560 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:22:48 +00:00
danm%netscape.com
efff0ea4f1 fix hidden virtual function bustage
git-svn-id: svn://10.0.0.236/trunk@35559 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:14:04 +00:00
sspitzer%netscape.com
de3211f6d6 fix build bustage for chuang
git-svn-id: svn://10.0.0.236/trunk@35558 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:13:25 +00:00
chuang%netscape.com
a3de261c42 Add address book database code and other fixes
git-svn-id: svn://10.0.0.236/trunk@35556 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:04:49 +00:00
sfraser%netscape.com
7d9456c22e Get rid of stuplid warnings.
git-svn-id: svn://10.0.0.236/trunk@35555 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:02:27 +00:00
mscott%netscape.com
1ebf77ee79 Bug #8221 fix memory problems with nsCOMPtr & using do_QI around methods. We were also making a com ptr out of a non interface so I added a dirty hack to fix that.
git-svn-id: svn://10.0.0.236/trunk@35554 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 00:00:55 +00:00
sfraser%netscape.com
ecfb2ed35b Don't release the selection that you didn't addref, mister document encoder.
git-svn-id: svn://10.0.0.236/trunk@35553 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:58:41 +00:00
nisheeth%netscape.com
346f6ea4e8 Fix for bug 4196. Clicking on anchors now targets frames properly. We were being too eager in truncating the target in nsGenericHTMLElement::GetBaseTarget().
git-svn-id: svn://10.0.0.236/trunk@35552 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:58:07 +00:00
akkana%netscape.com
6d203047f2 Fix const problem
git-svn-id: svn://10.0.0.236/trunk@35551 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:56:44 +00:00
briano%netscape.com
aa13f89293 Fix for QNX/NTO.
git-svn-id: svn://10.0.0.236/trunk@35550 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:56:05 +00:00
putterman%netscape.com
619bc2db1d use chrome url for PrefsWindow.js
git-svn-id: svn://10.0.0.236/trunk@35549 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:54:32 +00:00
sfraser%netscape.com
8258d8059c Fix GetViewForRendering() in the window coordinates case.
git-svn-id: svn://10.0.0.236/trunk@35548 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:54:26 +00:00
chuang%netscape.com
7f2ab75e9b First time check in
git-svn-id: svn://10.0.0.236/trunk@35547 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:52:52 +00:00
chuang%netscape.com
604c92205e First check in
git-svn-id: svn://10.0.0.236/trunk@35546 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:50:33 +00:00
putterman%netscape.com
b24409e014 use chrome url to use PrefsWindow.js
git-svn-id: svn://10.0.0.236/trunk@35545 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:47:08 +00:00
hangas%netscape.com
17a3cc4628 Added empty treecell's so that we don't assert.
git-svn-id: svn://10.0.0.236/trunk@35544 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:45:01 +00:00
rogerl%netscape.com
d7d1246bf2 Fixed bug #7635. instanceof now starts the chain walk from the object
prototype.


git-svn-id: svn://10.0.0.236/trunk@35543 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:44:30 +00:00
hangas%netscape.com
08a46b7c92 Added xul fragment includes for extra tab in edit card.
git-svn-id: svn://10.0.0.236/trunk@35542 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:44:12 +00:00
slamm%netscape.com
7c6f901d03 Remove nsIDocumentViewer.h from EXPORTS. It does not live here. Thanks to 'David Gardiner' <david.gardiner@unisa.edu.au> for the patch.
git-svn-id: svn://10.0.0.236/trunk@35541 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:42:32 +00:00
ftang%netscape.com
7db8a03581 fix bug 8201 by adding GetIID()
git-svn-id: svn://10.0.0.236/trunk@35540 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:41:40 +00:00
pollmann%netscape.com
01652fd586 Bug 2195: Make select[n] == select.options[n] (idlc bugfix courtesy of Vidur)
git-svn-id: svn://10.0.0.236/trunk@35539 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:41:30 +00:00
mscott%netscape.com
3c2f155cb4 Bug #8221 fix memory problems with nsCOMPtr & using do_QI around methods.
git-svn-id: svn://10.0.0.236/trunk@35538 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:39:56 +00:00
sfraser%netscape.com
d33f176f98 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@35537 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:39:46 +00:00
mscott%netscape.com
5e0305dc22 Bug #8221 fix memory problems with nsCOMPtr & using do_QI around methods.
git-svn-id: svn://10.0.0.236/trunk@35536 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:34:52 +00:00
ftang%netscape.com
487e3ebceb fix bug 8055 by adding 0x00-0x20 conversion to all the conversion table
git-svn-id: svn://10.0.0.236/trunk@35535 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:34:47 +00:00
jdunn%netscape.com
06b2eb17f9 When ORing enums, it must be done in the domain of the enum type
git-svn-id: svn://10.0.0.236/trunk@35533 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:33:59 +00:00
bienvenu%netscape.com
ed352aa541 use base class implementation of FindSubFolder
git-svn-id: svn://10.0.0.236/trunk@35532 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:33:32 +00:00
hangas%netscape.com
23025c4b77 Changed nsMailboxGetURI to use nsFileSpec. Fixes Mac.
git-svn-id: svn://10.0.0.236/trunk@35531 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:33:29 +00:00
saari%netscape.com
494308738b adding in a piece of keybinding I forgot
git-svn-id: svn://10.0.0.236/trunk@35530 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:33:21 +00:00
jdunn%netscape.com
0c7b20876a need to declare friend class
git-svn-id: svn://10.0.0.236/trunk@35529 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:33:19 +00:00
jdunn%netscape.com
b9b1d37baa HP requires a Newline at end of file
git-svn-id: svn://10.0.0.236/trunk@35528 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:32:44 +00:00
ducarroz%netscape.com
a356eafdaa add search folder to project
git-svn-id: svn://10.0.0.236/trunk@35527 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:32:34 +00:00
blizzard%redhat.com
229f3ae1ff fix bug where the ConfigureNotify wasn't setting the event members properly
git-svn-id: svn://10.0.0.236/trunk@35526 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:31:56 +00:00
bienvenu%netscape.com
b595db6509 add search.lib
git-svn-id: svn://10.0.0.236/trunk@35522 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:31:52 +00:00
bienvenu%netscape.com
d187228592 add search to base
git-svn-id: svn://10.0.0.236/trunk@35520 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:31:32 +00:00
ftang%netscape.com
f27330cb72 fix 7973. Do correct conversion for non ASCII for multipart posting
git-svn-id: svn://10.0.0.236/trunk@35519 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:31:05 +00:00
hangas%netscape.com
8fe0901f17 Added nsImapMoveCoalescer.cpp
git-svn-id: svn://10.0.0.236/trunk@35518 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:30:01 +00:00
ftang%netscape.com
b018cf10ce push SetParserFilter from nsParser.h to nsIParser.h
git-svn-id: svn://10.0.0.236/trunk@35517 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:29:54 +00:00
radha%netscape.com
6e6f661619 More changes related to session History
A
A
A


git-svn-id: svn://10.0.0.236/trunk@35516 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:29:38 +00:00
radha%netscape.com
c4cdce5bfc Session History interface changes.
git-svn-id: svn://10.0.0.236/trunk@35514 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:27:10 +00:00
rhp%netscape.com
7506dbb643 Changes for quoting
git-svn-id: svn://10.0.0.236/trunk@35509 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:26:37 +00:00
pinkerton%netscape.com
98bf47bfd6 fix memory leaks (bug# 8221)
git-svn-id: svn://10.0.0.236/trunk@35508 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:26:32 +00:00
akkana%netscape.com
245bf1d96e 6671: map dom codes back to entity form on output
git-svn-id: svn://10.0.0.236/trunk@35507 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:26:13 +00:00
tao%netscape.com
80023948c4 8152: MLK in string bundle
git-svn-id: svn://10.0.0.236/trunk@35506 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:26:08 +00:00
radha%netscape.com
82ed772c77 Better behavior with nested frames
git-svn-id: svn://10.0.0.236/trunk@35505 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:26:06 +00:00
ducarroz%netscape.com
a5ae9d3197 add build instruction for mime:src:MANIFEST and mime:emitters:src:MANIFEST (rhp landind)
git-svn-id: svn://10.0.0.236/trunk@35504 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:25:55 +00:00
rhp%netscape.com
1e5929f8fa changes for quoting
git-svn-id: svn://10.0.0.236/trunk@35503 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:25:52 +00:00
sfraser%netscape.com
47b1e6f67f Don't pass "null" strings in from JavaScript.
git-svn-id: svn://10.0.0.236/trunk@35502 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:25:18 +00:00
akkana%netscape.com
e12a8361e4 Fix for the crasher part of 7801: don't use nsAutoSelectionReset in InsertList
git-svn-id: svn://10.0.0.236/trunk@35501 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:24:24 +00:00
sfraser%netscape.com
33bd604dc3 Add TextEditor xul file.
git-svn-id: svn://10.0.0.236/trunk@35500 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:24:21 +00:00
ducarroz%netscape.com
7a16600f50 update project for rhp landing
git-svn-id: svn://10.0.0.236/trunk@35499 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:24:09 +00:00
putterman%netscape.com
e0616d471d Remove an extra AddRef.
git-svn-id: svn://10.0.0.236/trunk@35498 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:23:13 +00:00
putterman%netscape.com
4070a8ae6d Return NS_OK for DoCommand.
git-svn-id: svn://10.0.0.236/trunk@35497 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:22:59 +00:00
rhp%netscape.com
f6aa6e376b New quoting functionality
git-svn-id: svn://10.0.0.236/trunk@35472 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:22:34 +00:00
putterman%netscape.com
9e5a50f9b5 Set the webshell's default character set.
git-svn-id: svn://10.0.0.236/trunk@35471 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:22:12 +00:00
putterman%netscape.com
9e9f61c249 Only AddRef servMgr if we're going to assign it to *result. Approved by dp.
git-svn-id: svn://10.0.0.236/trunk@35470 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:21:12 +00:00
cata%netscape.com
42c5df2c1b External DTD support. (but wrapped in #ifdef EXTERNAL_ENTITY_SUPPORT)
git-svn-id: svn://10.0.0.236/trunk@35469 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:20:01 +00:00
putterman%netscape.com
0ede68b054 Close the filespec's stream so we don't keep appending to pref file. Approved by
mcmullen.


git-svn-id: svn://10.0.0.236/trunk@35468 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:19:58 +00:00
bienvenu%netscape.com
fc2be00a11 implement FindSubFolder
git-svn-id: svn://10.0.0.236/trunk@35467 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:18:57 +00:00
bienvenu%netscape.com
ad879aac73 add imap move coalescer to filter code
git-svn-id: svn://10.0.0.236/trunk@35466 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:17:49 +00:00
edwin%woudt.nl
dbc99486c1 Oops, forgot this one. The preferred Look&Feel is set on startup.
git-svn-id: svn://10.0.0.236/trunk@35465 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:08:07 +00:00
edwin%woudt.nl
a2c7181b37 Adding Look&Feel support to the prefs
git-svn-id: svn://10.0.0.236/trunk@35463 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 22:33:14 +00:00
slamm%netscape.com
728f632f68 Add timezone to time at top of page.
git-svn-id: svn://10.0.0.236/trunk@35462 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 22:20:31 +00:00
sfraser%netscape.com
4a9ad9e17e Fix the multiple reflow problem which makes page rendering very slow. r hyatt, a leaf.
git-svn-id: svn://10.0.0.236/trunk@35461 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 21:30:14 +00:00
bienvenu%netscape.com
0dec58089e not part of build, initial entry into cvs of helper class for coalescing moves
git-svn-id: svn://10.0.0.236/trunk@35460 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 21:20:08 +00:00
rpotts%netscape.com
da58e766e1 Fixed header parsing to prevent an endless loop. Moved the code to handle header completion into a new function - FireOnHeadersAvailable. This function notifies the event sink and external modules interested in headers. previously, external modules were being notified multiple times...
git-svn-id: svn://10.0.0.236/trunk@35459 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 20:59:39 +00:00
valeski%netscape.com
ea63443208 added thread locking functionality back into ftp
git-svn-id: svn://10.0.0.236/trunk@35458 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 20:49:56 +00:00
cbegle%netscape.com
9f05c83fb9 Fix errors in liveconnect tests per furman@netscape.com. Renaming files
to not have a "-n" filename, since they are no longer negative tests.


git-svn-id: svn://10.0.0.236/trunk@35457 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 20:03:30 +00:00
rpotts%netscape.com
69449663c2 Fix build bustage... nsIDocumentLoaderObserver interface was changed :-(
git-svn-id: svn://10.0.0.236/trunk@35456 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 19:33:29 +00:00
putterman%netscape.com
24b6e72c12 Fix for 8197. Can't read pref file. Approved by leaf and reviewed by mscott.
git-svn-id: svn://10.0.0.236/trunk@35454 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 18:39:33 +00:00
bruce%cybersight.com
0b5d36e888 APPROVED BY leaf@mozilla.org
This fixes the use of 'false' instead of PR_FALSE.  This was killing the Solaris native compiler build.  (Probably would've killed others if they weren't so horrked that they don't get to this file.)

Also, it adds a linefeed at the end of the file for those same native unix compilers.

This won't mess up Mozilla any more than it already is this morning.


git-svn-id: svn://10.0.0.236/trunk@35451 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 18:07:58 +00:00
terry%mozilla.org
61576acec0 Explain some history.
git-svn-id: svn://10.0.0.236/trunk@35450 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 15:44:42 +00:00
terry%mozilla.org
1d7008c9a1 Patch by Christopher Kline <ckline@media.mit.edu> -- wasn't sending
right password to mysql.


git-svn-id: svn://10.0.0.236/trunk@35449 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 15:32:25 +00:00
shaver%netscape.com
8450083be8 flail lightly trying to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@35448 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 15:21:00 +00:00
shaver%netscape.com
0f4f0817ff try to bix build bustage, and start on fixing 8183
git-svn-id: svn://10.0.0.236/trunk@35447 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 15:13:38 +00:00
jefft%netscape.com
865b17ff04 fixed Mac build bustage
git-svn-id: svn://10.0.0.236/trunk@35446 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 15:12:52 +00:00
jefft%netscape.com
023eb2dd77 fix linux build bustage
git-svn-id: svn://10.0.0.236/trunk@35445 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 15:05:48 +00:00
rods%netscape.com
dcc4eb02da Changed special MULTI_MIME to be used by both classes
git-svn-id: svn://10.0.0.236/trunk@35444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 14:26:23 +00:00
rods%netscape.com
42dab97dc9 Changed "unsigned int" to PRUint32
git-svn-id: svn://10.0.0.236/trunk@35443 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 14:25:31 +00:00
ducarroz%netscape.com
c94a71dbb9 replace /*nsIDOMEditorAppCore*/nsISupports by nsIEditorShell
git-svn-id: svn://10.0.0.236/trunk@35442 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 14:25:26 +00:00
shaver%netscape.com
c367066727 fix 8184: don't get stuck on %{ that's not at the beginning of the line, and mind end of data
git-svn-id: svn://10.0.0.236/trunk@35441 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 14:17:21 +00:00
rhp%netscape.com
5a2807f3a0 Checking in changes for new files (not in build yet)
git-svn-id: svn://10.0.0.236/trunk@35440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 14:11:56 +00:00
bruce%cybersight.com
02fc3ead24 Replace NULL with nsnull in 8 initializations as NULL is void* on Solaris Workshop 4.2 compilers and it dies on using NULL here.
git-svn-id: svn://10.0.0.236/trunk@35439 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 13:51:50 +00:00
bruce%cybersight.com
9ac574ec89 Fix HP build bustage. Must comment out text after an #endif
git-svn-id: svn://10.0.0.236/trunk@35438 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 13:38:14 +00:00
rhp%netscape.com
24dd9edced Changes for internal mime emitter
git-svn-id: svn://10.0.0.236/trunk@35437 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 13:29:00 +00:00
rhp%netscape.com
b996c1fe1b updates for internal mime emitter
git-svn-id: svn://10.0.0.236/trunk@35436 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 13:27:49 +00:00
jefft%netscape.com
2fed9e535c added files: mozilla/mailnews/imap/src/nsImapUndoTxn.cpp
git-svn-id: svn://10.0.0.236/trunk@35435 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 13:20:34 +00:00
jefft%netscape.com
5d2b212757 added files: mozilla/mailnews/base/util/nsMsgTxn.cpp
git-svn-id: svn://10.0.0.236/trunk@35434 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 13:17:46 +00:00
jefft%netscape.com
171e4f9689 more on unod work - added SetCopyResponseUid() method; nsImapMoveCopyMsgTxn class; fix set message flags not working problem
git-svn-id: svn://10.0.0.236/trunk@35433 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 13:16:51 +00:00
jefft%netscape.com
f6e93b5e44 added SetCopyResponseUid interface
git-svn-id: svn://10.0.0.236/trunk@35432 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 13:12:54 +00:00
jefft%netscape.com
55f7a45355 added nsImapUidExpunge action
git-svn-id: svn://10.0.0.236/trunk@35431 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 13:12:08 +00:00
jefft%netscape.com
5de58f08ab more on undowork -- adding base nsMsgTxn class for base undo object
git-svn-id: svn://10.0.0.236/trunk@35430 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 13:10:47 +00:00
jefft%netscape.com
1a7d105d8d more on undo work - remove transaction manager from folder array after retrieving it
git-svn-id: svn://10.0.0.236/trunk@35429 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 13:08:12 +00:00
edwin%woudt.nl
875ea9b499 New prefs landing
git-svn-id: svn://10.0.0.236/trunk@35428 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 11:44:40 +00:00
mccabe%netscape.com
f959eb5d1b Added a warning for using an (ignored) '%{' or '%{whatever' escape instead of using '%{C++'.
git-svn-id: svn://10.0.0.236/trunk@35427 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 11:18:03 +00:00
mccabe%netscape.com
31c384cdf8 Added -w to calls to xpidl. It's been in rules.mk for a while; I was shocked (shocked!) to find it wasn't here.
git-svn-id: svn://10.0.0.236/trunk@35426 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 11:14:49 +00:00
mcmullen%netscape.com
88a6f93e78 Alias resolution makes directory iteration tricky: You can't use SetLeafName to convert one sibling to another. Fixing parsing of pref-init files, which broke when I fixed aliases a while back.
git-svn-id: svn://10.0.0.236/trunk@35425 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 10:42:05 +00:00
mcmullen%netscape.com
4964d69d07 Fix windows bustage.
git-svn-id: svn://10.0.0.236/trunk@35424 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 09:35:20 +00:00
mcmullen%netscape.com
54664adf4e Added a null test
git-svn-id: svn://10.0.0.236/trunk@35423 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 09:31:49 +00:00
mccabe%netscape.com
a94ba34321 Removed unused declaration for (cvs rm'ed) stub mode, and added an explanatory comment as to what 'basename' actually means. (Not what I thought...)
git-svn-id: svn://10.0.0.236/trunk@35422 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 09:22:04 +00:00
mcmullen%netscape.com
82b6f8f370 Using nsIFileSpec, leaks and stuff now become possible. Fixing one problem...
git-svn-id: svn://10.0.0.236/trunk@35421 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 09:09:17 +00:00
mcmullen%netscape.com
802236a201 Fix up registration of nsIFileLocator to use ProgIDs
git-svn-id: svn://10.0.0.236/trunk@35420 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 08:52:23 +00:00
warren%netscape.com
c67c7c66b8 Fixed buffer tests.
git-svn-id: svn://10.0.0.236/trunk@35419 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 08:36:27 +00:00
mcmullen%netscape.com
e11f39047b Remove the trailing space in the module name.
git-svn-id: svn://10.0.0.236/trunk@35418 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 08:22:10 +00:00
mcmullen%netscape.com
be46092e74 Fix up registration of nsIFileLocator to use ProgIDs
git-svn-id: svn://10.0.0.236/trunk@35417 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 08:07:58 +00:00
sspitzer%netscape.com
44c9798e7c fix for #8126. crashing when posting to a non-existant newsgroup.
git-svn-id: svn://10.0.0.236/trunk@35416 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 07:28:54 +00:00
mcmullen%netscape.com
ea88e50957 trying to fix windows bustage with new parameters = set 'em to null!
git-svn-id: svn://10.0.0.236/trunk@35415 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 07:19:16 +00:00
rjc%netscape.com
babaad9c18 Small fix for non-Mac platforms in terms of where to look for search datafiles.
git-svn-id: svn://10.0.0.236/trunk@35414 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 07:07:09 +00:00
hyatt%netscape.com
b29b58e27b Fixing a bug in the distribution of excess space to multiple row groups.
git-svn-id: svn://10.0.0.236/trunk@35413 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 07:06:55 +00:00
ftang%netscape.com
c2b67434da add ascii converters
git-svn-id: svn://10.0.0.236/trunk@35412 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:56:19 +00:00
ftang%netscape.com
fc33fc3474 fix CID.h file misspell and repeat CID. add ASCII to the factory
git-svn-id: svn://10.0.0.236/trunk@35411 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:49:47 +00:00
mcafee%netscape.com
ae3420fb17 nsWindows are now drag destinations.
git-svn-id: svn://10.0.0.236/trunk@35410 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:46:37 +00:00
ftang%netscape.com
7522dc5bb4 add ascii converter to the file list
git-svn-id: svn://10.0.0.236/trunk@35409 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:45:08 +00:00
mcmullen%netscape.com
e49b19a538 Seems when CVS merged this for me, it did so in such a way that I backed out some of hangas's changes. Restoring this the way I think he wanted it.
git-svn-id: svn://10.0.0.236/trunk@35408 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:44:56 +00:00
mcmullen%netscape.com
2f50472c00 conflict with profile checkin
git-svn-id: svn://10.0.0.236/trunk@35407 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:42:23 +00:00
ftang%netscape.com
88283344c4 add ASCII converter to window makefile
git-svn-id: svn://10.0.0.236/trunk@35406 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:41:05 +00:00
ftang%netscape.com
762729d03b add ASCII converter and unix makefile
git-svn-id: svn://10.0.0.236/trunk@35405 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:37:33 +00:00
endico%mozilla.org
d0fddb49f8 attempt to dissuade robots from indexing the entire lxr.mozilla.org site
git-svn-id: svn://10.0.0.236/trunk@35404 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:34:45 +00:00
mcmullen%netscape.com
bfc8154d7d My fix collided with somebody else's. Fixing it the way I want it.
git-svn-id: svn://10.0.0.236/trunk@35403 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:30:33 +00:00
ftang%netscape.com
48791d631e add CID for ASCII
git-svn-id: svn://10.0.0.236/trunk@35402 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:27:37 +00:00
mcafee%netscape.com
78a4313ef0 Moving worked declaration to the beginning of function to get around goto error. Fixes linux bustage.
git-svn-id: svn://10.0.0.236/trunk@35401 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:24:34 +00:00
peterl%netscape.com
5acfa76172 sync to css loader api change (default namespace)
git-svn-id: svn://10.0.0.236/trunk@35400 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:22:46 +00:00
mcafee%netscape.com
458004adb3 Fixing some of the Linux breakage.
git-svn-id: svn://10.0.0.236/trunk@35399 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:22:35 +00:00
peterl%netscape.com
d05da63300 better medium testing api
git-svn-id: svn://10.0.0.236/trunk@35398 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:22:07 +00:00
peterl%netscape.com
44dd0a04bd added better medium testing api
git-svn-id: svn://10.0.0.236/trunk@35397 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:21:47 +00:00
peterl%netscape.com
c3453e4f35 added faster medium testing support
added default namespace support
WIP for faster cascade


git-svn-id: svn://10.0.0.236/trunk@35396 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:20:46 +00:00
peterl%netscape.com
0b9d193a00 changed medium testing API
git-svn-id: svn://10.0.0.236/trunk@35395 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:19:57 +00:00
peterl%netscape.com
04e4d15221 added default namespace id
added safety checks when loading is aborted


git-svn-id: svn://10.0.0.236/trunk@35394 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:19:21 +00:00
peterl%netscape.com
64aa772a58 added default namespace id
git-svn-id: svn://10.0.0.236/trunk@35393 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:18:37 +00:00
peterl%netscape.com
da190bcd66 added default namespace ID to loading
git-svn-id: svn://10.0.0.236/trunk@35392 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:18:23 +00:00
peterl%netscape.com
82c9e7225a added namespace definitions
git-svn-id: svn://10.0.0.236/trunk@35391 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:17:17 +00:00
peterl%netscape.com
ba3297bfed delete floaters before regular children
git-svn-id: svn://10.0.0.236/trunk@35390 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:16:29 +00:00
peterl%netscape.com
eb90ef2c8a use new medium testing api
use enumeration func for faster rule matching


git-svn-id: svn://10.0.0.236/trunk@35389 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:15:51 +00:00
peterl%netscape.com
8b5a5bc0d9 added create child namespace by id
git-svn-id: svn://10.0.0.236/trunk@35388 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:14:59 +00:00
peterl%netscape.com
1721617943 added UseForMedium (for faster medium testing)
git-svn-id: svn://10.0.0.236/trunk@35387 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:14:31 +00:00
peterl%netscape.com
1e96c5e167 added new create child namespace
git-svn-id: svn://10.0.0.236/trunk@35386 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:14:09 +00:00
mcmullen%netscape.com
353309812c oh, that ./ again.
git-svn-id: svn://10.0.0.236/trunk@35385 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:57:17 +00:00
mcmullen%netscape.com
e340b53e30 oh, that ./ again.
git-svn-id: svn://10.0.0.236/trunk@35384 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:56:33 +00:00
sspitzer%netscape.com
092f276537 change to get the message ID and the message number to show up in the message pane
when the user displays a message that has been cancelled.


git-svn-id: svn://10.0.0.236/trunk@35383 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:55:36 +00:00
mcmullen%netscape.com
9bd79920cc More nsIFileSpec/Locator changes (merge conflicts with profile stuff messed this up)
git-svn-id: svn://10.0.0.236/trunk@35382 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:51:29 +00:00
rjc%netscape.com
baeb3ea890 Fix depth.
git-svn-id: svn://10.0.0.236/trunk@35381 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:32:53 +00:00
mcmullen%netscape.com
11d23ef644 idlized now
git-svn-id: svn://10.0.0.236/trunk@35380 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:29:54 +00:00
rjc%netscape.com
cf6795d693 Put Search resources into res/samples
git-svn-id: svn://10.0.0.236/trunk@35379 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:28:46 +00:00
av%netscape.com
593e7ef293 Hooking up event passing to winless plugins
git-svn-id: svn://10.0.0.236/trunk@35378 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:28:23 +00:00
waterson%netscape.com
29e6fa110d Clean up stack trace output: add displacements and remove spaces that sometimes appear in demangled symbols (so my perl script doesn't barf).
git-svn-id: svn://10.0.0.236/trunk@35377 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:27:09 +00:00
rjc%netscape.com
eb7e1a1ec1 Add search resources into res/samples.
git-svn-id: svn://10.0.0.236/trunk@35376 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:26:33 +00:00
mcmullen%netscape.com
0c1ba60273 Changed to use nsIFileSpec
git-svn-id: svn://10.0.0.236/trunk@35375 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:25:28 +00:00
mcmullen%netscape.com
f2e6c8d4de nsIFileLocator's API has changed.
git-svn-id: svn://10.0.0.236/trunk@35374 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:25:03 +00:00
warren%netscape.com
7325d54d58 New file transport test using nsFileChannels instead.
git-svn-id: svn://10.0.0.236/trunk@35373 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:22:25 +00:00
rjc%netscape.com
b2ed125d6e Add in appropriate MANIFEST and makefiles.
git-svn-id: svn://10.0.0.236/trunk@35372 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:21:47 +00:00
mcmullen%netscape.com
7cbe853773 idlized nsIFileLocator, created appshellIDL.mcp
git-svn-id: svn://10.0.0.236/trunk@35371 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:20:48 +00:00
warren%netscape.com
0a96edf3cb Removed file transport, now consolidated with file channel. Various buffer(stream) cleanup.
git-svn-id: svn://10.0.0.236/trunk@35370 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:18:40 +00:00
mcmullen%netscape.com
64e43d4fee Added inline convenience methods.
git-svn-id: svn://10.0.0.236/trunk@35369 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:18:04 +00:00
mcmullen%netscape.com
05116a2914 idlized nsIFileLocator
git-svn-id: svn://10.0.0.236/trunk@35368 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:18:02 +00:00
mcmullen%netscape.com
ab933eb087 Changed API to nsIPref
git-svn-id: svn://10.0.0.236/trunk@35367 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:18:01 +00:00
mcmullen%netscape.com
7e5a37fddc Changed API for nsIFileLocator
git-svn-id: svn://10.0.0.236/trunk@35366 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:18:00 +00:00
mcmullen%netscape.com
da5a1f912c Made write and read do an implicit open. Added a FileContents attribute to allow simple conversion between an entire file and a string.
git-svn-id: svn://10.0.0.236/trunk@35365 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:17:59 +00:00
mcmullen%netscape.com
b2485f0c47 Changed API to nsIFileLocator
git-svn-id: svn://10.0.0.236/trunk@35364 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:17:58 +00:00
mcmullen%netscape.com
8ca5588a22 idlized nsIFileLocator.
git-svn-id: svn://10.0.0.236/trunk@35363 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:17:57 +00:00
mcmullen%netscape.com
548a10029e Call pref->ReadUserPrefs()
git-svn-id: svn://10.0.0.236/trunk@35362 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:17:56 +00:00
mcmullen%netscape.com
f5e5ff2fe2 Use nsIFileSpec. Also added ReadUserPrefs() method.
git-svn-id: svn://10.0.0.236/trunk@35361 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:17:55 +00:00
rjc%netscape.com
265453b5a7 Check-in search UI.
git-svn-id: svn://10.0.0.236/trunk@35360 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:14:37 +00:00
rjc%netscape.com
67b4b2ccc8 Cleanup a bit.
git-svn-id: svn://10.0.0.236/trunk@35359 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:11:05 +00:00
rjc%netscape.com
0e15eff54e Added HTTP POST support for searching.
git-svn-id: svn://10.0.0.236/trunk@35358 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:07:29 +00:00
sspitzer%netscape.com
2f0909d91e remove the "." from Subscribe. it launches subscribe.xul (in all it's glory) now.
git-svn-id: svn://10.0.0.236/trunk@35357 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:03:40 +00:00
mccabe%netscape.com
f5f92fe30e Fix number of arguments to the fprintf format string I changed yesterday.
git-svn-id: svn://10.0.0.236/trunk@35356 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:59:19 +00:00
warren%netscape.com
07f8f36a84 Added PR_LOG stuff.
git-svn-id: svn://10.0.0.236/trunk@35355 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:57:07 +00:00
jband%netscape.com
cc65384092 removing an assert that is no longer appropriate
git-svn-id: svn://10.0.0.236/trunk@35354 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:46:18 +00:00
mcafee%netscape.com
7c1443cdd0 Remove bogus commented service deletion.
git-svn-id: svn://10.0.0.236/trunk@35353 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:36:41 +00:00
mcafee%netscape.com
678fa54119 Enabling nsDragService factory creation.
git-svn-id: svn://10.0.0.236/trunk@35352 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:30:36 +00:00
gagan%netscape.com
3008a4f872 Added nsIChannel::Open temporarily to get the test working. There is a problem with the nsIBuffer search routine (see news://npm.netlib) which causes an assertion since refcnt gets reset after a Read following a Search on nsIBuffer.
git-svn-id: svn://10.0.0.236/trunk@35351 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:30:34 +00:00
bryce-mozilla%nextbus.com
febafd9e44 Assorted minor UI cleanups (mostly putting navigation headers in, and
rewording "return to query page" for pages where that is not always true.
Also add two options to the main index.html


git-svn-id: svn://10.0.0.236/trunk@35350 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:29:05 +00:00
sspitzer%netscape.com
5ff037aa9e add the ".\" so the resources get exported.
git-svn-id: svn://10.0.0.236/trunk@35349 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:26:01 +00:00
bryce-mozilla%nextbus.com
68a4a1e8e1 Fix several browsers, Lynx and Opera at least. HTML syntax errors here
and there were fixed, and serverpush was restricted only to the versions
of Mozilla known to support it.


git-svn-id: svn://10.0.0.236/trunk@35348 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:25:29 +00:00
sspitzer%netscape.com
823e0fcb39 launch the subscribe dialog.
git-svn-id: svn://10.0.0.236/trunk@35347 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:22:41 +00:00
blizzard%redhat.com
449c08cbfa more gfx work
git-svn-id: svn://10.0.0.236/trunk@35346 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:19:11 +00:00
sfraser%netscape.com
5e982a0832 Added nsScrollbarButtonFrame.cpp, and fix constness of MouseClicked param.
git-svn-id: svn://10.0.0.236/trunk@35345 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:10:27 +00:00
mcafee%netscape.com
c09a0a2dd8 Minor reformatting.
git-svn-id: svn://10.0.0.236/trunk@35344 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:07:36 +00:00
cmanske%netscape.com
1f35ff9acd HLine dialog improvements
git-svn-id: svn://10.0.0.236/trunk@35343 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:03:22 +00:00
evaughan%netscape.com
228c4d1aef Integrated a new XP scrollbar
Added tri state behavior to titled buttons.


git-svn-id: svn://10.0.0.236/trunk@35342 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:02:43 +00:00
alecf%netscape.com
a5d51bf47d add type attribute to nsIMsgIncomingServer, and reduce warnings by not using "value"
git-svn-id: svn://10.0.0.236/trunk@35341 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:47:59 +00:00
briano%netscape.com
4f17293d1a Change to support platforms that don't have fchmod().
git-svn-id: svn://10.0.0.236/trunk@35340 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:43:46 +00:00
briano%netscape.com
044d4d3556 Automated update
git-svn-id: svn://10.0.0.236/trunk@35339 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:41:07 +00:00
bienvenu%netscape.com
6e7a02d30b use character set stored in dbfolderino
git-svn-id: svn://10.0.0.236/trunk@35338 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:41:05 +00:00
briano%netscape.com
b95b589d49 Initial changes to support BeOS.
git-svn-id: svn://10.0.0.236/trunk@35337 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:35:49 +00:00
mscott%netscape.com
33f5fa6cb0 Mark the url as finished AFTER we are done with the url in the nsMailboxProtocol::OnStopBinding call. We were marking the url as done and then cleaning up our file state (such as closing the temp file).
git-svn-id: svn://10.0.0.236/trunk@35336 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:35:30 +00:00
alecf%netscape.com
f2d254d1bd use new code for opening preferences with a specific pref page
git-svn-id: svn://10.0.0.236/trunk@35335 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:32:02 +00:00
alecf%netscape.com
8c03177cde search dialog is now active
git-svn-id: svn://10.0.0.236/trunk@35334 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:31:28 +00:00
vidur%netscape.com
d35239d364 More graceful handling of the orphaned window case.
git-svn-id: svn://10.0.0.236/trunk@35333 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:25:41 +00:00
waterson%netscape.com
3fecdf8813 Add MOZ_TRACE_REFCNT to allow you to instrument individual implementations of AddRef() & Release().
git-svn-id: svn://10.0.0.236/trunk@35332 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:25:27 +00:00
briano%netscape.com
b0d6138e47 Added support for BeOS. Contributed by Duncan Wilcox (duncan@be.com).
git-svn-id: svn://10.0.0.236/trunk@35331 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:24:25 +00:00
waterson%netscape.com
7a3806e659 Spit out a mapfile, for kicks.
git-svn-id: svn://10.0.0.236/trunk@35330 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:21:49 +00:00
waterson%netscape.com
e83567c0f1 Add REF into the element map so that the generic builder sees it in OnAssert() and OnUnassert(). Resolve it to an absolute URI before using so that ref='foo/bar.rdf#bing' works.
git-svn-id: svn://10.0.0.236/trunk@35329 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:21:20 +00:00
waterson%netscape.com
167d4bc642 Bug 7385. Open datasources asynchronously by default.
git-svn-id: svn://10.0.0.236/trunk@35328 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:19:33 +00:00
vidur%netscape.com
752bdba383 Changed reference counting rules for nsGlobalWindow - now its JSObject maintains a reference to it. The root for the global JSObject is now removed in SetWebShell when we're going away. Lots of null checks so that standalone global window doesn't crash.
git-svn-id: svn://10.0.0.236/trunk@35327 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:17:11 +00:00
vidur%netscape.com
447eb03126 Fixed memory leak when new windows were opened
git-svn-id: svn://10.0.0.236/trunk@35326 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:15:37 +00:00
joki%netscape.com
1b13b0f841 Fixes for event going to frames which have changes as a result of other event handlers. (loosely bug 1283)
git-svn-id: svn://10.0.0.236/trunk@35325 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:14:28 +00:00
shaver%netscape.com
b98a4b3425 xpidl_idl.c rewrite for improved maintenance, fixed bugs and whiter teeth
git-svn-id: svn://10.0.0.236/trunk@35324 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 03:07:44 +00:00
jband%netscape.com
0fd8424124 fix for bug 7940. Notification in xpconnect of JSContext about to be destroyed was zeroing out information later used to remove gc root. This was keeping JS_RemoveRoot from being called for those objects. So, the JSRuntime was getting left with pointers to roots for stuff on JSContexts long since destroyed and for which memory had been recycled. The fix is to be *sure* to do all the proper cleanup in xpconnect upon notification that a JSContext is about to be destroyed.
git-svn-id: svn://10.0.0.236/trunk@35323 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 02:48:26 +00:00
rhp%netscape.com
b0f5c6fefe Fixes for completion code checking
git-svn-id: svn://10.0.0.236/trunk@35322 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 02:31:27 +00:00
rhp%netscape.com
7bf867f8e8 Correct usage of return codes
git-svn-id: svn://10.0.0.236/trunk@35321 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 02:30:55 +00:00
hyatt%netscape.com
5cacc78db3 fixing a bug in getframeforpoint for nested row groups
git-svn-id: svn://10.0.0.236/trunk@35320 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 02:27:17 +00:00
ftang%netscape.com
c12062ec71 fix bug 7544
git-svn-id: svn://10.0.0.236/trunk@35319 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 02:21:03 +00:00
ducarroz%netscape.com
ee0ad1d392 fix for bug 8029. ResolveAlias should not set the nsFileSpe's internal error mError if the file doesn't exist which is a legal state during the creation of an nsFileSpec object.
git-svn-id: svn://10.0.0.236/trunk@35318 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 02:19:23 +00:00
sspitzer%netscape.com
7a434edbb3 check for null before deferencing.
git-svn-id: svn://10.0.0.236/trunk@35317 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 02:11:56 +00:00
rickg%netscape.com
1e824d81bc more error reporting in ToInteger()
git-svn-id: svn://10.0.0.236/trunk@35316 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 02:03:33 +00:00
phillip%netscape.com
56837741f7 smoke.pl now changes to apprunner_bin before invoking apprunner
git-svn-id: svn://10.0.0.236/trunk@35315 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 02:02:58 +00:00
hangas%netscape.com
61e2cc35f8 Removed hack to work around bug 7803.
git-svn-id: svn://10.0.0.236/trunk@35314 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 01:57:49 +00:00
akkana%netscape.com
ae46c37f43 6180: Use proper Mac linebreaks on Mac; 6083: Don't output '=value' in attributes unless there is a value
git-svn-id: svn://10.0.0.236/trunk@35313 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 01:42:16 +00:00
ftang%netscape.com
68ed891b0f fix bug 5565
git-svn-id: svn://10.0.0.236/trunk@35312 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 01:27:44 +00:00
putterman%netscape.com
d4d748d801 Get summary totals for all folders on startup, not just leaf folders.
git-svn-id: svn://10.0.0.236/trunk@35311 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 01:25:46 +00:00
putterman%netscape.com
fdffe24292 Commit after setting charset.
git-svn-id: svn://10.0.0.236/trunk@35310 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 01:25:15 +00:00
putterman%netscape.com
8583ae8b7d Add charset method.
git-svn-id: svn://10.0.0.236/trunk@35309 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 01:24:56 +00:00
tague%netscape.com
7d9a2e947d backed out last change.
git-svn-id: svn://10.0.0.236/trunk@35308 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 01:24:23 +00:00
mcafee%netscape.com
7ec1fd3f8b Patch for BeOS, thanks to Duncan Wilcox.
git-svn-id: svn://10.0.0.236/trunk@35307 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 01:24:06 +00:00
putterman%netscape.com
88922114e0 Add back charset method.
git-svn-id: svn://10.0.0.236/trunk@35306 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 01:23:34 +00:00
hyatt%netscape.com
b91d25c962 Added support for incremental reflow of nested row groups (yeah, baby, yeah, baby, YEAH).
git-svn-id: svn://10.0.0.236/trunk@35305 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 01:19:18 +00:00
sspitzer%netscape.com
45bd135183 fix windows build bustage.
git-svn-id: svn://10.0.0.236/trunk@35304 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 01:03:44 +00:00
tague%netscape.com
0eb2d25a55 Modified logic so that shortcut keys are actually returns an NS_OK when the keydown handler handels them.
git-svn-id: svn://10.0.0.236/trunk@35303 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 01:02:14 +00:00
rogerl%netscape.com
b5540991c3 Changes to get traditional functions with args. working
git-svn-id: svn://10.0.0.236/trunk@35302 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:57:05 +00:00
alecf%netscape.com
26c8590a2b add extra <treecell> tags so entire row selection works
git-svn-id: svn://10.0.0.236/trunk@35301 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:56:30 +00:00
davidm%netscape.com
c16321300c 8008 Task Menu | Services A-D do not work
git-svn-id: svn://10.0.0.236/trunk@35300 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:55:31 +00:00
alecf%netscape.com
a6224ff4c3 hook up close button
git-svn-id: svn://10.0.0.236/trunk@35299 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:52:49 +00:00
alecf%netscape.com
bada5688fd add code to open Search and Filter dialogs from menus, and put functions in the right place
git-svn-id: svn://10.0.0.236/trunk@35298 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:49:23 +00:00
alecf%netscape.com
b7844aad20 fix filter list dialog - preftree.css is gone, etc..
git-svn-id: svn://10.0.0.236/trunk@35297 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:48:19 +00:00
waterson%netscape.com
9ff1127f25 Add MPL. Alter registry loading code to insulate from whatever policy needs to be used for loading RDF/XML from the RDF service.
git-svn-id: svn://10.0.0.236/trunk@35296 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:44:33 +00:00
waterson%netscape.com
8273c8bced Use RDF/XML datasource directly, rather than loading through RDF service. The separates this from whatever policy RDF service ends up needing to use for RDF/XML. Chrome registry _must_ be loaded synchronously no matter what.
git-svn-id: svn://10.0.0.236/trunk@35295 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:42:45 +00:00
mccabe%netscape.com
26b14e1548 Remove reference to the f_noscript field, which gets set when libIDL sees a bare 'noscript' keyword.
This fixes compiling against libIDL 0.6.8, which has changed the field to __f_noscript to deprecate.  Rightly so, as noscript is expressible as a bracketed [property], and we want it to go away too.  Ignoring it rather than #ifdef'ing saves us future maintenance hassle.


git-svn-id: svn://10.0.0.236/trunk@35294 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:37:46 +00:00
sspitzer%netscape.com
3c147e85aa alerts are too broken to use at this point. #7770 and other bugs. argh.
git-svn-id: svn://10.0.0.236/trunk@35293 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:35:43 +00:00
gagan%netscape.com
f2395ad7bf Fixes to urltest.cpp.
git-svn-id: svn://10.0.0.236/trunk@35292 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:34:37 +00:00
hangas%netscape.com
330d5159f4 Removed parameter from onchange= in address book window and select address dialog.
git-svn-id: svn://10.0.0.236/trunk@35291 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:30:56 +00:00
ducarroz%netscape.com
d3e870d992 fix bug #8124, catch JS execption while setting the wrapColumn.
git-svn-id: svn://10.0.0.236/trunk@35290 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:24:10 +00:00
ducarroz%netscape.com
5a325382c8 update Editor toolbar
git-svn-id: svn://10.0.0.236/trunk@35289 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:23:00 +00:00
rhp%netscape.com
b720dccaeb Fix for GMT offset bug
git-svn-id: svn://10.0.0.236/trunk@35288 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:10:34 +00:00
alecf%netscape.com
d3e57ed0c9 fix capital E
git-svn-id: svn://10.0.0.236/trunk@35287 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:04:40 +00:00
alecf%netscape.com
2285a919a0 update menus, add search menu, etc
git-svn-id: svn://10.0.0.236/trunk@35286 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 00:01:23 +00:00
jj%netscape.com
dd2c0b7fd4 changed completion log string from "Build NGLayout complete" to "Build complete" to match changes made in release scripts ("BuildNGLayout.pl" and "BuildNGLayoutDebug.pl") --jj.
git-svn-id: svn://10.0.0.236/trunk@35285 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:49:45 +00:00
hyatt%netscape.com
5b1e30c2d8 More nested row group work.
git-svn-id: svn://10.0.0.236/trunk@35284 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:45:14 +00:00
briano%netscape.com
83bd1d2db2 Automated update
git-svn-id: svn://10.0.0.236/trunk@35283 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:44:52 +00:00
hyatt%netscape.com
18e1eab082 More nested row group changes.
git-svn-id: svn://10.0.0.236/trunk@35282 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:42:16 +00:00
rpotts%netscape.com
75b59e64ac Changed printf(...) to puts(...) in OnDataAvailable(...) calls. This allows % characters to be present in the output stream without crashing the test app... Added call to AsyncRead(... )in Testprotocols.cpp to get http working again...
git-svn-id: svn://10.0.0.236/trunk@35281 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:42:12 +00:00
cbegle%netscape.com
f8e8a60864 Fix error in test. Arrays should be sorted by the string value of their
members, even if they're numbers.


git-svn-id: svn://10.0.0.236/trunk@35280 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:39:14 +00:00
radha%netscape.com
a48894abaf New arguments to OnEndDocumentLoad()
git-svn-id: svn://10.0.0.236/trunk@35279 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:37:37 +00:00
briano%netscape.com
96c9d37399 Fix for non-pthreadable Linux libc5/glibc1 builds (bug 7567). Thanks to tenthumbs@cybernex.net for the fix.
git-svn-id: svn://10.0.0.236/trunk@35278 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:37:06 +00:00
radha%netscape.com
57e6c8e9b2 New arguments to OnEndDocumentLoad() added
git-svn-id: svn://10.0.0.236/trunk@35277 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:36:24 +00:00
despotdaemon%netscape.com
3c20bcb00f Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@35276 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:30:42 +00:00
despotdaemon%netscape.com
14a2270e1c Pseudo-automatic update of changes made by brendan@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@35275 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:28:05 +00:00
buster%netscape.com
e9933eba30 fixed keydown event processing to return NS_OK when a key is not handled.
git-svn-id: svn://10.0.0.236/trunk@35274 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:25:48 +00:00
sfraser%netscape.com
fa083d6e2a Add JS logging files for kin.
git-svn-id: svn://10.0.0.236/trunk@35273 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:21:03 +00:00
blizzard%redhat.com
479be36988 merge erik's changes
git-svn-id: svn://10.0.0.236/trunk@35272 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:20:51 +00:00
sfraser%netscape.com
546d03c21a Include new config file
git-svn-id: svn://10.0.0.236/trunk@35271 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:20:36 +00:00
sfraser%netscape.com
3b8a6cc841 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@35270 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:20:24 +00:00
vidur%netscape.com
9c6cbaff82 Implemented Set/GetValue for Select elements
git-svn-id: svn://10.0.0.236/trunk@35269 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:14:17 +00:00
sspitzer%netscape.com
1c9d68fcb2 ignore the generated Makefile
git-svn-id: svn://10.0.0.236/trunk@35268 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:05:23 +00:00
slamm%netscape.com
810c303a52 Use chrome URLs. Fix for bug #6369.
git-svn-id: svn://10.0.0.236/trunk@35267 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:01:15 +00:00
akkana%netscape.com
9d72b542eb Change NS_ASSERTION to NS_VERIFY -- not a fatal condition
git-svn-id: svn://10.0.0.236/trunk@35266 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:00:50 +00:00
slamm%netscape.com
d0e35f79c5 Add entry for Sidebar skin. Fix for bug #6369.
git-svn-id: svn://10.0.0.236/trunk@35265 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:59:42 +00:00
erik%netscape.com
c26865436d Added support for CP 1251 and KOI8-R fonts (Cyrillic).
git-svn-id: svn://10.0.0.236/trunk@35264 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:55:39 +00:00
mcmullen%netscape.com
eace9f2cd3 Fix casting problem
git-svn-id: svn://10.0.0.236/trunk@35263 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:55:24 +00:00
alecf%netscape.com
ff1427278d implement GetPrettyName() correctly - return the hostname if no prettyname is known
git-svn-id: svn://10.0.0.236/trunk@35262 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:53:09 +00:00
alecf%netscape.com
7e47cd0829 fix leak in case it fails (GetLocalPath might return nsnull)
git-svn-id: svn://10.0.0.236/trunk@35261 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:51:41 +00:00
alecf%netscape.com
13af06acae add searchdialog.js to the build
git-svn-id: svn://10.0.0.236/trunk@35260 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:49:05 +00:00
alecf%netscape.com
3c9ca436f3 implement more/less and add strawman for auto-updating combo boxes when search terms change
git-svn-id: svn://10.0.0.236/trunk@35259 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:47:42 +00:00
ducarroz%netscape.com
c74a5a88b4 add nsICopyMsgStreamListener.idl
git-svn-id: svn://10.0.0.236/trunk@35258 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:47:38 +00:00
mscott%netscape.com
f9b8092054 Fix for Bug #8117 --> aborting a connection was causing an error condition to get passed into the
nsDocumentLoader::OnStopBinding. But an abort is not an error condition. the document loader
was incorrectly complaining that we had an error when we really didn't.


git-svn-id: svn://10.0.0.236/trunk@35257 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:47:15 +00:00
alecf%netscape.com
ab2f4d08b2 localize this file
git-svn-id: svn://10.0.0.236/trunk@35256 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:46:28 +00:00
putterman%netscape.com
606d7774a4 use nsICopyMsgStreamListener.
git-svn-id: svn://10.0.0.236/trunk@35255 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:44:33 +00:00
putterman%netscape.com
8e3a860ed7 use nsICopyMsgStreamListener.idl
git-svn-id: svn://10.0.0.236/trunk@35254 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:44:03 +00:00
putterman%netscape.com
39a0ff2bde changed nsICopyMessageStreamListener.idl to nsICopyMsgStreamListener.idl
git-svn-id: svn://10.0.0.236/trunk@35253 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:43:45 +00:00
kin%netscape.com
ede67127dc Fixed "===" typo.
git-svn-id: svn://10.0.0.236/trunk@35252 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:42:35 +00:00
radha%netscape.com
e0e4bffb67 Added nsISessionHistory.h
git-svn-id: svn://10.0.0.236/trunk@35251 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:36:46 +00:00
edwin%woudt.nl
2ec00ce50f Oops, lameness. Also: switch the two comments on the previous commits of these two files.
git-svn-id: svn://10.0.0.236/trunk@35250 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:36:19 +00:00
av%netscape.com
2ce886b9fe Cleaning up
git-svn-id: svn://10.0.0.236/trunk@35249 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:35:46 +00:00
ssu%netscape.com
e068d78c95 updated makefile to define USE_NON_MT_LIBS (use libc.lib)
git-svn-id: svn://10.0.0.236/trunk@35248 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:35:21 +00:00
jband%netscape.com
c2465637b3 updating status page
git-svn-id: svn://10.0.0.236/trunk@35247 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:33:18 +00:00
rpotts%netscape.com
611aedf097 Temporary implementation of AsyncRead(...). Fixed some ref-counting bugs with the NS_WITH_SERVICE macro...
git-svn-id: svn://10.0.0.236/trunk@35246 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:32:54 +00:00
radha%netscape.com
257dd26c58 Increase the height of the location bar as per request from QA. BUG # 3805
git-svn-id: svn://10.0.0.236/trunk@35245 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:32:22 +00:00
slamm%netscape.com
119c6c4a82 Defaults are good enough for margin, padding, and border.
git-svn-id: svn://10.0.0.236/trunk@35244 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:31:52 +00:00
slamm%netscape.com
6bbdbf71b6 Use one generic sidebar.css that everyone shares.
git-svn-id: svn://10.0.0.236/trunk@35243 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:28:32 +00:00
slamm%netscape.com
48b0222d5d simplify sidebar styles. Inherit more from xul.css
git-svn-id: svn://10.0.0.236/trunk@35242 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:27:40 +00:00
sspitzer%netscape.com
df34a26f31 fix my debugging printfs. if we are on a PC, allow the dialogs to show up.
git-svn-id: svn://10.0.0.236/trunk@35241 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:27:34 +00:00
sspitzer%netscape.com
ec710c89b2 if we are on a PC, allow the dialogs to pop up.
git-svn-id: svn://10.0.0.236/trunk@35240 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:26:47 +00:00
putterman%netscape.com
cfcf136257 Added deleteStorage parameter.
git-svn-id: svn://10.0.0.236/trunk@35239 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:25:10 +00:00
putterman%netscape.com
d56278b0bd Add deleteStorage parameter.
git-svn-id: svn://10.0.0.236/trunk@35238 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:24:52 +00:00
putterman%netscape.com
897f278d3d Move messages to trash on delete.
git-svn-id: svn://10.0.0.236/trunk@35237 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:24:35 +00:00
putterman%netscape.com
d1f5db2195 DeleteStorage on delete message.
git-svn-id: svn://10.0.0.236/trunk@35236 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:24:16 +00:00
putterman%netscape.com
4a352f4269 Added GetRootFolder.
git-svn-id: svn://10.0.0.236/trunk@35235 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:22:51 +00:00
putterman%netscape.com
5e4ac05bb8 nsCopyMessageStreamListener can be created from the factory, and deleting a message
doesn't deleteStorage.


git-svn-id: svn://10.0.0.236/trunk@35231 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:22:19 +00:00
rhp%netscape.com
45b77f8744 Fix for Bug#: 5866 ... I think this is fixed...again
git-svn-id: svn://10.0.0.236/trunk@35230 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:21:01 +00:00
putterman%netscape.com
23594e80f4 created nsICopyMessageStreamListener interface and added deleteStorage and GetRootFolder
to nsIMsgFolder.


git-svn-id: svn://10.0.0.236/trunk@35229 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:20:19 +00:00
ssu%netscape.com
3b9be65438 added USE_NON_MT_LIBS definition
git-svn-id: svn://10.0.0.236/trunk@35228 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:19:41 +00:00
putterman%netscape.com
7b0e5aeeda nsCopymessageStreamListener can be created through the factory.
git-svn-id: svn://10.0.0.236/trunk@35226 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:19:22 +00:00
mcafee%netscape.com
91b047854d Fixing Solaris memory problem, patch supplied by bruce@cybersight.com. a=mcmullen (6098)
git-svn-id: svn://10.0.0.236/trunk@35225 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:18:29 +00:00
jband%netscape.com
d320ba1de8 adding BeOS x86 changes from Duncan Wilcox <duncan@be.com>
git-svn-id: svn://10.0.0.236/trunk@35224 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:17:41 +00:00
mcmullen%netscape.com
cb3ce29e0b Added nsSessionHistory.cpp for radha.
git-svn-id: svn://10.0.0.236/trunk@35223 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:16:18 +00:00
ducarroz%netscape.com
0619184fed do not export an auto-generated interface file (nsIDBFolderInfo.h)
git-svn-id: svn://10.0.0.236/trunk@35222 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:13:56 +00:00
radha%netscape.com
61370baba7 New arguments for OnEndDocumentLoad()
git-svn-id: svn://10.0.0.236/trunk@35221 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:13:00 +00:00
radha%netscape.com
3c239c8b1a OnEndDocumentLoad now has a handle to the observer
git-svn-id: svn://10.0.0.236/trunk@35220 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:12:19 +00:00
radha%netscape.com
6bc9c37235 New methods for session history
git-svn-id: svn://10.0.0.236/trunk@35219 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:11:47 +00:00
radha%netscape.com
7a44de9e4e OnEndDocumentLoad() now has a handle to the caller in the argument list. Need it
for session History


git-svn-id: svn://10.0.0.236/trunk@35218 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:11:22 +00:00
radha%netscape.com
2ed23c55c0 Few new methods to support session history
git-svn-id: svn://10.0.0.236/trunk@35217 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:10:41 +00:00
radha%netscape.com
31defc43b0 OnEndDocumentLoad() now has a pointer to the caller in the argument list
git-svn-id: svn://10.0.0.236/trunk@35216 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:09:55 +00:00
vidur%netscape.com
3035417772 Fix for bug 6154. Unqualified references in the context of a form are now resolved.
git-svn-id: svn://10.0.0.236/trunk@35215 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:09:25 +00:00
radha%netscape.com
9ec09955af Implement Session history interfaces
git-svn-id: svn://10.0.0.236/trunk@35214 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:09:13 +00:00
radha%netscape.com
54b85a6eeb Add session History to the factory list
git-svn-id: svn://10.0.0.236/trunk@35213 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:08:21 +00:00
saari%netscape.com
547a56c0e5 Fixed some bugs in key listeners
git-svn-id: svn://10.0.0.236/trunk@35212 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:06:50 +00:00
radha%netscape.com
48e3773fb4 Add Session History to the factory
git-svn-id: svn://10.0.0.236/trunk@35211 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:06:49 +00:00
saari%netscape.com
56f053a605 Adding nsXULKeyListener again...
git-svn-id: svn://10.0.0.236/trunk@35210 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:06:24 +00:00
mcmullen%netscape.com
2df6c9fa5c Registered nsIDirectoryIterator
git-svn-id: svn://10.0.0.236/trunk@35209 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:06:22 +00:00
radha%netscape.com
378b503e34 OnEndDocumentLoad() now has the caller as an argument
git-svn-id: svn://10.0.0.236/trunk@35208 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:06:13 +00:00
mcmullen%netscape.com
547167bb7c Made write and read do an implicit open. Added a FileContents attribute to allow simple conversion between an entire file and a string.
git-svn-id: svn://10.0.0.236/trunk@35207 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:05:41 +00:00
radha%netscape.com
6eaeee69dd Add session History to build list
git-svn-id: svn://10.0.0.236/trunk@35206 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:05:30 +00:00
karnaze%netscape.com
beb5583b23 fixed images referenced in regression tests
git-svn-id: svn://10.0.0.236/trunk@35205 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:05:29 +00:00
radha%netscape.com
1be1c85f5b Initial Checkin
git-svn-id: svn://10.0.0.236/trunk@35204 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:05:07 +00:00
saari%netscape.com
061e0a72af Adding nsXULKeyListener to the Win and GTK builds
git-svn-id: svn://10.0.0.236/trunk@35203 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:04:32 +00:00
mcmullen%netscape.com
7d58679f65 Added constructors from new nsIFileSpec
git-svn-id: svn://10.0.0.236/trunk@35202 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:04:27 +00:00
radha%netscape.com
d4925d7a68 Session History. Initial checkins
git-svn-id: svn://10.0.0.236/trunk@35201 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:04:15 +00:00
bienvenu%netscape.com
eb380feb54 remove nsIDBFolderInfo.h from exports
git-svn-id: svn://10.0.0.236/trunk@35200 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 22:02:20 +00:00
ducarroz%netscape.com
c5a84d91e8 add build instruction for mailnews:base:search:public:MANIFEST and for mailnews:db:macbuild:msgDBIDL.mcp
git-svn-id: svn://10.0.0.236/trunk@35199 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:53:34 +00:00
edwin%woudt.nl
a7e8033a85 Fix to get viewing readonly folders working
git-svn-id: svn://10.0.0.236/trunk@35198 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:52:28 +00:00
law%netscape.com
478e7c417a Wiring up More Info... button
git-svn-id: svn://10.0.0.236/trunk@35197 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:52:23 +00:00
frankm%eng.sun.com
293ea440fe Add "fast" make target, to compile only changed files.
git-svn-id: svn://10.0.0.236/trunk@35196 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:51:52 +00:00
bienvenu%netscape.com
1de3516033 convert to idl for nsIDBFolderInfo
git-svn-id: svn://10.0.0.236/trunk@35194 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:46:37 +00:00
edwin%woudt.nl
b68b57c213 remove the message header because it is already displayed in the body itself
git-svn-id: svn://10.0.0.236/trunk@35193 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:44:55 +00:00
ducarroz%netscape.com
a14c604b99 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@35192 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:41:14 +00:00
cata%netscape.com
39549a02b1 Bugfix.
git-svn-id: svn://10.0.0.236/trunk@35191 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:38:50 +00:00
edwin%woudt.nl
8b557774b7 performance improvement
git-svn-id: svn://10.0.0.236/trunk@35190 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:36:00 +00:00
edwin%woudt.nl
7151575972 .newsrc filename issues
git-svn-id: svn://10.0.0.236/trunk@35189 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:35:17 +00:00
sspitzer%netscape.com
6d53c488b5 clean up the cancel code. clean up the html error message that show up in the
message pane if you are viewing a cancelled message.  move alerts from the
nntp service and into the nntp protocol code.  print out any alerts, since bug #7770 isn't fixed.  check "us" vs. "them" before cancelling if the server
doesn't support the CANCELCHK extension.


git-svn-id: svn://10.0.0.236/trunk@35188 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:30:07 +00:00
erik%netscape.com
10005f91eb Removed the ifdef by making the BeOS-specific stuff common to both Unix
and BeOS.


git-svn-id: svn://10.0.0.236/trunk@35187 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:25:04 +00:00
jband%netscape.com
dc57448f3a fix DOM native -> JSObject convert to not leak on failure and to fail fully rather than spuriously fall back and create an xpconnect wrapper
git-svn-id: svn://10.0.0.236/trunk@35186 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:23:46 +00:00
sspitzer%netscape.com
266bdeb26b add NPL.
git-svn-id: svn://10.0.0.236/trunk@35185 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:23:01 +00:00
sspitzer%netscape.com
7d683638d7 make the alert messages show up in the console window. this is just
a hack until 7770 gets fixed.  note:  it only works for single byte languages.


git-svn-id: svn://10.0.0.236/trunk@35184 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:22:13 +00:00
jdunn%netscape.com
45f901db00 fixing macro syntax. HP flagged the construct as an error.
git-svn-id: svn://10.0.0.236/trunk@35183 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:16:05 +00:00
karnaze%netscape.com
99038ad54d regression test images
git-svn-id: svn://10.0.0.236/trunk@35182 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:15:46 +00:00
waterson%netscape.com
fec604c3ef Fix leak of tree element.
git-svn-id: svn://10.0.0.236/trunk@35181 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:15:29 +00:00
tague%netscape.com
caec41a883 Update patch for BeOS.
git-svn-id: svn://10.0.0.236/trunk@35180 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:09:35 +00:00
cbegle%netscape.com
2d17ff5ace Fix test case -- remove commas from the expected result.
git-svn-id: svn://10.0.0.236/trunk@35179 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:06:54 +00:00
mscott%netscape.com
b8d8e91a46 Fix a memory leak.
git-svn-id: svn://10.0.0.236/trunk@35178 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:05:37 +00:00
bienvenu%netscape.com
b8353f02b7 convert to idl for nsIDBFolderInfo
git-svn-id: svn://10.0.0.236/trunk@35177 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 21:03:45 +00:00
briano%netscape.com
feed155138 Automated update
git-svn-id: svn://10.0.0.236/trunk@35176 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:59:52 +00:00
dbragg%netscape.com
133c9a6fb2 Added resources to DIRS macro
git-svn-id: svn://10.0.0.236/trunk@35175 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:58:57 +00:00
dbragg%netscape.com
e6362da180 Changed name to work on Mac
git-svn-id: svn://10.0.0.236/trunk@35174 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:58:18 +00:00
tague%netscape.com
ff9f954cba Fix problem for people building in obj-dir's outside of the tree.
git-svn-id: svn://10.0.0.236/trunk@35173 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:58:14 +00:00
dbragg%netscape.com
be3aed93b1 Changed an include from nsPrefMigrationProgressDialog.h to nsPMProgressDlg.h
git-svn-id: svn://10.0.0.236/trunk@35172 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:57:04 +00:00
mcmullen%netscape.com
e9e6473499 Removed base targets (this change got lost in another checkin, owing to a merge conflict).
git-svn-id: svn://10.0.0.236/trunk@35171 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:55:37 +00:00
mcmullen%netscape.com
ded043986c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@35170 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:53:23 +00:00
briano%netscape.com
ebfd198db2 Fix/hack for Linux variants that don't define _dl_loaded.
git-svn-id: svn://10.0.0.236/trunk@35169 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:52:39 +00:00
jband%netscape.com
e16e9c75be adding strlen replacement that brendan suggested to allow for passing (oneway) JSStrings with embedded NULLs. Also added comment to Makefile.in for Unixish x86
git-svn-id: svn://10.0.0.236/trunk@35168 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:35:26 +00:00
hangas%netscape.com
186eacb62f Added mimEmitter project which is a combination of html, xml, and raw emitter projects. These last three have been removed from the build.
git-svn-id: svn://10.0.0.236/trunk@35167 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:28:42 +00:00
dbragg%netscape.com
4082dcf7d6 Progress Dialog source files name shortening for Mac platform.
git-svn-id: svn://10.0.0.236/trunk@35166 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:27:11 +00:00
hangas%netscape.com
e13c6913c1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@35165 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:25:33 +00:00
dbragg%netscape.com
84161663ef Progress meter xul and css files initial checkin
git-svn-id: svn://10.0.0.236/trunk@35164 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:25:12 +00:00
dougt%netscape.com
5fa77fef77 Adding IsQueueOnCurrentThread().
git-svn-id: svn://10.0.0.236/trunk@35163 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:20:33 +00:00
dougt%netscape.com
9a352b81fd Be OS patch from Duncan Wilcox <duncan@be.com> Thank you.
git-svn-id: svn://10.0.0.236/trunk@35162 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:18:35 +00:00
mscott%netscape.com
d4db300cba Part of emitter re-org. Don't build xml, raw and html directories. Build emitters\build directory.
git-svn-id: svn://10.0.0.236/trunk@35161 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:17:44 +00:00
mscott%netscape.com
aba6216161 Part of emitter re-org. don't build xml, raw & emitter directories. Add build directory.
git-svn-id: svn://10.0.0.236/trunk@35160 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:17:02 +00:00
mscott%netscape.com
a300a2fa69 Part of emitter re-org. Build new emitter files.
git-svn-id: svn://10.0.0.236/trunk@35159 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:16:34 +00:00
mscott%netscape.com
c065ac8c9c Part of emitter re-org landing. Use prog IDs instead of class IDs.
git-svn-id: svn://10.0.0.236/trunk@35158 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:16:04 +00:00
mscott%netscape.com
1d15736fc8 Part of emitter re-org landing. Remove class ids from public interface.
git-svn-id: svn://10.0.0.236/trunk@35157 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:15:14 +00:00
mscott%netscape.com
d044bd2640 Part of emitter re-org landing. Don't build html, xml and raw directories anymore. build new build directory.
git-svn-id: svn://10.0.0.236/trunk@35156 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:14:49 +00:00
mscott%netscape.com
ff70cb0460 Part of emitter re-org landing. Build new emitter files.
git-svn-id: svn://10.0.0.236/trunk@35155 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:14:20 +00:00
mscott%netscape.com
5c4a619463 Part of emitter re-org landing. Move header display types here. I'm using this header file as a common include file.
git-svn-id: svn://10.0.0.236/trunk@35154 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:14:07 +00:00
mcafee%netscape.com
c15b5f2c86 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@35153 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:11:24 +00:00
mcafee%netscape.com
16cfc2fcf3 Spelling error
git-svn-id: svn://10.0.0.236/trunk@35152 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:08:13 +00:00
tague%netscape.com
137476cbfb Portability fix for BeOS. Thanks to duncan@be.com.
git-svn-id: svn://10.0.0.236/trunk@35151 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:06:57 +00:00
tague%netscape.com
e03cefd7c7 Fixed bug #8097 and added a portability patch for BeOS. Thanks to duncan@be.os and david.gardiner@unisa.edu.au for their patches.
git-svn-id: svn://10.0.0.236/trunk@35150 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:06:24 +00:00
kin%netscape.com
38bb3e3ed2 * Added StartLogging() and StopLogging() methods to nsIEditor,
nsIHTMLEditor, nsITextEditor, and nsIEditorShell and enabled
  the "Start Log" and "End Log" menu items in the editor test bed.

* Modified makefiles for Unix and Win32 to turn on  Editor API Logging.

* Added action argument to the DeleteSelection() method in nsIEditorShell.

* Modified nsJSTxnLog to use nsJSEditorLog when writing it's output.


git-svn-id: svn://10.0.0.236/trunk@35149 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 20:02:46 +00:00
matt%netscape.com
5704751b88 Updated css files from german. Addes fixes for titledbuttons
git-svn-id: svn://10.0.0.236/trunk@35148 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 19:14:37 +00:00
beard%netscape.com
7876dc239b support more "java_" prefixed attributes.
git-svn-id: svn://10.0.0.236/trunk@35147 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 18:41:33 +00:00
beard%netscape.com
47d69e47b5 added "application/x-java-applet;version=1.1" for Java plugin compatibility, when will it end?
git-svn-id: svn://10.0.0.236/trunk@35146 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 18:41:18 +00:00
larryh%netscape.com
62a6ee8570 BugZilla #8018
git-svn-id: svn://10.0.0.236/trunk@35143 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 18:07:59 +00:00
terry%mozilla.org
71b813e43c A null quip file was causing errors.
git-svn-id: svn://10.0.0.236/trunk@35142 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 17:37:02 +00:00
terry%mozilla.org
544d8d9cef Added the ability to configure bugzilla so that we only allow local
usernames for email addresses.


git-svn-id: svn://10.0.0.236/trunk@35141 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 17:33:52 +00:00
beard%netscape.com
fcc1f4f5cb support "java_CODE" and "CLASSID" attributes.
git-svn-id: svn://10.0.0.236/trunk@35140 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 16:56:11 +00:00
beard%netscape.com
cf41488e53 added "application/x-java-applet;version=1.1.2" for Java plugin compatibility
git-svn-id: svn://10.0.0.236/trunk@35139 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 16:55:23 +00:00
beard%netscape.com
a0bf3fbecd now looks for MIME types that merely start with NS_APPLET_MIME_TYPE for better Sun Java plugin compatibility. changed MRJPlugin::CreateInstance() to use QueryInterface() rather than checking for interfaces itself.
git-svn-id: svn://10.0.0.236/trunk@35138 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 16:54:44 +00:00
beard%netscape.com
7d84137a79 simplified external access paths to point into dist
git-svn-id: svn://10.0.0.236/trunk@35137 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 16:51:34 +00:00
terry%mozilla.org
2960acc2b6 Added BeOS to the list of OS's.
git-svn-id: svn://10.0.0.236/trunk@35136 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 16:46:40 +00:00
rjc%netscape.com
887ac00407 Check for URLs that need to be massaged to be absolute URLs.
git-svn-id: svn://10.0.0.236/trunk@35135 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 09:54:19 +00:00
gagan%netscape.com
2f35eadb9b Added urltest.cpp. Hasn't been compiled as yet.
git-svn-id: svn://10.0.0.236/trunk@35134 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 08:45:27 +00:00
gagan%netscape.com
078256dba8 Added the urltest program as well.
git-svn-id: svn://10.0.0.236/trunk@35133 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 08:44:22 +00:00
mccabe%netscape.com
8e7082b3aa Removed misleading /* interface scooby */ comment in generated #include "scooby.h" line.
git-svn-id: svn://10.0.0.236/trunk@35132 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 08:28:23 +00:00
hyatt%netscape.com
e2c320e27d More nested row group work.
git-svn-id: svn://10.0.0.236/trunk@35131 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 08:22:47 +00:00
rjc%netscape.com
7a84203930 Unset column sorting attributes instead of setting them to false if they aren't active.
git-svn-id: svn://10.0.0.236/trunk@35130 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 08:20:35 +00:00
hyatt%netscape.com
7ea32ee2c4 More changes to allow tables to support nested row groups.
git-svn-id: svn://10.0.0.236/trunk@35129 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 08:01:00 +00:00
rjc%netscape.com
c28700cf2d More search support.
git-svn-id: svn://10.0.0.236/trunk@35128 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 07:14:38 +00:00
beard%netscape.com
ad7eb2da6d bug #7018: conditionally initializing LiveConnect classes only if Java is truly enabled.
git-svn-id: svn://10.0.0.236/trunk@35127 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 06:41:09 +00:00
bruce%cybersight.com
3bed02e2d0 Interface classes really do need to define |GetIID()|. 5 of these files are just being switched over to the macro. The others were all lacking |GetIID()| implementations.
git-svn-id: svn://10.0.0.236/trunk@35126 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 06:16:08 +00:00
rhp%netscape.com
887db136b0 New quoting interface
git-svn-id: svn://10.0.0.236/trunk@35125 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 05:23:06 +00:00
rhp%netscape.com
0e4268630c Adding new quoting interface
git-svn-id: svn://10.0.0.236/trunk@35121 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 05:22:07 +00:00
tague%netscape.com
b3fa226dff Fixed conditional problem when i turned on my keyobard patch.
git-svn-id: svn://10.0.0.236/trunk@35120 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 04:39:03 +00:00
mscott%netscape.com
5a7cb82de1 Fix copy messages which I broke when I cleaned up some of this code. *oops*
git-svn-id: svn://10.0.0.236/trunk@35119 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 04:30:31 +00:00
talisman%anamorphic.com
3aa1b2e565 Minor modifications in response to but #8067. This file was not part of the bug.
git-svn-id: svn://10.0.0.236/trunk@35118 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 03:57:55 +00:00
talisman%anamorphic.com
280ce3deb8 Fixed edwin's code in response to his bug report(#8067). Bug was caused by not setting the button sizes correctly (Dimension.setSize() is not for setting component sizes).
git-svn-id: svn://10.0.0.236/trunk@35117 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 03:57:04 +00:00
tague%netscape.com
32033e0a82 Removed empty export lists from files. This breaks older versions of nmake
git-svn-id: svn://10.0.0.236/trunk@35116 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 03:49:31 +00:00
karnaze%netscape.com
e0745dafd7 regression test
git-svn-id: svn://10.0.0.236/trunk@35115 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 03:46:21 +00:00
erik%netscape.com
d183933e3e Added GetIID.
git-svn-id: svn://10.0.0.236/trunk@35114 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 02:59:55 +00:00
waterson%netscape.com
e8f30d5f43 Add MISCDEP so that DLL gets rebuilt if a static lib changes.
git-svn-id: svn://10.0.0.236/trunk@35113 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 02:22:52 +00:00
bienvenu%netscape.com
16822a2715 prepare for msgdb idl
git-svn-id: svn://10.0.0.236/trunk@35112 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 02:20:41 +00:00
blizzard%redhat.com
b0b65db96c Make sure this interface has a GetIID() method. Approved by Shaver.
git-svn-id: svn://10.0.0.236/trunk@35111 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 02:11:02 +00:00
danm%netscape.com
98e80ada70 adding extensions/wallet/editor for morse
git-svn-id: svn://10.0.0.236/trunk@35110 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 02:09:29 +00:00
dp%netscape.com
9d7270fb87 - NS_RegistryGetFactory API changed
git-svn-id: svn://10.0.0.236/trunk@35109 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 02:08:49 +00:00
dp%netscape.com
aef0c9821c - NS_RegistryGetFactory API Change
- QuickRegister eliminated


git-svn-id: svn://10.0.0.236/trunk@35108 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 02:07:03 +00:00
danm%netscape.com
16ae30744d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@35107 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 02:04:37 +00:00
blizzard%redhat.com
5826a92dd7 let mouse events flow...
git-svn-id: svn://10.0.0.236/trunk@35106 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 01:53:52 +00:00
blizzard%redhat.com
96b698384d always flush the X event queue before going back into select and always process X events as long as they are available.
git-svn-id: svn://10.0.0.236/trunk@35105 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 00:48:30 +00:00
blizzard%redhat.com
5d0bd2fa3d a slightly more sane nsDrawingSurface
git-svn-id: svn://10.0.0.236/trunk@35104 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 00:47:37 +00:00
talisman%anamorphic.com
92c010d4f7 Added handlers for mousePressed() and mouseReleased() so the border paints appropriately.
git-svn-id: svn://10.0.0.236/trunk@35103 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 23:57:19 +00:00
rhp%netscape.com
3f4d75b8c3 New files for StreamConverter interface - not part of the build yet
git-svn-id: svn://10.0.0.236/trunk@35102 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 22:15:14 +00:00
rickg%netscape.com
16b12398ad fixed build error; accidently left debug code exposed
git-svn-id: svn://10.0.0.236/trunk@35101 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 22:13:16 +00:00
rhp%netscape.com
6d5a0b4004 Cleanup of test harness
git-svn-id: svn://10.0.0.236/trunk@35100 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 22:08:55 +00:00
tague%netscape.com
824db2e9b4 Fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@35099 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 21:53:27 +00:00
rickg%netscape.com
0bae0c1a04 faster viewing of text, bugs: 7889, 7892, 8047, 3795
git-svn-id: svn://10.0.0.236/trunk@35098 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 21:24:25 +00:00
rickg%netscape.com
08109ed280 perf improvements, bug fix in insert(), better error reporting in ToInteger()
git-svn-id: svn://10.0.0.236/trunk@35097 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 21:23:04 +00:00
tague%netscape.com
58fc1493f9 Turned on bug fix for #6896: Windows editorinterprets the period key as a forward delete.
git-svn-id: svn://10.0.0.236/trunk@35096 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 21:13:12 +00:00
syd%netscape.com
c009860f8f Add SetModal() widget interface to nsIWidget, and provide an implementation
for Gtk+. Now, when we do modal dialogs, Gtk+ calls a routine that makes the
dialog modal within Gtk+; this is in addition to the code in nsWebShellWindow
that is being invoked to support modals on the other platforms. For Gtk+, the
nsWebShellWindow code doesn't appear to be enough; in order for the event
plumbing to stay alive, we need to call into Gtk+, and unless we actually make
the dialog modal using Gtk+ mechanisms, the user can still get to the menu bar, which is not good.


git-svn-id: svn://10.0.0.236/trunk@35095 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 20:56:08 +00:00
sspitzer%netscape.com
4ac61e25d3 clean up my original hack to display error messages in the message pane.
before I was using a .eml file, and so I need the error message to be an
rfc 822 message for things to work.  Now, the file is a .htm file, so I can
just write normal html to the file, and it will work.

all this will go away when we don't have to use files, and we can write
directly to the stream.


git-svn-id: svn://10.0.0.236/trunk@35094 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 20:37:56 +00:00
blizzard%redhat.com
55d85cf2d6 merge in Erik's changes to gtk fonts
git-svn-id: svn://10.0.0.236/trunk@35093 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 20:34:56 +00:00
rhp%netscape.com
690b6ec969 A new test harness for libmime's new nsIStreamConverter.h interface
git-svn-id: svn://10.0.0.236/trunk@35091 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 20:11:37 +00:00
morse%netscape.com
b1232288a8 fix minor bug
git-svn-id: svn://10.0.0.236/trunk@35090 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 19:53:51 +00:00
jband%netscape.com
ece5c35801 changing JS_AddRoot calls to JS_AddNamedRoot calls to satisfy request in bug 8070
git-svn-id: svn://10.0.0.236/trunk@35089 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 19:19:44 +00:00
morse%netscape.com
ade032357b minor editing changes
git-svn-id: svn://10.0.0.236/trunk@35088 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 19:10:48 +00:00
sspitzer%netscape.com
d80b856b2b initialize previously uninitialized memory
git-svn-id: svn://10.0.0.236/trunk@35087 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 19:04:19 +00:00
morse%netscape.com
8120857730 CANCEL from safe-form-fill dialog was not working
git-svn-id: svn://10.0.0.236/trunk@35086 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 18:42:39 +00:00
erik%netscape.com
85a9783e7a Started using Frank's 64K bit array code and the Unicode converters.
The euro now displays on Linux.


git-svn-id: svn://10.0.0.236/trunk@35085 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 18:33:37 +00:00
waterson%netscape.com
9929a02b24 Remove crufty code that wasn't doing anything. Fix refcounting on the database.
git-svn-id: svn://10.0.0.236/trunk@35084 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 18:31:06 +00:00
waterson%netscape.com
5e45b132b9 Remove crufty code that wasn't doing anything.
git-svn-id: svn://10.0.0.236/trunk@35083 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 18:30:47 +00:00
morse%netscape.com
e4497eb7a4 use new get-password and get-user dialog
git-svn-id: svn://10.0.0.236/trunk@35082 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 17:25:56 +00:00
morse%netscape.com
3142059e02 use new get-password dialog
git-svn-id: svn://10.0.0.236/trunk@35081 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 17:25:35 +00:00
morse%netscape.com
8f094cf52a add dialogs needed by wallet
git-svn-id: svn://10.0.0.236/trunk@35080 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 17:23:12 +00:00
sspitzer%netscape.com
5149a29f46 changes to get news cancel working. more to be done, but the basics of
news cancel works for now.


git-svn-id: svn://10.0.0.236/trunk@35079 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 17:14:05 +00:00
morse%netscape.com
3c5f4d4fc1 remove wallet-related stuff from appcores
git-svn-id: svn://10.0.0.236/trunk@35078 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 15:01:07 +00:00
morse%netscape.com
5f4e33d089 remove wallet previewer from appcores
git-svn-id: svn://10.0.0.236/trunk@35077 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 14:57:15 +00:00
morse%netscape.com
8c6ba6cf4e remove signon viewer from appcores
git-svn-id: svn://10.0.0.236/trunk@35076 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 14:51:08 +00:00
morse%netscape.com
e897b52b25 remove cookie viewer from appcores
git-svn-id: svn://10.0.0.236/trunk@35075 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 14:47:09 +00:00
edwin%woudt.nl
795e08719f forgot MPL
git-svn-id: svn://10.0.0.236/trunk@35074 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 12:43:32 +00:00
edwin%woudt.nl
d90680d892 Display quoted stuff correctly
git-svn-id: svn://10.0.0.236/trunk@35073 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 12:42:47 +00:00
edwin%woudt.nl
a7302a2c7b Upgrade to version 1.0 of the knife NNTP provider
git-svn-id: svn://10.0.0.236/trunk@35072 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 10:14:03 +00:00
jfrancis%netscape.com
486a69592f ssssh, it's a secret
git-svn-id: svn://10.0.0.236/trunk@35071 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 07:50:17 +00:00
av%netscape.com
3c05823443 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@35070 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 06:18:35 +00:00
av%netscape.com
13c3ea8078 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@35069 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 06:11:33 +00:00
av%netscape.com
3c69310de5 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@35068 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 06:06:12 +00:00
av%netscape.com
f32ee28abb *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@35067 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 06:00:56 +00:00
jj%netscape.com
593324ca66 [sfraser] Really remove nsDialog.cpp. Hacking the binary doesn't work.
git-svn-id: svn://10.0.0.236/trunk@35066 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 04:55:06 +00:00
mcafee%netscape.com
8fc7522955 Removing nsDialog.cpp
git-svn-id: svn://10.0.0.236/trunk@35065 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 04:24:21 +00:00
mcafee%netscape.com
8c3e6bc3e6 Removing obsolete nsIDialog interface.
git-svn-id: svn://10.0.0.236/trunk@35064 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 04:00:06 +00:00
mcafee%netscape.com
ad4a86e123 Removing nsIDialog interface.
git-svn-id: svn://10.0.0.236/trunk@35063 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 03:59:10 +00:00
mcafee%netscape.com
aa8f2be5b5 Removing nsDialog from the build.
git-svn-id: svn://10.0.0.236/trunk@35062 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 03:57:24 +00:00
mcafee%netscape.com
1250df240e Removing nsDialog from the build.
git-svn-id: svn://10.0.0.236/trunk@35061 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 03:41:31 +00:00
danm%netscape.com
fb18842156 moved GetPrimordialThread from nsAppShellService to nsThread, as suggested by warren
git-svn-id: svn://10.0.0.236/trunk@35060 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 03:30:38 +00:00
kin%netscape.com
d4f390e372 Added support for nsIFileSpec writing. We now write out the log to a file
called journal.js.NEW. Changed all calls to printf to Write() and WriteInt().


git-svn-id: svn://10.0.0.236/trunk@35059 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 03:09:00 +00:00
morse%netscape.com
99f911359a fix bug 8050
git-svn-id: svn://10.0.0.236/trunk@35058 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 02:05:14 +00:00
mcafee%netscape.com
7b8faf0fff Removing nsDialog from the build.
git-svn-id: svn://10.0.0.236/trunk@35057 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 01:01:26 +00:00
talisman%anamorphic.com
aab9750f21 Changed from using plain-jane JButtons to the new ToolBarButton class I wrote.
git-svn-id: svn://10.0.0.236/trunk@35056 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 00:45:40 +00:00
talisman%anamorphic.com
0518e43e5b Implements the standard Netscape toolbar button behaviour of painting a raised border when the mouse is passed over it.
git-svn-id: svn://10.0.0.236/trunk@35055 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 00:44:28 +00:00
mcafee%netscape.com
92c8d64f45 Removing nsDialog from the build.
git-svn-id: svn://10.0.0.236/trunk@35054 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 00:18:39 +00:00
mcafee%netscape.com
584ee3314f Removing nsDialog from the build, cleanup.
git-svn-id: svn://10.0.0.236/trunk@35053 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 00:17:00 +00:00
sspitzer%netscape.com
845376db4f fix for build bustage
git-svn-id: svn://10.0.0.236/trunk@35052 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 00:09:00 +00:00
mcafee%netscape.com
a6064ea48f Removing nsDialog.cpp from the build.
git-svn-id: svn://10.0.0.236/trunk@35051 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 00:08:55 +00:00
mcafee%netscape.com
4dbc274d59 Backing out pavlov's change to ressurect the menubar. pavlov, please test your changes before you check them in!
git-svn-id: svn://10.0.0.236/trunk@35050 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-13 00:06:38 +00:00
sspitzer%netscape.com
878bcdd7ad fix build breakage for steve clark
git-svn-id: svn://10.0.0.236/trunk@35049 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 23:14:37 +00:00
buster%netscape.com
e3eef553a7 fixed a syntax problem, just a typo
git-svn-id: svn://10.0.0.236/trunk@35048 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 23:13:54 +00:00
cmanske%netscape.com
4d52292017 More improvements to HLine dialog
git-svn-id: svn://10.0.0.236/trunk@35047 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:35:39 +00:00
buster%netscape.com
a64d14749a added style for disabled text controls
git-svn-id: svn://10.0.0.236/trunk@35046 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:33:45 +00:00
buster%netscape.com
5c2c4b30e5 added support for ender GFX-Rendered text control
git-svn-id: svn://10.0.0.236/trunk@35045 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:32:41 +00:00
buster%netscape.com
0143d6a3fa added support for getting and setting default background and font info
git-svn-id: svn://10.0.0.236/trunk@35043 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:31:57 +00:00
buster%netscape.com
a450d1bfba added support for style contexts getting background and font defaults from
the pres context.


git-svn-id: svn://10.0.0.236/trunk@35042 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:31:15 +00:00
buster%netscape.com
cf0489fb83 added support for Ender GFX-rendered text control
made nsTextControlFrame an abstract base class for nsGfxTextControlFrame and
nsNativeTextControlFrame


git-svn-id: svn://10.0.0.236/trunk@35041 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:29:54 +00:00
buster%netscape.com
b020694215 added support for Ender GFX-rendered text control
git-svn-id: svn://10.0.0.236/trunk@35040 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:28:11 +00:00
buster%netscape.com
33fb4efaef used by ender GFX-rendered text widget as the default document to edit
git-svn-id: svn://10.0.0.236/trunk@35039 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:26:22 +00:00
cmanske%netscape.com
762cc1d3ee Fixed bug in HLine code. Replaced itoa with PR_snprintf
git-svn-id: svn://10.0.0.236/trunk@35038 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:11:59 +00:00
mcafee%netscape.com
edad965b29 Removing NS_CreateDialog(), nsDialog is obsolete.
git-svn-id: svn://10.0.0.236/trunk@35037 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 21:40:10 +00:00
av%netscape.com
e21e1c0c2f *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@35036 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 21:32:49 +00:00
cmanske%netscape.com
11dac7bbef Horizontal Line dialog and setting/getting hline settings from prefs implemented. Masked effect of bug 8058 by removing popupanchor attribute.
git-svn-id: svn://10.0.0.236/trunk@35035 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 21:22:12 +00:00
waterson%netscape.com
d1e9762b93 Change GetElementRefResource() to use rdf_MakeAbsoluteURI() to resolve attribute names. This makes it work more like '<a href=...>', which seems right (and fixes some problems that will occur with sitemaps). Inline code in GetElementResource() that was previously shared between the two.
git-svn-id: svn://10.0.0.236/trunk@35034 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 21:21:47 +00:00
buster%netscape.com
91f2070891 changed the way nsEditProperty is used. Right now, it's our placeholder
for HTML and CSS atoms, since we can't get these from layout yet.  The old
use assumed one editor, but as we know many editors can exist simultaneously.
Now, the editors share a singleton which is fetched from a factory method,
saving memory and allocation overhead.


git-svn-id: svn://10.0.0.236/trunk@35033 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 21:15:14 +00:00
waterson%netscape.com
803a0f175d Add a rdf_MakeAboluteURI() that's overloaded to take an nsIURL.
git-svn-id: svn://10.0.0.236/trunk@35032 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 21:14:32 +00:00
buster%netscape.com
589baef929 minor cleanup, removal of old code
git-svn-id: svn://10.0.0.236/trunk@35031 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 21:13:15 +00:00
erik%netscape.com
ad810909f0 Support for non-Latin-1 menus. We now convert from Unicode to the locale's
encoding, and use a set of default fonts in the non-Latin-1 case only.


git-svn-id: svn://10.0.0.236/trunk@35030 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 21:09:16 +00:00
erik%netscape.com
192fe6b11a Was crashing when property already existed. Fixed now, by ignoring
subsequent attempts.


git-svn-id: svn://10.0.0.236/trunk@35029 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 21:07:22 +00:00
erik%netscape.com
bf056c0f5d LC_ALL -> LC_CTYPE (LC_ALL returns multiple values on some Unixes).
"" -> NULL (pass NULL to setlocale to query).
"locale." -> "locale.all." (someone forgot the "all." part of the key).


git-svn-id: svn://10.0.0.236/trunk@35028 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 20:56:45 +00:00
bruce%cybersight.com
02e0f80d71 This file depends directly upon nsFileSpec .. with an upcoming checkin, that include may not be happening in one of the files currently included here, so we best include it here directly.
git-svn-id: svn://10.0.0.236/trunk@35027 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 20:40:29 +00:00
waterson%netscape.com
54296b02ac Fix incorrect usage of dont_QueryInterface(). Fix bogus refcounting cruft in the nsIContent manipulators that must've been left over from when mChildren was an nsVoidArray.
git-svn-id: svn://10.0.0.236/trunk@35026 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 19:39:11 +00:00
waterson%netscape.com
5b2039fa07 Fix incorrect use of dont_QueryInterface() that was causing massive leakage.
git-svn-id: svn://10.0.0.236/trunk@35025 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 19:35:54 +00:00
waterson%netscape.com
1c99019f97 Fix incorrect use of dont_QueryInterface() with dont_AddRef(). Use nsCOMPtr in broadcast hookup code.
git-svn-id: svn://10.0.0.236/trunk@35024 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 19:33:37 +00:00
waterson%netscape.com
5258e10cb1 Fix incorrect use of dont_QueryInterface() with dont_AddRef().
git-svn-id: svn://10.0.0.236/trunk@35023 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 19:31:36 +00:00
sspitzer%netscape.com
c8e83135e1 ignore the generated Makefile
git-svn-id: svn://10.0.0.236/trunk@35022 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 19:23:17 +00:00
mcafee%netscape.com
0453db72f5 Removing NS_CreateDialog(), nsDialog is obsolete. a=rickg
git-svn-id: svn://10.0.0.236/trunk@35021 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 18:57:22 +00:00
sspitzer%netscape.com
23a4d59c0a set the default nntp server to "news.mozilla.org". I'll change it back to "news" before beta. (see bug #8053)
git-svn-id: svn://10.0.0.236/trunk@35020 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 18:38:53 +00:00
sspitzer%netscape.com
27bac3add4 initial work to make posting to any news host.
currently, you can only post to the server specified by the
"network.hosts.nntp_server" pref.  by default, the value of this pref "news".

more work needs to be done to complete this.

fix for #6655


git-svn-id: svn://10.0.0.236/trunk@35019 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 18:10:58 +00:00
sspitzer%netscape.com
f19ca56b72 fix for #7891. commit db after we mark a header read.
git-svn-id: svn://10.0.0.236/trunk@35018 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 18:07:21 +00:00
sspitzer%netscape.com
d1bf76337e rewrite to use nsString.
git-svn-id: svn://10.0.0.236/trunk@35017 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 17:51:55 +00:00
morse%netscape.com
14554c98cd fix regression -- bug 8052
git-svn-id: svn://10.0.0.236/trunk@35016 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 17:43:42 +00:00
bruce%cybersight.com
304d735c7e Add newline at end of file for commercial unix compilers.
git-svn-id: svn://10.0.0.236/trunk@35015 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 16:59:57 +00:00
waterson%netscape.com
67cbb9dcf8 Ensure that mBuf <-- 0 before assignment begins. Otherwise we run the rise of a failed assignment causing a duplicate free.
git-svn-id: svn://10.0.0.236/trunk@35014 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 16:39:11 +00:00
dp%netscape.com
b077529bb9 Removing unused prototype NS_RegistryGetFactory()
git-svn-id: svn://10.0.0.236/trunk@35013 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 15:55:54 +00:00
dp%netscape.com
5354fabe84 Removing obsolete files from xpcom.
git-svn-id: svn://10.0.0.236/trunk@35012 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 15:54:46 +00:00
dp%netscape.com
7c1bb8d6a8 Removing unused NS_RegistryGetFactory() prototype.
git-svn-id: svn://10.0.0.236/trunk@35011 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 15:36:22 +00:00
dp%netscape.com
70cb14677e Removing obsoleted files from xpcom/ post xpcom2.0 landing
git-svn-id: svn://10.0.0.236/trunk@35010 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 14:59:16 +00:00
despotdaemon%netscape.com
fc93994c84 Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@35009 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 14:49:42 +00:00
briano%netscape.com
61c2a72e45 Automated update
git-svn-id: svn://10.0.0.236/trunk@35008 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 12:59:51 +00:00
ramiro%netscape.com
ed30adc2d7 Conditionally ifdef out some dtd debugging code that chokes some
compilers because of badly broken streams code in prstrm.cpp.


git-svn-id: svn://10.0.0.236/trunk@35007 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 12:49:04 +00:00
ramiro%netscape.com
9b5ccff7e3 Add *.rpo - g++ -frepo template repository files.
git-svn-id: svn://10.0.0.236/trunk@35006 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 12:37:49 +00:00
mccabe%netscape.com
e5b993dd76 Resurrected this somehow. Beating it back down.
git-svn-id: svn://10.0.0.236/trunk@35005 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 09:44:11 +00:00
briano%netscape.com
d70a6d276b Automated update
git-svn-id: svn://10.0.0.236/trunk@35004 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 09:30:21 +00:00
mccabe%netscape.com
1c543f3a5e Remove vestiges of BUILD_XPIDL and USE_XPIDL from the build.
git-svn-id: svn://10.0.0.236/trunk@35003 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 09:29:46 +00:00
kin%netscape.com
3070792cff Added functions to run the journal.js file.
Replaced all ocurrences of "appCore" with "window.editorAppShell".


git-svn-id: svn://10.0.0.236/trunk@35002 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 09:18:14 +00:00
kin%netscape.com
8823a7e8df Added Start/Stop/Run Journal menu items to Debug menu.
git-svn-id: svn://10.0.0.236/trunk@35001 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 09:15:39 +00:00
kin%netscape.com
0e39838f57 Changed all occurrences of "appCore" to "window.editorShell" to sync up
with sfraser@netscape.com's changes to switch the editor over to XPIDL.


git-svn-id: svn://10.0.0.236/trunk@35000 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 09:14:19 +00:00
rpotts%netscape.com
3648ddb21c Added FillStream(...) which exposes nsIBuffer::WriteSegments()
git-svn-id: svn://10.0.0.236/trunk@34999 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 08:56:05 +00:00
rpotts%netscape.com
4b5583cc5b Changed doRead() to fill the stream using the IBuffer::WriteSegments api rather than Fill()... This removes an intermediate buffer copy and cleans up the code...
git-svn-id: svn://10.0.0.236/trunk@34998 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 08:54:56 +00:00
rpotts%netscape.com
a0d76bf639 Changed WriteSegments(...) to return NS_BASE_STREAM_FULL if a WriteSegment cannot be allocated. And to propagate WOULD_BLOCK if it is returned by the reader() function....
git-svn-id: svn://10.0.0.236/trunk@34997 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 08:52:59 +00:00
rpotts%netscape.com
13a476a717 Added a new stream return code - NS_BASE_STREAM_FULL. This is returned when a stream is full and must be read before more data can be added...
git-svn-id: svn://10.0.0.236/trunk@34996 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 08:50:24 +00:00
andreas.otte%primus-online.de
4be1360692 fix to get Makefile.in working again
git-svn-id: svn://10.0.0.236/trunk@34995 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 08:46:44 +00:00
dp%netscape.com
458f9dbaf6 adding back for doc purpose
git-svn-id: svn://10.0.0.236/trunk@34994 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 08:08:15 +00:00
warren%netscape.com
a7a7b53d04 Removed link dependency on netwerk.dll.
git-svn-id: svn://10.0.0.236/trunk@34993 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 08:07:05 +00:00
dp%netscape.com
5bf3f0bc32 Removing obsoleted files from xpcom/ post xpcom2.0 landing
git-svn-id: svn://10.0.0.236/trunk@34992 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 07:54:05 +00:00
dp%netscape.com
e95ac5d9c9 Removing obsoleted files from xpcom/ post xpcom2.0 landing
git-svn-id: svn://10.0.0.236/trunk@34991 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 07:42:48 +00:00
warren%netscape.com
a294d9658a Fixed build problem.
git-svn-id: svn://10.0.0.236/trunk@34990 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 07:17:02 +00:00
warren%netscape.com
1e293abb2c removed
git-svn-id: svn://10.0.0.236/trunk@34989 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 07:15:18 +00:00
warren%netscape.com
0ba20d9f37 Merged in file transport stuff (now file transport is obsolete).
git-svn-id: svn://10.0.0.236/trunk@34988 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 07:14:19 +00:00
warren%netscape.com
98c9c247be Added NS_NET to export global functions.
git-svn-id: svn://10.0.0.236/trunk@34987 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 07:14:12 +00:00
andreas.otte%primus-online.de
7a5e16657b fix to get Makefile.in working again
git-svn-id: svn://10.0.0.236/trunk@34986 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 06:53:45 +00:00
beard%netscape.com
09b1df7600 fixed "rescued items" problem
git-svn-id: svn://10.0.0.236/trunk@34985 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 06:27:00 +00:00
jband%netscape.com
7d3b16d3ab fix Mac breakage
git-svn-id: svn://10.0.0.236/trunk@34984 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 06:00:03 +00:00
sfraser%netscape.com
fc2f70d298 Export plain text XUL file
git-svn-id: svn://10.0.0.236/trunk@34983 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 05:18:02 +00:00
beard%netscape.com
b338b9c54d bug #6676: fixed inconsistent use of kControlEditTextPasswordTag vs. kControlEditTextTextTag in the GetText/SetText methods.
git-svn-id: svn://10.0.0.236/trunk@34982 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 04:55:08 +00:00
warren%netscape.com
b49c227b08 Changes to allow hack in necko makefiles so that header names don't collide.
git-svn-id: svn://10.0.0.236/trunk@34981 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 04:30:44 +00:00
jband%netscape.com
38a217c93a added forced linkage to another xptcall file and moved the prototypes to the dummies to xptcall.h
git-svn-id: svn://10.0.0.236/trunk@34980 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 04:30:13 +00:00
jband%netscape.com
8620f6315b another try for this code needed to make Irix work (with fixed dll export stuff this time)
git-svn-id: svn://10.0.0.236/trunk@34979 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 04:29:12 +00:00
hangas%netscape.com
cd5d9af34f Made buttons localizable
git-svn-id: svn://10.0.0.236/trunk@34978 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 03:34:02 +00:00
hangas%netscape.com
9ee198ea26 Glued in the address bucket in the address picker dialog
git-svn-id: svn://10.0.0.236/trunk@34977 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 03:32:56 +00:00
pavlov%pavlov.net
81c648b8eb since we now have nsWindow::ShowMenuBar(), we don't need to forcefully create
the menubar when it is created.


git-svn-id: svn://10.0.0.236/trunk@34976 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 03:15:47 +00:00
pavlov%pavlov.net
7f62283d43 simplify nsWidget::IsVisible and a few minor indentation changes
git-svn-id: svn://10.0.0.236/trunk@34975 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 03:13:16 +00:00
pavlov%pavlov.net
6629bfcb04 rename the menubar member
git-svn-id: svn://10.0.0.236/trunk@34974 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 03:02:57 +00:00
tao%netscape.com
9ac86c73cd 7821:make strres locale-sensitive. r=erik@netscape.com. Add api:
nsStringBundleService::CreateBundle(const char* aURLSpec, nsILocale* aLocale,
  nsIStringBundle** aResult)


git-svn-id: svn://10.0.0.236/trunk@34973 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 03:02:10 +00:00
warren%netscape.com
bb10182347 Added nsDNSService factory.
git-svn-id: svn://10.0.0.236/trunk@34972 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 02:59:02 +00:00
warren%netscape.com
1f4be17602 Replaced with idl files.
git-svn-id: svn://10.0.0.236/trunk@34971 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 02:53:57 +00:00
warren%netscape.com
8ecacf5ff9 Added dns to the build. Factored Cancel/Suspend/Resume into nsIRequest.
git-svn-id: svn://10.0.0.236/trunk@34970 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 02:53:21 +00:00
rjc%netscape.com
ba33e73da3 Get bookmarks.idl and bookmarks projects into the Mac build.
git-svn-id: svn://10.0.0.236/trunk@34969 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 02:32:12 +00:00
tague%netscape.com
0643946696 Conditionalized Fix for #6896. Modified the nsMacEventHandler.cpp to generate NS_KEY_PRESS events in addition to NS_KEY_DOWN.
git-svn-id: svn://10.0.0.236/trunk@34968 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 02:29:52 +00:00
rjc%netscape.com
f9e5e07768 Be sure to write out bookmarks.html to the same place we read it in from! Bookmarks were moved from mozilla/rdf/ to mozilla/xpfe/components/bookmarks and bookmarks.html is now stored inside of $DIST/res/samples instead of the old $DIST/res/rdf
git-svn-id: svn://10.0.0.236/trunk@34967 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 02:29:16 +00:00
tague%netscape.com
650b890778 More work on #6896. Removed a debuging printf and fixed keysym translation.
git-svn-id: svn://10.0.0.236/trunk@34966 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 02:25:27 +00:00
bienvenu%netscape.com
c06c83b299 more work on imap filters
git-svn-id: svn://10.0.0.236/trunk@34965 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 02:04:29 +00:00
bienvenu%netscape.com
e995e7bec0 move comment nearer code it refers to
git-svn-id: svn://10.0.0.236/trunk@34964 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 02:04:08 +00:00
sgehani%netscape.com
79d2b5abd5 Included strres lib required by LoadResources().
git-svn-id: svn://10.0.0.236/trunk@34963 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:55:35 +00:00
sgehani%netscape.com
8fc8b5803f 1> Added LoadResources().
2> Fixed UNIX Makefile.in although it's not being built by the regular build system yet.


git-svn-id: svn://10.0.0.236/trunk@34962 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:54:29 +00:00
warren%netscape.com
ea46aeb77e Rule to create netwerk/dist/include.
git-svn-id: svn://10.0.0.236/trunk@34961 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:47:13 +00:00
frankm%eng.sun.com
5496bbae3d Revamp NativeJavaObject.coerceType and associated methods to make code
more maintainable, and to pass lc3/JSObject/ToChar-001.js.


git-svn-id: svn://10.0.0.236/trunk@34960 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:41:20 +00:00
warren%netscape.com
1e6b7a34c2 Made Create constructor and used GenericFactory.
git-svn-id: svn://10.0.0.236/trunk@34959 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:41:16 +00:00
warren%netscape.com
32a9207366 More work on file: protocol.
git-svn-id: svn://10.0.0.236/trunk@34958 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:41:12 +00:00
warren%netscape.com
347f675454 Hack to make necko co-exist with seamonkey so headers don't collide.
git-svn-id: svn://10.0.0.236/trunk@34957 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:41:08 +00:00
ftang%netscape.com
005c5554ca add new support for GL
git-svn-id: svn://10.0.0.236/trunk@34956 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:38:30 +00:00
ftang%netscape.com
a16b45eba6 fix bug 5893
git-svn-id: svn://10.0.0.236/trunk@34955 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:37:46 +00:00
slamm%netscape.com
2bea8089b5 Remove unused sidebar files.
git-svn-id: svn://10.0.0.236/trunk@34954 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:32:47 +00:00
mcmullen%netscape.com
251d87362d Moved the idl flag down to match the build order (both occurrences).
git-svn-id: svn://10.0.0.236/trunk@34953 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:25:21 +00:00
ftang%netscape.com
fdc371a715 remove nsUnicharUtil for win, ifdef XP_MAC untill we verify
git-svn-id: svn://10.0.0.236/trunk@34952 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:21:50 +00:00
sspitzer%netscape.com
870349fc7b fix mac build bustage. saari made nsXULKeyListener.cpp part of the mac build,
but hasn't defined this CID yet.


git-svn-id: svn://10.0.0.236/trunk@34951 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:21:10 +00:00
bryce-mozilla%nextbus.com
ec7719fef6 Give administrators a clue that upgrading is possible, even straightforward.
git-svn-id: svn://10.0.0.236/trunk@34950 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:16:44 +00:00
mcmullen%netscape.com
8b8115d8ad This file differs from others only in the flag settings, and we cannot afford to maintain 2**n files with everybody's favorite settings (discussed in macdev meetings). Removing this.
git-svn-id: svn://10.0.0.236/trunk@34949 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:15:44 +00:00
mcmullen%netscape.com
46fbcf1bc9 Added a ruled announcement for Simon's new idl grouping.
git-svn-id: svn://10.0.0.236/trunk@34946 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:09:05 +00:00
mcmullen%netscape.com
68d2cf91ea Added simon's new idl flag to the "most" list. Restored the clobber flags to make this safe for newbies.
git-svn-id: svn://10.0.0.236/trunk@34945 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:07:44 +00:00
mscott%netscape.com
2a978ae6bd Initialize mFilePath to nsnull. I was crashing in the dtor of the url because it was pointing to unitialized memory
whenever I tried to get msgs from a newsgroup on win32.


git-svn-id: svn://10.0.0.236/trunk@34944 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:06:22 +00:00
mcmullen%netscape.com
1e8a5e3015 This file differs from others only in the flag settings, and we cannot afford to maintain 2**n files with everybody's favorite settings (discussed in macdev meetings). Removing this.
git-svn-id: svn://10.0.0.236/trunk@34943 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:03:30 +00:00
racham%netscape.com
ae5d2ae35e Adding Profile Manager calls
git-svn-id: svn://10.0.0.236/trunk@34942 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 01:03:01 +00:00
racham%netscape.com
a85af68895 Can't free the input param. fixed it
git-svn-id: svn://10.0.0.236/trunk@34941 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:56:31 +00:00
racham%netscape.com
7d6e1fb81f Modified renaming page
git-svn-id: svn://10.0.0.236/trunk@34940 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:53:48 +00:00
racham%netscape.com
644ab58052 Cleared some dump statements
git-svn-id: svn://10.0.0.236/trunk@34939 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:52:55 +00:00
mscott%netscape.com
394a4b9160 Fix memory leak of file name.
git-svn-id: svn://10.0.0.236/trunk@34938 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:52:06 +00:00
racham%netscape.com
0d20ff493d Profile Manager UI with new functions
git-svn-id: svn://10.0.0.236/trunk@34937 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:52:03 +00:00
racham%netscape.com
ea17ec1289 New interfaces to profiles
git-svn-id: svn://10.0.0.236/trunk@34936 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:50:17 +00:00
racham%netscape.com
a110a85aaa New Interfaces for profiles
git-svn-id: svn://10.0.0.236/trunk@34935 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:48:12 +00:00
sspitzer%netscape.com
104e0c915d we only nsIMsgSendLater.h once
git-svn-id: svn://10.0.0.236/trunk@34934 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:47:09 +00:00
racham%netscape.com
f0b60a4301 Add pref-migrator module to the build windows only for now
git-svn-id: svn://10.0.0.236/trunk@34933 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:47:00 +00:00
cyeh%netscape.com
e9c8e018e2 fixing fullcircle enabling through MOZ_PROFILE (turned off pdb file generation)
git-svn-id: svn://10.0.0.236/trunk@34932 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:43:11 +00:00
racham%netscape.com
f140537ba6 Method to forget the existing profile dir
git-svn-id: svn://10.0.0.236/trunk@34931 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:42:38 +00:00
racham%netscape.com
a672c8316c Modified to fit the new flow
git-svn-id: svn://10.0.0.236/trunk@34930 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:38:31 +00:00
vidur%netscape.com
1746b524c7 Fix for bug 6785. Incorrect reinitializing of mData.
git-svn-id: svn://10.0.0.236/trunk@34929 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:37:36 +00:00
racham%netscape.com
d6b293d17b Finish now appears on the 2nd page
git-svn-id: svn://10.0.0.236/trunk@34928 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:36:55 +00:00
racham%netscape.com
a6b72bcc45 Added a xul file and a css file with tree widget info
git-svn-id: svn://10.0.0.236/trunk@34927 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:34:45 +00:00
racham%netscape.com
823c780a87 modified error statement
git-svn-id: svn://10.0.0.236/trunk@34926 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:33:28 +00:00
racham%netscape.com
4111ecea19 Create Profile Wiz of profile manager
git-svn-id: svn://10.0.0.236/trunk@34925 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:32:12 +00:00
racham%netscape.com
a1e8558bb9 Modified to fit the new modal. Closed some dump statements
git-svn-id: svn://10.0.0.236/trunk@34924 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:30:44 +00:00
mscott%netscape.com
4ce152489f Fix memory leak of nsVoidArray.
git-svn-id: svn://10.0.0.236/trunk@34923 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:30:04 +00:00
racham%netscape.com
93f1506365 Added default profile name mozProfile
git-svn-id: svn://10.0.0.236/trunk@34922 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:28:43 +00:00
mscott%netscape.com
90360081fd Fix free memory write by freeing string after we call atol on it.
git-svn-id: svn://10.0.0.236/trunk@34921 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:27:09 +00:00
ducarroz%netscape.com
7feead6cde re-add nsIMsgSendLater.h as rhp has removed it from the idl project
git-svn-id: svn://10.0.0.236/trunk@34920 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:25:19 +00:00
racham%netscape.com
e572ff0c73 Added new interfaces
git-svn-id: svn://10.0.0.236/trunk@34919 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:21:23 +00:00
racham%netscape.com
86fefbf8d3 Added references to required modules (pref, prefm)
git-svn-id: svn://10.0.0.236/trunk@34918 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:20:24 +00:00
racham%netscape.com
5a6f8cbfab Adding more features to the ProfileManager Service. Cleaned up the comments.
git-svn-id: svn://10.0.0.236/trunk@34917 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:19:35 +00:00
davidm%netscape.com
b8f0991e89 5487 window title is blank for pages with no title tags ...
git-svn-id: svn://10.0.0.236/trunk@34916 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:18:07 +00:00
sspitzer%netscape.com
f6b302546a second half of mac build bustage fix for rhp.
git-svn-id: svn://10.0.0.236/trunk@34915 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:17:25 +00:00
sspitzer%netscape.com
2072e2e55d firsh have of fix for rhp build bustage.
git-svn-id: svn://10.0.0.236/trunk@34914 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:16:25 +00:00
neeti%netscape.com
e4e049e502 More of the Cookie Module Stuff
git-svn-id: svn://10.0.0.236/trunk@34913 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:01:52 +00:00
ftang%netscape.com
24458bb27e add additional charset name
git-svn-id: svn://10.0.0.236/trunk@34912 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:01:32 +00:00
vidur%netscape.com
e3e3cf2a9f Added confirm and prompt to window object.
git-svn-id: svn://10.0.0.236/trunk@34911 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:57:25 +00:00
slamm%netscape.com
d1abca605f Clear out the borders for the grippy. Requested by german@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@34910 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:49:39 +00:00
morse%netscape.com
7bb2fa955d fixed faulty logic re: pressing cancel in order not to use database passwords
git-svn-id: svn://10.0.0.236/trunk@34909 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:48:57 +00:00
sfraser%netscape.com
67d6e29690 Fix case of Exit().
git-svn-id: svn://10.0.0.236/trunk@34908 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:45:34 +00:00
rhp%netscape.com
180d65b855 new feature work
git-svn-id: svn://10.0.0.236/trunk@34907 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:44:44 +00:00
rhp%netscape.com
7a50fe57f5 New send later functionality
git-svn-id: svn://10.0.0.236/trunk@34906 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:42:45 +00:00
slamm%netscape.com
27fe865f17 bm-props.js splitting JavaScript into separate file.
git-svn-id: svn://10.0.0.236/trunk@34905 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:37:28 +00:00
karnaze%netscape.com
373eefa5ee new regression test
git-svn-id: svn://10.0.0.236/trunk@34904 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:36:58 +00:00
leaf%mozilla.org
264904f68e mozbot should report test failures in the brief report
git-svn-id: svn://10.0.0.236/trunk@34903 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:36:46 +00:00
slamm%netscape.com
878cad6586 Fix for bug #6371, Adding entity tags for strings. Also, splitting javascript into separate file.
git-svn-id: svn://10.0.0.236/trunk@34902 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:35:56 +00:00
morse%netscape.com
5d767f7ccd fixed uninitialized variable
git-svn-id: svn://10.0.0.236/trunk@34901 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:34:02 +00:00
mcafee%netscape.com
c5a8dad98f Purging nsDialog from the code, robot & test site menu items were the last straggler users, rickg says purge & fix these two usages later.
git-svn-id: svn://10.0.0.236/trunk@34900 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:26:59 +00:00
matt%netscape.com
a50a425d9b Adding the navigator.css and xul.css files for xul changes
git-svn-id: svn://10.0.0.236/trunk@34899 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:23:22 +00:00
ducarroz%netscape.com
8390819f32 don't declare a variable into a for loop!
git-svn-id: svn://10.0.0.236/trunk@34898 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:15:34 +00:00
nisheeth%netscape.com
742180e73b Fix for bug 7401. Made error message more descriptive.
git-svn-id: svn://10.0.0.236/trunk@34897 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:13:03 +00:00
nisheeth%netscape.com
154020439c Fix for bug 7401. Output an error when a URL load fails.
git-svn-id: svn://10.0.0.236/trunk@34896 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:10:59 +00:00
ducarroz%netscape.com
95110c8caa export all idl files from base/public
git-svn-id: svn://10.0.0.236/trunk@34895 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:08:53 +00:00
ducarroz%netscape.com
749a0eca23 add nsMailnewsTypes2.idl
git-svn-id: svn://10.0.0.236/trunk@34894 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:08:52 +00:00
leaf%mozilla.org
64ddb83767 Mozbot should be able to see the difference between red and orange builds.
git-svn-id: svn://10.0.0.236/trunk@34893 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:08:47 +00:00
nisheeth%netscape.com
17b8c6a58e Fix for bug 7401. Output an error message to the console when a URL load fails.
git-svn-id: svn://10.0.0.236/trunk@34892 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:07:09 +00:00
rogerl%netscape.com
e7d38e04ed Mucking about with stuff.
git-svn-id: svn://10.0.0.236/trunk@34891 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 23:05:16 +00:00
sspitzer%netscape.com
c94bac5a24 turn off alert code because of #7770.
git-svn-id: svn://10.0.0.236/trunk@34890 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:58:46 +00:00
av%netscape.com
15d3b09d55 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@34889 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:48:50 +00:00
sfraser%netscape.com
aa9de216b9 File Removed.
git-svn-id: svn://10.0.0.236/trunk@34888 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:45:32 +00:00
sfraser%netscape.com
29857082ee Rename nsISpellCheck to nsIEditorSpellCheck
git-svn-id: svn://10.0.0.236/trunk@34887 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:43:19 +00:00
ducarroz%netscape.com
986c8c9ed0 add nsIMsgFolder.idl, fix build bustage on Mac
git-svn-id: svn://10.0.0.236/trunk@34886 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:42:41 +00:00
sfraser%netscape.com
c7ac1263c0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@34885 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:40:44 +00:00
sspitzer%netscape.com
45988c086f fix for #7795. get news posting to work again.
git-svn-id: svn://10.0.0.236/trunk@34884 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:39:17 +00:00
vidur%netscape.com
4823ea99ad JS_GetPrivate calls now go through a nsJSUtils wrapper that checks up the prototype chain. This is useful for applets where the JSClass instance is set as the proto of the LiveConnect-generated object.
git-svn-id: svn://10.0.0.236/trunk@34883 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:38:35 +00:00
mscott%netscape.com
e96b64ef1f first created. export new header files.
git-svn-id: svn://10.0.0.236/trunk@34882 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:37:51 +00:00
hangas%netscape.com
a14cf049ee Big additions to the selectaddress.xul functionality.
git-svn-id: svn://10.0.0.236/trunk@34881 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:34:17 +00:00
ducarroz%netscape.com
9d28d69f9a update manifest
git-svn-id: svn://10.0.0.236/trunk@34880 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:19:33 +00:00
putterman%netscape.com
d4ded7fcb4 added files: mozilla/mailnews/base/src/nsMsgNotificationManager.cpp
git-svn-id: svn://10.0.0.236/trunk@34879 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:17:13 +00:00
putterman%netscape.com
09fbfa9c3e Add new idl manifest for mailnews/public
git-svn-id: svn://10.0.0.236/trunk@34878 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:15:46 +00:00
putterman%netscape.com
6b1fcf8009 Add a new parameter for CheckNewMail
git-svn-id: svn://10.0.0.236/trunk@34877 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:14:35 +00:00
putterman%netscape.com
9d7c000d4e More work on Biff. Use standard BiffTypes enum.
git-svn-id: svn://10.0.0.236/trunk@34876 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:14:08 +00:00
putterman%netscape.com
14688fcbfe Add methods for Biff.
git-svn-id: svn://10.0.0.236/trunk@34875 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:13:18 +00:00
putterman%netscape.com
5e142c23f9 Add MailNewsTypes2.idl
git-svn-id: svn://10.0.0.236/trunk@34874 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:12:51 +00:00
putterman%netscape.com
5a48a3a6d0 Add gif for Biff.
git-svn-id: svn://10.0.0.236/trunk@34873 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:12:03 +00:00
putterman%netscape.com
7e4b358a9e Work on UnsentMessages.
git-svn-id: svn://10.0.0.236/trunk@34872 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:11:32 +00:00
putterman%netscape.com
407e992f48 More work on Biff.
git-svn-id: svn://10.0.0.236/trunk@34871 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:10:42 +00:00
ftang%netscape.com
22b8cf7615 fix Batlic , add ) for 1254, add several charset
git-svn-id: svn://10.0.0.236/trunk@34870 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:10:06 +00:00
putterman%netscape.com
25b556e8bf Add work for SentUnsentMessages.
git-svn-id: svn://10.0.0.236/trunk@34869 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:10:02 +00:00
putterman%netscape.com
ba23b98a81 Add more work on Biff.
git-svn-id: svn://10.0.0.236/trunk@34868 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:09:47 +00:00
putterman%netscape.com
8cd10323ee add nsMsgNotificationManager.
git-svn-id: svn://10.0.0.236/trunk@34867 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:08:09 +00:00
putterman%netscape.com
33ad8b3f41 removed MailNewsTypes.idl
git-svn-id: svn://10.0.0.236/trunk@34866 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:07:08 +00:00
putterman%netscape.com
6dda78bed8 Add Messenger Biff Notifications.
git-svn-id: svn://10.0.0.236/trunk@34865 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 22:06:20 +00:00
jband%netscape.com
faa5d08633 fix for bug 8017. We were allowing JS null and void to get converted into C++ NULL for pointer types even when the target was declared as a C++ reference. This was bad. Now we check for this and fail with a nice explanatory message in the JS exception.
git-svn-id: svn://10.0.0.236/trunk@34864 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:59:56 +00:00
dougt%netscape.com
2323fc89fd simplify, simplify, simplify. Changes submitted by brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@34863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:56:12 +00:00
saari%netscape.com
1da36d7c08 Adding nsXULKeyListener.cpp to RDF on Mac
git-svn-id: svn://10.0.0.236/trunk@34862 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:53:49 +00:00
vidur%netscape.com
1e71bfb687 Fixes for bug 927. JS timer code can deal with the window closing in a timer callback. NamedItem gets called for unknown integer property values as well. Added nsCOMPtr generation option to idlc. Fixed warnings in generated code.
git-svn-id: svn://10.0.0.236/trunk@34861 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:49:41 +00:00
ftang%netscape.com
c0d13f7322 remove nsUnicharUtil since it is a componment, the #ifdef will take out after we verify w/ mac and win
git-svn-id: svn://10.0.0.236/trunk@34860 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:44:15 +00:00
ftang%netscape.com
c998cb5738 include european characters in text transform test
git-svn-id: svn://10.0.0.236/trunk@34859 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:37:08 +00:00
mscott%netscape.com
0f68404ed3 Not part of the build yet. manifest file for new mime\emitter\build directory.
git-svn-id: svn://10.0.0.236/trunk@34858 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:30:16 +00:00
mscott%netscape.com
6fdf1db1ee Not part of the build yet. makefile for building the emitter library.
git-svn-id: svn://10.0.0.236/trunk@34857 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:28:24 +00:00
davidm%netscape.com
5f5d573afc Bug 1877 implimented some of the screen object functions
git-svn-id: svn://10.0.0.236/trunk@34856 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:19:24 +00:00
saari%netscape.com
a1afa0e362 exporting nsIXULKeyListener.h on Win and Linux builds
git-svn-id: svn://10.0.0.236/trunk@34855 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:08:38 +00:00
mscott%netscape.com
cfcf775019 (Not part of the build yet). This file used to be mailnews\mime\emitters\xml\nsMimeEmitter.h/.cpp if you need to look up a
log for the file.


git-svn-id: svn://10.0.0.236/trunk@34851 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:03:15 +00:00
mscott%netscape.com
1f1b934bb9 (Not part of the build yet). This file used to be mailnews\mime\raw\nsMimeEmitter.h/.cpp if you need to look up a
log for the file.


git-svn-id: svn://10.0.0.236/trunk@34850 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:02:27 +00:00
mscott%netscape.com
ff04a581e1 (Not part of the build yet). This file used to be mailnews\mime\html\nsMimeEmitter.h/.cpp if you need to look up a
log for the file.


git-svn-id: svn://10.0.0.236/trunk@34849 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:01:56 +00:00
mscott%netscape.com
323629b0bf not part of the build yet. A new factory which registers our mime emitters.
git-svn-id: svn://10.0.0.236/trunk@34848 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:00:49 +00:00
mscott%netscape.com
20f6884924 First checked in. NOT part of the build yet. These are the beginning of a new structure for the mime emitters
which basically compresses all of them into one library instead of 3 separate shared libraries.


git-svn-id: svn://10.0.0.236/trunk@34847 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 21:00:20 +00:00
saari%netscape.com
4a6d29e716 Adding more to nsXULKeyListener.cpp. About to be in the build system.
git-svn-id: svn://10.0.0.236/trunk@34846 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 20:36:14 +00:00
saari%netscape.com
1b01001342 Adding nsIXULKeyListener.h to Mac export
git-svn-id: svn://10.0.0.236/trunk@34845 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 20:35:26 +00:00
tague%netscape.com
6ba2eff004 More work on bug #6896
git-svn-id: svn://10.0.0.236/trunk@34844 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 20:32:09 +00:00
sfraser%netscape.com
356bdb0d29 Fix include nsIDOMEditorAppCore -> nsIEditorShell
git-svn-id: svn://10.0.0.236/trunk@34843 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 20:28:39 +00:00
blizzard%redhat.com
1982076de0 add workaround for lame values from layout engine. fix size of checkboxes.
git-svn-id: svn://10.0.0.236/trunk@34842 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 20:27:07 +00:00
blizzard%redhat.com
68a71d3ca6 remove nsDialog
git-svn-id: svn://10.0.0.236/trunk@34841 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 20:26:27 +00:00
mcafee%netscape.com
a78c50d6cc Fixing alltags rule. patch from Jim Nance.
git-svn-id: svn://10.0.0.236/trunk@34840 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 20:21:48 +00:00
sfraser%netscape.com
84fb39f532 More build fixes.
git-svn-id: svn://10.0.0.236/trunk@34839 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:57:05 +00:00
sfraser%netscape.com
25a37673a3 Fix the build.
git-svn-id: svn://10.0.0.236/trunk@34838 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:56:35 +00:00
Dale.Stansberry%Nexwarecorp.com
acbc3f414b - Put in buffer "zeroing" code
git-svn-id: svn://10.0.0.236/trunk@34837 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:56:14 +00:00
Dale.Stansberry%Nexwarecorp.com
3eea2bc60e - Added manual widget damage routines
git-svn-id: svn://10.0.0.236/trunk@34836 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:49:52 +00:00
sfraser%netscape.com
89d8dfb35e Remove obsolete includes
git-svn-id: svn://10.0.0.236/trunk@34835 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:49:05 +00:00
mcmullen%netscape.com
ead627bdd4 Has been idlized
git-svn-id: svn://10.0.0.236/trunk@34834 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:48:21 +00:00
rpotts%netscape.com
9b4c334efb removed whitespace after the backslash to fix the build :-)
git-svn-id: svn://10.0.0.236/trunk@34833 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:32:15 +00:00
sfraser%netscape.com
2233633bb2 Fix depth slash
git-svn-id: svn://10.0.0.236/trunk@34832 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:32:13 +00:00
kin%netscape.com
c80876db1d Added various PrintNode methods to support elements that are manually inserted via JavaScript.
git-svn-id: svn://10.0.0.236/trunk@34831 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:29:05 +00:00
sfraser%netscape.com
13507e9f98 Fix Makefile stupidity.
git-svn-id: svn://10.0.0.236/trunk@34830 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:28:17 +00:00
jband%netscape.com
15a24b995e fix for bug 7698. Have the prop state object call the right object when doing the JSENUMERATE_DESTROY and make sure that the object does not get gc'd first
git-svn-id: svn://10.0.0.236/trunk@34829 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:19:22 +00:00
pollmann%netscape.com
b1e77dc6a3 bug 2105: Textarea no longer inherits text color from parent.
git-svn-id: svn://10.0.0.236/trunk@34828 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:15:20 +00:00
pollmann%netscape.com
957e7f0de9 bug 3720: <LABEL> background draws properly now.
git-svn-id: svn://10.0.0.236/trunk@34827 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:10:56 +00:00
sfraser%netscape.com
bf060b62ab Remove EditorAppCore files
git-svn-id: svn://10.0.0.236/trunk@34826 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:10:51 +00:00
sfraser%netscape.com
533e62e5ab Removed EditorAppCore files
git-svn-id: svn://10.0.0.236/trunk@34825 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:08:51 +00:00
nisheeth%netscape.com
ae1de07242 Patch from Johny Stenback (jst@citec.fi). Thanks a lot.
git-svn-id: svn://10.0.0.236/trunk@34824 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:08:39 +00:00
sfraser%netscape.com
fa1a40c2e3 This should be a pascal string.
git-svn-id: svn://10.0.0.236/trunk@34823 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:05:17 +00:00
sfraser%netscape.com
1f4eadfe4d Fix case of GetEditorMonitor call
git-svn-id: svn://10.0.0.236/trunk@34822 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:04:20 +00:00
sfraser%netscape.com
2b1560421a Synch with editorAppCore -> editorShell changes
git-svn-id: svn://10.0.0.236/trunk@34821 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:04:04 +00:00
sfraser%netscape.com
87435a585d Remove return param from InsertElement
git-svn-id: svn://10.0.0.236/trunk@34820 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:03:37 +00:00
sfraser%netscape.com
6d56b78e87 GetLocalFileURL has moved to the editorShell
git-svn-id: svn://10.0.0.236/trunk@34819 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:03:05 +00:00
kin%netscape.com
bf89c14459 We now check the return result from the call to DeleteSelectionAndPrepareToCreateNode()
in InsertElement(). It was causing a bug that prevented the InsertLink dialog from closing.


git-svn-id: svn://10.0.0.236/trunk@34818 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:02:04 +00:00
sfraser%netscape.com
35179bbb64 Fix case of GetMonitor call.
git-svn-id: svn://10.0.0.236/trunk@34817 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:02:03 +00:00
sfraser%netscape.com
5fd75ab919 Add editor idl directory to build
git-svn-id: svn://10.0.0.236/trunk@34816 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:01:36 +00:00
sfraser%netscape.com
84c77414a8 Add factory for EditorShell, and fix case of GetMonitor call.
git-svn-id: svn://10.0.0.236/trunk@34815 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:01:07 +00:00
sfraser%netscape.com
e21d74eb6e Add EditorShell and its factory to build, and add idl dir to makefiles.
git-svn-id: svn://10.0.0.236/trunk@34814 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 19:00:22 +00:00
sfraser%netscape.com
511c24cd17 EditorAppCore is dead. Long live EditorAppCore!
git-svn-id: svn://10.0.0.236/trunk@34813 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 18:59:41 +00:00
sfraser%netscape.com
69918ef5ab editorAppCore is no more; use XPIDL'd editorShell instead.
git-svn-id: svn://10.0.0.236/trunk@34812 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 18:59:09 +00:00
sfraser%netscape.com
5c0fb77eeb Get editorShell from window.opener now that editorAppCore is no more.
git-svn-id: svn://10.0.0.236/trunk@34811 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 18:58:32 +00:00
sfraser%netscape.com
663c4a42c1 Add stubs for range and selection interfaces
git-svn-id: svn://10.0.0.236/trunk@34810 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 18:57:54 +00:00
sfraser%netscape.com
7c4a361bb0 Various minor changes to synch with others
git-svn-id: svn://10.0.0.236/trunk@34809 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 18:57:33 +00:00
sfraser%netscape.com
0d0d1f8ebb Fixing header output directory
git-svn-id: svn://10.0.0.236/trunk@34808 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 18:57:03 +00:00
sfraser%netscape.com
acc02f0d74 Add editor IDL project to build
git-svn-id: svn://10.0.0.236/trunk@34807 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 18:56:47 +00:00
valeski%netscape.com
71cf485ae8 some const build problems are now fixed
git-svn-id: svn://10.0.0.236/trunk@34806 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 18:48:10 +00:00
matt%netscape.com
27123daf77 fixing bug 7907
git-svn-id: svn://10.0.0.236/trunk@34804 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 18:22:51 +00:00
terry%mozilla.org
de649aac98 Display components in alphabetical order.
git-svn-id: svn://10.0.0.236/trunk@34803 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 17:39:38 +00:00
terry%mozilla.org
44e7ebf5dd Some apache servers seem not to deliever the REMOTE_HOST environment var.
git-svn-id: svn://10.0.0.236/trunk@34802 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 17:39:19 +00:00
terry%mozilla.org
3e0f62ac95 Was choking if not using qacontact field.
git-svn-id: svn://10.0.0.236/trunk@34801 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 17:37:43 +00:00
terry%mozilla.org
c73c766cb1 Update some things for more modern mysql's.
git-svn-id: svn://10.0.0.236/trunk@34800 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 17:37:11 +00:00
bryce-mozilla%nextbus.com
5757dcaf2f Make nospam comparison case insensitive, since BugZilla keeps the
case of the login, which might differ from the case in the database.


git-svn-id: svn://10.0.0.236/trunk@34799 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 16:07:32 +00:00
andreas.otte%primus-online.de
891f537f8e conversion to wstring / PRUnichar
some cosmetics to various Makefiles


git-svn-id: svn://10.0.0.236/trunk@34798 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 15:50:14 +00:00
dcone%netscape.com
c035592fb5 background Image speed up
Commented out the box around the printout until Troy returns


git-svn-id: svn://10.0.0.236/trunk@34797 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 14:43:14 +00:00
rhp%netscape.com
62bfd35b35 New test program for back end functionality
git-svn-id: svn://10.0.0.236/trunk@34796 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 14:21:23 +00:00
briano%netscape.com
b3ecf00132 Automated update
git-svn-id: svn://10.0.0.236/trunk@34795 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 12:59:52 +00:00
ramiro%netscape.com
810a48e65e Add --disable-pic-dso-cflags.
git-svn-id: svn://10.0.0.236/trunk@34794 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 12:49:54 +00:00
ftang%netscape.com
d81eea5f61 add factory for ISO-IR -111 userdefined charset ad cns11643 p3-7
git-svn-id: svn://10.0.0.236/trunk@34793 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 12:39:57 +00:00
ramiro%netscape.com
2cb4248bd9 Remove duplicate timer interfaces. Left over from the xpcom 2.0 landing.
git-svn-id: svn://10.0.0.236/trunk@34792 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 11:59:44 +00:00
andreas.otte%primus-online.de
cb059620b1 first checked in
git-svn-id: svn://10.0.0.236/trunk@34791 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 11:02:57 +00:00
briano%netscape.com
31f03e8a7a Automated update
git-svn-id: svn://10.0.0.236/trunk@34790 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 10:59:52 +00:00
ramiro%netscape.com
f8d28d310e Factor out the PIC flags into their own autoconf variable.
git-svn-id: svn://10.0.0.236/trunk@34789 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 10:55:36 +00:00
rpotts%netscape.com
6229edb430 Fixed up the event-sink-getter to correctly addref and QI the InputTestConsumer...
git-svn-id: svn://10.0.0.236/trunk@34788 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 09:18:25 +00:00
rpotts%netscape.com
f8eaf156e2 Fixed a memory corruption where a buffer was allocated with new[] but freed with PL_strfree()...
git-svn-id: svn://10.0.0.236/trunk@34787 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 09:17:11 +00:00
rpotts%netscape.com
822b809174 changed some printf around...
git-svn-id: svn://10.0.0.236/trunk@34786 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 08:36:40 +00:00
rpotts%netscape.com
af2b091f9a Changes to get transport streams working with the new BufferInputStream implementations...
git-svn-id: svn://10.0.0.236/trunk@34785 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 08:35:26 +00:00
rjc%netscape.com
ee5df66612 Fix importing of "IE favorites" on Windows which was broken by mcmullen when he checked in a supposed fix for something that wasn't broken.
git-svn-id: svn://10.0.0.236/trunk@34784 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 08:34:50 +00:00
rpotts%netscape.com
7e5fed03fa Fixed deadlock if another thread holds the transport lock when Process is called...
git-svn-id: svn://10.0.0.236/trunk@34783 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 08:34:21 +00:00
rpotts%netscape.com
0846133faf moved the test for being suspended inside of the main Process() loop since doRead() can suspend the transport... Also call nsSocketTransportStream::GetWriteAmount() to determine how much data can be written to the stream...
git-svn-id: svn://10.0.0.236/trunk@34782 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 08:28:22 +00:00
rpotts%netscape.com
273643c438 if no more data is available when reading a non-blocking input stream then return either WOULD_BLOCK or NS_OK... But exit the loop to prevent spinning!
git-svn-id: svn://10.0.0.236/trunk@34781 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 08:25:57 +00:00
rpotts%netscape.com
24d54b41d8 initialize the [out] parameters in GetWriteSegment so they are correct even if NS_OK is not returned...
git-svn-id: svn://10.0.0.236/trunk@34780 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 08:22:17 +00:00
waterson%netscape.com
9dee4dbd73 Fix crash parsing IE favorites.
git-svn-id: svn://10.0.0.236/trunk@34779 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 08:06:53 +00:00
andreas.otte%primus-online.de
aafa0183ad adding protocol/file makefiles
git-svn-id: svn://10.0.0.236/trunk@34778 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 07:43:54 +00:00
waterson%netscape.com
acfdf93b87 Whoops. Forgot to update URL shortcuts to use the XPIDL-ized bookmarks service. Fixed now.
git-svn-id: svn://10.0.0.236/trunk@34777 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 07:32:29 +00:00
waterson%netscape.com
c621d053c6 Move history resources to xpfe/components.
git-svn-id: svn://10.0.0.236/trunk@34776 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 07:25:10 +00:00
waterson%netscape.com
45ab5d5b13 Move history resources here from rdf/resources.
git-svn-id: svn://10.0.0.236/trunk@34775 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 07:22:37 +00:00
waterson%netscape.com
f288e775fc Move history resources to xpfe/components/history/resources.
git-svn-id: svn://10.0.0.236/trunk@34774 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 07:22:03 +00:00
bienvenu%netscape.com
2c4876217b restructure filter code to start on imap filters
git-svn-id: svn://10.0.0.236/trunk@34773 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 07:07:04 +00:00
bienvenu%netscape.com
8c0c378a37 remove offline code which isn't used yet to get rid of mac warnings, add bulletproofing on header copy
git-svn-id: svn://10.0.0.236/trunk@34772 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 07:04:22 +00:00
bienvenu%netscape.com
2e045d8315 restructure filter application to do imap filters
git-svn-id: svn://10.0.0.236/trunk@34771 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 07:01:39 +00:00
gagan%netscape.com
fd1e6f9ec2 Expiring old protocols stuff. Everything is now moved to protocol directory.
git-svn-id: svn://10.0.0.236/trunk@34770 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 06:51:56 +00:00
gagan%netscape.com
199d4363fd Ignore .class files for CVS.
git-svn-id: svn://10.0.0.236/trunk@34769 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 06:25:11 +00:00
gagan%netscape.com
3fdb13e2f4 Added the test server for testing anamalous responses from HTTP servers. For more details read http://lxr.mozilla.org/mozilla/source/netwerk/testserver/docs/help.html
git-svn-id: svn://10.0.0.236/trunk@34768 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 06:21:16 +00:00
waterson%netscape.com
4f7f2794c5 Add bookmarks.css to the style sheets we load in the panel.
git-svn-id: svn://10.0.0.236/trunk@34767 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 06:19:27 +00:00
waterson%netscape.com
0b76a73962 Change bookmarks service progid slightly.
git-svn-id: svn://10.0.0.236/trunk@34766 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 06:18:49 +00:00
waterson%netscape.com
b209dc74b5 Bookmarks now XPConnected and living in xpfe/components.
git-svn-id: svn://10.0.0.236/trunk@34765 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 06:18:11 +00:00
waterson%netscape.com
4369ac38be Make bookmarks functionality part of an XPIDL interface.
git-svn-id: svn://10.0.0.236/trunk@34764 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 06:17:46 +00:00
waterson%netscape.com
45b16a8baf Move bookmarks to xpfe/components.
git-svn-id: svn://10.0.0.236/trunk@34763 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 06:17:15 +00:00
waterson%netscape.com
6bda33f40e Add xpfe/components/bookmarks to the build.
git-svn-id: svn://10.0.0.236/trunk@34762 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 06:16:32 +00:00
waterson%netscape.com
b66e35f9d6 Build xpfe/components/bookmarks makefiles.
git-svn-id: svn://10.0.0.236/trunk@34761 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 06:16:22 +00:00
waterson%netscape.com
5d64000a40 Add xpfe/bookmarks/component to the build.
git-svn-id: svn://10.0.0.236/trunk@34760 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 06:15:28 +00:00
waterson%netscape.com
a15bfc2588 Clean up compiler warning.
git-svn-id: svn://10.0.0.236/trunk@34759 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 05:58:42 +00:00
waterson%netscape.com
490b197f4a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@34758 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 05:50:55 +00:00
sspitzer%netscape.com
4e86df49a1 wrap printf with #ifdef DEBUG
git-svn-id: svn://10.0.0.236/trunk@34757 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 05:50:13 +00:00
dougt%netscape.com
c1ef30a561 Adding default UI thread posting if user passes nsnull as the destQ
git-svn-id: svn://10.0.0.236/trunk@34756 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 05:49:11 +00:00
waterson%netscape.com
0e36b2aa60 Debug to get running properly.
git-svn-id: svn://10.0.0.236/trunk@34755 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 05:47:19 +00:00
waterson%netscape.com
16ec1828f5 Add some missing resources. Update stuff to point to the res/samples dir.
git-svn-id: svn://10.0.0.236/trunk@34754 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 05:46:45 +00:00
sspitzer%netscape.com
22fdffeab1 comment out alert code until #7770 is fixed. sigh.
git-svn-id: svn://10.0.0.236/trunk@34753 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 05:46:31 +00:00
sspitzer%netscape.com
5bc13cc1cc temporary hack to fix #6912. still more work to be done here, obviously.
git-svn-id: svn://10.0.0.236/trunk@34752 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 05:37:54 +00:00
waterson%netscape.com
328c9c6999 Add read-only accessors to get at the datasource and container elements.
git-svn-id: svn://10.0.0.236/trunk@34751 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 04:56:18 +00:00
mcafee%netscape.com
19c17d1d6a Updating last-changed date to match cvs log.
git-svn-id: svn://10.0.0.236/trunk@34750 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 04:01:22 +00:00
morse%netscape.com
57d9268011 clean up some of the dialog messages
git-svn-id: svn://10.0.0.236/trunk@34749 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 03:54:23 +00:00
danm%netscape.com
42ab29c131 adding access to primordial thread
git-svn-id: svn://10.0.0.236/trunk@34748 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 03:44:52 +00:00
morse%netscape.com
1a4f197fa7 allow for null database password -- means user doesn't get prompted for password
git-svn-id: svn://10.0.0.236/trunk@34747 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 03:41:01 +00:00
morse%netscape.com
6905e258db again fix logic for when to give notification of feature
git-svn-id: svn://10.0.0.236/trunk@34746 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 03:39:44 +00:00
waterson%netscape.com
fca2426bc3 Add null checks.
git-svn-id: svn://10.0.0.236/trunk@34745 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 03:32:02 +00:00
waterson%netscape.com
e29b721cf7 Bug 7781, part deux. Be paranoid about checking the result from the zombie pool.
git-svn-id: svn://10.0.0.236/trunk@34744 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 03:15:40 +00:00
briano%netscape.com
d36d5053b7 Automated update
git-svn-id: svn://10.0.0.236/trunk@34743 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 03:09:49 +00:00
briano%netscape.com
64b16e4168 Fix for bug 3250.
git-svn-id: svn://10.0.0.236/trunk@34742 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 03:09:15 +00:00
waterson%netscape.com
7b94de64b6 Initial revision. Not yet in the build.
git-svn-id: svn://10.0.0.236/trunk@34741 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 02:50:47 +00:00
mscott%netscape.com
0cfef23aaa When displaying a message (writing it to a file), we should skip the first line of the message which is part of the
dummy envelope for the message. We don't want to include this line.


git-svn-id: svn://10.0.0.236/trunk@34740 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 02:44:06 +00:00
sgehani%netscape.com
842f16e8a0 Surfaced enumeration service added in PersistentProperties.
git-svn-id: svn://10.0.0.236/trunk@34739 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 02:22:34 +00:00
sgehani%netscape.com
8997c2364f Updated tests to reflect newly added enumeration service in PersistentProperties.
git-svn-id: svn://10.0.0.236/trunk@34738 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 02:21:34 +00:00
mcafee%netscape.com
40f9b76016 Protecting a null pointer dereference.
git-svn-id: svn://10.0.0.236/trunk@34737 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 02:20:54 +00:00
sgehani%netscape.com
68a3a5bc2f Added enumeration service to PersistentProperties which returns an enumeration of
PropertyElement objects.


git-svn-id: svn://10.0.0.236/trunk@34736 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 02:20:36 +00:00
jband%netscape.com
637446e2bc 1) adding the fix for 7926 from brendan and sfraser (with cleanup from me).
2) added where I was not checking for JSVAL_NULL from brendan.
3) got rid of 'xpcom32' references.
4) added nsIEcho::ReturnInterface as a loopback for testing the above.
5) removed some redundant retval setting code.


git-svn-id: svn://10.0.0.236/trunk@34734 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 02:04:42 +00:00
warren%netscape.com
f1300adcbe Added range offsets to open stream methods.
git-svn-id: svn://10.0.0.236/trunk@34733 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 01:37:43 +00:00
warren%netscape.com
772a460bd4 Added start of file: protocol.
git-svn-id: svn://10.0.0.236/trunk@34732 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 01:37:24 +00:00
frankm%eng.sun.com
5f4bba2ae5 Fixes for LC3 regression tests, including:
- check static members of instances in JavaMembers.put

- do not unwrap Wrappers before calling NativeJavaMethod.findFunction
     or NativeJavaObject.coerceType; both methods may need extra information
     provided by the wrapper.

- separate Java signatures for resolving overloaded methods and script
     signatures for error messages, so we can distinguish primitive types
     from classes.

- separate Java signatures for resolving overloaded methods and script
     signatures for error messages, so we can distinguish primitive types
     from classes.

- prevent a NativeJavaClass from being treated as a wrapped instance of
     java.lang.Class

- correct bug which preferred the *less* specific of two classes in
     NativeJavaMethod.preferSignature

- add new LC3 conversion rules to  NativeJavaObject.coerceTypes.

- coerce JS numbers to Java numbers or chars only if the JS number is in
     range.


git-svn-id: svn://10.0.0.236/trunk@34731 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 01:24:40 +00:00
bsharma%netscape.com
8e360f9516 changed the sleep time to 90 seconds
git-svn-id: svn://10.0.0.236/trunk@34730 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 01:20:50 +00:00
pollmann%netscape.com
61b4a19b82 Bug 7935: Resizing frames beyond edge doesn't cause offset anymore.
git-svn-id: svn://10.0.0.236/trunk@34729 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 01:18:50 +00:00
pollmann%netscape.com
48ebbb6439 Bug 4711: Retain frameset resize information through reflows.
git-svn-id: svn://10.0.0.236/trunk@34727 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:51:05 +00:00
sspitzer%netscape.com
e1f4704793 remove the "." from these menu items. they are working now.
git-svn-id: svn://10.0.0.236/trunk@34726 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:42:38 +00:00
sfraser%netscape.com
a58ff3889b Remove duplicate BuildIDLProject for mozcomps
git-svn-id: svn://10.0.0.236/trunk@34725 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:41:33 +00:00
ftang%netscape.com
8d2476ca0e add cid for cp936
git-svn-id: svn://10.0.0.236/trunk@34724 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:41:23 +00:00
ftang%netscape.com
185ba1e56a add cp949 cid
git-svn-id: svn://10.0.0.236/trunk@34723 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:38:52 +00:00
dougt%netscape.com
e30570a54f File Removed.
git-svn-id: svn://10.0.0.236/trunk@34722 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:38:49 +00:00
dougt%netscape.com
42762abad9 Updates the project to use the new xpcom 2.
git-svn-id: svn://10.0.0.236/trunk@34721 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:37:35 +00:00
dougt%netscape.com
f8dddcae9c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@34720 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:37:05 +00:00
ftang%netscape.com
6ea6adbcc2 add CP932 cid
git-svn-id: svn://10.0.0.236/trunk@34719 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:36:45 +00:00
dougt%netscape.com
dd310396c9 Fixing some releasing object bugs.
git-svn-id: svn://10.0.0.236/trunk@34718 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:35:39 +00:00
ftang%netscape.com
6f1a3ec464 add cid for CP950
git-svn-id: svn://10.0.0.236/trunk@34717 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:34:54 +00:00
ducarroz%netscape.com
5c55f8281f Replace MsgComposeAppCore by a XPConnect object
git-svn-id: svn://10.0.0.236/trunk@34716 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:34:32 +00:00
ftang%netscape.com
154dca77cb add cid for cns11643 p3-7 encoder
git-svn-id: svn://10.0.0.236/trunk@34715 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:32:52 +00:00
ftang%netscape.com
44280723a0 add CID for ISOIR111 and UserDefined
git-svn-id: svn://10.0.0.236/trunk@34714 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:28:47 +00:00
pollmann%netscape.com
2bc61c5523 Bug 7934: Calculate frameset percentage widths/heights correctly.
git-svn-id: svn://10.0.0.236/trunk@34713 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:28:00 +00:00
sspitzer%netscape.com
1f1d370348 changes for ducarroz's checkin
git-svn-id: svn://10.0.0.236/trunk@34712 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:25:31 +00:00
ducarroz%netscape.com
f01f4d4177 Add more IDL files
git-svn-id: svn://10.0.0.236/trunk@34711 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:25:26 +00:00
ducarroz%netscape.com
b3b2492e39 need to include "nsMsgComposeBE.h" as it not include by the interface anymore
git-svn-id: svn://10.0.0.236/trunk@34710 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:25:21 +00:00
ducarroz%netscape.com
aa460cdfdb Replace ComposeMessageWithType by ComposeMessage
git-svn-id: svn://10.0.0.236/trunk@34709 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:25:20 +00:00
ducarroz%netscape.com
68e7778cb1 Replace ComposeAppcore stuff by nsIMsgComposeService & nsIMsgCompose
git-svn-id: svn://10.0.0.236/trunk@34708 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:25:19 +00:00
ducarroz%netscape.com
ea74392715 Replace Compose Appcore by nsIMsgComposeService/nsIMsgCompose
git-svn-id: svn://10.0.0.236/trunk@34707 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:25:18 +00:00
ducarroz%netscape.com
bf39d98a64 update make file
git-svn-id: svn://10.0.0.236/trunk@34706 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:25:16 +00:00
ducarroz%netscape.com
7ece6b4552 Replace Compose Appcore by XPConnect object nsIMsgComposeService & nsIMsgCompose.
git-svn-id: svn://10.0.0.236/trunk@34705 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:25:15 +00:00
ducarroz%netscape.com
503c346630 Add Message Compose Service CID
git-svn-id: svn://10.0.0.236/trunk@34704 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:25:14 +00:00
rogerl%netscape.com
17cd7246b8 Function calling begun.
git-svn-id: svn://10.0.0.236/trunk@34703 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:21:26 +00:00
sfraser%netscape.com
9899611910 Add a new parameter.
git-svn-id: svn://10.0.0.236/trunk@34702 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:04:46 +00:00
sfraser%netscape.com
1eafb358d4 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@34701 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:04:24 +00:00
mcafee%netscape.com
26bab3f988 Removing obsolete nsDialog. a=rickg
git-svn-id: svn://10.0.0.236/trunk@34700 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 00:00:58 +00:00
mcmullen%netscape.com
0e1b8c7aad Updated to changed prefwindow interface.
git-svn-id: svn://10.0.0.236/trunk@34699 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:55:54 +00:00
ftang%netscape.com
5db9ab231b add real implementation for user defined charset
git-svn-id: svn://10.0.0.236/trunk@34698 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:55:12 +00:00
ftang%netscape.com
8959bd9a9f add mapping for user defined charset, we use private zone F780-F7FF to map 80-FF
git-svn-id: svn://10.0.0.236/trunk@34697 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:52:09 +00:00
sfraser%netscape.com
5a9be56e76 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@34696 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:50:26 +00:00
ftang%netscape.com
0cdd42f7e4 add NPL
git-svn-id: svn://10.0.0.236/trunk@34695 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:49:49 +00:00
law%netscape.com
fa95e6aa23 added files: mozilla/xpfe/components/ucth/public/nsIUnkContentTypeHandler.idl, removed files: mozilla/xpfe/components/ucth/public/nsIUnknownContentTypeHandler.idl
git-svn-id: svn://10.0.0.236/trunk@34694 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:48:24 +00:00
waterson%netscape.com
35b452e6bd Add a bit of documentation.
git-svn-id: svn://10.0.0.236/trunk@34693 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:46:30 +00:00
law%netscape.com
c56e10044b Fix mac build bustage (file name was too long)
git-svn-id: svn://10.0.0.236/trunk@34692 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:45:54 +00:00
mscott%netscape.com
1ca7ce2b8d Remove assertion as we are finding that it doesn't apply.
git-svn-id: svn://10.0.0.236/trunk@34691 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:45:16 +00:00
mcafee%netscape.com
2b92caea80 Removing obsolete nsDialog. a=rickg
git-svn-id: svn://10.0.0.236/trunk@34690 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:43:25 +00:00
waterson%netscape.com
8069f262bb Add entity references to make localizable.
git-svn-id: svn://10.0.0.236/trunk@34689 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:42:18 +00:00
waterson%netscape.com
f6d643c709 Bug 6374. Add entity refs to make flash panel localizable.
git-svn-id: svn://10.0.0.236/trunk@34688 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:38:54 +00:00
ftang%netscape.com
0b4a10a109 add implementation for ISO-8859-10
git-svn-id: svn://10.0.0.236/trunk@34687 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:31:51 +00:00
ducarroz%netscape.com
eb58989f6b don't addref a null ptr, that hurts!
git-svn-id: svn://10.0.0.236/trunk@34686 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:31:44 +00:00
ftang%netscape.com
a9b121ca89 add mapping table for ISO-8859-10 which based on the charmaps on ftp://dkuug.dk/i18n/charmaps
git-svn-id: svn://10.0.0.236/trunk@34685 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:31:02 +00:00
waterson%netscape.com
5db8306557 Bug 7781. Don't add nodes without ID attributes to the zombie pool. Oh, per selmer's suggestion, improved some of the variable and method names ;-).
git-svn-id: svn://10.0.0.236/trunk@34684 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:29:41 +00:00
putterman%netscape.com
2fdd8a3e81 Use onclick until onchange gets fixed.
git-svn-id: svn://10.0.0.236/trunk@34683 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:26:37 +00:00
harishd%netscape.com
c876f21ef3 Fix for bug#5682
Propagating error to nsParser.


git-svn-id: svn://10.0.0.236/trunk@34682 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:25:01 +00:00
harishd%netscape.com
f8e87704a2 Propagating NS_ERROR_HTMLPARSER_STOPPARSING on XML error.
git-svn-id: svn://10.0.0.236/trunk@34681 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:23:50 +00:00
harishd%netscape.com
56c5880014 Capturing parser STOP error.
Fix for bug# 5682


git-svn-id: svn://10.0.0.236/trunk@34680 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:22:37 +00:00
harishd%netscape.com
7462438cbe *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@34679 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:21:39 +00:00
harishd%netscape.com
a3fb3e7196 Added a new member variable "mParserTerminated" to stop the parser
on an error.


git-svn-id: svn://10.0.0.236/trunk@34678 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 23:20:51 +00:00
mcafee%netscape.com
144f073c62 Removing obsolete nsDialog. a=rickg
git-svn-id: svn://10.0.0.236/trunk@34677 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:52:29 +00:00
law%netscape.com
45ed3c204e Switching xpfe components to use XPIDL
git-svn-id: svn://10.0.0.236/trunk@34676 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:43:08 +00:00
ftang%netscape.com
6465965ac8 put the real implementation of ISO-IR-111 converters into the empty file
git-svn-id: svn://10.0.0.236/trunk@34675 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:39:46 +00:00
briano%netscape.com
2900f3eb31 Ifdef hack to get this to compile on SunOS 4.x.
git-svn-id: svn://10.0.0.236/trunk@34674 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:37:27 +00:00
law%netscape.com
89ffb93ec5 added files: mozilla/xpfe/components/find/public/nsIFindComponent.idl, mozilla/xpfe/components/ucth/public/nsIUnknownContentTypeHandler.idl, mozilla/xpfe/components/xfer/public/nsIStreamTransfer.idl
git-svn-id: svn://10.0.0.236/trunk@34673 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:36:27 +00:00
valeski%netscape.com
52869d557a making the nsNetModuleMgr a singleton
git-svn-id: svn://10.0.0.236/trunk@34672 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:26:37 +00:00
neeti%netscape.com
5324b574d3 initial checkin for cookie module
git-svn-id: svn://10.0.0.236/trunk@34671 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:20:14 +00:00
ftang%netscape.com
085672396d add iso-ir-111 table based on ftp://dkuug.dk/i18n/charmaps/ECMA-CYRILLIC
git-svn-id: svn://10.0.0.236/trunk@34670 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:09:29 +00:00
ducarroz%netscape.com
ad623a0b59 make it scriptable, sync. with current implementation
git-svn-id: svn://10.0.0.236/trunk@34669 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:09:17 +00:00
neeti%netscape.com
15bff55a66 The Cookie Module: Initial Version
git-svn-id: svn://10.0.0.236/trunk@34668 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:08:59 +00:00
ducarroz%netscape.com
21ad463edf Add a temporary hack to make the reply/forward kind of work
git-svn-id: svn://10.0.0.236/trunk@34667 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:08:35 +00:00
mscott%netscape.com
699b88c3e1 Finish save messsage to disk work --> reworked mailbox protocol to use an nsIFileSpec for the temp message
we write in order to display messages. Also added code to set the temp file to be the save message to disk
file if that was the type of url we are running.


git-svn-id: svn://10.0.0.236/trunk@34666 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:08:32 +00:00
law%netscape.com
f5f3627aff Preparing for switch to XPIDL
git-svn-id: svn://10.0.0.236/trunk@34665 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:07:26 +00:00
mscott%netscape.com
3decfd668d Be sure to set byte range for mailbox urls where the action is save file to disk.
git-svn-id: svn://10.0.0.236/trunk@34664 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:06:19 +00:00
ducarroz%netscape.com
1d24b7f8c3 Add temporary an argument to OpenComposeWindow
git-svn-id: svn://10.0.0.236/trunk@34663 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:06:01 +00:00
ducarroz%netscape.com
29dc256a4f total rewrite
git-svn-id: svn://10.0.0.236/trunk@34662 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:04:21 +00:00
ducarroz%netscape.com
d1906eec9a make it scriptable
git-svn-id: svn://10.0.0.236/trunk@34661 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:03:28 +00:00
mcafee%netscape.com
f1e024f67f Removing usages of obsolete nsDialog. a=rickg
git-svn-id: svn://10.0.0.236/trunk@34660 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:03:27 +00:00
ducarroz%netscape.com
b22bd6219d export more IDL files
git-svn-id: svn://10.0.0.236/trunk@34659 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 22:02:24 +00:00
valeski%netscape.com
b1b4ed9c0c added external module http hooks
git-svn-id: svn://10.0.0.236/trunk@34658 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:58:26 +00:00
valeski%netscape.com
330ce1a68a added some comments and thread safety fixes
git-svn-id: svn://10.0.0.236/trunk@34657 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:57:47 +00:00
kin%netscape.com
1e231ecd86 Fix build bustage on Win32.
git-svn-id: svn://10.0.0.236/trunk@34656 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:56:47 +00:00
law%netscape.com
bb05876536 Preparing for switch to XPIDL
git-svn-id: svn://10.0.0.236/trunk@34655 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:55:36 +00:00
mjudge%netscape.com
b2a2c02eac minor changes to tweak fix from before. GetPositionSlowly was returning wrong thing causing small caps and other wierd spacing letters to be selected incorrectly.
git-svn-id: svn://10.0.0.236/trunk@34654 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:55:14 +00:00
ftang%netscape.com
a5d081eae5 return the correct error code, and do not return error when no reload is necessary
git-svn-id: svn://10.0.0.236/trunk@34653 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:48:16 +00:00
law%netscape.com
2dc6f4fa0f Preparing for switch to XPIDL
git-svn-id: svn://10.0.0.236/trunk@34652 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:47:30 +00:00
sfraser%netscape.com
d10cf0b444 Comment out useless assert.
git-svn-id: svn://10.0.0.236/trunk@34651 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:43:08 +00:00
tague%netscape.com
ce27e666ad Additional work on conditionalized fiex for #7629. Fix problems with ctrl-keys not being dispatched.
git-svn-id: svn://10.0.0.236/trunk@34650 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:38:05 +00:00
danm%netscape.com
fdc23ccb1b implement show/hide menubar
git-svn-id: svn://10.0.0.236/trunk@34649 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:34:43 +00:00
akkana%netscape.com
4f0476dd20 Remove unused third argument from InsertElement
git-svn-id: svn://10.0.0.236/trunk@34648 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:32:30 +00:00
briano%netscape.com
643ea17272 Automated update
git-svn-id: svn://10.0.0.236/trunk@34647 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:32:05 +00:00
briano%netscape.com
a921fca398 Fixed my stupid mistake that broke FreeBSD. Thanks to reg@shale.csir.co.za (Jeremy Lea) for pointing this out to me.
git-svn-id: svn://10.0.0.236/trunk@34646 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:31:43 +00:00
akkana%netscape.com
91f72d1f82 Implement InsertHTML.
Also, some minor fixes, like warning removal and addition of error checking
in files which needed it.


git-svn-id: svn://10.0.0.236/trunk@34645 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:31:42 +00:00
ftang%netscape.com
7d34375077 add new files to mac project files
git-svn-id: svn://10.0.0.236/trunk@34644 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:24:06 +00:00
mjudge%netscape.com
8650f1059b adding kins fix for the bitrotted addrange code. never was used before
git-svn-id: svn://10.0.0.236/trunk@34643 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:24:04 +00:00
ftang%netscape.com
26b26b4ab0 add new files to Unix makefiles
git-svn-id: svn://10.0.0.236/trunk@34642 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:21:08 +00:00
ftang%netscape.com
ca2a634d97 add new files into makefiles
git-svn-id: svn://10.0.0.236/trunk@34641 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:19:48 +00:00
mjudge%netscape.com
21a15def92 fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ


git-svn-id: svn://10.0.0.236/trunk@34640 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:08:17 +00:00
Jerry.Kirk%Nexwarecorp.com
4062735a01 - Fixes Typo on MenuBar
git-svn-id: svn://10.0.0.236/trunk@34639 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:07:56 +00:00
Jerry.Kirk%Nexwarecorp.com
73afde7b71 -Fixes for Test12.html
git-svn-id: svn://10.0.0.236/trunk@34638 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:07:26 +00:00
Jerry.Kirk%Nexwarecorp.com
684bb08a8d - Fixes for test12.html
git-svn-id: svn://10.0.0.236/trunk@34637 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:07:11 +00:00
tague%netscape.com
3554e0b087 Additional fix for re-distpach of char+modifier key as a character, part of the conditionalized fix for #6896
git-svn-id: svn://10.0.0.236/trunk@34636 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:49:29 +00:00
waterson%netscape.com
976a72c833 Fix depend build bustage.
git-svn-id: svn://10.0.0.236/trunk@34635 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:46:25 +00:00
dougt%netscape.com
c7ff7ab896 Fixes bug 7763. now exporting the xpinstall.js file to the components directory.
git-svn-id: svn://10.0.0.236/trunk@34634 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:33:20 +00:00
mcmullen%netscape.com
a1b1cb2963 Removed an unused variable.
git-svn-id: svn://10.0.0.236/trunk@34633 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:32:35 +00:00
sspitzer%netscape.com
11829db7ca clean up for nsIMsgHdr and nsIMessage header and idl insanity
git-svn-id: svn://10.0.0.236/trunk@34632 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:26:32 +00:00
sspitzer%netscape.com
3c226bb99f clean up the nsIMsgHdr and nIMessage idl and header insanity.
git-svn-id: svn://10.0.0.236/trunk@34631 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:25:23 +00:00
sspitzer%netscape.com
b8adaad7e3 clean up the nsIMsgHdr & nsIMessage idl and header insanity
git-svn-id: svn://10.0.0.236/trunk@34630 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:24:43 +00:00
dougt%netscape.com
0de862590b Adding Autoproxification.
git-svn-id: svn://10.0.0.236/trunk@34629 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:24:15 +00:00
mcmullen%netscape.com
140dd409d2 Fix the mailnews pref-window-showing code to work with the prefwindow changes.
git-svn-id: svn://10.0.0.236/trunk@34628 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:23:06 +00:00
waterson%netscape.com
71bfb9d7d8 Remove nsStringImpl and nsIString.
git-svn-id: svn://10.0.0.236/trunk@34627 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:20:32 +00:00
law%netscape.com
e35d7746b7 Switching to XPIDL (this isn't actually used quite yet)
git-svn-id: svn://10.0.0.236/trunk@34626 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:20:21 +00:00
cata%netscape.com
aea528655a Bug fix.
git-svn-id: svn://10.0.0.236/trunk@34625 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:19:58 +00:00
waterson%netscape.com
915a67d0c4 Remove nsStringImpl.cpp.
git-svn-id: svn://10.0.0.236/trunk@34624 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:19:52 +00:00
akkana%netscape.com
85e947383a Fix 5968 -- I got tired of seeing a bazillion warnings about the parameter index shadowing the globally defined string function
git-svn-id: svn://10.0.0.236/trunk@34623 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:18:17 +00:00
cata%netscape.com
6c7fbe0271 Bug fixes in the UTF-7 converters.
git-svn-id: svn://10.0.0.236/trunk@34622 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:06:00 +00:00
sfraser%netscape.com
9ce368c9e1 Clean up building of IDL projects, adding separate IDL group.
git-svn-id: svn://10.0.0.236/trunk@34621 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 20:02:53 +00:00
mcmullen%netscape.com
a1a83a4ea7 Fixed the -pref code to (1) use the new lowerStartInterCaps method names (and use the combined init() and showWindow() method), and (2) to release the prefwindow object.
git-svn-id: svn://10.0.0.236/trunk@34620 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:57:02 +00:00
mcmullen%netscape.com
c7f5e5d0c9 Converted method names to lowerStartInterCaps, following the JS convention. Combined init() and showWindow to reduce pointless verbosity in javascript usage (since they are always called together). Added a third parameter, an initial panel url, though this is as yet unsupported.
git-svn-id: svn://10.0.0.236/trunk@34619 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:55:08 +00:00
sfraser%netscape.com
1bde299d6f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@34618 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:52:49 +00:00
mcmullen%netscape.com
50600ebfb0 Added bulletproofing for null buffer parameters
git-svn-id: svn://10.0.0.236/trunk@34617 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:51:36 +00:00
waterson%netscape.com
de4ae79cf3 Back out Hyatt's changes to use DOM APIs. This is busting mailnews. Use content APIs until we figure out persistence story.
git-svn-id: svn://10.0.0.236/trunk@34616 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:51:35 +00:00
mcmullen%netscape.com
945fc61529 Compromise. On other platforms, NS_WARNING does not call break. So we'll do the same. So for NS_WARNING, we'll simply print to the console and continue, a la mode de Pierre, while for other forms of NS_BLOWCHUNKS, we'll break into the debugger, as of old.
git-svn-id: svn://10.0.0.236/trunk@34615 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:50:56 +00:00
rjc%netscape.com
de84938fce XUL templates now look for any attribute (other than "uri") which equals "..." and substitutes the URI of the attached node.
git-svn-id: svn://10.0.0.236/trunk@34614 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:44:59 +00:00
kin%netscape.com
29d7d10d5b Added EditorGetNodeFromOffsets() and EditorSetSelectionFromOffsets().
git-svn-id: svn://10.0.0.236/trunk@34613 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:43:43 +00:00
rjc%netscape.com
db8176ecc1 More search support.
git-svn-id: svn://10.0.0.236/trunk@34612 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:42:53 +00:00
kin%netscape.com
87f40affc1 First pass checkin of the JavaScript editor logging mechanism. All changes are
ifdef'd with ENABLE_JS_EDITOR_LOG.


git-svn-id: svn://10.0.0.236/trunk@34611 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:41:40 +00:00
mscott%netscape.com
9dec3904ca Fix smtp send problem. I was over zealous in fixing a memory leak and we were appending an extra
comma to the list of recipients.


git-svn-id: svn://10.0.0.236/trunk@34610 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 19:37:18 +00:00
briano%netscape.com
e7eb31ad48 Automated update
git-svn-id: svn://10.0.0.236/trunk@34609 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 16:29:51 +00:00
ramiro%netscape.com
25d0cce0ca Fix something that was very with the last checkin. Dont strip .a files
dumbass.  Approved by the Bastard Operator From Hell.


git-svn-id: svn://10.0.0.236/trunk@34608 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 16:27:39 +00:00
briano%netscape.com
c7689ec171 Automated update
git-svn-id: svn://10.0.0.236/trunk@34607 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 15:29:51 +00:00
ramiro%netscape.com
d4bf0bf877 Add a configure flag --enable-strip-libs to make it easy to force the
libraries to strip.


git-svn-id: svn://10.0.0.236/trunk@34606 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 15:18:02 +00:00
valeski%netscape.com
aa6822fa14 I was continuing through a loop when I wasn't supposed to be
git-svn-id: svn://10.0.0.236/trunk@34605 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 15:13:37 +00:00
briano%netscape.com
9c2b61909b Automated update
git-svn-id: svn://10.0.0.236/trunk@34604 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 14:59:53 +00:00
ramiro%netscape.com
f769e571e4 Cleanup the ClientWallet, SingleSignon and CookieManagement mess.
git-svn-id: svn://10.0.0.236/trunk@34603 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 14:59:06 +00:00
jefft%netscape.com
274ee6d1a2 undo framework
git-svn-id: svn://10.0.0.236/trunk@34602 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 14:55:36 +00:00
ftang%netscape.com
3b73f6690e add real implementation for Unicode To CNS p3-p7 converters
git-svn-id: svn://10.0.0.236/trunk@34601 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 14:36:31 +00:00
ftang%netscape.com
164bf71469 chang variable name and fix Unicode to CNS plan 2 conversion mapping
git-svn-id: svn://10.0.0.236/trunk@34600 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 14:27:40 +00:00
ftang%netscape.com
2a0d18cf41 add CNS 11643 p3-7 to EUCTW
git-svn-id: svn://10.0.0.236/trunk@34599 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 14:14:50 +00:00
ftang%netscape.com
b5568edd02 remove incorrect checkin
git-svn-id: svn://10.0.0.236/trunk@34598 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 13:59:27 +00:00
ftang%netscape.com
b0442d0ce8 add cns[3-7].u[ft] which generated by the file uni2cns.txt created by Koichi Yasuoka <yasukoda@kudpc.kyoto.u.ac.jp>. Notice the CNS plan 1 and 2 are not based on this file but the John Jenkin's one. There are some difference between these two file in p1
git-svn-id: svn://10.0.0.236/trunk@34597 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 13:56:29 +00:00
dcone%netscape.com
2acb7fb2aa Fixed a solaris bug, took out a URL call until I can find the real cause
of the problem


git-svn-id: svn://10.0.0.236/trunk@34596 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 13:53:14 +00:00
briano%netscape.com
e8fe0cf3c4 Automated update
git-svn-id: svn://10.0.0.236/trunk@34595 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 13:29:51 +00:00
ramiro%netscape.com
9096a6f51c Remove USE_STRING2 hack. No longer needed since nsString2 is the default.
git-svn-id: svn://10.0.0.236/trunk@34594 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 13:28:26 +00:00
ramiro%netscape.com
827f1e3b3f Add #ifdef use of graphics state pool.
git-svn-id: svn://10.0.0.236/trunk@34593 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 13:11:22 +00:00
ftang%netscape.com
c7e1211fb1 add functionality to uscan and ugen so we can add CNS11643 p3-7 into euc-tw
git-svn-id: svn://10.0.0.236/trunk@34592 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 12:56:33 +00:00
ramiro%netscape.com
76cabb03d3 Factor out the graphics state struct into its own header and implementation
files.


git-svn-id: svn://10.0.0.236/trunk@34591 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 12:45:14 +00:00
hyatt%netscape.com
8723410029 Popup menus animate and shag in the correct directions, baby.
git-svn-id: svn://10.0.0.236/trunk@34590 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 09:41:14 +00:00
hyatt%netscape.com
e95c0a1e71 Tweak to the tree frame construction code.
git-svn-id: svn://10.0.0.236/trunk@34589 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 09:31:30 +00:00
mccabe%netscape.com
786e0eb5ce Various touchups and warning fixes.
git-svn-id: svn://10.0.0.236/trunk@34588 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 09:18:59 +00:00
mccabe%netscape.com
ae16bfb2d8 Fix many warnings, remove legacy -h option.
git-svn-id: svn://10.0.0.236/trunk@34587 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 08:21:35 +00:00
sspitzer%netscape.com
29a200f6f3 fix the crashing when I post news.
git-svn-id: svn://10.0.0.236/trunk@34586 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 08:08:22 +00:00
waterson%netscape.com
510168afe3 Oops. I'd screwed up the Release() method.
git-svn-id: svn://10.0.0.236/trunk@34585 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 08:01:13 +00:00
mscott%netscape.com
f27ffb8efc Remove references to mailnews header files.
git-svn-id: svn://10.0.0.236/trunk@34584 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 07:41:35 +00:00
mscott%netscape.com
89a37950cc change the start page. don't point to www.mozilla.org. this is only until #7417 gets fixed.
git-svn-id: svn://10.0.0.236/trunk@34583 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 07:26:38 +00:00
mscott%netscape.com
65dff35e1e Change comment to reflect tthe appropriate interface. (it was confusing before).
git-svn-id: svn://10.0.0.236/trunk@34582 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 07:21:06 +00:00
mscott%netscape.com
c2956c6b83 Trying to clear some stuff up to make it easier for Seth and I to track down the build breakage.
git-svn-id: svn://10.0.0.236/trunk@34581 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 06:55:14 +00:00
waterson%netscape.com
b32f67a8a9 Enable aggregation on the in-memory datasource.
git-svn-id: svn://10.0.0.236/trunk@34580 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 06:47:28 +00:00
waterson%netscape.com
0d88744fb8 Fix build bustage: make sure overloaded function uses identical return
type.


git-svn-id: svn://10.0.0.236/trunk@34579 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 06:40:43 +00:00
hyatt%netscape.com
177f37d06f Using DOM calls for setting/removing selection and hover attributes.
git-svn-id: svn://10.0.0.236/trunk@34578 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:53:01 +00:00
mscott%netscape.com
4dbdaef4cf Fix for SunOS build. we were using a nsCOMPtr on two interfaces without explicitly including the interface header file.
git-svn-id: svn://10.0.0.236/trunk@34577 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:49:17 +00:00
sspitzer%netscape.com
0b8541733b nsINNTPProtocol.h is going away, since it is not being used.
the only thing that uses nsNNTPProtocol is nsNntpService.
remove it from the news factory.

changes to get mark message read on display working.


git-svn-id: svn://10.0.0.236/trunk@34576 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:39:09 +00:00
sspitzer%netscape.com
bdc1298557 work to get this test working again. it's not building right now.
git-svn-id: svn://10.0.0.236/trunk@34575 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:33:55 +00:00
peterl%netscape.com
f7f8d0f24e added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)


git-svn-id: svn://10.0.0.236/trunk@34574 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:33:47 +00:00
peterl%netscape.com
7f52ade062 added files: mozilla/layout/html/style/src/nsCSSRule.cpp, mozilla/layout/html/style/src/nsCSSRules.cpp
git-svn-id: svn://10.0.0.236/trunk@34573 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:32:57 +00:00
peterl%netscape.com
df059bed47 added new rule interfaces & base class
git-svn-id: svn://10.0.0.236/trunk@34572 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:32:38 +00:00
sspitzer%netscape.com
0913b8ef91 the tests are going to break, so I am turning them off. I'll be turning them back on once I figure out what to do.
git-svn-id: svn://10.0.0.236/trunk@34571 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:32:37 +00:00
peterl%netscape.com
bd8c71d3d0 better namespace support
made descend from nsICSSRule


git-svn-id: svn://10.0.0.236/trunk@34570 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:30:36 +00:00
peterl%netscape.com
4dbbd3e8c7 removed cruft
git-svn-id: svn://10.0.0.236/trunk@34569 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:29:53 +00:00
peterl%netscape.com
68d8d61fec added support for other rule types
cleaned up api


git-svn-id: svn://10.0.0.236/trunk@34568 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:29:22 +00:00
peterl%netscape.com
4c99a1649d better namespace support
made descend from nsCSSRule base class


git-svn-id: svn://10.0.0.236/trunk@34567 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:28:32 +00:00
peterl%netscape.com
a56e7c62ac added helper method to token
git-svn-id: svn://10.0.0.236/trunk@34566 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:27:01 +00:00
peterl%netscape.com
f7d2222f18 added support for @namespace & @media
stubbed out support for other @rules
sync to sheet api changes


git-svn-id: svn://10.0.0.236/trunk@34565 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:25:23 +00:00
peterl%netscape.com
0c076004c8 added support for attribute namespaces on generated content
stubed out improvements to style change painting code


git-svn-id: svn://10.0.0.236/trunk@34564 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:24:00 +00:00
peterl%netscape.com
bf9b5f28c1 Cleanup API
Added support for other rule types
Added namespace support


git-svn-id: svn://10.0.0.236/trunk@34563 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:22:13 +00:00
peterl%netscape.com
9465779a16 sync to style sheet api change
added support for detecting other css rule types


git-svn-id: svn://10.0.0.236/trunk@34562 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:21:22 +00:00
peterl%netscape.com
8e2b932b12 made query for attributes in other namespaces legal, just not work
git-svn-id: svn://10.0.0.236/trunk@34561 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:20:28 +00:00
peterl%netscape.com
6d72b15356 added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)


git-svn-id: svn://10.0.0.236/trunk@34560 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:18:46 +00:00
peterl%netscape.com
a9ba7b2cdd removed equals and hashvalue methods
git-svn-id: svn://10.0.0.236/trunk@34559 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:17:27 +00:00
sspitzer%netscape.com
d59e2a9e54 get this to link on IRIX. thanks to Jason Heirtzler <jasonh@engr.sgi.com> for the patch.
git-svn-id: svn://10.0.0.236/trunk@34558 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 04:32:46 +00:00
briano%netscape.com
ee41abd1a8 Changed the platform-specific ifdefs wrt XP_RANDOM to use HAVE_RANDOM instead.
git-svn-id: svn://10.0.0.236/trunk@34557 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 04:07:09 +00:00
briano%netscape.com
207c218a16 Changed all the platform-specific ifdefs wrt XP_RANDOM to use HAVE_RANDOM instead.
git-svn-id: svn://10.0.0.236/trunk@34556 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 04:05:28 +00:00
briano%netscape.com
9980d10c96 Automated update
git-svn-id: svn://10.0.0.236/trunk@34555 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 03:59:50 +00:00
briano%netscape.com
e0af9c3bb9 Added a check for random().
git-svn-id: svn://10.0.0.236/trunk@34554 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 03:56:41 +00:00
karnaze%netscape.com
1827bdff68 removed temp windows code added by accident
git-svn-id: svn://10.0.0.236/trunk@34553 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 03:48:06 +00:00
peterl%netscape.com
691ead1e2f #ifdef'd out windows specific timer code
git-svn-id: svn://10.0.0.236/trunk@34552 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 03:43:43 +00:00
mscott%netscape.com
f6a998a901 fix memory leak
git-svn-id: svn://10.0.0.236/trunk@34551 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 03:06:28 +00:00
ducarroz%netscape.com
9c6c376512 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@34550 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 03:05:22 +00:00
ducarroz%netscape.com
9af17368af add a missing declarations, fix build bustage
git-svn-id: svn://10.0.0.236/trunk@34549 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 03:04:54 +00:00
mscott%netscape.com
c3780a7ecb Fix memory leaks.
git-svn-id: svn://10.0.0.236/trunk@34548 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:47:29 +00:00
mscott%netscape.com
a583b6d8e4 Fix memory leaks of messenger & msg composer bootstraps. Also removed 2 noisy printfs for bootstrapping
messenger code.


git-svn-id: svn://10.0.0.236/trunk@34547 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:46:06 +00:00
mcmullen%netscape.com
61b5c92698 XML is case sensitive, and that's why the "Save" button didn't work!
git-svn-id: svn://10.0.0.236/trunk@34546 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:32:06 +00:00
morse%netscape.com
55c8ea8e59 acceptable workaround for bug 6928
git-svn-id: svn://10.0.0.236/trunk@34545 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:29:58 +00:00
karnaze%netscape.com
16daf5e57c bug 6459 - incremental reflow methods call DeleteFrame instead of RemoveFrame
git-svn-id: svn://10.0.0.236/trunk@34544 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:29:34 +00:00
mcmullen%netscape.com
7b74874945 Don't try to call strlen() on a null string.
git-svn-id: svn://10.0.0.236/trunk@34543 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:24:21 +00:00
alecf%netscape.com
9fab568c18 fix leak
git-svn-id: svn://10.0.0.236/trunk@34542 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:19:01 +00:00
alecf%netscape.com
7319ebd433 fix some leaks
git-svn-id: svn://10.0.0.236/trunk@34541 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:17:33 +00:00
law%netscape.com
2394f4f4a9 Switching to XPIDL (this isn't actually used quite yet)
git-svn-id: svn://10.0.0.236/trunk@34540 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:15:58 +00:00
ducarroz%netscape.com
30f70faf68 add some missing declarations
git-svn-id: svn://10.0.0.236/trunk@34539 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:02:14 +00:00
ducarroz%netscape.com
51ef58fbae remove any use of nsMsgCompose (it's the old one nsMsgCompose will conflic with the new one I will add soon!)
git-svn-id: svn://10.0.0.236/trunk@34538 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:01:37 +00:00
ssu%netscape.com
c1080e7459 Fix AddDirectory bug
git-svn-id: svn://10.0.0.236/trunk@34537 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 02:00:19 +00:00
ssu%netscape.com
9c3d2350ea Moving result #defines out where others can use them
git-svn-id: svn://10.0.0.236/trunk@34536 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:58:50 +00:00
ssu%netscape.com
ac23eae97a Fixing ShExp use (0 means true)
git-svn-id: svn://10.0.0.236/trunk@34535 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:58:06 +00:00
rogerl%netscape.com
900de8bfd5 Added base to ScriptRuntime.numberToString, NativeNumber.toString()
Bug #7625


git-svn-id: svn://10.0.0.236/trunk@34534 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:54:28 +00:00
ducarroz%netscape.com
aacdb6f80f use CreateAndSendMessage instance of SendMessage
git-svn-id: svn://10.0.0.236/trunk@34533 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:50:05 +00:00
law%netscape.com
bc23621d00 Switching to XPIDL
git-svn-id: svn://10.0.0.236/trunk@34532 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:35:04 +00:00
ftang%netscape.com
0260f0de34 add empty file as placeholder
git-svn-id: svn://10.0.0.236/trunk@34531 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:32:35 +00:00
danm%netscape.com
6946d5cf8b adding show/hide support for interior chrome and menubars
git-svn-id: svn://10.0.0.236/trunk@34530 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:27:47 +00:00
ftang%netscape.com
f4ec424590 add empty as placeholder
git-svn-id: svn://10.0.0.236/trunk@34529 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:25:26 +00:00
ftang%netscape.com
cefc7c0917 add file placeholder for VIQR, VNI, ISO885910, ISO885913, ISO-IR-111
git-svn-id: svn://10.0.0.236/trunk@34528 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:17:03 +00:00
ducarroz%netscape.com
8aa7ef3e42 need to addref/release the object pass to the callback to avoid crash
git-svn-id: svn://10.0.0.236/trunk@34527 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:11:12 +00:00
ftang%netscape.com
c3d6c39406 add empty file (npl) as placeholder for converters
git-svn-id: svn://10.0.0.236/trunk@34526 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:08:14 +00:00
kostello%netscape.com
e3bdb359ea Fix build bustage: changed include to be the right case
git-svn-id: svn://10.0.0.236/trunk@34525 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:06:35 +00:00
ftang%netscape.com
22ae5f4890 add empty file as place holder
git-svn-id: svn://10.0.0.236/trunk@34524 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:00:45 +00:00
rhp%netscape.com
0d6ce1ad8c Changes for composition reorg
git-svn-id: svn://10.0.0.236/trunk@34523 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 00:52:47 +00:00
ducarroz%netscape.com
a56404d38e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@34522 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 00:41:28 +00:00
mscott%netscape.com
4e26d7b668 Quiet a noisy printf.
git-svn-id: svn://10.0.0.236/trunk@34521 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 00:40:53 +00:00
mscott%netscape.com
007a26d085 clean up work for pop3 protocol --> remove useage of the 8K output buffer which got ported over from the 4.x days. I use nsAutoString isntead (most of the data we write into the buffer is very small...it's protocol cmd data). This should help improve the memory footprint for pop.
Mad command_response, password and username all nsStrings instead of char *s.


git-svn-id: svn://10.0.0.236/trunk@34520 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 00:40:28 +00:00
law%netscape.com
7cb420c2c1 Stop onload handler firing twice
git-svn-id: svn://10.0.0.236/trunk@34519 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 00:36:08 +00:00
kostello%netscape.com
e69948ccbb Akkana set up a service for encoding a document.
This checkin adds the implementations for encoding
HTML and plain text:

nsTextEncoder::EncodeToString(..)
nsHTMLEncoder::EncodeToStream(..)

Hooked these services into the nsHTMLEditor implemenation

We probably want to update the clipboard code to
use the same pattern as in nsHTMLEditor.cpp


git-svn-id: svn://10.0.0.236/trunk@34518 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 00:35:02 +00:00
dp%netscape.com
af3775cbc9 openVMS changes. Thanks to Colin Blake <colin@theblakes.com>
git-svn-id: svn://10.0.0.236/trunk@34516 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 00:19:36 +00:00
mcmullen%netscape.com
78555a50e8 Hurrumph. So now we have to use about= instead of ID=? Well, CVS should have fixed my new stuff as well :-)
git-svn-id: svn://10.0.0.236/trunk@34515 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 00:06:59 +00:00
ftang%netscape.com
0193878767 add ibm866, UTF-7, x-imap4-modified-utf7, t61, ucs2, ucs4
git-svn-id: svn://10.0.0.236/trunk@34514 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 23:50:03 +00:00
ftang%netscape.com
71cdad332b correct the number of encoder
git-svn-id: svn://10.0.0.236/trunk@34513 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 23:48:30 +00:00
dbragg%netscape.com
16260c15d6 There was a lower case r in the macro OBJDIr for nsJARFactory.obj
git-svn-id: svn://10.0.0.236/trunk@34512 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 22:51:13 +00:00
kin%netscape.com
4edfa78bd0 First pass attempt to write out JavaScript. nsJSEditorLog now inherits from nsIHTMLEditor.
git-svn-id: svn://10.0.0.236/trunk@34511 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 22:33:30 +00:00
slamm%netscape.com
55fea45ed8 Reverse the order of the notes. Put the most recent on top. Remove unnecessary check for bad mail time.
git-svn-id: svn://10.0.0.236/trunk@34510 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 22:32:42 +00:00
kin%netscape.com
ec98adf0d2 Initial checkin of file. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@34509 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 22:31:44 +00:00
tague%netscape.com
c9e25b38a8 Conditionalized fix for #6896. Will only be compiled with a particular directive from my build environment
git-svn-id: svn://10.0.0.236/trunk@34508 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 22:07:53 +00:00
sspitzer%netscape.com
902bb9b25e fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@34507 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 22:01:00 +00:00
ssu%netscape.com
753c50eb70 fixed problem with AddSubcomponent() not accepting an empty string for the target name parameter. It now defaults to the jarSource parameter
git-svn-id: svn://10.0.0.236/trunk@34506 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:45:56 +00:00
mscott%netscape.com
e6aed221a9 MLK fixes. Free the line returned by calling ReadNextLine until I have time to come back and make ReadNextLine
not allocate a new buffer for the returned line.


git-svn-id: svn://10.0.0.236/trunk@34505 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:44:01 +00:00
ftang%netscape.com
e8e07b6461 change the hack to make it easier to add new CID, add CID for 7 XLFD charset and cp1255 1256, 866, UCS2/4 T61
git-svn-id: svn://10.0.0.236/trunk@34504 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:41:24 +00:00
mcmullen%netscape.com
41100bb362 Removed PrefsCore from appcores - it's now an autoregistered, idlized component.
git-svn-id: svn://10.0.0.236/trunk@34503 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:28:47 +00:00
briano%netscape.com
4d4340aa36 Fix for FreeBSD 2.x.
git-svn-id: svn://10.0.0.236/trunk@34502 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:28:28 +00:00
ftang%netscape.com
05dbc4f660 add cp1255,1256,866, UCS2/4, T61 to the factory
git-svn-id: svn://10.0.0.236/trunk@34501 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:20:28 +00:00
mscott%netscape.com
088a2c2da9 Remove warning introduced by an unused variabled into NS_NewFileSpecWithSpec.
git-svn-id: svn://10.0.0.236/trunk@34500 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:09:55 +00:00
mcmullen%netscape.com
5b63d649f7 Removed PrefsCore
git-svn-id: svn://10.0.0.236/trunk@34499 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:08:30 +00:00
mcmullen%netscape.com
54626dd29f Removed PrefsCore from appcores - it's now an autoregistered, idlized component.
git-svn-id: svn://10.0.0.236/trunk@34498 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:06:48 +00:00
mscott%netscape.com
3bb77e930d Code clean up --> added methods for building and running a mailbox url. This simplified a lot of the command methods like display message, copy message, etc.
save msg to disk work went in as well.


git-svn-id: svn://10.0.0.236/trunk@34497 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:05:53 +00:00
mscott%netscape.com
125fa1898a save msg to disk work. --> added getter/setting for msg nsIFileSpec
git-svn-id: svn://10.0.0.236/trunk@34496 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:05:10 +00:00
mscott%netscape.com
544c2d7b04 Add save msg to file action to mailbox actions. Add getter/setter for nsIFileSpec used to store the message when
git-svn-id: svn://10.0.0.236/trunk@34495 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:03:36 +00:00
mcmullen%netscape.com
02f7c40f1a Prefs core is gone
git-svn-id: svn://10.0.0.236/trunk@34494 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:01:40 +00:00
ftang%netscape.com
f9d06510a0 add T61, UCS2/UCS4 converters
git-svn-id: svn://10.0.0.236/trunk@34493 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 21:00:06 +00:00
mcafee%netscape.com
b6e4528902 Adding TAG_PROGRAM abstraction, thanks to Jim Nance for this fix.
git-svn-id: svn://10.0.0.236/trunk@34492 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:58:33 +00:00
Jerry.Kirk%Nexwarecorp.com
2cace3b020 - adding IsMenuBarVisible to get code to compile because nsWidget is our
base class not nsWindow


git-svn-id: svn://10.0.0.236/trunk@34491 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:55:48 +00:00
ftang%netscape.com
c373864370 change UCS2/4 CID into UCS2/4BE CID and add LE cid
git-svn-id: svn://10.0.0.236/trunk@34490 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:50:04 +00:00
mscott%netscape.com
a516c9660b Adding NS_NewFileSpecWithSpec for C++ code which allows you to create a nsIFileSpec given a nsFileSpec.
git-svn-id: svn://10.0.0.236/trunk@34489 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:49:39 +00:00
mcmullen%netscape.com
954322bbde PrefsCore now replaced by prefwindow object (idl) in xpfe/components
git-svn-id: svn://10.0.0.236/trunk@34488 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:47:50 +00:00
mcmullen%netscape.com
8ebb55a444 Added chrome://pref for the prefs window.
git-svn-id: svn://10.0.0.236/trunk@34487 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:45:15 +00:00
mcmullen%netscape.com
a406af3879 Removed PrefsCore and all its remaining stuff.
git-svn-id: svn://10.0.0.236/trunk@34486 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:44:31 +00:00
mcmullen%netscape.com
7ec609c4ed Support the -pref command-line option.
git-svn-id: svn://10.0.0.236/trunk@34485 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:44:04 +00:00
mcmullen%netscape.com
a0e3953a87 Use the xulified, idlized prefwindow object instead of PrefsCore
git-svn-id: svn://10.0.0.236/trunk@34484 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:43:29 +00:00
mcmullen%netscape.com
d980ad10cf Removed PrefsCore from appcores - it's now an autoregistered, idlized component.
git-svn-id: svn://10.0.0.236/trunk@34483 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:42:55 +00:00
andreas.otte%primus-online.de
093f16cf4e some cosmetics
git-svn-id: svn://10.0.0.236/trunk@34482 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:41:58 +00:00
andreas.otte%primus-online.de
8478385a66 remove export of header files
some cosmetics


git-svn-id: svn://10.0.0.236/trunk@34481 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:40:59 +00:00
mcmullen%netscape.com
533bb1d574 Added xpfe/components/prefwindow to unix build
git-svn-id: svn://10.0.0.236/trunk@34480 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:40:18 +00:00
ftang%netscape.com
910d64f269 add UCS2, UCS4, T61
git-svn-id: svn://10.0.0.236/trunk@34479 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:39:35 +00:00
andreas.otte%primus-online.de
748a144747 use LOCAL_INCLUDES to access base/src header files
some cosmetics


git-svn-id: svn://10.0.0.236/trunk@34478 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:39:08 +00:00
andreas.otte%primus-online.de
a4901508aa adding XPIDL_MODUL
some cosmetics


git-svn-id: svn://10.0.0.236/trunk@34477 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:37:42 +00:00
ftang%netscape.com
29694ff3f4 add UCS2/UCS4 and T61 to the makefile
git-svn-id: svn://10.0.0.236/trunk@34476 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:33:57 +00:00
ftang%netscape.com
cae1f83a53 add T61, UCS2, UCS4 converters
git-svn-id: svn://10.0.0.236/trunk@34475 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:33:07 +00:00
ftang%netscape.com
24d077ce8a fix incorrect GetMaxLength
git-svn-id: svn://10.0.0.236/trunk@34474 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:32:00 +00:00
ftang%netscape.com
785ce7670b add nsUConvDll.h
git-svn-id: svn://10.0.0.236/trunk@34473 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:26:48 +00:00
mang%subcarrier.org
972f33b580 fixed broken mailto: links
git-svn-id: svn://10.0.0.236/trunk@34472 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:23:35 +00:00
ftang%netscape.com
5c986abf57 add new scanner/generate type to support UCS2/4
git-svn-id: svn://10.0.0.236/trunk@34471 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:22:26 +00:00
ftang%netscape.com
a33b33f71f integrate rule base Thai line breaker (60% accurate)
git-svn-id: svn://10.0.0.236/trunk@34470 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:20:58 +00:00
pnunn%netscape.com
dd36038d2d with bug fix for #6045.pnunn.
git-svn-id: svn://10.0.0.236/trunk@34469 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:19:29 +00:00
dbragg%netscape.com
a1b6551e73 Added a progress bar
git-svn-id: svn://10.0.0.236/trunk@34468 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:16:59 +00:00
pnunn%netscape.com
e006b4b058 fix for bugz#6045 in if.cpp. pnunn.
git-svn-id: svn://10.0.0.236/trunk@34467 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:16:03 +00:00
pnunn%netscape.com
2988c8bcbb Clean up in IL_GetImage(). bugz#6045. pnunn.
git-svn-id: svn://10.0.0.236/trunk@34466 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:15:01 +00:00
mcmullen%netscape.com
445df872a7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@34465 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:14:24 +00:00
harishd%netscape.com
dccdd615d3 Fix for Bug# 6749
git-svn-id: svn://10.0.0.236/trunk@34464 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:10:30 +00:00
harishd%netscape.com
2b7f6ba4fb Fix for Bug#6749
Made </SCRIPT> and </STYLE> to represent document's case in viewsource.


git-svn-id: svn://10.0.0.236/trunk@34463 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:09:52 +00:00
slamm%netscape.com
86de352d6a Start with Sidebar closed by default. Bug #7851.
git-svn-id: svn://10.0.0.236/trunk@34462 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:06:09 +00:00
rjc%netscape.com
6cc072bdd8 Adding RDF Search datasource into build.
git-svn-id: svn://10.0.0.236/trunk@34461 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:04:23 +00:00
rjc%netscape.com
9cba895395 Adding RDF Search datasource.
git-svn-id: svn://10.0.0.236/trunk@34460 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:03:20 +00:00
law%netscape.com
a7a5e1a496 Adding for Mac
git-svn-id: svn://10.0.0.236/trunk@34459 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 20:00:36 +00:00
harishd%netscape.com
94e5aabc39 Fix for Bug#6056
git-svn-id: svn://10.0.0.236/trunk@34458 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:54:09 +00:00
Jerry.Kirk%Nexwarecorp.com
21de2e9959 - Bug 7794 Move $(TK_LIBS) further down in the library list.
git-svn-id: svn://10.0.0.236/trunk@34457 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:48:58 +00:00
harishd%netscape.com
35928d7fde Fix for Bug#7462.
<TEXTAREA> was collecting skipped content twice.


git-svn-id: svn://10.0.0.236/trunk@34456 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:47:37 +00:00
Jerry.Kirk%Nexwarecorp.com
13161996b7 - Bug 7794 Moving $(TK_LIBS) further down in the library list
git-svn-id: svn://10.0.0.236/trunk@34455 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:46:31 +00:00
nhotta%netscape.com
1500892775 Bug fix #7715, removing the hack (rev 3.95).
git-svn-id: svn://10.0.0.236/trunk@34454 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:45:00 +00:00
Jerry.Kirk%Nexwarecorp.com
b9a5a999cb - Adding support for Clipboard
git-svn-id: svn://10.0.0.236/trunk@34453 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:44:28 +00:00
Jerry.Kirk%Nexwarecorp.com
a4c96eb91a - Adding support for Clipboard under Photon
git-svn-id: svn://10.0.0.236/trunk@34452 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:43:53 +00:00
valeski%netscape.com
03943f1585 gave http it's own xpt module
git-svn-id: svn://10.0.0.236/trunk@34451 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:38:03 +00:00
valeski%netscape.com
596814c9b4 gave ftp it's own xpt module
git-svn-id: svn://10.0.0.236/trunk@34450 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:37:17 +00:00
rhp%netscape.com
30bbac4481 New file for back end reorganization
git-svn-id: svn://10.0.0.236/trunk@34449 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:34:33 +00:00
morse%netscape.com
31de283bea fixup logic regarding notification
git-svn-id: svn://10.0.0.236/trunk@34448 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:29:49 +00:00
law%netscape.com
6f521027d4 Fix openLocation dialog
git-svn-id: svn://10.0.0.236/trunk@34447 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:27:18 +00:00
Jerry.Kirk%Nexwarecorp.com
77b4440471 - Set an uninitialized variable that was breaking test08 + other rips
git-svn-id: svn://10.0.0.236/trunk@34446 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:24:25 +00:00
dp%netscape.com
d13afcc15a Switching to use Component Registry
git-svn-id: svn://10.0.0.236/trunk@34445 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:19:14 +00:00
dp%netscape.com
d1f07ef339 Using new Component Registry
git-svn-id: svn://10.0.0.236/trunk@34444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:18:24 +00:00
dp%netscape.com
a334563929 Cleaning up silliness.
git-svn-id: svn://10.0.0.236/trunk@34443 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:17:50 +00:00
ssu%netscape.com
7dd5543dda Fixed bugs #6612 and #6910.
6612: AddSubcomponent now works when only one parameter is used.
  6910: Added Install.SetValueNumber() and Install.GetValueNumber()

Also fixed Install.GetValueString().


git-svn-id: svn://10.0.0.236/trunk@34442 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:17:24 +00:00
dp%netscape.com
725b2f99ce Well Known Component Registry in <exedir>/component.reg implemented.
git-svn-id: svn://10.0.0.236/trunk@34441 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:16:38 +00:00
dp%netscape.com
370efa8a1d Code cleanup
git-svn-id: svn://10.0.0.236/trunk@34440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:15:08 +00:00
akkana%netscape.com
cabff886d3 Add alt-X and alt-shift-x for debug output html and text
git-svn-id: svn://10.0.0.236/trunk@34439 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:12:28 +00:00
danm%netscape.com
4ecbd9dacb add Bar properties to DOMWindow
git-svn-id: svn://10.0.0.236/trunk@34438 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:04:18 +00:00
danm%netscape.com
771acb9497 teach top-level windows to show/hide and query visible state of menubars
git-svn-id: svn://10.0.0.236/trunk@34437 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:03:24 +00:00
danm%netscape.com
55cfe73afc teach (or stub) nsWidget to show/hide and query visible state of menubars
git-svn-id: svn://10.0.0.236/trunk@34436 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 19:01:55 +00:00
danm%netscape.com
082ba71455 adding domwindow barproperty object
git-svn-id: svn://10.0.0.236/trunk@34435 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 18:59:04 +00:00
petitta%netscape.com
48c664666b updated to match changes in source code
git-svn-id: svn://10.0.0.236/trunk@34434 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 17:18:21 +00:00
petitta%netscape.com
58c89f189a updated to much new source code
git-svn-id: svn://10.0.0.236/trunk@34433 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 17:17:36 +00:00
valeski%netscape.com
91b099c77c added thread safety back in
git-svn-id: svn://10.0.0.236/trunk@34432 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 17:12:34 +00:00
slamm%netscape.com
ecc03beffb Update with changes from Ken Estes <kestes@staff.mail.com>.
git-svn-id: svn://10.0.0.236/trunk@34431 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 17:06:56 +00:00
andreas.otte%primus-online.de
1c95641985 nsNetModuleMgr.h has to be exported to be used by nsNetFactory
git-svn-id: svn://10.0.0.236/trunk@34430 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 14:52:28 +00:00
valeski%netscape.com
67fc1e3129 moved up into public dir
git-svn-id: svn://10.0.0.236/trunk@34429 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 14:33:46 +00:00
valeski%netscape.com
77295483a3 added nsNetModuleMgr.h to the src dir and added the Create method to the modMgr impl so it can be in the factory
git-svn-id: svn://10.0.0.236/trunk@34428 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 14:30:20 +00:00
valeski%netscape.com
965b29cd14 removed nsNetModuleMgr.h from the expport list. it now lives where it should in base/src
git-svn-id: svn://10.0.0.236/trunk@34427 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 14:28:54 +00:00
valeski%netscape.com
f8346bb575 added the external module manager to the factory for autoregistration
git-svn-id: svn://10.0.0.236/trunk@34426 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 14:28:12 +00:00
valeski%netscape.com
fbe83f8adc moved over to base/src
git-svn-id: svn://10.0.0.236/trunk@34425 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 14:21:00 +00:00
valeski%netscape.com
6cd3181afe no longer needed
git-svn-id: svn://10.0.0.236/trunk@34424 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 14:20:17 +00:00
valeski%netscape.com
32a2989a04 we weren't initializing the request
git-svn-id: svn://10.0.0.236/trunk@34423 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 14:01:50 +00:00
valeski%netscape.com
074e50bb58 api changes
git-svn-id: svn://10.0.0.236/trunk@34422 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 14:00:50 +00:00
valeski%netscape.com
ed61bcca4d compile issues
git-svn-id: svn://10.0.0.236/trunk@34421 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 14:00:05 +00:00
valeski%netscape.com
444754f752 interface changes
git-svn-id: svn://10.0.0.236/trunk@34420 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 13:58:51 +00:00
valeski%netscape.com
83a809c62a moved to base/src
git-svn-id: svn://10.0.0.236/trunk@34419 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 13:56:12 +00:00
ramiro%netscape.com
78c3d043eb Add ti_files.
git-svn-id: svn://10.0.0.236/trunk@34418 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 13:11:03 +00:00
Jerry.Kirk%Nexwarecorp.com
82f918aa99 - Changing #ifdef to support both GCC 2.7 and 2.8 and adding support
for NTO platform.


git-svn-id: svn://10.0.0.236/trunk@34417 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 12:34:07 +00:00
ramiro%netscape.com
adb0d9b5f1 Patch from Tomi Leppikangas <tomilepp@rak046.oulu.fi>.
Here is small patch for gtk to make it look a little better.
Size 15 gets checkboxes and radiobuttons centered nicely.


git-svn-id: svn://10.0.0.236/trunk@34416 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 12:27:38 +00:00
Jerry.Kirk%Nexwarecorp.com
efa71cc9a7 -Bug 6648 Added NTO define for color byte ordering. NTO defines
- XP_UNIX but it prefers the colors in the same order as Windows and Mac


git-svn-id: svn://10.0.0.236/trunk@34415 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 12:12:03 +00:00
Jerry.Kirk%Nexwarecorp.com
74fbbc42b1 -Bug 7541 Added inclusion of sys/select.h for NTO platform to define fd_set
git-svn-id: svn://10.0.0.236/trunk@34414 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 12:07:32 +00:00
ramiro%netscape.com
041dc1ae54 One last tweak to make this thing work.
git-svn-id: svn://10.0.0.236/trunk@34413 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 11:50:57 +00:00
ramiro%netscape.com
ad4c790544 Motif Ressurection. Thanks to Daniel Roberts <zuperdee@yahoo.com> for
doing the painful job of identifying everything that is missing and
stubbing it out.


git-svn-id: svn://10.0.0.236/trunk@34412 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 11:35:26 +00:00
hyatt%netscape.com
b0df24e48c %^&%^&%&^
git-svn-id: svn://10.0.0.236/trunk@34411 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 10:21:27 +00:00
ramiro%netscape.com
9b2e86a5c3 Port to KCC.
git-svn-id: svn://10.0.0.236/trunk@34410 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 10:20:12 +00:00
hyatt%netscape.com
d0c8de6da2 Berating myself in one of my comments.
git-svn-id: svn://10.0.0.236/trunk@34409 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 10:18:32 +00:00
hyatt%netscape.com
3e5f66f671 Enabling some sample popup menus.
git-svn-id: svn://10.0.0.236/trunk@34408 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 10:14:30 +00:00
hyatt%netscape.com
9afad6ed83 Ok.
git-svn-id: svn://10.0.0.236/trunk@34407 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 10:13:46 +00:00
hyatt%netscape.com
b3adcfe170 More oops.
git-svn-id: svn://10.0.0.236/trunk@34406 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 10:10:18 +00:00
ramiro%netscape.com
1337494985 Port to KCC.
git-svn-id: svn://10.0.0.236/trunk@34405 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 10:09:47 +00:00
hyatt%netscape.com
4a776d4d0b Sigh.
git-svn-id: svn://10.0.0.236/trunk@34404 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 10:08:35 +00:00
ramiro%netscape.com
58110cdb96 This is all C code.
git-svn-id: svn://10.0.0.236/trunk@34403 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 10:08:12 +00:00
mccabe%netscape.com
08eb72105b removed files: mozilla/xpcom/typelib/xpidl/xpidl_stub.c
git-svn-id: svn://10.0.0.236/trunk@34402 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 09:46:07 +00:00
mccabe%netscape.com
a6da7e3cd8 Removing remnants of stubs-generation mode.
git-svn-id: svn://10.0.0.236/trunk@34401 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 09:45:49 +00:00
hyatt%netscape.com
4091439102 Oops.
git-svn-id: svn://10.0.0.236/trunk@34400 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 09:44:01 +00:00
hyatt%netscape.com
554e18d05b Context menus on windows now know about alignment.
git-svn-id: svn://10.0.0.236/trunk@34399 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 09:39:06 +00:00
hyatt%netscape.com
c3866c9e79 Teaching context menus about alignment.
git-svn-id: svn://10.0.0.236/trunk@34398 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 09:30:40 +00:00
hyatt%netscape.com
eb3ae6604b Passing the popup alignment info along.
git-svn-id: svn://10.0.0.236/trunk@34397 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 09:24:10 +00:00
hyatt%netscape.com
c36988d177 The editor popups are positioned properly.
git-svn-id: svn://10.0.0.236/trunk@34396 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 09:09:58 +00:00
hyatt%netscape.com
85cb484926 The translate menu is the master of evil.
git-svn-id: svn://10.0.0.236/trunk@34395 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 09:06:33 +00:00
hyatt%netscape.com
67b0713a62 Popups know how to shag, baby.
git-svn-id: svn://10.0.0.236/trunk@34394 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 09:05:53 +00:00
hyatt%netscape.com
c25770fedd Popups put the "grrrr!" in "swinger", baby!
git-svn-id: svn://10.0.0.236/trunk@34393 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 09:03:15 +00:00
hyatt%netscape.com
bfb714e576 Yeah, baby, yeah, baby, YEAH.
git-svn-id: svn://10.0.0.236/trunk@34392 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 09:02:35 +00:00
briano%netscape.com
5b61273847 Fix for FreeBSD 2.x builds.
git-svn-id: svn://10.0.0.236/trunk@34391 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:43:51 +00:00
hyatt%netscape.com
a7f06431d9 Ok, everything's peachy on the RDF end. Time to work on the front end.
git-svn-id: svn://10.0.0.236/trunk@34390 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:39:10 +00:00
hyatt%netscape.com
5b2065032e Altering the args for createPopup.
git-svn-id: svn://10.0.0.236/trunk@34389 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:36:06 +00:00
waterson%netscape.com
3e05078ed6 Add nsRDFContentUtils fns to dlldeps, as they are used from rdfdatasource_s.lib now.
git-svn-id: svn://10.0.0.236/trunk@34388 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:32:17 +00:00
waterson%netscape.com
32b80e3a09 Fix incorrect RDF usage; replace 'ID=' with 'about=' where appropriate.
git-svn-id: svn://10.0.0.236/trunk@34387 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:31:47 +00:00
waterson%netscape.com
a7e3640191 Don't rely on rdf_PossiblyMake[Relative|Absolute](); rather, use XUL-specific functions to do it.
git-svn-id: svn://10.0.0.236/trunk@34386 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:30:47 +00:00
briano%netscape.com
a56f472adf Automated update
git-svn-id: svn://10.0.0.236/trunk@34385 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:29:52 +00:00
waterson%netscape.com
75fa8d657f Bug 7440. Replace rdf_PossiblyMakeRelative() and rdf_PossiblyMakeAbsolute(); use NS_MakeAbsoluteURL() to create absolute URLs, when constructing relative, distinguish between 'name' and 'ref' sites (e.g., 'foo' vs. '#foo'). Misc other fixes to the RDF content sink.
git-svn-id: svn://10.0.0.236/trunk@34384 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:29:51 +00:00
hyatt%netscape.com
5632d597ba Altering the idl for createPopup.
git-svn-id: svn://10.0.0.236/trunk@34383 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:25:07 +00:00
briano%netscape.com
cf71c2e029 Oops, left out one of the two dashes.
git-svn-id: svn://10.0.0.236/trunk@34382 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:22:26 +00:00
briano%netscape.com
0636ecea47 Added a patch for IRIX 6.x submitted by jasonh@engr.sgi.com.
git-svn-id: svn://10.0.0.236/trunk@34381 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:17:01 +00:00
hyatt%netscape.com
de91f5ae9b Updating popups to use screen coordinates instead of being hardcoded to (50,50).
git-svn-id: svn://10.0.0.236/trunk@34380 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 08:00:27 +00:00
hyatt%netscape.com
a4990a8363 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@34379 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 07:51:52 +00:00
joki%netscape.com
7cb2ba1a65 Fixing event coordinates to give screen based info. Also fixing direct reference to frames via their names.
git-svn-id: svn://10.0.0.236/trunk@34378 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 07:38:26 +00:00
warren%netscape.com
a6626ea66d Removed nsIByteBufferInputStream - obsolete.
git-svn-id: svn://10.0.0.236/trunk@34377 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 06:48:38 +00:00
warren%netscape.com
0a220b88ad Cleaned up the nsIBuffer interface, added comments, etc.
git-svn-id: svn://10.0.0.236/trunk@34376 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 06:41:32 +00:00
mscott%netscape.com
3817aa452b Use NS_WITH_SERVICE1 which uses the service manager that was passed in to
NSRegisterSelf / NSUnregisterSelf.


git-svn-id: svn://10.0.0.236/trunk@34375 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 06:40:48 +00:00
sspitzer%netscape.com
e0486d146d fix windows build breakage.
git-svn-id: svn://10.0.0.236/trunk@34374 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 06:18:08 +00:00
hyatt%netscape.com
a056c0dfa5 More content model tweaks.
git-svn-id: svn://10.0.0.236/trunk@34373 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 05:45:15 +00:00
sspitzer%netscape.com
9091203500 more fix for SunOS and other UNIX platform build bustage.
I don't need to include the .idl file since I'm not deriving from it.
but as I side effect, I need to add the include to the other .h file.


git-svn-id: svn://10.0.0.236/trunk@34372 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 05:42:57 +00:00
sspitzer%netscape.com
4555b39ff0 fix for build bustage on SunOS and other unix platforms..(but curiously, not
windows, mac, or linux.)

since we aren't deriving from these interfaces, I only need to declare
them as interfaces.  I don't have to include the idl files.


git-svn-id: svn://10.0.0.236/trunk@34370 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 05:22:30 +00:00
warren%netscape.com
14d73e7f5b Added ReadSegments and WriteSegments to nsIBuffer to avoid the need to allocate intermediate buffers.
git-svn-id: svn://10.0.0.236/trunk@34369 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 04:52:47 +00:00
ftang%netscape.com
7dc5c992ea add cp1255, 1256, 866 converters
git-svn-id: svn://10.0.0.236/trunk@34368 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 04:19:13 +00:00
ftang%netscape.com
41dd2f7332 add 1255, 1256, 866
git-svn-id: svn://10.0.0.236/trunk@34367 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 04:05:12 +00:00
ftang%netscape.com
6e9718443a add cp1255,1256,866 converter files
git-svn-id: svn://10.0.0.236/trunk@34366 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 04:02:18 +00:00
mcafee%netscape.com
e179eabb97 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@34365 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 04:02:15 +00:00
mcafee%netscape.com
3278bc46f4 Proper use of parens.
git-svn-id: svn://10.0.0.236/trunk@34364 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 04:00:57 +00:00
ftang%netscape.com
f524f0e259 add new mapping tables
git-svn-id: svn://10.0.0.236/trunk@34363 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 03:50:07 +00:00
ftang%netscape.com
5354c5e7b5 add GB2312 GL converter
git-svn-id: svn://10.0.0.236/trunk@34362 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 03:42:03 +00:00
ramiro%netscape.com
5e3d81475b Remove cruft.
git-svn-id: svn://10.0.0.236/trunk@34361 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 03:37:05 +00:00
warren%netscape.com
d2b1868514 Added nscore.h to nsrootidl.idl for PRUnichar.
git-svn-id: svn://10.0.0.236/trunk@34360 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 03:19:10 +00:00
tague%netscape.com
c14a08ca40 Conditional fix for #7629. Only builds with a conditional set in my environment
git-svn-id: svn://10.0.0.236/trunk@34359 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 03:17:56 +00:00
ftang%netscape.com
74bd7637a5 add cid and class mapping
git-svn-id: svn://10.0.0.236/trunk@34358 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 03:17:50 +00:00
rogerl%netscape.com
44ea3bf179 New
git-svn-id: svn://10.0.0.236/trunk@34357 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 03:10:30 +00:00
rogerl%netscape.com
06986144aa tried adding some lexical scoping to the leftmost identifier
git-svn-id: svn://10.0.0.236/trunk@34356 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 03:10:09 +00:00
selmer%netscape.com
39394063cf Fix dialog conditionals
git-svn-id: svn://10.0.0.236/trunk@34355 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 03:02:49 +00:00
selmer%netscape.com
6fdb7aa05b fixed dialog for rename
git-svn-id: svn://10.0.0.236/trunk@34354 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 02:56:07 +00:00
selmer%netscape.com
c19c6afa08 rename dialog
git-svn-id: svn://10.0.0.236/trunk@34353 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 02:55:49 +00:00
hangas%netscape.com
286f876bf7 Changed Address Book window to show selected card only when a single card is selected. Multi-selection and no selection shows no card.
git-svn-id: svn://10.0.0.236/trunk@34352 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 02:39:56 +00:00
tague%netscape.com
f8488c360a Fix for #7798: Spelling error in locale GetCategory API. Made one change to mailnews to reflect new spelling
git-svn-id: svn://10.0.0.236/trunk@34351 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 02:37:14 +00:00
cmanske%netscape.com
f46ece1554 Fixed fingers-to-quick checkin error
git-svn-id: svn://10.0.0.236/trunk@34350 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 02:28:47 +00:00
cmanske%netscape.com
45befba712 Moved destination of editor string bundle file to editor's chrome directory
git-svn-id: svn://10.0.0.236/trunk@34349 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 02:26:48 +00:00
cmanske%netscape.com
298e72c3e6 Added string bundle file to Mac manifest file
git-svn-id: svn://10.0.0.236/trunk@34348 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 02:16:48 +00:00
cmanske%netscape.com
bb01c623c9 Added string bundle file
git-svn-id: svn://10.0.0.236/trunk@34347 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 02:12:52 +00:00
sfraser%netscape.com
0d7d3f799e Added Network shared lib to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@34346 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 02:09:24 +00:00
jefft%netscape.com
75db693647 added GetTransactionManager() method
git-svn-id: svn://10.0.0.236/trunk@34345 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:31:01 +00:00
jefft%netscape.com
f41673bfbd added readonly attribute nsITransactionManager transactionManager
git-svn-id: svn://10.0.0.236/trunk@34344 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:30:27 +00:00
cmanske%netscape.com
5cc87fa56e Added support for prefs and string bundles for editor, various bug fixes, preliminary Horizontal Line dialog work
git-svn-id: svn://10.0.0.236/trunk@34343 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:27:08 +00:00
cmanske%netscape.com
9ee8cd5583 Changed back to '.' selector for titledbutton class. Simplified borderless titlebutton CSS
git-svn-id: svn://10.0.0.236/trunk@34342 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:26:00 +00:00
hyatt%netscape.com
b92179cf5c Changed event names to "create" and "destroy"
git-svn-id: svn://10.0.0.236/trunk@34341 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:11:39 +00:00
hyatt%netscape.com
7af8deae73 Changed events names to "create" and "destroy".
git-svn-id: svn://10.0.0.236/trunk@34340 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:11:22 +00:00
hyatt%netscape.com
0f2b50816a Fix that makes the blur handler ultra-paranoid. It sanity checks its target before
closing the window.  (I'm having to do this since focus/blur events bubble. @#$@#$%#)


git-svn-id: svn://10.0.0.236/trunk@34339 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:07:31 +00:00
cyeh%netscape.com
d5e0d681e5 create toplevel chrome directory in $(DIST)/bin per hyatt spec
git-svn-id: svn://10.0.0.236/trunk@34338 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:05:52 +00:00
valeski%netscape.com
637c0c4cf7 added nsIHTTPNotify.idl to the idl list on unix
git-svn-id: svn://10.0.0.236/trunk@34337 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:02:37 +00:00
valeski%netscape.com
ac3516569d added external module files to unix builds
git-svn-id: svn://10.0.0.236/trunk@34336 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:01:59 +00:00
valeski%netscape.com
0168c86d7a added idl srcs to unix mkfile
git-svn-id: svn://10.0.0.236/trunk@34335 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:01:17 +00:00
hyatt%netscape.com
7f719b4853 Added some box stuff for selmer.
git-svn-id: svn://10.0.0.236/trunk@34334 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 01:00:04 +00:00
akkana%netscape.com
c9c1296e38 7720: fix regression caused by attempting to fix XIF handling of comments
git-svn-id: svn://10.0.0.236/trunk@34333 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:48:21 +00:00
ftang%netscape.com
b7e01cc097 add new CIDs
git-svn-id: svn://10.0.0.236/trunk@34332 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:40:18 +00:00
hyatt%netscape.com
302054f955 Tweaking interface for focus stuff.
git-svn-id: svn://10.0.0.236/trunk@34331 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:35:46 +00:00
alecf%netscape.com
ac11dad736 remove unnecessary files, and fixup includes to avoid use of %{C++
git-svn-id: svn://10.0.0.236/trunk@34330 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:34:51 +00:00
briano%netscape.com
284cb51917 Automated update
git-svn-id: svn://10.0.0.236/trunk@34329 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:29:53 +00:00
briano%netscape.com
8db344082f Override the results of the archive extraction flag test for NetBSD and older FreeBSDs.
git-svn-id: svn://10.0.0.236/trunk@34328 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:28:05 +00:00
selmer%netscape.com
35e195d338 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@34327 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:26:56 +00:00
briano%netscape.com
0f2b0cb13a Looks like FreeBSD needs to exclude __.SYMDEF as well.
git-svn-id: svn://10.0.0.236/trunk@34326 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:26:27 +00:00
selmer%netscape.com
ab433ffa4a row selection works!
git-svn-id: svn://10.0.0.236/trunk@34325 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:25:33 +00:00
selmer%netscape.com
9f4e82f302 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@34324 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:24:52 +00:00
alecf%netscape.com
f1782c29bd don't export these files on unix
git-svn-id: svn://10.0.0.236/trunk@34323 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:23:37 +00:00
alecf%netscape.com
413a2af13e these files are now generated
git-svn-id: svn://10.0.0.236/trunk@34322 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:23:01 +00:00
alecf%netscape.com
8585d8b4fa start doing XPIDL on windows in local
git-svn-id: svn://10.0.0.236/trunk@34321 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:20:38 +00:00
ftang%netscape.com
6f17d10149 add new CIDs
git-svn-id: svn://10.0.0.236/trunk@34320 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:15:50 +00:00
hyatt%netscape.com
5079f0a9d2 Fixing a bug with allowevents in the tree view.
git-svn-id: svn://10.0.0.236/trunk@34319 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-09 00:04:25 +00:00
ftang%netscape.com
9167b84331 add new CIDs
git-svn-id: svn://10.0.0.236/trunk@34318 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:53:22 +00:00
ftang%netscape.com
1af875416f fix typo
git-svn-id: svn://10.0.0.236/trunk@34317 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:44:51 +00:00
ftang%netscape.com
10fa44a00a add new CIDs
git-svn-id: svn://10.0.0.236/trunk@34316 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:44:50 +00:00
ftang%netscape.com
7446424a69 add x window font charset converters
git-svn-id: svn://10.0.0.236/trunk@34315 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:31:56 +00:00
mcmullen%netscape.com
df063c42e1 Fix the typo in the name of unix.js, and fix the asserts.
git-svn-id: svn://10.0.0.236/trunk@34314 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:31:15 +00:00
ftang%netscape.com
576bea3a90 add no CNS 11643 p1 and p2
git-svn-id: svn://10.0.0.236/trunk@34313 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:25:15 +00:00
ftang%netscape.com
55df9d517b add no ASCII Big5
git-svn-id: svn://10.0.0.236/trunk@34312 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:24:05 +00:00
ftang%netscape.com
372a20dfd5 add KSC5601
git-svn-id: svn://10.0.0.236/trunk@34311 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:23:07 +00:00
ftang%netscape.com
721983551c add GB2312 GL
git-svn-id: svn://10.0.0.236/trunk@34310 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:22:23 +00:00
mcmullen%netscape.com
eb1ffa3a60 Updated URLs to the new .xul files.
git-svn-id: svn://10.0.0.236/trunk@34309 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:20:28 +00:00
mcmullen%netscape.com
69ecff015f Fixed an entity reference
git-svn-id: svn://10.0.0.236/trunk@34308 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:19:07 +00:00
mcmullen%netscape.com
25463565c0 Bulletproofing.
git-svn-id: svn://10.0.0.236/trunk@34307 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:18:27 +00:00
ftang%netscape.com
4d49aeac5e add CNS11643 converters
git-svn-id: svn://10.0.0.236/trunk@34306 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:14:26 +00:00
valeski%netscape.com
4f596d061e removing this as it's been depricated to public dir
git-svn-id: svn://10.0.0.236/trunk@34305 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:14:08 +00:00
ftang%netscape.com
62c337e5d0 add No ASCII big5 converters
git-svn-id: svn://10.0.0.236/trunk@34304 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:13:06 +00:00
ftang%netscape.com
b340c92cd2 add convert to GB2312 GL files
git-svn-id: svn://10.0.0.236/trunk@34303 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:11:46 +00:00
ftang%netscape.com
e78377edd1 add KSC5601 converter files
git-svn-id: svn://10.0.0.236/trunk@34302 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:10:54 +00:00
ftang%netscape.com
3f952e455e add Unicode to JIS converters files
git-svn-id: svn://10.0.0.236/trunk@34301 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:09:50 +00:00
hyatt%netscape.com
d3cca3c5db Controller stuff.
git-svn-id: svn://10.0.0.236/trunk@34300 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 23:04:24 +00:00
alecf%netscape.com
17c3d0b033 get rid of generated headers
git-svn-id: svn://10.0.0.236/trunk@34299 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 22:50:58 +00:00
hangas%netscape.com
bb3197f863 Added code to clear the card view when changing address books.
git-svn-id: svn://10.0.0.236/trunk@34298 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 22:50:43 +00:00
hangas%netscape.com
d14d046cc5 Cleaned up row selection styles.
git-svn-id: svn://10.0.0.236/trunk@34297 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 22:50:01 +00:00
jband%netscape.com
da45e7f10c Fix build bustage. Will come back and do it right
git-svn-id: svn://10.0.0.236/trunk@34296 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 22:49:01 +00:00
briano%netscape.com
f3ae589f0e Fix for bug 7756. Thanks to jim_nance@yahoo.com for the original idea.
git-svn-id: svn://10.0.0.236/trunk@34295 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 22:32:31 +00:00
hyatt%netscape.com
cb3af301d3 Fix Linux bustage.
git-svn-id: svn://10.0.0.236/trunk@34294 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 22:29:58 +00:00
jefft%netscape.com
48ce9c78b2 added Undo/Redo method
git-svn-id: svn://10.0.0.236/trunk@34293 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 22:15:58 +00:00
jefft%netscape.com
3992aeebeb added Undo/Redo method; construct instance of nsTransactionManager in InitializeFolderRoot()
git-svn-id: svn://10.0.0.236/trunk@34292 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 22:15:04 +00:00
sfraser%netscape.com
da9bcac667 Back out pierre change, so that NS_ASSERTION calls DebugStr once again. Doing this on the basis of consensus at 7/6 macdev meeting.
git-svn-id: svn://10.0.0.236/trunk@34291 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 22:13:40 +00:00
hyatt%netscape.com
5002510d43 added files: mozilla/rdf/base/idl/nsIController.idl, mozilla/rdf/base/idl/nsIGenericCommandSet.idl
git-svn-id: svn://10.0.0.236/trunk@34290 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 22:00:58 +00:00
hyatt%netscape.com
587bb51013 Woo woo. Focus implementation.
git-svn-id: svn://10.0.0.236/trunk@34289 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:58:55 +00:00
hyatt%netscape.com
d83c36dd0f Adding new idl.
git-svn-id: svn://10.0.0.236/trunk@34288 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:58:32 +00:00
akkana%netscape.com
d0bcfd4327 5380: middle-mouse paste to correct position in the editor
git-svn-id: svn://10.0.0.236/trunk@34287 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:51:40 +00:00
jband%netscape.com
c27bc67a4b Adding Irix implementation from Jason Heirtzler <jasonh@cthulhu.engr.sgi.com>
git-svn-id: svn://10.0.0.236/trunk@34286 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:49:30 +00:00
hyatt%netscape.com
b60353da3f Fix for bug #7786.
git-svn-id: svn://10.0.0.236/trunk@34285 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:48:41 +00:00
amasri%netscape.com
7a12fa043a added extra tests for version 2.0
added timing changes to help stabilize bitmap


git-svn-id: svn://10.0.0.236/trunk@34284 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:44:48 +00:00
phillip%netscape.com
0a0bb4ed48 mad script executable, fixed relative path issues.
git-svn-id: svn://10.0.0.236/trunk@34283 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:38:35 +00:00
mcmullen%netscape.com
14ecefdf5e Turned on building of the prefwindow component for Macintosh
git-svn-id: svn://10.0.0.236/trunk@34282 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:36:36 +00:00
amasri%netscape.com
81ddf5fe49 changed Invoke() method to give better error messages
changed iBitmapWait to 90 to account for i18n sites


git-svn-id: svn://10.0.0.236/trunk@34281 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:35:30 +00:00
selmer%netscape.com
0c64adbeaf working on popups
git-svn-id: svn://10.0.0.236/trunk@34280 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:34:19 +00:00
mcmullen%netscape.com
f4b80d5fd8 Turned on the prefwindow subdirectory on windows
git-svn-id: svn://10.0.0.236/trunk@34279 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:33:56 +00:00
amasri%netscape.com
aa5b1f951b added extra tests for version 2.0
added i18n tests


git-svn-id: svn://10.0.0.236/trunk@34278 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:32:22 +00:00
amasri%netscape.com
423ddcdaf9 added extra tests for version 2.0
added i18n tests


git-svn-id: svn://10.0.0.236/trunk@34277 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:30:39 +00:00
waterson%netscape.com
3b9fc69f44 Obsolete. Generated from nsICollection.idl now.
git-svn-id: svn://10.0.0.236/trunk@34276 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:28:42 +00:00
mcmullen%netscape.com
3d04c0bad5 Fixed the module names
git-svn-id: svn://10.0.0.236/trunk@34275 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:28:23 +00:00
matt%netscape.com
c14a8e16ad Fixeing bug 4795
git-svn-id: svn://10.0.0.236/trunk@34274 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:27:57 +00:00
waterson%netscape.com
16a5ea4c15 Obsolete. Generated from nsIEnumerator.idl now.
git-svn-id: svn://10.0.0.236/trunk@34273 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:27:47 +00:00
sfraser%netscape.com
bb7532935e Turn off debugging table border.
git-svn-id: svn://10.0.0.236/trunk@34272 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:27:05 +00:00
sspitzer%netscape.com
e88ec76817 turn off my debugging printfs.
git-svn-id: svn://10.0.0.236/trunk@34271 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:25:39 +00:00
mcmullen%netscape.com
3bcdf27e45 added a cast
git-svn-id: svn://10.0.0.236/trunk@34270 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:23:41 +00:00
pinkerton%netscape.com
ebc2d06273 File Removed.
git-svn-id: svn://10.0.0.236/trunk@34269 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:23:36 +00:00
law%netscape.com
2d45ab829d XPIDLifying app shell components
git-svn-id: svn://10.0.0.236/trunk@34268 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:23:21 +00:00
pinkerton%netscape.com
36c6cca200 don't export imagebutton or menu button stuff, again. obsolete.
git-svn-id: svn://10.0.0.236/trunk@34267 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:23:18 +00:00
matt%netscape.com
992229e94a fixing bug 7155
git-svn-id: svn://10.0.0.236/trunk@34266 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:21:15 +00:00
mcmullen%netscape.com
98e6c376ad Added MODULE=
git-svn-id: svn://10.0.0.236/trunk@34265 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:19:07 +00:00
ftang%netscape.com
bf6f829561 add rulebrk.c back
git-svn-id: svn://10.0.0.236/trunk@34264 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:18:52 +00:00
mcmullen%netscape.com
1d4e4f09e4 ...
git-svn-id: svn://10.0.0.236/trunk@34263 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:18:05 +00:00
mcmullen%netscape.com
2408e32596 Forgot the damned ./
git-svn-id: svn://10.0.0.236/trunk@34262 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:13:56 +00:00
ftang%netscape.com
c4362cd5f8 change the fake lang string to null to improve performance
git-svn-id: svn://10.0.0.236/trunk@34261 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:13:06 +00:00
ftang%netscape.com
b1c3f1b226 do bit compar before do string compare to imporve performance
git-svn-id: svn://10.0.0.236/trunk@34260 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:12:20 +00:00
alla%lysator.liu.se
e0ac832aab Now compiles with HEAD
Had to do a ugly -DMOD_DLL_SUFFIX=\".so\" in the Makefile.
Will break on some platforms, but i suck at autoconf...


git-svn-id: svn://10.0.0.236/trunk@34259 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:10:18 +00:00
ftang%netscape.com
087e93c985 add nspr3 to the lib list
git-svn-id: svn://10.0.0.236/trunk@34258 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:09:51 +00:00
ftang%netscape.com
31d6d1c9a5 add new locale to charset mapping
git-svn-id: svn://10.0.0.236/trunk@34257 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:09:33 +00:00
putterman%netscape.com
eb1d5ccb9f Use onchange in threadPane and make selected color white.
git-svn-id: svn://10.0.0.236/trunk@34256 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:08:12 +00:00
ftang%netscape.com
c83f3a7da6 fix Chinease/Korean encoder problem
git-svn-id: svn://10.0.0.236/trunk@34255 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:06:47 +00:00
morse%netscape.com
258538bee2 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@34254 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:06:22 +00:00
jband%netscape.com
fcf49b32de removing unused file
git-svn-id: svn://10.0.0.236/trunk@34253 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:05:19 +00:00
putterman%netscape.com
832e50712e Check in fix for hyatt. Don't crash when closing a window after onchange
has been called.


git-svn-id: svn://10.0.0.236/trunk@34252 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 21:04:02 +00:00
law%netscape.com
e8100f1ad2 Display links in status bar when moused over
git-svn-id: svn://10.0.0.236/trunk@34251 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:59:41 +00:00
mcmullen%netscape.com
3ada190f0c Continuing development. (Still not in build).
git-svn-id: svn://10.0.0.236/trunk@34250 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:57:54 +00:00
warren%netscape.com
d9b1c6a72f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams.
git-svn-id: svn://10.0.0.236/trunk@34249 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:57:32 +00:00
norris%netscape.com
83c191892d Small reduction in code size.
git-svn-id: svn://10.0.0.236/trunk@34248 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:57:19 +00:00
matt%netscape.com
7037f23f47 fixing bug 6894 for the security guys
git-svn-id: svn://10.0.0.236/trunk@34247 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:52:33 +00:00
mcmullen%netscape.com
61c06327eb Continuing development (not yet in build).
git-svn-id: svn://10.0.0.236/trunk@34246 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:51:34 +00:00
mcmullen%netscape.com
2cbcddde7f Continuing development (not yet in build)
git-svn-id: svn://10.0.0.236/trunk@34245 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:48:34 +00:00
matt%netscape.com
0395ecfb60 adding pref-advanced.xul 6894
git-svn-id: svn://10.0.0.236/trunk@34244 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:45:37 +00:00
morse%netscape.com
9002ae199a fix wallet editor
git-svn-id: svn://10.0.0.236/trunk@34243 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:42:55 +00:00
matt%netscape.com
fa8e80aa1d Taking out prefbottom.xul from makefiles
git-svn-id: svn://10.0.0.236/trunk@34242 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:38:35 +00:00
matt%netscape.com
c710d1e279 fixing bug 6483
git-svn-id: svn://10.0.0.236/trunk@34241 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:33:40 +00:00
matt%netscape.com
48ab4f6525 fixing bugs 6468 and
6482


git-svn-id: svn://10.0.0.236/trunk@34240 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:30:08 +00:00
morse%netscape.com
642b2f087f fix wallet editor
git-svn-id: svn://10.0.0.236/trunk@34239 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:27:58 +00:00
matt%netscape.com
7f2b1c8a75 removing prefbottom.html since we don't use it anymore
git-svn-id: svn://10.0.0.236/trunk@34238 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:23:38 +00:00
hangas%netscape.com
69ec94f111 Cleaned up results pane of address book. Added select entire line code.
git-svn-id: svn://10.0.0.236/trunk@34237 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:21:53 +00:00
morse%netscape.com
c2374d293f BrowserAppCore.idl
git-svn-id: svn://10.0.0.236/trunk@34236 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:19:03 +00:00
valeski%netscape.com
7afe7bd16b updated the external module stuff
git-svn-id: svn://10.0.0.236/trunk@34235 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:15:26 +00:00
valeski%netscape.com
bf64c89334 added nsNetModuleMgr.cpp to the necko library. also made various changes to modEntry and modMgr implementations.
git-svn-id: svn://10.0.0.236/trunk@34234 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:12:53 +00:00
morse%netscape.com
399120094b editor
git-svn-id: svn://10.0.0.236/trunk@34233 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:12:36 +00:00
valeski%netscape.com
ab9a793482 added moduelMgr and ModRegEntry idls to the idl list. also updated the nsINetModuleMgr.idl interface
git-svn-id: svn://10.0.0.236/trunk@34232 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:11:53 +00:00
valeski%netscape.com
9d4154956a we were freeing a static buf
git-svn-id: svn://10.0.0.236/trunk@34231 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:09:43 +00:00
valeski%netscape.com
3c272f6406 adding the module registery entry idl file
git-svn-id: svn://10.0.0.236/trunk@34230 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:03:48 +00:00
valeski%netscape.com
7c86760dbe adding the module mgr header and the entry header
git-svn-id: svn://10.0.0.236/trunk@34228 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:02:53 +00:00
valeski%netscape.com
1318c22b6b we were erroneously freeing static mem.
git-svn-id: svn://10.0.0.236/trunk@34227 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 19:59:43 +00:00
matt%netscape.com
9de36f5fa3 Adding navigator.xul fix for bug 7035
git-svn-id: svn://10.0.0.236/trunk@34226 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 19:53:48 +00:00
locka%iol.ie
caf3065e01 Added some dynamic window resizing
git-svn-id: svn://10.0.0.236/trunk@34225 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 19:29:52 +00:00
joki%netscape.com
90d260e83f Fixing coords for click event since by not setting them at all before they were unlikely to be correct.
git-svn-id: svn://10.0.0.236/trunk@34224 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 19:28:52 +00:00
alecf%netscape.com
b32e651c72 ignore generated files
git-svn-id: svn://10.0.0.236/trunk@34223 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 19:20:01 +00:00
alecf%netscape.com
89d4fb8624 localize this file by using entities
git-svn-id: svn://10.0.0.236/trunk@34222 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 19:18:44 +00:00
jefft%netscape.com
bd0cbfa235 make sure we destroy the nsMessenger object after we close down the messenger window; call Release() in OnUnload() method
git-svn-id: svn://10.0.0.236/trunk@34221 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 19:05:40 +00:00
warren%netscape.com
6342442bae Added back in user agent stuff.
git-svn-id: svn://10.0.0.236/trunk@34220 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 19:04:13 +00:00
alecf%netscape.com
f6b4993bd9 remove the stupid dialog opening code
git-svn-id: svn://10.0.0.236/trunk@34219 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 19:02:43 +00:00
joki%netscape.com
f9357bc0c0 Fix hover state crash at document change. Bug 6580
git-svn-id: svn://10.0.0.236/trunk@34218 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 19:01:56 +00:00
alecf%netscape.com
592da646d0 open account manager with window.openDialog()
git-svn-id: svn://10.0.0.236/trunk@34217 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 18:57:55 +00:00
alecf%netscape.com
eee7aa5d60 add search makefiles to list (doesn't make search part of the build)
git-svn-id: svn://10.0.0.236/trunk@34216 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 18:44:48 +00:00
sspitzer%netscape.com
b18e748574 25 is the right max for Mac. from ns/lib/libmsg/newshost.cpp in the old world.
git-svn-id: svn://10.0.0.236/trunk@34215 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 18:33:30 +00:00
warren%netscape.com
36282c2a4a Added NewChannel method.
git-svn-id: svn://10.0.0.236/trunk@34214 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 18:28:10 +00:00
jefft%netscape.com
5befe20b98 accomodate alecf's name change for CloseMessenger()
git-svn-id: svn://10.0.0.236/trunk@34213 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 18:15:01 +00:00
hyatt%netscape.com
406ce053f6 Fix for a crash in the onchange handler of tree views on exit.
git-svn-id: svn://10.0.0.236/trunk@34212 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 18:12:47 +00:00
kmcclusk%netscape.com
1395c98675 Replaced reference with pointer for accessing plainFont in nsTextFrame::Reflow.
git-svn-id: svn://10.0.0.236/trunk@34211 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 18:12:20 +00:00
cbegle%netscape.com
bfd3a64713 Fix constructor test to match the constructors in DataTypeClass.java
git-svn-id: svn://10.0.0.236/trunk@34210 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 18:07:15 +00:00
cbegle%netscape.com
a076943e46 Add constructor tests.
git-svn-id: svn://10.0.0.236/trunk@34209 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 18:06:28 +00:00
mscott%netscape.com
9393d67233 Bug #6722 -- part of PR_Open removal.
git-svn-id: svn://10.0.0.236/trunk@34208 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 18:04:30 +00:00
putterman%netscape.com
f97f887fd5 Selection now selects the entire line. Folder pane no longer wraps.
git-svn-id: svn://10.0.0.236/trunk@34207 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 17:47:28 +00:00
valeski%netscape.com
d50b9b4b58 removed this one. good one is in mozilla/netwerk/protocol/http/public
git-svn-id: svn://10.0.0.236/trunk@34206 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 17:10:25 +00:00
selmer%netscape.com
eaeb84e88f use correct css file - duh.
git-svn-id: svn://10.0.0.236/trunk@34205 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 17:08:18 +00:00
valeski%netscape.com
c153a60bfd added root notification idl
git-svn-id: svn://10.0.0.236/trunk@34204 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 17:07:39 +00:00
valeski%netscape.com
a71f6c15f1 added nsINetNotify.idl to idl list
git-svn-id: svn://10.0.0.236/trunk@34203 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 17:07:09 +00:00
valeski%netscape.com
021800d963 added nsIHttpNotify.idl to the idl srcs list
git-svn-id: svn://10.0.0.236/trunk@34202 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 16:40:44 +00:00
valeski%netscape.com
bb715f5868 changed method names to match new symantics
git-svn-id: svn://10.0.0.236/trunk@34201 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 16:39:48 +00:00
cbegle%netscape.com
1654607cbd Object getters should return the same object set in the object setters,
and not create a new object.


git-svn-id: svn://10.0.0.236/trunk@34200 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 16:27:43 +00:00
andreas.otte%primus-online.de
7b8754c15c removed obsolete (I think) endless while loop from run method
added check for file size zero in SerialTest


git-svn-id: svn://10.0.0.236/trunk@34199 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 12:28:27 +00:00
andreas.otte%primus-online.de
d35bdc33a8 use new HandleEvent method of EventQueue
removed obselete stuff from manual registration
added two printf failure messages


git-svn-id: svn://10.0.0.236/trunk@34198 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 12:26:12 +00:00
andreas.otte%primus-online.de
3cd96278fb use new HandleEvent method of EventQueue
git-svn-id: svn://10.0.0.236/trunk@34197 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 12:24:10 +00:00
morse%netscape.com
a4efa0d630 fix treatment of notification message
git-svn-id: svn://10.0.0.236/trunk@34196 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 11:39:47 +00:00
andreas.otte%primus-online.de
e9c382512e fix to build with new AsyncRead interface from nsIChannel
git-svn-id: svn://10.0.0.236/trunk@34195 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 10:09:00 +00:00
andreas.otte%primus-online.de
c4bfc904c9 some cleanup after IDLisation
git-svn-id: svn://10.0.0.236/trunk@34194 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 10:07:50 +00:00
andreas.otte%primus-online.de
f91fff94e2 building the right library
git-svn-id: svn://10.0.0.236/trunk@34193 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 09:50:19 +00:00
andreas.otte%primus-online.de
8b2a129528 included dns makefiles
git-svn-id: svn://10.0.0.236/trunk@34192 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 09:48:28 +00:00
andreas.otte%primus-online.de
cc4b42de8e first checked in
git-svn-id: svn://10.0.0.236/trunk@34191 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 09:47:53 +00:00
andreas.otte%primus-online.de
d5a49e563d changed nsIUrl.h to nsIURL.h
git-svn-id: svn://10.0.0.236/trunk@34190 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 09:46:10 +00:00
andreas.otte%primus-online.de
35d2bfdc03 some cleanup after IDLisation
git-svn-id: svn://10.0.0.236/trunk@34189 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 09:44:04 +00:00
mcafee%netscape.com
7582baa723 Fixing this Makefile so that it does something.
git-svn-id: svn://10.0.0.236/trunk@34188 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 08:01:35 +00:00
warren%netscape.com
481b0b5652 Updated emacs TAGS rules for idl.
git-svn-id: svn://10.0.0.236/trunk@34187 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 07:43:32 +00:00
sspitzer%netscape.com
b7149d69fd makefile fixes from reg@shale.csir.co.za (Jeremy Lea)
git-svn-id: svn://10.0.0.236/trunk@34186 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 06:25:56 +00:00
av%netscape.com
3300943c79 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@34185 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 06:07:51 +00:00
hyatt%netscape.com
49c2c26e26 Adding code to force the user into STANDARD mode. Otherwise the chrome
malfunctions.


git-svn-id: svn://10.0.0.236/trunk@34184 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 06:05:53 +00:00
buster%netscape.com
4bad1b96b8 * Added nsAutoSelectionReset, a tiny class that resets the selection to what it was before a block transformation.
* Added some code to restore selection after RemoveTextProperty.
* Made a tiny change to the way the editor holds onto the transaction manager, so client (like the ender text control) can
turn undo on and off effectively
* Fixed a bug in IsNodeInline that was causing GetBlockParent to return the wrong parent node (and who knows what
other mischief) where atom compares were being done on strings of different case, for <B>, "b" vs. "B".  The DOM
method nsIDOMElement::GetTagName forced the returned tag name to upper case.  I don't know how long that has
been true, but I assume it's a fairly recent change (or something on our side related to it changed recently) or this method
never would have worked.  I also found a few cases of nsString::Equals that I changed to EqualsIgnoreCase
* Made some general improvements to the interaction between editors and rules, so that the aCancel out param is always
intialized, and all rules with Will... are matched with a Did... call.  Added Will/DidSetTextProperty() and
Will/DidRemoveTextProperty().  This helps enable plain text mode.  Added a skeleton for max length support in text editor.
* fixed some warnings.


git-svn-id: svn://10.0.0.236/trunk@34183 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 06:04:51 +00:00
hyatt%netscape.com
d85306e46c That's right baby. Whole row selection turned on.
git-svn-id: svn://10.0.0.236/trunk@34182 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 05:49:00 +00:00
hyatt%netscape.com
75642372a6 Adding a reminder comment to a file for future reference.
git-svn-id: svn://10.0.0.236/trunk@34181 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 05:24:06 +00:00
hyatt%netscape.com
7c41977b10 Removing the destruct from webshellwindow for arbitrary XUL popups. This should
happen on loss of focus instead.


git-svn-id: svn://10.0.0.236/trunk@34179 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 05:22:01 +00:00
hyatt%netscape.com
6875784258 Fix to ensure construct and destruct DOM events fire for popups.
git-svn-id: svn://10.0.0.236/trunk@34178 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 05:20:04 +00:00
hyatt%netscape.com
2996b4f2f8 Added construct and destruct events to the DOM.
git-svn-id: svn://10.0.0.236/trunk@34177 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 05:10:13 +00:00
hyatt%netscape.com
eab839e288 Added new events for popup construction and destruction.
git-svn-id: svn://10.0.0.236/trunk@34176 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 05:08:46 +00:00
sspitzer%netscape.com
5ad35122f3 move StringHash to nsMsgUtils.cpp, and use NS_MsgHashIfNecessary() in all
the ns*URI2Path() calls in the ns*Utils.cpp files to hash the file
names if necessary.
also, don't use fprintf().


git-svn-id: svn://10.0.0.236/trunk@34175 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 05:08:31 +00:00
hyatt%netscape.com
47f5078a7b Added support for "onconstruct" and "ondestruct" events for popups.
git-svn-id: svn://10.0.0.236/trunk@34174 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 05:08:16 +00:00
karnaze%netscape.com
ad3ad85b2c empty table cells ignore their background
git-svn-id: svn://10.0.0.236/trunk@34173 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 05:04:22 +00:00
rhp%netscape.com
b55af898aa a new test harness for send unsent messages (send later) interfaces
git-svn-id: svn://10.0.0.236/trunk@34172 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 04:46:08 +00:00
alecf%netscape.com
ae8cf6ee6d use attribute rather than function
git-svn-id: svn://10.0.0.236/trunk@34171 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 04:29:35 +00:00
alecf%netscape.com
6c1dae9b50 we can now use the frame directly instead of the IFRAME
git-svn-id: svn://10.0.0.236/trunk@34170 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 04:29:03 +00:00
alecf%netscape.com
5fb6d0a0bd for now, still use SetWindow whenever OpenURL is run
git-svn-id: svn://10.0.0.236/trunk@34169 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 04:28:43 +00:00
mscott%netscape.com
b055b96eb2 random changes to a non building test file =).
Bug #5633 --> more NS_WITH_SERVICE changes....I missed 2 spots last time.


git-svn-id: svn://10.0.0.236/trunk@34167 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 03:13:10 +00:00
mscott%netscape.com
758f231fff Bug #5633 --> more NS_WITH_SERVICE changes....I missed 2 spots last time.
git-svn-id: svn://10.0.0.236/trunk@34166 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 03:09:13 +00:00
blizzard%redhat.com
52eeaca3ad port performance enhancements from gtk fonts
git-svn-id: svn://10.0.0.236/trunk@34165 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 02:40:24 +00:00
sspitzer%netscape.com
0ab0217597 whoops, forgot one.
git-svn-id: svn://10.0.0.236/trunk@34164 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 02:34:51 +00:00
sspitzer%netscape.com
11556f50d2 giant cleanup of Windows mail / news makefile.wins. properly use MODULE, and name things so that Windows and UNIX match. (a big checkin for UNIX proceeded this.)
git-svn-id: svn://10.0.0.236/trunk@34163 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 02:22:10 +00:00
joki%netscape.com
ee7a67a711 Adding new method to nsIDOMNSUIEvent to give event pos as range offset.
git-svn-id: svn://10.0.0.236/trunk@34162 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 02:19:26 +00:00
alecf%netscape.com
f67fa3a0e3 add NPL 1.1
git-svn-id: svn://10.0.0.236/trunk@34161 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 02:17:35 +00:00
sspitzer%netscape.com
6250b1f442 giant cleanup of UNIX mail / news Makefiles. properly use MODULE, and
name things so that Windows and UNIX match.  (a big checkin for Windows
will follow shortly.)


git-svn-id: svn://10.0.0.236/trunk@34160 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 02:17:24 +00:00
brendan%netscape.com
2802b8d1f6 - "varargs" counterpart to JS_ConvertArguments, JS_ConvertArgumentsVA.
- JS_PushArguments{,VA} and JS_PopArguments to convert a list of C/C++ values
  passed as actual arguments into an 'jsval *argv' on the JS stack.
- Clean up and robustify ConvertArgs test command in the js shell.


git-svn-id: svn://10.0.0.236/trunk@34159 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 02:15:57 +00:00
briano%netscape.com
b735e4fe2b Changed the location of libxpcombase_s.a in the list in order to fix the NetBSD build.
git-svn-id: svn://10.0.0.236/trunk@34157 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 02:01:01 +00:00
briano%netscape.com
3f79367f64 Fix for NetBSD. Eliminates spurious __.SYMDEF files when building composite static libs.
git-svn-id: svn://10.0.0.236/trunk@34156 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 01:42:51 +00:00
selmer%netscape.com
8382ad4e78 added class=push to titledbuttons
git-svn-id: svn://10.0.0.236/trunk@34155 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 01:09:00 +00:00
alecf%netscape.com
4f4f487b50 load the messenger start page from the onload handler rather than the src= attribute of the iframe
git-svn-id: svn://10.0.0.236/trunk@34154 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:59:47 +00:00
alecf%netscape.com
996fb0ff93 add mozilla license, rename OnLoad/etc to OnLoadMessenger/etc
git-svn-id: svn://10.0.0.236/trunk@34153 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:59:02 +00:00
slamm%netscape.com
2bd0f48f17 More work on expand/collapse.
git-svn-id: svn://10.0.0.236/trunk@34152 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:58:34 +00:00
slamm%netscape.com
be4312aefa miscellaneous styles
git-svn-id: svn://10.0.0.236/trunk@34151 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:57:59 +00:00
slamm%netscape.com
0ef8a75d53 Set background to white
git-svn-id: svn://10.0.0.236/trunk@34150 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:57:15 +00:00
slamm%netscape.com
4a1ccd2148 clean-up whitespace.
git-svn-id: svn://10.0.0.236/trunk@34149 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:56:51 +00:00
slamm%netscape.com
08e15ec90e Use a pref to remember open close state between sessions.
git-svn-id: svn://10.0.0.236/trunk@34148 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:56:06 +00:00
waldemar%netscape.com
348f792fe4 Fixed several semantic errors. Added (?= and (?!.
git-svn-id: svn://10.0.0.236/trunk@34147 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:45:49 +00:00
waldemar%netscape.com
3fd19af552 Added statement showing number of grammar states
git-svn-id: svn://10.0.0.236/trunk@34146 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:44:52 +00:00
briano%netscape.com
2516a94415 Automated update
git-svn-id: svn://10.0.0.236/trunk@34145 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:44:51 +00:00
mcafee%netscape.com
db5735ae10 Changes for tk=xlib build. Thanks to Jeremy Lea for the patch.
git-svn-id: svn://10.0.0.236/trunk@34144 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:43:54 +00:00
selmer%netscape.com
301ec72ea4 Added pm.xul, pm.css
git-svn-id: svn://10.0.0.236/trunk@34143 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:37:53 +00:00
jefft%netscape.com
c8ba3f2ab6 call Release() instead of NS_RELEASE(this)
git-svn-id: svn://10.0.0.236/trunk@34142 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:32:18 +00:00
selmer%netscape.com
377cf6aa97 Move new prof mgr stuff into res
git-svn-id: svn://10.0.0.236/trunk@34141 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:31:14 +00:00
rickg%netscape.com
66dc68d42a fixed bug 7713
git-svn-id: svn://10.0.0.236/trunk@34140 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:30:26 +00:00
selmer%netscape.com
2c0ad92351 New prof mgr using trees
git-svn-id: svn://10.0.0.236/trunk@34139 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:30:00 +00:00
sfraser%netscape.com
b0fefb46e4 Fix for bug 7479; use unsigned char to avoid sign extension when converting to wide string. r rickg.
git-svn-id: svn://10.0.0.236/trunk@34138 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:28:47 +00:00
jefft%netscape.com
5c3f886035 clean up - get rid of FindMessenger() & SetWindow() calls; fixed Move/CopyMesseages not working for POP3 mail folders; implemented Close() & OnUnload() method
git-svn-id: svn://10.0.0.236/trunk@34137 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:26:29 +00:00
ftang%netscape.com
076c114235 remove accidental check in
git-svn-id: svn://10.0.0.236/trunk@34136 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:23:48 +00:00
jefft%netscape.com
723b023418 added Close() & OnUnload() method
git-svn-id: svn://10.0.0.236/trunk@34135 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:23:03 +00:00
ftang%netscape.com
b573de271f backout rulebrk.c
git-svn-id: svn://10.0.0.236/trunk@34134 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:21:47 +00:00
briano%netscape.com
0f0c501180 SunOS 4.x doesn't have libsocket either.
git-svn-id: svn://10.0.0.236/trunk@34132 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:15:02 +00:00
mscott%netscape.com
7f7953d882 LoadUrl signature takes a display consumer
git-svn-id: svn://10.0.0.236/trunk@34131 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:02:27 +00:00
akkana%netscape.com
89a8428f49 call Init on the document encoder
git-svn-id: svn://10.0.0.236/trunk@34130 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:02:25 +00:00
akkana%netscape.com
ee09a04094 Add Init method to pass in the document and mime type
git-svn-id: svn://10.0.0.236/trunk@34129 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:01:55 +00:00
mscott%netscape.com
f042904d94 Unification of LoadUrl signature to remove some warnings on Linux & Mac. LoadUrl signature takes a display consumer.
git-svn-id: svn://10.0.0.236/trunk@34128 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:01:54 +00:00
mscott%netscape.com
c383a155a9 Unification of LoadUrl signature to remove some warnings on Linux & Mac. LoadUrl signature takes a display consumer
git-svn-id: svn://10.0.0.236/trunk@34127 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:01:27 +00:00
ftang%netscape.com
d0d7894082 add JIS converters
git-svn-id: svn://10.0.0.236/trunk@34126 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 23:58:39 +00:00
waterson%netscape.com
e780123ea3 Added what's related panel; moved bookmarks panel to the bottom.
git-svn-id: svn://10.0.0.236/trunk@34125 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 23:57:39 +00:00
waterson%netscape.com
3a81fef8e2 Hook up link clicking; make separators into HTML HRs instead of hyphens.
git-svn-id: svn://10.0.0.236/trunk@34124 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 23:53:41 +00:00
slamm%netscape.com
5d17f62fe7 Put real link on the comment star for those people that do not use JavaScript.
git-svn-id: svn://10.0.0.236/trunk@34123 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 23:49:37 +00:00
leaf%mozilla.org
9388a02a0d moving SmokeTestLinux-1.pl to smoke.pl
git-svn-id: svn://10.0.0.236/trunk@34122 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 23:47:16 +00:00
waterson%netscape.com
f178c9ddac Initial revision.
git-svn-id: svn://10.0.0.236/trunk@34121 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 23:22:30 +00:00
alecf%netscape.com
5a774d6b96 fix bustage - getAccounts -> GetAccounts
git-svn-id: svn://10.0.0.236/trunk@34120 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 23:14:20 +00:00
briano%netscape.com
47382f98c9 Added support for QNX Neutrino.
git-svn-id: svn://10.0.0.236/trunk@34119 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 23:08:13 +00:00
alla%lysator.liu.se
80ce270063 First shot at streaming html or xml data to the widget.
Try it out.
I've not updated to the tip yet, so i hope it works.


git-svn-id: svn://10.0.0.236/trunk@34118 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 23:00:10 +00:00
alecf%netscape.com
1b96bb936c new arrayDescribe() to describe() all elements of an array
git-svn-id: svn://10.0.0.236/trunk@34117 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:53:34 +00:00
alecf%netscape.com
8c78a4eed4 implement GetIdentities
git-svn-id: svn://10.0.0.236/trunk@34116 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:50:46 +00:00
despotdaemon%netscape.com
87e04c2984 Pseudo-automatic update of changes made by edburns@acm.org.
git-svn-id: svn://10.0.0.236/trunk@34115 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:49:49 +00:00
kmcclusk%netscape.com
dc924d2084 Added code to nsFontMetricsGTK to cache the width of a single space.
Modifed nsRenderingContextGTK::GetWidth to detect when a single space
is passed in and pass back the cached value, rather than re-measuring
a space.


git-svn-id: svn://10.0.0.236/trunk@34114 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:48:19 +00:00
warren%netscape.com
bbf3618837 Added nsIBufferOutputStream.idl
git-svn-id: svn://10.0.0.236/trunk@34113 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:47:55 +00:00
mscott%netscape.com
efb72eb889 Unification of LoadUrl signature to remove some warnings on Linux & Mac. (this is just the first step).
git-svn-id: svn://10.0.0.236/trunk@34110 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:32:10 +00:00
mscott%netscape.com
5083ca5b7e Unification of LoadUrl signature to remove some warnings on Linux & Mac. (this is just the first step).
ParseURL returns a nsresult instead of a PRInt32.


git-svn-id: svn://10.0.0.236/trunk@34109 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:31:37 +00:00
rogerl%netscape.com
ccf097f432 Fixed bug #7703, typeof<var> wasn't referencing activation frame vars
correctly.


git-svn-id: svn://10.0.0.236/trunk@34108 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:29:41 +00:00
bsharma%netscape.com
026dcd1dcf adding the smoketest scripts
git-svn-id: svn://10.0.0.236/trunk@34107 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:29:38 +00:00
waterson%netscape.com
36fef04410 Add SiteMap icon and relate-panel style sheet. Make code smarter so that it only fetches related links when the RL folder is open.
git-svn-id: svn://10.0.0.236/trunk@34106 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:21:53 +00:00
warren%netscape.com
c3f666b33c obsoleting files
git-svn-id: svn://10.0.0.236/trunk@34105 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:19:20 +00:00
warren%netscape.com
faf27a433b Removed nsITransport.
git-svn-id: svn://10.0.0.236/trunk@34104 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:12:19 +00:00
briano%netscape.com
08451f9027 Yet another case of C++ comments in a C file....
git-svn-id: svn://10.0.0.236/trunk@34103 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:11:18 +00:00
alecf%netscape.com
d41b6f6748 add more useful dumps of account information
git-svn-id: svn://10.0.0.236/trunk@34102 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:08:50 +00:00
gagan%netscape.com
1a3eda5744 Adding Makefile.in for Linux. Testing for Andreas.
git-svn-id: svn://10.0.0.236/trunk@34101 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:07:49 +00:00
alecf%netscape.com
8e024fa8f0 add account manager to tests
git-svn-id: svn://10.0.0.236/trunk@34100 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:06:10 +00:00
gagan%netscape.com
c52025ea91 Adding Makefile.in. Testing for Andreas.
git-svn-id: svn://10.0.0.236/trunk@34099 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:05:44 +00:00
gagan%netscape.com
9ab568f58d First checkin for Makefile.in. Testing for Andreas.
git-svn-id: svn://10.0.0.236/trunk@34098 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:05:17 +00:00
warren%netscape.com
25b15817f7 Updated for file name changes.
git-svn-id: svn://10.0.0.236/trunk@34097 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:04:19 +00:00
waldemar%netscape.com
57a8f8ffc6 Simplified grammar by using lookahead constraints. Fixed \dd bugs. Made all errors occur at pattern compile time.
git-svn-id: svn://10.0.0.236/trunk@34096 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 22:00:09 +00:00
waldemar%netscape.com
bed46b51e0 Simplified grammar by using lookahead constraints.
git-svn-id: svn://10.0.0.236/trunk@34095 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:58:24 +00:00
waldemar%netscape.com
e5731ff736 Simplified grammar by using lookahead constraints. Removed requirement for an underscore before unit name.
git-svn-id: svn://10.0.0.236/trunk@34094 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:57:29 +00:00
waterson%netscape.com
ebc1f7436a Initial revision.
git-svn-id: svn://10.0.0.236/trunk@34093 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:53:50 +00:00
alecf%netscape.com
b3dd090806 fix uninitialized variable
git-svn-id: svn://10.0.0.236/trunk@34092 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:48:57 +00:00
leaf%mozilla.org
00a856b938 adding blank file per tina ornduff
git-svn-id: svn://10.0.0.236/trunk@34091 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:47:13 +00:00
ftang%netscape.com
0aee839144 add FillInfo
git-svn-id: svn://10.0.0.236/trunk@34090 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:37:45 +00:00
ftang%netscape.com
a0a58671d0 add IS_REPRESENTABLE test inside #ifdef
git-svn-id: svn://10.0.0.236/trunk@34089 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:36:43 +00:00
chuang%netscape.com
b621a96d91 fix crash on starting address book
git-svn-id: svn://10.0.0.236/trunk@34088 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:33:42 +00:00
warren%netscape.com
a42da99b5a New IDL interfaces.
git-svn-id: svn://10.0.0.236/trunk@34087 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:33:30 +00:00
mscott%netscape.com
fae7d2944e Bug #7715 --> set the character set for the messenger webshell to be UTF-8.
git-svn-id: svn://10.0.0.236/trunk@34086 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:31:53 +00:00
akkana%netscape.com
1039d688ae Track change in editor API
git-svn-id: svn://10.0.0.236/trunk@34085 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:31:18 +00:00
mscott%netscape.com
48f0a728ec remove IGNORE_MANIFEST and remove LCFLAGS since we don't have any.
git-svn-id: svn://10.0.0.236/trunk@34084 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:28:45 +00:00
mscott%netscape.com
8fd0c627d2 remove IGNORE_MANIFEST.
git-svn-id: svn://10.0.0.236/trunk@34083 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:28:20 +00:00
kmcclusk%netscape.com
4db1f54f79 Modified nsWebShell::GetLinkState to used a cached GlobalHistory service rather
than getting and releasing the service each time GetLinkState is called. Getting
the global history service shows up as a big hit during profiling because GetLinkState
gets called each time a link is encountered while resolving style contexts.


git-svn-id: svn://10.0.0.236/trunk@34082 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:26:10 +00:00
despotdaemon%netscape.com
338852fb20 Pseudo-automatic update of changes made by bsharma@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@34081 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:23:39 +00:00
despotdaemon%netscape.com
8ef931c119 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@34080 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:21:58 +00:00
waterson%netscape.com
b62d476704 Add xpfe/components/related directory to the build.
git-svn-id: svn://10.0.0.236/trunk@34079 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:19:22 +00:00
mscott%netscape.com
3352821fe0 remove IGNORE_MANIFEST and remove LCFLAGS since we don't have any.
git-svn-id: svn://10.0.0.236/trunk@34078 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:19:08 +00:00
karnaze%netscape.com
fac683ae77 removed background rules for table elements
git-svn-id: svn://10.0.0.236/trunk@34077 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:19:05 +00:00
kmcclusk%netscape.com
ca984e0334 Modified TextStyle constructor to reuse the TextFrame's mFont rather than creating
a new font. The creation of the new font show up during profiling as a big hit.


git-svn-id: svn://10.0.0.236/trunk@34076 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:18:51 +00:00
waterson%netscape.com
f9f143eadd Add related directory to the build.
git-svn-id: svn://10.0.0.236/trunk@34075 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:18:44 +00:00
waterson%netscape.com
8b0109a555 Added xpfe/components/related to the build.
git-svn-id: svn://10.0.0.236/trunk@34074 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:17:23 +00:00
mscott%netscape.com
3c88fc0d90 remove obsolete LINCS line.
git-svn-id: svn://10.0.0.236/trunk@34073 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:16:13 +00:00
waterson%netscape.com
c553b89023 Add NetworkModule.shlb to opt build.
git-svn-id: svn://10.0.0.236/trunk@34072 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:16:02 +00:00
karnaze%netscape.com
2c810b0c31 background regression test
git-svn-id: svn://10.0.0.236/trunk@34071 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:14:19 +00:00
akkana%netscape.com
0e9a5c4958 Track change to OutputText/OutputHTML interfaces; Get rid of warnings
git-svn-id: svn://10.0.0.236/trunk@34070 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:13:59 +00:00
akkana%netscape.com
d0e25f4a05 Get rid of overloaded class names, to eliminate warnings
git-svn-id: svn://10.0.0.236/trunk@34069 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:12:01 +00:00
mscott%netscape.com
25b7bf1a12 remove IGNORE_MANIFEST and remove LCFLAGS since we don't have any.
git-svn-id: svn://10.0.0.236/trunk@34068 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:11:16 +00:00
karnaze%netscape.com
0e237e981a support for backgrounds on table elements in both compatibility modes
git-svn-id: svn://10.0.0.236/trunk@34067 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:10:25 +00:00
karnaze%netscape.com
139fc10e3b new style rule for table elements inheriting backgrounds in Nav Quirks mode
git-svn-id: svn://10.0.0.236/trunk@34066 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:09:07 +00:00
putterman%netscape.com
5a0a55c231 Remove extra PR_FREEIF.
git-svn-id: svn://10.0.0.236/trunk@34065 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:05:13 +00:00
mscott%netscape.com
55816e4184 remove IGNORE_MANIFEST
git-svn-id: svn://10.0.0.236/trunk@34064 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:04:04 +00:00
hyatt%netscape.com
82a9263afd Notification of a change in selection.
git-svn-id: svn://10.0.0.236/trunk@34063 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:57:34 +00:00
putterman%netscape.com
c7c8ab9bed Fix some memory leaks.
git-svn-id: svn://10.0.0.236/trunk@34062 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:53:22 +00:00
mscott%netscape.com
9af559ad0a remove IGNORE_MANIFEST and remove LCFLAGS since we don't have any.
git-svn-id: svn://10.0.0.236/trunk@34061 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:43:50 +00:00
pinkerton%netscape.com
2c58808b6f changes so that transferable no longer takes ownership of dataflavor string, but correctly copies it. fix some memory leaks as well.
git-svn-id: svn://10.0.0.236/trunk@34060 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:43:23 +00:00
ftang%netscape.com
00efc527ff fix typo
git-svn-id: svn://10.0.0.236/trunk@34059 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:40:53 +00:00
chuang%netscape.com
5e2e8cbcfe Fix bustage on Windows
git-svn-id: svn://10.0.0.236/trunk@34058 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:32:49 +00:00
ftang%netscape.com
36896282b6 add FillInfo
git-svn-id: svn://10.0.0.236/trunk@34057 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:32:15 +00:00
ftang%netscape.com
52924b32c6 add nsICharRepresentable.h and change nsIUnicodeEncodeHelper.h
git-svn-id: svn://10.0.0.236/trunk@34056 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:29:45 +00:00
rhp%netscape.com
d24259325f Change for dialog feedback
git-svn-id: svn://10.0.0.236/trunk@34055 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:29:09 +00:00
ftang%netscape.com
c59aca54d4 add nsICharRepresentable.h
git-svn-id: svn://10.0.0.236/trunk@34054 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:29:02 +00:00
ftang%netscape.com
57252d3f7d add rulebrk.c
git-svn-id: svn://10.0.0.236/trunk@34053 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:25:32 +00:00
rhp%netscape.com
b0088c7a3d update for test program
git-svn-id: svn://10.0.0.236/trunk@34052 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:25:12 +00:00
sspitzer%netscape.com
e1bc1dbfa4 fix runtime bustage. GetWidth nowhere to be found yet.
git-svn-id: svn://10.0.0.236/trunk@34051 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:23:08 +00:00
ftang%netscape.com
a28104d0d4 check in thai rule-base line breaker (temp untill the real one). Thanks Samphan Raruenrom
git-svn-id: svn://10.0.0.236/trunk@34050 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:22:11 +00:00
sspitzer%netscape.com
5f662f4e8f fix warnings (comments within comments). use nsAutoString correctly.
git-svn-id: svn://10.0.0.236/trunk@34049 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:17:47 +00:00
ducarroz%netscape.com
2f28b74565 fix sprintf problem, Mac only.
git-svn-id: svn://10.0.0.236/trunk@34048 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:13:42 +00:00
rhp%netscape.com
8c3f416e7e fix for mac
git-svn-id: svn://10.0.0.236/trunk@34047 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:09:27 +00:00
rpotts%netscape.com
1830a32784 Added unix support for processing PLEvents...
git-svn-id: svn://10.0.0.236/trunk@34046 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:06:41 +00:00
waterson%netscape.com
442e9b2234 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@34045 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:05:06 +00:00
sspitzer%netscape.com
203780b77f renaming nsMsgUtils.*, this was already being used in mozilla/mailnews/base/src
git-svn-id: svn://10.0.0.236/trunk@34044 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:03:40 +00:00
ducarroz%netscape.com
174abbc2ea add nsMsgCompUtils.cpp
git-svn-id: svn://10.0.0.236/trunk@34043 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:03:34 +00:00
waterson%netscape.com
74e401982e Fix Unicode string initializer.
git-svn-id: svn://10.0.0.236/trunk@34042 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:00:43 +00:00
waterson%netscape.com
4ea215fa42 Remove related links data source. Hook up generic observer mechanism to document start- and end-load.
git-svn-id: svn://10.0.0.236/trunk@34041 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:55:45 +00:00
waterson%netscape.com
b5925d2eda Remove related links datasource. Moved to xpfe/components/related.
git-svn-id: svn://10.0.0.236/trunk@34040 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:54:36 +00:00
waterson%netscape.com
598be1c1e9 Remove related links data source. Moved to xpfe/components/related.
git-svn-id: svn://10.0.0.236/trunk@34039 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:53:44 +00:00
sspitzer%netscape.com
a8d3fccb73 #if 0 unused code to remove warnings on Linux.
git-svn-id: svn://10.0.0.236/trunk@34038 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:52:17 +00:00
sspitzer%netscape.com
8d9a0d7fd5 fix warnings by returning the right thing.
git-svn-id: svn://10.0.0.236/trunk@34037 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:52:04 +00:00
rhp%netscape.com
2a88383a43 Fix checkin
git-svn-id: svn://10.0.0.236/trunk@34036 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:52:01 +00:00
sspitzer%netscape.com
4dde4f42d9 reorder to remove warnings
git-svn-id: svn://10.0.0.236/trunk@34035 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:51:32 +00:00
rpotts%netscape.com
66b884a0c3 Fixed up header parsing, so that if OnDataAvailable(...) is called more than once we remember that headers have been processed... Made a temp change to the stream being passed out of OnDataAvailable(...). It was inStr which was *never* initialized... Right now it is passing out the original stream (which is wrong I think) but it doesn't crash :-)
git-svn-id: svn://10.0.0.236/trunk@34034 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:51:01 +00:00
akkana%netscape.com
3db80acc76 Split document encoder's Encode() method into a stream method and a string method
git-svn-id: svn://10.0.0.236/trunk@34033 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:32:36 +00:00
sspitzer%netscape.com
065441374b fix build bustage. rhp says we need this now.
git-svn-id: svn://10.0.0.236/trunk@34032 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:26:48 +00:00
rods%netscape.com
fa7049446f Removed ddcomm.h, and put the macro SET_FORMATETC into nsClipboard.h, and then removed ddcomm.h from the src
git-svn-id: svn://10.0.0.236/trunk@34031 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:26:45 +00:00
ssu%netscape.com
549733fe01 changed function used to retrieve default package folder to VR_GetDefaultDirectory() from VR_GetPath()
git-svn-id: svn://10.0.0.236/trunk@34029 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:25:09 +00:00
rods%netscape.com
561c4e00dd added cast to remove warning.
git-svn-id: svn://10.0.0.236/trunk@34028 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:24:36 +00:00
chuang%netscape.com
99cfd398be convert to PR types and use nsresult.
git-svn-id: svn://10.0.0.236/trunk@34027 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:24:30 +00:00
sspitzer%netscape.com
b2f799d4e3 fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@34026 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:23:07 +00:00
waterson%netscape.com
0b6ab279be Add xpfe/components/related.
git-svn-id: svn://10.0.0.236/trunk@34025 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:22:35 +00:00
sspitzer%netscape.com
221379e1d0 fix build bustage. case sensitivity problem.
git-svn-id: svn://10.0.0.236/trunk@34024 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:22:21 +00:00
waterson%netscape.com
0a3b777cb2 Unix build.
git-svn-id: svn://10.0.0.236/trunk@34023 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:22:18 +00:00
law%netscape.com
48188d5670 "First step towards exorcism of nsIXULWindowCallbacks"
git-svn-id: svn://10.0.0.236/trunk@34022 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:21:33 +00:00
rhp%netscape.com
e338cd4f07 More fixe
git-svn-id: svn://10.0.0.236/trunk@34021 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:18:34 +00:00
rhp%netscape.com
01b82f5581 Dumb typo
git-svn-id: svn://10.0.0.236/trunk@34020 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:17:23 +00:00
waterson%netscape.com
cdec11bd06 Remove manifest.mn.
git-svn-id: svn://10.0.0.236/trunk@34019 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:16:56 +00:00
rhp%netscape.com
7ac8a438cc Fixes for recent checkins
git-svn-id: svn://10.0.0.236/trunk@34018 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:14:45 +00:00
waterson%netscape.com
d137a45808 Remove related links data source: moved to xpfe/components.
git-svn-id: svn://10.0.0.236/trunk@34017 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:14:22 +00:00
rhp%netscape.com
5141b68613 Transition header file
git-svn-id: svn://10.0.0.236/trunk@34016 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:12:21 +00:00
rhp%netscape.com
cba37f6bba Changes for composition BE
git-svn-id: svn://10.0.0.236/trunk@34015 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:58:27 +00:00
rhp%netscape.com
6a33d730fe Changes for mail composition
git-svn-id: svn://10.0.0.236/trunk@34014 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:55:28 +00:00
rhp%netscape.com
8ab82a929a Adding files to Makefiles
git-svn-id: svn://10.0.0.236/trunk@34013 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:54:37 +00:00
rhp%netscape.com
692eec7521 More composer BE changes
git-svn-id: svn://10.0.0.236/trunk@34012 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:54:18 +00:00
rhp%netscape.com
64346769b5 New back end composition functionality
git-svn-id: svn://10.0.0.236/trunk@34011 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:53:47 +00:00
mcmullen%netscape.com
dc019f45e3 Fix an assert (and a bug) in some XP_MAC code for importing IE favorites. The wrong stream was being tested for openness, and the parser was being given a nonexistent stream to parse, and asserting.
git-svn-id: svn://10.0.0.236/trunk@34010 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:53:29 +00:00
rhp%netscape.com
1b6168d675 added files: mozilla/mailnews/compose/src/nsMsgZapIt.cpp, mozilla/mailnews/compose/src/nsMsgCreate.cpp, mozilla/mailnews/compose/src/nsMsgCopy.cpp, mozilla/mailnews/compose/src/nsMsgSendLater.cpp, mozilla/mailnews/compose/src/nsMsgDeliveryListener.cpp, mozilla/mailnews/compose/src/nsMsgComposeStringBundle.cpp, mozilla/mailnews/compose/src/nsMsgEncoders.cpp, mozilla/mailnews/compose/src/nsMsgI18N.cpp, mozilla/mailnews/compose/src/nsMsgAttachmentHandler.cpp, mozilla/mailnews/compose/src/nsMsgPrompts.cpp
git-svn-id: svn://10.0.0.236/trunk@34009 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:53:19 +00:00
hangas%netscape.com
4933ed2e42 Added AddressBook.js
git-svn-id: svn://10.0.0.236/trunk@34008 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:52:09 +00:00
rhp%netscape.com
a0cb0dc40c removed files: mozilla/mailnews/compose/src/nsMsgCompose.cpp
git-svn-id: svn://10.0.0.236/trunk@34007 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:51:32 +00:00
cata%netscape.com
a34435a611 UTF-7 tests
git-svn-id: svn://10.0.0.236/trunk@34006 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:51:13 +00:00
hangas%netscape.com
b8ecb4da9e Cleanup xul
git-svn-id: svn://10.0.0.236/trunk@34005 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:50:50 +00:00
cata%netscape.com
b4deb35e6d UTF-7 converters
git-svn-id: svn://10.0.0.236/trunk@34004 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:50:44 +00:00
hangas%netscape.com
9e71f526a3 Added code to update the cardview pane with data from datasource
git-svn-id: svn://10.0.0.236/trunk@34003 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:50:20 +00:00
cata%netscape.com
85396d1183 added files: mozilla/intl/uconv/ucvlatin/nsUnicodeToUTF7.cpp, mozilla/intl/uconv/ucvlatin/nsUTF7ToUnicode.cpp
git-svn-id: svn://10.0.0.236/trunk@34002 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:49:38 +00:00
cata%netscape.com
e4b4799952 more work on UTF-7 converters
git-svn-id: svn://10.0.0.236/trunk@34001 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:49:12 +00:00
rhp%netscape.com
90a8e39b5a New compose BE functionality
git-svn-id: svn://10.0.0.236/trunk@34000 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:48:32 +00:00
morse%netscape.com
ab0dc7362f get rid of useDialogs pref
git-svn-id: svn://10.0.0.236/trunk@33999 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:47:07 +00:00
rhp%netscape.com
50d401de12 Cleanup of compose back end
git-svn-id: svn://10.0.0.236/trunk@33998 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:46:14 +00:00
jdunn%netscape.com
315bf0adb5 need to specify that the base classes are public (since some native
compilers default unspecified ones as private)


git-svn-id: svn://10.0.0.236/trunk@33997 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:37:55 +00:00
norris%netscape.com
fff5b7216c Clean up formatting.
git-svn-id: svn://10.0.0.236/trunk@33996 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:14:15 +00:00
norris%netscape.com
0f1b29664f Optimization: avoid allocating a Vector object for every LiveConnect call.
git-svn-id: svn://10.0.0.236/trunk@33995 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 18:13:15 +00:00
andreas.otte%primus-online.de
9bdfc81c1d correct two typos
git-svn-id: svn://10.0.0.236/trunk@33994 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 16:56:36 +00:00
jdunn%netscape.com
c2731130a5 backing out my illegal checkin that i did when the tree was closed
git-svn-id: svn://10.0.0.236/trunk@33993 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 16:27:57 +00:00
jdunn%netscape.com
09ef6f1b44 specifying that the base classes are indeed public (since some native
compilers default unspecified ones as private)


git-svn-id: svn://10.0.0.236/trunk@33992 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 16:21:03 +00:00
blizzard%redhat.com
1d5aa63016 remove widgets that don't exist anymore. THIS IS NOT PART OF THE BUILD.
git-svn-id: svn://10.0.0.236/trunk@33991 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 15:32:17 +00:00
waterson%netscape.com
6726babcc9 Initial revision. Not yet in the build.
git-svn-id: svn://10.0.0.236/trunk@33990 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 10:08:47 +00:00
waterson%netscape.com
3da108641d Initial revision. Not yet in the build.
git-svn-id: svn://10.0.0.236/trunk@33989 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 09:56:34 +00:00
mscott%netscape.com
b4cf41d822 Don't build dll until the install phase, not the lib phase.
git-svn-id: svn://10.0.0.236/trunk@33986 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 08:22:54 +00:00
mscott%netscape.com
d9ddfd9200 Fix win32 build breakage (*I think*) by not trying to generate the dll until the install
phase and not the lib phase.


git-svn-id: svn://10.0.0.236/trunk@33985 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 08:13:14 +00:00
mscott%netscape.com
18edb794e7 Part of makefile clean up for windows. Changes include removing old cruft, giving each
component it's own module name (this helps clear up problems with the xp connect type lib
name for each component), making sure libs built in src directories have _s suffix as
they are static libraries and unifying component names with "msg" prefixes.
Also removed extraneous CPP_SRCS info.


git-svn-id: svn://10.0.0.236/trunk@33984 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 07:16:53 +00:00
waterson%netscape.com
55c23b348b Add Equals() method to Window class to support comparison of XPConnect-wrapped nsIDOMWindow and idlc Window.
git-svn-id: svn://10.0.0.236/trunk@33983 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 07:16:01 +00:00
rpotts%netscape.com
3b85ba970a Fixed up uninitialized variable... Oops
git-svn-id: svn://10.0.0.236/trunk@33982 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 07:12:56 +00:00
mscott%netscape.com
5a78a0e102 Part of makefile clean up for windows. Changes include removing old cruft, giving each
component it's own module name (this helps clear up problems with the xp connect type lib
name for each component), making sure libs built in src directories have _s suffix as
they are static libraries and unifying component names with "msg" prefixes.
Also removed extraneous CPP_SRCS info.


git-svn-id: svn://10.0.0.236/trunk@33981 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 07:03:50 +00:00
mscott%netscape.com
170ca8965c Part of makefile clean up for windows. Changes include removing old cruft, giving each
component it's own module name (this helps clear up problems with the xp connect type lib
name for each component), making sure libs built in src directories have _s suffix as
they are static libraries and unifying component names with "msg" prefixes.
Also removed extraneous CPP_SRCS info.


git-svn-id: svn://10.0.0.236/trunk@33980 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 06:52:45 +00:00
mscott%netscape.com
8ed10f0200 Build mork before msgdb.
git-svn-id: svn://10.0.0.236/trunk@33979 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 06:45:56 +00:00
mscott%netscape.com
6791973ab0 Part of makefile clean up for windows. Changes include removing old cruft, giving each
component it's own module name (this helps clear up problems with the xp connect type lib
name for each component), making sure libs built in src directories have _s suffix as
they are static libraries and unifying component names with "msg" prefixes.


git-svn-id: svn://10.0.0.236/trunk@33978 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 06:41:51 +00:00
rpotts%netscape.com
f1c0e8b288 Fixed up compiler warning on Linux...
git-svn-id: svn://10.0.0.236/trunk@33977 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 06:30:59 +00:00
rpotts%netscape.com
6416713fa5 Added a new file - nsSocketTransportStreams.cpp to the build...
git-svn-id: svn://10.0.0.236/trunk@33976 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 06:28:07 +00:00
rpotts%netscape.com
996b513ca8 Work on blocking streams...
git-svn-id: svn://10.0.0.236/trunk@33975 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 06:27:34 +00:00
rjc%netscape.com
2431059cb7 Get context popup menus work on Mac by checking if the CTRL key is down (just like how the Mac's Finder works).
git-svn-id: svn://10.0.0.236/trunk@33974 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 05:43:09 +00:00
jband%netscape.com
34ce93323c allow for mapping both directions between NULL and JSVAL_NULL for all pointer type objects (string, wstring, nsid, as well as interface pointers
git-svn-id: svn://10.0.0.236/trunk@33973 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 05:09:38 +00:00
alecf%netscape.com
d5365cd6f1 XPConnect doesn't seem to like returning NULL from string accessors
git-svn-id: svn://10.0.0.236/trunk@33972 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 04:29:18 +00:00
sdagley%netscape.com
07e7d53b83 Fix bug #6507. PR_fprintf() with PR_GetSpecialFD(PR_StandardOutput) or PR_GetSpecialFD(PR_StandardError) as the file argument now works on the Mac with output directed to the SIOUX stdout console window.
git-svn-id: svn://10.0.0.236/trunk@33970 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 02:37:28 +00:00
waterson%netscape.com
96e56379e8 Add nsService constructor that allows you to get a service by ProgID using the statically linked nsServiceManager API.
git-svn-id: svn://10.0.0.236/trunk@33969 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 02:24:29 +00:00
alecf%netscape.com
241cd05c79 build test
git-svn-id: svn://10.0.0.236/trunk@33968 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 22:38:34 +00:00
alecf%netscape.com
52bf4523cf ignore makefile
git-svn-id: svn://10.0.0.236/trunk@33967 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 22:37:35 +00:00
alecf%netscape.com
29acda2955 add some sample JavaScript tests
git-svn-id: svn://10.0.0.236/trunk@33966 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 22:37:16 +00:00
morse%netscape.com
0615585206 fixed some ifdefs that were backwards
git-svn-id: svn://10.0.0.236/trunk@33965 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 20:40:11 +00:00
morse%netscape.com
4a327f0a87 added ifdefs for places in which the i18n localizations don't work
git-svn-id: svn://10.0.0.236/trunk@33963 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 19:50:06 +00:00
morse%netscape.com
aa175cb44e added real dialogs
git-svn-id: svn://10.0.0.236/trunk@33962 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 18:55:46 +00:00
alecf%netscape.com
4b2b40f6f2 make a little more robust so that we can easily call this from JS
git-svn-id: svn://10.0.0.236/trunk@33961 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 18:46:03 +00:00
mscott%netscape.com
3cb5b24a38 Updates to include the fact that Initialialzing the protocol instance no longer requires the
transport object to be created. It does it for you. These changes are related to my
nsMsgProtocol changes.


git-svn-id: svn://10.0.0.236/trunk@33960 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 18:39:56 +00:00
mscott%netscape.com
360e027673 Revamp of news protocol to use my new nsMsgProtocol base class. This caused the signature of
several functions to change.

I also added some code to properly kill the network connection after we have finished
a nntp command.


git-svn-id: svn://10.0.0.236/trunk@33959 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 18:38:43 +00:00
morse%netscape.com
f644f996e5 get initial value for checkbox, save checkbox value when CANCEL is pressed
git-svn-id: svn://10.0.0.236/trunk@33958 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 15:58:08 +00:00
rhp%netscape.com
6189743d0d forgot to use the propertyURL for as the resource URL
git-svn-id: svn://10.0.0.236/trunk@33957 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 13:28:30 +00:00
srinivas%netscape.com
9ddc597a3d QNX port; checkin for briano@netscape.com. Bug #7276.
git-svn-id: svn://10.0.0.236/trunk@33955 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 12:10:45 +00:00
andreas.otte%primus-online.de
833571b3c6 write \0 not on but after the CRLF on Headers
git-svn-id: svn://10.0.0.236/trunk@33954 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 09:40:56 +00:00
andreas.otte%primus-online.de
7776fe2d54 variable rv of type nsresult was not initialized in CreateInstance and in case of creating a StandardUrl with no Init in CreateInstance (and using rv) making it random to the calling function if creating the Url succeeded. This is what I thought was a namespace problem between necko and old netlib.
git-svn-id: svn://10.0.0.236/trunk@33953 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 09:16:49 +00:00
mccabe%netscape.com
68bdc82b30 Fix xpidl-generated header and .xpt dependency on outdated IDL_COMPLE to the brandfangled new XPIDL_COMPILE symbol. Looks like I missed it when I made the change...
Thanks to Jeremy Lea <reg@shale.csir.co.za> for catching this.


git-svn-id: svn://10.0.0.236/trunk@33952 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 04:47:42 +00:00
mccabe%netscape.com
7db0124e7d Change the emacs /* Mode: */ comment for many .cpp files from C to C++. A .js file snuck in there too, but I like seeing my .js in c++-mode anyway...
git-svn-id: svn://10.0.0.236/trunk@33951 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 04:25:58 +00:00
mccabe%netscape.com
10951415b5 Patches courtesy Jeremy Lea <reg@shale.csir.co.za>
To wit:

Attached are a couple of small fixes for building in the js/ subdir.

These are for FreeBSD-CURRENT, and for building in a seperate OBJDIR.

The FreeBSD one is a quick and dirty.  The real fix is pobably just to
use OS_LDFLAGS as defined by configure...


git-svn-id: svn://10.0.0.236/trunk@33950 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 04:10:33 +00:00
saari%netscape.com
3f12948197 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33949 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 01:26:05 +00:00
saari%netscape.com
33104aa60c adding files for keybinding. Not yet in the build
git-svn-id: svn://10.0.0.236/trunk@33948 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 01:25:40 +00:00
saari%netscape.com
9658d499fd Mac only change. Fix bug #7296
git-svn-id: svn://10.0.0.236/trunk@33947 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 01:23:56 +00:00
morse%netscape.com
f93fef3797 trying for third time to fix bustage on mac
git-svn-id: svn://10.0.0.236/trunk@33946 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 00:56:14 +00:00
morse%netscape.com
94d9b21e8d try again to fix bustage on mac
git-svn-id: svn://10.0.0.236/trunk@33945 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 00:54:59 +00:00
morse%netscape.com
8c6604fc1a fix bustage on mac
git-svn-id: svn://10.0.0.236/trunk@33944 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 00:35:20 +00:00
sspitzer%netscape.com
26139a0c99 use NS_DEFINE_CID instead of NS_DEFINE_IID.
git-svn-id: svn://10.0.0.236/trunk@33943 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 00:01:02 +00:00
sspitzer%netscape.com
b6d15f7ee8 fix warnings. use NS_WITH_SERVICE. use NS_DEFINE_CID instead of NS_DEFINE_IID. remove unnecessary static kINetSupportDialogIID
git-svn-id: svn://10.0.0.236/trunk@33942 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-06 00:00:39 +00:00
Jerry.Kirk%Nexwarecorp.com
a125e0542a - Changed include of nsWindow.h to nsWidget.h as it should have been
git-svn-id: svn://10.0.0.236/trunk@33941 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 23:57:47 +00:00
sspitzer%netscape.com
d74142409a add dialogs and alerts to the cancel article process.
git-svn-id: svn://10.0.0.236/trunk@33940 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 23:48:50 +00:00
mscott%netscape.com
57fcf65693 Add nsIMsgMailNewsUrl to the QueryInterface method.
git-svn-id: svn://10.0.0.236/trunk@33939 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 23:46:08 +00:00
sspitzer%netscape.com
2af5b8ef57 fix for #7659
git-svn-id: svn://10.0.0.236/trunk@33938 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 23:35:24 +00:00
morse%netscape.com
5d563edf7e put cookies file in the correct directory
git-svn-id: svn://10.0.0.236/trunk@33937 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 23:17:47 +00:00
mscott%netscape.com
9f8b8ae388 Load has become LoadUrl on the pop3 protocol class.
git-svn-id: svn://10.0.0.236/trunk@33936 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 22:52:15 +00:00
mscott%netscape.com
8e5f0aee4e Major revamping of the pop protocol. Themain changes were to use my new nsMsgProtocol base class for most of the core netlib interaction.
git-svn-id: svn://10.0.0.236/trunk@33935 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 22:51:46 +00:00
mscott%netscape.com
1764aff0b1 Add nsIMsgMailNewsUrl to the QI method.
git-svn-id: svn://10.0.0.236/trunk@33934 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 22:30:48 +00:00
sspitzer%netscape.com
4e4e276425 initial work to get news CANCEL working
git-svn-id: svn://10.0.0.236/trunk@33933 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 22:11:38 +00:00
sspitzer%netscape.com
60c0db5143 fix the mac, again.
git-svn-id: svn://10.0.0.236/trunk@33932 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 22:02:31 +00:00
mscott%netscape.com
f45c9da161 Make LoadUrl public and not protected.
git-svn-id: svn://10.0.0.236/trunk@33931 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 21:47:04 +00:00
sspitzer%netscape.com
6bd5d3f16d fix the mac, because it sucks.
git-svn-id: svn://10.0.0.236/trunk@33930 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 21:26:48 +00:00
av%netscape.com
d18ddd0c4c *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@33929 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 20:47:14 +00:00
mscott%netscape.com
fb3d63a2f9 Fix unix warning by removing unused variable.
git-svn-id: svn://10.0.0.236/trunk@33928 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 20:41:10 +00:00
mscott%netscape.com
62be7125a3 LoadURL is now LoadUrl on the mailbox protocol as part of the nsMsgProtocol changes.
git-svn-id: svn://10.0.0.236/trunk@33927 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 20:37:42 +00:00
mscott%netscape.com
ffab24e841 Major revamping of the mailbox protocol. The main changes were to use my new nsMsgProtocol base class for most of the core netlib interaction.
git-svn-id: svn://10.0.0.236/trunk@33926 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 20:36:58 +00:00
mscott%netscape.com
c3839f3847 Comment out text following #endif to fix unix warning.
git-svn-id: svn://10.0.0.236/trunk@33925 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 20:33:36 +00:00
mscott%netscape.com
db7ba0453e Link against msgcoreutil for nsMsgProtocol.
git-svn-id: svn://10.0.0.236/trunk@33924 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 20:29:15 +00:00
mscott%netscape.com
cd8157d67b LoadURL is now LoadUrl on the smtp protocol.
git-svn-id: svn://10.0.0.236/trunk@33923 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 20:28:49 +00:00
mscott%netscape.com
9ff5f77871 Major revamping of the smtp protocol. The main changes were to use my new nsMsgProtocol base class for most of the core netlib interaction. While i was here, I also fixed a leak where we weren't closing the file stream for the message we were sending. Fixed a leak that was preventing the smtp protocol instance from getting released & destroyed.
Also rewrote the protocol state methods to use nsAutoString instead of allocating buffers for the protocol commands.


git-svn-id: svn://10.0.0.236/trunk@33922 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 20:28:21 +00:00
mscott%netscape.com
ddcc4ce79d Add default implemenations for OnDataAvailable, OnStartBinding, OnStopBinding. Push even more functionality for loading a url up into the base class.
git-svn-id: svn://10.0.0.236/trunk@33921 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 20:21:27 +00:00
av%netscape.com
4f55fb6671 Hooking up events for winless plugins
git-svn-id: svn://10.0.0.236/trunk@33920 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 20:09:21 +00:00
av%netscape.com
9a6ec276d0 Enabling calling HandleEvent for winless plugins on Windows
git-svn-id: svn://10.0.0.236/trunk@33919 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 20:03:12 +00:00
bruce%cybersight.com
2976fa1a8a Explicitly include nsIMenuListener.h. Will be needed for some post-M7 changes that I have.
git-svn-id: svn://10.0.0.236/trunk@33918 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 12:11:22 +00:00
bruce%cybersight.com
fe17fbea9b Explicitly include nsFileSpec.h. This will be necessary for some changes coming post-M7.
git-svn-id: svn://10.0.0.236/trunk@33917 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 11:49:04 +00:00
bruce%cybersight.com
905a6365ef Tokens may not follow '#endif'. This fixes the HP-UX build.
git-svn-id: svn://10.0.0.236/trunk@33916 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 11:35:36 +00:00
bruce%cybersight.com
a534dc1ca7 Explicitly include prinrval.h here. (This will make be needed for some changes coming shortly after M7.)
git-svn-id: svn://10.0.0.236/trunk@33915 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 11:29:03 +00:00
bruce%cybersight.com
9b11f8564d Scoping problem with loop variable. Fixes OSF/1 build.
git-svn-id: svn://10.0.0.236/trunk@33914 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 11:22:11 +00:00
beard%netscape.com
56211264dc added NativeJavaConstructor.java
git-svn-id: svn://10.0.0.236/trunk@33913 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 08:20:54 +00:00
rjc%netscape.com
6ff5280451 Get true separators back in the bookmarks menu by adding a XUL template rule to check for them.
git-svn-id: svn://10.0.0.236/trunk@33912 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 03:01:54 +00:00
pierre%netscape.com
be10af10cd #3322 "javascript ONCHANGE handler failures". Added ControlChanged() in order to send NS_CONTROL_CHANGE events.
git-svn-id: svn://10.0.0.236/trunk@33911 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 03:00:28 +00:00
ssu%netscape.com
82f9a59a36 fixed bug #6719
git-svn-id: svn://10.0.0.236/trunk@33910 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 02:57:07 +00:00
ssu%netscape.com
74c7b8de31 fixed bug #6612
git-svn-id: svn://10.0.0.236/trunk@33909 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 02:52:29 +00:00
slamm%netscape.com
44915c991b who popup can use href for the layer src.
git-svn-id: svn://10.0.0.236/trunk@33908 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 02:50:59 +00:00
waterson%netscape.com
14c7ff9828 Remove NS_ASSERTION calls from nsService class.
git-svn-id: svn://10.0.0.236/trunk@33907 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 02:44:40 +00:00
briano%netscape.com
5ba7111437 Automated update
git-svn-id: svn://10.0.0.236/trunk@33906 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 02:35:01 +00:00
briano%netscape.com
536be0e408 Refined the ostream test.
git-svn-id: svn://10.0.0.236/trunk@33905 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 02:34:33 +00:00
slamm%netscape.com
27dacf0681 Try again.
git-svn-id: svn://10.0.0.236/trunk@33904 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 02:25:27 +00:00
slamm%netscape.com
57ed4b640d Tidy up query link.
git-svn-id: svn://10.0.0.236/trunk@33903 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 02:21:48 +00:00
mscott%netscape.com
3cc0fa603c If we fail to register or unregister a component, we should remember the error code and return it,
BUT we should also still try to register/unregister the rest of the components.


git-svn-id: svn://10.0.0.236/trunk@33902 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 02:21:20 +00:00
slamm%netscape.com
a008e57d09 Make who menu handle tinderbox links more succinctly.
git-svn-id: svn://10.0.0.236/trunk@33901 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 02:18:36 +00:00
waterson%netscape.com
60e65fa836 Fix makedep rule to include *all* directories that it needs to. This should improve the reliability of depend builds.
git-svn-id: svn://10.0.0.236/trunk@33900 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 02:02:10 +00:00
briano%netscape.com
f2c25e8fbc Oops, forgot to add the braces....
git-svn-id: svn://10.0.0.236/trunk@33899 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:57:35 +00:00
briano%netscape.com
b6039eca5f Turned it off The Complete Way. Now it won't try to generate an empty library.
git-svn-id: svn://10.0.0.236/trunk@33898 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:55:13 +00:00
frankm%eng.sun.com
d82f107a0a Replace *.class with ScriptRuntime.*Class; added ScriptRuntime.ClassClass
git-svn-id: svn://10.0.0.236/trunk@33897 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:48:24 +00:00
briano%netscape.com
f68bc74338 Fix for SunOS 4.x.
git-svn-id: svn://10.0.0.236/trunk@33896 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:46:10 +00:00
despotdaemon%netscape.com
a3cf1703df Pseudo-automatic update of changes made by drapeau@eng.sun.com.
git-svn-id: svn://10.0.0.236/trunk@33895 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:37:02 +00:00
slamm%netscape.com
085a38f62a Fix who links for static page.
git-svn-id: svn://10.0.0.236/trunk@33894 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:23:58 +00:00
davidm%netscape.com
774f31ad1f Add dialog resource files and icons
git-svn-id: svn://10.0.0.236/trunk@33893 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:20:16 +00:00
warren%netscape.com
02a75e5745 Added nsIBuffer::Search and cleaned up nsIBufferInputStream interface to just return the buffer.
git-svn-id: svn://10.0.0.236/trunk@33892 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:15:00 +00:00
miodrag%netscape.com
4e7dffa928 Updates for JNDI LDAP service provider
git-svn-id: svn://10.0.0.236/trunk@33889 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:14:50 +00:00
davidm%netscape.com
dca34d2826 Added icons and xul files for dialogs
git-svn-id: svn://10.0.0.236/trunk@33888 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:10:45 +00:00
davidm%netscape.com
9286a45824 Add ConfirmCheck
git-svn-id: svn://10.0.0.236/trunk@33887 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:10:18 +00:00
davidm%netscape.com
296a84a356 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33886 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:09:24 +00:00
briano%netscape.com
8c153fd636 Fix for platforms that don't support long longs.
git-svn-id: svn://10.0.0.236/trunk@33885 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:07:50 +00:00
miodrag%netscape.com
cfb091ced5 JNDI LDAP Service Provider
git-svn-id: svn://10.0.0.236/trunk@33884 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:05:59 +00:00
mscott%netscape.com
913cb6ae97 If we fail to register or unregister a component, we should remember the error code and return it, BUT we should also still try to register/unregister the rest of the components.
git-svn-id: svn://10.0.0.236/trunk@33883 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 01:02:42 +00:00
miodrag%netscape.com
56a212652f Java LDAP SDK 4.0 update
git-svn-id: svn://10.0.0.236/trunk@33882 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:53:02 +00:00
despotdaemon%netscape.com
7089a3c79f Pseudo-automatic update of changes made by akhil.arora@sun.com.
git-svn-id: svn://10.0.0.236/trunk@33881 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:47:17 +00:00
mscott%netscape.com
a6a167fe1d Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up.
git-svn-id: svn://10.0.0.236/trunk@33880 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:46:54 +00:00
mscott%netscape.com
fd140f0f1b Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up.
Rename factory from nsMsgFactory to something more appropriate --> nsXmlEmitterFactory.


git-svn-id: svn://10.0.0.236/trunk@33879 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:39:08 +00:00
mscott%netscape.com
142efa8dd0 Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up.
Rename factory from nsMsgFactory to something more appropriate --> nsRawEmitterFactory.


git-svn-id: svn://10.0.0.236/trunk@33878 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:36:09 +00:00
briano%netscape.com
dd12429cca Fix for platforms that don't have memory.h.
git-svn-id: svn://10.0.0.236/trunk@33877 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:34:35 +00:00
mscott%netscape.com
9fe137ccba Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up.
Rename factory from nsMsgFactory to something more appropriate --> nsHTMLEmitterFactory.


git-svn-id: svn://10.0.0.236/trunk@33876 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:33:00 +00:00
mscott%netscape.com
8d6793a838 Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up.
Change the factory name from nsMsgFactory to nsVCardFactory.


git-svn-id: svn://10.0.0.236/trunk@33875 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:28:45 +00:00
mscott%netscape.com
f0f96aacf8 Change the name of the factory class from nsMsgFactory to a more appropriate name: nsCalendarFactory.
git-svn-id: svn://10.0.0.236/trunk@33874 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:25:54 +00:00
mscott%netscape.com
3672e99d0b Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up.
git-svn-id: svn://10.0.0.236/trunk@33873 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:22:18 +00:00
nisheeth%netscape.com
6f28191422 Patch from alecf to do a null pointer check on argument to GetSelectedIndex().
git-svn-id: svn://10.0.0.236/trunk@33872 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:18:58 +00:00
nisheeth%netscape.com
b8c7706fa9 Patch from alecf to do a null pointer check in FindFrameWithContent().
git-svn-id: svn://10.0.0.236/trunk@33871 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:18:03 +00:00
mscott%netscape.com
b80820c297 Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up.
git-svn-id: svn://10.0.0.236/trunk@33870 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:15:12 +00:00
mscott%netscape.com
be8123fcba Remove unnecessary ifdef code...
git-svn-id: svn://10.0.0.236/trunk@33869 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:10:16 +00:00
despotdaemon%netscape.com
2abff017ef Pseudo-automatic update of changes made by frankm@eng.sun.com.
git-svn-id: svn://10.0.0.236/trunk@33868 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:07:30 +00:00
mscott%netscape.com
7c9b64c879 Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up.
git-svn-id: svn://10.0.0.236/trunk@33867 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:06:05 +00:00
jdunn%netscape.com
5c0a2d910c Changing C++ style comment to C style
git-svn-id: svn://10.0.0.236/trunk@33866 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-05 00:02:52 +00:00
warren%netscape.com
44e35fc660 Added
git-svn-id: svn://10.0.0.236/trunk@33865 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:58:05 +00:00
sspitzer%netscape.com
c06b81c34c fix build breakage on UNIX. tindebox builds with --enable-pedantic, which
catches stuff like this.


git-svn-id: svn://10.0.0.236/trunk@33864 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:57:35 +00:00
mscott%netscape.com
e4a43a62ca Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up. We still return the last failure error code though.
git-svn-id: svn://10.0.0.236/trunk@33863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:56:20 +00:00
akkana%netscape.com
3e01b3f572 attempt to fix win build bustage
git-svn-id: svn://10.0.0.236/trunk@33862 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:45:25 +00:00
waqar%netscape.com
08e791c0ab C++ comments in a C file. Changing them to C comments.
git-svn-id: svn://10.0.0.236/trunk@33861 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:44:30 +00:00
mscott%netscape.com
0c2d25bba5 Bug #5633 -- use NS_WITH_SERVICE macro.
git-svn-id: svn://10.0.0.236/trunk@33860 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:42:18 +00:00
jdunn%netscape.com
c4bf59ddf0 need to handle building in a separate directory from where the source is...
git-svn-id: svn://10.0.0.236/trunk@33859 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:40:02 +00:00
sspitzer%netscape.com
88ef6b4176 remove comi18n.cpp from this project for rhp@netscape.com
git-svn-id: svn://10.0.0.236/trunk@33858 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:39:14 +00:00
mscott%netscape.com
58a1d9b765 Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up.
git-svn-id: svn://10.0.0.236/trunk@33857 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:37:52 +00:00
sspitzer%netscape.com
2f1c8ee8a8 Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up.
git-svn-id: svn://10.0.0.236/trunk@33856 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:37:16 +00:00
mcmullen%netscape.com
ddb951ac5c Working, working.
git-svn-id: svn://10.0.0.236/trunk@33855 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:32:03 +00:00
rhp%netscape.com
37d334a950 Further i18n cleanup
git-svn-id: svn://10.0.0.236/trunk@33854 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:31:45 +00:00
rhp%netscape.com
cd52fe528c Cleanup of comi18n.cpp.
git-svn-id: svn://10.0.0.236/trunk@33853 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:31:01 +00:00
mcmullen%netscape.com
27d2caceab First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33852 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:28:56 +00:00
sspitzer%netscape.com
2f501d19f2 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@33851 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:24:27 +00:00
mscott%netscape.com
dd143d7535 Export nsMsgProtocol.h
git-svn-id: svn://10.0.0.236/trunk@33850 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:17:38 +00:00
mscott%netscape.com
ad282e98be Build nsMsgProtocol.
git-svn-id: svn://10.0.0.236/trunk@33849 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:10:24 +00:00
kmcclusk%netscape.com
e70243131f Added method and member variable to Cache the width of a space in nsFontMetricsWin.cpp.
Added code to nsRenderingContextWin::GetWidth to use the cached width to optimize the
common case of measuring the width of a single character.


git-svn-id: svn://10.0.0.236/trunk@33848 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:09:27 +00:00
pierre%netscape.com
79a9957748 (Mac only) PR_LOG() calls printf() with a "¥¥¥" header instead of falling into MacsBug.
git-svn-id: svn://10.0.0.236/trunk@33847 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:04:28 +00:00
morse%netscape.com
664342e8b9 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@33846 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:02:41 +00:00
mscott%netscape.com
93d66a384e Aadd ability to spool a message to disk to the list of services a message service provides.
git-svn-id: svn://10.0.0.236/trunk@33845 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:00:52 +00:00
mjudge%netscape.com
2b31837503 fixes for selection and memory leaks
git-svn-id: svn://10.0.0.236/trunk@33844 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:00:24 +00:00
mscott%netscape.com
399325c6d4 Build nsMsgProtocol.h nsMsgProtocol.cpp.
Clean up the makefile by removing extraneous CPP_SRCS declaration...


git-svn-id: svn://10.0.0.236/trunk@33843 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:59:05 +00:00
akkana%netscape.com
bb6848ffbf cast away constness for a temporary fix to windows build bustage
git-svn-id: svn://10.0.0.236/trunk@33842 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:58:47 +00:00
slamm%netscape.com
e6320a0ce0 Rebuild static pages when note is added.
git-svn-id: svn://10.0.0.236/trunk@33841 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:56:36 +00:00
tague%netscape.com
12d1e297cf Update nsWindow.h to change DEBUG_TAGUE to DEBUG_tague for consistency
git-svn-id: svn://10.0.0.236/trunk@33840 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:55:57 +00:00
amusil%netscape.com
f33ab1ce3c Fixed order of calls.
git-svn-id: svn://10.0.0.236/trunk@33839 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:53:31 +00:00
tague%netscape.com
f9b0e90b64 changed DEBUG_TAGUE to DEBUG_tague for consitency with windows
git-svn-id: svn://10.0.0.236/trunk@33838 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:52:58 +00:00
amusil%netscape.com
ddf982c56b Should only call SetWindow() if the plugin has not been stopped.
git-svn-id: svn://10.0.0.236/trunk@33837 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:52:49 +00:00
hyatt%netscape.com
562f22861f Fix to make sure Mac RDF menus still show up.
git-svn-id: svn://10.0.0.236/trunk@33836 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:52:35 +00:00
sfraser%netscape.com
3b585d3189 Be extra safe with the nsISupports IID
git-svn-id: svn://10.0.0.236/trunk@33835 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:51:32 +00:00
rjc%netscape.com
045467e799 Adding Steve Morse's nsCookie.cpp file into the Mac network project.
git-svn-id: svn://10.0.0.236/trunk@33834 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:51:09 +00:00
hyatt%netscape.com
0aed962d2b Making the RDF menus closed by default.
git-svn-id: svn://10.0.0.236/trunk@33833 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:48:01 +00:00
mscott%netscape.com
2f7e9b8244 replace nsAutoCString with more efficient nsAutoString.GetBuffer calls.
git-svn-id: svn://10.0.0.236/trunk@33832 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:47:53 +00:00
valeski%netscape.com
261c1b725f api change to GetProxyObject. no longer pass in straight PLEventQueue
git-svn-id: svn://10.0.0.236/trunk@33831 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:47:12 +00:00
valeski%netscape.com
e41bbebd46 api change to nsIProxy* interfaces. You can no longer pass in straight PLEventQueues, you now need to pass in nsIEventQueue interfaces (see mozilla/xpcom/threads)
git-svn-id: svn://10.0.0.236/trunk@33830 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:46:20 +00:00
rjc%netscape.com
77d5a58afd Add in Steve Morse's CookieCore into AppCores.
git-svn-id: svn://10.0.0.236/trunk@33829 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:46:19 +00:00
pinkerton%netscape.com
93eec98d20 removed nsMenuButton and nsImageButton from builds.
git-svn-id: svn://10.0.0.236/trunk@33828 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:45:27 +00:00
mscott%netscape.com
091077aa33 Include nsIFileSpec.h
git-svn-id: svn://10.0.0.236/trunk@33827 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:44:11 +00:00
pinkerton%netscape.com
77057fe598 don't export imagebutton or menu button stuff. obsolete.
git-svn-id: svn://10.0.0.236/trunk@33826 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:43:19 +00:00
mscott%netscape.com
7f15155c83 support SaveMessageToDisk (stub right now)
replace nsAutoCString with more efficient nsAutoString


git-svn-id: svn://10.0.0.236/trunk@33825 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:42:31 +00:00
mscott%netscape.com
c01d870021 replace nsAutoCString with more efficient nsAutoString
git-svn-id: svn://10.0.0.236/trunk@33824 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:41:56 +00:00
pinkerton%netscape.com
cc15e45ad2 removing obsolete widgets (nsImageButton and nsMenuButton).
git-svn-id: svn://10.0.0.236/trunk@33823 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:41:39 +00:00
ssu%netscape.com
aa4d8a25af fixed bug #6859: default root key now set
git-svn-id: svn://10.0.0.236/trunk@33822 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:40:56 +00:00
pinkerton%netscape.com
c43d68577a removing imageButton and menuButton stuff. obsolete.
git-svn-id: svn://10.0.0.236/trunk@33821 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:36:54 +00:00
sfraser%netscape.com
dd6777bad0 Keep the lamer compilers happy.
git-svn-id: svn://10.0.0.236/trunk@33820 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:33:53 +00:00
amusil%netscape.com
06518c4646 Fixed bug with Java-targeted object tags.
git-svn-id: svn://10.0.0.236/trunk@33819 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:33:13 +00:00
sspitzer%netscape.com
13df9e5f19 even though it isn't building yet, follow briano's lead and use
MOZ_DLL_SUFFIX


git-svn-id: svn://10.0.0.236/trunk@33818 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:32:46 +00:00
amusil%netscape.com
b9c9fafc5e Bug fixes with plugin instance caching. We now keep track of a plugin instance's start/stop state.
git-svn-id: svn://10.0.0.236/trunk@33817 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:32:27 +00:00
sspitzer%netscape.com
7cd03fe59d even though it doesn't build right now, follow briano's lead and use
MOZ_DLL_SUFFIX


git-svn-id: svn://10.0.0.236/trunk@33816 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:31:32 +00:00
hyatt%netscape.com
68c2ea79c0 Menus now set and unset the open attribute (ensuring that RDF-generated content
doesn't stick around).


git-svn-id: svn://10.0.0.236/trunk@33815 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:31:07 +00:00
sspitzer%netscape.com
3cd7a38194 follow briano's lead and use MOZ_DLL_SUFFIX
git-svn-id: svn://10.0.0.236/trunk@33814 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:30:45 +00:00
morse%netscape.com
593cf1bf61 reimplement cookie viewer
git-svn-id: svn://10.0.0.236/trunk@33813 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:30:11 +00:00
sspitzer%netscape.com
db32086b0e follow briano's lead and use MOZ_DLL_SUFFIX.
also make some changes to get this building again.  It's still not complete,
but its closer.


git-svn-id: svn://10.0.0.236/trunk@33812 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:28:10 +00:00
mccabe%netscape.com
14ae3aa186 Backing out demo cvs checkin.
git-svn-id: svn://10.0.0.236/trunk@33811 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:27:50 +00:00
hyatt%netscape.com
5d275c248d Menus now set and unset the open attribute.
git-svn-id: svn://10.0.0.236/trunk@33810 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:24:53 +00:00
hyatt%netscape.com
caebf3a5f8 Removing the "open='true'" rule from the template for the bookmarks menu.
git-svn-id: svn://10.0.0.236/trunk@33809 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:24:37 +00:00
ramiro%netscape.com
b488eb78b9 Dont hardcode the location of libdl.so. This is already done for you by
$(OS_LIBS).


git-svn-id: svn://10.0.0.236/trunk@33808 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:23:55 +00:00
akkana%netscape.com
0e075a7b80 XIF Document Encoder; and partial fix for XIF-to-html conversion of comments
git-svn-id: svn://10.0.0.236/trunk@33807 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:22:53 +00:00
pinkerton%netscape.com
33502fbad6 removing nsImageButton and nsMenuButton. obsolete.
git-svn-id: svn://10.0.0.236/trunk@33806 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:22:22 +00:00
pinkerton%netscape.com
22c73ef474 nsMenuButton and nsImageButton obsolete.
git-svn-id: svn://10.0.0.236/trunk@33805 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:21:59 +00:00
mscott%netscape.com
c7cb6b6d2d support SaveMessageToDisk (stub right now)
replace nsAutoCString with more efficient nsAutoString


git-svn-id: svn://10.0.0.236/trunk@33804 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:19:59 +00:00
waterson%netscape.com
dc508a534f Obsolete.
git-svn-id: svn://10.0.0.236/trunk@33803 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:19:32 +00:00
mscott%netscape.com
cbb4a26833 replace nsAutoCString with more efficient nsAutoString.
git-svn-id: svn://10.0.0.236/trunk@33802 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:18:55 +00:00
sspitzer%netscape.com
ddee83a9fa follow briano's lead and use MOZ_DLL_SUFFIX
git-svn-id: svn://10.0.0.236/trunk@33801 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:18:07 +00:00
briano%netscape.com
a5a074461d Handle the (Unix) platform-specific DLL naming conventions properly.
git-svn-id: svn://10.0.0.236/trunk@33800 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:17:30 +00:00
sspitzer%netscape.com
9b06ae0c8f follow briano's lead and use MOZ_DLL_SUFFIX. also fix warnings while I'm here.
git-svn-id: svn://10.0.0.236/trunk@33799 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:17:19 +00:00
ssu%netscape.com
cfe81e44f7 fixing bug #7053: DiskSpaceAvailable() returned wrong value.
git-svn-id: svn://10.0.0.236/trunk@33798 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:15:53 +00:00
despotdaemon%netscape.com
be6d08ae18 Pseudo-automatic update of changes made by miodrag@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@33797 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:14:48 +00:00
jdunn%netscape.com
bb6c60694d AIX requires nsSubsumeStr to be a const... so for AIX (only) lets make it so
git-svn-id: svn://10.0.0.236/trunk@33796 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:08:19 +00:00
mscott%netscape.com
cd36cbdf58 use nsAutoString and nsAutoString.GetBuffer in place of calling nsAutoCString. This is much more memory friendly and doesn't require an extra copy of the object getting created on the healp like nsAutoCString does.
git-svn-id: svn://10.0.0.236/trunk@33795 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:07:26 +00:00
hyatt%netscape.com
d7c82da11f Fixes for several bugs.
git-svn-id: svn://10.0.0.236/trunk@33794 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:05:47 +00:00
sfraser%netscape.com
fbf3a2645f Added nsDocumentEncoder.cpp for akkana
git-svn-id: svn://10.0.0.236/trunk@33793 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:04:44 +00:00
cmanske%netscape.com
34ad27f047 Changed dot selector to class~= syntax (XML selector style). Moved titled button image entry from navigator.css to xul.css so it works in dialogs
git-svn-id: svn://10.0.0.236/trunk@33792 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:03:09 +00:00
rhp%netscape.com
012202f1f7 Added a header
git-svn-id: svn://10.0.0.236/trunk@33791 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:57:36 +00:00
briano%netscape.com
8c6de822d9 Handle the (Unix) platform-specific DLL naming conventions properly.
git-svn-id: svn://10.0.0.236/trunk@33790 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:54:38 +00:00
cathleen%netscape.com
9521da857d nativepatch() returns new patched file to the caller function
make final file replacement work for patch files


git-svn-id: svn://10.0.0.236/trunk@33789 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:54:34 +00:00
slamm%netscape.com
d0557591c3 Fix relative links for static page.
git-svn-id: svn://10.0.0.236/trunk@33788 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:54:15 +00:00
morse%netscape.com
e9875f87c5 reimplement cookie viewer
git-svn-id: svn://10.0.0.236/trunk@33787 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:51:57 +00:00
ssu%netscape.com
0dd33f2e12 fixed problem with Install.FileRename() and Install.DirRename()
git-svn-id: svn://10.0.0.236/trunk@33786 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:50:17 +00:00
jdunn%netscape.com
85dfb1be6c This file can't be optimized on AIX and so just like the NSPR file (prdtoa.c)
we turn off optimizing while compiling.


git-svn-id: svn://10.0.0.236/trunk@33785 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:50:09 +00:00
sfraser%netscape.com
75a4b9b2b6 Adapt to the changed nsIFindComponent interface (new param to InitContext)
git-svn-id: svn://10.0.0.236/trunk@33784 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:50:02 +00:00
sfraser%netscape.com
4d691df9e3 Some renaming of nodes to reduce ambiguity, and leave the field open for Find and Replace later.
git-svn-id: svn://10.0.0.236/trunk@33783 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:49:21 +00:00
mscott%netscape.com
c88c32646a Remove nsAutoCString with nsAutoString.GetBuffer().
git-svn-id: svn://10.0.0.236/trunk@33781 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:49:18 +00:00
sfraser%netscape.com
4c3082ab0c New, improved Find that keys off the selection, rather than storing offsets inside the find context.
git-svn-id: svn://10.0.0.236/trunk@33780 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:48:47 +00:00
briano%netscape.com
fd434f45f9 Got it right this time. Handle the (Unix) platform-specific DLL naming conventions properly.
git-svn-id: svn://10.0.0.236/trunk@33779 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:48:45 +00:00
dougt%netscape.com
c4a437a7ed Adding out MANIFEST_PREFS to the mac build.
git-svn-id: svn://10.0.0.236/trunk@33778 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:47:39 +00:00
dougt%netscape.com
796636692c turning off silentdl.
git-svn-id: svn://10.0.0.236/trunk@33777 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:45:54 +00:00
briano%netscape.com
1b73ce72f6 Cleaned up a bunch of old (unused?) crap.
git-svn-id: svn://10.0.0.236/trunk@33776 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:45:17 +00:00
dougt%netscape.com
cd3f1c78cd Changing the name of the prefs to xpinstall.foo
removing unused pref defines
Removing a force true when asked if we were enabled.


git-svn-id: svn://10.0.0.236/trunk@33775 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:45:04 +00:00
mscott%netscape.com
8dedf9d091 replace nsAutoCString with more efficient calls using nsAutoString.GetBuffer. This requires us to force several nsAutoStrings to be created as one byte strings (which is okay).
git-svn-id: svn://10.0.0.236/trunk@33774 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:44:57 +00:00
briano%netscape.com
394355d3c1 Automated update
git-svn-id: svn://10.0.0.236/trunk@33773 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:44:49 +00:00
mscott%netscape.com
e44dc343f0 Include nsIFileSpec.h
git-svn-id: svn://10.0.0.236/trunk@33772 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:43:16 +00:00
dougt%netscape.com
7723c4a70e Adding xpinstall.js to the build. This will setup our prefs for us.
git-svn-id: svn://10.0.0.236/trunk@33771 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:43:14 +00:00
briano%netscape.com
0537dbc26b Added checks for uint, int64, and int64_t.
git-svn-id: svn://10.0.0.236/trunk@33770 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:42:18 +00:00
mscott%netscape.com
62133fdcc9 First checked in. New files used to encapsulate much of the cross mail-news protocol code. this is mostly mail protocol to core netlib integration code. Over the next couple days, I'll be updating the mailnews protocols to inherit from nsMsgProtocol and pushing commonality up to the nsMsgProtocol level.
git-svn-id: svn://10.0.0.236/trunk@33769 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:41:47 +00:00
mscott%netscape.com
af8e101f1b support SaveMessageToDisk (stub right now).
Remove nsAutoCString with more efficient call to nsString.GetBuffer.


git-svn-id: svn://10.0.0.236/trunk@33768 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:40:25 +00:00
mccabe%netscape.com
eba02f27b8 Partial fix to 7202. free (XPT_DELETE()) a pointer that was previously just set to NULL and leaked.
Thanks to David Gardiner <david.gardiner@unisa.edu.au> for the patch, and to bruce to pointing me to it.


git-svn-id: svn://10.0.0.236/trunk@33767 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 21:33:38 +00:00
despotdaemon%netscape.com
9af74f6c75 Pseudo-automatic update of changes made by terry@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@33766 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 18:55:20 +00:00
despotdaemon%netscape.com
05e5756172 Pseudo-automatic update of changes made by terry@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@33765 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 18:54:17 +00:00
terry%mozilla.org
de3348c6bb Added sendnotification.pl.
git-svn-id: svn://10.0.0.236/trunk@33764 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 18:53:34 +00:00
despotdaemon%netscape.com
f5341151bb Pseudo-automatic update of changes made by terry@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@33763 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 18:52:57 +00:00
despotdaemon%netscape.com
c76323298e Pseudo-automatic update of changes made by terry@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@33762 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 18:52:06 +00:00
despotdaemon%netscape.com
b3eaf07d5d Pseudo-automatic update of changes made by terry@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@33761 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 18:50:48 +00:00
despotdaemon%netscape.com
92bed36fbd Pseudo-automatic update of changes made by terry@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@33760 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 18:50:02 +00:00
terry%mozilla.org
6cad802029 Turn on notification feature.
git-svn-id: svn://10.0.0.236/trunk@33759 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 18:47:53 +00:00
norris%netscape.com
90348e63ec Add benchmarks.
git-svn-id: svn://10.0.0.236/trunk@33758 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 18:44:17 +00:00
beard%netscape.com
7e586f42e5 added top-level "environment" associative array - which provides JavaScript access to Java System properties.
git-svn-id: svn://10.0.0.236/trunk@33757 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 18:06:25 +00:00
beard%netscape.com
a640fc495b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33756 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 18:03:06 +00:00
sspitzer%netscape.com
13134b936d FindMsgAppCore() is gone, since alecf removed the MsgAppCore.
The correct call is FindMessenger().


git-svn-id: svn://10.0.0.236/trunk@33755 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 17:45:57 +00:00
mcmullen%netscape.com
63a1fe6509 Fix one last case of uint (and I had removed the typedef, breaking photon). Approved leaf.
git-svn-id: svn://10.0.0.236/trunk@33754 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 17:43:37 +00:00
beard%netscape.com
dbf0fe69c6 File Removed.
git-svn-id: svn://10.0.0.236/trunk@33753 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 17:43:35 +00:00
beard%netscape.com
8a0fe4a93e added Environment.java
git-svn-id: svn://10.0.0.236/trunk@33752 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 17:43:17 +00:00
terry%mozilla.org
f88f417a26 dmose now owns despot.
git-svn-id: svn://10.0.0.236/trunk@33751 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 17:10:28 +00:00
slamm%netscape.com
c273315286 Fix typo.
git-svn-id: svn://10.0.0.236/trunk@33750 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 17:06:20 +00:00
amasri%netscape.com
469d382646 commented out tests that cause system failure (ZDNet)
git-svn-id: svn://10.0.0.236/trunk@33749 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 17:00:53 +00:00
amasri%netscape.com
f7d4d11f4e added error handling
git-svn-id: svn://10.0.0.236/trunk@33748 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 17:00:18 +00:00
amasri%netscape.com
91258d0bfc changed Invoke() method to give better error messages
git-svn-id: svn://10.0.0.236/trunk@33747 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 16:59:30 +00:00
amasri%netscape.com
addb0b2f44 added extra tests for version 2.0
git-svn-id: svn://10.0.0.236/trunk@33746 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 16:58:29 +00:00
jefft%netscape.com
6bb45e8916 temporary fix for build bustage by ducarroz
git-svn-id: svn://10.0.0.236/trunk@33745 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 16:53:05 +00:00
norris%netscape.com
960871aa12 Subject:
Re: netscape.javascript.JSObject ?
        Date:
             Thu, 03 Jun 1999 17:52:42 -0700
       From:
             Frank Mitchell <frankm@eng.Sun.COM>
 Organization:
             Java Products Engineering
         To:
             Norris Boyd <norris@netscape.com>
  References:
             1 , 2 , 3 , 4 , 5 , 6 , 7 , 8




Norris Boyd wrote:
>
> Sorry--missed the checkin of a new file. It's there now.
>
> I'd also added a small change for the "inheritance" of JavaScript array methods.

Actually, I've already done that (and for String as well).  It still
fails some LC3 regression tests, though.

I'm including a tarfile that includes the previous changes and the new
ones.

Frank


git-svn-id: svn://10.0.0.236/trunk@33744 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 16:25:41 +00:00
norris%netscape.com
1090d221af Add NativeJavaConstructor.java
git-svn-id: svn://10.0.0.236/trunk@33743 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 16:06:14 +00:00
ducarroz%netscape.com
6148db1fc6 oops, forget to reactivate one line for the function Dispose
git-svn-id: svn://10.0.0.236/trunk@33742 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 15:50:54 +00:00
ducarroz%netscape.com
4cfbb9765a Add function Dispose. Fix for build bustage
git-svn-id: svn://10.0.0.236/trunk@33741 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 15:47:05 +00:00
ducarroz%netscape.com
77bcb54189 Add function Dispose, fix build bustage
git-svn-id: svn://10.0.0.236/trunk@33740 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 15:38:53 +00:00
ducarroz%netscape.com
4a0f0a764b Add function Dispose, fix also js problem with NewMessage, fix for build bustage
git-svn-id: svn://10.0.0.236/trunk@33739 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 15:38:43 +00:00
Jerry.Kirk%Nexwarecorp.com
a1f6940f03 - Fixing code after addition of ShowMenuBar() method
-  This is still not implemented, it will just compile now.


git-svn-id: svn://10.0.0.236/trunk@33738 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 15:09:50 +00:00
valeski%netscape.com
0f4e775451 added the HandleEvent method
git-svn-id: svn://10.0.0.236/trunk@33737 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 15:02:27 +00:00
rhp%netscape.com
b6f07cfd0a Fix to use PR_free instead of delete
git-svn-id: svn://10.0.0.236/trunk@33736 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 12:24:17 +00:00
gagan%netscape.com
ede4d98055 Fixed the stream length to be zero. Thanks Andreas.
git-svn-id: svn://10.0.0.236/trunk@33735 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 11:10:31 +00:00
rpotts%netscape.com
0a0088d3c7 Added PLEvent pump for unix...
git-svn-id: svn://10.0.0.236/trunk@33734 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 09:03:45 +00:00
rpotts%netscape.com
a60f667fd2 Added NSPR logging messages...
git-svn-id: svn://10.0.0.236/trunk@33733 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 08:52:02 +00:00
ducarroz%netscape.com
9b620ff2e6 add some missing includes for C++ only.
git-svn-id: svn://10.0.0.236/trunk@33732 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 08:49:46 +00:00
ducarroz%netscape.com
1cbea49773 add nsIMessenger.idl, fix build bustage!
git-svn-id: svn://10.0.0.236/trunk@33731 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 07:45:52 +00:00
gagan%netscape.com
047f87a3eb Getting it building again... changed the Write call to match its signature in nsIByteBufferInputStream. It will probably change again to FillFrom once we move that to idl.
git-svn-id: svn://10.0.0.236/trunk@33730 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 07:36:04 +00:00
gagan%netscape.com
bd823a6e11 Getting base building again. Fixed the changes from nsIOutputStream's Write function.
git-svn-id: svn://10.0.0.236/trunk@33729 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 07:25:16 +00:00
ducarroz%netscape.com
add3524194 add nsIXPCSecurityManager to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@33728 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 06:39:33 +00:00
shaver%netscape.com
7c304e9aa0 fix for #3839
git-svn-id: svn://10.0.0.236/trunk@33727 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 06:21:49 +00:00
ducarroz%netscape.com
a84c344b5c composeAppCore.NewMessage know takes only 5 parameters.
git-svn-id: svn://10.0.0.236/trunk@33726 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 05:47:05 +00:00
jband%netscape.com
cc9525fa15 added nsIXPCSecurityManager interface and support to xpconnect - with tests.
git-svn-id: svn://10.0.0.236/trunk@33725 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 05:46:48 +00:00
tague%netscape.com
a367379062 Fix for #6896: Windows editor interprests the '.' key as a forward delete. Not building by default -- will switch over once tested on Mac and Unix.
git-svn-id: svn://10.0.0.236/trunk@33724 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 05:14:01 +00:00
sspitzer%netscape.com
3e111b037e fix mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@33723 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:42:24 +00:00
sspitzer%netscape.com
a88bb70a49 fix spelling mistake.
git-svn-id: svn://10.0.0.236/trunk@33722 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:32:07 +00:00
alecf%netscape.com
c29a83c1e5 fix leaks
git-svn-id: svn://10.0.0.236/trunk@33721 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:19:46 +00:00
alecf%netscape.com
1e721e7733 export xulstubs.idl on windows
git-svn-id: svn://10.0.0.236/trunk@33720 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:18:29 +00:00
alecf%netscape.com
65e5883cdb fix a bunch of warnings about shadowed variables, etc
git-svn-id: svn://10.0.0.236/trunk@33719 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:17:56 +00:00
alecf%netscape.com
66068509ff fix leak
git-svn-id: svn://10.0.0.236/trunk@33717 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:17:26 +00:00
sspitzer%netscape.com
722a5752e2 nsIDOMMsgAppCore.idl is gone.
git-svn-id: svn://10.0.0.236/trunk@33716 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:12:09 +00:00
alecf%netscape.com
5824810b7d oops, forgot to stop exporting these files
git-svn-id: svn://10.0.0.236/trunk@33715 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:03:12 +00:00
alecf%netscape.com
1028107c1e added files: mozilla/mailnews/base/src/nsMessengerBootstrap.cpp, removed files: mozilla/mailnews/base/src/nsMessengerNameSet.cpp, mozilla/mailnews/base/src/nsMsgAppCore.cpp, mozilla/mailnews/base/src/nsJSMsgAppCore.cpp
git-svn-id: svn://10.0.0.236/trunk@33714 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:01:56 +00:00
danm%netscape.com
447a35fe7d show/hide menubar in chrome settings
git-svn-id: svn://10.0.0.236/trunk@33713 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:01:20 +00:00
alecf%netscape.com
a9b04231b5 Killing the messenger appcore once and for all.
Don't be frightened by the size of this checkin, most of the appcore conversion to XPConnect was fairly simple. Some of this is just fixing code that depended on the old appcore


git-svn-id: svn://10.0.0.236/trunk@33712 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:00:58 +00:00
danm%netscape.com
21ed2a65fd adding ShowMenuBar
git-svn-id: svn://10.0.0.236/trunk@33711 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 04:00:30 +00:00
danm%netscape.com
56bdcb43e9 removing nsIDOMSelection.h and nsIDOMSelectionListener.h: these have been moved to ../range
git-svn-id: svn://10.0.0.236/trunk@33710 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 03:50:48 +00:00
sspitzer%netscape.com
d65cf7e026 libnntp.a should be libnntp_s.a to indicate that is is always going to be a static library. (follow convention)
git-svn-id: svn://10.0.0.236/trunk@33709 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 03:48:25 +00:00
sspitzer%netscape.com
2b45603119 whoops, forgot one.
git-svn-id: svn://10.0.0.236/trunk@33708 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 03:45:57 +00:00
sspitzer%netscape.com
fade18bee2 return NS_ERROR_NOT_IMPLEMENTED, and not 0. remove dead code. get mark message read working for news. (the m_newSet code isn't being populated from the newsrc file yet, so don't use it.)
git-svn-id: svn://10.0.0.236/trunk@33707 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 03:38:26 +00:00
sspitzer%netscape.com
0fc5625884 rename the windows library to libnntp_s.lib, since it is static as well
git-svn-id: svn://10.0.0.236/trunk@33706 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 03:37:41 +00:00
sspitzer%netscape.com
2e75794b0d libnntp.a should be libnntp_s.a to indicate that is is always going to
be a static library.  (follow convention)


git-svn-id: svn://10.0.0.236/trunk@33705 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 03:27:00 +00:00
briano%netscape.com
221cc5f371 Automated update
git-svn-id: svn://10.0.0.236/trunk@33704 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 03:25:25 +00:00
briano%netscape.com
353e55b7f6 Okay, so I'm a moron....
git-svn-id: svn://10.0.0.236/trunk@33703 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 03:24:56 +00:00
waterson%netscape.com
2cdbcfb265 Removed unnecessary LINCS.
git-svn-id: svn://10.0.0.236/trunk@33702 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 03:18:38 +00:00
wtc%netscape.com
65aeb0b85f More OpenVMS changes from Colin R. Blake <colin@theblakes.com>.
Modified files: prstrms.cpp, pr/include/md/Makefile, _openvms.h,
and prmapopt.c.


git-svn-id: svn://10.0.0.236/trunk@33700 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 03:01:40 +00:00
rickg%netscape.com
5614b7a1e9 fixed bugs 4396 and 7381
git-svn-id: svn://10.0.0.236/trunk@33699 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 02:34:36 +00:00
waterson%netscape.com
bc603a7cef Add KEEP directive to .exe build rule so that cmd.cfg isn't blown away.
git-svn-id: svn://10.0.0.236/trunk@33698 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 02:31:24 +00:00
waterson%netscape.com
b79a2853b6 Clean up MOZ_PROFILE rules to get working with Quantify.
git-svn-id: svn://10.0.0.236/trunk@33697 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 02:30:51 +00:00
tague%netscape.com
d46753fa28 Temporarily remove TSMActivate/Deactivate document assertions until bug #7571 gets fixed.
git-svn-id: svn://10.0.0.236/trunk@33696 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 02:12:07 +00:00
mscott%netscape.com
6c08acb9bd Remove unnecessary LINCS now that all headers are pushed to the same directory.
git-svn-id: svn://10.0.0.236/trunk@33695 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 02:07:10 +00:00
mscott%netscape.com
7f4ae06c9c Remove unnecessary LINCS now that all headers are pushed to the same directory.
Export header files because they weren't getting exported before.


git-svn-id: svn://10.0.0.236/trunk@33694 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 02:04:43 +00:00
briano%netscape.com
ec88440c2d Converted all the C++ comments to C comments to fix the Unix builds (prefapi.c).
git-svn-id: svn://10.0.0.236/trunk@33693 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 02:00:19 +00:00
putterman%netscape.com
79a9b98ea5 Just comment out this function so I can get it right on the mac eventually.
git-svn-id: svn://10.0.0.236/trunk@33692 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:51:36 +00:00
briano%netscape.com
045e73bfdc Automated update
git-svn-id: svn://10.0.0.236/trunk@33691 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:50:43 +00:00
briano%netscape.com
7a2bbb38ea Changed the way MOZ_DLL_SUFFIX gets defined. Hopefully this will allow it to be used the way PR_DLL_SUFFIX is used inside NSPR.
git-svn-id: svn://10.0.0.236/trunk@33690 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:50:12 +00:00
nisheeth%netscape.com
c16e04df1f Fix for bug 6892. We should not set focus each time a document viewer creates a new window but leave it to the embedding application to decide when to set focus.
git-svn-id: svn://10.0.0.236/trunk@33689 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:48:38 +00:00
briano%netscape.com
7a38066382 Added an explicit LD definition for QNX.
git-svn-id: svn://10.0.0.236/trunk@33688 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:42:00 +00:00
mscott%netscape.com
de69ac5bb1 Remove unnecessary LINCS now that all headers are pushed to the same directory.
git-svn-id: svn://10.0.0.236/trunk@33687 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:21:24 +00:00
putterman%netscape.com
26d7ecfe23 Fix PRInt64 problems to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@33686 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:19:56 +00:00
nisheeth%netscape.com
4cc391ff22 Fix for bug 4924. Attributes created with no namespace prefix are now assigned no namespace. They were erroneously being assigned the default namespace earlier.
git-svn-id: svn://10.0.0.236/trunk@33685 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:16:18 +00:00
ducarroz%netscape.com
733ca6de59 nsIMsgBiffManager.h is already exported by xpidl
git-svn-id: svn://10.0.0.236/trunk@33684 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:14:01 +00:00
ducarroz%netscape.com
7989ded99f add nsIMsgBiffManager.idl, fix build bustage!
git-svn-id: svn://10.0.0.236/trunk@33683 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:09:04 +00:00
putterman%netscape.com
420042a5cf fix build bustage
git-svn-id: svn://10.0.0.236/trunk@33682 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:07:03 +00:00
akkana%netscape.com
5199693c7c Checking in the non-dangerous parts of the XIF document/html encoder
git-svn-id: svn://10.0.0.236/trunk@33681 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:04:08 +00:00
putterman%netscape.com
3c4b404cd9 Add nsIMsgBiffManager.h to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@33680 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 00:53:56 +00:00
cmanske%netscape.com
bb377c86aa Changed [class=push] to .push (correct class selector syntax for CSS)
git-svn-id: svn://10.0.0.236/trunk@33679 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 00:33:38 +00:00
nisheeth%netscape.com
1e9a7adaef The "Using expat for parsing XML message" is getting annoying. Only print it out for my debug build...
git-svn-id: svn://10.0.0.236/trunk@33678 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 00:30:23 +00:00
warren%netscape.com
1be69d18f3 Fixed CPP_OBJS to build nsHTMLFragmentContentSink.obj not nsHTMLFragmentContentSink.cpp.
git-svn-id: svn://10.0.0.236/trunk@33677 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 00:12:43 +00:00
hangas%netscape.com
c533144fe7 Removed dump() line
git-svn-id: svn://10.0.0.236/trunk@33676 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 00:11:03 +00:00
erik%netscape.com
238dfa9172 Bug 7427. Need to convert enumerated font names from system code page to
Unicode, and then convert Unicode font names back to system code page when
loading font.


git-svn-id: svn://10.0.0.236/trunk@33675 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 00:08:56 +00:00
ducarroz%netscape.com
91b5031be3 implemented MsgNewMessage and added code to open the addressbook when click on the AB button in the status bar.
git-svn-id: svn://10.0.0.236/trunk@33674 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:59:58 +00:00
warren%netscape.com
08d4fc7175 Removed stream files from manifest.
git-svn-id: svn://10.0.0.236/trunk@33673 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:52:13 +00:00
mscott%netscape.com
a13d238a19 Remove unnecessary LINCS now that all headers are pushed to the same directory.
git-svn-id: svn://10.0.0.236/trunk@33672 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:42:51 +00:00
slamm%netscape.com
9a082e063b Static page does not need header.
git-svn-id: svn://10.0.0.236/trunk@33671 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:42:34 +00:00
mang%subcarrier.org
a904c07dc4 Added doc comment
git-svn-id: svn://10.0.0.236/trunk@33670 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:39:57 +00:00
norris%netscape.com
b8fb6e472a LC3 support: make Java arrays have Array.prototype as a prototype.
git-svn-id: svn://10.0.0.236/trunk@33669 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:38:47 +00:00
slamm%netscape.com
c89720f69a Add a static page for tinderbox.
git-svn-id: svn://10.0.0.236/trunk@33668 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:38:24 +00:00
norris%netscape.com
589a2f1182 Subject:
Re: Rhino LiveConnect: need help?
        Date:
             Wed, 02 Jun 1999 19:33:37 -0700
       From:
             Frank Mitchell <frankm@eng.Sun.COM>
 Organization:
             Java Products Engineering
         To:
             Scott Furman <fur@netscape.com>, Norris Boyd <norris@netscape.com>
         CC:
             mallen@eng.Sun.COM
  References:
             1 , 2 , 3 , 4




Scott Furman wrote:
> In order to bring Rhino LiveConnect support up to the level of the
> C-engine, the features of LiveConnect version 2 and version 3 would
> need to be added.  You can see some details of LC2 and LC3 features
> here.  I would guess that 80% of the time would be spent implementing
> one feature: LC3's new method overload resolution scheme.


OK, I think I have something that implements the new overloaded method
resolution scheme ... I'm still working on getting the regression tests
running smoothly, but from command-line testing it seems to work.  It's
not the *cleanest* code I've ever done, though: in particular, it has
too many static methods and type-checking code for my tastes.  (Hey,
should we spin the type coercion and comparison stuff to some other
module entirely?  Right now it's mostly in JavaNativeObject, with the
preference stuff in JavaNativeMethod.)  I'm also not sure why some of
this stuff is public, and whether there might be backward-compatibility
problems with what I've done, particularly in repurposing the
COMPARISON_* constants.

Would you guys be kind enough to review this for me?  I'm hoping to
check it in once I get an ID, but it wouldn't hurt to have another pair
of eyes or three (pairs, I mean).  I've attached a tar/gzip of the
source files I've changed (or added), plus a diff.

Thanks,
Frank


git-svn-id: svn://10.0.0.236/trunk@33667 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:38:00 +00:00
mscott%netscape.com
153313037a Use nsCAutoString instead of nsAutoCString. This new version is much more memory friendly, avoiding an extra copy of the string from getting created on the heap.
git-svn-id: svn://10.0.0.236/trunk@33666 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:37:10 +00:00
sspitzer%netscape.com
47e6d70a0b don't compare nsCOMPtrs with nsnull.
git-svn-id: svn://10.0.0.236/trunk@33665 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:35:58 +00:00
warren%netscape.com
88da426e7c Removed obsolete files for mac.
git-svn-id: svn://10.0.0.236/trunk@33664 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:35:18 +00:00
mscott%netscape.com
b46897740f Export nsLocalMailFolder.h
git-svn-id: svn://10.0.0.236/trunk@33663 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:31:58 +00:00
mscott%netscape.com
80c6e96a41 Remove unnecessary LINCS now that all headers are pushed to the same directory.
git-svn-id: svn://10.0.0.236/trunk@33662 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:31:57 +00:00
rogerl%netscape.com
453b90c2aa Blew off 'caller' property - it was deemed a security risk, bug #7224
git-svn-id: svn://10.0.0.236/trunk@33661 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:24:39 +00:00
norris%netscape.com
315a12dd58 Subject:
Re: Rhino LiveConnect: need help?
        Date:
             Wed, 02 Jun 1999 19:33:37 -0700
       From:
             Frank Mitchell <frankm@eng.Sun.COM>
 Organization:
             Java Products Engineering
         To:
             Scott Furman <fur@netscape.com>, Norris Boyd <norris@netscape.com>
         CC:
             mallen@eng.Sun.COM
  References:
             1 , 2 , 3 , 4




Scott Furman wrote:
> In order to bring Rhino LiveConnect support up to the level of the
> C-engine, the features of LiveConnect version 2 and version 3 would
> need to be added.  You can see some details of LC2 and LC3 features
> here.  I would guess that 80% of the time would be spent implementing
> one feature: LC3's new method overload resolution scheme.


OK, I think I have something that implements the new overloaded method
resolution scheme ... I'm still working on getting the regression tests
running smoothly, but from command-line testing it seems to work.  It's
not the *cleanest* code I've ever done, though: in particular, it has
too many static methods and type-checking code for my tastes.  (Hey,
should we spin the type coercion and comparison stuff to some other
module entirely?  Right now it's mostly in JavaNativeObject, with the
preference stuff in JavaNativeMethod.)  I'm also not sure why some of
this stuff is public, and whether there might be backward-compatibility
problems with what I've done, particularly in repurposing the
COMPARISON_* constants.

Would you guys be kind enough to review this for me?  I'm hoping to
check it in once I get an ID, but it wouldn't hurt to have another pair
of eyes or three (pairs, I mean).  I've attached a tar/gzip of the
source files I've changed (or added), plus a diff.

Thanks,
Frank


git-svn-id: svn://10.0.0.236/trunk@33660 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:22:27 +00:00
warren%netscape.com
e306530a8e Added nsIBufferInputStream.idl
git-svn-id: svn://10.0.0.236/trunk@33659 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:10:11 +00:00
10316 changed files with 2608281 additions and 1131 deletions

40
mozilla/LEGAL Normal file
View File

@@ -0,0 +1,40 @@
Please be apprised of the following Legal Notices:
A) The U.S. District Court for the Eastern District of Virginia has
ruled that the Netscape Navigator code does not infringe Wang's U.S.
Patent No. 4,751,669 ("the '669 Patent") because: 1) HTML is not
Videotex as defined by the '669 patent; 2) web servers are not central
suppliers; and 3) Navigator does not "connect," as defined by the '669
Patent, to web servers on the Internet. Wang may appeal this decision to
the Federal Circuit. Wang contended that its Patent disclosing a
"Videotext" system, is infringed by the following functionality in the
Netscape Navigator code: 1) the animated logo and status line indicators
--See Claims 1,8 and 9; 2) the "File Save As" function --See Claims
23-27; 3) Bookmarks and Rename Bookmarks in the Properties window --See
Claims 20-22; 4) storing HTML, GIF, and JPEG files and adding filename
extensions --See Claim 38
B) Intermind owns pending U.S. patent applications on communications
systems which employ metadata ("channel objects") to define a control
structure for information transfer. The Netscape code does not infringe
as released; however, modifications which utilize channel objects as
described by Intermind should be considered carefully. The following is
a statement from Intermind: "Intermind's claims fundamentally involve
the use of a control structure to automate communications. ...The
essence of Intermind's top claim is that two devices sender and
receiver have persistent storage, communicate over a network,
and exchange a control structure including metadata which describes: 1)
what information is to be updated, 2) when to update this information,
and 3) how to transfer the updated information. In addition, at least
the receiving device must be able to process the metadata in order to
perform the update determination and transfer. Any digital
communications system which incorporates all of these elements will be
covered by Intermind's patents." See Intermind.com.
C) Stac, Inc., and its licensing agent Hi/fn, own several patents which
disclose data compression methods implementing an LZS compression
algorithm, including U.S. Patent Nos. 4,701,745 and 5,016, 009 ("the
Stac Patents"). The Netscape Communicator code does not perform
compression. If you modify the Netscape source code to perform
compression, please take notice of the Stac Patents.

421
mozilla/LICENSE Normal file
View File

@@ -0,0 +1,421 @@
NETSCAPE PUBLIC LICENSE
Version 1.0
----------------
1. Definitions.
1.1. ``Contributor'' means each entity that creates or contributes to
the creation of Modifications.
1.2. ``Contributor Version'' means the combination of the Original
Code, prior Modifications used by a Contributor, and the Modifications
made by that particular Contributor.
1.3. ``Covered Code'' means the Original Code or Modifications or the
combination of the Original Code and Modifications, in each case
including portions thereof.
1.4. ``Electronic Distribution Mechanism'' means a mechanism generally
accepted in the software development community for the electronic
transfer of data.
1.5. ``Executable'' means Covered Code in any form other than Source
Code.
1.6. ``Initial Developer'' means the individual or entity identified as
the Initial Developer in the Source Code notice required by Exhibit A.
1.7. ``Larger Work'' means a work which combines Covered Code or
portions thereof with code not governed by the terms of this License.
1.8. ``License'' means this document.
1.9. ``Modifications'' means any addition to or deletion from the
substance or structure of either the Original Code or any previous
Modifications. When Covered Code is released as a series of files, a
Modification is:
A. Any addition to or deletion from the contents of a file
containing Original Code or previous Modifications.
B. Any new file that contains any part of the Original Code or
previous Modifications.
1.10. ``Original Code'' means Source Code of computer software code
which is described in the Source Code notice required by Exhibit A as
Original Code, and which, at the time of its release under this License
is not already Covered Code governed by this License.
1.11. ``Source Code'' means the preferred form of the Covered Code for
making modifications to it, including all modules it contains, plus any
associated interface definition files, scripts used to control
compilation and installation of an Executable, or a list of source code
differential comparisons against either the Original Code or another
well known, available Covered Code of the Contributor's choice. The
Source Code can be in a compressed or archival form, provided the
appropriate decompression or de-archiving software is widely available
for no charge.
1.12. ``You'' means an individual or a legal entity exercising rights
under, and complying with all of the terms of, this License or a future
version of this License issued under Section 6.1. For legal entities,
``You'' includes any entity which controls, is controlled by, or is
under common control with You. For purposes of this definition,
``control'' means (a) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (b) ownership of fifty percent (50%) or more of the
outstanding shares or beneficial ownership of such entity.
2. Source Code License.
2.1. The Initial Developer Grant.
The Initial Developer hereby grants You a world-wide, royalty-free,
non-exclusive license, subject to third party intellectual property
claims:
(a) to use, reproduce, modify, display, perform, sublicense and
distribute the Original Code (or portions thereof) with or without
Modifications, or as part of a Larger Work; and
(b) under patents now or hereafter owned or controlled by Initial
Developer, to make, have made, use and sell (``Utilize'') the
Original Code (or portions thereof), but solely to the extent that
any such patent is reasonably necessary to enable You to Utilize
the Original Code (or portions thereof) and not to any greater
extent that may be necessary to Utilize further Modifications or
combinations.
2.2. Contributor Grant.
Each Contributor hereby grants You a world-wide, royalty-free,
non-exclusive license, subject to third party intellectual property
claims:
(a) to use, reproduce, modify, display, perform, sublicense and
distribute the Modifications created by such Contributor (or
portions thereof) either on an unmodified basis, with other
Modifications, as Covered Code or as part of a Larger Work; and
(b) under patents now or hereafter owned or controlled by
Contributor, to Utilize the Contributor Version (or portions
thereof), but solely to the extent that any such patent is
reasonably necessary to enable You to Utilize the Contributor
Version (or portions thereof), and not to any greater extent that
may be necessary to Utilize further Modifications or combinations.
3. Distribution Obligations.
3.1. Application of License.
The Modifications which You create or to which You contribute are
governed by the terms of this License, including without limitation
Section 2.2. The Source Code version of Covered Code may be distributed
only under the terms of this License or a future version of this
License released under Section 6.1, and You must include a copy of this
License with every copy of the Source Code You distribute. You may not
offer or impose any terms on any Source Code version that alters or
restricts the applicable version of this License or the recipients'
rights hereunder. However, You may include an additional document
offering the additional rights described in Section 3.5.
3.2. Availability of Source Code.
Any Modification which You create or to which You contribute must be
made available in Source Code form under the terms of this License
either on the same media as an Executable version or via an accepted
Electronic Distribution Mechanism to anyone to whom you made an
Executable version available; and if made available via Electronic
Distribution Mechanism, must remain available for at least twelve (12)
months after the date it initially became available, or at least six
(6) months after a subsequent version of that particular Modification
has been made available to such recipients. You are responsible for
ensuring that the Source Code version remains available even if the
Electronic Distribution Mechanism is maintained by a third party.
3.3. Description of Modifications.
You must cause all Covered Code to which you contribute to contain a
file documenting the changes You made to create that Covered Code and
the date of any change. You must include a prominent statement that the
Modification is derived, directly or indirectly, from Original Code
provided by the Initial Developer and including the name of the Initial
Developer in (a) the Source Code, and (b) in any notice in an
Executable version or related documentation in which You describe the
origin or ownership of the Covered Code.
3.4. Intellectual Property Matters
(a) Third Party Claims.
If You have knowledge that a party claims an intellectual property
right in particular functionality or code (or its utilization
under this License), you must include a text file with the source
code distribution titled ``LEGAL'' which describes the claim and
the party making the claim in sufficient detail that a recipient
will know whom to contact. If you obtain such knowledge after You
make Your Modification available as described in Section 3.2, You
shall promptly modify the LEGAL file in all copies You make
available thereafter and shall take other steps (such as notifying
appropriate mailing lists or newsgroups) reasonably calculated to
inform those who received the Covered Code that new knowledge has
been obtained.
(b) Contributor APIs.
If Your Modification is an application programming interface and
You own or control patents which are reasonably necessary to
implement that API, you must also include this information in the
LEGAL file.
3.5. Required Notices.
You must duplicate the notice in Exhibit A in each file of the Source
Code, and this License in any documentation for the Source Code, where
You describe recipients' rights relating to Covered Code. If You
created one or more Modification(s), You may add your name as a
Contributor to the notice described in Exhibit A. If it is not possible
to put such notice in a particular Source Code file due to its
structure, then you must include such notice in a location (such as a
relevant directory file) where a user would be likely to look for such
a notice. You may choose to offer, and to charge a fee for, warranty,
support, indemnity or liability obligations to one or more recipients
of Covered Code. However, You may do so only on Your own behalf, and
not on behalf of the Initial Developer or any Contributor. You must
make it absolutely clear than any such warranty, support, indemnity or
liability obligation is offered by You alone, and You hereby agree to
indemnify the Initial Developer and every Contributor for any liability
incurred by the Initial Developer or such Contributor as a result of
warranty, support, indemnity or liability terms You offer.
3.6. Distribution of Executable Versions.
You may distribute Covered Code in Executable form only if the
requirements of Section 3.1-3.5 have been met for that Covered Code,
and if You include a notice stating that the Source Code version of the
Covered Code is available under the terms of this License, including a
description of how and where You have fulfilled the obligations of
Section 3.2. The notice must be conspicuously included in any notice in
an Executable version, related documentation or collateral in which You
describe recipients' rights relating to the Covered Code. You may
distribute the Executable version of Covered Code under a license of
Your choice, which may contain terms different from this License,
provided that You are in compliance with the terms of this License and
that the license for the Executable version does not attempt to limit
or alter the recipient's rights in the Source Code version from the
rights set forth in this License. If You distribute the Executable
version under a different license You must make it absolutely clear
that any terms which differ from this License are offered by You alone,
not by the Initial Developer or any Contributor. You hereby agree to
indemnify the Initial Developer and every Contributor for any liability
incurred by the Initial Developer or such Contributor as a result of
any such terms You offer.
3.7. Larger Works.
You may create a Larger Work by combining Covered Code with other code
not governed by the terms of this License and distribute the Larger
Work as a single product. In such a case, You must make sure the
requirements of this License are fulfilled for the Covered Code.
4. Inability to Comply Due to Statute or Regulation.
If it is impossible for You to comply with any of the terms of this
License with respect to some or all of the Covered Code due to statute
or regulation then You must: (a) comply with the terms of this License
to the maximum extent possible; and (b) describe the limitations and
the code they affect. Such description must be included in the LEGAL
file described in Section 3.4 and must be included with all
distributions of the Source Code. Except to the extent prohibited by
statute or regulation, such description must be sufficiently detailed
for a recipient of ordinary skill to be able to understand it.
5. Application of this License.
This License applies to code to which the Initial Developer has
attached the notice in Exhibit A, and to related Covered Code.
6. Versions of the License.
6.1. New Versions.
Netscape Communications Corporation (``Netscape'') may publish revised
and/or new versions of the License from time to time. Each version will
be given a distinguishing version number.
6.2. Effect of New Versions.
Once Covered Code has been published under a particular version of the
License, You may always continue to use it under the terms of that
version. You may also choose to use such Covered Code under the terms
of any subsequent version of the License published by Netscape. No one
other than Netscape has the right to modify the terms applicable to
Covered Code created under this License.
6.3. Derivative Works.
If you create or use a modified version of this License (which you may
only do in order to apply it to code which is not already Covered Code
governed by this License), you must (a) rename Your license so that the
phrases ``Mozilla'', ``MOZILLAPL'', ``MOZPL'', ``Netscape'', ``NPL'' or
any confusingly similar phrase do not appear anywhere in your license
and (b) otherwise make it clear that your version of the license
contains terms which differ from the Mozilla Public License and
Netscape Public License. (Filling in the name of the Initial Developer,
Original Code or Contributor in the notice described in Exhibit A shall
not of themselves be deemed to be modifications of this License.)
7. DISCLAIMER OF WARRANTY.
COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN ``AS IS'' BASIS,
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
8. TERMINATION.
This License and the rights granted hereunder will terminate
automatically if You fail to comply with terms herein and fail to cure
such breach within 30 days of becoming aware of the breach. All
sublicenses to the Covered Code which are properly granted shall
survive any termination of this License. Provisions which, by their
nature, must remain in effect beyond the termination of this License
shall survive.
9. LIMITATION OF LIABILITY.
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
(INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE INITIAL
DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO YOU OR ANY OTHER
PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF
GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND
ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE
BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THAT
EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
10. U.S. GOVERNMENT END USERS.
The Covered Code is a ``commercial item,'' as that term is defined in
48 C.F.R. 2.101 (Oct. 1995), consisting of ``commercial computer
software'' and ``commercial computer software documentation,'' as such
terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
all U.S. Government End Users acquire Covered Code with only those
rights set forth herein.
11. MISCELLANEOUS.
This License represents the complete agreement concerning subject
matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. This License shall be governed by
California law provisions (except to the extent applicable law, if any,
provides otherwise), excluding its conflict-of-law provisions. With
respect to disputes in which at least one party is a citizen of, or an
entity chartered or registered to do business in, the United States of
America: (a) unless otherwise agreed in writing, all disputes relating
to this License (excepting any dispute relating to intellectual
property rights) shall be subject to final and binding arbitration,
with the losing party paying all costs of arbitration; (b) any
arbitration relating to this Agreement shall be held in Santa Clara
County, California, under the auspices of JAMS/EndDispute; and (c) any
litigation relating to this Agreement shall be subject to the
jurisdiction of the Federal Courts of the Northern District of
California, with venue lying in Santa Clara County, California, with
the losing party responsible for costs, including without limitation,
court costs and reasonable attorneys fees and expenses. The application
of the United Nations Convention on Contracts for the International
Sale of Goods is expressly excluded. Any law or regulation which
provides that the language of a contract shall be construed against the
drafter shall not apply to this License.
12. RESPONSIBILITY FOR CLAIMS.
Except in cases where another Contributor has failed to comply with
Section 3.4, You are responsible for damages arising, directly or
indirectly, out of Your utilization of rights under this License, based
on the number of copies of Covered Code you made available, the
revenues you received from utilizing such rights, and other relevant
factors. You agree to work with affected parties to distribute
responsibility on an equitable basis.
AMENDMENTS
Additional Terms applicable to the Netscape Public License.
I. Effect.
These additional terms described in this Netscape Public License --
Amendments shall apply to the Mozilla Communicator client code and to
all Covered Code under this License.
II. ``Netscape's Branded Code'' means Covered Code that Netscape
distributes and/or permits others to distribute under one or more
trademark(s) which are controlled by Netscape but which are not
licensed for use under this License.
III. Netscape and logo.
This License does not grant any rights to use the trademark
``Netscape'', the ``Netscape N and horizon'' logo or the Netscape
lighthouse logo, even if such marks are included in the Original Code.
IV. Inability to Comply Due to Contractual Obligation.
Prior to licensing the Original Code under this License, Netscape has
licensed third party code for use in Netscape's Branded Code. To the
extent that Netscape is limited contractually from making such third
party code available under this License, Netscape may choose to
reintegrate such code into Covered Code without being required to
distribute such code in Source Code form, even if such code would
otherwise be considered ``Modifications'' under this License.
V. Use of Modifications and Covered Code by Initial Developer.
V.1. In General.
The obligations of Section 3 apply to Netscape, except to the
extent specified in this Amendment, Section V.2 and V.3.
V.2. Other Products.
Netscape may include Covered Code in products other than the
Netscape's Branded Code which are released by Netscape during the
two (2) years following the release date of the Original Code,
without such additional products becoming subject to the terms of
this License, and may license such additional products on
different terms from those contained in this License.
V.3. Alternative Licensing.
Netscape may license the Source Code of Netscape's Branded Code,
including Modifications incorporated therein, without such
additional products becoming subject to the terms of this License,
and may license such additional products on different terms from
those contained in this License.
VI. Arbitration and Litigation.
Notwithstanding the limitations of Section 11 above, the provisions
regarding arbitration and litigation in Section 11(a), (b) and (c) of
the License shall apply to all disputes relating to this License.
EXHIBIT A.
``The contents of this file are subject to the Netscape Public License
Version 1.0 (the "License"); you 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): ______________________________________.''
[NOTE: The text of this Exhibit A may differ slightly from the text of
the notices in the Source Code files of the Original Code. This is due
to time constraints encountered in simultaneously finalizing the
License and in preparing the Original Code for release. You should use
the text of this Exhibit A rather than the text found in the Original
Code Source Code for Your Modifications.]

100
mozilla/Makefile.in Normal file
View File

@@ -0,0 +1,100 @@
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = .
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
# The list of directories that need to be built to build the standalone
# nglayout test program. The order is important.
DIRS = \
config \
build \
$(NULL)
ifndef MOZ_NATIVE_NSPR
DIRS += $(topsrcdir)/nsprpub
endif
DIRS += \
dbm \
modules/libreg \
xpcom \
$(NULL)
ifndef MOZ_NATIVE_ZLIB
DIRS += modules/zlib
endif
ifndef MOZ_NATIVE_JPEG
DIRS += jpeg
endif
DIRS += \
modules/libutil \
intl \
js \
modules/security/freenav \
modules/libpref \
modules/libimg \
modules/oji \
modules/plugin \
modules/libjar \
caps \
lib/xp \
lib/libpwcac \
network \
htmlparser \
expat \
gfx \
dom \
view \
widget \
layout \
rdf \
webshell \
editor \
silentdl \
xpinstall \
sun-java \
profile \
$(NULL)
ifdef MOZ_BUILD_XPFE
DIRS += xpfe extensions
endif
ifdef MOZ_MAIL_NEWS
DIRS += mailnews
endif
include $(topsrcdir)/config/rules.mk
real_all: all
real_export: export
real_libs: libs
real_install: install
real_clobber: clobber
real_depend: depend

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,443 @@
<HEAD>
<TITLE>Building Mozilla on the Macintosh PPC platform</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#551A8B">
<P>
<HR>
</P>
<H1>Building Mozilla on the Macintosh PPC platform</H1>
<H2>Daniel Nunes, <A HREF="mailto:leaf@netscape.com"><TT>leaf@netscape.com</TT></A></H2>
<P>v 1.1, 1998-9-29<BR>
updated for the Pro4 IDE</P>
<P>
<HR>
<I>How to build Mozilla on a Macintosh PPC System.</I>
<HR>
</P>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI><A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI><A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI><A HREF="#ss2.3">2.3 Set up the Build Environment</A></LI>
<LI><A HREF="#ss2.4">2.4 Build the Lizard </A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<H2>4. <A HREF="#s4"> Credits </A></H2>
<P>
<HR>
</P>
<H2><A NAME=s1></A>1. Introduction</H2>
<P>What this document is: A guide to building the Mozilla
application. This includes:</P>
<OL>
<LI>A listing of the development tools you will need to build
Mozilla.</LI>
<LI>A list of environment variables you will need to set before
building.</LI>
</OL>
<P>If you're looking for documentation on developing features or
fixing bugs, the Mozilla <A HREF="http://www.mozilla.org/docs/tplist/tplist.html">Technical
Documents </A> or <A HREF="http://www.mozilla.org/library.html">
Library </A> are probably what you're looking for.</P>
<P>
<HR>
</P>
<H2><A NAME=s2></A>2. Building Mozilla</H2>
<P>&nbsp;</P>
<UL>
<LI>Each of the following subsections describes, or gives
references to descriptions of, the steps necessary to build
Mozilla.
<H2><A NAME="ss2.1"></A>2.1 Get the Code</H2>
<P>&nbsp;</P>
<UL>
<LI>There are two principal ways of getting the code, <A HREF="http://www.mozilla.org/download.html">
ftp</A> and <A HREF="http://www.mozilla.org/cvs.html"> CVS</A>.
CVS will provide the most current code for building, but is
slower than ftp. Ftp drops are generally produced once per
month, and are known to compile.</LI>
</UL>
<P>&nbsp;</P>
<H2><A NAME="ss2.2"></A>2.2 Requirements</H2>
<P>The following need to be installed:</P>
<UL>
<LI>CodeWarrior (CW) Pro4 - obtainable from <A HREF="http://www.metrowerks.com">Metrowerks</A>.
See <A HREF="#s3">Common Sticking Points</A> if you have a
different version. Mozilla will no longer build with anything
earlier.</LI>
<LI>PowerPlant - obtainable from the CodeWarrior CD.</LI>
<LI>MSL - the Metrowerks Standard Library, obtainable from the
CodeWarrior CD</LI>
<LI><A HREF="ftp://ftp.boingo.com//dan/WASTE/waste-13.hqx">WASTE
1.3</A></LI>
<LI><A HREF="http://www.bact.wisc.edu/CWASTEEdit/CWASTEEdit.sit.hqx">CWASTE
1.6.2</A></LI>
<LI><A HREF="ftp://ftp.scripting.com/userland/menuSharingToolkit4.1.sit.hqx">Menu
Sharing Toolkit</A> (from UserLand)</LI>
<LI><A HREF="ftp://ftp.share.com/pub/internet-configuration/ICProgKit1.4.sit">Internet
Config 1.4 SDK</A></LI>
<LI><A HREF="http://www.mooseyard.com/Jens/Software/">AEGizmos
1.4.2</A></LI>
<LI><A HREF="ftp://sunsite.cnlab-switch.ch/software/platform/macos/perl/Mac_Perl_520r4_tool.bin">MacPerl
5 MPW Tool</A></LI>
<LI><A HREF="ftp://sunsite.cnlab-switch.ch/software/platform/macos/perl/Mac_Perl_520r4_appl.bin">MacPerl
5 Application</A></LI>
<LI>The module Mac:AppleEvents:Simple, which should be stored
in your Perl library folder under :Mac:AppleEvents:Simple.pm,
may be downloaded <A HREF="http://www.perl.com/CPAN-local/modules/by-module/Mac/Mac-AppleEvents-Simple-0.10.tgz">here</A>.</LI>
<LI>The module Mac:Apps:Launch, which should be stored in your
Perl library folder under :Mac:Apps:Launch.pm, may be
downloaded <A HREF="http://www.perl.com/CPAN-local/modules/by-module/Mac/Mac-Apps-Launch-1.30.tar.gz">here</A>.</LI>
<LI>MakeStub - MPW (installed with CodeWarrior Heaven option).
If you choose not to install MPW, it is located on the MacOS
Tools CD in "CW Pro 4 Tools:CodeWarrior MPW:MPW:Tools"</LI>
<LI>RunTSScript - in Mozilla source distribution
(mozilla:build:mac:RunTSScript), needs to be installed by
hand</LI>
<LI><A HREF="ftp://dev.apple.com/devworld/Tool_Chest/Core_Mac_OS_Tools/MPW_etc./MPW-GM/MPW/ToolServer.sit.hqx">ToolServer</A>
- or in the CW distribution (CW Pro 4 Tools:Apple Development
Tools:ToolServer 3.4.1.sit). <B>We recommend pulling it off the
CD</B> because it comes with configuration files for
CodeWarrior which you would have to create manually were you to
pull it off the net.</LI>
<LI><A HREF="http://sunsite.cnlab-switch.ch/ftp/software/platform/macos/src/HTML/MPW_C.html">patch
2.1</A></LI>
</UL>
<P>Hardware/OS</P>
<UL>
<LI>To build Navigator, you need a fast PPC Mac. The faster the
better.</LI>
<LI>You will need about 96 MB of physical RAM to "fast link"
the app. You can still fast link if you give your machine 96 MB
of virtual memory, but then the VM hit is large enough to
counteract any improvement. One of our beta testers had a
machine with only 64MB of physical RAM (VM was off) and it ran
out of memory trying to link. Turning VM on got it to link, but
build time increased greatly.</LI>
<LI>Reports from the net indicate that the optimized version
(MozillaPPC) take much less RAM to build than the 96MB we
suggest. If you are running out of memory, try building that
instead of the debug version (the debug symbols require a lot
of RAM come link time).</LI>
<LI>You should be ok with a 400MB disk partition, even when
fully built. This does not include tools like the IDE, just
source.</LI>
<LI>On an HFS+ volume, a full build takes about 110MB. HFS+ is
good, but utilities are sparse.</LI>
</UL>
<P>&nbsp;</P>
<H2><A NAME="ss2.3"></A>2.3 Setup the Build Environment</H2>
<P>&nbsp;</P>
<OL>
<LI>Install CodeWarrior from the CD. While it is large,
installing the "CodeWarrior Heaven" option will guarantee that
you have everything you need. This will give you PowerPlant,
MSL, and MPW. If you choose to install less, proceed at your
own risk.</LI>
<LI>In the Finder, increase the memory partition of the IDE to
15MB (you can get by with 12, if need be).</LI>
<LI>Uncompress the StuffIt Archive for ToolServer. The goal is
to let ToolServer and MPW share the same Tools directory so you
don't need to have multiple versions of tools. Do the
following:
<OL>
<LI>Open ToolServer's Tools folder. There is one file called
"RMetrowerks".</LI>
<LI>Move RMetrowerks to Tools folder of MPW. MPW folder must
be at "Metrowerks:Codewarrior MPW:MPW" if you installed
Codewarrior Heaven.</LI>
<LI>Remove ToolServer's Tools folder.</LI>
<LI>Now create an alias of Tools folder in "CodeWarrior MPW"
and move it to your ToolServer folder. Rename the alias
(probably called "Tools alias") to "Tools"</LI>
<LI><FONT COLOR="#FF0000"><B>IMPORTANT</B></FONT>: Make sure
you only have one instance of ToolServer on your machine. If
the build script finds the wrong one, the correct tools will
not be found and strange things will happen.</LI>
</OL>
</LI>
<LI>After installing the MacPerl MPW Tool distribution (run the
InstallerVISE application), in the "MacPerl &#131;" folder,
there will be an MPW tool named "perl". Install this in MPW's
tools folder.</LI>
<LI>Install the MacPerl Application (run the InstallerVISE
application). You can install this anywhere, but it is
recommended that you install it inside of your CodeWarrior
folder for easy reference. After installation, you will need to
set a preference to enable double-click launch of the perl
scripts. This preference is set by going under the Edit Menu to
Preferences. Click on the "Script" button and hit the radio
button "Run Scripts opened from Finder"</LI>
<LI>Install the "patch" and "MakeStub" Tools in the tools
folder. Note that "MakeStub" is automatically installed by the
"CodeWarrior Heaven" install option.</LI>
<LI>Install RunTSScript (found in the Mozilla source
distribution) in the compilers folder in your build environment
("Metrowerks:Metrowerks Codewarrior:Codewarrior
Plugins:Compilers")</LI>
<LI>Next, after downloading all the 3rd party software
components, drag WASTE, CWASTE, Menu Sharing, Internet Config,
and the AEGizmo folders (just as they are) into the "MacOS
Support" folder in your build environment.</LI>
<LI>Create a folder inside the PowerPlant folder
(Metrowerks:Metrowerks CodeWarrior:MacOS Support:PowerPlant)
called "_Will Be Obsolete" Make sure you include the leading
underscore.</LI>
<LI>Unstuff the obsolete LGA classes (located on the Reference
CD in "CodeWarrior Examples:MacOS Examples:PowerPlant
Examples:Obsolete PP Items:Old GA Classes.sit) and place the
resulting folder into the "_Will Be Obsolete" folder you
created in the previous step.</LI>
<LI>Start ToolServer from within CodeWarrior (or use MPW if you
are brave enough). We're about to patch some files. Make sure
the ToolServer menu is in the CodeWarrior menu bar by turning
on the <A HREF="IDEPrefs.gif">preference</A> under the "Extras"
panel in the IDE Preferences (not the project preferences!).
The menu bar should look like this:
<P><IMG SRC="IDEMenuBar.gif" WIDTH=359 HEIGHT=20 X-CLARIS-USEIMAGEWIDTH X-CLARIS-USEIMAGEHEIGHT ALIGN=bottom></P>
<P>Choose "Start ToolServer" from the ToolServer menu (this is
the icon menu between "Window" and "Help" in the menubar
above). You will now see a window with no close box. This is
your ToolServer Worksheet where you will type (or cut &amp;
paste) the commands for the following steps.</P>
<P>In case you have never used MPW/ToolServer before, the
following is <B>very important</B>. Pressing "return" does not
execute commands like you might think. It just inserts a
newline into the worksheet like a normal text editor. <B>To
actually get ToolServer to execute the command, you must press
"Enter" (lower right of numeric keypad).</B> This executes the
line that the cursor is on, and only that line. If you want to
execute multiple lines at once, select them all and hit
Enter.</P></LI>
<LI>Set the shell variables {IDE} and {Source} to the correct
paths for your build environment. {IDE} is where your
CodeWarrior IDE is located. {Source} is the folder containing
the toplevel "ns" folder of the Mozilla source. Mine look like
this (don't forget to keep the quotes if your path includes
spaces), yours will almost certainly be different
(<FONT COLOR="#FF0000">to punctuate this, the things you need
to change are in red</FONT>).
<PRE>Set IDE "<FONT COLOR="#FF0000">Develop:CW Pro 4:Metrowerks CodeWarrior:</FONT>"
Set Source "<FONT COLOR="#FF0000">Source:FreeSource:</FONT>"</PRE></LI>
<LI>Execute the following lines to patch menusharing.c to allow
it to compile with the new Universal Headers. It references an
obsolete header file (GestaltEqu.h).
<PRE>directory "{IDE}MacOS Support:Menu Sharing Toolkit 4.1:"
patch menusharing.c "{Source}mozilla:lib:mac:patches:menusharing.patch"</PRE></LI>
<LI>You need to patch stat.mac.h to fix a problem in MSL where
lines were omitted.
<PRE>directory "{IDE}Metrowerks Standard Library:MSL C:MSL Mac:Public Includes"
patch stat.mac.h "{Source}mozilla:lib:mac:patches:stat.mac.h.patch"</PRE></LI>
<LI>Congratulations! Now you are ready to build. Once these
steps are done, you don't have to repeat these setups the next
time!</LI>
</OL>
<P>&nbsp;</P>
<H2><A NAME="ss2.4"></A>2.4 Run the build</H2>
<UL>
<LI>In the folder mozilla:build:mac:, there are several Perl
scripts with names of the form BuildMozillaXXX.pl, where XXX is
"Optimized", "Debug", "Tinderbox", et al. Each script builds
the corresponding version of Mozilla. If you configured the
MacPerl application to execute scripts that are opened from the
finder, all you have to do is double click on the appropriate
one; otherwise, launch MacPerl, and run the appropriate script
from the "Run Script..." menu item.
<P>These `configured build' scripts are simple, and you might
want to make your own to force your build to StopForErrors(),
or alternatively DontStopForErrors(), et al. You can set up
certain build-script variables and (soon) compile-time flags.
Compare the supplied scripts to figure out what you might want.
Note that CodeWarriorLib, Moz.pm, and BuildList.pm, are
AppleScript libraries and Perl modules meant to be used by a
`configured build'. Use your favorite POD viewer (Shuck comes
with MacPerl) to view the documentation in the Perl
scripts.</P>
<P>If there were any errors in any of the projects along the
way, the script will stop at that point and the IDE will tell
you the errors. You can fix them and make sure they current
project builds, but to continue the automation, you have to
start from the beginning by double-clicking the script again.
This isn't quite as bad as it sounds because the previous
projects are already built (unless you changed some major
header file). Please note that stopping the script once it has
started is difficult. We are working to address this issue.</P>
<P>After the build is complete, you can find aliases to the
built libraries and the final Mozilla application. Debug builds
are built to Mozilla:dist:client_debug, while optimized builds
are built to Mozilla:dist:client.</P>
<P>Don't worry too much about the numerous warnings generated
during the build. We try our best to get the XP teams to use
real compilers, but alas, they continue to write warning-laden
code. There is also some generated code (Java is one example)
that has a lot of warnings that we can't help either. If you
write any new code, please help us in our quest to get zero
warnings.</P></LI>
</UL>
</LI>
</UL>
<P>
<HR>
</P>
<H2><A NAME=s3></A>3. Common Sticking Points</H2>
<UL>
<LI><B>I only have CodeWarrior Pro3 or Pro2. How do i build with
it?</B>
<UL>
<LI>Currently, the answer is, "You don't." We make use of
several classes in PowerPlant which recently appeared in Pro4.
Time to upgrade, I'm afraid. Don't even try opening the
projects with Pro2 because you will get data loss and have to
throw the project away (it won't even prompt you!)</LI>
</UL>
</LI>
<LI><B>I'm having problems building. MacPerl tells me it can't
fine MemAllocatorStubs</B>
<UL>
<LI>It sounds like your ToolServer environment is not setup
correctly. Make sure you follow the directions to the letter.
You could also be seeing this if you have multiple versions of
ToolServer on your computer and the Finder lauches the wrong
one. This is very common, as the <I>Carbon Dater</I> app from
Apple DTS contains a copy of ToolServer. Either remove all the
other versions of ToolServer or make sure you launch the
appropriate version before you start building.</LI>
</UL>
</LI>
<LI><B>The IDE runs out of memory building jsinterp.c. What do I
do?</B>
<UL>
<LI>We have seen this every now and then, and it only appears
to show up when building optimized (non-debug) builds. You can
normally get around this by building that file by itself
(select it and choose "Compile") and then continuing the make.
We're not sure why this is happening, so if you have any
answers or solutions, please let us know!</LI>
</UL>
</LI>
</UL>
<P>
<HR>
</P>
<H2><A NAME=s4></A>4. Credits</H2>
<UL>
<LI>The majority of this document is taken from the build document
included in the Mozilla source distribution at
README:mozilla:macbuild.htm written by Mike Pinkerton, <A HREF="mailto:pinkerton@netscape.com">
pinkerton@netscape.com</A>.</LI>
</UL>
</BODY>
</HTML>

View File

@@ -0,0 +1,158 @@
<HTML>
<HEAD>
<TITLE>Building Mozilla on unix platforms</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B"
ALINK="#FF0000">
<HR>
<H1>
Building Mozilla on Unix platforms</H1>
<H2>
Daniel Nunes, <TT><A HREF="mailto:leaf@netscape.com">leaf@netscape.com</A></TT></H2>
v 1.1, June 1998
<P>
<HR><I>How to build Mozilla on a Unix System.</I>
<HR>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI>
<A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI>
<A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI>
<A HREF="#ss2.3">2.3 Set up the Build Environment</A></LI>
<LI>
<A HREF="#ss2.4">2.4 Build the Lizard </A></LI>
<LI>
<A HREF="#ss2.5">2.5 Run the Lizard </A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>
<P>
What this document is: A guide to building the Mozilla application.
<BR>
This includes:
<OL>
<LI> A listing of the development tools you will need to build Mozilla. </LI>
<LI> A list of environment variables you will need to set before building. </LI>
</OL>
<P>
If you're looking for documentation on developing features or fixing bugs,
the Mozilla
<A HREF="http://www.mozilla.org/docs/tplist/tplist.html">Technical Documents
</A> or <A HREF="http://www.mozilla.org/library.html"> Library </A>
are probably what you're looking for.
<P>
<HR>
<H2><A NAME="s2">2. Building Mozilla </A></H2>
<P>
<UL>Each of the following subsections describes, or gives references to
descriptions of, the steps necessary to build Mozilla.
</UL>
<H2><A NAME="ss2.1">2.1 Get the Code</A></H2>
<P>
<UL>
There are two principal ways of getting the code,
<A HREF="http://www.mozilla.org/download.html"> ftp</A> and
<A HREF="http://www.mozilla.org/cvs.html"> CVS</A>.
CVS will provide the most current code for building, but is
slower than ftp. Ftp drops are generally produced once per month,
and are known to compile.
</UL>
<P>
<H2><A NAME="ss2.2">2.2 Requirements</A></H2>
<UL>
The following should be installed:
<UL>
<LI>Motif 1.2
<LI>The native C/C++ compiler (or GNU C/C++ compiler 2.7.2 in lieu of the
native compiler)
<LI>GNU make 3.74 or better
<LI>Perl (or, if you have no Perl, then set <CODE>PERL=/bin/echo</CODE>)
</UL>
<P>
Your hardware should be equal to, or better than:
<UL>
32 MB RAM, 128 MB swap (64 MB RAM recommended)
</UL>
</UL>
<P>
<H2><A NAME="ss2.3">2.3 Setup the Build Environment</A></H2>
<P>
<UL>
The following environment variables need to be set:
<CODE>
<PRE>
MOZILLA_CLIENT=1
MOZ_MEDIUM=1
NO_MDUPDATE=1
</PRE>
</CODE>
Optionally, you can set <CODE>BUILD_OPT=1</CODE> if you don't want a debug
build.
<P>
If your Motif libraries are installed in a non-standard place, you can tell
the Mozilla makefiles where to look by setting
<CODE>MOZILLA_MOTIF_SEARCH_PATH</CODE> to point to the directory in which
your Motif installation resides.
<P>
Environment variables are set by the shell, and there are two common ways
of setting them. <BR>
Type <CODE>setenv VARIABLE value</CODE> or <CODE>export VARIABLE=value</CODE>.
<P>
</UL>
<H2><A NAME="ss2.4">2.4 Run the build </A></H2>
<UL>
Change to the directory you copied the source into (for example,
<CODE>cd /builds</CODE>). If this directory was empty before you
installed the source, there should be two directories here:
<CODE>README</CODE> and <CODE>mozilla</CODE>.
<CODE>
<PRE>
cd mozilla
gmake
</PRE>
</CODE>
</UL>
<H2><A NAME="ss2.5">2.5 After the build </A></H2>
<UL>
You may notice that if you try running mozilla-export right after the build,
you'll run into a problem. You need to set <CODE>LD_LIBRARY_PATH</CODE> to
<CODE>
${LD_LIBRARY_PATH}:/PATH_TO_SOURCE/mozilla/dist/Linux2.0.32_x86_OPT.OBJ/bin
</CODE> (where <CODE>PATH_TO_SOURCE</CODE> is the full path to your source
tree) before the dynamically linked binary will run. <BR><BR>
This varies by platform:<br>
<UL>
<LI>On HP-UX, the equivalent environment variable is <CODE>SHLIB_PATH</CODE>.
<LI>On AIX, the equivalent environment variable is <CODE>LIBPATH</CODE>.
</UL>
</UL>
<HR>
<H2><A NAME="s3">3. Common Sticking Points</A></H2>
<LI>My linker dies with this error: undefined reference to `_Xsetlocale'
<UL>If this error occurs, you might have to recompile libX11.so
with the -DX_LOCALE flag (thanks to Scott Lampert,
<A HREF="mailto:fortunato@heavymetal.org">fortunato@heavymetal.org</A>).
</UL>
<HR>
</BODY>
</HTML>

View File

@@ -0,0 +1,217 @@
<HTML>
<HEAD>
<TITLE>Building Mozilla on Microsoft Windows 32-bit platforms</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B"
ALINK="#FF0000">
<HR>
<H1>
Building Mozilla on Microsoft Windows 32-bit platforms</H1>
<H2>
Daniel Nunes, <TT><A HREF="mailto:leaf@netscape.com">leaf@netscape.com</A></TT>
</H2>
v 1.0, June 1998
<P>
<HR><I>How to build Mozilla on a Microsoft Windows 32-bit System.</I>
<HR>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI>
<A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI>
<A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI>
<A HREF="#ss2.3">2.3 Set up the Build Environment</A></LI>
<LI>
<A HREF="#ss2.4">2.4 Build the Lizard </A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>
<P>
What this document is: A guide to building the Mozilla application.
<BR>
This includes:
<OL>
<LI> A listing of the development tools you will need to build Mozilla. </LI>
<LI> A list of environment variables you will need to set before building. </LI>
</OL>
<P>
If you're looking for documentation on developing features or fixing bugs,
the Mozilla
<A HREF="http://www.mozilla.org/docs/tplist/tplist.html">Technical Documents
</A> or <A HREF="http://www.mozilla.org/library.html"> Library </A>
are probably what you're looking for.
<P>
<HR>
<H2><A NAME="s2">2. Building Mozilla </A></H2>
<P>
<UL>Each of the following subsections describes, or gives references to
descriptions of, the steps necessary to build Mozilla.
<H2><A NAME="ss2.1">2.1 Get the Code</A></H2>
<P>
<UL>
There are two principal ways of getting the code,
<A HREF="http://www.mozilla.org/download.html"> ftp</A> and
<A HREF="http://www.mozilla.org/cvs.html"> CVS</A>.
CVS will provide the most current code for building, but is
slower than ftp. Ftp drops are generally produced once per month,
and are known to compile.
</UL>
<P>
<H2><A NAME="ss2.2">2.2 Requirements</A></H2>
<UL>
The following need to be installed:
<UL>
<LI>Microsoft Visual C++ version 4.2 or later
<LI>GNU Tools for Microsoft Windows, located:
<UL>
<LI><A HREF="http://www.cygnus.com/misc/gnu-win32">Cygnus</A></LI>
<LI><A HREF="http://www.gnu.org/order/ftp.html">GNU home page</A></LI>
<LI><A HREF="ftp://prep.ai.mit.edu/pub/gnu">MIT</A></LI>
</UL>
Specifically, you'll need:
<UL><CODE>
cp.exe<BR>
rm.exe<BR>
uname.exe<BR>
</CODE>
</UL>
Netscape has internally modified version of gmake, shmsdos and win32gnu
that we use to get around some problems we were having keeping in sync
with the Unix version of gmake. This version of gmake can be found in the
Windows Build Tools package, which can be ftp'd from
<A HREF="http://www.mozilla.org/download-mozilla.html"> the Mozilla
Download page</A>.
The three files you will need are:
<UL><CODE>
gmake.exe<BR>
shmsdos.exe<BR>
uname.exe<BR>
</CODE>
</UL>
</UL>
<P>
Hardware/OS
<UL>
<LI>Pentium 133 MHz or better</LI>
<LI>64 MB RAM, 128 MB recommended</LI>
<LI>250 MB NTFS or 500 MB FAT disk space</LI>
<LI>NT 4.0 is preferred; NT 3.51 will also work.
</LI>
</UL>
</UL>
<P>
<H2><A NAME="ss2.3">2.3 Setup the Build Environment</A></H2>
<P>
<UL>
The following environment variables need to be set:
<UL>
<CODE>
set MOZ_BITS=32
<BR>
set MOZ_DEBUG=1 (set this only if you want to build a debug build)
<BR>
set MOZ_MEDIUM=1
<BR>
set MOZ_NT=351 (if running NT3.51)
<BR>
set MOZ_OUT=(optional: specifies location of resultant executable)
<BR>
set MOZ_SRC=(top of your tree, for example: set MOZ_SRC=d:\mozilla_source
if this is the directory where you checked or unzipped the source into)
<BR>
set MOZ_TOOLS=(the parent directory of the GNU tools 'bin' directory. The build
looks for MOZ_TOOLS\bin\gmake.exe, so make sure that the gmake.exe from
the Windows Build Tools package resides there.)
<BR>
set NSPR20=1
<BR>
set _MSC_VER=1100 (if you are running VC++ 5.0) or 1200
(if you are running VC++ 6.0)
<BR>
</CODE>
</UL>
<BR>
<P>
</UL>
<H2><A NAME="ss2.4">2.4 Run the build </A></H2>
<UL>
Change to the directory you copied the source into (for example,
<CODE>cd d:\mozilla_source</CODE>). If this directory was empty before you
installed the source, there should be two directories here:
<CODE>README</CODE> and <CODE>mozilla</CODE>.
<CODE>
<PRE>
cd mozilla\config
nmake /f makefile.win
cd ..
nmake /f client.mak
</PRE>
</CODE>
</UL>
</UL>
<HR>
<H2><A NAME="s3">3. Common Sticking Points</A></H2>
<UL>
<LI><B>nmake has a 'fatal error', listing one of the GNU commands and a
hexadecimal return code.</B>
<UL>
This will happen as a result of not having the GNU tools and Windows Build
tools in your path. Add the directories with the appropriate binaries to your
path.
</UL>
</LI>
<LI>
<B>It fails with the message "'.\WIN32' unexpected": </B>
<UL>
You didn't properly
set the environment variables -- you must not include a space at the end
of the set statements (be careful if you are cut'n'pasting).
</UL>
</LI>
<LI>
<B>It fails to build, with directory-related errors: </B>
<UL>
The full path
to the source must not include any spaces. Additionally, the source must
be extracted with an intact directory structure by a utility that understands
long filenames. If in doubt, grab Info-Zip at
<A HREF="ftp://ftp.cdrom.com/pub/infozip">ftp://ftp.cdrom.com/pub/infozip</A>
</UL>
</LI>
<LI>
<B>It fails immediately with the message "Cannot find specified directory":
</B>
<UL>
You didn't properly set the environment variable MOZ_TOOLS;
this needs to be set to the path up to, but not including, the final \bin
directory in the path to the gnu tools. So, the path to the tool executables
is '%MOZ_TOOLS%\bin\<executable>'.
</UL>
</LI>
<LI>
<B>I'm not running a 32-bit windows system, how do i build?</B>
<UL>
Currently, the build process depends on a 32-bit operating system.
Windows NT 4.0 is the recommended windows operating system.
</UL>
</UL>
<HR>
</BODY>
</HTML>

View File

@@ -0,0 +1,400 @@
<HTML>
<HEAD>
<TITLE>Building Mozilla on the Macintosh PPC platform</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B"
ALINK="#FF0000">
<HR>
<H1>
Building Mozilla on the Macintosh PPC platform</H1>
<H2>
Daniel Nunes, <TT><A HREF="mailto:leaf@netscape.com">leaf@netscape.com</A></TT>
</H2>
v 1.0, June 1998
<P>
<HR><I>How to build Mozilla on a Macintosh PPC System.</I>
<HR>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI>
<A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI>
<A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI>
<A HREF="#ss2.3">2.3 Set up the Build Environment</A></LI>
<LI>
<A HREF="#ss2.4">2.4 Build the Lizard </A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<H2>4. <A HREF="#s4"> Credits </A></H2>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>
<P>
What this document is: A guide to building the Mozilla application.
This includes:
<OL>
<LI> A listing of the development tools you will need to build Mozilla. </LI>
<LI> A list of environment variables you will need to set before building. </LI>
</OL>
<P>
If you're looking for documentation on developing features or fixing bugs,
the Mozilla
<A HREF="http://www.mozilla.org/docs/tplist/tplist.html">Technical Documents
</A> or <A HREF="http://www.mozilla.org/library.html"> Library </A>
are probably what you're looking for.
<P>
<HR>
<H2><A NAME="s2">2. Building Mozilla </A></H2>
<P>
<UL>Each of the following subsections describes, or gives references to
descriptions of, the steps necessary to build Mozilla.
<H2><A NAME="ss2.1">2.1 Get the Code</A></H2>
<P>
<UL>
There are two principal ways of getting the code,
<A HREF="http://www.mozilla.org/download.html"> ftp</A> and
<A HREF="http://www.mozilla.org/cvs.html"> CVS</A>.
CVS will provide the most current code for building, but is
slower than ftp (takes longer to download).
</UL>
<P>
<H2><A NAME="ss2.2">2.2 Requirements</A></H2>
The following need to be installed:
<UL>
<LI>CodeWarrior (CW) 2 - obtainable from
<A HREF="http://www.metrowerks.com">Metrowerks</A>.
See <A HREF="#s3">Common Sticking Points</A> if you have a different
version.
</LI>
<LI>PowerPlant 1.8 - obtainable from the CodeWarrior CD.</LI>
<LI>MSL - the Metrowerks Standard Library, obtainable from the
CodeWarrior CD</LI>
<LI><A HREF="ftp://ftp.boingo.com//dan/WASTE/waste-13.hqx">WASTE
1.3</A></LI>
<LI><A HREF="http://www.bact.wisc.edu/CWASTEEdit/CWASTEEdit.sit.hqx">CWASTE
1.6.2</A></LI>
<LI>
<A HREF="ftp://ftp.scripting.com/userland/menuSharingToolkit4.1.sit.hqx">
Menu Sharing Toolkit</A> (from UserLand)</LI>
<LI>
<A HREF="ftp://ftp.digitalalchemy.com/pub/digitalalchemy/mercutio-SDK.sit.bin">
Mercutio 1.5 SDK</A> (only download the SDK, not the entire package, else
the access paths will be wrong)</LI>
<LI>
<A HREF="ftp://ftp.share.com/pub/internet-configuration/ICProgKit1.4.sit">
Internet Config 1.4 SDK</A></LI>
<LI><A HREF="http://www.mooseyard.com/Jens/Software/">AEGizmos
1.4.2</A></LI>
<LI><A HREF="ftp://sunsite.cnlab-switch.ch/software/platform/macos/perl/Mac_Perl_520r4_tool.bin">
MacPerl 5 MPW Tool</A></LI>
<LI>
<A HREF="ftp://sunsite.cnlab-switch.ch/software/platform/macos/perl/Mac_Perl_520r4_appl.bin">MacPerl 5 Application</A></LI>
<LI>MakeStub - MPW (installed with CodeWarrior Heaven option). If
you choose not to install MPW, it is located on the MacOS Tools CD
in "CW Pro 2 Tools:CodeWarrior MPW:MPW:Tools"</LI>
<LI>RunTSScript - in Mozilla source distribution
(mozilla:build:mac:RunTSScript), needs to be installed by hand</LI>
<LI><A HREF="ftp://dev.apple.com/devworld/Tool_Chest/Core_Mac_OS_Tools/MPW_etc./MPW-GM/MPW/ToolServer.sit.hqx">ToolServer</A>
- or in the CW distribution (CW Pro 2 Tools:Apple Development
Tools:ToolServer 3.4.1.sit). <B>We recommend pulling it off the
CD</B> because it comes with configuration files for CodeWarrior
which you would have to create manually were you to pull it off
the net.</LI>
<LI>
<A HREF="http://people.netscape.com/sfraser/software/NewAlias_tool.sit.hqx">
New Alias MPW Tool</A> An MPW tool that creates Finder aliases for files.
</LI>
<LI>StreamEdit MPW Tool - MPW (installed with CodeWarrior Heaven option). If
you choose not to install MPW, it is located on the MacOS Tools CD
in "CW Pro 2 Tools:CodeWarrior MPW:MPW:Tools"</LI>
</LI>
<LI>
<A HREF="ftp://dev.apple.com/devworld/Periodicals/develop/develop25/develop_Issue_25_code/ToolFrontEnd.sit.hqx">ToolFrontEnd</A></LI>
<LI>
<A HREF="http://sunsite.cnlab-switch.ch/ftp/software/platform/macos/src/HTML/MPW_C.html">
patch 2.1</A></LI>
</UL>
<P>
Hardware/OS
<UL>
<LI>To build Navigator, you need a fast PPC Mac. The faster the
better. You can't build with a 68K machine because we have too many
resources, and the build process will crash when trying to generate
resources out of our cross-platform strings. See the discussion below
for a way around this.
</LI>
<LI>You will need about 96 MB of physical RAM to "fast link" the app.
You can still fast link if you give your machine 96 MB of virtual
memory, but then the VM hit is large enough to counteract any
improvement. One of our beta testers had a machine with only 64MB of
physical RAM (VM was off) and it ran out of memory trying to link.
Turning VM on got it to link, but build time increased greatly.
</LI>
<LI>Reports from the net indicate that the optimized version
(MozillaPPC) take much less RAM to build than the 96MB we suggest. If
you are running out of memory, try building that instead of the debug
version (the debug symbols require a lot of RAM come link time).
</LI>
<LI>You should be ok with a 400MB disk partition, even when fully
built. This does not include tools like the IDE, just source.
</LI>
<LI>On an HFS+ volume, a full build takes about 110MB. HFS+ is good,
but utilities are sparse.
</LI>
</UL>
<P>
<H2><A NAME="ss2.3">2.3 Setup the Build Environment</A></H2>
<P>
<OL>
<LI>Install CodeWarrior from the CD. While it is large, installing
the "CodeWarrior Heaven" option will guarantee that you have
everything you need. This will give you PowerPlant, MSL, and MPW.
If you choose to install less, proceed at your own risk.</LI>
<LI>In the Finder, increase the memory partition of the IDE to
15MB (you can get by with 12, if need be).</LI>
<LI>Download ToolFrontEnd. After expanding it, in "ToolFrontEnd
Folder:Drop-Ins" there are three items:
<UL>
<LI><I>#include</I></LI>
<LI><I>ToolFrontEnd</I></LI>
<LI><I>ToolFrontEnd Panel</I></LI>
</UL>
<P>Create a folder named "Include Scanners". Place the file
"#include" into the Include Scanners folder. Move the Include
Scanners folder to the CodeWarrior Plugins folder. Create a folder
named "ToolFrontEnd". Place the files "ToolFrontEnd" and
"ToolFrontEnd Panel" into the ToolFrontEnd folder. Place this
folder in the CodeWarrior Plugins folder.</P></LI>
<LI>Open "ToolFrontEnd Panel" with ResEdit. Change the file type
from <B>'Panl'</B> to <B>'PanL'</B>. Save.</LI>
<LI>Uncompress the StuffIt Archive for ToolServer. The goal is to
let ToolServer and MPW share the same Tools directory so you don't
need to have multiple versions of tools. Do the following:
<OL>
<LI>Open ToolServer's Tools folder. There is one file called
"RMetrowerks". </LI>
<LI>Move RMetrowerks to Tools folder of MPW. MPW folder must be
at "Metrowerks:Codewarrior MPW:MPW" if you installed
Codewarrior Heaven. </LI>
<LI>Remove ToolServer's Tools folder.</LI>
<LI>Now create an alias of Tools folder in "CodeWarrior MPW"
and move it to your ToolServer folder. Rename the alias
(probably called "Tools alias") to "Tools"</LI>
<LI><FONT COLOR="#FF0000"><B>IMPORTANT</B></FONT>: Make sure
you only have one instance of ToolServer on your machine. If
the build script finds the wrong one, the correct tools will
not be found and strange things will happen.</LI>
</OL>
</LI>
<LI>After installing the MacPerl MPW Tool distribution (run the
InstallerVISE application), in the "MacPerl &#131;" folder, there
will be an MPW tool named "perl". Install this in MPW's tools
folder.</LI>
<LI>Install the MacPerl Application (run the
InstallerVISE application). You can install this anywhere, but it is
recommended that you install it inside of your CodeWarrior folder for
easy reference. After installation, you will need to set a preference
to enable double-click launch of the perl scripts. This preference is set
by going under the Edit Menu to Preferences. Click on the "Script" button
and hit the radio button "Run Scripts opened from Finder"</LI>
<LI>Install the "patch", "MakeStub", "NewAlias" and "StreamEdit" Tools in the
tools
folder. Note that "MakeStub" and "StreamEdit" are automatically installed by the
"CodeWarrior Heaven" install option.</LI>
<LI>Install RunTSScript (found in the Mozilla source distribution)
in the compilers folder in your build environment
("Metrowerks:Metrowerks Codewarrior:Codewarrior
Plugins:Compilers")</LI>
<LI>Next, after downloading all the 3rd party software components,
drag WASTE, CWASTE, Menu Sharing, Mercutio, Internet Config, and
the AEGizmo folders (just as they are) into the "MacOS Support"
folder in your build environment.</LI>
<LI>Start ToolServer from within CodeWarrior (or use MPW if you
are brave enough). We're about to patch some files. Make sure the
ToolServer menu is in the CodeWarrior menu bar by turning on the
<A HREF="IDEPrefs.gif">preference</A> under the "Extras" panel in
the IDE Preferences (not the project preferences!). The menu bar
should look like this:
<P><IMG SRC="IDEMenuBar.gif" WIDTH=359 HEIGHT=20 X-CLARIS-USEIMAGEWIDTH X-CLARIS-USEIMAGEHEIGHT ALIGN=bottom></P>
<P>Choose "Start ToolServer" from the ToolServer menu (this is the
icon menu between "Window" and "Help" in the menubar above). You
will now see a window with no close box. This is your ToolServer
Worksheet where you will type (or cut &amp; paste) the commands
for the following steps.</P>
<P>In case you have never used MPW/ToolServer before, the
following is <B>very important</B>. Pressing "return" does not
execute commands like you might think. It just inserts a newline
into the worksheet like a normal text editor. <B>To actually get
ToolServer to execute the command, you must press "Enter" (lower
right of numeric keypad).</B> This executes the line that the
cursor is on, and only that line. If you want to execute multiple
lines at once, select them all and hit Enter.</P></LI>
<LI>Set the shell variables {IDE} and {Source} to the correct
paths for your build environment. {IDE} is where your CodeWarrior
IDE is located. {Source} is the folder containing the toplevel
"ns" folder of the Mozilla source. Mine look like this (don't
forget to keep the quotes if your path includes spaces), yours
will almost certainly be different (<FONT COLOR="#FF0000">to
punctuate this, the things you need to change are in red</FONT>).
<PRE>Set IDE "<FONT COLOR="#FF0000">Develop:Source331 Build Environment:CW Pro 2:Metrowerks CodeWarrior:</FONT>"
Set Source "<FONT COLOR="#FF0000">Source:FreeSource:</FONT>"</PRE>
</LI>
<LI>If you are using CWPro2, execute the following lines to patch
LDropFlag to draw correcly over non-white backgrounds.
<PRE>directory "{IDE}MacOS Support:PowerPlant:_In Progress:_Table Classes:"
patch LDropFlag.cp "{Source}mozilla:lib:mac:patches:LDropFlag.patch"
duplicate -y "{Source}mozilla:lib:mac:patches:DropFlag Icons.rsrc" "{IDE}MacOS Support:PowerPlant:PowerPlant Resources:"</PRE></LI>
<LI>Execute the following lines to patch menusharing.c to allow it
to compile with the new Universal Headers. It references an
obsolete header file (GestaltEqu.h).
<PRE>directory "{IDE}MacOS Support:Menu Sharing Toolkit 4.1:"
patch menusharing.c "{Source}mozilla:lib:mac:patches:menusharing.patch"</PRE></LI>
<LI>If you are using CWPro2 straight off the CD, you need to patch
AppleEvents.r to fix a problem with the Universal Headers (the
definition of the 'aedt' resource was omitted). <B>You do not have
to do this if you have applied the netborne patch to Pro2e
</B> because it has been fixed.
<PRE>directory "{IDE}MacOS Support:Headers:Rez Headers:"
patch AppleEvents.r "{Source}mozilla:lib:mac:patches:AppleEvents.r.patch"</PRE></LI>
<LI>You need to patch stat.mac.h to fix a problem in MSL where
lines were omitted.
<PRE>directory "{IDE}Metrowerks Standard Library:MSL C:MSL Mac:Public Includes"
patch stat.mac.h "{Source}mozilla:lib:mac:patches:stat.mac.h.patch"</PRE></LI>
<LI>Congratulations! Now you are ready to build. Once these steps
are done, you don't have to repeat these setups the next
time!</LI>
</OL>
<P>
<H2><A NAME="ss2.4">2.4 Run the build </A></H2>
<UL>
<P>In the folder mozilla:build:mac:, there are several Perl scripts with
names of the form BuildMozillaXXX.pl, where XXX is "Optimized",
"Debug", "Tinderbox", et al. Each script builds the corresponding
version of Mozilla. If you configured the MacPerl application to
execute scripts that are opened from the finder, all you have to do is
double click on the appropriate one; otherwise, launch MacPerl, and
run the appropriate script from the "Run Script..." menu item.</P>
<P>These `configured build' scripts are simple, and you might want to
make your own to force your build to StopForErrors(), or alternatively
DontStopForErrors(), et al. You can set up certain build-script
variables and (soon) compile-time flags. Compare the supplied scripts
to figure out what you might want. Note that CodeWarriorLib, Moz.pm,
and BuildList.pm, are AppleScript libraries and Perl modules meant to
be used by a `configured build'. Use your favorite POD viewer (Shuck
comes with MacPerl) to view the documentation in the Perl scripts.</P>
<P>If there were any errors in any of the projects along the way, the
script will stop at that point and the IDE will tell you the errors.
You can fix them and make sure they current project builds, but to
continue the automation, you have to start from the beginning by
double-clicking the script again. This isn't quite as bad as it
sounds because the previous projects are already built (unless you
changed some major header file). Please note that stopping the script
once it has started is difficult. We are working to address
this issue.</P>
<P>After the build is complete, you can find aliases to the built libraries
and the final Mozilla application. Debug builds are built to
Mozilla:dist:client_debug, while optimized builds are built to Mozilla:dist:client.
</P>
<P>Don't worry too much about the numerous warnings generated during
the build. We try our best to get the XP teams to use real compilers,
but alas, they continue to write warning-laden code. There is also
some generated code (Java is one example) that has a lot of warnings
that we can't help either. If you write any new code, please help us
in our quest to get zero warnings.</P>
</UL>
</UL>
<HR>
<H2><A NAME="s3">3. Common Sticking Points</A></H2>
<UL>
<LI><B>I have CodeWarrior3, how do i build with it?</B>
<UL> Currently, the answer is, "You don't." Eventually, the distribution
will be modified to allow building using CodeWarrior3, but for now
CodeWarrior2 is the only IDE that is supported.
</UL>
</LI>
</UL>
<HR>
<H2><A NAME="s4">4. Credits</A></H2>
<UL>
The majority of this document is taken from the build document included
in the Mozilla source distribution at README:mozilla:macbuild.htm written
by Mike Pinkerton, <A HREF="mailto:pinkerton@netscape.com">
pinkerton@netscape.com</A>.
</BODY>
</HTML>

View File

@@ -0,0 +1,163 @@
<HTML>
<HEAD>
<TITLE>Building the Mozilla client on unix platforms</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B"
ALINK="#FF0000">
<HR>
<H1>Building the Mozilla client on Unix platforms</H1>
<H2>
Daniel Nunes, <TT><A HREF="mailto:leaf@mozilla.org">leaf@mozilla.org</A></TT></H2>
v 1.2, 1998-11-02
<P>
<HR><I>How to build Mozilla on a Unix System.</I>
<HR>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI>
<A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI>
<A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI>
<A HREF="#ss2.3">2.3 Build the Lizard</A></LI>
<LI>
<A HREF="#ss2.4">2.4 After the Build</A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>
<P>
Perhaps you are interested in building classic Mozilla, before the
fall of the old layout engine, and the rise of the new. If so, the
<B><A HREF="classic-unix.html">Classic Mozilla Build document</A></B>
is what you're looking for.
<P>
<P>
What this document is: A guide to building the Mozilla application.
<BR>
This includes:
<OL>
<LI> A listing of the development tools you will need to build Mozilla. </LI>
<LI> A sample set of commands to build Mozilla using the Autoconf
build system. </LI>
</OL>
<P>
If you're looking for documentation on developing features or fixing bugs,
the Mozilla
<A HREF="../tplist.html">Technical Documents</A> or
<A HREF="../../../library.html"> Library </A>
are probably what you're looking for.
<P>
<HR>
<H2><A NAME="s2">2. Building Mozilla </A></H2>
<P>
<UL>Each of the following subsections describes, or gives references to
descriptions of, the steps necessary to build Mozilla.
</UL>
<UL>
<H2><A NAME="ss2.1">2.1 Get the Code</A></H2>
<P>
<UL>
Eventually, there will be two principal ways of getting the code,
<A HREF="../../../download.html"> ftp</A> and
<A HREF="../../../cvs.html"> CVS</A>.
CVS will provide the most current code for building, but is
slower than ftp. Ftp drops are generally produced once per month,
and are known to compile on some machine, somewhere.
<B>For now</B>, however, you must do the following to obtain the newest
browser source:
<BR>
<CODE>
cvs co mozilla/nglayout.mk<BR>
cd mozilla<BR>
gmake -f nglayout.mk pull_all<BR>
</CODE>
<BR>
This should pull all the right source.
</UL>
<P>
<H2><A NAME="ss2.2">2.2 Requirements</A></H2>
<UL>
The following should be installed:
<UL>
<LI>Motif 1.2
<LI>The native C/C++ compiler (or GNU C/C++ compiler 2.7.2 in lieu of the
native compiler)
<LI>GNU make 3.74 or better
<LI>Perl5
<LI><A HREF="../../../projects/autoconf/">Autconf</A> requirements,
including NSPR.
<LI><CODE>LD_LIBRARY_PATH</CODE> must include the path to the NSPR
shared objects.<BR>
For most people, this means adding <CODE>/usr/local/nspr/lib</CODE>
to <CODE>LD_LIBRARY_PATH</CODE>
(either:
<BR>
<CODE>setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/local/nspr/lib</CODE>
<BR>
or
<BR>
<CODE>export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/nspr/lib</CODE>
.<BR>
If you get an error like "No such variable" then omit the
<CODE>${LD_LIBRARY_PATH}:</CODE> part
)
</UL>
<P>
Your hardware should be equal to, or better than:
<UL>
32 MB RAM, 128 MB swap (64 MB RAM recommended)
</UL>
</UL>
<P>
<H2><A NAME="ss2.3">2.3 Build the Lizard</A></H2>
<P>
<UL>
<CODE>
autoconf<BR>
mkdir obj-`./build/autoconf/config.guess`<BR>
cd obj-`./build/autoconf/config.guess`<BR>
../configure --with-nspr=/usr/local/nspr --enable-toolkit=motif<BR>
gmake depend<BR>
gmake<BR>
</CODE>
</UL>
<H2><A NAME="ss2.4">2.4 After the build </A></H2>
<UL>
<LI> <CODE>cd dist/bin</CODE> and you should see links to the objects you
need to run <CODE>main</CODE>.
<LI>On most unixen LD_LIBRARY_PATH must be set to wherever the necessary
libraries are.
<UL>
<LI>On HP-UX, the equivalent environment variable is <CODE>SHLIB_PATH</CODE>.
<LI>On AIX, the equivalent environment variable is <CODE>LIBPATH</CODE>.
</UL>
</UL>
</UL>
<HR>
<H2><A NAME="s3">3. Common Sticking Points</A></H2>
<LI>I'm sure there are bound to be some. Send
<A HREF="mailto:leaf@mozilla.org"> me</A> mail.
<HR>
</BODY>
</HTML>

View File

@@ -0,0 +1,209 @@
<HTML>
<HEAD>
<TITLE>Building Mozilla on Microsoft Windows 32-bit platforms</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B"
ALINK="#FF0000">
<HR>
<H1>
Building Mozilla on Microsoft Windows 32-bit platforms</H1>
<H2>
Daniel Nunes, <TT><A HREF="mailto:leaf@netscape.com">leaf@netscape.com</A></TT>
</H2>
v 1.0, June 1998
<P>
<HR><I>How to build Mozilla on a Microsoft Windows 32-bit System.</I>
<HR>
<H2>1. <A HREF="#s1">Introduction</A></H2>
<H2>2. <A HREF="#s2">Building Mozilla</A></H2>
<UL>
<LI>
<A HREF="#ss2.1">2.1 Get the Code </A></LI>
<LI>
<A HREF="#ss2.2">2.2 Requirements</A></LI>
<LI>
<A HREF="#ss2.3">2.3 Set up the Build Environment</A></LI>
<LI>
<A HREF="#ss2.4">2.4 Build the Lizard </A></LI>
</UL>
<H2>3. <A HREF="#s3"> Common Problems </A></H2>
<HR>
<H2><A NAME="s1">1. Introduction</A></H2>
<P>
What this document is: A guide to building the Mozilla application.
<BR>
This includes:
<OL>
<LI> A listing of the development tools you will need to build Mozilla. </LI>
<LI> A list of environment variables you will need to set before building. </LI>
</OL>
<P>
If you're looking for documentation on developing features or fixing bugs,
the Mozilla
<A HREF="http://www.mozilla.org/docs/tplist/tplist.html">Technical Documents
</A> or <A HREF="http://www.mozilla.org/library.html"> Library </A>
are probably what you're looking for.
<P>
<HR>
<H2><A NAME="s2">2. Building Mozilla </A></H2>
<P>
<UL>Each of the following subsections describes, or gives references to
descriptions of, the steps necessary to build Mozilla.
<H2><A NAME="ss2.1">2.1 Get the Code</A></H2>
<P>
<UL>
There are two principal ways of getting the code,
<A HREF="http://www.mozilla.org/download.html"> ftp</A> and
<A HREF="http://www.mozilla.org/cvs.html"> CVS</A>.
CVS will provide the least outdated code for building, but is
slower than ftp.
</UL>
<P>
<H2><A NAME="ss2.2">2.2 Requirements</A></H2>
<UL>
The following need to be installed:
<UL>
<LI>Microsoft Visual C++ version 4.2 or later
<LI>GNU Tools for Microsoft Windows, located:
<UL>
<LI><A HREF="http://www.cygnus.com/misc/gnu-win32">Cygnus</A></LI>
<LI><A HREF="http://www.gnu.org/order/ftp.html">GNU home page</A></LI>
<LI><A HREF="ftp://prep.ai.mit.edu/pub/gnu">MIT</A></LI>
</UL>
Specifically, you'll need:
<UL><CODE>
cp.exe<BR>
rm.exe<BR>
uname.exe<BR>
</CODE>
</UL>
Netscape has internally modified version of gmake, shmsdos and win32gnu
that we use to get around some problems we were having keeping in sync
with the Unix version of gmake. This version of gmake can be found in the
Windows Build Tools package, which can be ftp'd from
<A HREF="http://www.mozilla.org/download-mozilla.html"> the Mozilla
Download page</A>.
The three files you will need are:
<UL><CODE>
gmake.exe<BR>
shmsdos.exe<BR>
uname.exe<BR>
</CODE>
</UL>
</UL>
<P>
Hardware/OS
<UL>
<LI>Pentium 133 MHz or better</LI>
<LI>64 MB RAM, 128 MB recommended</LI>
<LI>250 MB NTFS or 500 MB FAT disk space</LI>
<LI>NT 4.0 is preferred; NT 3.51 will also work.
</LI>
</UL>
</UL>
<P>
<H2><A NAME="ss2.3">2.3 Setup the Build Environment</A></H2>
<P>
<UL>
The following environment variables need to be set:
<UL>
<CODE>
set MOZ_BITS=32
<BR>
set MOZ_DEBUG=1 (set this only if you want to build a debug build)
<BR>
set MOZ_GOLD=1
<BR>
set MOZ_MEDIUM=1
<BR>
set MOZ_NT=351 (if running NT3.51)
<BR>
set MOZ_OUT=(optional: specifies location of resultant executable)
<BR>
set MOZ_SRC=(top of your tree, for example: set MOZ_SRC=d:\mozilla_source
if this is the directory where you checked or unzipped the source into)
<BR>
set MOZ_TOOLS=(location of the bin directory of your GNU tools. The build
looks for MOZ_TOOLS\bin\gmake.exe, so make sure that the gmake.exe from
the Windows Build Tools package resides there.)
<BR>
set NO_SECURITY=1
<BR>
set NSPR20=1
<BR>
set _MSC_VER=1100 (if you are running VC++ 5.0 or higher)
<BR>
</CODE>
</UL>
<BR>
<P>
</UL>
<H2><A NAME="ss2.4">2.4 Run the build </A></H2>
<UL>
Change to the directory you copied the source into (for example,
<CODE>cd d:\mozilla_source</CODE>). If this directory was empty before you
installed the source, there should be two directories here:
<CODE>README</CODE> and <CODE>mozilla</CODE>.
<CODE>
<PRE>
cd mozilla\config
nmake /f makefile.win
cd ..
nmake /f client.mak
</PRE>
</CODE>
</UL>
</UL>
<HR>
<H2><A NAME="s3">3. Common Sticking Points</A></H2>
<UL>
<LI><B>nmake has a 'fatal error', listing one of the GNU commands and a
hexadecimal return code.</B>
<UL>
This will happen as a result of not having the GNU tools and Windows Build
tools in your path. Add the directories with the appropriate binaries to your
path.
</UL>
</LI>
<LI>
<B>It fails with the message "'.\WIN32' unexpected": </B>
<UL>
You didn't properly
set the environment variables -- you must not include a space at the end
of the set statements (be careful if you are cut'n'pasting).
</UL>
</LI>
<LI>
<B>It fails to build, with directory-related errors: </B>
<UL>
The full path
to the source must not include any spaces. Additionally, the source must
be extracted with an intact directory structure by a utility that understands
long filenames. If in doubt, grab Info-Zip at
<A HREF="ftp://ftp.cdrom.com/pub/infozip">ftp://ftp.cdrom.com/pub/infozip</A>
</UL>
</LI>
<LI>
<B>I'm not running a 32-bit windows system, how do i build?</B>
<UL>
Currently, the build process depends on a 32-bit operating system.
Windows NT 4.0 is the recommended windows operating system.
</UL>
</UL>
<HR>
</BODY>
</HTML>

View File

@@ -0,0 +1,53 @@
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Author" CONTENT="Chris Yeh">
<META NAME="GENERATOR" CONTENT="Mozilla/4.05 [en]C-NSCP (WinNT; U) [Netscape]">
<TITLE>Running Mozilla...</TITLE>
</HEAD>
<BODY>
<H2>
<FONT FACE="Arial,Helvetica">Running Mozilla Without Trashing Netscape
Installation</FONT></H2>
This document explains how to run <TT>mozilla.exe</TT> separately from
<TT>netscape.exe</TT> without trashing your regular installation of Netscape
Communicator. This is necessary if, for example, you want to use Communicator's
mail client while you work on Mozilla development.
<BR>
<HR WIDTH="100%">
<OL>
<LI>
Before running <TT>mozilla.exe</TT>, create a new user profile either from
a Netscape 4.0x installation using the "User Profile Manager" shortcut
in the Utilities folder (on Windows) or by using&nbsp; the <TT>-new_account</TT>
option on the command line of either <TT>netscape.exe</TT> or <TT>mozilla.exe</TT>.&nbsp;
We suggest calling the profile "<TT>mozilla</TT>."</LI>
<LI>
Always use that new account when running <TT>mozilla.exe</TT>, and never
run <TT>netscape.exe</TT> using that same account profile.</LI>
</OL>
To make things easier, you can start the application with the user account
on the command line, for example:
<UL><TT>mozilla.exe -P"mozilla"</TT></UL>
This assures that prefs and the cache will not interfere between the two
versions. This will be especially
<BR>important as new prefs are added to the Mozilla product. Note that
you must use quotes around the name and there can be no space between the
"P" and the profile name. Otherwise, the application won't catch the profile
switch, and it will try to load the profile name as the initial URL.
<P>
<HR WIDTH="100%">
<BR>You can copy your <TT>bookmark.htm</TT> file from an existing profile
to your new profile directory if you want to share bookmarks.
<P>After the initial 3/31 release, we will add some code to Mozilla to
prevent running with a profile that is already being used by <TT>netscape.exe</TT>.
<BR>&nbsp;
<HR WIDTH="100%">
<BR><FONT SIZE=-1>Copyright &copy; 1998 <A HREF="http://home.netscape.com/misc/contact_info.html">Netscape
Communications Corporation</A></FONT>
</BODY>
</HTML>

View File

@@ -0,0 +1,184 @@
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=x-mac-roman">
<META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (WinNT; I) [Netscape]">
<META NAME="KeyWords" CONTENT="client, source, documentation">
<META NAME="Author" CONTENT="Kipp E.B. Hickman">
<TITLE>NGLayout Windows Build Instructions</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H2>
<FONT FACE="Arial,Helvetica">NGLayout Windows Build Instructions</FONT></H2>
This document explains how to build NGLayout for the Windows platform.&nbsp;
<HR><B><FONT SIZE=+1>Required Tools:</FONT></B>
<UL>
<LI>
<B>Microsoft Visual C++ version 4.2 or later</B></LI>
<LI>
<B>The same set of tools for building <A HREF="http://www.mozilla.org/docs/tplist/catBuild/winbuild.htm">Mozilla</A></B></LI>
</UL>
<B><FONT SIZE=+1>Setting up:</FONT></B>
<UL>
<LI>
You need a Pentium with at least a 133 MHz processor and at least 250 megs
(NTFS partition) or 500 megs (FAT partition) of hard drive space. You need
to have a minimum of 64 megs of memory in order to build this tree. These
numbers are approximations.</LI>
<LI>
The preferred platform is NT 4.0. NT 3.51 will also work, and Win95 might
work if you're lucky. Maybe.</LI>
<LI>
Install MSVC. If you don't choose to have the MSVC install modify your
environment variables for PATH, INCLUDE, and LIB information, be sure to
run VCVARS32.BAT out of the MSVC bin directory prior to attempting to build.</LI>
<LI>
Download and install GNU tools. Put them in your path.</LI>
<LI>
Install NGLayout source.</LI>
<UL>
<LI>
cd &lt;your-source-area></LI>
<LI>
unzip -o -q win-19980415.zip</LI>
</UL>
<LI>
There are several environment variables you will need to set, either manually
or via a script within a command session, or by setting them in your system
environment located through the Control Panel | System icon.</LI>
<P>&nbsp;<B>Note: There is an additional variable for building NGLayout!
Use this list carefully!</B>
<P>&nbsp;The variables are:
<UL>
<LI>
set MOZ_BITS=32</LI>
<LI>
set MOZ_DEBUG=1 (don't set this if you want to build an optimized release
build)</LI>
<LI>
set MOZ_GOLD=1</LI>
<LI>
set MOZ_MEDIUM=1</LI>
<LI>
set MOZ_NT=351 (if running NT 3.51, don't set otherwise)</LI>
<LI>
set MOZ_OUT=(location of resulting executable and totally optional, see
Notes for more details)</LI>
<LI>
set MOZ_SRC=(top of your tree, drive letter and path, i.e. set MOZ_SRC=d:\mozilla_src.
The topmost directory under this should be mozilla)</LI>
<LI>
set MOZ_TOOLS=(location of the bin directory containing your GNU tools.
The build looks for MOZ_TOOLS\bin\gmake.exe, so make sure your MOZ_TOOLS
is figured appropriately)</LI>
<LI>
set NO_SECURITY=1</LI>
<LI>
set NSPR20=1</LI>
<LI>
if you are running VC++ 5.0 or higher: set _MSC_VER=1100; if you are running
VC++ 4.2 then set MOZ_VCVER=42</LI>
<LI>
<B>set STANDALONE_IMAGE_LIB=1</B></LI>
<LI>
<B>set MODULAR_NETLIB=1</B></LI>
</UL>
</UL>
<B><FONT SIZE=+1>Building:</FONT></B>
<UL>
<LI>
You need to be running a vanilla command prompt. Other shells may work,
but you might have to tweak makefiles.</LI>
<LI>
<B>Build the tools:</B> This generates several tools that handle things
like dependency generation</LI>
<UL>
<LI>
cd mozilla\config</LI>
<LI>
nmake /f makefile.win</LI>
</UL>
<LI>
<B>Build the NGLayout:</B> This will do a complete build of the source
tree. You will end up with a viewer.exe at the end. The viewer.exe will
be in your dist\win32_[OD].obj\bin directory (O will be used when you don't
set MOZ_DEBUG; D will be used when you set MOZ_DEBUG).</LI>
<UL>
<LI>
cd mozilla</LI>
<LI>
nmake /f nglayout.mak</LI>
</UL>
</UL>
<B><FONT SIZE=+1>Running:</FONT></B>
<UL>
<LI>
Once you have built the system, do this to run the viewer program (the
viewer program is a simple test program that uses the nsIWebWidget API
to embed a web widget object). The viewer program has a few basic menu
items, include "Samples" which load sample tests.</LI>
<UL>
<LI>
cd mozilla\dist\win32_[OD].obj\bin</LI>
<LI>
.\viewer.exe</LI>
</UL>
</UL>
<B><FONT SIZE=+1>Notes:</FONT></B>
<UL>
<LI>
This build process does not use Visual C++ generated project files for
several reasons having to do with (among other things) size, maintainability,
and the long term desire to start using more of tools like gmake, or plug
and play developer tools. This does not preclude you from using the Visual
C++ IDE, or it's debugger. Once you have built a viewer.exe do this to
run it under the debugger:</LI>
</UL>
<UL>
<UL>
<LI>
cd mozilla\dist\win32_[OD].obj\bin</LI>
<LI>
msdev viewer.exe</LI>
</UL>
</UL>
<HR WIDTH="100%">
<CENTER><FONT SIZE=-1>Copyright &copy; 1998 <A HREF="http://home.netscape.com/misc/contact_info.html">Netscape
Communications Corporation</A></FONT></CENTER>
&nbsp;
</BODY>
</HTML>

10
mozilla/aclocal.m4 vendored Normal file
View File

@@ -0,0 +1,10 @@
dnl
dnl Local autoconf macros used with mozilla
dnl The contents of this file are under the Public Domain.
dnl
builtin(include, build/autoconf/glib.m4)dnl
builtin(include, build/autoconf/gtk.m4)dnl
builtin(include, build/autoconf/libIDL.m4)dnl
builtin(include, build/autoconf/altoptions.m4)dnl

476
mozilla/allmakefiles.sh Executable file
View File

@@ -0,0 +1,476 @@
#! /bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All Rights
# Reserved.
#
# allmakefiles.sh - List of all makefiles.
# Appends the list of makefiles to the variable, MAKEFILES.
# There is no need to rerun autoconf after adding makefiles.
# You only need to run configure.
#
# Unused makefiles may be commented out with '#'.
# ('#' must be the first character on the line).
# add_makefiles - Shell function to add makefiles to MAKEFILES
add_makefiles() {
while read line; do
case $line in
\#*|dnl*) ;;
*) MAKEFILES="$MAKEFILES $line" ;;
esac
done
}
if [ -z "${srcdir}" ]; then
srcdir=.
fi
add_makefiles <<END_NGMAKEFILES
Makefile
build/Makefile
build/unix/Makefile
build/unix/nspr_my_config.mk
build/unix/nspr_my_overrides.mk
build/package/rpm/mozilla.spec
build/package/rpm/nspr-pthreads.spec
config/Makefile
config/autoconf.mk
config/mkdepend/Makefile
config/mkdetect/Makefile
dbm/Makefile
dbm/include/Makefile
dbm/src/Makefile
dbm/tests/Makefile
dom/Makefile
dom/public/Makefile
dom/public/base/Makefile
dom/public/coreDom/Makefile
dom/public/coreEvents/Makefile
dom/public/css/Makefile
dom/public/events/Makefile
dom/public/range/Makefile
dom/public/html/Makefile
dom/src/Makefile
dom/src/base/Makefile
dom/src/build/Makefile
dom/src/coreDOM/Makefile
dom/src/css/Makefile
dom/src/events/Makefile
dom/src/range/Makefile
dom/src/html/Makefile
dom/src/jsurl/Makefile
dom/tools/Makefile
editor/Makefile
editor/public/Makefile
editor/idl/Makefile
editor/txmgr/Makefile
editor/txmgr/public/Makefile
editor/txmgr/src/Makefile
editor/txmgr/tests/Makefile
editor/txtsvc/Makefile
editor/txtsvc/public/Makefile
editor/txtsvc/src/Makefile
expat/Makefile
expat/xmlparse/Makefile
expat/xmltok/Makefile
extensions/Makefile
extensions/wallet/Makefile
extensions/wallet/public/Makefile
extensions/wallet/src/Makefile
# extensions/wallet/module/Makefile
extensions/pics/Makefile
extensions/pics/public/Makefile
extensions/pics/src/Makefile
extensions/pics/tests/Makefile
gfx/Makefile
gfx/public/Makefile
gfx/src/Makefile
gfx/src/gtk/Makefile
gfx/src/ps/Makefile
gfx/src/motif/Makefile
gfx/src/photon/Makefile
gfx/src/rhapsody/Makefile
gfx/src/xlib/Makefile
gfx/tests/Makefile
htmlparser/Makefile
htmlparser/robot/Makefile
htmlparser/src/Makefile
htmlparser/tests/Makefile
htmlparser/tests/grabpage/Makefile
htmlparser/tests/logparse/Makefile
include/Makefile
intl/Makefile
intl/chardet/Makefile
intl/chardet/public/Makefile
intl/chardet/src/Makefile
intl/uconv/Makefile
intl/uconv/public/Makefile
intl/uconv/src/Makefile
intl/uconv/tests/Makefile
intl/uconv/ucvja/Makefile
intl/uconv/ucvlatin/Makefile
intl/uconv/ucvja2/Makefile
intl/uconv/ucvcn/Makefile
intl/uconv/ucvtw/Makefile
intl/uconv/ucvtw2/Makefile
intl/uconv/ucvko/Makefile
intl/locale/Makefile
intl/locale/public/Makefile
intl/locale/src/Makefile
intl/locale/src/unix/Makefile
intl/locale/tests/Makefile
intl/lwbrk/Makefile
intl/lwbrk/src/Makefile
intl/lwbrk/public/Makefile
intl/lwbrk/tests/Makefile
intl/unicharutil/Makefile
intl/unicharutil/src/Makefile
intl/unicharutil/public/Makefile
intl/unicharutil/tests/Makefile
intl/unicharutil/tools/Makefile
intl/strres/Makefile
intl/strres/public/Makefile
intl/strres/src/Makefile
intl/strres/tests/Makefile
jpeg/Makefile
js/Makefile
#js/jsd/Makefile
#js/jsd/classes/Makefile
js/src/Makefile
js/src/fdlibm/Makefile
js/src/liveconnect/Makefile
js/src/liveconnect/classes/Makefile
# js/src/xpcom/Makefile
js/src/xpconnect/Makefile
js/src/xpconnect/public/Makefile
js/src/xpconnect/idl/Makefile
js/src/xpconnect/shell/Makefile
js/src/xpconnect/src/Makefile
js/src/xpconnect/tests/Makefile
js/src/xpconnect/tests/components/Makefile
js/src/xpconnect/shell/Makefile
# js/src/xpconnect/md/Makefile
# js/src/xpconnect/md/unix/Makefile
# js/src/xpconnect/test/Makefile
layout/Makefile
layout/base/Makefile
layout/base/public/Makefile
layout/base/src/Makefile
layout/base/tests/Makefile
layout/build/Makefile
layout/events/Makefile
layout/events/public/Makefile
layout/events/src/Makefile
layout/html/Makefile
layout/html/base/Makefile
layout/html/base/src/Makefile
layout/html/content/Makefile
layout/html/content/public/Makefile
layout/html/content/src/Makefile
layout/html/document/Makefile
layout/html/document/public/Makefile
layout/html/document/src/Makefile
layout/html/forms/Makefile
layout/html/forms/public/Makefile
layout/html/forms/src/Makefile
layout/html/style/Makefile
layout/html/style/public/Makefile
layout/html/style/src/Makefile
layout/html/table/Makefile
layout/html/table/public/Makefile
layout/html/table/src/Makefile
layout/html/tests/Makefile
layout/tools/Makefile
layout/xml/Makefile
layout/xml/content/Makefile
layout/xml/content/public/Makefile
layout/xml/content/src/Makefile
layout/xml/document/Makefile
layout/xml/document/public/Makefile
layout/xml/document/src/Makefile
layout/xul/Makefile
layout/xul/base/Makefile
layout/xul/base/src/Makefile
layout/xul/content/Makefile
layout/xul/content/src/Makefile
# lib/liblayer/Makefile
# lib/liblayer/include/Makefile
# lib/liblayer/src/Makefile
lib/libpwcac/Makefile
lib/xp/Makefile
modules/libimg/Makefile
# modules/libimg/classes/Makefile
# modules/libimg/classes/netscape/Makefile
# modules/libimg/classes/netscape/libimg/Makefile
modules/libimg/png/Makefile
modules/libimg/public/Makefile
modules/libimg/public_com/Makefile
modules/libimg/src/Makefile
modules/libimg/gifcom/Makefile
modules/libimg/jpgcom/Makefile
modules/libimg/pngcom/Makefile
modules/libjar/Makefile
modules/libpref/Makefile
modules/libpref/admin/Makefile
modules/libpref/l10n/Makefile
modules/libpref/public/Makefile
modules/libpref/src/Makefile
modules/libreg/Makefile
modules/libreg/include/Makefile
modules/libreg/src/Makefile
modules/libutil/Makefile
modules/libutil/public/Makefile
modules/libutil/src/Makefile
modules/oji/Makefile
modules/oji/public/Makefile
modules/oji/src/Makefile
modules/plugin/Makefile
modules/plugin/nglsrc/Makefile
modules/plugin/public/Makefile
modules/plugin/src/Makefile
modules/plugin/test/Makefile
modules/security/freenav/Makefile
modules/zlib/Makefile
modules/zlib/src/Makefile
nav-java/Makefile
nav-java/stubs/Makefile
nav-java/stubs/include/Makefile
nav-java/stubs/jri/Makefile
nav-java/stubs/src/Makefile
network/Makefile
network/cache/Makefile
network/cache/nu/Makefile
network/cache/nu/include/Makefile
network/cache/nu/public/Makefile
network/cache/nu/src/Makefile
network/cache/nu/tests/Makefile
network/cache/nu/tests/fftest/Makefile
network/client/Makefile
network/cnvts/Makefile
network/cstream/Makefile
network/main/Makefile
network/mimetype/Makefile
network/public/Makefile
network/module/Makefile
network/module/tests/Makefile
network/protocol/Makefile
network/protocol/about/Makefile
network/protocol/callback/Makefile
network/protocol/dataurl/Makefile
network/protocol/file/Makefile
network/protocol/ftp/Makefile
network/protocol/gopher/Makefile
network/protocol/http/Makefile
network/protocol/js/Makefile
network/protocol/ldap/Makefile
network/protocol/marimba/Makefile
network/protocol/remote/Makefile
network/protocol/sockstub/Makefile
network/util/Makefile
profile/Makefile
profile/src/Makefile
profile/public/Makefile
profile/resources/Makefile
rdf/Makefile
rdf/base/Makefile
rdf/base/idl/Makefile
rdf/base/public/Makefile
rdf/base/src/Makefile
rdf/brprof/Makefile
rdf/brprof/public/Makefile
rdf/brprof/src/Makefile
rdf/brprof/build/Makefile
rdf/chrome/Makefile
rdf/chrome/build/Makefile
rdf/chrome/public/Makefile
rdf/chrome/src/Makefile
rdf/util/Makefile
rdf/util/public/Makefile
rdf/util/src/Makefile
rdf/resources/Makefile
rdf/build/Makefile
rdf/content/Makefile
rdf/content/public/Makefile
rdf/content/src/Makefile
rdf/datasource/Makefile
rdf/datasource/public/Makefile
rdf/datasource/src/Makefile
rdf/tests/Makefile
rdf/tests/localfile/Makefile
rdf/tests/rdfsink/Makefile
rdf/tests/rdfcat/Makefile
rdf/tests/rdfpoll/Makefile
sun-java/Makefile
sun-java/stubs/Makefile
sun-java/stubs/include/Makefile
sun-java/stubs/jri/Makefile
sun-java/stubs/src/Makefile
caps/Makefile
caps/include/Makefile
caps/public/Makefile
caps/src/Makefile
view/Makefile
view/public/Makefile
view/src/Makefile
webshell/Makefile
webshell/public/Makefile
webshell/src/Makefile
webshell/tests/Makefile
webshell/tests/viewer/Makefile
webshell/tests/viewer/public/Makefile
webshell/embed/Makefile
widget/Makefile
widget/public/Makefile
widget/src/Makefile
widget/src/build/Makefile
widget/src/gtk/Makefile
widget/src/motif/Makefile
widget/src/photon/Makefile
widget/src/rhapsody/Makefile
widget/src/xlib/Makefile
widget/src/xpwidgets/Makefile
widget/tests/Makefile
widget/tests/scribble/Makefile
widget/tests/widget/Makefile
#
# New xpcom hiearchy
#
xpcom/Makefile
xpcom/base/Makefile
xpcom/build/Makefile
xpcom/components/Makefile
xpcom/ds/Makefile
# xpcom/idl/Makefile
xpcom/io/Makefile
xpcom/typelib/Makefile
xpcom/reflect/Makefile
xpcom/typelib/xpt/Makefile
xpcom/typelib/xpt/public/Makefile
xpcom/typelib/xpt/src/Makefile
xpcom/typelib/xpt/tests/Makefile
xpcom/typelib/xpt/tools/Makefile
xpcom/typelib/xpidl/Makefile
xpcom/reflect/xptcall/Makefile
xpcom/reflect/xptcall/public/Makefile
xpcom/reflect/xptcall/src/Makefile
xpcom/reflect/xptcall/src/md/Makefile
xpcom/reflect/xptcall/src/md/test/Makefile
xpcom/reflect/xptcall/src/md/unix/Makefile
xpcom/reflect/xptcall/tests/Makefile
xpcom/reflect/xptinfo/Makefile
xpcom/reflect/xptinfo/public/Makefile
xpcom/reflect/xptinfo/src/Makefile
xpcom/reflect/xptinfo/tests/Makefile
xpcom/proxy/Makefile
xpcom/proxy/public/Makefile
xpcom/proxy/src/Makefile
xpcom/proxy/tests/Makefile
# xpcom/public/Makefile
xpcom/sample/Makefile
# xpcom/src/Makefile
xpcom/tests/Makefile
xpcom/tests/dynamic/Makefile
xpcom/tests/services/Makefile
xpcom/threads/Makefile
xpcom/tools/Makefile
xpcom/tools/registry/Makefile
#
# End of xpcom Makefiles
#
silentdl/Makefile
xpinstall/Makefile
xpinstall/public/Makefile
xpinstall/src/Makefile
xpfe/Makefile
xpfe/AppCores/Makefile
xpfe/AppCores/public/Makefile
xpfe/AppCores/src/Makefile
xpfe/AppCores/xul/Makefile
xpfe/AppCores/idl/Makefile
xpfe/browser/Makefile
xpfe/browser/public/Makefile
xpfe/browser/src/Makefile
xpfe/browser/samples/Makefile
xpfe/browser/samples/sampleimages/Makefile
xpfe/components/Makefile
xpfe/components/public/Makefile
xpfe/components/sample/Makefile
xpfe/components/sample/public/Makefile
xpfe/components/sample/src/Makefile
xpfe/components/sample/resources/Makefile
xpfe/components/bookmarks/Makefile
xpfe/components/bookmarks/public/Makefile
xpfe/components/bookmarks/src/Makefile
xpfe/components/bookmarks/resources/Makefile
xpfe/components/find/Makefile
xpfe/components/find/public/Makefile
xpfe/components/find/src/Makefile
xpfe/components/find/resources/Makefile
xpfe/components/history/Makefile
xpfe/components/history/src/Makefile
xpfe/components/history/public/Makefile
xpfe/components/history/resources/Makefile
xpfe/components/prefwindow/Makefile
xpfe/components/prefwindow/src/Makefile
xpfe/components/prefwindow/public/Makefile
xpfe/components/prefwindow/resources/Makefile
xpfe/components/prefwindow/resources/content/Makefile
xpfe/components/prefwindow/resources/skin/Makefile
xpfe/components/related/Makefile
xpfe/components/related/src/Makefile
xpfe/components/related/public/Makefile
xpfe/components/related/resources/Makefile
xpfe/components/xfer/Makefile
xpfe/components/xfer/public/Makefile
xpfe/components/xfer/src/Makefile
xpfe/components/xfer/resources/Makefile
xpfe/components/ucth/Makefile
xpfe/components/ucth/public/Makefile
xpfe/components/ucth/src/Makefile
xpfe/components/ucth/resources/Makefile
xpfe/appshell/Makefile
xpfe/appshell/src/Makefile
xpfe/appshell/public/Makefile
xpfe/bootstrap/Makefile
xpfe/browser/Makefile
xpfe/browser/src/Makefile
# xpfe/browser/public/Makefile
END_NGMAKEFILES
if [ "$MOZ_EDITOR" ]; then
add_makefiles <<END_EDITOR_MAKEFILES
editor/base/Makefile
editor/guimgr/Makefile
editor/guimgr/src/Makefile
editor/guimgr/public/Makefile
editor/ui/Makefile
editor/ui/composer/Makefile
editor/ui/composer/content/Makefile
editor/ui/composer/skin/Makefile
editor/ui/dialogs/Makefile
editor/ui/dialogs/content/Makefile
editor/ui/dialogs/skin/Makefile
END_EDITOR_MAKEFILES
fi
if [ "$MOZ_MAIL_NEWS" ]; then
add_makefiles < ${srcdir}/mailnews/makefiles
fi
if [ -d ${srcdir}/netwerk ]; then
add_makefiles < ${srcdir}/netwerk/makefiles
fi

34
mozilla/build/Makefile.in Normal file
View File

@@ -0,0 +1,34 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "License"); you 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.
#
DEPTH = ..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = unix
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk

View File

@@ -0,0 +1,144 @@
#! /usr/bin/env perl
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All Rights
# Reserved.
#
# acoutput-fast.pl - Quickly create makefiles that are in a common format.
#
# Most of the makefiles in mozilla only refer to two configure variables:
# @srcdir@
# @top_srcdir@
# However, configure does not know any better and it runs sed on each file
# with over 150 replacement rules (slow as molasses).
#
# This script takes a list of makefiles as input. For example,
#
# echo $MAKEFILES | acoutput-fast.pl
#
# The script creates each Makefile that only references @srcdir@ and
# @top_srcdir@. For other files, it lists them in a shell command that is
# printed to stdout:
#
# CONFIG_FILES="unhandled_files..."; export CONFIG_FILES
#
# This command can be used to have config.status create the unhandled
# files. For example,
#
# eval "echo $MAKEFILES | acoutput-fast.pl"
# AC_OUTPUT($MAKEFILES)
#
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
#use File::Basename;
sub dirname {
my $dir = $_[0];
return '.' if not $dir =~ m%/%;
$dir =~ s%/[^/][^/]*$%%;
return $dir;
}
$ac_given_srcdir = $0;
$ac_given_srcdir =~ s|/?build/autoconf/.*$||;
$ac_given_srcdir = '.' if $ac_given_srcdir eq '';
# Read list of makefiles from the stdin or,
# from files listed on the command-line.
#
@makefiles=();
push @makefiles, split while (<>);
# Create all the directories at once.
# This can be much faster than calling mkdir() for each one.
@dirs_to_create = ();
%have_seen = ();
foreach $ac_file (@makefiles) {
next if $ac_file =~ /:/;
$ac_dir = dirname($ac_file);
next if defined($have_seen{$ac_dir});
push @dirs_to_create, $ac_dir if not -d $ac_dir;
$have_seen{$ac_dir} = 1;
}
system "mkdir ".join(' ',@dirs_to_create) if $#dirs_to_create >= 0;
# Output the makefiles.
#
@unhandled=();
foreach $ac_file (@makefiles) {
if (not $ac_file =~ /Makefile$/ or $ac_file =~ /:/) {
push @unhandled, $ac_file;
next;
}
$ac_file_in = "$ac_given_srcdir/$ac_file.in";
$ac_dir = dirname($ac_file);
if ($ac_dir eq '.') {
$ac_dir_suffix = '';
$ac_dots = '';
} else {
$ac_dir_suffix = "/$ac_dir";
$ac_dir_suffix =~ s%^/\./%/%;
$ac_dots = $ac_dir_suffix;
$ac_dots =~ s%/[^/]*%../%g;
}
if ($ac_given_srcdir eq '.') {
$srcdir = '.';
if ($ac_dots eq '') {
$top_srcdir = '.'
} else {
$top_srcdir = $ac_dots;
$top_srcdir =~ s%/$%%;
}
} elsif ($ac_given_srcdir =~ m%^/%) {
$srcdir = "$ac_given_srcdir$ac_dir_suffix";
$top_srcdir = "$ac_given_srcdir";
} else {
$srcdir = "$ac_dots$ac_given_srcdir$ac_dir_suffix";
$top_srcdir = "$ac_dots$ac_given_srcdir";
}
# mkdir $subdir, 0777 if not -d $subdir;
print STDERR "creating $ac_file\n";
open (INFILE, "<$ac_file_in")
or ( warn "can't read $ac_file_in: No such file or directory\n" and next);
open (OUTFILE, ">$ac_file")
or ( warn "Unable to create $ac_file\n" and next);
while (<INFILE>) {
if (/\@[_a-zA-Z]*\@.*\@[_a-zA-Z]*\@/) {
#warn "Two defines on a line:$ac_file:$.:$_";
push @unhandled, $ac_file;
last;
}
s/\@srcdir\@/$srcdir/;
s/\@top_srcdir\@/$top_srcdir/;
if (/\@[_a-zA-Z]*\@/) {
#warn "Unknown variable:$ac_file:$.:$_";
push @unhandled, $ac_file;
last;
}
print OUTFILE;
}
close INFILE;
close OUTFILE;
}
# Print the shell command to be evaluated by configure.
#
print "CONFIG_FILES=\"".join(' ', @unhandled)."\"; export CONFIG_FILES\n";

View File

@@ -0,0 +1,103 @@
dnl The contents of this file are subject to the Netscape Public License
dnl Version 1.0 (the "NPL"); you may not use this file except in
dnl compliance with the NPL. You may obtain a copy of the NPL at
dnl http://www.mozilla.org/NPL/
dnl
dnl Software distributed under the NPL is distributed on an "AS IS" basis,
dnl WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
dnl for the specific language governing rights and limitations under the
dnl NPL.
dnl
dnl The Initial Developer of this code under the NPL is Netscape
dnl Communications Corporation. Portions created by Netscape are
dnl Copyright (C) 1999 Netscape Communications Corporation. All Rights
dnl Reserved.
dnl
dnl altoptions.m4 - An alternative way of specifying command-line options.
dnl These macros are needed to support a menu-based configurator.
dnl This file also includes the macro, AM_READ_MYCONFIG, for reading
dnl the 'myconfig.m4' file.
dnl Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
dnl MOZ_ARG_ENABLE_BOOL( NAME, HELP, IF-YES [, IF-NO [, ELSE]])
dnl MOZ_ARG_DISABLE_BOOL( NAME, HELP, IF-NO [, IF-YES [, ELSE]])
dnl MOZ_ARG_ENABLE_STRING( NAME, HELP, IF-SET [, ELSE])
dnl MOZ_ARG_ENABLE_BOOL_OR_STRING( NAME, HELP, IF-YES, IF-NO, IF-SET[, ELSE]]])
dnl MOZ_ARG_WITH_BOOL( NAME, HELP, IF-YES [, IF-NO [, ELSE])
dnl MOZ_ARG_WITHOUT_BOOL( NAME, HELP, IF-NO [, IF-YES [, ELSE])
dnl MOZ_ARG_WITH_STRING( NAME, HELP, IF-SET [, ELSE])
dnl MOZ_ARG_HEADER(Comment)
dnl MOZ_READ_MYCONFIG() - Read in 'myconfig.sh' file
dnl MOZ_TWO_STRING_TEST(NAME, STR1, IF-STR1, STR2, IF-STR2 [, ELSE])
AC_DEFUN(MOZ_TWO_STRING_TEST,
[if test "$enableval" = "[$2]"; then
ifelse([$3], , :, [$3])
elif test "$enableval" = "[$4]"; then
ifelse([$5], , :, [$5])
else
ifelse([$6], ,
[AC_MSG_ERROR([Option, [$1], does not take an argument ($enableval).])],
[$6])
fi])
dnl MOZ_ARG_ENABLE_BOOL(NAME, HELP, IF-YES [, IF-NO [, ELSE]])
AC_DEFUN(MOZ_ARG_ENABLE_BOOL,
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], yes, [$3], no, [$4])],
[$5])])
dnl MOZ_ARG_DISABLE_BOOL(NAME, HELP, IF-NO [, IF-YES [, ELSE]])
AC_DEFUN(MOZ_ARG_DISABLE_BOOL,
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], no, [$3], yes, [$4])],
[$5])])
dnl MOZ_ARG_ENABLE_STRING(NAME, HELP, IF-SET [, ELSE])
AC_DEFUN(MOZ_ARG_ENABLE_STRING,
[AC_ARG_ENABLE([$1], [$2], [$3], [$4])])
dnl MOZ_ARG_ENABLE_BOOL_OR_STRING(NAME, HELP, IF-YES, IF-NO, IF-SET[, ELSE]]])
AC_DEFUN(MOZ_ARG_ENABLE_BOOL_OR_STRING,
[ifelse([$5], ,
[errprint([Option, $1, needs an "IF-SET" argument.
])
m4exit(1)],
[AC_ARG_ENABLE([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], yes, [$3], no, [$4], [$5])],
[$6])])])
dnl MOZ_ARG_WITH_BOOL(NAME, HELP, IF-YES [, IF-NO [, ELSE])
AC_DEFUN(MOZ_ARG_WITH_BOOL,
[AC_ARG_WITH([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], yes, [$3], no, [$4])],
[$5])])
dnl MOZ_ARG_WITHOUT_BOOL(NAME, HELP, IF-NO [, IF-YES [, ELSE])
AC_DEFUN(MOZ_ARG_WITHOUT_BOOL,
[AC_ARG_WITH([$1], [$2],
[MOZ_TWO_STRING_TEST([$1], no, [$3], yes, [$4])],
[$5])])
dnl MOZ_ARG_WITH_STRING(NAME, HELP, IF-SET [, ELSE])
AC_DEFUN(MOZ_ARG_WITH_STRING,
[AC_ARG_WITH([$1], [$2], [$3], [$4])])
dnl MOZ_ARG_HEADER(Comment)
dnl This is used by webconfig to group options
define(MOZ_ARG_HEADER, [# $1])
dnl MOZ_READ_MYCONFIG() - Read in 'myconfig.sh' file
AC_DEFUN(MOZ_READ_MOZCONFIG,
[AC_REQUIRE([AC_INIT_BINSH])dnl
# Read in '.mozconfig' script to set the initial options.
# See the load-mozconfig.sh script for more details.
_topsrcdir=`dirname [$]0`
. $_topsrcdir/build/autoconf/load-mozconfig.sh])
dnl This gets inserted at the top of the configure script
MOZ_READ_MOZCONFIG

View File

@@ -0,0 +1,55 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
# clean-config.sh - Removes all files generated by mozilla configure.
# Only removes files from the topsrcdir. To clean up an objdir,
# simply remove the directory and start over.
#
# Usage:
# 1. cd <topsrcdir>
# 2. build/autoconf/clean-config.sh
#
# Send comments, improvements, bugs to slamm@netscape.com
topsrcdir=`cd \`dirname $0\`/../..; pwd`
if [ ! -f configure.in ]; then
echo "clean-config.sh only cleans the source tree. To run," 2>&1
echo " cd $topsrcdir; build/autoconf/clean-config.sh" 2>&1
echo " (To clean a separate objdir, simple remove the directory.)" 2>&1
exit 1
fi
if [ -f mailnews/makefiles ]; then
MOZ_MAIL_NEWS=1
export MOZ_MAIL_NEWS
fi
if [ -d editor ]; then
MOZ_EDITOR=1
export MOZ_EDITOR
fi
. allmakefiles.sh
rm -fr $MAKEFILES \
config-defs.h \
config.cache \
config.log \
config.status \
$NULL

906
mozilla/build/autoconf/config.guess vendored Executable file
View File

@@ -0,0 +1,906 @@
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998 Free Software Foundation, Inc.
#
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Written by Per Bothner <bothner@cygnus.com>.
# The master version of this file is at the FSF in /home/gd/gnu/lib.
#
# This script attempts to guess a canonical system name similar to
# config.sub. If it succeeds, it prints the system name on stdout, and
# exits with 0. Otherwise, it exits with 1.
#
# The plan is that this can be called by configure scripts if you
# don't specify an explicit system type (host/target name).
#
# Only a few systems have been added to this list; please add others
# (but try to keep the structure clean).
#
# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
# (ghazi@noc.rutgers.edu 8/24/94.)
if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
PATH=$PATH:/.attbin ; export PATH
fi
UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
trap 'rm -f dummy.c dummy.o dummy; exit 1' 1 2 15
# Note: order is significant - the case branches are not exclusive.
case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
alpha:OSF1:*:*)
if test $UNAME_RELEASE = "V4.0"; then
UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
fi
# A Vn.n version is a released version.
# A Tn.n version is a released field test version.
# A Xn.n version is an unreleased experimental baselevel.
# 1.2 uses "1.2" for uname -r.
cat <<EOF >dummy.s
.globl main
.ent main
main:
.frame \$30,0,\$26,0
.prologue 0
.long 0x47e03d80 # implver $0
lda \$2,259
.long 0x47e20c21 # amask $2,$1
srl \$1,8,\$2
sll \$2,2,\$2
sll \$0,3,\$0
addl \$1,\$0,\$0
addl \$2,\$0,\$0
ret \$31,(\$26),1
.end main
EOF
${CC-cc} dummy.s -o dummy 2>/dev/null
if test "$?" = 0 ; then
./dummy
case "$?" in
7)
UNAME_MACHINE="alpha"
;;
15)
UNAME_MACHINE="alphaev5"
;;
14)
UNAME_MACHINE="alphaev56"
;;
10)
UNAME_MACHINE="alphapca56"
;;
16)
UNAME_MACHINE="alphaev6"
;;
esac
fi
rm -f dummy.s dummy
echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr [[A-Z]] [[a-z]]`
exit 0 ;;
21064:Windows_NT:50:3)
echo alpha-dec-winnt3.5
exit 0 ;;
Amiga*:UNIX_System_V:4.0:*)
echo m68k-cbm-sysv4
exit 0;;
amiga:NetBSD:*:*)
echo m68k-cbm-netbsd${UNAME_RELEASE}
exit 0 ;;
amiga:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
arc64:OpenBSD:*:*)
echo mips64el-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
arc:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
hkmips:OpenBSD:*:*)
echo mips-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
pmax:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
sgi:OpenBSD:*:*)
echo mips-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
wgrisc:OpenBSD:*:*)
echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
echo arm-acorn-riscix${UNAME_RELEASE}
exit 0;;
arm32:NetBSD:*:*)
echo arm-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
exit 0 ;;
SR2?01:HI-UX/MPP:*:*)
echo hppa1.1-hitachi-hiuxmpp
exit 0;;
Pyramid*:OSx*:*:*|MIS*:OSx*:*:*)
# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
if test "`(/bin/universe) 2>/dev/null`" = att ; then
echo pyramid-pyramid-sysv3
else
echo pyramid-pyramid-bsd
fi
exit 0 ;;
NILE:*:*:dcosx)
echo pyramid-pyramid-svr4
exit 0 ;;
sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
i86pc:SunOS:5.*:*)
echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
sun4*:SunOS:6*:*)
# According to config.sub, this is the proper way to canonicalize
# SunOS6. Hard to guess exactly what SunOS6 will be like, but
# it's likely to be more like Solaris than SunOS4.
echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
sun4*:SunOS:*:*)
case "`/usr/bin/arch -k`" in
Series*|S4*)
UNAME_RELEASE=`uname -v`
;;
esac
# Japanese Language versions have a version number like `4.1.3-JL'.
echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
exit 0 ;;
sun3*:SunOS:*:*)
echo m68k-sun-sunos${UNAME_RELEASE}
exit 0 ;;
sun*:*:4.2BSD:*)
UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
case "`/bin/arch`" in
sun3)
echo m68k-sun-sunos${UNAME_RELEASE}
;;
sun4)
echo sparc-sun-sunos${UNAME_RELEASE}
;;
esac
exit 0 ;;
aushp:SunOS:*:*)
echo sparc-auspex-sunos${UNAME_RELEASE}
exit 0 ;;
atari*:NetBSD:*:*)
echo m68k-atari-netbsd${UNAME_RELEASE}
exit 0 ;;
atari*:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
sun3*:NetBSD:*:*)
echo m68k-sun-netbsd${UNAME_RELEASE}
exit 0 ;;
sun3*:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
mac68k:NetBSD:*:*)
echo m68k-apple-netbsd${UNAME_RELEASE}
exit 0 ;;
mac68k:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
mvme68k:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
mvme88k:OpenBSD:*:*)
echo m88k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
powerpc:machten:*:*)
echo powerpc-apple-machten${UNAME_RELEASE}
exit 0 ;;
RISC*:Mach:*:*)
echo mips-dec-mach_bsd4.3
exit 0 ;;
RISC*:ULTRIX:*:*)
echo mips-dec-ultrix${UNAME_RELEASE}
exit 0 ;;
VAX*:ULTRIX*:*:*)
echo vax-dec-ultrix${UNAME_RELEASE}
exit 0 ;;
2020:CLIX:*:*)
echo clipper-intergraph-clix${UNAME_RELEASE}
exit 0 ;;
mips:*:*:UMIPS | mips:*:*:RISCos)
sed 's/^ //' << EOF >dummy.c
int main (argc, argv) int argc; char **argv; {
#if defined (host_mips) && defined (MIPSEB)
#if defined (SYSTYPE_SYSV)
printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0);
#endif
#if defined (SYSTYPE_SVR4)
printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0);
#endif
#if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0);
#endif
#endif
exit (-1);
}
EOF
${CC-cc} dummy.c -o dummy \
&& ./dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
&& rm dummy.c dummy && exit 0
rm -f dummy.c dummy
echo mips-mips-riscos${UNAME_RELEASE}
exit 0 ;;
Night_Hawk:Power_UNIX:*:*)
echo powerpc-harris-powerunix
exit 0 ;;
m88k:CX/UX:7*:*)
echo m88k-harris-cxux7
exit 0 ;;
m88k:*:4*:R4*)
echo m88k-motorola-sysv4
exit 0 ;;
m88k:*:3*:R3*)
echo m88k-motorola-sysv3
exit 0 ;;
AViiON:dgux:*:*)
# DG/UX returns AViiON for all architectures
UNAME_PROCESSOR=`/usr/bin/uname -p`
if [ $UNAME_PROCESSOR = mc88100 -o $UNAME_PROCESSOR = mc88110 ] ; then
if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx \
-o ${TARGET_BINARY_INTERFACE}x = x ] ; then
echo m88k-dg-dgux${UNAME_RELEASE}
else
echo m88k-dg-dguxbcs${UNAME_RELEASE}
fi
else echo i586-dg-dgux${UNAME_RELEASE}
fi
exit 0 ;;
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
echo m88k-dolphin-sysv3
exit 0 ;;
M88*:*:R3*:*)
# Delta 88k system running SVR3
echo m88k-motorola-sysv3
exit 0 ;;
XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
echo m88k-tektronix-sysv3
exit 0 ;;
Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
echo m68k-tektronix-bsd
exit 0 ;;
*:IRIX*:*:*)
echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
exit 0 ;;
????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX '
i?86:AIX:*:*)
echo i386-ibm-aix
exit 0 ;;
*:AIX:2:3)
if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
sed 's/^ //' << EOF >dummy.c
#include <sys/systemcfg.h>
main()
{
if (!__power_pc())
exit(1);
puts("powerpc-ibm-aix3.2.5");
exit(0);
}
EOF
${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
rm -f dummy.c dummy
echo rs6000-ibm-aix3.2.5
elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
echo rs6000-ibm-aix3.2.4
else
echo rs6000-ibm-aix3.2
fi
exit 0 ;;
*:AIX:*:4)
if /usr/sbin/lsattr -EHl proc0 | grep POWER >/dev/null 2>&1; then
IBM_ARCH=rs6000
else
IBM_ARCH=powerpc
fi
if [ -x /usr/bin/oslevel ] ; then
IBM_REV=`/usr/bin/oslevel`
else
IBM_REV=4.${UNAME_RELEASE}
fi
echo ${IBM_ARCH}-ibm-aix${IBM_REV}
exit 0 ;;
*:AIX:*:*)
echo rs6000-ibm-aix
exit 0 ;;
ibmrt:4.4BSD:*|romp-ibm:BSD:*)
echo romp-ibm-bsd4.4
exit 0 ;;
ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC NetBSD and
echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to
exit 0 ;; # report: romp-ibm BSD 4.3
*:BOSX:*:*)
echo rs6000-bull-bosx
exit 0 ;;
DPX/2?00:B.O.S.:*:*)
echo m68k-bull-sysv3
exit 0 ;;
9000/[34]??:4.3bsd:1.*:*)
echo m68k-hp-bsd
exit 0 ;;
hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
echo m68k-hp-bsd4.4
exit 0 ;;
9000/[3478]??:HP-UX:*:*)
case "${UNAME_MACHINE}" in
9000/31? ) HP_ARCH=m68000 ;;
9000/[34]?? ) HP_ARCH=m68k ;;
9000/7?? | 9000/8?[1679] ) HP_ARCH=hppa1.1 ;;
9000/8?? ) HP_ARCH=hppa1.0 ;;
esac
HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
exit 0 ;;
3050*:HI-UX:*:*)
sed 's/^ //' << EOF >dummy.c
#include <unistd.h>
int
main ()
{
long cpu = sysconf (_SC_CPU_VERSION);
/* The order matters, because CPU_IS_HP_MC68K erroneously returns
true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
results, however. */
if (CPU_IS_PA_RISC (cpu))
{
switch (cpu)
{
case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
default: puts ("hppa-hitachi-hiuxwe2"); break;
}
}
else if (CPU_IS_HP_MC68K (cpu))
puts ("m68k-hitachi-hiuxwe2");
else puts ("unknown-hitachi-hiuxwe2");
exit (0);
}
EOF
${CC-cc} dummy.c -o dummy && ./dummy && rm dummy.c dummy && exit 0
rm -f dummy.c dummy
echo unknown-hitachi-hiuxwe2
exit 0 ;;
9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
echo hppa1.1-hp-bsd
exit 0 ;;
9000/8??:4.3bsd:*:*)
echo hppa1.0-hp-bsd
exit 0 ;;
hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
echo hppa1.1-hp-osf
exit 0 ;;
hp8??:OSF1:*:*)
echo hppa1.0-hp-osf
exit 0 ;;
i?86:OSF1:*:*)
if [ -x /usr/sbin/sysversion ] ; then
echo ${UNAME_MACHINE}-unknown-osf1mk
else
echo ${UNAME_MACHINE}-unknown-osf1
fi
exit 0 ;;
parisc*:Lites*:*:*)
echo hppa1.1-hp-lites
exit 0 ;;
C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
echo c1-convex-bsd
exit 0 ;;
C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
if getsysinfo -f scalar_acc
then echo c32-convex-bsd
else echo c2-convex-bsd
fi
exit 0 ;;
C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
echo c34-convex-bsd
exit 0 ;;
C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
echo c38-convex-bsd
exit 0 ;;
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
echo c4-convex-bsd
exit 0 ;;
CRAY*X-MP:*:*:*)
echo xmp-cray-unicos
exit 0 ;;
CRAY*Y-MP:*:*:*)
echo ymp-cray-unicos${UNAME_RELEASE}
exit 0 ;;
CRAY*[A-Z]90:*:*:*)
echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
-e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
exit 0 ;;
CRAY*TS:*:*:*)
echo t90-cray-unicos${UNAME_RELEASE}
exit 0 ;;
CRAY-2:*:*:*)
echo cray2-cray-unicos
exit 0 ;;
F300:UNIX_System_V:*:*)
FUJITSU_SYS=`uname -p | tr [A-Z] [a-z] | sed -e 's/\///'`
FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
exit 0 ;;
F301:UNIX_System_V:*:*)
echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'`
exit 0 ;;
hp3[0-9][05]:NetBSD:*:*)
echo m68k-hp-netbsd${UNAME_RELEASE}
exit 0 ;;
hp300:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
i?86:BSD/386:*:* | *:BSD/OS:*:*)
echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
exit 0 ;;
*:FreeBSD:*:*)
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
exit 0 ;;
*:NetBSD:*:*)
echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
exit 0 ;;
*:OpenBSD:*:*)
echo ${UNAME_MACHINE}-unknown-openbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
exit 0 ;;
i*:CYGWIN*:*)
echo ${UNAME_MACHINE}-pc-cygwin32
exit 0 ;;
i*:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit 0 ;;
p*:CYGWIN*:*)
echo powerpcle-unknown-cygwin32
exit 0 ;;
prep*:SunOS:5.*:*)
echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
exit 0 ;;
*:GNU:*:*)
echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
exit 0 ;;
*:Linux:*:*)
# uname on the ARM produces all sorts of strangeness, and we need to
# filter it out.
case "$UNAME_MACHINE" in
arm* | sa110*) UNAME_MACHINE="arm" ;;
esac
# The BFD linker knows what the default object file format is, so
# first see if it will tell us.
ld_help_string=`ld --help 2>&1`
ld_supported_emulations=`echo $ld_help_string \
| sed -ne '/supported emulations:/!d
s/[ ][ ]*/ /g
s/.*supported emulations: *//
s/ .*//
p'`
case "$ld_supported_emulations" in
i?86linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" ; exit 0 ;;
i?86coff) echo "${UNAME_MACHINE}-pc-linux-gnucoff" ; exit 0 ;;
sparclinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
armlinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
m68klinux) echo "${UNAME_MACHINE}-unknown-linux-gnuaout" ; exit 0 ;;
elf32ppc) echo "powerpc-unknown-linux-gnu" ; exit 0 ;;
esac
if test "${UNAME_MACHINE}" = "alpha" ; then
sed 's/^ //' <<EOF >dummy.s
.globl main
.ent main
main:
.frame \$30,0,\$26,0
.prologue 0
.long 0x47e03d80 # implver $0
lda \$2,259
.long 0x47e20c21 # amask $2,$1
srl \$1,8,\$2
sll \$2,2,\$2
sll \$0,3,\$0
addl \$1,\$0,\$0
addl \$2,\$0,\$0
ret \$31,(\$26),1
.end main
EOF
LIBC=""
${CC-cc} dummy.s -o dummy 2>/dev/null
if test "$?" = 0 ; then
./dummy
case "$?" in
7)
UNAME_MACHINE="alpha"
;;
15)
UNAME_MACHINE="alphaev5"
;;
14)
UNAME_MACHINE="alphaev56"
;;
10)
UNAME_MACHINE="alphapca56"
;;
16)
UNAME_MACHINE="alphaev6"
;;
esac
objdump --private-headers dummy | \
grep ld.so.1 > /dev/null
if test "$?" = 0 ; then
LIBC="libc1"
fi
fi
rm -f dummy.s dummy
echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0
elif test "${UNAME_MACHINE}" = "mips" ; then
cat >dummy.c <<EOF
main(argc, argv)
int argc;
char *argv[];
{
#ifdef __MIPSEB__
printf ("%s-unknown-linux-gnu\n", argv[1]);
#endif
#ifdef __MIPSEL__
printf ("%sel-unknown-linux-gnu\n", argv[1]);
#endif
return 0;
}
EOF
${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
rm -f dummy.c dummy
else
# Either a pre-BFD a.out linker (linux-gnuoldld)
# or one that does not give us useful --help.
# GCC wants to distinguish between linux-gnuoldld and linux-gnuaout.
# If ld does not provide *any* "supported emulations:"
# that means it is gnuoldld.
echo "$ld_help_string" | grep >/dev/null 2>&1 "supported emulations:"
test $? != 0 && echo "${UNAME_MACHINE}-pc-linux-gnuoldld" && exit 0
case "${UNAME_MACHINE}" in
i?86)
VENDOR=pc;
;;
*)
VENDOR=unknown;
;;
esac
# Determine whether the default compiler is a.out or elf
cat >dummy.c <<EOF
#include <features.h>
main(argc, argv)
int argc;
char *argv[];
{
#ifdef __ELF__
# ifdef __GLIBC__
# if __GLIBC__ >= 2
printf ("%s-${VENDOR}-linux-gnu\n", argv[1]);
# else
printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
# endif
# else
printf ("%s-${VENDOR}-linux-gnulibc1\n", argv[1]);
# endif
#else
printf ("%s-${VENDOR}-linux-gnuaout\n", argv[1]);
#endif
return 0;
}
EOF
${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy "${UNAME_MACHINE}" && rm dummy.c dummy && exit 0
rm -f dummy.c dummy
fi ;;
# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. earlier versions
# are messed up and put the nodename in both sysname and nodename.
i?86:DYNIX/ptx:4*:*)
echo i386-sequent-sysv4
exit 0 ;;
i?86:UNIX_SV:4.2MP:2.*)
# Unixware is an offshoot of SVR4, but it has its own version
# number series starting with 2...
# I am not positive that other SVR4 systems won't match this,
# I just have to hope. -- rms.
# Use sysv4.2uw... so that sysv4* matches it.
echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
exit 0 ;;
i?86:*:4.*:* | i?86:SYSTEM_V:4.*:*)
if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
echo ${UNAME_MACHINE}-univel-sysv${UNAME_RELEASE}
else
echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
fi
exit 0 ;;
i?86:*:3.2:*)
if test -f /usr/options/cb.name; then
UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
elif /bin/uname -X 2>/dev/null >/dev/null ; then
UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
&& UNAME_MACHINE=i586
echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
else
echo ${UNAME_MACHINE}-pc-sysv32
fi
exit 0 ;;
pc:*:*:*)
# uname -m prints for DJGPP always 'pc', but it prints nothing about
# the processor, so we play safe by assuming i386.
echo i386-pc-msdosdjgpp
exit 0 ;;
Intel:Mach:3*:*)
echo i386-pc-mach3
exit 0 ;;
paragon:*:*:*)
echo i860-intel-osf1
exit 0 ;;
i860:*:4.*:*) # i860-SVR4
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
else # Add other i860-SVR4 vendors below as they are discovered.
echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4
fi
exit 0 ;;
mini*:CTIX:SYS*5:*)
# "miniframe"
echo m68010-convergent-sysv
exit 0 ;;
M68*:*:R3V[567]*:*)
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
3[34]??:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
OS_REL=''
test -r /etc/.relid \
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
&& echo i486-ncr-sysv4.3${OS_REL} && exit 0
/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
&& echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
&& echo i486-ncr-sysv4 && exit 0 ;;
m68*:LynxOS:2.*:*)
echo m68k-unknown-lynxos${UNAME_RELEASE}
exit 0 ;;
mc68030:UNIX_System_V:4.*:*)
echo m68k-atari-sysv4
exit 0 ;;
i?86:LynxOS:2.*:*)
echo i386-unknown-lynxos${UNAME_RELEASE}
exit 0 ;;
TSUNAMI:LynxOS:2.*:*)
echo sparc-unknown-lynxos${UNAME_RELEASE}
exit 0 ;;
rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)
echo rs6000-unknown-lynxos${UNAME_RELEASE}
exit 0 ;;
SM[BE]S:UNIX_SV:*:*)
echo mips-dde-sysv${UNAME_RELEASE}
exit 0 ;;
RM*:SINIX-*:*:*)
echo mips-sni-sysv4
exit 0 ;;
*:SINIX-*:*:*)
if uname -p 2>/dev/null >/dev/null ; then
UNAME_MACHINE=`(uname -p) 2>/dev/null`
echo ${UNAME_MACHINE}-sni-sysv4
else
echo ns32k-sni-sysv
fi
exit 0 ;;
PENTIUM:CPunix:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
# says <Richard.M.Bartel@ccMail.Census.GOV>
echo i586-unisys-sysv4
exit 0 ;;
*:UNIX_System_V:4*:FTX*)
# From Gerald Hewes <hewes@openmarket.com>.
# How about differentiating between stratus architectures? -djm
echo hppa1.1-stratus-sysv4
exit 0 ;;
*:*:*:FTX*)
# From seanf@swdc.stratus.com.
echo i860-stratus-sysv4
exit 0 ;;
*:Rhapsody:*:*)
test ! -z "`echo ${UNAME_MACHINE} | grep Power`" && echo ppc-apple-rhapsody${UNAME_RELEASE} && exit 0
echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
exit 0 ;;
mc68*:A/UX:*:*)
echo m68k-apple-aux${UNAME_RELEASE}
exit 0 ;;
news*:NEWS-OS:*:6*)
echo mips-sony-newsos6
exit 0 ;;
R3000:*System_V*:*:* | R4000:UNIX_SYSV:*:*)
if [ -d /usr/nec ]; then
echo mips-nec-sysv${UNAME_RELEASE}
else
echo mips-unknown-sysv${UNAME_RELEASE}
fi
exit 0 ;;
*:QNX:*:*)
echo i386-pc-qnx`${UNAME_VERSION} | cut -c1-1`
exit 0 ;;
BePC:BeOS:*:*)
echo i386-pc-beos${UNAME_RELEASE}
exit 0 ;;
BeMac:BeOS:*:*)
echo ppc-apple-beos${UNAME_RELEASE}
exit 0 ;;
BeBox:BeOS:*:*)
echo ppc-be-beos${UNAME_RELEASE}
exit 0 ;;
esac
#echo '(No uname command or uname output not recognized.)' 1>&2
#echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2
cat >dummy.c <<EOF
#ifdef _SEQUENT_
# include <sys/types.h>
# include <sys/utsname.h>
#endif
main ()
{
#if defined (sony)
#if defined (MIPSEB)
/* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed,
I don't know.... */
printf ("mips-sony-bsd\n"); exit (0);
#else
#include <sys/param.h>
printf ("m68k-sony-newsos%s\n",
#ifdef NEWSOS4
"4"
#else
""
#endif
); exit (0);
#endif
#endif
#if defined (__arm) && defined (__acorn) && defined (__unix)
printf ("arm-acorn-riscix"); exit (0);
#endif
#if defined (hp300) && !defined (hpux)
printf ("m68k-hp-bsd\n"); exit (0);
#endif
#if defined (NeXT)
#if !defined (__ARCHITECTURE__)
#define __ARCHITECTURE__ "m68k"
#endif
int version;
version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
exit (0);
#endif
#if defined (MULTIMAX) || defined (n16)
#if defined (UMAXV)
printf ("ns32k-encore-sysv\n"); exit (0);
#else
#if defined (CMU)
printf ("ns32k-encore-mach\n"); exit (0);
#else
printf ("ns32k-encore-bsd\n"); exit (0);
#endif
#endif
#endif
#if defined (__386BSD__)
printf ("i386-pc-bsd\n"); exit (0);
#endif
#if defined (sequent)
#if defined (i386)
printf ("i386-sequent-dynix\n"); exit (0);
#endif
#if defined (ns32000)
printf ("ns32k-sequent-dynix\n"); exit (0);
#endif
#endif
#if defined (_SEQUENT_)
struct utsname un;
uname(&un);
if (strncmp(un.version, "V2", 2) == 0) {
printf ("i386-sequent-ptx2\n"); exit (0);
}
if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
printf ("i386-sequent-ptx1\n"); exit (0);
}
printf ("i386-sequent-ptx\n"); exit (0);
#endif
#if defined (vax)
#if !defined (ultrix)
printf ("vax-dec-bsd\n"); exit (0);
#else
printf ("vax-dec-ultrix\n"); exit (0);
#endif
#endif
#if defined (alliant) && defined (i860)
printf ("i860-alliant-bsd\n"); exit (0);
#endif
exit (1);
}
EOF
${CC-cc} dummy.c -o dummy 2>/dev/null && ./dummy && rm dummy.c dummy && exit 0
rm -f dummy.c dummy
# Apollos put the system type in the environment.
test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
# Convex versions that predate uname can use getsysinfo(1)
if [ -x /usr/convex/getsysinfo ]
then
case `getsysinfo -f cpu_type` in
c1*)
echo c1-convex-bsd
exit 0 ;;
c2*)
if getsysinfo -f scalar_acc
then echo c32-convex-bsd
else echo c2-convex-bsd
fi
exit 0 ;;
c34*)
echo c34-convex-bsd
exit 0 ;;
c38*)
echo c38-convex-bsd
exit 0 ;;
c4*)
echo c4-convex-bsd
exit 0 ;;
esac
fi
#echo '(Unable to guess system type)' 1>&2
exit 1

981
mozilla/build/autoconf/config.sub vendored Executable file
View File

@@ -0,0 +1,981 @@
#! /bin/sh
# Configuration validation subroutine script, version 1.1.
# Copyright (C) 1991, 92-97, 1998 Free Software Foundation, Inc.
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
# can handle that machine. It does not imply ALL GNU software can.
#
# This file is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Configuration subroutine to validate and canonicalize a configuration type.
# Supply the specified configuration type as an argument.
# If it is invalid, we print an error message on stderr and exit with code 1.
# Otherwise, we print the canonical config type on stdout and succeed.
# This file is supposed to be the same for all GNU packages
# and recognize all the CPU types, system types and aliases
# that are meaningful with *any* GNU software.
# Each package is responsible for reporting which valid configurations
# it does not support. The user should be able to distinguish
# a failure to support a valid configuration from a meaningless
# configuration.
# The goal of this file is to map all the various variations of a given
# machine specification into a single specification in the form:
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
# or in some cases, the newer four-part form:
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
# It is wrong to echo any other type of specification.
if [ x$1 = x ]
then
echo Configuration name missing. 1>&2
echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
echo "or $0 ALIAS" 1>&2
echo where ALIAS is a recognized configuration type. 1>&2
exit 1
fi
# First pass through any local machine types.
case $1 in
*local*)
echo $1
exit 0
;;
*)
;;
esac
# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
linux-gnu*)
os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;;
*)
basic_machine=`echo $1 | sed 's/-[^-]*$//'`
if [ $basic_machine != $1 ]
then os=`echo $1 | sed 's/.*-/-/'`
else os=; fi
;;
esac
### Let's recognize common machines as not being operating systems so
### that things like config.sub decstation-3100 work. We also
### recognize some manufacturers as not being operating systems, so we
### can provide default operating systems below.
case $os in
-sun*os*)
# Prevent following clause from handling this invalid input.
;;
-dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
-att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
-unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-apple)
os=
basic_machine=$1
;;
-hiux*)
os=-hiuxwe2
;;
-sco5)
os=sco3.2v5
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-sco4)
os=-sco3.2v4
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-sco3.2.[4-9]*)
os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-sco3.2v[4-9]*)
# Don't forget version if it is 3.2v4 or newer.
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-sco*)
os=-sco3.2v2
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-isc)
os=-isc2.2
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-clix*)
basic_machine=clipper-intergraph
;;
-isc*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
-lynx*)
os=-lynxos
;;
-ptx*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
;;
-windowsnt*)
os=`echo $os | sed -e 's/windowsnt/winnt/'`
;;
-psos*)
os=-psos
;;
-qnx*)
basic_machine=i386-pc
os=-qnx`uname -v | cut -c1-1`
;;
-nto*)
basic_machine=i386-pc
os=-nto
;;
-rhapsody*)
basic_machine=ppc-apple
os=-rhapsody`uname -r`
;;
esac
# Decode aliases for certain CPU-COMPANY combinations.
case $basic_machine in
# Recognize the basic CPU types without company name.
# Some are omitted here because they have special meanings below.
tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
| arme[lb] | pyramid | mn10200 | mn10300 \
| tron | a29k | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 \
| alpha | alphaev5 | alphaev56 | alphapca56 | we32k | ns16k | clipper \
| i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
| mips64 | mipsel | mips64el | mips64orion | mips64orionel \
| mipstx39 | mipstx39el \
| sparc | sparclet | sparclite | sparc64 | v850)
basic_machine=$basic_machine-unknown
;;
# We use `pc' rather than `unknown'
# because (1) that's what they normally are, and
# (2) the word "unknown" tends to confuse beginning users.
i[34567]86)
basic_machine=$basic_machine-pc
;;
# Object if more than one company name word.
*-*-*)
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
exit 1
;;
# Recognize the basic CPU types with company name.
vax-* | tahoe-* | i[34567]86-* | i860-* | m32r-* | m68k-* | m68000-* \
| m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
| mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
| power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
| xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* \
| alpha-* | alphaev5-* | alphaev56-* | alphapca56-* | we32k-* | cydra-* \
| ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
| sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
| sparc64-* | mips64-* | mipsel-* \
| mips64el-* | mips64orion-* | mips64orionel-* \
| mipstx39-* | mipstx39el-* \
| f301-*)
;;
# Recognize the various machine names and aliases which stand
# for a CPU type and a company and sometimes even an OS.
3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
basic_machine=m68000-att
;;
3b*)
basic_machine=we32k-att
;;
alliant | fx80)
basic_machine=fx80-alliant
;;
altos | altos3068)
basic_machine=m68k-altos
;;
am29k)
basic_machine=a29k-none
os=-bsd
;;
amdahl)
basic_machine=580-amdahl
os=-sysv
;;
amiga | amiga-*)
basic_machine=m68k-cbm
;;
amigaos | amigados)
basic_machine=m68k-cbm
os=-amigaos
;;
amigaunix | amix)
basic_machine=m68k-cbm
os=-sysv4
;;
apollo68)
basic_machine=m68k-apollo
os=-sysv
;;
aux)
basic_machine=m68k-apple
os=-aux
;;
balance)
basic_machine=ns32k-sequent
os=-dynix
;;
convex-c1)
basic_machine=c1-convex
os=-bsd
;;
convex-c2)
basic_machine=c2-convex
os=-bsd
;;
convex-c32)
basic_machine=c32-convex
os=-bsd
;;
convex-c34)
basic_machine=c34-convex
os=-bsd
;;
convex-c38)
basic_machine=c38-convex
os=-bsd
;;
cray | ymp)
basic_machine=ymp-cray
os=-unicos
;;
cray2)
basic_machine=cray2-cray
os=-unicos
;;
[ctj]90-cray)
basic_machine=c90-cray
os=-unicos
;;
crds | unos)
basic_machine=m68k-crds
;;
da30 | da30-*)
basic_machine=m68k-da30
;;
decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
basic_machine=mips-dec
;;
delta | 3300 | motorola-3300 | motorola-delta \
| 3300-motorola | delta-motorola)
basic_machine=m68k-motorola
;;
delta88)
basic_machine=m88k-motorola
os=-sysv3
;;
dpx20 | dpx20-*)
basic_machine=rs6000-bull
os=-bosx
;;
dpx2* | dpx2*-bull)
basic_machine=m68k-bull
os=-sysv3
;;
ebmon29k)
basic_machine=a29k-amd
os=-ebmon
;;
elxsi)
basic_machine=elxsi-elxsi
os=-bsd
;;
encore | umax | mmax)
basic_machine=ns32k-encore
;;
fx2800)
basic_machine=i860-alliant
;;
genix)
basic_machine=ns32k-ns
;;
gmicro)
basic_machine=tron-gmicro
os=-sysv
;;
h3050r* | hiux*)
basic_machine=hppa1.1-hitachi
os=-hiuxwe2
;;
h8300hms)
basic_machine=h8300-hitachi
os=-hms
;;
harris)
basic_machine=m88k-harris
os=-sysv3
;;
hp300-*)
basic_machine=m68k-hp
;;
hp300bsd)
basic_machine=m68k-hp
os=-bsd
;;
hp300hpux)
basic_machine=m68k-hp
os=-hpux
;;
hp9k2[0-9][0-9] | hp9k31[0-9])
basic_machine=m68000-hp
;;
hp9k3[2-9][0-9])
basic_machine=m68k-hp
;;
hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
basic_machine=hppa1.1-hp
;;
hp9k8[0-9][0-9] | hp8[0-9][0-9])
basic_machine=hppa1.0-hp
;;
hppa-next)
os=-nextstep3
;;
i370-ibm* | ibm*)
basic_machine=i370-ibm
os=-mvs
;;
# I'm not sure what "Sysv32" means. Should this be sysv3.2?
i[34567]86v32)
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
os=-sysv32
;;
i[34567]86v4*)
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
os=-sysv4
;;
i[34567]86v)
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
os=-sysv
;;
i[34567]86sol2)
basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
os=-solaris2
;;
iris | iris4d)
basic_machine=mips-sgi
case $os in
-irix*)
;;
*)
os=-irix4
;;
esac
;;
isi68 | isi)
basic_machine=m68k-isi
os=-sysv
;;
m88k-omron*)
basic_machine=m88k-omron
;;
magnum | m3230)
basic_machine=mips-mips
os=-sysv
;;
merlin)
basic_machine=ns32k-utek
os=-sysv
;;
miniframe)
basic_machine=m68000-convergent
;;
mipsel*-linux*)
basic_machine=mipsel-unknown
os=-linux-gnu
;;
mips*-linux*)
basic_machine=mips-unknown
os=-linux-gnu
;;
mips3*-*)
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
;;
mips3*)
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
;;
ncr3000)
basic_machine=i486-ncr
os=-sysv4
;;
news | news700 | news800 | news900)
basic_machine=m68k-sony
os=-newsos
;;
news1000)
basic_machine=m68030-sony
os=-newsos
;;
news-3600 | risc-news)
basic_machine=mips-sony
os=-newsos
;;
next | m*-next )
basic_machine=m68k-next
case $os in
-nextstep* )
;;
-ns2*)
os=-nextstep2
;;
*)
os=-nextstep3
;;
esac
;;
nh3000)
basic_machine=m68k-harris
os=-cxux
;;
nh[45]000)
basic_machine=m88k-harris
os=-cxux
;;
nindy960)
basic_machine=i960-intel
os=-nindy
;;
np1)
basic_machine=np1-gould
;;
pa-hitachi)
basic_machine=hppa1.1-hitachi
os=-hiuxwe2
;;
paragon)
basic_machine=i860-intel
os=-osf
;;
pbd)
basic_machine=sparc-tti
;;
pbb)
basic_machine=m68k-tti
;;
pc532 | pc532-*)
basic_machine=ns32k-pc532
;;
pentium | p5 | k5 | nexen)
basic_machine=i586-pc
;;
pentiumpro | p6 | k6 | 6x86)
basic_machine=i686-pc
;;
pentiumii | pentium2)
basic_machine=i786-pc
;;
pentium-* | p5-* | k5-* | nexen-*)
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
pentiumpro-* | p6-* | k6-* | 6x86-*)
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
pentiumii-* | pentium2-*)
basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
pn)
basic_machine=pn-gould
;;
power) basic_machine=rs6000-ibm
;;
ppc) basic_machine=powerpc-unknown
;;
ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppcle | powerpclittle | ppc-le | powerpc-little)
basic_machine=powerpcle-unknown
;;
ppcle-* | powerpclittle-*)
basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ps2)
basic_machine=i386-ibm
;;
*qnx*)
basic_machine=i386-pc
os=-qnx`uname -v | cut -c1-1`
;;
*nto*)
basic_machine=i386-pc
os=-nto
;;
rm[46]00)
basic_machine=mips-siemens
;;
rtpc | rtpc-*)
basic_machine=romp-ibm
;;
sequent)
basic_machine=i386-sequent
;;
sh)
basic_machine=sh-hitachi
os=-hms
;;
sps7)
basic_machine=m68k-bull
os=-sysv2
;;
spur)
basic_machine=spur-unknown
;;
sun2)
basic_machine=m68000-sun
;;
sun2os3)
basic_machine=m68000-sun
os=-sunos3
;;
sun2os4)
basic_machine=m68000-sun
os=-sunos4
;;
sun3os3)
basic_machine=m68k-sun
os=-sunos3
;;
sun3os4)
basic_machine=m68k-sun
os=-sunos4
;;
sun4os3)
basic_machine=sparc-sun
os=-sunos3
;;
sun4os4)
basic_machine=sparc-sun
os=-sunos4
;;
sun4sol2)
basic_machine=sparc-sun
os=-solaris2
;;
sun3 | sun3-*)
basic_machine=m68k-sun
;;
sun4)
basic_machine=sparc-sun
;;
sun386 | sun386i | roadrunner)
basic_machine=i386-sun
;;
symmetry)
basic_machine=i386-sequent
os=-dynix
;;
tx39)
basic_machine=mipstx39-unknown
;;
tx39el)
basic_machine=mipstx39el-unknown
;;
tower | tower-32)
basic_machine=m68k-ncr
;;
udi29k)
basic_machine=a29k-amd
os=-udi
;;
ultra3)
basic_machine=a29k-nyu
os=-sym1
;;
vaxv)
basic_machine=vax-dec
os=-sysv
;;
vms)
basic_machine=vax-dec
os=-vms
;;
vpp*|vx|vx-*)
basic_machine=f301-fujitsu
;;
vxworks960)
basic_machine=i960-wrs
os=-vxworks
;;
vxworks68)
basic_machine=m68k-wrs
os=-vxworks
;;
vxworks29k)
basic_machine=a29k-wrs
os=-vxworks
;;
xmp)
basic_machine=xmp-cray
os=-unicos
;;
xps | xps100)
basic_machine=xps100-honeywell
;;
none)
basic_machine=none-none
os=-none
;;
# Here we handle the default manufacturer of certain CPU types. It is in
# some cases the only manufacturer, in others, it is the most popular.
mips)
if [ x$os = x-linux-gnu ]; then
basic_machine=mips-unknown
else
basic_machine=mips-mips
fi
;;
romp)
basic_machine=romp-ibm
;;
rs6000)
basic_machine=rs6000-ibm
;;
vax)
basic_machine=vax-dec
;;
pdp11)
basic_machine=pdp11-dec
;;
we32k)
basic_machine=we32k-att
;;
sparc)
basic_machine=sparc-sun
;;
cydra)
basic_machine=cydra-cydrome
;;
orion)
basic_machine=orion-highlevel
;;
orion105)
basic_machine=clipper-highlevel
;;
*)
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
exit 1
;;
esac
# Here we canonicalize certain aliases for manufacturers.
case $basic_machine in
*-digital*)
basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
;;
*-commodore*)
basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
;;
*)
;;
esac
# Decode manufacturer-specific aliases for certain operating systems.
if [ x"$os" != x"" ]
then
case $os in
# First match some system type aliases
# that might get confused with valid system types.
# -solaris* is a basic system type, with this one exception.
-solaris1 | -solaris1.*)
os=`echo $os | sed -e 's|solaris1|sunos4|'`
;;
-solaris)
os=-solaris2
;;
-svr4*)
os=-sysv4
;;
-unixware*)
os=-sysv4.2uw
;;
-gnu/linux*)
os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
;;
# First accept the basic system types.
# The portable systems comes first.
# Each alternative MUST END IN A *, to match a version number.
# -sysv* is not here because it comes later, after sysvr4.
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
| -aos* \
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
| -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
| -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
| -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
| -mingw32* | -linux-gnu* | -uxpv*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
-beos*)
os=-beos
;;
-linux*)
os=`echo $os | sed -e 's|linux|linux-gnu|'`
;;
-sunos5*)
os=`echo $os | sed -e 's|sunos5|solaris2|'`
;;
-sunos6*)
os=`echo $os | sed -e 's|sunos6|solaris3|'`
;;
-osfrose*)
os=-osfrose
;;
-osf*)
os=-osf
;;
-utek*)
os=-bsd
;;
-dynix*)
os=-bsd
;;
-acis*)
os=-aos
;;
-ctix* | -uts*)
os=-sysv
;;
-ns2 )
os=-nextstep2
;;
# Preserve the version number of sinix5.
-sinix5.*)
os=`echo $os | sed -e 's|sinix|sysv|'`
;;
-sinix*)
os=-sysv4
;;
-triton*)
os=-sysv3
;;
-oss*)
os=-sysv3
;;
-svr4)
os=-sysv4
;;
-svr3)
os=-sysv3
;;
-sysvr4)
os=-sysv4
;;
# This must come after -sysvr4.
-sysv*)
;;
-xenix)
os=-xenix
;;
-rhapsody*)
;;
-qnx*)
;;
-nto*)
;;
-none)
;;
*)
# Get rid of the `-' at the beginning of $os.
os=`echo $os | sed 's/[^-]*-//'`
echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
exit 1
;;
esac
else
# Here we handle the default operating systems that come with various machines.
# The value should be what the vendor currently ships out the door with their
# machine or put another way, the most popular os provided with the machine.
# Note that if you're going to try to match "-MANUFACTURER" here (say,
# "-sun"), then you have to tell the case statement up towards the top
# that MANUFACTURER isn't an operating system. Otherwise, code above
# will signal an error saying that MANUFACTURER isn't an operating
# system, and we'll never get to this point.
case $basic_machine in
*-acorn)
os=-riscix1.2
;;
arm*-semi)
os=-aout
;;
pdp11-*)
os=-none
;;
*-dec | vax-*)
os=-ultrix4.2
;;
m68*-apollo)
os=-domain
;;
i386-sun)
os=-sunos4.0.2
;;
m68000-sun)
os=-sunos3
# This also exists in the configure program, but was not the
# default.
# os=-sunos4
;;
*-tti) # must be before sparc entry or we get the wrong os.
os=-sysv3
;;
sparc-* | *-sun)
os=-sunos4.1.1
;;
*-ibm)
os=-aix
;;
*-hp)
os=-hpux
;;
*-hitachi)
os=-hiux
;;
i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
os=-sysv
;;
*-cbm)
os=-amigaos
;;
*-dg)
os=-dgux
;;
*-dolphin)
os=-sysv3
;;
m68k-ccur)
os=-rtu
;;
m88k-omron*)
os=-luna
;;
*-next )
os=-nextstep
;;
*-sequent)
os=-ptx
;;
*-crds)
os=-unos
;;
*-ns)
os=-genix
;;
i370-*)
os=-mvs
;;
*-next)
os=-nextstep3
;;
*-gould)
os=-sysv
;;
*-highlevel)
os=-bsd
;;
*-encore)
os=-bsd
;;
*-sgi)
os=-irix
;;
*-siemens)
os=-sysv4
;;
*-masscomp)
os=-rtu
;;
f301-fujitsu)
os=-uxpv
;;
*)
os=-none
;;
esac
fi
# Here we handle the case where we know the os, and the CPU type, but not the
# manufacturer. We pick the logical manufacturer.
vendor=unknown
case $basic_machine in
*-unknown)
case $os in
-riscix*)
vendor=acorn
;;
-sunos*)
vendor=sun
;;
-aix*)
vendor=ibm
;;
-hpux*)
vendor=hp
;;
-hiux*)
vendor=hitachi
;;
-unos*)
vendor=crds
;;
-dgux*)
vendor=dg
;;
-luna*)
vendor=omron
;;
-genix*)
vendor=ns
;;
-mvs*)
vendor=ibm
;;
-ptx*)
vendor=sequent
;;
-vxsim* | -vxworks*)
vendor=wrs
;;
-aux*)
vendor=apple
;;
esac
basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
;;
esac
echo $basic_machine$os

View File

@@ -0,0 +1,42 @@
#! /bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All Rights
# Reserved.
#
# find-mozconfig.sh - Loads options from .mozconfig onto configure's
# command-line. The .mozconfig file is searched for in the
# order:
# if $MOZCONFIG is set, use that.
# Otherwise, use $TOPSRCDIR/.mozconfig
# Otherwise, use $HOME/.mozconfig
#
topsrcdir=`cd \`dirname $0\`/../..; pwd`
for _config in $MOZCONFIG \
$MOZ_MYCONFIG \
$topsrcdir/.mozconfig \
$topsrcdir/mozconfig \
$topsrcdir/mozconfig.sh \
$topsrcdir/myconfig.sh \
$HOME/.mozconfig \
$HOME/.mozconfig.sh \
$HOME/.mozmyconfig.sh
do
if test -f $_config; then
echo $_config;
exit 0
fi
done

View File

@@ -0,0 +1,199 @@
# Configure paths for GLIB
# Owen Taylor 97-11-3
dnl AM_PATH_GLIB([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for GLIB, and define GLIB_CFLAGS and GLIB_LIBS, if "gmodule" or
dnl gthread is specified in MODULES, pass to glib-config
dnl
AC_DEFUN(AM_PATH_GLIB,
[dnl
dnl Get the cflags and libraries from the glib-config script
dnl
AC_ARG_WITH(glib-prefix,[ --with-glib-prefix=PFX Prefix where GLIB is installed (optional)],
glib_config_prefix="$withval", glib_config_prefix="")
AC_ARG_WITH(glib-exec-prefix,[ --with-glib-exec-prefix=PFX Exec prefix where GLIB is installed (optional)],
glib_config_exec_prefix="$withval", glib_config_exec_prefix="")
AC_ARG_ENABLE(glibtest, [ --disable-glibtest Do not try to compile and run a test GLIB program],
, enable_glibtest=yes)
if test x$glib_config_exec_prefix != x ; then
glib_config_args="$glib_config_args --exec-prefix=$glib_config_exec_prefix"
if test x${GLIB_CONFIG+set} != xset ; then
GLIB_CONFIG=$glib_config_exec_prefix/bin/glib-config
fi
fi
if test x$glib_config_prefix != x ; then
glib_config_args="$glib_config_args --prefix=$glib_config_prefix"
if test x${GLIB_CONFIG+set} != xset ; then
GLIB_CONFIG=$glib_config_prefix/bin/glib-config
fi
fi
for module in . $4
do
case "$module" in
gmodule)
glib_config_args="$glib_config_args gmodule"
;;
gthread)
glib_config_args="$glib_config_args gthread"
;;
esac
done
dnl Force a version check to keep upgraded versions from being overridden by the cached value.
unset ac_cv_path_GLIB_CONFIG
AC_PATH_PROG(GLIB_CONFIG, glib-config, no)
min_glib_version=ifelse([$1], ,0.99.7,$1)
AC_MSG_CHECKING(for GLIB - version >= $min_glib_version)
no_glib=""
if test "$GLIB_CONFIG" = "no" ; then
no_glib=yes
else
GLIB_CFLAGS=`$GLIB_CONFIG $glib_config_args --cflags`
GLIB_LIBS=`$GLIB_CONFIG $glib_config_args --libs`
glib_config_major_version=`$GLIB_CONFIG $glib_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
glib_config_minor_version=`$GLIB_CONFIG $glib_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
glib_config_micro_version=`$GLIB_CONFIG $glib_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_glibtest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GLIB_CFLAGS"
LIBS="$GLIB_LIBS $LIBS"
dnl
dnl Now check if the installed GLIB is sufficiently new. (Also sanity
dnl checks the results of glib-config to some extent
dnl
rm -f conf.glibtest
AC_TRY_RUN([
#include <glib.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.glibtest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_glib_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_glib_version");
exit(1);
}
if ((glib_major_version != $glib_config_major_version) ||
(glib_minor_version != $glib_config_minor_version) ||
(glib_micro_version != $glib_config_micro_version))
{
printf("\n*** 'glib-config --version' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
$glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
glib_major_version, glib_minor_version, glib_micro_version);
printf ("*** was found! If glib-config was correct, then it is best\n");
printf ("*** to remove the old version of GLIB. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If glib-config was wrong, set the environment variable GLIB_CONFIG\n");
printf("*** to point to the correct copy of glib-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
(glib_minor_version != GLIB_MINOR_VERSION) ||
(glib_micro_version != GLIB_MICRO_VERSION))
{
printf("*** GLIB header files (version %d.%d.%d) do not match\n",
GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
glib_major_version, glib_minor_version, glib_micro_version);
}
else
{
if ((glib_major_version > major) ||
((glib_major_version == major) && (glib_minor_version > minor)) ||
((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of GLIB (%d.%d.%d) was found.\n",
glib_major_version, glib_minor_version, glib_micro_version);
printf("*** You need a version of GLIB newer than %d.%d.%d. The latest version of\n",
major, minor, micro);
printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the glib-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of GLIB, but you can also set the GLIB_CONFIG environment to point to the\n");
printf("*** correct copy of glib-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
],, no_glib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_glib" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$GLIB_CONFIG" = "no" ; then
echo "*** The glib-config script installed by GLIB could not be found"
echo "*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the GLIB_CONFIG environment variable to the"
echo "*** full path to glib-config."
else
if test -f conf.glibtest ; then
:
else
echo "*** Could not run GLIB test program, checking why..."
CFLAGS="$CFLAGS $GLIB_CFLAGS"
LIBS="$LIBS $GLIB_LIBS"
AC_TRY_LINK([
#include <glib.h>
#include <stdio.h>
], [ return ((glib_major_version) || (glib_minor_version) || (glib_micro_version)); ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding GLIB or finding the wrong"
echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
echo "***"
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
echo "*** came with the system with the command"
echo "***"
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means GLIB was incorrectly installed"
echo "*** or that you have moved GLIB since it was installed. In the latter case, you"
echo "*** may want to edit the glib-config script: $GLIB_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
GLIB_CFLAGS=""
GLIB_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
rm -f conf.glibtest
])

View File

@@ -0,0 +1,190 @@
# Configure paths for GTK+
# Owen Taylor 97-11-3
# (copy of gtk.m4 (public domain))
dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
dnl
AC_DEFUN(AM_PATH_GTK,
[dnl
dnl Get the cflags and libraries from the gtk-config script
dnl
AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
gtk_config_prefix="$withval", gtk_config_prefix="")
AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
, enable_gtktest=yes)
if test x$gtk_config_exec_prefix != x ; then
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
if test x${GTK_CONFIG+set} != xset ; then
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
fi
fi
if test x$gtk_config_prefix != x ; then
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
if test x${GTK_CONFIG+set} != xset ; then
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
fi
fi
dnl Force a version check to keep upgraded versions from being overridden by the cached value.
unset ac_cv_path_GTK_CONFIG
AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
min_gtk_version=ifelse([$1], ,0.99.7,$1)
AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
no_gtk=""
if test "$GTK_CONFIG" = "no" ; then
no_gtk=yes
else
GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_gtktest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
dnl
dnl Now check if the installed GTK is sufficiently new. (Also sanity
dnl checks the results of gtk-config to some extent
dnl
rm -f conf.gtktest
AC_TRY_RUN([
#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
int major, minor, micro;
char *tmp_version;
system ("touch conf.gtktest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup("$min_gtk_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_gtk_version");
exit(1);
}
if ((gtk_major_version != $gtk_config_major_version) ||
(gtk_minor_version != $gtk_config_minor_version) ||
(gtk_micro_version != $gtk_config_micro_version))
{
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf ("*** was found! If gtk-config was correct, then it is best\n");
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
(gtk_minor_version != GTK_MINOR_VERSION) ||
(gtk_micro_version != GTK_MICRO_VERSION))
{
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
}
#endif /* defined (GTK_MAJOR_VERSION) ... */
else
{
if ((gtk_major_version > major) ||
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
gtk_major_version, gtk_minor_version, gtk_micro_version);
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
major, minor, micro);
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_gtk" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$GTK_CONFIG" = "no" ; then
echo "*** The gtk-config script installed by GTK could not be found."
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the GTK_CONFIG environment variable to the"
echo "*** full path to gtk-config."
echo "*** GTK+ is available from ftp://ftp.gtk.org/pub/gtk"
else
if test -f conf.gtktest ; then
:
else
echo "*** Could not run GTK test program, checking why..."
CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS="$LIBS $GTK_LIBS"
AC_TRY_LINK([
#include <gtk/gtk.h>
#include <stdio.h>
], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding GTK or finding the wrong"
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
echo "***"
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
echo "*** came with the system with the command"
echo "***"
echo "*** rpm --erase --nodeps gtk gtk-devel" ],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
GTK_CFLAGS=""
GTK_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
rm -f conf.gtktest
])

119
mozilla/build/autoconf/install-sh Executable file
View File

@@ -0,0 +1,119 @@
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5; it is not part of GNU.
#
# $XConsortium: install.sh,v 1.2 89/12/18 14:47:22 jim Exp $
#
# This script is compatible with the BSD install script, but was written
# from scratch.
#
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
instcmd="$mvprog"
chmodcmd=""
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd="$cpprog"
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd="$stripprog"
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "install: no input file specified"
exit 1
fi
if [ x"$dst" = x ]
then
echo "install: no destination specified"
exit 1
fi
# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic
if [ -d $dst ]
then
dst="$dst"/`basename $src`
fi
# Make a temp file name in the proper directory.
dstdir=`dirname $dst`
dsttmp=$dstdir/#inst.$$#
# Move or copy the file name to the temp name
$doit $instcmd $src $dsttmp
# and set any options; do chmod last to preserve setuid bits
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; fi
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; fi
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; fi
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; fi
# Now rename the file to the real destination.
$doit $rmcmd $dst
$doit $mvcmd $dsttmp $dst
exit 0

View File

@@ -0,0 +1,196 @@
# Configure paths for LIBIDL
dnl AM_PATH_LIBIDL([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
dnl Test for LIBIDL, and define LIBIDL_CFLAGS and LIBIDL_LIBS
dnl
AC_DEFUN(AM_PATH_LIBIDL,
[dnl
dnl Get the cflags and libraries from the libIDL-config script
dnl
AC_ARG_WITH(libIDL-prefix,[ --with-libIDL-prefix=PFX Prefix where libIDL is installed (optional)],
libIDL_config_prefix="$withval", libIDL_config_prefix="")
AC_ARG_WITH(libIDL-exec-prefix,[ --with-libIDL-exec-prefix=PFX Exec prefix where libIDL is installed (optional)],
libIDL_config_exec_prefix="$withval", libIDL_config_exec_prefix="")
AC_ARG_ENABLE(libIDLtest, [ --disable-libIDLtest Do not try to compile and run a test libIDL program],
, enable_libIDLtest=yes)
if test x$libIDL_config_exec_prefix != x ; then
libIDL_config_args="$libIDL_config_args --exec-prefix=$libIDL_config_exec_prefix"
if test x${LIBIDL_CONFIG+set} != xset ; then
LIBIDL_CONFIG=$libIDL_config_exec_prefix/bin/libIDL-config
fi
fi
if test x$libIDL_config_prefix != x ; then
libIDL_config_args="$libIDL_config_args --prefix=$libIDL_config_prefix"
if test x${LIBIDL_CONFIG+set} != xset ; then
LIBIDL_CONFIG=$libIDL_config_prefix/bin/libIDL-config
fi
fi
AM_PATH_GLIB(1.2.0)
dnl Force a version check to keep upgraded versions from being overridden by the cached value.
unset ac_cv_path_LIBIDL_CONFIG
AC_PATH_PROG(LIBIDL_CONFIG, libIDL-config, no)
min_libIDL_version=ifelse([$1], ,0.6.0,$1)
AC_MSG_CHECKING(for libIDL - version >= $min_libIDL_version)
no_libIDL=""
if test "$LIBIDL_CONFIG" = "no" ; then
no_libIDL=yes
else
LIBIDL_CFLAGS=`$LIBIDL_CONFIG $libIDL_config_args --cflags`
LIBIDL_LIBS=`$LIBIDL_CONFIG $libIDL_config_args --libs`
# hack to allow us to keep using libIDL 0.6.3-0.6.7. Anyone may remove
# this after we start requiring libIDL 0.6.8 or anything higher
LIBIDL_CFLAGS="$GLIB_CFLAGS $LIBIDL_CFLAGS"
LIBIDL_LIBS="$GLIB_LIBS $LIBIDL_LIBS"
libIDL_config_major_version=`$LIBIDL_CONFIG $libIDL_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
libIDL_config_minor_version=`$LIBIDL_CONFIG $libIDL_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
libIDL_config_micro_version=`$LIBIDL_CONFIG $libIDL_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
if test "x$enable_libIDLtest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $LIBIDL_CFLAGS"
LIBS="$LIBIDL_LIBS $LIBS"
dnl
dnl Now check if the installed LIBIDL is sufficiently new.
dnl
rm -f conf.libIDLtest
AC_TRY_RUN([
#include <stdio.h>
#include <stdlib.h>
#include <libIDL/IDL.h>
int
main ()
{
int major, minor, micro;
int libIDL_major_version;
int libIDL_minor_version;
int libIDL_micro_version;
char *tmp_version;
system ("touch conf.libIDLtest");
/* HP/UX 9 (%@#!) writes to sscanf strings */
tmp_version = g_strdup ("$min_libIDL_version");
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
printf("%s, bad version string\n", "$min_libIDL_version");
exit(1);
}
tmp_version = g_strdup (IDL_get_libver_string ());
if (sscanf(tmp_version, "%d.%d.%d",
&libIDL_major_version,
&libIDL_minor_version,
&libIDL_micro_version) != 3) {
printf("%s, bad version string\n", tmp_version);
exit(1);
}
if ((libIDL_major_version != $libIDL_config_major_version) ||
(libIDL_minor_version != $libIDL_config_minor_version) ||
(libIDL_micro_version != $libIDL_config_micro_version))
{
printf("\n*** 'libIDL-config --version' returned %d.%d.%d, but libIDL (%d.%d.%d)\n",
$libIDL_config_major_version, $libIDL_config_minor_version, $libIDL_config_micro_version,
libIDL_major_version, libIDL_minor_version, libIDL_micro_version);
printf ("*** was found! If libIDL-config was correct, then it is best\n");
printf ("*** to remove the old version of LIBIDL. You may also be able to fix the error\n");
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
printf("*** required on your system.\n");
printf("*** If libIDL-config was wrong, set the environment variable LIBIDL_CONFIG\n");
printf("*** to point to the correct copy of libIDL-config, and remove the file config.cache\n");
printf("*** before re-running configure\n");
}
else if ((libIDL_major_version != LIBIDL_MAJOR_VERSION) ||
(libIDL_minor_version != LIBIDL_MINOR_VERSION) ||
(libIDL_micro_version != LIBIDL_MICRO_VERSION))
{
printf("\n*** libIDL header files (version %d.%d.%d) do not match\n",
LIBIDL_MAJOR_VERSION, LIBIDL_MINOR_VERSION, LIBIDL_MICRO_VERSION);
printf("*** library (version %d.%d.%d)\n",
libIDL_major_version, libIDL_minor_version, libIDL_micro_version);
}
else
{
if ((libIDL_major_version > major) ||
((libIDL_major_version == major) && (libIDL_minor_version > minor)) ||
((libIDL_major_version == major) && (libIDL_minor_version == minor) && (libIDL_micro_version >= micro)))
{
return 0;
}
else
{
printf("\n*** An old version of libIDL (%d.%d.%d) was found.\n",
libIDL_major_version, libIDL_minor_version, libIDL_micro_version);
printf("*** You need at least libIDL version %d.%d.%d.\n",
major, minor, micro);
printf("***\n");
printf("*** If you have already installed a sufficiently new version, this error\n");
printf("*** probably means that the wrong copy of the libIDL-config shell script is\n");
printf("*** being found. The easiest way to fix this is to remove the old version\n");
printf("*** of libIDL, but you can also set the LIBIDL_CONFIG environment to point to the\n");
printf("*** correct copy of libIDL-config. (In this case, you will have to\n");
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
printf("*** so that the correct libraries are found at run-time))\n");
}
}
return 1;
}
],, no_libIDL=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
if test "x$no_libIDL" = x ; then
AC_MSG_RESULT(yes)
ifelse([$2], , :, [$2])
else
AC_MSG_RESULT(no)
if test "$LIBIDL_CONFIG" = "no" ; then
echo "*** The libIDL-config script installed by libIDL could not be found"
echo "*** If libIDL was installed in PREFIX, make sure PREFIX/bin is in"
echo "*** your path, or set the LIBIDL_CONFIG environment variable to the"
echo "*** full path to libIDL-config."
else
if test -f conf.libIDLtest ; then
:
else
echo "*** Could not run libIDL test program, checking why..."
CFLAGS="$CFLAGS $LIBIDL_CFLAGS"
LIBS="$LIBS $LIBIDL_LIBS"
AC_TRY_LINK([
#include <stdio.h>
#include <stdlib.h>
#include <libIDL/IDL.h>
], [ return IDL_get_libver_string ? 1 : 0; ],
[ echo "*** The test program compiled, but did not run. This usually means"
echo "*** that the run-time linker is not finding libIDL or finding the wrong"
echo "*** version of LIBIDL. If it is not finding libIDL, you'll need to set your"
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
echo "*** to the installed location Also, make sure you have run ldconfig if that"
echo "*** is required on your system"
echo "***"
echo "*** If you have an old version installed, it is best to remove it, although"
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
[ echo "*** The test program failed to compile or link. See the file config.log for the"
echo "*** exact error that occured. This usually means libIDL was incorrectly installed"
echo "*** or that you have moved libIDL since it was installed. In the latter case, you"
echo "*** may want to edit the libIDL-config script: $LIBIDL_CONFIG" ])
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi
fi
LIBIDL_CFLAGS=""
LIBIDL_LIBS=""
ifelse([$3], , :, [$3])
fi
AC_SUBST(LIBIDL_CFLAGS)
AC_SUBST(LIBIDL_LIBS)
rm -f conf.libIDLtest
])

View File

@@ -0,0 +1,98 @@
# sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All Rights
# Reserved.
#
# load-mozconfig.sh - Loads options from .mozconfig onto configure's
# command-line. See find-mozconfig.sh for how the config file is
# found
#
# The options from .mozconfig are inserted into the command-line
# before the real command-line options. This way the real options
# will override any .mozconfig options.
#
# .mozconfig is a shell script. To add an option to configure's
# command-line use the pre-defined function, ac_add_options,
#
# ac_add_options <configure-option> [<configure-option> ... ]
#
# For example,
#
# ac_add_options --with-pthreads --enable-debug
#
# ac_add_options can be called multiple times in .mozconfig.
# Each call adds more options to configure's command-line.
#
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
ac_add_options() {
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash.
_opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g;s/@\([^@]*\)@/\$\1/g;'`
_opt=`echo $_opt | sed -e 's/@\([^@]*\)@/\$(\1)/g'`
# Avoid adding duplicates
case "$ac_options" in
*"$_opt"* ) ;;
* ) mozconfig_ac_options="$mozconfig_ac_options $_opt" ;;
esac
done
}
mk_add_options() {
# These options are for client.mk
# configure can safely ignore them.
:
}
ac_echo_options() {
echo "Adding options from $MOZCONFIG:"
eval "set -- $mozconfig_ac_options"
for _opt
do
echo " $_opt"
done
}
#
# Define load the options
#
ac_options=
mozconfig_ac_options=
# Save the real command-line options
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash.
_opt=`echo $_opt | sed -e 's/\([\ \ \$\"\\]\)/\\\\\1/g;'`
ac_options="$ac_options \"$_opt\""
done
# Call find-mozconfig.sh
# In params: $MOZCONFIG $HOME (old:$MOZ_MYCONFIG)
_topsrcdir=`dirname $0`
MOZCONFIG=`$_topsrcdir/build/autoconf/find-mozconfig.sh`
if [ "$MOZCONFIG" ]; then
. $MOZCONFIG
ac_echo_options 1>&2
fi
eval "set -- $mozconfig_ac_options $ac_options"

View File

@@ -0,0 +1,96 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# This script will match a dir with a set of dirs.
#
# Usage: match-dir.sh match [dir1 dir2 ... dirn]
#
# Send comments, improvements, bugs to ramiro@netscape.com
#
if [ -f Makefile ]; then
MAKEFILE="Makefile"
else
if [ -f Makefile.in ]; then
MAKEFILE="Makefile.in"
else
echo
echo "There ain't no 'Makefile' or 'Makefile.in' over here: $pwd, dude."
echo
exit 1
fi
fi
# Use DEPTH in the Makefile.in to determine the depth
depth=`grep -w DEPTH ${MAKEFILE} | grep -e "\.\." | awk -F"=" '{ print $2; }'`
# Determine the depth count
n=`echo $depth | tr '/' ' ' | wc -w`
# Determine the path (strip anything before the mozilla/ root)
# If we are building in the source directory then the Makefile will have
# srcdir set to '.' and we have to get the path from the pwd command.
# If we are building outside of the source tree then we can get the information
# we need from the srcdir statement in the Makefile.
tpth=`grep '^srcdir.*/mozilla/' ${MAKEFILE}`
if [ "$tpth" = "" ]; then
tpth=`pwd`
fi
path=`echo $tpth | awk -v count=$n -F"/" '\
{ for(i=NF-count+0; i <= NF ; i++) \
{ \
if (i!=NF) \
{ printf "%s/", $i } \
else \
{ printf "%s", $i } \
} \
}'`
match=$path
for i in $*
do
# echo "Looking for $match in $i"
echo $i | grep -q -x $match
if [ $? -eq 0 ]
then
echo "1"
exit 0
fi
# echo "Looking for $i in $match"
echo $match | grep -q $i
if [ $? -eq 0 ]
then
echo "1"
exit 0
fi
done
echo "0"
exit 0

View File

@@ -0,0 +1,79 @@
#! /bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All Rights
# Reserved.
#
# mozconfig2defs.sh - Translates .mozconfig into options for client.mk.
# Prints defines to stdout.
#
# See load-mozconfig.sh for more details
#
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
print_header() {
echo "# gmake"
echo "# This file is automatically generated for client.mk."
echo "# Do not edit. Edit $MOZCONFIG instead."
echo
}
ac_add_options() {
echo "# $* is not used by client.mk"
}
mk_add_options() {
for _opt
do
# Escape shell characters, space, tab, dollar, quote, backslash,
# and substitute '@<word>@' with '$(<word>)'.
echo $_opt | sed -e 's/\([\"\\]\)/\\\1/g; s/@\([^@]*\)@/\$(\1)/g;'
done
}
#
# main
#
out_file=$1
tmp_file="$out_file-tmp$$"
trap "rm -f $tmp_file; exit 1" 1 2 15
# find-mozconfig.sh
# In params: $MOZCONFIG $HOME ($MOZ_MYCONFIG)
scriptdir=`dirname $0`
find_mozconfig="$scriptdir/find-mozconfig.sh"
if [ ! -f $find_mozconfig ]
then
(cd $scriptdir/../../..; cvs co mozilla/build/autoconf/find-mozconfig.sh)
fi
MOZCONFIG=`$find_mozconfig`
if [ "$MOZCONFIG" ]
then
print_header >$tmp_file
. $MOZCONFIG >> $tmp_file
if cmp -s $tmp_file $out_file; then
rm $tmp_file
else
mv -f $tmp_file $out_file
fi
else
echo "# This file is automatically generated for client.mk." > $out_file
fi

View File

@@ -0,0 +1,71 @@
#! /bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1999 Netscape Communications Corporation. All Rights
# Reserved.
#
# mozconfig2defs.sh - Translates .mozconfig into options for client.mk.
# Prints defines to stdout.
#
# See load-mozconfig.sh for more details
#
# Send comments, improvements, bugs to Steve Lamm (slamm@netscape.com).
ac_add_options() {
for _opt
do
# Escape special url characters
_opt=`echo $_opt | sed -e 's/%/%25/g;s/ /%20/g;s/&/%26/g;'`
case "$_opt" in
--*-*= ) query_string="$query_string$_opt&" ;;
--*-* ) query_string="$query_string$_opt=yes&" ;;
esac
done
}
mk_add_options() {
for _opt
do
# Escape special url characters
# Escape special url characters
_opt=`echo $_opt | sed -e 's/%/%25/g;s/ /%20/g;s/&/%26/g;'`
query_string="$query_string$_opt&"
done
}
#
# main
#
# find-mozconfig.sh
# In params: $MOZCONFIG $HOME ($MOZ_MYCONFIG)
scriptdir=`dirname $0`
find_mozconfig="$scriptdir/find-mozconfig.sh"
if [ ! -f $find_mozconfig ]
then
(cd $scriptdir/../../..; cvs co mozilla/build/autoconf/find-mozconfig.sh)
fi
MOZCONFIG=`$find_mozconfig`
if [ "$MOZCONFIG" ]
then
query_string="?"
. $MOZCONFIG
# Drop the last character of $query_string
echo `expr "$query_string" : "\(.*\)."`
fi

View File

@@ -0,0 +1,59 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# This script will print the depth path for a mozilla directory based
# on the info in Makefile.in
#
# Its a hack. Its brute force. Its horrible.
# It dont use Artificial Intelligence. It dont use Virtual Reality.
# Its not perl. Its not python. But it works.
#
# Usage: print-depth-path.sh
#
# Send comments, improvements, bugs to ramiro@netscape.com
#
# Make sure a Makefile.in exists
if [ ! -f Makefile.in ]
then
echo
echo "There ain't no 'Makefile.in' over here: $pwd, dude."
echo
exit
fi
# Use DEPTH in the Makefile.in to determine the depth
depth=`grep -w DEPTH Makefile.in | grep -e "\.\." | awk -F"=" '{ print $2; }'`
# Determine the depth count
n=`echo $depth | tr '/' ' ' | wc -w`
# Determine the path (strip anything before the mozilla/ root)
path=`pwd | awk -v count=$n -F"/" '\
{ for(i=NF-count+0; i <= NF ; i++) \
{ \
if (i!=NF) \
{ printf "%s/", $i } \
else \
{ printf "%s", $i } \
} \
}'`
echo $path

View File

@@ -0,0 +1,69 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# This script will generate a single Makefile from a Makefile.in using
# the config.status script.
#
# The config.status script is generated the first time you run
# ./configure.
#
#
# Usage: update-makefile.sh
#
# Send comments, improvements, bugs to ramiro@netscape.com
#
root_path=`pwd`
# Make sure a Makefile exists
basemakefile=$root_path/Makefile
if [ -f $basemakefile ]
then
makefile=$basemakefile
elif [ -f $root_path/Makefile.in ]
then
makefile=$root_path/Makefile.in
else
echo
echo "There ain't no 'Makefile' or 'Makefile.in' over here: $pwd"
echo
exit
fi
# Use DEPTH in the Makefile to determine the depth
depth=`egrep '^DEPTH[ ]*=[ ]*\.' $makefile | awk -F= '{ print $2; }'`
# 'cd' to the root of the tree
cd $depth
root_path=`pwd`
# Strip the tree root off the Makefile's path
basemakefile=`expr $basemakefile : $root_path'/\(.*\)'`
# Make sure config.status exists
if [ -f config.status ]
then
CONFIG_FILES=$basemakefile ./config.status
else
echo
echo "There ain't no 'config.status' over here: $pwd"
echo
fi

View File

@@ -0,0 +1 @@
98091517

25
mozilla/build/genrc.sh Executable file
View File

@@ -0,0 +1,25 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DATATYPE="$1"
INFILE="$2"
echo "${DATATYPE} RCDATA"
sed 's/"/""/g' ${INFILE} | awk 'BEGIN { printf("BEGIN\n") } { printf("\"%s\\r\\n\",\n", $0) } END { printf("\"\\0\"\nEND\n") }'
exit 0

91
mozilla/build/hcc Executable file
View File

@@ -0,0 +1,91 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# Fix brain-damaged compilers that don't understand -o and -c together
#
CC=`echo $1 | sed -e "s|'||g" -e 's|"||g'`
shift
DASH_C=0
DASH_O=0
DUMMY="XxxXxxX"
GET_OBJECT=0
OBJ="${DUMMY}"
OBJECT="${DUMMY}"
for i in $*
do
[ "${CHECK_O}" = yes ] && {
case $i in
./*/*.o) OBJECT="$i"
OPTS="${OPTS} -o"
DASH_O=1
;;
./*.o) OBJECT="`basename $i`"
i=""
DASH_O=1
;;
*.o) if [ $i = `basename $i` ]
then
OBJECT="$i"
i=""
else
OPTS="${OPTS} -o"
fi
DASH_O=1
;;
*) OPTS="${OPTS} -o $i"
DASH_O=1
i=""
;;
esac
CHECK_O=no
}
case $i in
-c) DASH_C=1
OPTS="${OPTS} -c"
;;
-o) CHECK_O=yes
;;
*.c) C_SRC=$i
OPTS="${OPTS} $i"
# cc always creates the .o from the .c name
OBJ=`basename $C_SRC .c`.o
;;
*.s) S_SRC=$i
OPTS="${OPTS} $i"
# or the .o from the .s name
OBJ=`basename $S_SRC .s`.o
;;
*.o) OBJECT=$i
OPTS="${OPTS} $i"
;;
*) OPTS="${OPTS} $i"
;;
esac
done
${CC} ${OPTS} || exit $?
# if there was no -c and -o we're done
[ $DASH_C = 1 -a $DASH_O = 1 ] || exit 0
# if $OBJ and $OBJECT are the same we're done
[ $OBJ = $OBJECT ] && exit 0
[ -f $OBJ ] && mv -f $OBJ $OBJECT

135
mozilla/build/hcpp Executable file
View File

@@ -0,0 +1,135 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# Wrapper for brain-damaged compilers that don't understand -o and -c together.
#
CXX=`echo $1 | sed -e "s|'||g" -e 's|"||g'`
shift
DUMMY="XxxXxxX"
DASH_C=0
DASH_O=0
GET_OBJECT=0
C_SRC="${DUMMY}"
CC_SRC="${DUMMY}"
CPP_SRC="${DUMMY}"
S_SRC="${DUMMY}"
OBJECT="${DUMMY}"
NEW_i="${DUMMY}"
PLATFORM=`uname -s`
for i in $*
do
[ ${GET_OBJECT} -eq 1 ] && {
case $i in
./*/*.o) OBJECT="$i"
OPTS="${OPTS} -o"
DASH_O=1
;;
./*.o) OBJECT="`basename $i`"
i=""
DASH_O=1
;;
*.o) if [ $i = `basename $i` ]
then
i=""
else
OPTS="${OPTS} -o"
DASH_O=1
fi
;;
*) OPTS="${OPTS} -o $i"
DASH_O=1
i=""
;;
esac
GET_OBJECT=0
}
case $i in
-c)
DASH_C=1
OPTS="${OPTS} -c"
;;
-o)
GET_OBJECT=1
;;
*.c)
C_SRC="$i"
OPTS="${OPTS} $i"
# cc always creates the .o from the .c name
OBJ=`basename ${C_SRC} .c`.o
;;
+.*)
OPTS="${OPTS} $i"
;;
*.cpp)
CPP_SRC="$i"
if [ "${PLATFORM}" = "SCO_SV" ]; then
OPTS="${OPTS} +.cpp $i"
elif [ "${PLATFORM}" = "IRIX" ]; then
NEW_i=`basename ${CPP_SRC} .cpp`.C
rm -f ${NEW_i}
cp $i ${NEW_i}
OPTS="${OPTS} ${NEW_i}"
else
OPTS="${OPTS} $i"
fi
# cc always creates the .o from the .cpp name
OBJ=`basename ${CPP_SRC} .cpp`.o
;;
*.cc)
CC_SRC="$i"
OPTS="${OPTS} $i"
# cc always creates the .o from the .cc name
OBJ=`basename ${CC_SRC} .cc`.o
;;
*.s)
S_SRC="$i"
OPTS="${OPTS} $i"
# cc always creates the .o from the .s name
OBJ=`basename ${S_SRC} .s`.o
;;
*.o) OBJECT=$i
OPTS="${OPTS} $i"
;;
*) OPTS="${OPTS} $i"
;;
esac
done
${CXX} ${OPTS} || exit $?
rm -f ${NEW_i}
# Really only needed for NSPR now.
if [ "${PLATFORM}" = "IRIX" -a "$OBJ" != "$OBJECT" ]; then
OBJ=$OBJECT
fi
# LAME!!!
if [ -f -O ]; then
mv -f -- -O ${OBJECT}
fi
# if there was no -c and -o we're done
[ ${DASH_C} -eq 1 -a ${DASH_O} -eq 1 ] || exit 0
# if $OBJ and $OBJECT are the same we're done
[ $OBJ = $OBJECT ] && exit 0
[ -f $OBJ ] && mv -f $OBJ $OBJECT

View File

@@ -0,0 +1,357 @@
#!perl
package BuildList;
require Exporter;
@ISA = qw(Exporter);
@EXPORT = qw(BuildMozilla DistMozilla);
=head1 NAME
BuildList - build the [ordered] set of projects needed to construct Mozilla
=head1 SYNOPSIS
...
=head1 COPYRIGHT
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
=cut
use Moz;
use File::Path;
sub BuildMozilla()
{
if ( $main::DEBUG )
{
$D = "Debug";
$dist_dir = ":mozilla:dist:client_debug:";
}
else
{
$D = "";
$dist_dir = ":mozilla:dist:client:";
}
#
# Build the appropriate target of each project
#
BuildProjectClean(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "Stubs");
BuildProjectClean(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp", "Stubs");
BuildProjectClean(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "Stubs");
# BuildProjectClean(":mozilla:cmd:macfe:projects:client:Client.mcp", "Stubs");
if ( $main::CARBON )
{
BuildProject(":mozilla:cmd:macfe:projects:interfaceLib:Interface.mcp", "Carbon Interfaces");
}
else
{
BuildProject(":mozilla:cmd:macfe:projects:interfaceLib:Interface.mcp", "MacOS Interfaces");
}
BuildProject(":mozilla:lib:mac:NSRuntime:NSRuntime.mcp", "NSRuntime$D.shlb");
MakeAlias(":mozilla:lib:mac:NSRuntime:NSRuntime$D.shlb", "$dist_dir");
BuildProject(":mozilla:cmd:macfe:restext:StringLib.mcp", "Strings$D.shlb");
MakeAlias(":mozilla:cmd:macfe:restext:Strings$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:MoreFiles:build:MoreFilesPPC.mcp", "MoreFiles$D.shlb");
MakeAlias(":mozilla:lib:mac:MoreFiles:build:MoreFiles$D.shlb", "$dist_dir");
BuildProject(":mozilla:nsprpub:macbuild:NSPR20PPC.mcp", "NSPR20$D.shlb");
MakeAlias(":mozilla:nsprpub:macbuild:NSPR20$D.shlb", "$dist_dir");
BuildProject(":mozilla:dbm:macbuild:DBMPPC.mcp", "DBM$D.shlb");
MakeAlias(":mozilla:dbm:macbuild:DBM$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator.mcp", "MemAllocator$D.shlb");
MakeAlias(":mozilla:lib:mac:MacMemoryAllocator:MemAllocator$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:NSStdLib:NSStdLib.mcp", "NSStdLib$D.shlb");
MakeAlias(":mozilla:lib:mac:NSStdLib:NSStdLib$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:libreg:macbuild:libreg.mcp", "libreg$D.shlb");
MakeAlias(":mozilla:modules:libreg:macbuild:libreg$D.shlb", "$dist_dir");
BuildProject(":mozilla:xpcom:macbuild:xpcomPPC.mcp", "xpcom$D.shlb");
MakeAlias(":mozilla:xpcom:macbuild:xpcom$D.shlb", "$dist_dir");
BuildProject(":mozilla:lib:mac:PowerPlant:PowerPlant.mcp", "PowerPlant$D.shlb");
MakeAlias(":mozilla:lib:mac:PowerPlant:PowerPlant$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:progress:macbuild:ProgressPPC.mcp", "Progress$D.shlb");
MakeAlias(":mozilla:modules:progress:macbuild:Progress$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:zlib:macbuild:zlib.mcp", "zlib$D.shlb");
MakeAlias(":mozilla:modules:zlib:macbuild:zlib$D.shlb", "$dist_dir");
BuildProject(":mozilla:jpeg:macbuild:JPEG.mcp", "JPEG$D.shlb");
MakeAlias(":mozilla:jpeg:macbuild:JPEG$D.shlb", "$dist_dir");
BuildProject(":mozilla:sun-java:stubs:macbuild:JavaStubs.mcp", "JavaRuntime$D.shlb");
MakeAlias(":mozilla:sun-java:stubs:macbuild:JavaRuntime$D.shlb", "$dist_dir");
BuildProject(":mozilla:js:macbuild:JavaScriptPPC.mcp", "JavaScript$D.shlb");
MakeAlias(":mozilla:js:macbuild:JavaScript$D.shlb", "$dist_dir");
BuildProject(":mozilla:js:macbuild:LiveConnect.mcp", "LiveConnect$D.shlb");
MakeAlias(":mozilla:js:macbuild:LiveConnect$D.shlb", "$dist_dir");
BuildProject(":mozilla:nav-java:stubs:macbuild:NavJavaStubs.mcp", "NavJava$D.shlb");
MakeAlias(":mozilla:nav-java:stubs:macbuild:NavJava$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:rdf:macbuild:RDF.mcp", "RDF$D.shlb");
MakeAlias(":mozilla:modules:rdf:macbuild:RDF$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:xml:macbuild:XML.mcp", "XML$D.shlb");
MakeAlias(":mozilla:modules:xml:macbuild:XML$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:schedulr:macbuild:Schedulr.mcp", "Scheduler$D.shlb");
MakeAlias(":mozilla:modules:schedulr:macbuild:Scheduler$D.shlb", "$dist_dir");
BuildProject(":mozilla:build:mac:CustomLib:CustomLib.mcp", "CustomLib$D.shlb");
MakeAlias(":mozilla:build:mac:CustomLib:CustomLib$D.shlb", "$dist_dir");
BuildProject(":mozilla:modules:security:freenav:macbuild:NoSecurity.mcp", "Security.o");
BuildProject(":mozilla:modules:libfont:macbuild:FontBroker.mcp", "FontBroker$D.o");
BuildProject(":mozilla:modules:oji:macbuild:oji.mcp", "oji$D.o");
BuildProject(":mozilla:lib:libmocha:macbuild:LibMocha.mcp", "LibMocha$D.o");
if ( $main::MOZ_DARK == 1 )
{
BuildProject(":mozilla:network:macbuild:network.mcp", "Network$D.o (mailnews)");
}
else
{
BuildProject(":mozilla:network:macbuild:network.mcp", "Network$D.o");
}
BuildProject(":mozilla:caps:macbuild:Caps.mcp", "Caps$D.o");
BuildProject(":mozilla:modules:libimg:macbuild:png.mcp", "png$D.o");
BuildProject(":mozilla:modules:libimg:macbuild:libimg.mcp", "libimg$D.o");
BuildProject(":mozilla:build:mac:CustomLib:CustomLib.mcp", "CustomStaticLib$D.o");
if ( $main::MOZ_LITE == 1 )
{
BuildProject(":mozilla:cmd:macfe:projects:dummies:MakeDummies.mcp", "MailNews$D.o");
BuildProject(":mozilla:cmd:macfe:projects:dummies:MakeDummies.mcp", "Composer$D.o");
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Nav_Resources");
}
else
{
if ( $main::MOZ_MEDIUM == 1 )
{
BuildProject(":mozilla:cmd:macfe:projects:dummies:MakeDummies.mcp", "MailNews$D.o");
BuildProject(":mozilla:cmd:macfe:Composer:build:Composer.mcp", "Composer$D.o");
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Moz_Resources");
}
else
{
if ( $main::MOZ_DARK == 1 )
{
BuildProject(":ns:lib:libneo:mac:macbuild:NeoLib.mcp", "NeoLib$D.o");
MakeAlias( ":ns:lib:libneo:mac:macbuild:NeoLib$D.o", "$dist_dir");
BuildProject(":mozilla:lib:libmsg:macbuild:MsgLib.mcp", "MsgLib$D.o (secure)");
MakeAlias( ":mozilla:lib:libmsg:macbuild:MsgLib$D.o", "$dist_dir");
BuildProject(":mozilla:directory:c-sdk:ldap:libraries:macintosh:LDAPClient.mcp","LDAPClient$D.o");
MakeAlias( ":mozilla:directory:c-sdk:ldap:libraries:macintosh:LDAPClient$D.o", "$dist_dir");
BuildProject(":mozilla:cmd:macfe:MailNews:build:MailNews.mcp", "MailNews$D.o");
BuildProject(":mozilla:cmd:macfe:Composer:build:Composer.mcp", "Composer$D.o");
BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "MozDark_Resources");
}
}
}
# BuildProject(":mozilla:cmd:macfe:projects:client:Client.mcp", "Client$D");
}
sub DistMozilla()
{
mkpath([ ":mozilla:dist:", ":mozilla:dist:client:", ":mozilla:dist:client_debug:", ":mozilla:dist:client_stubs:" ]);
#CONFIG
InstallFromManifest(":mozilla:config:mac:MANIFEST", ":mozilla:dist:config:");
InstallFromManifest(":mozilla:config:mac:MANIFEST_config", ":mozilla:dist:config:");
#INCLUDE
InstallFromManifest(":mozilla:include:MANIFEST", ":mozilla:dist:include:");
InstallFromManifest(":mozilla:cmd:macfe:pch:MANIFEST", ":mozilla:dist:include:");
#MAC_COMMON
InstallFromManifest(":mozilla:build:mac:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:NSStdLib:include:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:MacMemoryAllocator:include:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:Misc:MANIFEST", ":mozilla:dist:mac:common:");
InstallFromManifest(":mozilla:lib:mac:MoreFiles:MANIFEST", ":mozilla:dist:mac:common:morefiles:");
InstallFromManifest(":mozilla:cmd:macfe:MANIFEST", ":mozilla:dist:mac:macfe:");
#NSPR
InstallFromManifest(":mozilla:nsprpub:pr:include:MANIFEST", ":mozilla:dist:nspr:");
InstallFromManifest(":mozilla:nsprpub:pr:src:md:mac:MANIFEST", ":mozilla:dist:nspr:mac:");
InstallFromManifest(":mozilla:nsprpub:lib:ds:MANIFEST", ":mozilla:dist:nspr:");
InstallFromManifest(":mozilla:nsprpub:lib:libc:include:MANIFEST", ":mozilla:dist:nspr:");
InstallFromManifest(":mozilla:nsprpub:lib:msgc:include:MANIFEST", ":mozilla:dist:nspr:");
#DBM
InstallFromManifest(":mozilla:dbm:include:MANIFEST", ":mozilla:dist:dbm:");
#LIBIMAGE
InstallFromManifest(":mozilla:modules:libimg:png:MANIFEST", ":mozilla:dist:libimg:");
InstallFromManifest(":mozilla:modules:libimg:src:MANIFEST", ":mozilla:dist:libimg:");
InstallFromManifest(":mozilla:modules:libimg:public:MANIFEST", ":mozilla:dist:libimg:");
#SECURITY_freenav
InstallFromManifest(":mozilla:modules:security:freenav:MANIFEST", ":mozilla:dist:security:");
#XPCOM
InstallFromManifest(":mozilla:xpcom:public:MANIFEST", ":mozilla:dist:xpcom:");
#ZLIB
InstallFromManifest(":mozilla:modules:zlib:src:MANIFEST", ":mozilla:dist:zlib:");
#JPEG
InstallFromManifest(":mozilla:jpeg:MANIFEST", ":mozilla:dist:jpeg:");
#JSJ
# beard: this conflicts with LiveConnect's jsjava.h.
#InstallFromManifest(":mozilla:js:jsj:MANIFEST", ":mozilla:dist:jsj:");
#JSDEBUG
InstallFromManifest(":mozilla:js:jsd:MANIFEST", ":mozilla:dist:jsdebug:");
#JS
InstallFromManifest(":mozilla:js:src:MANIFEST", ":mozilla:dist:js:");
#LIVECONNECT
InstallFromManifest(":mozilla:js:src:liveconnect:MANIFEST", ":mozilla:dist:liveconnect:");
#RDF
InstallFromManifest(":mozilla:modules:rdf:include:MANIFEST", ":mozilla:dist:rdf:");
#XML
InstallFromManifest(":mozilla:modules:xml:glue:MANIFEST", ":mozilla:dist:xml:");
InstallFromManifest(":mozilla:modules:xml:expat:xmlparse:MANIFEST", ":mozilla:dist:xml:");
#LIBFONT
InstallFromManifest(":mozilla:modules:libfont:MANIFEST", ":mozilla:dist:libfont:");
InstallFromManifest(":mozilla:modules:libfont:src:MANIFEST", ":mozilla:dist:libfont:");
#LDAP
if ( $main::MOZ_LDAP || $main::MOZ_DARK )
{
InstallFromManifest(":mozilla:directory:c-sdk:ldap:include:MANIFEST", ":mozilla:dist:ldap:");
}
#PRIVACY
InstallFromManifest(":mozilla:privacy:public:MANIFEST", ":mozilla:dist:privacy:");
#SCHEDULER
InstallFromManifest(":mozilla:modules:schedulr:public:MANIFEST", ":mozilla:dist:schedulr:");
#NETWORK
InstallFromManifest(":mozilla:network:cache:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:client:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:cnvts:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:cstream:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:main:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:mimetype:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:util:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:about:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:certld:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:dataurl:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:file:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:ftp:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:gopher:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:http:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:imap4:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:js:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:ldap:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:mailbox:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:marimba:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:nntp:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:pop3:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:remote:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:smtp:MANIFEST", ":mozilla:dist:network:");
InstallFromManifest(":mozilla:network:protocol:sockstub:MANIFEST", ":mozilla:dist:network:");
#HTML_DIALOGS
InstallFromManifest(":mozilla:lib:htmldlgs:MANIFEST", ":mozilla:dist:htmldlgs:");
#LAYOUT
InstallFromManifest(":mozilla:lib:layout:MANIFEST", ":mozilla:dist:layout:");
#LAYERS
InstallFromManifest(":mozilla:lib:liblayer:include:MANIFEST", ":mozilla:dist:layers:");
#PARSE
InstallFromManifest(":mozilla:lib:libparse:MANIFEST", ":mozilla:dist:libparse:");
#STYLE
InstallFromManifest(":mozilla:lib:libstyle:MANIFEST", ":mozilla:dist:libstyle:");
#PLUGIN
InstallFromManifest(":mozilla:modules:plugin:public:MANIFEST", ":mozilla:dist:plugin:");
InstallFromManifest(":mozilla:modules:plugin:src:MANIFEST", ":mozilla:dist:plugin:");
#LIBHOOK
InstallFromManifest(":mozilla:modules:libhook:public:MANIFEST", ":mozilla:dist:libhook:");
#LIBPREF
InstallFromManifest(":mozilla:modules:libpref:public:MANIFEST", ":mozilla:dist:libpref:");
#LIBREG
InstallFromManifest(":mozilla:modules:libreg:include:MANIFEST", ":mozilla:dist:libreg:");
#LIBUTIL
InstallFromManifest(":mozilla:modules:libutil:public:MANIFEST", ":mozilla:dist:libutil:");
#PROGRESS
InstallFromManifest(":mozilla:modules:progress:public:MANIFEST", ":mozilla:dist:progress:");
#EDTPLUG
InstallFromManifest(":mozilla:modules:edtplug:include:MANIFEST", ":mozilla:dist:edtplug:");
#NAV_JAVA
InstallFromManifest(":mozilla:nav-java:stubs:include:MANIFEST", ":mozilla:dist:nav-java:");
InstallFromManifest(":mozilla:nav-java:stubs:macjri:MANIFEST", ":mozilla:dist:nav-java:");
#SUN_JAVA
InstallFromManifest(":mozilla:sun-java:stubs:include:MANIFEST", ":mozilla:dist:sun-java:");
InstallFromManifest(":mozilla:sun-java:stubs:macjri:MANIFEST", ":mozilla:dist:sun-java:");
#OJI
InstallFromManifest(":mozilla:modules:oji:public:MANIFEST", ":mozilla:dist:oji:");
InstallFromManifest(":mozilla:modules:oji:src:MANIFEST", ":mozilla:dist:oji:");
#CAPS
InstallFromManifest(":mozilla:caps:include:MANIFEST", ":mozilla:dist:caps:");
InstallFromManifest(":mozilla:caps:public:MANIFEST", ":mozilla:dist:caps:");
#BASE
InstallFromManifest(":mozilla:base:public:MANIFEST", ":mozilla:dist:base:");
InstallFromManifest(":mozilla:base:src:MANIFEST", ":mozilla:dist:base:");
}
1;

View File

@@ -0,0 +1,40 @@
#!perl
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
use Moz;
use BuildList;
$DEBUG = 0;
# One of them should be 1. This will come from a config file at some stage.
# In the meanwhile, it should match mozilla/config/mac/MacConfig.h
$MOZ_LITE = 0;
$MOZ_MEDIUM = 1;
$MOZ_DARK = 0;
Moz::OpenErrorLog(":::Mozilla.BuildLog");
Moz::StopForErrors();
chdir("::::");
# Make and popuplate the dist directory
DistMozilla();
# Now build the projects
BuildMozilla();

View File

@@ -0,0 +1,44 @@
#!perl
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
use Moz;
use BuildList;
$DEBUG = 1;
# One of them should be 1. This will come from a config file at some stage.
# In the meanwhile, it should match mozilla/config/mac/MacConfig.h
$MOZ_LITE = 0;
$MOZ_MEDIUM = 1;
$MOZ_DARK = 0;
Moz::OpenErrorLog(":::Mozilla.BuildLog");
Moz::StopForErrors();
chdir("::::");
# Make and popuplate the dist directory
DistMozilla();
# Set the build number in about-all.html. Commented out for now
# until ckid/mcvs resource problem is resolved.
# SetBuildNumber();
# Now build the projects
BuildMozilla();

View File

@@ -0,0 +1,51 @@
#!perl
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
use Moz;
use BuildList;
$DEBUG = 1;
# One of them should be 1. This will come from a config file at some stage.
# In the meanwhile, it should match mozilla/config/mac/MacConfig.h
$MOZ_LITE = 0;
$MOZ_MEDIUM = 1;
$MOZ_DARK = 0;
Moz::OpenErrorLog(":::Mozilla.BuildLog");
Moz::StopForErrors();
chdir("::::");
SetBuildNumber();
SetTimeBomb(0, 30);
# Make and popuplate the dist directory
DistMozilla();
Delay(10);
# Set the build number in about-all.html. Commented out for now
# until ckid/mcvs resource problem is resolved.
# SetAgentString();
# Now build the projects
BuildMozilla();

View File

@@ -0,0 +1,162 @@
#!perl
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# build script (optimized)
#
use Mac::Processes;
use NGLayoutBuildList;
use Cwd;
use Moz;
#-----------------------------------------------
# configuration variables that globally affect what is built
#-----------------------------------------------
$DEBUG = 0;
$CARBON = 0; # turn on to build with TARGET_CARBON
$MOZ_FULLCIRCLE = 0;
$PROFILE = 0;
$pull{all} = 0;
$pull{lizard} = 0;
$pull{xpcom} = 0;
$pull{imglib} = 0;
$pull{netlib} = 0;
$pull{nglayout} = 0;
$pull{mac} = 0;
$build{all} = 1; # turn off to do individual builds, or to do "most"
$build{most} = 0; # turn off to do individual builds
$build{dist} = 0;
$build{dist_runtime} = 0; # implied by $build{dist}
$build{idl} = 0;
$build{resources} = 0;
$build{stubs} = 0;
$build{runtime} = 0;
$build{common} = 0;
$build{intl} = 0;
$build{nglayout} = 0;
$build{editor} = 0;
$build{mailnews} = 0;
$build{viewer} = 0;
$build{xpapp} = 0;
#-----------------------------------------------
# configuration variables that affect the manner
# of building, but possibly affecting
# the outcome.
#-----------------------------------------------
$ALIAS_SYM_FILES = $DEBUG;
$CLOBBER_LIBS = 1; # turn on to clobber existing libs and .xSYM files before
# building each project
# The following two options will delete all dist files (if you have $build{dist} turned on),
# but leave the directory structure intact.
$CLOBBER_DIST_ALL = 1; # turn on to clobber all aliases/files inside dist (headers/xsym/libs)
$CLOBBER_DIST_LIBS = 0; # turn on to clobber only aliases/files for libraries/sym files in dist
#-----------------------------------------------
# configuration variables that are preferences for the build style,
# and do not affect what is built.
#-----------------------------------------------
$CodeWarriorLib::CLOSE_PROJECTS_FIRST
= 0;
# 1 = close then make (for development),
# 0 = make then close (for tinderbox).
$USE_TIMESTAMPED_LOGS = 0;
#-----------------------------------------------
# END OF CONFIG SWITCHES
#-----------------------------------------------
if ($pull{all})
{
foreach $k (keys(%pull))
{
$pull{$k} = 1;
}
}
if ($build{all})
{
foreach $k (keys(%build))
{
$build{$k} = 1;
}
}
if ($build{most})
{
### Just uncomment/comment to get the ones you want (if "most" is selected).
# $build{dist} = 1;
# $build{dist_runtime}= 1;
# $build{resources} = 1;
# $build{stubs} = 1;
# $build{runtime} = 1;
# $build{common} = 1; # Requires intl
# $build{intl} = 1;
# $build{nglayout} = 1;
# $build{editor} = 1;
# $build{mailnews} = 1;
# $build{viewer} = 1;
$build{xpapp} = 1;
}
# do the work
# you should not have to edit anything below
chdir("::::");
$MOZ_SRC = cwd();
if ($MOZ_FULLCIRCLE)
{
#// Get the Build Number for the Master.ini(Full Circle) n'stuff
$buildnum = Moz::SetBuildNumber();
}
if ($USE_TIMESTAMPED_LOGS)
{
#Use time-stamped names so that you don't clobber your previous log file!
my $now = localtime();
while ($now =~ s@:@.@) {} # replace all colons by periods
my $logdir = ":Build Logs:";
if (!stat($logdir))
{
print "Creating directory $logdir\n";
mkdir $logdir, 0777 || die "Couldn't create directory $logdir";
}
OpenErrorLog("$logdir$now");
}
else
{
OpenErrorLog("NGLayoutBuildLog"); # Release build requires that name
#OpenErrorLog("Mozilla.BuildLog"); # Tinderbox requires that name
}
Moz::StopForErrors();
#Moz::DontStopForErrors();
if ($pull{all}) {
Checkout();
}
SetBuildNumber();
chdir($MOZ_SRC);
BuildDist();
chdir($MOZ_SRC);
BuildProjects();
print "Build complete\n";

View File

@@ -0,0 +1,161 @@
#!perl
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# build script (debug)
#
use Mac::Processes;
use NGLayoutBuildList;
use Cwd;
use Moz;
#-----------------------------------------------
# configuration variables that globally affect what is built
#-----------------------------------------------
$DEBUG = 1;
$CARBON = 0; # turn on to build with TARGET_CARBON
$MOZ_FULLCIRCLE = 0;
$PROFILE = 0;
$pull{all} = 0;
$pull{lizard} = 0;
$pull{xpcom} = 0;
$pull{imglib} = 0;
$pull{netlib} = 0;
$pull{nglayout} = 0;
$pull{mac} = 0;
$build{all} = 1; # turn off to do individual builds, or to do "most"
$build{most} = 1; # turn off to do individual builds
$build{dist} = 0;
$build{dist_runtime} = 0; # implied by $build{dist}
$build{resources} = 0;
$build{idl} = 0;
$build{stubs} = 0;
$build{runtime} = 0;
$build{common} = 0;
$build{intl} = 0;
$build{nglayout} = 0;
$build{editor} = 0;
$build{mailnews} = 0;
$build{viewer} = 0;
$build{xpapp} = 0;
#-----------------------------------------------
# configuration variables that affect the manner
# of building, but possibly affecting
# the outcome.
#-----------------------------------------------
$ALIAS_SYM_FILES = $DEBUG;
$CLOBBER_LIBS = 1; # turn on to clobber existing libs and .xSYM files before
# building each project
# The following two options will delete all dist files (if you have $build{dist} turned on),
# but leave the directory structure intact.
$CLOBBER_DIST_ALL = 1; # turn on to clobber all aliases/files inside dist (headers/xsym/libs)
$CLOBBER_DIST_LIBS = 0; # turn on to clobber only aliases/files for libraries/sym files in dist
#-----------------------------------------------
# configuration variables that are preferences for the build style,
# and do not affect what is built.
#-----------------------------------------------
$CodeWarriorLib::CLOSE_PROJECTS_FIRST
= 1;
# 1 = close then make (for development),
# 0 = make then close (for tinderbox).
$USE_TIMESTAMPED_LOGS = 1;
#-----------------------------------------------
# END OF CONFIG SWITCHES
#-----------------------------------------------
if ($pull{all})
{
foreach $k (keys(%pull))
{
$pull{$k} = 1;
}
}
if ($build{all})
{
foreach $k (keys(%build))
{
$build{$k} = 1;
}
}
if ($build{most})
{
### Just uncomment/comment to get the ones you want (if "most" is selected).
# $build{dist} = 1;
# $build{dist_runtime}= 1;
# $build{resources} = 1;
$build{idl} = 1;
$build{stubs} = 1;
$build{runtime} = 1;
$build{common} = 1; # Requires intl
$build{intl} = 1;
$build{nglayout} = 1;
$build{editor} = 1;
$build{mailnews} = 1;
$build{viewer} = 1;
$build{xpapp} = 1;
}
# do the work
# you should not have to edit anything below
chdir("::::");
$MOZ_SRC = cwd();
if ($MOZ_FULLCIRCLE)
{
#// Get the Build Number for the Master.ini(Full Circle) n'stuff
$buildnum = Moz::SetBuildNumber();
}
if ($USE_TIMESTAMPED_LOGS)
{
#Use time-stamped names so that you don't clobber your previous log file!
my $now = localtime();
while ($now =~ s@:@.@) {} # replace all colons by periods
my $logdir = ":Build Logs:";
if (!stat($logdir))
{
print "Creating directory $logdir\n";
mkdir $logdir, 0777 || die "Couldn't create directory $logdir";
}
OpenErrorLog("$logdir$now");
}
else
{
OpenErrorLog("NGLayoutBuildLog"); # Release build
#OpenErrorLog("Mozilla.BuildLog"); # Tinderbox requires that name
}
Moz::StopForErrors();
#Moz::DontStopForErrors();
if ($pull{all}) {
Checkout();
}
BuildDist();
chdir($MOZ_SRC);
BuildProjects();
print "Build complete\n";

View File

@@ -0,0 +1,422 @@
#!perl
package CodeWarriorLib;
=pod
=head1 NAME
CodeWarriorLib - supply interface to CodeWarrior
=head1 SYNOPSIS
#!perl
use CodeWarriorLib;
CodeWarriorLib::activate();
$had_errors = CodeWarriorLib::build_project(
$project_path, $target_name, $recent_errors_file, $clean_build
);
=head1 DESCRIPTION
Replaces the AppleScript library I<CodeWarriorLib>.
=over 4
=cut
use strict;
use Mac::Types;
use Mac::AppleEvents;
use Mac::AppleEvents::Simple;
use Mac::Processes;
use Mac::MoreFiles;
use Mac::StandardFile;
use File::Basename;
use vars qw($VERSION);
$VERSION = '1.02';
my($app) = 'CWIE';
# 0 == don't switch CWIE to front app in do_event(), 1 == do switch
# note: activate() still switches when called
$Mac::AppleEvents::Simple::SWITCH = 0;
# supply your own path to the source here
#_test('PowerPudgeIV:mozilla:mozilla:');
=pod
=item _get_project($full_path)
A private routine returning a reference to the open project with the given name,
or else the empty string (when that project is not open)
full_path is a string identifying the project to be built and is of the form,
e.g., "HD:ProjectFolder:MyProject.mcp". It must be supplied.
=cut
sub _get_project ($) {
my(
$full_path, $candidate_projects
) = @_;
$candidate_projects = _doc_named(basename($full_path, '*'));
if ($candidate_projects) {
my($cps) = _get_dobj($candidate_projects);
my($num) = AECountItems($cps);
if ($num) { # is a list
foreach (1 .. AECountItems($cps)) {
my($cp) = AEGetNthDesc($cps, $_);
if ($full_path eq _full_path($cp)) {
return($cp);
}
}
} else { # is only one, not a list
if ($full_path eq _full_path($cps)) {
return($cps);
}
}
}
return;
}
=pod
=item build_project
Build a selected target of a project, saving any errors to a file, if supplied.
full_path is a string identifying the project to be built and is of the form,
e.g., "HD:ProjectFolder:MyProject.mcp". It must be supplied.
If target_name is the empty string, the current target of the selected project
will be built, else, target_name should be a string matching a target name in
the selected project.
If error_path is the empty string, errors will not be saved to a file,
else, error_path should be the full path of a file to save error messages into.
=cut
$CodeWarriorLib::CLOSE_PROJECTS_FIRST = 0; # If true we close then make. If false, make then close.
my $last_project_built = "";
my $last_project_was_closed = 0;
sub build_project ($;$$$) {
my(
$full_path, $target_name, $error_path,
$remove_object, $p, $project_was_closed, $had_errors
) = @_;
_close_errors_window();
if ($CodeWarriorLib::CLOSE_PROJECTS_FIRST && ($last_project_built ne $full_path))
{
# If we're in "close first" mode, we don't close if the current project
# is the same as the previous one.
if ($last_project_was_closed) {
$p = _get_project($last_project_built);
_close($p);
}
$last_project_built = $full_path;
$last_project_was_closed = 0; # now refers to the new project
}
$project_was_closed = 0;
while (1) {
$p = _get_project($full_path);
if (!$p) {
if ($project_was_closed) {
print "### Error - request for project document failed after opening\n";
die "### possibly CW Pro 4 bug: be sure to close your Find window\n";
}
$project_was_closed = 1;
$last_project_was_closed = 1;
_open_file($full_path);
} else {
last;
}
}
$had_errors = 0;
if ($target_name eq '') {
if ($remove_object) {_remove_object($p)}
_build($p);
} else {
if ($remove_object) {_remove_object($p, $target_name)}
_build($p, $target_name);
}
if ($error_path ne '') {
_save_errors_window($error_path);
}
$had_errors = _close_errors_window();
if (!$CodeWarriorLib::CLOSE_PROJECTS_FIRST)
{
if ($project_was_closed) {
$p = _get_project($full_path);
_close($p);
}
}
return($had_errors);
}
=pod
=item activate()
Launches CodeWarrior and brings it to the front.
Once found, path will be saved in ':idepath.txt' for future reference.
Edit or delete this file to change the location of the IDE. If app is
moved, C<activate()> will prompt for a new location.
First looks for an open CodeWarrior app. Second, tries to open previously
saved location in ':idepath.txt'. Third, tries to find it and allow user
to choose it with Navigation Services (if present). Fourth, uses good old
GUSI routines built-in to MacPerl for a Choose Directory dialog box.
=cut
sub activate () {
local(*F);
my($filepath, $appath, $psi) = (':idepath.txt');
foreach $psi (values(%Process)) {
if ($psi->processSignature() eq $app) {
$appath = $psi->processAppSpec(), "\n";
_save_appath($filepath, $appath);
last;
}
}
if ((!$appath || ! -x $appath) && open(F, $filepath)) {
$appath = <F>;
close(F);
}
if (!$appath || ! -x $appath)
{
# make sure that MacPerl is a front process
#ActivateApplication('McPL');
MacPerl::Answer("Please locate the CodeWarrior application.", "OK");
# prompt user for the file name, and store it
my $macFile = StandardGetFile( 0, "APPL");
if ( $macFile->sfGood() )
{
$appath = $macFile->sfFile();
}
else
{
die "Operation canceled\n";
}
# if (eval {require Mac::Navigation}) {
# my($options, $nav);
# Mac::Navigation->import();
# $options = NavGetDefaultDialogOptions();
# $options->message('Where is CodeWarrior IDE?');
# $options->windowTitle('Find CodeWarrior IDE');
# $nav = NavChooseObject($Application{$app}, $options);
# die "CodeWarrior IDE not found.\n" if (!$nav || !$nav->file(1));
# $appath = $nav->file(1);
# } else {
# local(*D);
# my $cwd = `pwd`;
# $appath = _get_folder(
# 'Where is the CW IDE folder?',
# dirname($Application{$app})
# );
# die "CodeWarrior IDE not found.\n" if !$appath;
# opendir(D, $appath) or die $!;
# chdir($appath);
# foreach my $file (sort readdir (D)) {
# my(@app) = MacPerl::GetFileInfo($file);
# if ($app[0] && $app[1] &&
# $app[1] eq 'APPL' && $app[0] eq $app
# ) {
# $appath .= $file;
# last;
# }
# }
# chomp($cwd);
# chdir($cwd);
# }
_save_appath($filepath, $appath);
}
my($lp) = LaunchParam->new(
launchAppSpec => $appath,
launchControlFlags => launchContinue() + launchNoFileFlags()
);
unless (LaunchApplication($lp)) {
unlink($filepath);
die $^E;
}
}
sub _build ($;$) {
my($evt);
if ($_[1]) {
my($prm) =
q"'----':obj {form:name, want:type(TRGT), seld:TEXT(@), from:" .
AEPrint($_[0]) . '}';
$evt = do_event(qw/CWIE MAKE/, $app, $prm, $_[1]);
} else {
my($prm) = q"'----':" . AEPrint($_[0]);
$evt = do_event(qw/CWIE MAKE/, $app, $prm);
}
}
sub _remove_object ($;$) {
my($evt);
if ($_[1]) {
my($prm) =
q"'----':obj {form:name, want:type(TRGT), seld:TEXT(@), from:" .
AEPrint($_[0]) . '}';
$evt = do_event(qw/CWIE RMOB/, $app, $prm, $_[1]);
} else {
my($prm) = q"'----':" . AEPrint($_[0]);
$evt = do_event(qw/CWIE RMOB/, $app, $prm);
}
}
sub _open_file ($) {
my($prm) =
q"'----':obj {form:name, want:type(alis), " .
q"seld:TEXT(@), from:'null'()}";
do_event(qw/aevt odoc/, $app, $prm, $_[0]);
}
sub _doc_named ($) {
my($prm) =
q"'----':obj {form:test, want:type(docu), from:'null'(), " .
q"seld:cmpd{relo:'= ', 'obj1':obj {form:prop, want:type" .
q"(prop), seld:type(pnam), from:'exmn'()}, 'obj2':TEXT(@)}}";
my($evt) = do_event(qw/core getd/, $app, $prm, $_[0]);
return($evt->{REPLY} eq 'aevt\ansr{}' ? undef : $evt);
}
sub _full_path ($) {
my($obj) = $_[0];
my($prm) =
q"'----':obj {form:prop, want:type(prop), seld:type(FILE), " .
q"from:" . AEPrint($_[0]) . q"}, rtyp:type(TEXT)";
my($evt) = do_event(qw/core getd/, $app, $prm);
return MacPerl::MakePath(
MacUnpack('fss ', (
AEGetParamDesc($evt->{REP}, keyDirectObject()))->data()->get()
)
);
}
sub _save_errors_window ($) {
my($prm) =
q"'----':obj {form:name, want:type(alis), seld:TEXT(@), from:'null'()}";
do_event(qw/MMPR SvMs/, $app, $prm, $_[0]);
}
sub _close_errors_window () {
my($prm) =
q"'----':obj {form:name, want:type(cwin), " .
q"seld:TEXT(@), from:'null'()}";
my($evt) = do_event(qw/core clos/, $app, $prm, 'Errors & Warnings');
return($evt->{REPLY} eq 'aevt\ansr{}' ? 1 : 0);
}
sub _close () {
my($prm) = q"'----':" . AEPrint($_[0]);
do_event(qw/core clos/, $app, $prm);
}
sub _get_dobj ($) {
return(AEGetParamDesc($_[0]->{REP}, keyDirectObject()));
}
sub _get_folder ($$) {
require 'GUSI.ph';
my($prompt, $default) = @_;
MacPerl::Choose(
GUSI::AF_FILE(), 0, $prompt, '',
GUSI::CHOOSE_DIR() + ($default ? &GUSI::CHOOSE_DEFAULT : 0),
$default
);
}
sub _save_appath ($$) {
open(F, '>' . $_[0]) or die $!;
print F $_[1];
close(F);
}
sub _test ($) {
activate();
my($path) = $_[0];
build_project(
"${path}modules:xml:macbuild:XML.mcp", '',
"${path}build:mac:Mozilla.BuildLog.part"
);
}
1;
=pod
=back
=head1 HISTORY
=over 4
=item v1.02, September 23, 1998
Made fixes in finding and saving location of CodeWarrior IDE.
=item v1.01, June 1, 1998
Made fixes to C<chdir()> in C<activate()>, made C<activate()> more robust
in finding CodeWarrior IDE, added global variable to NOT switch to IDE
for each sent event, a few other fixes.
=item v1.00, May 30, 1998
First shot
=back
=head1 AUTHORS
Chris Nandor F<E<lt>pudge@pobox.comE<gt>>, and the author of the
original I<CodeWarriorLib>, Scott Collins F<E<lt>scc@netscape.comE<gt>>.
=head1 SEE ALSO
BuildProject L<Moz>.
=head1 COPYRIGHT
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
=cut

View File

@@ -0,0 +1,4 @@
/* This library only exists to provide a dummy library for the final project */
/* There is nothing to do here. */

Binary file not shown.

BIN
mozilla/build/mac/GenToc Normal file

Binary file not shown.

View File

@@ -0,0 +1,260 @@
(*
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*)
(*
GenToc - Generates a .toc file from the current contents of a project.
by Patrick C. Beard <beard@netscape.com>
*)
on swapDelimiters(newDelimiters)
set oldDelimiters to get AppleScript's text item delimiters
set AppleScript's text item delimiters to newDelimiters
return oldDelimiters
end swapDelimiters
on setDelimiters(newDelimiters)
set AppleScript's text item delimiters to newDelimiters
end setDelimiters
on setExtension(fileName, newExtension)
set oldDelimiters to swapDelimiters(".")
set newFileName to (text item 1 of fileName) & newExtension
setDelimiters(oldDelimiters)
return newFileName
end setExtension
on folderFromPath(filePath)
set folderPath to ((filePath's text items 1 thru ((count of filePath's text items) - 1)) as string) & ":"
return folderPath
end folderFromPath
on fileFromPath(filePath)
return last text item of filePath
end fileFromPath
on openProject(aProjectFile)
tell application "CodeWarrior IDE 3.3"
open aProjectFile
end tell
end openProject
on selectProject(aProjectFile)
set projectName to fileFromPath(aProjectFile as text)
tell application "CodeWarrior IDE 3.3"
if (name of window 1 is not projectName) then
select window projectName
end if
end tell
end selectProject
on getTargets()
set targetList to {}
set nameList to {}
tell application "CodeWarrior IDE 3.3"
set currentProject to project document 1
repeat with targetIndex from 1 to (count of targets of currentProject)
set currentTarget to (target targetIndex of currentProject)
set targetList to targetList & {currentTarget}
set nameList to nameList & {name of currentTarget}
end repeat
return {target:targetList, names:nameList}
end tell
end getTargets
(* uses "sort" scripting addition to sort a list of strings. *)
on sortList(aList)
if (aList ­ {}) then
return sort aList
else
return {}
end if
end sortList
(* uses "info for" scripting addition, to return the file type of a path. *)
on getFileType(aFilePath)
return file type of (info for alias aFilePath)
end getFileType
(* returns all "TEXT" files of the named target. *)
on getTargetFiles(targetKey)
set targetFiles to {}
tell application "CodeWarrior IDE 3.3"
set currentProject to project document 1
set currentTarget to (target targetKey of currentProject)
try
-- workaround for CW IDE 3.X bug, loop until error encountered.
set fileIndex to 1
repeat until false
set targetFile to (target file fileIndex of currentTarget)
-- only consider text files, since other platforms won't be managing binaries.
-- also, only consider if target file is directly linked.
if (linked of targetFile) then
set targetFilePath to (Access Paths of targetFile)
tell me
if (getFileType(targetFilePath) = "TEXT") then
set targetFiles to targetFiles & {targetFilePath}
end if
end tell
end if
set fileIndex to (fileIndex + 1)
end repeat
on error msg
-- display dialog msg & " file count = " & fileIndex
end try
end tell
return sortList(targetFiles)
end getTargetFiles
on addTargetFile(targetFile, targetName)
tell application "CodeWarrior IDE 3.3"
add (project document 1) new target file with data {targetFile} to targets {targetName}
end tell
end addTargetFile
on setCurrentTarget(currentTargetName)
tell application "CodeWarrior IDE 3.3"
Set Current Target currentTargetName
end tell
end setCurrentTarget
on removeTargetFile(targetFile)
tell application "CodeWarrior IDE 3.3"
Remove Files {targetFile}
end tell
end removeTargetFile
on quote(aString)
return "'" & aString & "'"
end quote
on listContains(aList, anItem)
repeat with listItem in aList
if (listItem contains anItem) then
return true
end if
end repeat
return false
end listContains
on showList(listToShow)
choose from list listToShow with prompt "List:" with empty selection allowed
end showList
on replace(aString, oldChar, newChar)
set newString to ""
repeat with aChar in (every character of aString)
if (contents of aChar = oldChar) then
set newString to newString & newChar
else
set newString to newString & aChar
end if
end repeat
return newString
end replace
on substring(aString, anOffset)
set aSubString to ""
repeat with charIndex from anOffset to (count aString)
set aSubString to aSubString & (character charIndex of aString)
end repeat
return aSubString
end substring
on setFileInfo(aFile, aCreator, aType)
tell application "Finder"
set creator type of aFile to aCreator
set file type of aFile to aType
end tell
end setFileInfo
on closeFile(fileRef)
try
-- make sure it's not currently open.
close access fileRef
on error
-- ignore error closing.
end try
end closeFile
on mroFile(aFile)
try
-- make sure it's modifiable.
mro aFile
on error
-- ignore error MROing.
end try
end mroFile
on run
-- so we can easily strip off file names from paths.
set oldDelimiters to swapDelimiters(":")
set theProjectFile to (choose file with prompt "Choose a CW Project file." of type {"MMPr"})
set theManifestFile to (new file with prompt "Create MANIFEST where?" default name setExtension(fileFromPath(theProjectFile as text), ".toc"))
set manifestRef to false
try
-- make sure the file is closed & is modifiable.
closeFile(theManifestFile)
mroFile(theManifestFile)
-- open the new MANIFEST file.
set manifestRef to (open for access theManifestFile with write permission)
set eof manifestRef to 0
-- give it CodeWarrior look and feel.
setFileInfo(theManifestFile, "CWIE", "TEXT")
openProject(theProjectFile)
selectProject(theProjectFile)
set targetsList to getTargets()
set targetNames to names of targetsList
set targetCount to count items of targetNames
set mozillaTreePathOffset to (offset of "mozilla" in (theManifestFile as text))
-- dump all targets into the new MANIFEST file.
repeat with targetName in targetNames
write ("# target: " & targetName & return) to manifestRef
setCurrentTarget(targetName)
set targetFiles to getTargetFiles(contents of targetName)
repeat with targetFile in targetFiles
-- only store the path name relative to the source tree itself.
set targetFilePath to substring(contents of targetFile, mozillaTreePathOffset)
write (replace(targetFilePath, ":", "/") & return) to manifestRef
end repeat
end repeat
on error msg
display dialog msg
end try
if (manifestRef is not false) then
closeFile(manifestRef)
end if
-- shut the project down, and display the result.
tell application "CodeWarrior IDE 3.3"
activate
Close Project
open theManifestFile
end tell
setDelimiters(oldDelimiters)
end run

View File

@@ -0,0 +1,105 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*
This file overrides all option settings in the IDE. It is an attempt to allow all builds
to have the same options.
Note: We can't use ConditionalMacros.h in this file because it will conflict with
the PowerPlant precompiled headers.
*/
/* warning pragmas */
#pragma warn_hidevirtual on
#pragma warn_emptydecl on
#pragma warn_unusedvar on
#pragma warn_extracomma on
#pragma warn_illpragma on
#pragma warn_possunwant on
#pragma warn_unusedarg off /* turned off to reduce warnings */
#pragma check_header_flags on
/* Language features that must be the same across libraries... */
#pragma enumsalwaysint on
#pragma unsigned_char off
#pragma exceptions on
#pragma bool on
#pragma RTTI on
/* Save as much space as possible with strings... */
#pragma pool_strings on
#pragma dont_reuse_strings off
#pragma options align=native
#pragma sym on /* Takes no memory. OK in non-debug. */
#ifdef powerc /* ...generating PowerPC */
#pragma toc_data on
#pragma fp_contract on
#pragma readonly_strings on
#ifdef DEBUG
#pragma profile off /* Turn this on to profile the application. */
/* Look for more details about profiling in nsMacMessagePump.cpp. */
#pragma traceback on
#pragma global_optimizer off
#pragma scheduling off
#pragma peephole off
#pragma optimize_for_size off
#else
#pragma traceback on /* leave on until the final release, so MacsBug logs are interpretable */
#pragma global_optimizer on
#pragma optimization_level 4
#pragma scheduling 603
#pragma peephole on
#pragma optimize_for_size on
#pragma opt_strength_reduction on
#pragma opt_propagation on
#pragma opt_loop_invariants on
#pragma opt_lifetimes on
#pragma opt_dead_code on
#pragma opt_dead_assignments on
#pragma opt_common_subs on
#endif
#else /* ...generating 68k */
#pragma code68020 on
#pragma code68881 off
/* Far everything... */
#pragma far_code
#pragma far_data on
#pragma far_strings on
#pragma far_vtables on
#pragma fourbyteints on /* 4-byte ints */
#pragma IEEEdoubles on /* 8-byte doubles (as required by Java and NSPR) */
#ifdef DEBUG
#pragma macsbug on
#pragma oldstyle_symbols off
#else
#pragma macsbug off
#endif
#endif

View File

@@ -0,0 +1,5 @@
#
# This is a list of local files which get copied to the mozilla:dist directory
#
IDE_Options.h

View File

@@ -0,0 +1,217 @@
#!perl -w
package MANIFESTO;
require 5.004;
require Exporter;
#use strict;
use vars qw($VERSION @ISA @EXPORT $MANIFESTOLib);
use Mac::StandardFile;
use Moz;
use Cwd;
use Exporter;
use File::Basename;
@ISA = qw(Exporter);
@EXPORT = qw(ReconcileProject);
$VERSION = "1.00";
=head1 NAME
MANIFESTO - drives the Mac Project Reconciliation tool.
=head1 SYNOPSIS
You want to use this script. It will make your life easier.
=head1 COPYRIGHT
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
=cut
#
# globals
# $MANIFESTOLib - location of MANIFESTO applescript library
#
#
# utility routines
#
sub current_directory()
{
my $current_directory = cwd();
chop($current_directory) if ( $current_directory =~ m/:$/ );
return $current_directory;
}
# Uses the "compile script" extension to compile a script.
sub compile_script($;$) {
my($scriptPath, $outputPath) = @_;
#// generate a script to compile a script file.
my $script = <<END_OF_APPLESCRIPT;
store script (compile script (alias "$scriptPath")) in (file "$outputPath") replacing yes
END_OF_APPLESCRIPT
#// run the script.
MacPerl::DoAppleScript($script);
}
# _useMANIFESTOLib()
# returns 1 on success
# Search the include path for the file called MANIFESTOLib
sub _useMANIFESTOLib()
{
unless ( defined($MANIFESTOLib) )
{
my($scriptName) = "MANIFESTOLib.script";
my($libName) = "MANIFESTOLib";
# try the directory we were run from
my($scriptPath) = dirname($0) . ":" . $scriptName;
my($libPath) = dirname($0) . ":" . $libName;
# make sure that the compiled script is up to date with the textual script.
unless (-e $libPath && getModificationDate($libPath) >= getModificationDate($scriptPath)) {
print "# Recompiling MANIFESTOLib.script.\n";
compile_script($scriptPath, $libPath);
}
if ( -e $libPath) {
$MANIFESTOLib = $libPath;
} else {
# now search the include directories
foreach (@INC)
{
unless ( m/^Dev:Pseudo/ ) # This is some bizarre MacPerl special-case directory
{
$libPath = $_ . $libName;
if (-e $libPath)
{
$MANIFESTOLib = $libPath;
last;
}
}
}
}
if (! (-e $MANIFESTOLib)) {
print STDERR "MANIFESTOLib lib could not be found! $MANIFESTOLib";
return 0;
}
}
return 1;
}
sub getModificationDate($) {
my($filePath)=@_;
my($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
$atime,$mtime,$ctime,$blksize,$blocks) = stat($filePath);
return $mtime;
}
sub setExtension($;$;$) {
my($filePath, $oldExtension, $newExtension)=@_;
my($name, $dir, $type) = fileparse($filePath, $oldExtension);
return "$dir$name$newExtension";
}
#
# ReconcileProject(projectPath, manifestoPath)
#
# Uses MANIFESTOLib AppleScript to reconcile the contents (toc?) of a
# CodeWarrior project with an external MANIFEST file.
#
sub ReconcileProject($;$) {
#// turn this feature on by removing the following line.
return 1;
my($projectPath, $manifestoPath) = @_;
my($sourceTree) = current_directory();
my($logPath) = setExtension($manifestoPath, ".toc", ".log");
print STDERR "# Reconciling Project: $projectPath with $manifestoPath\n";
#// compare the modification dates of the .toc and .log files. If .log is newer, do nothing.
if (-e $logPath && getModificationDate($logPath) >= getModificationDate($manifestoPath)) {
print "# Project is up to date.\n";
return 1;
}
_useMANIFESTOLib() || die "Could not load MANIFESTOLib\n";
my $script = <<END_OF_APPLESCRIPT;
tell (load script file "$MANIFESTOLib") to ReconcileProject("$sourceTree:", "$sourceTree$projectPath", "$sourceTree$manifestoPath")
END_OF_APPLESCRIPT
#// run the script, and store the results in a file called "$manifestoPath.log"
my $asresult = substr(MacPerl::DoAppleScript($script), 1, -1); #// chops off leading, trailing quotes.
#// print out to STDOUT to show progress.
print $asresult;
#// store the results in "$manifestoPath.log", which will act as a cache for later checks.
open(OUTPUT, ">$logPath") || die "can't open log file $logPath.";
print OUTPUT $asresult;
close(OUTPUT);
return 1;
}
1;
=pod
=head1 NAME
MANIFESTO - Scripts to process source .toc files.
=head1 SYNOPSIS
use MANIFESTO;
ReconcileProject(<path to Mac project file>, <path to table of contents file>) || die "cannot reconcile project";
=head1 DESCRIPTION
This is a PERL interface for talking to MANIFESTOLib AppleScripts.
=item ReconcileProject
ReconcileProject(<path to Mac project file>, <path to table of contents file>);
Reconciles the contents of a project with an external .toc file.
=cut
=head1 SEE ALSO
=over
=item MacCVS Home Page
http://www.maccvs.org/
=back
=head1 AUTHORS
Patrick Beard beard@netscape.com
based on work by
Aleks Totic atotic@netscape.com
=cut
__END__

Binary file not shown.

View File

@@ -0,0 +1,372 @@
(*
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*)
(*
MANIFESTOLib - Reconciles a CW Project file with an external table of contents file.
Uses merge sort, one pass per target.
by Patrick C. Beard <beard@netscape.com>
*)
(* Global Configuration Properties *)
property pShowReport : true
-- property pSourceTree : "Homeward:Work:Raptor:src:"
property pSourceTree : "Morbeus:Projects:Raptor:src:"
on swapDelimiters(newDelimiters)
set oldDelimiters to get AppleScript's text item delimiters
set AppleScript's text item delimiters to newDelimiters
return oldDelimiters
end swapDelimiters
on setDelimiters(newDelimiters)
set AppleScript's text item delimiters to newDelimiters
end setDelimiters
-- replaces oldChar with newChar in a string.
on replace(aString, oldChar, newChar)
set newString to ""
repeat with aChar in (every character of aString)
if (contents of aChar = oldChar) then
set newString to newString & newChar
else
set newString to newString & aChar
end if
end repeat
return newString
end replace
(* uses "sort" scripting addition to sort a list of strings. *)
on sortList(aList)
if (aList ­ {}) then
return sort aList
else
return {}
end if
end sortList
-- reads .toc file into a list.
on readManifestFile(sourceTree, manifestFile)
set oldDelimiters to swapDelimiters(return)
set fileRef to false
set fileLines to {}
try
set fileRef to (open for access manifestFile without write permission)
-- read entire file into memory, use text items to delimit lines.
set fileContents to (read fileRef)
repeat with lineRef in (every text item of fileContents)
-- ignore lines that start with "#" or are empty.
set fileLine to (contents of lineRef)
if (fileLine ­ "") and not (fileLine starts with "#") then
set fileLines to fileLines & (sourceTree & replace(fileLine, "/", ":"))
end if
end repeat
on error
-- ignore errors.
end try
if (fileRef is not false) then close access fileRef
setDelimiters(oldDelimiters)
return sortList(fileLines)
end readManifestFile
(* both of the following depend on ":" as the delimiter character. *)
on folderFromPath(filePath)
return ((filePath's text items 1 thru ((count of filePath's text items) - 1)) as string) & ":"
end folderFromPath
on fileFromPath(filePath)
return last text item of filePath
end fileFromPath
(* CW Pro IDE Interface Handlers. *)
on openProject(aProjectFile)
tell application "CodeWarrior IDE 3.3"
-- activate
open aProjectFile
end tell
end openProject
(* forces the named project file to be the front window. *)
on selectProject(aProjectFile)
set projectName to fileFromPath(aProjectFile as text)
tell application "CodeWarrior IDE 3.3"
if (name of window 1 is not projectName) then
select window projectName
end if
end tell
end selectProject
on closeProject(aProjectFile)
tell application "CodeWarrior IDE 3.3"
Close Project
end tell
end closeProject
on getTargets()
set targetList to {}
set nameList to {}
tell application "CodeWarrior IDE 3.3"
set currentProject to project document 1
repeat with targetIndex from 1 to (count of targets of currentProject)
set currentTarget to (target targetIndex of currentProject)
set targetList to targetList & {currentTarget}
set nameList to nameList & {name of currentTarget}
end repeat
return {target:targetList, names:nameList}
end tell
end getTargets
(* uses "info for" scripting addition, to return the file type of a path. *)
on getFileType(aFilePath)
return file type of (info for alias aFilePath)
end getFileType
(* returns all "TEXT" files of the named target. *)
on getTargetFiles(targetKey)
set targetFiles to {}
tell application "CodeWarrior IDE 3.3"
set currentProject to project document 1
set currentTarget to (target targetKey of currentProject)
try
-- workaround for CW IDE 3.X bug, loop until error encountered.
set fileIndex to 1
repeat until false
set targetFile to (target file fileIndex of currentTarget)
-- only consider text files, since other platforms won't be managing binaries.
-- also, only consider if target file is directly linked.
if (linked of targetFile) then
set targetFilePath to (Access Paths of targetFile)
tell me
if (getFileType(targetFilePath) = "TEXT") then
set targetFiles to targetFiles & {targetFilePath}
end if
end tell
end if
set fileIndex to (fileIndex + 1)
end repeat
on error msg
-- display dialog msg & " file count = " & fileIndex
end try
end tell
return sortList(targetFiles)
end getTargetFiles
on addTargetFile(targetFile, targetList)
tell application "CodeWarrior IDE 3.3"
add (project document 1) new target file with data {targetFile} to targets targetList
end tell
end addTargetFile
global gCurrentTarget
on setCurrentTarget(currentTargetName)
if (gCurrentTarget ­ currentTargetName) then
set gCurrentTarget to currentTargetName
tell application "CodeWarrior IDE 3.3"
Set Current Target currentTargetName
end tell
end if
end setCurrentTarget
on removeTargetFile(targetFile)
tell application "CodeWarrior IDE 3.3"
Remove Files {targetFile}
end tell
end removeTargetFile
on quote(aString)
return "'" & aString & "'"
end quote
on listContains(aList, anItem)
repeat with listItem in aList
if (contents of listItem = anItem) then
return true
end if
end repeat
return false
end listContains
on showList(aList)
choose from list aList with prompt "List:" with empty selection allowed
end showList
global gProjectModified
on ModifyReadOnly(aProjectFile)
if (not gProjectModified) then
set gProjectModified to true
-- so CodeWarrior will notice, must close the file before MROing it.
closeProject(aProjectFile)
mro aProjectFile
openProject(aProjectFile)
selectProject(aProjectFile)
end if
end ModifyReadOnly
on makeStream(itemList)
return {streamList:itemList, streamCount:count itemList, streamIndex:0}
end makeStream
(* true is used as the end of stream value. *)
property pEOS : true
on advanceStream(stream)
set itemCount to (streamCount of stream)
set itemIndex to (streamIndex of stream)
if (itemIndex < itemCount) then
set itemIndex to (itemIndex + 1)
set (streamIndex of stream) to itemIndex
return (item itemIndex of streamList of stream)
else
return pEOS
end if
end advanceStream
-- returns true if str2 is INFINITELY great, or str1 is less than str2.
on precedes(str1, str2)
return (str2 = pEOS) or ((str1 ­ pEOS) and (str1 < str2))
end precedes
on get_current_application()
return last text item of ((path to current application) as text)
end get_current_application
on get_frontmost_application()
return last text item of ((path to frontmost application) as text)
end get_frontmost_application
on activate_application(applicationName)
tell application "Finder"
set applicationProcess to (application process applicationName)
set frontmost of applicationProcess to true
end tell
end activate_application
on ReconcileProject(sourceTree, projectPath, manifestoPath)
-- so we can easily strip off file names from paths.
set oldDelimiters to swapDelimiters(":")
-- initialize globals.
set gCurrentTarget to ""
set gProjectModified to false
-- convert paths to aliases.
set projectFile to alias projectPath
set manifestFile to alias manifestoPath
-- read the MANIFESTO file into a list of paths.
set manifestContents to readManifestFile(sourceTree, manifestFile)
-- return manifestContents
-- now, start processing the file items, ensuring that the project contains all items.
openProject(projectFile)
selectProject(projectFile)
set targetsList to getTargets()
set targetNames to names of targetsList
if (pShowReport) then
set theReport to ""
set addedFiles to ""
set removedFiles to ""
end if
-- push current application to front for speed.
-- set frontmostApplication to get_frontmost_application()
-- set currentApplication to get_current_application()
-- activate_application(currentApplication)
-- reconcile all targets with the MANIFEST file.
-- this loop should be recoded in PERL for speed.
-- IDEA: with sorted lists, can scan both lists, like a merge sort, and make one pass per target.
repeat with targetNameRef in targetNames
-- switch targets because getTargetFiles now checks to see if file is linked in current target.
set targetName to (contents of targetNameRef)
set targetFiles to getTargetFiles(targetName)
-- hopefully, this list test is fast.
if (targetFiles ­ manifestContents) then
-- return {count targetFiles, count manifestContents, targetFiles, manifestContents}
-- make sure the project file is modifiable.
ModifyReadOnly(projectFile)
setCurrentTarget(targetName)
set targetStream to makeStream(targetFiles)
set targetItem to advanceStream(targetStream)
set manifestStream to makeStream(manifestContents)
set manifestItem to advanceStream(manifestStream)
repeat until (manifestItem is pEOS) and (targetItem is pEOS)
-- display dialog "m: " & manifestItem & ", t: " & targetFileItem
if (manifestItem = targetItem) then
-- items match, advance both.
set manifestItem to advanceStream(manifestStream)
set targetItem to advanceStream(targetStream)
else
-- return {manifestItem, targetItem}
if (precedes(manifestItem, targetItem)) then
-- we have an item in manifest, not in project, so we have to add it to the targets.
-- display dialog "adding " & manifestItem
addTargetFile(manifestItem, targetNames)
if pShowReport then
set addedFiles to addedFiles & ("# " & (last text item of manifestItem) & return)
end if
set manifestItem to advanceStream(manifestStream)
else
-- we have an item not in manifest, but in project, so it must be removed from this target.
-- display dialog "removing " & targetItem
removeTargetFile(targetItem)
if pShowReport then
set removedFiles to removedFiles & ("# " & targetName & " - " & (last text item of targetItem) & return)
end if
set targetItem to advanceStream(targetStream)
end if
end if
end repeat
end if
end repeat
-- activate_application(frontmostApplication)
-- commit the project changes, and optionally display a report.
tell application "CodeWarrior IDE 3.3"
-- leave project open for compilation phase?
Close Project
if pShowReport then
if addedFiles is not "" then set theReport to ("# Added files: " & return & addedFiles)
if removedFiles is not "" then set theReport to theReport & ("# Removed files: " & return & removedFiles)
if (theReport is "") then set theReport to (" # Project is up to date." & return)
-- display dialog theReport buttons {"OK"} default button "OK"
end if
end tell
-- restore AppleScript's delimiters.
setDelimiters(oldDelimiters)
-- return 0 to indicate no error.
return theReport
end ReconcileProject
on run
-- when run interactively,
-- ask user which project/MANIFEST files to use.
set projectPath to (choose file with prompt "Choose a CW Project file." of type {"MMPr"}) as text
set manifestPath to (choose file with prompt "Choose a TOC file to process." of type {"TEXT"}) as text
ReconcileProject(pSourceTree, projectPath, manifestPath)
end run

198
mozilla/build/mac/MacCVS.pm Normal file
View File

@@ -0,0 +1,198 @@
#!perl -w
package MacCVS;
# package Mac::Apps::MacCVS; this should really be the name of the package
# but due to our directory hierarchy in mozilla, I am not doing it
require 5.004;
require Exporter;
use strict;
use vars qw($VERSION @ISA @EXPORT $MacCVSLib);
use Mac::StandardFile;
use Moz;
use Cwd;
use Exporter;
use File::Basename;
@ISA = qw(Exporter);
@EXPORT = qw( new print checkout);
$VERSION = "1.00";
# Architecture:
# cvs session object:
# name - session name
# session_file - session file
#
# globals
# $MacCVSLib - location of MacCVS applescript library
#
#
#
# utility routines
#
# just like Mac::DoAppleScript, 1 is success, 0 is failure
sub _myDoAppleScript($)
{
my($script) = @_;
my $asresult = MacPerl::DoAppleScript($script);
if ($asresult eq "0")
{
return 1;
}
else
{
print STDERR "AppleScript error: $asresult\n";
print STDERR "AppleScript was: \n $script \n";
return 0;
}
}
# _useMacCVSLib
# returns 1 on success
# Search the include path for the file called MacCVSLib
sub _useMacCVSLib()
{
unless ( defined($MacCVSLib) )
{
my($libname) = "MacCVSLib";
# try the directory we were run from
my($c) = dirname($0) . ":" . $libname;
if ( -e $c)
{
$MacCVSLib = $c;
}
else
{
# now search the include directories
foreach (@INC)
{
unless ( m/^Dev:Pseudo/ ) # This is some bizarre MacPerl special-case directory
{
$c = $_ . $libname;
if (-e $c)
{
$MacCVSLib = $c;
last;
}
}
}
}
if (! (-e $MacCVSLib))
{
print STDERR "MacCVS lib could not be found! $MacCVSLib";
return 0;
}
}
return 1;
}
#
# Session object methods
#
sub new {
my ( $proto, $session_file) = @_;
my $class = ref($proto) || $proto;
my $self = {};
if ( defined($session_file) && ( -e $session_file) )
{
$self->{"name"} = basename( $session_file );
$self->{"session_file"} = $session_file;
bless $self, $class;
return $self;
}
else
{
print STDERR "MacCVS->new cvs file < $session_file > does not exist\n";
return;
}
}
# makes sure that the session is open
# assertSessionOpen()
# returns 1 on failure
sub assertSessionOpen() {
my ($self) = shift;
_useMacCVSLib() || die "Could not load MacCVSLib\n";
my $script = <<END_OF_APPLESCRIPT;
tell (load script file "$MacCVSLib") to OpenSession("$self->{session_file}")
END_OF_APPLESCRIPT
return _myDoAppleScript($script);
}
# prints the cvs object, used mostly for debugging
sub print {
my($self) = shift;
print "MacCVS:: name: ", $self->{name}, " session file: ", $self->{session_file}, "\n";
}
# checkout( self, module, revision, date)
# MacCVS checkout command
# returns 1 on failure
sub checkout {
my($self, $module, $revision, $date ) = @_;
unless( defined ($module) ) { $module = ""; } # get rid of the pesky undefined warnings
unless( defined ($revision) ) { $revision = ""; }
unless( defined ($date) ) { $date = ""; }
$self->assertSessionOpen() || return 1;
my $script = <<END_OF_APPLESCRIPT;
tell (load script file "$MacCVSLib") to Checkout given sessionName:"$self->{name}", module:"$module", revision:"$revision", date:"$date"
END_OF_APPLESCRIPT
return _myDoAppleScript($script);
}
1;
=pod
=head1 NAME
MacCVS - Interface to MacCVS
=head1 SYNOPSIS
use MacCVS;
$session = MacCVS->new( <session_file_path>) || die "cannot create session";
$session->checkout([module] [revision] [date]) || die "Could not check out";
=head1 DESCRIPTION
This is a MacCVS interface for talking to MacCVS Pro client.
MacCVSSession is the class used to manipulate the session
=item new
MacCVS->new( <cvs session file path>);
Creates a new session. Returns undef on failure.
=item checkout( <module> [revision] [date] )
cvs checkout command. Revision and date are optional
returns 0 on failure
=cut
=head1 SEE ALSO
=over
=item MacCVS Home Page
http://www.maccvs.org/
=back
=head1 AUTHORS
Aleks Totic atotic@netscape.com
=cut
__END__

BIN
mozilla/build/mac/MacCVSLib Normal file

Binary file not shown.

551
mozilla/build/mac/Moz.pm Normal file
View File

@@ -0,0 +1,551 @@
=head1 NAME
B<Moz> - routines for automating CodeWarrior builds, and some extra-curricular activities related to building Mozilla
=head1 SYNOPSIS
use Moz;
OpenErrorLog(":::BuildLog");
StopForErrors();
$Moz::QUIET = 1;
InstallFromManifest(":projects:MANIFEST", $dist_dir);
BuildProjectClean(":projects:SomeProject.mcp", "SomeTarget");
MakeAlias(":projects:SomeProject.shlb", $dist_dir);
DontStopForErrors();
BuildProject(":projects:SomeOtherProject.mcp", "SomeTarget");
=head1 DESCRIPTION
B<Moz> comprises the routines needed to slap CodeWarrior around, force it to build a sequence of projects, report the results, and a few other things.
=cut
package Moz;
require Exporter;
use Mac::Types;
use Mac::Events;
use Mac::Processes;
@ISA = qw(Exporter);
@EXPORT = qw(BuildProject BuildProjectClean OpenErrorLog MakeAlias StopForErrors DontStopForErrors InstallFromManifest InstallResources SetBuildNumber SetAgentString SetTimeBomb Delay ActivateApplication);
@EXPORT_OK = qw(CloseErrorLog UseCodeWarriorLib QUIET);
use Cwd;
use File::Path;
use ExtUtils::Manifest 'maniread';
use CodeWarriorLib;
sub current_directory()
{
my $current_directory = cwd();
chop($current_directory) if ( $current_directory =~ m/:$/ );
return $current_directory;
}
sub full_path_to($)
{
my ($path) = @_;
if ( $path =~ m/^[^:]+$/ )
{
$path = ":" . $path;
}
if ( $path =~ m/^:/ )
{
$path = current_directory() . $path;
}
return $path;
}
=head2 Setup
Pretty much, everything is taken care of for you.
However, B<Moz> does use a little compiled AppleScript library (the file CodeWarriorLib) for some of its communcication with CodeWarrior.
If this library isn't in the same directory as "Moz.pm", then you need to tell B<Moz> where to find it.
Call C<UseCodeWarriorLib($path_to_CodeWarriorLib)>.
This routine is not exported by default, nor are you likely to need it.
=cut
sub UseCodeWarriorLib($)
{
# ($CodeWarriorLib) = @_;
# $CodeWarriorLib = full_path_to($CodeWarriorLib);
}
sub activate_CodeWarrior()
{
#MacPerl::DoAppleScript(<<END_OF_APPLESCRIPT);
# tell (load script file "$CodeWarriorLib") to ActivateCodeWarrior()
#END_OF_APPLESCRIPT
}
BEGIN
{
# UseCodeWarriorLib(":CodeWarriorLib");
# activate_CodeWarrior();
CodeWarriorLib::activate();
}
$logging = 0;
$recent_errors_file = "";
$stop_on_1st_error = 1;
$QUIET = 0;
=head2 Logging all the errors and warnings - C<OpenErrorLog($log_file)>, C<CloseErrorLog()>
The warnings and errors generated in the course of building projects can be logged to a file.
Tinderbox uses this facility to show why a remote build failed.
Logging is off by default.
Start logging at any point in your build process with C<OpenErrorLog($log_file)>.
Stop with C<CloseErrorLog()>.
You never need to close the log explicitly, unless you want to just log a couple of projects in the middle of a big list.
C<CloseErrorLog()> is not exported by default.
=cut
sub CloseErrorLog()
{
if ( $logging )
{
close(ERROR_LOG);
$logging = 0;
StopForErrors() if $stop_on_1st_error;
}
}
sub OpenErrorLog($)
{
my ($log_file) = @_;
CloseErrorLog();
if ( $log_file )
{
$log_file = full_path_to($log_file);
open(ERROR_LOG, ">$log_file") || die "Can't open logfile, check the file path.\n";
MacPerl::SetFileInfo("CWIE", "TEXT", $log_file);
$log_file =~ m/.+:(.+)/;
$recent_errors_file = full_path_to("$1.part");
$logging = 1;
}
}
=head2 Stopping before it's too late - C<StopForErrors()>, C<DontStopForErrors()>
When building a long list of projects, you decide whether to continue building subsequent projects when one fails.
By default, your build script will C<die> after the first project that generates an error while building.
Change this behavior with C<DontStopForErrors()>.
Re-enable it with C<StopForErrors()>.
=cut
sub StopForErrors()
{
$stop_on_1st_error = 1;
# Can't stop for errors unless we notice them.
# Can't notice them unless we are logging.
# If the user didn't explicitly request logging, log to a temporary file.
if ( ! $recent_errors_file )
{
OpenErrorLog("${TMPDIR}BuildResults");
}
}
sub DontStopForErrors()
{
$stop_on_1st_error = 0;
}
sub log_message($)
{
if ( $logging )
{
my ($message) = @_;
print ERROR_LOG $message;
}
}
sub log_message_with_time($)
{
if ( $logging )
{
my ($message) = @_;
my $time_stamp = localtime();
log_message("$message ($time_stamp)\n");
}
}
sub log_recent_errors($)
{
my ($project_name) = @_;
my $found_errors = 0;
if ( $logging )
{
open(RECENT_ERRORS, "<$recent_errors_file");
while( <RECENT_ERRORS> )
{
if ( /^Error/ || /^CouldnÕt find project file/ || /^Link Error/ )
{
# if (!$found_errors)
# print $_;
$found_errors = 1;
}
print ERROR_LOG $_;
}
close(RECENT_ERRORS);
unlink("$recent_errors_file");
}
if ( $stop_on_1st_error && $found_errors )
{
print ERROR_LOG "### Build failed.\n";
die "### Errors encountered building \"$project_name\".\n";
}
}
sub build_project($$$)
{
my ($project_path, $target_name, $clean_build) = @_;
$project_path = full_path_to($project_path);
# $project_path =~ m/.+:(.+)/;
# my $project_name = $1;
log_message_with_time("### Building \"$project_path\"");
# Check that the given project exists
if (! -e $project_path)
{
print ERROR_LOG "### Build failed.\n";
die "### Can't find project file \"$project_path\".\n";
}
print "Building \"$project_path\[$target_name\]\"\n";
$had_errors = CodeWarriorLib::build_project(
$project_path, $target_name, $recent_errors_file, $clean_build
);
WaitNextEvent();
# $had_errors =
#MacPerl::DoAppleScript(<<END_OF_APPLESCRIPT);
# tell (load script file "$CodeWarriorLib") to BuildProject("$project_path", "$project_name", "$target_name", "$recent_errors_file", $clean_build)
#END_OF_APPLESCRIPT
# Append any errors to the globally accumulated log file
# if ( $had_errors ) # Removed this test, because we want warnings, too. -- jrm
{
log_recent_errors($project_path);
}
}
=head2 Getting CodeWarrior to build projects - C<BuildProject($project, $opt_target)>, C<BuildProjectClean($project, $opt_target)>
C<BuildProject()> and C<BuildProjectClean()> are identical, except that the latter first removes object code.
In both, CodeWarrior opens the project if it wasn't already open; builds the given (or else current) target; and finally closes
the project, if it wasn't already open.
=cut
sub BuildProject($;$)
{
my ($project_path, $target_name) = @_;
build_project($project_path, $target_name, 0);
}
sub BuildProjectClean($;$)
{
my ($project_path, $target_name) = @_;
build_project($project_path, $target_name, 1);
}
=head2 Miscellaneous
C<MakeAlias($old_file, $new_file)> functions like C<symlink()>, except with better argument defaulting and more explicit error messages.
=cut
sub MakeAlias($$)
{
my ($old_file, $new_file) = @_;
# if the directory to hold $new_file doesn't exist, create it
if ( ($new_file =~ m/(.+:)/) && !-d $1 )
{
mkpath($1);
}
# if a leaf name wasn't specified for $new_file, use the leaf from $old_file
if ( ($new_file =~ m/:$/) && ($old_file =~ m/.+:(.+)/) )
{
$new_file .= $1;
}
my $message = "Can't create a Finder alias (at \"$new_file\")\n for \"$old_file\"; because ";
die "$message \"$old_file\" doesn't exist.\n" unless -e $old_file;
die "$message I won't replace an existing (non-alias) file with an alias.\n" if ( -e $new_file && ! -l $new_file );
# now: $old_file exists; $new_file doesn't (or else, is an alias already)
if ( -l $new_file )
{
# ...then see if it already points to $old_file
my $current_target = full_path_to(readlink($new_file));
my $new_target = full_path_to($old_file);
return if ( $current_target eq $new_target );
# if the desired alias already exists and points to the right thing, then we're done
unlink $new_file;
}
symlink($old_file, $new_file) || die "$message symlink returned an unexpected error.\n";
}
=pod
C<InstallFromManifest()>
=cut
sub InstallFromManifest($;$$)
{
my ($manifest_file, $dest_dir, $flat) = @_;
$flat = 0 unless defined($flat); # if $flat, all rel. paths in MANIFEST get aliased to the root of $dest_dir
$dest_dir ||= ":";
$manifest_file =~ m/(.+):/;
my $source_dir = $1;
chop($dest_dir) if $dest_dir =~ m/:$/;
#Mac::Events->import();
WaitNextEvent();
if ($flat)
{
print "Doing manifest on \"$manifest_file\" FLAT\n" unless $QUIET;
}
else
{
print "Doing manifest on \"$manifest_file\"\n" unless $QUIET;
}
my $read = maniread(full_path_to($manifest_file));
foreach $file (keys %$read)
{
next unless $file;
$subdir = ":";
if (!$flat && ($file =~ /:.+:/ ))
{
$subdir = $&;
}
$file = ":$file" unless $file =~ m/^:/;
MakeAlias("$source_dir$file", "$dest_dir$subdir");
}
}
=pod
C<InstallResources()>
=cut
# parameters are path to MANIFEST file, destination dir, true (to make copies) or false (to make aliases)
sub InstallResources($;$;$)
{
my ($manifest_file, $dest_dir, $copy_files) = @_;
$dest_dir ||= ":";
$manifest_file =~ m/(.+):/;
my $source_dir = $1;
chop($dest_dir) if $dest_dir =~ m/:$/;
WaitNextEvent();
print "Installing resources from \"$manifest_file\"\n" unless $QUIET;
my $read = maniread(full_path_to($manifest_file));
foreach $file (keys %$read)
{
next unless $file;
if ($copy_files)
{
print "Implement this if you need it";
}
else
{
MakeAlias("$source_dir:$file", "$dest_dir:$file");
}
}
}
sub SetBuildNumber
{
open (OUTPUT, ">:mozilla:config:build_number") || die "could not open buildnumber";
open (BDATE, "perl :mozilla:config:bdate.pl|");
while (<BDATE>) {
print OUTPUT $_;
}
close (BDATE);
close (OUTPUT);
system ("perl :mozilla:config:aboutime.pl :mozilla:xpfe:browser:src:navigator.xul :mozilla:config:build_number");
}
sub SetAgentString
{
open (BDATE, ":mozilla:config:build_number") || die "could not open buildnumber";
while (<BDATE>) {
$build_number = $_;
}
close (BDATE);
open (ORIGFILE, ":mozilla:cmd:macfe:restext:custom.r") || die "no original file";
open (OUTPUT, ">:mozilla:cmd:macfe:restext:agent.r") || die "no output file";
chop($build_number);
while (<ORIGFILE>) {
$tempstring = $_;
if ($tempstring =~ "\#define VERSION_MAJOR_STR") {
$tempstring = "\#define VERSION_MAJOR_STR \"5.0a1-" . $build_number . " Development\"\n";
}
print OUTPUT $tempstring;
}
close (ORIGFILE);
close (OUTPUT);
unlink (":mozilla:cmd:macfe:restext:custom.r");
rename (":mozilla:cmd:macfe:restext:agent.r", ":mozilla:cmd:macfe:restext:custom.r");
}
sub SetTimeBomb($$)
{
my ($warn_days, $bomb_days) = @_;
system("perl :mozilla:config:mac-set-timebomb.pl $warn_days $bomb_days");
}
sub Delay($)
{
my ($delay_seconds) = @_;
$now = time;
$exit_time = $now + $delay_seconds;
while ($exit_time > $now) {
$now = time;
}
}
sub ActivateApplication($)
{
my ($appSignature) = @_;
my ($psi, $found);
my ($appPSN);
$found = 0;
foreach $psi (values(%Process))
{
if ($psi->processSignature() eq $appSignature)
{
$appPSN = $psi->processNumber();
$found = 1;
last;
}
}
if ($found == 0)
{
return;
}
SetFrontProcess($appPSN);
while (GetFrontProcess() != $appPSN)
{
WaitNextEvent();
}
}
1;
=head1 AUTHORS
Scott Collins <scc@netscape.com>, Simon Fraser <sfraser@netscape.com>, Chris Yeh <cyeh@netscape.com>
=head1 SEE ALSO
BuildMozillaDebug.pl (et al), BuildList.pm, CodeWarriorLib (an AppleScript library)
=head1 COPYRIGHT
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
=cut

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,39 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#error "DonÕt use me!"
#define OLDROUTINELOCATIONS 0
#define XP_MAC 1
#define NSPR20 1
#define _NO_FAST_STRING_INLINES_ 1
#define HAVE_BOOLEAN 1
#define NETSCAPE 1
#define OTUNIXERRORS 1 /* We want OpenTransport error codes */
#define OJI 1
/*
This compiles in heap dumping utilities and other good stuff
for developers -- maybe we only want it in for a special SDK
nspr/java runtime(?):
*/
#define DEVELOPER_DEBUG 1
#define MAX(_a,_b) ((_a) < (_b) ? (_b) : (_a))
#define MIN(_a,_b) ((_a) < (_b) ? (_a) : (_b))

View File

@@ -0,0 +1,57 @@
#!perl
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# nglayout build script (debug)
#
use Mac::Processes;
use NGLayoutBuildList;
use Cwd;
use Moz;
# configuration variables
$DEBUG = 1;
$pull{all} = 1;
$pull{lizard} = 0;
$pull{xpcom} = 0;
$pull{imglib} = 0;
$pull{netlib} = 0;
$pull{nglayout} = 0;
$pull{mac} = 0;
if ($pull{all})
{
foreach $k (keys(%pull))
{
$pull{$k} = 1;
}
}
# do the work
# you should not have to edit anything bellow
chdir("::::");
Moz::StopForErrors();
#Moz::DontStopForErrors();
#OpenErrorLog("::NGLayoutBuildLog");
OpenErrorLog("NGLayoutPullLog"); # Tinderbox requires that name
Checkout();

Binary file not shown.

View File

@@ -0,0 +1,908 @@
global PPCPROJECTFAILED
global CVSSESSIONFILE
global CVSSESSIONNAME
global BUILDLIST
global BUILDNAME
global FOLDERTIME
global SOURCEPATH
global CHECKOUTTIME
global TINDERBOXTREE
global MACHINEADMIN
global CLOBBERBUILD
global STARTUPDISK
global BINARYPATH
property CONFIGFILENAME : "Tinderbox Config"
-------------------------
on CreateLogFile(logFilePath)
-- creates a "build log" file
-------------------------
global logFileID
set logFileID to 0
try
set logFileID to open for access file logFilePath with write permission
--set the type of alias logFilePath to "CWIE"
on error errMsg2 number errNum
if (errNum is not -49) then
-- nothing to do about such errors
error errMsg2 & " error = " & errNum
end if
end try
end CreateLogFile
-------------------------
on CloseLogFile()
-- close log file
-------------------------
global logFileID
if logFileID is not 0 then close access logFileID
end CloseLogFile
-------------------------
on logMessage(m)
-- logs a message to the log file
-------------------------
global logFileID
try
if logFileID is not 0 then write (m as string) & (ASCII character 13) to logFileID
--display dialog m
on error
-- hmmm??
end try
end logMessage
-------------------------
on trim(q)
-- strip leading and trailing white space.
-------------------------
set realLast to length of q
repeat
if realLast is 0 then exit repeat
set c to character realLast of q
if c is not space and c is not tab then exit repeat
set realLast to realLast - 1
end repeat
if (realLast is 0) then return ""
set realFirst to 1
repeat
if realFirst > realLast then exit repeat
set c to character realFirst of q
if c is not space and c is not tab then exit repeat
set realFirst to realFirst + 1
end repeat
if (realFirst > realLast) then return ""
return text realFirst through realLast of q
end trim
-------------------------
on Token(aString, tokenRequested)
-- Return the string up to the first space. Input must be trimmed.
-------------------------
set tokenFirst to 0 -- offset of first char of current token
set tokenCount to 0 -- which token we are examining
set tokenScan to 0 -- offset of next character being examined
set stringLength to length of aString
if (tokenRequested = 0) then return ""
repeat
set tokenFirst to tokenFirst + 1
set tokenCount to tokenCount + 1
-- check for inital whitespace
repeat
set c to character tokenFirst of aString
if c is not space and c is not tab then exit repeat
set tokenFirst to tokenFirst + 1
end repeat
-- check for inital quote
set isQuotedString to false
if c is "\"" then
set isQuotedString to true
set tokenFirst to tokenFirst + 1
end if
-- scan for the next white space or the end of string
set tokenScan to tokenFirst - 1
repeat
set tokenScan to tokenScan + 1
if tokenScan > stringLength then exit repeat
set c to character tokenScan of aString
if (isQuotedString) then
if c is "\"" then exit repeat
else
if c is space or c is tab then exit repeat -- whitespace
end if
end repeat
-- Got a token
if (tokenCount = tokenRequested) then
return trim(text tokenFirst through (tokenScan - 1) of aString)
end if
if (tokenScan > stringLength) then return ""
set tokenFirst to tokenScan
end repeat
end Token
-------------------------
on monthNumber(dateObj)
-------------------------
set monthList to {January, February, March, April, May, Â
June, July, August, September, October, November, December}
set m to month of dateObj
repeat with i from 1 to number of items of monthList
if m = item i of monthList then
return i
end if
end repeat
end monthNumber
-------------------------
on ExtractTimeString(d)
-- given a date object, extract hh.mm
-------------------------
set tstring to ""
set t to (time of d as integer)
set m to (t div 60 as integer)
set h to m div 60
set m to (m - h * 60)
if (h < 10) then set tstring to tstring & "0"
set tstring to tstring & h
if (m < 10) then set tstring to tstring & "0"
set tstring to tstring & m
return tstring
end ExtractTimeString
-------------------------
on ExtractDateString(d)
-- given a date object, extract yy/mm/dd
-------------------------
set dstring to (year of d) & "."
set m to monthNumber(d)
if (m < 10) then set dstring to dstring & "0"
set dstring to dstring & m & "."
set d to (day of d)
if (d < 10) then set dstring to dstring & "0"
set dstring to dstring & d
return dstring
end ExtractDateString
-------------------------
on GetCVSTimeStamp(d)
-- turns AppleScript date object into a text CVS type time stamp
-- suitable for passing into MacCVS
-------------------------
set dstring to ""
set m to monthNumber(d)
if (m < 10) then set dstring to "0"
set dstring to m & "/"
set dayNum to (day of d)
if (dayNum < 10) then set dstring to dstring & "0"
set dstring to dstring & dayNum & "/"
set theYear to ((year of d) as string)
set dstring to dstring & {characters 3 thru 4 of theYear}
set tstring to ""
set t to (time of d as integer)
set m to (t div 60 as integer)
set h to m div 60
set m to (m - h * 60)
if (h < 10) then set tstring to tstring & "0"
set tstring to tstring & h & ":"
if (m < 10) then set tstring to tstring & "0"
set tstring to tstring & m & ":"
set s to (t mod 60)
if (s < 10) then set tstring to tstring & 0
set tstring to tstring & s
set theresult to ((dstring & " " & tstring & " PST") as string)
return theresult
end GetCVSTimeStamp
-------------------------
on GetTimeStamp()
-- returns a numeric string given for a date object
-------------------------
set d to current date
set dstring to ExtractDateString(d) & "." & ExtractTimeString(d)
set dstring to dstring as string
return dstring
end GetTimeStamp
-------------------------
-- given a full path, return the name of the last object
on GetCVSSessionName(path)
-- given a mac style path, return the string name of the
-- last object in a path
-------------------------
set going to true
set i to the length of path
repeat while going is true
set theChar to character i of path
if theChar is ":" then
set going to false
end if
set i to i - 1
end repeat
set sessionName to (characters {i + 2} thru length of path)
return sessionName as string
end GetCVSSessionName
-------------------------
on doOnePPCProject(projpath, targetName)
-- process one PPC project, given path to project and the target
-- if target is "" build frontmost target (the default)
-------------------------
global gDoAliases
set noError to false
with timeout of 3600 seconds (* one hour*)
try
tell application "CodeWarrior IDE 3.2"
open {projpath}
end tell
on error errMsg number errNum
logMessage("Error : Can't open project " & projpath)
set PPCPROJECTFAILED to true
error
end try
if targetName is not "" then
tell application "CodeWarrior IDE 3.2"
Set Current Target (targetName as string)
end tell
end if
try
tell application "CodeWarrior IDE 3.2"
set myErrors to Make Project
end tell
on error number errNum
if errNum < 0 then
set noError to true
end if
end try
if noError is false then
tell application "CodeWarrior IDE 3.2"
set theProjectName to my GetProjectName(projpath)
Save Error Window As {STARTUPDISK & ":" & FOLDERTIME & ":" & theProjectName & ".txt"}
end tell
set PPCPROJECTFAILED to true
end if
tell application "CodeWarrior IDE 3.2"
Close Project
end tell
end timeout
return (noError)
end doOnePPCProject
-------------------------
on ReadLn(fileRefNum)
-- strip empty lines and strip terminal comments
-------------------------
try
repeat
set q to read fileRefNum before return
if q is not "" then
set hashOffset to offset of "#" in q
if (hashOffset is 0) then set hashOffset to offset of "//" in q
if (hashOffset > 1) then
set q to text 1 thru (hashOffset - 1) of q
end if
if hashOffset is not 1 and q is not "" then
-- strip trailing white space.
set q to trim(q)
if q is not "" then return q
end if
end if
end repeat
on error errString number errNum
if errNum is -39 then -- no more lines (eof)
return ""
end if
ErrorMessage(errString)
error errString
return errString
end try
end ReadLn
on ProcessList(theListFile)
try
with timeout of 14400 seconds -- four hours
tell application "MacPerl"
Do Script {theListFile as alias}
end tell
end timeout
on error
end try
end ProcessList
(* Initialize script. Read Config file. Get source directory *)
on Initialize()
try
-- find the config file at the same level as this applescript
-- if you're running this in script debugger, uncomment lines below
set oldDelimiters to AppleScript's text item delimiters
set myPath to (path to me) as text
set AppleScript's text item delimiters to {":"}
set pl to (every text item of myPath)
set configPath to (items 1 thru ((count of pl) - 1) of pl) as string
set configPath to configPath & ":" & CONFIGFILENAME
set AppleScript's text item delimiters to oldDelimiters
set f to 0
-- DEBUG
-- uncomment this for debugging
-- set configPath to "Forge:Tinderbox:cm:client:mac:contbuild:Tinderbox Config"
set f to open for access {configPath as alias}
set MACHINEADMIN to ReadLn(f)
set TINDERBOXTREE to ReadLn(f)
set BUILDNAME to ReadLn(f)
set clobberstring to ReadLn(f)
if clobberstring is "Clobber" then
set CLOBBERBUILD to true
else
set CLOBBERBUILD to false
end if
set CVSSESSIONFILE to ReadLn(f)
set BUILDLIST to ReadLn(f)
set BINARYPATH to ReadLn(f)
if f is not 0 then
close access f
end if
on error
display dialog "Failed to read config file!"
end try
set CHECKOUTTIME to GetCVSTimeStamp(current date)
set SOURCEPATH to getLocalCVSRoot(CVSSESSIONFILE)
tell application "Finder"
set STARTUPDISK to name of startup disk
end tell
createLogDirectory(STARTUPDISK & ":")
CreateLogFile(STARTUPDISK & ":" & FOLDERTIME & ":" & "Tinderbox Script Log")
logMessage("Machine Administrator: " & MACHINEADMIN)
logMessage("Building to Tinderbox Tree: " & TINDERBOXTREE)
logMessage("Building: " & BUILDNAME)
if (CLOBBERBUILD) then
logMessage("Building Clobber")
else
logMessage("Building Depend")
end if
logMessage("CVS Session file at: " & CVSSESSIONFILE)
logMessage("BuildList at: " & BUILDLIST)
logMessage("Binary file at: " & BINARYPATH)
return true
end Initialize
-- given a full path, return the name of the last object
on GetProjectName(path)
set going to true
set i to the length of path
repeat while going is true
set theChar to character i of path
if theChar is ":" then
set going to false
end if
set i to i - 1
end repeat
return (characters {i + 2} thru length of path)
end GetProjectName
on notifyHook(result)
if result is true then
tell application "Eudora Pro 3.1"
activate
set newMsg to make new message at end of mailbox "Out" of mail folder ""
set field "Subject:" of newMsg to "Mac Continous Build FAILED"
set body of newMsg to "
The last Mac Continous Build Failed at: " & " " & {CHECKOUTTIME as text} & "
Since you are on the hook, you might be responsible for the breakage.
Please check the logs at: http://warp/tinderbox/showbuilds.cgi?tree=" & TINDERBOXTREE & "
to see if you busted the build."
set field "To:" of newMsg to "bonsai-hook"
activate
queue message newMsg
connect with sending without checking
end tell
end if
end notifyHook
on notifyTinderBoxStart()
try
tell application "Eudora Pro 3.1"
activate
set newMsg to make new message at end of mailbox "Out" of mail folder ""
set body of newMsg to "
tinderbox: tree: " & TINDERBOXTREE & "
tinderbox: builddate: " & CHECKOUTTIME & "
tinderbox: status: building
tinderbox: build: " & BUILDNAME & "
tinderbox: errorparser: mac
"
set field "To:" of newMsg to "tinderbox-daemon@warp"
activate
queue message newMsg
connect with sending without checking
quit
end tell
on error
CloseLogFile()
display dialog "MAIL SERVER ERROR: CAN'T SEND COMPLETION E-MAIL. SCRIPT HALTED"
error number -128
end try
end notifyTinderBoxStart
on notifyTinderBox(result)
try
if result is true then
tell application "Finder"
set thelist to (every file of folder (STARTUPDISK & ":" & FOLDERTIME & ":"))
end tell
set numFiles to count of thelist
set i to 1
set aliasList to {}
repeat numFiles times
set aliasList to aliasList & (item i of thelist as alias)
set i to i + 1
end repeat
tell application "Eudora Pro 3.1"
activate
set newMsg to make new message at end of mailbox "Out" of mail folder ""
attach to newMsg documents aliasList
set field "Subject:" of newMsg to "Mac Continous Build FAILED"
set body of newMsg to "
tinderbox: tree: " & TINDERBOXTREE & "
tinderbox: builddate: " & CHECKOUTTIME & "
tinderbox: status: busted
tinderbox: build: " & BUILDNAME & "
tinderbox: errorparser: mac
"
set field "To:" of newMsg to "tinderbox-daemon@warp"
activate
queue message newMsg
connect with sending without checking
quit
end tell
end if
if result is false then
tell application "Finder"
set thelist to (every file of folder (STARTUPDISK & ":" & FOLDERTIME & ":"))
end tell
set numFiles to count of thelist
set i to 1
set aliasList to {}
repeat numFiles times
set aliasList to aliasList & (item i of thelist as alias)
set i to i + 1
end repeat
tell application "Eudora Pro 3.1"
activate
set newMsg to make new message at end of mailbox "Out" of mail folder ""
set field "Subject:" of newMsg to "Mac Continous Build SUCCEEDED"
set body of newMsg to "
tinderbox: tree: " & TINDERBOXTREE & "
tinderbox: builddate: " & CHECKOUTTIME & "
tinderbox: status: success
tinderbox: build: " & BUILDNAME & "
tinderbox: errorparser: mac
"
set field "To:" of newMsg to "tinderbox-daemon@warp"
activate
queue message newMsg
connect with sending without checking
quit
end tell
end if
on error
CloseLogFile()
display dialog "MAIL SERVER ERROR: CAN'T SEND COMPLETION E-MAIL. SCRIPT HALTED"
error number -128
end try
end notifyTinderBox
on PageAdmin(pageMesg)
tell application "Eudora Pro 3.1"
activate
set newMsg to make new message at end of mailbox "Out" of mail folder ""
set field "To:" of newMsg to MACHINEADMIN
set field "Subject:" of newMsg to TINDERBOXTREE & " " & BUILDNAME & " Continous Build failed"
if pageMesg is not "" then
set body of newMsg to pageMesg
end if
activate
queue message newMsg
connect with sending without checking
quit
end tell
end PageAdmin
-- remove all directories from the local root, removing the old tree
on removeOldTree()
try
tell application "Finder"
open folder (SOURCEPATH as string)
select every item of item of container window of folder (SOURCEPATH as string)
delete selection
close container window of folder (SOURCEPATH as string)
empty trash
end tell
on error
CloseLogFile()
set PPCPROJECTFAILED to true
logMessage("Error : Couldn't delete the old tree.")
PageAdmin("Couldn't nuke old tree!")
display dialog ("Couldn't nuke old tree! SCRIPT HALTED")
error number -128
end try
end removeOldTree
-- remove the 'dist' directory from the local root
on removeOldDist() --¥
try
tell application "Finder"
set distPath to SOURCEPATH & ":mozilla:dist"
open folder (distPath as string)
select every item of item of container window of folder (distPath as string)
delete selection
close container window of folder (distPath as string)
empty trash
end tell
on error
CloseLogFile()
set PPCPROJECTFAILED to true
logMessage("Error : Couldn't delete the old 'dist' directory.")
PageAdmin("Couldn't nuke old 'dist' directory!")
display dialog ("Couldn't nuke old 'dist' directory! SCRIPT HALTED")
error number -128
end try
end removeOldDist
on checkoutModule(cvsmodule, cvsRevision)
try
with timeout of 1800 seconds (* 30 minutes *)
if cvsRevision is "" then
tell application "MacCVS Pro 2.1b2r1 PPC"
tell session CVSSESSIONNAME
activate
checkout module cvsmodule
end tell
end tell
else
tell application "MacCVS Pro 2.1b2r1 PPC"
tell session CVSSESSIONNAME
activate
checkout module cvsmodule revision cvsRevision
end tell
end tell
end if
end timeout
if cvsRevision is "" then
logMessage("Check-out of " & cvsmodule & "successful!")
else
logMessage("Check-out of " & cvsmodule & "at revision: " & cvsRevision & " successful!")
end if
on error errMsg number errNum
if cvsRevision is "" then
set PPCPROJECTFAILED to true
logMessage("Error : Can't check out module: " & cvsmodule & " revision: Tip")
logMessage("Error : " & errMsg)
error "Can't check out module"
else
set PPCPROJECTFAILED to true
logMessage("Error : Can't check out module: " & cvsmodule & " revision: " & cvsRevision)
logMessage("Error : " & errMsg)
error "Can't check out module"
end if
end try
end checkoutModule
on checkOutTree(pathToCVSSession)
try
set oldDelimiters to AppleScript's text item delimiters
set myPath to (path to me) as text
set AppleScript's text item delimiters to {":"}
set pl to (every text item of myPath)
set configPath to (items 1 thru ((count of pl) - 1) of pl) as string
set configPath to configPath & ":" & CONFIGFILENAME
set AppleScript's text item delimiters to oldDelimiters
set f to 0
-- set configPath to "Forge:Tinderbox:cm:client:mac:contbuild:Tinderbox Config"
set f to open for access {configPath as alias}
(* read past the cruft of the config file *)
ReadLn(f)
ReadLn(f)
ReadLn(f)
ReadLn(f)
ReadLn(f)
ReadLn(f)
ReadLn(f)
on error
CloseLogFile()
set PPCPROJECTFAILED to true
logMessage("Couldn't check-out the tree: couldn't read modules" & return)
logMessage(errMsg)
PageAdmin("Couldn't check-out the tree: couldn't read modules")
display dialog "Couldn't read modules from config file: SCRIPT HALTED"
error number -128
end try
-- open the session
tell application "MacCVS Pro 2.1b2r1 PPC"
activate
open {pathToCVSSession as alias}
end tell
try
repeat
set cvsmodule to ReadLn(f)
if cvsmodule is "" then exit repeat
if cvsmodule = "CVS Session" then
switchCVSSession(f)
else
set revision to Token(cvsmodule, 2)
set cvsmodule to Token(cvsmodule, 1)
checkoutModule(cvsmodule, revision)
end if
end repeat
logMessage("### Checked-out all required modules")
on error
--¥tell application "MacCVS Pro 2.1b2r1 PPC"
--¥quit
--¥end tell
-- toss something up to run()
error
end try
--¥tell application "MacCVS Pro 2.1b2r1 PPC"
--¥quit
--¥end tell
end checkOutTree
on switchCVSSession(f)
tell application "MacCVS Pro 2.1b2r1 PPC"
close session CVSSESSIONNAME
end tell
set newSessionPath to ReadLn(f)
set newSessionName to GetCVSSessionName(newSessionPath)
set CVSSESSIONNAME to newSessionName
tell application "MacCVS Pro 2.1b2r1 PPC"
activate
open {newSessionPath as alias}
end tell
end switchCVSSession
on getLocalCVSRoot(pathToCVSSession)
set CVSSESSIONNAME to GetCVSSessionName(pathToCVSSession)
try
tell application "MacCVS Pro 2.1b2r1 PPC"
open {pathToCVSSession as alias}
tell session CVSSESSIONNAME
set theLocalRoot to local root
end tell
--¥quit
end tell
set pathLength to {(get the length of (theLocalRoot as text)) as text}
return (characters 1 thru {pathLength - 1} of (theLocalRoot as text))
on error
display dialog "Error : CVS Session path wrong, or doesn't have a local root. SCRIPT HALTED!"
error number -128
end try
end getLocalCVSRoot
on createLogDirectory(destFolder)
tell application "Finder"
set FOLDERTIME to my GetTimeStamp()
make new folder at folder (destFolder)
set the name of the result to FOLDERTIME
end tell
end createLogDirectory
on mozillaLives(filePath)
try
tell application "Finder"
set fileTest to file filePath
set creatorType to get the creator type of fileTest
set fileTest to application file filePath
set partitionSize to get the partition size of fileTest
if (creatorType is "????" and partitionSize > 0) then
return false
else
return true
end if
end tell
on error
return true
end try
end mozillaLives
on copyFile(srcPath, destFolder)
try
tell application "Finder"
copy file (srcPath as alias) to folder (destFolder as alias)
-- set the name of the result to destName
end tell
on error msgErr
logMessage("Error: Could not copy - " & srcPath & msgErr)
end try
end copyFile
on getDriveName(path)
set going to true
set i to 1
repeat while going is true
set theChar to character i of path
if theChar is ":" then
set going to false
end if
set i to i + 1
end repeat
set driveName to (characters 1 thru {i - 1} of path)
return driveName as string
end getDriveName
on trashItem(filePath)
try
tell application "Finder"
select item (filePath as string)
delete selection
empty trash
end tell
on error
logMessage("Error : Couldn't delete the old binary.")
PageAdmin("Couldn't nuke old binary!")
display dialog "Couldn't nuke old binary: SCRIPT HALTED"
error number -128
end try
end trashItem
on run
-- if we are executing first time, skip time delay check
set firstRun to true
--¥repeat
-- if we're cycling around, make sure we don't cycle faster than 10 minutes
if firstRun is false then
if endTime - startTime is less than 600 then
repeat while endTime - startTime is less than 600
set endTime to current date
end repeat
end if
end if
set firstRun to false
set startTime to current date
-- 2 hour timeout
with timeout of 7200 seconds
set PPCPROJECTFAILED to false
-- read config file and create log directories
Initialize()
notifyTinderBoxStart()
if (CLOBBERBUILD) then
removeOldTree()
else
removeOldDist() --¥
end if
(*
else
trashItem("")
end
*)
try
checkOutTree(CVSSESSIONFILE)
on error
PageAdmin("Can't check out tree!")
end try
if PPCPROJECTFAILED is false then
set SOURCEPATH to getLocalCVSRoot(CVSSESSIONFILE)
set SOURCEPATH to SOURCEPATH as string
ProcessList(SOURCEPATH & BUILDLIST)
tell application "CodeWarrior IDE 3.2"
quit
end tell
tell application "MacCVS Pro 2.1b2r1 PPC"
quit
end tell
tell application "ToolServer"
quit
end tell
end if
-- set builddrive to getDriveName(SOURCEPATH)
copyFile(SOURCEPATH & ":Mozilla.BuildLog", STARTUPDISK & ":" & FOLDERTIME & ":")
set PPCPROJECTFAILED to mozillaLives(SOURCEPATH & BINARYPATH)
CloseLogFile()
try
notifyTinderBox(PPCPROJECTFAILED)
on error
PageAdmin("Couldn't send Tinderbox completion message!")
end try
tell application "Finder"
select folder FOLDERTIME of startup disk
delete selection
--¥empty trash
restart --¥
end tell
end timeout
set endTime to current date
--¥end repeat
end run

View File

@@ -0,0 +1,40 @@
#!perl
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
use Moz;
use BuildList;
$DEBUG = 1;
# One of them should be 1. This will come from a config file at some stage.
# In the meanwhile, it should match mozilla/config/mac/MacConfig.h
$MOZ_LITE = 0;
$MOZ_MEDIUM = 1;
$MOZ_DARK = 0;
Moz::OpenErrorLog("::::Mozilla.BuildLog");
#Moz::StopForErrors();
chdir("::::");
# Make and popuplate the dist directory
DistMozilla();
# Now build the projects
BuildMozilla();

View File

@@ -0,0 +1,96 @@
#!perl
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# nglayout build script (debug)
#
use NGLayoutBuildList;
use Cwd;
use Moz;
# configuration variables
$DEBUG = 1;
$ALIAS_SYM_FILES = 0;
$CLOBBER_LIBS = 1;
$MOZ_FULLCIRCLE = 0;
# The following two options will delete all files, but leave the directory structure intact.
$CLOBBER_DIST_ALL = 0; # turn on to clobber all files inside dist (headers, xsym and libs)
$CLOBBER_DIST_LIBS = 0; # turn on to clobber the aliases to libraries and sym files in dist
$pull{all} = 0;
$pull{lizard} = 0;
$pull{xpcom} = 0;
$pull{imglib} = 0;
$pull{netlib} = 0;
$pull{nglayout} = 0;
$pull{mac} = 0;
$build{all} = 1; # turn off to do individual builds, or to do "most"
$build{most} = 0; # turn off to do individual builds
$build{dist} = 0;
$build{dist_runtime} = 0; # implied by $build{dist}
$build{idl} = 0;
$build{resources} = 0;
$build{stubs} = 0;
$build{runtime} = 0;
$build{common} = 0;
$build{intl} = 0;
$build{nglayout} = 0;
$build{editor} = 0;
$build{mailnews} = 0;
$build{viewer} = 0;
$build{xpapp} = 0;
# script
$pull{all} = 1;
$build{all} = 1;
if ($pull{all})
{
foreach $k (keys(%pull))
{
$pull{$k} = 1;
}
}
if ($build{all})
{
foreach $k (keys(%build))
{
$build{$k} = 1;
}
}
# do the work
OpenErrorLog("::::Mozilla.BuildLog"); # Tinderbox requires that name
chdir("::::");
Checkout();
BuildDist();
BuildProjects();
print "Build complete\n";

View File

@@ -0,0 +1,93 @@
#!perl
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
#
# nglayout build script (debug)
#
use NGLayoutBuildList;
use Cwd;
use Moz;
# configuration variables
$DEBUG = 0;
$ALIAS_SYM_FILES = 0;
$CLOBBER_LIBS = 1;
$MOZ_FULLCIRCLE = 0;
# The following two options will delete all files, but leave the directory structure intact.
$CLOBBER_DIST_ALL = 0; # turn on to clobber all files inside dist (headers, xsym and libs)
$CLOBBER_DIST_LIBS = 0; # turn on to clobber the aliases to libraries and sym files in dist
$pull{all} = 1;
$pull{lizard} = 0;
$pull{xpcom} = 0;
$pull{imglib} = 0;
$pull{netlib} = 0;
$pull{nglayout} = 0;
$pull{mac} = 0;
$build{all} = 1; # turn off to do individual builds, or to do "most"
$build{most} = 0; # turn off to do individual builds
$build{dist} = 0;
$build{dist_runtime} = 0; # implied by $build{dist}
$build{idl} = 0;
$build{resources} = 0;
$build{stubs} = 0;
$build{runtime} = 0;
$build{common} = 0;
$build{intl} = 0;
$build{nglayout} = 0;
$build{editor} = 0;
$build{mailnews} = 0;
$build{viewer} = 0;
$build{xpapp} = 0;
# script
if ($pull{all})
{
foreach $k (keys(%pull))
{
$pull{$k} = 1;
}
}
if ($build{all})
{
foreach $k (keys(%build))
{
$build{$k} = 1;
}
}
# do the work
OpenErrorLog("::::Mozilla.BuildLog"); # Tinderbox requires that name
chdir("::::");
Checkout();
BuildDist();
BuildProjects();
print "Build complete\n";

View File

@@ -0,0 +1,2 @@
This directory is merely here to test the project editor server. It will go away after
it is validated. For more information, see http://camelot.

Binary file not shown.

View File

@@ -0,0 +1 @@
// test1.cpp

View File

@@ -0,0 +1 @@
// test2.cpp

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,117 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
##
## Usage:
##
## $ mozilla
##
## This script is meant to run a mozilla program from the mozilla
## rpm installation.
##
## The script will setup all the environment voodoo needed to make
## mozilla work.
##
## Standard shell script disclaimer blurb thing:
##
## This script is a hcak. Its brute force. Its horrible.
## It doesnt use Artificial Intelligence. It doesnt use Virtual Reality.
## Its not perl. Its not python. It probably wont work unchanged on
## the "other" thousands of unices. But it worksforme.
##
## If you have an improvement, patch, idea, whatever, on how to make this
## script better, post it here:
##
## news://news.mozilla.org/netscape.public.mozilla.patches
## news://news.mozilla.org/netscape.public.mozilla.unix
##
##
##
## Potential improvements:
##
## + Run ldd on the program and report missing dlls
## + All the "other" unices/packages
##
cmdname=`basename $0`
##
## location of the apprunner binary.
##
MOZ_APPRUNNER_NAME="/usr/lib/mozilla/bin/apprunner"
##
## Variables
##
MOZ_DIST_BIN=""
MOZ_PROGRAM=""
##
## Functions
##
moz_bail()
{
message=$1
echo
echo "$cmdname: $message"
echo
exit 1
}
moz_test_binary()
{
binary=$1
if [ -f "$binary" ]
then
if [ -x "$binary" ]
then
return 1
fi
fi
return 0
}
moz_test_binary $MOZ_APPRUNNER_NAME
if [ $? -eq 1 ]
then
MOZ_PROGRAM=$MOZ_APPRUNNER_NAME
fi
##
## Make sure the program is executable
##
if [ ! -x $MOZ_PROGRAM ]
then
moz_bail "Cannot execute $MOZ_PROGRAM."
fi
##
## Set MOZILLA_FIVE_HOME
##
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
export MOZILLA_FIVE_HOME
exec ./$MOZ_PROGRAM ${1+"$@"}

View File

@@ -0,0 +1,111 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
##
## Usage:
##
## $ mozilla
##
## This script is meant to run a mozilla program from the mozilla
## rpm installation.
##
## The script will setup all the environment voodoo needed to make
## mozilla work.
##
## Standard shell script disclaimer blurb thing:
##
## This script is a hcak. Its brute force. Its horrible.
## It doesnt use Artificial Intelligence. It doesnt use Virtual Reality.
## Its not perl. Its not python. It probably wont work unchanged on
## the "other" thousands of unices. But it worksforme.
##
## If you have an improvement, patch, idea, whatever, on how to make this
## script better, post it here:
##
## news://news.mozilla.org/netscape.public.mozilla.patches
## news://news.mozilla.org/netscape.public.mozilla.unix
##
##
##
## Potential improvements:
##
## + Run ldd on the program and report missing dlls
## + All the "other" unices/packages
##
cmdname=`basename $0`
##
## location of the viewer binary.
##
MOZ_VIEWER_NAME="/usr/lib/mozilla/bin/viewer"
##
## Variables
##
MOZ_PROGRAM=""
##
## Functions
##
moz_bail()
{
message=$1
echo
echo "$cmdname: $message"
echo
exit 1
}
moz_test_binary()
{
binary=$1
if [ -f "$binary" ]
then
if [ -x "$binary" ]
then
return 1
fi
fi
return 0
}
MOZ_PROGRAM=$MOZ_APPRUNNER_NAME
moz_test_binary $MOZ_PROGRAM
if [ $? -eq 0 ]
then
moz_bail "Cannot execute $MOZ_PROGRAM."
fi
##
## Set MOZILLA_FIVE_HOME
##
MOZILLA_FIVE_HOME="/usr/lib/mozilla"
export MOZILLA_FIVE_HOME
exec $MOZ_PROGRAM ${1+"$@"}

View File

@@ -0,0 +1,98 @@
%define ver @MOZ_RPM_VERSION@
%define rel @MOZ_RPM_RELEASE@
%define prefix @MOZ_RPM_PREFIX@
%define tmp @MOZ_RPM_TMP@
Summary: Mozilla / ButtMonkey / Gecko / Whatever
Name: mozilla
Version: %ver
Release: %rel
Copyright: NPL
Group: Mozilla
Source: mozilla-%{ver}-%{rel}.tar.gz
BuildRoot: %{tmp}/%{name}-root
Packager: Ramiro Estrugo <ramiro@netscape.com>
URL: http://www.mozilla.org/
Provides: mozilla
Requires: glib >= 1.2.1 gtk+ >= 1.2.1 nspr-pthreads >= 3.1
%description
Mozilla
%package devel
Summary: Mozilla development crap
Group: Mozilla
#Requires: mozilla nspr-devel
#Obsoletes: libnspr-devel
#Conflicts: libnspr-userthreads-devel
%description devel
Mozilla development libs and headers
%prep
%setup -n mozilla
%build
./configure \
--with-pthreads \
--enable-toolkit=gtk \
--disable-build-nspr \
@MOZ_RPM_SEAMONKEY_OPTIMIZE@
make
%install
mkdir -p $RPM_BUILD_ROOT%{prefix}/lib/mozilla/bin
mkdir -p $RPM_BUILD_ROOT%{prefix}/include/mozilla
mkdir -p $RPM_BUILD_ROOT%{prefix}/lib
mkdir -p $RPM_BUILD_ROOT%{prefix}/lib/mozilla/idl
mkdir -p $RPM_BUILD_ROOT%{prefix}/lib/mozilla/components
mkdir -p $RPM_BUILD_ROOT%{prefix}/lib/mozilla/res
mkdir -p $RPM_BUILD_ROOT/usr/bin
cp -rpv dist/bin/components/*.so $RPM_BUILD_ROOT%{prefix}/lib/mozilla/components
cp -rpv dist/bin/res/* $RPM_BUILD_ROOT%{prefix}/lib/mozilla/res
cp -rpv dist/bin/*.so $RPM_BUILD_ROOT%{prefix}/lib
cp -rpv dist/include/* $RPM_BUILD_ROOT%{prefix}/include/mozilla
cp -rpv dist/idl/* $RPM_BUILD_ROOT%{prefix}/lib/mozilla/idl
cp -rpv dist/lib/*.a $RPM_BUILD_ROOT%{prefix}/lib
cp -rpv dist/bin/apprunner $RPM_BUILD_ROOT%{prefix}/lib/mozilla/bin
cp -rpv dist/bin/viewer $RPM_BUILD_ROOT%{prefix}/lib/mozilla/bin
cp -rpv dist/bin/vreg $RPM_BUILD_ROOT%{prefix}/lib/mozilla/bin
cp -rpv build/mozilla-viewer.sh $RPM_BUILD_ROOT/usr/bin/mozilla-viewer
cp -rpv build/mozilla-apprunner.sh $RPM_BUILD_ROOT/usr/bin/mozilla-apprunner
%clean
rm -rf $RPM_BUILD_ROOT
%post
#if grep "/usr/mozilla/lib" /etc/ld.so.conf > /dev/null 2>&1
#then
# :
#else
# echo "/usr/mozilla/lib" >> /etc/ld.so.conf
#fi
#
#/sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%attr(-, root, root)
%{prefix}/lib/mozilla/components/*
%{prefix}/lib/*.so
%{prefix}/lib/mozilla/bin/*
%{prefix}/lib/mozilla/res/*
%attr(755, root, root)/usr/bin/mozilla-viewer
%attr(755, root, root)/usr/bin/mozilla-apprunner
%files devel
%attr(-, root, root)
%{prefix}/lib/*.a
%{prefix}/include/mozilla/*
%{prefix}/lib/mozilla/idl/*

View File

@@ -0,0 +1,76 @@
%define ver @MOZILLA_RPM_VERSION@
%define rel @MOZILLA_RPM_RELEASE@
%define prefix @MOZILLA_RPM_PREFIX@
%define tmp @MOZILLA_RPM_TMP@
Summary: Netscape Portable Runtime (NSPR)
Name: nspr-pthreads
Version: %ver
Release: %rel
Copyright: NPL
Group: Development/Libraries
Source: nspr-pthreads-%{ver}-%{rel}.tar.gz
BuildRoot: %{tmp}/%{name}-root
Packager: Ramiro Estrugo <ramiro@netscape.com>
URL: http://www.mozilla.org/docs/tplist/catCode/nsprdesc.htm
Provides: nspr
%description
Libraries that implement cross-platform runtime services from Netscape.
%package devel
Summary: NSPR library header files for development
Group: Development/Libraries
Requires: nspr
#Obsoletes: libnspr-devel
#Conflicts: libnspr-userthreads-devel
%description devel
Header files for the NSPR library from Netscape
%prep
%setup -n nspr-pthreads
%build
make \
DIST=$RPM_BUILD_ROOT%{prefix} \
NSDISTMODE=copy \
USE_PTHREADS=1 \
@MOZILLA_RPM_NSPR_OPTIMIZE@ \
export
%install
make \
DIST=$RPM_BUILD_ROOT%{prefix} \
NSDISTMODE=copy \
USE_PTHREADS=1 \
@MOZILLA_RPM_NSPR_OPTIMIZE@ \
install
%clean
rm -rf $RPM_BUILD_ROOT
%post
#if grep "/usr/mozilla/lib" /etc/ld.so.conf > /dev/null 2>&1
#then
# :
#else
# echo "/usr/mozilla/lib" >> /etc/ld.so.conf
#fi
#
#/sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%attr(-, root, root)
%{prefix}/lib/*.so
%files devel
%attr(-, root, root)
%{prefix}/include/*
%{prefix}/lib/*.a

View File

@@ -0,0 +1,36 @@
#!gmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "License"); you 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.
#
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk
RUN_MOZILLA_SCRIPT= $(srcdir)/run-mozilla.sh
install:: $(PROGRAM) $(RUN_MOZILLA_SCRIPT)
$(INSTALL) $(RUN_MOZILLA_SCRIPT) $(DIST)/bin

View File

@@ -0,0 +1,7 @@
USE_PTHREADS=@MOZ_NSPRENV_USE_PTHREADS@
BUILD_OPT=@MOZ_NSPRENV_BUILD_OPT@
NS_USE_GCC=@MOZ_NSPRENV_NS_USE_GCC@
NO_MDUPDATE=@MOZ_NSPRENV_NO_MDUPDATE@
NS_USE_NATIVE=@MOZ_NSPRENV_NS_USE_NATIVE@
MOZILLA_CLIENT=@MOZ_NSPRENV_MOZILLA_CLIENT@
CLASSIC_NSPR=@MOZ_NSPRENV_CLASSIC_NSPR@

View File

@@ -0,0 +1,7 @@
DIST=@MOZ_NSPRENV_DIST@
MOZ_NSPRENV_OVERRIDE_MAKE=@MOZ_NSPRENV_OVERRIDE_MAKE@
ifdef MOZ_NSPRENV_OVERRIDE_MAKE
MAKE=$(MOZ_NSPRENV_OVERRIDE_MAKE)
endif

410
mozilla/build/unix/run-mozilla.sh Executable file
View File

@@ -0,0 +1,410 @@
#!/bin/sh
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
##
## Usage:
##
## $ run-mozilla.sh [options] [program] [program arguments]
##
## This script is meant to run a mozilla program from the mozilla
## source tree. This is mostly useful to folks hacking on mozilla.
##
## A mozilla program is currently either viewer or apprunner. The
## default is viewer.
##
## The script will setup all the environment voodoo needed to make
## mozilla work.
##
## Standard shell script disclaimer blurb thing:
##
## This script is a hcak. Its brute force. Its horrible.
## It doesnt use Artificial Intelligence. It doesnt use Virtual Reality.
## Its not perl. Its not python. It probably wont work unchanged on
## the "other" thousands of unices. But it worksforme.
##
## If you have an improvement, patch, idea, whatever, on how to make this
## script better, post it here:
##
## news://news.mozilla.org/netscape.public.mozilla.patches
## news://news.mozilla.org/netscape.public.mozilla.unix
##
##
## Potential improvements:
##
## + Run from anywhere in the tree.
## + Run ldd on the program and report missing dlls
## + Deal with NSPR in the tree
## + All the "other" unices
##
cmdname=`basename $0`
##
## Constants
##
MOZ_APPRUNNER_NAME="apprunner"
MOZ_VIEWER_NAME="viewer"
##
## Variables
##
MOZ_DIST_BIN=""
MOZ_PROGRAM=""
##
## Functions
##
##########################################################################
moz_usage()
{
cat << EOF
Usage: ${cmdname} [options] [program]
options:
-g Run in debugger.
--debug
-d debugger Debugger to use.
--debugger debugger
Examples:
Run the viewer
${cmdname} viewer
Run the apprunner
${cmdname} apprunner
Debug the viewer in a debbuger
${cmdname} -g viewer
Debug the apprunner in gdb
${cmdname} -g viewer -d gdb
EOF
return 0
}
##########################################################################
moz_bail()
{
message=$1
echo
echo "$cmdname: $message"
echo
exit 1
}
##########################################################################
moz_test_binary()
{
binary=$1
if [ -f "$binary" ]
then
if [ -x "$binary" ]
then
return 1
fi
fi
return 0
}
##########################################################################
moz_get_debugger()
{
debuggers="ddd gdb dbx"
debugger="notfound"
done="no"
for d in $debuggers
do
dpath=`which ${d}`
if [ -x "$dpath" ]
then
debugger=$dpath
break
fi
done
echo $debugger
return 0
}
##########################################################################
moz_run_program()
{
prog=$MOZ_PROGRAM
##
## Make sure the program is executable
##
if [ ! -x "$prog" ]
then
moz_bail "Cannot execute $prog."
fi
##
## Use md5sum to crc a core file. If md5sum is not found on the system,
## then dont debug core files.
##
crc_prog=`which md5sum`
if [ -x "$crc_prog" ]
then
DEBUG_CORE_FILES=1
fi
if [ "$DEBUG_CORE_FILES" ]
then
crc_old=
if [ -f core ]
then
crc_old=`$crc_prog core | awk '{print $1;}' `
fi
fi
##
## Run the program
##
$prog ${1+"$@"}
if [ "$DEBUG_CORE_FILES" ]
then
if [ -f core ]
then
crc_new=`$crc_prog core | awk '{print $1;}' `
fi
fi
if [ "$crc_old" != "$crc_new" ]
then
printf "\n\nOh no! %s just dumped a core file.\n\n" $prog
printf "Do you want to debug this ? [y/n] "
read ans
if [ "$ans" = "y" ]
then
debugger=`moz_get_debugger`
if [ -x "$debugger" ]
then
echo "$debugger $prog core"
$debugger $prog core
else
echo "Could not find a debugger on your system."
fi
fi
fi
}
##########################################################################
moz_debug_program()
{
prog=$MOZ_PROGRAM
##
## Make sure the program is executable
##
if [ ! -x "$prog" ]
then
moz_bail "Cannot execute $prog."
fi
if [ -n "$moz_debugger" ]
then
debugger=`which $moz_debugger`
else
debugger=`moz_get_debugger`
fi
if [ -x "$debugger" ]
then
echo "$debugger $prog ${1+"$@"}"
$debugger $prog ${1+"$@"}
else
echo "Could not find a debugger on your system."
fi
}
##########################################################################
##
## Command line arg defaults
##
moz_debug=0
moz_debugger=""
##
## Parse the command line
##
while [ $# -gt 0 ]
do
case $1 in
-h | --help)
moz_usage
exit 0
;;
-g | --debug)
moz_debug=1
shift
;;
-d | --debugger)
moz_debugger=$2;
shift 2
;;
*)
break;
;;
esac
done
##
## Program name given in $1
##
if [ $# -gt 0 ]
then
MOZ_PROGRAM=$1
shift
fi
##
## Program not given, try to guess a default
##
if [ -z "$MOZ_PROGRAM" ]
then
##
## Try viewer
##
moz_test_binary $MOZ_VIEWER_NAME
if [ $? -eq 1 ]
then
MOZ_PROGRAM=$MOZ_VIEWER_NAME
##
## Try apprunner
##
else
moz_test_binary $MOZ_APPRUNNER_NAME
if [ $? -eq 1 ]
then
MOZ_PROGRAM=$MOZ_APPRUNNER_NAME
fi
fi
fi
##
## Running the program from its source dir
##
if [ -f Makefile.in ]
then
# Use DEPTH in the Makefile.in to determine the depth
depth=`grep -w DEPTH Makefile.in | grep -e "\.\." | awk -F"=" '{ print $2; }'`
##
## Make sure dist/bin exits
##
if [ ! -d $depth/dist/bin ]
then
moz_bail "$depth/dist/bin does not exist."
fi
# push
here=`pwd`
cd $depth/dist/bin
MOZ_DIST_BIN=`pwd`
# pop
cd $here
else
##
## Running the program from dist/bin
##
if [ -d components -a -d res ]
then
MOZ_DIST_BIN=`pwd`
fi
fi
##
## Make sure dist/bin is ok
##
if [ -z "$MOZ_DIST_BIN" ]
then
moz_bail "Cannot access dir dist/bin directory."
fi
if [ ! -d $MOZ_DIST_BIN ]
then
moz_bail "Cannot access dir dist/bin directory."
fi
##
## Make sure the program is executable
##
if [ ! -x "$MOZ_PROGRAM" ]
then
moz_bail "Cannot execute $MOZ_PROGRAM."
fi
##
## Set MOZILLA_FIVE_HOME
##
MOZILLA_FIVE_HOME=$MOZ_DIST_BIN
##
## Set LD_LIBRARY_PATH
##
if [ -n "$LD_LIBRARY_PATH" ]
then
LD_LIBRARY_PATH=${MOZ_DIST_BIN}${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
else
LD_LIBRARY_PATH=${MOZ_DIST_BIN}
fi
echo "MOZILLA_FIVE_HOME=$MOZILLA_FIVE_HOME"
echo " LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
echo " MOZ_PROGRAM=$MOZ_PROGRAM"
echo " moz_debug=$moz_debug"
echo " moz_debugger=$moz_debugger"
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
if [ "$moz_debug" = "1" ]
then
moz_debug_program ${1+"$@"}
else
moz_run_program ${1+"$@"}
fi

26
mozilla/caps/Makefile.in Normal file
View File

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

View File

@@ -0,0 +1,20 @@
nsZig.h
nsPrincipal.h
nsPrivilege.h
nsPrivilegeManager.h
nsPrivilegeTable.h
nsSystemPrivilegeTable.h
nsTarget.h
nsUserTarget.h
jpermission.h
nsUserDialogHelper.h
nsZip.h
nsLoadZig.h
admin.h
nsCaps.h
nsCapsEnums.h
nsCCapsManager.h
nsCCapsManagerFactory.h
nsCCertPrincipal.h
nsCCodebasePrincipal.h
nsCCodeSourcePrincipal.h

View File

@@ -0,0 +1,34 @@
#!gmake
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
MODULE = caps
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
EXPORTS = nsZip.h nsZig.h nsLoadZig.h nsPrincipal.h nsPrivilege.h nsPrivilegeManager.h nsPrivilegeTable.h nsSystemPrivilegeTable.h nsTarget.h nsUserTarget.h jpermission.h nsUserDialogHelper.h admin.h nsCaps.h nsCapsEnums.h nsCCapsManagerFactory.h nsCCapsManager.h \
nsCCertPrincipal.h \
nsCCodebasePrincipal.h \
nsCCodeSourcePrincipal.h
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk

View File

@@ -0,0 +1,42 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef _ADMIN_H_
#define _ADMIN_H_
PR_BEGIN_EXTERN_C
PR_PUBLIC_API(const char *)
java_netscape_security_getPrincipals(const char *charSetName);
PR_PUBLIC_API(PRBool)
java_netscape_security_removePrincipal(const char *charSetName, char *prinName);
PR_PUBLIC_API(void)
java_netscape_security_getPrivilegeDescs(const char *charSetName, char *prinName,
char** forever, char** session,
char **denied);
PR_PUBLIC_API(PRBool)
java_netscape_security_removePrivilege(const char *charSetName, char *prinName,
char *targetName);
PR_END_EXTERN_C
#endif /* _ADMIN_H_ */

View File

@@ -0,0 +1,42 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef _JPERMISSION_H_
#define _JPERMISSION_H_
typedef enum nsPermState {
nsPermState_NotSet,
nsPermState_AllowedForever,
nsPermState_AllowedSession,
nsPermState_ForbiddenForever,
nsPermState_BlankSession
} nsPermState;
PR_PUBLIC_API(void)
java_netscape_security_savePrivilege(nsPermState permState);
PR_PUBLIC_API(nsPermState)
nsJSJavaDisplayDialog(char *prinStr, char *targetStr, char *rsikStr, PRBool isCert, void*cert);
PR_PUBLIC_API(void)
java_netscape_security_getTargetDetails(const char *charSetName,
char* targetName,
char** details,
char **risk);
#endif /* _JPERMISSION_H_ */

View File

@@ -0,0 +1,40 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
IGNORE_MANIFEST=1
#//------------------------------------------------------------------------
#//
#// Makefile to install CAPS/INCLUDE header files into the distribution
#// directory.
#//
#//------------------------------------------------------------------------
MODULE=caps
DEPTH=..\..
EXPORTS=nsZip.h nsZig.h nsLoadZig.h nsPrincipal.h nsPrivilege.h nsPrivilegeManager.h nsPrivilegeTable.h nsSystemPrivilegeTable.h nsTarget.h nsUserTarget.h jpermission.h nsUserDialogHelper.h admin.h nsCaps.h nsCapsEnums.h \
nsCCapsManager.h \
nsCCertPrincipal.h \
nsCCodebasePrincipal.h \
nsCCapsManagerFactory.h \
nsCCodeSourcePrincipal.h
include <$(DEPTH)/config/rules.mak>

View File

@@ -0,0 +1,268 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsCCapsManager_h___
#define nsCCapsManager_h___
#include "nsIPrincipal.h"
#include "nsISupports.h"
#include "nsICapsManager.h"
#include "nsAgg.h"
#include "nsPrincipal.h"
#include "nsPrivilegeManager.h"
/**
* nsCCapsManager implements the nsICapsManager
* interface for navigator. This is used to create new principals and get and
* set permissions for each of the principals created.
* nsCCapsManager registers itself as the factory object and it will always return
* a pointer to itself as in the createInstance. This is because there should be only
* one nsCCapsManager in navigator.
*/
class nsCCapsManager : public nsICapsManager {
public:
////////////////////////////////////////////////////////////////////////////
// from nsISupports and AggregatedQueryInterface:
NS_DECL_AGGREGATED
////////////////////////////////////////////////////////////////////////////
// from nsICapsManager:
NS_IMETHOD
CreateCodebasePrincipal(const char *codebaseURL, nsIPrincipal** prin);
NS_IMETHOD
CreateCertPrincipal(const unsigned char **certChain, PRUint32 *certChainLengths, PRUint32 noOfCerts, nsIPrincipal** prin);
/**
* Creates a CodeSourcePrincipal, which has both nsICodebasePrincipal
* and nsICertPrincipal
*
* @param certByteData - The ceritificate's byte array data including the chain.
* @param certByteDataSize - the length of certificate byte array.
* @param codebaseURL - the codebase URL
*/
NS_IMETHOD
CreateCodeSourcePrincipal(const unsigned char **certChain, PRUint32 *certChainLengths, PRUint32 noOfCerts, const char *codebaseURL, nsIPrincipal** prin);
/**
* Returns the permission for given principal and target
*
* @param prin - is either certificate principal or codebase principal
* @param target - is NS_ALL_PRIVILEGES.
* @param state - the return value is passed in this parameter.
*/
NS_IMETHOD
GetPermission(nsIPrincipal* prin, nsITarget* target, nsPermission *state);
/**
* Set the permission state for given principal and target. This wouldn't
* prompt the end user with UI.
*
* @param prin - is either certificate principal or codebase principal
* @param target - is NS_ALL_PRIVILEGES.
* @param state - is permisson state that should be set for the given prin
* and target parameters.
*/
NS_IMETHOD
SetPermission(nsIPrincipal* prin, nsITarget* target, nsPermission state);
/**
* Prompts the user if they want to grant permission for the given principal and
* for the given target.
*
* @param prin - is either certificate principal or codebase principal
* @param target - is NS_ALL_PRIVILEGES.
* @param result - is the permission user has given for the given principal and
* target
*/
NS_IMETHOD
AskPermission(nsIPrincipal* prin, nsITarget* target, nsPermission *result);
/*
* All of the following methods are used by JS (the code located
* in lib/libmocha area).
*/
/**
* Initializes the capabilities subsytem (ie setting the system principal, initializing
* privilege Manager, creating the capsManager factory etc
*
* @param result - is true if principal was successfully registered with the system
*/
NS_IMETHOD
Initialize(PRBool *result);
/**
* Registers the given Principal with the system.
*
* @param prin - is either certificate principal or codebase principal
* @param result - is true if principal was successfully registered with the system
*/
NS_IMETHOD
RegisterPrincipal(nsIPrincipal* prin, PRBool *result);
/**
* Prompts the user if they want to grant permission for the principal located
* at the given stack depth for the given target.
*
* @param context - is the parameter JS needs to determinte the principal
* @param targetName - is the name of the target.
* @param callerDepth - is the depth of JS stack frame, which JS uses to determinte the
* principal
* @param result - is true if user has given permission for the given principal and
* target
*/
NS_IMETHOD
EnablePrivilege(void* context, const char* targetName, PRInt32 callerDepth, PRBool *result);
/**
* Returns if the user granted permission for the principal located at the given
* stack depth for the given target.
*
* @param context - is the parameter JS needs to determinte the principal
* @param targetName - is the name of the target.
* @param callerDepth - is the depth of JS stack frame, which JS uses to determinte the
* principal
* @param result - is true if user has given permission for the given principal and
* target
*/
NS_IMETHOD
IsPrivilegeEnabled(void* context, const char* targetName, PRInt32 callerDepth, PRBool *result);
/**
* Reverts the permission (granted/denied) user gave for the principal located
* at the given stack depth for the given target.
*
* @param context - is the parameter JS needs to determinte the principal
* @param targetName - is the name of the target.
* @param callerDepth - is the depth of JS stack frame, which JS uses to determinte the
* principal
* @param result - is true if user has given permission for the given principal and
* target
*/
NS_IMETHOD
RevertPrivilege(void* context, const char* targetName, PRInt32 callerDepth, PRBool *result);
/**
* Disable permissions for the principal located at the given stack depth for the
* given target.
*
* @param context - is the parameter JS needs to determinte the principal
* @param targetName - is the name of the target.
* @param callerDepth - is the depth of JS stack frame, which JS uses to determinte the
* principal
* @param result - is true if user has given permission for the given principal and
* target
*/
NS_IMETHOD
DisablePrivilege(void* context, const char* targetName, PRInt32 callerDepth, PRBool *result);
/* XXX: Some of the arguments for the following interfaces may change.
* This is a first cut. I need to talk to joki. We should get rid of void* parameters.
*/
NS_IMETHOD
ComparePrincipalArray(void* prin1Array, void* prin2Array, nsSetComparisonType *result);
NS_IMETHOD
IntersectPrincipalArray(void* prin1Array, void* prin2Array, void* *result);
NS_IMETHOD
CanExtendTrust(void* fromPrinArray, void* toPrinArray, PRBool *result);
/* interfaces for nsIPrincipal object, may be we should move some of them to nsIprincipal */
NS_IMETHOD
NewPrincipal(nsPrincipalType type, void* key, PRUint32 key_len, void *zig, nsIPrincipal* *result);
NS_IMETHOD
IsCodebaseExact(nsIPrincipal* principal, PRBool *result);
NS_IMETHOD
ToString(nsIPrincipal* principal, char* *result);
NS_IMETHOD
GetVendor(nsIPrincipal* principal, char* *result);
NS_IMETHOD
NewPrincipalArray(PRUint32 count, void* *result);
NS_IMETHOD
FreePrincipalArray(void *prinArray);
NS_IMETHOD
GetPrincipalArrayElement(void *prinArrayArg, PRUint32 index, nsIPrincipal* *result);
NS_IMETHOD
SetPrincipalArrayElement(void *prinArrayArg, PRUint32 index, nsIPrincipal* principal);
NS_IMETHOD
GetPrincipalArraySize(void *prinArrayArg, PRUint32 *result);
/* The following interfaces will replace all of the following old calls.
*
* nsCapsGetPermission(struct nsPrivilege *privilege)
* nsCapsGetPrivilege(struct nsPrivilegeTable *annotation, struct nsTarget *target)
*
*/
NS_IMETHOD
IsAllowed(void *annotation, char* target, PRBool *result);
/* XXX: TODO: We need to set up the JS frame walking callbacks */
////////////////////////////////////////////////////////////////////////////
// from nsCCapsManager:
nsCCapsManager(nsISupports *aOuter);
virtual ~nsCCapsManager(void);
void
CreateNSPrincipalArray(nsPrincipalArray* prinArray,
nsPrincipalArray* *pPrincipalArray);
NS_METHOD
GetNSPrincipal(nsIPrincipal* pNSIPrincipal, nsPrincipal **ppNSPRincipal);
NS_METHOD
GetNSPrincipalArray(nsPrincipalArray* prinArray,
nsPrincipalArray* *pPrincipalArray);
nsPermission
ConvertPrivilegeToPermission(nsPrivilege *pNSPrivilege);
nsPrivilege *
ConvertPermissionToPrivilege(nsPermission state);
void
SetSystemPrivilegeManager();
protected:
nsPrivilegeManager *m_pNSPrivilegeManager;
};
#endif // nsCCapsManager_h___

View File

@@ -0,0 +1,52 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsCCapsManagerFactory_h___
#define nsCCapsManagerFactory_h___
#include "nsISupports.h"
#include "nsIFactory.h"
class nsCCapsManagerFactory : public nsIFactory {
public:
////////////////////////////////////////////////////////////////////////////
// from nsISupports and AggregatedQueryInterface:
NS_DECL_ISUPPORTS
////////////////////////////////////////////////////////////////////////////
// from nsIFactory:
NS_IMETHOD
CreateInstance(nsISupports *aOuter, REFNSIID aIID, void **aResult);
NS_IMETHOD
LockFactory(PRBool aLock);
////////////////////////////////////////////////////////////////////////////
// from nsCCapsManagerFactory:
nsCCapsManagerFactory(void);
virtual ~nsCCapsManagerFactory(void);
protected:
static nsIFactory *m_pNSIFactory;
};
#endif // nsCCapsManagerFactory_h___

View File

@@ -0,0 +1,117 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsCCertPrincipal_h___
#define nsCCertPrincipal_h___
#include "nsICertPrincipal.h"
#include "nsPrincipal.h"
class nsCCertPrincipal : public nsICertPrincipal {
public:
////////////////////////////////////////////////////////////////////////////
// from nsISupports:
NS_DECL_ISUPPORTS
////////////////////////////////////////////////////////////////////////////
// from nsIPrincipal:
NS_IMETHOD
IsTrusted(char* scope, PRBool *pbIsTrusted);
////////////////////////////////////////////////////////////////////////////
// from nsICertPrincipal:
/**
* returns the certificate's data that is passes in via Initialize method.
*
* @param certChain - An array of pointers, with each pointer
* pointing to a certificate data.
* @param certChainLengths - An array of intergers. Each integer indicates
* the length of the cert that is in CertChain
* parametr.
* @param noOfCerts - the number of certifcates that are in the certChain array
*/
NS_IMETHOD
GetCertData(const unsigned char ***certChain, PRUint32 **certChainLengths, PRUint32 *noOfCerts);
/**
* Returns the public key of the certificate.
*
* @param publicKey - the Public Key data will be returned in this field.
* @param publicKeySize - the length of public key data is returned in this
* parameter.
*/
NS_IMETHOD
GetPublicKey(unsigned char **publicKey, PRUint32 *publicKeySize);
/**
* Returns the company name of the ceritificate (OU etc parameters of certificate)
*
* @param result - the certificate details about the signer.
*/
NS_IMETHOD
GetCompanyName(const char **ppCompanyName);
/**
* Returns the certificate issuer's data (OU etc parameters of certificate)
*
* @param result - the details about the issuer
*/
NS_IMETHOD
GetCertificateAuthority(const char **ppCertAuthority);
/**
* Returns the serial number of certificate
*
* @param result - Returns the serial number of certificate
*/
NS_IMETHOD
GetSerialNumber(const char **ppSerialNumber);
/**
* Returns the expiration date of certificate
*
* @param result - Returns the expiration date of certificate
*/
NS_IMETHOD
GetExpirationDate(const char **ppExpDate);
/**
* Returns the finger print of certificate
*
* @param result - Returns the finger print of certificate
*/
NS_IMETHOD
GetFingerPrint(const char **ppFingerPrint);
////////////////////////////////////////////////////////////////////////////
// from nsCCertPrincipal:
nsCCertPrincipal(const unsigned char **certChain, PRUint32 *certChainLengths, PRUint32 noOfCerts, nsresult *result);
nsCCertPrincipal(nsPrincipal *pNSPrincipal);
virtual ~nsCCertPrincipal(void);
nsPrincipal *GetPeer(void);
protected:
nsPrincipal *m_pNSPrincipal;
};
#endif // nsCCertPrincipal_h___

View File

@@ -0,0 +1,125 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsCCodeSourcePrincipal_h___
#define nsCCodeSourcePrincipal_h___
#include "nsICodeSourcePrincipal.h"
#include "nsPrincipal.h"
class nsCCodeSourcePrincipal : public nsICodeSourcePrincipal {
public:
////////////////////////////////////////////////////////////////////////////
// from nsISupports:
NS_DECL_ISUPPORTS
////////////////////////////////////////////////////////////////////////////
// from nsIPrincipal:
NS_IMETHOD
IsTrusted(char* scope, PRBool *pbIsTrusted);
////////////////////////////////////////////////////////////////////////////
// from nsICodeSourcePrincipal:
/**
* returns the certificate's data that is passes in via Initialize method.
*
* @param certChain - An array of pointers, with each pointer
* pointing to a certificate data.
* @param certChainLengths - An array of intergers. Each integer indicates
* the length of the cert that is in CertChain
* parametr.
* @param noOfCerts - the number of certifcates that are in the certChain array
*/
NS_IMETHOD
GetCertData(const unsigned char ***certChain, PRUint32 **certChainLengths, PRUint32 *noOfCerts);
/**
* Returns the public key of the certificate.
*
* @param publicKey - the Public Key data will be returned in this field.
* @param publicKeySize - the length of public key data is returned in this
* parameter.
*/
NS_IMETHOD
GetPublicKey(unsigned char **publicKey, PRUint32 *publicKeySize);
/**
* Returns the company name of the ceritificate (OU etc parameters of certificate)
*
* @param result - the certificate details about the signer.
*/
NS_IMETHOD
GetCompanyName(const char **ppCompanyName);
/**
* Returns the certificate issuer's data (OU etc parameters of certificate)
*
* @param result - the details about the issuer
*/
NS_IMETHOD
GetCertificateAuthority(const char **ppCertAuthority);
/**
* Returns the serial number of certificate
*
* @param result - Returns the serial number of certificate
*/
NS_IMETHOD
GetSerialNumber(const char **ppSerialNumber);
/**
* Returns the expiration date of certificate
*
* @param result - Returns the expiration date of certificate
*/
NS_IMETHOD
GetExpirationDate(const char **ppExpDate);
/**
* Returns the finger print of certificate
*
* @param result - Returns the finger print of certificate
*/
NS_IMETHOD
GetFingerPrint(const char **ppFingerPrint);
/**
* Returns the codebase URL of the principal.
*
* @param result - the resulting codebase URL
*/
NS_IMETHOD
GetURL(const char **ppCodeBaseURL);
////////////////////////////////////////////////////////////////////////////
// from nsCCodeSourcePrincipal:
nsCCodeSourcePrincipal(const unsigned char **certChain, PRUint32 *certChainLengths, PRUint32 noOfCerts, const char *codebaseURL, nsresult *result);
virtual ~nsCCodeSourcePrincipal(void);
nsICertPrincipal *GetCertPrincipal() { return m_pNSICertPrincipal;}
nsICodebasePrincipal *GetCodebasePrincipal() { return m_pNSICodebasePrincipal; }
protected:
nsICertPrincipal *m_pNSICertPrincipal;
nsICodebasePrincipal *m_pNSICodebasePrincipal;
};
#endif // nsCCodeSourcePrincipal_h___

View File

@@ -0,0 +1,63 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef nsCCodebasePrincipal_h___
#define nsCCodebasePrincipal_h___
#include "nsICodebasePrincipal.h"
#include "nsPrincipal.h"
class nsCCodebasePrincipal : public nsICodebasePrincipal {
public:
////////////////////////////////////////////////////////////////////////////
// from nsISupports:
NS_DECL_ISUPPORTS
////////////////////////////////////////////////////////////////////////////
// from nsIPrincipal:
NS_IMETHOD
IsTrusted(char* scope, PRBool *pbIsTrusted);
///////////////////////////////////////////////////////////////////////////
// from nsICodebasePrincipal:
/**
* Returns the codebase URL of the principal.
*
* @param result - the resulting codebase URL
*/
NS_IMETHOD
GetURL(const char **ppCodeBaseURL);
////////////////////////////////////////////////////////////////////////////
// from nsCCodebasePrincipal:
nsCCodebasePrincipal(const char *codebaseURL, nsresult *result);
nsCCodebasePrincipal(nsPrincipal *pNSPrincipal);
virtual ~nsCCodebasePrincipal(void);
nsPrincipal *GetPeer(void);
protected:
nsPrincipal *m_pNSPrincipal;
};
#endif // nsCCodebasePrincipal_h___

View File

@@ -0,0 +1,166 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef _NS_CAPS_H_
#define _NS_CAPS_H_
#include "prtypes.h"
#include "nsCapsEnums.h"
PR_BEGIN_EXTERN_C
struct nsPrincipal;
struct nsTarget;
struct nsPrivilegeManager;
struct nsPrivilege;
struct nsPrivilegeTable;
struct NSJSJavaFrameWrapper;
/* wrappers for nsPrivilegeManager object */
PR_IMPLEMENT(PRBool)
nsCapsInitialize();
PR_EXTERN(PRBool)
nsCapsRegisterPrincipal(struct nsPrincipal *principal);
PR_EXTERN(PRBool)
nsCapsEnablePrivilege(void* context, struct nsTarget *target, PRInt32 callerDepth);
PR_EXTERN(PRBool)
nsCapsIsPrivilegeEnabled(void* context, struct nsTarget *target, PRInt32 callerDepth);
PR_EXTERN(PRBool)
nsCapsRevertPrivilege(void* context, struct nsTarget *target, PRInt32 callerDepth);
PR_EXTERN(PRBool)
nsCapsDisablePrivilege(void* context, struct nsTarget *target, PRInt32 callerDepth);
PR_EXTERN(void*)
nsCapsGetClassPrincipalsFromStack(void* context, PRInt32 callerDepth);
PR_EXTERN(nsSetComparisonType)
nsCapsComparePrincipalArray(void* prin1Array, void* prin2Array);
PR_EXTERN(void*)
nsCapsIntersectPrincipalArray(void* prin1Array, void* prin2Array);
PR_EXTERN(PRBool)
nsCapsCanExtendTrust(void* from, void* to);
/* wrappers for nsPrincipal object */
PR_EXTERN(struct nsPrincipal *)
nsCapsNewPrincipal(nsPrincipalType type, void * key,
PRUint32 key_len, void *zig);
PR_EXTERN(const char *)
nsCapsPrincipalToString(struct nsPrincipal *principal);
PR_EXTERN(PRBool)
nsCapsIsCodebaseExact(struct nsPrincipal *principal);
PR_EXTERN(const char *)
nsCapsPrincipalGetVendor(struct nsPrincipal *principal);
PR_EXTERN(void *)
nsCapsNewPrincipalArray(PRUint32 count);
PR_EXTERN(void)
nsCapsFreePrincipalArray(void *prinArray);
PR_EXTERN(void *)
nsCapsGetPrincipalArrayElement(void *prinArray, PRUint32 index);
PR_EXTERN(void)
nsCapsSetPrincipalArrayElement(void *prinArray, PRUint32 index, void *element);
PR_EXTERN(PRUint32)
nsCapsGetPrincipalArraySize(void *prinArray);
/* wrappers for nsTarget object */
PR_EXTERN(struct nsTarget *)
nsCapsFindTarget(char *name);
/* wrappers for nsPrivilege object */
PR_EXTERN(nsPermissionState)
nsCapsGetPermission(struct nsPrivilege *privilege);
/* wrappers for nsPrivilegeTable object */
PR_EXTERN(struct nsPrivilege *)
nsCapsGetPrivilege(struct nsPrivilegeTable *annotation, struct nsTarget *target);
/* Methods for stack walking */
extern struct NSJSJavaFrameWrapper * (*nsCapsNewNSJSJavaFrameWrapperCallback)(void *);
PR_EXTERN(void)
setNewNSJSJavaFrameWrapperCallback(struct NSJSJavaFrameWrapper * (*fp)(void *));
extern void (*nsCapsFreeNSJSJavaFrameWrapperCallback)(struct NSJSJavaFrameWrapper *);
PR_EXTERN(void)
setFreeNSJSJavaFrameWrapperCallback(void (*fp)(struct NSJSJavaFrameWrapper *));
extern void (*nsCapsGetStartFrameCallback)(struct NSJSJavaFrameWrapper *);
PR_EXTERN(void)
setGetStartFrameCallback(void (*fp)(struct NSJSJavaFrameWrapper *));
extern PRBool (*nsCapsIsEndOfFrameCallback)(struct NSJSJavaFrameWrapper *);
PR_EXTERN(void)
setIsEndOfFrameCallback(PRBool (*fp)(struct NSJSJavaFrameWrapper *));
extern PRBool (*nsCapsIsValidFrameCallback)(struct NSJSJavaFrameWrapper *);
PR_EXTERN(void)
setIsValidFrameCallback(PRBool (*fp)(struct NSJSJavaFrameWrapper *));
extern void * (*nsCapsGetNextFrameCallback)(struct NSJSJavaFrameWrapper *, int *);
PR_EXTERN(void)
setGetNextFrameCallback(void * (*fp)(struct NSJSJavaFrameWrapper *, int *));
extern void * (*nsCapsGetPrincipalArrayCallback)(struct NSJSJavaFrameWrapper *);
PR_EXTERN(void)
setOJIGetPrincipalArrayCallback(void * (*fp)(struct NSJSJavaFrameWrapper *));
extern void * (*nsCapsGetAnnotationCallback)(struct NSJSJavaFrameWrapper *);
PR_EXTERN(void)
setOJIGetAnnotationCallback(void * (*fp)(struct NSJSJavaFrameWrapper *));
extern void * (*nsCapsSetAnnotationCallback)(struct NSJSJavaFrameWrapper *, void *);
PR_EXTERN(void)
setOJISetAnnotationCallback(void * (*fp)(struct NSJSJavaFrameWrapper *, void *));
/*
* Registration flag is set when the communicator
* starts with argument '-reg_mode'. The following
* functions provide API to enable and disable the flag.
* Current state of the flag can be obtained using
* nsGetRegistrationModeFlag().
*/
void
nsCapsEnableRegistrationModeFlag(void);
void
nsCapsDisableRegistrationModeFlag(void);
PRBool
nsCapsGetRegistrationModeFlag(void);
PR_END_EXTERN_C
#endif /* _NS_CAPS_H_ */

View File

@@ -0,0 +1,24 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef _NS_CAPS_ENUMS_H_
#define _NS_CAPS_ENUMS_H_
#include "nsCapsPublicEnums.h"
#endif /* _NS_CAPS_ENUMS_H_ */

View File

@@ -0,0 +1,36 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef _NS_LOAD_ZIG_H_
#define _NS_LOAD_ZIG_H_
#include "prtypes.h"
PR_BEGIN_EXTERN_C
#include "zig.h"
#include "nsZip.h"
PR_PUBLIC_API(void *)
nsInitializeZig(ns_zip_t *zip,
int (*callbackFnName) (int status, ZIG *zig,
const char *metafile,
char *pathname, char *errortext));
PR_END_EXTERN_C
#endif /* _NS_LOAD_ZIG_H_ */

View File

@@ -0,0 +1,167 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef _NS_PRINCIPAL_H_
#define _NS_PRINCIPAL_H_
#include "prtypes.h"
#include "nsHashtable.h"
#include "nsVector.h"
#include "nsCaps.h"
#include "nsCapsEnums.h"
typedef nsVector nsPrincipalArray;
struct nsPrincipal {
public:
/* Public Field Accessors */
/* Public Methods */
nsPrincipal(nsPrincipalType type, const void * key, PRUint32 key_len);
nsPrincipal(nsPrincipalType type, const void * key, PRUint32 key_len, char *stringRep);
virtual ~nsPrincipal();
nsPrincipal(nsPrincipalType type, const void * key, PRUint32 key_len, void *zigObject);
nsPrincipal(nsPrincipalType type, const unsigned char **certChain,
PRUint32 *certChainLengths,
PRUint32 noOfCerts);
PRBool equals(nsPrincipal *principal);
char * getVendor(void);
char * getCompanyName(void);
char * getSecAuth(void);
char * getSerialNo(void);
char * getExpDate(void);
char * getFingerPrint(void);
char * getNickname(void);
nsPrincipalType getType();
void *getCertificate();
char *getKey();
PRUint32 getKeyLength();
PRInt32 hashCode(void);
PRBool isCodebase(void);
PRBool isCodebaseExact(void);
PRBool isCodebaseRegexp(void);
PRBool isSecurePrincipal(void);
/* The following method is used by Javasoft JVM to verify their
* code signing certificates against our security DB files
*/
PRBool isTrustedCertChainPrincipal(void);
PRBool isFileCodeBase(void);
PRBool isCert(void);
PRBool isCertFingerprint(void);
char * toString(void);
char * toVerboseString(void);
char * savePrincipalPermanently(void);
/* Caller should free the principals and the Principal array */
static nsPrincipalArray* getSigners(void* zigPtr, char* pathname);
private:
/* Private Field Accessors */
nsPrincipalType itsType;
void* itsZig;
char* itsKey;
PRUint32 itsKeyLen;
nsVector* itsCertArray;
PRInt32 itsHashCode;
char* itsCompanyName;
char* itsCertAuth;
char* itsSerialNo;
char* itsExpDate;
char* itsAsciiFingerPrint;
char* itsNickname;
char* itsString;
/* Private Methods */
void init(nsPrincipalType type, const void * key, PRUint32 key_len);
PRInt32 computeHashCode(const void * key, PRUint32 key_len);
PRInt32 computeHashCode(void);
char * saveCert(void);
char * getCertAttribute(int attrib);
};
class PrincipalKey: public nsHashKey {
public:
nsPrincipal *itsPrincipal;
PrincipalKey(nsPrincipal *prin) {
itsPrincipal = prin;
}
PRUint32 HashValue(void) const {
return itsPrincipal->hashCode();
}
PRBool Equals(const nsHashKey *aKey) const {
return (itsPrincipal->equals(((const PrincipalKey *) aKey)->itsPrincipal));
}
nsHashKey *Clone(void) const {
return new PrincipalKey(itsPrincipal);
}
};
/* XXX: Hack to determine the system principal */
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
nsPrincipal * CreateSystemPrincipal(char* zip_file_name, char *pathname);
#ifdef __cplusplus
} /* extern "C" */
#endif /* __cplusplus */
/* XXX: end of hack to determine the system principal */
#endif /* _NS_PRINCIPAL_H_ */

View File

@@ -0,0 +1,121 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef _NS_PRIVILEGE_H_
#define _NS_PRIVILEGE_H_
#include "prtypes.h"
#include "nsCaps.h"
#include "nsCapsEnums.h"
PRBool nsPrivilegeInitialize(void);
struct nsPrivilege {
public:
/* Public Field Accessors */
nsPermissionState itsPerm;
nsDurationState itsDuration;
/* Public Methods */
nsPrivilege(nsPermissionState perm, nsDurationState duration);
virtual ~nsPrivilege(void);
static nsPrivilege * findPrivilege(nsPermissionState permission, nsDurationState duration);
static nsPermissionState add(nsPermissionState perm1, nsPermissionState perm2);
static nsPrivilege * add(nsPrivilege *privilege1, nsPrivilege *privilege2);
PRBool samePermission(nsPrivilege *privilege);
PRBool samePermission(nsPermissionState perm);
PRBool sameDuration(nsPrivilege *privilege);
PRBool sameDuration(nsDurationState duration);
PRBool isAllowed(void);
PRBool isAllowedForever(void);
PRBool isForbidden(void);
PRBool isForbiddenForever(void);
PRBool isBlank(void);
nsPermissionState getPermission(void);
nsDurationState getDuration(void);
static nsPrivilege * findPrivilege(char *privStr);
char * toString(void);
private:
/* Private Field Accessors */
char *itsString;
static PRBool theInited;
/* Private Methods */
};
/**
* add() method takes two permissions and returns a new permission.
* Permission addition follows these rules:
* <pre>
* ALLOWED + ALLOWED = ALLOWED 1 + 1 = 1
* ALLOWED + BLANK = ALLOWED 1 + 2 = 1
* BLANK + BLANK = BLANK 2 + 2 = 2
* ALLOWED + FORBIDDEN = FORBIDDEN 1 + 0 = 0
* BLANK + FORBIDDEN = FORBIDDEN 2 + 0 = 0
* FORBIDDEN + FORBIDDEN = FORBIDDEN 0 + 0 = 0
* </pre>
*
* @return the permission that results from the above rules
* <p>
* Note: there are two versions of add(). One adds two Privilege
* objects. The other just adds permissions (as returned by
* <a href="#getPermission">getPermission()</a>).
*/
/* XXX: Whenever you change the value of FORBIDDEN, ALLOWED and BLANK
* make sure they obey the laws mentioned in add() method.
*/
inline nsPermissionState nsPrivilege::add(nsPermissionState p1, nsPermissionState p2)
{
if (p1 < p2)
return p1;
else
return p2;
}
inline nsPrivilege * nsPrivilege::add(nsPrivilege *p1, nsPrivilege *p2)
{
if (p1->itsPerm < p2->itsPerm)
return p1;
else
return p2;
}
#endif /* _NS_PRIVILEGE_H_ */

View File

@@ -0,0 +1,236 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef _NS_PRIVILEGE_MANAGER_H_
#define _NS_PRIVILEGE_MANAGER_H_
#include "prtypes.h"
#include "prio.h"
#include "prmon.h"
#include "nsHashtable.h"
#include "nsVector.h"
#include "nsCaps.h"
#include "nsTarget.h"
#include "nsPrincipal.h"
#include "nsPrivilege.h"
#include "nsPrivilegeTable.h"
#include "nsSystemPrivilegeTable.h"
#include "nsCapsEnums.h"
extern PRBool nsCaps_lock(void);
extern void nsCaps_unlock(void);
PR_BEGIN_EXTERN_C
PRBool CMGetBoolPref(char * pref_name);
PR_END_EXTERN_C
PRBool nsPrivilegeManagerInitialize(void);
struct nsPrivilegeManager {
public:
/* Public Methods */
nsPrivilegeManager(void);
virtual ~nsPrivilegeManager(void);
void registerSystemPrincipal(nsPrincipal *principal);
void registerPrincipal(nsPrincipal *principal);
PRBool unregisterPrincipal(nsPrincipal *principal);
PRBool isPrivilegeEnabled(nsTarget *target, PRInt32 callerDepth);
PRBool isPrivilegeEnabled(void* context, nsTarget *target,
PRInt32 callerDepth);
PRBool enablePrivilege(nsTarget *target, PRInt32 callerDepth);
PRBool enablePrivilege(void* context, nsTarget *target, PRInt32 callerDepth);
PRBool enablePrivilege(nsTarget *target, nsPrincipal *preferredPrincipal,
PRInt32 callerDepth);
PRBool enablePrivilege(void* context, nsTarget *target,
nsPrincipal *preferredPrincipal,
PRInt32 callerDepth);
PRBool revertPrivilege(nsTarget *target, PRInt32 callerDepth);
PRBool revertPrivilege(void* context, nsTarget *target, PRInt32 callerDepth);
PRBool disablePrivilege(nsTarget *target, PRInt32 callerDepth);
PRBool disablePrivilege(void* context, nsTarget *target, PRInt32 callerDepth);
PRBool enablePrincipalPrivilegeHelper(nsTarget *target, PRInt32 callerDepth,
nsPrincipal *preferredPrin, void * data,
nsTarget *impersonator);
PRBool enablePrincipalPrivilegeHelper(void* context, nsTarget *target,
PRInt32 callerDepth,
nsPrincipal *preferredPrin,
void * data,
nsTarget *impersonator);
nsPrivilegeTable *enableScopePrivilegeHelper(nsTarget *target,
PRInt32 callerDepth,
void *data,
PRBool helpingSetScopePrivilege,
nsPrincipal *prefPrin);
nsPrivilegeTable *enableScopePrivilegeHelper(void* context, nsTarget *target,
PRInt32 callerDepth, void *data,
PRBool helpingSetScopePrivilege,
nsPrincipal *prefPrin);
PRBool AskPermission(nsPrincipal* useThisPrin, nsTarget* target, void* data);
void SetPermission(nsPrincipal *useThisPrin, nsTarget *target,
nsPrivilege *newPrivilege);
void registerPrincipalAndSetPrivileges(nsPrincipal *principal,
nsTarget *target,
nsPrivilege *newPrivilege);
void updatePrivilegeTable(nsTarget *target,
nsPrivilegeTable *privTable,
nsPrivilege *newPrivilege);
PRBool checkPrivilegeGranted(nsTarget *target, PRInt32 callerDepth);
PRBool checkPrivilegeGranted(void* context, nsTarget *target,
PRInt32 callerDepth);
PRBool checkPrivilegeGranted(nsTarget *target, nsPrincipal *principal,
void *data);
PRBool checkPrivilegeGranted(nsTarget *target, PRInt32 callerDepth,
void *data);
PRBool checkPrivilegeGranted(void* context, nsTarget *target,
PRInt32 callerDepth, void *data);
nsPrivilege *getPrincipalPrivilege(nsTarget *target, nsPrincipal *prin,
void *data);
static nsPrivilegeManager * getPrivilegeManager(void);
static nsPrincipalArray* getMyPrincipals(PRInt32 callerDepth);
static nsPrincipalArray* getMyPrincipals(void* context, PRInt32 callerDepth);
static nsPrincipal * getSystemPrincipal(void);
static PRBool hasSystemPrincipal(nsPrincipalArray *prinArray);
static nsPrincipal* getUnsignedPrincipal(void);
static nsPrincipal* getUnknownPrincipal(void);
nsSetComparisonType comparePrincipalArray(nsPrincipalArray* prin1Array,
nsPrincipalArray* prin2Array);
nsPrincipalArray* intersectPrincipalArray(nsPrincipalArray* prin1Array,
nsPrincipalArray* prin2Array);
PRBool canExtendTrust(nsPrincipalArray* prin1Array,
nsPrincipalArray* prin2Array);
PRBool checkMatchPrincipal(nsPrincipal *principal, PRInt32 callerDepth);
PRBool checkMatchPrincipal(void* context, nsPrincipal *principal,
PRInt32 callerDepth);
/* Helper functions for ADMIN UI */
const char * getAllPrincipalsString(void);
nsPrincipal * getPrincipalFromString(char *prinName);
void getTargetsWithPrivileges(char *prinName, char** forever,
char** session, char **denied);
PRBool removePrincipal(char *prinName);
PRBool removePrincipalsPrivilege(char *prinName, char *targetName);
void remove(nsPrincipal *prin, nsTarget *target);
/* The following are old native methods */
char * checkPrivilegeEnabled(nsTargetArray* targetArray,
PRInt32 callerDepth, void *data);
char * checkPrivilegeEnabled(void* context, nsTargetArray* targetArray,
PRInt32 callerDepth, void *data);
nsPrincipalArray* getClassPrincipalsFromStack(PRInt32 callerDepth);
nsPrincipalArray* getClassPrincipalsFromStack(void* context,
PRInt32 callerDepth);
nsPrivilegeTable * getPrivilegeTableFromStack(PRInt32 callerDepth,
PRBool createIfNull);
nsPrivilegeTable * getPrivilegeTableFromStack(void* context,
PRInt32 callerDepth,
PRBool createIfNull);
/* End of native methods */
private:
nsHashtable *itsPrinToPrivTable;
nsHashtable *itsPrinToMacroTargetPrivTable;
nsHashtable *itsPrinNameToPrincipalTable;
static PRBool theSecurityInited;
static char * SignedAppletDBName;
static PRBool theInited;
/* Private Field Accessors */
/* Private Methods */
void addToPrinNameToPrincipalTable(nsPrincipal *prin);
PRBool enablePrivilegePrivate(void* context, nsTarget *target,
nsPrincipal *preferredPrincipal,
PRInt32 callerDepth);
nsPermissionState getPrincipalPrivilege(nsTarget *target,
nsPrincipalArray* callerPrinArray,
void *data);
PRBool isPermissionGranted(nsTarget *target,
nsPrincipalArray* callerPrinArray,
void *data);
/* The following methods are used to save and load the persistent store */
void save(nsPrincipal *prin, nsTarget *target, nsPrivilege *newPrivilege);
void load(void);
};
#endif /* _NS_PRIVILEGE_MANAGER_H_ */

View File

@@ -0,0 +1,58 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef _NS_PRIVILEGE_TABLE_H_
#define _NS_PRIVILEGE_TABLE_H_
#include "prtypes.h"
#include "nsHashtable.h"
#include "nsCaps.h"
#include "nsTarget.h"
#include "nsPrivilege.h"
struct nsPrivilegeTable {
public:
/* Public Methods */
nsPrivilegeTable(void);
virtual ~nsPrivilegeTable(void);
PRInt32 size(void);
PRBool isEmpty(void);
virtual nsPrivilege * get(nsTarget *t);
nsPrivilege * put(nsTarget *a, nsPrivilege *priv);
nsPrivilege * remove(nsTarget *key);
nsPrivilegeTable * clone(void);
void clear(void);
void Enumerate(nsHashtableEnumFunc aEnumFunc);
private:
/* Private Field Accessors */
nsHashtable * itsTable;
};
#endif /* _NS_PRIVILEGE_TABLE_H_ */

View File

@@ -0,0 +1,38 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef _NS_SYSTEM_PRIVILEGE_TABLE_H_
#define _NS_SYSTEM_PRIVILEGE_TABLE_H_
#include "nsTarget.h"
#include "nsPrivilege.h"
#include "nsPrivilegeTable.h"
#include "nsCom.h"
class nsSystemPrivilegeTable : public nsPrivilegeTable {
public:
/* Public Methods */
nsSystemPrivilegeTable(void);
virtual nsPrivilege * get(nsTarget *a);
};
#endif /* _NS_SYSTEM_PRIVILEGE_TABLE_H_ */

235
mozilla/caps/include/nsTarget.h Executable file
View File

@@ -0,0 +1,235 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef _NS_TARGET_H_
#define _NS_TARGET_H_
#include <string.h>
#include "prtypes.h"
#include "plhash.h"
#include "nsHashtable.h"
#include "nsVector.h"
#include "nsCaps.h"
#include "nsPrincipal.h"
#include "nsPrivilege.h"
#include "nsUserDialogHelper.h"
typedef nsVector nsTargetArray;
PR_BEGIN_EXTERN_C
#include "jpermission.h"
PR_PUBLIC_API(void)
java_netscape_security_getTargetDetails(const char *charSetName, char* targetName,
char** details, char **risk);
/* XXXXXXXX Begin oF HACK */
#ifdef XXX
extern int CAPS_TARGET_RISK_COLOR_HIGH;
#endif
extern char* capsGetString(int id);
/* XXXXXXXX end oF HACK */
PR_END_EXTERN_C
extern PRBool CreateSystemTargets(nsPrincipal *sysPrin);
struct nsTarget {
public:
/* Public Methods */
virtual ~nsTarget(void);
nsTarget(char *name, nsPrincipal *prin,
PRInt32 risk = JavaSecUI_targetRiskHigh(),
/* XXX: char *riskColor = JavaSecUI_getString(CAPS_TARGET_RISK_COLOR_HIGH), */
char *riskColor = "High",
char *description = NULL,
char *detailDescription = NULL,
char *url = NULL,
nsTargetArray* targetArray = NULL)
{
init(name, prin, targetArray, risk, riskColor, description,
detailDescription, url);
}
nsTarget(char *name, nsPrincipal *prin,
PRInt32 risk = JavaSecUI_targetRiskHigh(),
/* XXX: char *riskColor = JavaSecUI_getString(CAPS_TARGET_RISK_COLOR_HIGH), */
char *riskColor = "High",
int desc_id = 0,
int detail_desc_id = 0,
int help_url_id = 0,
nsTargetArray* targetArray = NULL);
nsTarget * registerTarget(void);
nsTarget * registerTarget(void* context);
static nsTarget * findTarget(nsTarget *target);
static nsTarget * findTarget(char *name);
static nsTarget * findTarget(char *name, nsPrincipal *prin);
nsPrivilege * checkPrivilegeEnabled(nsTargetArray* prinArray, void *data);
nsPrivilege * checkPrivilegeEnabled(nsTargetArray* prinArray);
nsPrivilege * checkPrivilegeEnabled(nsPrincipal *p, void *data);
virtual nsPrivilege * enablePrivilege(nsPrincipal *prin, void *data);
nsPrivilege * getPrincipalPrivilege(nsPrincipal *prin, void *data);
nsTargetArray* getFlattenedTargetArray(void);
static nsTargetArray* getAllRegisteredTargets(void);
char * getRisk(void);
char * getRiskColor(void);
char * getDescription(void);
char * getDetailDescription(void);
static nsTarget * getTargetFromDescription(char *a);
char * getHelpURL(void);
char * getDetailedInfo(void *a);
nsPrincipal * getPrincipal(void);
char * getName(void);
PRBool equals(nsTarget *a);
PRInt32 hashCode(void);
char * toString(void);
PRBool isRegistered(void);
private:
/* Private Field Accessors */
char * itsName;
nsPrincipal * itsPrincipal;
PRInt32 itsRisk;
char * itsRiskColorStr;
char * itsDescriptionStr;
char * itsDetailDescriptionStr;
char * itsURLStr;
PRBool itsRegistered;
nsTargetArray* itsTargetArray;
nsTargetArray* itsExpandedTargetArray;
char *itsString;
PRUint32 itsDescriptionHash;
static PRBool theInited;
/* Private Methods */
void init(char *name, nsPrincipal *prin, nsTargetArray* targetArray, PRInt32 risk, char *riskColor, char *description, char *detailDescription, char *url);
void getFlattenedTargets(nsHashtable *targHash, nsTargetArray* expandedTargetArray);
};
class TargetKey: public nsHashKey {
public:
nsTarget *itsTarget;
TargetKey(nsTarget *targ) {
itsTarget = targ;
}
PRUint32 HashValue(void) const {
return itsTarget->hashCode();
}
PRBool Equals(const nsHashKey *aKey) const {
return (itsTarget->equals(((const TargetKey *) aKey)->itsTarget));
}
nsHashKey *Clone(void) const {
return new TargetKey(itsTarget);
}
};
/* XXX: IMO, IntegerKey and StringKey should be part of xpcom */
class IntegerKey: public nsHashKey {
private:
PRUint32 itsHash;
public:
IntegerKey(PRUint32 hash) {
itsHash = hash;
}
PRUint32 HashValue(void) const {
return itsHash;
}
PRBool Equals(const nsHashKey *aKey) const {
return (itsHash == (((const IntegerKey *) aKey)->itsHash)) ? PR_TRUE : PR_FALSE;
}
nsHashKey *Clone(void) const {
return new IntegerKey(itsHash);
}
};
class StringKey: public nsHashKey {
public:
const char *itsString;
StringKey(const char *string) {
itsString = string;
}
PRUint32 HashValue(void) const {
return PL_HashString(itsString);
}
PRBool Equals(const nsHashKey *aKey) const {
return (strcmp(itsString, (((const StringKey *) aKey)->itsString)) == 0);
}
nsHashKey *Clone(void) const {
return new StringKey(itsString);
}
};
#endif /* _NS_TARGET_H_ */

View File

@@ -0,0 +1,46 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef _NS_USER_DIALOG_HELPER_H_
#define _NS_USER_DIALOG_HELPER_H_
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include "prtypes.h"
typedef enum nsRiskType {
nsRiskType_LowRisk=10,
nsRiskType_MediumRisk=20,
nsRiskType_HighRisk=30
} nsRiskType;
extern char * JavaSecUI_targetRiskStr(int risk);
extern int JavaSecUI_targetRiskLow(void);
extern int JavaSecUI_targetRiskMedium(void);
extern int JavaSecUI_targetRiskHigh(void);
extern char * JavaSecUI_getHelpURL(int id);
extern char * JavaSecUI_getString(int id);
#ifdef __cplusplus
} /* extern "C" */
#endif /* __cplusplus */
#endif /* _NS_USER_DIALOG_HELPER_H_ */

View File

@@ -0,0 +1,84 @@
/* -*- 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.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#ifndef _NS_USER_TARGET_H_
#define _NS_USER_TARGET_H_
#include "prtypes.h"
#include "nsTarget.h"
#include "nsPrivilege.h"
#include "nsPrincipal.h"
#include "nsCom.h"
/* Any methods that is not defined here is in Java */
class nsUserTarget : public nsTarget {
public:
/* Public Methods */
nsUserTarget(char *name);
virtual ~nsUserTarget(void);
nsUserTarget(char *name, nsPrincipal *prin, PRInt32 risk,
char *riskColor, char *description,
char *detailDescription, char *url)
: nsTarget(name, prin, risk, riskColor, description, detailDescription,
url, NULL)
{
}
nsUserTarget(char *name, nsPrincipal *prin, PRInt32 risk,
char *riskColor, char *description,
char *detailDescription, char *url,
nsTargetArray *targetArray)
: nsTarget(name, prin, risk, riskColor, description, detailDescription,
url, targetArray)
{
}
nsUserTarget(char *name, nsPrincipal *prin, PRInt32 risk,
char *riskColor,
int desc_id,
int detail_desc_id,
int help_url_id)
: nsTarget(name, prin, risk, riskColor, desc_id, detail_desc_id,
help_url_id, NULL)
{
}
nsUserTarget(char *name, nsPrincipal *prin, PRInt32 risk,
char *riskColor,
int desc_id,
int detail_desc_id,
int help_url_id,
nsTargetArray *targetArray)
: nsTarget(name, prin, risk, riskColor, desc_id, detail_desc_id,
help_url_id, targetArray)
{
}
nsPrivilege * enablePrivilege(nsPrincipal *prin, void *data);
private:
};
#endif /* _NS_USER_TARGET_H_ */

Some files were not shown because too many files have changed in this diff Show More