Compare commits

..

3728 Commits

Author SHA1 Message Date
(no author)
258dc9fead This commit was manufactured by cvs2svn to create branch 'src'.
git-svn-id: svn://10.0.0.236/branches/src@33658 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:10:01 +00:00
dougt%netscape.com
beddda65df adding res to our build path.
git-svn-id: svn://10.0.0.236/trunk@33657 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:10:00 +00:00
dougt%netscape.com
5c3e3cdd3f Adding our fancy progress UI.
git-svn-id: svn://10.0.0.236/trunk@33656 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:09:36 +00:00
pinkerton%netscape.com
558824942f idl files added for streams.
git-svn-id: svn://10.0.0.236/trunk@33655 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:04:22 +00:00
pinkerton%netscape.com
d4747fd632 adding new stream idl files.
git-svn-id: svn://10.0.0.236/trunk@33654 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:03:53 +00:00
rickg%netscape.com
6f748adfbe fixed warnings
git-svn-id: svn://10.0.0.236/trunk@33653 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:03:08 +00:00
rogerl%netscape.com
822b8f09da Instruction sequence clean-up courtesy of Dan Price & Blake Jones at Sun.
git-svn-id: svn://10.0.0.236/trunk@33652 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:02:17 +00:00
wtc%netscape.com
919c19301a Bugzilla bug #4842: do not export pr/include/md.
git-svn-id: svn://10.0.0.236/trunk@33650 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 23:00:57 +00:00
dougt%netscape.com
66869d908f Adding Progress dialog to project.
CLeaning up error message when you open this project.


git-svn-id: svn://10.0.0.236/trunk@33649 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:59:49 +00:00
putterman%netscape.com
d702efe1d1 added files: mozilla/mailnews/base/src/nsMsgBiffManager.cpp
git-svn-id: svn://10.0.0.236/trunk@33648 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:59:23 +00:00
sspitzer%netscape.com
22e0711e46 if 0 unused functions. add license to top of file. remove shadow warnings.
git-svn-id: svn://10.0.0.236/trunk@33647 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:58:08 +00:00
dougt%netscape.com
41cd02ba7e Changing ProgressNotifier to be nsISupports.
Adding a GUI progress dialog!


git-svn-id: svn://10.0.0.236/trunk@33646 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:57:43 +00:00
putterman%netscape.com
89dd1c2239 Make sure Mork Handles get freed.
git-svn-id: svn://10.0.0.236/trunk@33645 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:57:41 +00:00
putterman%netscape.com
7bc3828ed6 Set the folder charset.
git-svn-id: svn://10.0.0.236/trunk@33644 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:56:45 +00:00
putterman%netscape.com
a873ad7774 Added Charset functions.
git-svn-id: svn://10.0.0.236/trunk@33643 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:56:14 +00:00
putterman%netscape.com
ba27c68079 Added BiffManager.
git-svn-id: svn://10.0.0.236/trunk@33642 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:55:47 +00:00
putterman%netscape.com
a1fcf4c0ad Added Biff Manager and CharSet functions.
git-svn-id: svn://10.0.0.236/trunk@33641 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:54:59 +00:00
putterman%netscape.com
419a185961 Add nsIMsgBiffManager interface. Add Set/GetCharset to nsIMsgFolder.
git-svn-id: svn://10.0.0.236/trunk@33640 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:53:37 +00:00
mcmullen%netscape.com
3e1f70d882 Checked in in error
git-svn-id: svn://10.0.0.236/trunk@33639 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:52:33 +00:00
mcmullen%netscape.com
82a842477e First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33638 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:50:16 +00:00
akkana%netscape.com
5731d83f36 Vidur's initial implementation of Insert HTML Fragment
git-svn-id: svn://10.0.0.236/trunk@33637 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:38:38 +00:00
sfraser%netscape.com
3a5255df19 Added nsHTMLFragmentContentSink.cpp for akkana
git-svn-id: svn://10.0.0.236/trunk@33636 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:36:44 +00:00
wtc%netscape.com
0b6cf61cc5 Bugzilla bug #4842: do not export private NSPR headers (private/pprmwait.h,
private/primpl.h, and md/*.h) to mozilla/dist.  NSPR files will get
these headers from the source tree, via -I$(MOD_DEPTH)/pr/include and
-I$(MOD_DEPTH)/pr/include/private.  Non-NSPR files must not include
these private NSPR headers and should get the exported NSPR headers
from mozilla/dist/<platform.OBJ>/include.


git-svn-id: svn://10.0.0.236/trunk@33631 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:35:44 +00:00
dougt%netscape.com
8e85d7909c Putting the software distributor in its own folder in rdf.
git-svn-id: svn://10.0.0.236/trunk@33630 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:32:11 +00:00
briano%netscape.com
047aef7665 Fixed the Unix builds. DON'T USE C++ COMMENTS IN C FILES.
git-svn-id: svn://10.0.0.236/trunk@33629 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:30:39 +00:00
sspitzer%netscape.com
0dc8ade3f8 either it is an XPIDL source or we EXPORT it. not both. thanks for warren
for finding this.


git-svn-id: svn://10.0.0.236/trunk@33628 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:30:19 +00:00
akkana%netscape.com
435dce283a Part of Vidur's html fragment changes: files which aren't in the build yet
git-svn-id: svn://10.0.0.236/trunk@33627 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:30:12 +00:00
akkana%netscape.com
432eed6e43 Part of Vidur's html fragment changes
git-svn-id: svn://10.0.0.236/trunk@33626 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:27:43 +00:00
chuang%netscape.com
e4a0f545dd Add directory default preferences
git-svn-id: svn://10.0.0.236/trunk@33625 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:27:31 +00:00
briano%netscape.com
d16eea578a distclean is now a distinct target that does everything that realclean does and more.
git-svn-id: svn://10.0.0.236/trunk@33624 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:23:06 +00:00
briano%netscape.com
66c1de0502 Now ignores .map files as well. Requested by Jerry.Kirk@nexware.com.
git-svn-id: svn://10.0.0.236/trunk@33623 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:17:23 +00:00
alecf%netscape.com
93e325c1b9 export DOM XPIDL stubs on windows
git-svn-id: svn://10.0.0.236/trunk@33622 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:16:57 +00:00
dougt%netscape.com
04a2f5105b Adding our IDL project to the build process.
git-svn-id: svn://10.0.0.236/trunk@33621 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:14:57 +00:00
rickg%netscape.com
0add2b3b48 fixed offset error in FindCharInSet() and RFindCharInSet()
git-svn-id: svn://10.0.0.236/trunk@33620 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:12:27 +00:00
valeski%netscape.com
90ac10cb57 http - fixed build probs
test - moved a local var into a #ifdef because it was throwing a warning on windows


git-svn-id: svn://10.0.0.236/trunk@33619 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:12:26 +00:00
akkana%netscape.com
15d273f907 Vidur's HTML fragment content sink; Kostello's document/html encoders
git-svn-id: svn://10.0.0.236/trunk@33618 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:11:53 +00:00
sspitzer%netscape.com
7fde6bff35 checked in header file is now the same as the generated makefile
git-svn-id: svn://10.0.0.236/trunk@33617 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:06:57 +00:00
waterson%netscape.com
87f514938b Remove NS_IS_ERROR() macro; it's both redundant with NS_FAILED() and wrong.
git-svn-id: svn://10.0.0.236/trunk@33616 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:03:07 +00:00
dougt%netscape.com
ccf1224954 A IDL for our Install Progress. This is generic enough that anyone that want
to do proxy install notifications can use this.


git-svn-id: svn://10.0.0.236/trunk@33615 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:02:39 +00:00
dougt%netscape.com
dbff150eae Adding my first cut of the progress dialog. Yes, it sucks.
git-svn-id: svn://10.0.0.236/trunk@33614 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:01:14 +00:00
chuang%netscape.com
ba0d7456fd Add clean up code
git-svn-id: svn://10.0.0.236/trunk@33613 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:00:57 +00:00
gordon%netscape.com
e2d03331fc Make Lookup() a pure virtual method.
git-svn-id: svn://10.0.0.236/trunk@33612 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:57:14 +00:00
rpotts%netscape.com
34c7ad4f20 Fixes to build on Linux...
git-svn-id: svn://10.0.0.236/trunk@33611 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:56:56 +00:00
rpotts%netscape.com
fb06e002b2 Fixes to build on Linux... Removed nettest since it is not building on windows either.
git-svn-id: svn://10.0.0.236/trunk@33610 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:56:29 +00:00
rickg%netscape.com
497df4ffa4 fixed bug 7275 -- dup identifier
git-svn-id: svn://10.0.0.236/trunk@33609 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:56:22 +00:00
dougt%netscape.com
4226961c5c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33608 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:54:51 +00:00
warren%netscape.com
88b0158486 Replaced by nsFileChooser.cpp
git-svn-id: svn://10.0.0.236/trunk@33607 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:53:41 +00:00
gordon%netscape.com
16f4d20fa2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33606 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:53:30 +00:00
warren%netscape.com
c816c010a8 added files: mozilla/widget/src/xpwidgets/nsFileChooser.cpp, removed files: mozilla/widget/src/xpwidgets/nsFileSpecWithUIImpl.cpp
git-svn-id: svn://10.0.0.236/trunk@33605 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:51:27 +00:00
warren%netscape.com
42b3b62f98 Fixed GenericFactory linkage problems.
git-svn-id: svn://10.0.0.236/trunk@33604 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:51:14 +00:00
warren%netscape.com
05a6513cf0 IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom). Added nsIBufferInputStream for peek capability.
git-svn-id: svn://10.0.0.236/trunk@33603 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:51:09 +00:00
warren%netscape.com
eb370460d3 Added nsIFileChooser to break dependency on nsFileSpec internals.
git-svn-id: svn://10.0.0.236/trunk@33602 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:51:02 +00:00
warren%netscape.com
7351c02659 Left over from mozilla/base/src.
git-svn-id: svn://10.0.0.236/trunk@33601 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:50:54 +00:00
warren%netscape.com
bee72685ed IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom).
git-svn-id: svn://10.0.0.236/trunk@33600 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:50:47 +00:00
ducarroz%netscape.com
418eca62e4 oops, the file too add was nsDirPrefs.cpp and not abprefs.cpp
git-svn-id: svn://10.0.0.236/trunk@33599 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:49:07 +00:00
jband%netscape.com
714db32d2e use the newly-FRIEND-ized js_AllocStack, js_FreeStack, and js_Invoke functions instead of JS_CallFunctionName to assure that the gcthing converted args we accumulate before making the call are properly rooted. This is a lot more efficient than the alternative of explicitly rooting them with JS_AddRoot. Up to this point these gcthings (doubles and strings) were dangling. Thanks to brendan for this suggstion.
git-svn-id: svn://10.0.0.236/trunk@33598 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:44:37 +00:00
mcmullen%netscape.com
85375455f0 In progress
git-svn-id: svn://10.0.0.236/trunk@33597 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:43:44 +00:00
chuang%netscape.com
90d511edd2 Hook up directory preferences
git-svn-id: svn://10.0.0.236/trunk@33596 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:41:27 +00:00
mcmullen%netscape.com
1b9109a192 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33595 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:41:11 +00:00
jband%netscape.com
edbf476869 make js_AllocStack, js_FreeStack, and js_Invoke, FRIEND functions so that they can be used by our good friend xpconnect.
git-svn-id: svn://10.0.0.236/trunk@33594 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:39:08 +00:00
ducarroz%netscape.com
9ad032ce7f add abprefs.cpp
git-svn-id: svn://10.0.0.236/trunk@33593 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:36:04 +00:00
ducarroz%netscape.com
0cc1cdced0 remove nsIPref.h as it know generated and installed by xpidl.
git-svn-id: svn://10.0.0.236/trunk@33592 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:35:41 +00:00
ramiro%netscape.com
19682f3362 Comment out debug code that is making it impossible to have timeouts
greater than 10 seconds.


git-svn-id: svn://10.0.0.236/trunk@33591 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:31:38 +00:00
chuang%netscape.com
4a147a3a33 Port PREF_CreateChildList and PREF_NextChild into nsIpref.
git-svn-id: svn://10.0.0.236/trunk@33590 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:25:25 +00:00
hangas%netscape.com
48166cf26b Added card view pane to address book window and added selectaddress.xul
git-svn-id: svn://10.0.0.236/trunk@33589 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:18:33 +00:00
mcmullen%netscape.com
b8824dceb3 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33588 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:18:31 +00:00
alecf%netscape.com
f9c75510b9 check in nsIMessenger.idl - the new Messenger appcore
git-svn-id: svn://10.0.0.236/trunk@33587 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:18:13 +00:00
hangas%netscape.com
ec215423b2 Added selectaddress.xul, addressbucket.xul. Also modified the addressbook window to have a cardview pane.
git-svn-id: svn://10.0.0.236/trunk@33586 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:15:13 +00:00
ducarroz%netscape.com
f84203fc13 add xulstub.idl
git-svn-id: svn://10.0.0.236/trunk@33585 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:00:47 +00:00
ducarroz%netscape.com
58d501079e add build instruction for dom:public:MANIFETS_IDL and domIDL.mcp
git-svn-id: svn://10.0.0.236/trunk@33584 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:00:45 +00:00
ducarroz%netscape.com
dc7dbe247b add nsISupportsArray.idl
git-svn-id: svn://10.0.0.236/trunk@33583 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:00:44 +00:00
ducarroz%netscape.com
6c7546bd5e add xulstubs.idl
git-svn-id: svn://10.0.0.236/trunk@33582 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:00:43 +00:00
ducarroz%netscape.com
cb47db499d First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33581 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:57:17 +00:00
waldemar%netscape.com
278f1afe6b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33580 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:53:14 +00:00
waldemar%netscape.com
43df2e7833 Added support for lookahead constraints
git-svn-id: svn://10.0.0.236/trunk@33579 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:52:04 +00:00
waldemar%netscape.com
038abfdf29 Added general-grammar-symbol? predicate
git-svn-id: svn://10.0.0.236/trunk@33578 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:50:21 +00:00
waldemar%netscape.com
4d092e8b8c Moved pieces of file around
git-svn-id: svn://10.0.0.236/trunk@33577 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:49:13 +00:00
waterson%netscape.com
3fef74e475 Remove dependency from clobber rule.
git-svn-id: svn://10.0.0.236/trunk@33576 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:48:13 +00:00
alecf%netscape.com
a46402dd58 oops, forgot to make this native code for C++
git-svn-id: svn://10.0.0.236/trunk@33575 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:47:09 +00:00
dbragg%netscape.com
67850fd5ac Changed the explicit implementation of AddRef and Release to NS_IMPL_ADDREF and NS_IMPL_RELEASE(nsPrefMigrationFactory)
git-svn-id: svn://10.0.0.236/trunk@33574 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:44:56 +00:00
scc%netscape.com
3b2708bb1d fixed for VMS
git-svn-id: svn://10.0.0.236/trunk@33573 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:36:53 +00:00
mcmullen%netscape.com
cc0a79b6ba Added a convenience function - BuildIDLProject()
git-svn-id: svn://10.0.0.236/trunk@33572 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:32:50 +00:00
terry%mozilla.org
891049d55c Keep the connection to the database open for as little as possible,
and that while in a lock.  That way, multiple checkins all happening at
once can't overflow mysql with too many connections.


git-svn-id: svn://10.0.0.236/trunk@33571 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:32:20 +00:00
briano%netscape.com
8c4f75f993 Had to add another 'else true' to an if block for QNX.
git-svn-id: svn://10.0.0.236/trunk@33570 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:28:34 +00:00
waterson%netscape.com
191fbca633 Replace NS_IS_ERROR() with NS_FAILED(): NS_IS_ERROR() is buggy and redundant.
git-svn-id: svn://10.0.0.236/trunk@33569 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:25:15 +00:00
waterson%netscape.com
60b26e5ed9 Remove unnecessary LINCS now that all headers are pushed to the same directory.
git-svn-id: svn://10.0.0.236/trunk@33568 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:22:54 +00:00
kmcclusk%netscape.com
c27c21e21f Fix for bug #1177. Added a new method ConditionRect which is used to fix coordinate
overflow problems under WIN95. Condition rect converts nsRect to a RECT with cooordinates
modified to acceptable ranges for WIN95.


git-svn-id: svn://10.0.0.236/trunk@33567 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:19:32 +00:00
sspitzer%netscape.com
862fc98636 cast to remove compiler warnings. use PL_strlen() instead of strlen()
rename index to indx to prevent shadow warnings on Linux.


git-svn-id: svn://10.0.0.236/trunk@33566 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:15:38 +00:00
cata%netscape.com
5302e7fe0c Fixed OpenVMS portability problem.
git-svn-id: svn://10.0.0.236/trunk@33565 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:09:56 +00:00
waterson%netscape.com
719a74de7c Fix XPIDL_MODULE typos.
git-svn-id: svn://10.0.0.236/trunk@33564 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:06:49 +00:00
valeski%netscape.com
165e836611 proxy api change
git-svn-id: svn://10.0.0.236/trunk@33563 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:05:22 +00:00
valeski%netscape.com
fa400cb631 added header removal functionality and various return value checks
git-svn-id: svn://10.0.0.236/trunk@33562 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:04:07 +00:00
kmcclusk%netscape.com
dd4956930e Fix for bugs #7442, #7523. Removed the code in WindowProc that was setting the
someWindow local variable based on the lParam for combo box events.
Instead someWindow is set using the default code
with uses the (HWND hWnd) passed in as an argument. Even though the MS documentation claims
you should use the lParam it does not work. This is what was causing the crashes on WIN95.


git-svn-id: svn://10.0.0.236/trunk@33561 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:03:53 +00:00
valeski%netscape.com
6fe73d1391 added the class id to identify the actual class that implements teh nsINetNotify interface
git-svn-id: svn://10.0.0.236/trunk@33560 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 20:00:38 +00:00
mcmullen%netscape.com
58a6264ae5 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33559 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 19:57:28 +00:00
Jerry.Kirk%Nexwarecorp.com
10296ff3be - Added the Pt_LINK_INSERT flag to make the activate callback for the menuitem
-  occur before the Unrealize of the menu which destroyed the menuitem


git-svn-id: svn://10.0.0.236/trunk@33558 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 19:56:57 +00:00
terry%mozilla.org
62e075ea8f Explain how to configure things so that big attachments will work.
git-svn-id: svn://10.0.0.236/trunk@33557 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 19:56:43 +00:00
Jerry.Kirk%Nexwarecorp.com
625a2ba748 - Removing nsTimer.cpp this has been moved to gfx/src/photon
git-svn-id: svn://10.0.0.236/trunk@33556 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 19:53:42 +00:00
chuang%netscape.com
5b5ecc1343 Bug 6423 addressbook.xul: non-localizable XUL file
git-svn-id: svn://10.0.0.236/trunk@33555 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 19:45:56 +00:00
ramiro%netscape.com
8acb44ac4f Remove duplicate nsTimer.cpp files.
git-svn-id: svn://10.0.0.236/trunk@33554 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 19:44:16 +00:00
ramiro%netscape.com
8f44cd7f7c Remove duplicate nsTimer.cpp files.
git-svn-id: svn://10.0.0.236/trunk@33553 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 19:37:42 +00:00
hyatt%netscape.com
5fafa9d1ee Adding support for the chrome registry naming stuff.
git-svn-id: svn://10.0.0.236/trunk@33552 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 19:32:47 +00:00
nisheeth%netscape.com
45ad1c7cb1 Fix for bug 6518. The XML DTD now always gets used when the content type is text/xml.
git-svn-id: svn://10.0.0.236/trunk@33551 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 19:09:28 +00:00
akkana%netscape.com
745560561e comment out three directories which no longer exist
git-svn-id: svn://10.0.0.236/trunk@33550 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 19:09:15 +00:00
waterson%netscape.com
600dee2ecb Add rules to remove generated header files in clobber and clobber_all.
git-svn-id: svn://10.0.0.236/trunk@33549 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 19:01:19 +00:00
briano%netscape.com
921259705c Automated update
git-svn-id: svn://10.0.0.236/trunk@33548 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:59:51 +00:00
jdunn%netscape.com
aaee4fea28 fix AIX linking...
git-svn-id: svn://10.0.0.236/trunk@33547 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:56:28 +00:00
pinkerton%netscape.com
4fb78a28ec More changes for Carbon, submitted by Eoin Norris at Apple (e.norris@apple.com).
git-svn-id: svn://10.0.0.236/trunk@33546 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:55:40 +00:00
rickg%netscape.com
61eb346dee fix bug 7479 per Erik VanDerPoel
git-svn-id: svn://10.0.0.236/trunk@33545 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:45:39 +00:00
waterson%netscape.com
9b3eb7e645 Fixes to get building on OpenVMS. Thanks to Colin R. Blake <colin@theblakes.com>.
git-svn-id: svn://10.0.0.236/trunk@33544 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:38:31 +00:00
despotdaemon%netscape.com
8be01e5f06 Pseudo-automatic update of changes made by blizzard@redhat.com.
git-svn-id: svn://10.0.0.236/trunk@33543 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:37:40 +00:00
harishd%netscape.com
918d57f892 Fix for Bug# 7343
git-svn-id: svn://10.0.0.236/trunk@33542 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:35:32 +00:00
leaf%mozilla.org
49754e3084 adding error output for fullcircle initialization
git-svn-id: svn://10.0.0.236/trunk@33541 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:35:04 +00:00
harishd%netscape.com
3d89375932 Allowing <MAP> to contain BLOCK elements - As per spec.
Allowing <A> to contain BLOCK elements - For Compatibility.


git-svn-id: svn://10.0.0.236/trunk@33540 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:34:55 +00:00
andreas.otte%primus-online.de
04535e2c18 fixes to get the test working under linux, mac stuff still missing
git-svn-id: svn://10.0.0.236/trunk@33539 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:34:51 +00:00
waterson%netscape.com
095d917a3a Single public include directory on Win32.
git-svn-id: svn://10.0.0.236/trunk@33538 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:34:27 +00:00
despotdaemon%netscape.com
e31d58ad71 Pseudo-automatic update of changes made by ornduff@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@33537 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:31:55 +00:00
ssu%netscape.com
699b3418bc Added nsInstallFileOpItem.cpp to the build process. The file contains file operation routines for thejavascript Install object (module xpInstall).
git-svn-id: svn://10.0.0.236/trunk@33536 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:31:16 +00:00
despotdaemon%netscape.com
d8150a741c Pseudo-automatic update of changes made by terry@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@33535 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:31:00 +00:00
ssu%netscape.com
b6d73cd7dc added file operation functionality to the javascript Install object
git-svn-id: svn://10.0.0.236/trunk@33534 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:19:14 +00:00
mcmullen%netscape.com
40e8a964a4 Patches for OpenVMS and conversions to nsQuickSort(). Thanks to Colin Blake and James Lewis Nance (resp)
git-svn-id: svn://10.0.0.236/trunk@33533 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:15:53 +00:00
andreas.otte%primus-online.de
57a4701276 fixes to get the test running under linux, mac stuff still missing
git-svn-id: svn://10.0.0.236/trunk@33532 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:12:13 +00:00
sspitzer%netscape.com
469bb1383f more changes for moving creation of objects to the component manager and the news factory. a few nsCOMPtr changes. stop checking nsCOMPtrs against nsnull
git-svn-id: svn://10.0.0.236/trunk@33531 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:09:54 +00:00
ssu%netscape.com
1f72c58a25 initial checkin of file operation functions for xpInstall
git-svn-id: svn://10.0.0.236/trunk@33530 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:07:29 +00:00
pinkerton%netscape.com
8aba8f4226 unpatch leaf's hack in 1.73 since form submission now works correctly. Mac now once again submits the form when return is pressed.
git-svn-id: svn://10.0.0.236/trunk@33529 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:05:40 +00:00
jdunn%netscape.com
8fb064570a include ctype.h for isalpha, tolower & isspace
git-svn-id: svn://10.0.0.236/trunk@33528 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 18:03:15 +00:00
jdunn%netscape.com
a3f4cecbc8 change false to PR_FALSE
git-svn-id: svn://10.0.0.236/trunk@33527 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 17:57:36 +00:00
kin%netscape.com
252ca95cfc Enabled LOCK/UNLOCK macros.
git-svn-id: svn://10.0.0.236/trunk@33524 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 15:26:48 +00:00
dcone%netscape.com
d669607412 Put braces in to get rid of many compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@33523 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 13:48:20 +00:00
Jerry.Kirk%Nexwarecorp.com
cd285c06b3 - Adding support for the Photon UI for viewer
- Modified Makefile.in and added nsPhMain.cpp and nsPhMenu.cpp


git-svn-id: svn://10.0.0.236/trunk@33522 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 12:16:22 +00:00
rickg%netscape.com
8ae24eebcd fix searching errors; safeguard assign
git-svn-id: svn://10.0.0.236/trunk@33521 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 10:49:14 +00:00
pierre%netscape.com
19ae9087ee Fixed various problems with popups (fixed width, empty strings, strings starting with '-'). Simplified some functions too.
git-svn-id: svn://10.0.0.236/trunk@33520 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 08:38:52 +00:00
pierre%netscape.com
decad0c777 Remove a flicker in scrollbars introduced by last checkin (#5763 "Forms overlaid/leave bitgunk upon reflow on Mac")
git-svn-id: svn://10.0.0.236/trunk@33519 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 08:34:09 +00:00
briano%netscape.com
4349a4c372 Added distclean target (same as realclean and clobber_all). It will need to be refined.
git-svn-id: svn://10.0.0.236/trunk@33518 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 08:15:52 +00:00
rjc%netscape.com
75b7d2622b Remove some of the hard-coded URLs from the personal toolbar as they are duplicates of the URLs stored in the "Personal Toolbar" bookmarks folder. Also, give containers on the personal toolbar a distinct folder icon.
git-svn-id: svn://10.0.0.236/trunk@33517 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 07:41:05 +00:00
rjc%netscape.com
2214595591 Added XUL templates for main menubar and toolbar (which means that the personal toolbar now actually shows the URLs placed in the "Personal Toolbar" folder in bookmarks).
git-svn-id: svn://10.0.0.236/trunk@33516 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 07:33:38 +00:00
rjc%netscape.com
fe40de5eb5 XUL templates are now strong enough to support building menus and menuitems.
git-svn-id: svn://10.0.0.236/trunk@33515 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 07:16:18 +00:00
rpotts%netscape.com
ca99e307b1 fixed a string that was not being null-terminated...
git-svn-id: svn://10.0.0.236/trunk@33514 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 06:44:10 +00:00
rpotts%netscape.com
224501d0a4 fixed up some reference counting problems...
git-svn-id: svn://10.0.0.236/trunk@33513 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 06:36:23 +00:00
jfrancis%netscape.com
61ea2c363e groundwork for block transformation functionality
git-svn-id: svn://10.0.0.236/trunk@33512 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 06:01:08 +00:00
jfrancis%netscape.com
1476c475ca using nsAutoEditBatch where appropriate; changed all "result" variables to "res" so they won't show up types in mac dev editor; groundwork for block transformation functions
git-svn-id: svn://10.0.0.236/trunk@33511 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 06:00:23 +00:00
jfrancis%netscape.com
491c1d952c fixing a comment
git-svn-id: svn://10.0.0.236/trunk@33510 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 05:58:38 +00:00
jfrancis%netscape.com
21515af814 adding stackbased class for editor transaction batching
git-svn-id: svn://10.0.0.236/trunk@33509 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 05:58:20 +00:00
rpotts%netscape.com
6327f9fde1 Added raptorgfxwin.lib for nsITimer support :-(
git-svn-id: svn://10.0.0.236/trunk@33508 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 05:45:56 +00:00
rpotts%netscape.com
168f5cc214 Added support for testing Sync transport access and Suspending and resuming transports...
git-svn-id: svn://10.0.0.236/trunk@33507 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 05:45:23 +00:00
rpotts%netscape.com
ab4f275c13 Added support for Suspend/Resume...
git-svn-id: svn://10.0.0.236/trunk@33506 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 05:43:56 +00:00
putterman%netscape.com
688c0a17be Change column sizes.
git-svn-id: svn://10.0.0.236/trunk@33505 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 05:40:14 +00:00
putterman%netscape.com
948ccc0fd5 Fixed size columns with no wrap.
git-svn-id: svn://10.0.0.236/trunk@33504 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 05:39:56 +00:00
alecf%netscape.com
a767dfee83 add XPIDL stubs for these DOM objects so that we can access them from XPConnect
git-svn-id: svn://10.0.0.236/trunk@33503 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 04:39:14 +00:00
alecf%netscape.com
eecc727865 add DOM XPIDL stubs so that we can pass these DOM objects through XPConnect
(the stubs are needed to associate interface names with IIDs)


git-svn-id: svn://10.0.0.236/trunk@33502 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 04:36:19 +00:00
karnaze%netscape.com
90b7e7dc88 bug 1252, check for null view
git-svn-id: svn://10.0.0.236/trunk@33501 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 04:34:49 +00:00
alecf%netscape.com
f5b66c33e8 oops, we need this function on mac
git-svn-id: svn://10.0.0.236/trunk@33500 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 04:34:08 +00:00
karnaze%netscape.com
5a822a4442 additional regression tests
git-svn-id: svn://10.0.0.236/trunk@33499 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 04:33:47 +00:00
briano%netscape.com
047adc85c2 Backed out my change. NSPR provides the perfect fix, but wraps it in macro defs that mozilla doesn't have.
git-svn-id: svn://10.0.0.236/trunk@33498 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 03:31:56 +00:00
briano%netscape.com
186eeb7ade Changes to support OpenVMS. Thanks to colin@theblakes.com.
git-svn-id: svn://10.0.0.236/trunk@33497 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 03:20:31 +00:00
sspitzer%netscape.com
6ec055f791 fix bustage on mac.
mac exposed the circular include problem I was having.  (windows and linux
did not.)

also, remove self include nsINNTPNewsgroupList.idl


git-svn-id: svn://10.0.0.236/trunk@33496 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 03:16:36 +00:00
briano%netscape.com
03e0af9159 Added support for OpenVMS. Thanks to colin@theblakes.com.
git-svn-id: svn://10.0.0.236/trunk@33495 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 03:16:09 +00:00
briano%netscape.com
597c22a044 New (temporary?) file for Colin Blake's (colin@theblakes.com) OpenVMS port.
git-svn-id: svn://10.0.0.236/trunk@33494 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 03:14:45 +00:00
alecf%netscape.com
030f92be34 fix a bunch of warnings in mime - #if 0 out some unused functions
git-svn-id: svn://10.0.0.236/trunk@33493 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 03:12:10 +00:00
tague%netscape.com
6775a74ffb Fixed bug #5402 and #5439. Thanks to Peter Edberg and Eric Schlegel for their assistance.
git-svn-id: svn://10.0.0.236/trunk@33492 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 03:00:26 +00:00
alecf%netscape.com
b3d5874c1c fix random unused/uninitialized variables
git-svn-id: svn://10.0.0.236/trunk@33491 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:59:19 +00:00
alecf%netscape.com
58e9c7413c while I'm here, fix a bunch of warnings about unused static functions and unused variables
git-svn-id: svn://10.0.0.236/trunk@33490 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:56:40 +00:00
alecf%netscape.com
501b89a036 fix for bustage
git-svn-id: svn://10.0.0.236/trunk@33489 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:50:05 +00:00
karnaze%netscape.com
00ca6c9749 new regression test
git-svn-id: svn://10.0.0.236/trunk@33488 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:43:45 +00:00
karnaze%netscape.com
f286a1e3c4 bug 7243. Rewrote FixedTableLayoutStrategy::AssignPreliminaryColumnWidths
git-svn-id: svn://10.0.0.236/trunk@33487 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:42:33 +00:00
sspitzer%netscape.com
ead8ea010a need this on windows to find rosetta.h
git-svn-id: svn://10.0.0.236/trunk@33486 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:38:53 +00:00
putterman%netscape.com
2b4b9f2ea1 remove old resource files that were previously moved to a new location.
git-svn-id: svn://10.0.0.236/trunk@33485 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:36:36 +00:00
putterman%netscape.com
6de0478559 remove resource files from old ui directory. These were moved to their new locations
a few days ago.


git-svn-id: svn://10.0.0.236/trunk@33484 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:30:26 +00:00
putterman%netscape.com
e16504ac07 remove resource files from old ui directory. These were moved to their new
locations a few days ago.


git-svn-id: svn://10.0.0.236/trunk@33483 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:27:02 +00:00
waterson%netscape.com
2085aa9016 Use 'ref=' attribute to avoid confounding copy and move menus.
git-svn-id: svn://10.0.0.236/trunk@33482 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:25:47 +00:00
sspitzer%netscape.com
b73b3a8e54 a whole bunch of changes.
No more NS_New* for the news objects.  Now you must go through the component
manager and use the news factory.

fixes all over to deal with this.

Fix the MODULE.  It should be news, not mailnews or nntp.

more scriptability (XPIDL) changes for news.


git-svn-id: svn://10.0.0.236/trunk@33481 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:24:08 +00:00
waterson%netscape.com
2a6140c0ed Bug 4045. Make GenericBuilder and its kin look at the 'ref=' attribute first, so that it's possible to have two elements in the same document tree that refer to the same RDF resource.
git-svn-id: svn://10.0.0.236/trunk@33480 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:23:50 +00:00
briano%netscape.com
ac911ab6e8 Handle the (Unix) platform-specific DLL naming conventions properly.
git-svn-id: svn://10.0.0.236/trunk@33479 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:10:17 +00:00
peterl%netscape.com
dce2798cf1 fixed warnings
git-svn-id: svn://10.0.0.236/trunk@33478 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:09:03 +00:00
alecf%netscape.com
3a8e3ec86e add interface methods for new Find methods
git-svn-id: svn://10.0.0.236/trunk@33477 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:07:58 +00:00
sspitzer%netscape.com
2cd146a257 not part of the build, yet.
git-svn-id: svn://10.0.0.236/trunk@33476 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:07:40 +00:00
alecf%netscape.com
bae70e4faa add new functions GetServersByIdentity and GetIdentitiesByServer
git-svn-id: svn://10.0.0.236/trunk@33475 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 02:07:21 +00:00
peterl%netscape.com
84ffea59f4 added cloning
git-svn-id: svn://10.0.0.236/trunk@33474 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:58:11 +00:00
tague%netscape.com
a493647d58 Fixed #7294: Need implementation of accept-language to nsLocale Factory method.
git-svn-id: svn://10.0.0.236/trunk@33473 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:57:55 +00:00
peterl%netscape.com
38a9e60f9c added modified state
added cloning with actual copy on write


git-svn-id: svn://10.0.0.236/trunk@33472 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:57:52 +00:00
peterl%netscape.com
763257dc99 added cloning and dirtying of sheet on modify
git-svn-id: svn://10.0.0.236/trunk@33471 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:57:13 +00:00
peterl%netscape.com
9b21c07832 added modified test for loaded sheets
git-svn-id: svn://10.0.0.236/trunk@33470 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:56:14 +00:00
peterl%netscape.com
4d95b1fb3d added modified test to api
git-svn-id: svn://10.0.0.236/trunk@33469 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:55:02 +00:00
peterl%netscape.com
3e8a2d89bf fixed leak of css loader
git-svn-id: svn://10.0.0.236/trunk@33468 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:54:35 +00:00
pavlov%pavlov.net
639e475b9c real fix for bug #7468 from Tomi Leppikangas <tomilepp@ousrvr2.oulu.fi>
git-svn-id: svn://10.0.0.236/trunk@33467 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:54:15 +00:00
mcmullen%netscape.com
242ec9344f Fix to #6398 using patch provided by jim_nance@yahoo.com (who does, apparently, yahoo).
git-svn-id: svn://10.0.0.236/trunk@33466 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:40:47 +00:00
mcmullen%netscape.com
dee7faf9fb Alias resolution now happens almost any time a spec is created from a non-spec. Needed to make things work properly.
git-svn-id: svn://10.0.0.236/trunk@33465 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:28:52 +00:00
Jerry.Kirk%Nexwarecorp.com
f5efa082c3 Adding support for Photon UI
git-svn-id: svn://10.0.0.236/trunk@33464 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:21:42 +00:00
Jerry.Kirk%Nexwarecorp.com
aff6f09518 - Adding support for lots more widgets than the original version
-  which was just a place holder after all.


git-svn-id: svn://10.0.0.236/trunk@33463 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:18:49 +00:00
Jerry.Kirk%Nexwarecorp.com
e10d1c5ca2 - These files update the GFX portion of the Photon UI
- They still include lots of debug and not implemented functions.


git-svn-id: svn://10.0.0.236/trunk@33462 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:15:23 +00:00
Jerry.Kirk%Nexwarecorp.com
6799e545e2 - These files bring the Photon UI uptodate.
- They still include lots of debug that will be cleaned out later
-  once everything works.


git-svn-id: svn://10.0.0.236/trunk@33461 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:13:06 +00:00
cathleen%netscape.com
bae50c5a7b prevent getting an outrageous index value, when a char is not found in a
given nsStr.  broke XPInstall.


git-svn-id: svn://10.0.0.236/trunk@33460 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:11:14 +00:00
nhotta%netscape.com
dac458ca9f Auto charset detection support.
git-svn-id: svn://10.0.0.236/trunk@33459 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:08:25 +00:00
ducarroz%netscape.com
d30d8feb8f fix bustage, prefidl was build to early...
git-svn-id: svn://10.0.0.236/trunk@33458 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 01:06:14 +00:00
briano%netscape.com
f4e1b2ab58 Automated update
git-svn-id: svn://10.0.0.236/trunk@33457 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:59:48 +00:00
beard%netscape.com
3d2bd36390 added more pre-flight checks, added more coordinate range checks to rectangle based primitives.
git-svn-id: svn://10.0.0.236/trunk@33456 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:57:34 +00:00
beard%netscape.com
e95d62462e fixed potential memory problems.
git-svn-id: svn://10.0.0.236/trunk@33455 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:56:32 +00:00
pierre%netscape.com
ad56425d92 #5763 "Forms overlaid/leave bitgunk upon reflow on Mac"
git-svn-id: svn://10.0.0.236/trunk@33454 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:51:38 +00:00
jdunn%netscape.com
4319c17320 for AIX (only) specify -bso to fix dynamic linking
git-svn-id: svn://10.0.0.236/trunk@33453 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:51:10 +00:00
jdunn%netscape.com
e91b02a6ec added newline at end of file. HP won't compile without it
git-svn-id: svn://10.0.0.236/trunk@33452 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:48:16 +00:00
jdunn%netscape.com
775c4e26b4 fix compile warning by declaring nsIMsgMessageService public
git-svn-id: svn://10.0.0.236/trunk@33451 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:46:14 +00:00
briano%netscape.com
cfde85940e Automated update
git-svn-id: svn://10.0.0.236/trunk@33450 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:44:51 +00:00
briano%netscape.com
a85f8174d2 Added a check to determine which library ostream is found in (if any).
git-svn-id: svn://10.0.0.236/trunk@33449 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:43:10 +00:00
ducarroz%netscape.com
efef2c979e add build instruction for libprefIDL.mcp
git-svn-id: svn://10.0.0.236/trunk@33448 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:42:00 +00:00
mcmullen%netscape.com
c96b0cab03 Implemented XP default prefs. Thanks to seth for the makefile magic!
git-svn-id: svn://10.0.0.236/trunk@33447 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:41:11 +00:00
ducarroz%netscape.com
d85cad1185 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33446 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:40:55 +00:00
mcmullen%netscape.com
9b2897ed07 Implemented xp default prefs
git-svn-id: svn://10.0.0.236/trunk@33445 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:40:08 +00:00
tague%netscape.com
19735cf0e4 Fixed bug #5402 and #5439: Mac menus not displaying Unicode properly. Thanks to Peter Edberg and Eric Shlegel for help with this fix.
git-svn-id: svn://10.0.0.236/trunk@33444 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:35:00 +00:00
mcmullen%netscape.com
79b29b038e Implemented XP default prefs
git-svn-id: svn://10.0.0.236/trunk@33443 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:34:20 +00:00
mcmullen%netscape.com
31bb6d7d91 Implemented XP default prefs.
git-svn-id: svn://10.0.0.236/trunk@33442 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:31:40 +00:00
mcmullen%netscape.com
58f92b73a7 Removed some "obsolete" functions.
git-svn-id: svn://10.0.0.236/trunk@33441 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:30:21 +00:00
ramiro%netscape.com
44bc8fa19b Backout pavlov's last change which broken list boxes. Some items would
display as garbage.


git-svn-id: svn://10.0.0.236/trunk@33440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:28:37 +00:00
mcmullen%netscape.com
22d37fa34a Using XP technique for default prefs now.
git-svn-id: svn://10.0.0.236/trunk@33439 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:27:44 +00:00
mcmullen%netscape.com
72f1a9ad67 Remove the resources from this file. Now moving to an XP solution.
git-svn-id: svn://10.0.0.236/trunk@33438 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:27:04 +00:00
rogerl%netscape.com
795f76c118 Changed behaviour of Script.exec so that it gains access to the current
scope when invoked, rather than grabbing the topmost. Prevented exec from
being called indirectly.


git-svn-id: svn://10.0.0.236/trunk@33437 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 00:08:00 +00:00
vidur%netscape.com
3513ed9ef8 New file. Checked in while the tree is closed, but it's not yet in the build
git-svn-id: svn://10.0.0.236/trunk@33436 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 23:45:51 +00:00
jband%netscape.com
9842f1c067 updating status page
git-svn-id: svn://10.0.0.236/trunk@33435 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 23:28:23 +00:00
gagan%netscape.com
f2a60e78bf Test case changes
git-svn-id: svn://10.0.0.236/trunk@33434 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 23:02:53 +00:00
robinf%netscape.com
875da77c11 Fixing bug 7247 - outdated Checklist.ini file was being used; I'm replacing it with the correct versin that also preserves Varada's help changes.
git-svn-id: svn://10.0.0.236/trunk@33433 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 20:42:30 +00:00
hangas%netscape.com
442c5942e2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33431 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 20:14:57 +00:00
rogerl%netscape.com
7900eaf22b blowing off commented out junk
git-svn-id: svn://10.0.0.236/trunk@33429 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 18:07:40 +00:00
valeski%netscape.com
21a47721b7 nsIHTTPConnection.h - extended the nsIHTTPConnection interface so the internal streamlistener is accessible.
nsHTTPConnection.cpp - GetInputStream now uses a syncStream listener.
nsHTTPConnection.h  - api update to support new nsIHTTPConnection interface and added nsIStreamListener member.
nsHTTPResponseListener.cpp - added code to push data through the pipe


git-svn-id: svn://10.0.0.236/trunk@33428 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 17:23:45 +00:00
dbragg%netscape.com
81cf527e9e Re-added nsJAR.cpp and nsJARFactory.cpp to the CPPSRCS macro
git-svn-id: svn://10.0.0.236/trunk@33427 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 16:52:42 +00:00
dbragg%netscape.com
660f2ae174 Re-added the nsJAR.obj and nsJARFactory.obj files to the OBJS macro.
git-svn-id: svn://10.0.0.236/trunk@33426 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 16:51:39 +00:00
harishd%netscape.com
e8154e17b9 Fix for bug# 6960. Treating '<<' as equivalent to '&lt;<'
git-svn-id: svn://10.0.0.236/trunk@33425 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 16:33:08 +00:00
norris%netscape.com
d13f41523a Fix NullPointerException for "abc".match("a\");
git-svn-id: svn://10.0.0.236/trunk@33424 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 16:12:19 +00:00
morse%netscape.com
0ee692c543 further cleanup of dialogs
git-svn-id: svn://10.0.0.236/trunk@33423 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 14:16:31 +00:00
dougt%netscape.com
dd062cadde Changing Pref creation from CreateI (which does not work) to GetService.
git-svn-id: svn://10.0.0.236/trunk@33422 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 14:06:48 +00:00
gagan%netscape.com
88847965be CVS is misbehaving with me again... didnt pick these up... Updates to HTTP. Need nsSyncStreamListener to complete the test.
git-svn-id: svn://10.0.0.236/trunk@33421 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 13:26:47 +00:00
gagan%netscape.com
af1e981abd Updates to HTTP. Need SyncStreamListener to complete the test.
git-svn-id: svn://10.0.0.236/trunk@33420 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 13:25:29 +00:00
andreas.otte%primus-online.de
04e4e1d9d3 integrating Alec Fletts nsISupportsArray changes
remove manual registration
adding creation of eventqueue
giving EventQueueService the right CIID


git-svn-id: svn://10.0.0.236/trunk@33419 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 11:42:43 +00:00
andreas.otte%primus-online.de
2d3061e100 removed manual registration, added autoregistration
git-svn-id: svn://10.0.0.236/trunk@33418 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 11:30:05 +00:00
andreas.otte%primus-online.de
637e77f2d7 removed manual registration
git-svn-id: svn://10.0.0.236/trunk@33417 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 11:29:26 +00:00
andreas.otte%primus-online.de
d9ce16287f removed manual registration
git-svn-id: svn://10.0.0.236/trunk@33416 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 11:27:07 +00:00
andreas.otte%primus-online.de
4bf5562097 integrating Alec Fletts nsISupportsArray changes
git-svn-id: svn://10.0.0.236/trunk@33415 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 11:12:21 +00:00
sspitzer%netscape.com
67ea546b22 ignore the generated Makefiles
git-svn-id: svn://10.0.0.236/trunk@33414 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 06:52:12 +00:00
sspitzer%netscape.com
6f6c1c99d1 fix build bustage caused by MODULE=news fix
git-svn-id: svn://10.0.0.236/trunk@33413 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 06:21:21 +00:00
valeski%netscape.com
76fa3c81f3 moved external module insertion to new http file
git-svn-id: svn://10.0.0.236/trunk@33412 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 05:33:34 +00:00
morse%netscape.com
c05fecdcf6 cleanup preview dialog
git-svn-id: svn://10.0.0.236/trunk@33411 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 04:58:40 +00:00
alecf%netscape.com
08a5c58cdc fix windows bustage
git-svn-id: svn://10.0.0.236/trunk@33410 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 04:46:07 +00:00
rpotts%netscape.com
4859239f0a PRCList cleanup. More syncronization code... some work toward blocking streams.
git-svn-id: svn://10.0.0.236/trunk@33409 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 04:26:55 +00:00
sspitzer%netscape.com
b130d2a2cd fix more build breakage
git-svn-id: svn://10.0.0.236/trunk@33408 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 04:07:09 +00:00
jband%netscape.com
55628061ba another patch from khym@bga.com (Dave Huang)
git-svn-id: svn://10.0.0.236/trunk@33407 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 03:49:30 +00:00
sspitzer%netscape.com
f4453539a7 the MODULE is news, not mailnews.
git-svn-id: svn://10.0.0.236/trunk@33406 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 03:47:39 +00:00
sspitzer%netscape.com
86b06cb29c fix build bustage caused by fixing the MODULE name in the makefile.win files
git-svn-id: svn://10.0.0.236/trunk@33405 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 03:41:56 +00:00
jband%netscape.com
30176c16a1 removing disinformation from README
git-svn-id: svn://10.0.0.236/trunk@33404 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 03:19:55 +00:00
alecf%netscape.com
b9b4113e8c fix mac bustage (use nsISupportsArray->ElementAt)
git-svn-id: svn://10.0.0.236/trunk@33403 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 03:08:13 +00:00
blizzard%redhat.com
1a834f1030 consistent debugging output
git-svn-id: svn://10.0.0.236/trunk@33402 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 02:55:23 +00:00
blizzard%redhat.com
14fc1e4601 start on other events
git-svn-id: svn://10.0.0.236/trunk@33401 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 02:54:49 +00:00
jband%netscape.com
cd076f1ea8 platform check contributed by Bert Driehuis <bert_driehuis@nl.compuware.com>
git-svn-id: svn://10.0.0.236/trunk@33400 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 02:35:00 +00:00
jband%netscape.com
3b10acc614 adding netbsd m68k support contributed by khym@bga.com (Dave Huang)
git-svn-id: svn://10.0.0.236/trunk@33399 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 02:26:38 +00:00
sspitzer%netscape.com
7d21da0927 fix for #7420. this is the news module, not the mailnews module (which is corresponds to base). cut and paste error
git-svn-id: svn://10.0.0.236/trunk@33396 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 02:06:36 +00:00
alecf%netscape.com
78af0740c9 first cut at scriptifying nsISupportsArray - remove constness from all methods, add new XPCOM compatible methods and fix layout code to handle lack of const methods
git-svn-id: svn://10.0.0.236/trunk@33395 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 02:06:32 +00:00
mcmullen%netscape.com
81238e0903 Export the prefs init files to dist.
git-svn-id: svn://10.0.0.236/trunk@33394 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 02:05:57 +00:00
mcmullen%netscape.com
a69876c761 Added an optional parameter ($flat) to InstallFromManifest, to force any relative-path hierarchy in the manifest file to be flattened in the dest dir.
git-svn-id: svn://10.0.0.236/trunk@33393 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 02:05:36 +00:00
dougt%netscape.com
c50a5e04b6 Version Registry used NATIVE strings not NSPR paths. Adjusting.
git-svn-id: svn://10.0.0.236/trunk@33392 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 02:05:12 +00:00
alecf%netscape.com
0522ebe906 add XPIDLized version of nsISupportsArray
git-svn-id: svn://10.0.0.236/trunk@33391 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 02:03:45 +00:00
scc%netscape.com
fb55bb044f replaced tabs with spaces as per our standards
git-svn-id: svn://10.0.0.236/trunk@33390 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 01:59:28 +00:00
mcmullen%netscape.com
99e5f7a6ec First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33389 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 01:59:23 +00:00
blizzard%redhat.com
eabf44a2c4 more work in initialization code
git-svn-id: svn://10.0.0.236/trunk@33388 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 01:48:21 +00:00
jband%netscape.com
9d5e33dbe5 removing this unused and ill-named file
git-svn-id: svn://10.0.0.236/trunk@33387 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 01:47:19 +00:00
blizzard%redhat.com
a815adc7d2 fix some background color settings, remove something from the event mask
git-svn-id: svn://10.0.0.236/trunk@33386 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 01:47:13 +00:00
scc%netscape.com
7c2cb084f3 added comparisons that will allow |nsnull != myPtr| et al
git-svn-id: svn://10.0.0.236/trunk@33385 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 01:29:55 +00:00
jband%netscape.com
be0e327b20 updated status page
git-svn-id: svn://10.0.0.236/trunk@33384 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 01:25:08 +00:00
blizzard%redhat.com
8a9b1ba0ae fix implementation of the creation of DrawingSurfaces
git-svn-id: svn://10.0.0.236/trunk@33383 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 01:18:05 +00:00
blizzard%redhat.com
7f65462657 fix call signature for XCopyArea()
git-svn-id: svn://10.0.0.236/trunk@33382 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 01:16:56 +00:00
briano%netscape.com
2270332ca1 No need to build bsdecho anymore.
git-svn-id: svn://10.0.0.236/trunk@33381 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 01:15:08 +00:00
rickg%netscape.com
cd66536638 replaced nsString2.h references with nsString.h
git-svn-id: svn://10.0.0.236/trunk@33378 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 01:03:41 +00:00
jband%netscape.com
22c59c3108 use only C style comments in these files to make Irix happy
git-svn-id: svn://10.0.0.236/trunk@33377 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:57:32 +00:00
dougt%netscape.com
9bfeea7808 Removing direct link to libpref. Now using the wonders of xpcom.
git-svn-id: svn://10.0.0.236/trunk@33376 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:56:13 +00:00
dougt%netscape.com
888e28f6c8 removing direct link to prefs.
git-svn-id: svn://10.0.0.236/trunk@33375 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:52:40 +00:00
dougt%netscape.com
16ec6ef7d6 Calling pref via xpcom.
git-svn-id: svn://10.0.0.236/trunk@33374 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:52:18 +00:00
dougt%netscape.com
748bc8c1e8 Adding Gestalt() to Install object
git-svn-id: svn://10.0.0.236/trunk@33373 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:45:46 +00:00
jfrancis%netscape.com
bf4871f469 fix for subtree iter Init - now works when inited over a single textnode
git-svn-id: svn://10.0.0.236/trunk@33372 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:41:45 +00:00
danm%netscape.com
c1acc38286 fixed firstTime assertion in destructor
git-svn-id: svn://10.0.0.236/trunk@33371 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:33:49 +00:00
nhotta%netscape.com
c127edce28 Bug fix for 7425.
git-svn-id: svn://10.0.0.236/trunk@33370 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:16:23 +00:00
alecf%netscape.com
8c8b316a08 stop using [] operator on nsISupportsArray - going away for scriptability
git-svn-id: svn://10.0.0.236/trunk@33369 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:14:41 +00:00
rjc%netscape.com
1597ac3ef0 Add ability to find "Internet Search Sites" folder on Mac.
git-svn-id: svn://10.0.0.236/trunk@33368 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:12:10 +00:00
ducarroz%netscape.com
81b14c26cd Mailnews use XPIDL 1.0d5 to generated header files.
git-svn-id: svn://10.0.0.236/trunk@33367 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:11:39 +00:00
alecf%netscape.com
3e1c511db7 stop using [] operator on nsISupportsArray - going away for scriptability.
git-svn-id: svn://10.0.0.236/trunk@33366 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:07:54 +00:00
ducarroz%netscape.com
6409e11a3e Update the IDL file in order to be able to use it finally... Part of mailnews Mac XPIDL landing.
git-svn-id: svn://10.0.0.236/trunk@33365 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:07:23 +00:00
ducarroz%netscape.com
186608ba02 Close message compose window after sending the message. Fix for bug #7161
git-svn-id: svn://10.0.0.236/trunk@33364 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:07:22 +00:00
ducarroz%netscape.com
ba1bdda025 Don't export header files that are generated by the XPIDL compiler. Part of mailnews Mac XPIDL landing.
git-svn-id: svn://10.0.0.236/trunk@33363 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:07:21 +00:00
rjc%netscape.com
f3b2ee2aaf Checking in a workaround for bug #7437 until Rickg fixes that.
git-svn-id: svn://10.0.0.236/trunk@33362 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:01:23 +00:00
mjudge%netscape.com
cd7086a430 invalid != for unix I will investigate this later. What i am checkin in now SHOULD remove any ambiguity in the code.
git-svn-id: svn://10.0.0.236/trunk@33361 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:53:01 +00:00
dougt%netscape.com
ef2427958c Removing AddRef and Release. Moving to MACRO.
Fixing qi.


git-svn-id: svn://10.0.0.236/trunk@33360 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:33:55 +00:00
rogerl%netscape.com
632556d9fd Bug #7197 (related) - capture and free char pointers going to error
reporter.
Bug #5875 - eval of named function within a function resulted in the
function not being visible at the start of the eval string.


git-svn-id: svn://10.0.0.236/trunk@33359 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:17:19 +00:00
alecf%netscape.com
3e42a98b3b stop using [] operator on nsISupportsArrays - going away for scriptability
git-svn-id: svn://10.0.0.236/trunk@33358 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:15:03 +00:00
pnunn%netscape.com
789dbd21d2 These 2 lines caused a crash with editor. Take out for study. pnunn.
git-svn-id: svn://10.0.0.236/trunk@33357 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:14:55 +00:00
alecf%netscape.com
8e28d6560b stop using [] operator on nsISupportsArrays (going away for scriptability)
git-svn-id: svn://10.0.0.236/trunk@33356 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:13:37 +00:00
ducarroz%netscape.com
620da07cd1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33355 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:12:32 +00:00
alecf%netscape.com
826ada0475 stop using [] operator (going away for scriptability)
git-svn-id: svn://10.0.0.236/trunk@33354 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:10:12 +00:00
rogerl%netscape.com
0d914860f2 Bug #7197 - free other error report message junk
git-svn-id: svn://10.0.0.236/trunk@33353 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:07:59 +00:00
mjudge%netscape.com
45583c2b3d new table selection code drag inside and outside of tables with ease. added some overriding methods to nsTableCellFrame and nsTableFrame to make selection "draw" correctly for those containers.
git-svn-id: svn://10.0.0.236/trunk@33352 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:04:13 +00:00
danm%netscape.com
07a75789a0 protect nsWebShell's destructor from being called recursively a little earlier in the destructor. fixes a crash (bug 7157).
git-svn-id: svn://10.0.0.236/trunk@33351 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 23:02:15 +00:00
andreas.otte%primus-online.de
e9bb07a3af make libnetwerk.so a component
git-svn-id: svn://10.0.0.236/trunk@33350 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 22:49:26 +00:00
rogerl%netscape.com
9ebb01e7ba Fixed non-terminating regexp when max quantifier is unspecified as in :
var s = 'zzabc.';
var reg = /[^z]{1,}\./;
s.match(reg);
- wasn't checking for reaching end of text.


git-svn-id: svn://10.0.0.236/trunk@33349 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 22:43:17 +00:00
evaughan%netscape.com
dc2afd5568 added a fieldset example.
git-svn-id: svn://10.0.0.236/trunk@33348 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 22:30:59 +00:00
pierre%netscape.com
9792ff4115 Don't printf() like crazy when displaying very long pages such as http://slip/res-lib/morte1.htm in DEBUG builds.
git-svn-id: svn://10.0.0.236/trunk@33347 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 22:11:32 +00:00
jfrancis%netscape.com
15b90c541c linking against nspr
git-svn-id: svn://10.0.0.236/trunk@33346 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 22:07:00 +00:00
andreas.otte%primus-online.de
493509f148 Ignore TestSocketTransport
git-svn-id: svn://10.0.0.236/trunk@33345 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 22:04:46 +00:00
andreas.otte%primus-online.de
7e0bd9cc66 Build TestProtocols
git-svn-id: svn://10.0.0.236/trunk@33344 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 22:03:48 +00:00
valeski%netscape.com
1eadc7ed71 variable name change
git-svn-id: svn://10.0.0.236/trunk@33343 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 22:03:47 +00:00
andreas.otte%primus-online.de
56e778a5a4 Some fixes to build TestProtocols under linux
git-svn-id: svn://10.0.0.236/trunk@33342 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 22:02:40 +00:00
nhotta%netscape.com
c51cde96d0 Consolidated old conversion wrapper function.
git-svn-id: svn://10.0.0.236/trunk@33341 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 22:00:16 +00:00
pnunn%netscape.com
519ddef8c6 move kISupportsIID declaration local. pnunn.
git-svn-id: svn://10.0.0.236/trunk@33340 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:53:12 +00:00
evaughan%netscape.com
e9f6f7321b Reworked fieldsets to fix numerous bugs.
git-svn-id: svn://10.0.0.236/trunk@33339 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:52:11 +00:00
pnunn%netscape.com
a891c75bcd move kISupportsIID declaration local. and clean up ic. pnunn.
git-svn-id: svn://10.0.0.236/trunk@33338 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:50:37 +00:00
rpotts%netscape.com
5eebf63884 Added synchronization to socket transport APIs... Added access methods for getting the PRCList from a transport...
git-svn-id: svn://10.0.0.236/trunk@33337 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:37:52 +00:00
dbragg%netscape.com
c5c6a7eaa4 Change the implementation of AddRef and Release to use the macros NS_IMPL_ADDREF() and NS_IMPL_RELEASE() in nsJARFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@33336 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:37:09 +00:00
rjc%netscape.com
31b01cce79 Disable XUL templates for the moment.
git-svn-id: svn://10.0.0.236/trunk@33335 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:34:05 +00:00
dbragg%netscape.com
bfabbdf8a8 removed the nsJAR.cpp and nsJARFactory.cpp from the CPPSRCS due to compile error that I need to investigate.
git-svn-id: svn://10.0.0.236/trunk@33334 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:31:29 +00:00
valeski%netscape.com
9a9f18acca Added the user agent string getter methods to nsINetService, as well as the implementation of them. Note: that they current aren't being initialized.
git-svn-id: svn://10.0.0.236/trunk@33333 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:27:25 +00:00
dbragg%netscape.com
4e8b22d8c7 backed out the nsJAR.cpp and nsJARFactory.cpp from CPPSRCS due to a change in XPCOM that caused it to not compile.
git-svn-id: svn://10.0.0.236/trunk@33332 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:22:27 +00:00
dbragg%netscape.com
79e7830db7 Added nsJAR.cpp and nsJARFactory.cpp to the CPPSRCS macro
git-svn-id: svn://10.0.0.236/trunk@33331 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:17:12 +00:00
dbragg%netscape.com
2b71c4666a removed export of nsIZipArchive.h since it doesn't exist
git-svn-id: svn://10.0.0.236/trunk@33330 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:15:47 +00:00
dbragg%netscape.com
78909ffc37 XPCOM interface files for libjar
git-svn-id: svn://10.0.0.236/trunk@33329 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 21:08:32 +00:00
terry%mozilla.org
159a7267fa Added simple sanity checking of the dependencies table.
git-svn-id: svn://10.0.0.236/trunk@33328 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 20:52:15 +00:00
leaf%mozilla.org
823307583a updating to new nsString implementation (fix courtesy shaver)
git-svn-id: svn://10.0.0.236/trunk@33326 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 18:06:14 +00:00
bruce%cybersight.com
e1dc1df6b8 Woops. Typo.
git-svn-id: svn://10.0.0.236/trunk@33325 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 05:16:32 +00:00
jband%netscape.com
fc63d5b20e notify xpconnect before destroying a JSContext
git-svn-id: svn://10.0.0.236/trunk@33324 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 02:43:41 +00:00
jband%netscape.com
b15710a19b added test
git-svn-id: svn://10.0.0.236/trunk@33323 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 02:43:02 +00:00
jband%netscape.com
c900b45a0b 1) Removed old and duplicate .idl, .h, and .xpt files.
2) Support passing an interface identifier to getService and NewInstance.
3) Added AbandonJSContext to allow for cleanup of per JSContext data.
4) Added interface inheritence tests.


git-svn-id: svn://10.0.0.236/trunk@33322 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 02:39:44 +00:00
jband%netscape.com
3a49dee03c updating readme
git-svn-id: svn://10.0.0.236/trunk@33321 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-01 02:31:13 +00:00
blizzard%redhat.com
64757d8306 more drawing work
git-svn-id: svn://10.0.0.236/trunk@33320 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 23:34:13 +00:00
pavlov%pavlov.net
abac85d95f remove lots of spaces from the end of a bunch of lines
git-svn-id: svn://10.0.0.236/trunk@33319 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 23:24:09 +00:00
blizzard%redhat.com
42be6bb145 set up the offscreen surface correctly
git-svn-id: svn://10.0.0.236/trunk@33318 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 22:48:01 +00:00
rickg%netscape.com
6be8624091 update to nsString2 as default impl
git-svn-id: svn://10.0.0.236/trunk@33317 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 22:09:05 +00:00
blizzard%redhat.com
89a91692cb more work to complete the rendering context code
git-svn-id: svn://10.0.0.236/trunk@33316 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 21:52:16 +00:00
blizzard%redhat.com
d66bc43084 the beginnings of popstate()/pushstate()
git-svn-id: svn://10.0.0.236/trunk@33315 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 21:01:51 +00:00
bruce%cybersight.com
f8b6024ed9 Few more fixes for header files.
git-svn-id: svn://10.0.0.236/trunk@33314 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 19:50:25 +00:00
jband%netscape.com
27e6638619 updating paths to new location of this directory and updating status page
git-svn-id: svn://10.0.0.236/trunk@33313 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 19:48:25 +00:00
jband%netscape.com
e717a0b4df converting these html files to redirect to moved pages
git-svn-id: svn://10.0.0.236/trunk@33312 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 19:45:54 +00:00
bruce%cybersight.com
fc7f0cd5c0 Reduces # of header files included. This work needs to spread out into all of mozilla/widget though as many things are getting drug in that don't need to be by things outside of mozilla/widget/src/gtk. I tested this on both egcs and gcc 2.7.2.3, so should be okay.
Also includes an nsAutoCString usage in nsPopUpMenu.cpp.


git-svn-id: svn://10.0.0.236/trunk@33310 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 19:41:43 +00:00
ramiro%netscape.com
cced26d923 Add casts for picky compiler.
git-svn-id: svn://10.0.0.236/trunk@33309 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 18:47:33 +00:00
ftang%netscape.com
f554159121 move files to ucvtw, ucvtw2, ucvko
git-svn-id: svn://10.0.0.236/trunk@33308 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 16:58:38 +00:00
ftang%netscape.com
ee23445864 move cid
git-svn-id: svn://10.0.0.236/trunk@33307 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 16:54:52 +00:00
ftang%netscape.com
1d26f847a1 move big5, euc-kr, euc-tw convertesr into ucvtw, ucvtw2, ucvko
git-svn-id: svn://10.0.0.236/trunk@33306 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 16:48:16 +00:00
ftang%netscape.com
4a162957c9 remove big5, euc-kr, euc-tw converter to ucvtw, ucvtw2, and ucvko
git-svn-id: svn://10.0.0.236/trunk@33305 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 16:39:13 +00:00
ftang%netscape.com
1164281a78 add ucvtw, ucvtw2, ucvko
git-svn-id: svn://10.0.0.236/trunk@33304 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 16:33:13 +00:00
ftang%netscape.com
f65e463703 add converter table
git-svn-id: svn://10.0.0.236/trunk@33303 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 16:29:41 +00:00
ramiro%netscape.com
987f03b42c Make sure nsTarget.h is complied as C++ source.
nsTarget.h is a c++ header, which includes other c++ headers.  It needs to
be complied as c++ source.

If everything in this page needs to be compiled as C code, then why
isnt this file a .c file ?


git-svn-id: svn://10.0.0.236/trunk@33302 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 16:29:28 +00:00
ftang%netscape.com
7f9b113adc add euc-kr to ucvko
git-svn-id: svn://10.0.0.236/trunk@33301 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 16:28:21 +00:00
ftang%netscape.com
c922cd5c96 add euc-tw converters to ucvtw2
git-svn-id: svn://10.0.0.236/trunk@33300 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 16:26:09 +00:00
ftang%netscape.com
8a26b18c39 move big5 to ucvtw
git-svn-id: svn://10.0.0.236/trunk@33299 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 16:17:07 +00:00
ftang%netscape.com
b3c86c8fb5 remove big5, euc-kr, euc-tw converter
git-svn-id: svn://10.0.0.236/trunk@33298 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 16:14:14 +00:00
ftang%netscape.com
05a53730b3 remove big5, euc-kr and euc-tw converter and place them into ucvtw ucvtw2 adn ucvko
git-svn-id: svn://10.0.0.236/trunk@33297 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 16:10:36 +00:00
ftang%netscape.com
beac4f1dd6 remove Big5, euc-kr, euc-tw converter. Big5 will move to ucvtw, euc-tw will move to ucvtw2, euc-kr will move to ucvko
git-svn-id: svn://10.0.0.236/trunk@33296 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 16:03:16 +00:00
ramiro%netscape.com
fc0e8c02c3 Add cast for picky compiler.
git-svn-id: svn://10.0.0.236/trunk@33295 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 15:09:31 +00:00
bruce%cybersight.com
32a42a1458 There is currently an ordering dependency between nsIPref.h and prefapi.h until something gets straightened out. As I don't know when this is happening, and this was breaking the OSF/1 build, handle this for now by moving nsIPref.h before prefapi.h in the includes.
git-svn-id: svn://10.0.0.236/trunk@33294 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 06:13:06 +00:00
bruce%cybersight.com
7347b46631 Add GetIID() methods to these interfaces. To support an upcoming checkin.
git-svn-id: svn://10.0.0.236/trunk@33293 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 05:27:36 +00:00
rpotts%netscape.com
ae34b7b8b8 Added a new test for the socket transport...
git-svn-id: svn://10.0.0.236/trunk@33292 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 05:18:19 +00:00
rpotts%netscape.com
f1ee7c702e First pass at supporting simultaneous read and write on sockets...
git-svn-id: svn://10.0.0.236/trunk@33291 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 05:15:40 +00:00
blizzard%redhat.com
7ec48cc0e3 make sure to set the border pixel for created windows to avoid bad_match errors. patch from Tim Rowley <tor@cs.brown.edu>.
git-svn-id: svn://10.0.0.236/trunk@33290 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 03:46:38 +00:00
blizzard%redhat.com
201d199cd2 more fixes for displays that have more than one visual. expose events threaten to work now.
git-svn-id: svn://10.0.0.236/trunk@33289 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 03:05:33 +00:00
blizzard%redhat.com
95d84178be fix bugs in region code
git-svn-id: svn://10.0.0.236/trunk@33288 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 03:01:39 +00:00
beard%netscape.com
908c53ae23 workaround for bug #6529, don't read the first buffer until at least 4 bytes are available, otherwise the image decoder library can't tell what kind of image it is. this is a blatant hack.
git-svn-id: svn://10.0.0.236/trunk@33287 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 02:33:31 +00:00
pavlov%pavlov.net
7c8f1eb23c oops, real fix.
git-svn-id: svn://10.0.0.236/trunk@33286 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 02:07:44 +00:00
pavlov%pavlov.net
70502ed30b fix build
git-svn-id: svn://10.0.0.236/trunk@33285 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 02:03:33 +00:00
beard%netscape.com
8e7f97a2b5 bug #7354: arrow key scrolling, force the update to deal with different event priorities.
git-svn-id: svn://10.0.0.236/trunk@33284 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:45:23 +00:00
beard%netscape.com
4669666c70 added DEBUG code to measure redraw time if control key is held down during an update.
git-svn-id: svn://10.0.0.236/trunk@33283 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:38:31 +00:00
beard%netscape.com
70252d17f7 nsGraphicState->mTMatrix is now an object rather than a pointer. added #include "nsFontMetricsMac.h", and "nsGraphicState.h".
git-svn-id: svn://10.0.0.236/trunk@33282 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:31:08 +00:00
beard%netscape.com
6204b883ee added kClippingChanged bit, and kEverythingChanged to GraphicStateChanges enum. Increased mChanges field to from 8-bit to 32-bit mask. added additional "aChanges" argument to SelectDrawingSurface() to indicate what graphics states have to be reset.
git-svn-id: svn://10.0.0.236/trunk@33281 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:31:06 +00:00
beard%netscape.com
ce202a44a2 SelectDrawingSurface() now selectively restores color, clipping, and font metrics, according to the bitmask passed in the "aChanges" parameter. PushState() saves the current changes in the pushed nsGraphicState, and PopState() restores it.
git-svn-id: svn://10.0.0.236/trunk@33280 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:31:02 +00:00
beard%netscape.com
7541270009 added mChanges, bitmask indicating differences between graphics states, made mTMatrix a member object to reduce allocations, added mNext link field to support recycling. Changed nsGraphicsStatePool to just keep a free list of nsGraphicState objects rather than an array.
git-svn-id: svn://10.0.0.236/trunk@33279 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:30:59 +00:00
beard%netscape.com
1698ba99b2 nsGraphicStatePool now just keeps a free list of nsGraphicState objects. nsGraphicState::Clear() sets the matrix to the identify matrix rather than deallocating it. nsGraphicState::Duplicate() no longer calls Clear(), instead it just copies all fields. DuplicateRgn() now takes an optional region to copy into, to avoid redundant allocate/recycle steps.
git-svn-id: svn://10.0.0.236/trunk@33278 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:30:58 +00:00
beard%netscape.com
6e1f5688d3 forward declare nsGraphicState rather than #include "nsGraphicState.h". #include "nsFontMetricsMac.h" also unnecessary.
git-svn-id: svn://10.0.0.236/trunk@33277 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:30:56 +00:00
briano%netscape.com
719248f336 Automated update
git-svn-id: svn://10.0.0.236/trunk@33276 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:29:47 +00:00
ramiro%netscape.com
7cff2a3f06 It was breaking on libc5 linux without pthreads.
git-svn-id: svn://10.0.0.236/trunk@33275 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 01:21:10 +00:00
pavlov%pavlov.net
bad0d1f61a use nsAutoCString()
git-svn-id: svn://10.0.0.236/trunk@33274 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 00:16:30 +00:00
morse%netscape.com
3b5dccc140 clean up single signon viewer
git-svn-id: svn://10.0.0.236/trunk@33273 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 21:17:23 +00:00
morse%netscape.com
d308c2597a clean up single singon viewer
git-svn-id: svn://10.0.0.236/trunk@33272 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 21:15:53 +00:00
morse%netscape.com
5c184c4008 clean up single signon viewer wallet.h
git-svn-id: svn://10.0.0.236/trunk@33271 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 21:11:34 +00:00
morse%netscape.com
453bef4833 clean up single signon viewer nsIWalletService.h
git-svn-id: svn://10.0.0.236/trunk@33270 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 21:11:02 +00:00
blizzard%redhat.com
b762842f0d Always use the visual that was chosen by xlibrgb. Also, make sure to set
the colormap member in XCreateWindow() if it's set in the xlibrgb code.


git-svn-id: svn://10.0.0.236/trunk@33269 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 20:36:09 +00:00
bruce%cybersight.com
fd958b07e4 The include guard name changed with the conversion of nsIPref to xpidl. This file needed to be updated for that. Should fix the OSF/1 build.
git-svn-id: svn://10.0.0.236/trunk@33268 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 18:48:56 +00:00
blizzard%redhat.com
e2b27f1c3d Apply build patches from Tim Rowley <tor@cs.brown.edu> to get working
with native solaris compiler


git-svn-id: svn://10.0.0.236/trunk@33267 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 16:58:31 +00:00
mcafee%netscape.com
ce94ecf174 Removing spurious semicolon. Thanks to David Gardiner for this fix.
git-svn-id: svn://10.0.0.236/trunk@33266 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 07:54:22 +00:00
mcafee%netscape.com
b50988fb24 nsIGenericTransferable.h was removed on 13th May. Thanks to David Gardiner for this fix.
git-svn-id: svn://10.0.0.236/trunk@33265 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 07:50:39 +00:00
rjc%netscape.com
3dc6f7abb8 Small bug fix with FTP; be a little bit smarter at what paths need filtering out (along with "." and "..", skip any absolute URLs, as they usually point "up" the path to the parent)
git-svn-id: svn://10.0.0.236/trunk@33264 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 06:15:58 +00:00
rjc%netscape.com
08094cc66c Add support for separators in "Related Links" data.
git-svn-id: svn://10.0.0.236/trunk@33263 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 06:02:30 +00:00
beard%netscape.com
9858118e3a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33262 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 02:15:01 +00:00
pavlov%pavlov.net
cd573f406c we don't need the mAlign thing anymore since we have an event box
git-svn-id: svn://10.0.0.236/trunk@33261 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 02:09:42 +00:00
sspitzer%netscape.com
8e4539c047 fix mac build bustage. if we have a MANIFEST file, you need to add it to this perl module. I've made changes for news/build/MANIFEST, addrbook/build/MANIFEST and compose/build/MANIFEST
hopefully this prevent future build breakage.  many thanks to patrick beard for the help.


git-svn-id: svn://10.0.0.236/trunk@33260 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 01:23:43 +00:00
beard%netscape.com
6c321c01eb changed region pool to use 2 linked lists of slots instead of an array, for constant time allocation and recycling. no longer allocates a fixed size pool, and regions are truly owned by the caller until recycled.
git-svn-id: svn://10.0.0.236/trunk@33259 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 00:48:01 +00:00
sspitzer%netscape.com
130616b151 XPIDL-ify nsINntpService
git-svn-id: svn://10.0.0.236/trunk@33258 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 00:13:05 +00:00
sspitzer%netscape.com
a83737950b XPIDL-ify nsINntpService. use "scriptable" instead of "object" in the news idl files
git-svn-id: svn://10.0.0.236/trunk@33257 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-30 00:12:41 +00:00
dougt%netscape.com
257a2436d8 kISupportsIID is not defined on unix, but it is on windoze...
git-svn-id: svn://10.0.0.236/trunk@33256 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 23:01:25 +00:00
dougt%netscape.com
9a2a180d5b Adding a few more functions to nsIEventQueue.
Moving proxy to use nsIEventQueue instead of PLEvents direct.


git-svn-id: svn://10.0.0.236/trunk@33255 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 22:50:25 +00:00
sspitzer%netscape.com
7077a1cb82 XPIDL-ify nsINNTPHost and adjust accordingly
git-svn-id: svn://10.0.0.236/trunk@33254 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 22:45:35 +00:00
blizzard%redhat.com
9e4c8b1cda catch up to new apis for file widget
git-svn-id: svn://10.0.0.236/trunk@33253 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 21:51:29 +00:00
beard%netscape.com
d4e201e366 make sure mScriptContextOwner isn't NULL (apologies to sspitzer, made the test consistent with line #2283, hope you don't mind)
git-svn-id: svn://10.0.0.236/trunk@33252 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 21:43:24 +00:00
ducarroz%netscape.com
8d44318d91 fix for bug 7329. MAC ONLY: if a file doesn't exist while doing an open and the flag PR_CREATE_FILE is set shouldn't abort.
git-svn-id: svn://10.0.0.236/trunk@33251 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 21:27:18 +00:00
ducarroz%netscape.com
db9b4787ed fix for bug 7329. Deleteting a file that doesn't exist should not invalidate the nsFileSpec.
git-svn-id: svn://10.0.0.236/trunk@33250 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 21:27:16 +00:00
sspitzer%netscape.com
cf8491ff39 DEBUG_sspitzer -> DEBUG_NEWS
git-svn-id: svn://10.0.0.236/trunk@33249 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 21:05:09 +00:00
sspitzer%netscape.com
6e79f5d0d7 fix const weirdness. clean up code for solaris compiler
git-svn-id: svn://10.0.0.236/trunk@33248 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 21:03:48 +00:00
sspitzer%netscape.com
0082a73e65 remove the const in preparation for moving to XPIDL
git-svn-id: svn://10.0.0.236/trunk@33247 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 21:02:30 +00:00
sspitzer%netscape.com
e6265caf5c remove stupid code because it's stupid
git-svn-id: svn://10.0.0.236/trunk@33246 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 21:01:19 +00:00
sspitzer%netscape.com
91729e56cc XPIDL-ify nsINNTPNewsgroupList, and adjust accordingly.
change DEBUG_sspitzer to DEBUG_NEWS


git-svn-id: svn://10.0.0.236/trunk@33245 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 21:00:12 +00:00
sspitzer%netscape.com
160a1a5c12 fix for #7344. check for nsnull before dereferencing.
git-svn-id: svn://10.0.0.236/trunk@33244 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 20:55:48 +00:00
mcafee%netscape.com
3a9be214cd Fixing warnings.
git-svn-id: svn://10.0.0.236/trunk@33243 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 19:36:55 +00:00
bienvenu%netscape.com
a9a03df0a5 get local mail filters working
git-svn-id: svn://10.0.0.236/trunk@33242 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 17:09:39 +00:00
bienvenu%netscape.com
9bad0afcb4 fix match hdrs for filters
git-svn-id: svn://10.0.0.236/trunk@33241 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 17:08:53 +00:00
bruce%cybersight.com
b79cb3c360 Remove static IID kISupportsIID from the default QueryInterfaces implementation macro. Replace with call to nsISupports::GetIID(). Tested by dp, myself and tague on the 3 main platforms (Win32, Linux and Mac respectively).
git-svn-id: svn://10.0.0.236/trunk@33240 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 16:25:18 +00:00
bruce%cybersight.com
06932ac48e Fix usage of kISupportsIID so that my next checkin won't hork the tree.
git-svn-id: svn://10.0.0.236/trunk@33239 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 16:22:36 +00:00
alla%lysator.liu.se
d3f4687540 Update licence to MPL 1.1
git-svn-id: svn://10.0.0.236/trunk@33238 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 12:38:22 +00:00
rickg%netscape.com
d206293316 searching should be slightly faster now
git-svn-id: svn://10.0.0.236/trunk@33237 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 09:40:49 +00:00
rickg%netscape.com
1879574b9f using brute-force search for now
git-svn-id: svn://10.0.0.236/trunk@33236 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 09:28:56 +00:00
mcafee%netscape.com
234f802a7a Fix implicit declaration warning for atoi(). Thansk to Brian Ryner bryner@uiuc.edu for this fix.
git-svn-id: svn://10.0.0.236/trunk@33235 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 08:56:53 +00:00
rickg%netscape.com
27daf0bb9c sync with nsString2 API
git-svn-id: svn://10.0.0.236/trunk@33234 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 08:52:19 +00:00
law%netscape.com
b4be9d1b80 Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@33233 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 07:31:57 +00:00
rickg%netscape.com
ab77576555 final update to nsString2 before switchover
git-svn-id: svn://10.0.0.236/trunk@33232 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 07:29:46 +00:00
law%netscape.com
d915cf89eb Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@33231 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 07:22:58 +00:00
mcmullen%netscape.com
7e572e4c2d Added nsFileSpecWithUIImp.cpp
git-svn-id: svn://10.0.0.236/trunk@33230 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 07:04:16 +00:00
rickg%netscape.com
9bfb8e7b48 updated to nsString2 api's
git-svn-id: svn://10.0.0.236/trunk@33229 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 07:02:08 +00:00
mcafee%netscape.com
183b5e384b Adding test#16, gfx widgets, to match viewer tests.
git-svn-id: svn://10.0.0.236/trunk@33228 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 06:22:00 +00:00
mcafee%netscape.com
c630040d7c Adding nsFileSpecWithUIImpl.cpp to resolve NS_NewFileSpecWithUI(). r=mcmullen
git-svn-id: svn://10.0.0.236/trunk@33227 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 06:08:56 +00:00
law%netscape.com
6daa1032ea added files: mozilla/widget/src/xpwidgets/nsFileSpecWithUIImpl.cpp
git-svn-id: svn://10.0.0.236/trunk@33226 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 03:28:56 +00:00
rickg%netscape.com
bf2176589a oops -- I didn't mean to update these -- backing out
git-svn-id: svn://10.0.0.236/trunk@33225 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 03:04:16 +00:00
rickg%netscape.com
4cf139826e fixed nsString2 usage error introduced by observerlist change
git-svn-id: svn://10.0.0.236/trunk@33224 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 03:01:22 +00:00
rickg%netscape.com
6c837aa5f5 fixed nsString2 usage error
git-svn-id: svn://10.0.0.236/trunk@33223 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 02:44:53 +00:00
bruce%cybersight.com
ceefa91fa1 Use $(DLL_SUFFIX) here as well.
git-svn-id: svn://10.0.0.236/trunk@33222 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 02:25:28 +00:00
bruce%cybersight.com
d07a526aa3 Use $(DLL_SUFFIX) for shared lib linking.
git-svn-id: svn://10.0.0.236/trunk@33221 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 02:19:03 +00:00
bruce%cybersight.com
f92670e2de Correct typo, fix HP-UX bustage.
git-svn-id: svn://10.0.0.236/trunk@33220 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 02:15:07 +00:00
law%netscape.com
03b76d98f7 Switching to idl-ed nsIObserverService
git-svn-id: svn://10.0.0.236/trunk@33219 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 02:13:10 +00:00
mcmullen%netscape.com
76225b5e9f For Bill
git-svn-id: svn://10.0.0.236/trunk@33218 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 02:01:28 +00:00
mcmullen%netscape.com
8a800cd243 Return value
git-svn-id: svn://10.0.0.236/trunk@33217 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:51:02 +00:00
briano%netscape.com
49e5805acd No longer needed.
git-svn-id: svn://10.0.0.236/trunk@33216 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:47:55 +00:00
briano%netscape.com
7b02faa581 Yanked out some of the obsolete \$OS_ARCH.mk stuff.
git-svn-id: svn://10.0.0.236/trunk@33215 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:44:42 +00:00
mcmullen%netscape.com
23d46569d9 move widgetry out of xpcom
git-svn-id: svn://10.0.0.236/trunk@33214 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:37:55 +00:00
rjc%netscape.com
7b59c73e18 Add window titles to bookmarks and history windows.
git-svn-id: svn://10.0.0.236/trunk@33213 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:35:00 +00:00
briano%netscape.com
b7c9744632 Removed the coreconf.mk include. Not used anymore.
git-svn-id: svn://10.0.0.236/trunk@33212 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:32:26 +00:00
law%netscape.com
91a562b7e7 XPIDL-ifying nsIOberver/nsIObserverService
git-svn-id: svn://10.0.0.236/trunk@33211 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:30:27 +00:00
mcmullen%netscape.com
be6f95027b Use NS_COM (not NS_BASE)
git-svn-id: svn://10.0.0.236/trunk@33210 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:29:28 +00:00
vidur%netscape.com
dd84ad6b9c possibly temporary sink implementation to build a document fragment.
git-svn-id: svn://10.0.0.236/trunk@33209 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:29:01 +00:00
mcmullen%netscape.com
95205de0f7 Moved widgetry out.
git-svn-id: svn://10.0.0.236/trunk@33208 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:28:25 +00:00
mcmullen%netscape.com
bac887f003 Moved widgetry out of xpcom
git-svn-id: svn://10.0.0.236/trunk@33207 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:26:53 +00:00
jefft%netscape.com
bc6d75a88d fixed unmatching memory free
git-svn-id: svn://10.0.0.236/trunk@33206 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:20:28 +00:00
jefft%netscape.com
07f8b16b51 removed unneeded code
git-svn-id: svn://10.0.0.236/trunk@33205 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:19:48 +00:00
mcmullen%netscape.com
8f8244080e Moving widgetry out of xpcom
git-svn-id: svn://10.0.0.236/trunk@33204 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:08:22 +00:00
mcmullen%netscape.com
b5b08c137a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33203 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:05:14 +00:00
law%netscape.com
bbc3324ba6 XPIDL-ifying nsIObserver/nsIObserverService
git-svn-id: svn://10.0.0.236/trunk@33202 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 00:51:17 +00:00
briano%netscape.com
05718b3a41 Added support for alphapca56.
git-svn-id: svn://10.0.0.236/trunk@33201 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 00:49:32 +00:00
sspitzer%netscape.com
ca49018988 fix the subscribe xul and css
git-svn-id: svn://10.0.0.236/trunk@33200 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 00:28:02 +00:00
rjc%netscape.com
8af3565667 Clean up sidebar.xul a bit.
git-svn-id: svn://10.0.0.236/trunk@33199 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 00:26:06 +00:00
rjc%netscape.com
3f9b90736d Fix some bugs with template rules. Added some needed styles for bookmarks window. Fixed a bug with sorting in bookmarks window (don't add RDFCore into list, as its unnecessary.) Bookmarks panel in sidebar is now using template rules.
git-svn-id: svn://10.0.0.236/trunk@33198 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 00:17:32 +00:00
andreas.otte%primus-online.de
a3f8b20c4a Some more ignorance
git-svn-id: svn://10.0.0.236/trunk@33196 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 00:06:00 +00:00
sspitzer%netscape.com
932bee9140 cvs ignorage for the generate Makefiles
git-svn-id: svn://10.0.0.236/trunk@33195 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 23:52:47 +00:00
andreas.otte%primus-online.de
e041ebaa15 Adding missing headerfiles
git-svn-id: svn://10.0.0.236/trunk@33194 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 23:48:58 +00:00
andreas.otte%primus-online.de
e125343119 Change to "camel case" nsIHttpEventSink
git-svn-id: svn://10.0.0.236/trunk@33193 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 23:48:12 +00:00
alecf%netscape.com
9567118abd don't leak!
git-svn-id: svn://10.0.0.236/trunk@33192 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 23:28:37 +00:00
alecf%netscape.com
9ad1882a72 remove call to GetCharPref
git-svn-id: svn://10.0.0.236/trunk@33191 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 23:28:04 +00:00
alecf%netscape.com
52b75a95ab aug, I'll get this right yet - pass in propertyURL correctly
git-svn-id: svn://10.0.0.236/trunk@33190 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 23:26:14 +00:00
alecf%netscape.com
b52718c716 aug. Rename GetCharPref to CopyCharPref
git-svn-id: svn://10.0.0.236/trunk@33189 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 23:25:27 +00:00
alecf%netscape.com
a574617304 remove call to GetCharPref()
git-svn-id: svn://10.0.0.236/trunk@33188 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 23:25:09 +00:00
alecf%netscape.com
2510376d81 I forgot to make this interface scriptable
git-svn-id: svn://10.0.0.236/trunk@33187 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 23:04:19 +00:00
alecf%netscape.com
f9894ef49b register nsIPref with a useable progID
git-svn-id: svn://10.0.0.236/trunk@33186 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 23:02:13 +00:00
hyatt%netscape.com
fe7fca2d88 Focus tracker actually tracks!
git-svn-id: svn://10.0.0.236/trunk@33185 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:55:10 +00:00
rjc%netscape.com
3b06514866 Use entities instead of hard-coded text in translation menus.
git-svn-id: svn://10.0.0.236/trunk@33184 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:50:45 +00:00
ducarroz%netscape.com
7ad3c4fd60 Messenger resources now go to the chrome folder.
git-svn-id: svn://10.0.0.236/trunk@33183 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:43:26 +00:00
warren%netscape.com
558763612e Added nsConstructorPattern.cpp
git-svn-id: svn://10.0.0.236/trunk@33182 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:41:13 +00:00
putterman%netscape.com
e391e874ed Part of new mailnews resources hierarchy.
git-svn-id: svn://10.0.0.236/trunk@33179 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:38:07 +00:00
gagan%netscape.com
f4adea711f General fixes and changed #include nsHTTPEventSink to match the camel-case
file name. Will be fixed when we migrate to network.


git-svn-id: svn://10.0.0.236/trunk@33178 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:34:41 +00:00
putterman%netscape.com
37f6d16f84 Update preference tree with new chrome urls.
git-svn-id: svn://10.0.0.236/trunk@33177 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:34:12 +00:00
putterman%netscape.com
ac36146d26 update registry for new mailnews hierarchy.
git-svn-id: svn://10.0.0.236/trunk@33176 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:33:30 +00:00
gagan%netscape.com
04a5280ac2 General fixes.
git-svn-id: svn://10.0.0.236/trunk@33175 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:31:47 +00:00
alecf%netscape.com
c416cb0b7f oops, missed a few more size_t's
git-svn-id: svn://10.0.0.236/trunk@33174 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:30:30 +00:00
alecf%netscape.com
ebae6f9e6a fix mac bustage - missed this size_t when switching to XPIDL syntax
git-svn-id: svn://10.0.0.236/trunk@33173 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:29:53 +00:00
hyatt%netscape.com
8f4bb1fd1d added files: mozilla/rdf/content/src/nsXULFocusTracker.cpp, mozilla/rdf/content/src/nsJSXULFocusTracker.cpp
git-svn-id: svn://10.0.0.236/trunk@33172 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:29:25 +00:00
hyatt%netscape.com
6e23c7709d More accurate tracking of chrome shells.
git-svn-id: svn://10.0.0.236/trunk@33171 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:26:48 +00:00
hyatt%netscape.com
8ab04357b8 Editing makefiles to add sources for the focus tracker.
git-svn-id: svn://10.0.0.236/trunk@33170 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:18:11 +00:00
dougt%netscape.com
f862aa1262 Adding Proxy to the xpcom init.
git-svn-id: svn://10.0.0.236/trunk@33169 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:17:24 +00:00
hyatt%netscape.com
a04d952090 Adding source files for focus tracker.
git-svn-id: svn://10.0.0.236/trunk@33168 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:16:47 +00:00
hyatt%netscape.com
4d38f002e7 More focus tracker work.
git-svn-id: svn://10.0.0.236/trunk@33167 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:15:57 +00:00
dougt%netscape.com
1c9d2fef90 Adding "Fire And Forget" async method calling.
Added Create() function for the generic factory.
Made ProxyObject into an nsISupports Object for refcounting.
Fixed proxytest to work in the new xpcom2 world.


git-svn-id: svn://10.0.0.236/trunk@33166 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:15:20 +00:00
dougt%netscape.com
7ab6deb1ee Adding a local include path to proxy/src
git-svn-id: svn://10.0.0.236/trunk@33165 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:10:55 +00:00
dp%netscape.com
3a5dab8bf1 Fixed crasher bug# 7311 by removing aggregation. Both constructors need to take an additional parameter that will initialize the outer need to happen. Doing the bigger change of introducing aggregation later
git-svn-id: svn://10.0.0.236/trunk@33164 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:09:32 +00:00
putterman%netscape.com
24d65d93d0 Add resultPane.xul to MANIFEST file.
git-svn-id: svn://10.0.0.236/trunk@33163 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:05:54 +00:00
alecf%netscape.com
71447ceef1 turn on XPConnect for nsIPref
git-svn-id: svn://10.0.0.236/trunk@33162 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:03:40 +00:00
alecf%netscape.com
38f7a21ce8 make nsIPref scriptable, and turn on XPIDL compiling on unix
(windows is on the way)


git-svn-id: svn://10.0.0.236/trunk@33161 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 22:01:07 +00:00
hyatt%netscape.com
ddf3af4762 Focus tracker stubbing.
git-svn-id: svn://10.0.0.236/trunk@33160 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:56:07 +00:00
kmcclusk%netscape.com
c41abdbd0f Added test16 to GTK menu. Also added missing aform.css, bform.css, cform.css
mozform.css and demoform.css file to be exported in Makefile.in


git-svn-id: svn://10.0.0.236/trunk@33159 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:55:33 +00:00
kin%netscape.com
ffa546bdb8 Fixed double addref in EnableUndo() that was causing us to leak the transaction manager on destruction of the editor.
git-svn-id: svn://10.0.0.236/trunk@33158 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:49:24 +00:00
ftang%netscape.com
c591be3574 do not call StopDocumentLoading to avoid libnet reent problem. return NS_ERROR_ABORT to indicate reload happend. set teh rendering to false instead of true
git-svn-id: svn://10.0.0.236/trunk@33157 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:41:51 +00:00
andreas.otte%primus-online.de
a5c671ac6d copy strres.properties to $(DIST)/bin/res to give StringBundleTest something to work with
git-svn-id: svn://10.0.0.236/trunk@33156 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:37:38 +00:00
alecf%netscape.com
3e84cf3fad remove bogus files from build
git-svn-id: svn://10.0.0.236/trunk@33155 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:34:58 +00:00
ftang%netscape.com
36d5b17045 change the ReloadDocument implementation by using RefreshURL do avoid reentrance problem in libnet
git-svn-id: svn://10.0.0.236/trunk@33154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:32:29 +00:00
buster%netscape.com
9041cef161 Preparation for ender-based text control
* added focus listener.  Doesn't do much yet, but when focus notifications start appearing, we'll be ready for them.  The code is in
place to hide selection when we lose focus and paint selection when we get focus.  That's probably not quite right, but it's a start.
We will need to be able to determine the distinction between losing focus to another control within our app, and losing focus to
another app.
* added support for disabled and readonly states in the editor.  This is accomplished by having flags set by the client, and letting the
rules system deal with those flags.  The flags I added are:
     TEXT_EDITOR_FLAG_PLAINTEXT   0x01   // only plain text editing is allowed
     TEXT_EDITOR_FLAG_SINGLELINE  0x02   // enter key and CR-LF handled specially
     TEXT_EDITOR_FLAG_PASSWORD    0x04   // text is not entered into content, only a representative character
     TEXT_EDITOR_FLAG_READONLY    0x08   // editing events are disabled.  Editor may still accept focus.
     TEXT_EDITOR_FLAG_DISALBED    0x10   // all events are disabled (like scrolling).  Editor will not accept focus.
* added WillInsertBreak/DidInsertBreak into text rules, so flags could be checked.  This gets us readonly, disabled, and single line
behavior.
* cleaned up the code that allocates, registers, and destroys event listeners.  Thanks to Kin and Simon for cleaning up the
ownership model on the listeners, it was a big help.
* added support for a max text length.  You can now tell the text editor, be no bigger than n characters.


git-svn-id: svn://10.0.0.236/trunk@33153 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:24:18 +00:00
jfrancis%netscape.com
677f048b01 cleanup util function duplication
git-svn-id: svn://10.0.0.236/trunk@33152 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:17:30 +00:00
kmcclusk%netscape.com
94269e3783 fix for bug #6971. Added support for clicking and dragging over items in single
and multiselect listboxes. Also supports holding down the shift and ctrl keys
while dragging.


git-svn-id: svn://10.0.0.236/trunk@33151 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 21:12:09 +00:00
nhotta%netscape.com
7ebe97b8fd Added a check for force charset.
git-svn-id: svn://10.0.0.236/trunk@33150 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 20:53:29 +00:00
nhotta%netscape.com
a24d244b6d Clean up and preparing for auto detection.
git-svn-id: svn://10.0.0.236/trunk@33149 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 20:40:05 +00:00
dp%netscape.com
95269e387d Component Registry
git-svn-id: svn://10.0.0.236/trunk@33148 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 20:38:16 +00:00
hyatt%netscape.com
68ad61de89 Oops.
git-svn-id: svn://10.0.0.236/trunk@33147 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 20:33:46 +00:00
jefft%netscape.com
1ed83e8684 partially fixed bug 7147 -- Drop-down menu does not show folder when selecting Move Message
git-svn-id: svn://10.0.0.236/trunk@33146 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 20:30:23 +00:00
hyatt%netscape.com
5d45fcaf0d Adding the focus tracker to the XUL document.
git-svn-id: svn://10.0.0.236/trunk@33145 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 20:24:58 +00:00
sspitzer%netscape.com
e6f952c10b ignore the generated Makefile
git-svn-id: svn://10.0.0.236/trunk@33144 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 20:21:36 +00:00
ducarroz%netscape.com
903a6e4472 remove nsVCardTransition.cpp who has been deleted from the tree
git-svn-id: svn://10.0.0.236/trunk@33143 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 20:14:47 +00:00
sspitzer%netscape.com
b7a48c9846 fix build bustage. that file is gone.
git-svn-id: svn://10.0.0.236/trunk@33142 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 20:12:41 +00:00
putterman%netscape.com
13a28a59b2 Part of new mailnews resources hierarchy.
git-svn-id: svn://10.0.0.236/trunk@33141 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 20:10:53 +00:00
cata%netscape.com
dc27be6d15 My part of fix for bug 6890.
git-svn-id: svn://10.0.0.236/trunk@33140 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 20:03:35 +00:00
mscott%netscape.com
1dc1c7e03c Remove inadvertant ';' in if clause. thanks to sfraser for pointing it out.
git-svn-id: svn://10.0.0.236/trunk@33139 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 20:00:33 +00:00
rhp%netscape.com
c9797c9c42 Changes for using string bundles
git-svn-id: svn://10.0.0.236/trunk@33138 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 20:00:32 +00:00
rhp%netscape.com
3d056f04dc Changes for using string bundles
git-svn-id: svn://10.0.0.236/trunk@33137 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 19:58:00 +00:00
sspitzer%netscape.com
2510e792e4 changes for makeing news scriptable
git-svn-id: svn://10.0.0.236/trunk@33136 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 19:43:14 +00:00
putterman%netscape.com
0e64747804 Part of new mailnews resources hierarchy.
git-svn-id: svn://10.0.0.236/trunk@33135 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 19:41:31 +00:00
ducarroz%netscape.com
6dd7f4ebb9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33134 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 19:40:07 +00:00
blizzard%redhat.com
0c19e74a19 make sure the right dll name is hardcoded. patch from Jeremy Lea <reg@shale.csir.co.za>
git-svn-id: svn://10.0.0.236/trunk@33133 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 19:32:40 +00:00
rogerl%netscape.com
7448fc1fe9 Moved from stack to inline execution.
git-svn-id: svn://10.0.0.236/trunk@33132 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 19:00:48 +00:00
despotdaemon%netscape.com
734272ce20 Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@33131 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 16:49:14 +00:00
despotdaemon%netscape.com
e07f94077b Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@33130 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 16:48:27 +00:00
blizzard%redhat.com
33764d7917 make sure that globals are defined here for display properties. also, make sure that the gfx module for xlib is linked explicitly with the xlib libraries so that the tests link
git-svn-id: svn://10.0.0.236/trunk@33129 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 15:11:21 +00:00
dcone%netscape.com
d528aba0b3 Fixed RealizeFont() to use a screen DC when printing for a few windows calls
git-svn-id: svn://10.0.0.236/trunk@33128 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 14:13:53 +00:00
briano%netscape.com
94e1a5a318 Automated update
git-svn-id: svn://10.0.0.236/trunk@33127 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 12:44:46 +00:00
ramiro%netscape.com
8271fa4606 Add support for building gtk widget as part of mozilla builds.
git-svn-id: svn://10.0.0.236/trunk@33126 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 12:43:59 +00:00
rhp%netscape.com
7bc0c9f66a New files for using string bundles
git-svn-id: svn://10.0.0.236/trunk@33125 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 12:39:28 +00:00
ramiro%netscape.com
b28b5728fc Fix it so it works in the xpcom2.0 world. Add cvsignore stuff.
git-svn-id: svn://10.0.0.236/trunk@33124 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 12:06:56 +00:00
ramiro%netscape.com
e31c0aa03a Add a module name for the GtkMozilla widget.
git-svn-id: svn://10.0.0.236/trunk@33123 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 11:43:41 +00:00
ramiro%netscape.com
0138a4b52e Importing Alexander Larsson's (alex@signum.se) gtkmozilla widget to the tree.
gtkmozilla is a GTK+ widget which can be used to embed mozilla in any gtk
application.


git-svn-id: svn://10.0.0.236/trunk@33122 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 11:34:26 +00:00
waterson%netscape.com
ba006b5e43 Bug 6895. Create HTML elements (not XUL elements) when the tag is in the HTML namespace. Minor performance enhancements to reduce number of calls to layout during content model construction.
git-svn-id: svn://10.0.0.236/trunk@33121 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 11:30:59 +00:00
andreas.otte%primus-online.de
9b0fa808b0 make no shared lib and do not install it in $(DIST)/bin
git-svn-id: svn://10.0.0.236/trunk@33120 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 11:20:30 +00:00
despotdaemon%netscape.com
5bc328b41d Pseudo-automatic update of changes made by driehuis@playbeing.org.
git-svn-id: svn://10.0.0.236/trunk@33119 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 11:10:06 +00:00
andreas.otte%primus-online.de
c0de187979 First Checked In
git-svn-id: svn://10.0.0.236/trunk@33118 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 09:16:47 +00:00
andreas.otte%primus-online.de
e10182b265 First Checked In
git-svn-id: svn://10.0.0.236/trunk@33117 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 09:11:38 +00:00
andreas.otte%primus-online.de
9e01e165dd Making libftp.so a component
git-svn-id: svn://10.0.0.236/trunk@33116 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 08:23:48 +00:00
andreas.otte%primus-online.de
cd20f1b732 Making libhttp.so a component
git-svn-id: svn://10.0.0.236/trunk@33115 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 08:22:46 +00:00
rickg%netscape.com
3ffa9ea51f small performance enhancement -- less searching
git-svn-id: svn://10.0.0.236/trunk@33114 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 07:14:08 +00:00
peterl%netscape.com
ffdd85ba9e clone URLs before handing to netlib. "chrome:" and "resource:" urls get munged destroying hash keys...
git-svn-id: svn://10.0.0.236/trunk@33113 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 06:50:52 +00:00
bruce%cybersight.com
1f2b1aac51 Remove a shadowing variable declaration.
git-svn-id: svn://10.0.0.236/trunk@33112 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 06:49:30 +00:00
bruce%cybersight.com
cde17134e5 Fix a shadowed variable.
git-svn-id: svn://10.0.0.236/trunk@33111 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 06:13:00 +00:00
dp%netscape.com
ef8f4ab569 Checking for NULL progid. This should return correct error values from RegisterComponent()
git-svn-id: svn://10.0.0.236/trunk@33110 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 06:06:14 +00:00
despotdaemon%netscape.com
f92915cd5f Pseudo-automatic update of changes made by alla@lysator.liu.se.
git-svn-id: svn://10.0.0.236/trunk@33109 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 05:41:08 +00:00
bruce%cybersight.com
1cbb18e94c Remove local shadowing of variable.
git-svn-id: svn://10.0.0.236/trunk@33108 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 05:29:26 +00:00
sspitzer%netscape.com
ee971c748b make unix like the other platforms (use ImapMail as the imap mail dir)
git-svn-id: svn://10.0.0.236/trunk@33107 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 05:20:32 +00:00
tague%netscape.com
db7ff131bb Added TSM Input Method support for the Macintosh. (Added a call to CloseTSMAwareApplication).
git-svn-id: svn://10.0.0.236/trunk@33106 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 05:06:54 +00:00
tague%netscape.com
6a071c8399 Added TSM Input Method support for the Macintosh.
git-svn-id: svn://10.0.0.236/trunk@33105 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 05:06:38 +00:00
tague%netscape.com
e7fef14463 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@33104 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 05:05:46 +00:00
tague%netscape.com
22bf182e3b Added InitTSMAwareApplication to the Toolbox initialization sequence. Part of a set of check-ins to add TSM Input Method support on the Mac.
git-svn-id: svn://10.0.0.236/trunk@33103 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 05:05:27 +00:00
tague%netscape.com
c128e3f98a Updated self test.
git-svn-id: svn://10.0.0.236/trunk@33102 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 05:01:54 +00:00
dp%netscape.com
75dc8b1770 Fixing nsrefcnt to be unsigned long to maintain binary compatibility. All Addref() and Release() prototypes modified appropriately
git-svn-id: svn://10.0.0.236/trunk@33100 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 04:53:17 +00:00
hyatt%netscape.com
0e14bcd81f Temporary hack to avoid crashing.
git-svn-id: svn://10.0.0.236/trunk@33099 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 04:39:59 +00:00
blizzard%redhat.com
8d158427ae move global xlib symbols, fix hard coded toolkit name in makefile
git-svn-id: svn://10.0.0.236/trunk@33098 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 04:13:29 +00:00
blizzard%redhat.com
01fda6864c remove hard coded toolkit name
git-svn-id: svn://10.0.0.236/trunk@33097 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 04:12:24 +00:00
blizzard%redhat.com
f9946cc363 remove hard coded toolkit names in tests
git-svn-id: svn://10.0.0.236/trunk@33096 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 03:42:59 +00:00
briano%netscape.com
f5fe452f6b Got rid of the BSDECHO macro. Obsolete.
git-svn-id: svn://10.0.0.236/trunk@33095 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 03:36:21 +00:00
sspitzer%netscape.com
33f48b3ff6 remove my comment
git-svn-id: svn://10.0.0.236/trunk@33094 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 03:36:04 +00:00
briano%netscape.com
02ebcfbb55 No longer needed.
git-svn-id: svn://10.0.0.236/trunk@33093 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 03:27:37 +00:00
sspitzer%netscape.com
e887d056c5 whoops, I should only be setting some prefs if they didn't have a prefs file
git-svn-id: svn://10.0.0.236/trunk@33092 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 03:24:30 +00:00
tague%netscape.com
843b282e49 Updated self-test so that it continues to build.
git-svn-id: svn://10.0.0.236/trunk@33091 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 03:19:22 +00:00
tague%netscape.com
05bf124d2e Updated self-test so it continues to build
git-svn-id: svn://10.0.0.236/trunk@33090 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 03:19:05 +00:00
sspitzer%netscape.com
82bc367b26 make my hack less of a hack. use the pref api instead of writing out the the
stream.

this is much better.  (thanks to alecf for the suggestion).


git-svn-id: svn://10.0.0.236/trunk@33089 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 03:16:03 +00:00
alecf%netscape.com
f79f5654b8 use XPIDL on windows for all these IDL files
git-svn-id: svn://10.0.0.236/trunk@33088 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 03:08:27 +00:00
sfraser%netscape.com
2d9635b42b Fix hyatt's checking with a null test, so that you don't crash when closing windows.
git-svn-id: svn://10.0.0.236/trunk@33087 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 02:57:20 +00:00
bienvenu%netscape.com
2dd64c1f5f fix ref counting problem on isupports filter stuff
git-svn-id: svn://10.0.0.236/trunk@33086 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 02:15:31 +00:00
bienvenu%netscape.com
946289b75e fix filter folder name to be one byte
git-svn-id: svn://10.0.0.236/trunk@33085 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 02:14:59 +00:00
pollmann%netscape.com
2ac238458d Bug 3322: Windows sends NS_CONTROL_CHANGE events
git-svn-id: svn://10.0.0.236/trunk@33084 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 02:11:55 +00:00
dp%netscape.com
03e1f16be9 Reversing changing type of nsrefcnt. Mailnews code has specific Release() implementation that mention a different type. We need to fix that first.
git-svn-id: svn://10.0.0.236/trunk@33083 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 02:07:49 +00:00
pierre%netscape.com
9c6fa042ec File Removed.
git-svn-id: svn://10.0.0.236/trunk@33082 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 02:00:54 +00:00
pierre%netscape.com
6d4e050edd Fixed the Profiler build for NSRuntime.mcp
git-svn-id: svn://10.0.0.236/trunk@33081 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:54:27 +00:00
mccabe%netscape.com
a3eb871c1e Added the xpcom/sample directory to the build, so I can point people to the minimal XPConnect sample code there without them having to rebuild to try it out.
git-svn-id: svn://10.0.0.236/trunk@33080 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:49:47 +00:00
nhotta%netscape.com
bd54474c8c Added force character set.
git-svn-id: svn://10.0.0.236/trunk@33079 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:31:55 +00:00
mang%subcarrier.org
cea521ce2b documented existence of -g flag
git-svn-id: svn://10.0.0.236/trunk@33078 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:25:31 +00:00
dp%netscape.com
c6b7ed14b1 Fixed Binary compability with COM's nsIUnknown w.r.t return value types of Addref and Release.
nsrefcnt is defined as unsigned long for windows machines with 4 bytes per long.


git-svn-id: svn://10.0.0.236/trunk@33077 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:22:35 +00:00
dp%netscape.com
5add7d2de6 - Adding in PROGID and Classname for registration of xpcom components.
- Registering FILESPEC


git-svn-id: svn://10.0.0.236/trunk@33075 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:14:59 +00:00
mccabe%netscape.com
8f6488d835 Removed unused and nonsensical voidRef typedef.
git-svn-id: svn://10.0.0.236/trunk@33074 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:14:50 +00:00
briano%netscape.com
42a8cd9e92 Added support for Rhapsody.
git-svn-id: svn://10.0.0.236/trunk@33073 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:10:22 +00:00
pollmann%netscape.com
96795774f2 Bug 3322: nsSelectControlFrames's ControlChanged does what MouseClicked used to - checks for selection changes and sends out onChange DOM events.
git-svn-id: svn://10.0.0.236/trunk@33072 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:06:42 +00:00
pollmann%netscape.com
1187a6df01 Bug 3322: NS_CONTROL_CHANGE events call ControlChanged on the form frame.
git-svn-id: svn://10.0.0.236/trunk@33071 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 01:05:19 +00:00
alecf%netscape.com
a344c4e0be GetCharPref() is going away for nsIPref scriptability - use CopyCharPref instead
git-svn-id: svn://10.0.0.236/trunk@33070 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:56:53 +00:00
alecf%netscape.com
0164889fa4 GetCharPref is going away for nsIPref scriptability - use CopyCharPref instead
git-svn-id: svn://10.0.0.236/trunk@33069 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:51:34 +00:00
dp%netscape.com
4b8edfa961 Added aggregation. Implemented Create() so that the GenericFactory can create IFileSpec
Objects if registered.


git-svn-id: svn://10.0.0.236/trunk@33068 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:50:42 +00:00
alecf%netscape.com
9d05a018f8 GetCharPref() is going away for nsIPref scriptability. Use CopyCharPref instead
git-svn-id: svn://10.0.0.236/trunk@33067 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:50:29 +00:00
alecf%netscape.com
742aefc647 remove calls to GetCharPref() (going away for nsIPref scriptability)
git-svn-id: svn://10.0.0.236/trunk@33066 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:48:49 +00:00
mcmullen%netscape.com
935485f6ac Removed base/baseDebug.shlb
git-svn-id: svn://10.0.0.236/trunk@33065 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:48:24 +00:00
akkana%netscape.com
83e9e8100d Add paste/insert as quotation into editor app cores to be accessible from JS.
git-svn-id: svn://10.0.0.236/trunk@33062 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:46:34 +00:00
pierre%netscape.com
6c1eeac67f #6988 "Click in grow box shrinks window by 1 pixel"
git-svn-id: svn://10.0.0.236/trunk@33061 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:42:49 +00:00
pierre%netscape.com
75ff1ae0ae #3930 "file selection control displays complete path"
git-svn-id: svn://10.0.0.236/trunk@33060 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:40:18 +00:00
pierre%netscape.com
2f9ac3f4fe Fixed eColor_TextSelectXXXXX
git-svn-id: svn://10.0.0.236/trunk@33059 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:38:43 +00:00
bienvenu%netscape.com
d4ad8ca047 fix build bustage in filter code
git-svn-id: svn://10.0.0.236/trunk@33058 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:38:24 +00:00
sfraser%netscape.com
52c77e40f7 Remove the appcore from the AppCoresManager in onunload().
git-svn-id: svn://10.0.0.236/trunk@33057 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:37:04 +00:00
pierre%netscape.com
c521aaf211 #7143 "Subscript element not properly supported"
git-svn-id: svn://10.0.0.236/trunk@33056 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:32:12 +00:00
ducarroz%netscape.com
a621ce34a3 Remove msgLocal dependency
git-svn-id: svn://10.0.0.236/trunk@33055 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:28:37 +00:00
pollmann%netscape.com
ab2d2ac01a Bug 3322: Opps, removing some debugging cruft.
git-svn-id: svn://10.0.0.236/trunk@33054 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:28:07 +00:00
bienvenu%netscape.com
a15f8bc010 checkpoint search and filter stuff
git-svn-id: svn://10.0.0.236/trunk@33053 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:26:55 +00:00
mcafee%netscape.com
d69a763605 Adding support for rhapsody build. r=briano, this change got stomped a while back.
git-svn-id: svn://10.0.0.236/trunk@33052 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:25:23 +00:00
sfraser%netscape.com
9d05f87b8c Fix ownership issues in the EditorAppCore, and removed some obsolete IID definitions. The EditorAppCore now holds the owning reference of the editor.
git-svn-id: svn://10.0.0.236/trunk@33051 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:23:03 +00:00
vidur%netscape.com
3de7a62b23 Fix for bug 6125. DOMImplementation::hasFeature() now works better
git-svn-id: svn://10.0.0.236/trunk@33050 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:22:47 +00:00
sfraser%netscape.com
b06e9252d3 Fix refcounting in the AppCoresManager's list of appcores.
git-svn-id: svn://10.0.0.236/trunk@33049 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:21:43 +00:00
rickg%netscape.com
09ee75b19d fixed bug 6950
git-svn-id: svn://10.0.0.236/trunk@33048 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:21:24 +00:00
sfraser%netscape.com
da0d7aa52f Removed obsolete IID definitions, use GetIID() instead.
git-svn-id: svn://10.0.0.236/trunk@33047 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:20:41 +00:00
sfraser%netscape.com
a3971dfdc8 Fix the event listeners to no longer hold owning pointer to the editor.
git-svn-id: svn://10.0.0.236/trunk@33046 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:19:51 +00:00
vidur%netscape.com
ba13725fae Added noscript qualifier to HTMLDocument::Open, Write and Writeln and moved the JS-specific versions over to NSHTMLDocument.
git-svn-id: svn://10.0.0.236/trunk@33045 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:18:48 +00:00
vidur%netscape.com
0f89791d58 Added support for noscript qualifier to attributes and methods. When this qualifier is used, the corresponding attribute or method is not reflected in the glue.
git-svn-id: svn://10.0.0.236/trunk@33044 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:17:38 +00:00
sfraser%netscape.com
64b0f22ee5 Change the transactions to have non-owning pointers to the editor.
git-svn-id: svn://10.0.0.236/trunk@33043 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:16:55 +00:00
sfraser%netscape.com
a6a9b7ff1b Changed transactions not to have owning pointers to the Editor.
git-svn-id: svn://10.0.0.236/trunk@33042 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:13:02 +00:00
sspitzer%netscape.com
ecc686ddd7 fix windows bustage for my change to nsPref.cpp
git-svn-id: svn://10.0.0.236/trunk@33041 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:06:51 +00:00
sspitzer%netscape.com
31cf7f4f21 if no prefs file exists, take a stab at creating a useful one for those inside netscape.
there aren't enough getter methods in the profile code to get the smtp server and the other info.
for now, all I can get is the default profile name


git-svn-id: svn://10.0.0.236/trunk@33040 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:03:43 +00:00
pollmann%netscape.com
dd73af6349 Bug 3322: GTK combo boxes send NS_CONTROL_CHANGE events appropriately.
git-svn-id: svn://10.0.0.236/trunk@33039 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:57:58 +00:00
pollmann%netscape.com
cbb27d7b1a Bug 3322: Adding NS_CONTROL_CHANGE event. This will be used for <SELECT>'s onChange.
git-svn-id: svn://10.0.0.236/trunk@33038 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:53:42 +00:00
mcmullen%netscape.com
2df1b20304 Removed base
git-svn-id: svn://10.0.0.236/trunk@33037 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:44:54 +00:00
akkana%netscape.com
aaa5a0d986 Fixing crash because of unprotected NULL ptr. - akkana & dp
git-svn-id: svn://10.0.0.236/trunk@33036 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:42:34 +00:00
pinkerton%netscape.com
fcd5e4098b remove obsolete tree/toolbar cid's
git-svn-id: svn://10.0.0.236/trunk@33035 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:39:49 +00:00
endico%mozilla.org
10019111c3 add missing )
git-svn-id: svn://10.0.0.236/trunk@33034 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:38:06 +00:00
mcmullen%netscape.com
7328b9506b Removed obsolete base/baseDebug.shlb
git-svn-id: svn://10.0.0.236/trunk@33033 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:28:37 +00:00
endico%mozilla.org
cbce679312 allow message/news mime type for included message as this is what is used by communicator 3.x
git-svn-id: svn://10.0.0.236/trunk@33032 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:25:52 +00:00
pinkerton%netscape.com
bf5c6d5787 removed obsolete class id's (trees, toolbars).
git-svn-id: svn://10.0.0.236/trunk@33031 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:22:20 +00:00
av%netscape.com
4cc6799ade Getting windowless plugin stuff into
git-svn-id: svn://10.0.0.236/trunk@33030 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:20:09 +00:00
wtc%netscape.com
5f8254e1e3 Bugzilla bug #7077: modified compile-et.pl so that it adds comments
(error strings) before the error code macro definitions in the
generated header.  Also updated prerr.h to reflect this change.
Thanks to John Gardiner Myers <jgmyers@netscape.com> for contributing
the fix.


git-svn-id: svn://10.0.0.236/trunk@33029 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:20:02 +00:00
pinkerton%netscape.com
7532f5f99a remove references and cid's for tree, toolbar, and content connector widgets. These no longer exist.
git-svn-id: svn://10.0.0.236/trunk@33028 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:17:14 +00:00
wtc%netscape.com
eb01f91b47 Bugzilla bug #4471: specify -mips3 when compiling on IRIX 6.5,
otherwise it defaults to -mips4 if the build machine is mips4.


git-svn-id: svn://10.0.0.236/trunk@33027 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:03:31 +00:00
dp%netscape.com
24134a98b3 Adding progid and classname
git-svn-id: svn://10.0.0.236/trunk@33026 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:47:27 +00:00
dp%netscape.com
59a44299f5 Removing ending ;
git-svn-id: svn://10.0.0.236/trunk@33025 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:45:24 +00:00
pnunn%netscape.com
baf00d853b Removing old defs and added tests for null ptrs. pnunn.
git-svn-id: svn://10.0.0.236/trunk@33024 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:42:57 +00:00
dp%netscape.com
786e6495f2 Adding PROGID and ClassName
git-svn-id: svn://10.0.0.236/trunk@33023 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:41:23 +00:00
pnunn%netscape.com
a4ee63dc0b Removing old defs. pnunn.
git-svn-id: svn://10.0.0.236/trunk@33022 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:40:52 +00:00
pinkerton%netscape.com
7d7ff977e0 fixes to get collapsed grippies to be the same size as the toolbar that was collapsed. It was my error that I caught earlier, but forgot to go back to it. Chris' code did the right thing.
git-svn-id: svn://10.0.0.236/trunk@33021 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:39:10 +00:00
dougt%netscape.com
872559b2e2 Adding proxy to the xpcom targets.
git-svn-id: svn://10.0.0.236/trunk@33020 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:36:30 +00:00
pnunn%netscape.com
0fd33088e3 Removing old def's. pnunn.
git-svn-id: svn://10.0.0.236/trunk@33019 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:36:17 +00:00
nisheeth%netscape.com
74f3d38e5c Allow LAYER tags to nest within themselves.
git-svn-id: svn://10.0.0.236/trunk@33018 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:28:31 +00:00
phillip%netscape.com
0683f4b25f fixed the initialization of run_time in test_url
git-svn-id: svn://10.0.0.236/trunk@33017 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:27:14 +00:00
nisheeth%netscape.com
c769b176af Accept percentage values for the LEFT and TOP attributes of the LAYER tag.
git-svn-id: svn://10.0.0.236/trunk@33016 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:26:23 +00:00
gayatrib%netscape.com
0f58123a8c A sample tree widget
git-svn-id: svn://10.0.0.236/trunk@33015 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:24:12 +00:00
akkana%netscape.com
a17f9d67df Add plaintext editor as an option in browser and editor menus
git-svn-id: svn://10.0.0.236/trunk@33014 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:21:48 +00:00
pinkerton%netscape.com
89169dcd21 more toolbar expanding/collapsing work. Significant portions donated by Chris Lattner. Thanks, Chris!
git-svn-id: svn://10.0.0.236/trunk@33013 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:17:25 +00:00
mscott%netscape.com
f0b1744305 Remove obsolete dependency on local.
git-svn-id: svn://10.0.0.236/trunk@33012 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:16:07 +00:00
mscott%netscape.com
656dc81b53 No longer need to link against local.
git-svn-id: svn://10.0.0.236/trunk@33011 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:14:51 +00:00
dougt%netscape.com
caa4ab68bc Proof of concept for SoftwareUpdate sidebar.
git-svn-id: svn://10.0.0.236/trunk@33010 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:14:10 +00:00
mscott%netscape.com
f122959927 Use nsIMgParseMailMsgState & the component manager so we don't have to link against local to pick up the message parser.
git-svn-id: svn://10.0.0.236/trunk@33009 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:13:57 +00:00
mscott%netscape.com
c7a630e624 Register component for nsIMgParseMailMsgState.
git-svn-id: svn://10.0.0.236/trunk@33008 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:11:18 +00:00
mscott%netscape.com
bacdc1fd8d use nsIMgParseMailMsgState. This generalizes the message parser behind an interface so other components can use it without linking against local.
git-svn-id: svn://10.0.0.236/trunk@33007 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:10:10 +00:00
alecf%netscape.com
265482041f fix script to use "Makefile.in" in addition to Makefile
git-svn-id: svn://10.0.0.236/trunk@33006 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:09:55 +00:00
despotdaemon%netscape.com
e3f8e1e82b Pseudo-automatic update of changes made by andreas.otte@primus-online.de.
git-svn-id: svn://10.0.0.236/trunk@33005 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:09:50 +00:00
mscott%netscape.com
912dd37391 Export nsIMsgParseMailMsgState.h
git-svn-id: svn://10.0.0.236/trunk@33004 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:09:15 +00:00
mscott%netscape.com
5ad0afc9b0 Add claas id for nsIMgParseMailMsgState
git-svn-id: svn://10.0.0.236/trunk@33003 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:06:40 +00:00
dougt%netscape.com
f74fc1db68 removing an evil and unneeded delete [].
git-svn-id: svn://10.0.0.236/trunk@33002 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:02:17 +00:00
phillip%netscape.com
36067e8aea cleaned up the url_list init routine and added a TODO for relative paths
git-svn-id: svn://10.0.0.236/trunk@33001 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:01:53 +00:00
valeski%netscape.com
2ca0726f11 added some extern module stuff #ifdef'd zero
git-svn-id: svn://10.0.0.236/trunk@33000 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 22:00:30 +00:00
amasri%netscape.com
46bade0898 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@32999 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:57:35 +00:00
mcmullen%netscape.com
f8124537e4 Removed obsolete base.shlb/baseDebug.shlb
git-svn-id: svn://10.0.0.236/trunk@32998 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:48:55 +00:00
sfraser%netscape.com
86e6e3dc96 Add GetIID() methods.
git-svn-id: svn://10.0.0.236/trunk@32997 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:47:38 +00:00
sfraser%netscape.com
f38ac12c18 Remove MathLib, which is now rolled into the InterfaceStubs library
git-svn-id: svn://10.0.0.236/trunk@32996 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:47:00 +00:00
phillip%netscape.com
1af9623598 smoketest perl script. should run in any unix flavor, but has dependencies
on killall, and other issues that might need to be rectified.


git-svn-id: svn://10.0.0.236/trunk@32995 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:44:06 +00:00
mcmullen%netscape.com
b31ee1a094 Removed obsolete base.shlb/baseDebug.shlb
git-svn-id: svn://10.0.0.236/trunk@32994 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:40:58 +00:00
mscott%netscape.com
81a3042d4b export nsIMsgParseMailMsgState.h
git-svn-id: svn://10.0.0.236/trunk@32993 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:39:28 +00:00
rhp%netscape.com
87bf68ae8e Adding new string bundle file
git-svn-id: svn://10.0.0.236/trunk@32992 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:37:10 +00:00
rhp%netscape.com
3e01b3a131 Adding string bundle properties file
git-svn-id: svn://10.0.0.236/trunk@32991 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:36:03 +00:00
rhp%netscape.com
c4d52014e9 Doing cleanup
git-svn-id: svn://10.0.0.236/trunk@32990 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:35:19 +00:00
rhp%netscape.com
0d40815f06 removed files: mozilla/mailnews/mime/cthandlers/vcard/oldi18n.c
git-svn-id: svn://10.0.0.236/trunk@32989 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:34:39 +00:00
valeski%netscape.com
e5f7a73eb9 added the idl dir and initial nsIHttpNotify.idl
git-svn-id: svn://10.0.0.236/trunk@32988 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:31:26 +00:00
valeski%netscape.com
575e5af27c module mananger implementation files
git-svn-id: svn://10.0.0.236/trunk@32987 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:30:31 +00:00
valeski%netscape.com
c052d96d7c idl: added the idl dir and some initial files.
added module manager headers and idl files


git-svn-id: svn://10.0.0.236/trunk@32986 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:29:52 +00:00
locka%iol.ie
003c65199f New test for post data
git-svn-id: svn://10.0.0.236/trunk@32985 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:29:12 +00:00
locka%iol.ie
abd8b8adcc New tab dialogs
git-svn-id: svn://10.0.0.236/trunk@32984 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:28:46 +00:00
locka%iol.ie
5100390c9b Revamped layout and fixed some refcount problems
git-svn-id: svn://10.0.0.236/trunk@32983 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:28:13 +00:00
locka%iol.ie
4990561042 no message
git-svn-id: svn://10.0.0.236/trunk@32982 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:27:35 +00:00
locka%iol.ie
eafd9fcb69 Added activescript mime type
git-svn-id: svn://10.0.0.236/trunk@32981 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:27:20 +00:00
locka%iol.ie
b763bb4066 Added #include for ActiveScript.h and ItemContainer.h
git-svn-id: svn://10.0.0.236/trunk@32980 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:26:28 +00:00
dougt%netscape.com
5ba4026869 Changes and bug fixes suggested by brendan.
git-svn-id: svn://10.0.0.236/trunk@32979 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:25:43 +00:00
locka%iol.ie
be3b08d07a Added framework for plugin to support VBScript and JScript files
git-svn-id: svn://10.0.0.236/trunk@32978 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:24:47 +00:00
locka%iol.ie
42226b5df8 Removed. DEF file is generated from a script now
git-svn-id: svn://10.0.0.236/trunk@32977 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:23:35 +00:00
locka%iol.ie
719493e64a Fixed new window navigation code (bad return op)
git-svn-id: svn://10.0.0.236/trunk@32976 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:22:42 +00:00
locka%iol.ie
5e5edcdbdd Added ItemContainer.cpp/obj targets
Added targets for building npmozctl in plugin or control only modes
Added target to create npmozctl.def using a batch file


git-svn-id: svn://10.0.0.236/trunk@32975 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:21:34 +00:00
locka%iol.ie
e8dc9fadb1 Move Ole item container stuff into separate class
git-svn-id: svn://10.0.0.236/trunk@32974 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:20:00 +00:00
locka%iol.ie
101f91d00b no message
git-svn-id: svn://10.0.0.236/trunk@32973 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:18:29 +00:00
kmcclusk%netscape.com
45d6c97be2 fixes for bugs #5809, #5852, #6828, #6973.
Added a new test16.html sample to test gfx-rendered widgets to viewer.
Added support for test17.html sample to test printing.


git-svn-id: svn://10.0.0.236/trunk@32972 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:17:10 +00:00
locka%iol.ie
8de19e46fe Ole item container methods seperated from control site class
git-svn-id: svn://10.0.0.236/trunk@32971 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:16:06 +00:00
sfraser%netscape.com
1139fd18b2 Add GetIID() method.
git-svn-id: svn://10.0.0.236/trunk@32970 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:16:03 +00:00
locka%iol.ie
6da03d4790 Batch file for creating npmozctl.def depending on the settings
git-svn-id: svn://10.0.0.236/trunk@32969 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:15:08 +00:00
mcmullen%netscape.com
3d6a617237 No longer maintained
git-svn-id: svn://10.0.0.236/trunk@32968 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:14:33 +00:00
jefft%netscape.com
3b12e8a8f7 fixed bug 7163 - imap directory not automatically created if missing
git-svn-id: svn://10.0.0.236/trunk@32967 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:14:02 +00:00
valeski%netscape.com
0986f52eb2 removed these two because they've been added to the proper idl directory
git-svn-id: svn://10.0.0.236/trunk@32966 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:13:34 +00:00
kmcclusk%netscape.com
c6457d5277 fix for bug #6876 File open dialog shown twice. Removed call to Show() in GetFile().
GetFile should only be used retrieve settings it should not have a side effect of
showing the dialog.
Added WIN32 support for top-level borderless windows.


git-svn-id: svn://10.0.0.236/trunk@32965 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:09:49 +00:00
hyatt%netscape.com
12a219cc2e Teaching windows to check their enclosing chrome documents for capture
(and bubbling).


git-svn-id: svn://10.0.0.236/trunk@32964 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:06:51 +00:00
dougt%netscape.com
2b080200d0 adjusting #ifdef below the SetScriptObject definition.
git-svn-id: svn://10.0.0.236/trunk@32963 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:06:04 +00:00
hyatt%netscape.com
6c7b70d9cf Web shells now know about their enclosed chrome shell.
git-svn-id: svn://10.0.0.236/trunk@32962 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:05:27 +00:00
hyatt%netscape.com
ba4d048748 (1) The document now checks the window for capture.
(2) Frames and iframes now know their nearest enclosing chrome shells.


git-svn-id: svn://10.0.0.236/trunk@32961 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:04:52 +00:00
hyatt%netscape.com
e8b9317e9a Implementing document and window capture in the XUL DOM.
git-svn-id: svn://10.0.0.236/trunk@32960 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:03:59 +00:00
dougt%netscape.com
000ebd5129 Fixed Reported Bugs: 5577, 5579, 5580, 6116, 6620, 6621, 6707, 6709, 6714.
Fixed overloading
Fixed calls to version registry
removed nsInstallInfo from the stream listener.


git-svn-id: svn://10.0.0.236/trunk@32959 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:02:57 +00:00
saari%netscape.com
c3676ddd14 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@32958 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:00:28 +00:00
sdagley%netscape.com
c617dbe6a8 Add new method to find out what type of file the user selected from the type/filter list in the save dialog.
git-svn-id: svn://10.0.0.236/trunk@32957 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:54:53 +00:00
mscott%netscape.com
50cf3af193 Not part of build yet. An interface that will sit on top of the message mail statee parser so other components can use it.
git-svn-id: svn://10.0.0.236/trunk@32956 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:53:19 +00:00
kin%netscape.com
ee983116d2 Changed all occurrences of GetUndoString() and GetRedoString() to accept nsString *.
git-svn-id: svn://10.0.0.236/trunk@32955 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:50:52 +00:00
kin%netscape.com
738e62b792 Changed GetUndoString() and GetRedoString() to use nsString *.
git-svn-id: svn://10.0.0.236/trunk@32954 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:50:05 +00:00
kin%netscape.com
7bc6609fe1 Changed interface and implementation to us NS_IMETHOD and NS_IMPMETHOD macros.
git-svn-id: svn://10.0.0.236/trunk@32953 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:48:55 +00:00
bruce%cybersight.com
52e19f80ba should've been a forward declaration of nsIPresContext. This will remove 117 warnings.
git-svn-id: svn://10.0.0.236/trunk@32952 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:48:01 +00:00
erik%netscape.com
a0126ba567 Switched over to auto-registration. Added Unix and Mac support.
git-svn-id: svn://10.0.0.236/trunk@32951 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:46:26 +00:00
tague%netscape.com
fcbcd25ccd Fix bug #6680 Mac -date not displayed in thread pane.
git-svn-id: svn://10.0.0.236/trunk@32950 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:42:15 +00:00
morse%netscape.com
f75dce26e9 clean up usage of prefs
git-svn-id: svn://10.0.0.236/trunk@32949 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:40:38 +00:00
tague%netscape.com
53e250e5db Fix for bug #6680 Mac - date not displayed in Message pane folders.
git-svn-id: svn://10.0.0.236/trunk@32948 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:39:13 +00:00
nhotta%netscape.com
8713fb96f4 Test for GetIID().
git-svn-id: svn://10.0.0.236/trunk@32947 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:37:48 +00:00
danm%netscape.com
71f871b32e disseminate search part of chrome URL to contained webshells as content URLs
git-svn-id: svn://10.0.0.236/trunk@32946 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:36:15 +00:00
nhotta%netscape.com
71fb9cdaa9 Added GetIID().
git-svn-id: svn://10.0.0.236/trunk@32945 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:36:11 +00:00
danm%netscape.com
b6a87070d1 save search part of URL when munging and reconstructing
git-svn-id: svn://10.0.0.236/trunk@32944 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:34:42 +00:00
terry%mozilla.org
826c87d676 Oops; was flailing if rankdir wasn't defined.
git-svn-id: svn://10.0.0.236/trunk@32943 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 20:20:57 +00:00
terry%mozilla.org
645adb498b Allow user to control orientation of graph; default it to left-to-right.
git-svn-id: svn://10.0.0.236/trunk@32942 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 19:53:25 +00:00
sspitzer%netscape.com
db94f5bdc4 fix bustage.
we used to have -llocalmail in our link line.  but that's a component, so that's
wrong, so mcafee removed it.  but we weren't linking against liblocalmail.so, we were actually linking in liblocalmail.a.  but briano's change to mozilla/config/rules.mk made it so liblocalmail.a got moved into dist/lib/components, so now
we need to explictly link against this .a

the problem is in this .a is a class that we need.  mscott is working on
the right fix, and he'll remove this when he re-arranges the code.


git-svn-id: svn://10.0.0.236/trunk@32941 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 19:14:42 +00:00
terry%mozilla.org
eca43aebd8 Notify by mail whenever a related bug changes status.
git-svn-id: svn://10.0.0.236/trunk@32940 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 18:18:29 +00:00
mcmullen%netscape.com
e3d8b1723a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@32939 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 17:59:00 +00:00
terry%mozilla.org
b36743f38f Patched minor security hole; don't show summary of bugs that the user
doesn't have permission to see.


git-svn-id: svn://10.0.0.236/trunk@32938 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 15:17:25 +00:00
dcone%netscape.com
10a88b0aec Fixed bug 4904 -- converted to DIB, then printed..
git-svn-id: svn://10.0.0.236/trunk@32937 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 14:48:15 +00:00
terry%mozilla.org
99b60f19eb Make sure every node that we asked about shows up in the graph, even
if it doesn't have any dependency relationships.


git-svn-id: svn://10.0.0.236/trunk@32936 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 14:42:19 +00:00
terry%mozilla.org
cc21ba2461 Added dependencies, so that you can mark which bugs depend on which
other ones.


git-svn-id: svn://10.0.0.236/trunk@32935 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 14:13:41 +00:00
rhp%netscape.com
df198909c3 Fix for 8bit character display in vcards
git-svn-id: svn://10.0.0.236/trunk@32934 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 12:19:36 +00:00
mccabe%netscape.com
941450016c Fix to 6880. xpt_link now prints an informative error message when it encounters duplicate interface names with different iids.
git-svn-id: svn://10.0.0.236/trunk@32933 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 11:02:05 +00:00
rickg%netscape.com
7efb6bc5b9 cleanup warnings
git-svn-id: svn://10.0.0.236/trunk@32932 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 10:57:22 +00:00
rickg%netscape.com
e725246f20 cleanup warnings
git-svn-id: svn://10.0.0.236/trunk@32931 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 10:53:29 +00:00
rickg%netscape.com
2b68d411fb fix bug 5094
git-svn-id: svn://10.0.0.236/trunk@32930 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 10:33:50 +00:00
rickg%netscape.com
84c1546321 fix bug 5094
git-svn-id: svn://10.0.0.236/trunk@32929 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 10:32:33 +00:00
rickg%netscape.com
67386c5d2b fixed bug in findStr
git-svn-id: svn://10.0.0.236/trunk@32928 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 10:28:50 +00:00
mccabe%netscape.com
d294b25d15 Fix to 5032. xpt_link and xpt_dump now detect input files with bad 'XPCOM TypeLib" headers and fail gracefully with informative error messages, rather than crashing.
Yes, I'm pretty confident this checkin won't interact with the current runtime bustage.


git-svn-id: svn://10.0.0.236/trunk@32927 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 10:11:32 +00:00
dp%netscape.com
05ab725ffe Patch from andreas.otte@primus-online.de Thanks Andreas
git-svn-id: svn://10.0.0.236/trunk@32926 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 08:50:52 +00:00
rickg%netscape.com
50850f828c fixed bug in nsString2::find() -- this will soon use boyer-moore
git-svn-id: svn://10.0.0.236/trunk@32925 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 07:59:16 +00:00
rickg%netscape.com
0ca0dd52fd changed to align with nsString2
git-svn-id: svn://10.0.0.236/trunk@32924 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 07:38:37 +00:00
rickg%netscape.com
3247092783 fix nsString2 link error
git-svn-id: svn://10.0.0.236/trunk@32923 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 07:29:33 +00:00
rickg%netscape.com
43d615affd Added IsValidFragment()
git-svn-id: svn://10.0.0.236/trunk@32922 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 06:44:44 +00:00
alecf%netscape.com
b73b8cb8b2 API change GetUserName -> GetUsername
git-svn-id: svn://10.0.0.236/trunk@32921 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 06:40:41 +00:00
alecf%netscape.com
38c264dc74 include the right CID file
git-svn-id: svn://10.0.0.236/trunk@32920 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 06:38:20 +00:00
mcafee%netscape.com
0df73ec598 Looks like liblocalmail became a component, removing it from the link line.
git-svn-id: svn://10.0.0.236/trunk@32919 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 06:37:04 +00:00
bienvenu%netscape.com
366ad15bae fix build bustage
git-svn-id: svn://10.0.0.236/trunk@32918 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 06:32:31 +00:00
alecf%netscape.com
4ae56ead0a oops, trailing semicolon
git-svn-id: svn://10.0.0.236/trunk@32917 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 06:31:10 +00:00
alecf%netscape.com
c68af1f705 IDL-ify three more interfaces
git-svn-id: svn://10.0.0.236/trunk@32916 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 06:30:01 +00:00
bienvenu%netscape.com
01d76c68b5 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@32915 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 06:24:06 +00:00
alecf%netscape.com
7386dfda61 remove useless IDL file
git-svn-id: svn://10.0.0.236/trunk@32914 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 06:19:20 +00:00
bienvenu%netscape.com
274ea0802f fix build bustage
git-svn-id: svn://10.0.0.236/trunk@32913 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 06:08:15 +00:00
alecf%netscape.com
b2898f19d3 remove useless nsIMsg.h
git-svn-id: svn://10.0.0.236/trunk@32912 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 06:04:43 +00:00
alecf%netscape.com
eaf90f5247 API change GetUserName -> GetUsername
git-svn-id: svn://10.0.0.236/trunk@32911 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:54:06 +00:00
alecf%netscape.com
637bf8cbd4 API change - GetUserName -> GetUsername
git-svn-id: svn://10.0.0.236/trunk@32910 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:51:24 +00:00
bienvenu%netscape.com
956ac1ae96 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@32909 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:47:52 +00:00
alecf%netscape.com
83ede1c3cb API change - Get/SetUserName -> Get/SetUsername
git-svn-id: svn://10.0.0.236/trunk@32908 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:47:28 +00:00
alecf%netscape.com
6e661fd1e5 API name change
git-svn-id: svn://10.0.0.236/trunk@32907 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:43:30 +00:00
alecf%netscape.com
1d7c7f46f2 stop exporting generated files
git-svn-id: svn://10.0.0.236/trunk@32906 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:38:50 +00:00
bienvenu%netscape.com
8113ea6c5a get filter stuff linking
git-svn-id: svn://10.0.0.236/trunk@32905 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:36:13 +00:00
alecf%netscape.com
215d241d04 rename GetUserName -> GetUsername because Win32 substitutes all GetUserName's with GetUserNameA
git-svn-id: svn://10.0.0.236/trunk@32904 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:36:10 +00:00
alecf%netscape.com
b86cd0452a remove this useless header file
git-svn-id: svn://10.0.0.236/trunk@32903 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:30:16 +00:00
alecf%netscape.com
582a9185ae add CIDs from interface files
git-svn-id: svn://10.0.0.236/trunk@32902 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:23:22 +00:00
alecf%netscape.com
29be124720 add component URLs to all our components so they are now scriptable
git-svn-id: svn://10.0.0.236/trunk@32901 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:23:08 +00:00
alecf%netscape.com
cd489ad8c5 rev these interfaces
add "scriptable" attribute to all interfaces
fix some bogus IIDs
redeclare some stuff in IDL that wasn't declared before


git-svn-id: svn://10.0.0.236/trunk@32900 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:19:55 +00:00
alecf%netscape.com
31d7890554 IDLify this interface - had to change char* to const char*
git-svn-id: svn://10.0.0.236/trunk@32899 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:19:02 +00:00
bruce%cybersight.com
d4e8e106ad 'friend class' instead of 'friend' .. HP-UX's aCC requires this.
git-svn-id: svn://10.0.0.236/trunk@32898 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:18:59 +00:00
bruce%cybersight.com
ee1b4aecf8 HP-UX's aCC compiler requires main() to return int.
git-svn-id: svn://10.0.0.236/trunk@32897 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:17:27 +00:00
bruce%cybersight.com
2262015b95 main() must return int for HP-UX's aCC compiler.
git-svn-id: svn://10.0.0.236/trunk@32896 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:14:57 +00:00
bruce%cybersight.com
6df9b5515f Add line feed on last line for native unix compilers.
git-svn-id: svn://10.0.0.236/trunk@32895 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:13:32 +00:00
bruce%cybersight.com
3980522bcc Fix a small memory leak.
git-svn-id: svn://10.0.0.236/trunk@32894 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:12:12 +00:00
bienvenu%netscape.com
d948bc1de7 add GetPriority
git-svn-id: svn://10.0.0.236/trunk@32893 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 05:09:00 +00:00
alecf%netscape.com
1e2082a55c finish IDL-ifying these interfaces
Also stop caching the local mail directory in the pop3 sink and instead ask for it on demand from the nsIMsgIncomingServer


git-svn-id: svn://10.0.0.236/trunk@32892 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:56:53 +00:00
alecf%netscape.com
4c209b88a6 remove unnecessary windows-specific code
git-svn-id: svn://10.0.0.236/trunk@32891 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:55:40 +00:00
alecf%netscape.com
b6a9d43c58 fix these asserts so that we know which variable is bad
git-svn-id: svn://10.0.0.236/trunk@32890 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:55:10 +00:00
alecf%netscape.com
d120241f1f IDL-ify these interfaces
move CIDs into nsMsgLocalCID


git-svn-id: svn://10.0.0.236/trunk@32889 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:53:32 +00:00
alecf%netscape.com
241968b8ac IDL-ify this interface
had to make nsFileSpec non-const for now


git-svn-id: svn://10.0.0.236/trunk@32888 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:51:20 +00:00
alecf%netscape.com
a5732710d0 include the CID file because CIDs are going away from interfaces
git-svn-id: svn://10.0.0.236/trunk@32887 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:47:13 +00:00
bienvenu%netscape.com
9bf0b9cc22 add GetPriority method
git-svn-id: svn://10.0.0.236/trunk@32886 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:40:52 +00:00
putterman%netscape.com
b73c3f375a Remove images from threadPane to speed up.
git-svn-id: svn://10.0.0.236/trunk@32885 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:40:41 +00:00
briano%netscape.com
c5c63ae38f Put component .a files in the right place.
git-svn-id: svn://10.0.0.236/trunk@32884 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:25:42 +00:00
dp%netscape.com
fbfb36b38c Fixing tests to link with components/libraptorhtml.so. This aint the right thing. The test should be modified to use the componentmanager to get to the object
git-svn-id: svn://10.0.0.236/trunk@32883 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:21:30 +00:00
sfraser%netscape.com
86400388d0 Fix for bug 4051 -- with large memory allocation, quit on launch. Was a numeric overflow in the memory manager initialization.
git-svn-id: svn://10.0.0.236/trunk@32882 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:12:22 +00:00
sfraser%netscape.com
c084b125b6 Add Find, FindNext, and RunUnitTest calls.
git-svn-id: svn://10.0.0.236/trunk@32881 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:10:41 +00:00
sfraser%netscape.com
580f23cfb4 Add unit test call to nsIEditor, and implement it in nsText- and nsHTMLEditors.
git-svn-id: svn://10.0.0.236/trunk@32880 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:10:04 +00:00
sfraser%netscape.com
e35dabfe6c Remove the old key code function, and call the new unit test routine
git-svn-id: svn://10.0.0.236/trunk@32879 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:08:59 +00:00
sfraser%netscape.com
47ef8f5d66 Add Find, Find Next, and Unit Test menu items
git-svn-id: svn://10.0.0.236/trunk@32878 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:08:11 +00:00
sfraser%netscape.com
0126a0d7da Change dedent to outdent, and alignpopup to align.
git-svn-id: svn://10.0.0.236/trunk@32877 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:06:54 +00:00
sfraser%netscape.com
0b4fb25a6c Fix the page title
git-svn-id: svn://10.0.0.236/trunk@32876 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:06:17 +00:00
cmanske%netscape.com
d636aa3f93 Changed ED_AlignPopup.gif to ED_Alig.gif in makefiles
git-svn-id: svn://10.0.0.236/trunk@32875 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:04:02 +00:00
leaf%mozilla.org
4e77af1360 fixing -kb flag
git-svn-id: svn://10.0.0.236/trunk@32874 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 04:01:08 +00:00
sfraser%netscape.com
b52cf7a2d2 Add page titles, and white background through style.
git-svn-id: svn://10.0.0.236/trunk@32873 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:56:07 +00:00
cmanske%netscape.com
40995de196 Readding gifs with -kb
git-svn-id: svn://10.0.0.236/trunk@32872 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:48:52 +00:00
alecf%netscape.com
81f21fb3d3 fix memory leak
git-svn-id: svn://10.0.0.236/trunk@32871 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:48:37 +00:00
bienvenu%netscape.com
6dbcf00c03 add exports for search adaptor
git-svn-id: svn://10.0.0.236/trunk@32870 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:47:43 +00:00
cmanske%netscape.com
dfaf135e8c Removing gifs not checked in with -kb
git-svn-id: svn://10.0.0.236/trunk@32869 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:47:05 +00:00
cmanske%netscape.com
7dd52e699b Removing gif not checked in with -kb
git-svn-id: svn://10.0.0.236/trunk@32868 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:45:36 +00:00
alecf%netscape.com
9f85645497 fix some leaks by using nsXPIDLCString
git-svn-id: svn://10.0.0.236/trunk@32867 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:43:52 +00:00
bienvenu%netscape.com
ac017fdaa8 d'oh, cpp files
git-svn-id: svn://10.0.0.236/trunk@32866 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:43:43 +00:00
sfraser%netscape.com
70eb047d5c File Removed.
git-svn-id: svn://10.0.0.236/trunk@32865 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:43:02 +00:00
sfraser%netscape.com
8ee2ca49aa First Checked In.
git-svn-id: svn://10.0.0.236/trunk@32864 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:42:49 +00:00
sfraser%netscape.com
3e4a97652b Fix -kb flag
git-svn-id: svn://10.0.0.236/trunk@32863 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:40:22 +00:00
jdunn%netscape.com
b17ebf8e4c backing out my change to LIBS_DIR... this will get the tests building again
git-svn-id: svn://10.0.0.236/trunk@32862 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:35:52 +00:00
bienvenu%netscape.com
499fa8012f fix unix build problem
git-svn-id: svn://10.0.0.236/trunk@32861 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:33:12 +00:00
sspitzer%netscape.com
43bbc4ab19 fix build bustage on UNIX
git-svn-id: svn://10.0.0.236/trunk@32860 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:31:25 +00:00
sspitzer%netscape.com
94548f7847 fix UNIX build bustage
git-svn-id: svn://10.0.0.236/trunk@32859 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:30:33 +00:00
blizzard%redhat.com
df93e5b409 start breaking out widgets into their own classes
git-svn-id: svn://10.0.0.236/trunk@32858 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:26:18 +00:00
bienvenu%netscape.com
1af0d39200 add export and new objs
git-svn-id: svn://10.0.0.236/trunk@32857 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 03:25:01 +00:00
jdunn%netscape.com
67de40dbf5 Add AIX/ppc source files for compiling
git-svn-id: svn://10.0.0.236/trunk@32856 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 02:56:47 +00:00
jdunn%netscape.com
7db211aa5c xptcall files for PowerPC/POWER/POWER2 architecture for AIX
git-svn-id: svn://10.0.0.236/trunk@32855 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 02:56:03 +00:00
sspitzer%netscape.com
c2787101ae remove unnecessary crap
git-svn-id: svn://10.0.0.236/trunk@32854 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 02:50:46 +00:00
dp%netscape.com
c8c3ae6671 Fixing tests by linking in a component dll raptorhtml
git-svn-id: svn://10.0.0.236/trunk@32853 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 02:46:26 +00:00
sspitzer%netscape.com
0392492c8e fixed this test to go through the component manager. turn it back on.
git-svn-id: svn://10.0.0.236/trunk@32852 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 02:41:16 +00:00
ramiro%netscape.com
0896868259 Remove these from the unix build to reduce the evil possibility of a fork.
git-svn-id: svn://10.0.0.236/trunk@32851 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 02:31:44 +00:00
sspitzer%netscape.com
7824659ae2 commenting out tests until we get them to work
git-svn-id: svn://10.0.0.236/trunk@32850 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 02:25:56 +00:00
slamm%netscape.com
35aa96cf75 Use absolute path for link in sidebar panel.
git-svn-id: svn://10.0.0.236/trunk@32849 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 02:18:19 +00:00
sspitzer%netscape.com
a95a637288 fix UNIX build bustage
git-svn-id: svn://10.0.0.236/trunk@32847 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 02:04:41 +00:00
sspitzer%netscape.com
90776e45b2 fix UNIX build bustage
git-svn-id: svn://10.0.0.236/trunk@32846 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:52:34 +00:00
akkana%netscape.com
e742bedf03 Require pref headers now
git-svn-id: svn://10.0.0.236/trunk@32845 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:46:06 +00:00
sspitzer%netscape.com
5d502b0735 fix the makefile. looks like this test will need to be worked on to
get it to link.  commenting out of build for now.


git-svn-id: svn://10.0.0.236/trunk@32844 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:46:01 +00:00
bienvenu%netscape.com
90ae0652bb fix build bustage by adding prefs include
git-svn-id: svn://10.0.0.236/trunk@32843 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:45:27 +00:00
sspitzer%netscape.com
18fad49073 don't need to do this. back it out.
git-svn-id: svn://10.0.0.236/trunk@32842 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:41:47 +00:00
rjc%netscape.com
823d8b28af Add translation button option to browser toolbar.
git-svn-id: svn://10.0.0.236/trunk@32841 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:27:48 +00:00
mcmullen%netscape.com
0b24073733 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@32840 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:27:31 +00:00
slamm%netscape.com
24403c35b6 Put "C" links back. People want them.
git-svn-id: svn://10.0.0.236/trunk@32839 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:26:56 +00:00
sspitzer%netscape.com
66b2feeaba fix UNIX build bustage. we will still have runtime bustage, but I'll fix that
next


git-svn-id: svn://10.0.0.236/trunk@32837 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:22:14 +00:00
jj%netscape.com
fe61ced7bb updated version to M7 in Finder's get info string (tip)
git-svn-id: svn://10.0.0.236/trunk@32835 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:17:55 +00:00
mcafee%netscape.com
d7d4ac5401 There is no tests directory here.
git-svn-id: svn://10.0.0.236/trunk@32833 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:11:39 +00:00
mcafee%netscape.com
ff327d82b9 Some code wasn't ifdef'd for DOING_FILTERS properly. a=bienvenu
git-svn-id: svn://10.0.0.236/trunk@32832 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:07:24 +00:00
sspitzer%netscape.com
9b14315a11 fix unix build breakage
git-svn-id: svn://10.0.0.236/trunk@32831 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 01:06:51 +00:00
mcafee%netscape.com
e01c4bdb2b -lraptorhtml is a component now, don't link with it.
git-svn-id: svn://10.0.0.236/trunk@32830 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 00:55:09 +00:00
bienvenu%netscape.com
18e3b3048a try to fix unix build bustage
git-svn-id: svn://10.0.0.236/trunk@32829 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 00:52:18 +00:00
rjc%netscape.com
c40c66fe3d Enabled language translation menu items.
git-svn-id: svn://10.0.0.236/trunk@32828 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 00:47:58 +00:00
sspitzer%netscape.com
5671027b87 fix unix build bustage
git-svn-id: svn://10.0.0.236/trunk@32826 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 00:24:49 +00:00
slamm%netscape.com
a0e042f38c Only refresh sidebar panel every 5 minutes.
git-svn-id: svn://10.0.0.236/trunk@32825 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 00:22:02 +00:00
akkana%netscape.com
156d763247 Insert / Paste as Quotation.
git-svn-id: svn://10.0.0.236/trunk@32824 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 00:08:15 +00:00
slamm%netscape.com
e8fdf841dd Use static pages for tinderbox instead of scripts. Fix for 7091. Approved by chofmann.
git-svn-id: svn://10.0.0.236/trunk@32823 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 00:07:06 +00:00
sfraser%netscape.com
af6ac5dfd1 Add nsAOLCiter.cpp and nsInternetCiter.cpp for akkana.
git-svn-id: svn://10.0.0.236/trunk@32822 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 00:04:31 +00:00
bienvenu%netscape.com
e7490b6b23 more work on search and filters
git-svn-id: svn://10.0.0.236/trunk@32821 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 00:04:10 +00:00
mcmullen%netscape.com
0c0cedbbc6 Set switches to prevent whining.
git-svn-id: svn://10.0.0.236/trunk@32820 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 00:00:38 +00:00
peterl%netscape.com
a2fae0d329 tweaks to css loader handling
git-svn-id: svn://10.0.0.236/trunk@32819 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:59:00 +00:00
peterl%netscape.com
5595317476 use css loader to load css sheets
better css handling


git-svn-id: svn://10.0.0.236/trunk@32818 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:58:06 +00:00
bienvenu%netscape.com
2e0166ad71 fix memory leaks and problem with stale msf files after marking read via reading a msg
git-svn-id: svn://10.0.0.236/trunk@32817 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:57:21 +00:00
peterl%netscape.com
b03385d1b8 fixed ref counting of global atoms
git-svn-id: svn://10.0.0.236/trunk@32816 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:56:57 +00:00
bienvenu%netscape.com
c2b91a445c changes for mail filters, including setting root folder for server
git-svn-id: svn://10.0.0.236/trunk@32815 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:56:21 +00:00
peterl%netscape.com
1fb18ff43d sync to nsIStyledContent API change
git-svn-id: svn://10.0.0.236/trunk@32814 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:55:49 +00:00
peterl%netscape.com
648d964b00 changed cascading code to include rules from children
added rule cascade per media


git-svn-id: svn://10.0.0.236/trunk@32813 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:55:12 +00:00
peterl%netscape.com
ac26eb5e97 better handling of CR/LF after escapes
git-svn-id: svn://10.0.0.236/trunk@32812 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:53:39 +00:00
peterl%netscape.com
9f25668214 better handling of bad @imports
git-svn-id: svn://10.0.0.236/trunk@32811 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:53:16 +00:00
peterl%netscape.com
6402470144 added load agent sheet
added support for non-blocking inline sheets


git-svn-id: svn://10.0.0.236/trunk@32810 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:52:37 +00:00
bienvenu%netscape.com
4a1940cef2 changes for mail filters
git-svn-id: svn://10.0.0.236/trunk@32809 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:51:53 +00:00
peterl%netscape.com
e487e20991 added Clearmedia
git-svn-id: svn://10.0.0.236/trunk@32808 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:51:42 +00:00
peterl%netscape.com
ca3b3a5c45 added drop doc reference
added load agent sheet
added usage notes


git-svn-id: svn://10.0.0.236/trunk@32807 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:51:25 +00:00
peterl%netscape.com
47dac71798 drop doc reference on CSS loader
git-svn-id: svn://10.0.0.236/trunk@32806 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:50:26 +00:00
peterl%netscape.com
a47fc826f9 made inline style sheet non-blocking
fixed processing of link type ("rel")
fixed handling of mime type


git-svn-id: svn://10.0.0.236/trunk@32805 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:49:33 +00:00
peterl%netscape.com
2f48852462 prepped MapAttributeInto for use with table cells too
git-svn-id: svn://10.0.0.236/trunk@32804 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:48:19 +00:00
putterman%netscape.com
4959bb80c8 Add treecol style and add with tag to columns.
git-svn-id: svn://10.0.0.236/trunk@32803 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:47:33 +00:00
peterl%netscape.com
57eef2000d sync to nsIStyledContent API change
add table style rule to table cell


git-svn-id: svn://10.0.0.236/trunk@32802 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:47:19 +00:00
putterman%netscape.com
09dc1f3a12 More work on DeleteFolders.
git-svn-id: svn://10.0.0.236/trunk@32801 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:47:01 +00:00
peterl%netscape.com
438c25b48d sync to nsIStyledContent API change
git-svn-id: svn://10.0.0.236/trunk@32800 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:46:45 +00:00
putterman%netscape.com
bb9287a4c6 Speed up peqWithParameters.
git-svn-id: svn://10.0.0.236/trunk@32799 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:46:11 +00:00
peterl%netscape.com
8e305ff705 use CSS loader to load ua.css
git-svn-id: svn://10.0.0.236/trunk@32798 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:45:37 +00:00
putterman%netscape.com
35518dc271 Add methods for deleting folders.
git-svn-id: svn://10.0.0.236/trunk@32797 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:45:03 +00:00
peterl%netscape.com
56971cfe55 added assertion to resolve style
git-svn-id: svn://10.0.0.236/trunk@32796 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:44:56 +00:00
briano%netscape.com
fcb08ca6c5 Automated update
git-svn-id: svn://10.0.0.236/trunk@32795 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:44:47 +00:00
peterl%netscape.com
2c1e117763 changed style rule API to use array
git-svn-id: svn://10.0.0.236/trunk@32794 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:44:32 +00:00
peterl%netscape.com
65253c8003 switch to CSS loader for loading CSS sheets
fixed mime type processing


git-svn-id: svn://10.0.0.236/trunk@32793 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:43:40 +00:00
peterl%netscape.com
ecf990dfb9 tweaks to CSS loader usage
git-svn-id: svn://10.0.0.236/trunk@32792 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:42:29 +00:00
peterl%netscape.com
4d494b07ec made Equals() test ref & search too
git-svn-id: svn://10.0.0.236/trunk@32791 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:41:22 +00:00
sspitzer%netscape.com
ca3c4a9b18 build tests and mailnews by default now.
git-svn-id: svn://10.0.0.236/trunk@32790 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:34:47 +00:00
briano%netscape.com
96d4e74d3f Automated update
git-svn-id: svn://10.0.0.236/trunk@32789 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:29:47 +00:00
jdunn%netscape.com
51a88ee945 for AIX we need to use the C compiler for the assembler - this is
for the xptcall stuff


git-svn-id: svn://10.0.0.236/trunk@32788 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:26:31 +00:00
beard%netscape.com
714023e638 changed access paths
git-svn-id: svn://10.0.0.236/trunk@32787 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:21:40 +00:00
beard%netscape.com
01c730055a bumped version to 1.0d5
git-svn-id: svn://10.0.0.236/trunk@32786 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:20:41 +00:00
beard%netscape.com
a6619dfacb added <stdio.h> since xpt_xdr.h no longer #includes nspr includes.
git-svn-id: svn://10.0.0.236/trunk@32785 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:20:24 +00:00
beard%netscape.com
dd78165338 removed unnecessary NSPR include files
git-svn-id: svn://10.0.0.236/trunk@32784 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:20:23 +00:00
beard%netscape.com
6a2be890f5 added prlog.h, prprf.h since since xpt_xdr.h no longer includes nspr headers.
git-svn-id: svn://10.0.0.236/trunk@32783 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:20:22 +00:00
sspitzer%netscape.com
18e0727f96 cvs ignorage
git-svn-id: svn://10.0.0.236/trunk@32782 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:19:18 +00:00
beard%netscape.com
e7a351adf6 linker now generates aliases to headers in project output directory.
git-svn-id: svn://10.0.0.236/trunk@32781 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:17:34 +00:00
beard%netscape.com
75f674aa06 header files are now linkable.
git-svn-id: svn://10.0.0.236/trunk@32780 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:17:31 +00:00
beard%netscape.com
6bfedcbca8 now compiles header files into the project data folder.
git-svn-id: svn://10.0.0.236/trunk@32779 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:17:28 +00:00
akkana%netscape.com
3ec15b44de Add Internet and AOL style citers
git-svn-id: svn://10.0.0.236/trunk@32778 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:14:05 +00:00
akkana%netscape.com
b1ae4e654f Add nsICiter, for mail quoting
git-svn-id: svn://10.0.0.236/trunk@32777 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:13:03 +00:00
mscott%netscape.com
661a028cef Quiet noisy printf...
git-svn-id: svn://10.0.0.236/trunk@32776 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:05:30 +00:00
mscott%netscape.com
0e12f9337f Bug #6722 --> replace PR_Open with nsFileSpec/nsFileStream.
git-svn-id: svn://10.0.0.236/trunk@32775 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:01:23 +00:00
mscott%netscape.com
aed53619d9 Bug 6722 --> replace PR_Open with nsFileSpec/nsFileStream.
git-svn-id: svn://10.0.0.236/trunk@32774 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:59:26 +00:00
mscott%netscape.com
1ce95e8e42 fix mismatched memory frees *again*
git-svn-id: svn://10.0.0.236/trunk@32773 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:57:02 +00:00
mcafee%netscape.com
3b9aa5a506 Fixing solaris bustage, link with the c++ compiler.
git-svn-id: svn://10.0.0.236/trunk@32772 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:56:26 +00:00
bruce%cybersight.com
9050b667f4 Fix a free memory mismatch.
git-svn-id: svn://10.0.0.236/trunk@32771 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:53:12 +00:00
mscott%netscape.com
3b8f573139 Fix mismatched memory free. Bug #6722 --> replace PR_Open use with nsFileSpec & nsFileStream.
git-svn-id: svn://10.0.0.236/trunk@32770 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:53:03 +00:00
morse%netscape.com
0d2fa7b421 added modal dialogs for wallet
git-svn-id: svn://10.0.0.236/trunk@32769 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:50:49 +00:00
briano%netscape.com
e49dc3916a Automated update
git-svn-id: svn://10.0.0.236/trunk@32768 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:49:35 +00:00
mscott%netscape.com
1c75203f0b Fix memory leak of mailbox struct.
git-svn-id: svn://10.0.0.236/trunk@32767 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:49:09 +00:00
briano%netscape.com
9ecb48761a Eliminated the hard-coded NSPR version number.
git-svn-id: svn://10.0.0.236/trunk@32766 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:49:03 +00:00
gordon%netscape.com
3694a3a15d Added files for Wallet and Signon.
git-svn-id: svn://10.0.0.236/trunk@32765 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:46:55 +00:00
jfrancis%netscape.com
54b66fca14 fix for bug 5979
git-svn-id: svn://10.0.0.236/trunk@32764 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:44:08 +00:00
mscott%netscape.com
38e23a1ddf Fix uninitialized memory read.
git-svn-id: svn://10.0.0.236/trunk@32763 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:43:01 +00:00
morse%netscape.com
4b29935cdf added modal dialogs for wallet
git-svn-id: svn://10.0.0.236/trunk@32762 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:42:49 +00:00
jdunn%netscape.com
dfe1966918 Fixing link/runtime problem with certain platforms. Linking against the 'libs'
directory is forcing AIX to link statically instead of dynamically.


git-svn-id: svn://10.0.0.236/trunk@32761 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:40:14 +00:00
cmanske%netscape.com
b431e666a0 Fixed missing do_QueryInterface that busted Linux build
git-svn-id: svn://10.0.0.236/trunk@32760 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:30:50 +00:00
rogerl%netscape.com
4d597b6ebd Bug #6359 and other changes motivated by Waldemar's specification.
git-svn-id: svn://10.0.0.236/trunk@32759 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:28:32 +00:00
jfrancis%netscape.com
4c900f0761 fixed dom range gravity error
git-svn-id: svn://10.0.0.236/trunk@32758 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:28:04 +00:00
cbegle%netscape.com
4e49683cd7 adding more javascript language tests
git-svn-id: svn://10.0.0.236/trunk@32756 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:24:04 +00:00
karnaze%netscape.com
703e798b06 Rewrote DistributeRemainingSpace a 2nd time and added compat mode.
bug 6068, 6933. nsTableRowGroupFrame::CalculateRowHeights - changed row spans to consider
top and bottom margins during height calculations. Calculations using percentages ensure that the sum of
rows sum exactly to excess.

bug 6404 BasicTableLayoutStrategy::BalanceColumnsConstrained cols in span other than 1st col was
not getting additional allocations from cell. ::DistributeRemainSpace uses max width of col
instead of max effective width. Also added checks for negative value during percentage calculations.


git-svn-id: svn://10.0.0.236/trunk@32755 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:22:23 +00:00
cbegle%netscape.com
f035e2c00f adding more javascript language tests.
git-svn-id: svn://10.0.0.236/trunk@32754 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:22:06 +00:00
karnaze%netscape.com
abd5271465 bug 7083, nsFormFrame doesn't involve netlib if the action is not specified
git-svn-id: svn://10.0.0.236/trunk@32753 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:20:53 +00:00
briano%netscape.com
7a9fe21323 Fix for NO_STATIC_LIB builds.
git-svn-id: svn://10.0.0.236/trunk@32752 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:20:12 +00:00
karnaze%netscape.com
3fc2f46a67 new regression tests
git-svn-id: svn://10.0.0.236/trunk@32751 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:19:02 +00:00
briano%netscape.com
96b6460762 Fix for the case where NSPR is built separately and isn't listed in LD_LIBRARY_PATH.
git-svn-id: svn://10.0.0.236/trunk@32750 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:18:37 +00:00
cbegle%netscape.com
0870f2480f adding new javascript tests - liveconnect
git-svn-id: svn://10.0.0.236/trunk@32749 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:14:51 +00:00
cmanske%netscape.com
17fe0f273b Changed font face popup to use menu until popup XUL window works
git-svn-id: svn://10.0.0.236/trunk@32747 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:11:11 +00:00
erik%netscape.com
35ded4bb12 Added manual registration for EventQueue and PersistentProperties. Sigh.
git-svn-id: svn://10.0.0.236/trunk@32746 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:08:27 +00:00
cbegle%netscape.com
b8cc57c616 adding new tests for the javascript language - liveconnect.
git-svn-id: svn://10.0.0.236/trunk@32745 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:07:01 +00:00
erik%netscape.com
1a2da74509 Added NULL pointer checking, since netlib returns NULL even though return
value said it succeeded.


git-svn-id: svn://10.0.0.236/trunk@32744 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:06:51 +00:00
alecf%netscape.com
091ce91816 add CID to prepare for moving CIDs into the factory
git-svn-id: svn://10.0.0.236/trunk@32743 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:59:45 +00:00
jefft%netscape.com
d367eda3ef more on cached connection work - time out and number of maximum connections per host implementation; fixed delete messages not working problem; fixed crash when server disconnect the connection; inproper ref counting problem
git-svn-id: svn://10.0.0.236/trunk@32742 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:56:36 +00:00
bruce%cybersight.com
8a02d53443 Use 'friend class' rather than just 'friend' to fix potential build bustage on HP-UX
git-svn-id: svn://10.0.0.236/trunk@32741 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:55:23 +00:00
alecf%netscape.com
15d0866ebe moving CIDs out of the interface headers, so including the right factory CID files
git-svn-id: svn://10.0.0.236/trunk@32740 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:54:25 +00:00
sspitzer%netscape.com
4a0bd5377c add the cvsignorage again, and this time don't break the build.
git-svn-id: svn://10.0.0.236/trunk@32739 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:53:31 +00:00
blizzard%redhat.com
b1c6f06c80 more xlib work
git-svn-id: svn://10.0.0.236/trunk@32738 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:52:58 +00:00
jefft%netscape.com
21c8df11b9 defautl set fDeleteIsMoveToTrash to true
git-svn-id: svn://10.0.0.236/trunk@32737 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:52:54 +00:00
bruce%cybersight.com
eb44502f36 Fix a free memory mismatch hopefully.
git-svn-id: svn://10.0.0.236/trunk@32736 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:52:06 +00:00
jefft%netscape.com
9aa1d6f707 more on cached connection work - time out and number of maximum connections per host implementation
git-svn-id: svn://10.0.0.236/trunk@32735 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:51:38 +00:00
cbegle%netscape.com
742c46d624 adding more javascript language tests to the repository.
git-svn-id: svn://10.0.0.236/trunk@32734 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:48:43 +00:00
sspitzer%netscape.com
91ea168aa3 do the ignore again. this time, without breaking the build.
git-svn-id: svn://10.0.0.236/trunk@32733 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:48:42 +00:00
jefft%netscape.com
4972001b1d use NS_IF_ADDREF & NS_IF_RELEASE instead of NS_ADDREF & NS_RELEASE in case of null mURL & mProxy
git-svn-id: svn://10.0.0.236/trunk@32732 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:46:42 +00:00
jefft%netscape.com
347046e38e make sure stream Wrire() returns correct error code when the stream is closed
git-svn-id: svn://10.0.0.236/trunk@32731 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:45:20 +00:00
sspitzer%netscape.com
d6bab07673 turn DEBUG_sspitzer into DEBUG_NEWS.
use PR_sscanf instead of sscanf.
add more debugging printfs


git-svn-id: svn://10.0.0.236/trunk@32730 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:45:19 +00:00
jefft%netscape.com
c2d6d491cb make sure net_flush_sockstub_data() return correct error code
git-svn-id: svn://10.0.0.236/trunk@32729 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:43:44 +00:00
sspitzer%netscape.com
7c5a298cba don't compare url (and prefs) to nsnull. check that !url (and !prefs) is true
git-svn-id: svn://10.0.0.236/trunk@32728 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:43:42 +00:00
joki%netscape.com
dc86961440 Beginnings of JavaScript security bits.
git-svn-id: svn://10.0.0.236/trunk@32727 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:43:28 +00:00
cmanske%netscape.com
eaea155fe6 Continued UI work: Spell checker fixes, toolbar improvements, popup menus implemented for paragraph style, font face and color, setting font color test UI, etc.
git-svn-id: svn://10.0.0.236/trunk@32726 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:40:51 +00:00
cmanske%netscape.com
6812ea4767 Added editor methods for setting body attributes and background color. Removed getFirstMisspelled word - not needed
git-svn-id: svn://10.0.0.236/trunk@32725 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:40:34 +00:00
cmanske%netscape.com
19afc54e3f Removed Windows-specific default directory string from prefs
git-svn-id: svn://10.0.0.236/trunk@32724 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:39:59 +00:00
cbegle%netscape.com
1bf49d671c adding more javascript language tests to the repository.
git-svn-id: svn://10.0.0.236/trunk@32723 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:37:13 +00:00
sspitzer%netscape.com
bfc1a2bd1b the new subscribe xul and associated files
git-svn-id: svn://10.0.0.236/trunk@32722 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:36:29 +00:00
dbragg%netscape.com
f4b1dcb59d Added *aResult for status values per XPCOM
git-svn-id: svn://10.0.0.236/trunk@32721 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:22:58 +00:00
cbegle%netscape.com
8e3e85b033 Adding ecma 2 tests to the repository.
git-svn-id: svn://10.0.0.236/trunk@32720 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:22:57 +00:00
dbragg%netscape.com
05424febc3 Changed DEPTH
git-svn-id: svn://10.0.0.236/trunk@32719 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:22:15 +00:00
dbragg%netscape.com
8186a4bde5 Added *aResult for result values passed as parameters rather than straight returns.
git-svn-id: svn://10.0.0.236/trunk@32718 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:21:37 +00:00
dbragg%netscape.com
a6a6569fc1 Changed the depth to take into account the parent profile directory.
git-svn-id: svn://10.0.0.236/trunk@32717 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:20:45 +00:00
dbragg%netscape.com
6bb3716bad Top level pref migration tool makefile
git-svn-id: svn://10.0.0.236/trunk@32716 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:19:53 +00:00
mcafee%netscape.com
b44e749d1f Removing unnecessary mcom_db.h include.
git-svn-id: svn://10.0.0.236/trunk@32715 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:18:51 +00:00
kin%netscape.com
85e00a320c Disabled HACKForceRedraw() calls. Added calls to nsIViewManager::BeginUpdateViewBatch() and nsIViewManager::EndUpdateViewBatch().
git-svn-id: svn://10.0.0.236/trunk@32714 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:18:12 +00:00
kin%netscape.com
cf9cdb1bd0 Added support for nsITransactionListener.
Cleaned up includes in header files.


git-svn-id: svn://10.0.0.236/trunk@32713 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:16:25 +00:00
kin%netscape.com
7b98a8d777 Initial checkin of file.
git-svn-id: svn://10.0.0.236/trunk@32712 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:14:32 +00:00
pinkerton%netscape.com
a8f72852cc missing [] on delete of internal array in operator=.
git-svn-id: svn://10.0.0.236/trunk@32711 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:13:29 +00:00
kin%netscape.com
18516ebae7 Added implementation of BeginUpdateViewBatch() and
EndUpdateViewBatch() to nsIViewManager and nsViewManager.


git-svn-id: svn://10.0.0.236/trunk@32710 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:13:06 +00:00
pinkerton%netscape.com
fc7ff68029 fix GetChildren() to not copy the child list and to use a proper enumerator.
git-svn-id: svn://10.0.0.236/trunk@32709 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:12:54 +00:00
pinkerton%netscape.com
e6fc33339b new files for multiple d&d apis
git-svn-id: svn://10.0.0.236/trunk@32708 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:10:23 +00:00
pinkerton%netscape.com
708238d28c updated to new multiple-item d&d apis.
git-svn-id: svn://10.0.0.236/trunk@32707 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:08:26 +00:00
pinkerton%netscape.com
ef9d28c245 updated to new multiple item d&d api's.
git-svn-id: svn://10.0.0.236/trunk@32706 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:08:21 +00:00
pinkerton%netscape.com
651d8eb4ff new multiple-item drag and drop apis.
git-svn-id: svn://10.0.0.236/trunk@32705 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:08:14 +00:00
leaf%mozilla.org
6e52e8f88b forgot the xpcom .cvsignore file, added it.
git-svn-id: svn://10.0.0.236/trunk@32704 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:06:41 +00:00
rpotts%netscape.com
67cddc9e2a Initialized m_Request to nsnull to prevent a crash durng destruction - it was trying to free uninitialized memory :-(
git-svn-id: svn://10.0.0.236/trunk@32703 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 21:04:11 +00:00
valeski%netscape.com
9c7d7f0526 removed #include "nsXPComCIID.h" as it is no longer pertinent
git-svn-id: svn://10.0.0.236/trunk@32702 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 20:51:19 +00:00
norris%netscape.com
8eccc51ac0 Fix bug 6705.
git-svn-id: svn://10.0.0.236/trunk@32701 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 19:55:51 +00:00
norris%netscape.com
3f184135b9 Remove class path for merging into a single JAR file.
git-svn-id: svn://10.0.0.236/trunk@32700 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 19:52:40 +00:00
norris%netscape.com
4ac0b82248 fix node property printing
git-svn-id: svn://10.0.0.236/trunk@32699 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 19:48:45 +00:00
norris%netscape.com
9ed83503b9 clean up formatting
git-svn-id: svn://10.0.0.236/trunk@32698 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 19:48:02 +00:00
mcmullen%netscape.com
49f57b19e4 Headers settings did not have the linker turned on!
git-svn-id: svn://10.0.0.236/trunk@32697 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 19:36:12 +00:00
mcmullen%netscape.com
a33b38ec39 Restored lines that were deleted erroneously
git-svn-id: svn://10.0.0.236/trunk@32696 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 19:15:23 +00:00
sspitzer%netscape.com
ca7e198ba7 doh!
git-svn-id: svn://10.0.0.236/trunk@32695 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 19:12:35 +00:00
sspitzer%netscape.com
3209450c20 remove this to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@32694 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 19:03:16 +00:00
sspitzer%netscape.com
04f4224977 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@32693 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 19:01:27 +00:00
sspitzer%netscape.com
c5a72de283 remove this, causing build bustage
git-svn-id: svn://10.0.0.236/trunk@32692 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 18:56:19 +00:00
slamm%netscape.com
e4d6de7add Update Sidebar Flash and Panel Content when new data arrives.
git-svn-id: svn://10.0.0.236/trunk@32691 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 18:51:47 +00:00
sspitzer%netscape.com
fae129ad83 more cvsignorage for the xpcom2 landing
git-svn-id: svn://10.0.0.236/trunk@32690 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 18:50:14 +00:00
slamm%netscape.com
1836d83870 Generate static pages for Sidebar Flash and Tinderbox Panel
git-svn-id: svn://10.0.0.236/trunk@32689 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 18:12:11 +00:00
sspitzer%netscape.com
0d144495bb cvs ignorage for xpcom2 landing
git-svn-id: svn://10.0.0.236/trunk@32688 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 17:51:05 +00:00
sspitzer%netscape.com
d8d2640ea6 cvs ignorage
git-svn-id: svn://10.0.0.236/trunk@32687 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 17:49:37 +00:00
sspitzer%netscape.com
e9f0137097 get smtp test to build again on UNIX
git-svn-id: svn://10.0.0.236/trunk@32686 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 17:23:25 +00:00
sspitzer%netscape.com
f3e783aa96 fix build breakage on UNIX
git-svn-id: svn://10.0.0.236/trunk@32682 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 16:19:50 +00:00
sspitzer%netscape.com
8ab72bf494 fix the news test makefiles so they build on UNIX, now that xpcom2 has
landed.  turn them back on.


git-svn-id: svn://10.0.0.236/trunk@32681 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 15:45:49 +00:00
despotdaemon%netscape.com
333442ca27 Pseudo-automatic update of changes made by dp@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@32680 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 09:05:12 +00:00
gagan%netscape.com
355d2415e5 Removed nsITimer dependency.
git-svn-id: svn://10.0.0.236/trunk@32679 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 08:53:17 +00:00
dp%netscape.com
ddfb2643e7 adding services
git-svn-id: svn://10.0.0.236/trunk@32678 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 08:11:53 +00:00
dp%netscape.com
e0aba42207 Adding services
git-svn-id: svn://10.0.0.236/trunk@32677 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 08:11:36 +00:00
alecf%netscape.com
946b0ad955 smtp test is broken, comment it out for now
git-svn-id: svn://10.0.0.236/trunk@32676 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 08:11:35 +00:00
alecf%netscape.com
187f5f483b fix bustage by adding gfx/img/mozutil
git-svn-id: svn://10.0.0.236/trunk@32675 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 08:07:54 +00:00
alecf%netscape.com
74ae74ea52 disable news tests for now because we can't find XP_StringHash2
git-svn-id: svn://10.0.0.236/trunk@32674 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 08:05:57 +00:00
dp%netscape.com
b38880e3c9 Initial version
git-svn-id: svn://10.0.0.236/trunk@32673 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 08:05:08 +00:00
alecf%netscape.com
6c19103b4c fix tests by adding the right libraries
git-svn-id: svn://10.0.0.236/trunk@32672 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 07:56:47 +00:00
alecf%netscape.com
95fe94914a fix bustage by adding the right libraries
git-svn-id: svn://10.0.0.236/trunk@32671 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 07:52:14 +00:00
dp%netscape.com
3a5d687365 removing -lreg
git-svn-id: svn://10.0.0.236/trunk@32670 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 07:47:14 +00:00
dp%netscape.com
b83d6b6d30 Fixing tests
git-svn-id: svn://10.0.0.236/trunk@32669 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 07:46:01 +00:00
dp%netscape.com
655c1f04e0 removing -lreg
git-svn-id: svn://10.0.0.236/trunk@32668 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 07:41:15 +00:00
dp%netscape.com
c148345c5d Adding gfxMOZ_TOOLKIT and gfxps to get NS_NewTimer()
git-svn-id: svn://10.0.0.236/trunk@32667 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 07:30:34 +00:00
dp%netscape.com
a0c3fdf37a Adding gfx to get NS_NewTimer() and dependents
git-svn-id: svn://10.0.0.236/trunk@32666 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 07:29:10 +00:00
dp%netscape.com
3f90728ff4 removing -lreg
git-svn-id: svn://10.0.0.236/trunk@32665 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 07:16:38 +00:00
dp%netscape.com
f08ae4972b removing -lreg
git-svn-id: svn://10.0.0.236/trunk@32664 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 07:08:19 +00:00
leaf%mozilla.org
fbdf5cebe7 removing xpcom/tools/xpidl from SeaMonkeyCore pull (using the ! feature)
... get it? bang? as in "shoot me!"?


git-svn-id: svn://10.0.0.236/trunk@32663 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 06:43:13 +00:00
dp%netscape.com
187d3e7a0a Adding NSPR_LIB
git-svn-id: svn://10.0.0.236/trunk@32662 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 06:36:34 +00:00
rpotts%netscape.com
dbd00bdf86 Some fixes to get the http test case running... Fixed the handler factory to correctly return the instance. Changed to CID of the URL being created to NS_STANDARDURL_CID. Fixed a signed/unsigned crash when creating connections...
git-svn-id: svn://10.0.0.236/trunk@32661 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 06:34:44 +00:00
leaf%mozilla.org
d07ce90146 enumerating xpcom subdirs, so that we don't pull the directories
that confuse the mac build


git-svn-id: svn://10.0.0.236/trunk@32659 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 05:43:44 +00:00
mcmullen%netscape.com
5d866434a9 Use explicit paths to stop these being found in an obsolete directory (mcmullen@netscape.com)
git-svn-id: svn://10.0.0.236/trunk@32658 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 05:38:17 +00:00
dp%netscape.com
bc2119868a stdafx.h
git-svn-id: svn://10.0.0.236/trunk@32657 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 05:03:05 +00:00
donm%netscape.com
ea7463ef42 removed referecne to libreg and libraptorbase
git-svn-id: svn://10.0.0.236/trunk@32656 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 04:59:47 +00:00
dp%netscape.com
6eec8b748a adding symbol XPTI_GetInterfaceInfoManager
git-svn-id: svn://10.0.0.236/trunk@32655 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 04:54:36 +00:00
dp%netscape.com
1375f254e8 reversing previous change 'cause I added the missing to xpcom/build/dlldeps.cpp
and things work.


git-svn-id: svn://10.0.0.236/trunk@32654 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 04:43:01 +00:00
varada%netscape.com
6e7dbb1dd7 4.2 version
git-svn-id: svn://10.0.0.236/trunk@32652 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 04:25:02 +00:00
dp%netscape.com
277d0e37fa I dont have a clue why I need this. If I dont add the xptinfo.lib
to the link line, I get a undefined for _XPTI_GetInterfaceInfoManager

Some windows dude should fix this.


git-svn-id: svn://10.0.0.236/trunk@32650 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 04:16:23 +00:00
mcmullen%netscape.com
21160719fa Fix "missing from view hierarchy alert" (mcmullen@netscape.com)
git-svn-id: svn://10.0.0.236/trunk@32649 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 04:06:34 +00:00
despotdaemon%netscape.com
2bf61ac50f Pseudo-automatic update of changes made by dp@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@32648 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 04:06:22 +00:00
jj%netscape.com
140a0795ca Turn on build{all} which I turned off by mistake.
git-svn-id: svn://10.0.0.236/trunk@32647 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 03:52:01 +00:00
dp%netscape.com
4e84129c48 landing xpcom20/21 branch
git-svn-id: svn://10.0.0.236/trunk@32646 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 02:16:15 +00:00
dp%netscape.com
27980027bd landing xpcom20/21 branch
git-svn-id: svn://10.0.0.236/trunk@32645 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 02:05:00 +00:00
dp%netscape.com
befa259a88 Landing xpcom20/21 branch.
git-svn-id: svn://10.0.0.236/trunk@32644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:38:36 +00:00
rogerl%netscape.com
300d6f0885 Hmmm, new changes these are.
git-svn-id: svn://10.0.0.236/trunk@32641 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 01:01:07 +00:00
ducarroz%netscape.com
5bd2264bd8 fix bug 6914
git-svn-id: svn://10.0.0.236/trunk@32633 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 23:37:48 +00:00
ducarroz%netscape.com
a99ce6029c bug fix 6628
git-svn-id: svn://10.0.0.236/trunk@32632 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 23:35:39 +00:00
leaf%mozilla.org
028387ac22 Filtering out form submission in all cases, to get location bar working
for mac. This will be fixed RSN.


git-svn-id: svn://10.0.0.236/trunk@32631 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 23:25:19 +00:00
varada%netscape.com
620b516012 make file test
git-svn-id: svn://10.0.0.236/trunk@32630 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 23:17:31 +00:00
varada%netscape.com
44f9511d1e summary file
git-svn-id: svn://10.0.0.236/trunk@32629 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 23:14:40 +00:00
varada%netscape.com
4e859a3427 help files
git-svn-id: svn://10.0.0.236/trunk@32628 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 22:46:14 +00:00
rogerl%netscape.com
68589204d4 New.
git-svn-id: svn://10.0.0.236/trunk@32627 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 21:50:03 +00:00
rogerl%netscape.com
1c31755a34 JSValue changes, closing in on JSObject API. Began 'correct' semantic
implementation for various operators.


git-svn-id: svn://10.0.0.236/trunk@32626 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 21:49:40 +00:00
gagan%netscape.com
2988832256 Moved nsHTTPEnums.h to public.
git-svn-id: svn://10.0.0.236/trunk@32625 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 21:38:53 +00:00
gagan%netscape.com
5c58a69c87 Moved nsHTTPEnums from src to here.
git-svn-id: svn://10.0.0.236/trunk@32624 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 21:38:27 +00:00
gagan%netscape.com
6e9de80cdb Fixed nsIURL.h to nsIUrl.h... Thanks Andreas.
git-svn-id: svn://10.0.0.236/trunk@32623 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 21:33:23 +00:00
gagan%netscape.com
8a25c9f2a4 Changes inherited from nsIProtocolHandler. Also changed default port to 21.
git-svn-id: svn://10.0.0.236/trunk@32622 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 21:31:46 +00:00
varada%netscape.com
027e4bdeec rshell ini files
git-svn-id: svn://10.0.0.236/trunk@32613 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 21:11:00 +00:00
varada%netscape.com
631c184bac make file
git-svn-id: svn://10.0.0.236/trunk@32612 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 20:59:43 +00:00
rogerl%netscape.com
d7b7852ec3 Fixed 'continue label'
git-svn-id: svn://10.0.0.236/trunk@32611 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 20:29:12 +00:00
terry%mozilla.org
897a11c822 Fixed bug 7000 -- handle hyphens in hostnames of email addresses when
highlighting.


git-svn-id: svn://10.0.0.236/trunk@32610 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 19:52:34 +00:00
slamm%netscape.com
55e6c5cc50 Add type='content' to content iframe. Important for selection. Fix for 7033.
git-svn-id: svn://10.0.0.236/trunk@32609 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 19:52:13 +00:00
kmcclusk%netscape.com
0fc070726c patch for #bug 6934. Checkin approved by Chris Hofmann.
Added check to nsTitledButtonFrame::DisplayAltFeedback to verify the icon returned from
LoadIconImage for is not null. This will prevent aRenderingContext.DrawImage from being
passed a null aImage parameter.


git-svn-id: svn://10.0.0.236/trunk@32606 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 19:37:16 +00:00
slamm%netscape.com
562ebffbf8 Avoid implicitly defining build records.
git-svn-id: svn://10.0.0.236/trunk@32605 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 19:35:13 +00:00
terry%mozilla.org
5fc44755dd Avoid mid-air collisions (implementing a suggestion by
py8ieh=bugzilla@bath.ac.uk).


git-svn-id: svn://10.0.0.236/trunk@32602 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 19:22:31 +00:00
slamm%netscape.com
4ed80a7abf If a build is new it's 'last_status' is building.
git-svn-id: svn://10.0.0.236/trunk@32601 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 19:04:09 +00:00
slamm%netscape.com
80a62bb9ad Fix tree selector. Needed content-type header.
git-svn-id: svn://10.0.0.236/trunk@32600 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 18:15:13 +00:00
despotdaemon%netscape.com
c6f2379b56 Pseudo-automatic update of changes made by dshea@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@32597 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 18:02:28 +00:00
terry%mozilla.org
c921fc5969 Fixed stupid typo.
git-svn-id: svn://10.0.0.236/trunk@32596 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 17:59:39 +00:00
valeski%netscape.com
a059dccf5d adding http's events for the nsNetModuleMgr api so necko can interract with external modules
git-svn-id: svn://10.0.0.236/trunk@32595 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 17:34:59 +00:00
valeski%netscape.com
7b7bf7e46b the base class for necko events to be used with the nsINetModuleMgr api
git-svn-id: svn://10.0.0.236/trunk@32594 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 17:29:04 +00:00
valeski%netscape.com
0cb3cc1efc added revised comment
git-svn-id: svn://10.0.0.236/trunk@32593 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 17:27:01 +00:00
varada%netscape.com
8ac1c9a419 rshell.ini changes
git-svn-id: svn://10.0.0.236/trunk@32589 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 07:42:48 +00:00
ftang%netscape.com
465fa2e874 fix bug 6740. approved by christ hofmann. reviewed by harish. This is a temp fix. ftang should move this hack out of parser after M6
git-svn-id: svn://10.0.0.236/trunk@32577 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 02:35:27 +00:00
ftang%netscape.com
3f23cb5ab3 fix bug 6740. approved by christ hofmann
git-svn-id: svn://10.0.0.236/trunk@32576 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 02:30:03 +00:00
hyatt%netscape.com
c0131df702 Better fix for 6746.
git-svn-id: svn://10.0.0.236/trunk@32561 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 00:29:55 +00:00
slamm%netscape.com
8cefe08ef9 Try again.
git-svn-id: svn://10.0.0.236/trunk@32560 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 00:20:21 +00:00
slamm%netscape.com
f73e6d2d52 Get proper quoting of who_menu javascript.
git-svn-id: svn://10.0.0.236/trunk@32559 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 00:17:46 +00:00
slamm%netscape.com
ad601d143e Add contentframe.(xul|js|css) for Sidebar and Content frames.
git-svn-id: svn://10.0.0.236/trunk@32558 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-25 00:07:50 +00:00
sspitzer%netscape.com
e29e293a08 point the start page to a page that explains how to set up your prefs
git-svn-id: svn://10.0.0.236/trunk@32553 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 23:37:57 +00:00
slamm%netscape.com
f1c786090a Finish last checkin. Put sidebar grippy.gif in res/toolbar for now.
git-svn-id: svn://10.0.0.236/trunk@32552 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 23:35:06 +00:00
sspitzer%netscape.com
e3155e4d76 fix for #6908. a=chofmann, r=mscott.
fixes the bug on mac and linux where loading news messages would cause the app to spin.


git-svn-id: svn://10.0.0.236/trunk@32551 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 23:30:04 +00:00
slamm%netscape.com
13e98335f2 Use grippy/boxes/iframes for sidebar instead of frameset. Use 790x580 as default size to make room for sidebar.
git-svn-id: svn://10.0.0.236/trunk@32550 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 23:26:23 +00:00
slamm%netscape.com
1de23c8325 Last part of fix for 6776. Check for containers properly when openening bookmarks. Previously approved by chofmann. Fix by rjc.
git-svn-id: svn://10.0.0.236/trunk@32549 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 23:25:52 +00:00
valeski%netscape.com
d33ff7bff6 added context arguments and a set headers method.
git-svn-id: svn://10.0.0.236/trunk@32547 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 22:06:12 +00:00
putterman%netscape.com
d2bdbe597b Fix for 7002. Speed up mail by commenting out call to UpdateSummaryTotals. Reviewed by
mscott and approved by chofmann.


git-svn-id: svn://10.0.0.236/trunk@32546 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 22:03:47 +00:00
putterman%netscape.com
a7b42660c6 Fix for 6975. Make sure there's a valid database before accessing it. Reviewed by
mscott. Approved by chofmann.


git-svn-id: svn://10.0.0.236/trunk@32545 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 22:02:50 +00:00
slamm%netscape.com
138daa554b Deal with out of order times for express.
git-svn-id: svn://10.0.0.236/trunk@32544 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 21:43:57 +00:00
terry%mozilla.org
21e1b9aafb Added "Neutrino" to the list of operating systems
git-svn-id: svn://10.0.0.236/trunk@32543 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 21:37:27 +00:00
briano%netscape.com
b98e0b0e8f Automated update
git-svn-id: svn://10.0.0.236/trunk@32541 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 21:18:00 +00:00
terry%mozilla.org
2ff78cf3dc Patch by Mark B. Hamby <mhamby@logicon.com> (somewhat hacked up by me) --
Allow case insensitive and regexp based searches for strings in bugs.


git-svn-id: svn://10.0.0.236/trunk@32540 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 21:16:18 +00:00
waterson%netscape.com
28d20d9b44 Bug 6968. Turn of MOZ_BRPROF by default.
git-svn-id: svn://10.0.0.236/trunk@32534 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 21:13:58 +00:00
slamm%netscape.com
b98d1970e4 Recommit my last set of changes, but logs work now.
git-svn-id: svn://10.0.0.236/trunk@32533 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 21:03:10 +00:00
beard%netscape.com
ae1abcf9e1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@32532 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 20:48:58 +00:00
dcone%netscape.com
d70cff6cc5 Fixed a printing crashing bug in Update(),
Now check to make sure mWindowPtr is not null.


git-svn-id: svn://10.0.0.236/trunk@32531 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 20:44:53 +00:00
valeski%netscape.com
eb1f2f4ddc the notify api and the external module interface now use the nsIObserver stuff
git-svn-id: svn://10.0.0.236/trunk@32530 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 20:40:21 +00:00
terry%mozilla.org
7ced32b722 Get rid of stupid debugging code.
git-svn-id: svn://10.0.0.236/trunk@32526 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 19:55:43 +00:00
valeski%netscape.com
c38f34b326 First whack at various external module apis.
git-svn-id: svn://10.0.0.236/trunk@32525 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 19:50:39 +00:00
terry%mozilla.org
d023c05a97 Added Mac System 8.6.
git-svn-id: svn://10.0.0.236/trunk@32524 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 19:44:34 +00:00
terry%mozilla.org
0a52d2313d Make sure login name is in canonical form.
git-svn-id: svn://10.0.0.236/trunk@32523 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 19:42:28 +00:00
valeski%netscape.com
95c10ecee6 wrong parameters were being passed into the handler's NewUrl() call
git-svn-id: svn://10.0.0.236/trunk@32522 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 19:33:52 +00:00
terry%mozilla.org
fbb008de3f Oops; fixed stupid typo.
git-svn-id: svn://10.0.0.236/trunk@32521 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 19:08:59 +00:00
terry%mozilla.org
6d208dc683 Don't put the filename in the content-type field; it's apparently not legal MIME for some content-types.
git-svn-id: svn://10.0.0.236/trunk@32520 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 19:06:04 +00:00
terry%mozilla.org
eef2c776d2 Back out slamm's recent changes; they have introduced bugs (like not being able to view logs).
git-svn-id: svn://10.0.0.236/trunk@32519 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 18:39:30 +00:00
beard%netscape.com
1a1cb758d7 bug #5352: navigator.javaEnabled() now looks at "security.enable_java" preference.
a=chofmann, r=matt


git-svn-id: svn://10.0.0.236/trunk@32514 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 16:41:55 +00:00
warren%netscape.com
ca81a76eee Added timer stuff from base.
git-svn-id: svn://10.0.0.236/trunk@32511 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 09:17:05 +00:00
warren%netscape.com
660db546ca Moving changes from XPCOM20_BRANCH forward.
git-svn-id: svn://10.0.0.236/trunk@32510 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 09:03:23 +00:00
slamm%netscape.com
d4e8d39fc5 Make it nice and pretty. Iron out a couple bugs.
git-svn-id: svn://10.0.0.236/trunk@32509 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 05:56:26 +00:00
briano%netscape.com
ab94629a76 Fixed the breakage this incomplete makefile was causing NO_STATIC_LIB builds.
git-svn-id: svn://10.0.0.236/trunk@32508 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 04:55:52 +00:00
waterson%netscape.com
fc9e4a40b6 Bug 6957. Add kEventQueueCID to the registry setup so these tests will run. a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@32507 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 03:53:02 +00:00
waterson%netscape.com
a50c2b1916 Bug 6958. Fix inconsistency between string and string size. a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@32506 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 03:51:56 +00:00
slamm%netscape.com
6d4330ffc8 Shrink the sidebar panel to fit.
git-svn-id: svn://10.0.0.236/trunk@32505 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-24 01:00:22 +00:00
beard%netscape.com
c2dc2fe83d added mozilla/js/rhino/org/mozilla/javascript/ListenerCollection.java
git-svn-id: svn://10.0.0.236/trunk@32502 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-23 20:07:05 +00:00
sspitzer%netscape.com
0c048f3fbe fix for #6935. skip newsrc lines that look like this:
3746EF3F.6080309@netscape.com:
3746EF3F.6080309%40netscape.com:

Those aren't legal newsgroup names.  But previous versions of Communicator
dump that into the newsrc file when you load these urls:

news://news.mozilla.org/3746EF3F.6080309@netscape.com
news://news.mozilla.org/3746EF3F.6080309%40netscape.com


git-svn-id: svn://10.0.0.236/trunk@32501 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-23 00:44:46 +00:00
bruce%cybersight.com
40889bdd16 Approved by chofmann. This fixes a large leak over time. This allocation is not necessary (nor are many others in this file), as the code being called to fill the value is also allocating the memory, so the memory is/was getting allocated twice. This fixes bug #6926.
git-svn-id: svn://10.0.0.236/trunk@32500 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-22 19:50:26 +00:00
sspitzer%netscape.com
912c86ce04 fix for #6889. a=chofmann.
use tempMessage.eml so that reply to news works.


git-svn-id: svn://10.0.0.236/trunk@32499 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-22 19:37:13 +00:00
briano%netscape.com
c3f6e70075 I'm hoping this will fix the breakage that results from not having . in one's PATH.
git-svn-id: svn://10.0.0.236/trunk@32498 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-22 06:42:48 +00:00
blizzard%redhat.com
3e47ad9913 remove these files
git-svn-id: svn://10.0.0.236/trunk@32497 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-22 06:16:21 +00:00
briano%netscape.com
e0c74b0459 Fix for the -r flag problem and the redundant rules warning. And a whole bunch of housecleaning. Approved by leaf@mozilla.org. Let me know if I ripped out something I shouldn't have.
git-svn-id: svn://10.0.0.236/trunk@32496 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-22 05:55:23 +00:00
sspitzer%netscape.com
2792a83996 fix for #6919. heed the "news.max_articles" pref.
git-svn-id: svn://10.0.0.236/trunk@32495 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-22 02:11:30 +00:00
cmanske%netscape.com
349ebe0c32 Set initial focus to editor window. Fixes bug 5724. Reviewed by sfraser
git-svn-id: svn://10.0.0.236/trunk@32494 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-22 00:40:59 +00:00
gagan%netscape.com
d30c026ed3 Made the baseURL default to null.
git-svn-id: svn://10.0.0.236/trunk@32493 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-22 00:21:32 +00:00
gagan%netscape.com
01320ab1a7 Made the baseURL a default to null.
git-svn-id: svn://10.0.0.236/trunk@32492 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-22 00:21:08 +00:00
varada%netscape.com
d041f6d030 summary file
git-svn-id: svn://10.0.0.236/trunk@32491 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-22 00:06:00 +00:00
varada%netscape.com
1d18fb85f0 summary header
git-svn-id: svn://10.0.0.236/trunk@32490 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-22 00:05:42 +00:00
despotdaemon%netscape.com
c9ae4cbeaa Pseudo-automatic update of changes made by amasri@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@32489 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 23:58:43 +00:00
waterson%netscape.com
68d0b53a77 Okay, let's try that again.
git-svn-id: svn://10.0.0.236/trunk@32488 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 23:42:02 +00:00
waterson%netscape.com
2a66d40a96 Add GetIID() for use with nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@32487 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 23:40:57 +00:00
evaughan%netscape.com
c284bebfcd fixed bug #5857. Permission from hofmann.
git-svn-id: svn://10.0.0.236/trunk@32486 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 23:36:56 +00:00
rickg%netscape.com
fb0094ea78 fixed per cyeh
git-svn-id: svn://10.0.0.236/trunk@32485 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 23:11:16 +00:00
rickg%netscape.com
2903ac39ff fix bug 6901 per CYEH
git-svn-id: svn://10.0.0.236/trunk@32484 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 23:01:37 +00:00
sspitzer%netscape.com
4c9db6123d fix for #6031. the summary file names for newsgroups are based on
the newsgroup name.  if the name is too long for the native file
system, use the hash function to come up with a new name.

move that has code out of xp_hash.c and into newsSummarySpec.cpp

in 4.x, this was the only place it was used anyways.

fix my debugging printf.

re-arrange addressbook makefiles in mailnews/makefiles so that people
who use obj-dir can build.


git-svn-id: svn://10.0.0.236/trunk@32483 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 22:21:23 +00:00
waterson%netscape.com
9ee75ce1da Bug 4629. Store an ID= attribute on bookmark folders to ensure that we assign them the same resource in the graph between runs.
git-svn-id: svn://10.0.0.236/trunk@32482 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 22:19:12 +00:00
waterson%netscape.com
354245fef7 Bug 4629. Use PR_Now() to get a 'more unique' starting point for anonymous resources.
git-svn-id: svn://10.0.0.236/trunk@32481 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 22:18:29 +00:00
despotdaemon%netscape.com
eb6a2e6316 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@32480 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 22:16:24 +00:00
despotdaemon%netscape.com
511da500c2 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@32479 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 22:15:27 +00:00
despotdaemon%netscape.com
a24d9d25b8 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@32478 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 22:15:13 +00:00
despotdaemon%netscape.com
65fa901bb3 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@32477 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 22:14:07 +00:00
despotdaemon%netscape.com
766ff2dec0 Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@32476 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 22:09:43 +00:00
despotdaemon%netscape.com
7d7bc9d49b Pseudo-automatic update of changes made by cyeh@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@32475 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 22:06:18 +00:00
waterson%netscape.com
44c9dba247 More bug 6823. Add comments to keep this problem from happening again.
git-svn-id: svn://10.0.0.236/trunk@32474 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 21:23:04 +00:00
waterson%netscape.com
ea935454c0 More bug 6823. Need to have a GetIID() on nsIEventListenerManager.
git-svn-id: svn://10.0.0.236/trunk@32473 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 21:22:02 +00:00
gordon%netscape.com
5a04291c95 Fix for bug#4312. Conditionalized patching of StackSpace so it's only done when patching is allowed. Use FindSymbol to dynamically lookup NewRoutineDescriptor and CallOSTrapUniversalProc so we can link against CarbonLib.
git-svn-id: svn://10.0.0.236/trunk@32470 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 20:08:09 +00:00
hyatt%netscape.com
5693100c68 Fix for the regression described in bug 6823.
git-svn-id: svn://10.0.0.236/trunk@32469 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 19:27:02 +00:00
despotdaemon%netscape.com
209790657a Pseudo-automatic update of changes made by cltbld@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@32468 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 18:54:08 +00:00
despotdaemon%netscape.com
1e8046be24 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@32467 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 18:52:29 +00:00
waterson%netscape.com
9c1c29cef1 Bug 6884. Set up a 'real' flash demo that pulls data from tinderbox.
git-svn-id: svn://10.0.0.236/trunk@32466 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 18:20:09 +00:00
phillip%netscape.com
5e0f381936 fixed the problem that caused url redirects to appear to fail
git-svn-id: svn://10.0.0.236/trunk@32465 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 18:14:59 +00:00
briano%netscape.com
7f1a6d453f Automated update
git-svn-id: svn://10.0.0.236/trunk@32464 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 10:14:45 +00:00
briano%netscape.com
e82cb7df52 Fix for IRIX 5.x.
git-svn-id: svn://10.0.0.236/trunk@32463 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 10:12:30 +00:00
briano%netscape.com
8c88c7ad7d Fixed a bug in the object comparison for IRIX when -c is not used.
git-svn-id: svn://10.0.0.236/trunk@32462 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 09:22:24 +00:00
gagan%netscape.com
11117ef82b Added files for the HTTP Handler.
git-svn-id: svn://10.0.0.236/trunk@32461 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 07:14:19 +00:00
gagan%netscape.com
aec7daa5c4 Changes for the HTTP Handler.
git-svn-id: svn://10.0.0.236/trunk@32460 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 07:12:31 +00:00
gagan%netscape.com
b9261fb86d Changes for the handler.
git-svn-id: svn://10.0.0.236/trunk@32459 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 07:12:11 +00:00
gagan%netscape.com
e13f57ca36 HTTP changes.
git-svn-id: svn://10.0.0.236/trunk@32458 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 06:35:21 +00:00
gagan%netscape.com
c58c477d7d HTTP Handler work.
git-svn-id: svn://10.0.0.236/trunk@32457 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 06:33:17 +00:00
gagan%netscape.com
efc9573668 Miscellaneous fixes.
git-svn-id: svn://10.0.0.236/trunk@32456 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 06:30:21 +00:00
gagan%netscape.com
284149ab16 Added TestProtocols.cpp and renamed nettest to testnet since that was conflicting with nettest in dist.
git-svn-id: svn://10.0.0.236/trunk@32455 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 06:29:13 +00:00
norris%netscape.com
47a21f205f Manifest for jstools.jar to enable use of 1.2 -jar option.
git-svn-id: svn://10.0.0.236/trunk@32454 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 06:13:37 +00:00
gagan%netscape.com
41d1744692 Updates on HTTP handler. This will now move to mozilla/netwerk/protocol/http.
git-svn-id: svn://10.0.0.236/trunk@32453 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 06:12:56 +00:00
sspitzer%netscape.com
9a0b939639 fix for #6790. a=chofmann, r=mscott.
make news messages show up in the message pane on the Mac


git-svn-id: svn://10.0.0.236/trunk@32450 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 04:54:04 +00:00
briano%netscape.com
2054fad41c Added support for NetBSD/arm, SCO OpenServer, and IRIX 5.x.
git-svn-id: svn://10.0.0.236/trunk@32449 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 04:24:30 +00:00
briano%netscape.com
d52c86ccc5 Minor tweak that'll only affect SCO right now (because that's the only platform using it right now).
git-svn-id: svn://10.0.0.236/trunk@32448 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 04:21:25 +00:00
despotdaemon%netscape.com
82889fbb12 Pseudo-automatic update of changes made by dp@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@32447 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 03:51:28 +00:00
warren%netscape.com
7833f90dd4 Jband's fix for forward decls. Approved: Chofmann, reviewed: mang.
git-svn-id: svn://10.0.0.236/trunk@32446 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 03:18:25 +00:00
gordon%netscape.com
d247d9c4ce First Checked In.
git-svn-id: svn://10.0.0.236/trunk@32445 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 02:40:00 +00:00
danm%netscape.com
c19163cc12 LoadMenuItem no longer adds the item to mMenuDelegates. Fixes bug 6446. written by saari, r=danm, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@32444 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 02:34:03 +00:00
matt%netscape.com
6bc4c5b576 Adding window.title stuff for internationalization
git-svn-id: svn://10.0.0.236/trunk@32443 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 01:37:24 +00:00
matt%netscape.com
dd58251e31 Adding composer.xul file for internationalization
git-svn-id: svn://10.0.0.236/trunk@32442 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 01:34:05 +00:00
matt%netscape.com
7be80a6f8c Adding prefs xul files approved by hoffman for internationalization
git-svn-id: svn://10.0.0.236/trunk@32441 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 01:33:11 +00:00
cyeh%netscape.com
ce03d40b14 make the offensive photo link point to terry
git-svn-id: svn://10.0.0.236/trunk@32440 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 01:25:34 +00:00
pierre%netscape.com
0fe41ffe46 #6246 "Styled text is offset leftwards, only on Mac OS", a=cyeh, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@32438 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 00:58:27 +00:00
dveditz%netscape.com
6a55615243 fixing build for Win9x -- profile resources not getting exported. Approved chofmann
git-svn-id: svn://10.0.0.236/trunk@32437 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 00:57:48 +00:00
rogerl%netscape.com
f70f2834fd Continuing JSValue fun.
git-svn-id: svn://10.0.0.236/trunk@32436 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 00:54:26 +00:00
endico%mozilla.org
426e6d0544 "tree" is now alias for "trees" command since its mistyped so often
git-svn-id: svn://10.0.0.236/trunk@32435 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 00:42:55 +00:00
slamm%netscape.com
fcb7109ee1 Avoid loading container urls. Bug #6776. Fix from rjc. Approved by chofmann.
git-svn-id: svn://10.0.0.236/trunk@32434 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 00:42:23 +00:00
slamm%netscape.com
37eeeb48d1 Fix for i18n entities. Bug #6373. Approved by chofmann.
git-svn-id: svn://10.0.0.236/trunk@32433 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-21 00:39:39 +00:00
norris%netscape.com
24146f1d2e Add methods for getting and setting key-value pairs.
git-svn-id: svn://10.0.0.236/trunk@32432 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 23:54:53 +00:00
pollmann%netscape.com
a6b8074078 Bug 2999: Option values of "" handled correctly now R=vidur A=chofmann
git-svn-id: svn://10.0.0.236/trunk@32431 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 23:25:34 +00:00
vidur%netscape.com
ea99b5ffb8 Fix for bug 6843. Option.selected returns the correct value for non-multi-selects.
git-svn-id: svn://10.0.0.236/trunk@32430 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 23:24:06 +00:00
briano%netscape.com
ba2c36c185 Fixed a bug that only exhibited itself if NO_STATIC_LIB was defined. The tools (../tools) require that libxpt.a gets built no matter what, and that wasn't happening.
git-svn-id: svn://10.0.0.236/trunk@32429 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 23:17:03 +00:00
joki%netscape.com
91abaf6632 Fix for bug 6005, crash on window closing via script. A: chofmann, R: vidur
git-svn-id: svn://10.0.0.236/trunk@32427 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 23:16:53 +00:00
vidur%netscape.com
518d3ab653 Fix for bug 4050 - problem with HTMLSelectElement::Add(). Fix reviewed by Eric Pollmann and approved by CYeh.
git-svn-id: svn://10.0.0.236/trunk@32424 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 21:50:14 +00:00
rogerl%netscape.com
095914ec44 Switching to JSValue throughout. Implementing operators per base type.
git-svn-id: svn://10.0.0.236/trunk@32415 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 21:16:11 +00:00
tague%netscape.com
faaa440343 Fixed bug #6680. Approved by chofmann.
git-svn-id: svn://10.0.0.236/trunk@32410 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 19:21:51 +00:00
tague%netscape.com
dfc83b2766 Fix for #5916 - Input Method Candidate list rendered as blobs. Approved by chofmann.
git-svn-id: svn://10.0.0.236/trunk@32409 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 18:56:48 +00:00
mcafee%netscape.com
7604eff355 Adding Tab test to Debug | XPToolkit. a=chofmann
git-svn-id: svn://10.0.0.236/trunk@32403 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 17:45:15 +00:00
mcafee%netscape.com
bf494e7c8e Exporting tab.xul. a=chofmann
git-svn-id: svn://10.0.0.236/trunk@32402 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 17:44:05 +00:00
mcafee%netscape.com
4475d624e9 Test for tab widget. a=chofmann
git-svn-id: svn://10.0.0.236/trunk@32401 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 17:43:00 +00:00
jfrancis%netscape.com
abe9be9f5a adding layout/html/content/public/MANIFEST to dist build
git-svn-id: svn://10.0.0.236/trunk@32400 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 13:40:18 +00:00
hyatt%netscape.com
cd7befee69 No manifest file was included for this directory. ^%&#^%&#@$
git-svn-id: svn://10.0.0.236/trunk@32399 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 09:13:00 +00:00
rickg%netscape.com
ec1b421792 checkin to fix bugs per hofmann
git-svn-id: svn://10.0.0.236/trunk@32387 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 07:36:54 +00:00
hyatt%netscape.com
7130ae80a6 Fixes for bugs 6746 and 6747. Approved by chofmann@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@32386 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 06:39:37 +00:00
rickg%netscape.com
e488bea319 fixed string usage error
git-svn-id: svn://10.0.0.236/trunk@32385 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 06:19:14 +00:00
matt%netscape.com
c27a89875a Adding internationalization stuff for xul...Appoved by chris
git-svn-id: svn://10.0.0.236/trunk@32384 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 03:58:58 +00:00
gordon%netscape.com
2dc3eb46f0 Fix for bug#6662 "PR_Open does not set hpb.fileParam.ioDirID field".
git-svn-id: svn://10.0.0.236/trunk@32383 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 03:58:42 +00:00
matt%netscape.com
dc92e40330 Adding xul files for prefs
git-svn-id: svn://10.0.0.236/trunk@32382 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 03:35:50 +00:00
gordon%netscape.com
e45d4dcf50 Resolves bug# 4314 "create separate build script for NSPR" by factoring the builds of the dist directory and projects into the minimum necessary for NSPR (collectively referred to as Runtime) and the rest of the Client. Reviewed by Simon Fraser.
git-svn-id: svn://10.0.0.236/trunk@32381 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 03:34:01 +00:00
gordon%netscape.com
f685c26237 Preparation for separate runtime builds on Mac. Added $build{runtime} = 0;
git-svn-id: svn://10.0.0.236/trunk@32380 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 03:31:25 +00:00
briano%netscape.com
e4cdad0924 Fix for BSDI builds.
git-svn-id: svn://10.0.0.236/trunk@32379 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 03:27:20 +00:00
mscott%netscape.com
3b76d4e0e1 Back out ftang's changes to fix show stopper on mailnews: Bug #6740. Right now mailnews is helpless without backing this out.
git-svn-id: svn://10.0.0.236/trunk@32378 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 03:23:44 +00:00
mscott%netscape.com
028805ce34 Remove nsNewsArticleSet.h for sspitzer.
git-svn-id: svn://10.0.0.236/trunk@32377 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 03:18:13 +00:00
mjudge%netscape.com
80a995847b incorrect C++ put class:: in front of method name illegal ASCII C++ MAC picks this up i guess 1 line change
git-svn-id: svn://10.0.0.236/trunk@32373 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 03:01:02 +00:00
briano%netscape.com
c333d68726 Fix for SCO OpenServer builds. _SCO_DS is always set by SCO's compiler.
git-svn-id: svn://10.0.0.236/trunk@32371 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 02:57:37 +00:00
sspitzer%netscape.com
0f2bba7589 removed files: mozilla/mailnews/news/src/nsNNTPArticleSet.cpp
git-svn-id: svn://10.0.0.236/trunk@32370 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 02:57:19 +00:00
sspitzer%netscape.com
2f55b75945 added files: mozilla/mailnews/base/util/nsMsgKeySet.cpp, removed files: mozilla/mailnews/base/util/nsNewsSet.cpp
git-svn-id: svn://10.0.0.236/trunk@32369 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 02:56:02 +00:00
sspitzer%netscape.com
a075788a2b remove duplicate implementations of nsNewsSet. rename nsNewsSet to nsMsgKeySet.
heed the news set.  this fixes #6730 and #6244.


git-svn-id: svn://10.0.0.236/trunk@32368 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 02:54:25 +00:00
danm%netscape.com
e04f933a9b more error checking, a missing GetIID method and another test button should fix bug 6751. a:chofmann
git-svn-id: svn://10.0.0.236/trunk@32366 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 02:24:31 +00:00
rjc%netscape.com
a363c3d579 Fix Unix bustage on previous checking for bug # 6778.
git-svn-id: svn://10.0.0.236/trunk@32365 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 01:55:37 +00:00
akkana%netscape.com
0325b11e9d 6773: an nsresult was being checked before it was initialized. Appv'd chofmann
git-svn-id: svn://10.0.0.236/trunk@32364 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 01:48:12 +00:00
sdagley%netscape.com
f53c9186a2 Fix bug #3534. Now set EOF and file position to requested offset in a seek when the offset is past the current EOF. With this fix pinkerton's workaround in reg.c is no longer required si it has been removed. Reviewed pinkerton, approved chofmann.
git-svn-id: svn://10.0.0.236/trunk@32359 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 01:25:54 +00:00
rjc%netscape.com
343cde0381 Fix bug # 6778. Reviewed by sdagley, approved by chofmann.
The fix consists of checking the proper default namespace on attributes (instead of using the XUL namespace), and adding a XUL template in for the bookmarks panel in the sidebar.


git-svn-id: svn://10.0.0.236/trunk@32358 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 01:21:20 +00:00
briano%netscape.com
94873d50e0 Fix for SCO's brain-damaged C++ (cfront) compiler.
git-svn-id: svn://10.0.0.236/trunk@32355 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 01:01:43 +00:00
mjudge%netscape.com
85ff7d2a69 reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply
git-svn-id: svn://10.0.0.236/trunk@32354 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 00:52:00 +00:00
slamm%netscape.com
cfbf2cd253 Avoid user layers with gecko client. Need to use style sheets instead.
git-svn-id: svn://10.0.0.236/trunk@32353 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 00:36:09 +00:00
rogerl%netscape.com
a58c620f15 New.
git-svn-id: svn://10.0.0.236/trunk@32351 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 00:14:26 +00:00
rogerl%netscape.com
13a12a7a0e Switch to new JSValue hierarchy.
Added logical/bitwise ops.


git-svn-id: svn://10.0.0.236/trunk@32350 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-20 00:13:38 +00:00
norris%netscape.com
59c0460b7f Remove Java 2 dependency.
git-svn-id: svn://10.0.0.236/trunk@32349 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 23:58:37 +00:00
joki%netscape.com
99c9b77e71 Partial fix for 3289, reduce number of repaints/reflow when mousing over toolbar buttons. A:chofmann
git-svn-id: svn://10.0.0.236/trunk@32348 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 23:28:18 +00:00
sfraser%netscape.com
630ff78826 Fix for bugs 4907, 5317; New blank editor window, and Edit Page. r akkana, kin. a chofmann.
git-svn-id: svn://10.0.0.236/trunk@32347 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 23:27:34 +00:00
beard%netscape.com
c7a927daba bugs #5062, #4703: have to create per view manager rendering contexts, even when the shared drawing surfaces are already big enough.
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@32346 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 23:23:47 +00:00
slamm%netscape.com
a43127ccdd Change last checkin to use legal perl.
git-svn-id: svn://10.0.0.236/trunk@32345 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 23:20:23 +00:00
slamm%netscape.com
566be6aa75 Tighten up the date format for the sidebar panel.
git-svn-id: svn://10.0.0.236/trunk@32343 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 23:14:02 +00:00
slamm%netscape.com
360c999ef3 Update the sidebar panel every minute.
git-svn-id: svn://10.0.0.236/trunk@32342 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 23:07:54 +00:00
evaughan%netscape.com
e737c85970 Fixed some visibility bugs in order to make the tab widget work correctly.
git-svn-id: svn://10.0.0.236/trunk@32341 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 22:14:11 +00:00
harishd%netscape.com
26a1b6b64c Fix for Bug# 6716 - Handling multiple <BODY> tags in a document.
Fix for Bug# 6644 - Illegal content handling in tables - Tweaked.
(R) rickg (A) chofmann


git-svn-id: svn://10.0.0.236/trunk@32340 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 22:14:01 +00:00
harishd%netscape.com
84a87a74ea Fix for bug#6716. For handling multiple <BODY> tags in a document.
(R) rickg, (A) chofmann


git-svn-id: svn://10.0.0.236/trunk@32339 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 22:10:30 +00:00
varada%netscape.com
1db6814e57 help files
git-svn-id: svn://10.0.0.236/trunk@32338 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 21:53:48 +00:00
slamm%netscape.com
2160b10698 Add flash panel data.
git-svn-id: svn://10.0.0.236/trunk@32336 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 21:20:00 +00:00
kin%netscape.com
cee4c90dcf Fix build bustage when --disable-editor is used.
Approved by chofmann@netscape.com and leaf@mozilla.org.


git-svn-id: svn://10.0.0.236/trunk@32335 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 20:26:51 +00:00
dp%netscape.com
c2b4ac8d85 Caret files moved from base/
git-svn-id: svn://10.0.0.236/trunk@32334 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 19:17:07 +00:00
briano%netscape.com
658ee7c60f Automated update
git-svn-id: svn://10.0.0.236/trunk@32320 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 09:59:43 +00:00
briano%netscape.com
6f78a45311 SCO OS5 specific addition.
git-svn-id: svn://10.0.0.236/trunk@32319 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 09:51:11 +00:00
briano%netscape.com
5e5eea3805 Replaced 'true' and 'false' with 'PR_TRUE' and 'PR_FALSE' to make it compile on Unix.
git-svn-id: svn://10.0.0.236/trunk@32318 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 09:13:05 +00:00
hyatt%netscape.com
e830099295 Fix for bug 5911.
git-svn-id: svn://10.0.0.236/trunk@32317 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 08:26:21 +00:00
waterson%netscape.com
6fba724d9a Check for null pointer to avoid crashes in Unix viewer.
git-svn-id: svn://10.0.0.236/trunk@32316 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 08:06:47 +00:00
mcafee%netscape.com
19edd7a6eb Fixing missing toolbar problem. r=danm a=me
git-svn-id: svn://10.0.0.236/trunk@32315 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 07:51:48 +00:00
waterson%netscape.com
2195264b65 Re-wrote to avoid use of NS_WITH_SERVICE macro; otherwise, we'll get annoying asserts in viewer.
git-svn-id: svn://10.0.0.236/trunk@32314 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 07:22:57 +00:00
waterson%netscape.com
34cd29be6b Don't PR_DELETE() an uninitialized pointer.
git-svn-id: svn://10.0.0.236/trunk@32313 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 07:08:38 +00:00
waterson%netscape.com
dfd13a3ca2 Fix crash bugs: failure to initialize m_reg member.
git-svn-id: svn://10.0.0.236/trunk@32312 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 07:02:07 +00:00
mscott%netscape.com
16455599d2 For consistancies sake, back out the rest of hangas's changes until he can
add a selectaddress.xul file.


git-svn-id: svn://10.0.0.236/trunk@32311 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 06:36:36 +00:00
mscott%netscape.com
71835d3564 for consistencies sake, back out the rest of hangas's changes until he
can add a selectaddress.xul file.


git-svn-id: svn://10.0.0.236/trunk@32310 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 06:33:30 +00:00
dveditz%netscape.com
40a71a16e6 AddDirectory() implemented
git-svn-id: svn://10.0.0.236/trunk@32309 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 06:32:16 +00:00
waterson%netscape.com
7b6216c6da Fix Linux ambiguity with nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@32308 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 06:10:17 +00:00
dp%netscape.com
d04ca385bf Reversing previous checkin. It should have happened in XPCOM20_BRANCH
git-svn-id: svn://10.0.0.236/trunk@32305 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 06:04:03 +00:00
dp%netscape.com
6b3eb939ca Revering previous checkin. It should have happned on the XPCOM20_BRANCH
git-svn-id: svn://10.0.0.236/trunk@32304 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:58:54 +00:00
waterson%netscape.com
c72d0600be No longer needed.
git-svn-id: svn://10.0.0.236/trunk@32303 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:57:55 +00:00
waterson%netscape.com
578acf08dd These files are generated now.
git-svn-id: svn://10.0.0.236/trunk@32302 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:57:28 +00:00
dp%netscape.com
b3ad6cd575 Removing gmbase
git-svn-id: svn://10.0.0.236/trunk@32301 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:54:49 +00:00
waterson%netscape.com
25aa4f9895 Bug 5630. Use nsRandomAccessInputStream to read a line at a time (vs. a character at a time). Tip o' the hat to jim_nance@yahoo.com.
git-svn-id: svn://10.0.0.236/trunk@32300 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:53:14 +00:00
dp%netscape.com
f406cee28d Damn it! the previous changes should have happened on the branch. Reversing them
git-svn-id: svn://10.0.0.236/trunk@32298 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:32:58 +00:00
rjc%netscape.com
516af96c29 Apply Scott Putterman's fix for XUL sorting.
git-svn-id: svn://10.0.0.236/trunk@32297 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:30:25 +00:00
ducarroz%netscape.com
0944dea8ea remove META tag (bug 6675)
git-svn-id: svn://10.0.0.236/trunk@32296 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:30:19 +00:00
dp%netscape.com
761e60c611 Adding nsTimer
git-svn-id: svn://10.0.0.236/trunk@32295 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:24:52 +00:00
gayatrib%netscape.com
9051554538 Added code to invoke ProfileManager from command line and turned on the CreateProfileWizard
git-svn-id: svn://10.0.0.236/trunk@32293 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:20:06 +00:00
gayatrib%netscape.com
85b0a2ae2c removed all references to profile as it is a component now
git-svn-id: svn://10.0.0.236/trunk@32292 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:17:32 +00:00
gayatrib%netscape.com
17ec435584 updated to include the new profile manager services
git-svn-id: svn://10.0.0.236/trunk@32291 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:15:15 +00:00
dp%netscape.com
714d9cd092 Moving these files from base
git-svn-id: svn://10.0.0.236/trunk@32290 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:14:43 +00:00
gayatrib%netscape.com
6293ec9e2e updated javascript reflection file that includes the new profile manager services
git-svn-id: svn://10.0.0.236/trunk@32289 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:12:30 +00:00
gayatrib%netscape.com
adff7dfe1c Added method interfaces to support the new profile manager services
git-svn-id: svn://10.0.0.236/trunk@32288 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:08:42 +00:00
gayatrib%netscape.com
9eea30984d Addd prfoile core
git-svn-id: svn://10.0.0.236/trunk@32287 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:06:58 +00:00
gayatrib%netscape.com
bbebdbaba4 idl file for profile core services
git-svn-id: svn://10.0.0.236/trunk@32286 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:03:11 +00:00
pollmann%netscape.com
bf40fe13d4 Bug 3187: Teach Windows select widgets how to insert in the middle of a list (4 of 3)
git-svn-id: svn://10.0.0.236/trunk@32285 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:02:35 +00:00
rickg%netscape.com
1f82bdb300 fixed bug 6597 and added memory allocation conditioning
git-svn-id: svn://10.0.0.236/trunk@32284 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 05:01:46 +00:00
gayatrib%netscape.com
d2804028ef modified to support profile locations on all platforms
git-svn-id: svn://10.0.0.236/trunk@32283 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:59:38 +00:00
gayatrib%netscape.com
801221dd1a added profileSwitch file to the makefile
git-svn-id: svn://10.0.0.236/trunk@32282 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:48:44 +00:00
dveditz%netscape.com
d434b9b24c nsZipArchive.h
git-svn-id: svn://10.0.0.236/trunk@32281 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:48:19 +00:00
gayatrib%netscape.com
b8d08203e2 new header file to serve as a profile code compilation switch
git-svn-id: svn://10.0.0.236/trunk@32280 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:46:35 +00:00
bienvenu%netscape.com
e89bee40e5 turn on protocol logging in release mode
git-svn-id: svn://10.0.0.236/trunk@32279 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:43:00 +00:00
gayatrib%netscape.com
01c85ce31c Added method interfaces to support the new profile manager services
git-svn-id: svn://10.0.0.236/trunk@32278 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:40:39 +00:00
gayatrib%netscape.com
efb54792ef Added code to support the new profile manager services
git-svn-id: svn://10.0.0.236/trunk@32277 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:38:44 +00:00
pollmann%netscape.com
3573f16191 Bug 3187: Add widget update on option creation and destruction. (3 of 3)
git-svn-id: svn://10.0.0.236/trunk@32276 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:37:41 +00:00
gayatrib%netscape.com
c63e427915 new makefile with all the new ui files
git-svn-id: svn://10.0.0.236/trunk@32275 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:35:39 +00:00
gayatrib%netscape.com
0be1d8e285 rename profile ui
git-svn-id: svn://10.0.0.236/trunk@32274 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:35:10 +00:00
gayatrib%netscape.com
9dee62ff25 contains profile manager ui
git-svn-id: svn://10.0.0.236/trunk@32273 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:33:56 +00:00
gayatrib%netscape.com
2aa3635dc8 profile manager ui
git-svn-id: svn://10.0.0.236/trunk@32272 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:32:45 +00:00
gayatrib%netscape.com
a8a79313de The first navigation frame of create profile wizard
git-svn-id: svn://10.0.0.236/trunk@32271 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:30:58 +00:00
gayatrib%netscape.com
d165c6540e The first navigation frame of create profile wizard called from profile manager
git-svn-id: svn://10.0.0.236/trunk@32270 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:30:22 +00:00
gayatrib%netscape.com
1ad3d01d97 This causes the last page of create profile wizard called from profile manager to return to profile manager
git-svn-id: svn://10.0.0.236/trunk@32269 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:29:03 +00:00
waterson%netscape.com
b821dd8efa Implement nsIDOMNSDocument properly. Factor logic for createElement & createElementWithNamespace.
git-svn-id: svn://10.0.0.236/trunk@32268 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:28:40 +00:00
gayatrib%netscape.com
db5313ab6a New navigation frame that does not have Next button on last page of CreateProfile wizard
git-svn-id: svn://10.0.0.236/trunk@32267 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:24:31 +00:00
gayatrib%netscape.com
2e926b0f3d File to display error messages
git-svn-id: svn://10.0.0.236/trunk@32266 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:22:42 +00:00
gayatrib%netscape.com
f6427501b8 Create profile wizard from profile manager
git-svn-id: svn://10.0.0.236/trunk@32265 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:21:53 +00:00
gayatrib%netscape.com
f018923f09 Added new navigation frames to prevent the coexistence of next finish buttons
git-svn-id: svn://10.0.0.236/trunk@32264 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:20:28 +00:00
gayatrib%netscape.com
0c7e0d0b4d New file to return to profile manager from the last screen
git-svn-id: svn://10.0.0.236/trunk@32263 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:19:33 +00:00
gayatrib%netscape.com
1304cdd3ab Added code to remember the edit field values
git-svn-id: svn://10.0.0.236/trunk@32262 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:17:51 +00:00
gayatrib%netscape.com
ac8ca05247 Modified to include all the new xul files
git-svn-id: svn://10.0.0.236/trunk@32261 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:13:22 +00:00
danm%netscape.com
1a007edda6 adding partial (for DOM elements) chromemask support to apprunner
git-svn-id: svn://10.0.0.236/trunk@32260 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:11:54 +00:00
alecf%netscape.com
94d0973f92 add string-replacement capabilitiy to PrefsCore - now prefs can be dynamically changed on the fly in a given document
git-svn-id: svn://10.0.0.236/trunk@32259 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:11:38 +00:00
alecf%netscape.com
db405c3b81 update XPIDL version of the DOM IDL file
git-svn-id: svn://10.0.0.236/trunk@32258 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:10:42 +00:00
dveditz%netscape.com
dfa3e02e66 new file
git-svn-id: svn://10.0.0.236/trunk@32257 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 04:06:40 +00:00
waterson%netscape.com
258ae5e444 Re-arrange to fix win32 bustage.
git-svn-id: svn://10.0.0.236/trunk@32255 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:56:19 +00:00
waterson%netscape.com
4d49159014 Use nsIRDFService::GetDataSource(). For now we need to, because you can't Init() the same RDF/XML datasource twice. This kinda sucks because it's synchronous.
git-svn-id: svn://10.0.0.236/trunk@32254 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:54:43 +00:00
briano%netscape.com
6bc37247a3 Fixed the typo that was breaking Unix builds.
git-svn-id: svn://10.0.0.236/trunk@32253 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:48:06 +00:00
pollmann%netscape.com
b6fa9960a1 Bug 3187: Add frame notification on option creation and destruction.
git-svn-id: svn://10.0.0.236/trunk@32252 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:46:25 +00:00
waterson%netscape.com
5e090240e2 Remove #define out PR_LOG_ALWAYS to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@32251 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:46:13 +00:00
varada%netscape.com
51a83d2af2 .aps file
git-svn-id: svn://10.0.0.236/trunk@32250 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:46:05 +00:00
waterson%netscape.com
8434a7ac0f Remove fstream.h to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@32249 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:45:50 +00:00
varada%netscape.com
3ea51694df rc file
git-svn-id: svn://10.0.0.236/trunk@32248 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:45:41 +00:00
pollmann%netscape.com
816fa2970a Bug 3322: onChange won't be sent when the combo box is first clicked now. (2 of x)
git-svn-id: svn://10.0.0.236/trunk@32247 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:37:23 +00:00
varada%netscape.com
68ef87ec21 help files
git-svn-id: svn://10.0.0.236/trunk@32246 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:31:11 +00:00
varada%netscape.com
3f79cd70a9 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@32245 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:25:38 +00:00
davidm%netscape.com
b5cc6cd2be Add code to post fix string to title and to tell the window mediator about title changes
git-svn-id: svn://10.0.0.236/trunk@32244 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:21:19 +00:00
dveditz%netscape.com
e8f14c6429 allow multi-user finds
git-svn-id: svn://10.0.0.236/trunk@32243 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:21:03 +00:00
varada%netscape.com
9a4d4d903a *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@32242 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:17:50 +00:00
davidm%netscape.com
30d38944c3 Added code to tell the window mediator about title changes and to post fix titles with a XUL attribute
git-svn-id: svn://10.0.0.236/trunk@32241 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:04:39 +00:00
blizzard%redhat.com
2b320c95a5 bpp stands for bytes per pixel, not bits per pixel in certian circumstances. make sure that the image data buffer is allocated properly.
git-svn-id: svn://10.0.0.236/trunk@32239 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:04:03 +00:00
davidm%netscape.com
fdd634ea0d Register and Unregister Windows with the window manager
git-svn-id: svn://10.0.0.236/trunk@32238 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:03:48 +00:00
mscott%netscape.com
e4872fe72e Fix build breakage for Hangas by backing out the makefile change until he can check in selectadress.xul.
git-svn-id: svn://10.0.0.236/trunk@32237 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 03:00:35 +00:00
davidm%netscape.com
43b44d234c Add nsWindowMediator to build and factory
git-svn-id: svn://10.0.0.236/trunk@32236 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 02:57:55 +00:00
davidm%netscape.com
1075fd5a73 Add nsWindowMediator to the build and the factory
git-svn-id: svn://10.0.0.236/trunk@32235 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 02:57:00 +00:00
mscott%netscape.com
75950cb4be Fix Mac build for hangas by backing out his selectaddress.xul change as we don't have that file.
git-svn-id: svn://10.0.0.236/trunk@32234 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 02:56:55 +00:00
mscott%netscape.com
9337e6bd58 fix windows build for hangas. backing out his changes as we don't have a selectaddress.xul file to export.
git-svn-id: svn://10.0.0.236/trunk@32233 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 02:55:45 +00:00
sdagley%netscape.com
0b62b2ac05 Add test to see if async I/O has completed before we actually yield the thread. Part of the I/O improvments tagged under bug #3536. Approved wtc.
git-svn-id: svn://10.0.0.236/trunk@32232 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 02:49:00 +00:00
ssu%netscape.com
99d4c5019c fixing bug #6661
git-svn-id: svn://10.0.0.236/trunk@32231 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 02:26:54 +00:00
hangas%netscape.com
7ba7493123 Added selectaddress.xul
git-svn-id: svn://10.0.0.236/trunk@32230 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 02:19:09 +00:00
davidm%netscape.com
0050102589 Update to compile on windows
git-svn-id: svn://10.0.0.236/trunk@32229 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 02:18:02 +00:00
hangas%netscape.com
6ac1059acf Added addressbook.js to support address picker dialog
git-svn-id: svn://10.0.0.236/trunk@32228 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 02:11:38 +00:00
hangas%netscape.com
c7a9bc7baa Added code for selectaddress.xul (address picker)
git-svn-id: svn://10.0.0.236/trunk@32227 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 02:10:28 +00:00
dveditz%netscape.com
266386bbc8 further bullet-proofing against bad callers
git-svn-id: svn://10.0.0.236/trunk@32226 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 02:02:47 +00:00
bienvenu%netscape.com
ef1b20c6a3 more work on filter actions
git-svn-id: svn://10.0.0.236/trunk@32225 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:56:32 +00:00
bienvenu%netscape.com
fc679f3a50 temporarily don't build nsIDOMMsgAppcore.idl
git-svn-id: svn://10.0.0.236/trunk@32224 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:47:41 +00:00
beard%netscape.com
1ff80f1a72 bug #5670: renamed nsJNIEnvRef -> GetProxyEnv, got rid of operator ->, added GetSecureEnv. Changed CreateProxyJNI to return NULL if getSecureEnv() returns NULL, so the proxy JNI doesn't have to check for NULL. Makes OJI more robust when a JVM isn't available.
git-svn-id: svn://10.0.0.236/trunk@32223 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:44:35 +00:00
beard%netscape.com
c3189f1186 bug #5670: making more robust when MRJ session can't be created.
git-svn-id: svn://10.0.0.236/trunk@32222 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:39:51 +00:00
nhotta%netscape.com
92e29ad6ba Changed to pick up result of MIME decoder and unicode converter.
git-svn-id: svn://10.0.0.236/trunk@32221 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:37:46 +00:00
pavlov%pavlov.net
381560d068 fix for combo box bustage (bug 6712)
git-svn-id: svn://10.0.0.236/trunk@32220 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:37:21 +00:00
wtc%netscape.com
de50d2c987 More SCO OpenServer updates from Brian Ostrom <briano@netscape.com>.
git-svn-id: svn://10.0.0.236/trunk@32219 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:28:21 +00:00
jefft%netscape.com
9ce211f3a8 fixed VC++ 5.0 bustage problem
git-svn-id: svn://10.0.0.236/trunk@32218 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:15:17 +00:00
srinivas%netscape.com
d4d2f2d4ae Fixed a typo in previous checkin
git-svn-id: svn://10.0.0.236/trunk@32216 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:14:12 +00:00
pollmann%netscape.com
d11280c6a1 Bug 3187: Adding an IndexOf method to nsOptionList. We'll use this in the option constructor and destructor (1 of 3)
git-svn-id: svn://10.0.0.236/trunk@32215 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:11:48 +00:00
briano%netscape.com
210fb8660e Fix for bug 6650 to handle toolkits other than GTK. Thanks to Jerry.Kirk@Nexwarecorp.com.
git-svn-id: svn://10.0.0.236/trunk@32214 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:08:52 +00:00
putterman%netscape.com
20bdfd3714 Generate headers from idl.
git-svn-id: svn://10.0.0.236/trunk@32213 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:07:54 +00:00
jefft%netscape.com
f8a56ed92d fixed delete message barf on creating new message header
git-svn-id: svn://10.0.0.236/trunk@32212 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:05:05 +00:00
pollmann%netscape.com
90b1164b81 Enabling SIZE attribute change for selects.
git-svn-id: svn://10.0.0.236/trunk@32211 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 01:03:02 +00:00
pollmann%netscape.com
56257e3041 Enabling MULTIPLE attribute change for selects.
git-svn-id: svn://10.0.0.236/trunk@32210 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:59:06 +00:00
srinivas%netscape.com
2bb10f123a OpenVMS port; checkin for "Colin R. Blake" <colin@theblakes.com>.
git-svn-id: svn://10.0.0.236/trunk@32205 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:53:52 +00:00
ducarroz%netscape.com
2e381d9c66 Fix Reply and Forward who wasn't working since new Ender LoadUrl. Implement a temporary HTML support.
git-svn-id: svn://10.0.0.236/trunk@32204 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:52:51 +00:00
ducarroz%netscape.com
28640c9f72 remove the dot in front of Reply, Reply all and Forward.
git-svn-id: svn://10.0.0.236/trunk@32203 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:52:49 +00:00
ducarroz%netscape.com
0918b5d247 Fix ender loading URL problem when doing a reply or forward
git-svn-id: svn://10.0.0.236/trunk@32202 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:52:48 +00:00
ducarroz%netscape.com
69c0c80750 Remove redefinition of GetTimeMac
git-svn-id: svn://10.0.0.236/trunk@32201 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:52:47 +00:00
tague%netscape.com
edb9416a50 Fixed up componet registration
git-svn-id: svn://10.0.0.236/trunk@32200 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:50:19 +00:00
nhotta%netscape.com
b884b5b8cb Bug fix #6680, removed duplicated declarations of the variable res.
git-svn-id: svn://10.0.0.236/trunk@32199 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:49:25 +00:00
wtc%netscape.com
03851cef0f Bugzilla bug #4761: define _LARGEFILE64_SOURCE explicitly if we are
on Solaris 2.6 or 2.7 and using gcc.  Thanks to vdemarco@novazen.com
and mcafee@netscape.com for reporting this problem.


git-svn-id: svn://10.0.0.236/trunk@32198 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:40:28 +00:00
alecf%netscape.com
e65ae33ece fix for #5792 - remove leading '/' that occurs on unix
git-svn-id: svn://10.0.0.236/trunk@32197 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:36:58 +00:00
alecf%netscape.com
5271aa89f7 fix newline at end of file
git-svn-id: svn://10.0.0.236/trunk@32196 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:36:13 +00:00
pollmann%netscape.com
3dd13e0a9b Enabling cols and rows attribute change for framesets. (1 of 3)
git-svn-id: svn://10.0.0.236/trunk@32195 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:34:56 +00:00
alecf%netscape.com
a279a7a81a fix up this datasource to support the AccountManager:
- add a new arc out from each account accounts "Settings"
- add new properties on Settings - Main, Advanced, Server, Copies
- add arcs out from Main, Advanced, Server, and Copies for Name and PageTag


git-svn-id: svn://10.0.0.236/trunk@32194 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:34:48 +00:00
alecf%netscape.com
2344b9a917 remove unused variable
git-svn-id: svn://10.0.0.236/trunk@32193 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:30:13 +00:00
alecf%netscape.com
e4e38fbc72 add FilterEditor to windows build
git-svn-id: svn://10.0.0.236/trunk@32192 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:27:56 +00:00
alecf%netscape.com
595f8b0db4 ok, ok, cool RGB is going away
git-svn-id: svn://10.0.0.236/trunk@32191 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:25:26 +00:00
alecf%netscape.com
1c96e551ca switch over to titledbuttons, plus some minor tweaks
git-svn-id: svn://10.0.0.236/trunk@32190 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:24:47 +00:00
ftang%netscape.com
7d0cd1a7e1 get charset information from nsIWebShell to implement META charset reload
git-svn-id: svn://10.0.0.236/trunk@32189 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:24:41 +00:00
ftang%netscape.com
13637ff3b0 call the new ReloadDocument api from nsIWebShellServices
git-svn-id: svn://10.0.0.236/trunk@32188 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:23:59 +00:00
alecf%netscape.com
fb8408bdda fix up the tree widget to look a little nicer
git-svn-id: svn://10.0.0.236/trunk@32187 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:23:39 +00:00
ftang%netscape.com
f55cd93707 add method to push necessary informaiton to implement Meta charset observeration
git-svn-id: svn://10.0.0.236/trunk@32186 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:23:03 +00:00
alecf%netscape.com
a0fd39c794 first cut at a message filter edito
git-svn-id: svn://10.0.0.236/trunk@32185 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:21:55 +00:00
peterl%netscape.com
31183b200b fix mac, better whitespace after escape handling
git-svn-id: svn://10.0.0.236/trunk@32184 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:18:30 +00:00
matt%netscape.com
3cdde75401 Adding prefswindow.xul for internationalization
git-svn-id: svn://10.0.0.236/trunk@32183 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:17:12 +00:00
slamm%netscape.com
9e37379393 Remove shortcut column from sidebar panel.
git-svn-id: svn://10.0.0.236/trunk@32182 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:15:46 +00:00
alecf%netscape.com
8b849e5a45 update account manager to use the account manager data source
git-svn-id: svn://10.0.0.236/trunk@32180 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:12:48 +00:00
briano%netscape.com
1323fcc79a Fixed the handling of the tests directory. Only go there if ENABLE_TESTS is defined.
git-svn-id: svn://10.0.0.236/trunk@32179 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:07:00 +00:00
despotdaemon%netscape.com
c9ff599b14 Pseudo-automatic update of changes made by dp@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@32178 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:06:03 +00:00
peterl%netscape.com
61bdcd6a95 fixed ambiguous cast for nsCOMPtr on linux
git-svn-id: svn://10.0.0.236/trunk@32177 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:05:40 +00:00
mscott%netscape.com
f6673c61f4 cleanup makefile.
git-svn-id: svn://10.0.0.236/trunk@32176 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:02:29 +00:00
peterl%netscape.com
fa00846804 added nsICSSLoader
git-svn-id: svn://10.0.0.236/trunk@32175 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-19 00:00:58 +00:00
mscott%netscape.com
8427db7291 Updates with msgcoreutil building as a dll.
git-svn-id: svn://10.0.0.236/trunk@32174 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:59:45 +00:00
mscott%netscape.com
f4b55cfac2 clean up makefile, remove unnecessary define.
git-svn-id: svn://10.0.0.236/trunk@32173 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:59:16 +00:00
mscott%netscape.com
38eaa8d5a4 remove linkage against rdfutil_s. we don't need it anymore.
git-svn-id: svn://10.0.0.236/trunk@32172 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:57:37 +00:00
mscott%netscape.com
3311e09e62 Make base\util build as a dll. This includes defining IMPL_NS_MSG_BASE and adding makefile code to generate the dll.
git-svn-id: svn://10.0.0.236/trunk@32171 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:56:48 +00:00
mscott%netscape.com
735a8482d0 Add NS_MSG_BASE to class declaration to help make base\util build as a dll on win32.
git-svn-id: svn://10.0.0.236/trunk@32170 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:55:39 +00:00
joki%netscape.com
80216e03d8 added files: mozilla/dom/src/events/nsJSUIEvent.cpp
git-svn-id: svn://10.0.0.236/trunk@32169 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:51:30 +00:00
joki%netscape.com
5ff7e26f51 Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent.
git-svn-id: svn://10.0.0.236/trunk@32168 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:51:04 +00:00
despotdaemon%netscape.com
d60619287e Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@32167 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:49:40 +00:00
despotdaemon%netscape.com
00817dfc89 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@32166 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:48:53 +00:00
putterman%netscape.com
c006f7db14 Show "???" when message counts are unknown. Use RDF collation key sorting.
git-svn-id: svn://10.0.0.236/trunk@32165 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:48:15 +00:00
mscott%netscape.com
3e64b2deb0 define NS_MSG_BASE which is used as a prefix in front of all functions & classes in base\util. This macro applies to win32 only right now. It is used to declare things as export when building the file and import when we are linking against the file. This helps us make msgcoreutil build as a dynamic library on win32.
git-svn-id: svn://10.0.0.236/trunk@32164 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:46:23 +00:00
vidur%netscape.com
d44b617f1f Fix for bug 3387. document.opened pages now get the URL of their source document.
git-svn-id: svn://10.0.0.236/trunk@32163 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:44:55 +00:00
joki%netscape.com
51e46314a9 Breaking nsIDOMEvent interface into nsIDOMEvent and nsIDOMUIEvent to be up to spec with DOM Lvl2
git-svn-id: svn://10.0.0.236/trunk@32162 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:41:49 +00:00
peterl%netscape.com
171c9be5e3 added files: mozilla/layout/html/style/src/nsCSSLoader.cpp
git-svn-id: svn://10.0.0.236/trunk@32161 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:24:20 +00:00
jefft%netscape.com
0d0b5978aa set default maximum connections to be 5 instead of 2
git-svn-id: svn://10.0.0.236/trunk@32160 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:24:07 +00:00
waterson%netscape.com
a7112c4071 Bug 5630. Use nsRandomAccessInputStream to improve read performance. Also, use nsIProfile::GetCurrentProfileDir() to locate the history files.
git-svn-id: svn://10.0.0.236/trunk@32159 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:20:31 +00:00
waterson%netscape.com
11d52f0cf0 Remove unnecessary #include of jsapi.h
git-svn-id: svn://10.0.0.236/trunk@32158 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:19:28 +00:00
hangas%netscape.com
2669e7d5bd Make sure that we print some data string, even if INTL functions fail. Fixes Mac crasher. Checked in for putterman.
git-svn-id: svn://10.0.0.236/trunk@32157 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:17:26 +00:00
peterl%netscape.com
d564d38b2f added css loader support
git-svn-id: svn://10.0.0.236/trunk@32156 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:16:26 +00:00
peterl%netscape.com
d3c3b79635 removed extra call to did set style context
git-svn-id: svn://10.0.0.236/trunk@32155 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:15:51 +00:00
peterl%netscape.com
dd4beafc1d added css loader
git-svn-id: svn://10.0.0.236/trunk@32154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:15:10 +00:00
peterl%netscape.com
3130c85e81 added clone & insert child support
added drag-n-drop pseudo support


git-svn-id: svn://10.0.0.236/trunk@32153 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:14:29 +00:00
jefft%netscape.com
87c730467e backout the previous checkin for using nsCOMPtr; using nsVoidArray is by design
git-svn-id: svn://10.0.0.236/trunk@32152 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:14:05 +00:00
peterl%netscape.com
5bb0c3cacc fixed escape parsing
git-svn-id: svn://10.0.0.236/trunk@32151 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:13:27 +00:00
peterl%netscape.com
b7aff5bf82 made border style a reflow hint
git-svn-id: svn://10.0.0.236/trunk@32150 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:12:52 +00:00
peterl%netscape.com
5c9c0822b4 added css loader for child sheet
added drag pseudo classes
fixed background parsing bug


git-svn-id: svn://10.0.0.236/trunk@32149 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:12:17 +00:00
peterl%netscape.com
986a0eeaa9 added drag-n-drop psuedo classes
git-svn-id: svn://10.0.0.236/trunk@32148 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:10:53 +00:00
norris%netscape.com
9abc6cdfb8 Fix bug 6313 'Rhino: "new Function" doesn't work properly with superglobal'
Also clean up Context.exit() to be more consistent with Context.enter(),
and make SecuritySupport work with JavaAdapter.


git-svn-id: svn://10.0.0.236/trunk@32147 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:10:20 +00:00
peterl%netscape.com
578aa44744 added insert child sheet & clone methods
git-svn-id: svn://10.0.0.236/trunk@32146 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:10:09 +00:00
peterl%netscape.com
70aa3c9c01 added set child loader
git-svn-id: svn://10.0.0.236/trunk@32145 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:09:47 +00:00
peterl%netscape.com
9bd2b9bacf added drag pseudo classes
git-svn-id: svn://10.0.0.236/trunk@32144 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:09:21 +00:00
peterl%netscape.com
8b5f7b3982 added insert style sheet
git-svn-id: svn://10.0.0.236/trunk@32143 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:08:14 +00:00
peterl%netscape.com
880965a09e added css loader accessor
git-svn-id: svn://10.0.0.236/trunk@32142 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:07:53 +00:00
wtc%netscape.com
00517b5353 On SCO OpenServer 5, ENOBUFS and ENOSR are defined to be the
same thing.  So check whether they are equal.  Thanks to
Brian Ostrom <briano@netscape.com> for the bug fix.


git-svn-id: svn://10.0.0.236/trunk@32141 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:07:00 +00:00
peterl%netscape.com
77dcc5b017 added css loader support
added insert style sheet support


git-svn-id: svn://10.0.0.236/trunk@32140 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:06:31 +00:00
peterl%netscape.com
16649009d7 moved style sheet loading into css loader
git-svn-id: svn://10.0.0.236/trunk@32139 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:05:43 +00:00
peterl%netscape.com
e0c6c93da5 use css loader to get css parser for style attribute
git-svn-id: svn://10.0.0.236/trunk@32138 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:04:44 +00:00
peterl%netscape.com
c39d4db3d8 added css loader
git-svn-id: svn://10.0.0.236/trunk@32137 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:04:12 +00:00
peterl%netscape.com
38d391cd8b fixed change hint for border style
git-svn-id: svn://10.0.0.236/trunk@32136 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:03:29 +00:00
peterl%netscape.com
48831354ab added insert style sheet
fixed some observer notifications


git-svn-id: svn://10.0.0.236/trunk@32135 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:03:04 +00:00
peterl%netscape.com
9b48d494aa added insert style sheet method
git-svn-id: svn://10.0.0.236/trunk@32134 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:02:25 +00:00
peterl%netscape.com
0c7573e961 added css loader support
fixed document observer calls


git-svn-id: svn://10.0.0.236/trunk@32133 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:02:00 +00:00
norris%netscape.com
7c96700fcf Fix formatting.
git-svn-id: svn://10.0.0.236/trunk@32132 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:55:11 +00:00
norris%netscape.com
ecd847a6ac Clearer formatting.
git-svn-id: svn://10.0.0.236/trunk@32131 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:54:15 +00:00
rogerl%netscape.com
3e84c63771 New functionality
git-svn-id: svn://10.0.0.236/trunk@32130 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:50:53 +00:00
rogerl%netscape.com
3c0a85e0de New stuff - better handle on breaks etc, started try/catch
git-svn-id: svn://10.0.0.236/trunk@32129 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:49:59 +00:00
cata%netscape.com
0f957021ce Modified UTF-7 converters added.
git-svn-id: svn://10.0.0.236/trunk@32128 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:43:57 +00:00
slamm%netscape.com
879feefbc6 Ignore missing files (i.e. the dist directory is missing). General cleanup
git-svn-id: svn://10.0.0.236/trunk@32127 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:42:44 +00:00
jefft%netscape.com
936261fa15 call load url from imap incoming server
git-svn-id: svn://10.0.0.236/trunk@32126 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:39:32 +00:00
cata%netscape.com
614b3aef26 Modified UTF-7 converers added to the buid.
git-svn-id: svn://10.0.0.236/trunk@32125 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:38:26 +00:00
jefft%netscape.com
23329a5ec2 more on cached connections work -- urlQueue now implemented on nsImapIncomingServer instead of nsImapService; LoadNextQueuedUrl() will be triggered when finishing a running url
git-svn-id: svn://10.0.0.236/trunk@32124 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:38:25 +00:00
cata%netscape.com
2b2c1f127d added files: mozilla/intl/uconv/ucvlatin/nsUnicodeToMUTF7.cpp, mozilla/intl/uconv/ucvlatin/nsMUTF7ToUnicode.cpp
git-svn-id: svn://10.0.0.236/trunk@32123 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:37:47 +00:00
cata%netscape.com
30d3f19f65 Created.
git-svn-id: svn://10.0.0.236/trunk@32122 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:36:25 +00:00
jefft%netscape.com
9fd1d0a92d more on cached connections - removed CreateImapConnection(), LoadNextQueuedUrl() method
git-svn-id: svn://10.0.0.236/trunk@32121 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:34:41 +00:00
jefft%netscape.com
13c13360c9 more on cached connections - added TellThreadToDie() method
git-svn-id: svn://10.0.0.236/trunk@32120 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:33:49 +00:00
jefft%netscape.com
59d4a5b3d6 more on cached imap connections work - added Get/SetMaximumConnectionsNumber(), GetImapConnectionAndLoadUrl(), LoadNextQueuedUrl(), RemoveConnection() method
git-svn-id: svn://10.0.0.236/trunk@32119 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:32:46 +00:00
norris%netscape.com
baca4771b2 Add submission:
Subject:
            Re: Modified Context.java
       Date:
            Sat, 15 May 1999 08:01:37 +0000
      From:
            "Ian D. Stewart" <idstewart@softhome.net>
        To:
            Norris Boyd <norris@netscape.com>
 References:
            1 , 2 , 3 , 4 , 5




Ian D. Stewart wrote:

  Norris Boyd wrote:




    Can I help with EventListener collector?

  Actually, I have a working implementation complete (attatched), but by all means, feel free to add any functionality you feel
  may be missing, or to tweak the code .

Norris,

After I sent I my last e-mail, I noticed some potential issues using Object[] in ListenerCollection.getListeners(Class iface).
I'm attatching a new version, which uses a Vector object.  This should resolve those issues.


Ian


git-svn-id: svn://10.0.0.236/trunk@32118 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:32:25 +00:00
jefft%netscape.com
bf5f974f6c use nsCOMPtr for m_listeners
git-svn-id: svn://10.0.0.236/trunk@32117 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:30:10 +00:00
mjudge%netscape.com
82364c7531 oops fogot default boolean for non start or end node selection
git-svn-id: svn://10.0.0.236/trunk@32116 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:29:27 +00:00
sfraser%netscape.com
752634424b Implement nsCaret::GetWindowRelativeCoordinates for IME
git-svn-id: svn://10.0.0.236/trunk@32115 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:24:55 +00:00
law%netscape.com
8a1d815009 Fix bustage on Win95/Win98
git-svn-id: svn://10.0.0.236/trunk@32113 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:20:19 +00:00
law%netscape.com
08e59dff74 Minor improvements
git-svn-id: svn://10.0.0.236/trunk@32111 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:18:16 +00:00
radha%netscape.com
806caa2a3c Fix for bug # 5906. Update the URLbar with the url only if the page was loaded succesfully.
git-svn-id: svn://10.0.0.236/trunk@32109 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:14:33 +00:00
alecf%netscape.com
e1ffcac441 check return values when adding stuff to the history graph.
a=waterson


git-svn-id: svn://10.0.0.236/trunk@32108 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:11:35 +00:00
radha%netscape.com
2242257bef Hook up print button to BrowserPrint()
Give  a id to the "Stop" menuitem.


git-svn-id: svn://10.0.0.236/trunk@32107 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 22:11:20 +00:00
saari%netscape.com
d1ab6c3d35 fixing a release bug for Pavlov
git-svn-id: svn://10.0.0.236/trunk@32106 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:53:58 +00:00
karnaze%netscape.com
d59987018b new frameset regression tests
git-svn-id: svn://10.0.0.236/trunk@32105 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:52:57 +00:00
sspitzer%netscape.com
ec347d3e88 cvs ignorage for the generated Makefiles
git-svn-id: svn://10.0.0.236/trunk@32104 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:50:31 +00:00
rods%netscape.com
4c79f4e847 added nsFontRetrieverService
git-svn-id: svn://10.0.0.236/trunk@32103 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:49:47 +00:00
rods%netscape.com
3cfe0e08c1 Fixed up pointers to ref in params
git-svn-id: svn://10.0.0.236/trunk@32102 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:49:20 +00:00
rods%netscape.com
876efbebfb Adding nsFontRetrieverService and nsFontSizeIterator to build
git-svn-id: svn://10.0.0.236/trunk@32100 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:48:57 +00:00
rods%netscape.com
69aea6aefa adding nsIFontRetriverService and nsIFontName & Size iterator interfaces
git-svn-id: svn://10.0.0.236/trunk@32099 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:47:17 +00:00
sspitzer%netscape.com
5d61031095 changes to get news to work at the same time as imap and pop. the news part of the fix for #6405
git-svn-id: svn://10.0.0.236/trunk@32098 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:46:56 +00:00
beard%netscape.com
512e2c9a82 bug #5093: added call to Invalidate() when changing the position of scrollbar thumb.
git-svn-id: svn://10.0.0.236/trunk@32097 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:45:55 +00:00
beard%netscape.com
5ea7452f80 bug #5093: removed redundant calls to nsWidget::Invalidate(), fixed in nsScrollbar.cpp instead.
git-svn-id: svn://10.0.0.236/trunk@32096 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:45:46 +00:00
davidm%netscape.com
20d78b0ec9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@32095 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:44:52 +00:00
rods%netscape.com
5bd5af0abf Changed pointer to refs for name params
git-svn-id: svn://10.0.0.236/trunk@32094 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:43:22 +00:00
warren%netscape.com
a89e09d70c Added
git-svn-id: svn://10.0.0.236/trunk@32093 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:43:13 +00:00
davidm%netscape.com
e4b72ea23c File Removed.
git-svn-id: svn://10.0.0.236/trunk@32092 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:42:21 +00:00
danm%netscape.com
594f95b126 removing debugging cruft accidentally left in
git-svn-id: svn://10.0.0.236/trunk@32091 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:41:41 +00:00
davidm%netscape.com
a3d105efae Adding nsIWindowMediator.h
git-svn-id: svn://10.0.0.236/trunk@32090 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:41:13 +00:00
davidm%netscape.com
103862f6ae removing nsIWindowMediator.h
git-svn-id: svn://10.0.0.236/trunk@32089 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:41:05 +00:00
rods%netscape.com
de7c94af93 Added delete of array in destructor
git-svn-id: svn://10.0.0.236/trunk@32088 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:40:33 +00:00
danm%netscape.com
2c28021cb8 adding 'do not localize' comments
git-svn-id: svn://10.0.0.236/trunk@32087 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:39:23 +00:00
davidm%netscape.com
58c7d9bd34 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@32086 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:38:47 +00:00
mscott%netscape.com
8c4a381879 Remove NS_RDF from this class declaration. This was giving us link warnings in every dll that linked with this library on windows. Why? When we link against the library, the macro is defining the class as an imported class; however because the library is statically linked, it really is a local declaration.
a=waterson


git-svn-id: svn://10.0.0.236/trunk@32084 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:28:43 +00:00
mscott%netscape.com
ce7f3e87d3 fix for bug #6219 -- send data every 2K so we don't fill up our internal buffer when sending a message.
git-svn-id: svn://10.0.0.236/trunk@32083 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:25:55 +00:00
mscott%netscape.com
1dabd287b7 Imap was removed from the build when the address book stuff was added yesterday!! re-add it back in.
git-svn-id: svn://10.0.0.236/trunk@32082 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:24:55 +00:00
valeski%netscape.com
55f42c3285 nsFtpConnectionThread now implements (not yet properly) nsICancelable.
git-svn-id: svn://10.0.0.236/trunk@32081 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:01:49 +00:00
valeski%netscape.com
bc1b396aa4 added the correct EventQueueCID
git-svn-id: svn://10.0.0.236/trunk@32080 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 20:56:25 +00:00
valeski%netscape.com
f6b4f57ea0 changed us over to teh correct EventQueueServiceCID
git-svn-id: svn://10.0.0.236/trunk@32079 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 20:53:38 +00:00
valeski%netscape.com
acb9c1b110 added eventQueue CID registration and am now passing in an EventQueue in to NewConnection
git-svn-id: svn://10.0.0.236/trunk@32078 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 20:52:07 +00:00
leaf%mozilla.org
4e6a65e4b2 backing out dveditz's changes (seems to be breaking mac)
git-svn-id: svn://10.0.0.236/trunk@32077 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 18:55:34 +00:00
blizzard%redhat.com
1b6077d184 catch up with changes to GTK font code
git-svn-id: svn://10.0.0.236/trunk@32076 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 15:39:41 +00:00
blizzard%redhat.com
cf68f7d7ab squelch warnings
git-svn-id: svn://10.0.0.236/trunk@32075 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 15:28:36 +00:00
dveditz%netscape.com
0087c0c77e missing lock
git-svn-id: svn://10.0.0.236/trunk@32074 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 14:49:02 +00:00
dveditz%netscape.com
5dc525a78a NSReg.h
git-svn-id: svn://10.0.0.236/trunk@32073 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 14:46:02 +00:00
pierre%netscape.com
0619f79267 Check mRootView in RenderViews to fix a crash with Photon. Patch from Jerry.Kirk@Nexwarecorp.com.
git-svn-id: svn://10.0.0.236/trunk@32072 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 14:37:57 +00:00
rods%netscape.com
bd15e6f4fd Added IsFontScaleable method
git-svn-id: svn://10.0.0.236/trunk@32071 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 13:46:49 +00:00
pierre%netscape.com
f46fadfca9 #5949 "Frequent resizing of window causes apprunner to stop drawing"
git-svn-id: svn://10.0.0.236/trunk@32070 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 13:14:46 +00:00
jfrancis%netscape.com
850244ea34 collapsed ranges now result in empty iterators over them
git-svn-id: svn://10.0.0.236/trunk@32069 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 11:11:14 +00:00
hyatt%netscape.com
5874d635ea Popup arbitrary XUL lives!
git-svn-id: svn://10.0.0.236/trunk@32068 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 10:29:48 +00:00
hyatt%netscape.com
7b8c7b11e4 Seems pretty basic to me. Not sure what the heck this function was trying
to be before.


git-svn-id: svn://10.0.0.236/trunk@32067 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 10:27:31 +00:00
hyatt%netscape.com
1b8c11755c Disabling the cloned style sheets. This is causing trouble. Will probably have
to force them to be reparsed.


git-svn-id: svn://10.0.0.236/trunk@32066 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 10:21:11 +00:00
hyatt%netscape.com
6e68596b53 Fixes.
git-svn-id: svn://10.0.0.236/trunk@32065 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 09:28:00 +00:00
dp%netscape.com
0602d256ab undoing previous change. It should have happened on the XPCOM20 BRANCH
git-svn-id: svn://10.0.0.236/trunk@32063 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 09:24:08 +00:00
dp%netscape.com
08898c02b7 Rolling over from initial XPCOM 2.0 changes
git-svn-id: svn://10.0.0.236/trunk@32062 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 09:19:05 +00:00
dp%netscape.com
35f66733c1 Initial version
git-svn-id: svn://10.0.0.236/trunk@32061 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 09:11:01 +00:00
hyatt%netscape.com
9a95f742b8 Oh yeah, baby.
git-svn-id: svn://10.0.0.236/trunk@32060 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 09:03:53 +00:00
hyatt%netscape.com
4c4f807908 Should all work. (Yeah, right.)
git-svn-id: svn://10.0.0.236/trunk@32059 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 09:03:26 +00:00
mccabe%netscape.com
09745d5cb3 Remove lecacy hack that moved .xpt files from over in js/src/xpconnect to components, now that xpconnect exports its own .xpt files.
git-svn-id: svn://10.0.0.236/trunk@32058 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 09:01:01 +00:00
hyatt%netscape.com
7028d1b5a5 GetIID. ARGH!
git-svn-id: svn://10.0.0.236/trunk@32057 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 08:37:54 +00:00
hyatt%netscape.com
0d7c115896 Popup listener knows how to be a blur listener.
git-svn-id: svn://10.0.0.236/trunk@32056 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 08:37:41 +00:00
hyatt%netscape.com
249db4a226 Taking advantage of Nisheeth and Rick's new method. Thanks guys!
git-svn-id: svn://10.0.0.236/trunk@32055 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 08:04:37 +00:00
hyatt%netscape.com
f309c8582f Typo.
git-svn-id: svn://10.0.0.236/trunk@32054 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 07:42:31 +00:00
hyatt%netscape.com
aca13cb5e1 Working on popup documents.
git-svn-id: svn://10.0.0.236/trunk@32053 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 07:40:59 +00:00
law%netscape.com
2f74243567 New File->Open dialog
git-svn-id: svn://10.0.0.236/trunk@32052 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 07:23:24 +00:00
law%netscape.com
2d75737602 New File->Open dialog
git-svn-id: svn://10.0.0.236/trunk@32051 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 07:13:15 +00:00
rjc%netscape.com
95b791809d Make sure that the bookmark panel includes the right RDF datasources! Also, show the bookmark shortcut column.
git-svn-id: svn://10.0.0.236/trunk@32050 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 07:02:06 +00:00
rjc%netscape.com
5ab8c67277 Get rid of a few warnings.
git-svn-id: svn://10.0.0.236/trunk@32049 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 06:34:15 +00:00
rjc%netscape.com
d7236ba605 More XUL template changes. Also re-enabling XUL_TEMPLATES.
git-svn-id: svn://10.0.0.236/trunk@32048 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 06:27:04 +00:00
rjc%netscape.com
7fae3a5430 Even more support for collation keys.
git-svn-id: svn://10.0.0.236/trunk@32047 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 06:19:04 +00:00
hyatt%netscape.com
ab58434d2a Fix for bug 6459.
git-svn-id: svn://10.0.0.236/trunk@32046 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 06:17:51 +00:00
hyatt%netscape.com
1310d3ed52 Had the wrong integer value for the right mouse button.
git-svn-id: svn://10.0.0.236/trunk@32045 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 06:05:43 +00:00
waterson%netscape.com
28cf421846 Fix historyComponent.mcp -> history.mcp, etc.
git-svn-id: svn://10.0.0.236/trunk@32044 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 05:47:00 +00:00
waterson%netscape.com
cafeb46339 Enable link coloring.
git-svn-id: svn://10.0.0.236/trunk@32043 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 05:21:37 +00:00
karnaze%netscape.com
d6b03337dc support for css padding in table cells
git-svn-id: svn://10.0.0.236/trunk@32042 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 05:18:16 +00:00
sspitzer%netscape.com
dd79ec16b3 fix solaris build bustage.
git-svn-id: svn://10.0.0.236/trunk@32041 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 05:13:48 +00:00
sspitzer%netscape.com
966410fc1b the target is Makefile, not Makefile.in
git-svn-id: svn://10.0.0.236/trunk@32040 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 05:12:24 +00:00
matt%netscape.com
eeab9a8429 Fixing spelling error
git-svn-id: svn://10.0.0.236/trunk@32039 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 04:48:07 +00:00
pierre%netscape.com
c9f34f1ca6 removed last week's hack to access the 'ldes' resource, replaced it with the new nsMacResources
git-svn-id: svn://10.0.0.236/trunk@32038 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 04:43:03 +00:00
pierre%netscape.com
d4c31955ec use local resources in SetCursor
git-svn-id: svn://10.0.0.236/trunk@32037 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 04:41:03 +00:00
pierre%netscape.com
6c7400ec77 added nsMacResources, changed DLL entry points to __initializeResources and __terminateResources
git-svn-id: svn://10.0.0.236/trunk@32036 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 04:40:33 +00:00
pierre%netscape.com
0df62da469 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@32035 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 04:37:22 +00:00
matt%netscape.com
68eea8afae *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@32034 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 04:34:15 +00:00
waterson%netscape.com
f6ee21e30b Add history component.
git-svn-id: svn://10.0.0.236/trunk@32033 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 04:12:21 +00:00
waterson%netscape.com
48d327130b Move global history implementation out of appshell and into xpfe/components.
git-svn-id: svn://10.0.0.236/trunk@32032 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 04:11:43 +00:00
waterson%netscape.com
57fae59e1a Add xpfe/components/history to the build.
git-svn-id: svn://10.0.0.236/trunk@32031 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 04:10:42 +00:00
waterson%netscape.com
b603a5f3a0 Moved nsHistoryDataSource implementation info xpfe/components/history.
git-svn-id: svn://10.0.0.236/trunk@32030 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 04:10:09 +00:00
waterson%netscape.com
a55a62ae49 Moved nsHistoryDataSource implementation into xpfe/components/history.
git-svn-id: svn://10.0.0.236/trunk@32029 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 04:09:44 +00:00
evaughan%netscape.com
2a4db9892a Fixed box insertion removeal bug.
git-svn-id: svn://10.0.0.236/trunk@32028 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 04:06:52 +00:00
waterson%netscape.com
183b38a5ea Remove extraneous whitespace.
git-svn-id: svn://10.0.0.236/trunk@32027 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 03:54:25 +00:00
waterson%netscape.com
0a67db947b Use nsServiceManager to get singleton datasources instead of nsComponentManager.
git-svn-id: svn://10.0.0.236/trunk@32026 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 03:53:18 +00:00
slamm%netscape.com
e8068b7cce oops. Make sure it's debug only.
git-svn-id: svn://10.0.0.236/trunk@32025 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 03:51:11 +00:00
slamm%netscape.com
2fbc2039de Add some debugging support.
git-svn-id: svn://10.0.0.236/trunk@32024 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 03:46:20 +00:00
sspitzer%netscape.com
a9f1826ac3 quick, fix my build bustage before anyone else sees it!
git-svn-id: svn://10.0.0.236/trunk@32023 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 03:43:24 +00:00
waterson%netscape.com
0644ede4df Add history component makefiles.
git-svn-id: svn://10.0.0.236/trunk@32022 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 03:40:25 +00:00
sspitzer%netscape.com
392b1b6ed5 "fat" is "NewsFAT" on the mac. turn my comment into an annoying printf, so
I'll be bugged to fix it.


git-svn-id: svn://10.0.0.236/trunk@32021 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 03:35:28 +00:00
waterson%netscape.com
0d50048950 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@32020 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 03:15:19 +00:00
pierre%netscape.com
2727e1270a updated comments the Profiler
git-svn-id: svn://10.0.0.236/trunk@32019 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 03:05:07 +00:00
pierre%netscape.com
5fcc506a0d Moved the Profiler stuff into separate targets in NSRuntime. Udapted the build scripts.
git-svn-id: svn://10.0.0.236/trunk@32018 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 02:59:03 +00:00
waterson%netscape.com
00b0219976 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@32017 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 02:53:28 +00:00
karnaze%netscape.com
f9c6ef5e22 new regression tests
git-svn-id: svn://10.0.0.236/trunk@32016 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 02:46:51 +00:00
ftang%netscape.com
93add79105 fix misusage of nsAutoString w/ GetUnicode() method, which cause trouble in UNIX
git-svn-id: svn://10.0.0.236/trunk@32015 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 02:28:33 +00:00
alecf%netscape.com
a8e057659b fix some warnings, get rid of variable named index() and cache value of GetSize()
git-svn-id: svn://10.0.0.236/trunk@32014 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 02:22:56 +00:00
mccabe%netscape.com
08bf172e28 Only alloc space for interface records if we actually have interfaces; fixes a calloc(1,0) bug that was breaking the AIX build. (Thanks to Jim Dunn <jdunn@netscape.com> for finding this, and to Mike Shaver <shaver@netscape.com> for contributing the patch.
The xpcom tree remains closed, but this patch gets in for m6 by special dispensation.

A=leaf,dp


git-svn-id: svn://10.0.0.236/trunk@32011 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 02:10:05 +00:00
vidur%netscape.com
7e5b8dacb8 Partial fix for bug 6554. document.writing the body from a script in the head now works.
git-svn-id: svn://10.0.0.236/trunk@32010 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 02:08:04 +00:00
despotdaemon%netscape.com
d3862f711b Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@32009 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 02:07:38 +00:00
ftang%netscape.com
8fc1fa9995 temp turn off the webshell call to fix resursive issue.
git-svn-id: svn://10.0.0.236/trunk@32008 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 02:04:53 +00:00
sdagley%netscape.com
fe1bf492b2 Added code to use Internet Config to convert .ext filters into Mac file types. Currently #ifdef'ed out until we actually support filters on the Mac.
git-svn-id: svn://10.0.0.236/trunk@32005 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 02:04:47 +00:00
matt%netscape.com
9ef159f79d Fixing that the pref is below on panel
bug 6450


git-svn-id: svn://10.0.0.236/trunk@32004 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 02:04:31 +00:00
ftang%netscape.com
7ed41d3632 add meta charset service
git-svn-id: svn://10.0.0.236/trunk@32003 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 01:44:51 +00:00
ftang%netscape.com
58444d6efe remove meta charset hack. Add access function to nsParser to get the current charset and source. Add additional information to the nsIElementObserver
git-svn-id: svn://10.0.0.236/trunk@32002 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 01:30:21 +00:00
harishd%netscape.com
129dcefe6f Removed eHTMLTag_script from gTBodyKids. This is because
<SCRIPT> tag can be contained anywhere in a document and it is
not necessary for <TBODY> to treat <SCRIPT> differently.


git-svn-id: svn://10.0.0.236/trunk@32001 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 01:29:41 +00:00
harishd%netscape.com
0c5f09feb3 Using CNavDTD::CanContain() in CanOmit().
Added a check for SCRIPT tag in CNavDTD::CanContain()
that would allow <SCRIPT> tag to be contained anywhere
in a document


git-svn-id: svn://10.0.0.236/trunk@32000 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 01:26:21 +00:00
despotdaemon%netscape.com
b21366ee75 Pseudo-automatic update of changes made by dp@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@31999 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 01:24:03 +00:00
ftang%netscape.com
7b23ebb9ef add code to find nsWebShell
git-svn-id: svn://10.0.0.236/trunk@31998 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 01:20:24 +00:00
mcmullen%netscape.com
ec4068baf1 #6589 File | Open broken in viewer. I broke this when I removed the use of path strings. In addition to being more correct, using nsFileSpec and nsFileURL makes this file over 40 lines shorter.
git-svn-id: svn://10.0.0.236/trunk@31997 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 01:16:27 +00:00
sspitzer%netscape.com
1758696eb6 checkin to (hopefully) get the build working. thanks to alecf / scottip
git-svn-id: svn://10.0.0.236/trunk@31996 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:59:39 +00:00
rhp%netscape.com
9062595ef2 Changes for image rendering bug and cleanup of sprintf() call.
git-svn-id: svn://10.0.0.236/trunk@31995 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:54:57 +00:00
ssu%netscape.com
bb703cedf9 fixed problem with javascript aborting after a Install.WinProfile.getString() call
git-svn-id: svn://10.0.0.236/trunk@31994 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:54:10 +00:00
jevering%netscape.com
156463c6b3 Makecopy now works on win98 for this.. waterson
git-svn-id: svn://10.0.0.236/trunk@31993 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:53:00 +00:00
matt%netscape.com
73123e3b5b Internationalized preftree.xul
git-svn-id: svn://10.0.0.236/trunk@31992 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:43:50 +00:00
sspitzer%netscape.com
ddfe69cf87 changes required to do newsposting.
git-svn-id: svn://10.0.0.236/trunk@31991 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:36:49 +00:00
slamm%netscape.com
b5a694bcee Avoid entering directories twice. Only write out .all.pp when it has changed.
git-svn-id: svn://10.0.0.236/trunk@31990 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:26:10 +00:00
sspitzer%netscape.com
454553725b comment the endifs
git-svn-id: svn://10.0.0.236/trunk@31989 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:21:37 +00:00
morse%netscape.com
b59283782a don't put extraneous fields on the preview form
git-svn-id: svn://10.0.0.236/trunk@31988 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:19:15 +00:00
ducarroz%netscape.com
6c8ece55d2 add messenger address book build instruction
git-svn-id: svn://10.0.0.236/trunk@31987 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:12:39 +00:00
ducarroz%netscape.com
d1d71a09d2 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@31986 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:11:30 +00:00
rhp%netscape.com
bc9d5f5edf Fix for memory allocation bug
git-svn-id: svn://10.0.0.236/trunk@31985 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:08:29 +00:00
dbragg%netscape.com
5057fce9c3 Added export of nsPrefMigration.h
git-svn-id: svn://10.0.0.236/trunk@31984 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:06:41 +00:00
dbragg%netscape.com
06ec8e587b This file was in the wrong place
git-svn-id: svn://10.0.0.236/trunk@31983 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:03:44 +00:00
dbragg%netscape.com
a4b3fd07f9 Fixes spacing problems caused by copying to Mac
git-svn-id: svn://10.0.0.236/trunk@31982 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 00:02:44 +00:00
nisheeth%netscape.com
1888753c00 Added a new method, CreateInstanceForDocument() to nsIDocumentLoaderFactory which creates a content viewer and binds it to a document that is passed in as a parameter. This is needed to support XUL popup menus which have a document and a webshell, and want to create a content viewer and bind it to the document.
git-svn-id: svn://10.0.0.236/trunk@31981 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 23:52:01 +00:00
chuang%netscape.com
30d07c2860 Address Book UI with RDF hook up
git-svn-id: svn://10.0.0.236/trunk@31980 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 23:51:43 +00:00
despotdaemon%netscape.com
254259fc18 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@31979 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 23:50:35 +00:00
despotdaemon%netscape.com
a51274ae7b Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@31978 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 23:43:59 +00:00
matt%netscape.com
4c492e382c Adding internationalization to this file
git-svn-id: svn://10.0.0.236/trunk@31977 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 23:42:09 +00:00
vidur%netscape.com
9cd00417bf Fix for bug 6232. Scripts were incorrectly being pushed out of tbody tags.
git-svn-id: svn://10.0.0.236/trunk@31976 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 23:40:25 +00:00
bienvenu%netscape.com
0238ad0662 remove debugging statements, unused defines
git-svn-id: svn://10.0.0.236/trunk@31975 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 23:35:45 +00:00
sspitzer%netscape.com
c94a5cb20f fix build bustage
git-svn-id: svn://10.0.0.236/trunk@31974 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 23:25:42 +00:00
waterson%netscape.com
76d96e7bbe Initial revision.
git-svn-id: svn://10.0.0.236/trunk@31973 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 23:19:15 +00:00
waterson%netscape.com
39462f6066 Update to deal with MOZ_BRPROF being defined; fix some warnings.
git-svn-id: svn://10.0.0.236/trunk@31972 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 23:17:36 +00:00
matt%netscape.com
03f88b0264 Internationizing file
git-svn-id: svn://10.0.0.236/trunk@31971 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:56:09 +00:00
bienvenu%netscape.com
8a7f33ecd1 move GetChildNamed implementation from local subclass
git-svn-id: svn://10.0.0.236/trunk@31970 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:50:04 +00:00
rjc%netscape.com
397304e93e For collation key sorting support, need to #include DIST area's "locale" directory.
git-svn-id: svn://10.0.0.236/trunk@31969 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:47:32 +00:00
ssu%netscape.com
d1b8cafe9f changed windows define from XP_WIN to _WINDOWS and fixed compilation bugs
git-svn-id: svn://10.0.0.236/trunk@31968 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:45:50 +00:00
bienvenu%netscape.com
fb11b20119 fix problem displaying headers when selecting folder we haven't opened before
git-svn-id: svn://10.0.0.236/trunk@31967 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:44:12 +00:00
waterson%netscape.com
0381eccdda Initial revision.
git-svn-id: svn://10.0.0.236/trunk@31966 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:43:54 +00:00
rjc%netscape.com
ff49f8a390 Checking in some additional collation key support.
git-svn-id: svn://10.0.0.236/trunk@31965 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:43:47 +00:00
waterson%netscape.com
1dad7d4aac Initial revision as an XPFE component.
git-svn-id: svn://10.0.0.236/trunk@31964 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:36:17 +00:00
slamm%netscape.com
a5c5d4a724 Fix pull by date.
git-svn-id: svn://10.0.0.236/trunk@31963 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:36:09 +00:00
kmcclusk%netscape.com
e58f0da145 bug #994 Major rework of nsListboxControlFrame to support option groups. Modified ua.css
optgroup > option rule to use padding to offset the option group's options.


git-svn-id: svn://10.0.0.236/trunk@31962 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:36:08 +00:00
mjudge%netscape.com
94695cd80a wrong initial boolean value for redraw
git-svn-id: svn://10.0.0.236/trunk@31961 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:31:10 +00:00
waterson%netscape.com
810cf14399 Add nsISupports to QI.
git-svn-id: svn://10.0.0.236/trunk@31960 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:20:35 +00:00
amusil%netscape.com
6eb85ee83b Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@31959 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:14:35 +00:00
vidur%netscape.com
24aec08ccf Prevent onunloads from bubbling.
git-svn-id: svn://10.0.0.236/trunk@31958 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:14:16 +00:00
wtc%netscape.com
e174e92991 Bugzilla bug #1816: handle Cygwin's uname return format on Win95 also.
git-svn-id: svn://10.0.0.236/trunk@31957 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:05:08 +00:00
rods%netscape.com
e3cce4f9ff Initial check in not in build yet
git-svn-id: svn://10.0.0.236/trunk@31956 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 22:04:09 +00:00
ssu%netscape.com
7ebcbf1d2e renamed this file to nsWinRegEnums.h
git-svn-id: svn://10.0.0.236/trunk@31955 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:59:30 +00:00
ssu%netscape.com
d261c7fef5 added WinProfile object to the Install object
git-svn-id: svn://10.0.0.236/trunk@31954 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:58:52 +00:00
jevering%netscape.com
97f6b0e4a1 Adding to be localizable for bug 6366
git-svn-id: svn://10.0.0.236/trunk@31953 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:58:42 +00:00
pinkerton%netscape.com
7d60c57c4e stuff for starting drags. Register the sendDataProc and register the data flavors for all the items with the DragManager.
git-svn-id: svn://10.0.0.236/trunk@31952 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:57:31 +00:00
pinkerton%netscape.com
9602ec4d21 add mapping from macOS flavor back to mime.
git-svn-id: svn://10.0.0.236/trunk@31951 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:55:25 +00:00
rhp%netscape.com
240d9669ce Changes to support I18N conversion for vcard data
git-svn-id: svn://10.0.0.236/trunk@31950 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:54:59 +00:00
slamm%netscape.com
7af76cfb0b Use sidebar generated from rdf.
git-svn-id: svn://10.0.0.236/trunk@31949 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:53:46 +00:00
morse%netscape.com
1899cf3186 don't ask for database password unnecessarily
git-svn-id: svn://10.0.0.236/trunk@31948 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:51:25 +00:00
slamm%netscape.com
dcc16851a2 Add tree dump. Code to resize iframes (not quite working).
git-svn-id: svn://10.0.0.236/trunk@31947 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:51:15 +00:00
slamm%netscape.com
1955d9f944 Fix reload.
git-svn-id: svn://10.0.0.236/trunk@31946 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:50:35 +00:00
chuang%netscape.com
fd65532f82 Add address book to Windows and Unix build
git-svn-id: svn://10.0.0.236/trunk@31945 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:49:12 +00:00
jevering%netscape.com
c7230d3456 missing css info. Updating it
git-svn-id: svn://10.0.0.236/trunk@31944 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:41:57 +00:00
nhotta%netscape.com
5aa7cf1bd8 Added items to charset menu.
git-svn-id: svn://10.0.0.236/trunk@31943 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:40:12 +00:00
danm%netscape.com
1f36284f26 renaming mFirstLoadKludge. Vidur says it's not a kludge, so it gets an upgraded name.
git-svn-id: svn://10.0.0.236/trunk@31942 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:39:35 +00:00
sspitzer%netscape.com
4e504e2f6e need to link this in, we die at runtime because this is undefined: __13nsABDirectory
git-svn-id: svn://10.0.0.236/trunk@31941 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:36:20 +00:00
wtc%netscape.com
91eba90a9c Bugzilla bug #1816: handle the output of the 'uname' command in
the latest Cygwin release (Beta 20).  Thanks to Tague Griffith
<tague@netscape.com> for reporting the bug and zuperdee@penguinpowered.com
for pointing out where the bug was.


git-svn-id: svn://10.0.0.236/trunk@31940 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:31:16 +00:00
dougt%netscape.com
6e5db860f2 Adding Install.TRACE()
Fixing some bugs in ScheduledTasks.


git-svn-id: svn://10.0.0.236/trunk@31939 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:28:56 +00:00
putterman%netscape.com
3c7784c86a Use nsIDateTimeFormat to prepare date string.
git-svn-id: svn://10.0.0.236/trunk@31938 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:28:03 +00:00
putterman%netscape.com
21616fdc06 Use nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@31937 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:27:41 +00:00
putterman%netscape.com
bb02d92cad Include locale headers
git-svn-id: svn://10.0.0.236/trunk@31936 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:27:22 +00:00
putterman%netscape.com
09c0e4e5fe Include locale headers.
git-svn-id: svn://10.0.0.236/trunk@31935 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:27:09 +00:00
amusil%netscape.com
91a29fa7f7 Updated 4x plugin support on the Mac
git-svn-id: svn://10.0.0.236/trunk@31934 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:26:48 +00:00
sspitzer%netscape.com
28346b8d72 cvs ignorage for the generated makefiles
git-svn-id: svn://10.0.0.236/trunk@31933 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:26:37 +00:00
sspitzer%netscape.com
7f2fe67f08 changes to build address book on UNIX
git-svn-id: svn://10.0.0.236/trunk@31932 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:25:33 +00:00
rhp%netscape.com
76bef32363 Fix problem where incorrect body was being sent in I18N case.
git-svn-id: svn://10.0.0.236/trunk@31931 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:25:19 +00:00
mscott%netscape.com
e03df586fd Fix Bug #6216 --> when sending messages with blank lines, we were eating up the line returns.
git-svn-id: svn://10.0.0.236/trunk@31930 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:23:11 +00:00
jevering%netscape.com
0f54faf396 Adding label to all radio buttons
git-svn-id: svn://10.0.0.236/trunk@31929 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:21:04 +00:00
vidur%netscape.com
bcd116b3a7 Added nsIDOMHTMLLayerElement interface
git-svn-id: svn://10.0.0.236/trunk@31928 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:18:23 +00:00
vidur%netscape.com
20466d8521 Implemented document.layers and nsIDOMHTMLLayerElement interface.
git-svn-id: svn://10.0.0.236/trunk@31927 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:17:48 +00:00
vidur%netscape.com
9e2f41295e Propagate visibility style across table boundaries.
git-svn-id: svn://10.0.0.236/trunk@31926 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:17:21 +00:00
vidur%netscape.com
1cbfbf8712 added files: mozilla/dom/src/html/nsJSHTMLLayerElement.cpp
git-svn-id: svn://10.0.0.236/trunk@31925 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:15:58 +00:00
vidur%netscape.com
b45891b379 Added layers interface.
git-svn-id: svn://10.0.0.236/trunk@31924 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:15:06 +00:00
beard%netscape.com
7f9af1b85a bug #4839: now including xp_path.h instead of primpl.h.
git-svn-id: svn://10.0.0.236/trunk@31923 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 21:10:45 +00:00
sfraser%netscape.com
fb3a7f8519 Turn on selection in view source window.
git-svn-id: svn://10.0.0.236/trunk@31922 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 20:56:40 +00:00
chuang%netscape.com
562edf0f8b Personal address book gif file
git-svn-id: svn://10.0.0.236/trunk@31921 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 20:47:26 +00:00
despotdaemon%netscape.com
7eeeb21c8a Pseudo-automatic update of changes made by mang@subcarrier.org.
git-svn-id: svn://10.0.0.236/trunk@31920 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 20:45:49 +00:00
rods%netscape.com
a16f1107f0 Added nsFontRetrieverService registration
git-svn-id: svn://10.0.0.236/trunk@31919 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 20:34:52 +00:00
despotdaemon%netscape.com
e5fc591a57 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@31918 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 20:33:48 +00:00
chuang%netscape.com
424291cb61 Fix build error
git-svn-id: svn://10.0.0.236/trunk@31917 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 20:33:26 +00:00
despotdaemon%netscape.com
6cb326d26b Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@31916 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 20:29:56 +00:00
chuang%netscape.com
879e713b52 First check in. Address Book Data Source w/ hardcoded data.
git-svn-id: svn://10.0.0.236/trunk@31915 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 20:16:22 +00:00
mcmullen%netscape.com
5f2b7ad7af Anal, eh? I'LL show you anal.
git-svn-id: svn://10.0.0.236/trunk@31914 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 20:11:23 +00:00
neeti%netscape.com
ed5c5c8621 Changed GetTagName api to return a tag for the index passed in.
This enables observers to register for more than one tag.


git-svn-id: svn://10.0.0.236/trunk@31913 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 20:00:58 +00:00
mjudge%netscape.com
e064c576fa accidentally left out a parameter to GetPositionSlowly for small caps ect.
git-svn-id: svn://10.0.0.236/trunk@31912 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 19:50:29 +00:00
beard%netscape.com
56efb845cf bug #5093: added widget->Invalidate() calls after changing the position of scrollbar thumb. It may be more appropriate to fix this in nsScrollbar.cpp
git-svn-id: svn://10.0.0.236/trunk@31911 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 19:40:40 +00:00
sfraser%netscape.com
72510fbc21 Fix chardet lib/target name
git-svn-id: svn://10.0.0.236/trunk@31910 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 19:38:11 +00:00
danm%netscape.com
9ebe817793 adding parameter passing examples
git-svn-id: svn://10.0.0.236/trunk@31909 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 19:21:35 +00:00
shaver%netscape.com
f70a97cc39 override NO_STATIC_LIB, because we really do need static libraries for some
other link parts.  This will make it safe to put NO_STATIC_LIB=1 in
myconfig.mk, which saves about 100MB and 3 minutes on my debug build.

(Requires one additional checkin to in xpcom, which is waiting on the
XPCOM 2.0 landing.)


git-svn-id: svn://10.0.0.236/trunk@31908 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 19:20:28 +00:00
ftang%netscape.com
29825fb12c remove nsCharsetObserver. These two files have been change to nsMetaCharsetObserver and move into intl/chardet/src directory
git-svn-id: svn://10.0.0.236/trunk@31907 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 19:15:01 +00:00
ssu%netscape.com
b1d4260ecf new enums file for WinReg object use only. This file used to be named nsSoftUpdateEnums.h
git-svn-id: svn://10.0.0.236/trunk@31906 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 19:11:25 +00:00
ftang%netscape.com
62febaf56a add intl/chardet to the build list
git-svn-id: svn://10.0.0.236/trunk@31905 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 19:10:59 +00:00
ftang%netscape.com
04af58bff0 add intl/chardet
git-svn-id: svn://10.0.0.236/trunk@31904 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 19:08:19 +00:00
kin%netscape.com
b1424f52bf Fix for bug #4796: UMR: nsEditor::JoinNodesImpl().
git-svn-id: svn://10.0.0.236/trunk@31903 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 18:59:40 +00:00
rhp%netscape.com
afbfa7305b Change for wrap_long_lines pref
git-svn-id: svn://10.0.0.236/trunk@31902 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 18:59:03 +00:00
nhotta%netscape.com
a194145061 Synchronized charset menu with navigator.
git-svn-id: svn://10.0.0.236/trunk@31901 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 18:58:35 +00:00
danm%netscape.com
d7d43752c7 more window.openDialog: moved creation of JS context earlier, stopped its destruction on first doc load
git-svn-id: svn://10.0.0.236/trunk@31900 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 18:52:21 +00:00
matt%netscape.com
4d635323e2 placing all stings into dtd entities
git-svn-id: svn://10.0.0.236/trunk@31899 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 18:50:57 +00:00
jfrancis%netscape.com
5846a4cc07 const crazy - bet you can't eat jsut one!
git-svn-id: svn://10.0.0.236/trunk@31898 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 14:14:36 +00:00
kin%netscape.com
31bd0fb412 Commented out all calls to HACKForceRedraw(). We now call it from
nsEditor::EndTransaction().


git-svn-id: svn://10.0.0.236/trunk@31897 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 13:31:56 +00:00
jfrancis%netscape.com
656494ed95 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@31896 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 13:10:29 +00:00
jfrancis%netscape.com
2a700f7f7c insert list and indent work
git-svn-id: svn://10.0.0.236/trunk@31895 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 12:22:31 +00:00
jfrancis%netscape.com
5e33c7f786 Adding insert list, indent, and change aligment to editor app core
git-svn-id: svn://10.0.0.236/trunk@31894 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 12:17:43 +00:00
hyatt%netscape.com
8e9a2f05ce Fix for bug 5602.
git-svn-id: svn://10.0.0.236/trunk@31893 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 09:02:45 +00:00
mcmullen%netscape.com
c31b88a10b Turning reading of default files back on for Macintosh, since parsing now seems to work.
git-svn-id: svn://10.0.0.236/trunk@31892 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 08:18:26 +00:00
mcmullen%netscape.com
60881e5421 Cleaned up the dictionaries. Added partial support for GetURL, OpenURL, quit, and dojavascript apple events.
git-svn-id: svn://10.0.0.236/trunk@31891 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 07:56:44 +00:00
jefft%netscape.com
c518f4dfa4 temporary fix for cached connection not working for same imap host
git-svn-id: svn://10.0.0.236/trunk@31890 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 06:28:10 +00:00
waldemar%netscape.com
8ac03a5544 First working version
git-svn-id: svn://10.0.0.236/trunk@31889 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 05:11:19 +00:00
waldemar%netscape.com
c3c7fe1739 Renamed != to /= and lambda to function.
git-svn-id: svn://10.0.0.236/trunk@31888 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 05:10:41 +00:00
waldemar%netscape.com
6b8768f29a Added intsets.
git-svn-id: svn://10.0.0.236/trunk@31887 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 05:10:07 +00:00
waldemar%netscape.com
174a564ec9 Added sets, subseq, set-nth. Renamed 'lambda' to 'function'. Fixed depictions of special global variables. Added %text depictors.
git-svn-id: svn://10.0.0.236/trunk@31886 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 05:09:44 +00:00
waldemar%netscape.com
c074f78365 Added sets, subseq, set-nth. Renamed 'lambda' to 'function' and '!=' to '/='.
git-svn-id: svn://10.0.0.236/trunk@31885 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 05:07:52 +00:00
waldemar%netscape.com
c93d5d224e Added vector-assign, intersection, and union characters
git-svn-id: svn://10.0.0.236/trunk@31884 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 05:05:59 +00:00
waldemar%netscape.com
c0994f7bbb Fixed LR(1) parser state lookahead-generation bug
git-svn-id: svn://10.0.0.236/trunk@31883 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 05:05:10 +00:00
waldemar%netscape.com
380dbf700b Added RegExp to load path
git-svn-id: svn://10.0.0.236/trunk@31882 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 05:04:28 +00:00
waldemar%netscape.com
a423f6122d Fixed formatting of parametrized nonterminal character classes
git-svn-id: svn://10.0.0.236/trunk@31881 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 05:04:07 +00:00
blizzard%redhat.com
d5879d694b add xlibrgb to the build
git-svn-id: svn://10.0.0.236/trunk@31880 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 03:42:30 +00:00
blizzard%redhat.com
bf88abfc90 catch up with prototype changes
git-svn-id: svn://10.0.0.236/trunk@31879 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 03:42:04 +00:00
blizzard%redhat.com
568d9c7c7f add gdkrgb port to straight xlib
git-svn-id: svn://10.0.0.236/trunk@31878 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 03:32:22 +00:00
bienvenu%netscape.com
1b4391a65a more work on msg filters
git-svn-id: svn://10.0.0.236/trunk@31876 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 02:07:13 +00:00
bienvenu%netscape.com
f49c886c43 start work on msg filters, ifdeff'ed out
git-svn-id: svn://10.0.0.236/trunk@31875 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 02:06:29 +00:00
bienvenu%netscape.com
79d97173d0 fix problems selecting folders other than the inbox
git-svn-id: svn://10.0.0.236/trunk@31874 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 00:41:26 +00:00
mjudge%netscape.com
b1fe71c301 adding in selection ability for images in editor only
git-svn-id: svn://10.0.0.236/trunk@31873 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 00:21:50 +00:00
mjudge%netscape.com
ff933f4f73 adding in selection of non text frames in editor only
git-svn-id: svn://10.0.0.236/trunk@31872 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 00:21:18 +00:00
dougt%netscape.com
2c371deebc Fixing registry init ordering to stop crashing on NT. (Thanks bienvenu for testing this change).
Removing nsServiceManager::RegisterService max workaround checked in early today.


git-svn-id: svn://10.0.0.236/trunk@31871 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 23:36:39 +00:00
putterman%netscape.com
dcf89f4a21 Check for null pointers from js so we don't crash.
git-svn-id: svn://10.0.0.236/trunk@31870 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 23:28:45 +00:00
erik%netscape.com
82c0af4c30 Fixed the test file name, added registration for event queue and
persistent properties. This test program now works again. Groan.


git-svn-id: svn://10.0.0.236/trunk@31869 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 22:59:02 +00:00
putterman%netscape.com
c4f42461b0 Implemented GetHostName.
git-svn-id: svn://10.0.0.236/trunk@31868 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 22:47:27 +00:00
putterman%netscape.com
f6c7b88397 Implement GetTarget for child and message child so Move and Copy menu submenus
show up.


git-svn-id: svn://10.0.0.236/trunk@31867 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 22:41:39 +00:00
putterman%netscape.com
98363bd060 Add rdf:ignore MessageChild to the move and copy menus.
git-svn-id: svn://10.0.0.236/trunk@31866 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 22:41:02 +00:00
jefft%netscape.com
d4b2a3c1e8 making sure cached connection work with multiple imap servers
git-svn-id: svn://10.0.0.236/trunk@31865 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 21:55:25 +00:00
putterman%netscape.com
04370757c4 Fix treebody.
git-svn-id: svn://10.0.0.236/trunk@31864 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 21:47:13 +00:00
dougt%netscape.com
8951ff5205 nsServiceManager::ReleaseService is not defined on the mac! Could not find what library I need to link with in order to get this defined. I am commenting this out so that I can figure this out with out the tinderbox in flames.
git-svn-id: svn://10.0.0.236/trunk@31863 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 21:39:11 +00:00
beard%netscape.com
748cdba938 exporting nsServiceManager::RegisterService/UnregisterService to fix xpinstall breakage.
git-svn-id: svn://10.0.0.236/trunk@31862 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 21:29:32 +00:00
bienvenu%netscape.com
0273206988 fix vc5 build bustage
git-svn-id: svn://10.0.0.236/trunk@31861 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 21:22:27 +00:00
erik%netscape.com
1976415313 Added code to check return values. Cleaned up a bit.
git-svn-id: svn://10.0.0.236/trunk@31860 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 20:47:59 +00:00
morse%netscape.com
04af807e1a fix build bustage
git-svn-id: svn://10.0.0.236/trunk@31859 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 20:35:28 +00:00
erik%netscape.com
d7158a86ce Fixed a compiler warning. Added a few new font charset names, and a weight
name.


git-svn-id: svn://10.0.0.236/trunk@31858 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 20:32:51 +00:00
pavlov%pavlov.net
fa635b27a1 more work on nsMenu::RemoveAll()
git-svn-id: svn://10.0.0.236/trunk@31857 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 20:01:24 +00:00
morse%netscape.com
68cc0fc542 remember wallet decisions on a url-specific basis
git-svn-id: svn://10.0.0.236/trunk@31856 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 19:36:25 +00:00
pavlov%pavlov.net
83fd89bf1f revert some changes that broke menu clicking in apprunner
git-svn-id: svn://10.0.0.236/trunk@31855 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 19:27:43 +00:00
dougt%netscape.com
3230eab8e8 Adding appshellcomponent interface and init code.
git-svn-id: svn://10.0.0.236/trunk@31854 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 19:11:25 +00:00
dougt%netscape.com
3fce7741e4 Removing xpinstall and silentdl references from the viewer.
git-svn-id: svn://10.0.0.236/trunk@31853 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 19:07:19 +00:00
pavlov%pavlov.net
a38ec51f54 revert accidential change that broke typing in to the url bar (;
git-svn-id: svn://10.0.0.236/trunk@31852 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 18:16:24 +00:00
pavlov%pavlov.net
713b609340 fix the massive ammount of warnings that are generated by this code.
git-svn-id: svn://10.0.0.236/trunk@31851 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 17:47:46 +00:00
waterson%netscape.com
9c39eb2b02 Made XPConnect into a component, which should enable XPConnect on Mac.
git-svn-id: svn://10.0.0.236/trunk@31850 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 16:09:45 +00:00
bruce%cybersight.com
1604a8cad3 Remove Toolbar stuff completely as it no longer exists elsewhere in the tree.
git-svn-id: svn://10.0.0.236/trunk@31849 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 14:28:14 +00:00
hyatt%netscape.com
4660dc9815 Hmm.
git-svn-id: svn://10.0.0.236/trunk@31848 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 10:02:19 +00:00
hyatt%netscape.com
6df6bebfeb La la la.
git-svn-id: svn://10.0.0.236/trunk@31847 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 09:40:42 +00:00
hyatt%netscape.com
2bfd024327 More popup work.
git-svn-id: svn://10.0.0.236/trunk@31846 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 09:09:00 +00:00
hyatt%netscape.com
bd8f3caaa0 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@31845 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 08:51:22 +00:00
hyatt%netscape.com
71e23c11b3 Fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@31844 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 08:50:27 +00:00
hyatt%netscape.com
e271dff643 More savory popup goodness.
git-svn-id: svn://10.0.0.236/trunk@31843 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 08:10:27 +00:00
hyatt%netscape.com
bdf6260956 Added the method that will give me the new popup doc.
git-svn-id: svn://10.0.0.236/trunk@31842 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 08:05:32 +00:00
hyatt%netscape.com
6327895932 Added an arg to createPopup.
git-svn-id: svn://10.0.0.236/trunk@31841 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 07:52:02 +00:00
hyatt%netscape.com
f49fcc2161 Added an arg to createPopup, so I could tell what the originating window was.
git-svn-id: svn://10.0.0.236/trunk@31840 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 07:46:34 +00:00
rickg%netscape.com
f26602317c fixed bug 6107
git-svn-id: svn://10.0.0.236/trunk@31839 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 07:09:13 +00:00
hyatt%netscape.com
35c6422404 Implementing HandleDOMEvent in nsXULDocument.cpp. Events now bubble to the
document and in turn will now bubble to the window.


git-svn-id: svn://10.0.0.236/trunk@31838 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 07:05:51 +00:00
hyatt%netscape.com
b891d6c0e5 Events weren't bubbling into the document. They do this now.
git-svn-id: svn://10.0.0.236/trunk@31837 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 06:58:56 +00:00
hyatt%netscape.com
96148806ef Added comments for what I'm about to try to implement. Looks scary.
git-svn-id: svn://10.0.0.236/trunk@31836 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 05:51:35 +00:00
rickg%netscape.com
8cc14193f7 final features for parsing engine (WIP); lots of bug fixes
git-svn-id: svn://10.0.0.236/trunk@31835 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 05:27:23 +00:00
sspitzer%netscape.com
f91f286deb more changes needed for runtime. will get unresolved symbols when
services get loaded


git-svn-id: svn://10.0.0.236/trunk@31834 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 05:22:12 +00:00
sspitzer%netscape.com
5630c66a42 fix SunOS build bustage.
can you believe one undefined symbol (_._13nsUInt32Array) led to linking in these additional files?  me neither.  question:  why did it build on linux?


git-svn-id: svn://10.0.0.236/trunk@31833 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:55:31 +00:00
sspitzer%netscape.com
f501f426f9 more work for message post to nntp server
git-svn-id: svn://10.0.0.236/trunk@31832 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:18:51 +00:00
sspitzer%netscape.com
158e26895b cast to quiet warnings.
git-svn-id: svn://10.0.0.236/trunk@31831 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:17:07 +00:00
sspitzer%netscape.com
16cd73cf1b use nsCOMPtr. quiet warnings.
git-svn-id: svn://10.0.0.236/trunk@31830 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:16:54 +00:00
sspitzer%netscape.com
410d88241f remove worthless statement
git-svn-id: svn://10.0.0.236/trunk@31829 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:16:34 +00:00
bruce%cybersight.com
2d035fddc1 Fix Motif build bustage (minimally). Header file updated earlier with mcmullen's checkin.
git-svn-id: svn://10.0.0.236/trunk@31828 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:16:13 +00:00
sspitzer%netscape.com
b359a23110 comment out unused variables to quiet compiler warnings
git-svn-id: svn://10.0.0.236/trunk@31827 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:16:03 +00:00
sspitzer%netscape.com
05a716d592 add new line to end of file to quiet warnings
git-svn-id: svn://10.0.0.236/trunk@31826 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:15:34 +00:00
sspitzer%netscape.com
92217914e6 comment out unused variable
git-svn-id: svn://10.0.0.236/trunk@31825 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:15:19 +00:00
sspitzer%netscape.com
9871f97676 alter code to quiet warnings
git-svn-id: svn://10.0.0.236/trunk@31824 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:14:57 +00:00
sspitzer%netscape.com
75acc33aef touch pointer to quiet compiler
git-svn-id: svn://10.0.0.236/trunk@31823 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:14:21 +00:00
sspitzer%netscape.com
7b4e8250e3 rename variable to prevent shadowing
git-svn-id: svn://10.0.0.236/trunk@31822 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:13:52 +00:00
sspitzer%netscape.com
9799422abe reorder to quiet compiler. stop shadowing. rename shadowed variable.
git-svn-id: svn://10.0.0.236/trunk@31821 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:13:37 +00:00
sspitzer%netscape.com
da3f907f68 touch point to quiet compiler
git-svn-id: svn://10.0.0.236/trunk@31820 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:12:57 +00:00
sspitzer%netscape.com
3b2e3461ed add newline to end of file
git-svn-id: svn://10.0.0.236/trunk@31819 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:12:33 +00:00
bruce%cybersight.com
7ee76bb5a9 Make destructor virtual
git-svn-id: svn://10.0.0.236/trunk@31818 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 04:01:02 +00:00
pavlov%pavlov.net
3401e14416 more menu cleanups
git-svn-id: svn://10.0.0.236/trunk@31817 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 03:09:13 +00:00
slamm%netscape.com
0b148faf67 Set background color for panel.
git-svn-id: svn://10.0.0.236/trunk@31816 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 02:59:06 +00:00
slamm%netscape.com
f86882200c Reformat panel slightly.
git-svn-id: svn://10.0.0.236/trunk@31815 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 02:53:23 +00:00
slamm%netscape.com
b9484acf8c Fix tiny bug in panel.
git-svn-id: svn://10.0.0.236/trunk@31814 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 02:43:48 +00:00
slamm%netscape.com
8e6bcaf6b2 Add sidebar panel. Clean up quickparse. Make express use quickparse too.
git-svn-id: svn://10.0.0.236/trunk@31813 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 02:38:55 +00:00
bienvenu%netscape.com
01a0156530 add rdf:ignore
git-svn-id: svn://10.0.0.236/trunk@31812 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 02:33:13 +00:00
pavlov%pavlov.net
78339c43be left off the ns_imethodimp type for the function
git-svn-id: svn://10.0.0.236/trunk@31811 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 02:14:57 +00:00
sspitzer%netscape.com
384bc3f955 fix SunOS build breakage
git-svn-id: svn://10.0.0.236/trunk@31810 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 01:48:56 +00:00
pavlov%pavlov.net
5b207edab4 fix HP-UX build brokenness
git-svn-id: svn://10.0.0.236/trunk@31809 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 01:46:40 +00:00
sspitzer%netscape.com
28bed92365 ignore the generated test app
git-svn-id: svn://10.0.0.236/trunk@31808 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 01:43:49 +00:00
edwin%woudt.nl
454ed3b86d Fixed wrong signature preferences key
git-svn-id: svn://10.0.0.236/trunk@31807 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 00:24:13 +00:00
edwin%woudt.nl
12b5920629 Fixed wrong smtp host preferences key
git-svn-id: svn://10.0.0.236/trunk@31806 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 00:23:52 +00:00
edwin%woudt.nl
7852212098 Preferences now work again when multiple identities are set in the preference file. (Editing only works for the first identity).
git-svn-id: svn://10.0.0.236/trunk@31805 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 00:19:53 +00:00
edwin%woudt.nl
c1a22e9d26 When the signature file was set in the preferences file it was not displayed in the preference window. Fixed.
git-svn-id: svn://10.0.0.236/trunk@31804 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 00:18:57 +00:00
bienvenu%netscape.com
ded11c9904 check in Scott's changes for not enumerating all arcs
git-svn-id: svn://10.0.0.236/trunk@31803 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 00:12:51 +00:00
bienvenu%netscape.com
104c6c3a9e re-enable selecting of other imap folders besides inbox
git-svn-id: svn://10.0.0.236/trunk@31802 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 00:10:50 +00:00
waterson%netscape.com
fb296193d7 Back out local changes to my flash stuff (was for testing only).
git-svn-id: svn://10.0.0.236/trunk@31801 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 00:10:25 +00:00
waterson%netscape.com
7fd4160ab6 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@31800 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 00:08:34 +00:00
bienvenu%netscape.com
e36bac679b checkpoint filter code
git-svn-id: svn://10.0.0.236/trunk@31799 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-16 00:07:56 +00:00
waterson%netscape.com
8f6cfce54a Bug 3367. Need to 1) treat ArcLabelsOut as returning an 'optimistic' list of arcs, that is, possible arcs out; 2) use GetTarget() to test the containment property, not just existence of the arc; 3) implement 'rdf:ignore' to skip properties that may require extensive computation. In the process, I had to #ifdef XUL_TEMPLATES some of the XUL template stuff.
git-svn-id: svn://10.0.0.236/trunk@31798 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 23:46:17 +00:00
edwin%woudt.nl
3c0d278737 The description of the second identity (#1) was displayed for all identities. Fixed.
git-svn-id: svn://10.0.0.236/trunk@31797 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 23:32:28 +00:00
edwin%woudt.nl
febe4f48cf Mailhost wasn't read properly from the prefs. Fixed.
git-svn-id: svn://10.0.0.236/trunk@31796 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 23:27:40 +00:00
sspitzer%netscape.com
37ac35a45f remove the run random news url crap. general cleanup.
git-svn-id: svn://10.0.0.236/trunk@31795 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 23:23:06 +00:00
mscott%netscape.com
6173f2460d clean up makefile removing unnecessary libraries.
git-svn-id: svn://10.0.0.236/trunk@31794 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 23:17:22 +00:00
mcmullen%netscape.com
457914ae43 filewidget no longer accepts string paths.
git-svn-id: svn://10.0.0.236/trunk@31793 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:58:28 +00:00
mcmullen%netscape.com
2199878c1b Fixed filewidget to use filespec. Fixed some input params to be const.
git-svn-id: svn://10.0.0.236/trunk@31792 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:56:27 +00:00
mcmullen%netscape.com
0cb3a0dafa Fixed file widget to use filespec, instead of string. Made input params const.
git-svn-id: svn://10.0.0.236/trunk@31791 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:54:17 +00:00
bruce%cybersight.com
95689446cf Fix ANSI C++ violation. (a=beard)
git-svn-id: svn://10.0.0.236/trunk@31790 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:53:57 +00:00
mcmullen%netscape.com
33238fe5ea Ended the use of strings to describe files in the file widget API. Made some nsString input parameters const.
git-svn-id: svn://10.0.0.236/trunk@31789 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:50:20 +00:00
edwin%woudt.nl
a3693af2bd Updateable menus (by Mauro)
git-svn-id: svn://10.0.0.236/trunk@31788 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:42:27 +00:00
edwin%woudt.nl
2868f249cb Various addressbook updates
git-svn-id: svn://10.0.0.236/trunk@31787 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:40:22 +00:00
edwin%woudt.nl
83be97c6e2 Improved alignment of the Delete button. (hack alert!)
git-svn-id: svn://10.0.0.236/trunk@31786 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:39:13 +00:00
edwin%woudt.nl
c6a1d5ddb0 When xena.pref contains no proper user settings the preferences dialog wouldn't show up. Fixed.
git-svn-id: svn://10.0.0.236/trunk@31785 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:38:40 +00:00
bruce%cybersight.com
4f1a0d5be0 Warning fix for ANSI C++ violation.
git-svn-id: svn://10.0.0.236/trunk@31784 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:38:28 +00:00
sspitzer%netscape.com
3e61dc4e64 use nsCOMPtr. more printfs. return on error. general cleanup of this test app.
git-svn-id: svn://10.0.0.236/trunk@31783 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:21:04 +00:00
mscott%netscape.com
86b649c426 fix warnings by re-ordering membewr data initialization.
git-svn-id: svn://10.0.0.236/trunk@31782 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:18:45 +00:00
mscott%netscape.com
b57c9a0cf3 Fix signed / unsigned assignment problem...
git-svn-id: svn://10.0.0.236/trunk@31781 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:17:50 +00:00
mscott%netscape.com
421387ed27 quiet compiler warnings....re-order member variable initialization, remove unused variable.
git-svn-id: svn://10.0.0.236/trunk@31780 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:17:02 +00:00
mscott%netscape.com
6d497cc995 Remove unused variable to quiet warning....
git-svn-id: svn://10.0.0.236/trunk@31779 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:16:00 +00:00
mscott%netscape.com
fde07ca144 Fix unsigned / signed assignment & comparison problems.
git-svn-id: svn://10.0.0.236/trunk@31778 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:15:11 +00:00
mscott%netscape.com
0e4ffbc2a9 quiet compiler...re-order initialization of class members.
git-svn-id: svn://10.0.0.236/trunk@31777 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:14:20 +00:00
mscott%netscape.com
735812f775 fix warning - remove unused variable.
git-svn-id: svn://10.0.0.236/trunk@31776 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:13:09 +00:00
bruce%cybersight.com
b81429d4ce Fix ANSI C++ violation that was breaking Solaris Workshop and HP-UX aCC builds.
git-svn-id: svn://10.0.0.236/trunk@31775 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:10:39 +00:00
slamm%netscape.com
8cf6f36337 Use ENTITY's for labels.
git-svn-id: svn://10.0.0.236/trunk@31774 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:08:01 +00:00
mcmullen%netscape.com
7a366d8516 Removed string methods from the file widget
git-svn-id: svn://10.0.0.236/trunk@31773 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 22:01:21 +00:00
sspitzer%netscape.com
2daf23bbc0 replace DEBUG with DEBUG_sspitzer.
use nsCOMPtr.


git-svn-id: svn://10.0.0.236/trunk@31771 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 21:34:22 +00:00
mscott%netscape.com
d4b062ac0b this file is not used by anyone....
git-svn-id: svn://10.0.0.236/trunk@31770 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 21:10:15 +00:00
mscott%netscape.com
4d99ee1156 Fix GetUserName such that it uses GetServer on the folder instead of calling GetCurrentServer from the acct manager. This fixes the imap problem where you couldn't perform cmds like displaying messages unless you imap server was the first one.
git-svn-id: svn://10.0.0.236/trunk@31769 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 21:07:18 +00:00
mscott%netscape.com
3d521690a6 add GetServer method to get the incoming server associated with a folder
git-svn-id: svn://10.0.0.236/trunk@31768 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 21:04:42 +00:00
mscott%netscape.com
355879dc1e add getsserver and GetIncomingServerType. This allows us to get the incoming server associated with a folder.
git-svn-id: svn://10.0.0.236/trunk@31767 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 21:03:02 +00:00
mcmullen%netscape.com
dbd5dd77ec Fix "no prototype" warning by including the nsIComponentManager header.
git-svn-id: svn://10.0.0.236/trunk@31766 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 21:00:13 +00:00
mcmullen%netscape.com
73202950dd Removing illegal trailing semicolon
git-svn-id: svn://10.0.0.236/trunk@31765 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 20:54:38 +00:00
mscott%netscape.com
6a24d89cc5 implement GetIncomingServerType as part of adding a GetServer method for a folder.
git-svn-id: svn://10.0.0.236/trunk@31764 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 19:39:58 +00:00
mscott%netscape.com
d03184d4ac code cleanup --> use nsAutoCString instead of .newCString.
git-svn-id: svn://10.0.0.236/trunk@31763 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 19:37:27 +00:00
pavlov%pavlov.net
677c41e3a7 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@31762 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 19:15:44 +00:00
mscott%netscape.com
98fadcfbc2 I thought I had done this last week but I didn't check in this change =). Turn imap on for REAL on Linux.
git-svn-id: svn://10.0.0.236/trunk@31761 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 19:09:39 +00:00
sspitzer%netscape.com
4be3f47f56 ignore the generate Makefile
git-svn-id: svn://10.0.0.236/trunk@31760 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 18:47:45 +00:00
pavlov%pavlov.net
aee2940f38 minor cleanup
git-svn-id: svn://10.0.0.236/trunk@31759 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 18:39:09 +00:00
pavlov%pavlov.net
867deda1d7 fix menu assertions
git-svn-id: svn://10.0.0.236/trunk@31758 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 18:34:49 +00:00
pavlov%pavlov.net
67a98cd4a9 clean up of menu code to remove excess code
git-svn-id: svn://10.0.0.236/trunk@31757 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 18:13:11 +00:00
shaver%netscape.com
562a77c144 don't need to keep handle to EventQueueService after ::Run
git-svn-id: svn://10.0.0.236/trunk@31756 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 16:43:48 +00:00
shaver%netscape.com
5c590c152f fix command line stuff
git-svn-id: svn://10.0.0.236/trunk@31755 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 16:39:40 +00:00
pavlov%pavlov.net
ddfbfc3f3e fix assertions when adding events
git-svn-id: svn://10.0.0.236/trunk@31754 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 16:14:48 +00:00
rods%netscape.com
95563fbf75 Added new method GetAnyTransferData
git-svn-id: svn://10.0.0.236/trunk@31753 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 14:29:32 +00:00
hyatt%netscape.com
d6c456a5d5 DOn't need the printf any more.
git-svn-id: svn://10.0.0.236/trunk@31752 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 09:04:45 +00:00
hyatt%netscape.com
929bbc083e Not yet implemented. Sigh. I hate seeing "Not yet implemented."
git-svn-id: svn://10.0.0.236/trunk@31751 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 09:03:59 +00:00
hyatt%netscape.com
2eca8bb5db Added support for document.popup, so that event handlers in popup content
can refer to the popup's originating element.


git-svn-id: svn://10.0.0.236/trunk@31750 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 08:46:14 +00:00
sspitzer%netscape.com
01d9a0a99c use nsAutoCString instead of ToNewCString
git-svn-id: svn://10.0.0.236/trunk@31749 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 06:05:04 +00:00
sspitzer%netscape.com
45b803242a add new line to the end of the file. use nsAutoCString instead of ToNewCString.
git-svn-id: svn://10.0.0.236/trunk@31748 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 05:58:24 +00:00
sspitzer%netscape.com
923440bfc7 use nsAutoCString instead of ToNewCstring. cast to quite compiler. stop shadowing.
git-svn-id: svn://10.0.0.236/trunk@31747 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 05:45:20 +00:00
pavlov%pavlov.net
d9618676d7 fix for 5494 and 2nd attempt at command line services (if 0'd out atm)
git-svn-id: svn://10.0.0.236/trunk@31746 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 05:13:21 +00:00
sspitzer%netscape.com
960ffe1429 set the url state when done.
git-svn-id: svn://10.0.0.236/trunk@31745 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 05:04:58 +00:00
sspitzer%netscape.com
7f10e49f70 use nsCOMPtr. wrap printfs with ifdefs.
git-svn-id: svn://10.0.0.236/trunk@31744 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 05:04:34 +00:00
sspitzer%netscape.com
4737bbe1c0 fix my stupid printf
git-svn-id: svn://10.0.0.236/trunk@31743 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 05:00:52 +00:00
pavlov%pavlov.net
576233a3bd fix for bug #5496
git-svn-id: svn://10.0.0.236/trunk@31742 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 04:29:00 +00:00
pavlov%pavlov.net
68cf4223b8 fix for bug #6509
git-svn-id: svn://10.0.0.236/trunk@31741 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 04:07:54 +00:00
hyatt%netscape.com
c9b3144d35 Fixing a crash when you clicked outside the popup.
git-svn-id: svn://10.0.0.236/trunk@31740 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 03:53:19 +00:00
hyatt%netscape.com
0491f81c8f Fix.
git-svn-id: svn://10.0.0.236/trunk@31739 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 03:47:44 +00:00
hyatt%netscape.com
19940bc96d Fixes to the windows implementation.
git-svn-id: svn://10.0.0.236/trunk@31738 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 03:19:49 +00:00
law%netscape.com
4920ee8c7f Turn off PR_fprintf calls on Mac
git-svn-id: svn://10.0.0.236/trunk@31737 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 03:02:06 +00:00
jefft%netscape.com
4e455b952f fixed all the subfoler created on top level
git-svn-id: svn://10.0.0.236/trunk@31736 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 02:59:23 +00:00
hyatt%netscape.com
d29a96350a Fixing context menus a bit.
git-svn-id: svn://10.0.0.236/trunk@31735 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 02:53:43 +00:00
hyatt%netscape.com
a0db76f4d6 Making sure context menus can be made.
git-svn-id: svn://10.0.0.236/trunk@31734 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 02:53:03 +00:00
hyatt%netscape.com
b090c04e6c Popup cleanup.
git-svn-id: svn://10.0.0.236/trunk@31733 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 02:52:51 +00:00
rods%netscape.com
404223b610 removed them they are in xpwidgets now
git-svn-id: svn://10.0.0.236/trunk@31732 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 02:50:03 +00:00
rods%netscape.com
232a0e3249 keycode are incorrect when ALT key pressed. I have added code to convert these
to the proper value to match the the control key values. Fixes bug #6449


git-svn-id: svn://10.0.0.236/trunk@31731 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 02:30:42 +00:00
bienvenu%netscape.com
2f2662ca1a check for null store when adding headers
git-svn-id: svn://10.0.0.236/trunk@31730 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 02:28:01 +00:00
bienvenu%netscape.com
37ee9cd788 fix get new mail when using cached connection
git-svn-id: svn://10.0.0.236/trunk@31729 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 02:26:36 +00:00
beard%netscape.com
3377f17277 turned off MANIFEST_TEMP entries, added building of XPConnectIDL[headers, xpconnect.xpt]
git-svn-id: svn://10.0.0.236/trunk@31728 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 02:04:42 +00:00
beard%netscape.com
95cdd7a36b removed xpccomponents.h, xpcjsid.h, nsrootidl.h which are now generated by XPConnectIDL.mcp
git-svn-id: svn://10.0.0.236/trunk@31727 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 02:04:41 +00:00
slamm%netscape.com
488ec3f306 Use sidebar style sheet for sidebar panel.
git-svn-id: svn://10.0.0.236/trunk@31726 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:55:37 +00:00
slamm%netscape.com
0414b2f944 Size to fit.
git-svn-id: svn://10.0.0.236/trunk@31725 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:53:28 +00:00
slamm%netscape.com
38ba8e4bcf Clean up
git-svn-id: svn://10.0.0.236/trunk@31724 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:52:37 +00:00
slamm%netscape.com
6a90ff6c15 Move title back into xul file
git-svn-id: svn://10.0.0.236/trunk@31723 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:45:09 +00:00
slamm%netscape.com
a63d65933a cleaner look
git-svn-id: svn://10.0.0.236/trunk@31722 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:44:33 +00:00
beard%netscape.com
591ff0d95f renamed target typelib to xpconnect.xpt, added mozilla/dist/idl to access paths.
git-svn-id: svn://10.0.0.236/trunk@31721 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:38:15 +00:00
pollmann%netscape.com
c51e86bc1c Bug 5746: Check for null.
git-svn-id: svn://10.0.0.236/trunk@31720 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:36:39 +00:00
beard%netscape.com
4aeb67c89b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@31719 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:35:45 +00:00
rods%netscape.com
34cfd97cf7 Two return keys were being sent for a single press. both Key down was sending one and
WM_CHAR was sending one. Commented out the SPECIAL_KEY case for the return key. Now, it
only generates a down event via WM_CHAR


git-svn-id: svn://10.0.0.236/trunk@31718 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:20:37 +00:00
sspitzer%netscape.com
8b0262a4a5 missing .css reference (causes crash on Linux)
git-svn-id: svn://10.0.0.236/trunk@31717 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:12:10 +00:00
nhotta%netscape.com
975c018ec0 Clean up, forgot about & for the args.
git-svn-id: svn://10.0.0.236/trunk@31716 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:08:16 +00:00
sspitzer%netscape.com
3c581d5254 stop my annoying printfs
git-svn-id: svn://10.0.0.236/trunk@31715 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:04:10 +00:00
sspitzer%netscape.com
6f2c27d449 makefile changes for hangas's new xul and js files
git-svn-id: svn://10.0.0.236/trunk@31714 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:02:21 +00:00
law%netscape.com
9b86503921 Got one that will make everybody happy (if Mac goes red, I'll scream)
git-svn-id: svn://10.0.0.236/trunk@31713 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 01:01:29 +00:00
ftang%netscape.com
fa4453e478 add service
git-svn-id: svn://10.0.0.236/trunk@31712 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 00:57:45 +00:00
law%netscape.com
f85ff3edea added load time to 'Document: Done' msg
git-svn-id: svn://10.0.0.236/trunk@31711 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 00:53:52 +00:00
hyatt%netscape.com
0d962fc214 Linking up global window to call webshell container's createPopup.
git-svn-id: svn://10.0.0.236/trunk@31710 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 00:48:39 +00:00
jefft%netscape.com
52e07f10b3 fixed ForceClosed() crashes con CloseDB()
git-svn-id: svn://10.0.0.236/trunk@31709 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 00:47:47 +00:00
beard%netscape.com
c0e5fef925 removed files: mozilla/js/src/xpconnect/idl/nsrootidl.idl, mozilla/js/src/xpconnect/idl/nsISupports.idl
git-svn-id: svn://10.0.0.236/trunk@31708 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 00:43:46 +00:00
sfraser%netscape.com
844e98fe44 Just do some anal alignment of config options
git-svn-id: svn://10.0.0.236/trunk@31707 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 00:41:23 +00:00
hangas%netscape.com
07bbe01ea3 Added addressbook.js and editcard.xul
git-svn-id: svn://10.0.0.236/trunk@31706 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 00:38:41 +00:00
hangas%netscape.com
d5014e5e2a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@31705 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 00:33:21 +00:00
saari%netscape.com
4d3becb152 call DoContextMenu
git-svn-id: svn://10.0.0.236/trunk@31704 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 00:33:11 +00:00
briano%netscape.com
82ae522abf These headers no longer exist.
git-svn-id: svn://10.0.0.236/trunk@31703 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 00:27:14 +00:00
sspitzer%netscape.com
166b3f1c2e code cleanup
git-svn-id: svn://10.0.0.236/trunk@31702 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 00:22:23 +00:00
hangas%netscape.com
aff50cb181 Minor cleanup
git-svn-id: svn://10.0.0.236/trunk@31701 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 00:19:06 +00:00
hangas%netscape.com
cf17c1fa47 Referenced the xul.css, removed styles handled by xul.css. Added some real styles used within the address book XUL.
git-svn-id: svn://10.0.0.236/trunk@31700 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 00:16:37 +00:00
sspitzer%netscape.com
b8e89f5291 fix UNIX build bustage
git-svn-id: svn://10.0.0.236/trunk@31699 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-15 00:12:19 +00:00
shaver%netscape.com
6398b36c83 allow rdf:datasource;param=var (r=waterson)
git-svn-id: svn://10.0.0.236/trunk@31698 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:56:30 +00:00
shaver%netscape.com
2ea6261f28 fix CHECK_BRANCH fencepost
git-svn-id: svn://10.0.0.236/trunk@31697 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:54:16 +00:00
shaver%netscape.com
69907f11a8 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@31696 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:49:15 +00:00
ftang%netscape.com
2d73514974 add unix file
git-svn-id: svn://10.0.0.236/trunk@31695 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:36:14 +00:00
ftang%netscape.com
cdf75170bd First Checked In.
git-svn-id: svn://10.0.0.236/trunk@31694 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:32:51 +00:00
mcafee%netscape.com
0d25af40ff Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@31693 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:32:44 +00:00
jefft%netscape.com
e0716ccf26 fixed new folder not added to to the folder pane problem
git-svn-id: svn://10.0.0.236/trunk@31692 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:26:00 +00:00
ftang%netscape.com
54f37f92ee add nsIElementObserver.h
git-svn-id: svn://10.0.0.236/trunk@31691 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:23:41 +00:00
mcmullen%netscape.com
e843ff4d24 Added some forward declarations so that this file would, well, er, compile.
git-svn-id: svn://10.0.0.236/trunk@31690 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:23:08 +00:00
alecf%netscape.com
2bf250398b change Communicator->Tasks
git-svn-id: svn://10.0.0.236/trunk@31689 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:11:54 +00:00
hyatt%netscape.com
e7ff1ca15a Ready to rumble.
git-svn-id: svn://10.0.0.236/trunk@31688 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:11:49 +00:00
saari%netscape.com
112a992fef tweaking DoContextMenu
git-svn-id: svn://10.0.0.236/trunk@31687 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:10:46 +00:00
ftang%netscape.com
d5a10cea71 add chardet
git-svn-id: svn://10.0.0.236/trunk@31686 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 23:09:17 +00:00
saari%netscape.com
ca20eb4536 Add context menus to mac build
git-svn-id: svn://10.0.0.236/trunk@31685 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:57:11 +00:00
law%netscape.com
1a9cf88c43 Fix 'Document: Done' and clean up some obsolete stuff
git-svn-id: svn://10.0.0.236/trunk@31684 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:57:07 +00:00
ducarroz%netscape.com
ade7eaf162 Split EditorStartup() into EditorStartup() & EditorSetup(). Msg Compose use only EditorSetup().
git-svn-id: svn://10.0.0.236/trunk@31683 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:54:24 +00:00
beard%netscape.com
081e747d8d synched with BuildNGLayout[Debug].pl
git-svn-id: svn://10.0.0.236/trunk@31682 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:50:01 +00:00
jefft%netscape.com
40dda6f841 fixed imap folder discovery problem; the default fNamespacesOverridable should be set to true
git-svn-id: svn://10.0.0.236/trunk@31681 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:46:21 +00:00
beard%netscape.com
da8bcd722d Fixed some serious ref count bugs using nsIURL when instantiating plugins.
git-svn-id: svn://10.0.0.236/trunk@31680 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:45:46 +00:00
hyatt%netscape.com
329b3d4c32 Should work.
git-svn-id: svn://10.0.0.236/trunk@31679 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:41:09 +00:00
hyatt%netscape.com
502c1e7de2 Adding a method to the webshell container for creating popup/context menus.
git-svn-id: svn://10.0.0.236/trunk@31678 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:40:03 +00:00
briano%netscape.com
6492f30fe4 Hacks to get it to compile. Needs help from someone with a clue.
git-svn-id: svn://10.0.0.236/trunk@31677 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:33:42 +00:00
saari%netscape.com
a2991b2fed Adding DoContextMenu
git-svn-id: svn://10.0.0.236/trunk@31676 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:28:00 +00:00
saari%netscape.com
35824ad0d3 Adding mac context menu files.
git-svn-id: svn://10.0.0.236/trunk@31675 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:27:31 +00:00
sspitzer%netscape.com
6ac924982e fix a bug in nsMsgDBEnumerator. this means I don't have to use
2 enuermators for my "show me only the last n news message" hack.


git-svn-id: svn://10.0.0.236/trunk@31674 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:25:31 +00:00
rhp%netscape.com
17c6f5d3b0 Cleanup of code
git-svn-id: svn://10.0.0.236/trunk@31673 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:24:26 +00:00
saari%netscape.com
bd54a585bc fixed up to date error
git-svn-id: svn://10.0.0.236/trunk@31672 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:23:53 +00:00
rhp%netscape.com
a476dc9556 Even more refinement :)
git-svn-id: svn://10.0.0.236/trunk@31671 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:13:02 +00:00
law%netscape.com
b253b3940c "Turn on app shell component autoloading"
git-svn-id: svn://10.0.0.236/trunk@31670 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:02:23 +00:00
saari%netscape.com
fce37733eb First Checked In.
git-svn-id: svn://10.0.0.236/trunk@31669 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:01:15 +00:00
saari%netscape.com
7037191029 Add context menus to factory
git-svn-id: svn://10.0.0.236/trunk@31668 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:00:43 +00:00
saari%netscape.com
9a5e22b31a Minor mac menu change to facilitate context menus
git-svn-id: svn://10.0.0.236/trunk@31667 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 22:00:21 +00:00
saari%netscape.com
9345a07292 Initialize the mac contextual menu manager
git-svn-id: svn://10.0.0.236/trunk@31666 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:59:47 +00:00
saari%netscape.com
de03a680e1 Adding context menu library to the interface stubs
git-svn-id: svn://10.0.0.236/trunk@31665 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:58:33 +00:00
hyatt%netscape.com
ab7699e747 Calling both createPopup and createAnchoredPopup now.
git-svn-id: svn://10.0.0.236/trunk@31664 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:51:57 +00:00
jj%netscape.com
bf82aad8fb Turned XPIDL plugin ON ($USE_XPIDL = 1) for Tinderbox and Verification builds.
git-svn-id: svn://10.0.0.236/trunk@31663 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:48:02 +00:00
saari%netscape.com
4c3f53e6f9 fixing build break
git-svn-id: svn://10.0.0.236/trunk@31662 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:46:51 +00:00
rhp%netscape.com
36846905c1 Further refinement of auto link detection
git-svn-id: svn://10.0.0.236/trunk@31661 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:42:26 +00:00
pollmann%netscape.com
697625dac9 Bug 5944,3322: Bringing GTK <SELECT> events on par with Windows
git-svn-id: svn://10.0.0.236/trunk@31660 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:35:49 +00:00
morse%netscape.com
661378cd2e fix bug 6399
git-svn-id: svn://10.0.0.236/trunk@31659 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:21:38 +00:00
ducarroz%netscape.com
e45fa99e7f HTML tag name must be capitalized if we want to find them in the DOM!
git-svn-id: svn://10.0.0.236/trunk@31658 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:18:26 +00:00
hyatt%netscape.com
2de5acbb02 Added another createPopup method to handle anchoring.
git-svn-id: svn://10.0.0.236/trunk@31657 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:16:51 +00:00
mcafee%netscape.com
0516d8ccde Adding font interfaces for Linux.
git-svn-id: svn://10.0.0.236/trunk@31656 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:13:50 +00:00
bienvenu%netscape.com
89f96f8d0e fix message counts for imap inbox
git-svn-id: svn://10.0.0.236/trunk@31655 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:11:07 +00:00
mcafee%netscape.com
bec3b4d589 Adding nsIFileListTransferable to the Linux build.
git-svn-id: svn://10.0.0.236/trunk@31654 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:11:00 +00:00
putterman%netscape.com
131ed02039 Added Mark Messages as Unread and bold on "new" not "New".
git-svn-id: svn://10.0.0.236/trunk@31653 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:04:25 +00:00
jefft%netscape.com
7f74d31801 fixed cached connection url race condition
git-svn-id: svn://10.0.0.236/trunk@31652 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:04:17 +00:00
putterman%netscape.com
08c159f418 Do status flag notifications based on flags changed.
git-svn-id: svn://10.0.0.236/trunk@31651 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:03:26 +00:00
sspitzer%netscape.com
3ec2a39f2b changes to show only the last n messages in a news folder.
It follows the mail.news.maxheaderstoshow pref.


git-svn-id: svn://10.0.0.236/trunk@31650 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 21:02:51 +00:00
beard%netscape.com
ada628c705 fixed ref count leak
git-svn-id: svn://10.0.0.236/trunk@31649 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 20:43:27 +00:00
saari%netscape.com
2b79b09d87 adding context menus to windows build
git-svn-id: svn://10.0.0.236/trunk@31648 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 20:42:50 +00:00
beard%netscape.com
c24803ec6b added nsGetNativeThis(), which searches the prototype chain for the first object that is tagged as having an nsISupports in its private field.
git-svn-id: svn://10.0.0.236/trunk@31647 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 20:27:00 +00:00
putterman%netscape.com
d416240873 overflow: visible added. Fixes 6426.
git-svn-id: svn://10.0.0.236/trunk@31646 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 20:06:21 +00:00
alecf%netscape.com
131f21b126 add missing box element
git-svn-id: svn://10.0.0.236/trunk@31645 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:53:43 +00:00
akkana%netscape.com
41cebfdb96 5663: Fix copy/paste of entities.
mUnicodeEncoder isn't getting initialized properly, at least on Linux.
Also fixed some compiler warnings while I'm here.


git-svn-id: svn://10.0.0.236/trunk@31644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:47:10 +00:00
rhp%netscape.com
e92a38cdeb New glyph changes
git-svn-id: svn://10.0.0.236/trunk@31643 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:27:40 +00:00
rhp%netscape.com
d25588b86c adding new files
git-svn-id: svn://10.0.0.236/trunk@31642 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:27:22 +00:00
rhp%netscape.com
54dc18313d New images for glyph replacement
git-svn-id: svn://10.0.0.236/trunk@31641 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:27:09 +00:00
ducarroz%netscape.com
da376431d8 Fix capitalization problem with nsComPtr.h
git-svn-id: svn://10.0.0.236/trunk@31640 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:26:14 +00:00
akkana%netscape.com
02dd28094a Change some comments re body wrap width
git-svn-id: svn://10.0.0.236/trunk@31639 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:25:43 +00:00
akkana%netscape.com
622007a1d7 5786: Cut shouldn't do anything when selection is collapsed
git-svn-id: svn://10.0.0.236/trunk@31638 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:24:10 +00:00
hyatt%netscape.com
59e6c9212e Screen coords instead.
git-svn-id: svn://10.0.0.236/trunk@31637 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:22:52 +00:00
ducarroz%netscape.com
2d83fc467d add resource installation for mailnews:mime:resources
git-svn-id: svn://10.0.0.236/trunk@31636 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:18:32 +00:00
rhp%netscape.com
7bce69fb4c Pref fix.
git-svn-id: svn://10.0.0.236/trunk@31635 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:16:26 +00:00
hyatt%netscape.com
be5cf55e97 Changes to actually call into the GlobalWindowImpl's createPopup method.
git-svn-id: svn://10.0.0.236/trunk@31634 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 19:10:01 +00:00
slamm%netscape.com
cd96d63f88 Use ENTITY tags for text. Fix for i18n bug #6373.
git-svn-id: svn://10.0.0.236/trunk@31633 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:58:56 +00:00
rhp%netscape.com
a6625397b4 New directory being added
git-svn-id: svn://10.0.0.236/trunk@31632 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:57:14 +00:00
rhp%netscape.com
46314c1b60 Changes for new resource directories
git-svn-id: svn://10.0.0.236/trunk@31631 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:54:56 +00:00
hyatt%netscape.com
379b461b08 Added a createPopup method to the window object.
git-svn-id: svn://10.0.0.236/trunk@31630 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:54:25 +00:00
rhp%netscape.com
fc88911321 Change for glyph replacement
git-svn-id: svn://10.0.0.236/trunk@31629 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:54:23 +00:00
rhp%netscape.com
3703e2589c Images for glyph replacement
git-svn-id: svn://10.0.0.236/trunk@31628 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:53:52 +00:00
rhp%netscape.com
21d29ba431 Changes for URL detection and an I18N fix.
git-svn-id: svn://10.0.0.236/trunk@31627 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:53:16 +00:00
ducarroz%netscape.com
63d1208aac Add pref wrapColumn & useHtml
git-svn-id: svn://10.0.0.236/trunk@31626 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:52:05 +00:00
ducarroz%netscape.com
f4af5c6467 Did some cleanup, Implement menu Exit command. Initialize Editor in HTML or plain text mode depending of parameter received. Set wrap column.
git-svn-id: svn://10.0.0.236/trunk@31625 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:52:04 +00:00
ducarroz%netscape.com
600af0f0e8 Delay creation of m_pathName to avoid problem on Mac with empty path.
git-svn-id: svn://10.0.0.236/trunk@31624 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:52:03 +00:00
ducarroz%netscape.com
41a25fded2 Add getIntpref & setIntPref. Add wrapColumn pref
git-svn-id: svn://10.0.0.236/trunk@31623 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:52:02 +00:00
ducarroz%netscape.com
f8701655cb Add properties WrapColumn and UseHtml
git-svn-id: svn://10.0.0.236/trunk@31622 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:52:01 +00:00
ducarroz%netscape.com
8b71f4da3c Add missing addref. Fix bug#6182
git-svn-id: svn://10.0.0.236/trunk@31621 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:52:00 +00:00
ducarroz%netscape.com
52eea1b788 Add pref WrapColumn
git-svn-id: svn://10.0.0.236/trunk@31620 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:51:59 +00:00
ducarroz%netscape.com
cc0a57ffc1 Set editorType to default, that means use preference to know if we want to edit in plain text or in html.
git-svn-id: svn://10.0.0.236/trunk@31619 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:51:57 +00:00
ducarroz%netscape.com
e197729012 removed toolbar css stuff as now we use xul.css
git-svn-id: svn://10.0.0.236/trunk@31618 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:51:56 +00:00
pinkerton%netscape.com
107fd9da10 pipe all drag events into Gecko, not just drop events. Also work with the new nsIDragSessionMac interface.
git-svn-id: svn://10.0.0.236/trunk@31617 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:50:57 +00:00
pinkerton%netscape.com
2b89181129 implements nsIDragSessionMac to get the dragRef from external drags. GetData() implemented (mostly).
git-svn-id: svn://10.0.0.236/trunk@31616 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:50:20 +00:00
ducarroz%netscape.com
e4f9ed3a6c File Removed.
git-svn-id: svn://10.0.0.236/trunk@31615 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:50:01 +00:00
pinkerton%netscape.com
10a38693a3 Accept any kind of drag event, not just drops.
git-svn-id: svn://10.0.0.236/trunk@31614 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:49:42 +00:00
ducarroz%netscape.com
88bba10251 replaced msgComposeBody.html by defaulttextBody.html and defaultHtmlBody.html
git-svn-id: svn://10.0.0.236/trunk@31613 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:49:34 +00:00
ducarroz%netscape.com
e4874c79ae First Checked In.
git-svn-id: svn://10.0.0.236/trunk@31612 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:48:43 +00:00
pinkerton%netscape.com
60ffd063f4 fix a d&d bug introduced in the transferable interface merging and add a SetCanDrop at the point of the drop for MacOS.
git-svn-id: svn://10.0.0.236/trunk@31611 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:44:28 +00:00
pinkerton%netscape.com
6e578e8456 add nsIDragSessionMac.h
git-svn-id: svn://10.0.0.236/trunk@31610 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:43:30 +00:00
pinkerton%netscape.com
a31d391ec0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@31609 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 18:43:10 +00:00
valeski%netscape.com
c8867432c8 updated the nsSupportsArray::Count() api usage
git-svn-id: svn://10.0.0.236/trunk@31608 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 17:25:27 +00:00
kipp%netscape.com
99cca5f3e9 new
git-svn-id: svn://10.0.0.236/trunk@31607 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 16:32:07 +00:00
dcone%netscape.com
234dceb8b2 added a webshell parameter to the PrintContent call, unhooked the PresShell from the
document before deletion.  Fixed a leak.


git-svn-id: svn://10.0.0.236/trunk@31606 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 14:40:59 +00:00
dcone%netscape.com
d1122ad37a Added a webshell parameter to the PrintContent method
git-svn-id: svn://10.0.0.236/trunk@31605 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 14:39:47 +00:00
jefft%netscape.com
92b79ad07b inform the database to delete the message header
git-svn-id: svn://10.0.0.236/trunk@31604 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 14:27:19 +00:00
rods%netscape.com
45625a3f4a Added error checking for creation of nsIFileWidgets (Bug #6084)
git-svn-id: svn://10.0.0.236/trunk@31603 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 12:48:41 +00:00
rods%netscape.com
2bb4f6f16c added nsFileListTransferable
git-svn-id: svn://10.0.0.236/trunk@31602 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 12:35:29 +00:00
rods%netscape.com
6fb8272d93 added nsFileListTransferable to build
git-svn-id: svn://10.0.0.236/trunk@31601 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 12:34:54 +00:00
rods%netscape.com
5be7eb82b9 Changed to adhere to interface changes
git-svn-id: svn://10.0.0.236/trunk@31600 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 12:34:33 +00:00
rods%netscape.com
47e0fa3e88 added font iterators
git-svn-id: svn://10.0.0.236/trunk@31599 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 12:27:06 +00:00
rods%netscape.com
7658fb998e Each font has a struct and keeps track of its sizes in a nsVoidArray
git-svn-id: svn://10.0.0.236/trunk@31598 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 12:26:40 +00:00
rods%netscape.com
fc599eafc3 Added FontIterator
git-svn-id: svn://10.0.0.236/trunk@31597 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 12:26:03 +00:00
rods%netscape.com
eef5acebf8 Added Font Iterator interfaces
git-svn-id: svn://10.0.0.236/trunk@31596 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 12:25:18 +00:00
pierre%netscape.com
b9c201c5f1 fixed a glitch due to the TARGET_CARBON conversion in nsWindow::Update()
git-svn-id: svn://10.0.0.236/trunk@31595 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 10:18:33 +00:00
pierre%netscape.com
0301c12e7d hooked up DoDisk() to handle disk events
git-svn-id: svn://10.0.0.236/trunk@31594 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 10:15:55 +00:00
pierre%netscape.com
0d83ce6407 The constructor takes a nsMacWindow instead of a nsWindow. Removed HandleDiskEvent(): disk events are handled in our message pump or left to the embedding apps.
git-svn-id: svn://10.0.0.236/trunk@31593 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 10:14:46 +00:00
pierre%netscape.com
1dbaf5e759 fix list boxes with a temporary hack to access the 'ldes' resource from the Finder
git-svn-id: svn://10.0.0.236/trunk@31592 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 10:09:14 +00:00
pierre%netscape.com
de056adeaa First Checked In.
git-svn-id: svn://10.0.0.236/trunk@31591 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 10:02:32 +00:00
mccabe%netscape.com
28b40dcc52 Recur into idl. (Make good on the 'turning on auto-generation for idl' promise of my last checking)
git-svn-id: svn://10.0.0.236/trunk@31590 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 09:27:02 +00:00
mccabe%netscape.com
d3ea727066 change for hpux porting
git-svn-id: svn://10.0.0.236/trunk@31589 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 09:27:01 +00:00
mccabe%netscape.com
b179e61a4c Make xpconnect compile and export .h files and xptconnect.xpt using XPIDLSRCS for unix and windows.
git-svn-id: svn://10.0.0.236/trunk@31588 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 08:27:27 +00:00
hyatt%netscape.com
be6783986f Popup listener.
git-svn-id: svn://10.0.0.236/trunk@31587 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 07:20:12 +00:00
morse%netscape.com
f4b4807355 fix bug 6168
git-svn-id: svn://10.0.0.236/trunk@31586 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 06:54:29 +00:00
hyatt%netscape.com
7cb80cd082 Oops.
git-svn-id: svn://10.0.0.236/trunk@31585 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 06:24:23 +00:00
jfrancis%netscape.com
b3b7e270b4 fixing overly noisy asserts
git-svn-id: svn://10.0.0.236/trunk@31584 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 06:18:07 +00:00
morse%netscape.com
2dc2c63ce0 fix flawed code in ProfileDirectory
git-svn-id: svn://10.0.0.236/trunk@31583 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 06:06:05 +00:00
hyatt%netscape.com
9cb5961972 added files: mozilla/rdf/content/src/nsXULPopupListener.cpp
git-svn-id: svn://10.0.0.236/trunk@31582 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 05:39:15 +00:00
hyatt%netscape.com
9d968658ca Committing the XUL popup listener implementation.
git-svn-id: svn://10.0.0.236/trunk@31581 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 05:37:20 +00:00
hyatt%netscape.com
46c399d571 Adding support for the popup content implementation.
git-svn-id: svn://10.0.0.236/trunk@31580 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 05:37:00 +00:00
hyatt%netscape.com
1e52b74421 Committing the popup listener interface.
git-svn-id: svn://10.0.0.236/trunk@31579 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 05:36:21 +00:00
hyatt%netscape.com
2c90248d48 Adding a GetIID method so I can actually use an nsCOMPtr with this
interface.


git-svn-id: svn://10.0.0.236/trunk@31578 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 05:35:56 +00:00
sspitzer%netscape.com
b5f41545ff changes for alecf's new account manager and filter dialog work.
git-svn-id: svn://10.0.0.236/trunk@31577 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 04:38:03 +00:00
jefft%netscape.com
0a621d741e cached connection work -- added LoadNextQueuedUrl() method for a connection to call when a url is done executing
git-svn-id: svn://10.0.0.236/trunk@31576 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 04:15:22 +00:00
jefft%netscape.com
c36647f4d5 cached connection work - enhanced IsBusy(), CanHandleUrl() method to return more information regarding a connection status vs the new url running state to decide whether a url can run right away or has to wait until a specific connection is free
git-svn-id: svn://10.0.0.236/trunk@31575 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 04:13:54 +00:00
alecf%netscape.com
ca241973b1 fix wierd layout problems due to broken iframe
git-svn-id: svn://10.0.0.236/trunk@31574 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 04:09:07 +00:00
jefft%netscape.com
1098c1643b cached connection work - added LoadNextQueuedUrl() method
git-svn-id: svn://10.0.0.236/trunk@31573 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 04:07:48 +00:00
jefft%netscape.com
dfa1d666bf cached connection work - added additional bool parm, isInboxConnection, to IsBusy() method; added additional bool parm, hasToWait, to CanHandleUrl() method
git-svn-id: svn://10.0.0.236/trunk@31572 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 04:07:00 +00:00
alecf%netscape.com
e8be1dc0d2 add new Filter List dialog
git-svn-id: svn://10.0.0.236/trunk@31571 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 03:33:47 +00:00
alecf%netscape.com
b24441ea9b padded box just needs a margin, not padding, so that it lines up with the cleanborder
git-svn-id: svn://10.0.0.236/trunk@31570 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 03:33:29 +00:00
sfraser%netscape.com
e4494d33f9 Fix ownership and leakage issues. The appcore no longer holds references to the various webshell and content windows, and DoEditorMode doesn't leak the pres shell any more.
git-svn-id: svn://10.0.0.236/trunk@31569 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 03:11:12 +00:00
danm%netscape.com
814056a0e4 added window.openDialog. a:brendan
git-svn-id: svn://10.0.0.236/trunk@31568 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 03:10:51 +00:00
sfraser%netscape.com
fb70b320c9 Since the unload handler gets called at all the wrong times, don't do
anying useful in it.


git-svn-id: svn://10.0.0.236/trunk@31567 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 03:08:24 +00:00
sfraser%netscape.com
07b79fc43e Added include guards, which should be a big win on commonly included files like this one.
git-svn-id: svn://10.0.0.236/trunk@31566 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 03:07:31 +00:00
sfraser%netscape.com
c00e1eb8f1 Include <string.h>, not "string.h". Also added include guards, which should be a big win on commonly included files like this one.
git-svn-id: svn://10.0.0.236/trunk@31565 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 03:07:23 +00:00
alecf%netscape.com
df978824a7 next cut at basic search dialog
git-svn-id: svn://10.0.0.236/trunk@31564 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 02:21:35 +00:00
alecf%netscape.com
08da4b54d6 use global xul.css in addition to threadpane-specific css
git-svn-id: svn://10.0.0.236/trunk@31563 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 02:21:19 +00:00
alecf%netscape.com
612e0111aa remove am.css, a redunant style sheet
git-svn-id: svn://10.0.0.236/trunk@31562 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 02:20:43 +00:00
alecf%netscape.com
823a01b117 remove redundant styles (already exist in xul.css)
git-svn-id: svn://10.0.0.236/trunk@31561 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 02:20:20 +00:00
alecf%netscape.com
140b73a2c6 use standard messenger CSS
git-svn-id: svn://10.0.0.236/trunk@31560 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 02:19:31 +00:00
alecf%netscape.com
74524446d4 updated Account Manager XUL to use the messenger style sheet
git-svn-id: svn://10.0.0.236/trunk@31559 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 02:15:00 +00:00
despotdaemon%netscape.com
ef02f9ccb1 Pseudo-automatic update of changes made by wtc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@31558 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 02:03:04 +00:00
briano%netscape.com
7f54c3d058 Fix for QNX. Their compiler reserves 'huge' as a keyword, so I replaced it with 'really_big'.
git-svn-id: svn://10.0.0.236/trunk@31557 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 02:01:15 +00:00
briano%netscape.com
4d93badf2f Eliminate the need to use -DQNX by switching to __QNX__, predefined by the compiler.
git-svn-id: svn://10.0.0.236/trunk@31556 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 01:46:00 +00:00
cmanske%netscape.com
93c43d1300 Fixing editor dialog bugs
git-svn-id: svn://10.0.0.236/trunk@31555 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 01:30:19 +00:00
rhp%netscape.com
598920bab9 Change for more aggressive link-afying of www. and ftp. and user@... text
git-svn-id: svn://10.0.0.236/trunk@31554 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 01:14:41 +00:00
bienvenu%netscape.com
ee27a4d714 checkpoint filter work, get filters loading
git-svn-id: svn://10.0.0.236/trunk@31553 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:57:19 +00:00
bienvenu%netscape.com
bd8e3a5a21 add registration of filter component, under ifdef control
git-svn-id: svn://10.0.0.236/trunk@31552 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:56:13 +00:00
sspitzer%netscape.com
5fd091f476 fix shadowed variable warning
git-svn-id: svn://10.0.0.236/trunk@31551 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:50:04 +00:00
putterman%netscape.com
14ef3d34b8 export nsMsgRDFDataSource.h
git-svn-id: svn://10.0.0.236/trunk@31550 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:49:29 +00:00
putterman%netscape.com
31ddad53ad Implement DeleteFolder and Mark Message As Read menus.
git-svn-id: svn://10.0.0.236/trunk@31549 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:47:13 +00:00
putterman%netscape.com
f534e7eeb7 Bold unread messages as well as New messages.
git-svn-id: svn://10.0.0.236/trunk@31548 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:46:53 +00:00
putterman%netscape.com
253472f256 Add Delete Folder and activate Mark Read.
git-svn-id: svn://10.0.0.236/trunk@31547 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:46:35 +00:00
putterman%netscape.com
7196154cf1 call MarkRead instead of OrFlags.
git-svn-id: svn://10.0.0.236/trunk@31546 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:46:07 +00:00
putterman%netscape.com
758795f327 Added Mark Read.
git-svn-id: svn://10.0.0.236/trunk@31545 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:45:48 +00:00
putterman%netscape.com
72c178dce8 Handle flag changes.
git-svn-id: svn://10.0.0.236/trunk@31544 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:45:25 +00:00
putterman%netscape.com
6fcdb3e039 Add Mark Read
git-svn-id: svn://10.0.0.236/trunk@31543 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:45:06 +00:00
putterman%netscape.com
9eaf7f2919 Add Mark Message commands.
git-svn-id: svn://10.0.0.236/trunk@31542 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:44:30 +00:00
putterman%netscape.com
c641b3f5d7 Add notify observer related functions.
git-svn-id: svn://10.0.0.236/trunk@31540 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:44:15 +00:00
putterman%netscape.com
38ec2f317f Mark Read. make a subclass of nsMsgRDFDataSource. Add as a folder listener.
git-svn-id: svn://10.0.0.236/trunk@31539 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:43:49 +00:00
putterman%netscape.com
e81a155651 Add folder listener routines.
git-svn-id: svn://10.0.0.236/trunk@31538 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:43:19 +00:00
putterman%netscape.com
36eabd92d5 Delete folder. Make a subclass of nsMsgRDFDataSource and add as a folder listener.
git-svn-id: svn://10.0.0.236/trunk@31537 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:42:58 +00:00
putterman%netscape.com
8c6ca43f06 Delete Folders/Mark Messages Read
git-svn-id: svn://10.0.0.236/trunk@31536 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:42:18 +00:00
putterman%netscape.com
be795a9e12 Add folder listeners.
git-svn-id: svn://10.0.0.236/trunk@31535 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:41:52 +00:00
putterman%netscape.com
0ac6c0220f Add MarkRead
git-svn-id: svn://10.0.0.236/trunk@31534 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:41:37 +00:00
putterman%netscape.com
f83abc37fc Flag changed methods.
git-svn-id: svn://10.0.0.236/trunk@31533 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:41:23 +00:00
putterman%netscape.com
397971135f Add Delete Folders and Mark Messages Read.
git-svn-id: svn://10.0.0.236/trunk@31532 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:41:03 +00:00
akkana%netscape.com
fe761a5a58 Fix crash introduced by change of APIs
git-svn-id: svn://10.0.0.236/trunk@31531 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:40:13 +00:00
mscott%netscape.com
48dc233ede Fix memory leak by removing unused QI to an object. this caused us to leak pop3 urls when getting new mail.
git-svn-id: svn://10.0.0.236/trunk@31530 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:40:11 +00:00
robinf%netscape.com
60ebc53311 fixing bug 4492
git-svn-id: svn://10.0.0.236/trunk@31529 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:34:30 +00:00
alecf%netscape.com
47b40b7f14 nsCOMPtr audit and remove my stupid debugging comment
git-svn-id: svn://10.0.0.236/trunk@31528 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:21:52 +00:00
mscott%netscape.com
bb9c1eb65d Remove some cruft that was preventing the socket from ever going away once the connection was dropped.
git-svn-id: svn://10.0.0.236/trunk@31527 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:20:42 +00:00
briano%netscape.com
26cfa9dbd9 Last of the fixes for bug 5892.
git-svn-id: svn://10.0.0.236/trunk@31526 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:18:40 +00:00
dougt%netscape.com
afc3882275 first checkin of standalone version of xpinstall.
git-svn-id: svn://10.0.0.236/trunk@31525 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:16:14 +00:00
briano%netscape.com
9ea02c55d5 Automated update
git-svn-id: svn://10.0.0.236/trunk@31524 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:14:43 +00:00
terry%mozilla.org
f2ea4b12a6 Fixed stupid typo that was preventing HTML tags from being quoted properly.
git-svn-id: svn://10.0.0.236/trunk@31523 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:09:47 +00:00
briano%netscape.com
e781d000e6 Fix for bug 5184. Force checks for GLib, GTK, and libIDL to prevent cached values from interfering if these have been upgraded since the last time configure ran.
git-svn-id: svn://10.0.0.236/trunk@31522 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-14 00:01:54 +00:00
waterson%netscape.com
aa3806cbe1 Damn. Checked in the wrong file: this has been backed out.
git-svn-id: svn://10.0.0.236/trunk@31521 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:57:11 +00:00
beard%netscape.com
e27d50ffec synched with BuildNGLayout[Debug].pl
git-svn-id: svn://10.0.0.236/trunk@31520 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:51:28 +00:00
joki%netscape.com
e674affbbe Adding unload event during window closing.
git-svn-id: svn://10.0.0.236/trunk@31519 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:51:25 +00:00
kmcclusk%netscape.com
7972adcafd bug #5993. Removed references to nsIWidget in form HTML content elements. the form elements
now go through the nsFormControlFrame interface instead. This removes the dependency between
form element content and nsIWidget.


git-svn-id: svn://10.0.0.236/trunk@31518 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:45:40 +00:00
kmcclusk%netscape.com
48e71616c3 Modified nsString2::Append to only call strlen only if aCount is -1.
This clears up ABR errors reported in Purify.


git-svn-id: svn://10.0.0.236/trunk@31517 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:44:57 +00:00
mcmullen%netscape.com
873621e397 Initialized to correct files/prefixes etc.
git-svn-id: svn://10.0.0.236/trunk@31516 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:38:08 +00:00
alecf%netscape.com
bb39f83b1c add bounding boxes to fix <box> overflow problems
git-svn-id: svn://10.0.0.236/trunk@31515 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:33:02 +00:00
mcmullen%netscape.com
d06b24f0fc Initializing with the right files/names etc.
git-svn-id: svn://10.0.0.236/trunk@31514 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:32:40 +00:00
nhotta%netscape.com
2a661e5744 Enabled charset menu and added Japanese items, eventually this needs to be synchronize or shared with Browser's charset menu.
git-svn-id: svn://10.0.0.236/trunk@31513 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:32:01 +00:00
ssu%netscape.com
2cf78714ce initial checkin for install.WinProfile object code for windows platform only
git-svn-id: svn://10.0.0.236/trunk@31512 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:31:16 +00:00
waterson%netscape.com
f509d70dc1 Make XPConnect a component, install xpc .xpt files into components dir.
git-svn-id: svn://10.0.0.236/trunk@31511 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:27:04 +00:00
briano%netscape.com
c4e28963b2 Converted the explicit 'ld' commands to use '$(LD)' instead, so platforms
with odd linker names will work properly.


git-svn-id: svn://10.0.0.236/trunk@31510 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:25:11 +00:00
mscott%netscape.com
e9ebe520a4 Fix warnings. Use nsAutoCString.
git-svn-id: svn://10.0.0.236/trunk@31509 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:24:59 +00:00
mcmullen%netscape.com
999ece26b5 Initialized this to the right files etc.
git-svn-id: svn://10.0.0.236/trunk@31508 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:22:00 +00:00
mscott%netscape.com
f8406ab72a fix shadowed variables. we were creating a prefs instance many times in the same function when we only needed to create one.
git-svn-id: svn://10.0.0.236/trunk@31507 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:21:04 +00:00
bienvenu%netscape.com
200779d98b remove db listener in base class
git-svn-id: svn://10.0.0.236/trunk@31506 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:19:35 +00:00
bienvenu%netscape.com
52f5be501d add old flags to key change notification
git-svn-id: svn://10.0.0.236/trunk@31505 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:19:14 +00:00
dougt%netscape.com
acd7eba310 Adding Progress support files.
git-svn-id: svn://10.0.0.236/trunk@31504 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:17:24 +00:00
bienvenu%netscape.com
6433789f4d add old flags to key change notification, use PRUint32 exclusively
git-svn-id: svn://10.0.0.236/trunk@31503 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:16:39 +00:00
dougt%netscape.com
c74c7435c6 Adding for Progress Notifier
git-svn-id: svn://10.0.0.236/trunk@31502 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:15:37 +00:00
dougt%netscape.com
a72605dabc Adding files for Progress support
git-svn-id: svn://10.0.0.236/trunk@31501 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:14:47 +00:00
mccabe%netscape.com
42ca8e31b1 Turn off support for XPIDL_JS_STUBS in generated headers by default, as
- nobody uses it

- it's confusing.


git-svn-id: svn://10.0.0.236/trunk@31500 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:13:17 +00:00
law%netscape.com
7942bcbcff Adding new app shell components (not buidling them yet, however)
git-svn-id: svn://10.0.0.236/trunk@31499 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:11:41 +00:00
dougt%netscape.com
69d2182a7e Added progress listener support
Cleaned up nsInstallInfo
Moved logging into its own progress listener class


git-svn-id: svn://10.0.0.236/trunk@31498 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:11:04 +00:00
alecf%netscape.com
15f88a510c add advanced panel and testing panel (until RDF datasource is done)
git-svn-id: svn://10.0.0.236/trunk@31497 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:10:45 +00:00
alecf%netscape.com
1cda546834 new AccountManager interface
git-svn-id: svn://10.0.0.236/trunk@31496 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:10:14 +00:00
mscott%netscape.com
cdf4f5eb85 fix shadowed variable
git-svn-id: svn://10.0.0.236/trunk@31495 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:08:20 +00:00
ssu%netscape.com
a2c9837e28 initial checkin for install.WinReg object files
git-svn-id: svn://10.0.0.236/trunk@31494 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:06:24 +00:00
mscott%netscape.com
c5c4830afe fix shadowed variable
git-svn-id: svn://10.0.0.236/trunk@31492 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 23:00:28 +00:00
ssu%netscape.com
2e8fd26976 Added javascript install.WinReg object code for Windows platform only
git-svn-id: svn://10.0.0.236/trunk@31491 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:59:51 +00:00
ssu%netscape.com
2250ea126c initial checkin for install.WinReg object files
git-svn-id: svn://10.0.0.236/trunk@31490 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:59:00 +00:00
mscott%netscape.com
f6b1e1e238 hacks to get the transport socket to correctly run multiple urls over a connection. unfortunately, sockstub caches connections based on the url. so i'm faking it by keeping both the url struct used to open the connection around along with the url_struct for the current running url.
git-svn-id: svn://10.0.0.236/trunk@31489 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:55:44 +00:00
mscott%netscape.com
7f2bae17fd Add ability to change the url being used for a connection. This allows us to run multiple urls on a connection which we need for many of the mail protocols.
git-svn-id: svn://10.0.0.236/trunk@31488 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:52:25 +00:00
alecf%netscape.com
9615a05e1d remove my stupid debugging statement
git-svn-id: svn://10.0.0.236/trunk@31487 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:48:28 +00:00
law%netscape.com
eaf6957603 Adding to mac build
git-svn-id: svn://10.0.0.236/trunk@31486 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:46:44 +00:00
varada%netscape.com
eb4508dca5 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@31485 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:42:50 +00:00
rods%netscape.com
76498d2b50 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@31484 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:41:37 +00:00
rods%netscape.com
8f77171738 Inital checkin
git-svn-id: svn://10.0.0.236/trunk@31483 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:39:31 +00:00
rods%netscape.com
8665f709bd moved nsITransferable include from header to impl
git-svn-id: svn://10.0.0.236/trunk@31482 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:32:49 +00:00
mcafee%netscape.com
6f87731acd Removing nsDataFlavor.cpp from the build.
git-svn-id: svn://10.0.0.236/trunk@31480 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:29:57 +00:00
rods%netscape.com
01f0a3de99 removing nsIDataFlavor and nsIGenericTransferable
git-svn-id: svn://10.0.0.236/trunk@31479 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:24:53 +00:00
pinkerton%netscape.com
989bbb9117 removing nsDataFlavor.cpp
git-svn-id: svn://10.0.0.236/trunk@31478 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:24:35 +00:00
mcafee%netscape.com
82b19ae538 Clipboard restructuring.
git-svn-id: svn://10.0.0.236/trunk@31477 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:24:26 +00:00
pinkerton%netscape.com
a0f662b0da removing nsidataFlavor and nsIGenericTransferable
git-svn-id: svn://10.0.0.236/trunk@31476 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:24:25 +00:00
law%netscape.com
1b5c3e84df Turn on new components (win and unix)
git-svn-id: svn://10.0.0.236/trunk@31475 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:23:17 +00:00
hshaw%netscape.com
9eb2e66067 Add new methods for nsICollection
git-svn-id: svn://10.0.0.236/trunk@31473 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:14:43 +00:00
akkana%netscape.com
ad2018ef65 Implementations for new fcn Get/SetBodyWrapWidth
git-svn-id: svn://10.0.0.236/trunk@31472 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:11:05 +00:00
rods%netscape.com
ee2283eb3d removed GenericTransferable
git-svn-id: svn://10.0.0.236/trunk@31471 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:03:01 +00:00
mscott%netscape.com
9190646504 fix shadowed variables
git-svn-id: svn://10.0.0.236/trunk@31470 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:58:53 +00:00
robinf%netscape.com
a38007dce1 checking in fix for bug 6102
git-svn-id: svn://10.0.0.236/trunk@31469 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:57:18 +00:00
hshaw%netscape.com
954ce3fb71 Propagate IDL changes from nsICollection.h, we'll need to do the same to nsIConnectionGroup->Count() once we IDLize
git-svn-id: svn://10.0.0.236/trunk@31468 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:57:07 +00:00
rods%netscape.com
037168cd6d removed nsIDataFlavor and merged transferable interfaces
git-svn-id: svn://10.0.0.236/trunk@31467 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:56:23 +00:00
mcafee%netscape.com
33cdca97ec Clipboard restructuring.
git-svn-id: svn://10.0.0.236/trunk@31466 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:55:40 +00:00
rhp%netscape.com
c68244f553 Changes for new I18N support
git-svn-id: svn://10.0.0.236/trunk@31465 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:55:08 +00:00
pinkerton%netscape.com
6fb14800ce updated clipboard apis and merging transferable into one api and getting rid of nsiDataFlavor.
git-svn-id: svn://10.0.0.236/trunk@31464 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:54:14 +00:00
rhp%netscape.com
0bd7fcb84b Fixes for many shadowing problems as well as changes for more I18N support
git-svn-id: svn://10.0.0.236/trunk@31463 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:53:58 +00:00
rods%netscape.com
089a8e7024 removed reference to nsIDataFlavor and merged nsITransferable and nsIGenericTransferable
git-svn-id: svn://10.0.0.236/trunk@31462 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:53:57 +00:00
cmanske%netscape.com
0992ccb525 Fixed isCollapsed not working for a selection with 1 range
git-svn-id: svn://10.0.0.236/trunk@31461 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:49:12 +00:00
mscott%netscape.com
e8b1396274 fix shadowed variable warning.
git-svn-id: svn://10.0.0.236/trunk@31460 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:45:13 +00:00
sspitzer%netscape.com
1a37986912 get rid of the demo menu and the "load news" button. they are obsolete.
git-svn-id: svn://10.0.0.236/trunk@31458 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:36:04 +00:00
evaughan%netscape.com
af52352a73 Fixed form submission.
git-svn-id: svn://10.0.0.236/trunk@31457 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:29:57 +00:00
despotdaemon%netscape.com
7b99a52101 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@31456 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:05:13 +00:00
cmanske%netscape.com
d22e75e71c Removed unused CSS
git-svn-id: svn://10.0.0.236/trunk@31454 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:01:43 +00:00
cmanske%netscape.com
93a9635625 Implemented spell checking IDL and appcore code
git-svn-id: svn://10.0.0.236/trunk@31453 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:59:11 +00:00
cmanske%netscape.com
18352a19b6 Implemented Spell Checking
git-svn-id: svn://10.0.0.236/trunk@31452 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:59:08 +00:00
morse%netscape.com
dd9b089cdf temporary change to unblock karnaze
git-svn-id: svn://10.0.0.236/trunk@31451 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:56:16 +00:00
waterson%netscape.com
3b5e6aa3a7 Use NS_WITH_SERVICE.
git-svn-id: svn://10.0.0.236/trunk@31450 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:53:07 +00:00
waterson%netscape.com
f74a2f7f68 Fix leakage of RDF service.
git-svn-id: svn://10.0.0.236/trunk@31449 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:52:42 +00:00
waterson%netscape.com
16d941df55 Fixed missing release service.
git-svn-id: svn://10.0.0.236/trunk@31448 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:52:15 +00:00
waterson%netscape.com
37bd7c4b0b Add clobber rule for XPIDL dirs.
git-svn-id: svn://10.0.0.236/trunk@31446 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:39:02 +00:00
sfraser%netscape.com
ff09f1922a Fix typing in mail compose window.
git-svn-id: svn://10.0.0.236/trunk@31445 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:37:33 +00:00
robinf%netscape.com
e7fbee574f commented-out text on these screens to make them less cluttered;other minor twaks
git-svn-id: svn://10.0.0.236/trunk@31444 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:34:47 +00:00
slamm%netscape.com
03d464ef4f Another iteration. Add everything to a box.
git-svn-id: svn://10.0.0.236/trunk@31443 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:33:40 +00:00
neeti%netscape.com
b72bbde6e5 hooking up pics to SetRendering api
git-svn-id: svn://10.0.0.236/trunk@31442 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:28:30 +00:00
neeti%netscape.com
40c56a54dc Fixed SetEnableRendering() in nsDocumentViewer.cpp
Initialized mEnableRendering in constructors of nsDocumentViewer.cpp and nsPlugin.cpp to a default value of PR_TRU
Do EnableRefresh only if mEnableRendering is set to true in nsHTMLContentSink.cpp,nsXMLContentSink.cpp,
nsXMLContentSink.h


git-svn-id: svn://10.0.0.236/trunk@31441 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:27:47 +00:00
waterson%netscape.com
b49bab21d2 Add nsICollection
git-svn-id: svn://10.0.0.236/trunk@31440 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:27:22 +00:00
donm%netscape.com
a44a401655 backing out build bustage made to closed tree.
git-svn-id: svn://10.0.0.236/trunk@31439 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 20:06:52 +00:00
karnaze%netscape.com
2f5ed9c08c checked for null file spec in WLLT_OKToCapture
git-svn-id: svn://10.0.0.236/trunk@31436 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 18:40:02 +00:00
donm%netscape.com
1d5628761d backing out linux build bustage. see bug #6331
git-svn-id: svn://10.0.0.236/trunk@31432 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 18:24:31 +00:00
kipp%netscape.com
b785d3cec2 new
git-svn-id: svn://10.0.0.236/trunk@31431 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 17:47:41 +00:00
waterson%netscape.com
901d7286d1 Okay, let's try that fix again.
git-svn-id: svn://10.0.0.236/trunk@31430 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 17:27:51 +00:00
waterson%netscape.com
43fff91360 Fix inappropriate use of member functions.
git-svn-id: svn://10.0.0.236/trunk@31429 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 16:57:59 +00:00
waterson%netscape.com
8dfeac2dde Fix MANIFEST_TEMP to include nsICollection.h.
git-svn-id: svn://10.0.0.236/trunk@31428 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 16:43:00 +00:00
waterson%netscape.com
d53aa972d4 Temporarily fix build bustage until we get brave enough to turn XPIDL on for Mac.
git-svn-id: svn://10.0.0.236/trunk@31427 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 16:41:32 +00:00
pinkerton%netscape.com
12032a750d removing nsICollection.h because it no longer exists (fix build bustage).
git-svn-id: svn://10.0.0.236/trunk@31426 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 16:24:06 +00:00
rods%netscape.com
126500e8d6 Removed excess includes and static IID & CID definitions
git-svn-id: svn://10.0.0.236/trunk@31425 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 13:52:00 +00:00
warren%netscape.com
1ba50959a3 Removing old files now generated by IDL (to avoid future screw ups).
git-svn-id: svn://10.0.0.236/trunk@31424 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 08:48:47 +00:00
briano%netscape.com
ff16da1eef Fix for QNX, and any other platform that doesn't have memory.h. Thanks to fur@netscape.com for allowing this change.
git-svn-id: svn://10.0.0.236/trunk@31423 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 08:46:41 +00:00
rjc%netscape.com
cc00d7190a Don't compare nsCOMPtrs against nsnull.
git-svn-id: svn://10.0.0.236/trunk@31422 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 08:29:56 +00:00
rjc%netscape.com
26f1eadc42 More cleanup on nsXULSortService (more nsCOMPtr usage, more C++ usage, etc.) Also, begin to add support for collation keys.
git-svn-id: svn://10.0.0.236/trunk@31421 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 08:25:12 +00:00
gagan%netscape.com
4455354bbf So we're using IDL nowcvs diff! I find out the hard way. -Warren
git-svn-id: svn://10.0.0.236/trunk@31420 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 08:21:37 +00:00
rjc%netscape.com
e8b58d3be9 Add support for any node attribute that wants to bind its value to RDF by looking it up in the graph.
git-svn-id: svn://10.0.0.236/trunk@31419 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 08:02:19 +00:00
law%netscape.com
4412b4587d Adding Shutdown member per change to nsIAppShellComponent
git-svn-id: svn://10.0.0.236/trunk@31418 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 06:10:59 +00:00
law%netscape.com
295099fbd7 Adding sample app shell component directories
git-svn-id: svn://10.0.0.236/trunk@31417 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 05:41:33 +00:00
law%netscape.com
3acd77bd56 New and improved
git-svn-id: svn://10.0.0.236/trunk@31416 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 05:38:38 +00:00
jband%netscape.com
d931c09d12 remove assertion and go with runtime safety for the fix that mccabe thoughtfully added for my broken code
git-svn-id: svn://10.0.0.236/trunk@31415 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 05:38:10 +00:00
warren%netscape.com
241c136c33 Fixed mac and linux uses of Count
git-svn-id: svn://10.0.0.236/trunk@31414 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 05:28:31 +00:00
warren%netscape.com
fe7d7e2e69 Fixed nsICollection (and Count in particular) to be xpidl friendly.
git-svn-id: svn://10.0.0.236/trunk@31413 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:56:04 +00:00
sfraser%netscape.com
f0479a451b Added wrap width attribute
git-svn-id: svn://10.0.0.236/trunk@31412 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:47:09 +00:00
sfraser%netscape.com
9cdfdf1b41 Add Get/Set column width calls, cleanup window opening, and rename overloaded methods.
git-svn-id: svn://10.0.0.236/trunk@31411 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:46:51 +00:00
sfraser%netscape.com
a61e8838d5 Add wrap column attibute
git-svn-id: svn://10.0.0.236/trunk@31410 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:45:22 +00:00
sfraser%netscape.com
4f8836e58a Stub in the get/set column width calls for plain text editing.
git-svn-id: svn://10.0.0.236/trunk@31409 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:44:57 +00:00
sfraser%netscape.com
e27b4eb930 Removed extra ;
git-svn-id: svn://10.0.0.236/trunk@31408 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:42:23 +00:00
sfraser%netscape.com
0659e88f57 Fix misplaced )
git-svn-id: svn://10.0.0.236/trunk@31407 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:42:11 +00:00
mcafee%netscape.com
e5d1243726 Ah, we need &amp; for & in XUL URL's. Fixing up the tinderbox URL.
git-svn-id: svn://10.0.0.236/trunk@31406 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 04:31:07 +00:00
bienvenu%netscape.com
f5d11fd257 fix mac warning
git-svn-id: svn://10.0.0.236/trunk@31405 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 03:59:20 +00:00
sspitzer%netscape.com
a5c1aac985 cvs ignorage
git-svn-id: svn://10.0.0.236/trunk@31404 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 03:53:42 +00:00
sspitzer%netscape.com
216fd370c8 create a virtual destructor
git-svn-id: svn://10.0.0.236/trunk@31403 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 03:48:00 +00:00
sspitzer%netscape.com
e8c841798a make destructor virtual
git-svn-id: svn://10.0.0.236/trunk@31402 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 03:39:34 +00:00
mccabe%netscape.com
fedb53eb9a Check against null vp passed in to CallWrappedMethod. This fixes stuff in the xpcom/sample directory.
git-svn-id: svn://10.0.0.236/trunk@31401 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 03:34:54 +00:00
briano%netscape.com
bc346e4185 Automated update
git-svn-id: svn://10.0.0.236/trunk@31400 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 03:32:03 +00:00
briano%netscape.com
641386b005 Added a check for memory.h.
git-svn-id: svn://10.0.0.236/trunk@31399 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 03:31:36 +00:00
briano%netscape.com
4b509245d2 Fix for QNX.
git-svn-id: svn://10.0.0.236/trunk@31398 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 03:13:14 +00:00
alecf%netscape.com
16fe972756 add xul to mac build
git-svn-id: svn://10.0.0.236/trunk@31397 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 03:07:17 +00:00
alecf%netscape.com
70175d992c oops, remove bogus xul
git-svn-id: svn://10.0.0.236/trunk@31396 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 03:05:03 +00:00
briano%netscape.com
eaa4545139 Fix for QNX. stat doesn't have st_blksize.
git-svn-id: svn://10.0.0.236/trunk@31395 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 03:04:42 +00:00
alecf%netscape.com
7aea687f4b add resources to windows build
git-svn-id: svn://10.0.0.236/trunk@31394 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 03:03:51 +00:00
alecf%netscape.com
56bce78944 add blank Account Manager JS file
git-svn-id: svn://10.0.0.236/trunk@31393 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:59:52 +00:00
terry%mozilla.org
5987ce97b2 Patch by Bert Driehuis <bert_driehuis@nl.compuware.com> -- use autoconf to find
sendmail, other minor portability patches.


git-svn-id: svn://10.0.0.236/trunk@31392 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:59:27 +00:00
alecf%netscape.com
c819e560a4 first check in of account manager and search dialog
(UI only, no implementation)


git-svn-id: svn://10.0.0.236/trunk@31391 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:59:24 +00:00
alecf%netscape.com
31c092e316 minimize html tags
git-svn-id: svn://10.0.0.236/trunk@31390 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:58:24 +00:00
alecf%netscape.com
56c6f7f40d fix dump statement to add newline
git-svn-id: svn://10.0.0.236/trunk@31389 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:58:01 +00:00
jfrancis%netscape.com
710bff6a24 updated to new iter behavior
git-svn-id: svn://10.0.0.236/trunk@31387 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:50:15 +00:00
law%netscape.com
769fa94700 Adding new app shell components
git-svn-id: svn://10.0.0.236/trunk@31386 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:47:41 +00:00
terry%mozilla.org
12b05c84f5 Don't do javascript on browsers older than 4.06; it seems not to be working.
git-svn-id: svn://10.0.0.236/trunk@31385 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:45:20 +00:00
jfrancis%netscape.com
b833e5348b better error handling
git-svn-id: svn://10.0.0.236/trunk@31384 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:43:30 +00:00
jfrancis%netscape.com
9a1fd449b8 artistic integrity of poetry must not be comprimised!
git-svn-id: svn://10.0.0.236/trunk@31383 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:40:53 +00:00
bienvenu%netscape.com
6b68ed1ef6 remove self as listener when going away
git-svn-id: svn://10.0.0.236/trunk@31382 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:35:24 +00:00
bienvenu%netscape.com
9a29cbdf91 don't addref the db, don't release it
git-svn-id: svn://10.0.0.236/trunk@31381 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:34:36 +00:00
sspitzer%netscape.com
14400137ce make destructors virtual
git-svn-id: svn://10.0.0.236/trunk@31380 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:25:13 +00:00
sspitzer%netscape.com
93a8b650ae make destructor virtual
git-svn-id: svn://10.0.0.236/trunk@31379 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:23:33 +00:00
sspitzer%netscape.com
9959ca08ff create virtual destructors
git-svn-id: svn://10.0.0.236/trunk@31378 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:17:09 +00:00
briano%netscape.com
bce93be754 Minor changes, mostly for QNX.
git-svn-id: svn://10.0.0.236/trunk@31377 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:16:10 +00:00
mjudge%netscape.com
3eb321b254 fixing lame compiler bug in SunOS gcc we are using wont accept this template call in nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@31376 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:14:32 +00:00
sspitzer%netscape.com
521872a270 create a virtual destructor
git-svn-id: svn://10.0.0.236/trunk@31375 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:14:11 +00:00
slamm%netscape.com
8b357e4b6a Play with the widget set and styles. Add onclick handler for 'Reload' button.
git-svn-id: svn://10.0.0.236/trunk@31373 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:12:01 +00:00
sspitzer%netscape.com
e4b612578b make destructors virtual
git-svn-id: svn://10.0.0.236/trunk@31372 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:11:25 +00:00
sspitzer%netscape.com
29821c1907 make destructor virtual
git-svn-id: svn://10.0.0.236/trunk@31371 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:11:09 +00:00
bienvenu%netscape.com
7735dc7cfd search and filter checkpoint
git-svn-id: svn://10.0.0.236/trunk@31369 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:10:05 +00:00
rhp%netscape.com
7284f7bc2e Changes to handle new approach for incorrectly labeled charsets on attachments
git-svn-id: svn://10.0.0.236/trunk@31368 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:03:43 +00:00
kipp%netscape.com
facecde26e Fixed typo
git-svn-id: svn://10.0.0.236/trunk@31367 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 01:52:52 +00:00
briano%netscape.com
21d5018dc4 Added support for QNX, and replaced a pile of platform-specific ifdefs with HAVE_SYS_BYTEORDER_H.
git-svn-id: svn://10.0.0.236/trunk@31366 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 01:40:19 +00:00
evaughan%netscape.com
6073e2aa13 Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses.
git-svn-id: svn://10.0.0.236/trunk@31365 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 01:35:16 +00:00
matt%netscape.com
cde9971333 Adding finddialog.js to makefiles
git-svn-id: svn://10.0.0.236/trunk@31364 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 01:31:45 +00:00
matt%netscape.com
936d882556 Ripping out js from finddialog
git-svn-id: svn://10.0.0.236/trunk@31363 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 01:31:15 +00:00
joki%netscape.com
005d4ef3c6 New JSClass flag for indicating DOM elements to COMConnect
git-svn-id: svn://10.0.0.236/trunk@31362 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 01:20:50 +00:00
briano%netscape.com
fad42cdd12 Automated update
git-svn-id: svn://10.0.0.236/trunk@31361 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 01:09:36 +00:00
briano%netscape.com
b7f6f33705 Added a check for sys/byteorder.h.
git-svn-id: svn://10.0.0.236/trunk@31360 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 01:08:55 +00:00
sspitzer%netscape.com
d4f769511d make the destructors virtual
git-svn-id: svn://10.0.0.236/trunk@31359 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:59:19 +00:00
mcmullen%netscape.com
6269925e23 A bit of bulletproofing during the changeover: make sure the dist directories that are getting aliases vs. generated headers are cleaned out before doing manifest.
git-svn-id: svn://10.0.0.236/trunk@31358 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:57:36 +00:00
kipp%netscape.com
d1a5e2cc74 Export nsILineIterator, just in case...
git-svn-id: svn://10.0.0.236/trunk@31357 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:55:55 +00:00
kipp%netscape.com
ce49d97335 Fix compiler warnings; implement QueryInterface hack to get at line iterator
git-svn-id: svn://10.0.0.236/trunk@31356 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:55:38 +00:00
kipp%netscape.com
5f104cccc6 Updated line iterator impl to match API in nsILineIterator
git-svn-id: svn://10.0.0.236/trunk@31355 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:54:28 +00:00
kipp%netscape.com
e5bb868fbf new
git-svn-id: svn://10.0.0.236/trunk@31354 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:54:03 +00:00
pavlov%pavlov.net
c73b778598 misc changes including things to attempt to get command line things working in
apprunner


git-svn-id: svn://10.0.0.236/trunk@31352 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:53:50 +00:00
briano%netscape.com
750a1b39ba Fix for Motif builds.
git-svn-id: svn://10.0.0.236/trunk@31351 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:52:06 +00:00
sspitzer%netscape.com
bdc76059f4 make destructors virtual
git-svn-id: svn://10.0.0.236/trunk@31350 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:51:26 +00:00
sspitzer%netscape.com
89ee936592 make the destructor virtual
git-svn-id: svn://10.0.0.236/trunk@31349 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:48:42 +00:00
mjudge%netscape.com
3a865d8325 adding back in keyboard navigation. removing const from peekoffset to stop the const creep. changing peekoffset to do the right thing for content based peeking...
git-svn-id: svn://10.0.0.236/trunk@31348 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:44:23 +00:00
sspitzer%netscape.com
33a521249a destructor should be virtual.
git-svn-id: svn://10.0.0.236/trunk@31347 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:44:20 +00:00
mjudge%netscape.com
09deaec2f5 adding back in keyboard navigation. removing const from peekoffset to stop the const creep
git-svn-id: svn://10.0.0.236/trunk@31346 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:43:47 +00:00
sspitzer%netscape.com
ddd5ca8921 destructor should be virtual. (egcs warns about this.)
git-svn-id: svn://10.0.0.236/trunk@31345 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:41:40 +00:00
slamm%netscape.com
9f03f8b82d Add new sidebar files. Move bookmarks javascript into separate file.
git-svn-id: svn://10.0.0.236/trunk@31344 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:32:44 +00:00
robinf%netscape.com
1e2e21c8d3 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@31343 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:28:38 +00:00
ftang%netscape.com
6108754faf add cp1256 and windows-874
git-svn-id: svn://10.0.0.236/trunk@31342 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:27:52 +00:00
vidur%netscape.com
64db19daaa Backing out unintentional checkin
git-svn-id: svn://10.0.0.236/trunk@31341 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:24:45 +00:00
matt%netscape.com
d1e955ff04 Changing the makefiles to viewsource.js and
adding viewsource.js function to start viewsource app


git-svn-id: svn://10.0.0.236/trunk@31340 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:21:55 +00:00
vidur%netscape.com
98da6aed8d Fixed uninitialized variable problem.
git-svn-id: svn://10.0.0.236/trunk@31339 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:21:50 +00:00
pinkerton%netscape.com
d570e17373 put code that didn't compile yesterday back in. Now i know that ::Foo doesn't work too well if Foo is a macro.
git-svn-id: svn://10.0.0.236/trunk@31338 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:14:22 +00:00
pinkerton%netscape.com
bc17bb4f7b dispatch the drag and drop event to the correct widget
git-svn-id: svn://10.0.0.236/trunk@31337 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:13:44 +00:00
pinkerton%netscape.com
f627fbca5c somehow, these files got extra blank lines in them between every source file line. Removing them. Also removing duplicate implementations of addref, release, and QI, since we inherit them from nsBaseDragService.
git-svn-id: svn://10.0.0.236/trunk@31336 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:13:06 +00:00
alecf%netscape.com
2ecef844df checkin first-pass at nsIMsgHdr interface
git-svn-id: svn://10.0.0.236/trunk@31335 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:11:12 +00:00
mcmullen%netscape.com
0b250144fa Split the manifest files into two: idl-generated headers (used if USE_XPIDL is turned off) and non-generated headers.
git-svn-id: svn://10.0.0.236/trunk@31334 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:04:14 +00:00
slamm%netscape.com
eb0ea1884f Add sidebar title. Clean-up the layout.
git-svn-id: svn://10.0.0.236/trunk@31333 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:03:10 +00:00
mcmullen%netscape.com
01efc0d8b0 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@31332 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 00:01:48 +00:00
sspitzer%netscape.com
3cb75bd744 fix my personal build bustage on the mac. (I #define DEBUG_sspitzer in NGLayoutConfigInclude.h)
git-svn-id: svn://10.0.0.236/trunk@31330 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:59:09 +00:00
alecf%netscape.com
076d0a031f fix objdir build bustage in XPIDL idl files by forward declaring nsIMessage instead of including it
git-svn-id: svn://10.0.0.236/trunk@31329 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:57:26 +00:00
slamm%netscape.com
329c80eeb3 Lose the toolbox.
git-svn-id: svn://10.0.0.236/trunk@31328 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:55:20 +00:00
waterson%netscape.com
22bfed8309 Added xpconnect sample.
git-svn-id: svn://10.0.0.236/trunk@31327 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:54:34 +00:00
waterson%netscape.com
9b70f9b81f Initial revision.
git-svn-id: svn://10.0.0.236/trunk@31326 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:54:18 +00:00
briano%netscape.com
2d859f7536 Fix for QNX.
git-svn-id: svn://10.0.0.236/trunk@31325 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:53:50 +00:00
briano%netscape.com
aa0a4a0913 Fix for QNX. Need to tell it what uint is....
git-svn-id: svn://10.0.0.236/trunk@31324 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:44:27 +00:00
waterson%netscape.com
80721b8075 Added sample HTML.
git-svn-id: svn://10.0.0.236/trunk@31323 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:43:25 +00:00
rhp%netscape.com
fc96598b4a removal of stub code
git-svn-id: svn://10.0.0.236/trunk@31322 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:42:51 +00:00
rhp%netscape.com
4386c65291 Conversion of prefs to new world API's
git-svn-id: svn://10.0.0.236/trunk@31321 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:42:35 +00:00
briano%netscape.com
5c1f741635 Automated update
git-svn-id: svn://10.0.0.236/trunk@31320 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:37:56 +00:00
waterson%netscape.com
06264f684f Initial revision.
git-svn-id: svn://10.0.0.236/trunk@31319 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:37:45 +00:00
briano%netscape.com
915011ab3f Added a check for uint, mostly to help the QNX build.
git-svn-id: svn://10.0.0.236/trunk@31318 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:37:31 +00:00
despotdaemon%netscape.com
293419dab9 Pseudo-automatic update of changes made by rbs@maths.uq.edu.au.
git-svn-id: svn://10.0.0.236/trunk@31317 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:35:40 +00:00
briano%netscape.com
16c77e66ab QNX-specific ifdef addition.
git-svn-id: svn://10.0.0.236/trunk@31316 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:29:04 +00:00
tague%netscape.com
4e4477d076 Added work around for #5912
git-svn-id: svn://10.0.0.236/trunk@31315 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:23:14 +00:00
vidur%netscape.com
aa1755c55f Fix for bug 4435. Creating the right type of script object for blockquote.
git-svn-id: svn://10.0.0.236/trunk@31314 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:22:36 +00:00
ftang%netscape.com
61ebb4e614 add unicode
git-svn-id: svn://10.0.0.236/trunk@31313 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:19:12 +00:00
hyatt%netscape.com
700d338d84 Teaching window.open how to open chrome.
git-svn-id: svn://10.0.0.236/trunk@31312 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 23:17:40 +00:00
mccabe%netscape.com
1772d1476d Be conservative, and initialize the XPTState struct to 0 when allocating it. This cropped up as a problem where garbage fields were busting the msvc 6.0 -opt build, but was really xp.
git-svn-id: svn://10.0.0.236/trunk@31311 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:56:42 +00:00
mcmullen%netscape.com
bf928cd741 Fix badness when nsFilePath is initialized with a nil or empty string.
git-svn-id: svn://10.0.0.236/trunk@31310 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:56:24 +00:00
sfraser%netscape.com
5bfaa2834f IncrementModCount now takes a PRInt32 (this fixes broken builds).
git-svn-id: svn://10.0.0.236/trunk@31309 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:55:29 +00:00
mscott%netscape.com
116cbf7916 Whenever we display a message, be sure to mark it as read in the db. Use url method to get msghdr for a message instead of doing it ourselves.
git-svn-id: svn://10.0.0.236/trunk@31308 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:53:05 +00:00
mscott%netscape.com
fb67f8ec08 add accessor to get msg db hdr for a mailbox url.
git-svn-id: svn://10.0.0.236/trunk@31307 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:51:26 +00:00
morse%netscape.com
c6fd628953 download wallet editor onto client
git-svn-id: svn://10.0.0.236/trunk@31305 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:40:22 +00:00
pnunn%netscape.com
62adbe4ab7 Pass reload policy through to netlib. This may help the
various bugs related to animations (#2148,#1865,#5030,#3958,#4350).
-pnunn


git-svn-id: svn://10.0.0.236/trunk@31303 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:30:52 +00:00
ftang%netscape.com
ba007ad522 check in performance improved unicode rendering for mac. Use TEC convert to script code before calling ATSUI to improve peroformance
git-svn-id: svn://10.0.0.236/trunk@31302 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:30:10 +00:00
sfraser%netscape.com
bd86c8bee1 Give editor app cores a unique name so that you can have more than one open at a time, and fix the dialogs to cope with this. Also added file opening UI.
git-svn-id: svn://10.0.0.236/trunk@31301 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:25:45 +00:00
sfraser%netscape.com
ac1a4a233b Added file opening functionality
git-svn-id: svn://10.0.0.236/trunk@31300 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:24:47 +00:00
erik%netscape.com
a2ad6b315b Bug 5772. Getting rid of the 4-byte version of PRUnichar.
git-svn-id: svn://10.0.0.236/trunk@31299 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:24:30 +00:00
tague%netscape.com
86594a9417 Fixed bug #5564, #6214. Problems with nsLocale.dll components not loading. dp reviewed changes
git-svn-id: svn://10.0.0.236/trunk@31298 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:24:20 +00:00
sfraser%netscape.com
3ce5856675 Add new methods to the editor app core to allow opening editor windows from local files.
git-svn-id: svn://10.0.0.236/trunk@31297 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:24:05 +00:00
briano%netscape.com
9abd96a0d2 Fix for Motif builds.
git-svn-id: svn://10.0.0.236/trunk@31296 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:23:04 +00:00
kipp%netscape.com
9074dae0dd Alloc IID
git-svn-id: svn://10.0.0.236/trunk@31295 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:20:55 +00:00
kin%netscape.com
802bb823c8 Made read only parameters const.
git-svn-id: svn://10.0.0.236/trunk@31294 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:17:41 +00:00
rhp%netscape.com
7205d05eaf Changes for new API testing
git-svn-id: svn://10.0.0.236/trunk@31293 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:14:28 +00:00
rhp%netscape.com
36f4c3f95b General work on composition back end
git-svn-id: svn://10.0.0.236/trunk@31292 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:13:58 +00:00
rhp%netscape.com
20414c465e Changes for fix CID declarations.
git-svn-id: svn://10.0.0.236/trunk@31291 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:09:31 +00:00
rhp%netscape.com
b1b4aaae77 Changes for nsCOMPtr usage.
git-svn-id: svn://10.0.0.236/trunk@31290 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:08:22 +00:00
ducarroz%netscape.com
e9d647f192 fix for bug #6315. HTML tag name are now capitalized in the Dom!
git-svn-id: svn://10.0.0.236/trunk@31289 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:00:53 +00:00
kin%netscape.com
120c8543f6 Changed all references to nsVoidArray to nsStringArray.
git-svn-id: svn://10.0.0.236/trunk@31288 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 21:56:11 +00:00
alecf%netscape.com
45c867129f also add -I$(srcdir) when generating xpt files
git-svn-id: svn://10.0.0.236/trunk@31287 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 21:50:17 +00:00
alecf%netscape.com
a165f6a5cf adding extra $(srcdir) include for xpidl
git-svn-id: svn://10.0.0.236/trunk@31286 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 21:43:03 +00:00
terry%mozilla.org
2629614e03 Patch by Bert Driehuis <bert_driehuis@nl.compuware.com> -- use autoconf to find sendmail, other minor portability patches.
git-svn-id: svn://10.0.0.236/trunk@31285 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 21:41:57 +00:00
alecf%netscape.com
0dc2d27a8e forward declare instead of including IDL
git-svn-id: svn://10.0.0.236/trunk@31284 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 21:21:54 +00:00
alecf%netscape.com
85802de1dd fix luxor's build bustage by adding nsIFolder and nsIFolderListener to IDL file list, which required regeneration of some header files
git-svn-id: svn://10.0.0.236/trunk@31280 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 19:11:22 +00:00
terry%mozilla.org
bb9c838c9e Minor formatting tweak.
git-svn-id: svn://10.0.0.236/trunk@31276 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 18:27:18 +00:00
terry%mozilla.org
ad388648be Added user preference controlling how much email they get.
git-svn-id: svn://10.0.0.236/trunk@31275 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 17:20:40 +00:00
terry%mozilla.org
28648721dc navigation_header() should work even if $::FORM{'id'} isn't defined.
git-svn-id: svn://10.0.0.236/trunk@31274 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 17:18:10 +00:00
sspitzer%netscape.com
223e501705 fix pedantic build bustage. (thanks to kin for the fix)
git-svn-id: svn://10.0.0.236/trunk@31273 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 16:53:26 +00:00
bienvenu%netscape.com
478843414a search+filter checkpoint (not part of build)
git-svn-id: svn://10.0.0.236/trunk@31272 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 16:25:29 +00:00
dcone%netscape.com
98b154dd81 added a PrintContent() method to these classes
git-svn-id: svn://10.0.0.236/trunk@31271 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 13:32:09 +00:00
dcone%netscape.com
9598165686 Added a PrintContent() method to the nsIContentViewer class
git-svn-id: svn://10.0.0.236/trunk@31270 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 13:31:28 +00:00
mccabe%netscape.com
7172b35aea Allocate 1 extra space and nul-terminate the string given to XPT_NewString. Thanks to Jim Dunn <jdunn@netscape.com> for suggesting this fix.
git-svn-id: svn://10.0.0.236/trunk@31269 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 09:04:38 +00:00
alecf%netscape.com
64e9468cea remove include for nsIStreamListener.h
git-svn-id: svn://10.0.0.236/trunk@31268 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 08:46:14 +00:00
alecf%netscape.com
bcaf81cf64 remove entire nsIURL #include
git-svn-id: svn://10.0.0.236/trunk@31267 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 07:55:16 +00:00
jband%netscape.com
fdee64f201 fix two places where we use a node as if it were of a type other than the type it is. This was causing a problem on some platforms, though it unfortunately was working fine on Win32. Thanks to khym@bga.com (Dave Huang)
git-svn-id: svn://10.0.0.236/trunk@31265 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 07:42:32 +00:00
pierre%netscape.com
3c8fb85f29 renamed GraphicState "nsGraphicState", put it in a sepate file, added memory pools for GraphicStates and native regions.
git-svn-id: svn://10.0.0.236/trunk@31264 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 07:27:31 +00:00
pierre%netscape.com
72dbcf5751 profiler-ready + put added mMouseRgn
git-svn-id: svn://10.0.0.236/trunk@31262 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 07:26:55 +00:00
pierre%netscape.com
e316bc4416 profiler-ready: make alias of ProfilerLib
git-svn-id: svn://10.0.0.236/trunk@31261 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 07:25:10 +00:00
pierre%netscape.com
8c393536e2 profiler-ready
git-svn-id: svn://10.0.0.236/trunk@31260 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 07:22:03 +00:00
briano%netscape.com
9b90cb4390 Automated update
git-svn-id: svn://10.0.0.236/trunk@31259 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 07:14:44 +00:00
briano%netscape.com
f833b6e2f8 Another Motif-specific tweak. Don't worry about -lXpm anymore.
git-svn-id: svn://10.0.0.236/trunk@31258 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 07:13:24 +00:00
pierre%netscape.com
72b13766ec profiler-ready
git-svn-id: svn://10.0.0.236/trunk@31257 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 07:11:51 +00:00
pierre%netscape.com
9038bf2a40 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@31256 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 06:57:52 +00:00
pinkerton%netscape.com
4676d437c0 add defines for Carbon, but turned off.
git-svn-id: svn://10.0.0.236/trunk@31255 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 06:44:34 +00:00
pinkerton%netscape.com
a121dbe030 change #ifndef TARGET_CARBON to #if !TARGET_CARBON so it can be defined as 0 in DefinesMac.h
git-svn-id: svn://10.0.0.236/trunk@31254 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 06:44:03 +00:00
alecf%netscape.com
6918b76588 don't include nsIURL.h, just forward-declare it as a class/interface
git-svn-id: svn://10.0.0.236/trunk@31253 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 06:28:50 +00:00
beard%netscape.com
59ce15b321 made Count() method pure virtual, to fix xpcom link error.
git-svn-id: svn://10.0.0.236/trunk@31252 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 06:20:37 +00:00
beard%netscape.com
209a3bcdda bumped the version to 1.0d3
git-svn-id: svn://10.0.0.236/trunk@31251 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 05:41:53 +00:00
beard%netscape.com
c6f43358d6 when popping an #include, fclose the file.
git-svn-id: svn://10.0.0.236/trunk@31250 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 05:41:29 +00:00
pinkerton%netscape.com
59f38a8756 don't use the NSRuntimeStubs, use NSRuntime instead. No need for stubs anymore because runtime is built before stdlib.
git-svn-id: svn://10.0.0.236/trunk@31249 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 05:36:41 +00:00
alecf%netscape.com
3c57145071 rev these interfaces
git-svn-id: svn://10.0.0.236/trunk@31248 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 05:30:06 +00:00
alecf%netscape.com
0337438a36 add nsICollection to the windows IDL files
git-svn-id: svn://10.0.0.236/trunk@31247 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 05:24:00 +00:00
bryce-mozilla%nextbus.com
be9c24d186 "nospam" feature. BugZilla will no longer email the person submitting
the change (after all, they are right there viewing things interactively).
To make this clear to everyone, print out the exact email list as each
bug is processed.


git-svn-id: svn://10.0.0.236/trunk@31246 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 05:22:36 +00:00
alecf%netscape.com
a333fd18fc add no_gen_xpt rule for windows to avoid generating .XPT files
git-svn-id: svn://10.0.0.236/trunk@31245 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 05:15:12 +00:00
sspitzer%netscape.com
482511e232 changes to get news working on Linux: stop shadowing rv, and check in
mscott's protocol fixes


git-svn-id: svn://10.0.0.236/trunk@31244 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 05:07:10 +00:00
alecf%netscape.com
7b7be659db hide much of the profile noise
git-svn-id: svn://10.0.0.236/trunk@31243 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 05:01:33 +00:00
rogerl%netscape.com
9de177473f Fixed warnings, few statement & expression changes
git-svn-id: svn://10.0.0.236/trunk@31242 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 05:01:31 +00:00
bryce-mozilla%nextbus.com
42c9e69339 Add new section on MySQL security, give hints for setting up the bug
characterization enums, and a fix a few minor glitchies.  A BugZilla
novice, however, is the only person who can properly proof these instructions.


git-svn-id: svn://10.0.0.236/trunk@31241 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 04:53:11 +00:00
alecf%netscape.com
041dc2c219 dont' use idlc macros
git-svn-id: svn://10.0.0.236/trunk@31240 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 04:51:17 +00:00
scc%netscape.com
75ac724111 Fixup CallQueryInterface
git-svn-id: svn://10.0.0.236/trunk@31239 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 04:50:08 +00:00
pinkerton%netscape.com
39cc264f6b add NEW_DRAG_AND_DROP define for Ender.
git-svn-id: svn://10.0.0.236/trunk@31238 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 04:49:45 +00:00
alecf%netscape.com
d464a3528f use forward-declared interfaces because IDL files for these interfaces are not available anymore
git-svn-id: svn://10.0.0.236/trunk@31237 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 04:40:44 +00:00
bryce-mozilla%nextbus.com
ed8355e868 I keep chipping away at the Mozilla-specific things.
git-svn-id: svn://10.0.0.236/trunk@31236 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 04:40:02 +00:00
alecf%netscape.com
1f6ed43e44 forward-declare nsICollection, and add new hasSubFolders attribute
git-svn-id: svn://10.0.0.236/trunk@31235 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 04:39:52 +00:00
alecf%netscape.com
04924ad593 use forward-declared interfaces until DOM XPIDL files are available
git-svn-id: svn://10.0.0.236/trunk@31234 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 04:38:57 +00:00
alecf%netscape.com
7ef8a37bc8 IDL version of MailNewsTypes.idl
git-svn-id: svn://10.0.0.236/trunk@31233 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 04:38:11 +00:00
alecf%netscape.com
9a712fbe55 IDL version of nsIUrlListener
git-svn-id: svn://10.0.0.236/trunk@31232 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 04:37:56 +00:00
bryce-mozilla%nextbus.com
fb07f9615d Remove dead code
git-svn-id: svn://10.0.0.236/trunk@31231 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 04:33:14 +00:00
bryce-mozilla%nextbus.com
270f340e8a Make URL an actual link
git-svn-id: svn://10.0.0.236/trunk@31230 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 04:31:35 +00:00
karnaze%netscape.com
0c73f5b294 bug 2961 - table desired size considers pass1 size
git-svn-id: svn://10.0.0.236/trunk@31229 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 04:15:44 +00:00
pinkerton%netscape.com
ed97fe9ae5 when building with Carbon, use different targets for NSRuntime and MemoryAllocators. These will disappear with time, but for now we need them.
git-svn-id: svn://10.0.0.236/trunk@31228 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 03:50:24 +00:00
pinkerton%netscape.com
f9cfc27daa Add two new targets for Carbon that use the MSL mem allocators instead of sfraser's because heapzones don't exist under Carbon.
git-svn-id: svn://10.0.0.236/trunk@31227 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 03:48:01 +00:00
jefft%netscape.com
47e4c38bc9 Default not notify fe event completion
git-svn-id: svn://10.0.0.236/trunk@31226 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 03:47:46 +00:00
pinkerton%netscape.com
69c9926d19 add the MacOS Support:Headers:Universal Headers access path so that we can pick up subfolders in the headers introduced in Carbon. Adding this path won't affect non-carbon builds because this folder exists already.
git-svn-id: svn://10.0.0.236/trunk@31225 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 03:47:19 +00:00
alecf%netscape.com
82dac5dabe use the XPIDL version of nsIDOMBaseAppCore so that the mail/news appcore IDL can #include it
git-svn-id: svn://10.0.0.236/trunk@31224 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 03:46:39 +00:00
alecf%netscape.com
f96d46504f don't use idlc macros
git-svn-id: svn://10.0.0.236/trunk@31223 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 03:35:39 +00:00
pinkerton%netscape.com
08b7960a51 leave exporting qd to nsRuntimeQD.exp
git-svn-id: svn://10.0.0.236/trunk@31222 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 03:31:23 +00:00
pinkerton%netscape.com
aba6dbeb49 add two new targets for Carbon (debug and optimized). These targets don't include quickdraw_globals.c or export "qd". Introduced a new file NSRuntimeQD.exp that is only in the non-Carbon targets that exports "qd".
git-svn-id: svn://10.0.0.236/trunk@31221 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 03:31:07 +00:00
pinkerton%netscape.com
9be86e2749 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@31220 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 03:29:47 +00:00
alecf%netscape.com
efc84553ca Count() is no longer const
git-svn-id: svn://10.0.0.236/trunk@31219 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 03:24:36 +00:00
bienvenu%netscape.com
53b4956fb4 add utility for filing out priority
git-svn-id: svn://10.0.0.236/trunk@31218 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 03:16:20 +00:00
alecf%netscape.com
62e2fc90b9 add nsICollection.idl to the unix build system
git-svn-id: svn://10.0.0.236/trunk@31217 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 03:12:01 +00:00
alecf%netscape.com
ce0a5e08ca check in IDL version of nsICollection interface
git-svn-id: svn://10.0.0.236/trunk@31216 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 03:11:48 +00:00
alecf%netscape.com
9ec77255f1 Count() is no longer const
git-svn-id: svn://10.0.0.236/trunk@31215 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:55:54 +00:00
alecf%netscape.com
f42c46d667 remove const-ness from nsICollection::Count() so that it can be represented with XPIDL
git-svn-id: svn://10.0.0.236/trunk@31214 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:53:37 +00:00
mscott%netscape.com
213993a063 Cleanup some of the memory leaks in this code. We were never releasing the stream converter that was attached to the stream! The stream struct was just getting PR_Free'd. So I tweaked plugin_stream_complete and plugin_stream_abort to release the converter. And we had another leak on the pluggable converter object which was in NET_PluginStream. Using nsCOMPtr to fix the leak. Also fixed where we were comparing a nsresult directly against NS_OK instead of using NS_SUCCEEDED.
git-svn-id: svn://10.0.0.236/trunk@31213 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:50:12 +00:00
briano%netscape.com
2da95bda3c Automated update
git-svn-id: svn://10.0.0.236/trunk@31212 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:44:41 +00:00
pinkerton%netscape.com
5f427a4248 AEDesc data handles are opaque under Carbon. Need a solution, but for now they are commented out with a debugStr when building for Carbon.
git-svn-id: svn://10.0.0.236/trunk@31211 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:41:48 +00:00
briano%netscape.com
2db662f7b5 Minor house-cleaning.
git-svn-id: svn://10.0.0.236/trunk@31210 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:35:54 +00:00
pinkerton%netscape.com
d732d9469a disposing of event proc has changed under Carbon. tweaking.
git-svn-id: svn://10.0.0.236/trunk@31209 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:35:28 +00:00
alecf%netscape.com
d79713efee remove -pipe because it confuses the heck out of the solaris assembler "as"
(we should put it back when we know (gcc && gas)


git-svn-id: svn://10.0.0.236/trunk@31208 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:32:59 +00:00
mcmullen%netscape.com
3d1f86b08d Add a missing colon in one of the dist-clobbering options (not being used on Tinderbox)
git-svn-id: svn://10.0.0.236/trunk@31207 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:31:06 +00:00
pinkerton%netscape.com
c7d8f02860 more stuff that doesn't exist under Carbon, commented out when building for that. We really need a carbonated moreFiles.
git-svn-id: svn://10.0.0.236/trunk@31206 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:30:50 +00:00
alecf%netscape.com
da8a0875aa include nsresult typedef
git-svn-id: svn://10.0.0.236/trunk@31205 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:19:18 +00:00
briano%netscape.com
662b7917b0 Automated update
git-svn-id: svn://10.0.0.236/trunk@31204 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:15:14 +00:00
briano%netscape.com
4767410d3a Another motif bug fix.
git-svn-id: svn://10.0.0.236/trunk@31203 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:14:25 +00:00
mccabe%netscape.com
3d94d41af6 Fix xpidl header generation to not emit a trailing (erroneous) ',' when generating [notxpcom] interfaces.
Thanks to Alec Flett <alecf@netscape.com> for this patch.


git-svn-id: svn://10.0.0.236/trunk@31202 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:13:40 +00:00
mccabe%netscape.com
7550d64eb3 Support for magically detecting whether an argument to an XPConnect'ed function is a dom node with a native nsISupports, and unwrapping it properly.
This'll go live as soon as I can persuade joki or vidur to rebuild the DOM stubs.


git-svn-id: svn://10.0.0.236/trunk@31201 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 02:05:48 +00:00
blizzard%redhat.com
03c092771f catch up with the new nsIMenuBar interface
git-svn-id: svn://10.0.0.236/trunk@31198 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 01:27:06 +00:00
alecf%netscape.com
411643ee6a fix XPIDL source so that output matches that of idlc
git-svn-id: svn://10.0.0.236/trunk@31197 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 01:25:49 +00:00
srinivas%netscape.com
e518a503f4 Port to OpenVMS.
Checkin for "Colin R. Blake" <colin@theblakes.com>.


git-svn-id: svn://10.0.0.236/trunk@31194 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:47:36 +00:00
srinivas%netscape.com
0a5638dc19 Initial version for the OpenVMS port.
Checkin for "Colin R. Blake" <colin@theblakes.com>.


git-svn-id: svn://10.0.0.236/trunk@31193 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:43:26 +00:00
bruce%cybersight.com
d84fb01ece Add newline at end of file for native unix compilers.
git-svn-id: svn://10.0.0.236/trunk@31192 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:39:14 +00:00
srinivas%netscape.com
fe3c39cb80 Initial version of the OpenVMS config file.
Checkin for "Colin R. Blake" <colin@theblakes.com>.


git-svn-id: svn://10.0.0.236/trunk@31191 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:38:44 +00:00
pinkerton%netscape.com
61a1d89d51 fix bustage.
git-svn-id: svn://10.0.0.236/trunk@31190 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:28:20 +00:00
waterson%netscape.com
1099393c41 Add XPIDL build stuff, conditioned on the USE_XPIDL variable.
git-svn-id: svn://10.0.0.236/trunk@31189 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:26:26 +00:00
waterson%netscape.com
b3f6322a1d Add USE_XPIDL variable, off for now.
git-svn-id: svn://10.0.0.236/trunk@31188 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:25:12 +00:00
mcmullen%netscape.com
1e28667a7e Assert when nsFileSpec gets a unix path
git-svn-id: svn://10.0.0.236/trunk@31187 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:17:53 +00:00
matt%netscape.com
b2f80b60a1 Added viewsource.js and needed to change the name to viewSource.js
git-svn-id: svn://10.0.0.236/trunk@31186 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:17:22 +00:00
kipp%netscape.com
524aed5470 Fix makefile glitch
git-svn-id: svn://10.0.0.236/trunk@31185 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:15:22 +00:00
rhp%netscape.com
75717925b6 removed files: mozilla/mailnews/mime/emitters/html/rebuffer.cpp
git-svn-id: svn://10.0.0.236/trunk@31184 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:13:19 +00:00
matt%netscape.com
d14ce14543 Adding viewSource.xul and adding the viewsource.js makefiles
git-svn-id: svn://10.0.0.236/trunk@31183 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:07:23 +00:00
matt%netscape.com
cefb96dc38 Ripping out javascript from viewsource.js
git-svn-id: svn://10.0.0.236/trunk@31182 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:06:17 +00:00
pinkerton%netscape.com
cecde1eef1 using accessors when required by Carbon. Also adding lots of preliminary macOS drag and drop stuff. Wish I could have separated these into multiple checkins, but not possible.
git-svn-id: svn://10.0.0.236/trunk@31181 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 00:02:09 +00:00
mcmullen%netscape.com
b78dd123e8 Well, the pref stuff in here was all bogus. Fixed it up so that it works.
git-svn-id: svn://10.0.0.236/trunk@31180 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:56:14 +00:00
sspitzer%netscape.com
bca544d9bc added files: mozilla/mailnews/mime/src/nsMimeURLUtils.cpp
git-svn-id: svn://10.0.0.236/trunk@31179 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:51:29 +00:00
karnaze%netscape.com
eb995ddc90 additional regression tests
git-svn-id: svn://10.0.0.236/trunk@31178 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:49:46 +00:00
mscott%netscape.com
25270ca0d3 part of mailnews audit --> use nsCOMPtr. Use NS_SUCCEEDED test instead of comparing directly against NS_OK. fix mem leak on msghdr & mismatched memory free.
git-svn-id: svn://10.0.0.236/trunk@31177 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:47:13 +00:00
mcmullen%netscape.com
1872deb959 We don't need to link with libpref, so I removed it.
git-svn-id: svn://10.0.0.236/trunk@31176 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:46:42 +00:00
alecf%netscape.com
952269baf0 add a way to avoid generating .xpt files (since forward declaring in xpt files is broken right now)
add a rule to generate tags for emacs


git-svn-id: svn://10.0.0.236/trunk@31175 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:43:36 +00:00
rhp%netscape.com
707633d2ee Changes for new URL parsing interface
git-svn-id: svn://10.0.0.236/trunk@31174 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:42:27 +00:00
rhp%netscape.com
bcdda805fa New interface for URL parsing
git-svn-id: svn://10.0.0.236/trunk@31173 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:39:48 +00:00
rhp%netscape.com
8b84000b7b cleanup
git-svn-id: svn://10.0.0.236/trunk@31172 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:36:07 +00:00
rhp%netscape.com
64b5511106 Cleanup
git-svn-id: svn://10.0.0.236/trunk@31171 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:35:57 +00:00
kipp%netscape.com
6877a9a0b2 Fix for windoze build
git-svn-id: svn://10.0.0.236/trunk@31170 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:35:05 +00:00
akkana%netscape.com
1c82a16281 Add test for IsDataFlavorSupported for xpfe folks to fix bug 6289
git-svn-id: svn://10.0.0.236/trunk@31169 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:34:40 +00:00
rhp%netscape.com
49322ae54f Cleanup of debug output
git-svn-id: svn://10.0.0.236/trunk@31168 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:30:24 +00:00
rhp%netscape.com
05be305331 New interface for URL parsing
git-svn-id: svn://10.0.0.236/trunk@31167 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:28:33 +00:00
rhp%netscape.com
6047e4d24d New interface for URL parsing utilities
git-svn-id: svn://10.0.0.236/trunk@31166 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 23:28:09 +00:00
kipp%netscape.com
af3343e1ba nuked
git-svn-id: svn://10.0.0.236/trunk@31165 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:42:58 +00:00
kipp%netscape.com
fd69c71278 Removed nsWBRFrame.cpp from the build
git-svn-id: svn://10.0.0.236/trunk@31164 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:42:43 +00:00
kipp%netscape.com
0ed04e2df6 removed files: mozilla/layout/html/base/src/nsWBRFrame.cpp
git-svn-id: svn://10.0.0.236/trunk@31163 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:42:29 +00:00
kipp%netscape.com
b05e8d4fc0 Stubbed out
git-svn-id: svn://10.0.0.236/trunk@31162 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:39:46 +00:00
mscott%netscape.com
55f2384e8d re-audit this filetoo use nsCOMPtr as some code was added that wasn't using it when it should have. fix memory leak of folder name.
git-svn-id: svn://10.0.0.236/trunk@31161 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:32:29 +00:00
briano%netscape.com
3a9e8e1f62 Automated update
git-svn-id: svn://10.0.0.236/trunk@31160 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:29:43 +00:00
putterman%netscape.com
9e17795200 Fix mismatch memory free.
git-svn-id: svn://10.0.0.236/trunk@31159 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:28:34 +00:00
putterman%netscape.com
60b85b6ac0 Fixed mismatched memory free.
git-svn-id: svn://10.0.0.236/trunk@31158 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:28:06 +00:00
akkana%netscape.com
3a70f7a5cb New build option enable-crash-on-assert for those who really want the old behavior
git-svn-id: svn://10.0.0.236/trunk@31157 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:22:24 +00:00
kipp%netscape.com
de60169b67 Reworked frame factory methods; fixed bug 4519
git-svn-id: svn://10.0.0.236/trunk@31154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 22:03:29 +00:00
pinkerton%netscape.com
126ac23d41 use accessors for opaque data structs where required for carbon. Make sure we return grafptrs when asking for graphics and windowptrs when asking for windows, since they are very different under Carbon.
git-svn-id: svn://10.0.0.236/trunk@31153 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:56:17 +00:00
pinkerton%netscape.com
b1932be19b scroll action proc's need keyword pascal for Carbon. conditionally added it. Ugly, but it works.
git-svn-id: svn://10.0.0.236/trunk@31152 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:51:33 +00:00
pinkerton%netscape.com
309c84268a using accessor functions for opaque data structs where necessary for carbon.
git-svn-id: svn://10.0.0.236/trunk@31150 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:47:03 +00:00
pinkerton%netscape.com
655585ef89 using accessors for opaque data structs where necessary for Carbon.
git-svn-id: svn://10.0.0.236/trunk@31149 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:46:10 +00:00
pinkerton%netscape.com
42c1e35453 FetchFontInfo not yet in Carbon. This will be fixed, but is hacked around for now.
git-svn-id: svn://10.0.0.236/trunk@31148 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:43:54 +00:00
pinkerton%netscape.com
a3afd945fb ask for the grafPort, not the window, since they are different in Carbon.
git-svn-id: svn://10.0.0.236/trunk@31147 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:41:03 +00:00
pinkerton%netscape.com
6619489e1a moved the ifdefs around the printing code to be more correct.
git-svn-id: svn://10.0.0.236/trunk@31146 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:40:25 +00:00
pinkerton%netscape.com
0f78f06b5d old printing api's obsoleted in carbon.
git-svn-id: svn://10.0.0.236/trunk@31145 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:40:01 +00:00
briano%netscape.com
e7dba6b9ee Automated update
git-svn-id: svn://10.0.0.236/trunk@31144 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:39:38 +00:00
briano%netscape.com
6157d63070 Fixed a bug in the Motif toolkit section.
git-svn-id: svn://10.0.0.236/trunk@31143 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:39:02 +00:00
pinkerton%netscape.com
2f2c657552 comment out printing under Carbon. api's have been obsoleted and need to be redone.
git-svn-id: svn://10.0.0.236/trunk@31142 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:36:39 +00:00
pinkerton%netscape.com
28ef714de5 comment out printing code under carbon. The api's have all been obsoleted and we need to rework them. Also font/encoding stuff is messed up in WWDC builds so some hacks are in here to work around. That code should all go away when Carbon is fixed.
git-svn-id: svn://10.0.0.236/trunk@31141 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:36:19 +00:00
pinkerton%netscape.com
d6a95f103c dont use OpenDeskAcc under Carbon.
git-svn-id: svn://10.0.0.236/trunk@31140 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:32:51 +00:00
pinkerton%netscape.com
4d6276cd97 some of the timer stuff in here (which we don't use) doesn't like the WWDC Carbon Headers. #ifdef'd out for TARGET_CARBON.
git-svn-id: svn://10.0.0.236/trunk@31139 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:31:32 +00:00
pinkerton%netscape.com
6e22c9bf4f use MacPrefix.h for the target we build. It was already used in the other targets, but not for the optimized .o we always build.
git-svn-id: svn://10.0.0.236/trunk@31138 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:30:18 +00:00
ducarroz%netscape.com
ce529ef627 Improuve fiability of the unique number generation for the session ID
git-svn-id: svn://10.0.0.236/trunk@31137 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:29:50 +00:00
pinkerton%netscape.com
7c4a8abf35 add "MacOS Support:Universal Headers" access path to debug and opt targets in order to pick up new carbon includes. This will not effect non-carbon builds since this path exists already. Just compiler weirdness makes this necessary.
git-svn-id: svn://10.0.0.236/trunk@31136 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:29:07 +00:00
pinkerton%netscape.com
52017bfddf Font stuff now in CarbonLib so no need to link with it specially.
git-svn-id: svn://10.0.0.236/trunk@31135 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:27:25 +00:00
pinkerton%netscape.com
71c6e56744 add variable to build with TARGET_CARBON. Off for now, but can be turned on by anyone wanting to build Carbon.
git-svn-id: svn://10.0.0.236/trunk@31134 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:26:07 +00:00
briano%netscape.com
280120ee1a Added support for the QNX photon directories under base, gfx, and widget.
git-svn-id: svn://10.0.0.236/trunk@31133 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:03:27 +00:00
mcafee%netscape.com
6d7f5abbbf Borrowing the . prefix menu name convention fromthe ender team denoting that this menu item doesn't work yet.
git-svn-id: svn://10.0.0.236/trunk@31132 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 21:02:49 +00:00
briano%netscape.com
c72df5a29a Fix for QNX.
git-svn-id: svn://10.0.0.236/trunk@31131 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:58:37 +00:00
mscott%netscape.com
cb42306f58 Fix memory leak - we were never releasing nsIMimeContentTypeHandler. Correctly check error values using NS_FAILED and not just comparing against NS_OK directly. Begin nsCOMPtr audit of mime code.
git-svn-id: svn://10.0.0.236/trunk@31130 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:25:27 +00:00
vidur%netscape.com
08d2fd838f Added GetContentType method to nsIDocument interface.
git-svn-id: svn://10.0.0.236/trunk@31129 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:22:52 +00:00
vidur%netscape.com
5ed31d3cbe Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface.
git-svn-id: svn://10.0.0.236/trunk@31128 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:22:35 +00:00
vidur%netscape.com
2806500656 nodeName for HTML elements are uppercase as well.
git-svn-id: svn://10.0.0.236/trunk@31127 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:21:45 +00:00
vidur%netscape.com
19da06fec2 Added const-ness to IsValidFragment string.
git-svn-id: svn://10.0.0.236/trunk@31126 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:21:13 +00:00
vidur%netscape.com
b58139dd90 Added IsValidFragment to nsIDOMNSRange interface and CreateRange to nsIDOMNSDocument.
git-svn-id: svn://10.0.0.236/trunk@31125 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:20:40 +00:00
mscott%netscape.com
726264acc6 Fix mismatched memory free.
git-svn-id: svn://10.0.0.236/trunk@31122 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:09:20 +00:00
mscott%netscape.com
93f99d4cda fix unitialized memory read.
git-svn-id: svn://10.0.0.236/trunk@31121 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:08:08 +00:00
mscott%netscape.com
aa008f9495 fix mismatched memory free.
git-svn-id: svn://10.0.0.236/trunk@31120 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:05:46 +00:00
mcmullen%netscape.com
f84e7ec13e OK, so mailnews must follow appcores in a clobber build.
git-svn-id: svn://10.0.0.236/trunk@31119 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:04:47 +00:00
rods%netscape.com
0b2195bf47 removed showclipboard function
git-svn-id: svn://10.0.0.236/trunk@31118 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:59:02 +00:00
rods%netscape.com
00eed97233 Removed ShowClipboard menu item
git-svn-id: svn://10.0.0.236/trunk@31117 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:58:18 +00:00
rods%netscape.com
e111ecfde8 Removed ShowClipboard method
git-svn-id: svn://10.0.0.236/trunk@31116 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:57:07 +00:00
dveditz%netscape.com
0ef2c98b1a Fixing Win9x IDL bustage -- use $(QUIET) instead of @.
In this case, $(MAKE_INSTALL) already includes the $(QUIET) rule.


git-svn-id: svn://10.0.0.236/trunk@31115 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:45:58 +00:00
davidm%netscape.com
ee002229e9 4530 Password entry locks Apprunner. Turn off single signon so we stop crashing and use the async password dialog
git-svn-id: svn://10.0.0.236/trunk@31114 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:43:18 +00:00
davidm%netscape.com
cca629a582 4530 Password entry locks Apprunner.
git-svn-id: svn://10.0.0.236/trunk@31113 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:42:14 +00:00
dougt%netscape.com
8670251a20 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@31112 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:32:55 +00:00
mcmullen%netscape.com
52d070ca42 Keep apprunner last, please (moved mailnews earlier in the build).
git-svn-id: svn://10.0.0.236/trunk@31111 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:24:39 +00:00
mcmullen%netscape.com
071adf4db4 Added line to facilitate using the CLOSE_BEFORE_MAKE flag.
git-svn-id: svn://10.0.0.236/trunk@31110 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:24:04 +00:00
morse%netscape.com
5d33c6e715 added wallet and single-signon preferences
git-svn-id: svn://10.0.0.236/trunk@31109 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:24:00 +00:00
morse%netscape.com
1359aee1c8 changed name of single-signon preference
git-svn-id: svn://10.0.0.236/trunk@31108 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:22:02 +00:00
mcmullen%netscape.com
f68336f191 Fixing an error in the previous case (for the 'off' case)
git-svn-id: svn://10.0.0.236/trunk@31107 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:21:34 +00:00
kin%netscape.com
f21c805899 Added implementation for First/LastSelectedBlock().
Added better iterator status tracking.


git-svn-id: svn://10.0.0.236/trunk@31106 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:16:24 +00:00
kin%netscape.com
d2d60c4340 Made Add/RemoveWordToPersonalDictionary pure virtual.
git-svn-id: svn://10.0.0.236/trunk@31105 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:14:43 +00:00
kin%netscape.com
638c71981b Added nsISpellChecker.h to export list.
git-svn-id: svn://10.0.0.236/trunk@31104 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:13:39 +00:00
waterson%netscape.com
d5fa61546b Added USE_XPIDL variable.
git-svn-id: svn://10.0.0.236/trunk@31103 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:09:33 +00:00
law%netscape.com
885acdb10e Adding new implementation header that generates boilerplate component code
git-svn-id: svn://10.0.0.236/trunk@31102 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:05:10 +00:00
ducarroz%netscape.com
dd3c91a5d2 set editorType parameter when creating a compose appcore
git-svn-id: svn://10.0.0.236/trunk@31101 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:04:05 +00:00
saari%netscape.com
7934b45633 break fix attempt
git-svn-id: svn://10.0.0.236/trunk@31100 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:03:25 +00:00
ducarroz%netscape.com
b00d7941c6 Fix selection and delete problem with body. Add editor toolbar.
git-svn-id: svn://10.0.0.236/trunk@31099 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:02:54 +00:00
waterson%netscape.com
4a0acf5000 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@31098 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:02:48 +00:00
law%netscape.com
28670cc1cf New stream transfer component
git-svn-id: svn://10.0.0.236/trunk@31097 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 19:01:45 +00:00
law%netscape.com
c394961f52 New unknown-content-type-handler component
git-svn-id: svn://10.0.0.236/trunk@31096 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:51:36 +00:00
jdunn%netscape.com
e002887b9e remove "#pragma" that is there for no reason
git-svn-id: svn://10.0.0.236/trunk@31095 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:48:12 +00:00
law%netscape.com
af6912171f New sample component
git-svn-id: svn://10.0.0.236/trunk@31094 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:41:01 +00:00
jefft%netscape.com
f556ae06e9 fixed OnlineMessageCopy() not setting imap sink problem
git-svn-id: svn://10.0.0.236/trunk@31093 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:31:52 +00:00
jefft%netscape.com
448efef3ec fixed message copy problem by adding space between message id string and destination folder
git-svn-id: svn://10.0.0.236/trunk@31092 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:31:04 +00:00
jefft%netscape.com
e027975f7b remove obsolete code; implemented DeleteMessages()
git-svn-id: svn://10.0.0.236/trunk@31091 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:29:53 +00:00
jefft%netscape.com
157861d725 added OnlineMessageCopy() method
git-svn-id: svn://10.0.0.236/trunk@31090 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:27:28 +00:00
slamm%netscape.com
20c58a1c2b Bookmarks panel for the Sidebar.
git-svn-id: svn://10.0.0.236/trunk@31089 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:23:24 +00:00
slamm%netscape.com
bddfee7f06 Move javascript code in bookmarks.js
git-svn-id: svn://10.0.0.236/trunk@31088 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:22:35 +00:00
saari%netscape.com
ccf99e2695 missed a file
git-svn-id: svn://10.0.0.236/trunk@31087 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:21:39 +00:00
mcmullen%netscape.com
0758d78ec1 Support a new flag that defers closing of the project file until just before building the next, and only if the next project is different.
git-svn-id: svn://10.0.0.236/trunk@31086 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:20:40 +00:00
slamm%netscape.com
028cce1d7f Sidebar almost working now.
git-svn-id: svn://10.0.0.236/trunk@31085 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:19:15 +00:00
saari%netscape.com
91c95ea168 changing nsIMenuItem for context menu support
git-svn-id: svn://10.0.0.236/trunk@31084 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:16:25 +00:00
saari%netscape.com
c8dccd87f9 nsIMenuItem changes for context menus
git-svn-id: svn://10.0.0.236/trunk@31083 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 18:15:48 +00:00
norris%netscape.com
da07ac8361 Subject:
Rhino SecurityException patch
   Date:
        Tue, 11 May 1999 12:25:50 -0400
   From:
        Andrew Wason <aw@softcom.com>
     To:
        Norris Boyd <norris@netscape.com>




Sorry if you aren't the right person to submit Rhino patches to.

I couldn't get Rhino to run under JDK1.2 with a SecurityManager installed
(e.g. java -Djava.security.manager=java.lang.SecurityManager).  I
understand the JavaAdapter stuff won't work - but I would still like to use
Rhino without that piece.

I've attached a small patch which catches and ignores the
SecurityExceptions so that Rhino can run with a SecurityManager but without
JavaAdapter.


Andrew
--
Andrew Wason
SoftCom, Inc.
aw@softcom.com


git-svn-id: svn://10.0.0.236/trunk@31082 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 16:46:30 +00:00
cbegle%netscape.com
ac9e104ae5 Error in the test -- it was not evaluating the statement that is supposed
to produce an error.


git-svn-id: svn://10.0.0.236/trunk@31081 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 15:55:22 +00:00
shaver%netscape.com
68212ec7fc use OBJ_THIS_OBJECT in SPROP_[GS]ET to make with(native_obj)'' work correctly
git-svn-id: svn://10.0.0.236/trunk@31079 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 15:41:51 +00:00
mcafee%netscape.com
91d249818a Adding tinderbox to personal toolbar.
git-svn-id: svn://10.0.0.236/trunk@31078 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 08:16:02 +00:00
mccabe%netscape.com
9e96915598 Fix to 5947. Handle \r\r properly when it ends a buffer.
This fixes problems reading prefs.js on Mac.


git-svn-id: svn://10.0.0.236/trunk@31077 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 08:03:07 +00:00
mcafee%netscape.com
1e6ee4b2d7 Adding bugzilla personal toolbar entry.
git-svn-id: svn://10.0.0.236/trunk@31076 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 06:33:55 +00:00
gordon%netscape.com
1cf19f1ca3 Fix for bug#4312. Conditionalized patching of StackSpace so it's only done when patching is allowed. Also removed obsolete 68k code, and replaced uses of the BUILD_ROUTINE_DESCRIPTOR macro with calls to NewRoutineDescriptor.
git-svn-id: svn://10.0.0.236/trunk@31074 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 05:33:51 +00:00
morse%netscape.com
0d74684235 attempt to fix mac build bustage
git-svn-id: svn://10.0.0.236/trunk@31073 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 04:50:41 +00:00
waterson%netscape.com
c60001ca16 Be sure to initialize the data offset in the new state object. Mucho gracias to shaver for the fix.
git-svn-id: svn://10.0.0.236/trunk@31072 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 04:39:40 +00:00
sspitzer%netscape.com
d5c7656c05 news, like imap and local mail, needs to use the db cache to make sure that when several
Open()'s happen, they get the same db object.  this fixes the problem where getting new
news wouldn't update the db listers (folder pane and thread pane, in this case.)


git-svn-id: svn://10.0.0.236/trunk@31071 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 04:04:10 +00:00
morse%netscape.com
7249ddb900 switch to using nsIFileLocation for accessing user-specific files
git-svn-id: svn://10.0.0.236/trunk@31070 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 03:58:44 +00:00
waterson%netscape.com
8091b0db1c Publish headers directly to dist, instead of to public.
git-svn-id: svn://10.0.0.236/trunk@31068 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 03:10:20 +00:00
waterson%netscape.com
61ec12f898 XPT files are generated on-the-fly now.
git-svn-id: svn://10.0.0.236/trunk@31067 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 02:11:21 +00:00
waterson%netscape.com
37f3ac9083 Generate base header files.
git-svn-id: svn://10.0.0.236/trunk@31066 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 02:11:01 +00:00
waterson%netscape.com
449f3cb17a Generate nsISupports, nsIEnumerator, nsIFactory, and nsrootidl.
git-svn-id: svn://10.0.0.236/trunk@31065 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 02:10:22 +00:00
sspitzer%netscape.com
618ec540d5 don't delete m_newsgroupSpec here. causes sigsegv on linux.
git-svn-id: svn://10.0.0.236/trunk@31064 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 01:55:42 +00:00
mscott%netscape.com
980ccf8068 Fix build breakage for jefft. change nsstring to nstring2.
git-svn-id: svn://10.0.0.236/trunk@31063 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 01:19:52 +00:00
mscott%netscape.com
632db796a1 Fix memory leak.
git-svn-id: svn://10.0.0.236/trunk@31062 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 01:14:43 +00:00
sspitzer%netscape.com
0b44808cd7 fix memory leak, and use nsAutoCString so I don't have to do the free or delete
git-svn-id: svn://10.0.0.236/trunk@31061 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 00:59:04 +00:00
sspitzer%netscape.com
8f44603d95 work to make "Get Messages" work for newsgroups. right now, it is only on a newsgroup
by newsgroup level.  getting new news for a news server won't do anything.


git-svn-id: svn://10.0.0.236/trunk@31060 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 00:57:58 +00:00
jdunn%netscape.com
d4c3db8a77 fix error... returning 'false' instead of 'FALSE'
git-svn-id: svn://10.0.0.236/trunk@31059 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 00:51:00 +00:00
sspitzer%netscape.com
91d0488a34 fix memory leak
git-svn-id: svn://10.0.0.236/trunk@31058 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 00:49:14 +00:00
sspitzer%netscape.com
9fb55c6004 fix another uninitialized memory read
git-svn-id: svn://10.0.0.236/trunk@31057 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 00:45:12 +00:00
sspitzer%netscape.com
e0ef57b825 stop shadowing. fix an uninitialized memory read.
git-svn-id: svn://10.0.0.236/trunk@31056 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 00:43:32 +00:00
waterson%netscape.com
997c04892f Rename 'typelibs' to 'xpcom.xpt'
git-svn-id: svn://10.0.0.236/trunk@31055 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 00:42:54 +00:00
ducarroz%netscape.com
f65b7ccf5e Don't create anymore a nsFileSpec from a unix path
git-svn-id: svn://10.0.0.236/trunk@31054 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 00:38:08 +00:00
jefft%netscape.com
56d6826078 implemented OnlineMessageCopy()
git-svn-id: svn://10.0.0.236/trunk@31053 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 00:16:14 +00:00
evaughan%netscape.com
93eeafffe8 Added tab visibility pseudo-element
git-svn-id: svn://10.0.0.236/trunk@31052 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 00:14:08 +00:00
slamm%netscape.com
7d0494b5c0 Move bookmarks javascript code into separate file. Add initial browser sidebar code and data.
git-svn-id: svn://10.0.0.236/trunk@31051 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 00:06:43 +00:00
jdunn%netscape.com
683abe50c2 Fix error with OR'ing ENUMS. ansi C++ doesn't allow the direct OR'ing of them.
git-svn-id: svn://10.0.0.236/trunk@31050 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 00:03:17 +00:00
putterman%netscape.com
d8bf5d10c4 Changed DeleteMessage to DeleteMessages
git-svn-id: svn://10.0.0.236/trunk@31049 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:55:41 +00:00
putterman%netscape.com
9c7cd411e7 Changed DeleteMessage to DeleteMessages.
git-svn-id: svn://10.0.0.236/trunk@31048 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:55:00 +00:00
ducarroz%netscape.com
a215b0d52e add mactime.c
git-svn-id: svn://10.0.0.236/trunk@31047 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:48:54 +00:00
ducarroz%netscape.com
822ee4e211 fix for bug #6176
git-svn-id: svn://10.0.0.236/trunk@31046 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:48:27 +00:00
bienvenu%netscape.com
1ed59c5548 resolve a few undefined symbols
git-svn-id: svn://10.0.0.236/trunk@31045 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:44:30 +00:00
pinkerton%netscape.com
5e2ed3373b using accessors for Regions when building under Carbon.
git-svn-id: svn://10.0.0.236/trunk@31044 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:41:03 +00:00
pinkerton%netscape.com
331ebb1003 pull out unused includes.
git-svn-id: svn://10.0.0.236/trunk@31043 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:38:06 +00:00
pinkerton%netscape.com
0deb4d0974 Using ControlDefinition.h for Carbon.
git-svn-id: svn://10.0.0.236/trunk@31042 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:36:19 +00:00
jfrancis%netscape.com
26ba976656 better error detection/handling + some cleanup
git-svn-id: svn://10.0.0.236/trunk@31041 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:29:01 +00:00
bienvenu%netscape.com
895463f32f more search and filter porting
git-svn-id: svn://10.0.0.236/trunk@31040 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:25:37 +00:00
bienvenu%netscape.com
90e59d561a add cid's for search and filters
git-svn-id: svn://10.0.0.236/trunk@31039 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:25:08 +00:00
locka%iol.ie
6f90c16ee0 Removed some assertions.
Moved some code around to make the control site partially sane when the control cannot be created


git-svn-id: svn://10.0.0.236/trunk@31038 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:21:13 +00:00
nhotta%netscape.com
fafff1eeb4 Added the default settings for MIME header encoding methods.
git-svn-id: svn://10.0.0.236/trunk@31037 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:20:34 +00:00
locka%iol.ie
9659cf172d Removed some junk comments.
Added an error message when a control cannot be created


git-svn-id: svn://10.0.0.236/trunk@31036 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:19:31 +00:00
ftang%netscape.com
4847a3b06c add MappingCache
git-svn-id: svn://10.0.0.236/trunk@31035 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:19:21 +00:00
morse%netscape.com
4a14b8a5ec restart key before wallet editor rewrites the SchemaValue table
git-svn-id: svn://10.0.0.236/trunk@31034 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:18:10 +00:00
pinkerton%netscape.com
9a09e13ca8 add GetIID() method.
git-svn-id: svn://10.0.0.236/trunk@31033 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:15:21 +00:00
ftang%netscape.com
d4eb9ab6b5 add nsMappingCache.cpp
git-svn-id: svn://10.0.0.236/trunk@31032 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:15:11 +00:00
terry%mozilla.org
d249e087b0 Oops; back out last change; was checked in by mistake (and with the wrong log comment, too).
git-svn-id: svn://10.0.0.236/trunk@31031 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:15:09 +00:00
pinkerton%netscape.com
7a52add86d use ControlDefinitions.h and use new popup menu APIs for Carbon.
git-svn-id: svn://10.0.0.236/trunk@31030 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:14:40 +00:00
pinkerton%netscape.com
c2ea19ad6f use ControlDefinitions.h and new APIs for Carbon for ValidRect. Doesn't affect normal builds.
git-svn-id: svn://10.0.0.236/trunk@31029 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:13:16 +00:00
terry%mozilla.org
cbcfb44a4c Remember the 'changedin' field when memorizing queries.
git-svn-id: svn://10.0.0.236/trunk@31028 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:12:50 +00:00
pinkerton%netscape.com
d96469af8b use ControlDefinitions.h under Carbon
git-svn-id: svn://10.0.0.236/trunk@31027 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:12:08 +00:00
pinkerton%netscape.com
946ad5d0cf under Carbon, use the accessors.
git-svn-id: svn://10.0.0.236/trunk@31026 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:11:50 +00:00
pinkerton%netscape.com
75016b7274 don't use OpenDeskAcc under Carbon.
git-svn-id: svn://10.0.0.236/trunk@31025 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:10:55 +00:00
ftang%netscape.com
9a50942604 add HankakuToZenkaku
git-svn-id: svn://10.0.0.236/trunk@31024 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:10:05 +00:00
pinkerton%netscape.com
13480795d5 added ControlDefinitions.h for Carbon.
git-svn-id: svn://10.0.0.236/trunk@31023 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:09:34 +00:00
pinkerton%netscape.com
67d73184fc adding ControlDefinitions.h for Carbon.
git-svn-id: svn://10.0.0.236/trunk@31022 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:07:34 +00:00
pinkerton%netscape.com
57e215b2cc PBCopyFileSync and PBHMoveRenameSync don't exist in Carbon. Hack around this when TARGET_CARBON is defined, but we need a better solution. Shouldn't affect builds when this is off.
git-svn-id: svn://10.0.0.236/trunk@31021 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:05:01 +00:00
mcmullen%netscape.com
52d8908ce7 Added option to Macintosh build scripts, to delete all the dist aliases or just all the dist library aliases.
git-svn-id: svn://10.0.0.236/trunk@31020 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:01:39 +00:00
ftang%netscape.com
bbf002722d add nsHankakuToZenkaku.cpp
git-svn-id: svn://10.0.0.236/trunk@31019 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:00:36 +00:00
ftang%netscape.com
34ab444815 declare prototype to mac happier
git-svn-id: svn://10.0.0.236/trunk@31018 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 23:00:07 +00:00
karnaze%netscape.com
d10593fcc4 bug 6185 - absolutely positioned target nsHTMLFrameInnerFrames don't get processed by InitAbsoluteConstraints.
git-svn-id: svn://10.0.0.236/trunk@31017 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:59:03 +00:00
kmcclusk%netscape.com
67ce6448d4 bug #2115 - Removed src/windows/nsStringUtil.h and src/windows/nsStringUtil.cpp. Moved GetACPString to
nsMenu. widget/public now contains an updated nsStringUtil.h with fixes for bug #2115.
bug #2226 - Modified nsFileWidget.cpp - Removed code which saved and restored the current directory.


git-svn-id: svn://10.0.0.236/trunk@31016 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:55:16 +00:00
terry%mozilla.org
ff2440150e Do some sanity checking on the entered bug number.
git-svn-id: svn://10.0.0.236/trunk@31015 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:52:43 +00:00
terry%mozilla.org
7b54c0aa6c Try to save Ry4an from getting some spam.
git-svn-id: svn://10.0.0.236/trunk@31014 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:52:25 +00:00
pinkerton%netscape.com
679a5216c0 don't compile some code when TARGET_CARBON is defined. we need to find a better way around this. shouldn't affect normal builds.
git-svn-id: svn://10.0.0.236/trunk@31013 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:50:02 +00:00
karnaze%netscape.com
3812d508d4 added GetFrameType for inner and outer frame
git-svn-id: svn://10.0.0.236/trunk@31012 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:49:39 +00:00
karnaze%netscape.com
46a09eaf4d added htmlFrameInnerFrame, htmlFrameOuterFrame types
git-svn-id: svn://10.0.0.236/trunk@31011 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:48:47 +00:00
pinkerton%netscape.com
5bb239084d comment out some stuff when TARGET_CARBON is defined. Doesn't affect normal builds.
git-svn-id: svn://10.0.0.236/trunk@31010 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:42:51 +00:00
pinkerton%netscape.com
b3ba9a4d42 totalBytes and FreeBytes structs changed under Carbon. Fixes to work in both environments.
git-svn-id: svn://10.0.0.236/trunk@31009 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:37:50 +00:00
ftang%netscape.com
d4bbca64c3 add nsMappingCache.cpp
git-svn-id: svn://10.0.0.236/trunk@31008 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:36:50 +00:00
ftang%netscape.com
327fa9a29d add nsIMappingCache.h to export list
git-svn-id: svn://10.0.0.236/trunk@31007 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:35:25 +00:00
pinkerton%netscape.com
6caff579c4 move #include of DefinesMac.h up a few lines to pick up the correct TARGET_CARBON define there.
git-svn-id: svn://10.0.0.236/trunk@31006 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:34:12 +00:00
pinkerton%netscape.com
64ced176dd don't init toolbox if we're building for carbon.
git-svn-id: svn://10.0.0.236/trunk@31005 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:33:39 +00:00
ftang%netscape.com
8edb09d550 first add
git-svn-id: svn://10.0.0.236/trunk@31004 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:30:21 +00:00
kipp%netscape.com
df753a1679 Added a reminder comment
git-svn-id: svn://10.0.0.236/trunk@31003 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:29:34 +00:00
kipp%netscape.com
f92577dd6d Beginnings of a line iterator
git-svn-id: svn://10.0.0.236/trunk@31002 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:28:49 +00:00
ftang%netscape.com
da421fb28d add nsIMappingCache.h
git-svn-id: svn://10.0.0.236/trunk@31001 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:28:33 +00:00
kipp%netscape.com
7b65406361 Reinstate a hack, with a comment for next time, so that tables will center again
git-svn-id: svn://10.0.0.236/trunk@31000 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:28:30 +00:00
kipp%netscape.com
f372da0b11 Incomplete workaround for bug #5453
git-svn-id: svn://10.0.0.236/trunk@30999 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:28:04 +00:00
scc%netscape.com
df32a14b57 export nsCOMPtr destructor
git-svn-id: svn://10.0.0.236/trunk@30998 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:27:21 +00:00
jefft%netscape.com
717621158b added few more utils to get hostname, username, & protocol type from uri
git-svn-id: svn://10.0.0.236/trunk@30997 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:26:21 +00:00
jefft%netscape.com
8b8704d034 implemented GetNewMessages() for a selected folder
git-svn-id: svn://10.0.0.236/trunk@30996 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:25:26 +00:00
ducarroz%netscape.com
be7ad1d16c Fix bug #6175 due to nsFileSpec behavior changed on Mac
git-svn-id: svn://10.0.0.236/trunk@30995 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:23:28 +00:00
terry%mozilla.org
4c429be049 Allow querying by groupset (though there is no UI for it yet; can only
use this by manually hacking the URL string.)


git-svn-id: svn://10.0.0.236/trunk@30994 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:23:12 +00:00
ftang%netscape.com
73b402e097 add progid
git-svn-id: svn://10.0.0.236/trunk@30993 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:22:01 +00:00
davidm%netscape.com
c878914bd1 work needed to get password UI up and working
git-svn-id: svn://10.0.0.236/trunk@30992 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:18:08 +00:00
rhp%netscape.com
7815ca4a8c Changes for message send cleanup
git-svn-id: svn://10.0.0.236/trunk@30991 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:17:58 +00:00
rhp%netscape.com
4f74c69cba Changes for new message send testing
git-svn-id: svn://10.0.0.236/trunk@30990 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:17:13 +00:00
davidm%netscape.com
b34a244110 Fix JS for setting the message text
git-svn-id: svn://10.0.0.236/trunk@30989 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:15:17 +00:00
rhp%netscape.com
7ef418f135 Change for message send cleanup
git-svn-id: svn://10.0.0.236/trunk@30988 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:14:55 +00:00
terry%mozilla.org
b3ab03301f Give better error messages when we can't display a bug.
git-svn-id: svn://10.0.0.236/trunk@30987 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:08:58 +00:00
ducarroz%netscape.com
8edef6d972 fix bug #6175 due to new behavior of nsFileSpec on Mac
git-svn-id: svn://10.0.0.236/trunk@30986 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 22:02:39 +00:00
rhp%netscape.com
d7b38835a5 Fix for when messages do not have message id's
git-svn-id: svn://10.0.0.236/trunk@30985 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:59:59 +00:00
putterman%netscape.com
8890c93255 Fix refcounting bug. nsISupportsArray[] already does an addref.
git-svn-id: svn://10.0.0.236/trunk@30984 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:53:18 +00:00
ftang%netscape.com
96e10cb20a add progid
git-svn-id: svn://10.0.0.236/trunk@30983 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:51:29 +00:00
putterman%netscape.com
c89fd7208b added files: mozilla/mailnews/base/util/nsMsgDBFolder.cpp
git-svn-id: svn://10.0.0.236/trunk@30982 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:50:22 +00:00
putterman%netscape.com
3d181a2d58 Derive from nsMsgDBFolder.
git-svn-id: svn://10.0.0.236/trunk@30981 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:47:59 +00:00
putterman%netscape.com
1a2a4e1779 Separate db related folder code into separate class.
git-svn-id: svn://10.0.0.236/trunk@30980 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:47:07 +00:00
putterman%netscape.com
ffde4d0796 Remove db related functions.
git-svn-id: svn://10.0.0.236/trunk@30979 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:46:18 +00:00
scc%netscape.com
78eb0e9f7f temporarily commented out CallQueryInterface for UNIX, added NS_EXPORT for Windows
git-svn-id: svn://10.0.0.236/trunk@30978 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:43:29 +00:00
fur%netscape.com
8477318698 Small grammar fixes
git-svn-id: svn://10.0.0.236/trunk@30977 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:31:37 +00:00
locka%iol.ie
2f16290e45 Added some ifdefs to the source and makefile to optionally compile control support.
Plugin support works again (yay!)


git-svn-id: svn://10.0.0.236/trunk@30976 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:27:15 +00:00
sspitzer%netscape.com
adb40e7449 remove bogus comment. clean up the test code (a little).
git-svn-id: svn://10.0.0.236/trunk@30975 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:23:21 +00:00
sspitzer%netscape.com
68b6937fa2 more changes for getting GetNewNews to work
git-svn-id: svn://10.0.0.236/trunk@30974 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:22:17 +00:00
ftang%netscape.com
044bb123a8 add progid
git-svn-id: svn://10.0.0.236/trunk@30973 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:20:39 +00:00
ftang%netscape.com
9a78608d59 add nsHankakuToZenkaku.cpp
git-svn-id: svn://10.0.0.236/trunk@30972 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:19:47 +00:00
sspitzer%netscape.com
93cd9edfa9 add a comment
git-svn-id: svn://10.0.0.236/trunk@30971 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:18:40 +00:00
sspitzer%netscape.com
37892484c0 in 5.0, we don't have DBVIEWs
git-svn-id: svn://10.0.0.236/trunk@30970 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:18:15 +00:00
ftang%netscape.com
bd010a7b45 add progid. Add nsHankakuToZenkaku.h to the export list
git-svn-id: svn://10.0.0.236/trunk@30969 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:13:13 +00:00
bienvenu%netscape.com
2f7e1df5eb fix priority enum names
git-svn-id: svn://10.0.0.236/trunk@30968 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:08:18 +00:00
bienvenu%netscape.com
095b7a8476 add priority parsing util
git-svn-id: svn://10.0.0.236/trunk@30967 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:06:39 +00:00
bienvenu%netscape.com
879470695f fix head mask define
git-svn-id: svn://10.0.0.236/trunk@30966 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:06:12 +00:00
waldemar%netscape.com
60da05fa1e Moved language semantics files into subdirectories
git-svn-id: svn://10.0.0.236/trunk@30965 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:05:42 +00:00
waldemar%netscape.com
d4f8b80524 Added references, predefined sets of characters, and lexer state support
git-svn-id: svn://10.0.0.236/trunk@30964 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:04:53 +00:00
kipp%netscape.com
a36b592bda Disable mapping frames into text when they don't render properly until troy gets back....
git-svn-id: svn://10.0.0.236/trunk@30963 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:04:18 +00:00
waldemar%netscape.com
6b54a92b23 Added references and depict-styled-text
git-svn-id: svn://10.0.0.236/trunk@30962 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:03:07 +00:00
waldemar%netscape.com
e4d7c4ed7b Updated to match styles.css on documentation site
git-svn-id: svn://10.0.0.236/trunk@30961 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:02:22 +00:00
waldemar%netscape.com
a1ba12c4d3 Added headers, footers, document information, and reference stubs
git-svn-id: svn://10.0.0.236/trunk@30960 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 21:00:06 +00:00
waldemar%netscape.com
03c1a4e9af Added references, :wrap, :none
git-svn-id: svn://10.0.0.236/trunk@30959 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:58:56 +00:00
waldemar%netscape.com
5c3277e5fd Added references
git-svn-id: svn://10.0.0.236/trunk@30958 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:57:17 +00:00
waldemar%netscape.com
ea47d597c9 Added references, unfinished YACC input generator
git-svn-id: svn://10.0.0.236/trunk@30957 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:56:47 +00:00
waldemar%netscape.com
3ba2cdab5a Added references, default actions, combined rules
git-svn-id: svn://10.0.0.236/trunk@30956 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:55:59 +00:00
waldemar%netscape.com
ead436097a Added references, combined rules
git-svn-id: svn://10.0.0.236/trunk@30955 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:54:25 +00:00
morse%netscape.com
fa83640928 get wallet editor working again after someone changed behavior of docURL
git-svn-id: svn://10.0.0.236/trunk@30954 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:53:35 +00:00
waldemar%netscape.com
f546c6ff6b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30953 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:52:58 +00:00
mccabe%netscape.com
352a8137e2 _xpidlgen is now cvsignore'd globally; remove redundant per-directory references.
git-svn-id: svn://10.0.0.236/trunk@30952 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:52:47 +00:00
waldemar%netscape.com
af8ab6ca4b File Removed.
git-svn-id: svn://10.0.0.236/trunk@30951 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:50:37 +00:00
scc%netscape.com
9135e5202b conditionally factored destructor
git-svn-id: svn://10.0.0.236/trunk@30950 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:48:43 +00:00
scc%netscape.com
441182cd96 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30949 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:46:31 +00:00
dougt%netscape.com
c1431a1b2a Correcting the mac load lib name.
git-svn-id: svn://10.0.0.236/trunk@30948 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:42:06 +00:00
shaver%netscape.com
2ba0c5bcaa add _xpidlgen for mccabe
git-svn-id: svn://10.0.0.236/trunk@30947 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:32:02 +00:00
nhotta%netscape.com
5b80469b59 Allow 8 bit msg header/body by pref settings.
git-svn-id: svn://10.0.0.236/trunk@30946 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:22:24 +00:00
dougt%netscape.com
5ca2e34717 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30945 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:17:14 +00:00
dougt%netscape.com
64ef0f9000 Copied nsITestXPCFoo from xpconnect so that I did not have to include it.
git-svn-id: svn://10.0.0.236/trunk@30944 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:16:45 +00:00
dougt%netscape.com
3b9d5afdbf Getting it to compile on the mac.
git-svn-id: svn://10.0.0.236/trunk@30943 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:15:02 +00:00
waterson%netscape.com
f7be933e4c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30942 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:14:48 +00:00
saari%netscape.com
eef4d5cec6 Adding mac context menu files. These are not yet in the build
git-svn-id: svn://10.0.0.236/trunk@30941 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 20:14:05 +00:00
morse%netscape.com
0f572bdc40 fix enumerated type on cookie options
git-svn-id: svn://10.0.0.236/trunk@30940 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 19:42:01 +00:00
waterson%netscape.com
44ef77dda7 Ignore the _xpidlgen directory.
git-svn-id: svn://10.0.0.236/trunk@30939 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 19:31:34 +00:00
waterson%netscape.com
209ec495ea Ignore _xpidlgen directory.
git-svn-id: svn://10.0.0.236/trunk@30938 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 19:30:51 +00:00
karnaze%netscape.com
7ba719a0eb bug 6184 - reworked alogrithm for reallocating space to auto width columns.
git-svn-id: svn://10.0.0.236/trunk@30937 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 19:23:09 +00:00
karnaze%netscape.com
324feed56e new regression test cases
git-svn-id: svn://10.0.0.236/trunk@30936 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 19:21:43 +00:00
mcmullen%netscape.com
28267b3245 Clean up, and remove double linefeed at the end (which causes the Macintosh not to work).
git-svn-id: svn://10.0.0.236/trunk@30935 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 19:17:59 +00:00
mcmullen%netscape.com
37cca36814 Make the radio buttons work (they need to have a nonzero name, and they all need to have the same name).
git-svn-id: svn://10.0.0.236/trunk@30934 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 19:15:57 +00:00
waterson%netscape.com
f4b73b0d88 Automatically build .xpt's.
git-svn-id: svn://10.0.0.236/trunk@30933 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 18:55:00 +00:00
waterson%netscape.com
6af63cbf8d Generate RDF headers.
git-svn-id: svn://10.0.0.236/trunk@30932 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 18:51:20 +00:00
waterson%netscape.com
e7a1d0f4da Generate nsISupports.h, nsIEnumerator.h, and nsIFactory.h.
git-svn-id: svn://10.0.0.236/trunk@30931 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 18:50:41 +00:00
waterson%netscape.com
036e9ce44a Initial revision.
git-svn-id: svn://10.0.0.236/trunk@30930 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 18:49:55 +00:00
waterson%netscape.com
54f3c16dcd Enable XPIDL automation.
git-svn-id: svn://10.0.0.236/trunk@30929 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 18:49:20 +00:00
kipp%netscape.com
631b3496a9 new
git-svn-id: svn://10.0.0.236/trunk@30928 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 18:45:38 +00:00
slamm%netscape.com
8ed474cd27 Fix shift error that shows up on Solaris. Get DEPTH with perl.
git-svn-id: svn://10.0.0.236/trunk@30927 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 18:44:49 +00:00
danm%netscape.com
d4595d85a8 moving modal dialog code to one central location, where things won't be allocated and released in separate methods
git-svn-id: svn://10.0.0.236/trunk@30926 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 18:31:42 +00:00
norris%netscape.com
637113c2ba A statement like "var java;" was hiding the java package defined in the
shared global since we weren't looking up the prototype chain.


git-svn-id: svn://10.0.0.236/trunk@30925 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 18:09:49 +00:00
despotdaemon%netscape.com
66e4171d23 Pseudo-automatic update of changes made by sudu@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@30924 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 17:55:07 +00:00
bienvenu%netscape.com
a6a944fda1 add header file includes to work around vc bug
git-svn-id: svn://10.0.0.236/trunk@30923 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 17:39:23 +00:00
dougt%netscape.com
ef565e898b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30922 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 17:27:29 +00:00
dougt%netscape.com
591ace4cdf File Removed.
git-svn-id: svn://10.0.0.236/trunk@30921 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 17:27:13 +00:00
despotdaemon%netscape.com
641970eea5 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@30920 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 17:25:46 +00:00
terry%mozilla.org
b7ea203569 Netcenter is (apparently) getting upset about the blank line at the beginning of the XML we generate. Fine.
git-svn-id: svn://10.0.0.236/trunk@30919 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 16:39:55 +00:00
mccabe%netscape.com
030ae9c46b Comment fix to previous.
git-svn-id: svn://10.0.0.236/trunk@30918 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 10:20:41 +00:00
mccabe%netscape.com
d1f8a84799 Build the xpt_link and xpt_dump tools early so that they're available as part of the build process, and link them statically so we don't need the shared library path set to use them.
git-svn-id: svn://10.0.0.236/trunk@30917 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 10:17:54 +00:00
mcafee%netscape.com
63121d9c56 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@30916 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 08:52:59 +00:00
mcafee%netscape.com
0c55fb9a6d Skeleton timer test for gtk.
git-svn-id: svn://10.0.0.236/trunk@30915 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 08:52:04 +00:00
mcafee%netscape.com
054bd82c10 Attempting to turn xpconnect on for Solars/sparc and Solaris/intel.
git-svn-id: svn://10.0.0.236/trunk@30914 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 08:15:45 +00:00
mcafee%netscape.com
a3948e9888 Renaming nsQuickSort to NS_QuickSort so it doesn't look like a class name. r=brendan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@30913 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 06:47:04 +00:00
mcafee%netscape.com
90eaefc365 Ignore generated files.
git-svn-id: svn://10.0.0.236/trunk@30912 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 06:25:15 +00:00
mcafee%netscape.com
06560d83f0 Class nsprPath has been renamed to nsNSPRPath; straggler references were being converted with a typedef, this was confusing Solaris, so I'm converting all nsprPath references to the new name, hope that's Ok.
git-svn-id: svn://10.0.0.236/trunk@30910 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 05:34:26 +00:00
mccabe%netscape.com
03618b2831 Compile directly against the static libxpt.a lib, so we can use xpidl during the build without the shared library path being set.
git-svn-id: svn://10.0.0.236/trunk@30909 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 05:33:35 +00:00
mcafee%netscape.com
d6df9b3b1a Fixing Solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@30908 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 03:47:19 +00:00
beard%netscape.com
3d595b23e2 XP_MAC: improved nsDLL::Load() to not call PL_strlen() each time through a loop from 0 to the length of the string - 1.
git-svn-id: svn://10.0.0.236/trunk@30907 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 03:45:38 +00:00
karnaze%netscape.com
cf98d02097 bug 6161 - don't reinitialize mMarginWidth, mMarginHeight on doc load.
git-svn-id: svn://10.0.0.236/trunk@30906 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 02:34:17 +00:00
bienvenu%netscape.com
3be7bb6eea more work on search and filters, not part of build yet
git-svn-id: svn://10.0.0.236/trunk@30905 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 01:59:23 +00:00
bienvenu%netscape.com
f157bdce63 add error for filter parsing
git-svn-id: svn://10.0.0.236/trunk@30904 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 01:57:14 +00:00
beard%netscape.com
a34b7a8748 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30903 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-10 01:48:27 +00:00
evaughan%netscape.com
763761043c Fixed mac compile bug.
git-svn-id: svn://10.0.0.236/trunk@30902 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 22:18:09 +00:00
blizzard%redhat.com
bbd5f8df3c port of gtk's font code to xlib
git-svn-id: svn://10.0.0.236/trunk@30901 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 21:56:46 +00:00
evaughan%netscape.com
e56eb59472 Fixed xul boxes to implement nsIBox interface.
git-svn-id: svn://10.0.0.236/trunk@30900 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 21:46:24 +00:00
blizzard%redhat.com
b297cf4aa9 make sure to return NS_OK from Init()
git-svn-id: svn://10.0.0.236/trunk@30899 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 19:52:11 +00:00
valeski%netscape.com
f8a7755e7e shifted ftp error codes into their proper range
git-svn-id: svn://10.0.0.236/trunk@30898 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 19:25:59 +00:00
valeski%netscape.com
ea8d800a2d defined implicit ranges for error codes.
git-svn-id: svn://10.0.0.236/trunk@30897 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 19:25:20 +00:00
valeski%netscape.com
0452495ed6 Added correct error codes and misc touch up.
git-svn-id: svn://10.0.0.236/trunk@30896 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 19:24:37 +00:00
valeski%netscape.com
6e688bc539 Added Andreas' test program diffs for linux building. Also added an OpenOutputStream test to TestSocketIO.cpp.
git-svn-id: svn://10.0.0.236/trunk@30895 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 19:18:25 +00:00
ducarroz%netscape.com
ccae074641 removed rescued items that was breaking the build verification
git-svn-id: svn://10.0.0.236/trunk@30894 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 17:20:42 +00:00
beard%netscape.com
be55a3ef93 now correctly returns target file info, reads files from project Data directory, writes files to output directory, uses setjmp/longjmp to trap calls to exit().
git-svn-id: svn://10.0.0.236/trunk@30893 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 15:03:13 +00:00
beard%netscape.com
443b5cbf6a using setjmp/longjmp to trap calls to exit(), compiling .xpt files into project Data folder.
git-svn-id: svn://10.0.0.236/trunk@30892 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 15:00:31 +00:00
beard%netscape.com
cbbcaf3d63 using longjmp instead of throw
git-svn-id: svn://10.0.0.236/trunk@30891 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 14:59:15 +00:00
beard%netscape.com
d3d4c87c29 added version.rsrc to all targets
git-svn-id: svn://10.0.0.236/trunk@30890 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 14:58:54 +00:00
beard%netscape.com
9ef4b2ff6b moved version to version.rsrc
git-svn-id: svn://10.0.0.236/trunk@30889 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 14:58:30 +00:00
beard%netscape.com
36df78b049 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30888 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 14:58:00 +00:00
mccabe%netscape.com
7dbbcf01a9 Back out building xpidl with -static, because it breaks on some platforms. What's the XP way to do it?
git-svn-id: svn://10.0.0.236/trunk@30887 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 10:40:16 +00:00
mccabe%netscape.com
0d538b9973 Line-editing support for the standalone javascript interpreter on unixes. Propagating from the SpiderMonkeyDev_BRANCH.
None of this code is built as part of the Mozilla build.


git-svn-id: svn://10.0.0.236/trunk@30885 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 10:22:40 +00:00
mccabe%netscape.com
3a36b4d6de Fix to 6156.
Added $(EXTRA_DEPS) dependency to $(PROGRAM) in rules.mk, so xpidl can ask to be recompiled when libxpt changes.


git-svn-id: svn://10.0.0.236/trunk@30884 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 09:21:35 +00:00
mccabe%netscape.com
b09ca6f5e9 Give xpidl a Makefile.in that uses the rules.mk rules for $(PROGRAM) to build, toallow use of purify target. Be warned, it won't be pretty.
Build xpidl statically by adding -static (I hope it's XP; is there an alternative?) to LDFLAGS.  So that we can use it in the build without setting the shared library path.


git-svn-id: svn://10.0.0.236/trunk@30883 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 08:34:37 +00:00
mccabe%netscape.com
7eb7d470a3 Whenever XPIDLSRCS is defined, add _xpidlgen to $(GARBAGE) so it gets zorched by clobber.
git-svn-id: svn://10.0.0.236/trunk@30882 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 08:16:07 +00:00
briano%netscape.com
c2498bacab Automated update
git-svn-id: svn://10.0.0.236/trunk@30881 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 06:29:40 +00:00
mccabe%netscape.com
a85f5730f5 A slightly better test for overriding .h files with .idl files.
If foo.h is in the $(EXPORTS) list (rather than just in the same dir) warn that the .h we're generating from the .idl overrides the old .idl.


git-svn-id: svn://10.0.0.236/trunk@30880 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 06:26:05 +00:00
mcafee%netscape.com
9e02f95802 Checking for setvbuf(). Thanks to bert_driehuis@nl.compuware.com for helping with apprunner output.
git-svn-id: svn://10.0.0.236/trunk@30879 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 06:21:29 +00:00
beard%netscape.com
fb8c92e3f6 turned off modification date caching, so files will be regenerated if missing or out of date.
git-svn-id: svn://10.0.0.236/trunk@30878 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 03:32:22 +00:00
beard%netscape.com
9d727ffd91 NPL, using CWGetStoredObjectFileSpec() to get the location of each output file, instead of constructing from input file's name.
git-svn-id: svn://10.0.0.236/trunk@30877 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 03:27:07 +00:00
beard%netscape.com
622415764d NPL, removed Disassembly code (moved to linker), now using CWStoreObjectData() to associate output file with compilation. This lets CodeWarrior delete the file when objects are removed, and regenerate when file is deleted externally.
git-svn-id: svn://10.0.0.236/trunk@30876 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 03:27:05 +00:00
beard%netscape.com
ca17f751ce bumped version, changed Flags to latest CWPro4 format to use newer APIs.
git-svn-id: svn://10.0.0.236/trunk@30875 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 03:27:03 +00:00
beard%netscape.com
af9c6c0c43 bumped version
git-svn-id: svn://10.0.0.236/trunk@30874 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 03:27:01 +00:00
beard%netscape.com
1bd3a3590f cleaned up, removed non-essential code, NPL
git-svn-id: svn://10.0.0.236/trunk@30873 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 03:19:47 +00:00
beard%netscape.com
afa5b63cda NPL
git-svn-id: svn://10.0.0.236/trunk@30872 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-09 03:19:07 +00:00
beard%netscape.com
565ba1b287 added a "build all" target
git-svn-id: svn://10.0.0.236/trunk@30871 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 23:18:39 +00:00
beard%netscape.com
437cbb9c3e added version resources
git-svn-id: svn://10.0.0.236/trunk@30870 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 23:18:12 +00:00
syd%netscape.com
ed676036e3 Remove SetModal interface.
git-svn-id: svn://10.0.0.236/trunk@30869 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 23:14:35 +00:00
syd%netscape.com
072a998769 Cleaned up Create function. Make sure that variables are not NULL before use.
Also, don't free the "home" variable -- this will cause memory corruption the
second time Create is called and will result in weirdo behavior in Gtk+/Glib.
Implemented nsAppShell::GetNativeEvent, nsAppShell::DispatchNativeEvent,
and nsAppShell::EventIsForModalWindow.


git-svn-id: svn://10.0.0.236/trunk@30868 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 23:13:45 +00:00
syd%netscape.com
09bcdcf110 Remove SetModal() native implementation for Gtk+.
git-svn-id: svn://10.0.0.236/trunk@30867 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 23:09:44 +00:00
syd%netscape.com
545d301e74 Remove SetModal() native implementation.
git-svn-id: svn://10.0.0.236/trunk@30866 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 23:09:05 +00:00
syd%netscape.com
8440768e53 Remove nsBaseWidget::SetModal.
git-svn-id: svn://10.0.0.236/trunk@30865 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 23:08:23 +00:00
syd%netscape.com
7b7c563429 Remove native SetModal() call.
git-svn-id: svn://10.0.0.236/trunk@30864 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 23:07:10 +00:00
beard%netscape.com
e04346c294 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30863 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 23:05:34 +00:00
beard%netscape.com
04d7f021e2 changed raw calls to stat() to get_file_length(), and redefined get_file_length to mac_get_file_length when building as CodeWarrior plugin.
git-svn-id: svn://10.0.0.236/trunk@30862 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 23:01:09 +00:00
beard%netscape.com
fbd123e794 renamed get_args() to mac_get_args(), get_file_length redefined as mac_get_file_length when built as CodeWarrior plugin.
git-svn-id: svn://10.0.0.236/trunk@30861 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 23:00:07 +00:00
beard%netscape.com
4e2fbfd688 removed xpt_dump.c from compiler target, moved exclusively to linker target.
git-svn-id: svn://10.0.0.236/trunk@30860 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 22:58:42 +00:00
beard%netscape.com
d9281f10da added custom fopen, the only opens files in the output directory, added mac_get_file_length(), which is used in lieu of stat, turned on Disassembly function in linker.
git-svn-id: svn://10.0.0.236/trunk@30859 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 22:58:07 +00:00
beard%netscape.com
02adb03ae6 put in sanity checking of pref data, if its size is incorrect it reverts to factory settings.
git-svn-id: svn://10.0.0.236/trunk@30858 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 22:56:39 +00:00
beard%netscape.com
0601513322 added mac_get_file_length(), turned off disassembly (moved to linker)
git-svn-id: svn://10.0.0.236/trunk@30857 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 22:55:42 +00:00
beard%netscape.com
dd81dc1570 turned off the "cantDisassemble" bit, moving disassembly to the linker.
git-svn-id: svn://10.0.0.236/trunk@30856 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 22:54:23 +00:00
blizzard%redhat.com
7fad38d2cb more debugging output, start of some renderingcontext functions
git-svn-id: svn://10.0.0.236/trunk@30855 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 22:54:03 +00:00
mccabe%netscape.com
3c786e0f08 - fixed IDL_COMPILE (undefined!) to XPIDL_COMPILE
- made the make stop and error when XPIDLSRCS is defined but MODULE isn't.

- made the make warn when generating (from idl) a .h file that overrides an existing .h file.


git-svn-id: svn://10.0.0.236/trunk@30854 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 22:28:49 +00:00
rjc%netscape.com
3b7a54410b Yet another shot at fixing another Unix pedantic issue.
git-svn-id: svn://10.0.0.236/trunk@30853 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 21:47:49 +00:00
blizzard%redhat.com
f945bc345d enough debugging output to make a dozen squid omlets
git-svn-id: svn://10.0.0.236/trunk@30852 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 21:42:39 +00:00
beard%netscape.com
f58db6707c changed output field to use Str32Field type for alignment purposes (uses 34 bytes rather than 33).
git-svn-id: svn://10.0.0.236/trunk@30851 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 21:10:22 +00:00
dougt%netscape.com
913fa4cc71 Adding Proxy to the unix makefile
git-svn-id: svn://10.0.0.236/trunk@30850 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 21:10:18 +00:00
beard%netscape.com
5175cab5d4 changed default 'pref' resource to conform to size of XPIDLSettings struct (40 bytes)
git-svn-id: svn://10.0.0.236/trunk@30849 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 21:09:19 +00:00
rjc%netscape.com
f43e3e4bc8 Try fixing another Unix pedantic issue.
git-svn-id: svn://10.0.0.236/trunk@30848 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 21:07:18 +00:00
dougt%netscape.com
3f399ee46f Adding xpcom/proxy/* to the list.
git-svn-id: svn://10.0.0.236/trunk@30847 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 20:57:07 +00:00
dougt%netscape.com
d5c05860a5 hooking up proxy to the WINDOWS makefile
git-svn-id: svn://10.0.0.236/trunk@30846 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 20:55:24 +00:00
beard%netscape.com
c8805d06e6 using defined(XPIDL_PLUGIN) to determine when to rename main
git-svn-id: svn://10.0.0.236/trunk@30845 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 20:40:26 +00:00
beard%netscape.com
0374c26633 added XPIDL_PLUGIN macro, to distinguish when the code is being compiled as a CodeWarrior plugin.
git-svn-id: svn://10.0.0.236/trunk@30844 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 20:38:11 +00:00
beard%netscape.com
38b7d8e7ab changed link order in linker
git-svn-id: svn://10.0.0.236/trunk@30843 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 20:37:15 +00:00
beard%netscape.com
a723a84651 fixed a 'MENU' resource id conflict (128 is CodeWarrior IDE's Apple menu)
git-svn-id: svn://10.0.0.236/trunk@30842 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 20:36:56 +00:00
sspitzer%netscape.com
d516c21194 rename GetNewMail to GetNewMessages. Add support for GetNewNews() to the NntpService interface and implementation
git-svn-id: svn://10.0.0.236/trunk@30841 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 20:26:45 +00:00
rjc%netscape.com
3cf8a000fa Fix Unix pedantic issue. (hopefully)
git-svn-id: svn://10.0.0.236/trunk@30840 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 20:22:41 +00:00
karnaze%netscape.com
d9b78cc576 added vcard_name html attribute. Added GetVcardName in nsFormFrame.
git-svn-id: svn://10.0.0.236/trunk@30839 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 19:30:57 +00:00
sspitzer%netscape.com
e284ec2990 fix spelling mistake and wrap printf behind #ifdef DEBUG
git-svn-id: svn://10.0.0.236/trunk@30838 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 17:47:00 +00:00
sspitzer%netscape.com
a3592a48d4 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@30837 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 17:25:49 +00:00
sspitzer%netscape.com
0fd679a4e7 changes to get news working. specifically, these changes allow us to parase the xover line and stuff the header info into the right msf file, and then retrieve the right headers later.
git-svn-id: svn://10.0.0.236/trunk@30836 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 17:25:15 +00:00
beard%netscape.com
341bd05297 fixed breakage on platforms not defining OJI (linux?)
git-svn-id: svn://10.0.0.236/trunk@30835 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 17:24:43 +00:00
sspitzer%netscape.com
d86aefb15c kIsRead is now MSG_FLAG_READ
git-svn-id: svn://10.0.0.236/trunk@30834 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 17:23:30 +00:00
sspitzer%netscape.com
3001eeb027 kIsRead is now MSG_FLAG_READ, so we don't need this
git-svn-id: svn://10.0.0.236/trunk@30833 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 17:22:40 +00:00
sspitzer%netscape.com
106ab5c761 changes for GetLineCount().
we had SetLineCount(), but no GetLineCount().

news will be using GetMessageSize() and SetMessageSize(), but we'll have
the line count, in case we need it.


git-svn-id: svn://10.0.0.236/trunk@30832 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 17:02:19 +00:00
sspitzer%netscape.com
be7e601ec8 ignore the generated makefile
git-svn-id: svn://10.0.0.236/trunk@30831 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:59:42 +00:00
beard%netscape.com
b8dc72bdca changed map_jsj_thread_to_js_context_impl to use the plugin's instance peer2 to obtain the JSContext.
git-svn-id: svn://10.0.0.236/trunk@30830 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:48:05 +00:00
beard%netscape.com
d605957efd using the JSContext provided by JSObjectHandle wrappers. This forces all Java calls to work in the same JSContext, as specified by a particular JSObject. This may have to be changed, but it lets spontaneous calls from Java work for now.
git-svn-id: svn://10.0.0.236/trunk@30829 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:46:43 +00:00
beard%netscape.com
726ccc1e86 added optional Java applet object parameter to jsj_enter_js
git-svn-id: svn://10.0.0.236/trunk@30828 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:46:41 +00:00
beard%netscape.com
9785c47c77 added optional Java applet object parameter to jsj_enter_js, made cxp an in/out parameter, so caller can specify a JSContext
git-svn-id: svn://10.0.0.236/trunk@30827 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:46:40 +00:00
beard%netscape.com
640dfd6be4 added optional Java applet object parameter to map_jsj_thread_to_js_context callback.
git-svn-id: svn://10.0.0.236/trunk@30826 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:46:38 +00:00
beard%netscape.com
fa0b918b6c implemented NavigatorImpl::JavaEnabled()
git-svn-id: svn://10.0.0.236/trunk@30825 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:37:53 +00:00
beard%netscape.com
40ffb6fae1 added GetJSContext()
git-svn-id: svn://10.0.0.236/trunk@30824 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:33:40 +00:00
beard%netscape.com
f667d78822 XP_MAC: ensuring that clipRect field of nsPluginWindow is in port coordinates, per original plugin specification.
git-svn-id: svn://10.0.0.236/trunk@30823 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:33:10 +00:00
beard%netscape.com
5cc2778045 added "application/x-java-applet" as another MIME type for applets. These should be in a header file somewhere.
git-svn-id: svn://10.0.0.236/trunk@30822 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 15:19:06 +00:00
rjc%netscape.com
a6253f7bb8 While remote data starts streaming in, assert "loading"="true" attribute. When stream finishes, unassert it. Provide a "loading"="true" CSS style that sets the icon to be loading.gif
git-svn-id: svn://10.0.0.236/trunk@30821 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 12:42:33 +00:00
locka%iol.ie
f188285bc9 Added a directory picker so exe can be run from anywhere and still register the correct Mozilla dir
git-svn-id: svn://10.0.0.236/trunk@30820 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 12:10:26 +00:00
locka%iol.ie
5c1ddf8cd6 Made CBrowseDlg modeless so that multiple windows can be opened. Primarily for testing NewWindow2 event
git-svn-id: svn://10.0.0.236/trunk@30819 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 12:08:52 +00:00
locka%iol.ie
a8fb9e1931 no message
git-svn-id: svn://10.0.0.236/trunk@30818 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 12:07:03 +00:00
locka%iol.ie
2470f4c3c9 Added Advise, Unadvise methods for setting up event sinks
git-svn-id: svn://10.0.0.236/trunk@30817 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 12:06:31 +00:00
rjc%netscape.com
7a76db5798 Give the top-level XUL content folders pretty icons too!
git-svn-id: svn://10.0.0.236/trunk@30816 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 11:17:15 +00:00
rjc%netscape.com
76e7bc78ef Add refcnt'ing support in Element map for content nodes. (Not 100% if this is the right thing to do, but it does fix a crashing bug where the nodes are freed too early!)
git-svn-id: svn://10.0.0.236/trunk@30815 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 10:29:24 +00:00
rjc%netscape.com
0e4cca7ceb Fix hasAssertion() methods of FTP and Related Links datasources.
git-svn-id: svn://10.0.0.236/trunk@30814 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 10:18:01 +00:00
rjc%netscape.com
8f5268941f Fix history bug; if a URI doesn't have a title (for example, if we're loading in a GIF file), detect it and don't try to write out a bogus title.
git-svn-id: svn://10.0.0.236/trunk@30813 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 09:45:32 +00:00
rjc%netscape.com
ebd015fd4c Use nsFileSpec's GetCatInfo() instead of rolling our own.
git-svn-id: svn://10.0.0.236/trunk@30812 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 09:34:31 +00:00
rjc%netscape.com
a173b4775d Add extra checking to ensure that FindChildByTag() succeeds before using value.
git-svn-id: svn://10.0.0.236/trunk@30811 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 08:39:47 +00:00
briano%netscape.com
607f6ae160 Fix for AIX, Solaris, OSF/1, and probably others.
git-svn-id: svn://10.0.0.236/trunk@30810 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 06:24:27 +00:00
mcmullen%netscape.com
20cf886f19 Adapt to changed interface some more.
git-svn-id: svn://10.0.0.236/trunk@30809 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 02:22:41 +00:00
cmanske%netscape.com
bcf030efb6 Hooked up UI(menus) for setting font face and font size
git-svn-id: svn://10.0.0.236/trunk@30808 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 02:20:51 +00:00
mcmullen%netscape.com
5a6e014ba3 Adapt to changed interface.
git-svn-id: svn://10.0.0.236/trunk@30807 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 02:18:16 +00:00
mccabe%netscape.com
e565d8ace9 Build support for working with .idl files. Adding XPIDLSRCS to a Makefile.in exports the listed idl files to dist/idl, generates .h files to dist/include, and generates .xpt files, and links them to $(MODULE).xpt, in components.
git-svn-id: svn://10.0.0.236/trunk@30806 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 02:06:15 +00:00
mccabe%netscape.com
1b6455c0ff Build xpidl before export phase of any xpcom directory.
git-svn-id: svn://10.0.0.236/trunk@30805 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 01:57:37 +00:00
briano%netscape.com
cafb65ea40 Automated update
git-svn-id: svn://10.0.0.236/trunk@30804 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 01:44:39 +00:00
bruce%cybersight.com
e36ee8439e Conditionally adding PICS (extensions/pics/) to the unix build. Use --enable-pics with configure to turn it on and build it. Not called anywhere yet. Neeti is aware that I was doing this.
git-svn-id: svn://10.0.0.236/trunk@30803 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 01:43:41 +00:00
mcafee%netscape.com
e673411ec4 Adding support for dataFlavor cache: GetPredefinedDataFlavor().
git-svn-id: svn://10.0.0.236/trunk@30802 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 01:29:52 +00:00
ducarroz%netscape.com
cd2e7cf6b5 Create mPath when needed to avoid empty nsFileSpec on Mac.
git-svn-id: svn://10.0.0.236/trunk@30801 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 01:22:56 +00:00
mcmullen%netscape.com
3ac0828129 Fix nsFileSpec to take native paths in constructors and assignment operators. Fix += to work with relative paths on Macintosh. Remove dependency of nsFileSpec on streams (so that dp can move nsFileSpec).
git-svn-id: svn://10.0.0.236/trunk@30800 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 01:18:23 +00:00
mcmullen%netscape.com
e915d95584 These staged checkins can be tricky.
git-svn-id: svn://10.0.0.236/trunk@30799 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 00:57:57 +00:00
nisheeth%netscape.com
4e92a7e798 Adding support in line layout for the CSS "direction" property.
git-svn-id: svn://10.0.0.236/trunk@30798 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 00:48:39 +00:00
ftang%netscape.com
93bedd7e79 first check in
git-svn-id: svn://10.0.0.236/trunk@30797 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 00:23:47 +00:00
mcmullen%netscape.com
16b143d232 Updated a comment.
git-svn-id: svn://10.0.0.236/trunk@30796 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 00:21:46 +00:00
ftang%netscape.com
776f28c596 add new file
git-svn-id: svn://10.0.0.236/trunk@30795 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 00:20:49 +00:00
mcmullen%netscape.com
e5640cdde2 Added nsFileSpecStreaming.cpp
git-svn-id: svn://10.0.0.236/trunk@30794 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 00:20:37 +00:00
mcmullen%netscape.com
ff2d1f8d34 Added nsFileSpecStreaming.h
git-svn-id: svn://10.0.0.236/trunk@30793 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 00:20:15 +00:00
saari%netscape.com
672b06697f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30792 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 00:19:33 +00:00
ftang%netscape.com
e7010d2722 first add
git-svn-id: svn://10.0.0.236/trunk@30791 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 00:19:13 +00:00
dougt%netscape.com
50357945ca idl changed without me noticing. now everything is a PRInt32 instead of a int.
git-svn-id: svn://10.0.0.236/trunk@30790 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 00:12:49 +00:00
mscott%netscape.com
77d2d85ca4 For some reason we were linking against msgcore.lib. We didn't need to be.
git-svn-id: svn://10.0.0.236/trunk@30789 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 23:49:31 +00:00
cmanske%netscape.com
7c86b91ad3 Added insertLinkAroundSelection method to appcore
git-svn-id: svn://10.0.0.236/trunk@30788 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:27:26 +00:00
ducarroz%netscape.com
bb6e82d12f activate mailnews/imap and mailnews/news build instructions
git-svn-id: svn://10.0.0.236/trunk@30787 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:26:43 +00:00
cmanske%netscape.com
1dc89a2562 Implemented InsertLinkAroundSelection
git-svn-id: svn://10.0.0.236/trunk@30786 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:26:23 +00:00
dougt%netscape.com
629bb1b6e9 when I turned on both tests cases, I did not realize that I was deleting the
testcase arguments in both.  fixing.


git-svn-id: svn://10.0.0.236/trunk@30785 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:25:41 +00:00
pnunn%netscape.com
c23d4f5ad2 General clean up. Removed ifdef STANDALONE_IMAGE_LIB. pnunn.
git-svn-id: svn://10.0.0.236/trunk@30784 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:25:31 +00:00
ducarroz%netscape.com
f382292002 update project
git-svn-id: svn://10.0.0.236/trunk@30783 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:25:15 +00:00
pnunn%netscape.com
5e69001ea3 General clean up. Remove ifdef STANDALONE_IMAGE_LIB. pnunn.
git-svn-id: svn://10.0.0.236/trunk@30782 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:24:10 +00:00
rogerl%netscape.com
2f5eb038e6 Latest changes
git-svn-id: svn://10.0.0.236/trunk@30781 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:18:39 +00:00
dougt%netscape.com
8f068486d8 fixing warning message.
git-svn-id: svn://10.0.0.236/trunk@30780 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:12:25 +00:00
dougt%netscape.com
a6145ac97a Got linux to compile.
A few errors fix when handling IID.


git-svn-id: svn://10.0.0.236/trunk@30779 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:09:44 +00:00
amusil%netscape.com
f864044f56 Added object tag support for applets.
git-svn-id: svn://10.0.0.236/trunk@30778 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:07:58 +00:00
rogerl%netscape.com
b307b926e7 Latest changes
git-svn-id: svn://10.0.0.236/trunk@30777 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:07:22 +00:00
terry%mozilla.org
8455e35b97 Oops. Accounts created via the "createaccount.cgi" page were not
getting their password emailed to them.


git-svn-id: svn://10.0.0.236/trunk@30776 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:07:21 +00:00
amusil%netscape.com
1da8f68a76 Added support for Start/Stop Applet/Plugin lifetimes.
git-svn-id: svn://10.0.0.236/trunk@30775 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:06:47 +00:00
mcmullen%netscape.com
39540ee53b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30774 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:03:31 +00:00
rogerl%netscape.com
b84c4c40ea Forced conversion of result for I64 tests to int in call to printf. I
couldn't find a OS-independent format string for handling the I64.


git-svn-id: svn://10.0.0.236/trunk@30773 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:57:23 +00:00
mcmullen%netscape.com
1ca353c358 Add the intl project group.
git-svn-id: svn://10.0.0.236/trunk@30772 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:56:42 +00:00
mcmullen%netscape.com
c7718b063b Added the intl group to these scripts (why there are two identical scripts, is anybody's guess)
git-svn-id: svn://10.0.0.236/trunk@30771 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:51:35 +00:00
terry%mozilla.org
f5452c4495 Provide an option to tell mysql "set option SQL_BIG_TABLES=1". This
is necessary for very big queries, but it will slow things up some
otherwise.


git-svn-id: svn://10.0.0.236/trunk@30770 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:49:24 +00:00
rogerl%netscape.com
16db34e3f6 Fixed quad-word alignment issues, vTable layout problems.
git-svn-id: svn://10.0.0.236/trunk@30769 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:42:28 +00:00
dougt%netscape.com
2b5fd4e15c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30768 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:35:49 +00:00
mscott%netscape.com
b08b8631dd Fix unitialized memory read when we were parsing an imap url which didn't have anything after the host name.
git-svn-id: svn://10.0.0.236/trunk@30767 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:30:39 +00:00
mscott%netscape.com
3ea9ca4609 Register the event queue to fix the crash on start up.
git-svn-id: svn://10.0.0.236/trunk@30766 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:28:43 +00:00
mscott%netscape.com
421521b0b0 Build imap/build directory for linux.
git-svn-id: svn://10.0.0.236/trunk@30765 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:24:50 +00:00
rjc%netscape.com
8294ed32ec Don't compare nsCOMPtrs against nsnull.
git-svn-id: svn://10.0.0.236/trunk@30764 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:24:09 +00:00
mscott%netscape.com
2c219e2ee5 Build all the imap directories on linux.
git-svn-id: svn://10.0.0.236/trunk@30763 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:23:27 +00:00
sfraser%netscape.com
a8426a9a9b Added the cfmAlias resource files, and set the Library Folder ID in the PEF settings accordingly (alias ID 128 for debug, 129 for opt).
git-svn-id: svn://10.0.0.236/trunk@30762 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:23:08 +00:00
mscott%netscape.com
7684affccc Build the imap library.
git-svn-id: svn://10.0.0.236/trunk@30761 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:23:07 +00:00
mscott%netscape.com
fc23073a8c Build imap on Linux.
git-svn-id: svn://10.0.0.236/trunk@30760 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:22:24 +00:00
sfraser%netscape.com
accf0d3a0f Put libraries in the "Essential Files" folder. Also moved the horrible
MacConfig.h hack closer to the config MANIFEST, so that cancelling
the dist is less likely to screw you over.


git-svn-id: svn://10.0.0.236/trunk@30759 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:22:12 +00:00
mscott%netscape.com
44bba06833 Build imap on linux.
git-svn-id: svn://10.0.0.236/trunk@30758 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:22:02 +00:00
mscott%netscape.com
c54db0ef99 Changes to build test app on Linux.
git-svn-id: svn://10.0.0.236/trunk@30757 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:20:41 +00:00
rjc%netscape.com
ca7523bd75 First cut at adding template and rule support for XUL builders.
git-svn-id: svn://10.0.0.236/trunk@30756 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:20:33 +00:00
sfraser%netscape.com
1d13b431ff First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30755 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:20:23 +00:00
mscott%netscape.com
4d2f63ed42 Changes to get the test app to build on linux.
git-svn-id: svn://10.0.0.236/trunk@30754 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:20:21 +00:00
mscott%netscape.com
e4ba1b61cb Quiet compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@30753 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:19:39 +00:00
mscott%netscape.com
a3a8d6346b Quiet compiler warnings in preparation of turning imap on for Linux.
git-svn-id: svn://10.0.0.236/trunk@30752 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:19:11 +00:00
mjudge%netscape.com
e5dca2de32 2 more checkins to follow previous ones
git-svn-id: svn://10.0.0.236/trunk@30751 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:19:04 +00:00
mscott%netscape.com
7cbcbad07d Quiet compiler warnings on Linux.
git-svn-id: svn://10.0.0.236/trunk@30750 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:18:45 +00:00
mscott%netscape.com
03a86fd4e2 Correct signatures for several functions on the imap folder. They weren't matching up with the base class signatures (GetSize, GetPrettyName and RememberPassword). Quiet some compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@30749 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:18:06 +00:00
mjudge%netscape.com
aa270a2af0 forgot checkin
git-svn-id: svn://10.0.0.236/trunk@30748 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:17:59 +00:00
mscott%netscape.com
51d686e82a Fix signed/unsigned mismatches to quiet compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@30747 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:16:48 +00:00
mscott%netscape.com
1d3ea409ad Quiet compiler warnings in preparation of turning on imap for linux.
git-svn-id: svn://10.0.0.236/trunk@30746 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:16:01 +00:00
mscott%netscape.com
b92afa9941 Quiet compiler warnings in prepration of turning on imap for Linux.
git-svn-id: svn://10.0.0.236/trunk@30745 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:15:01 +00:00
mjudge%netscape.com
644a9e449d massive checkin for selection modifications and removing static state variables for selection in nsFrame.h.
git-svn-id: svn://10.0.0.236/trunk@30744 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:12:59 +00:00
jband%netscape.com
cb1e737493 updating status - added Digital Unix and notes on PPC code
git-svn-id: svn://10.0.0.236/trunk@30743 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:01:29 +00:00
jband%netscape.com
9488a85fd6 changing wchar_t to PRUnichar because wchar_t is 32bits on some machines (Solaris) and PRUnichar is what we really mean anyway
git-svn-id: svn://10.0.0.236/trunk@30742 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 21:00:29 +00:00
rods%netscape.com
498347e56a Fixed strict cast on HDROP
git-svn-id: svn://10.0.0.236/trunk@30741 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:38:11 +00:00
kmcclusk%netscape.com
4b50dd6645 bug #3547- Modified nsFileControlFrame.cpp to call nsFormFrame::AddFormControlFrame.
bug #5589. Selection area is now calculated using the inherited Reflow rather
than using the calculations used for the native listbox control.
Fixed varous other rendering bugs related to frame-based listboxes.
bug #2797. GetSize is no longer needed in nsListControlFrame and it has been removed.
Fixed frame-based combobox nsComboboxFrame so that will set it's label to the
first option in the drop-down list if a default value has not been specified.
Added optgroup style rules to ua.css. Opt groups now render, but there are remaining
problems with selection.
Modified nsButtonControlFrame::Reflow to call nsFormFrame::AddFormControlFrame.
This fixes a bug where Gfx-rendered submit button's were not working.
Refactored code in nsListControlFrame in preparation for supporting option groups.
Refactored selection code into SingleSelect and MultiSelect paths.
Removed unused code in nsListControlFrame.
Removed mSelectedFrame member variable. It is no longer needed.
Fixed nsListControlFrame::SetProperty so that it will toggle the selection in a
single select listbox.


git-svn-id: svn://10.0.0.236/trunk@30740 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:30:16 +00:00
dougt%netscape.com
23699fecac enabling all (of two) tests cases.
git-svn-id: svn://10.0.0.236/trunk@30739 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:27:02 +00:00
putterman%netscape.com
1b1153446e use GetParent().
git-svn-id: svn://10.0.0.236/trunk@30738 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:22:14 +00:00
putterman%netscape.com
df220ae1d7 use SetParent()
git-svn-id: svn://10.0.0.236/trunk@30737 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:22:01 +00:00
putterman%netscape.com
290f448119 Write folder parent functions.
git-svn-id: svn://10.0.0.236/trunk@30736 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:21:47 +00:00
putterman%netscape.com
beed2b493b use GetParent()
git-svn-id: svn://10.0.0.236/trunk@30735 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:21:25 +00:00
putterman%netscape.com
d6bd758bcb Added folder parent functions.
git-svn-id: svn://10.0.0.236/trunk@30734 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:21:09 +00:00
dougt%netscape.com
0e115d745b moving build to install stage.
git-svn-id: svn://10.0.0.236/trunk@30733 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:21:04 +00:00
mcmullen%netscape.com
be374d0843 Add another helpful log message.
git-svn-id: svn://10.0.0.236/trunk@30732 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:18:26 +00:00
mscott%netscape.com
3bd707e286 part of mailnews audit --> use nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@30731 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:15:18 +00:00
kmcclusk%netscape.com
7ea64892c0 Fix for Bug #2115 Modified nsStringUtil.h as suggested in Bugzilla.
Fix for Bug #4219 Fix for scribble. Removed NET_PollSockets()
call from AfterDispatch. Scribble works now under WIN32.


git-svn-id: svn://10.0.0.236/trunk@30730 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:14:16 +00:00
rods%netscape.com
826d08429a Added nsISupportArray include
git-svn-id: svn://10.0.0.236/trunk@30729 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:11:46 +00:00
dougt%netscape.com
a2f6f179af removing unused class and reference to unused header.
git-svn-id: svn://10.0.0.236/trunk@30728 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:09:31 +00:00
dougt%netscape.com
7f1364de4e removing stuff that is throw away.
git-svn-id: svn://10.0.0.236/trunk@30727 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:07:50 +00:00
rods%netscape.com
f5784f6daf Removed methods and put them in nsIDragSession.h
git-svn-id: svn://10.0.0.236/trunk@30726 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:04:43 +00:00
dougt%netscape.com
a539b0b3d7 Landing xpcom proxies.
git-svn-id: svn://10.0.0.236/trunk@30725 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 20:01:37 +00:00
rods%netscape.com
18f06a678e fixed DragService creation
git-svn-id: svn://10.0.0.236/trunk@30724 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:59:02 +00:00
rods%netscape.com
78fec262eb Some lcean up and error checking
git-svn-id: svn://10.0.0.236/trunk@30723 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:56:30 +00:00
waterson%netscape.com
388fd1ede2 nsISupportsArray hackery.
git-svn-id: svn://10.0.0.236/trunk@30722 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:56:19 +00:00
rods%netscape.com
8f8384a9aa Added file drop support
git-svn-id: svn://10.0.0.236/trunk@30721 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:55:45 +00:00
waterson%netscape.com
355b73b9d5 #include nsIEnumerator, because the decl of nsISimpleEnumerator has moved there.
git-svn-id: svn://10.0.0.236/trunk@30720 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:55:44 +00:00
rods%netscape.com
d309aaf2fa Changed DragService and added nsDragSession
git-svn-id: svn://10.0.0.236/trunk@30719 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:55:00 +00:00
pinkerton%netscape.com
1e25ca6d91 create a drag service.
git-svn-id: svn://10.0.0.236/trunk@30718 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:52:44 +00:00
pinkerton%netscape.com
78c4c17bcf new drag session interface and lots of work to get d&d going.
git-svn-id: svn://10.0.0.236/trunk@30717 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:52:15 +00:00
waterson%netscape.com
912c60be63 Removed double-declaration of nsISupports: we #include nsISupportsArray now.
git-svn-id: svn://10.0.0.236/trunk@30716 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:52:13 +00:00
pinkerton%netscape.com
72e65dab91 work for new drag session interface.
git-svn-id: svn://10.0.0.236/trunk@30715 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:51:50 +00:00
pnunn%netscape.com
6af8682ced Here we go again. This was checked in/then backed out yesterday.
Its just updating the pngconf.h file to current png version in moz.
refer to bug#5841. pnunn


git-svn-id: svn://10.0.0.236/trunk@30714 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:46:38 +00:00
law%netscape.com
9dd0d1b6ee Renamed one component and added a sample
git-svn-id: svn://10.0.0.236/trunk@30713 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:45:34 +00:00
sfraser%netscape.com
c35d47193b Add nsInsertHTMLTxn.cpp for akkana.
git-svn-id: svn://10.0.0.236/trunk@30712 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:43:36 +00:00
rods%netscape.com
3668cb6393 Changed code to use the new DragSession interface
git-svn-id: svn://10.0.0.236/trunk@30711 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:42:27 +00:00
rods%netscape.com
7019b0e7c6 Added ifdef for installing DragListener
git-svn-id: svn://10.0.0.236/trunk@30710 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:41:32 +00:00
rods%netscape.com
220cb361cc Removed static IID defs and am now using GetIID from the interface
git-svn-id: svn://10.0.0.236/trunk@30709 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:39:58 +00:00
rods%netscape.com
3c29f31a25 Added nsInsertHTMLTxn
git-svn-id: svn://10.0.0.236/trunk@30708 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:38:53 +00:00
jdunn%netscape.com
1298da0ca8 add newline to end of file. HP requires it
git-svn-id: svn://10.0.0.236/trunk@30707 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:38:26 +00:00
jdunn%netscape.com
0fa77feb6f Add newline to end of file. HP chokes without it.
git-svn-id: svn://10.0.0.236/trunk@30706 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:37:48 +00:00
law%netscape.com
0a79567556 Tweaking initializer code so it still works with appcores
git-svn-id: svn://10.0.0.236/trunk@30705 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:37:21 +00:00
law%netscape.com
dada8f173d Synching with .idl file and fixing Stop button in the process
git-svn-id: svn://10.0.0.236/trunk@30704 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:35:52 +00:00
jband%netscape.com
84a3cb16e6 removing my system for building xpidl files - waterson came up with a superior scheme
git-svn-id: svn://10.0.0.236/trunk@30703 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:32:10 +00:00
beard%netscape.com
a537bf43de Fixes bug #1177, where text gets drawn over itself in long documents.
git-svn-id: svn://10.0.0.236/trunk@30702 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:29:59 +00:00
kipp%netscape.com
cc948abd27 Implement support for SetEnableRendering/GetEnableRendering
git-svn-id: svn://10.0.0.236/trunk@30701 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:26:23 +00:00
kipp%netscape.com
8bb7890749 Pass on SetRendering call to the content viewer if we have one
git-svn-id: svn://10.0.0.236/trunk@30700 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:25:58 +00:00
kipp%netscape.com
74b8de1a8b Added Set/Get enable-rendering method
git-svn-id: svn://10.0.0.236/trunk@30699 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:25:41 +00:00
slamm%netscape.com
d6e9860cfb QA wants the smoke tests to be the first thing you see (bug #6038).
git-svn-id: svn://10.0.0.236/trunk@30698 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:25:13 +00:00
akkana%netscape.com
0d82dd7ce3 Make Insert HTML a transaction
git-svn-id: svn://10.0.0.236/trunk@30697 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:23:17 +00:00
akkana%netscape.com
93cc772d77 Middle-mouse paste; also, fix a bunch of warnings
git-svn-id: svn://10.0.0.236/trunk@30696 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:22:38 +00:00
fur%netscape.com
7cf04a2482 Include jsosdep.h for JS_HAS_LONG_LONG flag
git-svn-id: svn://10.0.0.236/trunk@30695 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:20:53 +00:00
akkana%netscape.com
39604be7ee Add nsInsertHTMLTxn
git-svn-id: svn://10.0.0.236/trunk@30694 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:20:40 +00:00
akkana%netscape.com
d5ac952adc Make NS_ASSERTION and DebugBreak not crash on Unix
git-svn-id: svn://10.0.0.236/trunk@30693 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:20:12 +00:00
neeti%netscape.com
bb290ab72f Fix for bug 6099
git-svn-id: svn://10.0.0.236/trunk@30692 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:14:49 +00:00
mike%neoplanet.com
423cae3c82 Modified handling of Cancel flag sent to BeforeNavigate2 from BeginLoadURL. Previously function called aShell->Stop() which was ineffective. Changed function to return NS_ERROR_ABORT.
git-svn-id: svn://10.0.0.236/trunk@30691 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 14:23:54 +00:00
mike%neoplanet.com
e8dae5bfd7 Added code to prevent navigating to the default page, except when in design mode.
git-svn-id: svn://10.0.0.236/trunk@30690 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 14:18:23 +00:00
rods%netscape.com
24b4dda246 Changed GetFileList from nsVoidArray ** to nsVoidArray *
It now copies it contents instead of giving you a pointer to it


git-svn-id: svn://10.0.0.236/trunk@30689 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 14:14:48 +00:00
rods%netscape.com
ca233492c2 Added the Equals method
git-svn-id: svn://10.0.0.236/trunk@30688 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 14:13:09 +00:00
rods%netscape.com
18c272b748 Initial checkin
git-svn-id: svn://10.0.0.236/trunk@30687 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 14:07:51 +00:00
bruce%cybersight.com
0669aa2ebf This MUST be fixed in some other way. This is a temporary fix for the HP build bustage that Warren okayed as this code isn't in use elsewhere. This is just commenting out the bad code, not fixing it.
git-svn-id: svn://10.0.0.236/trunk@30686 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 08:08:21 +00:00
ramiro%netscape.com
e0a38cc61a Resurrect.
git-svn-id: svn://10.0.0.236/trunk@30685 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 07:35:36 +00:00
bruce%cybersight.com
fb57e2442f Fix unix build for PICS after the landing from neeti.
git-svn-id: svn://10.0.0.236/trunk@30684 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 07:34:15 +00:00
bruce%cybersight.com
24c92b5a5c Fixes for event queue changes. Still crash because of clipboard problems.
git-svn-id: svn://10.0.0.236/trunk@30683 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 06:48:55 +00:00
warren%netscape.com
40cb5e5fad Removed size args from nsIAllocator Realloc and Free. Now nsPageMgr keeps track of sizes for its nsIAllocator interface.
git-svn-id: svn://10.0.0.236/trunk@30682 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 06:22:11 +00:00
sfraser%netscape.com
02cc12bd76 For some strange reason, the string for editor type was undefined as is. I changed it to a literal.
git-svn-id: svn://10.0.0.236/trunk@30681 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:43:51 +00:00
neeti%netscape.com
4a7d7bd6e4 Landing PICS
git-svn-id: svn://10.0.0.236/trunk@30680 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:32:31 +00:00
sfraser%netscape.com
92116281fc Export Editor.css to resources.
git-svn-id: svn://10.0.0.236/trunk@30679 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:32:06 +00:00
warren%netscape.com
5a91699fa3 Found out that this needs to do autoregistration to work (because it needs raptorbase).
git-svn-id: svn://10.0.0.236/trunk@30678 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:30:30 +00:00
neeti%netscape.com
c8845d4a59 enabling PICS to be built
git-svn-id: svn://10.0.0.236/trunk@30677 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:28:59 +00:00
sfraser%netscape.com
76dcbace6f Fix a case typo in a header file name.
git-svn-id: svn://10.0.0.236/trunk@30676 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:26:50 +00:00
neeti%netscape.com
7531468705 Landing PICS
git-svn-id: svn://10.0.0.236/trunk@30675 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:26:41 +00:00
neeti%netscape.com
e7d2323646 landing pics
git-svn-id: svn://10.0.0.236/trunk@30674 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:26:13 +00:00
neeti%netscape.com
284fe20f2b Exporting NS_NewHTMLNullSink() and adding NS_INIT_REFCNT to the constructor.
git-svn-id: svn://10.0.0.236/trunk@30673 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:22:37 +00:00
harishd%netscape.com
bc43b1fffe Exporting nsIElementObserver.h
git-svn-id: svn://10.0.0.236/trunk@30672 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:18:37 +00:00
harishd%netscape.com
eef4c0b512 Added support to Notify PICS and CHARSET
git-svn-id: svn://10.0.0.236/trunk@30671 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:17:40 +00:00
briano%netscape.com
c6b465dd0b Converted 'true' to 'PR_TRUE' so it'll build on Unix.
git-svn-id: svn://10.0.0.236/trunk@30670 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:17:30 +00:00
harishd%netscape.com
a15328cfbc Enabled the RegisterObserver() to Create an Observer Dictionary.
git-svn-id: svn://10.0.0.236/trunk@30669 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:16:30 +00:00
harishd%netscape.com
9e5a91a649 Setting document key to the parsercontext.
git-svn-id: svn://10.0.0.236/trunk@30668 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:13:33 +00:00
harishd%netscape.com
545bc294b4 Modified the Notify() method. Changed nsString* to PRUnichar*.
git-svn-id: svn://10.0.0.236/trunk@30667 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:12:04 +00:00
sfraser%netscape.com
9d1696fc0b Fix for charset handling in HTML output (r kostello)
git-svn-id: svn://10.0.0.236/trunk@30666 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:03:48 +00:00
sfraser%netscape.com
ebe41203f5 Implement Save, Save As in editor.
git-svn-id: svn://10.0.0.236/trunk@30665 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:02:35 +00:00
sfraser%netscape.com
eea6214816 Implement nsIDiskDocument interface for editable documents.
git-svn-id: svn://10.0.0.236/trunk@30664 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 04:59:23 +00:00
sfraser%netscape.com
f6c7ec8177 Export nsIDiskDocument.h
git-svn-id: svn://10.0.0.236/trunk@30663 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 04:55:40 +00:00
sfraser%netscape.com
e048961768 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30662 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 04:55:18 +00:00
sfraser%netscape.com
8267e60380 If you don't get an nsIFileWidget, don't just go ahead and call methods on it.
git-svn-id: svn://10.0.0.236/trunk@30661 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 04:54:43 +00:00
pierre%netscape.com
5c08fafa37 Performance: use GetSpaceWidth() / removed mOriginalClipRegion and replaced it with mMainRegion.
Cleanup: merged SetClipRectInPixels() into SetClipRect() and removed one of the GraphicState constructors.


git-svn-id: svn://10.0.0.236/trunk@30660 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 04:10:38 +00:00
pierre%netscape.com
5ba2fff630 Removed mOriginalClipRegion: it was in fact equivalent to mMainRegion.
git-svn-id: svn://10.0.0.236/trunk@30659 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 04:10:04 +00:00
pierre%netscape.com
8d46c740bd Performance improvement: added GetSpaceWidth()
git-svn-id: svn://10.0.0.236/trunk@30658 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 04:02:59 +00:00
pierre%netscape.com
8cef2830ab Fix scrolling bug with test11. Clip out the siblings from the main window region as well as its visible region.
git-svn-id: svn://10.0.0.236/trunk@30657 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 04:00:57 +00:00
alecf%netscape.com
abe1512581 don't dereference aContext without checking for null
git-svn-id: svn://10.0.0.236/trunk@30656 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 03:08:02 +00:00
briano%netscape.com
78baed957e Automated update
git-svn-id: svn://10.0.0.236/trunk@30655 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 02:38:41 +00:00
briano%netscape.com
45fc878d7e Fix for the Solaris WorkShop compiler builds.
git-svn-id: svn://10.0.0.236/trunk@30654 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 02:38:16 +00:00
dougt%netscape.com
8a2291ac1d adding the tests directory back into the build. (thanks warren)
git-svn-id: svn://10.0.0.236/trunk@30653 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 02:37:19 +00:00
briano%netscape.com
833f641f5b Automated update
git-svn-id: svn://10.0.0.236/trunk@30652 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 02:29:41 +00:00
sspitzer%netscape.com
5778197a76 move some code over from 4.x to get nntpTest to parse the xover line.
fix my shadowing of the name variable.  (doh!)


git-svn-id: svn://10.0.0.236/trunk@30651 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 02:28:06 +00:00
briano%netscape.com
55a78440b5 Minor reorg.
git-svn-id: svn://10.0.0.236/trunk@30650 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 02:26:56 +00:00
briano%netscape.com
1e836dfda9 Changed the reference to 'false' to 'PR_FALSE' so it'll build on Unix.
git-svn-id: svn://10.0.0.236/trunk@30649 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 02:21:43 +00:00
cmanske%netscape.com
c7e403b56c Fixed infinite loop in dialog Cancel hander
git-svn-id: svn://10.0.0.236/trunk@30648 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 01:54:38 +00:00
jband%netscape.com
809d970fe8 checking in generated versions of these xpcom headers. soon we will be generating these at compile time. Sources for these files are in xpcom/idl. They are regenerated from those files using xpidl -m header filename.idl
git-svn-id: svn://10.0.0.236/trunk@30647 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 01:45:20 +00:00
vidur%netscape.com
d3101412a1 Fix for bug 6069. The ownerDocument for a Document node is now null.
git-svn-id: svn://10.0.0.236/trunk@30646 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 01:30:30 +00:00
dougt%netscape.com
7940e684ed Removing "Recovered Files" folder which cause a build bustage.
git-svn-id: svn://10.0.0.236/trunk@30645 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 01:19:14 +00:00
mcafee%netscape.com
cd970a5175 Fixed crash; toolbar buttons need to be specified in a css file now? toolbar buttons still blank.
git-svn-id: svn://10.0.0.236/trunk@30644 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:57:19 +00:00
rickg%netscape.com
d12395bee4 also removed a debug define
git-svn-id: svn://10.0.0.236/trunk@30643 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:48:04 +00:00
mscott%netscape.com
b0b5a55400 part of mailnews audit --> use nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@30642 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:47:33 +00:00
rickg%netscape.com
0facb99345 fixed an error subsuming autostrings, and removed an AIX warning
git-svn-id: svn://10.0.0.236/trunk@30641 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:47:24 +00:00
dougt%netscape.com
70e0ee40fb Adding missing files. :-)
These files were on the branch but never made it to the tip.


git-svn-id: svn://10.0.0.236/trunk@30640 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:47:09 +00:00
cmanske%netscape.com
a762d8c6c5 More improvements to insert link and insert image dialogs. Added EdDialogCommon.js, where we should put java script used by all dialogs
git-svn-id: svn://10.0.0.236/trunk@30639 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:44:46 +00:00
mscott%netscape.com
99e982bf7f part of mailnews audit --> use nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@30638 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:42:18 +00:00
mscott%netscape.com
8f801b1baa formatting changes.
git-svn-id: svn://10.0.0.236/trunk@30637 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:40:03 +00:00
putterman%netscape.com
507bc3bc42 Reimplemented GetNewMail to use GetNewMessages.
git-svn-id: svn://10.0.0.236/trunk@30636 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:35:58 +00:00
putterman%netscape.com
b1822e7fbb HasMessage implemented.
git-svn-id: svn://10.0.0.236/trunk@30635 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:35:26 +00:00
putterman%netscape.com
9903f1f25f HasMessage and GetNewMessages implemented.
git-svn-id: svn://10.0.0.236/trunk@30634 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:34:50 +00:00
putterman%netscape.com
d0abbdc97f HasMessage added.
git-svn-id: svn://10.0.0.236/trunk@30633 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:34:22 +00:00
putterman%netscape.com
66b13852fd ContainsKey added and now remove header before notifying observers about delete.
git-svn-id: svn://10.0.0.236/trunk@30632 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:33:56 +00:00
putterman%netscape.com
1515c01c70 ContainsKey added.
git-svn-id: svn://10.0.0.236/trunk@30631 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:33:29 +00:00
putterman%netscape.com
d9ebb90538 GetNewMessages and HasMessage are implemented.
git-svn-id: svn://10.0.0.236/trunk@30630 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:33:06 +00:00
putterman%netscape.com
468c57bd39 GetNewMessages and HasAssertions are implemented.
git-svn-id: svn://10.0.0.236/trunk@30629 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:32:36 +00:00
putterman%netscape.com
a1a1602e52 Added GetTargetHasAssertion, GetNewMessages and use string instead of ints for
property names.


git-svn-id: svn://10.0.0.236/trunk@30627 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:32:10 +00:00
putterman%netscape.com
7f08f427df Add HasMessage and GetNewMessages
git-svn-id: svn://10.0.0.236/trunk@30626 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:29:56 +00:00
bienvenu%netscape.com
f9fc229e6a search session class
git-svn-id: svn://10.0.0.236/trunk@30625 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:29:11 +00:00
bienvenu%netscape.com
55559561c7 initial entry into cvs of searching and filter interfaces, not part of build
git-svn-id: svn://10.0.0.236/trunk@30624 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:28:35 +00:00
alecf%netscape.com
9459fd962d remove call to GetRootFolderPath
git-svn-id: svn://10.0.0.236/trunk@30623 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:27:24 +00:00
nisheeth%netscape.com
da218a6873 Implement LoadDocument(), a new method that is part of the nsIWebShellServices interface.
git-svn-id: svn://10.0.0.236/trunk@30621 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:21:57 +00:00
morse%netscape.com
22760c6401 take advantage of vcard attribute when submitting forms
git-svn-id: svn://10.0.0.236/trunk@30620 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:18:57 +00:00
jband%netscape.com
fe442ed8d5 pare down to the idl files that really work. Some can be resurrected later. Many require interface changes with deeper implications. These are the base interfaces that we really need to have xpconnectable at this point
git-svn-id: svn://10.0.0.236/trunk@30619 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:17:58 +00:00
mscott%netscape.com
cb87b8cb39 Fix mismatched delete.
git-svn-id: svn://10.0.0.236/trunk@30618 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:13:10 +00:00
danm%netscape.com
4b6ae01c3e remove button image bug workaround, add xul namespace workaround
git-svn-id: svn://10.0.0.236/trunk@30617 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:12:18 +00:00
bienvenu%netscape.com
9796a3960b use nsCOMPtr for dbFolderInfo
git-svn-id: svn://10.0.0.236/trunk@30616 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:12:16 +00:00
mscott%netscape.com
e49cb9e297 part of mailnews audit --> use nsCOMPtr.
part of mailnews audit --> Conversion to NS_WITH_SERVICE


git-svn-id: svn://10.0.0.236/trunk@30615 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:11:43 +00:00
mcafee%netscape.com
165820e4ec Adding two dialog tests, courtesy danm@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@30614 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:11:30 +00:00
bienvenu%netscape.com
b32ce97e96 fix ref counting problems, write code for deleteing a header from a thread
git-svn-id: svn://10.0.0.236/trunk@30613 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:11:18 +00:00
sspitzer%netscape.com
feea7a837d create the necessary news related directories, if they don't exist
git-svn-id: svn://10.0.0.236/trunk@30612 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:10:55 +00:00
alecf%netscape.com
55a721b1ac use nsCOMPtr and fix ownership model of account manager
git-svn-id: svn://10.0.0.236/trunk@30611 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:10:20 +00:00
sspitzer%netscape.com
73ccf7840c make nntpTest work again. (following mscott's fix for #5991)
git-svn-id: svn://10.0.0.236/trunk@30610 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:10:14 +00:00
sspitzer%netscape.com
3ba3c0cafc check for existence before NS_ADDREFing.
this was causing a crash in smtpTest, pop3Test and nntpTest, where we
weren't registering the EventQueue component.

also, make these destructors virtual.


git-svn-id: svn://10.0.0.236/trunk@30609 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:09:46 +00:00
alecf%netscape.com
3a02ec39a7 use nsCOMPtr and fix up ownership model in account manager
git-svn-id: svn://10.0.0.236/trunk@30608 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:09:08 +00:00
vidur%netscape.com
84b015a4c2 Added precaching of images for script constructed images.
git-svn-id: svn://10.0.0.236/trunk@30607 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:08:21 +00:00
vidur%netscape.com
c7928d2921 Fix for bug 2989 - correcting result of GetFrameForPoint.
git-svn-id: svn://10.0.0.236/trunk@30606 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:08:02 +00:00
alecf%netscape.com
873f20f2f9 use nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@30605 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:07:58 +00:00
sspitzer%netscape.com
3c6ccd4c20 don't do fprintf(stderr,)
turn this on for all platforms, as it is useful to figure out why
profiles aren't working


git-svn-id: svn://10.0.0.236/trunk@30604 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:06:52 +00:00
vidur%netscape.com
ac238aa855 Implemented GetOwnerDocument.
git-svn-id: svn://10.0.0.236/trunk@30603 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:06:48 +00:00
alecf%netscape.com
cd70f35a17 fix a whole bunch of profile problems -remove global variables, static variables in functions, use NSPR routines instead of libc routines, etc.
git-svn-id: svn://10.0.0.236/trunk@30602 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:06:31 +00:00
vidur%netscape.com
0b9219a42e Added new content implementation macro
git-svn-id: svn://10.0.0.236/trunk@30601 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:06:29 +00:00
mscott%netscape.com
d865f938c7 part of mailnews audit --> use nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@30600 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:06:23 +00:00
vidur%netscape.com
ab86e7ff19 Enabled the frame loader to work without a specified frame. This is used for precaching images.
git-svn-id: svn://10.0.0.236/trunk@30599 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:06:03 +00:00
dougt%netscape.com
e5592f0539 Landing branch changes.
git-svn-id: svn://10.0.0.236/trunk@30598 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:05:54 +00:00
mscott%netscape.com
fc752a9ff0 Calling close on a nsIMsgDatabase no longer releases a ref count so we can now use nsCOMPtr on it.
git-svn-id: svn://10.0.0.236/trunk@30597 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:03:12 +00:00
mscott%netscape.com
d468676ab3 part of mailnews audit --> use nsCOMPtr. Fix ownership issue for url listeners by removing nsISupportsArray and using nsVoidArray. The listeners are the owners..
git-svn-id: svn://10.0.0.236/trunk@30596 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 00:02:12 +00:00
mccabe%netscape.com
858272b14b Added references to the JavaAdapter and classfile classes.
git-svn-id: svn://10.0.0.236/trunk@30595 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 23:49:10 +00:00
norris%netscape.com
fb51b2c804 Marginal performance tweak.
git-svn-id: svn://10.0.0.236/trunk@30594 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 23:17:12 +00:00
dp%netscape.com
6f43263bc7 jsdom.dll doesn't like the reordering of registrations. Revering the order of registrations back to what it was except for letting nsIFileLocator go before autoregistraion, since it depends on IFileLocator.
git-svn-id: svn://10.0.0.236/trunk@30593 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 23:09:57 +00:00
donm%netscape.com
02636053a1 backing out change while we're trying to verify trees.
git-svn-id: svn://10.0.0.236/trunk@30592 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 23:06:07 +00:00
pnunn%netscape.com
04ce2551fa Updated to correct version.
Note: this check in will result in bad displays of colormapped pngs with alpha or transparency.
This problem will be fixed with later checkins. pnunn.


git-svn-id: svn://10.0.0.236/trunk@30591 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 22:32:37 +00:00
karnaze%netscape.com
573cea30a7 incremental reflow correctly targets cell's area frame - bugs 4577, 5126, 5759
git-svn-id: svn://10.0.0.236/trunk@30590 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 22:29:28 +00:00
tague%netscape.com
f6ccc5cce2 Removed register calls - track dp changes to component manager
git-svn-id: svn://10.0.0.236/trunk@30589 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 22:19:00 +00:00
sfraser%netscape.com
747dc15df7 Layout is a component now.
git-svn-id: svn://10.0.0.236/trunk@30588 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 21:40:25 +00:00
davidm%netscape.com
82ae305f26 add mozilla:layout:html:document:public:MANIFEST
git-svn-id: svn://10.0.0.236/trunk@30583 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 21:01:46 +00:00
davidm%netscape.com
885cde6ffb removed nsPluginViewer.cpp and nsDocumentViewer.cpp ( they are in Layout now )
git-svn-id: svn://10.0.0.236/trunk@30582 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 20:40:03 +00:00
beard%netscape.com
c8cef444cf First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30581 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 20:39:56 +00:00
davidm%netscape.com
7764cf31ac Added nsPluginViewer.cpp nsLayoutDebugger, nsDocumentvViewer.cpp to fix the build bustage
git-svn-id: svn://10.0.0.236/trunk@30579 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 20:22:28 +00:00
valeski%netscape.com
eb6d05c75f removed nsSycnOutStreamListener references. No longer using it.
git-svn-id: svn://10.0.0.236/trunk@30578 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:49:23 +00:00
valeski%netscape.com
a099c5d361 changed nsIEventQueue->ProcessPendingEvents() to nsIEventQueue->EVentLoop()
git-svn-id: svn://10.0.0.236/trunk@30577 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:47:55 +00:00
kipp%netscape.com
433635f230 Removed html items from the link line
git-svn-id: svn://10.0.0.236/trunk@30576 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:37:52 +00:00
kipp%netscape.com
f6353f5a5a Removed libraries no longer needed to link
git-svn-id: svn://10.0.0.236/trunk@30575 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:35:59 +00:00
kipp%netscape.com
a06fa618f9 Updated comments
git-svn-id: svn://10.0.0.236/trunk@30574 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:35:11 +00:00
kipp%netscape.com
e1f7eb5c37 moved to layout
git-svn-id: svn://10.0.0.236/trunk@30573 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:34:32 +00:00
kipp%netscape.com
891b3e7290 Removed layout registry hackery
git-svn-id: svn://10.0.0.236/trunk@30572 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:32:56 +00:00
kipp%netscape.com
26a7ee74bb Use component manager instead of direct linking against the html library
git-svn-id: svn://10.0.0.236/trunk@30571 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:32:42 +00:00
kipp%netscape.com
465da85c13 bye bye
git-svn-id: svn://10.0.0.236/trunk@30570 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:32:18 +00:00
kipp%netscape.com
acf352ca0d Ripped out the old doc-loader hackery and use the component manager to find viewers instead
git-svn-id: svn://10.0.0.236/trunk@30569 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:31:59 +00:00
kipp%netscape.com
22aaea44fd Moved some source files to layout
git-svn-id: svn://10.0.0.236/trunk@30568 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:29:46 +00:00
kipp%netscape.com
e5a15c913f Moved some headers from here to layout
git-svn-id: svn://10.0.0.236/trunk@30567 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:29:26 +00:00
kipp%netscape.com
1e710614e2 Create an html element factory to use to create html content objects instead of requiring rdf to link with the html dll
git-svn-id: svn://10.0.0.236/trunk@30566 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:28:45 +00:00
kipp%netscape.com
f55848dfdd Use DOM api's instead of layout private api's
git-svn-id: svn://10.0.0.236/trunk@30565 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:28:22 +00:00
kipp%netscape.com
ce6a83b907 Use component manager to create a css parser
git-svn-id: svn://10.0.0.236/trunk@30564 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:28:09 +00:00
kipp%netscape.com
23e52ce12d We no longer need to link in raptor
git-svn-id: svn://10.0.0.236/trunk@30563 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:27:53 +00:00
kipp%netscape.com
5d1f7ed1d6 Removed bogus inline virtual method in an interface
git-svn-id: svn://10.0.0.236/trunk@30562 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:27:37 +00:00
kipp%netscape.com
c95e41d477 Add public to the build
git-svn-id: svn://10.0.0.236/trunk@30561 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:26:55 +00:00
kipp%netscape.com
93b09162ad Implement nsIHTMLElementFactory
git-svn-id: svn://10.0.0.236/trunk@30560 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:26:43 +00:00
kipp%netscape.com
bb52ff4425 Added component support to this library
git-svn-id: svn://10.0.0.236/trunk@30559 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:26:13 +00:00
kipp%netscape.com
0fa330bb27 Added new source files
git-svn-id: svn://10.0.0.236/trunk@30558 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:25:50 +00:00
kipp%netscape.com
969dad1d78 Moved from webshell/src
git-svn-id: svn://10.0.0.236/trunk@30557 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:25:40 +00:00
kipp%netscape.com
cec1954858 Moved from webshell directory
git-svn-id: svn://10.0.0.236/trunk@30556 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:25:10 +00:00
kipp%netscape.com
d45303e8b6 Added headers
git-svn-id: svn://10.0.0.236/trunk@30555 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:24:57 +00:00
kipp%netscape.com
e4239e955b Added a makefile
git-svn-id: svn://10.0.0.236/trunk@30554 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:24:31 +00:00
briano%netscape.com
220f2cd1ca Automated update
git-svn-id: svn://10.0.0.236/trunk@30553 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:14:37 +00:00
alecf%netscape.com
bb7cada0b0 remove -Wsign-compare because it confuses gcc 2.7.2.1
git-svn-id: svn://10.0.0.236/trunk@30552 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 19:03:23 +00:00
despotdaemon%netscape.com
2e86c2055f Pseudo-automatic update of changes made by waqar@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@30551 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 18:29:49 +00:00
despotdaemon%netscape.com
0df25a5777 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@30549 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 17:58:41 +00:00
beard%netscape.com
a506e17625 don't know how, but line endings got whacked.
git-svn-id: svn://10.0.0.236/trunk@30545 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 15:52:25 +00:00
despotdaemon%netscape.com
f3822d85bd Pseudo-automatic update of changes made by mang@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@30544 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 15:51:39 +00:00
dp%netscape.com
1d1b752269 Using nsIFileLocator instead of nsSpecialFileSpec for Autoregistration
git-svn-id: svn://10.0.0.236/trunk@30543 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 15:19:22 +00:00
beard%netscape.com
a6b3efa5b6 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30542 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 15:06:11 +00:00
beard%netscape.com
b28a3e004c First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30541 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 14:39:20 +00:00
beard%netscape.com
2fb74cb7e2 tool changes
git-svn-id: svn://10.0.0.236/trunk@30540 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 14:30:29 +00:00
beard%netscape.com
633295898e added xptcstubs_mac.cpp/.s, removed xptcstubs_.mac.cpp
git-svn-id: svn://10.0.0.236/trunk@30539 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 14:29:31 +00:00
beard%netscape.com
014335891f XP_MAC: no longer using mac_fopen, replacing fopen itself. added mac_warning.
git-svn-id: svn://10.0.0.236/trunk@30538 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 14:27:57 +00:00
dp%netscape.com
27a015c42c Fixed AutoregisterComponent() to return a value
git-svn-id: svn://10.0.0.236/trunk@30537 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 14:27:09 +00:00
beard%netscape.com
95c4256ae0 for XP_MAC, added macro renaming main to xptdump_main, for use in CodeWarrior plugin, changed all uses of "stat" to call to get_file_length() for clarity, and to lessen number of calls to stat in code.
git-svn-id: svn://10.0.0.236/trunk@30536 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 14:25:10 +00:00
beard%netscape.com
a7829d1536 For XP_MAC, added macro renaming main to xptlink_main, for use in CW plugin linker, uint32 -> PRUint32, renamed xpt_dump_usage -> xpt_link_usage.
git-svn-id: svn://10.0.0.236/trunk@30535 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 14:22:46 +00:00
beard%netscape.com
eb2443e638 fixed stores of types smaller than sizeof(PRInt32)
git-svn-id: svn://10.0.0.236/trunk@30534 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 14:21:08 +00:00
beard%netscape.com
c1ac3cf6a7 fixed floating point loads, vtable offset, r4 <- r6.
git-svn-id: svn://10.0.0.236/trunk@30533 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 14:19:34 +00:00
beard%netscape.com
e11c50895f First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30532 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 14:16:15 +00:00
rods%netscape.com
daaf08733b removed some old D&D code that was commented out, fixed processing of arrows
keys by returning the status from dispatch.


git-svn-id: svn://10.0.0.236/trunk@30531 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 14:00:25 +00:00
dp%netscape.com
51d89b5c5d Moving Autoregitration out of SetupRegistry()
git-svn-id: svn://10.0.0.236/trunk@30530 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 13:35:25 +00:00
dp%netscape.com
7f8c687d95 Removing stray UnregisterFactory(..., path)
git-svn-id: svn://10.0.0.236/trunk@30529 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 13:33:42 +00:00
dp%netscape.com
512e87bc1a Landing M6 XPCOM Code cleanup branch
git-svn-id: svn://10.0.0.236/trunk@30528 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 13:29:37 +00:00
mccabe%netscape.com
3481e47bed Initial checkin of distribution makefile system for our brandfangled free source Rhino.
git-svn-id: svn://10.0.0.236/trunk@30527 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 07:51:15 +00:00
dcone%netscape.com
ad17cb3980 fixed an autoString to use the GetUnicode() call
git-svn-id: svn://10.0.0.236/trunk@30526 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 07:42:43 +00:00
dcone%netscape.com
2807d70e98 fixed a bug with using mString to use the unicode value
git-svn-id: svn://10.0.0.236/trunk@30525 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 06:57:24 +00:00
nisheeth%netscape.com
a29c40eeb9 The document loader that initiates the nsIDocumentLoaderObserver notifications is now passed up the document loader hierarchy. This was needed because external services that register as observers to the top level document loader expect to receive the document loader that is initiating the notification as a parameter in the notification. Earlier, they were always receiving the top level document loader regardless of which document loader initiated the notification.
git-svn-id: svn://10.0.0.236/trunk@30524 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 06:52:05 +00:00
rickg%netscape.com
30880da7dd sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@30523 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 06:47:15 +00:00
briano%netscape.com
9be1674b24 Automated update
git-svn-id: svn://10.0.0.236/trunk@30522 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 06:44:41 +00:00
briano%netscape.com
3bb504035b Fix for SunOS 4.x.
git-svn-id: svn://10.0.0.236/trunk@30521 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 06:39:14 +00:00
waterson%netscape.com
41cc6167ab Fix compiler warnings. Make -pedantic build again.
git-svn-id: svn://10.0.0.236/trunk@30520 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 06:34:07 +00:00
waterson%netscape.com
c0945ca434 Fix compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@30519 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 06:33:47 +00:00
waterson%netscape.com
5d400bd780 Fix off-by-one error, and an infinite loop.
git-svn-id: svn://10.0.0.236/trunk@30518 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 06:32:54 +00:00
briano%netscape.com
4601bff478 Automated update
git-svn-id: svn://10.0.0.236/trunk@30517 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 06:02:45 +00:00
briano%netscape.com
108fef9bd0 Fix for NetBSD/x86.
git-svn-id: svn://10.0.0.236/trunk@30516 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 06:02:25 +00:00
briano%netscape.com
4368ea6cae Forgot to add AIX_SHLIB_BIN.
git-svn-id: svn://10.0.0.236/trunk@30515 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 05:41:10 +00:00
waterson%netscape.com
7cefdffdb4 Obsolete.
git-svn-id: svn://10.0.0.236/trunk@30514 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 05:17:37 +00:00
waterson%netscape.com
dc95538961 Suppress unused parameter warnings.
git-svn-id: svn://10.0.0.236/trunk@30513 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 05:15:26 +00:00
rickg%netscape.com
5c8c136b32 new nsString modz; getting ready for nsString2 switchover
git-svn-id: svn://10.0.0.236/trunk@30512 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 05:13:08 +00:00
dveditz%netscape.com
1160261d68 minor startup performance improvement
git-svn-id: svn://10.0.0.236/trunk@30511 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 04:19:06 +00:00
dougt%netscape.com
f934686e6c removing software update references.
git-svn-id: svn://10.0.0.236/trunk@30510 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 04:18:44 +00:00
dougt%netscape.com
2256e8eec9 reduce alot of code by using nsFileSpec
now using nsISupports macros (thanks dp)
now manager is a singleton.
various other changes.


git-svn-id: svn://10.0.0.236/trunk@30509 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 04:12:22 +00:00
dougt%netscape.com
cee1165770 Hooking up xpinstall to the viewer. This will cause a new instance of the
xpinstall to be created when the viewer launches.  This will be removed
(along with the startup of silentdl) once we have a way of starting up
components less intrusive.

nsViewer.cpp - Added CreateInstance and related code to start component
makefile.win - Added new include path


git-svn-id: svn://10.0.0.236/trunk@30508 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 03:59:47 +00:00
nisheeth%netscape.com
a07e32563c - Implemented GetContentViewerContainer() in the nsDocLoaderImpl() object.
- Added charset parameters to LoadDocument(), a method defined in nsIWebShellServices


git-svn-id: svn://10.0.0.236/trunk@30507 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 03:54:40 +00:00
nisheeth%netscape.com
4a517afb95 Added parameters for charset to LoadDocument().
git-svn-id: svn://10.0.0.236/trunk@30506 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 03:53:28 +00:00
hangas%netscape.com
9f87b5ff5e sspitzer: port news to the mac. remove silly printfs. put useful printfs behind DEBUG_NOISY_NEWS, so I can turn them all on from a Mac
git-svn-id: svn://10.0.0.236/trunk@30505 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 03:25:47 +00:00
hangas%netscape.com
26d12286a6 sspitzer: port news to the mac
git-svn-id: svn://10.0.0.236/trunk@30504 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 03:24:48 +00:00
briano%netscape.com
5725cae8b5 Automated update
git-svn-id: svn://10.0.0.236/trunk@30503 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 03:17:19 +00:00
briano%netscape.com
330198257b Added a check for makeC++SharedLib_r on AIX if NO_SHARED_LIB is not set.
git-svn-id: svn://10.0.0.236/trunk@30502 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 03:16:55 +00:00
nisheeth%netscape.com
09cdf33e5b Fixing Unix build bustage. The interface file got checked in with incorrect casing in the file name.
git-svn-id: svn://10.0.0.236/trunk@30501 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 02:53:01 +00:00
briano%netscape.com
a57367627d Automated update
git-svn-id: svn://10.0.0.236/trunk@30500 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 02:21:12 +00:00
briano%netscape.com
03e32c623d Boy, that was dumb. Fixed the MKSHLIB recursion bug I checked in.
git-svn-id: svn://10.0.0.236/trunk@30499 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 02:20:46 +00:00
despotdaemon%netscape.com
cf12e0dadd Pseudo-automatic update of changes made by shaver@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@30498 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 02:19:21 +00:00
nisheeth%netscape.com
a0cb9d0fde - adding stubs for the methods in nsIWebShellServices implemented by the nsWebShell object.
- adding a stub implementation of the GetContentViewerContainer() method to nsDocLoaderImpl.


git-svn-id: svn://10.0.0.236/trunk@30497 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:58:48 +00:00
briano%netscape.com
2371311b84 Added OpenBSD to the list.
git-svn-id: svn://10.0.0.236/trunk@30496 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:58:22 +00:00
briano%netscape.com
1641b5da6f This should prevent Solaris/x86 from overriding its CPPSRCS setting with that for sparc.
git-svn-id: svn://10.0.0.236/trunk@30495 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:57:02 +00:00
nisheeth%netscape.com
9085da10b9 - Adding the nsIWebShellServices interface that will be used by external services to access the webshell.
- Also, adding a method to nsIDocumentLoader that maps a document ID into an nsIContentViewerContainer.


git-svn-id: svn://10.0.0.236/trunk@30494 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:55:10 +00:00
hangas%netscape.com
783db1744c Updated to build on Mac
git-svn-id: svn://10.0.0.236/trunk@30493 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:53:31 +00:00
nisheeth%netscape.com
e1fd8e4585 Pass a pointer to the document object when you call the Parse method on the parser object.f
git-svn-id: svn://10.0.0.236/trunk@30492 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:51:31 +00:00
nisheeth%netscape.com
999de3b0aa Pass in the document object as a key to the parser.
git-svn-id: svn://10.0.0.236/trunk@30491 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:50:26 +00:00
fur%netscape.com
cb594b3e88 Delete jsmathtemp.o when clobber'ing
git-svn-id: svn://10.0.0.236/trunk@30490 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:50:11 +00:00
nisheeth%netscape.com
8bb7193651 Added a key as a parameter to all the different versions of the Parse method in nsIParser.
git-svn-id: svn://10.0.0.236/trunk@30489 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:48:56 +00:00
saari%netscape.com
ce9191b71c Fixing Mac menu bug
git-svn-id: svn://10.0.0.236/trunk@30488 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:45:48 +00:00
saari%netscape.com
d39a2abb37 Plug a leak
git-svn-id: svn://10.0.0.236/trunk@30487 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:43:12 +00:00
mscott%netscape.com
4dbd16b394 Bug 5991 --> Fix crash in smtpTest caused by the event queue carpool yesterday. We need to make sure the event queue is registered.
git-svn-id: svn://10.0.0.236/trunk@30486 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:38:25 +00:00
dp%netscape.com
f015deb427 Converting stray UnregisterFactory calls to UnregisterComponent
git-svn-id: svn://10.0.0.236/trunk@30485 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:37:04 +00:00
mscott%netscape.com
c0e86ca11b Bug 5991 --> Fix crash in pop3Test caused by the event queue carpool yesterday. We need to make sure the event queue is registered.
git-svn-id: svn://10.0.0.236/trunk@30484 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:35:40 +00:00
cmanske%netscape.com
3918932e7d Added the redraw hack to SetParagraphFormat so we can see the content change
git-svn-id: svn://10.0.0.236/trunk@30483 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:33:48 +00:00
rjc%netscape.com
1615f28dd8 New file: loading.gif
git-svn-id: svn://10.0.0.236/trunk@30482 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:19:25 +00:00
rjc%netscape.com
fcaaa5c5bb First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30481 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:19:04 +00:00
alecf%netscape.com
0b905a66c1 fix some warnings on unix:
- fix shadow variable "key"
- rename "index" to "kindex"
- rename shadow "err" to mdberr because the outter one was a nsresult


git-svn-id: svn://10.0.0.236/trunk@30480 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 01:01:11 +00:00
pinkerton%netscape.com
37f332835f renamed <tristatecheckbox> to <checkbox>
git-svn-id: svn://10.0.0.236/trunk@30479 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:55:32 +00:00
av%netscape.com
d9f7fb0b52 Override SetInitialChildList for nsObjectFrame
git-svn-id: svn://10.0.0.236/trunk@30478 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:54:36 +00:00
pinkerton%netscape.com
f034860fbf make <tristatecheckbox> now be <checkbox>
git-svn-id: svn://10.0.0.236/trunk@30477 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:53:22 +00:00
mcafee%netscape.com
d5a2076a47 Adding Solaris/sparc and Solaris/intel
git-svn-id: svn://10.0.0.236/trunk@30476 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:49:31 +00:00
mcafee%netscape.com
56d1aa8697 Linker didn't seem to like _ prefix for function names, removing them fixes link errors. Adding license file.
git-svn-id: svn://10.0.0.236/trunk@30475 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:49:02 +00:00
mcafee%netscape.com
a5e767e34d Fixing link error (Solaris).
git-svn-id: svn://10.0.0.236/trunk@30474 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:48:09 +00:00
mcafee%netscape.com
f27eb89d94 Fixing link errors (Solaris).
git-svn-id: svn://10.0.0.236/trunk@30473 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:47:40 +00:00
rjc%netscape.com
5cdb033229 Add some small NULL checks.
git-svn-id: svn://10.0.0.236/trunk@30472 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:38:54 +00:00
putterman%netscape.com
d0f3fb2040 Fix 5988. Delete message works again.
git-svn-id: svn://10.0.0.236/trunk@30471 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:28:12 +00:00
davidm%netscape.com
3a42044471 File Removed.
git-svn-id: svn://10.0.0.236/trunk@30470 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:26:39 +00:00
sspitzer%netscape.com
5f83d6c89a check for existance before dereferencing
git-svn-id: svn://10.0.0.236/trunk@30469 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:24:45 +00:00
sspitzer%netscape.com
f9d569e01f check for null before querying the interface
git-svn-id: svn://10.0.0.236/trunk@30468 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:19:49 +00:00
sspitzer%netscape.com
4fc25c0fb5 tests are only for me
git-svn-id: svn://10.0.0.236/trunk@30467 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:19:11 +00:00
sspitzer%netscape.com
896d1925a8 warnings be gone! remove silly printfs. make nsMsgNewsFactory take the same
number of parameters as the other mail news factories, for consistency


git-svn-id: svn://10.0.0.236/trunk@30466 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:18:24 +00:00
ftang%netscape.com
a5e456e68e fix category bug
git-svn-id: svn://10.0.0.236/trunk@30465 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:17:40 +00:00
ftang%netscape.com
3b3cd6f5ac fix warning and category bug
git-svn-id: svn://10.0.0.236/trunk@30464 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:17:18 +00:00
sspitzer%netscape.com
f38322f5a2 warnings be gone!
git-svn-id: svn://10.0.0.236/trunk@30463 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:17:15 +00:00
briano%netscape.com
3181f339a4 Automated update
git-svn-id: svn://10.0.0.236/trunk@30462 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:14:39 +00:00
alecf%netscape.com
f1d5390a54 remove -W flag to get rid of "unused parameter" noise
git-svn-id: svn://10.0.0.236/trunk@30461 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:13:38 +00:00
nhotta%netscape.com
049c4fb06d Adding Mac support (not part of the build).
git-svn-id: svn://10.0.0.236/trunk@30460 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:12:11 +00:00
sspitzer%netscape.com
9f3fed4aa6 remove duplicate code.
use #error to let people porting this beast know that they have to do
work to get profiles to work.


git-svn-id: svn://10.0.0.236/trunk@30459 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:11:10 +00:00
ducarroz%netscape.com
d679b52a6c Mailnews is now fully integrated to the build process. I have remove the previous patch to avoid to build mailnews by befault.
git-svn-id: svn://10.0.0.236/trunk@30458 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:10:47 +00:00
ducarroz%netscape.com
dcb0d933b5 update mailnews build intructions, use MANIFEST for exporting mailnews resources
git-svn-id: svn://10.0.0.236/trunk@30457 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:03:00 +00:00
ducarroz%netscape.com
b912da2f86 Use LL_xxx macros when using PRInt64 variable
git-svn-id: svn://10.0.0.236/trunk@30456 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:01:27 +00:00
briano%netscape.com
ad8a17598d Automated update
git-svn-id: svn://10.0.0.236/trunk@30455 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:00:09 +00:00
ducarroz%netscape.com
a568e7728b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30454 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 00:00:08 +00:00
ftang%netscape.com
03eb6dbd5a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30453 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:55:50 +00:00
hyatt%netscape.com
dd5410721e Changed the arguments to PostSynchronousEvent. Added an EventLoop method.
git-svn-id: svn://10.0.0.236/trunk@30452 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:55:10 +00:00
hyatt%netscape.com
9b4cf49af1 Changed the arguments to PostSynchronousEvent.
git-svn-id: svn://10.0.0.236/trunk@30451 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:54:47 +00:00
sspitzer%netscape.com
4775f48570 fix for #5942. make UNIX behave like windows and mac, as far as having
a Users50 directory and having all the profile directories under there.


git-svn-id: svn://10.0.0.236/trunk@30450 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:54:37 +00:00
ftang%netscape.com
eb2533ba2d fix signed/unsigned problem, call Reset function when error occur
git-svn-id: svn://10.0.0.236/trunk@30449 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:53:49 +00:00
ftang%netscape.com
6163d9ab46 fix buffer growing problem and wrong value when we return NS_UPEXPECTED error
git-svn-id: svn://10.0.0.236/trunk@30448 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:52:48 +00:00
ftang%netscape.com
5f70a2bd53 remove extra line from unixcharset.properties put the real implementation of nsUNIXCharset.cpp
git-svn-id: svn://10.0.0.236/trunk@30447 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:51:15 +00:00
mcafee%netscape.com
d2b843c794 Adding --enable-new-drag-and-drop for new dnd stuff.
git-svn-id: svn://10.0.0.236/trunk@30446 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:46:13 +00:00
av%netscape.com
4ea2ce2b72 Getting back check for data attribute in image frames
git-svn-id: svn://10.0.0.236/trunk@30445 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:40:21 +00:00
briano%netscape.com
8b0d2cfa20 Automated update
git-svn-id: svn://10.0.0.236/trunk@30444 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:38:41 +00:00
briano%netscape.com
3d80cdbf48 Fix for bug 5770. Thanks to lennox@cs.columbia.edu.
git-svn-id: svn://10.0.0.236/trunk@30443 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:38:15 +00:00
scc%netscape.com
2532453e8b sense of HAVE_CPP_BOOL was backwards, fixed it (thanks, Jim Dunn)
git-svn-id: svn://10.0.0.236/trunk@30442 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:36:38 +00:00
akkana%netscape.com
d6442ae892 Track change from iDirection to ECollapsedSelectionAction
git-svn-id: svn://10.0.0.236/trunk@30441 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:36:28 +00:00
cmanske%netscape.com
5153df144d Added new JavaScript files
git-svn-id: svn://10.0.0.236/trunk@30440 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:33:34 +00:00
ducarroz%netscape.com
1221761a82 change printf to say message compose instance of composer
git-svn-id: svn://10.0.0.236/trunk@30439 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:32:30 +00:00
cmanske%netscape.com
017c096e5b Split JavaScript out of XUL into separate files
git-svn-id: svn://10.0.0.236/trunk@30438 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:30:21 +00:00
cmanske%netscape.com
0a9edc9d32 Added UI for paragraph style and preliminary versions of image and link dialogs
git-svn-id: svn://10.0.0.236/trunk@30437 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:29:18 +00:00
norris%netscape.com
af7a64a58c Update release string.
git-svn-id: svn://10.0.0.236/trunk@30434 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:29:06 +00:00
cmanske%netscape.com
83f84a10f8 Added Get/Set paragraph style methods to editor
git-svn-id: svn://10.0.0.236/trunk@30433 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:27:45 +00:00
akkana%netscape.com
392f2f0298 - Rename iDirection enum to ECollapsedSelectionAction
- Initial implementation of Insert HTML


git-svn-id: svn://10.0.0.236/trunk@30432 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:27:17 +00:00
akkana%netscape.com
7665b5ba68 comment out annoying debug message
git-svn-id: svn://10.0.0.236/trunk@30431 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:24:58 +00:00
slamm%netscape.com
ac1af6941d Properly escape the url for client.mk's webconfig target.
git-svn-id: svn://10.0.0.236/trunk@30430 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:20:46 +00:00
erik%netscape.com
24138a3054 Fix for one of the memory leaks found by The Mighty Bruce.
git-svn-id: svn://10.0.0.236/trunk@30429 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:18:38 +00:00
cyeh%netscape.com
3392afd90c backout mjudge checkin against closed tree. it also breaks mac as well, so
mjudge will try again when tree reopens


git-svn-id: svn://10.0.0.236/trunk@30428 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:05:41 +00:00
mcmullen%netscape.com
e5dac9f2ad Turned off time-stamped build logs by default. jj's release builds need the hard-coded name.
git-svn-id: svn://10.0.0.236/trunk@30427 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:03:55 +00:00
briano%netscape.com
5dac3696d4 Not needed. This directory is no longer used.
git-svn-id: svn://10.0.0.236/trunk@30426 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:57:25 +00:00
valeski%netscape.com
a019a864f3 changed over to nsIEventQueue interface, from straight PL_EventQueue. Also took a whack at getting socketTRansport::OpenOutputSTream to work (hasn't been tested)
git-svn-id: svn://10.0.0.236/trunk@30425 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:41:44 +00:00
mjudge%netscape.com
6249ea5e27 adding new state to nsRangeList to track mousedown and dragging criteria. much better than static variables in nsFrame.h!!
git-svn-id: svn://10.0.0.236/trunk@30424 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:32:58 +00:00
mjudge%netscape.com
09c4463cb3 removing useless drag info from ::HandleEvent that was copied from nsFrame implementation
git-svn-id: svn://10.0.0.236/trunk@30423 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:29:45 +00:00
mjudge%netscape.com
1925f88738 updating new state controler for mouse status. aka dragging has stopped
git-svn-id: svn://10.0.0.236/trunk@30422 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:28:51 +00:00
mjudge%netscape.com
80f19e636c removing static variables from nsFrame for selection. storing state in nsIFrameSelection Implementation.
git-svn-id: svn://10.0.0.236/trunk@30421 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:27:57 +00:00
mcmullen%netscape.com
1c6f2d2760 Turn off reading of default files - there's a parse error in one of them. This was completely blocking mailnews. a=cyeh.
git-svn-id: svn://10.0.0.236/trunk@30420 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:25:23 +00:00
terry%mozilla.org
31c4f880f5 Present people an immediate opportunity to attach something to a bug.
git-svn-id: svn://10.0.0.236/trunk@30419 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:16:21 +00:00
terry%mozilla.org
fd4fb15a21 Sigh. Fix some indentation I just screwed up.
git-svn-id: svn://10.0.0.236/trunk@30418 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:06:49 +00:00
terry%mozilla.org
76cb89e067 Get rid of tabs. (We try to keep tabs out of bugzilla source. We
often fail.)


git-svn-id: svn://10.0.0.236/trunk@30417 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 22:05:19 +00:00
terry%mozilla.org
218c7ef57e Added newlines to the end of some messages; the last line was getting
eaten sometimes.


git-svn-id: svn://10.0.0.236/trunk@30416 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 21:29:46 +00:00
terry%mozilla.org
5d02422887 Was not properly remembering email addresses in memorized queries.
git-svn-id: svn://10.0.0.236/trunk@30415 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 21:25:29 +00:00
terry%mozilla.org
9f65402d73 Allow querying of bug creation times.
git-svn-id: svn://10.0.0.236/trunk@30414 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 21:18:39 +00:00
gayatrib%netscape.com
7f24343c97 Modified to reflect the new flow for customize pages
git-svn-id: svn://10.0.0.236/trunk@30413 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 21:14:02 +00:00
gayatrib%netscape.com
cc986680ae Modified to reflect the new flow for branding pages
git-svn-id: svn://10.0.0.236/trunk@30412 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 21:13:26 +00:00
gayatrib%netscape.com
4a77aa1b5d Modified to reflect the new wizard flow
git-svn-id: svn://10.0.0.236/trunk@30411 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 21:11:39 +00:00
kipp%netscape.com
c8628f5073 new
git-svn-id: svn://10.0.0.236/trunk@30410 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 20:42:51 +00:00
putterman%netscape.com
6ad10a9748 fixes mailnews crash when sending mail and opening folders. AddRef before
returning.


git-svn-id: svn://10.0.0.236/trunk@30409 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 20:09:20 +00:00
mcmullen%netscape.com
d5b8dd866e Turning off profile wizard till we iron out a few problems.
git-svn-id: svn://10.0.0.236/trunk@30408 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 20:04:18 +00:00
slamm%netscape.com
d89d1c6684 Fix symlinking to .mozconfig for saveas feature.
git-svn-id: svn://10.0.0.236/trunk@30405 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 19:36:51 +00:00
slamm%netscape.com
0ac7f2ac8c Make srcdir build default again. Fix defaults for script preview and save as.
git-svn-id: svn://10.0.0.236/trunk@30402 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 18:32:01 +00:00
scc%netscape.com
b85e1a74ed -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wow!  Re-enabled initialization/assignment from raw COM interface pointers, only this time it means the same as |dont_QueryInterface|.  Which is what people want and expect.  Re-enabled comparisons between |nsCOMPtr|s and raw COM interface pointers; and it means what people expect: are these two 4-byte values equal/not-equal.  Added a function for comparing two pointers (either can be raw or nsCOMPtr) called |SameCOMIdentity|, which provides the other kind of comparison.

No current functionality has changed.  Everything you're doing now is still legal and valid.  These changes only bring some additional options.
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.0.2
Comment: get my key at <http://www.meer.net/ScottCollins/#key>

iQA/AwUBNzAeufGmojMuVn+fEQInWgCfUVK/7xfd/pdhAmyIe4HhynKsuucAn20t
MRtmNY4e2MAdwClvhR65a5Yv
=elb3
-----END PGP SIGNATURE-----


git-svn-id: svn://10.0.0.236/trunk@30401 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 10:37:05 +00:00
nisheeth%netscape.com
b458856e07 Remove the /n flag when we invoke BSCMAKE, the utility provided by MS to generate code browsing information. This means that once the browsing database is constructed, updates to it will happen incrementally. Earlier, updates were causing the entire database to get created from scratch.
git-svn-id: svn://10.0.0.236/trunk@30400 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 08:00:20 +00:00
hyatt%netscape.com
8f52fb367c Fix for bug #5937.
git-svn-id: svn://10.0.0.236/trunk@30399 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 07:26:03 +00:00
waterson%netscape.com
e1a82a82ff Put files into the wrong directory.
git-svn-id: svn://10.0.0.236/trunk@30398 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 06:58:04 +00:00
alecf%netscape.com
fdc2a8447c use nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@30397 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 06:43:34 +00:00
alecf%netscape.com
556e597028 minor cleanup and add a helpful comment
git-svn-id: svn://10.0.0.236/trunk@30396 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 06:40:28 +00:00
alecf%netscape.com
0ea654b321 use nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@30394 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 06:38:18 +00:00
mcafee%netscape.com
aa4b2003c1 Adding license.
git-svn-id: svn://10.0.0.236/trunk@30393 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 06:07:50 +00:00
mcafee%netscape.com
de1f39dd70 Adding test to .cvsignore
git-svn-id: svn://10.0.0.236/trunk@30392 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 06:07:25 +00:00
mcafee%netscape.com
67a23ecafc Adding Makefile for Linux.
git-svn-id: svn://10.0.0.236/trunk@30391 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 06:06:33 +00:00
mcafee%netscape.com
0910230024 Adding xpcom/libxpt/xptcall/src/md/test/Makefile for Linux.
git-svn-id: svn://10.0.0.236/trunk@30390 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 06:06:10 +00:00
waterson%netscape.com
0feaf9e957 Moved all of these files to mozilla/profile/resources.
git-svn-id: svn://10.0.0.236/trunk@30389 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 06:03:12 +00:00
waterson%netscape.com
f01adc2589 Don't install profile stuff.
git-svn-id: svn://10.0.0.236/trunk@30388 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 06:02:07 +00:00
briano%netscape.com
c5388e905d Automated update
git-svn-id: svn://10.0.0.236/trunk@30387 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 05:59:43 +00:00
waterson%netscape.com
72de9099b6 Move profile stuff out of mailnews.
git-svn-id: svn://10.0.0.236/trunk@30386 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 05:59:04 +00:00
alecf%netscape.com
77872869ec fix -Wno-long-long because it's only supported on egcs 1.1.x
git-svn-id: svn://10.0.0.236/trunk@30385 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 05:59:03 +00:00
waterson%netscape.com
1f4579e982 Add install for mozilla/profile/resources.
git-svn-id: svn://10.0.0.236/trunk@30384 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 05:57:46 +00:00
waterson%netscape.com
9153931565 Fix nsCOMPtr bustage.
git-svn-id: svn://10.0.0.236/trunk@30383 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 05:56:58 +00:00
sspitzer%netscape.com
9fc02630e0 initial work to move over ParseLine from 4.x world
git-svn-id: svn://10.0.0.236/trunk@30382 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 05:45:01 +00:00
sspitzer%netscape.com
407ec1b0bf export common.css
git-svn-id: svn://10.0.0.236/trunk@30379 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 05:21:31 +00:00
alecf%netscape.com
e52caed037 make composer use the new nsIAppShellComponent
git-svn-id: svn://10.0.0.236/trunk@30378 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 05:21:30 +00:00
buster%netscape.com
8d03d0ce7c fixed mac bustage
git-svn-id: svn://10.0.0.236/trunk@30377 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 05:17:59 +00:00
alecf%netscape.com
c8c65784bc make sure QueryInterface returns the right GetIID()
git-svn-id: svn://10.0.0.236/trunk@30376 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 05:16:09 +00:00
alecf%netscape.com
484ce70bac use the new lighter weight nsIAppShellComponent
git-svn-id: svn://10.0.0.236/trunk@30375 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 05:14:39 +00:00
alecf%netscape.com
78b4167e74 make composer and messenger use the new nsIAppShellComponent to get bootstrapped
git-svn-id: svn://10.0.0.236/trunk@30374 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 05:14:16 +00:00
buster%netscape.com
c59396c61b added a param to GetPriorNode and GetNextNode to tell these methods whether to use or skip
non-editable content.
added some comments, turned off some debugging flags.


git-svn-id: svn://10.0.0.236/trunk@30373 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 04:51:54 +00:00
endico%mozilla.org
07a604565a fix link to lxr source
git-svn-id: svn://10.0.0.236/trunk@30372 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 04:42:17 +00:00
waterson%netscape.com
f3c6ca4521 Add resources dir to build.
git-svn-id: svn://10.0.0.236/trunk@30371 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 04:41:38 +00:00
waterson%netscape.com
ac7e03313c Initial revision.
git-svn-id: svn://10.0.0.236/trunk@30370 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 04:41:20 +00:00
waterson%netscape.com
97936d6139 Added profile/resources.
git-svn-id: svn://10.0.0.236/trunk@30369 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 04:38:45 +00:00
bienvenu%netscape.com
ca4e949643 fix ref counting problem with mListeners
git-svn-id: svn://10.0.0.236/trunk@30368 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 04:26:41 +00:00
buster%netscape.com
9a004fa0f0 1. block transformation infrastructure is now in place. We can go ahead and implement interesting
features like set paragraph style, set list type, indent, etc.  I'm sure there's holes in my
implementation that these high level features will make obvious.

2. I've factored a lot of utility methods from several modules into nsEditor as public static methods.
This makes them easily accessable to all, and will help Joe and I remove redundant methods.

3. I changed the HTML tags to lower case, and made all string compares case-insensitive.  No, this
isn't quite the right thing to do, but we don't have atoms from layout yet.  The Right Thing is for us
to reuse those atoms.


git-svn-id: svn://10.0.0.236/trunk@30367 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 04:05:19 +00:00
briano%netscape.com
79a06899b6 Minor cleanup, and got rid of a completely pointless chunk of code.
git-svn-id: svn://10.0.0.236/trunk@30366 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 04:00:55 +00:00
dcone%netscape.com
48dea0e87e added USE_STRING2 define. It is commented out at the moment for use in string compilation.
git-svn-id: svn://10.0.0.236/trunk@30364 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:51:18 +00:00
sspitzer%netscape.com
01953b47d3 fix my own build bustage
git-svn-id: svn://10.0.0.236/trunk@30363 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:47:44 +00:00
hangas%netscape.com
821d6f7250 sspitzer: changes to build news on the mac
git-svn-id: svn://10.0.0.236/trunk@30362 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:42:21 +00:00
hangas%netscape.com
40cbc06c59 sspitzer: stop hiding these virtual methods (thanks mac compiler!)
git-svn-id: svn://10.0.0.236/trunk@30361 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:41:12 +00:00
hangas%netscape.com
9c7c1554d9 back off on the PRTime stuff for now
git-svn-id: svn://10.0.0.236/trunk@30360 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:39:51 +00:00
hangas%netscape.com
85706b3d33 sspitzer: stop hiding these virtual methods. (thanks mac compiler!)
git-svn-id: svn://10.0.0.236/trunk@30359 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:38:18 +00:00
waterson%netscape.com
a88d7df9ee Obsolete.
git-svn-id: svn://10.0.0.236/trunk@30358 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:30:39 +00:00
waterson%netscape.com
dec74bbf9b Remove nsXULDataSource, which is obsolete.
git-svn-id: svn://10.0.0.236/trunk@30357 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:25:16 +00:00
waterson%netscape.com
b5958e3081 Added rdfpoll makefile to the build.
git-svn-id: svn://10.0.0.236/trunk@30356 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:19:16 +00:00
waterson%netscape.com
6b0de0fca2 Forgot to update MANIFEST, idiot.
git-svn-id: svn://10.0.0.236/trunk@30355 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:18:20 +00:00
waterson%netscape.com
f7251cb71a Forgot to update Makefile.in, idiot.
git-svn-id: svn://10.0.0.236/trunk@30354 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:18:03 +00:00
waterson%netscape.com
f7b97adfab Add rdfpoll test to the build.
git-svn-id: svn://10.0.0.236/trunk@30353 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:15:23 +00:00
waterson%netscape.com
388410e270 Juggled interfaces around: they each live in their own .idl file now, which affects headers.
git-svn-id: svn://10.0.0.236/trunk@30351 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:14:31 +00:00
waterson%netscape.com
921b0fe366 Use new RDFXML datasource APIs.
git-svn-id: svn://10.0.0.236/trunk@30350 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:14:06 +00:00
waterson%netscape.com
583c8bc426 Add resources directory to the build: it has its own makefile now.
git-svn-id: svn://10.0.0.236/trunk@30349 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:13:39 +00:00
waterson%netscape.com
9e5a43148f Add polling!
git-svn-id: svn://10.0.0.236/trunk@30348 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:12:54 +00:00
waterson%netscape.com
88ab47dfed Remove nsXULDataSource: it is obsolete. Refactor interfaces into individual idl files: need to install more .xpt's now.
git-svn-id: svn://10.0.0.236/trunk@30347 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:12:24 +00:00
waterson%netscape.com
16386ac75a Remove nsXULDataSource.cpp from the build: it's obsolete. Re-factor interfaces into individual .idl files.
git-svn-id: svn://10.0.0.236/trunk@30346 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:11:23 +00:00
waterson%netscape.com
d506a5f16d Bug 5853. Fix vanishing bookmark titles problem: need to re-query graph on update.
git-svn-id: svn://10.0.0.236/trunk@30345 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:10:25 +00:00
waterson%netscape.com
d51715beba Factor interfaces into individual .idl files.
git-svn-id: svn://10.0.0.236/trunk@30344 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:09:50 +00:00
waterson%netscape.com
44628a930b Factor interfaces into individual .idl files. Add purge support and re-load support to RDF/XML datasource.
git-svn-id: svn://10.0.0.236/trunk@30343 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:09:12 +00:00
waterson%netscape.com
98807d4d58 Factored interfaces into individual .idl files. Here's the fallout: now all the headers here are generated. nsRDFInterfaces.h #includes them all.
git-svn-id: svn://10.0.0.236/trunk@30342 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:08:42 +00:00
waterson%netscape.com
de0c26b014 Break up interfaces into individual .idl files; implies installation of individual .xpt's from rdf/build. Create rdf/resources/Makefile that installs everything in the resources directory.
git-svn-id: svn://10.0.0.236/trunk@30341 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 03:05:40 +00:00
waterson%netscape.com
cfc3b655d2 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@30340 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:58:03 +00:00
alecf%netscape.com
51138c0616 add some command glue for bringing up the account manager and the prefs dialog
git-svn-id: svn://10.0.0.236/trunk@30338 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:48:42 +00:00
alecf%netscape.com
befe4bb077 remove unnecessary variable
git-svn-id: svn://10.0.0.236/trunk@30337 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:46:48 +00:00
alecf%netscape.com
8ab26b0bb4 some nsCOMPtr conversions
git-svn-id: svn://10.0.0.236/trunk@30336 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:45:49 +00:00
waterson%netscape.com
33c4ae75c9 Bug 5937. (Well, related to it.) Fixed a bug-waiting-to-happen-with-forms. Make sure we _get_ the resource before we try to release it.
git-svn-id: svn://10.0.0.236/trunk@30335 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:44:49 +00:00
alecf%netscape.com
0434201085 fix variables named "time" so as not to conflict with global system function time()
git-svn-id: svn://10.0.0.236/trunk@30334 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:44:07 +00:00
alecf%netscape.com
00e7d2def2 fix virtual destructor
git-svn-id: svn://10.0.0.236/trunk@30333 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:43:38 +00:00
alecf%netscape.com
9c22fa385f remove some impossible PR_ASSERTs
git-svn-id: svn://10.0.0.236/trunk@30332 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:43:23 +00:00
alecf%netscape.com
b684ea71c6 fix some unused variables, fix the signed/unsigned issue with total and total unread messages, and fix some variable shadowing
git-svn-id: svn://10.0.0.236/trunk@30331 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:42:12 +00:00
alecf%netscape.com
d846ece17c remove some stupid debugging printfs
git-svn-id: svn://10.0.0.236/trunk@30330 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:35:53 +00:00
alecf%netscape.com
c2538944fb name variables correctly so as not to conflict with system functions
git-svn-id: svn://10.0.0.236/trunk@30329 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:34:52 +00:00
alecf%netscape.com
a3ff9e4936 fix some NS_ADDREF things, and fix a local variable shadowing another variable
git-svn-id: svn://10.0.0.236/trunk@30328 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:33:35 +00:00
alecf%netscape.com
2d2802a821 update this interface
git-svn-id: svn://10.0.0.236/trunk@30327 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:30:46 +00:00
alecf%netscape.com
b6927625d4 fix signed/unsigned problem (because -1 is a magic value)
git-svn-id: svn://10.0.0.236/trunk@30326 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:30:24 +00:00
alecf%netscape.com
9b11da683d AddRef() -> NS_ADDREF and fix signed/unsigned problems
git-svn-id: svn://10.0.0.236/trunk@30325 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:29:00 +00:00
alecf%netscape.com
ed44ac0fc5 fix uninitialized variable problem
git-svn-id: svn://10.0.0.236/trunk@30324 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:27:35 +00:00
alecf%netscape.com
35f6917013 remove stupid debugging statements
git-svn-id: svn://10.0.0.236/trunk@30323 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:27:11 +00:00
alecf%netscape.com
9e08325330 remove unused variables
git-svn-id: svn://10.0.0.236/trunk@30322 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:26:41 +00:00
bienvenu%netscape.com
c8857972c3 initial entry into CVS, not currently used in build
git-svn-id: svn://10.0.0.236/trunk@30321 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:08:31 +00:00
mcafee%netscape.com
01928aa861 Adding changes for Solaris, commented-out so we don't break the current build.
git-svn-id: svn://10.0.0.236/trunk@30320 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:06:02 +00:00
bienvenu%netscape.com
1851869607 make Close not release db
git-svn-id: svn://10.0.0.236/trunk@30319 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 02:03:47 +00:00
mcafee%netscape.com
1f0973db5a Typo? Fixing Solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@30318 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 01:59:07 +00:00
kipp%netscape.com
28f1155583 alloc IID
git-svn-id: svn://10.0.0.236/trunk@30317 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 01:59:01 +00:00
mcafee%netscape.com
577b03042b These files have been renamed with _asm_ to distinguish them from cpp files, this unconfuses gcc.
git-svn-id: svn://10.0.0.236/trunk@30316 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 01:57:35 +00:00
kipp%netscape.com
76ccb16ab5 alloc IID
git-svn-id: svn://10.0.0.236/trunk@30315 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 01:56:46 +00:00
mcafee%netscape.com
b004a8459f Renaming asm files to be different than cpp files so compiler doesn't get confused. xptcinvoke_sparc_solaris.s _. xptcinvoke_asm_sparc_solaris.s, xptcstubs_sparc_solaris.s -> xptcstubs_asm_sparc_solaris.s
git-svn-id: svn://10.0.0.236/trunk@30314 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 01:56:01 +00:00
sdagley%netscape.com
e0df321e0c Mailnews has to be built now, because the profile wizard stuff was put into the mailnews directory, and doesn't get exported unless you build mailnews. (Don't shoot the messenger).
git-svn-id: svn://10.0.0.236/trunk@30313 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 01:38:10 +00:00
waterson%netscape.com
cbfe02a446 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@30312 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 01:15:01 +00:00
av%netscape.com
2a8067f921 Fixing bug #3605
git-svn-id: svn://10.0.0.236/trunk@30310 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 01:10:25 +00:00
mcmullen%netscape.com
d323435b9d Typo
git-svn-id: svn://10.0.0.236/trunk@30309 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 00:59:05 +00:00
rickg%netscape.com
01d2a451f2 more WIP for DOM/paste API's
git-svn-id: svn://10.0.0.236/trunk@30308 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 00:55:54 +00:00
waterson%netscape.com
b9a691086d Unclump interfaces into individual files.
git-svn-id: svn://10.0.0.236/trunk@30307 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 00:48:15 +00:00
hangas%netscape.com
f9d1919276 Export navigator.js for mac.
git-svn-id: svn://10.0.0.236/trunk@30306 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 00:48:04 +00:00
waterson%netscape.com
4634a52501 Unclumped interfaces into individual files.
git-svn-id: svn://10.0.0.236/trunk@30305 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 00:47:38 +00:00
nisheeth%netscape.com
84d9443f3f Fix for bug 5850:
1) Add a RemoveChild() method to nsIWebshell.
2) nsWebshell::Destroy() calls this method on its parent to remove itself from the parent's child list.
3) Call nsWebshell::Destroy() from nsHTMLFrameInnerFrame's detructor.


git-svn-id: svn://10.0.0.236/trunk@30304 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 00:23:51 +00:00
nisheeth%netscape.com
6cc6d8d9b0 Fix for bug 5850:
1) Add a RemoveChild() method to nsIWebshell.
2) nsWebshell::Destroy() calls this method on its parent to remove itself from the parent's child list.
3) Call nsWebshell::Destroy() from nsHTMLFrameInnerFrame's detructor.


git-svn-id: svn://10.0.0.236/trunk@30303 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 00:10:33 +00:00
ducarroz%netscape.com
e52e4fba1b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30302 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 00:04:48 +00:00
mscott%netscape.com
c88b3130e3 Changes for QA smoketest. Be noisy for release builds when getting new mail --> print out results of BIFF and report when get new mail is completed.
git-svn-id: svn://10.0.0.236/trunk@30301 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 00:02:23 +00:00
briano%netscape.com
7bbf35253d Automated update
git-svn-id: svn://10.0.0.236/trunk@30300 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 00:00:12 +00:00
ramiro%netscape.com
208fe079a6 It was breaking on redhat 6.0.
git-svn-id: svn://10.0.0.236/trunk@30299 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:56:33 +00:00
jband%netscape.com
ead131f9f2 don't copy libxpconnect.so components directory on platforms where xptcall is not supported
git-svn-id: svn://10.0.0.236/trunk@30298 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:54:13 +00:00
rickg%netscape.com
8d80cbcf98 temporarily unwind new comment handling -- I'll wait a week
git-svn-id: svn://10.0.0.236/trunk@30297 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:45:32 +00:00
ftang%netscape.com
76aba089a9 change description about platform specific section
git-svn-id: svn://10.0.0.236/trunk@30296 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:38:39 +00:00
hyatt%netscape.com
5bc525e44a Supporting nsIEventqueues.
git-svn-id: svn://10.0.0.236/trunk@30295 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:38:27 +00:00
hyatt%netscape.com
a47a826e85 Tweaks to get rid of controller stuff.
git-svn-id: svn://10.0.0.236/trunk@30294 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:38:03 +00:00
hyatt%netscape.com
efdf23946a Committing changes to allow instantiation of nsIEventQueues.
git-svn-id: svn://10.0.0.236/trunk@30293 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:37:01 +00:00
hyatt%netscape.com
0bed0ef1da Commit changes to support window.open and to switch over to nsIEventQueues.
git-svn-id: svn://10.0.0.236/trunk@30292 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:36:42 +00:00
hyatt%netscape.com
774fc5dd25 Committing changes to appcores to support window.open.
git-svn-id: svn://10.0.0.236/trunk@30291 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:36:18 +00:00
hyatt%netscape.com
f0500e2390 Committing the changes to support the new nsIEventQueue interface and
nested queues in the event queue service.


git-svn-id: svn://10.0.0.236/trunk@30290 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:35:47 +00:00
hyatt%netscape.com
e393d712bf Committing changes to support the new nsIEventQueue interface.
git-svn-id: svn://10.0.0.236/trunk@30289 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:35:25 +00:00
hyatt%netscape.com
40fc89740d Committing Mac Project file for new event queues.
git-svn-id: svn://10.0.0.236/trunk@30288 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:34:58 +00:00
jefft%netscape.com
045ba83e91 uncommented out check for inbox folder name
git-svn-id: svn://10.0.0.236/trunk@30287 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:34:42 +00:00
hyatt%netscape.com
25805d78fb Switching from PLEventQueues to nsIEventQueues.
git-svn-id: svn://10.0.0.236/trunk@30286 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:34:41 +00:00
hyatt%netscape.com
0942f97448 Changes to the APIS for webshellcontainers.
git-svn-id: svn://10.0.0.236/trunk@30285 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:34:10 +00:00
hyatt%netscape.com
469383f4dd Changes to the APIS for webshellcontainer.
git-svn-id: svn://10.0.0.236/trunk@30284 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:33:55 +00:00
hyatt%netscape.com
6915601190 Changes to support different methods on the webshellcontainer interface.
git-svn-id: svn://10.0.0.236/trunk@30283 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:33:30 +00:00
hyatt%netscape.com
3c8e3170b8 Switching over to nsIEventQueues. Adding support for onunload, onabort, and
onerror.  Adding support for event capturing through script.  Adding support
for robust error-checking in the chrome registry.


git-svn-id: svn://10.0.0.236/trunk@30282 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:32:25 +00:00
hyatt%netscape.com
4db58b6957 Switching over to nsIEventQueues instead of PLEventQueues.
git-svn-id: svn://10.0.0.236/trunk@30281 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:31:26 +00:00
hyatt%netscape.com
5317865813 Switching over to nsIEventQueues.
git-svn-id: svn://10.0.0.236/trunk@30280 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:31:07 +00:00
hyatt%netscape.com
4d68fdb7c7 Switching to nsIEventQueues and tweaking the AppCore createWindow function's args.
git-svn-id: svn://10.0.0.236/trunk@30279 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:29:53 +00:00
hyatt%netscape.com
fc6ce862af Switching to nsIEventQueues instead of PLEventQueues.
git-svn-id: svn://10.0.0.236/trunk@30278 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:29:28 +00:00
hyatt%netscape.com
7feb3ecad0 Changes to support window.open in AppRunner.
git-svn-id: svn://10.0.0.236/trunk@30277 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:29:06 +00:00
hyatt%netscape.com
cc32d3d331 Changes to support AppRunner's window.open
git-svn-id: svn://10.0.0.236/trunk@30276 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:27:57 +00:00
danm%netscape.com
b5025d58f4 PresShell given owning reference to its nsDocument and nsPresContext. Prevents early deletion of these objects in some cases. Part of bug 5844. a:kipp
git-svn-id: svn://10.0.0.236/trunk@30275 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:27:42 +00:00
danm%netscape.com
23b438d255 HandleEvent holds onto the view's ViewObserver for the life of the method. Prevents early deletion of the view in some cases. Part of bug 5844.
git-svn-id: svn://10.0.0.236/trunk@30274 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:23:35 +00:00
rickg%netscape.com
37807ad3de small mods to parser API's for DOM/paste
git-svn-id: svn://10.0.0.236/trunk@30273 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:20:28 +00:00
nhotta%netscape.com
3733e90f80 Changed SetDocumentCharset, synchronized with browser implementation.
git-svn-id: svn://10.0.0.236/trunk@30272 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:19:28 +00:00
rods%netscape.com
56768a4a76 Fixed it up for image support
git-svn-id: svn://10.0.0.236/trunk@30271 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 23:14:57 +00:00
ftang%netscape.com
6141fd9c22 add comment and NPL.
git-svn-id: svn://10.0.0.236/trunk@30270 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:57:03 +00:00
slamm%netscape.com
88bb10543c This Makefile is generated by configure.
git-svn-id: svn://10.0.0.236/trunk@30269 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:52:59 +00:00
locka%iol.ie
7049059c31 New control event sink
git-svn-id: svn://10.0.0.236/trunk@30268 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:52:40 +00:00
locka%iol.ie
e126a9175f Updates to test app
git-svn-id: svn://10.0.0.236/trunk@30267 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:51:34 +00:00
mscott%netscape.com
f02ec762a0 part of mailnews audit --> use nsCOMPtr.
part of mailnews audit --> Conversion to NS_WITH_SERVICE


git-svn-id: svn://10.0.0.236/trunk@30266 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:51:14 +00:00
ftang%netscape.com
bd8c02634c add comment and NPL. Change tis-620 to uppercase TIS-620
git-svn-id: svn://10.0.0.236/trunk@30265 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:49:05 +00:00
locka%iol.ie
67e3e777f7 Added first impl for loading script engine from an IStream
git-svn-id: svn://10.0.0.236/trunk@30264 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:48:41 +00:00
mscott%netscape.com
eafb5d6716 part of mailnews audit --> Conversion to NS_WITH_SERVICE
git-svn-id: svn://10.0.0.236/trunk@30263 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:48:37 +00:00
ftang%netscape.com
1c19886ef3 change tis-620 to upper case TIS-620
git-svn-id: svn://10.0.0.236/trunk@30262 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:47:49 +00:00
dougt%netscape.com
2b9ec29607 Removing nsProxyEvent from xpcom. It will be shortly replaced with a
new and improved version.


git-svn-id: svn://10.0.0.236/trunk@30261 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:47:45 +00:00
ftang%netscape.com
6ea5f2b322 add comment and NPL
git-svn-id: svn://10.0.0.236/trunk@30260 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:45:57 +00:00
locka%iol.ie
72b1c2f3ec First impl of view source and NewWindow2 (thanks Neoplanet!)
Changes to IOleCommandTarget


git-svn-id: svn://10.0.0.236/trunk@30259 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:45:22 +00:00
rods%netscape.com
893617ed6e Changed ref counting, removed the kiknown for ref counting
reworked and reformated the code.


git-svn-id: svn://10.0.0.236/trunk@30258 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:44:21 +00:00
rods%netscape.com
1d863eb186 Removed the factory class that was unecessary, added some error checking
made fixes for changes to ienumfe


git-svn-id: svn://10.0.0.236/trunk@30257 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:44:16 +00:00
mscott%netscape.com
65a2249ee1 part of mailnews audit --> use nsCOMPtr.
part of mailnews audit --> Conversion to NS_WITH_SERVICE


git-svn-id: svn://10.0.0.236/trunk@30256 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:43:09 +00:00
matt%netscape.com
c5341d5a23 Adding navigator.js file to makefiles
git-svn-id: svn://10.0.0.236/trunk@30255 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:42:51 +00:00
dougt%netscape.com
a5599da8a3 Removing nsProxyEvent from xpcom. It will be shortly replaced with a
new and improved version


git-svn-id: svn://10.0.0.236/trunk@30254 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:42:22 +00:00
matt%netscape.com
79241d73b5 Adding navigator.js file to clean navigator.xul up
git-svn-id: svn://10.0.0.236/trunk@30253 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:42:06 +00:00
matt%netscape.com
b63bdd437c Adding navigator.js file to have js put into
git-svn-id: svn://10.0.0.236/trunk@30252 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:40:48 +00:00
rods%netscape.com
242187a752 Initial check in
git-svn-id: svn://10.0.0.236/trunk@30251 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:40:30 +00:00
rods%netscape.com
d840835e4d Initial checkin
git-svn-id: svn://10.0.0.236/trunk@30250 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:40:20 +00:00
rods%netscape.com
79c398e7ca Commented out some debug statements and commented out the SetFocus on mouse down event
git-svn-id: svn://10.0.0.236/trunk@30249 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:38:45 +00:00
rods%netscape.com
e5f5bb191d Commented out debug print statements
git-svn-id: svn://10.0.0.236/trunk@30248 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:37:57 +00:00
rods%netscape.com
e3579a5488 Added (uncommented) nsIFileListTransferable
git-svn-id: svn://10.0.0.236/trunk@30247 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:36:40 +00:00
putterman%netscape.com
8c3264f2c9 use nsIDBMessage
git-svn-id: svn://10.0.0.236/trunk@30246 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:35:55 +00:00
rods%netscape.com
3087bddfdd Added kDropFilesMime
git-svn-id: svn://10.0.0.236/trunk@30245 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:35:51 +00:00
putterman%netscape.com
544f964c05 use nsCOMPtr and nsIDBMessage.
git-svn-id: svn://10.0.0.236/trunk@30244 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:35:41 +00:00
rods%netscape.com
88db6ed19a Initial checkin
git-svn-id: svn://10.0.0.236/trunk@30243 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:34:56 +00:00
putterman%netscape.com
cb06dc367b use nsCOMPtr's.
git-svn-id: svn://10.0.0.236/trunk@30242 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:34:35 +00:00
putterman%netscape.com
d84f8dc404 Use nsCOMPtr's.
git-svn-id: svn://10.0.0.236/trunk@30241 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:34:11 +00:00
putterman%netscape.com
e4e740d096 Add nsIDBMessage interface and remove GetPath from nsIImapFolder.
git-svn-id: svn://10.0.0.236/trunk@30240 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:33:40 +00:00
alecf%netscape.com
e743495d15 back out my warning fix (proper fix on the way)
git-svn-id: svn://10.0.0.236/trunk@30239 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:33:10 +00:00
ftang%netscape.com
b19b3a5da4 move to the 2nd implementation. Remove the first one
git-svn-id: svn://10.0.0.236/trunk@30238 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:32:06 +00:00
nhotta%netscape.com
079f1d644a Fix memory leaks.
git-svn-id: svn://10.0.0.236/trunk@30237 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:28:17 +00:00
rods%netscape.com
9eafc7452e Added RemovedDataFlavor
git-svn-id: svn://10.0.0.236/trunk@30236 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:27:40 +00:00
rods%netscape.com
29cf84b9d2 Added RemovedDataFlavor and some error checking
git-svn-id: svn://10.0.0.236/trunk@30235 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:27:35 +00:00
ftang%netscape.com
233bb7519c fix virtual destroctor problem
git-svn-id: svn://10.0.0.236/trunk@30234 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:27:06 +00:00
rods%netscape.com
15dda55d9b Added nsIFileListTransferable CID
git-svn-id: svn://10.0.0.236/trunk@30233 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:22:31 +00:00
ftang%netscape.com
d4f95b116c change the makefile to install properties file to the right place
git-svn-id: svn://10.0.0.236/trunk@30232 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:22:02 +00:00
mscott%netscape.com
046bf08adf part of mailnews audit --> use nsCOMPtr.
part of mailnews audit --> Conversion to NS_WITH_SERVICE


git-svn-id: svn://10.0.0.236/trunk@30231 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:21:48 +00:00
ftang%netscape.com
a01776fcaf move the NS_IMPL_IDS to nsCharestAlias.cpp add the real implementation for nsWinCharset.cpp
git-svn-id: svn://10.0.0.236/trunk@30230 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:21:09 +00:00
ftang%netscape.com
2e05cf1b63 change mapping for 1252 and 1254
git-svn-id: svn://10.0.0.236/trunk@30229 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:19:02 +00:00
jdunn%netscape.com
50a231d8d8 remove the -lIDL from the EX_LIBS line. It is included with $(LIBIDL_LIBS)
correctly.  HP chokes on the -lIDL since there is no preceding -L<path to libIDL.a>


git-svn-id: svn://10.0.0.236/trunk@30228 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:16:15 +00:00
ducarroz%netscape.com
1df1988ee5 replace unique by s_unique to avoid conflict error with std::unique
git-svn-id: svn://10.0.0.236/trunk@30227 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:09:31 +00:00
wtc%netscape.com
91e52a4cea Create 10 server threads by default.
git-svn-id: svn://10.0.0.236/trunk@30226 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:06:00 +00:00
kin%netscape.com
247bc45d35 Renamed NS_TEXTSERVICE_CID to NS_SPELLCHECKER_CID.
git-svn-id: svn://10.0.0.236/trunk@30225 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:03:32 +00:00
kin%netscape.com
e6a5300568 Initial checkin of file.
git-svn-id: svn://10.0.0.236/trunk@30224 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:54:11 +00:00
sspitzer%netscape.com
a130f09c4b whoops, didn't mean to check this in
git-svn-id: svn://10.0.0.236/trunk@30223 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:53:17 +00:00
wtc%netscape.com
e593d30de0 Added curly braces around nested if's to achieve the if-else association
suggested by the identation.  Thanks to Dorin-Ioan Marinca <dim@csti.fr>
for reporting the problem and Bert Driehuis
<bert_driehuis@nl.compuware.com> for suggesting the fix.


git-svn-id: svn://10.0.0.236/trunk@30222 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:53:10 +00:00
sspitzer%netscape.com
2f90d14705 remove warnings. stop using sscanf. stop hardcoding news://news.mozilla.org
as our server uri.


git-svn-id: svn://10.0.0.236/trunk@30221 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:43:28 +00:00
alecf%netscape.com
e799a2f0c5 massive cleanup of the message factory - make sure to delete objects when the QueryInterface fails
and fix the message factory constructor since we no longer hold onto the service manager


git-svn-id: svn://10.0.0.236/trunk@30220 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:39:54 +00:00
karnaze%netscape.com
f6d61718e4 bug 3109 - nsFieldSetFrame::SetInitialChildList can deal with legend not being first frame in list
git-svn-id: svn://10.0.0.236/trunk@30219 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:35:05 +00:00
kipp%netscape.com
df30a0c42d alloc iids
git-svn-id: svn://10.0.0.236/trunk@30218 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:31:48 +00:00
sspitzer%netscape.com
d43c1b784b comment for clarity
git-svn-id: svn://10.0.0.236/trunk@30217 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:26:28 +00:00
ftang%netscape.com
9ee03491c8 make mCharset private
git-svn-id: svn://10.0.0.236/trunk@30216 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:09:08 +00:00
alecf%netscape.com
191ca8b97d fix some warnings about initializing variables in constructors
git-svn-id: svn://10.0.0.236/trunk@30215 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:09:03 +00:00
mscott%netscape.com
210fc8d018 part of mailnews audit --> Conversion to NS_WITH_SERVICE
git-svn-id: svn://10.0.0.236/trunk@30214 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:05:30 +00:00
ftang%netscape.com
500ec131a7 check in the real implementation which will read the mapping from a property file....
git-svn-id: svn://10.0.0.236/trunk@30213 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:04:12 +00:00
mcmullen%netscape.com
5c44a9aa9c Try that again.
git-svn-id: svn://10.0.0.236/trunk@30212 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 21:02:35 +00:00
mcmullen%netscape.com
2e3dd5fc59 Missed this file, too.
git-svn-id: svn://10.0.0.236/trunk@30211 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:59:53 +00:00
slamm%netscape.com
9b45189475 Fix shift error on Solaris.
git-svn-id: svn://10.0.0.236/trunk@30210 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:57:47 +00:00
alecf%netscape.com
ee8eafa46e #if 0 out some unused code
git-svn-id: svn://10.0.0.236/trunk@30209 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:56:40 +00:00
vidur%netscape.com
ea579482e4 new IIDs for nsIDOMNSRange, nsIDOMOption, nsIJSNativeInitializer, nsHTMLOptionElement_CID and nsISelectElement
git-svn-id: svn://10.0.0.236/trunk@30208 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:55:46 +00:00
mcmullen%netscape.com
4996eb7189 Missed this file, too.
git-svn-id: svn://10.0.0.236/trunk@30207 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:55:15 +00:00
mscott%netscape.com
e9d198e495 part of mailnews audit --> Conversion to NS_WITH_SERVICE
git-svn-id: svn://10.0.0.236/trunk@30206 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:54:35 +00:00
vidur%netscape.com
8b5b1ef4d9 Added HTMLOptionElement factory registration.
git-svn-id: svn://10.0.0.236/trunk@30205 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:54:26 +00:00
vidur%netscape.com
2a6b6dd584 Fixed non-ANSII compliant code.
git-svn-id: svn://10.0.0.236/trunk@30204 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:53:44 +00:00
vidur%netscape.com
7251e24c58 Added nsISelectElement interface. Added support for nsIJSNativeInitializer interface for images and options. Fixed SELECT and OPTION relationship. Added support for the Option constructor.
git-svn-id: svn://10.0.0.236/trunk@30203 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:53:26 +00:00
alecf%netscape.com
febd8c2e7f allow nscore.h to be included by C source files by not including nsDebug.h
git-svn-id: svn://10.0.0.236/trunk@30202 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:52:58 +00:00
slamm%netscape.com
6cafd5c518 Fix client.mk's webconfig target. Prefill the form.
git-svn-id: svn://10.0.0.236/trunk@30201 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:52:53 +00:00
vidur%netscape.com
17377a2cdf Added option to HTMLAtoms
git-svn-id: svn://10.0.0.236/trunk@30200 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:52:26 +00:00
alecf%netscape.com
1c51da9f1a initialize some variables in constructor declaration rather than the constructor itself
git-svn-id: svn://10.0.0.236/trunk@30199 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:52:05 +00:00
vidur%netscape.com
178501cc8f Added Option constructor support to factory.
git-svn-id: svn://10.0.0.236/trunk@30198 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:52:03 +00:00
vidur%netscape.com
d13be20ae5 Bug fix from Citec for clearing out parameter when an attribute doesn't exist
git-svn-id: svn://10.0.0.236/trunk@30197 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:51:42 +00:00
mscott%netscape.com
12ce9170bf part of mailnews audit --> Conversion to NS_WITH_SERVICE
part of mailnews audit --> use nsCOMPtr.


git-svn-id: svn://10.0.0.236/trunk@30196 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:51:30 +00:00
vidur%netscape.com
0fd5acf485 Added nsIContent implementation macro with SetParent defined locally
git-svn-id: svn://10.0.0.236/trunk@30195 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:50:43 +00:00
alecf%netscape.com
b8f6a37ee1 fix virtual constructor problem
git-svn-id: svn://10.0.0.236/trunk@30194 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:50:24 +00:00
mcmullen%netscape.com
474772206a Missed this file (with nsIDOMProfileCore.h added to export list).
git-svn-id: svn://10.0.0.236/trunk@30193 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:49:29 +00:00
alecf%netscape.com
008b12c125 fix possible uninitialized variable
git-svn-id: svn://10.0.0.236/trunk@30192 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:49:20 +00:00
vidur%netscape.com
8339b3e79f Added use of the nsIJSNativeInitializer interface in constructors. Work in progress for unknown keyword.
git-svn-id: svn://10.0.0.236/trunk@30191 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:48:50 +00:00
vidur%netscape.com
9376bec6f4 Added Option constructor and nsIJSNativeIntializer.h interface. DOM glue code now uses the nsIJSNativeIntializer interface to initialize newly constructed instances.
git-svn-id: svn://10.0.0.236/trunk@30190 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:48:16 +00:00
vidur%netscape.com
fdd75c6ce2 Added Option constructor and resultant nsIDOMOption interface
git-svn-id: svn://10.0.0.236/trunk@30189 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:47:00 +00:00
nhotta%netscape.com
1fa57b9e17 Change to use nsIMacLocale getting script ID of locale.
git-svn-id: svn://10.0.0.236/trunk@30188 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:42:58 +00:00
putterman%netscape.com
dd3e15deaa change DEBUG to DEBUG_rhp
git-svn-id: svn://10.0.0.236/trunk@30187 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:37:35 +00:00
mscott%netscape.com
0e78dc954a part of mailnews audit --> Conversion to NS_WITH_SERVICE
part of mailnews audit --> use nsCOMPtr.


git-svn-id: svn://10.0.0.236/trunk@30186 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:36:34 +00:00
mscott%netscape.com
a50c20ad41 part of mailnews audit --> use nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@30185 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:34:31 +00:00
mscott%netscape.com
c17969cdf8 part of mailnews audit --> use nsCOMPtr.
part of mailnews audit --> Conversion to NS_WITH_SERVICE


git-svn-id: svn://10.0.0.236/trunk@30184 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:33:07 +00:00
ftang%netscape.com
d25366e1c8 add nsURLProperties.cpp
git-svn-id: svn://10.0.0.236/trunk@30183 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:31:31 +00:00
briano%netscape.com
7b049f2672 Automated update
git-svn-id: svn://10.0.0.236/trunk@30182 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:29:43 +00:00
alecf%netscape.com
ce4347de11 add a side effect warning that bit me hard during M6
git-svn-id: svn://10.0.0.236/trunk@30181 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:28:24 +00:00
ftang%netscape.com
824d32ceaa add 2nd implementation and fix breakage
git-svn-id: svn://10.0.0.236/trunk@30180 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:25:35 +00:00
alecf%netscape.com
68363f8ad6 add a whole bunch of new gcc/g++ warnings, and fix long long complaint with -pedantic
git-svn-id: svn://10.0.0.236/trunk@30179 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:24:19 +00:00
mcafee%netscape.com
7aa545d052 Forgot one whitespace problem.
git-svn-id: svn://10.0.0.236/trunk@30178 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:22:24 +00:00
ftang%netscape.com
acecffbcf4 change nsIElementObserver and nsCharsetObserver per harish request. We have not build w/ these three file yet.
git-svn-id: svn://10.0.0.236/trunk@30177 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:20:52 +00:00
mcafee%netscape.com
53bff52902 This file got checked in ? double-spaced.
git-svn-id: svn://10.0.0.236/trunk@30176 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:20:50 +00:00
ftang%netscape.com
b374050eec add wincharset.properties to install and clobber
git-svn-id: svn://10.0.0.236/trunk@30175 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:10:54 +00:00
rods%netscape.com
3bf04d4cd9 Added nsIDragSession.h
git-svn-id: svn://10.0.0.236/trunk@30174 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:07:30 +00:00
jband%netscape.com
ef7c96ff53 change to make xpidl [shared] cause a const qualifier to be emitted and wstring to map to PRUnichar rather than PRUint16
git-svn-id: svn://10.0.0.236/trunk@30173 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:03:43 +00:00
jband%netscape.com
70badb3169 adjust for xpidl [shared] cuasing a const qualifier to be emitted and wstring mapping to PRUnichar rather than PRUint16
git-svn-id: svn://10.0.0.236/trunk@30172 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:02:47 +00:00
waterson%netscape.com
7039297ad8 Added rules.mk. Whoops.
git-svn-id: svn://10.0.0.236/trunk@30171 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:02:22 +00:00
ftang%netscape.com
70dca6cd03 better error handling in append method
git-svn-id: svn://10.0.0.236/trunk@30170 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:01:55 +00:00
ducarroz%netscape.com
f10efc00e7 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30169 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 20:00:38 +00:00
slamm%netscape.com
adec14de8e Fix webconfig target.
git-svn-id: svn://10.0.0.236/trunk@30168 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:54:24 +00:00
ftang%netscape.com
9e14ae72b5 add charsetalias.properties maccharset.properties to the make alias list
git-svn-id: svn://10.0.0.236/trunk@30167 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:51:10 +00:00
ftang%netscape.com
863504b375 add nsURLProperties.cpp
git-svn-id: svn://10.0.0.236/trunk@30166 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:45:54 +00:00
waterson%netscape.com
1f2f9e3e0b Initial revision.
git-svn-id: svn://10.0.0.236/trunk@30165 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:42:02 +00:00
ftang%netscape.com
97550d344f fix non ASCII form posting for URL encoded enctype. reviewed by karnaze
git-svn-id: svn://10.0.0.236/trunk@30164 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:41:41 +00:00
mcmullen%netscape.com
1e656b6d41 So much for that last touchup between building and committing...
git-svn-id: svn://10.0.0.236/trunk@30163 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:39:15 +00:00
mcmullen%netscape.com
7c346f9935 Checking in profile wizard on behalf of gayatrib and racham.
git-svn-id: svn://10.0.0.236/trunk@30162 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:37:51 +00:00
ftang%netscape.com
48405f3d1a add nsURLProperties.cpp and charsetalias.properties
git-svn-id: svn://10.0.0.236/trunk@30161 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:36:23 +00:00
ftang%netscape.com
df43dd08fe add new files
git-svn-id: svn://10.0.0.236/trunk@30160 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:35:20 +00:00
rhp%netscape.com
c5c9c0d217 Changes for LINEBREAK
git-svn-id: svn://10.0.0.236/trunk@30156 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:34:25 +00:00
valeski%netscape.com
f69b2ce1cf changed us over to regular monitors (prmon.h) in lieu of cached monitors (prcmon.h) for performance increase. cached monitors can be 5 times slower than regular monitors.
git-svn-id: svn://10.0.0.236/trunk@30155 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:33:37 +00:00
rhp%netscape.com
2c9f8a03e0 Cleanup for debug output
git-svn-id: svn://10.0.0.236/trunk@30154 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:31:20 +00:00
mcmullen%netscape.com
e8570eee1b Checking in profile wizard on behalf of gayatrib and racham.
git-svn-id: svn://10.0.0.236/trunk@30153 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:29:52 +00:00
mcmullen%netscape.com
74b1a94b65 International files in a separate group.
git-svn-id: svn://10.0.0.236/trunk@30152 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:28:14 +00:00
mcmullen%netscape.com
123c863a81 Moved international projects into a separate routine. Made it print announcements at the end of each routine, to facilitate restarting build (using "most") after an error.
git-svn-id: svn://10.0.0.236/trunk@30151 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:21:00 +00:00
morse%netscape.com
6e337ff63f attempt to fix build bustage
git-svn-id: svn://10.0.0.236/trunk@30150 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:20:44 +00:00
karnaze%netscape.com
871f0a7dd9 bug 3103 - resizing table based on height attribute now considers row spans of cells.
git-svn-id: svn://10.0.0.236/trunk@30149 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:15:56 +00:00
karnaze%netscape.com
5b5e147fdc new/revised regression bugs
git-svn-id: svn://10.0.0.236/trunk@30148 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:14:49 +00:00
mcafee%netscape.com
0d3c63b4aa Exporting nsIDragSession.h
git-svn-id: svn://10.0.0.236/trunk@30147 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:14:17 +00:00
mcmullen%netscape.com
66296c0260 Adding default preference javascript files to the macintosh build. Also, fixing a line termination bug (#5508)
git-svn-id: svn://10.0.0.236/trunk@30146 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:12:37 +00:00
mcmullen%netscape.com
a5c98aa5e2 Fix double-escaping problem (#4184)
git-svn-id: svn://10.0.0.236/trunk@30145 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:11:31 +00:00
mcmullen%netscape.com
44558b54ca Adding default preference javascript files to the macintosh build.
git-svn-id: svn://10.0.0.236/trunk@30144 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 19:08:59 +00:00
waterson%netscape.com
55b5a63d87 Added rdf/resources/Makefile.
git-svn-id: svn://10.0.0.236/trunk@30143 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:59:21 +00:00
waterson%netscape.com
92647c4fae Fixed install directive.
git-svn-id: svn://10.0.0.236/trunk@30142 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:58:55 +00:00
waterson%netscape.com
df8475a8a1 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@30141 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:58:43 +00:00
ducarroz%netscape.com
3903eb0269 add build instruction for mime/cthandlers/vcard
git-svn-id: svn://10.0.0.236/trunk@30140 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:58:04 +00:00
valeski%netscape.com
4ffb781b55 changed non-existant xp_win to win32
git-svn-id: svn://10.0.0.236/trunk@30139 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:53:44 +00:00
valeski%netscape.com
02f79aa87d removed prcmon from #include list
git-svn-id: svn://10.0.0.236/trunk@30138 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:52:38 +00:00
jdunn%netscape.com
38deab9856 Adding newline to end of file. HP chokes with out a \n at the end
git-svn-id: svn://10.0.0.236/trunk@30137 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:52:12 +00:00
jdunn%netscape.com
3f1515ea2d Adding a newline at end of file. HP compiler chokes if there is no \n
git-svn-id: svn://10.0.0.236/trunk@30136 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:51:29 +00:00
valeski%netscape.com
cdde4fe348 Fixed windows builds. changed #ifdef'd #included <windows.h> from XP_PC/XP_WIN to WIN32. There is not a XP_WIN macro.
git-svn-id: svn://10.0.0.236/trunk@30135 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:50:59 +00:00
dp%netscape.com
bbcaf8f995 XPCOM: Addref() and Release() definition fixed.
git-svn-id: svn://10.0.0.236/trunk@30134 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:45:07 +00:00
mscott%netscape.com
efa8a6beaa part of mailnews audit --> Conversion to NS_WITH_SERVICE
git-svn-id: svn://10.0.0.236/trunk@30133 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:41:02 +00:00
dp%netscape.com
f626086d60 XPCOM: Addref() and Release() usage fixed.
git-svn-id: svn://10.0.0.236/trunk@30132 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:38:21 +00:00
waterson%netscape.com
987c371ee4 Initial revision.
git-svn-id: svn://10.0.0.236/trunk@30131 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:27:31 +00:00
ducarroz%netscape.com
c981e185ad Adapt for Mac build
git-svn-id: svn://10.0.0.236/trunk@30130 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:22:46 +00:00
ducarroz%netscape.com
6aee998d72 #undef StrAllocCopy to avoid redefinition conflict on Mac, Replace XP_MEMCPY by nsCRT:memcpy
git-svn-id: svn://10.0.0.236/trunk@30129 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:21:59 +00:00
mcafee%netscape.com
8918a5dfad Tab error in Makefile.
git-svn-id: svn://10.0.0.236/trunk@30128 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:20:35 +00:00
ducarroz%netscape.com
32582f03c9 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30127 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:19:30 +00:00
jefft%netscape.com
91fe9f738e making selecting message/folder within a folder works; extract imap msg incoming server from url spec
git-svn-id: svn://10.0.0.236/trunk@30126 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:17:33 +00:00
jefft%netscape.com
6b86064fc5 removed SetServer(); imap msg incoming server will be extract out from the url spec
git-svn-id: svn://10.0.0.236/trunk@30125 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:14:09 +00:00
pinkerton%netscape.com
21b01f2c32 exporting nsIDragSession.h
git-svn-id: svn://10.0.0.236/trunk@30124 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:14:03 +00:00
ducarroz%netscape.com
e062f31f7e files check in in wrong directory!
git-svn-id: svn://10.0.0.236/trunk@30123 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:12:21 +00:00
pinkerton%netscape.com
ff8c671019 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30122 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:10:27 +00:00
morse%netscape.com
f046973003 add ability to change wallet password
git-svn-id: svn://10.0.0.236/trunk@30121 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:07:32 +00:00
ducarroz%netscape.com
6ac6d59199 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@30120 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 18:03:53 +00:00
morse%netscape.com
71c80a8f01 add ability to change password
git-svn-id: svn://10.0.0.236/trunk@30119 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 17:58:20 +00:00
mscott%netscape.com
c1295cebc7 part of mailnews audit --> Conversion to NS_WITH_SERVICE
git-svn-id: svn://10.0.0.236/trunk@30118 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 17:55:40 +00:00
morse%netscape.com
1f02eec79b use properties file for i18n
git-svn-id: svn://10.0.0.236/trunk@30117 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 17:55:01 +00:00
mscott%netscape.com
968e31cc92 part of mailnews audit --> Conversion to NS_WITH_SERVICE
quiet some noisy printfs which were printing out the message we were sending.


git-svn-id: svn://10.0.0.236/trunk@30116 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 17:53:59 +00:00
hshaw%netscape.com
e99bb24aa6 build nsByteBufferInputStream and nsThread for unix
git-svn-id: svn://10.0.0.236/trunk@30115 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 17:48:50 +00:00
hshaw%netscape.com
5d59cbef87 generate netwerk if directory exists
git-svn-id: svn://10.0.0.236/trunk@30114 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 17:45:58 +00:00
norris%netscape.com
6f9b237ae8 Handle the case where f is null in "new f".
git-svn-id: svn://10.0.0.236/trunk@30111 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 17:23:13 +00:00
sspitzer%netscape.com
5bc10591fc changes to get this to build with the -pedanic flag.
(when you pass --enable-pedantic to the compiler)


git-svn-id: svn://10.0.0.236/trunk@30110 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 17:21:33 +00:00
terry%mozilla.org
cd20bdfcd7 Patch by Pontus Lidman <pontus@mathcore.com> -- no longer requires the tclx_test.tcl file (which I had neglected to check in anyway).
git-svn-id: svn://10.0.0.236/trunk@30109 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 15:29:31 +00:00
rods%netscape.com
2916c7cc05 Removed D&D statically defined IIDs and replaced them with the static class GetIID()
git-svn-id: svn://10.0.0.236/trunk@30107 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 14:55:24 +00:00
rods%netscape.com
34e1dba245 Added Drag Over to act like "hover"
git-svn-id: svn://10.0.0.236/trunk@30106 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 14:44:51 +00:00
scc%netscape.com
c3c1b1ce2b change |CallQueryInterface| to handle situations where |nsISupports| is ambiguous.
git-svn-id: svn://10.0.0.236/trunk@30105 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 12:40:52 +00:00
mccabe%netscape.com
546751fb5d Fix to 5899; xpidl now looks for its target file where it's told to rather than eagerly plucking it out of the supplied includes directories.
Also removed an obsolete check against libIDL 0.6.2.


git-svn-id: svn://10.0.0.236/trunk@30104 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 10:52:20 +00:00
scc%netscape.com
1be50dc6d8 somebody is including this file inside an |extern "C"| declaration. That's bad. I can't find the culprit, but I can mark the important function |extern "C++"| to allow windows to compile.
git-svn-id: svn://10.0.0.236/trunk@30103 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 10:23:56 +00:00
scc%netscape.com
80c7c4981c oops
git-svn-id: svn://10.0.0.236/trunk@30102 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 09:51:04 +00:00
mccabe%netscape.com
04026d5bf8 Fix to 5415. Don't complain about duplicate iids when linking, if the duplicate iids are zero (representing unresolved interfaces.)
git-svn-id: svn://10.0.0.236/trunk@30101 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 09:47:10 +00:00
scc%netscape.com
8a9c9eb0d5 Added |CallQueryInterface|, a type-safe interface to |QueryInterface|
git-svn-id: svn://10.0.0.236/trunk@30100 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 09:44:27 +00:00
scc%netscape.com
c2578a9d5f added |null_nsCOMPtr()|, |CallQueryInterface()|, fixed comments; added |const| in several appropriate places
git-svn-id: svn://10.0.0.236/trunk@30099 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 09:37:35 +00:00
mccabe%netscape.com
2a30f214a2 Fix to 5898. xpidl now works like the rest of the compilers in the world, and understands -Ifoo as well as -I foo.
Thanks to Heikki Toivonen <heikki@citec.fi> for this suggestion.


git-svn-id: svn://10.0.0.236/trunk@30098 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 08:21:36 +00:00
jfrancis%netscape.com
cd95192e53 fixing problem with undo of join txn
git-svn-id: svn://10.0.0.236/trunk@30096 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 08:03:51 +00:00
jfrancis%netscape.com
cf6d856eef revamped join on deletion
git-svn-id: svn://10.0.0.236/trunk@30095 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 08:03:07 +00:00
mccabe%netscape.com
08d8615ea7 Check for consts > 0 before allocating record space for them. Fix to 5683, a malloc(0) bug; thanks to jlnance@inttek.com for catching this one.
git-svn-id: svn://10.0.0.236/trunk@30094 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 07:31:40 +00:00
mccabe%netscape.com
9159fbef9b Fix to 5301. Revert from using fd_copysign from the libmath emulation library to using the system copysign.
git-svn-id: svn://10.0.0.236/trunk@30093 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 07:12:18 +00:00
hshaw%netscape.com
11378c0a71 include prcmon.h for nsThread.h, until unix defines NS_MT_SUPPORTED for nsISupports.h
git-svn-id: svn://10.0.0.236/trunk@30092 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 07:11:31 +00:00
briano%netscape.com
3407289699 Automated update
git-svn-id: svn://10.0.0.236/trunk@30091 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 06:59:41 +00:00
ramiro%netscape.com
ad4bcd3233 Add support for USE_STRING2 - for toggling between nsString and nsString2.
git-svn-id: svn://10.0.0.236/trunk@30090 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 06:58:54 +00:00
ramiro%netscape.com
6d0d2a8452 Add quotes to avoid shell parsing errors.
git-svn-id: svn://10.0.0.236/trunk@30089 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 06:55:17 +00:00
rickg%netscape.com
31c900c01e fixed API mismatch
git-svn-id: svn://10.0.0.236/trunk@30088 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 06:48:45 +00:00
rickg%netscape.com
df58cedf1f update to nsString2 API
git-svn-id: svn://10.0.0.236/trunk@30087 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 06:38:37 +00:00
waterson%netscape.com
6f2f0bd31b Clean up includes.
git-svn-id: svn://10.0.0.236/trunk@30084 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 05:29:20 +00:00
waterson%netscape.com
7dfaddd3db Remove nsIRDFResourceFactory.h: it is obsolete.
git-svn-id: svn://10.0.0.236/trunk@30083 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 05:16:16 +00:00
rickg%netscape.com
5921db1b1d fixed nsString2 API mismatch
git-svn-id: svn://10.0.0.236/trunk@30082 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 05:09:48 +00:00
alecf%netscape.com
1085c66456 second attempt at a fix for #5792 - this time take into account platforms which cannot use "/" as a directory seperator
git-svn-id: svn://10.0.0.236/trunk@30080 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 05:03:04 +00:00
waterson%netscape.com
d57e5f4ade Don't rely on headers including stuff: be sure to include nsIRDFResource.h and nsIRDFService.h.
git-svn-id: svn://10.0.0.236/trunk@30079 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 05:01:24 +00:00
rickg%netscape.com
fd0be64d4f wrong API, sorry
git-svn-id: svn://10.0.0.236/trunk@30078 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 04:49:48 +00:00
rickg%netscape.com
804e566231 update for bug 5544
git-svn-id: svn://10.0.0.236/trunk@30077 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 04:25:20 +00:00
rickg%netscape.com
845245bb71 fixed bug 5611
git-svn-id: svn://10.0.0.236/trunk@30076 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 04:24:24 +00:00
rickg%netscape.com
fc7fad7024 fixed bug 5846
git-svn-id: svn://10.0.0.236/trunk@30075 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 04:23:12 +00:00
rickg%netscape.com
d9084b8e80 added DOM interfaces for paste
git-svn-id: svn://10.0.0.236/trunk@30074 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 04:22:31 +00:00
sspitzer%netscape.com
9e9b97b2a5 remove warning. use #if 0, not comments, to take out code that isn't ready yet
git-svn-id: svn://10.0.0.236/trunk@30073 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 04:20:33 +00:00
mcafee%netscape.com
6c82944588 Solaris needs a newline at the end of the file.
git-svn-id: svn://10.0.0.236/trunk@30072 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 04:09:20 +00:00
mcafee%netscape.com
81eac65a3a Ah, that ever elusive new line at the end of the file..
git-svn-id: svn://10.0.0.236/trunk@30071 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:56:54 +00:00
sspitzer%netscape.com
1ce8e2ed95 removed files: mozilla/mailnews/compose/src/nsMsgPost.cpp
git-svn-id: svn://10.0.0.236/trunk@30070 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:55:11 +00:00
waterson%netscape.com
9b10e4e55f Improve docs.
git-svn-id: svn://10.0.0.236/trunk@30069 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:54:56 +00:00
waterson%netscape.com
e07f7bbf43 Don't set record->typelibRecord until we know that we're actually indexifying the typelib in which the interface lives.
git-svn-id: svn://10.0.0.236/trunk@30068 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:45:55 +00:00
jband%netscape.com
8a2be521db force the tools for get created in the export phase to be used to build xpt files and cleanup otherwise makefiles
git-svn-id: svn://10.0.0.236/trunk@30067 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:43:14 +00:00
jband%netscape.com
cbedc6b4c8 fix casting warning and quiet useless runtime noise on success
git-svn-id: svn://10.0.0.236/trunk@30066 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:40:31 +00:00
jband%netscape.com
e9e1343e80 Support BSD OS and difference between gcc and egcs (thanks to Bert Driehui <bert_driehuis@nl.compuware.com>)
git-svn-id: svn://10.0.0.236/trunk@30065 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:38:05 +00:00
waterson%netscape.com
913f5616c2 Re-factored into individual interfaces.
git-svn-id: svn://10.0.0.236/trunk@30064 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:37:07 +00:00
jband%netscape.com
05c1be222d Fix comical copy/paste error (thanks to Bert Driehui <bert_driehuis@nl.compuware.com>)
git-svn-id: svn://10.0.0.236/trunk@30063 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:36:21 +00:00
jband%netscape.com
870ff7a296 updating status page
git-svn-id: svn://10.0.0.236/trunk@30062 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:34:45 +00:00
karnaze%netscape.com
7d38902d5f removed new lines in javascript string
git-svn-id: svn://10.0.0.236/trunk@30061 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:33:56 +00:00
karnaze%netscape.com
86e23d56fb prints out regression file name when generating initial data
git-svn-id: svn://10.0.0.236/trunk@30060 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:32:42 +00:00
waterson%netscape.com
46470523bb Bug 5679. Fix leak from XPConnect glue.
git-svn-id: svn://10.0.0.236/trunk@30059 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:32:12 +00:00
karnaze%netscape.com
375be2284d bug 5838 - right-to-left handling of col span at right edge
git-svn-id: svn://10.0.0.236/trunk@30058 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:31:07 +00:00
sspitzer%netscape.com
4f9d68357b fix build bustage on UNIX
git-svn-id: svn://10.0.0.236/trunk@30057 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:25:25 +00:00
mcafee%netscape.com
0b716f067c Solaris needs explicit cast. a,r=kevinmc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@30056 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:24:13 +00:00
sspitzer%netscape.com
f9dd9e9682 cvs ignorage
git-svn-id: svn://10.0.0.236/trunk@30054 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:18:01 +00:00
sspitzer%netscape.com
2f37d1b72e hook up the wiring so that when you click on news message in the threadpane,
right news url is run to load the correct message in the message pane


git-svn-id: svn://10.0.0.236/trunk@30053 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:16:24 +00:00
hshaw%netscape.com
f6a873c3b3 Add nsIByteBufferInputStream.h and nsIThread.h to export list
git-svn-id: svn://10.0.0.236/trunk@30052 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:15:41 +00:00
sspitzer%netscape.com
ff6cc68167 fixage for build bustage
git-svn-id: svn://10.0.0.236/trunk@30051 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:13:00 +00:00
sspitzer%netscape.com
fba62b182d use the NS_WITH_SERVICE macro
git-svn-id: svn://10.0.0.236/trunk@30049 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:04:03 +00:00
sspitzer%netscape.com
1c3bd0a60e extend the parser test to add two headers to a public newsgroup
git-svn-id: svn://10.0.0.236/trunk@30048 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:03:29 +00:00
sspitzer%netscape.com
f0c8e55e75 use NEWS_PORT instead of -1 as the default
git-svn-id: svn://10.0.0.236/trunk@30047 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:03:05 +00:00
sspitzer%netscape.com
e4dda86214 #define the lengths of the string constants, and use this instead of
PL_strlen()


git-svn-id: svn://10.0.0.236/trunk@30046 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:02:18 +00:00
sspitzer%netscape.com
d1a98f2c69 adding newline at end of file
git-svn-id: svn://10.0.0.236/trunk@30045 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:01:16 +00:00
sspitzer%netscape.com
f1aea86b0c use #define instead of doing PL_strlen
git-svn-id: svn://10.0.0.236/trunk@30044 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:59:05 +00:00
mcafee%netscape.com
02777faabc Adding verification URLs to Debug menu.
git-svn-id: svn://10.0.0.236/trunk@30043 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:58:15 +00:00
sspitzer%netscape.com
4803a79333 make the news factory handle news messages
git-svn-id: svn://10.0.0.236/trunk@30042 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:56:33 +00:00
sspitzer%netscape.com
d8f71f8fa6 use the NS_WITH_SERVICE macro
git-svn-id: svn://10.0.0.236/trunk@30041 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:55:59 +00:00
bienvenu%netscape.com
c947f043ad add FindRow api, fix lots of warnings, speed up msg threading
git-svn-id: svn://10.0.0.236/trunk@30040 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:55:30 +00:00
sspitzer%netscape.com
6c3a9eba35 exit on failure
git-svn-id: svn://10.0.0.236/trunk@30039 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:55:16 +00:00
sspitzer%netscape.com
40b647daee nsMsgPost is extinct
git-svn-id: svn://10.0.0.236/trunk@30038 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:54:57 +00:00
sspitzer%netscape.com
0b25076b60 nsMsgPost is extinct
git-svn-id: svn://10.0.0.236/trunk@30037 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:42:21 +00:00
sspitzer%netscape.com
503257ce51 MsgPost is extinct
git-svn-id: svn://10.0.0.236/trunk@30036 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:41:24 +00:00
sspitzer%netscape.com
e2777ecbfa more changes to get posting to a news server working
git-svn-id: svn://10.0.0.236/trunk@30034 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:38:20 +00:00
sspitzer%netscape.com
bcb8d64096 more changes to get nntpTest (and eventually news) working
git-svn-id: svn://10.0.0.236/trunk@30033 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:37:15 +00:00
sspitzer%netscape.com
793ae4f179 changes to get nntpTest (and eventually news) working
git-svn-id: svn://10.0.0.236/trunk@30032 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:35:32 +00:00
sspitzer%netscape.com
2e022cdcc7 these stub files are history.
git-svn-id: svn://10.0.0.236/trunk@30031 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:27:11 +00:00
sspitzer%netscape.com
bc4a7307ba removing libnntpTest.
adding functionality to nntpTest


git-svn-id: svn://10.0.0.236/trunk@30030 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:26:10 +00:00
sspitzer%netscape.com
27dd0a0f38 there is no libnntpTest.so anymore
git-svn-id: svn://10.0.0.236/trunk@30029 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:25:23 +00:00
pierre%netscape.com
0d0dac8be2 Fixed #2236 "Frame scrolling is broken". Appr chofmann for M5 branch.
git-svn-id: svn://10.0.0.236/trunk@30028 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:24:43 +00:00
hshaw%netscape.com
6c8eb16f9c wrap #include <windows.h> with #ifdef XP_WIN (for unix builds)
git-svn-id: svn://10.0.0.236/trunk@30023 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 00:31:40 +00:00
hshaw%netscape.com
cb4086f7a8 fix signature for nsGetFactory()
git-svn-id: svn://10.0.0.236/trunk@30022 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 00:21:42 +00:00
bryce-mozilla%nextbus.com
0719f79900 Add parameter "usebrowserinfo", to allow disabling the setting of OS and Platform
based on the brower the user makes the report from.  Realign text box for
narrower windows.  Remove Mozilla-specific default parameter.


git-svn-id: svn://10.0.0.236/trunk@30017 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 00:05:27 +00:00
bryce-mozilla%nextbus.com
438819cbd4 Create a summary report for "-All-" bugs. Default links on. Switch sense of
banner flag.  Add commented-out line to enable showing SQL line.


git-svn-id: svn://10.0.0.236/trunk@30016 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 00:01:57 +00:00
hshaw%netscape.com
1da81ce8d2 remove duplicate nsISocketTransportService.h reference
git-svn-id: svn://10.0.0.236/trunk@30015 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 23:53:18 +00:00
alecf%netscape.com
18197f6385 fix for #5792 - pass the URI, not the local file path to nsBuildLocalMessageURI, and add a helper function to do a hacky conversion from the local file path to the URI
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@30012 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 23:52:12 +00:00
alecf%netscape.com
f27d6a0d15 fix for #5792 - fix move/copy message in message menu to use the new account manager datasource
git-svn-id: svn://10.0.0.236/trunk@30011 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 23:50:58 +00:00
mcmullen%netscape.com
5f7276e7bd Fix an error in the previous checkin.
git-svn-id: svn://10.0.0.236/trunk@30008 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 23:14:28 +00:00
kipp%netscape.com
bef679369b Made DestroySignal protected instead of private (as it should have been) so it builds on AIX
git-svn-id: svn://10.0.0.236/trunk@30004 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 23:10:30 +00:00
nisheeth%netscape.com
a4c948a4ab Fix for bug 5472. Approved by chofmann. Reviewed by Kipp.
git-svn-id: svn://10.0.0.236/trunk@30003 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 23:04:50 +00:00
tague%netscape.com
6b3b505007 Fixed bug #5527 (Editor is not able to accumulate successive Japanese input)
git-svn-id: svn://10.0.0.236/trunk@30002 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 22:57:48 +00:00
sfraser%netscape.com
7ec5fb9eec Memory leak fixes for bug 5870. r mjudge, a chofmann.
git-svn-id: svn://10.0.0.236/trunk@30001 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 22:26:07 +00:00
jfrancis%netscape.com
b4767a9319 fix for bug 5832; bad constant for nbsp value. rvd - floppy moose; appv - chofmann
git-svn-id: svn://10.0.0.236/trunk@30000 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 22:16:02 +00:00
mjudge%netscape.com
218c99b232 ok done Simon reviewed 5870. choffman approved for M5
git-svn-id: svn://10.0.0.236/trunk@29998 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 21:52:19 +00:00
ducarroz%netscape.com
93c809edd4 fix for #5855, A=chofmann.
delay Creation of mPath to avoid avoid to create a nsFileSpec without knowing the path. Propagate error returned by nsGetMailboxRoot() in nsLocalURI2Path().


git-svn-id: svn://10.0.0.236/trunk@29997 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 21:40:44 +00:00
ramiro%netscape.com
1d4021468b Comment out unused code that was breaking aix, dec and some others.
git-svn-id: svn://10.0.0.236/trunk@29996 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 21:36:18 +00:00
ramiro%netscape.com
a23d89f9b2 Part of fix for bugs 4445, 4768. Let the default rendering mode on unix
be "native" as it is on mac and win.


git-svn-id: svn://10.0.0.236/trunk@29995 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 21:32:15 +00:00
ramiro%netscape.com
ce703464bd Fix bugs 4445, 4768. Make form widgets work a little better. This includes:
1) Radio/Toggle button initial state properly set.
2) Radio/Toggle button toggling works as expected.
3) Form Buttons work/submit on the first click as expected.

The problem was that enter/leave events expected by the form controlling
frames were not properly emitted.  They were being emitted for the parent
widget and not the buttons.

I also had to add a pathetically lame hack to work around artificial
intelligence in the GtkToggleButton widget.  Because the gtk toggle widget
changes its state on button press, we are out of whack by one.

Finally, some minor cleanup to event debug code in nsWidget.


git-svn-id: svn://10.0.0.236/trunk@29994 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 21:29:28 +00:00
jj%netscape.com
41f30ca064 turned mailnews ON for Tinderbox
git-svn-id: svn://10.0.0.236/trunk@29991 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 21:15:59 +00:00
kipp%netscape.com
78b5db7c44 Fixed bug 5255 and removed some compiler warnings
git-svn-id: svn://10.0.0.236/trunk@29988 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:55:12 +00:00
kipp%netscape.com
ccceae02c3 Implement List method
git-svn-id: svn://10.0.0.236/trunk@29987 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:54:24 +00:00
kipp%netscape.com
31352557b2 Tweaked to handle updated line-height calculation code that will now return -1 sometimes
git-svn-id: svn://10.0.0.236/trunk@29986 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:54:11 +00:00
kipp%netscape.com
95141d3623 Renamed a method
git-svn-id: svn://10.0.0.236/trunk@29985 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:53:46 +00:00
kipp%netscape.com
311b473ea2 Fix bug 2058 and improve nav4 compatability by not making line-height normal == 1.0
git-svn-id: svn://10.0.0.236/trunk@29984 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:53:27 +00:00
kipp%netscape.com
5afeecb461 Removed a compiler warning
git-svn-id: svn://10.0.0.236/trunk@29983 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:51:30 +00:00
kipp%netscape.com
f1b4eedc99 Updated a comment
git-svn-id: svn://10.0.0.236/trunk@29982 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:51:16 +00:00
kipp%netscape.com
b41a1ca6aa Fixed bug 5375 - the conditions for avoiding combined area computations were wrong
git-svn-id: svn://10.0.0.236/trunk@29981 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:51:02 +00:00
kipp%netscape.com
055f51b63f Fix menubar bug to avoid dup menubars
git-svn-id: svn://10.0.0.236/trunk@29980 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:50:01 +00:00
kipp%netscape.com
d08132f8fa Added more null pointer checks to avoid crashes
git-svn-id: svn://10.0.0.236/trunk@29979 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:49:45 +00:00
kipp%netscape.com
8e63f404b8 Make hidden form elements invisible
git-svn-id: svn://10.0.0.236/trunk@29978 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:49:06 +00:00
kipp%netscape.com
587f736a3f Fix small bug in DrawRect and added a comment to help
git-svn-id: svn://10.0.0.236/trunk@29977 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:48:35 +00:00
mcmullen%netscape.com
41ee8ce9bd Check for a null path before calling stat() and friends (bug #5576). a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@29975 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:29:01 +00:00
mcmullen%netscape.com
a8403fe8d7 Bullet-proofing for bug #5576 (make sure profile directory is always initialized)
git-svn-id: svn://10.0.0.236/trunk@29974 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:27:44 +00:00
kostello%netscape.com
b095432a67 Small update to fix for bug #5525. Approval for checkin: chofmann.
git-svn-id: svn://10.0.0.236/trunk@29973 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:16:14 +00:00
evaughan%netscape.com
d822e92459 Fixed bug #5619. With Chris Hofmann's ok.
git-svn-id: svn://10.0.0.236/trunk@29971 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 19:04:16 +00:00
kostello%netscape.com
33ac6a7b25 Removed debug save code -- no longer relevant
git-svn-id: svn://10.0.0.236/trunk@29970 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 18:50:48 +00:00
jband%netscape.com
1cf5eaef29 ***NOT PART OF SEAMONKEY BUILD***. Updated status tracking doc.
git-svn-id: svn://10.0.0.236/trunk@29969 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 18:50:40 +00:00
kostello%netscape.com
99f54db9e8 Changed to match new API for the nsHTMLContentSinkStream
git-svn-id: svn://10.0.0.236/trunk@29968 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 18:49:59 +00:00
kostello%netscape.com
0b56937bd5 Changed:
nsI*Editor::OutputText(nsString& aOutputString);
nsI*Editor::OutputHTML(nsString& aOutputString);

These methods always returns back a Unicode version of whatever is in the content model. It is the
responsibility of the caller then to call whatever converter is required to convert to the appropriate
charset.

Added:

nsI*Editor::OutputText(nsIOutputStream* aOutputStream, nsString* aCharsetOverride = nsnull)
nsI*Editor::OutputHTML(nsIOutputStream* aOutputStream, nsString* aCharsetOverride = nsnull)

These methods output the the current content model to aOutputStream. The document is encoded using the
document defined charset or if the user passes in a non-null value for aCharsetOverride then this
encoding overrides the encoding used by the document.


git-svn-id: svn://10.0.0.236/trunk@29967 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 18:48:39 +00:00
kostello%netscape.com
831a177958 Added OutputText and OutputHTML that take in an nsIOutputStream.
git-svn-id: svn://10.0.0.236/trunk@29966 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 18:47:04 +00:00
kostello%netscape.com
95590fc7b3 Added GetContentsAsText and GetContentsAsHTML that take in a nsIOutputStream
as a parameter.


git-svn-id: svn://10.0.0.236/trunk@29965 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 18:44:54 +00:00
kostello%netscape.com
6ec275403f Moidifed to match the API change in nsHTMLContentSinkStream.
git-svn-id: svn://10.0.0.236/trunk@29964 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 18:42:53 +00:00
kostello%netscape.com
472d53575b Added support to encode the document as either a nsString or an nsIOutputStream.
In the case of the stream, the document is encoded using the document defined charset
or the user may override the charset.

Added constructors for creating a sink using a nsIOutputStream or an nsString.

Removed all HTML and TEXT encoding which relied on references to ostream. Using John McMullen's
platform independent streaming code in its place. :)


git-svn-id: svn://10.0.0.236/trunk@29963 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 18:41:23 +00:00
hshaw%netscape.com
6bff10b32e Add some comments
git-svn-id: svn://10.0.0.236/trunk@29962 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 18:11:50 +00:00
norris%netscape.com
054b00d9a6 Fix spelling, don't claim uniqueness.
git-svn-id: svn://10.0.0.236/trunk@29961 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 17:56:07 +00:00
norris%netscape.com
7769b3ecbe Make it purdy.
git-svn-id: svn://10.0.0.236/trunk@29960 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 17:55:21 +00:00
norris%netscape.com
20b0b666dc Add README with support for LXR.
git-svn-id: svn://10.0.0.236/trunk@29959 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 17:53:10 +00:00
hshaw%netscape.com
2aacce7506 List of makefiles for the netwerk directory
git-svn-id: svn://10.0.0.236/trunk@29958 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 16:37:03 +00:00
hshaw%netscape.com
6172fa439a Temporary script to generate netwerk unix Makefiles. Once we land, we'll integrate into allmakefiles.sh
git-svn-id: svn://10.0.0.236/trunk@29957 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 16:36:29 +00:00
kipp%netscape.com
2fc1f1138e Fixed bug #4309 - propogated handling of floating image frames to floating object frame code during CantRenderReplacedElemen to avoid assertion check in block code
git-svn-id: svn://10.0.0.236/trunk@29954 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 16:07:47 +00:00
warren%netscape.com
b93d812623 Changed include for nsStandardUrl.h
git-svn-id: svn://10.0.0.236/trunk@29953 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-02 08:46:08 +00:00
rickg%netscape.com
3d80de2210 fixed ABW in nsTagStack and updated to string2 API
git-svn-id: svn://10.0.0.236/trunk@29952 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-02 00:37:25 +00:00
grail%cafebabe.org
cf037dd9f7 Fixed breakage of the preference beans.
git-svn-id: svn://10.0.0.236/trunk@29951 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-02 00:15:05 +00:00
jfrancis%netscape.com
e1f400aecd fix for bug 5782 - check for null return when getting prev/next node is deletion rules; rvd floppy moose, appr chofmann
git-svn-id: svn://10.0.0.236/trunk@29950 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 19:37:50 +00:00
waterson%netscape.com
6ad4ff2140 Bug 4725. Use PRUnichar for bookmark titles. r=rjc,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@29949 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 19:32:57 +00:00
bryce-mozilla%nextbus.com
f4c5cbffe8 Fix HTML syntax errors, validate with http://validator.w3.org . Show
on the the login name that will be used as the "reporter" (to more
completely represent the bug report, and to prevent people from forgetting
to switch logins when using another person's browser).


git-svn-id: svn://10.0.0.236/trunk@29948 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 18:43:58 +00:00
despotdaemon%netscape.com
31dee6ea14 Pseudo-automatic update of changes made by bryce-mozilla@nextbus.com.
git-svn-id: svn://10.0.0.236/trunk@29947 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 18:31:13 +00:00
sspitzer%netscape.com
f0bd8f6fc3 fix for #5839. problems on startup on windows nt, because
tree body in threadPane.xul is rooted at mailbox://Inbox, which
doesn't make sense in the new multiple account world.


git-svn-id: svn://10.0.0.236/trunk@29946 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 16:28:25 +00:00
sspitzer%netscape.com
53653c1324 rest of fix for pointing news demo to article on news.mozilla.org
git-svn-id: svn://10.0.0.236/trunk@29945 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 16:10:36 +00:00
sspitzer%netscape.com
11fbaeab1a fix for #5753. allow white space in the "mail.accountmanager.accounts" pref.
git-svn-id: svn://10.0.0.236/trunk@29944 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 15:47:21 +00:00
sspitzer%netscape.com
e014203723 point the demo news article to an article on news.mozilla.org. This way,
those on the outside can use it.  (also, remove some of the "."'s for
mailnewsqa.


git-svn-id: svn://10.0.0.236/trunk@29943 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 14:39:36 +00:00
jband%netscape.com
f2cf38d9ed ***NOT PART OF SEAMONKEY BUILD*** Updating status page to help track and coordinate platform specific code contributors to xptcall (needed for xpconnect)
git-svn-id: svn://10.0.0.236/trunk@29938 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 09:03:39 +00:00
jband%netscape.com
abbf3baee0 ***NOT PART OF SEAMONKEY BUILD*** Updating status page to help track and coordinate platform specific code contributors to xptcall (needed for xpconnect)
git-svn-id: svn://10.0.0.236/trunk@29937 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 08:23:36 +00:00
sspitzer%netscape.com
80b90d26d5 whoops. typo. I suck
git-svn-id: svn://10.0.0.236/trunk@29936 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:57:07 +00:00
sspitzer%netscape.com
ff2b167c7f cvs ignorage
git-svn-id: svn://10.0.0.236/trunk@29935 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:38:15 +00:00
ramiro%netscape.com
aaee58e586 Fix everything rule.
git-svn-id: svn://10.0.0.236/trunk@29934 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:34:44 +00:00
sspitzer%netscape.com
5a9cccce83 fix for #5814. get newsParserTest to work on Windows
git-svn-id: svn://10.0.0.236/trunk@29933 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:17:09 +00:00
warren%netscape.com
90f8bbe8b6 Fixed to use new nsIBuffer and related buffer streams.
git-svn-id: svn://10.0.0.236/trunk@29932 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:15:59 +00:00
sspitzer%netscape.com
27f0d0e439 fix for bug #5814. get newsParserTest to build on Windows
git-svn-id: svn://10.0.0.236/trunk@29931 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:15:54 +00:00
warren%netscape.com
36e7942539 Fixed accidental change to NSGetFactory. Changed include for nsStandardUrl.
git-svn-id: svn://10.0.0.236/trunk@29930 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:15:22 +00:00
briano%netscape.com
7dc5ff39be Automated update
git-svn-id: svn://10.0.0.236/trunk@29929 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:14:39 +00:00
sspitzer%netscape.com
3ae5baca64 check in for bug #5814. get newsParserTest to build on Windows
git-svn-id: svn://10.0.0.236/trunk@29928 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:13:53 +00:00
sspitzer%netscape.com
21dd3b14a3 fix for bug #5804. get pop3Test to build on Linux.
git-svn-id: svn://10.0.0.236/trunk@29927 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:12:10 +00:00
warren%netscape.com
bfdfd22300 Renamed nsMarshalingStreamListener to nsAsyncStreamListener.
git-svn-id: svn://10.0.0.236/trunk@29926 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:11:10 +00:00
briano%netscape.com
81f59775a4 Defined MAP_FAILED for all the platforms that don't have it.
git-svn-id: svn://10.0.0.236/trunk@29925 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:10:39 +00:00
ramiro%netscape.com
37d5c4d9b2 Add an everything target which redoes everything from scratch.
git-svn-id: svn://10.0.0.236/trunk@29924 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:10:34 +00:00
ramiro%netscape.com
d818980f99 Make the idl thing work on RedHat 6.0.
git-svn-id: svn://10.0.0.236/trunk@29923 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:09:55 +00:00
warren%netscape.com
b09ffe999c Renamed nsTypicalUrl to nsStandardUrl.
git-svn-id: svn://10.0.0.236/trunk@29922 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 02:08:18 +00:00
briano%netscape.com
1bf3ff0075 Fix AIX and Solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@29921 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 01:40:35 +00:00
briano%netscape.com
7a4016b770 The config/ports stuff I wrote is no longer of any use.
git-svn-id: svn://10.0.0.236/trunk@29920 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 01:32:28 +00:00
briano%netscape.com
e9ef52e20e Not needed anymore.
git-svn-id: svn://10.0.0.236/trunk@29919 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-01 01:30:16 +00:00
law%netscape.com
7fd28b694c Stop button; r=slamm, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@29918 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 23:55:22 +00:00
warren%netscape.com
84d15dd692 Added include for nsError.h to get nsresult.
git-svn-id: svn://10.0.0.236/trunk@29917 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 23:49:30 +00:00
bienvenu%netscape.com
e7f876fe6c fix part of 5781, imap folders not showing up correctly
git-svn-id: svn://10.0.0.236/trunk@29916 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 23:26:12 +00:00
jband%netscape.com
16497fe124 *** NOT PART OF SEAMONKEY BUILD*** Adding status page to help track and coordinate platform specific code contributors to xptcall (needed for xpconnect)
git-svn-id: svn://10.0.0.236/trunk@29915 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 23:25:12 +00:00
rjc%netscape.com
9e5e92db48 Fix bug # 4357 where FTP is broken on the Mac. This is basically the same bug and same bug fix as bug # 3405. Somebody needs to fix this for real... I think we should make Kathy Brade do it (Hi Kathy!) as she introduced the bug. Anyway, approval=chofmann.
git-svn-id: svn://10.0.0.236/trunk@29914 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 23:17:08 +00:00
warren%netscape.com
545b76d845 Fixed mac bustage.
git-svn-id: svn://10.0.0.236/trunk@29913 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 23:16:47 +00:00
briano%netscape.com
5d2ffdf562 Automated update
git-svn-id: svn://10.0.0.236/trunk@29912 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 23:14:40 +00:00
waterson%netscape.com
359008bed5 Bug 4805. Re-wrote to be more paranoid. r=rjc,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@29911 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 23:14:30 +00:00
mscott%netscape.com
f776b61747 Bug #5781 --> more connection cache fixes. ProcessCurrentUrl wasn't set up to run multiple urls as it was setting the connection status to -1 whenever it finished. This was causing the next call to process current url to fall out. I also re-organized SetupUrl to make sure m_runningUrl gets properly initialized on multiple calls to LoadUrl.
git-svn-id: svn://10.0.0.236/trunk@29910 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 23:09:21 +00:00
mcafee%netscape.com
b03869f7b4 Adding --disable-double-buffer to turn off double-buffering (so you can see the repaint problems). Thanks to jlnance@sailboat.mis.uncwil.edu for this fix. a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@29909 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 23:08:07 +00:00
pierre%netscape.com
e84fcaa8ad Copied Pink's fix for #4883 from nsTextWidget.
git-svn-id: svn://10.0.0.236/trunk@29908 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:57:33 +00:00
pierre%netscape.com
031024e70b Fixed previous checkin: Destroy() calls the inherited function and returns a value.
git-svn-id: svn://10.0.0.236/trunk@29907 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:55:58 +00:00
warren%netscape.com
4ca9364655 Removed some noise.
git-svn-id: svn://10.0.0.236/trunk@29906 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:55:26 +00:00
warren%netscape.com
55a33d5ee7 Consolidated individual factories into a single factory for base.
git-svn-id: svn://10.0.0.236/trunk@29905 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:55:21 +00:00
warren%netscape.com
30029587ee Made Notify and Wait methods return nsresult.
git-svn-id: svn://10.0.0.236/trunk@29904 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:55:16 +00:00
warren%netscape.com
1da4ca1637 Added page manager, buffer, buffer streams and pipes stuff.
git-svn-id: svn://10.0.0.236/trunk@29903 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:55:12 +00:00
pierre%netscape.com
71129ae584 Oops... CalcWindowRegions() was hiding the inherited function from nsWindow. For some reason, I missed the compiler warning in my previous checkin.
git-svn-id: svn://10.0.0.236/trunk@29902 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:54:34 +00:00
warren%netscape.com
0788be3644 Added size argument to Free and Realloc (for implementations that can't determine the memory block's size. Needed for nsPageMgr. Hooked allocator up to xpcom initialization.
git-svn-id: svn://10.0.0.236/trunk@29899 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:54:28 +00:00
warren%netscape.com
7cdc9ff1ad Fixed QI to respond to nsIProperties and nsIPersistentProperties. Removed factory (now in nsBaseDLL).
git-svn-id: svn://10.0.0.236/trunk@29898 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:54:22 +00:00
buster%netscape.com
68a1ee7d46 with permission from chofmann:
1. fix for bug 5796, crash on exit.  This was a bad, bad memory smudge on my part, easily fixed by doing the right ref counting in the
right places.

2. some preliminary code for M6 block transformations has leaked into this checkin.  It's safer than trying to re-code the fix above into
a fresh tree.  Unless you're making calls to do block transformations, you won't see any difference.


git-svn-id: svn://10.0.0.236/trunk@29897 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:40:18 +00:00
mcafee%netscape.com
54edd67d97 Switching to NS_WITH_SERIVICE() to properly release services (5403). a=chofmann, r=warren@netscap.com
git-svn-id: svn://10.0.0.236/trunk@29896 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:20:24 +00:00
pinkerton%netscape.com
577c3c1e29 Fix for bug 4883. Added Destroy() method to do the same as the Repeater dtor would do but it wasn't getting called because the timer still held a ref to the widget. Appr chofmann.
git-svn-id: svn://10.0.0.236/trunk@29895 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:14:01 +00:00
alecf%netscape.com
1b59c5fa16 oops, forgot this extra fix for #5681 to take .sbd files into account
git-svn-id: svn://10.0.0.236/trunk@29894 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 22:12:56 +00:00
pinkerton%netscape.com
a91811a52e pinkerton/scc/hyatt, plug a leak for bug 4127 and fix a crasher when the desired broadcaster isn't found.
git-svn-id: svn://10.0.0.236/trunk@29893 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 21:55:45 +00:00
briano%netscape.com
6182a470fa Automated update
git-svn-id: svn://10.0.0.236/trunk@29892 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 21:44:41 +00:00
briano%netscape.com
df2ef6f0c0 Fix to properly support Sun's WorkShop compilers. Thanks to Tim Rowley (tor@boojum.cs.brown.edu).
git-svn-id: svn://10.0.0.236/trunk@29891 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 21:43:50 +00:00
slamm%netscape.com
abc51b43ad Change directory build order. png needs to come before pngcom. This is finishing up pnunn last checkin.... Added png and zlib library link. pnunn. refer to Bug#5459. review:slamm. ok'd:chofmann.
git-svn-id: svn://10.0.0.236/trunk@29890 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 21:39:17 +00:00
jefft%netscape.com
2a1ceaff8b Part of fixing bug 5781 - fixed creating multiple mail folders problem
git-svn-id: svn://10.0.0.236/trunk@29889 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 21:38:53 +00:00
jefft%netscape.com
8458e92141 Part of fixing bug 5781 - fixed creating multiple mail folders problem
git-svn-id: svn://10.0.0.236/trunk@29888 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 21:27:22 +00:00
jefft%netscape.com
48bb3f2bdc Part of fixing bug 5781 -- nsImapURI2Path failed to generate local path for folders within another folder
git-svn-id: svn://10.0.0.236/trunk@29887 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 21:24:49 +00:00
saari%netscape.com
a6e3fa3885 Fix for bug 5676
git-svn-id: svn://10.0.0.236/trunk@29886 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 21:13:42 +00:00
mscott%netscape.com
0f35bef51e Bug 5781 --> releasing the imap service twice! that's not good.
git-svn-id: svn://10.0.0.236/trunk@29885 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 20:38:18 +00:00
matt%netscape.com
829bb332ca Taking block out of sidebar.css to allow for collapsible toolbars
git-svn-id: svn://10.0.0.236/trunk@29884 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 20:29:17 +00:00
terry%mozilla.org
9dbbe22a2d Added a "blocker" severity.
git-svn-id: svn://10.0.0.236/trunk@29883 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 20:15:15 +00:00
waterson%netscape.com
0ee2be5dc7 Bug 5695. RDF needs UPPER CASE ID, not lower case id. This was confusing XUL and causing an assert when the node map was dumped.
git-svn-id: svn://10.0.0.236/trunk@29882 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 20:11:39 +00:00
alecf%netscape.com
9462224999 fix for #5609 - don't add trailing "/" to base server URI
r=scottip a=chofmann (as with the last checkin as well)


git-svn-id: svn://10.0.0.236/trunk@29881 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:59:11 +00:00
alecf%netscape.com
2ceca66b3d fix for #5609: check for trailing / in URIs when extracting the name
fix for #5681: fix URI->file path converter to take into account subdirectories along the way


git-svn-id: svn://10.0.0.236/trunk@29880 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:58:19 +00:00
waterson%netscape.com
803f73be11 Bug 5741, part II. Need to be able to 'get the text' of a null node now, also.
git-svn-id: svn://10.0.0.236/trunk@29879 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:53:19 +00:00
karnaze%netscape.com
685816a556 removed compositing from table 5
git-svn-id: svn://10.0.0.236/trunk@29878 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:52:33 +00:00
karnaze%netscape.com
e9f7d6655d fixed crash in bug 5190, allowing a table to be the top level XML element.
git-svn-id: svn://10.0.0.236/trunk@29877 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:51:59 +00:00
karnaze%netscape.com
a3062ab79f fixed potential divide by 0
git-svn-id: svn://10.0.0.236/trunk@29876 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:50:42 +00:00
bienvenu%netscape.com
2f20116564 more fixes for 5781 (only affects imap)
git-svn-id: svn://10.0.0.236/trunk@29875 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:50:00 +00:00
norris%netscape.com
934d1eb836 Add new example.
git-svn-id: svn://10.0.0.236/trunk@29874 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:49:34 +00:00
terry%mozilla.org
7c5fef041f Updated version string to 2.5 (development)
git-svn-id: svn://10.0.0.236/trunk@29873 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:42:43 +00:00
terry%mozilla.org
8e4ff461e5 Updated version string to 2.4 (shipping)
git-svn-id: svn://10.0.0.236/trunk@29871 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:42:25 +00:00
rods%netscape.com
249dca5d01 Fixes for bug #4698
Win98 allocates global in DWORD chunks, WinNT does not. CF_TEXT on the
clipboard must be null terminated. The copy to the clipboard makes sure the proper
amount of memory is allocated and zeroed. he get from the clipboard makes no asummptions
about CF_Text's length other than they are null terminated, so it now removed the extra
terminating zeros, there can be more than one.


git-svn-id: svn://10.0.0.236/trunk@29870 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:41:14 +00:00
terry%mozilla.org
ef7dcc1357 Stop populating the default database with mozilla-specific stuff.
git-svn-id: svn://10.0.0.236/trunk@29869 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:40:53 +00:00
terry%mozilla.org
c00e6d1fa5 Makefile is now generated by autoconf stuff.
git-svn-id: svn://10.0.0.236/trunk@29868 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:39:14 +00:00
joki%netscape.com
a158b164ef Adding scrolling fixes to fix bug #3999, A: chofmann
git-svn-id: svn://10.0.0.236/trunk@29867 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:38:39 +00:00
slamm%netscape.com
0d78d06071 Implement find-mozconfig in perl. Add check for MOZ_CONFIG_GUESS to skip config.guess. Fix annoying bug on Solaris. It does not like func() {:}. You have to use func() {:;} instead.
git-svn-id: svn://10.0.0.236/trunk@29866 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:35:37 +00:00
ftang%netscape.com
b212a12b44 fix bug 5751. approved by cyeh. use right name for x-euc-tw
git-svn-id: svn://10.0.0.236/trunk@29865 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:21:10 +00:00
terry%mozilla.org
7e10095355 Don't muck with the permissions of the data directory if it already exists.
git-svn-id: svn://10.0.0.236/trunk@29864 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:20:16 +00:00
terry%mozilla.org
bbefbe9e20 Work with older versions of mysqltcl.
git-svn-id: svn://10.0.0.236/trunk@29863 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:12:13 +00:00
endico%mozilla.org
66e0ced058 Remove references to cannibal.mi.org
git-svn-id: svn://10.0.0.236/trunk@29862 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:00:47 +00:00
terry%mozilla.org
32b17e4fa1 Provide a default value for userdomain.
git-svn-id: svn://10.0.0.236/trunk@29861 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:57:01 +00:00
waterson%netscape.com
95dbf58d37 Bug 5671. Use nsAllocator instead of C++ new/delete. r=jband,a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@29860 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:49:40 +00:00
mscott%netscape.com
eeddc75602 Bug #5781 --> part of mailnews audit --> Conversion to NS_WITH_SERVICE. Synch with new imap service createnewconnection changes.
a=chofmann.


git-svn-id: svn://10.0.0.236/trunk@29859 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:48:39 +00:00
waterson%netscape.com
2733e396e2 Bug 5741. Always create a text content node so that subsequent calls to set the cell's value work. r=hyatt,a=choffman.
git-svn-id: svn://10.0.0.236/trunk@29858 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:47:43 +00:00
mscott%netscape.com
34e147aa88 Bug #5781 --> as a side effect of adding the connection cache, I made GetImapUserName return a const char *.
a=chofmann.


git-svn-id: svn://10.0.0.236/trunk@29857 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:47:15 +00:00
mscott%netscape.com
67ce95e58f Bug #5781 --> add ReleaseUrlState. Support IsBusy interface. Support CanHandleUrl interface. These changes are part of the imap connection cache. GetImapUserName now returns a const char *.
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@29856 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:46:21 +00:00
mscott%netscape.com
2ceb5364d4 Bug #5781 --> part of mailnews audit --> Conversion to NS_WITH_SERVICE. Hook up a connection cache to CreateImapConnection.
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@29855 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:45:16 +00:00
mscott%netscape.com
338482571b Bug #5781--> part of mailnews audit --> Conversion to NS_WITH_SERVICE. fix nsImapUri2Path where we were appending the host name twice if there wasn't a folder as part of the uri.
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@29854 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:44:23 +00:00
mscott%netscape.com
2946146b66 Bug #5781 --> fix nsImapUri2Path where we were appending the host name twice if there wasn't a folder attached to the URI.part of mailnews audit --> conversion to NS_WITH_SERVICE
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@29853 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:43:14 +00:00
mscott%netscape.com
984b38ae26 Bug #5781 --> Add IsBusy method & CanHandleUrl.
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@29852 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:42:09 +00:00
mscott%netscape.com
cb384b21c9 Bug #5781 --> CreateImapConnection now takes the url to be loaded into the connection.
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@29851 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:41:26 +00:00
terry%mozilla.org
503b8fa5cb Patch by Pontus Lidman <pontus@mathcore.com> -- now uses autoconf,
works with tcl 8.x, more configuration stuff, etc.


git-svn-id: svn://10.0.0.236/trunk@29850 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:38:50 +00:00
pnunn%netscape.com
63f0b14f36 Added png and zlib library link. pnunn. refer to Bug#5459. review:slamm. ok'd:chofmann.
git-svn-id: svn://10.0.0.236/trunk@29849 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:30:36 +00:00
pnunn%netscape.com
31292030f5 Added jpeg library link. pnunn. refer to bug#5459. review: slamm blessed:chofmann.
git-svn-id: svn://10.0.0.236/trunk@29848 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:29:19 +00:00
erik%netscape.com
7079f015fc Fix for bug 5778. I forgot to release the prefs service. Approved chofmann.
git-svn-id: svn://10.0.0.236/trunk@29847 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:28:47 +00:00
pnunn%netscape.com
4fc7d65bf6 These libs should only be linked with the appropriate decoder component in the
imglib. refer to bug#5459. pnunn. review:slamm, blessed:chofmann.


git-svn-id: svn://10.0.0.236/trunk@29846 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:27:31 +00:00
pnunn%netscape.com
dfcd7c2604 These libs should only be linked with the appropriate decoder in the
imglib. pnunn. refer to bug#5459. review:slamm. ok'd:chofmann.


git-svn-id: svn://10.0.0.236/trunk@29845 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:25:50 +00:00
erik%netscape.com
db394bcf27 Fix for bugs 4800 and 4810. I forgot to free a font handle, which led to
system resource exhaustion and machine shutdown (on Win95).


git-svn-id: svn://10.0.0.236/trunk@29844 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:23:20 +00:00
akkana%netscape.com
98097b95da 5734: put back working copy from version 1.17, which got accidentally stomped in a cvs merge. a=cyeh,kostello
git-svn-id: svn://10.0.0.236/trunk@29843 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:03:39 +00:00
norris%netscape.com
e947680b68 Better (?) error when initializing and the security resource isn't found.
git-svn-id: svn://10.0.0.236/trunk@29842 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 16:56:43 +00:00
waterson%netscape.com
cb7bd86fbe Bug 5695. Check return code from GetScriptGlobalObject() before trying to deref pointer. r=nisheeth,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@29841 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 16:25:34 +00:00
valeski%netscape.com
330b63434d nsIUrl.h - switched back to single inheritance of nsISupports (removed nsITypicalUrl)
nsUrl.h - switched back to multiple inheritance including nsITypicalUrl
nsFtpConnectionThread.cpp - various initializations.
nsFtpConnectionThread.h - various initialization api changes
nsFtpProtocolConnection.cpp - Switched back to ProtoConn implementing the nsISTreamListener interface + some initialization changes.
nsFtpProtocolConnection.h - inherits nsIStreamListener.
everyone else was just init changes.


git-svn-id: svn://10.0.0.236/trunk@29840 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 15:28:33 +00:00
pierre%netscape.com
cea0ffe123 Landing framesets changes. Numerous changes, essentially around mVisRegion and CalcWindowRegions(). Approved: choffmann. Bug #2236 et al.
git-svn-id: svn://10.0.0.236/trunk@29839 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 13:54:51 +00:00
pierre%netscape.com
e51ac2c036 Landing framesets changes. Added mVisRegion, mResizingChildren and mSaveVisible. Approved: choffmann. Bug #2236 et al.
git-svn-id: svn://10.0.0.236/trunk@29838 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 13:54:28 +00:00
pierre%netscape.com
2898d7aa35 Landing framesets changes. Made nsMacWindow inherit from nsChildWindow. Approved: choffmann. Bug #2236 et al.
git-svn-id: svn://10.0.0.236/trunk@29837 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 13:54:04 +00:00
pierre%netscape.com
5fc2e4f30b Landing framesets changes. Added mOriginalClipRegion. Approved: choffmann
git-svn-id: svn://10.0.0.236/trunk@29836 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 13:52:45 +00:00
pierre%netscape.com
73bab2705d Landing framesets changes. Enabled the file.
git-svn-id: svn://10.0.0.236/trunk@29835 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 13:51:35 +00:00
pinkerton%netscape.com
71898e9062 win32 bustage.
git-svn-id: svn://10.0.0.236/trunk@29834 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 10:31:43 +00:00
pinkerton%netscape.com
ce635da2cb fix solaris bustage.
git-svn-id: svn://10.0.0.236/trunk@29833 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 10:14:35 +00:00
pinkerton%netscape.com
9c0a7d49e6 fix win32 bustage.
git-svn-id: svn://10.0.0.236/trunk@29832 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 09:52:22 +00:00
pinkerton%netscape.com
03c53644f7 pinkerton/scc. appr chofmann. Bug #4127, et al. Fixing ownership models (more work to come).
git-svn-id: svn://10.0.0.236/trunk@29831 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 09:04:36 +00:00
pinkerton%netscape.com
f6143cd473 added GetIID() method.
git-svn-id: svn://10.0.0.236/trunk@29830 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 08:59:11 +00:00
briano%netscape.com
04395184a9 Fix for the BSD/OS build (virtual memory exhausted).
git-svn-id: svn://10.0.0.236/trunk@29829 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 03:01:13 +00:00
briano%netscape.com
e0709fe1a1 Moved ns_observer_proc() to as close to the beginning of the file as possible to get rid of the static prototype that seemed to be confusing as and ld on FreeBSD 2.2. Okay'd by kipp and troy.
git-svn-id: svn://10.0.0.236/trunk@29828 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 01:58:44 +00:00
despotdaemon%netscape.com
2678ead4df Pseudo-automatic update of changes made by mike@neoplanet.com.
git-svn-id: svn://10.0.0.236/trunk@29827 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 01:54:48 +00:00
harishd%netscape.com
c9629c2047 Fix for a crasher. Opening <BODY> in DidBuildModel()
for documents that that don't have an open <BODY> or
<FRAMESET>.
R=rickg A=chofmann


git-svn-id: svn://10.0.0.236/trunk@29826 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 01:52:38 +00:00
law%netscape.com
dab812eece Fix for bug #5690; reviewed=hyatt; approved=chofmann
git-svn-id: svn://10.0.0.236/trunk@29825 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 01:26:00 +00:00
troy%netscape.com
b0031376da Fix for bug #4525. Changed Reflow() to take into account 'overflow:scroll' when
determining the desired width


git-svn-id: svn://10.0.0.236/trunk@29824 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:55:18 +00:00
kipp%netscape.com
74cb055aaf Wired up gtk widget destruction to nsWidget and related classes so that we don't ever have dangling points to dead gtk objects
git-svn-id: svn://10.0.0.236/trunk@29823 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:13:47 +00:00
kipp%netscape.com
d2bc32e364 Made the web crawler a nsIDocumentLoaderObserver and hooked up page transitions to OnEndDocumentLoad
git-svn-id: svn://10.0.0.236/trunk@29822 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:12:52 +00:00
kipp%netscape.com
67ad786bd3 Removed compiler warning
git-svn-id: svn://10.0.0.236/trunk@29821 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:12:17 +00:00
kipp%netscape.com
8137b85a24 Hookup crawler to browser-window; let crawler deal with notifications instead of passing them on from here
git-svn-id: svn://10.0.0.236/trunk@29820 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:12:03 +00:00
kipp%netscape.com
1a9c1708fb Let web crawler deal with notifications directly
git-svn-id: svn://10.0.0.236/trunk@29819 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:11:18 +00:00
kipp%netscape.com
90f8a71005 Cleaned up log messages; fixed doc loader to fire the OnEndDocumentLoad properly
git-svn-id: svn://10.0.0.236/trunk@29818 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:10:27 +00:00
kipp%netscape.com
d06aa22247 Use DestroyChildren instead of ReleaseChildren when destroying a webshell
git-svn-id: svn://10.0.0.236/trunk@29817 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:09:52 +00:00
kipp%netscape.com
047d0484b8 Do not update views when refresh is disable
git-svn-id: svn://10.0.0.236/trunk@29816 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:09:04 +00:00
kipp%netscape.com
cbd01b21a9 Disable destroying webshell until later
git-svn-id: svn://10.0.0.236/trunk@29815 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:08:43 +00:00
kipp%netscape.com
cb633c88a4 Disable rendering during presentation tear down
git-svn-id: svn://10.0.0.236/trunk@29814 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:08:17 +00:00
mjudge%netscape.com
9a8eb984ef hack to get redraw to work on setting bold or italics editor only
git-svn-id: svn://10.0.0.236/trunk@29813 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 00:06:40 +00:00
briano%netscape.com
ca7ebb605c Major rewrite to eliminate classic build support, attempt to capture output from the test run, and initial support for building in the source tree.
git-svn-id: svn://10.0.0.236/trunk@29812 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 23:27:05 +00:00
briano%netscape.com
54a7f9a935 Automated update
git-svn-id: svn://10.0.0.236/trunk@29811 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 23:14:43 +00:00
tague%netscape.com
e1ead6862a Fixed #5678 approved by choffman and reviewed by leaf and briano
git-svn-id: svn://10.0.0.236/trunk@29810 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 23:01:49 +00:00
jj%netscape.com
cae8c87065 changed $build{mailnews} = 1 for the automated/daily verification build.
git-svn-id: svn://10.0.0.236/trunk@29809 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 22:24:51 +00:00
jj%netscape.com
44db91b519 changed output shlb creator to 'MOZZ' in one or more targets. a=cyeh
git-svn-id: svn://10.0.0.236/trunk@29808 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 22:18:44 +00:00
phillip%netscape.com
0813f5079b script that eventually will be run with tinderbox builds.
git-svn-id: svn://10.0.0.236/trunk@29807 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 22:05:40 +00:00
despotdaemon%netscape.com
98eb7e7641 Pseudo-automatic update of changes made by phillip@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@29806 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 21:57:12 +00:00
rogerl%netscape.com
8246c89f3b !!! Not a part of SeaMonkey Build !!!
new sparc stub code + added missing initialization to invoke_copy


git-svn-id: svn://10.0.0.236/trunk@29805 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 21:34:25 +00:00
norris%netscape.com
b9b80ba4a6 Fall through to number case only after considering character and boolean
independently.


git-svn-id: svn://10.0.0.236/trunk@29804 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 20:51:50 +00:00
akkana%netscape.com
80f6a28c08 5674: temp fix to prevent dialogs from grabbing selection ownership forever. r=mcafee/a=chofmann
git-svn-id: svn://10.0.0.236/trunk@29803 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 20:43:37 +00:00
akkana%netscape.com
08aa4877d6 5534: Fix stack overflow caused by too large a pref string. r=mcmullen/a=chofmann
git-svn-id: svn://10.0.0.236/trunk@29802 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 20:42:14 +00:00
mjudge%netscape.com
266e1da5ec m5 BUGS Choffman approved. simon reviewed. removing possible memory leak and getting anchor and focus frame to use the proper range instead of addreffing a node each! tested this afternoon
git-svn-id: svn://10.0.0.236/trunk@29801 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 20:24:21 +00:00
mjudge%netscape.com
fc0ffedd38 m5 BUGS Choffman approved. simon reviewed. fixing selection bug and removing unecessary methods in nsIFocusTracker.h
git-svn-id: svn://10.0.0.236/trunk@29800 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 20:23:24 +00:00
mjudge%netscape.com
5fb2b5d521 FIXING M5 BUGS: making weak links to stop extra addreff to presshell. fixing xul to set editor doc type to "content"
git-svn-id: svn://10.0.0.236/trunk@29799 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 20:21:04 +00:00
leaf%mozilla.org
93afa4e976 fixing line-endings in file... should fix windows95 installation
git-svn-id: svn://10.0.0.236/trunk@29798 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 19:27:27 +00:00
despotdaemon%netscape.com
a8cabf5a0c Pseudo-automatic update of changes made by friedman@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@29797 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 19:22:33 +00:00
despotdaemon%netscape.com
c95d00e1fc Pseudo-automatic update of changes made by terry@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@29796 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 19:22:10 +00:00
despotdaemon%netscape.com
bd256a9318 Pseudo-automatic update of changes made by leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@29795 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 19:00:47 +00:00
valeski%netscape.com
5f07d4a56f conditionally include windows.h on pc only - patch from Andreas Otte <andreas.otte@primus-online.de>
git-svn-id: svn://10.0.0.236/trunk@29794 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 18:52:14 +00:00
troy%netscape.com
7a5dd22f28 Fix for bug #5680. Re-arranged some assertion checking code
git-svn-id: svn://10.0.0.236/trunk@29793 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 18:29:56 +00:00
norris%netscape.com
3a034d6ed5 Fix bug where conversions of numbers to booleans in calls to Java methods were producing
IllegalArgumentExceptions.


git-svn-id: svn://10.0.0.236/trunk@29792 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 17:53:05 +00:00
karnaze%netscape.com
276723fe55 only print warnings on large cell width/height during pass 2 reflow
git-svn-id: svn://10.0.0.236/trunk@29791 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 17:43:41 +00:00
valeski%netscape.com
75b87cbbc4 added a temp default http port (80)
git-svn-id: svn://10.0.0.236/trunk@29790 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 17:33:51 +00:00
norris%netscape.com
64f9541204 Help message should indicate that -1 is an acceptible optimizer value.
git-svn-id: svn://10.0.0.236/trunk@29789 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 17:22:20 +00:00
waterson%netscape.com
a1f0335004 Bug 5637. Don't release each observer in the destructor, because we only hold a weak ref to it. r=putterman,a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@29788 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 04:21:12 +00:00
waterson%netscape.com
4fbb988318 Bug 5637. Don't release each observer in the destructor, because we only hold a weak ref to it. r=rjc,a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@29787 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 04:20:14 +00:00
sspitzer%netscape.com
07da693b47 fix for bug #5668. now multiple news hosts really works.
git-svn-id: svn://10.0.0.236/trunk@29786 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 04:10:49 +00:00
mccabe%netscape.com
38eb1e8ae7 Not part of the Seamonkey build!
Made the 'js' standalone shell depend on fdlibm, so it gets updated properly when fdlibm is modified.


git-svn-id: svn://10.0.0.236/trunk@29785 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 03:18:48 +00:00
putterman%netscape.com
44c7695b93 Fixed ref counting problems associated with deleting messages. Reviewed by bienvenu
and approved by chofmann.


git-svn-id: svn://10.0.0.236/trunk@29784 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 01:38:25 +00:00
putterman%netscape.com
75763d39e1 Fixed ref counting problems related to deleting a message. Reviewed by bienvenu and
approved by chofmann


git-svn-id: svn://10.0.0.236/trunk@29783 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 01:37:40 +00:00
pinkerton%netscape.com
44fe02fdd9 fix build bustage comparing raw pointer to nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@29782 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 01:01:04 +00:00
bruce%cybersight.com
dc9be2bcc3 s/NULL/nsnull/
git-svn-id: svn://10.0.0.236/trunk@29781 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 00:45:41 +00:00
endico%mozilla.org
3a815c9cca add the gnome tree
git-svn-id: svn://10.0.0.236/trunk@29780 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 00:44:08 +00:00
kipp%netscape.com
998418ea9a Fix crash bug #5621; we weren't pushing frames to the next-in-flow in all cases like we should
git-svn-id: svn://10.0.0.236/trunk@29779 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 00:16:44 +00:00
kipp%netscape.com
134611a9be Clear first-letter ok style at the right time
git-svn-id: svn://10.0.0.236/trunk@29778 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 00:16:09 +00:00
buster%netscape.com
fa9252b0f9 approved bug fix for infinite loop when typing a space in a document with only a single text node
git-svn-id: svn://10.0.0.236/trunk@29777 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 00:14:05 +00:00
jefft%netscape.com
365a152980 fixed bug 5662 - imap failed to discover folders and downloading mail messages; fixed memory leaks when building message URI; r=mscott, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@29776 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 00:13:55 +00:00
jefft%netscape.com
d8314d459b fixed bug 5662 - imap failed to discover folders and downloading mail messages; make sure we are generating correct message URI; merge in with multiple identies/accounts work; r=mscott, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@29775 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 00:12:21 +00:00
jefft%netscape.com
11786ce9ea fixed bug 5662 - imap failed to discover folders and downloading mail messages; make sure we are generating correct message URI; r=mscott,bienvenu; a=chofmann
git-svn-id: svn://10.0.0.236/trunk@29774 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 00:10:55 +00:00
jefft%netscape.com
4aad8d229a fixed bug 5662 - imap failed to discover folders and downloading mail messages; removed GetRootFolderPath() & SetRootFolderPath(); checkin for mscott; r=jefft, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@29773 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 00:08:18 +00:00
jefft%netscape.com
6174fe1adf fixed bug 5662 - imap failed to discover folders and downloading mail messages; added NotifyAnnouncerGoingAway() to ForceClosed(); r=bienvenu, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@29772 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-29 00:05:16 +00:00
ftang%netscape.com
3dc5321803 fix bug 5644. reviewed by nisheeth and approved by cyeh. broadcast default character set to all the children and make sure all the children set to the same value when they are added to the parent
git-svn-id: svn://10.0.0.236/trunk@29771 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:59:08 +00:00
pinkerton%netscape.com
adaa708f18 small fix for leaking the url bar XP in CreateToolbar. Part of the fix for bug 4883. approved for checking by chofmann.
git-svn-id: svn://10.0.0.236/trunk@29770 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:43:02 +00:00
valeski%netscape.com
7cacbefe3e added ftpCore.h to unix build
git-svn-id: svn://10.0.0.236/trunk@29769 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:15:14 +00:00
valeski%netscape.com
4a774c7d06 added nettest.cpp test app to the unix builds
git-svn-id: svn://10.0.0.236/trunk@29768 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:14:21 +00:00
valeski%netscape.com
05edd1d93c now we go so far as to create the actual nsIProtocolConnection instance.
git-svn-id: svn://10.0.0.236/trunk@29767 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:13:07 +00:00
valeski%netscape.com
8e55c1df30 initialized the ref cnt, again :(
git-svn-id: svn://10.0.0.236/trunk@29766 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:12:30 +00:00
valeski%netscape.com
7e8e1e5ee5 added NS_NewConnection() implementation
git-svn-id: svn://10.0.0.236/trunk@29765 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:11:41 +00:00
valeski%netscape.com
4339a35a0a added NS_NewConnection(). The NS_New*() stuff probably should go elsewhere, but for now, here it lands.
git-svn-id: svn://10.0.0.236/trunk@29764 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:11:04 +00:00
mjudge%netscape.com
1c6fe6802e bug fix simon reviewed hoffman approved
git-svn-id: svn://10.0.0.236/trunk@29763 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:09:59 +00:00
rogerl%netscape.com
2c02859f3e Clean-up some bytecode leftovers.
Added assertions, non-greedy opt.


git-svn-id: svn://10.0.0.236/trunk@29762 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:08:14 +00:00
rogerl%netscape.com
1769472805 Added method to construct a new RegExp.
git-svn-id: svn://10.0.0.236/trunk@29761 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:07:14 +00:00
rogerl%netscape.com
7301359348 Added interface method to construct a new RegExp.
git-svn-id: svn://10.0.0.236/trunk@29760 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:06:26 +00:00
rogerl%netscape.com
59f449dee6 Using regExpProxy to construct regexp literals
git-svn-id: svn://10.0.0.236/trunk@29759 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 23:05:43 +00:00
valeski%netscape.com
e2cb652159 remove #define error macro and #included the netCore.h file which has the error macros in it.
git-svn-id: svn://10.0.0.236/trunk@29758 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 22:53:17 +00:00
valeski%netscape.com
67bae32366 added inclusive #define
git-svn-id: svn://10.0.0.236/trunk@29757 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 22:51:28 +00:00
valeski%netscape.com
5049d55859 pulled the ftp specific code out
git-svn-id: svn://10.0.0.236/trunk@29756 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 22:46:28 +00:00
valeski%netscape.com
eb4aebc3ba put ftp error codes into their own file (probably shouldn't export the file to the world..).
git-svn-id: svn://10.0.0.236/trunk@29755 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 22:45:57 +00:00
terry%netscape.com
bcaa3caaa5 Patch by mhamby@logicon.com -- provide a UI for adding new components.
git-svn-id: svn://10.0.0.236/trunk@29754 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 22:23:04 +00:00
ducarroz%netscape.com
a6e4e13ab5 Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@29753 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 21:59:32 +00:00
ducarroz%netscape.com
09d4fa694f add build instruction for mime emitters resources, A=cyeh
git-svn-id: svn://10.0.0.236/trunk@29752 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 21:58:33 +00:00
terry%netscape.com
f6b50ea06e Added a tiny bit of bulletproofing.
git-svn-id: svn://10.0.0.236/trunk@29751 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 21:53:45 +00:00
ramiro%netscape.com
b9f7cb6f0a Fix dumbass typo that was causing the script to barf.
git-svn-id: svn://10.0.0.236/trunk@29750 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 21:32:31 +00:00
sspitzer%netscape.com
c9726432bf fix for #5627. case sensitivity problem in Makefile.in
git-svn-id: svn://10.0.0.236/trunk@29749 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:53:26 +00:00
waterson%netscape.com
e4f74333e1 Bug 5490 et al. Don't include local store in XUL document composite datasource until we have XUL syntax for deciding what attributes and elements are shared. r=hyatt, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@29748 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:46:53 +00:00
sspitzer%netscape.com
a647e82d50 fix for bug #3812
throbber is not hard wired to go home.
start some of the i18N work for this xul file


git-svn-id: svn://10.0.0.236/trunk@29747 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:35:03 +00:00
sspitzer%netscape.com
5acee10ef4 fix for bug #3812
home button now goes to where ever the "browser.startup.homepage" pref is set.
(if it isn't set, we go to http://www.mozilla.org)
throbber goes to http://www.mozilla.org.  this value is set in navigator.xul.
previously, the throbber was hard wired to do what home did.
r=alecf
a=cyeh


git-svn-id: svn://10.0.0.236/trunk@29746 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:33:43 +00:00
valeski%netscape.com
616e9e826a hooked up the out nsIUrl param with the resulting url
git-svn-id: svn://10.0.0.236/trunk@29745 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:09:17 +00:00
valeski%netscape.com
5d664361ed comprhensive networking service excersiser.
git-svn-id: svn://10.0.0.236/trunk@29744 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:07:33 +00:00
valeski%netscape.com
8e560e64bd nsIUrl.h = now is a subclass of nsITypicalUrl explicitly
nsUrl.h = nsIUrl change reflected.
nsNetService.cpp = NS_NewUrl() helper routine added


git-svn-id: svn://10.0.0.236/trunk@29743 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:05:23 +00:00
locka%iol.ie
06db457ed2 approved: leaf@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@29742 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:02:52 +00:00
valeski%netscape.com
68632c8fe6 fixed a casting bug (nsITypicalUrl was being cast as nsIUrl)
git-svn-id: svn://10.0.0.236/trunk@29741 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:02:38 +00:00
valeski%netscape.com
fa84bcca0e added ref count init macro to handler constructor. hooked up the newUrl method to set the out nsIUrl param.
git-svn-id: svn://10.0.0.236/trunk@29740 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:01:02 +00:00
sfraser%netscape.com
bdbf544fd7 Fix the type and creator so we get icons. Approved jj.
git-svn-id: svn://10.0.0.236/trunk@29739 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 20:00:41 +00:00
troy%netscape.com
b185fa6d08 Aded nsFrameConstructorState structure
git-svn-id: svn://10.0.0.236/trunk@29738 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 19:08:14 +00:00
robinf%netscape.com
e7ac07e651 changed wording from "still frame" to "static" in two places
git-svn-id: svn://10.0.0.236/trunk@29736 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 18:12:19 +00:00
hyatt%netscape.com
64e971ee8e Commenting out code that breaks window.open.
git-svn-id: svn://10.0.0.236/trunk@29733 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 07:48:05 +00:00
rjc%netscape.com
5693ac5bf8 Add some more nsCOMPtrs to fix leakage.
git-svn-id: svn://10.0.0.236/trunk@29732 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 07:03:11 +00:00
mscott%netscape.com
e3e62b407c nsLocalUri2Path fix. If the folder part of the uri is "" don't try to append it to the local path as that adds an unwanted '\' on windows.
git-svn-id: svn://10.0.0.236/trunk@29731 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:58:59 +00:00
rickg%netscape.com
d492983b7a fixed bug 5606
git-svn-id: svn://10.0.0.236/trunk@29730 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:52:25 +00:00
gordon%netscape.com
6e382efb56 Fix for bug #4313 "[PP]Replace ExitToShell() patch with CFM termination proc". Also removed obsolete 68k code.
git-svn-id: svn://10.0.0.236/trunk@29728 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:49:13 +00:00
nisheeth%netscape.com
7474078c6a Passing in nsIDocumentLoader as a parameter to all functions in nsIDocumentLoaderObserver...
git-svn-id: svn://10.0.0.236/trunk@29727 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:47:40 +00:00
gordon%netscape.com
eda06768da Fix for bug #4313 "[PP]Replace ExitToShell() patch with CFM termination proc". Changed name of termination function in PPC Linker pref panel (for both targets) to CleanupTermProc.
git-svn-id: svn://10.0.0.236/trunk@29725 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:47:03 +00:00
sfraser%netscape.com
f63d0794ac Get Types.h from the system headers, not the user headers.
git-svn-id: svn://10.0.0.236/trunk@29724 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:42:21 +00:00
sfraser%netscape.com
cd38b34ec8 Break out of the loop when iter->Next() fails (nil parent problem in the content iterator).
git-svn-id: svn://10.0.0.236/trunk@29723 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:38:19 +00:00
sfraser%netscape.com
ba542ae583 Fix nil parent crasher.
git-svn-id: svn://10.0.0.236/trunk@29722 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:37:51 +00:00
sfraser%netscape.com
737d43fda7 Get text properties returns out params in strings now. Also added stub Find method.
git-svn-id: svn://10.0.0.236/trunk@29721 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:36:51 +00:00
sfraser%netscape.com
76ea77dcbc Change out params to use strings.
git-svn-id: svn://10.0.0.236/trunk@29720 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:35:56 +00:00
alecf%netscape.com
ed57d761b8 fix string casting problem with varargs parameters
git-svn-id: svn://10.0.0.236/trunk@29719 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:26:41 +00:00
waterson%netscape.com
f1aa1b5fcc Added some PR_LOG stuff to help debug leaks.
git-svn-id: svn://10.0.0.236/trunk@29718 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:24:19 +00:00
waterson%netscape.com
63f53e5f92 Fix leak of composite datasource on each sort.
git-svn-id: svn://10.0.0.236/trunk@29717 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:23:21 +00:00
tague%netscape.com
4043dff97e *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@29716 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:22:34 +00:00
alecf%netscape.com
e9c7eb1c79 remove stupid debugging statements
git-svn-id: svn://10.0.0.236/trunk@29715 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:22:26 +00:00
tague%netscape.com
ab36bda105 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@29714 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:22:24 +00:00
mscott%netscape.com
1289878dbe Fix windows build problem. you can't delete a const char * without casting i.. I changed the codeto use a nsAutoCString.
git-svn-id: svn://10.0.0.236/trunk@29713 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:21:58 +00:00
tague%netscape.com
269f10d793 Add new files for Mac build.
git-svn-id: svn://10.0.0.236/trunk@29712 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:16:29 +00:00
ramiro%netscape.com
71da5b7611 Add command line parsing and debugger support.
git-svn-id: svn://10.0.0.236/trunk@29711 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:16:25 +00:00
tague%netscape.com
a385267d51 Fixed memory leak.
git-svn-id: svn://10.0.0.236/trunk@29710 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:15:49 +00:00
tague%netscape.com
cf55f752f1 Added Mac implementation of platform -> XP locale conversion.
git-svn-id: svn://10.0.0.236/trunk@29709 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:15:22 +00:00
alecf%netscape.com
411a19871f fix folder pane to only show the account manager (and let the account manager populate the server list)
git-svn-id: svn://10.0.0.236/trunk@29708 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:14:43 +00:00
tague%netscape.com
a6aa6d9c01 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@29707 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:14:12 +00:00
alecf%netscape.com
72b0e5a012 instead of getting the first server from the account manager, get the first one named news.mozilla.org (eventually we have to figure out our own hostname from the URI)
git-svn-id: svn://10.0.0.236/trunk@29706 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:13:22 +00:00
alecf%netscape.com
d386838da0 fix newline at end of file problem
git-svn-id: svn://10.0.0.236/trunk@29705 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:12:26 +00:00
alecf%netscape.com
c1fa5ba2b1 - use new NS_WITH_SERVICE macro to get rdf service
- now recognize host-specific mailbox://hostname/ roots
- build the mailbox_message URI using the URI instead of the path
- override the nsIRDFResource::Init() method for debugging purposes


git-svn-id: svn://10.0.0.236/trunk@29704 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:11:36 +00:00
grail%cafebabe.org
a7f21014f3 Initial specs for MDB from Mauro Botelho <mabotelh@bellsouth.net>
git-svn-id: svn://10.0.0.236/trunk@29703 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:10:26 +00:00
alecf%netscape.com
9393b8253b depricate nsLocalPath2URI
fix mailbox:/ URI parsing to recognize hostnames
fix mailbox_message:/ builder to recognize hostnames


git-svn-id: svn://10.0.0.236/trunk@29702 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:07:40 +00:00
alecf%netscape.com
b6072d4963 insert hostname into URI when getting ServerURI
git-svn-id: svn://10.0.0.236/trunk@29701 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:05:36 +00:00
bruce%cybersight.com
e28921c5ae Here's hoping we can pull libnetutil.so from the build on Unix now that nothing references it.
git-svn-id: svn://10.0.0.236/trunk@29700 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:05:03 +00:00
alecf%netscape.com
98969ff166 remove SetFilePath so we aren't tempted to set it (it's supposed to be coming directly from the URI)
git-svn-id: svn://10.0.0.236/trunk@29699 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:04:40 +00:00
alecf%netscape.com
bf6b7ccf03 change DisplayMessage to take a URI instead of a path (this method probably isn't used anymore anyway)
git-svn-id: svn://10.0.0.236/trunk@29698 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:03:28 +00:00
alecf%netscape.com
94256c32d9 - remove debugging lines
- return NS_RDF_NO_VALUE on all GetTarget() calls
- return a complete array fro GetTargets() instead of NS_RDF_NO_VALUE (may be unnecessary?)


git-svn-id: svn://10.0.0.236/trunk@29697 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 06:00:50 +00:00
ramiro%netscape.com
7ad0eef129 WIP for changing widget colors on the fly. Its commented out for the time
being.


git-svn-id: svn://10.0.0.236/trunk@29696 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:57:45 +00:00
ramiro%netscape.com
54d43e91cc Fix radio and check buttons some more. There are still some issues with
the default values for radio buttons being off by one.


git-svn-id: svn://10.0.0.236/trunk@29695 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:53:36 +00:00
bruce%cybersight.com
013c58e04a This should be the last thing linking against libnetutil.so on unix. but not any more!
git-svn-id: svn://10.0.0.236/trunk@29694 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:51:06 +00:00
bruce%cybersight.com
11cc05a7e9 Remove -lnetutil from link lines in unix build.
git-svn-id: svn://10.0.0.236/trunk@29693 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:46:56 +00:00
bruce%cybersight.com
b33d8b8123 Further purging of -lnetutil from Unix build.
git-svn-id: svn://10.0.0.236/trunk@29692 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:39:11 +00:00
bruce%cybersight.com
5078864b28 Remove -lnetlib from link lines. Not needed.
git-svn-id: svn://10.0.0.236/trunk@29691 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:30:09 +00:00
sfraser%netscape.com
ac52fe5480 Move ShowClipboard to the Debug menu
git-svn-id: svn://10.0.0.236/trunk@29690 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:20:05 +00:00
jefft%netscape.com
ddfd0334e2 get imap folder discovery & display message working
git-svn-id: svn://10.0.0.236/trunk@29689 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:19:24 +00:00
pierre%netscape.com
52145bc04f end of the debate? changing the defaults back to 96 dpi and do display small fonts
git-svn-id: svn://10.0.0.236/trunk@29687 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:06:41 +00:00
mscott%netscape.com
31ac6b533c Comment out unwanted assertion as this kills the linux build.
git-svn-id: svn://10.0.0.236/trunk@29686 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:05:24 +00:00
mscott%netscape.com
806a17ec8a Fixes for get new mail which should bring get new mail back to life for linux and mac. When we were told to wait for more data by the new nsMsgLineStreamBuffer, we weren't setting the pause for read flag in all cases.
git-svn-id: svn://10.0.0.236/trunk@29685 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:02:50 +00:00
nisheeth%netscape.com
1e066f90b3 Removing nsIExternalDocLoadObs.h...
git-svn-id: svn://10.0.0.236/trunk@29684 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:01:03 +00:00
sspitzer%netscape.com
708d4235b7 use PR_smprintf, not sprintf().
for news, we aren't going to have .sdb for directories.
put the summary files in <newsdir>/host-<hostname>


git-svn-id: svn://10.0.0.236/trunk@29683 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:00:02 +00:00
nisheeth%netscape.com
e6ce8d41cd - Backed out changes that sent notifications out to observers via the nsIExternalDocumentLoadObserver interface.
- Thanks a lot to Eric Burley (ericb@neoplanet.com) for fixing refcount related bugs.  His patch is included in this checkin.


git-svn-id: svn://10.0.0.236/trunk@29682 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:57:06 +00:00
davidm%netscape.com
0d9ddaca9f Add nsDefaulthelper to the list of components that get registered
git-svn-id: svn://10.0.0.236/trunk@29681 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:53:50 +00:00
sfraser%netscape.com
27c4956c38 Temporary, #ifdeffed hack to get Apple Menu on Mac. reviewed saari.
git-svn-id: svn://10.0.0.236/trunk@29680 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:51:40 +00:00
bruce%cybersight.com
6230f96d8f Remove dependency upon -lnetutil and use of it on Unix.
git-svn-id: svn://10.0.0.236/trunk@29679 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:50:43 +00:00
bruce%cybersight.com
9a22c1703e Remove dependency upon (and use of) -lnetutil on Unix.
git-svn-id: svn://10.0.0.236/trunk@29678 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:40:46 +00:00
erik%netscape.com
fde9a7c3c6 Fix related to bug 5599. We now look at the "browser.screen_resolution"
pref for the dpi value. If it is not set, we use the default of 96.
If it is set to zero (0), we use the X server's dpi value. Otherwise,
we use whatever dpi value was set in the pref.


git-svn-id: svn://10.0.0.236/trunk@29677 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:35:34 +00:00
sfraser%netscape.com
4537398482 Fix bustage (comparison of nsCOMPtr<nsIFoo> with nsIFoo*)
git-svn-id: svn://10.0.0.236/trunk@29676 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:29:13 +00:00
ducarroz%netscape.com
e5a075f5f3 For some reason, since few hours ago, apprunner refuse to load msgcompose.xul because the heigth of the fields isn't set correctly!!! I have changed the way we declare the input fields, I've just copied how they do in navigator.xul with the url field.
git-svn-id: svn://10.0.0.236/trunk@29675 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:24:10 +00:00
waterson%netscape.com
5210d5029d Fixed the text of a debug log message.
git-svn-id: svn://10.0.0.236/trunk@29674 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:19:28 +00:00
jefft%netscape.com
8a31442663 try again to disable namespace stuff
git-svn-id: svn://10.0.0.236/trunk@29673 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:04:31 +00:00
alecf%netscape.com
d132c3a35b handle uncreatable servers a little more gracefully
git-svn-id: svn://10.0.0.236/trunk@29672 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:04:30 +00:00
law%netscape.com
e57b047b17 Make nsITextServicesDocument transient so we can search new pages that get loaded in the webshell
git-svn-id: svn://10.0.0.236/trunk@29671 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 03:58:30 +00:00
endico%mozilla.org
5b5753a43c index the entire gnome tree
git-svn-id: svn://10.0.0.236/trunk@29670 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 03:51:08 +00:00
jefft%netscape.com
94d0a96cf0 added m_haveDiscoverAllFolders variaible; more work on folder discovery stuff
git-svn-id: svn://10.0.0.236/trunk@29669 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 03:39:24 +00:00
jefft%netscape.com
5578577614 added m_haveDiscoverAllFolders bool member variable
git-svn-id: svn://10.0.0.236/trunk@29668 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 03:38:07 +00:00
jefft%netscape.com
c8c51ee158 disable namespace for now; use delete instead of PR_FREEIF for returned pointer of nsString.ToNewCString(); initialize nsString2 variables to a empty string to get rid of debug assertion
git-svn-id: svn://10.0.0.236/trunk@29667 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 03:37:02 +00:00
pierre%netscape.com
719d4d9299 fixed a syntax error in DisplayVerySmallFonts(): the first time only we were returning a wrong value
git-svn-id: svn://10.0.0.236/trunk@29666 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 03:32:52 +00:00
waterson%netscape.com
e8c422c8c6 Turn this off. It's just getting in the way of real PR_LOG use.
git-svn-id: svn://10.0.0.236/trunk@29665 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 03:32:29 +00:00
alecf%netscape.com
0c8fa657d9 fix some uninitialized and incorrectly initialized variables
git-svn-id: svn://10.0.0.236/trunk@29664 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 03:06:37 +00:00
mjudge%netscape.com
1405be0696 oops left debug statement on
git-svn-id: svn://10.0.0.236/trunk@29663 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 03:01:27 +00:00
mcmullen%netscape.com
b0f756333a First Checked In.
git-svn-id: svn://10.0.0.236/trunk@29662 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:48:36 +00:00
pierre%netscape.com
6168cad56a added the "browser.display_very_small_fonts" pref
changed the default dpi to 72


git-svn-id: svn://10.0.0.236/trunk@29661 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:45:49 +00:00
mjudge%netscape.com
1a77716261 fixing a plethora of bugs here. This will only set selection on the difference in the ranges before and after the ::Extend call. This will stop unnecessary drawing ect. The flickering that may be seen now is due to an invalidate compositor bug that will not allow me to queue up invalidate calls. this should be safe.
git-svn-id: svn://10.0.0.236/trunk@29660 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:45:19 +00:00
sspitzer%netscape.com
8a36a7a55d silly printf for my benefit
git-svn-id: svn://10.0.0.236/trunk@29659 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:43:20 +00:00
mjudge%netscape.com
6f6f1af42d fixing bugs for unnecessary drawing in text fram as well as other assorted selection bugs.
git-svn-id: svn://10.0.0.236/trunk@29658 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:43:02 +00:00
waterson%netscape.com
7b4f278c3a Made sure that the composite datasource cursor returns unique elements.
git-svn-id: svn://10.0.0.236/trunk@29657 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:42:31 +00:00
waterson%netscape.com
b7646b0ed1 Added install lines for icons.
git-svn-id: svn://10.0.0.236/trunk@29656 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:41:27 +00:00
waterson%netscape.com
a92a92d89f Added flash-panel specific icons so this is prettier to look at. It's still just demo-ware, though.
git-svn-id: svn://10.0.0.236/trunk@29655 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:41:10 +00:00
mscott%netscape.com
1a5adbf9b6 Fix memory leak by releasing the url we just retrieved through a QI. Thanks
to putterman for finding the leak.


git-svn-id: svn://10.0.0.236/trunk@29654 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:40:06 +00:00
alecf%netscape.com
81dddc60b3 fix script C++ const-ness problem (pedantic bustage)
git-svn-id: svn://10.0.0.236/trunk@29653 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:27:03 +00:00
ducarroz%netscape.com
5eb5a82edc Fix HackToGetBody() to works on Mac and Unix as well
git-svn-id: svn://10.0.0.236/trunk@29652 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:17:37 +00:00
alecf%netscape.com
b61f1f0d51 many fixes:
- initialize mAccountManager during construction
- always create an NS_ISupportsArray for ArcLabelsOut
- handle case of unknown data source by creating an enumerator anyway
- free leaked value from RDF node


git-svn-id: svn://10.0.0.236/trunk@29651 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:02:08 +00:00
alecf%netscape.com
d25331d34a add implementation for AccountManager() method
git-svn-id: svn://10.0.0.236/trunk@29650 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:57:25 +00:00
law%netscape.com
eabb5076e4 Drop saveToDisk and add unknownContent dialogs
git-svn-id: svn://10.0.0.236/trunk@29649 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:57:10 +00:00
rjc%netscape.com
3c6215ac62 Fix typo on XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@29648 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:53:01 +00:00
peterl%netscape.com
8e868f4143 fixed background propogation code to replace previously propogated background info
git-svn-id: svn://10.0.0.236/trunk@29647 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:51:38 +00:00
rjc%netscape.com
3070903511 If the "IE Favorites" root node already exists in bookmarks.html, don't re-add it.
git-svn-id: svn://10.0.0.236/trunk@29646 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:51:36 +00:00
peterl%netscape.com
3e36876d8c added background propogated flag
git-svn-id: svn://10.0.0.236/trunk@29645 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:51:02 +00:00
bruce%cybersight.com
290921d3d3 We still need to build/export netutil as other Makefiles depend on it being around to link against. Please fix all of the rest of those before removing this.
git-svn-id: svn://10.0.0.236/trunk@29644 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:49:54 +00:00
saari%netscape.com
9ec5b24022 fixing more win menu bugs. Fixing dynamics. Fixing webshell refcounts
git-svn-id: svn://10.0.0.236/trunk@29643 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:45:33 +00:00
erik%netscape.com
ea0b01b163 Was using the wrong IID to implement nsISupports. Fixed.
git-svn-id: svn://10.0.0.236/trunk@29642 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:43:51 +00:00
peterl%netscape.com
019bec8760 allow letter O to be treated as zero in color hex values, egads
git-svn-id: svn://10.0.0.236/trunk@29641 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:41:23 +00:00
law%netscape.com
91f6b4f1fe Remove reference to obsolete nsIURLListener
git-svn-id: svn://10.0.0.236/trunk@29640 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:40:01 +00:00
akkana%netscape.com
506308d386 Fix location of xul files
git-svn-id: svn://10.0.0.236/trunk@29639 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:36:10 +00:00
gagan%netscape.com
eba41e399a Removed MODULAR_NETLIB dependencies from makefiles.
git-svn-id: svn://10.0.0.236/trunk@29638 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:34:57 +00:00
danm%netscape.com
9648ddff2e oopsie
git-svn-id: svn://10.0.0.236/trunk@29637 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:32:48 +00:00
briano%netscape.com
38947b88ed Added a newline at the end of the file to fix some Unix warnings.
git-svn-id: svn://10.0.0.236/trunk@29636 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:29:08 +00:00
bruce%cybersight.com
59f3e5a944 Backing out change .. breaks build globally. Guess it is better to just have a broken HP-UX for now.
git-svn-id: svn://10.0.0.236/trunk@29635 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:24:06 +00:00
kipp%netscape.com
1941a24365 Activate the first-letter special rule; fixed a memory leak
git-svn-id: svn://10.0.0.236/trunk@29634 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:16:45 +00:00
law%netscape.com
eb2a815eb9 Remove reference to obsolete nsIURLListener
git-svn-id: svn://10.0.0.236/trunk@29633 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:13:04 +00:00
bruce%cybersight.com
d24252d90c Fix HP-UX build bustage. You may NOT delete a void*. This is illegal in ANSI C++.
git-svn-id: svn://10.0.0.236/trunk@29632 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:08:40 +00:00
rjc%netscape.com
91cba4aede Oops... don't compare against nsnull.
git-svn-id: svn://10.0.0.236/trunk@29631 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:01:06 +00:00
rjc%netscape.com
c4a018ffc7 We now write out "bookmarks.html" on a Flush().
git-svn-id: svn://10.0.0.236/trunk@29630 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:58:59 +00:00
kipp%netscape.com
89df2f564f Use correct content when creating first-letter and related frames so that style resolution works beyond the first time
git-svn-id: svn://10.0.0.236/trunk@29629 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:55:11 +00:00
peterl%netscape.com
89583b2234 fixed image link border colors
git-svn-id: svn://10.0.0.236/trunk@29628 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:54:49 +00:00
law%netscape.com
7048d736ce Removing obsolete saveToDisk.xul
git-svn-id: svn://10.0.0.236/trunk@29627 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:51:09 +00:00
dveditz%netscape.com
cd2e60db7e fix zlib name on windows
git-svn-id: svn://10.0.0.236/trunk@29626 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:48:44 +00:00
karnaze%netscape.com
27b2ed698c reduced the file name to < 31 characters
git-svn-id: svn://10.0.0.236/trunk@29617 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:42:28 +00:00
dveditz%netscape.com
ee4d1da35e fix zlib name on windows
git-svn-id: svn://10.0.0.236/trunk@29616 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:40:56 +00:00
saari%netscape.com
4531c5503c fixing bug 4942
git-svn-id: svn://10.0.0.236/trunk@29615 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:40:09 +00:00
brendan%netscape.com
7ca4b38ff8 Fix typos and other comment nits.
git-svn-id: svn://10.0.0.236/trunk@29614 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:38:49 +00:00
law%netscape.com
5e05274da4 Use new unknownContent.xul dialog and real file picker
git-svn-id: svn://10.0.0.236/trunk@29613 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:35:47 +00:00
100 changed files with 18570 additions and 1225 deletions

View File

@@ -1,2 +0,0 @@
# target: libjarDebug.shlb
mozilla/modules/libjar/nsZipArchive.cpp

View File

@@ -1,67 +0,0 @@
#!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.
#
# Contributors:
# Daniel Veditz <dveditz@netscape.com>
IGNORE_MANIFEST=1
DIRS=standalone
MODULE=jar
DEPTH=..\..
MAKE_OBJ_TYPE=DLL
DLLNAME=jar$(VERSION_NUMBER)
DLL=.\$(OBJDIR)\$(DLLNAME).dll
MAPFILE=$(DLLNAME).map
EXPORTS=zipfile.h
OBJS=.\$(OBJDIR)\nsZipArchive.obj
LINCS= \
-I$(XPDIST)\public\nspr \
-I$(XPDIST)\public\raptor \
-I$(XPDIST)\public\xpcom \
-I$(XPDIST)\public\zlib \
-I$(XPDIST)\public\network \
$(NULL)
LLIBS= \
$(LIBNSPR) \
$(DIST)\lib\plc3.lib \
$(DIST)\lib\zlib.lib \
$(DIST)\lib\xplib.lib \
$(NULL)
include <$(DEPTH)/config/rules.mak>
install:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
clobber::
$(RM) $(OBJS)
$(RM) $(DIST)\bin\$(DLLNAME).dll
$(RM) $(DIST)\lib\$(DLLNAME).lib

View File

@@ -1,795 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
*/
/*
* This module implements a simple archive extractor for the PKZIP format.
*/
#include <string.h>
#include "nscore.h"
#include "prmem.h"
#include "prio.h"
#include "plstr.h"
#include "prlog.h"
#include "xp_regexp.h"
#include "zlib.h"
#include "zipfile.h"
#include "zipstruct.h"
#include "nsZipArchive.h"
static PRUint16 xtoint(unsigned char *ii);
static PRUint32 xtolong(unsigned char *ll);
/*---------------------------------------------
* C API wrapper for nsZipArchive
*--------------------------------------------*/
/**
* ZIP_OpenArchive
*
* opens the named zip/jar archive and returns a handle that
* represents the archive in other ZIP_ calls.
*
* @param zipname archive filename
* @param hZip receives handle if archive opened OK
* @return status code
*/
PR_PUBLIC_API(PRInt32) ZIP_OpenArchive( const char * zipname, void** hZip )
{
PRInt32 status;
/*--- error check args ---*/
if ( hZip == NULL )
return ZIP_ERR_PARAM;
/*--- NULL output to prevent use by bozos who don't check errors ---*/
*hZip = NULL;
/*--- create and open the archive ---*/
nsZipArchive* zip = new nsZipArchive();
if ( zip == NULL )
return ZIP_ERR_MEMORY;
status = zip->OpenArchive(zipname);
if ( status == ZIP_OK )
*hZip = NS_STATIC_CAST(void*,zip);
else
delete zip;
return status;
}
/**
* ZIP_CloseArchive
*
* closes zip archive and frees memory
* @param hZip handle obtained from ZIP_OpenArchive
* @return status code
*/
PR_PUBLIC_API(PRInt32) ZIP_CloseArchive( void** hZip )
{
/*--- error check args ---*/
if ( hZip == NULL || *hZip == NULL )
return ZIP_ERR_PARAM;
nsZipArchive* zip = NS_STATIC_CAST(nsZipArchive*,*hZip);
if ( zip->kMagic != ZIP_MAGIC )
return ZIP_ERR_PARAM; /* whatever it is isn't one of ours! */
/*--- close the archive ---*/
*hZip = NULL;
delete zip;
return ZIP_OK;
}
/**
* ZIP_ExtractFile
*
* extracts named file from an opened archive
*
* @param hZip handle obtained from ZIP_OpenArchive
* @param filename name of file in archive
* @param outname filename to extract to
*/
PR_PUBLIC_API(PRInt32) ZIP_ExtractFile( void* hZip, const char * filename, const char * outname )
{
/*--- error check args ---*/
if ( hZip == NULL )
return ZIP_ERR_PARAM;
nsZipArchive* zip = NS_STATIC_CAST(nsZipArchive*,hZip);
if ( zip->kMagic != ZIP_MAGIC )
return ZIP_ERR_PARAM; /* whatever it is isn't one of ours! */
/*--- extract the file ---*/
return zip->ExtractFile( filename, outname );
}
/**
* ZIP_FindInit
*
* Initializes an enumeration of files in the archive
*
* @param hZip handle obtained from ZIP_OpenArchive
* @param pattern regexp to match files in archive, the usual shell expressions.
* NULL pattern also matches all files, faster than "*"
*/
PR_EXTERN(PRInt32) ZIP_FindInit( void* hZip, const char * pattern )
{
/*--- error check args ---*/
if ( hZip == NULL )
return ZIP_ERR_PARAM;
nsZipArchive* zip = NS_STATIC_CAST(nsZipArchive*,hZip);
if ( zip->kMagic != ZIP_MAGIC )
return ZIP_ERR_PARAM; /* whatever it is isn't one of ours! */
/*--- initialize the pattern search ---*/
return zip->FindInit( pattern );
}
/**
* ZIP_FindInit
*
* Puts the next name in the passed buffer. Returns ZIP_ERR_SMALLBUF when
* the name is too large for the buffer, and ZIP_ERR_FNF when there are no
* more files that match the pattern
*
* @param hZip handle obtained from ZIP_OpenArchive
* @param outbuf buffer to receive next filename
* @param bufsize size of allocated buffer
*/
PR_EXTERN(PRInt32) ZIP_FindNext( void* hZip, char * outbuf, PRUint16 bufsize )
{
/*--- error check args ---*/
if ( hZip == NULL )
return ZIP_ERR_PARAM;
nsZipArchive* zip = NS_STATIC_CAST(nsZipArchive*,hZip);
if ( zip->kMagic != ZIP_MAGIC )
return ZIP_ERR_PARAM; /* whatever it is isn't one of ours! */
/*--- return next filename file ---*/
return zip->FindNext( outbuf, bufsize );
}
//***********************************************************
// nsZipArchive -- public methods
//***********************************************************
//---------------------------------------------
// nsZipArchive::OpenArchive
//---------------------------------------------
PRInt32 nsZipArchive::OpenArchive( const char * aArchiveName )
{
//-- validate arguments
if ( aArchiveName == NULL || *aArchiveName == '\0')
return ZIP_ERR_PARAM;
//-- not allowed to do two opens on the same object!
if ( mFd != NULL )
return ZIP_ERR_GENERAL;
//-- open the physical file
mFd = PR_Open( aArchiveName, PR_RDONLY, 0 );
if ( mFd == NULL )
return ZIP_ERR_DISK;
//-- get table of contents for archive
return BuildFileList();
}
//---------------------------------------------
// nsZipArchive::ExtractFile
//---------------------------------------------
PRInt32 nsZipArchive::ExtractFile(const char* aFilename, const char* aOutname)
{
//-- sanity check arguments
if ( aFilename == NULL || aOutname == NULL )
return ZIP_ERR_PARAM;
//-- find file information
const nsZipItem* item = GetFileItem( aFilename );
if ( item == NULL )
return ZIP_ERR_FNF;
//-- extract the file using appropriate method
switch( item->compression )
{
case STORED:
return CopyItemToDisk( item, aOutname );
case DEFLATED:
return InflateItemToDisk( item, aOutname );
default:
//-- unsupported compression type
return ZIP_ERR_UNSUPPORTED;
}
}
//---------------------------------------------
// nsZipArchive::FindInit
//---------------------------------------------
PRInt32 nsZipArchive::FindInit( const char * aPattern )
{
// validate the pattern
if ( aPattern != NULL )
switch (XP_RegExpValid( (char*)aPattern ))
{
case INVALID_SXP:
return ZIP_ERR_PARAM;
case NON_SXP:
mPatternIsRegExp = PR_FALSE;
break;
case VALID_SXP:
mPatternIsRegExp = PR_TRUE;
break;
default:
// unexpected/undoc'ed return value
PR_ASSERT( PR_FALSE );
return ZIP_ERR_GENERAL;
}
// clear the old pattern
if ( mPattern != NULL )
{
PL_strfree( mPattern );
mPattern = NULL;
}
// re-initialize pattern state
mPatternSlot = 0;
mPatternItem = NULL;
if ( aPattern != NULL )
mPattern = PL_strdup( aPattern );
return ZIP_OK;
}
//---------------------------------------------
// nsZipArchive::FindNext
//---------------------------------------------
PRInt32 nsZipArchive::FindNext( char * aBuf, PRUint16 aSize )
{
PRInt32 status;
PRBool found = PR_FALSE;
PRUint32 slot = mPatternSlot;
nsZipItem* item = mPatternItem;
// we start from last match, look for next
while ( slot < ZIP_TABSIZE && !found )
{
if ( item != NULL )
item = item->next; // move to next in current chain
else
item = mFiles[slot]; // starting a new slot
if ( item == NULL )
{ // no more in this chain, move to next slot
++slot;
continue;
}
else if ( mPattern == NULL )
found = PR_TRUE; // always match
else if ( mPatternIsRegExp )
found = XP_RegExpMatch( item->name, mPattern, PR_FALSE );
else
found = ( PL_strcmp( item->name, mPattern ) == 0 );
}
if ( found )
{
if ( aSize > item->namelen )
{
PL_strcpy( aBuf, item->name );
status = ZIP_OK;
}
else
status = ZIP_ERR_SMALLBUF;
}
else
status = ZIP_ERR_FNF;
// save state for next Find. For 'smallbuf' we give user another chance
if ( status != ZIP_ERR_SMALLBUF )
{
mPatternSlot = slot;
mPatternItem = item;
}
return status;
}
//***********************************************************
// nsZipArchive -- private implementation
//***********************************************************
//---------------------------------------------
// nsZipArchive::BuildFileList
//---------------------------------------------
PRInt32 nsZipArchive::BuildFileList()
{
PRInt32 status = ZIP_OK;
PRUint32 sig = 0L;
PRUint32 namelen, extralen;
PRUint16 hash;
ZipLocal Local;
nsZipItem* item;
//-----------------------------------------------------------------------
// read the local file headers.
//
// What we *should* be doing is reading the central directory at the end,
// all in one place. We'll have to change this eventually since the local
// headers don't have the mode information we need for Unix files.
//-----------------------------------------------------------------------
PRInt32 pos = 0L;
while ( status == ZIP_OK )
{
if ( PR_Seek( mFd, pos, PR_SEEK_SET ) != (PRInt32)pos )
{
//-- couldn't seek to next position
status = ZIP_ERR_CORRUPT;
break;
}
if ( PR_Read( mFd, (char*)&Local, sizeof(ZipLocal) ) != sizeof(ZipLocal) )
{
//-- file ends prematurely
status = ZIP_ERR_CORRUPT;
break;
}
//-- make sure we're processing a local header
sig = xtolong( Local.signature );
if ( sig == CENTRALSIG )
{
// we're onto the next section
break;
}
else if ( sig != LOCALSIG )
{
//-- otherwise expected to find a local header
status = ZIP_ERR_CORRUPT;
break;
}
namelen = xtoint( Local.filename_len );
extralen = xtoint( Local.extrafield_len );
item = new nsZipItem();
if ( item != NULL )
{
item->name = new char[namelen+1];
if ( item->name != NULL )
{
if ( PR_Read( mFd, item->name, namelen ) == (PRInt32)namelen )
{
item->name[namelen] = 0;
item->namelen = namelen;
item->headerloc = pos;
item->offset = pos + sizeof(ZipLocal) + namelen + extralen;
item->compression = xtoint( Local.method );
item->size = xtolong( Local.size );
item->realsize = xtolong( Local.orglen );
item->crc32 = xtolong( Local.crc32 );
//-- add item to file table
hash = HashName( item->name );
item->next = mFiles[hash];
mFiles[hash] = item;
pos = item->offset + item->size;
}
else
{
//-- file is truncated
status = ZIP_ERR_CORRUPT;
delete item;
}
}
else
{
//-- couldn't allocate for the filename
status = ZIP_ERR_MEMORY;
delete item;
}
}
else
{
//-- couldn't create a nsZipItem
status = ZIP_ERR_MEMORY;
}
} /* while reading local headers */
//-------------------------------------------------------
// we don't care about the rest of the file (until we
// fix this to read the central directory instead)
//-------------------------------------------------------
return status;
}
//---------------------------------------------
// nsZipArchive::CopyItemToDisk
//---------------------------------------------
PRInt32 nsZipArchive::CopyItemToDisk( const nsZipItem* aItem, const char* aOutname )
{
PRInt32 status = ZIP_OK;
PRUint32 chunk, pos, size;
PRFileDesc* fOut = NULL;
PR_ASSERT( aItem != NULL && aOutname != NULL );
char* buf = (char*)PR_Malloc(ZIP_BUFLEN);
if ( buf == NULL )
return ZIP_ERR_MEMORY;
//-- find start of file in archive
if ( PR_Seek( mFd, aItem->offset, PR_SEEK_SET ) != (PRInt32)aItem->offset )
{
status = ZIP_ERR_CORRUPT;
goto cleanup;
}
//-- open output file
fOut = PR_Open( aOutname, PR_WRONLY | PR_CREATE_FILE, 0644);
if ( fOut == NULL )
{
status = ZIP_ERR_DISK;
goto cleanup;
}
//-- copy chunks until file is done
size = aItem->size;
for ( pos=0; pos < size; pos += chunk )
{
chunk = (pos+ZIP_BUFLEN <= size) ? ZIP_BUFLEN : size - pos;
if ( PR_Read( mFd, buf, chunk ) != (PRInt32)chunk )
{
//-- unexpected end of data in archive
status = ZIP_ERR_CORRUPT;
break;
}
if ( PR_Write( fOut, buf, chunk ) < (PRInt32)chunk )
{
//-- Couldn't write all the data (disk full?)
status = ZIP_ERR_DISK;
break;
}
}
cleanup:
if ( fOut != NULL )
PR_Close( fOut );
PR_FREEIF( buf );
return status;
}
//---------------------------------------------
// nsZipArchive::GetFileItem
//---------------------------------------------
const nsZipItem* nsZipArchive::GetFileItem( const char * aFilename )
{
PR_ASSERT( aFilename != NULL );
nsZipItem* item = mFiles[ HashName(aFilename) ];
for ( ; item != NULL; item = item->next )
{
if ( 0 == PL_strcmp( aFilename, item->name ) )
break; //-- found it
}
return item;
}
//---------------------------------------------
// nsZipArchive::HashName
//---------------------------------------------
PRUint16 nsZipArchive::HashName( const char* aName )
{
PRUint16 val = 0;
PRUint8* c;
PR_ASSERT( aName != NULL );
for ( c = (PRUint8*)aName; *c != 0; c++ ) {
val = val*37 + *c;
}
return (val % ZIP_TABSIZE);
}
//---------------------------------------------
// nsZipArchive::InflateItemToDisk
//---------------------------------------------
PRInt32 nsZipArchive::InflateItemToDisk( const nsZipItem* aItem, const char* aOutname )
{
PRInt32 status = ZIP_OK;
PRUint32 chunk, inpos, outpos, size;
PRFileDesc* fOut = NULL;
z_stream zs;
int zerr;
PRBool bInflating = PR_FALSE;
PR_ASSERT( aItem != NULL && aOutname != NULL );
//-- allocate deflation buffers
Bytef *inbuf = (Bytef*)PR_Malloc(ZIP_BUFLEN);
Bytef *outbuf = (Bytef*)PR_Malloc(ZIP_BUFLEN);
if ( inbuf == NULL || outbuf == NULL )
{
status = ZIP_ERR_MEMORY;
goto cleanup;
}
//-- find start of file in archive
if ( PR_Seek( mFd, aItem->offset, PR_SEEK_SET ) != (PRInt32)aItem->offset )
{
status = ZIP_ERR_CORRUPT;
goto cleanup;
}
//-- open output file
fOut = PR_Open( aOutname, PR_WRONLY | PR_CREATE_FILE, 0644);
if ( fOut == NULL )
{
status = ZIP_ERR_DISK;
goto cleanup;
}
//-- set up the inflate
memset( &zs, 0, sizeof(zs) );
zerr = inflateInit2( &zs, -MAX_WBITS );
if ( zerr != Z_OK )
{
status = ZIP_ERR_GENERAL;
goto cleanup;
}
bInflating = PR_TRUE;
//-- inflate loop
size = aItem->size;
outpos = inpos = 0;
zs.next_out = outbuf;
zs.avail_out = ZIP_BUFLEN;
while ( zerr == Z_OK )
{
if ( zs.avail_in == 0 && zs.total_in < size )
{
//-- no data to inflate yet still more in file:
//-- read another chunk of compressed data
inpos = zs.total_in; // input position
chunk = ( inpos + ZIP_BUFLEN <= size ) ? ZIP_BUFLEN : size - inpos;
if ( PR_Read( mFd, inbuf, chunk ) != (PRInt32)chunk )
{
//-- unexpected end of data
status = ZIP_ERR_CORRUPT;
break;
}
zs.next_in = inbuf;
zs.avail_in = ZIP_BUFLEN;
}
if ( zs.avail_out == 0 )
{
//-- write inflated buffer to disk and make space
if ( PR_Write( fOut, outbuf, ZIP_BUFLEN ) < ZIP_BUFLEN )
{
//-- Couldn't write all the data (disk full?)
status = ZIP_ERR_DISK;
break;
}
outpos = zs.total_out;
zs.next_out = outbuf;
zs.avail_out = chunk;
}
zerr = inflate( &zs, Z_PARTIAL_FLUSH );
} // while
//-- write last inflated bit to disk
if ( zerr == Z_STREAM_END && outpos < zs.total_out )
{
chunk = zs.total_out - outpos;
if ( PR_Write( fOut, outbuf, chunk ) < (PRInt32)chunk )
{
status = ZIP_ERR_DISK;
}
}
//-- convert zlib error to return value
if ( status == ZIP_OK && zerr != Z_OK && zerr != Z_STREAM_END )
{
status = (zerr == Z_MEM_ERROR) ? ZIP_ERR_MEMORY : ZIP_ERR_CORRUPT;
}
//-- if found no errors make sure we've converted the whole thing
PR_ASSERT( status != ZIP_OK || zs.total_in == aItem->size );
PR_ASSERT( status != ZIP_OK || zs.total_out == aItem->realsize );
cleanup:
if ( bInflating )
{
//-- free zlib internal state
inflateEnd( &zs );
}
if ( fOut != NULL )
PR_Close( fOut );
PR_FREEIF( inbuf );
PR_FREEIF( outbuf );
return status;
}
//------------------------------------------
// nsZipArchive constructor and destructor
//------------------------------------------
nsZipArchive::nsZipArchive()
: kMagic(ZIP_MAGIC), mFd(NULL), mPattern(NULL),
mPatternSlot(ZIP_TABSIZE), mPatternItem(NULL)
{
// initialize the table to NULL
for ( int i = 0; i < ZIP_TABSIZE; ++i) {
mFiles[i] = NULL;
}
}
nsZipArchive::~nsZipArchive()
{
// close the file if open
if ( mFd != NULL ) {
PR_Close(mFd);
}
// delete nsZipItems in table
nsZipItem* pItem;
for ( int i = 0; i < ZIP_TABSIZE; ++i)
{
pItem = mFiles[i];
while ( pItem != NULL )
{
mFiles[i] = pItem->next;
delete pItem;
pItem = mFiles[i];
}
}
if ( mPattern != NULL ) {
PL_strfree(mPattern);
}
}
//------------------------------------------
// nsZipItem constructor and destructor
//------------------------------------------
nsZipItem::nsZipItem() : name(NULL),next(NULL) {}
nsZipItem::~nsZipItem()
{
if (name != NULL )
delete [] name;
}
//------------------------------------------
// helper functions
//------------------------------------------
/*
* x t o i n t
*
* Converts a two byte ugly endianed integer
* to our platform's integer.
*/
static PRUint16 xtoint (unsigned char *ii)
{
return (PRUint16) (ii [0]) | ((PRUint16) ii [1] << 8);
}
/*
* x t o l o n g
*
* Converts a four byte ugly endianed integer
* to our platform's integer.
*/
static PRUint32 xtolong (unsigned char *ll)
{
PRUint32 ret;
ret = (
(((PRUint32) ll [0]) << 0) |
(((PRUint32) ll [1]) << 8) |
(((PRUint32) ll [2]) << 16) |
(((PRUint32) ll [3]) << 24)
);
return ret;
}

View File

@@ -1,126 +0,0 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.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-1999 Netscape Communications Corporation. All Rights
* Reserved.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
*/
#include "prtypes.h"
#define ZIP_MAGIC 0x5F5A4950L /* "_ZIP" */
#define ZIP_TABSIZE 256
#define ZIP_BUFLEN 32767
/**
* nsZipItem -- a helper class for nsZipArchive
*
* each nsZipItem represents one file in the archive and all the
* information needed to manipulate it.
*/
class nsZipItem
{
public:
char* name;
PRUint32 namelen;
PRUint32 offset;
PRUint32 headerloc;
PRUint16 compression;
PRUint32 size;
PRUint32 realsize;
PRUint32 crc32;
nsZipItem* next;
nsZipItem();
~nsZipItem();
private:
//-- prevent copies and assignments
nsZipItem& operator=(const nsZipItem& rhs);
nsZipItem(const nsZipItem& rhs);
};
/**
* nsZipArchive -- a class for reading the PKZIP file format.
*
*/
class nsZipArchive
{
public:
/** cookie used to validate supposed objects passed from C code */
const PRInt32 kMagic;
/** constructing does not open the archive. See OpenArchive() */
nsZipArchive();
/** destructing the object closes the archive */
~nsZipArchive();
/**
* OpenArchive
*
* It's an error to call this more than once on the same nsZipArchive
* object. If we were allowed to use exceptions this would have been
* part of the constructor
*
* @param aArchiveName full pathname of archive
* @return status code
*/
PRInt32 OpenArchive( const char * aArchiveName );
/**
* ExtractFile
*
* @param aFilename name of file in archive to extract
* @param aOutname where to extract on disk
* @return status code
*/
PRInt32 ExtractFile( const char * aFilename, const char * aOutname );
PRInt32 FindInit( const char * aPattern );
PRInt32 FindNext( char * aBuf, PRUint16 aSize );
private:
//--- private members ---
PRFileDesc *mFd;
nsZipItem* mFiles[ZIP_TABSIZE];
char* mPattern;
PRUint16 mPatternSlot;
nsZipItem* mPatternItem;
PRBool mPatternIsRegExp;
//--- private methods ---
nsZipArchive& operator=(const nsZipArchive& rhs); // prevent assignments
nsZipArchive(const nsZipArchive& rhs); // prevent copies
PRInt32 BuildFileList();
PRInt32 CopyItemToDisk( const nsZipItem* aItem, const char* aOutname );
const nsZipItem* GetFileItem( const char * aFilename );
PRUint16 HashName( const char* aName );
PRInt32 InflateItemToDisk( const nsZipItem* aItem, const char* aOutname );
};

View File

@@ -1,85 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
*/
#ifndef _zipfile_h
#define _zipfile_h
/*
* This module implements a simple archive extractor for the PKZIP format.
*
* All functions return a status/error code, and have an opaque hZip argument
* that represents an open archive.
*
* Currently only compression mode 8 (or none) is supported.
*/
#include "prtypes.h"
#define ZIP_OK 0
#define ZIP_ERR_GENERAL -1
#define ZIP_ERR_MEMORY -2
#define ZIP_ERR_DISK -3
#define ZIP_ERR_CORRUPT -4
#define ZIP_ERR_PARAM -5
#define ZIP_ERR_FNF -6
#define ZIP_ERR_UNSUPPORTED -7
#define ZIP_ERR_SMALLBUF -8
PR_BEGIN_EXTERN_C
/* Open and close the archive
*
* If successful OpenArchive returns a handle in the hZip parameter
* that must be passed to all subsequent operations on the archive
*/
PR_EXTERN(PRInt32) ZIP_OpenArchive( const char * zipname, void** hZip );
PR_EXTERN(PRInt32) ZIP_CloseArchive( void** hZip );
/* Extract the named file in the archive to disk.
* This function will happily overwrite an existing Outfile if it can.
* It's up to the caller to detect or move it out of the way if it's important.
*/
PR_EXTERN(PRInt32) ZIP_ExtractFile( void* hZip, const char * filename, const char * outname );
/* Functions to list the files contained in the archive
*
* FindInit() initializes the search with the pattern, then FindNext() is
* called to get the matching filenames if any.
*
* a NULL pattern will find all the files in the archive, otherwise the
* pattern must be a shell regexp type pattern.
*
* if a matching filename is too small for the passed buffer FindNext()
* will return ZIP_ERR_SMALLBUF. When no more matches can be found in
* the archive it will return ZIP_ERR_FNF
*/
PR_EXTERN(PRInt32) ZIP_FindInit( void* hZip, const char * pattern );
PR_EXTERN(PRInt32) ZIP_FindNext( void* hZip, char * outbuf, PRUint16 bufsize );
PR_END_EXTERN_C
#endif /* _zipfile_h */

View File

@@ -1,100 +0,0 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.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-1999 Netscape Communications Corporation. All Rights
* Reserved.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
*/
#ifndef _zipstruct_h
#define _zipstruct_h
/*
* Certain constants and structures for
* the Phil Katz ZIP archive format.
*
*/
typedef struct ZipLocal_
{
unsigned char signature [4];
unsigned char word [2];
unsigned char bitflag [2];
unsigned char method [2];
unsigned char time [2];
unsigned char date [2];
unsigned char crc32 [4];
unsigned char size [4];
unsigned char orglen [4];
unsigned char filename_len [2];
unsigned char extrafield_len [2];
} ZipLocal;
typedef struct ZipCentral_
{
char signature [4];
char version_made_by [2];
char version [2];
char bitflag [2];
char method [2];
char time [2];
char date [2];
char crc32 [4];
char size [4];
char orglen [4];
char filename_len [2];
char extrafield_len [2];
char commentfield_len [2];
char diskstart_number [2];
char internal_attributes [2];
char external_attributes [4];
char localhdr_offset [4];
} ZipCentral;
typedef struct ZipEnd_
{
char signature [4];
char disk_nr [2];
char start_central_dir [2];
char total_entries_disk [2];
char total_entries_archive [2];
char central_dir_size [4];
char offset_central_dir [4];
char commentfield_len [2];
} ZipEnd;
/* signatures */
#define LOCALSIG 0x04034B50l
#define CENTRALSIG 0x02014B50l
#define ENDSIG 0x06054B50l
/* compression methods */
#define STORED 0
#define SHRUNK 1
#define REDUCED1 2
#define REDUCED2 3
#define REDUCED3 4
#define REDUCED4 5
#define IMPLODED 6
#define TOKENIZED 7
#define DEFLATED 8
#endif /* _zipstruct_h */

View File

@@ -20,47 +20,20 @@
#
# Contributors:
# Daniel Veditz <dveditz@netscape.com>
# Douglas Turner <dougt@netscape.com>
IGNORE_MANIFEST=1
MODULE=jar
DEPTH=..\..\..
DEPTH = ..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
MAKE_OBJ_TYPE=DLL
include $(DEPTH)/config/autoconf.mk
LIBRARY=$(OBJDIR)\jar_s.lib
DIRS = public
OBJS=.\$(OBJDIR)\nsZipArchive.obj
include $(topsrcdir)/config/config.mk
LCFLAGS=-DSTANDALONE
include $(topsrcdir)/config/rules.mk
LINCS= \
-I$(XPDIST)\public\nspr \
-I$(XPDIST)\public\raptor \
-I$(XPDIST)\public\xpcom \
-I$(XPDIST)\public\zlib \
$(NULL)
LLIBS= \
$(LIBNSPR) \
$(DIST)\lib\plc3.lib \
$(DIST)\lib\zlib.lib \
$(DIST)\lib\xplib.lib \
$(NULL)
include <$(DEPTH)/config/rules.mak>
docopy:
$(MAKE_INSTALL) ..\nsZip*.* .
$(MAKE_INSTALL) ..\zip*.* .
export:: docopy
install:: $(LIBRARY)
$(MAKE_INSTALL) .\$(OBJDIR)\jar_s.lib $(DIST)\lib
$(RM) *.h *.cpp
clobber::
$(RM) $(OBJS)
$(RM) $(DIST)\lib\jar_s.lib

Binary file not shown.

View File

@@ -0,0 +1,30 @@
#!nmake
#
# 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.
#
# Contributors:
# Daniel Veditz <dveditz@netscape.com>
# Douglas Turner <dougt@netscape.com>
DEPTH=..
DIRS= public res src
include <$(DEPTH)\config\rules.mak>

View File

@@ -0,0 +1,33 @@
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:NC="http://home.netscape.com/NC-rdf#">
<RDF:Bag ID="NC:SoftwareUpdateRoot">
<RDF:li>
<RDF:Bag ID="NC:NewSoftwareToday" NC:title="New Software">
<RDF:li>
<RDF:Description ID="AimUpdate344">
<NC:type resource="http://home.netscape.com/NC-rdf#SoftwarePackage" />
<NC:title>AOL AIM</NC:title>
<NC:description>An Instant Message Client</NC:description>
<NC:version>3.4.1.12</NC:version>
<NC:registryKey>/AOL/AIM/</NC:registryKey>
<NC:url>http://home.netscape.com/index.html</NC:url>
</RDF:Description>
</RDF:li>
<RDF:li>
<RDF:Description ID="PGPPlugin345">
<NC:type resource="http://home.netscape.com/NC-rdf#SoftwarePackage" />
<NC:title>PGP Plugin For Mozilla</NC:title>
<NC:description>A high grade encryption plugin</NC:description>
<NC:version>1.1.2.0</NC:version>
<NC:registryKey>/PGP/ROCKS/</NC:registryKey>
<NC:url>http://home.netscape.com/index.html</NC:url>
</RDF:Description>
</RDF:li>
</RDF:Bag>
</RDF:li>
</RDF:Bag>
</RDF:RDF>

View File

@@ -0,0 +1,57 @@
window {
display: block;
}
tree {
display: table;
background-color: #FFFFFF;
border: none;
border-spacing: 0px;
width: 100%;
}
treecol {
display: table-column;
width: 200px;
}
treeitem {
display: table-row;
}
treehead {
display: table-header-group;
}
treebody {
display: table-row-group;
}
treecell {
display: table-cell;
font-family: Verdana, Sans-Serif;
font-size: 8pt;
}
treecell[selectedcell] {
background-color: yellow;
}
treehead treeitem treecell {
background-color: #c0c0c0;
border: outset 1px;
border-color: white #707070 #707070 white;
padding-left: 4px;
}
treeitem[type="http://home.netscape.com/NC-rdf#SoftwarePackage"] > treecell > titledbutton {
list-style-image: url("resource:/res/rdf/SoftwareUpdatePackage.gif");
}
treeitem[type="http://home.netscape.com/NC-rdf#Folder"] > treecell > titledbutton {
list-style-image: url("resource:/res/rdf/bookmark-folder-closed.gif");
treeitem[type="http://home.netscape.com/NC-rdf#Folder"][open="true"] > treecell > titledbutton {
list-style-image: url("resource:/res/rdf/bookmark-folder-open.gif");
}

View File

@@ -0,0 +1,123 @@
// the rdf service
var RDF = Components.classes['component://netscape/rdf/rdf-service'].getService();
RDF = RDF.QueryInterface(Components.interfaces.nsIRDFService);
function getAttr(registry,service,attr_name)
{
var attr = registry.GetTarget(service,
RDF.GetResource('http://home.netscape.com/NC-rdf#' + attr_name),
true);
if (attr)
attr = attr.QueryInterface(Components.interfaces.nsIRDFLiteral);
if (attr)
attr = attr.Value;
return attr;
}
function Init()
{
// this is the main rdf file.
var mainRegistry = RDF.GetDataSource('resource://res/rdf/SoftwareUpdates.rdf');
var mainContainer = Components.classes['component://netscape/rdf/container'].createInstance();
mainContainer = mainContainer.QueryInterface(Components.interfaces.nsIRDFContainer);
mainContainer.Init(mainRegistry, RDF.GetResource('NC:SoftwareUpdateDataSources'));
// Now enumerate all of the softwareupdate datasources.
var mainEnumerator = mainContainer.GetElements();
while (mainEnumerator.HasMoreElements())
{
var aDistributor = mainEnumerator.GetNext();
aDistributor = aDistributor.QueryInterface(Components.interfaces.nsIRDFResource);
var distributorContainer = Components.classes['component://netscape/rdf/container'].createInstance();
distributorContainer = distributorContainer.QueryInterface(Components.interfaces.nsIRDFContainer);
var distributorRegistry = RDF.GetDataSource(aDistributor.Value);
var distributorResource = RDF.GetResource('NC:SoftwareUpdateRoot');
distributorContainer.Init(distributorRegistry, distributorResource);
// Now enumerate all of the distributorContainer's packages.
var distributorEnumerator = distributorContainer.GetElements();
while (distributorEnumerator.HasMoreElements())
{
var aPackage = distributorEnumerator.GetNext();
aPackage = aPackage.QueryInterface(Components.interfaces.nsIRDFResource);
// remove any that we do not want.
if (getAttr(distributorRegistry, aPackage, 'title') == "AOL AIM")
{
//distributorContainer.RemoveElement(aPackage, true);
}
}
var tree = document.getElementById('tree');
// Add it to the tree control's composite datasource.
tree.database.AddDataSource(distributorRegistry);
}
// Install all of the stylesheets in the softwareupdate Registry into the
// panel.
// TODO
// XXX hack to force the tree to rebuild
var treebody = document.getElementById('NC:SoftwareUpdateRoot');
treebody.setAttribute('id', 'NC:SoftwareUpdateRoot');
}
function OpenURL(event, node)
{
if (node.getAttribute('type') == "http://home.netscape.com/NC-rdf#SoftwarePackage")
{
url = node.getAttribute('url');
/*window.open(url,'bookmarks');*/
var toolkitCore = XPAppCoresManager.Find("ToolkitCore");
if (!toolkitCore)
{
toolkitCore = new ToolkitCore();
if (toolkitCore)
{
toolkitCore.Init("ToolkitCore");
}
}
if (toolkitCore)
{
toolkitCore.ShowWindow(url,window);
}
dump("OpenURL(" + url + ")\n");
return true;
}
return false;
}
// To get around "window.onload" not working in viewer.
function Boot()
{
var tree = document.getElementById('tree');
if (tree == null) {
setTimeout(Boot, 0);
}
else {
Init();
}
}
setTimeout('Boot()', 0);

View File

@@ -0,0 +1,30 @@
<?xml version="1.0"?>
<?xml-stylesheet href="resource:/res/rdf/sidebar.css" type="text/css"?>
<?xml-stylesheet href="resource:/res/rdf/SoftwareUpdate.css" type="text/css"?>
<window
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<html:script src="SoftwareUpdate.js"/>
<tree id="tree"
flex="100%"
datasources="rdf:softwareupdates"
ondblclick="return OpenURL(event, event.target.parentNode);">
<treecol rdf:resource="http://home.netscape.com/NC-rdf#title" />
<treecol rdf:resource="http://home.netscape.com/NC-rdf#description" />
<treecol rdf:resource="http://home.netscape.com/NC-rdf#version" />
<treehead>
<treeitem>
<treecell>Title</treecell>
<treecell>Description</treecell>
<treecell>Version</treecell>
</treeitem>
</treehead>
<treebody id="NC:SoftwareUpdateRoot" rdf:containment="http://home.netscape.com/NC-rdf#child" />
</tree>
</window>

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

View File

@@ -0,0 +1,7 @@
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:NC="http://home.netscape.com/softwareupdate-schema#">
<RDF:Bag ID="NC:SoftwareUpdateDataSources">
<RDF:li resource="resource:/res/rdf/SoftwareUpdate-Source-1.rdf" />
</RDF:Bag>
</RDF:RDF>

View File

@@ -2,4 +2,5 @@
# This is a list of local files which get copied to the mozilla:dist directory
#
zipfile.h
nsISoftwareUpdate.h
nsSoftwareUpdateIIDs.h

View File

@@ -0,0 +1,47 @@
#!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.
#
# Contributors:
# Daniel Veditz <dveditz@netscape.com>
# Douglas Turner <dougt@netscape.com>
DEPTH = ../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xpinstall
XPIDLSRCS = nsIXPInstallProgress.idl
EXPORTS = \
nsIDOMInstallTriggerGlobal.h \
nsIDOMInstallVersion.h \
nsSoftwareUpdateIIDs.h \
nsISoftwareUpdate.h \
$(NULL)
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk

View File

@@ -0,0 +1,113 @@
interface Install
{
/* IID: { 0x18c2f988, 0xb09f, 0x11d2, \
{0xbc, 0xde, 0x00, 0x80, 0x5f, 0x0e, 0x13, 0x53}} */
const int BAD_PACKAGE_NAME = -200;
const int UNEXPECTED_ERROR = -201;
const int ACCESS_DENIED = -202;
const int TOO_MANY_CERTIFICATES = -203; /* Installer file must have 1 certificate */
const int NO_INSTALLER_CERTIFICATE = -204; /* Installer file must have a certificate */
const int NO_CERTIFICATE = -205; /* Extracted file is not signed */
const int NO_MATCHING_CERTIFICATE = -206; /* Extracted file does not match installer certificate */
const int UNKNOWN_JAR_FILE = -207; /* JAR file has not been opened */
const int INVALID_ARGUMENTS = -208; /* Bad arguments to a function */
const int ILLEGAL_RELATIVE_PATH = -209; /* Illegal relative path */
const int USER_CANCELLED = -210; /* User cancelled */
const int INSTALL_NOT_STARTED = -211;
const int SILENT_MODE_DENIED = -212;
const int NO_SUCH_COMPONENT = -213; /* no such component in the registry. */
const int FILE_DOES_NOT_EXIST = -214; /* File cannot be deleted as it does not exist */
const int FILE_READ_ONLY = -215; /* File cannot be deleted as it is read only. */
const int FILE_IS_DIRECTORY = -216; /* File cannot be deleted as it is a directory */
const int NETWORK_FILE_IS_IN_USE = -217; /* File on the network is in-use */
const int APPLE_SINGLE_ERR = -218; /* error in AppleSingle unpacking */
const int INVALID_PATH_ERR = -219; /* GetFolder() did not like the folderID */
const int PATCH_BAD_DIFF = -220; /* error in GDIFF patch */
const int PATCH_BAD_CHECKSUM_TARGET = -221; /* source file doesn't checksum */
const int PATCH_BAD_CHECKSUM_RESULT = -222; /* final patched file fails checksum */
const int UNINSTALL_FAILED = -223; /* error while uninstalling a package */
const int GESTALT_UNKNOWN_ERR = -5550;
const int GESTALT_INVALID_ARGUMENT = -5551;
const int SUCCESS = 0;
const int REBOOT_NEEDED = 999;
/* install types */
const int LIMITED_INSTALL = 0;
const int FULL_INSTALL = 1;
const int NO_STATUS_DLG = 2;
const int NO_FINALIZE_DLG = 4;
// these should not be public...
/* message IDs*/
const int SU_INSTALL_FILE_UNEXPECTED_MSG_ID = 0;
const int SU_DETAILS_REPLACE_FILE_MSG_ID = 1;
const int SU_DETAILS_INSTALL_FILE_MSG_ID = 2;
//////////////////////////
readonly attribute wstring UserPackageName;
readonly attribute wstring RegPackageName;
void Install();
void AbortInstall();
long AddDirectory( in wstring regName,
in wstring version,
in wstring jarSource,
in InstallFolder folder,
in wstring subdir,
in boolean forceMode );
long AddSubcomponent( in wstring regName,
in wstring version,
in wstring jarSource,
in InstallFolder folder,
in wstring targetName,
in boolean forceMode );
long DeleteComponent( in wstring registryName);
long DeleteFile( in InstallFolder folder,
in wstring relativeFileName );
long DiskSpaceAvailable( in InstallFolder folder );
long Execute(in wstring jarSource, in wstring args);
long FinalizeInstall();
long Gestalt (in wstring selector);
InstallFolder GetComponentFolder( in wstring regName,
in wstring subdirectory);
InstallFolder GetFolder(in wstring targetFolder,
in wstring subdirectory);
long GetLastError();
long GetWinProfile(in InstallFolder folder, in wstring file);
long GetWinRegistry();
long Patch( in wstring regName,
in wstring version,
in wstring jarSource,
in InstallFolder folder,
in wstring targetName );
void ResetError();
void SetPackageFolder( in InstallFolder folder );
long StartInstall( in wstring userPackageName,
in wstring packageName,
in wstring version,
in long flags );
long Uninstall( in wstring packageName);
};

View File

@@ -0,0 +1,24 @@
interface InstallTriggerGlobal
{
/* IID: { 0x18c2f987, 0xb09f, 0x11d2, \
{0xbc, 0xde, 0x00, 0x80, 0x5f, 0x0e, 0x13, 0x53}} */
const int MAJOR_DIFF = 4;
const int MINOR_DIFF = 3;
const int REL_DIFF = 2;
const int BLD_DIFF = 1;
const int EQUAL = 0;
boolean UpdateEnabled ();
long StartSoftwareUpdate(in wstring URL);
long ConditionalSoftwareUpdate( in wstring URL,
in wstring regName,
in long diffLevel,
in wstring version,
in long mode);
long CompareVersion( in wstring regName, in wstring version );
};

View File

@@ -0,0 +1,34 @@
interface InstallVersion
{
/* IID: { 0x18c2f986, 0xb09f, 0x11d2, \
{0xbc, 0xde, 0x00, 0x80, 0x5f, 0x0e, 0x13, 0x53}} */
const int EQUAL = 0;
const int BLD_DIFF = 1;
const int BLD_DIFF_MINUS = -1;
const int REL_DIFF = 2;
const int REL_DIFF_MINUS = -2;
const int MINOR_DIFF = 3;
const int MINOR_DIFF_MINUS = -3;
const int MAJOR_DIFF = 4;
const int MAJOR_DIFF_MINUS = -4;
attribute int major;
attribute int minor;
attribute int release;
attribute int build;
void InstallVersion();
void init(in wstring versionString);
/*
void init(in int major, in int minor, in int release, in int build);
*/
wstring toString();
/* int compareTo(in wstring version);
int compareTo(in int major, in int minor, in int release, in int build);
*/
int compareTo(in InstallVersion versionObject);
};

View File

@@ -0,0 +1,36 @@
#!nmake
#
# 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.
#
# Contributors:
# Daniel Veditz <dveditz@netscape.com>
# Douglas Turner <dougt@netscape.com>
MODULE=xpinstall
DEPTH=..\..
EXPORTS= nsIDOMInstallTriggerGlobal.h \
nsIDOMInstallVersion.h \
nsSoftwareUpdateIIDs.h \
nsISoftwareUpdate.h
XPIDLSRCS = .\nsIXPInstallProgress.idl
include <$(DEPTH)\config\config.mak>
include <$(DEPTH)\config\rules.mak>

View File

@@ -0,0 +1 @@
#error

View File

@@ -0,0 +1,96 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.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.
*/
/* AUTO-GENERATED. DO NOT EDIT!!! */
#ifndef nsIDOMInstallTriggerGlobal_h__
#define nsIDOMInstallTriggerGlobal_h__
#include "nsISupports.h"
#include "nsString.h"
#include "nsIScriptContext.h"
#define NS_IDOMINSTALLTRIGGERGLOBAL_IID \
{ 0x18c2f987, 0xb09f, 0x11d2, \
{0xbc, 0xde, 0x00, 0x80, 0x5f, 0x0e, 0x13, 0x53}}
class nsIDOMInstallTriggerGlobal : public nsISupports {
public:
static const nsIID& IID() { static nsIID iid = NS_IDOMINSTALLTRIGGERGLOBAL_IID; return iid; }
enum {
MAJOR_DIFF = 4,
MINOR_DIFF = 3,
REL_DIFF = 2,
BLD_DIFF = 1,
EQUAL = 0
};
NS_IMETHOD UpdateEnabled(PRBool* aReturn)=0;
NS_IMETHOD StartSoftwareUpdate(const nsString& aURL, PRInt32* aReturn)=0;
NS_IMETHOD StartSoftwareUpdate(const nsString& aURL, PRInt32 aFlags, PRInt32* aReturn)=0;
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, PRInt32 aDiffLevel, const nsString& aVersion, PRInt32 aMode, PRInt32* aReturn)=0;
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, PRInt32 aDiffLevel, nsIDOMInstallVersion* aVersion, PRInt32 aMode, PRInt32* aReturn)=0;
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, nsIDOMInstallVersion* aVersion, PRInt32 aMode, PRInt32* aReturn)=0;
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, const nsString& aVersion, PRInt32 aMode, PRInt32* aReturn)=0;
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, const nsString& aVersion, PRInt32* aReturn)=0;
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, nsIDOMInstallVersion* aVersion, PRInt32* aReturn)=0;
NS_IMETHOD CompareVersion(const nsString& aRegName, PRInt32 aMajor, PRInt32 aMinor, PRInt32 aRelease, PRInt32 aBuild, PRInt32* aReturn)=0;
NS_IMETHOD CompareVersion(const nsString& aRegName, const nsString& aVersion, PRInt32* aReturn)=0;
NS_IMETHOD CompareVersion(const nsString& aRegName, nsIDOMInstallVersion* aVersion, PRInt32* aReturn)=0;
};
#define NS_DECL_IDOMINSTALLTRIGGERGLOBAL \
NS_IMETHOD UpdateEnabled(PRBool* aReturn); \
NS_IMETHOD StartSoftwareUpdate(const nsString& aURL, PRInt32 aFlags, PRInt32* aReturn); \
NS_IMETHOD StartSoftwareUpdate(const nsString& aURL, PRInt32* aReturn); \
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, PRInt32 aDiffLevel, const nsString& aVersion, PRInt32 aMode, PRInt32* aReturn); \
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, PRInt32 aDiffLevel, nsIDOMInstallVersion* aVersion, PRInt32 aMode, PRInt32* aReturn); \
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, nsIDOMInstallVersion* aVersion, PRInt32 aMode, PRInt32* aReturn); \
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, const nsString& aVersion, PRInt32 aMode, PRInt32* aReturn); \
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, const nsString& aVersion, PRInt32* aReturn); \
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, nsIDOMInstallVersion* aVersion, PRInt32* aReturn); \
NS_IMETHOD CompareVersion(const nsString& aRegName, PRInt32 aMajor, PRInt32 aMinor, PRInt32 aRelease, PRInt32 aBuild, PRInt32* aReturn); \
NS_IMETHOD CompareVersion(const nsString& aRegName, const nsString& aVersion, PRInt32* aReturn); \
NS_IMETHOD CompareVersion(const nsString& aRegName, nsIDOMInstallVersion* aVersion, PRInt32* aReturn); \
#define NS_FORWARD_IDOMINSTALLTRIGGERGLOBAL(_to) \
NS_IMETHOD UpdateEnabled(PRBool* aReturn) { return _to##UpdateEnabled(aReturn); } \
NS_IMETHOD StartSoftwareUpdate(const nsString& aURL, PRInt32 aFlags, PRInt32* aReturn) { return _to##StartSoftwareUpdate(aURL, aFlags, aReturn); } \
NS_IMETHOD StartSoftwareUpdate(const nsString& aURL, PRInt32* aReturn) { return _to##StartSoftwareUpdate(aURL, aReturn); } \
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, PRInt32 aDiffLevel, const nsString& aVersion, PRInt32 aMode, PRInt32* aReturn) { return _to##ConditionalSoftwareUpdate(aURL, aRegName, aDiffLevel, aVersion, aMode, aReturn); } \
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, PRInt32 aDiffLevel, nsIDOMInstallVersion* aVersion, PRInt32 aMode, PRInt32* aReturn) { return _to##ConditionalSoftwareUpdate(aURL, aRegName, aDiffLevel, aVersion, aMode, aReturn); } \
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, nsIDOMInstallVersion* aRegName, const nsString& aVersion, PRInt32 aMode, PRInt32* aReturn) { return _to##ConditionalSoftwareUpdate(aURL, aDiffLevel, aVersion, aMode, aReturn); } \
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, const nsString& aVersion, PRInt32 aMode, PRInt32* aReturn) { return _to##ConditionalSoftwareUpdate(aURL, aDiffLevel, aVersion, aMode, aReturn); } \
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, const nsString& aVersion, PRInt32* aReturn) { return _to##ConditionalSoftwareUpdate(aURL, aDiffLevel, aVersion, aReturn); } \
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, nsIDOMInstallVersion* aVersion, PRInt32* aReturn) { return _to##ConditionalSoftwareUpdate(aURL, aDiffLevel, aVersion, aReturn); } \
NS_IMETHOD CompareVersion(const nsString& aRegName, PRInt32 aMajor, PRInt32 aMinor, PRInt32 aRelease, PRInt32 aBuild, PRInt32* aReturn) { return _to##CompareVersion(aRegName, aMajor, aMinor, aRelease, aBuild, aReturn); } \
NS_IMETHOD CompareVersion(const nsString& aRegName, const nsString& aVersion, PRInt32* aReturn) { return _to##CompareVersion(aRegName, aVersion, aReturn); } \
NS_IMETHOD CompareVersion(const nsString& aRegName, nsIDOMInstallVersion* aVersion, PRInt32* aReturn) { return _to##CompareVersion(aRegName, aVersion, aReturn); } \
extern nsresult NS_InitInstallTriggerGlobalClass(nsIScriptContext *aContext, void **aPrototype);
extern "C" NS_DOM nsresult NS_NewScriptInstallTriggerGlobal(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
#endif // nsIDOMInstallTriggerGlobal_h__

View File

@@ -0,0 +1,107 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.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.
*/
/* AUTO-GENERATED. DO NOT EDIT!!! */
#ifndef nsIDOMInstallVersion_h__
#define nsIDOMInstallVersion_h__
#include "nsISupports.h"
#include "nsString.h"
#include "nsIScriptContext.h"
class nsIDOMInstallVersion;
#define NS_IDOMINSTALLVERSION_IID \
{ 0x18c2f986, 0xb09f, 0x11d2, \
{0xbc, 0xde, 0x00, 0x80, 0x5f, 0x0e, 0x13, 0x53}}
class nsIDOMInstallVersion : public nsISupports {
public:
static const nsIID& IID() { static nsIID iid = NS_IDOMINSTALLVERSION_IID; return iid; }
enum {
EQUAL = 0,
BLD_DIFF = 1,
BLD_DIFF_MINUS = -1,
REL_DIFF = 2,
REL_DIFF_MINUS = -2,
MINOR_DIFF = 3,
MINOR_DIFF_MINUS = -3,
MAJOR_DIFF = 4,
MAJOR_DIFF_MINUS = -4
};
NS_IMETHOD GetMajor(PRInt32* aMajor)=0;
NS_IMETHOD SetMajor(PRInt32 aMajor)=0;
NS_IMETHOD GetMinor(PRInt32* aMinor)=0;
NS_IMETHOD SetMinor(PRInt32 aMinor)=0;
NS_IMETHOD GetRelease(PRInt32* aRelease)=0;
NS_IMETHOD SetRelease(PRInt32 aRelease)=0;
NS_IMETHOD GetBuild(PRInt32* aBuild)=0;
NS_IMETHOD SetBuild(PRInt32 aBuild)=0;
NS_IMETHOD Init(const nsString& aVersionString)=0;
NS_IMETHOD ToString(nsString& aReturn)=0;
NS_IMETHOD CompareTo(nsIDOMInstallVersion* aVersionObject, PRInt32* aReturn)=0;
NS_IMETHOD CompareTo(const nsString& aString, PRInt32* aReturn)=0;
NS_IMETHOD CompareTo(PRInt32 aMajor, PRInt32 aMinor, PRInt32 aRelease, PRInt32 aBuild, PRInt32* aReturn)=0;
};
#define NS_DECL_IDOMINSTALLVERSION \
NS_IMETHOD GetMajor(PRInt32* aMajor); \
NS_IMETHOD SetMajor(PRInt32 aMajor); \
NS_IMETHOD GetMinor(PRInt32* aMinor); \
NS_IMETHOD SetMinor(PRInt32 aMinor); \
NS_IMETHOD GetRelease(PRInt32* aRelease); \
NS_IMETHOD SetRelease(PRInt32 aRelease); \
NS_IMETHOD GetBuild(PRInt32* aBuild); \
NS_IMETHOD SetBuild(PRInt32 aBuild); \
NS_IMETHOD Init(const nsString& aVersionString); \
NS_IMETHOD ToString(nsString& aReturn); \
NS_IMETHOD CompareTo(nsIDOMInstallVersion* aVersionObject, PRInt32* aReturn); \
NS_IMETHOD CompareTo(const nsString& aString, PRInt32* aReturn); \
NS_IMETHOD CompareTo(PRInt32 aMajor, PRInt32 aMinor, PRInt32 aRelease, PRInt32 aBuild, PRInt32* aReturn); \
#define NS_FORWARD_IDOMINSTALLVERSION(_to) \
NS_IMETHOD GetMajor(PRInt32* aMajor) { return _to##GetMajor(aMajor); } \
NS_IMETHOD SetMajor(PRInt32 aMajor) { return _to##SetMajor(aMajor); } \
NS_IMETHOD GetMinor(PRInt32* aMinor) { return _to##GetMinor(aMinor); } \
NS_IMETHOD SetMinor(PRInt32 aMinor) { return _to##SetMinor(aMinor); } \
NS_IMETHOD GetRelease(PRInt32* aRelease) { return _to##GetRelease(aRelease); } \
NS_IMETHOD SetRelease(PRInt32 aRelease) { return _to##SetRelease(aRelease); } \
NS_IMETHOD GetBuild(PRInt32* aBuild) { return _to##GetBuild(aBuild); } \
NS_IMETHOD SetBuild(PRInt32 aBuild) { return _to##SetBuild(aBuild); } \
NS_IMETHOD Init(const nsString& aVersionString) { return _to##Init(aVersionString); } \
NS_IMETHOD ToString(nsString& aReturn) { return _to##ToString(aReturn); } \
NS_IMETHOD CompareTo(nsIDOMInstallVersion* aVersionObject, PRInt32* aReturn) { return _to##CompareTo(aVersionObject, aReturn); } \
NS_IMETHOD CompareTo(const nsString& aString, PRInt32* aReturn) { return _to##CompareTo(aString, aReturn); } \
NS_IMETHOD CompareTo(PRInt32 aMajor, PRInt32 aMinor, PRInt32 aRelease, PRInt32 aBuild, PRInt32* aReturn) { return _to##CompareTo(aMajor, aMinor, aRelease, aBuild, aReturn); } \
extern nsresult NS_InitInstallVersionClass(nsIScriptContext *aContext, void **aPrototype);
extern "C" NS_DOM nsresult NS_NewScriptInstallVersion(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
#endif // nsIDOMInstallVersion_h__

View File

@@ -0,0 +1,85 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef nsISoftwareUpdate_h__
#define nsISoftwareUpdate_h__
#include "nsISupports.h"
#include "nsIFactory.h"
#include "nsString.h"
#include "nsIXPInstallProgress.h"
#define NS_IXPINSTALLCOMPONENT_PROGID NS_IAPPSHELLCOMPONENT_PROGID "/xpinstall"
#define NS_IXPINSTALLCOMPONENT_CLASSNAME "Mozilla XPInstall Component"
#define NS_ISOFTWAREUPDATE_IID \
{ 0x18c2f992, \
0xb09f, \
0x11d2, \
{0xbc, 0xde, 0x00, 0x80, 0x5f, 0x0e, 0x13, 0x53}\
}
class nsISoftwareUpdate : public nsISupports
{
public:
NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISOFTWAREUPDATE_IID)
NS_IMETHOD InstallJar(const nsString& fromURL,
const nsString& localFile,
long flags) = 0;
NS_IMETHOD RegisterNotifier(nsIXPInstallProgress *notifier) = 0;
NS_IMETHOD InstallPending(void) = 0;
/* FIX: these should be in a private interface */
NS_IMETHOD InstallJarCallBack() = 0;
NS_IMETHOD GetTopLevelNotifier(nsIXPInstallProgress **notifier) = 0;
};
class nsSoftwareUpdateFactory : public nsIFactory
{
public:
nsSoftwareUpdateFactory();
virtual ~nsSoftwareUpdateFactory();
NS_DECL_ISUPPORTS
NS_IMETHOD CreateInstance(nsISupports *aOuter,
REFNSIID aIID,
void **aResult);
NS_IMETHOD LockFactory(PRBool aLock);
};
#endif // nsISoftwareUpdate_h__

View File

@@ -0,0 +1,30 @@
/* -*- Mode: IDL; 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.
*/
#include "nsISupports.idl"
[uuid(eea90d40-b059-11d2-915e-c12b696c9333)]
interface nsIXPInstallProgress : nsISupports
{
void BeforeJavascriptEvaluation();
void AfterJavascriptEvaluation();
void InstallStarted([const] in string UIPackageName);
void ItemScheduled([const] in string message );
void InstallFinalization([const] in string message, in long itemNum, in long totNum );
void InstallAborted();
};

View File

@@ -0,0 +1,93 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Douglas Turner <dougt@netscape.com>
*/
#ifndef nsIXPInstallProgressNotifier_h__
#define nsIXPInstallProgressNotifier_h__
class nsIXPInstallProgressNotifier
{
public:
///////////////////////////////////////////////////////////////////////////////////////////////////////
// Function name : BeforeJavascriptEvaluation
// Description : This will be called when prior to the install script being evaluate
// Return type : void
// Argument : void
///////////////////////////////////////////////////////////////////////////////////////////////////////
virtual void BeforeJavascriptEvaluation(void) = 0;
///////////////////////////////////////////////////////////////////////////////////////////////////////
// Function name : AfterJavascriptEvaluation
// Description : This will be called after the install script has being evaluated
// Return type : void
// Argument : void
///////////////////////////////////////////////////////////////////////////////////////////////////////
virtual void AfterJavascriptEvaluation(void) = 0;
///////////////////////////////////////////////////////////////////////////////////////////////////////
// Function name : InstallStarted
// Description : This will be called when StartInstall has been called
// Return type : void
// Argument : char* UIPackageName - User Package Name
///////////////////////////////////////////////////////////////////////////////////////////////////////
virtual void InstallStarted(const char* UIPackageName) = 0;
///////////////////////////////////////////////////////////////////////////////////////////////////////
// Function name : ItemScheduled
// Description : This will be called when items are being scheduled
// Return type : Any value returned other than zero, will be treated as an error and the script will be aborted
// Argument : The message that should be displayed to the user
///////////////////////////////////////////////////////////////////////////////////////////////////////
virtual long ItemScheduled( const char* message ) = 0;
///////////////////////////////////////////////////////////////////////////////////////////////////////
// Function name : InstallFinalization
// Description : This will be called when the installation is in its Finalize stage
// Return type : void
// Argument : char* message - The message that should be displayed to the user
// Argument : long itemNum - This is the current item number
// Argument : long totNum - This is the total number of items
///////////////////////////////////////////////////////////////////////////////////////////////////////
virtual void InstallFinalization( const char* message, long itemNum, long totNum ) = 0;
///////////////////////////////////////////////////////////////////////////////////////////////////////
// Function name : InstallAborted
// Description : This will be called when the install is aborted
// Return type : void
// Argument : void
///////////////////////////////////////////////////////////////////////////////////////////////////////
virtual void InstallAborted(void) = 0;
};
#endif

View File

@@ -0,0 +1,64 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef nsSoftwareUpdateIIDs_h___
#define nsSoftwareUpdateIIDs_h___
#define NS_SoftwareUpdate_CID \
{ /* 18c2f989-b09f-11d2-bcde-00805f0e1353 */ \
0x18c2f989, \
0xb09f, \
0x11d2, \
{0xbc, 0xde, 0x00, 0x80, 0x5f, 0x0e, 0x13, 0x53} \
}
#define NS_SoftwareUpdateInstall_CID \
{ /* 18c2f98b-b09f-11d2-bcde-00805f0e1353 */ \
0x18c2f98b, \
0xb09f, \
0x11d2, \
{0xbc, 0xde, 0x00, 0x80, 0x5f, 0x0e, 0x13, 0x53} \
}
#define NS_SoftwareUpdateInstallTrigger_CID \
{ /* 18c2f98d-b09f-11d2-bcde-00805f0e1353 */ \
0x18c2f98d, \
0xb09f, \
0x11d2, \
{0xbc, 0xde, 0x00, 0x80, 0x5f, 0x0e, 0x13, 0x53} \
}
#define NS_SoftwareUpdateInstallVersion_CID \
{ /* 18c2f98f-b09f-11d2-bcde-00805f0e1353 */ \
0x18c2f98f, \
0xb09f, \
0x11d2, \
{0xbc, 0xde, 0x00, 0x80, 0x5f, 0x0e, 0x13, 0x53} \
}
#endif /* nsSoftwareUpdateIIDs_h___ */

View File

@@ -0,0 +1,3 @@
progress.xul
progress.css
progress.html

View File

@@ -1,3 +1,4 @@
#!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
@@ -13,24 +14,21 @@
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH = ../..
DEPTH=../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk
include $(topsrcdir)/config/rules.mk
MODULE = jar
LIBRARY_NAME = jar$(VERSION_NUMBER)
CPPSRCS = \
nsZipArchive.cpp \
EXPORT_RESOURCE_XPINSTALL = \
$(srcdir)/progress.xul \
$(srcdir)/progress.html \
$(srcdir)/progress.css \
$(NULL)
EXPORTS = zipfile.h
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))
include $(topsrcdir)/config/rules.mk
install::
$(INSTALL) $(EXPORT_RESOURCE_XPINSTALL) $(DIST)/bin/res/xpinstall

View File

@@ -0,0 +1,31 @@
#!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.
DEPTH=..\..
IGNORE_MANIFEST=1
include <$(DEPTH)\config\rules.mak>
install:: $(DLL)
$(MAKE_INSTALL) progress.xul $(DIST)\bin\res\xpinstall
$(MAKE_INSTALL) progress.css $(DIST)\bin\res\xpinstall
$(MAKE_INSTALL) progress.html $(DIST)\bin\res\xpinstall
clobber::
rm -f $(DIST)\res\xpinstall\progress.xul
rm -f $(DIST)\res\xpinstall\progress.css
rm -f $(DIST)\res\xpinstall\progress.html

View File

@@ -0,0 +1,3 @@
TD {
font: 10pt sans-serif;
}

View File

@@ -0,0 +1,16 @@
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<body bgcolor="#C0C0C0" style="overflow:visible; margin: 0px; color-background: rgb(192,192,192);">
<center>
<table BORDER COLS=5 WIDTH="99%" style="color-background:rgb(192,192,192);">
<tr>
<td WIDTH="3%" NOWRAP style="border: 1px inset rgb(192,192,192);">&nbsp</td>
<td WIDTH="3%" NOWRAP style="border: 1px inset rgb(192,192,192);">&nbsp</td>
<td WIDTH="3%" NOWRAP style="border: 1px inset rgb(192,192,192);">&nbsp</td>
<td WIDTH="10%" NOWRAP style="border: 1px inset rgb(192,192,192);">&nbsp</td>
<td WIDTH="81%" NOWRAP style="border: 1px inset rgb(192,192,192);">&nbsp</td>
</tr>
</table>
</center>
</body>
</html>

View File

@@ -0,0 +1,67 @@
<?xml version="1.0"?>
<?xml-stylesheet href="../samples/xul.css" type="text/css"?>
<?xml-stylesheet href="progress.css" type="text/css"?>
<!DOCTYPE window
[
<!ENTITY downloadWindow.title "XPInstall Progress">
<!ENTITY status "Status:">
<!ENTITY cancelButtonTitle "Cancel">
]
>
<window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="XPInstall Progress"
width="425"
height="225">
<data>
<broadcaster id="data.canceled" type="string" value="false"/>
</data>
<html:script>
function cancelInstall()
{
var cancelData = document.getElementById("data.canceled");
cancelData.setAttribute( "value", "true");
}
</html:script>
<html:center>
<html:table style="width:100%;">
<html:tr>
<html:td align="center">
<html:input id="dialog.uiPackageName" readonly="" style="background-color:lightgray;width:300px;"/>
</html:td>
</html:tr>
<html:tr>
<html:td nowrap="" style="border: 1px rgb(192,192,192);" align="center">
<html:input id="dialog.currentAction" readonly="" style="background-color:lightgray;width:450px;"/>
</html:td>
</html:tr>
<html:tr>
<html:td align="center" width="15%" nowrap="" style="border: 1px rgb(192,192,192);">
<progressmeter id="dialog.progress" mode="undetermined" style="width:300px;height:16px;">
</progressmeter>
</html:td>
</html:tr>
<html:tr>
<html:td align="center" width="3%" nowrap="" style="border: 1px rgb(192,192,192);">
<html:button onclick="cancelInstall()" height="12">
&cancelButtonTitle;
</html:button>
</html:td>
</html:tr>
</html:table>
</html:center>
</window>

View File

@@ -0,0 +1,61 @@
#!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.
#
# Contributors:
# Daniel Veditz <dveditz@netscape.com>
# Douglas Turner <dougt@netscape.com>
DEPTH = ../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
MODULE = xpinstall
LIBRARY_NAME = xpinstall
IS_COMPONENT = 1
REQUIRES = dom js netlib raptor xpcom
CPPSRCS = \
nsSoftwareUpdate.cpp \
nsInstall.cpp \
nsInstallDelete.cpp \
nsInstallExecute.cpp \
nsInstallFile.cpp \
nsInstallFolder.cpp \
nsInstallPatch.cpp \
nsInstallUninstall.cpp \
nsInstallTrigger.cpp \
nsInstallResources.cpp \
nsJSInstall.cpp \
nsJSInstallTriggerGlobal.cpp\
nsSoftwareUpdateRun.cpp \
nsSoftwareUpdateStream.cpp \
nsTopProgressNotifier.cpp \
nsLoggingProgressNotifier \
ScheduledTasks.cpp \
nsInstallFileOpItem.cpp \
$(NULL)
INCLUDES += -I$(srcdir)/../public
include $(topsrcdir)/config/rules.mk

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,233 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Douglas Turner <dougt@netscape.com>
*/
#ifndef SU_PAS_H
#define SU_PAS_H
#include <Errors.h>
#include <Types.h>
#include <Files.h>
#include <Script.h>
#include <Resources.h>
typedef struct PASHeader /* header portion of Patchable AppleSingle */
{
UInt32 magicNum; /* internal file type tag = 0x00244200*/
UInt32 versionNum; /* format version: 1 = 0x00010000 */
UInt8 filler[16]; /* filler */
UInt16 numEntries; /* number of entries which follow */
} PASHeader ;
typedef struct PASEntry /* one Patchable AppleSingle entry descriptor */
{
UInt32 entryID; /* entry type: see list, 0 invalid */
UInt32 entryOffset; /* offset, in bytes, from beginning */
/* of file to this entry's data */
UInt32 entryLength; /* length of data in octets */
} PASEntry;
typedef struct PASMiscInfo
{
short fileHasResFork;
short fileResAttrs;
OSType fileType;
OSType fileCreator;
UInt32 fileFlags;
} PASMiscInfo;
typedef struct PASResFork
{
short NumberOfTypes;
} PASResFork;
typedef struct PASResource
{
short attr;
short attrID;
OSType attrType;
Str255 attrName;
unsigned long length;
} PASResource;
#if PRAGMA_ALIGN_SUPPORTED
#pragma options align=reset
#endif
#define kCreator 'MOSS'
#define kType 'PASf'
#define PAS_BUFFER_SIZE (1024*512)
#define PAS_MAGIC_NUM (0x00244200)
#define PAS_VERSION (0x00010000)
enum
{
ePas_Data = 1,
ePas_Misc,
ePas_Resource
};
#ifdef __cplusplus
extern "C" {
#endif
/* Prototypes */
OSErr PAS_EncodeFile(FSSpec *inSpec, FSSpec *outSpec);
OSErr PAS_DecodeFile(FSSpec *inSpec, FSSpec *outSpec);
#ifdef __cplusplus
}
#endif
#endif /* SU_PAS_H */

View File

@@ -0,0 +1,380 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#include "nscore.h"
#include "NSReg.h"
#include "nsFileSpec.h"
#include "nsFileStream.h"
#include "nsInstall.h" // for error codes
#include "prmem.h"
#include "ScheduledTasks.h"
#ifdef _WINDOWS
#include <sys/stat.h>
#include <windows.h>
BOOL WIN32_IsMoveFileExBroken()
{
/* the NT option MOVEFILE_DELAY_UNTIL_REBOOT is broken on
* Windows NT 3.51 Service Pack 4 and NT 4.0 before Service Pack 2
*/
BOOL broken = FALSE;
OSVERSIONINFO osinfo;
// they *all* appear broken--better to have one way that works.
return TRUE;
osinfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
if (GetVersionEx(&osinfo) && osinfo.dwPlatformId == VER_PLATFORM_WIN32_NT)
{
if ( osinfo.dwMajorVersion == 3 && osinfo.dwMinorVersion == 51 )
{
if ( 0 == stricmp(osinfo.szCSDVersion,"Service Pack 4"))
{
broken = TRUE;
}
}
else if ( osinfo.dwMajorVersion == 4 )
{
if (osinfo.szCSDVersion[0] == '\0' ||
(0 == stricmp(osinfo.szCSDVersion,"Service Pack 1")))
{
broken = TRUE;
}
}
}
return broken;
}
PRInt32 DoWindowsReplaceExistingFileStuff(const char* currentName, const char* finalName)
{
PRInt32 err = 0;
char* final = strdup(finalName);
char* current = strdup(currentName);
/* couldn't delete, probably in use. Schedule for later */
DWORD dwVersion, dwWindowsMajorVersion;
/* Get OS version info */
dwVersion = GetVersion();
dwWindowsMajorVersion = (DWORD)(LOBYTE(LOWORD(dwVersion)));
/* Get build numbers for Windows NT or Win32s */
if (dwVersion < 0x80000000) // Windows NT
{
/* On Windows NT */
if ( WIN32_IsMoveFileExBroken() )
{
/* the MOVEFILE_DELAY_UNTIL_REBOOT option doesn't work on
* NT 3.51 SP4 or on NT 4.0 until SP2
*/
struct stat statbuf;
PRBool nameFound = PR_FALSE;
char tmpname[_MAX_PATH];
strncpy( tmpname, finalName, _MAX_PATH );
int len = strlen(tmpname);
while (!nameFound && len < _MAX_PATH )
{
tmpname[len-1] = '~';
tmpname[len] = '\0';
if ( stat(tmpname, &statbuf) != 0 )
nameFound = TRUE;
else
len++;
}
if ( nameFound )
{
if ( MoveFile( finalName, tmpname ) )
{
if ( MoveFile( currentName, finalName ) )
{
DeleteFileNowOrSchedule(nsFileSpec(tmpname));
}
else
{
/* 2nd move failed, put old file back */
MoveFile( tmpname, finalName );
}
}
else
{
/* non-executable in use; schedule for later */
return -1; // let the start registry stuff do our work!
}
}
}
else if ( MoveFileEx(currentName, finalName, MOVEFILE_DELAY_UNTIL_REBOOT) )
{
err = 0;
}
}
else // Windows 95 or Win16
{
/*
* Place an entry in the WININIT.INI file in the Windows directory
* to delete finalName and rename currentName to be finalName at reboot
*/
int strlen;
char Src[_MAX_PATH]; // 8.3 name
char Dest[_MAX_PATH]; // 8.3 name
strlen = GetShortPathName( (LPCTSTR)currentName, (LPTSTR)Src, (DWORD)sizeof(Src) );
if ( strlen > 0 )
{
free(current);
current = strdup(Src);
}
strlen = GetShortPathName( (LPCTSTR) finalName, (LPTSTR) Dest, (DWORD) sizeof(Dest));
if ( strlen > 0 )
{
free(final);
final = strdup(Dest);
}
/* NOTE: use OEM filenames! Even though it looks like a Windows
* .INI file, WININIT.INI is processed under DOS
*/
AnsiToOem( final, final );
AnsiToOem( current, current );
if ( WritePrivateProfileString( "Rename", final, current, "WININIT.INI" ) )
err = 0;
}
free(final);
free(current);
return err;
}
#endif
REGERR DeleteFileNowOrSchedule(nsFileSpec& filename)
{
REGERR result = 0;
filename.Delete(false);
if (filename.Exists())
{
RKEY newkey;
HREG reg;
if ( REGERR_OK == NR_RegOpen("", &reg) )
{
if (REGERR_OK == NR_RegAddKey( reg, ROOTKEY_PRIVATE, REG_DELETE_LIST_KEY, &newkey) )
{
// FIX should be using nsPersistentFileDescriptor!!!
result = NR_RegSetEntry( reg, newkey, (char*)(const char*)filename.GetNativePathCString(), REGTYPE_ENTRY_FILE, nsnull, 0);
if (result == REGERR_OK)
result = nsInstall::REBOOT_NEEDED;
}
NR_RegClose(reg);
}
}
return result;
}
/* tmp file is the bad one that we want to replace with target. */
REGERR ReplaceFileNowOrSchedule(nsFileSpec& replacementFile, nsFileSpec& doomedFile )
{
REGERR result = 0;
if(replacementFile == doomedFile)
{
/* do not have to do anything */
return result;
}
doomedFile.Delete(false);
if (! doomedFile.Exists() )
{
// Now that we have move the existing file, we can move the mExtracedFile into place.
nsFileSpec parentofFinalFile;
doomedFile.GetParent(parentofFinalFile);
result = replacementFile.Move(parentofFinalFile);
if ( NS_SUCCEEDED(result) )
{
char* leafName = doomedFile.GetLeafName();
replacementFile.Rename(leafName);
nsCRT::free(leafName);
}
}
else
{
#ifdef _WINDOWS
if (DoWindowsReplaceExistingFileStuff(replacementFile.GetNativePathCString(), doomedFile.GetNativePathCString()) == 0)
return 0;
#endif
RKEY newkey;
HREG reg;
if ( REGERR_OK == NR_RegOpen("", &reg) )
{
result = NR_RegAddKey( reg, ROOTKEY_PRIVATE, REG_REPLACE_LIST_KEY, &newkey);
if ( result == REGERR_OK )
{
char* replacementFileName = (char*)(const char*)replacementFile.GetNativePathCString();
result = NR_RegSetEntry( reg, newkey, (char*)(const char*)doomedFile.GetNativePathCString(), REGTYPE_ENTRY_FILE, replacementFileName, strlen(replacementFileName));
if (result == REGERR_OK)
result = nsInstall::REBOOT_NEEDED;
}
NR_RegClose(reg);
}
}
return result;
}
void DeleteScheduledFiles(void);
void ReplaceScheduledFiles(void);
extern "C" void PerformScheduledTasks(void *data)
{
DeleteScheduledFiles();
ReplaceScheduledFiles();
}
void DeleteScheduledFiles(void)
{
HREG reg;
if (REGERR_OK == NR_RegOpen("", &reg))
{
RKEY key;
REGENUM state;
/* perform scheduled file deletions and replacements (PC only) */
if (REGERR_OK == NR_RegGetKey(reg, ROOTKEY_PRIVATE, REG_DELETE_LIST_KEY,&key))
{
char buf[MAXREGNAMELEN];
while (REGERR_OK == NR_RegEnumEntries(reg, key, &state, buf, sizeof(buf), NULL ))
{
nsFileSpec doomedFile(buf);
doomedFile.Delete(PR_FALSE);
if (! doomedFile.Exists())
{
NR_RegDeleteEntry( reg, key, buf );
}
}
/* delete list node if empty */
if (REGERR_NOMORE == NR_RegEnumEntries( reg, key, &state, buf, sizeof(buf), NULL ))
{
NR_RegDeleteKey(reg, ROOTKEY_PRIVATE, REG_DELETE_LIST_KEY);
}
}
NR_RegClose(reg);
}
}
void ReplaceScheduledFiles(void)
{
HREG reg;
if (REGERR_OK == NR_RegOpen("", &reg))
{
RKEY key;
REGENUM state;
/* replace files if any listed */
if (REGERR_OK == NR_RegGetKey(reg, ROOTKEY_PRIVATE, REG_REPLACE_LIST_KEY, &key))
{
char tmpfile[MAXREGNAMELEN];
char target[MAXREGNAMELEN];
state = 0;
while (REGERR_OK == NR_RegEnumEntries(reg, key, &state, tmpfile, sizeof(tmpfile), NULL ))
{
nsFileSpec replaceFile(tmpfile);
if (! replaceFile.Exists() )
{
NR_RegDeleteEntry( reg, key, tmpfile );
}
else if ( REGERR_OK != NR_RegGetEntryString( reg, key, tmpfile, target, sizeof(target) ) )
{
/* can't read target filename, corruption? */
NR_RegDeleteEntry( reg, key, tmpfile );
}
else
{
nsFileSpec targetFile(target);
targetFile.Delete(PR_FALSE);
if (!targetFile.Exists())
{
nsFileSpec parentofTarget;
targetFile.GetParent(parentofTarget);
nsresult result = replaceFile.Move(parentofTarget);
if ( NS_SUCCEEDED(result) )
{
char* leafName = targetFile.GetLeafName();
replaceFile.Rename(leafName);
nsCRT::free(leafName);
NR_RegDeleteEntry( reg, key, tmpfile );
}
}
}
}
/* delete list node if empty */
if (REGERR_NOMORE == NR_RegEnumEntries(reg, key, &state, tmpfile, sizeof(tmpfile), NULL ))
{
NR_RegDeleteKey(reg, ROOTKEY_PRIVATE, REG_REPLACE_LIST_KEY);
}
}
NR_RegClose(reg);
}
}

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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef __SCHEDULEDTASKS_H__
#define __SCHEDULEDTASKS_H__
#include "NSReg.h"
#include "nsFileSpec.h"
REGERR DeleteFileNowOrSchedule(nsFileSpec& filename);
REGERR ReplaceFileNowOrSchedule(nsFileSpec& tmpfile, nsFileSpec& target );
extern "C" void PerformScheduledTasks(void *data);
#endif

View File

@@ -0,0 +1,135 @@
/* -*- 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.
*/
/*--------------------------------------------------------------
* GDIFF.H
*
* Constants used in processing the GDIFF format
*--------------------------------------------------------------*/
#include "prio.h"
#include "nsFileSpec.h"
#define GDIFF_MAGIC "\xD1\xFF\xD1\xFF"
#define GDIFF_MAGIC_LEN 4
#define GDIFF_VER 5
#define GDIFF_EOF "\0"
#define GDIFF_VER_POS 4
#define GDIFF_CS_POS 5
#define GDIFF_CSLEN_POS 6
#define GDIFF_HEADERSIZE 7
#define GDIFF_APPDATALEN 4
#define GDIFF_CS_NONE 0
#define GDIFF_CS_MD5 1
#define GDIFF_CS_SHA 2
#define GDIFF_CS_CRC32 32
#define CRC32_LEN 4
/*--------------------------------------
* GDIFF opcodes
*------------------------------------*/
#define ENDDIFF 0
#define ADD8MAX 246
#define ADD16 247
#define ADD32 248
#define COPY16BYTE 249
#define COPY16SHORT 250
#define COPY16LONG 251
#define COPY32BYTE 252
#define COPY32SHORT 253
#define COPY32LONG 254
#define COPY64 255
/* instruction sizes */
#define ADD16SIZE 2
#define ADD32SIZE 4
#define COPY16BYTESIZE 3
#define COPY16SHORTSIZE 4
#define COPY16LONGSIZE 6
#define COPY32BYTESIZE 5
#define COPY32SHORTSIZE 6
#define COPY32LONGSIZE 8
#define COPY64SIZE 12
/*--------------------------------------
* error codes
*------------------------------------*/
#define GDIFF_OK 0
#define GDIFF_ERR_UNKNOWN -1
#define GDIFF_ERR_ARGS -2
#define GDIFF_ERR_ACCESS -3
#define GDIFF_ERR_MEM -4
#define GDIFF_ERR_HEADER -5
#define GDIFF_ERR_BADDIFF -6
#define GDIFF_ERR_OPCODE -7
#define GDIFF_ERR_OLDFILE -8
#define GDIFF_ERR_CHKSUMTYPE -9
#define GDIFF_ERR_CHECKSUM -10
#define GDIFF_ERR_CHECKSUM_TARGET -11
#define GDIFF_ERR_CHECKSUM_RESULT -12
/*--------------------------------------
* types
*------------------------------------*/
#ifndef AIX
#ifdef OSF1
#include <sys/types.h>
#else
typedef unsigned char uchar;
#endif
#endif
typedef struct _diffdata {
PRFileDesc* fSrc;
PRFileDesc* fOut;
PRFileDesc* fDiff;
uint8 checksumType;
uint8 checksumLength;
uchar* oldChecksum;
uchar* newChecksum;
PRBool bMacAppleSingle;
PRBool bWin32BoundImage;
uchar* databuf;
uint32 bufsize;
} DIFFDATA;
typedef DIFFDATA* pDIFFDATA;
/*--------------------------------------
* miscellaneous
*------------------------------------*/
#define APPFLAG_W32BOUND "autoinstall:Win32PE"
#define APPFLAG_APPLESINGLE "autoinstall:AppleSingle"
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif

View File

@@ -0,0 +1,111 @@
#!nmake
#
# 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.
#
# Contributors:
# Daniel Veditz <dveditz@netscape.com>
# Douglas Turner <dougt@netscape.com>
DEPTH=..\..
IGNORE_MANIFEST=1
MAKE_OBJ_TYPE = DLL
MODULE=xpinstall
DLL=.\$(OBJDIR)\$(MODULE).dll
DEFINES=-D_IMPL_NS_DOM -DWIN32_LEAN_AND_MEAN
LCFLAGS = \
$(LCFLAGS) \
$(DEFINES) \
$(NULL)
LINCS= \
-I$(PUBLIC)\xpinstall \
-I$(PUBLIC)\jar \
-I$(PUBLIC)\libreg \
-I$(PUBLIC)\netlib \
-I$(PUBLIC)\xpcom \
-I$(PUBLIC)\pref \
-I$(PUBLIC)\rdf \
-I$(PUBLIC)\js \
-I$(PUBLIC)\dom \
-I$(PUBLIC)\raptor \
-I$(PUBLIC)\nspr2 \
-I$(PUBLIC)\zlib \
-I$(PUBLIC)\xpfe\components \
$(NULL)
LLIBS = \
$(DIST)\lib\jar50.lib \
$(DIST)\lib\libreg32.lib \
$(DIST)\lib\netlib.lib \
$(DIST)\lib\xpcom.lib \
$(DIST)\lib\js3250.lib \
$(DIST)\lib\jsdombase_s.lib \
$(DIST)\lib\jsdomevents_s.lib \
$(DIST)\lib\zlib.lib \
$(DIST)\lib\plc3.lib \
$(LIBNSPR) \
$(NULL)
OBJS = \
.\$(OBJDIR)\nsInstall.obj \
.\$(OBJDIR)\nsInstallTrigger.obj \
.\$(OBJDIR)\nsInstallVersion.obj \
.\$(OBJDIR)\nsInstallFolder.obj \
.\$(OBJDIR)\nsJSInstall.obj \
.\$(OBJDIR)\nsJSInstallTriggerGlobal.obj \
.\$(OBJDIR)\nsJSInstallVersion.obj \
.\$(OBJDIR)\nsSoftwareUpdate.obj \
.\$(OBJDIR)\nsSoftwareUpdateRun.obj \
.\$(OBJDIR)\nsSoftwareUpdateStream.obj \
.\$(OBJDIR)\nsInstallFile.obj \
.\$(OBJDIR)\nsInstallDelete.obj \
.\$(OBJDIR)\nsInstallExecute.obj \
.\$(OBJDIR)\nsInstallPatch.obj \
.\$(OBJDIR)\nsInstallUninstall.obj \
.\$(OBJDIR)\nsInstallResources.obj \
.\$(OBJDIR)\nsTopProgressNotifier.obj \
.\$(OBJDIR)\nsLoggingProgressNotifier.obj\
.\$(OBJDIR)\ScheduledTasks.obj \
.\$(OBJDIR)\nsWinReg.obj \
.\$(OBJDIR)\nsJSWinReg.obj \
.\$(OBJDIR)\nsWinRegItem.obj \
.\$(OBJDIR)\nsWinRegValue.obj \
.\$(OBJDIR)\nsWinProfile.obj \
.\$(OBJDIR)\nsJSWinProfile.obj \
.\$(OBJDIR)\nsWinProfileItem.obj \
.\$(OBJDIR)\nsInstallProgressDialog.obj \
.\$(OBJDIR)\nsInstallFileOpItem.obj \
$(NULL)
include <$(DEPTH)\config\rules.mak>
install:: $(DLL)
$(MAKE_INSTALL) .\$(OBJDIR)\$(MODULE).lib $(DIST)\lib
$(MAKE_INSTALL) .\$(OBJDIR)\$(MODULE).dll $(DIST)\bin\components
clobber::
rm -f $(DIST)\lib\$(MODULE).lib
rm -f $(DIST)\bin\components\$(MODULE).dll

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,265 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef __NS_INSTALL_H__
#define __NS_INSTALL_H__
#include "nscore.h"
#include "nsISupports.h"
#include "jsapi.h"
#include "plevent.h"
#include "nsString.h"
#include "nsFileSpec.h"
#include "nsVector.h"
#include "nsHashtable.h"
#include "nsSoftwareUpdate.h"
#include "nsInstallObject.h"
#include "nsInstallVersion.h"
#include "nsIXPInstallProgress.h"
class nsInstallInfo
{
public:
nsInstallInfo(const nsString& fromURL, const nsString& localFile, long flags);
nsInstallInfo(nsVector* fromURL, nsVector* localFiles, long flags);
virtual ~nsInstallInfo();
nsString& GetFromURL(PRUint32 index = 0);
nsString& GetLocalFile(PRUint32 index = 0);
void GetArguments(nsString& args, PRUint32 index = 0);
long GetFlags();
PRBool IsMultipleTrigger();
static void DeleteVector(nsVector* vector);
private:
PRBool mMultipleTrigger;
nsresult mError;
long mFlags;
nsVector *mFromURLs;
nsVector *mLocalFiles;
};
class nsInstall
{
friend class nsWinReg;
friend class nsWinProfile;
public:
enum
{
BAD_PACKAGE_NAME = -200,
UNEXPECTED_ERROR = -201,
ACCESS_DENIED = -202,
TOO_MANY_CERTIFICATES = -203,
NO_INSTALLER_CERTIFICATE = -204,
NO_CERTIFICATE = -205,
NO_MATCHING_CERTIFICATE = -206,
UNKNOWN_JAR_FILE = -207,
INVALID_ARGUMENTS = -208,
ILLEGAL_RELATIVE_PATH = -209,
USER_CANCELLED = -210,
INSTALL_NOT_STARTED = -211,
SILENT_MODE_DENIED = -212,
NO_SUCH_COMPONENT = -213,
FILE_DOES_NOT_EXIST = -214,
FILE_READ_ONLY = -215,
FILE_IS_DIRECTORY = -216,
NETWORK_FILE_IS_IN_USE = -217,
APPLE_SINGLE_ERR = -218,
INVALID_PATH_ERR = -219,
PATCH_BAD_DIFF = -220,
PATCH_BAD_CHECKSUM_TARGET = -221,
PATCH_BAD_CHECKSUM_RESULT = -222,
UNINSTALL_FAILED = -223,
GESTALT_UNKNOWN_ERR = -5550,
GESTALT_INVALID_ARGUMENT = -5551,
SUCCESS = 0,
REBOOT_NEEDED = 999,
LIMITED_INSTALL = 0,
FULL_INSTALL = 1,
NO_STATUS_DLG = 2,
NO_FINALIZE_DLG = 4,
INSTALL_FILE_UNEXPECTED_MSG_ID = 0,
DETAILS_REPLACE_FILE_MSG_ID = 1,
DETAILS_INSTALL_FILE_MSG_ID = 2
};
nsInstall();
virtual ~nsInstall();
PRInt32 SetScriptObject(void* aScriptObject);
PRInt32 SaveWinRegPrototype(void* aScriptObject);
PRInt32 SaveWinProfilePrototype(void* aScriptObject);
JSObject* RetrieveWinRegPrototype(void);
JSObject* RetrieveWinProfilePrototype(void);
PRInt32 GetUserPackageName(nsString& aUserPackageName);
PRInt32 GetRegPackageName(nsString& aRegPackageName);
PRInt32 AbortInstall();
PRInt32 AddDirectory(const nsString& aRegName, const nsString& aVersion, const nsString& aJarSource, const nsString& aFolder, const nsString& aSubdir, PRBool aForceMode, PRInt32* aReturn);
PRInt32 AddDirectory(const nsString& aRegName, const nsString& aVersion, const nsString& aJarSource, const nsString& aFolder, const nsString& aSubdir, PRInt32* aReturn);
PRInt32 AddDirectory(const nsString& aRegName, const nsString& aJarSource, const nsString& aFolder, const nsString& aSubdir, PRInt32* aReturn);
PRInt32 AddDirectory(const nsString& aJarSource, PRInt32* aReturn);
PRInt32 AddSubcomponent(const nsString& aRegName, const nsString& aVersion, const nsString& aJarSource, const nsString& aFolder, const nsString& aTargetName, PRBool aForceMode, PRInt32* aReturn);
PRInt32 AddSubcomponent(const nsString& aRegName, const nsString& aVersion, const nsString& aJarSource, const nsString& aFolder, const nsString& aTargetName, PRInt32* aReturn);
PRInt32 AddSubcomponent(const nsString& aRegName, const nsString& aJarSource, const nsString& aFolder, const nsString& aTargetName, PRInt32* aReturn);
PRInt32 AddSubcomponent(const nsString& aJarSource, PRInt32* aReturn);
PRInt32 DeleteComponent(const nsString& aRegistryName, PRInt32* aReturn);
PRInt32 DeleteFile(const nsString& aFolder, const nsString& aRelativeFileName, PRInt32* aReturn);
PRInt32 DiskSpaceAvailable(const nsString& aFolder, PRInt32* aReturn);
PRInt32 Execute(const nsString& aJarSource, const nsString& aArgs, PRInt32* aReturn);
PRInt32 Execute(const nsString& aJarSource, PRInt32* aReturn);
PRInt32 FinalizeInstall(PRInt32* aReturn);
PRInt32 Gestalt(const nsString& aSelector, PRInt32* aReturn);
PRInt32 GetComponentFolder(const nsString& aComponentName, const nsString& aSubdirectory, nsString** aFolder);
PRInt32 GetComponentFolder(const nsString& aComponentName, nsString** aFolder);
PRInt32 GetFolder(const nsString& aTargetFolder, const nsString& aSubdirectory, nsString** aFolder);
PRInt32 GetFolder(const nsString& aTargetFolder, nsString** aFolder);
PRInt32 GetLastError(PRInt32* aReturn);
PRInt32 GetWinProfile(const nsString& aFolder, const nsString& aFile, JSContext* jscontext, JSClass* WinProfileClass, jsval* aReturn);
PRInt32 GetWinRegistry(JSContext* jscontext, JSClass* WinRegClass, jsval* aReturn);
PRInt32 Patch(const nsString& aRegName, const nsString& aVersion, const nsString& aJarSource, const nsString& aFolder, const nsString& aTargetName, PRInt32* aReturn);
PRInt32 Patch(const nsString& aRegName, const nsString& aJarSource, const nsString& aFolder, const nsString& aTargetName, PRInt32* aReturn);
PRInt32 ResetError();
PRInt32 SetPackageFolder(const nsString& aFolder);
PRInt32 StartInstall(const nsString& aUserPackageName, const nsString& aPackageName, const nsString& aVersion, PRInt32* aReturn);
PRInt32 Uninstall(const nsString& aPackageName, PRInt32* aReturn);
PRInt32 FileOpDirCreate(nsFileSpec& aTarget, PRInt32* aReturn);
PRInt32 FileOpDirGetParent(nsFileSpec& aTarget, nsFileSpec* aReturn);
PRInt32 FileOpDirRemove(nsFileSpec& aTarget, PRInt32 aFlags, PRInt32* aReturn);
PRInt32 FileOpDirRename(nsFileSpec& aSrc, nsFileSpec& aTarget, PRInt32* aReturn);
PRInt32 FileOpFileCopy(nsFileSpec& aSrc, nsFileSpec& aTarget, PRInt32* aReturn);
PRInt32 FileOpFileDelete(nsFileSpec& aTarget, PRInt32 aFlags, PRInt32* aReturn);
PRInt32 FileOpFileExists(nsFileSpec& aTarget, PRBool* aReturn);
PRInt32 FileOpFileExecute(nsFileSpec& aTarget, nsString& aParams, PRInt32* aReturn);
PRInt32 FileOpFileGetNativeVersion(nsFileSpec& aTarget, nsString* aReturn);
PRInt32 FileOpFileGetDiskSpaceAvailable(nsFileSpec& aTarget, PRUint32* aReturn);
PRInt32 FileOpFileGetModDate(nsFileSpec& aTarget, nsFileSpec::TimeStamp* aReturn);
PRInt32 FileOpFileGetSize(nsFileSpec& aTarget, PRUint32* aReturn);
PRInt32 FileOpFileIsDirectory(nsFileSpec& aTarget, PRBool* aReturn);
PRInt32 FileOpFileIsFile(nsFileSpec& aTarget, PRBool* aReturn);
PRInt32 FileOpFileModDateChanged(nsFileSpec& aTarget, nsFileSpec::TimeStamp& aOldStamp, PRBool* aReturn);
PRInt32 FileOpFileMove(nsFileSpec& aSrc, nsFileSpec& aTarget, PRInt32* aReturn);
PRInt32 FileOpFileRename(nsFileSpec& aSrc, nsFileSpec& aTarget, PRInt32* aReturn);
PRInt32 FileOpFileWinShortcutCreate(nsFileSpec& aTarget, PRInt32 aFlags, PRInt32* aReturn);
PRInt32 FileOpFileMacAliasCreate(nsFileSpec& aTarget, PRInt32 aFlags, PRInt32* aReturn);
PRInt32 FileOpFileUnixLinkCreate(nsFileSpec& aTarget, PRInt32 aFlags, PRInt32* aReturn);
PRInt32 ExtractFileFromJar(const nsString& aJarfile, nsFileSpec* aSuggestedName, nsFileSpec** aRealName);
void AddPatch(nsHashKey *aKey, nsFileSpec* fileName);
void GetPatch(nsHashKey *aKey, nsFileSpec* fileName);
void GetJarFileLocation(nsString& aFile);
void SetJarFileLocation(const nsString& aFile);
void GetInstallArguments(nsString& args);
void SetInstallArguments(const nsString& args);
private:
JSObject* mScriptObject;
JSObject* mWinRegObject;
JSObject* mWinProfileObject;
nsString mJarFileLocation;
void* mJarFileData;
nsString mInstallArguments;
PRBool mUserCancelled;
PRBool mUninstallPackage;
PRBool mRegisterPackage;
nsString mRegistryPackageName; /* Name of the package we are installing */
nsString mUIName; /* User-readable package name */
nsInstallVersion* mVersionInfo; /* Component version info */
nsVector* mInstalledFiles;
nsHashtable* mPatchList;
nsIXPInstallProgress *mNotifier;
PRInt32 mLastError;
void ParseFlags(int flags);
PRInt32 SanityCheck(void);
void GetTime(nsString &aString);
PRInt32 GetQualifiedRegName(const nsString& name, nsString& qualifiedRegName );
PRInt32 GetQualifiedPackageName( const nsString& name, nsString& qualifiedName );
void CurrentUserNode(nsString& userRegNode);
PRBool BadRegName(const nsString& regName);
PRInt32 SaveError(PRInt32 errcode);
void CleanUp();
PRInt32 OpenJARFile(void);
void CloseJARFile(void);
PRInt32 ExtractDirEntries(const nsString& directory, nsVector *paths);
PRInt32 ScheduleForInstall(nsInstallObject* ob);
};
#endif

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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#include "prmem.h"
#include "nsFileSpec.h"
#include "VerReg.h"
#include "ScheduledTasks.h"
#include "nsInstallDelete.h"
#include "nsInstallResources.h"
#include "nsInstall.h"
#include "nsIDOMInstallVersion.h"
nsInstallDelete::nsInstallDelete( nsInstall* inInstall,
const nsString& folderSpec,
const nsString& inPartialPath,
PRInt32 *error)
: nsInstallObject(inInstall)
{
if ((folderSpec == "null") || (inInstall == NULL))
{
*error = nsInstall::INVALID_ARGUMENTS;
return;
}
mDeleteStatus = DELETE_FILE;
mFinalFile = nsnull;
mRegistryName = "";
mFinalFile = new nsFileSpec(folderSpec);
*mFinalFile += inPartialPath;
*error = ProcessInstallDelete();
}
nsInstallDelete::nsInstallDelete( nsInstall* inInstall,
const nsString& inComponentName,
PRInt32 *error)
: nsInstallObject(inInstall)
{
if (inInstall == NULL)
{
*error = nsInstall::INVALID_ARGUMENTS;
return;
}
mDeleteStatus = DELETE_COMPONENT;
mFinalFile = nsnull;
mRegistryName = inComponentName;
*error = ProcessInstallDelete();
}
nsInstallDelete::~nsInstallDelete()
{
if (mFinalFile == nsnull)
delete mFinalFile;
}
PRInt32 nsInstallDelete::Prepare()
{
// no set-up necessary
return nsInstall::SUCCESS;
}
PRInt32 nsInstallDelete::Complete()
{
PRInt32 err = nsInstall::SUCCESS;
if (mInstall == NULL)
return nsInstall::INVALID_ARGUMENTS;
if (mDeleteStatus == DELETE_COMPONENT)
{
char* temp = mRegistryName.ToNewCString();
err = VR_Remove(temp);
delete [] temp;
}
if ((mDeleteStatus == DELETE_FILE) || (err == REGERR_OK))
{
err = NativeComplete();
}
else
{
err = nsInstall::UNEXPECTED_ERROR;
}
return err;
}
void nsInstallDelete::Abort()
{
}
char* nsInstallDelete::toString()
{
char* buffer = new char[1024];
if (mDeleteStatus == DELETE_COMPONENT)
{
sprintf( buffer, nsInstallResources::GetDeleteComponentString(), nsAutoCString(mRegistryName));
}
else
{
if (mFinalFile)
sprintf( buffer, nsInstallResources::GetDeleteFileString(), mFinalFile->GetCString());
}
return buffer;
}
PRBool
nsInstallDelete::CanUninstall()
{
return PR_FALSE;
}
PRBool
nsInstallDelete::RegisterPackageNode()
{
return PR_FALSE;
}
PRInt32 nsInstallDelete::ProcessInstallDelete()
{
PRInt32 err;
char* tempCString = nsnull;
if (mDeleteStatus == DELETE_COMPONENT)
{
/* Check if the component is in the registry */
tempCString = mRegistryName.ToNewCString();
err = VR_InRegistry( tempCString );
if (err != REGERR_OK)
{
return err;
}
else
{
char* tempRegistryString;
tempRegistryString = (char*)PR_Calloc(MAXREGPATHLEN, sizeof(char));
err = VR_GetPath( tempCString , MAXREGPATHLEN, tempRegistryString);
if (err == REGERR_OK)
{
if (mFinalFile)
delete mFinalFile;
mFinalFile = new nsFileSpec(tempRegistryString);
}
PR_FREEIF(tempRegistryString);
}
}
if(tempCString)
delete [] tempCString;
if (mFinalFile->Exists())
{
if (mFinalFile->IsFile())
{
err = nsInstall::SUCCESS;
}
else
{
err = nsInstall::FILE_IS_DIRECTORY;
}
}
else
{
err = nsInstall::FILE_DOES_NOT_EXIST;
}
return err;
}
PRInt32 nsInstallDelete::NativeComplete()
{
if (mFinalFile->Exists())
{
if (mFinalFile->IsFile())
{
return DeleteFileNowOrSchedule(*mFinalFile);
}
else
{
return nsInstall::FILE_IS_DIRECTORY;
}
}
return nsInstall::FILE_DOES_NOT_EXIST;
}

View File

@@ -0,0 +1,78 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef nsInstallDelete_h__
#define nsInstallDelete_h__
#include "prtypes.h"
#include "nsString.h"
#include "nsInstallObject.h"
#include "nsInstall.h"
#define DELETE_COMPONENT 1
#define DELETE_FILE 2
class nsInstallDelete : public nsInstallObject
{
public:
nsInstallDelete( nsInstall* inInstall,
const nsString& folderSpec,
const nsString& inPartialPath,
PRInt32 *error);
nsInstallDelete( nsInstall* inInstall,
const nsString& ,
PRInt32 *error);
virtual ~nsInstallDelete();
PRInt32 Prepare();
PRInt32 Complete();
void Abort();
char* toString();
PRBool CanUninstall();
PRBool RegisterPackageNode();
private:
/* Private Fields */
nsFileSpec* mFinalFile;
nsString mRegistryName;
PRInt32 mDeleteStatus;
PRInt32 ProcessInstallDelete();
PRInt32 NativeComplete();
};
#endif /* nsInstallDelete_h__ */

View File

@@ -0,0 +1,136 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#include "prmem.h"
#include "nsFileSpec.h"
#include "VerReg.h"
#include "nsInstallExecute.h"
#include "nsInstallResources.h"
#include "ScheduledTasks.h"
#include "nsInstall.h"
#include "nsIDOMInstallVersion.h"
nsInstallExecute:: nsInstallExecute( nsInstall* inInstall,
const nsString& inJarLocation,
const nsString& inArgs,
PRInt32 *error)
: nsInstallObject(inInstall)
{
if ((inInstall == nsnull) || (inJarLocation == "null"))
{
*error = nsInstall::INVALID_ARGUMENTS;
return;
}
mJarLocation = inJarLocation;
mArgs = inArgs;
mExecutableFile = nsnull;
}
nsInstallExecute::~nsInstallExecute()
{
if (mExecutableFile)
delete mExecutableFile;
}
PRInt32 nsInstallExecute::Prepare()
{
if (mInstall == NULL || mJarLocation == "null")
return nsInstall::INVALID_ARGUMENTS;
return mInstall->ExtractFileFromJar(mJarLocation, nsnull, &mExecutableFile);
}
PRInt32 nsInstallExecute::Complete()
{
if (mExecutableFile == nsnull)
return nsInstall::INVALID_ARGUMENTS;
nsFileSpec app( *mExecutableFile);
if (!app.Exists())
{
return nsInstall::INVALID_ARGUMENTS;
}
PRInt32 result = app.Execute( mArgs );
DeleteFileNowOrSchedule( app );
return result;
}
void nsInstallExecute::Abort()
{
/* Get the names */
if (mExecutableFile == nsnull)
return;
DeleteFileNowOrSchedule(*mExecutableFile);
}
char* nsInstallExecute::toString()
{
char* buffer = new char[1024];
// if the FileSpec is NULL, just us the in jar file name.
if (mExecutableFile == nsnull)
{
char *tempString = mJarLocation.ToNewCString();
sprintf( buffer, nsInstallResources::GetExecuteString(), tempString);
delete [] tempString;
}
else
{
sprintf( buffer, nsInstallResources::GetExecuteString(), mExecutableFile->GetCString());
}
return buffer;
}
PRBool
nsInstallExecute::CanUninstall()
{
return PR_FALSE;
}
PRBool
nsInstallExecute::RegisterPackageNode()
{
return PR_FALSE;
}

View File

@@ -0,0 +1,73 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef nsInstallExecute_h__
#define nsInstallExecute_h__
#include "prtypes.h"
#include "nsString.h"
#include "nsInstallObject.h"
#include "nsInstall.h"
#include "nsIDOMInstallVersion.h"
class nsInstallExecute : public nsInstallObject
{
public:
nsInstallExecute( nsInstall* inInstall,
const nsString& inJarLocation,
const nsString& inArgs,
PRInt32 *error);
virtual ~nsInstallExecute();
PRInt32 Prepare();
PRInt32 Complete();
void Abort();
char* toString();
PRBool CanUninstall();
PRBool RegisterPackageNode();
private:
nsString mJarLocation; // Location in the JAR
nsString mArgs; // command line arguments
nsFileSpec *mExecutableFile; // temporary file location
PRInt32 NativeComplete(void);
void NativeAbort(void);
};
#endif /* nsInstallExecute_h__ */

View File

@@ -0,0 +1,366 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#include "nsInstallFile.h"
#include "nsFileSpec.h"
#include "VerReg.h"
#include "ScheduledTasks.h"
#include "nsInstall.h"
#include "nsIDOMInstallVersion.h"
#include "nsInstallResources.h"
/* Public Methods */
/* Constructor
inInstall - softUpdate object we belong to
inComponentName - full path of the registry component
inVInfo - full version info
inJarLocation - location inside the JAR file
inFinalFileSpec - final location on disk
*/
nsInstallFile::nsInstallFile(nsInstall* inInstall,
const nsString& inComponentName,
const nsString& inVInfo,
const nsString& inJarLocation,
const nsString& folderSpec,
const nsString& inPartialPath,
PRBool forceInstall,
PRInt32 *error)
: nsInstallObject(inInstall)
{
mVersionRegistryName = nsnull;
mJarLocation = nsnull;
mExtracedFile = nsnull;
mFinalFile = nsnull;
mVersionInfo = nsnull;
mUpgradeFile = PR_FALSE;
if ((folderSpec == "null") || (inInstall == NULL))
{
*error = nsInstall::INVALID_ARGUMENTS;
return;
}
/* Check for existence of the newer version */
PRBool versionNewer = PR_FALSE; // Is this a newer version
char* qualifiedRegNameString = inComponentName.ToNewCString();
if ( (forceInstall == PR_FALSE ) && (inVInfo != "") && ( VR_ValidateComponent( qualifiedRegNameString ) == 0 ) )
{
nsInstallVersion *newVersion = new nsInstallVersion();
newVersion->Init(inVInfo);
VERSION versionStruct;
VR_GetVersion( qualifiedRegNameString, &versionStruct );
nsInstallVersion* oldVersion = new nsInstallVersion();
oldVersion->Init(versionStruct.major,
versionStruct.minor,
versionStruct.release,
versionStruct.build);
PRInt32 areTheyEqual;
newVersion->CompareTo(oldVersion, &areTheyEqual);
delete oldVersion;
delete newVersion;
if (areTheyEqual == nsIDOMInstallVersion::MAJOR_DIFF_MINUS ||
areTheyEqual == nsIDOMInstallVersion::MINOR_DIFF_MINUS ||
areTheyEqual == nsIDOMInstallVersion::REL_DIFF_MINUS ||
areTheyEqual == nsIDOMInstallVersion::BLD_DIFF_MINUS )
{
// the file to be installed is OLDER than what is on disk. Return error
delete qualifiedRegNameString;
*error = areTheyEqual;
return;
}
}
delete qualifiedRegNameString;
mFinalFile = new nsFileSpec(folderSpec);
*mFinalFile += inPartialPath;
mReplaceFile = mFinalFile->Exists();
if (mReplaceFile == PR_FALSE)
{
nsFileSpec parent;
mFinalFile->GetParent(parent);
nsFileSpec makeDirs(parent.GetCString(), PR_TRUE);
}
mForceInstall = forceInstall;
mVersionRegistryName = new nsString(inComponentName);
mJarLocation = new nsString(inJarLocation);
mVersionInfo = new nsString(inVInfo);
nsString regPackageName;
mInstall->GetRegPackageName(regPackageName);
// determine Child status
if ( regPackageName == "" )
{
// in the "current communicator package" absolute pathnames (start
// with slash) indicate shared files -- all others are children
mChildFile = ( mVersionRegistryName->CharAt(0) != '/' );
}
else
{
// there is no "starts with" api in nsString. LAME!
nsString startsWith;
mVersionRegistryName->Left(startsWith, regPackageName.Length());
if (startsWith.Equals(regPackageName))
{
mChildFile = true;
}
else
{
mChildFile = false;
}
}
}
nsInstallFile::~nsInstallFile()
{
if (mVersionRegistryName)
delete mVersionRegistryName;
if (mJarLocation)
delete mJarLocation;
if (mExtracedFile)
delete mExtracedFile;
if (mFinalFile)
delete mFinalFile;
if (mVersionInfo)
delete mVersionInfo;
}
/* Prepare
* Extracts file out of the JAR archive
*/
PRInt32 nsInstallFile::Prepare()
{
if (mInstall == nsnull || mFinalFile == nsnull || mJarLocation == nsnull )
return nsInstall::INVALID_ARGUMENTS;
return mInstall->ExtractFileFromJar(*mJarLocation, mFinalFile, &mExtracedFile);
}
/* Complete
* Completes the install:
* - move the downloaded file to the final location
* - updates the registry
*/
PRInt32 nsInstallFile::Complete()
{
PRInt32 err;
if (mInstall == nsnull || mVersionRegistryName == nsnull || mFinalFile == nsnull )
{
return nsInstall::INVALID_ARGUMENTS;
}
err = CompleteFileMove();
if ( 0 == err || nsInstall::REBOOT_NEEDED == err )
{
err = RegisterInVersionRegistry();
}
return err;
}
void nsInstallFile::Abort()
{
if (mExtracedFile != nsnull)
mExtracedFile->Delete(PR_FALSE);
}
char* nsInstallFile::toString()
{
char* buffer = new char[1024];
if (mFinalFile == nsnull)
{
sprintf( buffer, nsInstallResources::GetInstallFileString(), nsnull);
}
else if (mReplaceFile)
{
// we are replacing this file.
sprintf( buffer, nsInstallResources::GetReplaceFileString(), mFinalFile->GetCString());
}
else
{
sprintf( buffer, nsInstallResources::GetInstallFileString(), mFinalFile->GetCString());
}
return buffer;
}
PRInt32 nsInstallFile::CompleteFileMove()
{
int result = 0;
if (mExtracedFile == nsnull)
{
return -1;
}
if ( *mExtracedFile == *mFinalFile )
{
/* No need to rename, they are the same */
result = 0;
}
else
{
result = ReplaceFileNowOrSchedule(*mExtracedFile, *mFinalFile );
}
return result;
}
PRInt32
nsInstallFile::RegisterInVersionRegistry()
{
int refCount;
nsString regPackageName;
mInstall->GetRegPackageName(regPackageName);
// Register file and log for Uninstall
if (!mChildFile)
{
int found;
if (regPackageName != "")
{
found = VR_UninstallFileExistsInList( (char*)(const char*)nsAutoCString(regPackageName) ,
(char*)(const char*)nsAutoCString(*mVersionRegistryName));
}
else
{
found = VR_UninstallFileExistsInList( "", (char*)(const char*)nsAutoCString(*mVersionRegistryName) );
}
if (found != REGERR_OK)
mUpgradeFile = PR_FALSE;
else
mUpgradeFile = PR_TRUE;
}
else if (REGERR_OK == VR_InRegistry( (char*)(const char*)nsAutoCString(*mVersionRegistryName)))
{
mUpgradeFile = PR_TRUE;
}
else
{
mUpgradeFile = PR_FALSE;
}
if ( REGERR_OK != VR_GetRefCount( (char*)(const char*)nsAutoCString(*mVersionRegistryName), &refCount ))
{
refCount = 0;
}
VR_Install( (char*)(const char*)nsAutoCString(*mVersionRegistryName),
(char*)(const char*)mFinalFile->GetNativePathCString(), // DO NOT CHANGE THIS.
(char*)(const char*)nsAutoCString(*mVersionInfo),
PR_FALSE );
if (mUpgradeFile)
{
if (refCount == 0)
VR_SetRefCount( (char*)(const char*)nsAutoCString(*mVersionRegistryName), 1 );
else
VR_SetRefCount( (char*)(const char*)nsAutoCString(*mVersionRegistryName), refCount ); //FIX?? what should the ref count be/
}
else
{
if (refCount != 0)
{
VR_SetRefCount( (char*)(const char*)nsAutoCString(*mVersionRegistryName), refCount + 1 );
}
else
{
if (mReplaceFile)
VR_SetRefCount( (char*)(const char*)nsAutoCString(*mVersionRegistryName), 2 );
else
VR_SetRefCount( (char*)(const char*)nsAutoCString(*mVersionRegistryName), 1 );
}
}
if ( !mChildFile && !mUpgradeFile )
{
if (regPackageName != "")
{
VR_UninstallAddFileToList( (char*)(const char*)nsAutoCString(regPackageName),
(char*)(const char*)nsAutoCString(*mVersionRegistryName));
}
else
{
VR_UninstallAddFileToList( "", (char*)(const char*)nsAutoCString(*mVersionRegistryName) );
}
}
return nsInstall::SUCCESS;
}
/* CanUninstall
* InstallFile() installs files which can be uninstalled,
* hence this function returns true.
*/
PRBool
nsInstallFile::CanUninstall()
{
return TRUE;
}
/* RegisterPackageNode
* InstallFile() installs files which need to be registered,
* hence this function returns true.
*/
PRBool
nsInstallFile::RegisterPackageNode()
{
return TRUE;
}

View File

@@ -0,0 +1,93 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef nsInstallFile_h__
#define nsInstallFile_h__
#include "prtypes.h"
#include "nsString.h"
#include "nsInstallObject.h"
#include "nsInstall.h"
#include "nsInstallVersion.h"
class nsInstallFile : public nsInstallObject
{
public:
/*************************************************************
* Public Methods
*
* Constructor
* inSoftUpdate - softUpdate object we belong to
* inComponentName - full path of the registry component
* inVInfo - full version info
* inJarLocation - location inside the JAR file
* inFinalFileSpec - final location on disk
*************************************************************/
nsInstallFile( nsInstall* inInstall,
const nsString& inVRName,
const nsString& inVInfo,
const nsString& inJarLocation,
const nsString& folderSpec,
const nsString& inPartialPath,
PRBool forceInstall,
PRInt32 *error);
virtual ~nsInstallFile();
PRInt32 Prepare();
PRInt32 Complete();
void Abort();
char* toString();
PRBool CanUninstall();
PRBool RegisterPackageNode();
private:
/* Private Fields */
nsString* mVersionInfo; /* Version info for this file*/
nsString* mJarLocation; /* Location in the JAR */
nsFileSpec* mExtracedFile; /* temporary file location */
nsFileSpec* mFinalFile; /* final file destination */
nsString* mVersionRegistryName; /* full version path */
PRBool mForceInstall; /* whether install is forced */
PRBool mReplaceFile; /* whether file exists */
PRBool mChildFile; /* whether file is a child */
PRBool mUpgradeFile; /* whether file is an upgrade */
PRInt32 CompleteFileMove();
PRInt32 RegisterInVersionRegistry();
};
#endif /* nsInstallFile_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 nsInstallFileOpEnums_h__
#define nsInstallFileOpEnums_h__
typedef enum nsInstallFileOpEnums {
NS_FOP_DIR_CREATE = 0,
NS_FOP_DIR_REMOVE = 1,
NS_FOP_DIR_RENAME = 2,
NS_FOP_FILE_COPY = 3,
NS_FOP_FILE_DELETE = 4,
NS_FOP_FILE_EXECUTE = 5,
NS_FOP_FILE_MOVE = 6,
NS_FOP_FILE_RENAME = 7,
NS_FOP_WIN_SHORTCUT_CREATE = 8,
NS_FOP_MAC_ALIAS_CREATE = 9,
NS_FOP_UNIX_LINK_CREATE = 10,
NS_FOP_FILE_SET_STAT = 11
} nsInstallFileOpEnums;
#endif /* nsInstallFileOpEnums_h__ */

View File

@@ -0,0 +1,316 @@
/* -*- 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.
*/
#include "nspr.h"
#include "nsInstall.h"
#include "nsInstallFileOpEnums.h"
#include "nsInstallFileOpItem.h"
/* Public Methods */
nsInstallFileOpItem::nsInstallFileOpItem(nsInstall* aInstallObj,
PRInt32 aCommand,
nsFileSpec& aTarget,
PRInt32 aFlags,
PRInt32* aReturn)
:nsInstallObject(aInstallObj)
{
mIObj = aInstallObj;
mCommand = aCommand;
mFlags = aFlags;
mSrc = nsnull;
mParams = nsnull;
mTarget = new nsFileSpec(aTarget);
*aReturn = NS_OK;
}
nsInstallFileOpItem::nsInstallFileOpItem(nsInstall* aInstallObj,
PRInt32 aCommand,
nsFileSpec& aSrc,
nsFileSpec& aTarget,
PRInt32* aReturn)
:nsInstallObject(aInstallObj)
{
mIObj = aInstallObj;
mCommand = aCommand;
mFlags = 0;
mSrc = new nsFileSpec(aSrc);
mParams = nsnull;
mTarget = new nsFileSpec(aTarget);
*aReturn = NS_OK;
}
nsInstallFileOpItem::nsInstallFileOpItem(nsInstall* aInstallObj,
PRInt32 aCommand,
nsFileSpec& aTarget,
PRInt32* aReturn)
:nsInstallObject(aInstallObj)
{
mIObj = aInstallObj;
mCommand = aCommand;
mFlags = 0;
mSrc = nsnull;
mParams = nsnull;
mTarget = new nsFileSpec(aTarget);
*aReturn = NS_OK;
}
nsInstallFileOpItem::nsInstallFileOpItem(nsInstall* aInstallObj,
PRInt32 aCommand,
nsFileSpec& aTarget,
nsString& aParams,
PRInt32* aReturn)
:nsInstallObject(aInstallObj)
{
mIObj = aInstallObj;
mCommand = aCommand;
mFlags = 0;
mSrc = nsnull;
mParams = new nsString(aParams);
mTarget = new nsFileSpec(aTarget);
*aReturn = NS_OK;
}
nsInstallFileOpItem::~nsInstallFileOpItem()
{
if(mSrc)
delete mSrc;
if(mTarget)
delete mTarget;
}
PRInt32 nsInstallFileOpItem::Complete()
{
PRInt32 aReturn = NS_OK;
switch(mCommand)
{
case NS_FOP_DIR_CREATE:
NativeFileOpDirCreate(mTarget);
break;
case NS_FOP_DIR_REMOVE:
NativeFileOpDirRemove(mTarget, mFlags);
break;
case NS_FOP_DIR_RENAME:
NativeFileOpDirRename(mSrc, mTarget);
break;
case NS_FOP_FILE_COPY:
NativeFileOpFileCopy(mSrc, mTarget);
break;
case NS_FOP_FILE_DELETE:
NativeFileOpFileDelete(mTarget, mFlags);
break;
case NS_FOP_FILE_EXECUTE:
NativeFileOpFileExecute(mTarget, mParams);
break;
case NS_FOP_FILE_MOVE:
NativeFileOpFileMove(mSrc, mTarget);
break;
case NS_FOP_FILE_RENAME:
NativeFileOpFileRename(mSrc, mTarget);
break;
case NS_FOP_WIN_SHORTCUT_CREATE:
NativeFileOpWinShortcutCreate();
break;
case NS_FOP_MAC_ALIAS_CREATE:
NativeFileOpMacAliasCreate();
break;
case NS_FOP_UNIX_LINK_CREATE:
NativeFileOpUnixLinkCreate();
break;
}
return aReturn;
}
float nsInstallFileOpItem::GetInstallOrder()
{
return 3;
}
char* nsInstallFileOpItem::toString()
{
nsString result;
char* resultCString;
switch(mCommand)
{
case NS_FOP_FILE_COPY:
result = "Copy file: ";
result.Append(mSrc->GetNativePathCString());
result.Append(" to ");
result.Append(mTarget->GetNativePathCString());
resultCString = result.ToNewCString();
break;
case NS_FOP_FILE_DELETE:
result = "Delete file: ";
result.Append(mTarget->GetNativePathCString());
resultCString = result.ToNewCString();
break;
case NS_FOP_FILE_MOVE:
result = "Move file: ";
result.Append(mSrc->GetNativePathCString());
result.Append(" to ");
result.Append(mTarget->GetNativePathCString());
resultCString = result.ToNewCString();
break;
case NS_FOP_FILE_RENAME:
result = "Rename file: ";
result.Append(mTarget->GetNativePathCString());
resultCString = result.ToNewCString();
break;
case NS_FOP_DIR_CREATE:
result = "Create Folder: ";
result.Append(mTarget->GetNativePathCString());
resultCString = result.ToNewCString();
break;
case NS_FOP_DIR_REMOVE:
result = "Remove Folder: ";
result.Append(mTarget->GetNativePathCString());
resultCString = result.ToNewCString();
break;
case NS_FOP_WIN_SHORTCUT_CREATE:
break;
case NS_FOP_MAC_ALIAS_CREATE:
break;
case NS_FOP_UNIX_LINK_CREATE:
break;
case NS_FOP_FILE_SET_STAT:
result = "Set file stat: ";
result.Append(mTarget->GetNativePathCString());
resultCString = result.ToNewCString();
break;
default:
result = "Unkown file operation command!";
resultCString = result.ToNewCString();
break;
}
return resultCString;
}
PRInt32 nsInstallFileOpItem::Prepare()
{
return NULL;
}
void nsInstallFileOpItem::Abort()
{
}
/* Private Methods */
/* CanUninstall
* InstallFileOpItem() does not install any files which can be uninstalled,
* hence this function returns false.
*/
PRBool
nsInstallFileOpItem::CanUninstall()
{
return FALSE;
}
/* RegisterPackageNode
* InstallFileOpItem() does notinstall files which need to be registered,
* hence this function returns false.
*/
PRBool
nsInstallFileOpItem::RegisterPackageNode()
{
return FALSE;
}
//
// File operation functions begin here
//
PRInt32
nsInstallFileOpItem::NativeFileOpDirCreate(nsFileSpec* aTarget)
{
aTarget->CreateDirectory();
return NS_OK;
}
PRInt32
nsInstallFileOpItem::NativeFileOpDirRemove(nsFileSpec* aTarget, PRInt32 aFlags)
{
aTarget->Delete(aFlags);
return NS_OK;
}
PRInt32
nsInstallFileOpItem::NativeFileOpDirRename(nsFileSpec* aSrc, nsFileSpec* aTarget)
{
aSrc->Rename(*aTarget);
return NS_OK;
}
PRInt32
nsInstallFileOpItem::NativeFileOpFileCopy(nsFileSpec* aSrc, nsFileSpec* aTarget)
{
aSrc->Copy(*aTarget);
return NS_OK;
}
PRInt32
nsInstallFileOpItem::NativeFileOpFileDelete(nsFileSpec* aTarget, PRInt32 aFlags)
{
aTarget->Delete(aFlags);
return NS_OK;
}
PRInt32
nsInstallFileOpItem::NativeFileOpFileExecute(nsFileSpec* aTarget, nsString* aParams)
{
aTarget->Execute(*aParams);
return NS_OK;
}
PRInt32
nsInstallFileOpItem::NativeFileOpFileMove(nsFileSpec* aSrc, nsFileSpec* aTarget)
{
aSrc->Move(*aTarget);
return NS_OK;
}
PRInt32
nsInstallFileOpItem::NativeFileOpFileRename(nsFileSpec* aSrc, nsFileSpec* aTarget)
{
aSrc->Rename(*aTarget);
return NS_OK;
}
PRInt32
nsInstallFileOpItem::NativeFileOpWinShortcutCreate()
{
return NS_OK;
}
PRInt32
nsInstallFileOpItem::NativeFileOpMacAliasCreate()
{
return NS_OK;
}
PRInt32
nsInstallFileOpItem::NativeFileOpUnixLinkCreate()
{
return NS_OK;
}

View File

@@ -0,0 +1,111 @@
/* -*- 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 nsInstallFileOpItem_h__
#define nsInstallFileOpItem_h__
#include "prtypes.h"
#include "nsFileSpec.h"
#include "nsSoftwareUpdate.h"
#include "nsInstallObject.h"
#include "nsInstall.h"
class nsInstallFileOpItem : public nsInstallObject
{
public:
/* Public Fields */
/* Public Methods */
// used by:
// FileOpFileDelete()
nsInstallFileOpItem(nsInstall* installObj,
PRInt32 aCommand,
nsFileSpec& aTarget,
PRInt32 aFlags,
PRInt32* aReturn);
// used by:
// FileOpDirRemove()
// FileOpDirRename()
// FileOpFileCopy()
// FileOpFileMove()
// FileOpFileRename()
nsInstallFileOpItem(nsInstall* installObj,
PRInt32 aCommand,
nsFileSpec& aSrc,
nsFileSpec& aTarget,
PRInt32* aReturn);
// used by:
// FileOpDirCreate()
nsInstallFileOpItem(nsInstall* aInstallObj,
PRInt32 aCommand,
nsFileSpec& aTarget,
PRInt32* aReturn);
// used by:
// FileOpFileExecute()
nsInstallFileOpItem(nsInstall* aInstallObj,
PRInt32 aCommand,
nsFileSpec& aTarget,
nsString& aParams,
PRInt32* aReturn);
~nsInstallFileOpItem();
PRInt32 Prepare(void);
PRInt32 Complete();
char* toString();
void Abort();
float GetInstallOrder();
/* should these be protected? */
PRBool CanUninstall();
PRBool RegisterPackageNode();
private:
/* Private Fields */
nsInstall* mIObj; // initiating Install object
nsFileSpec* mSrc;
nsFileSpec* mTarget;
nsString* mParams;
long mFStat;
PRInt32 mFlags;
PRInt32 mCommand;
/* Private Methods */
PRInt32 NativeFileOpDirCreate(nsFileSpec* aTarget);
PRInt32 NativeFileOpDirRemove(nsFileSpec* aTarget, PRInt32 aFlags);
PRInt32 NativeFileOpDirRename(nsFileSpec* aSrc, nsFileSpec* aTarget);
PRInt32 NativeFileOpFileCopy(nsFileSpec* aSrc, nsFileSpec* aTarget);
PRInt32 NativeFileOpFileDelete(nsFileSpec* aTarget, PRInt32 aFlags);
PRInt32 NativeFileOpFileExecute(nsFileSpec* aTarget, nsString* aParams);
PRInt32 NativeFileOpFileMove(nsFileSpec* aSrc, nsFileSpec* aTarget);
PRInt32 NativeFileOpFileRename(nsFileSpec* aSrc, nsFileSpec* aTarget);
PRInt32 NativeFileOpWinShortcutCreate();
PRInt32 NativeFileOpMacAliasCreate();
PRInt32 NativeFileOpUnixLinkCreate();
};
#endif /* nsInstallFileOpItem_h__ */

View File

@@ -0,0 +1,336 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#include "nsInstall.h"
#include "nsInstallFolder.h"
#include "nscore.h"
#include "prtypes.h"
#include "nsRepository.h"
#include "nsString.h"
#include "nsFileSpec.h"
#include "nsSpecialSystemDirectory.h"
#include "nsFileLocations.h"
#include "nsIFileLocator.h"
struct DirectoryTable
{
char * directoryName; /* The formal directory name */
PRInt32 folderEnum; /* Directory ID */
};
struct DirectoryTable DirectoryTable[] =
{
{"Plugins", 100 },
{"Program", 101 },
{"Communicator", 102 },
{"User Pick", 103 },
{"Temporary", 104 },
{"Installed", 105 },
{"Current User", 106 },
{"Preferences", 107 },
{"OS Drive", 108 },
{"file:///", 109 },
{"Components", 110 },
{"Chrome", 111 },
{"Win System", 200 },
{"Windows", 201 },
{"Mac System", 300 },
{"Mac Desktop", 301 },
{"Mac Trash", 302 },
{"Mac Startup", 303 },
{"Mac Shutdown", 304 },
{"Mac Apple Menu", 305 },
{"Mac Control Panel", 306 },
{"Mac Extension", 307 },
{"Mac Fonts", 308 },
{"Mac Preferences", 309 },
{"Mac Documents", 310 },
{"Unix Local", 400 },
{"Unix Lib", 401 },
{"", -1 }
};
nsInstallFolder::nsInstallFolder(const nsString& aFolderID)
{
mFileSpec = nsnull;
SetDirectoryPath( aFolderID, "");
}
nsInstallFolder::nsInstallFolder(const nsString& aFolderID, const nsString& aRelativePath)
{
mFileSpec = nsnull;
/*
aFolderID can be either a Folder enum in which case we merely pass it to SetDirectoryPath, or
it can be a Directory. If it is the later, it must already exist and of course be a directory
not a file.
*/
nsFileSpec dirCheck(aFolderID);
if ( (dirCheck.Error() == NS_OK) && (dirCheck.IsDirectory()) && (dirCheck.Exists()))
{
nsString tempString = aFolderID;
tempString += aRelativePath;
mFileSpec = new nsFileSpec(tempString);
// make sure that the directory is created.
nsFileSpec(mFileSpec->GetCString(), PR_TRUE);
}
else
{
SetDirectoryPath( aFolderID, aRelativePath);
}
}
nsInstallFolder::~nsInstallFolder()
{
if (mFileSpec != nsnull)
delete mFileSpec;
}
void
nsInstallFolder::GetDirectoryPath(nsString& aDirectoryPath)
{
aDirectoryPath = "";
if (mFileSpec != nsnull)
{
// We want the a NATIVE path.
aDirectoryPath.SetString(mFileSpec->GetCString());
}
}
void
nsInstallFolder::SetDirectoryPath(const nsString& aFolderID, const nsString& aRelativePath)
{
if ( aFolderID.EqualsIgnoreCase("User Pick") )
{
PickDefaultDirectory();
return;
}
else if ( aFolderID.EqualsIgnoreCase("Installed") )
{
mFileSpec = new nsFileSpec(aRelativePath, PR_TRUE); // creates the directories to the relative path.
return;
}
else
{
PRInt32 folderDirSpecID = MapNameToEnum(aFolderID);
switch (folderDirSpecID)
{
case 100: /////////////////////////////////////////////////////////// Plugins
SetAppShellDirectory(nsSpecialFileSpec::App_PluginsDirectory );
break;
case 101: /////////////////////////////////////////////////////////// Program
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::OS_CurrentProcessDirectory ));
break;
case 102: /////////////////////////////////////////////////////////// Communicator
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::OS_CurrentProcessDirectory ));
break;
case 103: /////////////////////////////////////////////////////////// User Pick
// we should never be here.
mFileSpec = nsnull;
break;
case 104: /////////////////////////////////////////////////////////// Temporary
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::OS_TemporaryDirectory ));
break;
case 105: /////////////////////////////////////////////////////////// Installed
// we should never be here.
mFileSpec = nsnull;
break;
case 106: /////////////////////////////////////////////////////////// Current User
SetAppShellDirectory(nsSpecialFileSpec::App_UserProfileDirectory50 );
break;
case 107: /////////////////////////////////////////////////////////// Preferences
SetAppShellDirectory(nsSpecialFileSpec::App_PrefsDirectory50 );
break;
case 108: /////////////////////////////////////////////////////////// OS Drive
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::OS_DriveDirectory ));
break;
case 109: /////////////////////////////////////////////////////////// File URL
{
nsString tempFileURLString = aFolderID;
tempFileURLString += aRelativePath;
mFileSpec = new nsFileSpec( nsFileURL(tempFileURLString) );
}
break;
case 110: /////////////////////////////////////////////////////////// Components
SetAppShellDirectory(nsSpecialFileSpec::App_ComponentsDirectory );
break;
case 111: /////////////////////////////////////////////////////////// Chrome
SetAppShellDirectory(nsSpecialFileSpec::App_ChromeDirectory );
break;
case 200: /////////////////////////////////////////////////////////// Win System
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Win_SystemDirectory ));
break;
case 201: /////////////////////////////////////////////////////////// Windows
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Win_WindowsDirectory ));
break;
case 300: /////////////////////////////////////////////////////////// Mac System
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_SystemDirectory ));
break;
case 301: /////////////////////////////////////////////////////////// Mac Desktop
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_DesktopDirectory ));
break;
case 302: /////////////////////////////////////////////////////////// Mac Trash
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_TrashDirectory ));
break;
case 303: /////////////////////////////////////////////////////////// Mac Startup
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_StartupDirectory ));
break;
case 304: /////////////////////////////////////////////////////////// Mac Shutdown
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_StartupDirectory ));
break;
case 305: /////////////////////////////////////////////////////////// Mac Apple Menu
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_AppleMenuDirectory ));
break;
case 306: /////////////////////////////////////////////////////////// Mac Control Panel
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_ControlPanelDirectory ));
break;
case 307: /////////////////////////////////////////////////////////// Mac Extension
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_ExtensionDirectory ));
break;
case 308: /////////////////////////////////////////////////////////// Mac Fonts
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_FontsDirectory ));
break;
case 309: /////////////////////////////////////////////////////////// Mac Preferences
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_PreferencesDirectory ));
break;
case 310: /////////////////////////////////////////////////////////// Mac Documents
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Mac_DocumentsDirectory ));
break;
case 400: /////////////////////////////////////////////////////////// Unix Local
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Unix_LocalDirectory ));
break;
case 401: /////////////////////////////////////////////////////////// Unix Lib
mFileSpec = new nsFileSpec( nsSpecialSystemDirectory( nsSpecialSystemDirectory::Unix_LibDirectory ));
break;
case -1:
default:
mFileSpec = nsnull;
return;
}
#ifndef XP_MAC
if (aRelativePath.Length() > 0)
{
nsString tempPath(aRelativePath);
if (aRelativePath.Last() != '/' || aRelativePath.Last() != '\\')
tempPath += '/';
*mFileSpec += tempPath;
}
#endif
// make sure that the directory is created.
nsFileSpec(mFileSpec->GetCString(), PR_TRUE);
}
}
void nsInstallFolder::PickDefaultDirectory()
{
//FIX: Need to put up a dialog here and set mFileSpec
return;
}
/* MapNameToEnum
* maps name from the directory table to its enum */
PRInt32
nsInstallFolder::MapNameToEnum(const nsString& name)
{
int i = 0;
if ( name == "null")
return -1;
while ( DirectoryTable[i].directoryName[0] != 0 )
{
if ( name.EqualsIgnoreCase(DirectoryTable[i].directoryName) )
return DirectoryTable[i].folderEnum;
i++;
}
return -1;
}
static NS_DEFINE_IID(kFileLocatorIID, NS_IFILELOCATOR_IID);
static NS_DEFINE_IID(kFileLocatorCID, NS_FILELOCATOR_CID);
void
nsInstallFolder::SetAppShellDirectory(PRUint32 value)
{
nsIFileLocator * appShellLocator;
nsresult rv = nsComponentManager::CreateInstance(kFileLocatorCID,
nsnull,
kFileLocatorIID,
(void**) &appShellLocator);
if ( NS_SUCCEEDED(rv) )
{
mFileSpec = new nsFileSpec();
appShellLocator->GetFileLocation(value, mFileSpec);
NS_RELEASE(appShellLocator);
}
}

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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef __NS_INSTALLFOLDER_H__
#define __NS_INSTALLFOLDER_H__
#include "nscore.h"
#include "prtypes.h"
#include "nsString.h"
#include "nsFileSpec.h"
#include "nsSpecialSystemDirectory.h"
class nsInstallFolder
{
public:
nsInstallFolder(const nsString& aFolderID);
nsInstallFolder(const nsString& aFolderID, const nsString& aRelativePath);
virtual ~nsInstallFolder();
void GetDirectoryPath(nsString& aDirectoryPath);
private:
nsFileSpec* mFileSpec;
void SetDirectoryPath(const nsString& aFolderID, const nsString& aRelativePath);
void PickDefaultDirectory();
PRInt32 MapNameToEnum(const nsString& name);
void SetAppShellDirectory(PRUint32 value);
};
#endif

View File

@@ -0,0 +1,52 @@
/* -*- 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 nsInstallObject_h__
#define nsInstallObject_h__
#include "prtypes.h"
class nsInstall;
class nsInstallObject
{
public:
/* Public Methods */
nsInstallObject(nsInstall* inInstall) {mInstall = inInstall; }
/* Override with your set-up action */
virtual PRInt32 Prepare() = 0;
/* Override with your Completion action */
virtual PRInt32 Complete() = 0;
/* Override with an explanatory string for the progress dialog */
virtual char* toString() = 0;
/* Override with your clean-up function */
virtual void Abort() = 0;
/* should these be protected? */
virtual PRBool CanUninstall() = 0;
virtual PRBool RegisterPackageNode() = 0;
protected:
nsInstall* mInstall;
};
#endif /* nsInstallObject_h__ */

View File

@@ -0,0 +1,986 @@
/* -*- 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.
*/
#include "nsFileSpec.h"
#include "prmem.h"
#include "nsInstall.h"
#include "nsInstallPatch.h"
#include "nsInstallResources.h"
#include "nsIDOMInstallVersion.h"
#include "zlib.h"
#include "gdiff.h"
#include "VerReg.h"
#include "ScheduledTasks.h"
#include "plstr.h"
#include "xp_file.h" /* for XP_PlatformFileToURL */
#ifdef XP_MAC
#include "PatchableAppleSingle.h"
#endif
#define BUFSIZE 32768
#define OPSIZE 1
#define MAXCMDSIZE 12
#define SRCFILE 0
#define OUTFILE 1
#define getshort(s) (uint16)( ((uchar)*(s) << 8) + ((uchar)*((s)+1)) )
#define getlong(s) \
(uint32)( ((uchar)*(s) << 24) + ((uchar)*((s)+1) << 16 ) + \
((uchar)*((s)+2) << 8) + ((uchar)*((s)+3)) )
static int32 gdiff_parseHeader( pDIFFDATA dd );
static int32 gdiff_validateFile( pDIFFDATA dd, int file );
static int32 gdiff_valCRC32( pDIFFDATA dd, PRFileDesc* fh, uint32 chksum );
static int32 gdiff_ApplyPatch( pDIFFDATA dd );
static int32 gdiff_getdiff( pDIFFDATA dd, uchar *buffer, uint32 length );
static int32 gdiff_add( pDIFFDATA dd, uint32 count );
static int32 gdiff_copy( pDIFFDATA dd, uint32 position, uint32 count );
static int32 gdiff_validateFile( pDIFFDATA dd, int file );
nsInstallPatch::nsInstallPatch( nsInstall* inInstall,
const nsString& inVRName,
const nsString& inVInfo,
const nsString& inJarLocation,
PRInt32 *error)
: nsInstallObject(inInstall)
{
char tempTargetFile[MAXREGPATHLEN];
char* tempVersionString = inVRName.ToNewCString();
PRInt32 err = VR_GetPath(tempVersionString, MAXREGPATHLEN, tempTargetFile );
delete [] tempVersionString;
if (err != REGERR_OK)
{
*error = nsInstall::NO_SUCH_COMPONENT;
return;
}
nsString folderSpec(tempTargetFile);
mPatchFile = nsnull;
mTargetFile = nsnull;
mPatchedFile = nsnull;
mRegistryName = new nsString(inVRName);
mJarLocation = new nsString(inJarLocation);
mTargetFile = new nsFileSpec(folderSpec);
mVersionInfo = new nsInstallVersion();
mVersionInfo->Init(inVInfo);
}
nsInstallPatch::nsInstallPatch( nsInstall* inInstall,
const nsString& inVRName,
const nsString& inVInfo,
const nsString& inJarLocation,
const nsString& folderSpec,
const nsString& inPartialPath,
PRInt32 *error)
: nsInstallObject(inInstall)
{
if ((inInstall == nsnull) || (inVRName == "null") || (inJarLocation == "null"))
{
*error = nsInstall::INVALID_ARGUMENTS;
return;
}
mPatchFile = nsnull;
mTargetFile = nsnull;
mPatchedFile = nsnull;
mRegistryName = new nsString(inVRName);
mJarLocation = new nsString(inJarLocation);
mVersionInfo = new nsInstallVersion();
mVersionInfo->Init(inVInfo);
mTargetFile = new nsFileSpec(folderSpec);
if(inPartialPath != "null")
*mTargetFile += inPartialPath;
}
nsInstallPatch::~nsInstallPatch()
{
if (mVersionInfo)
delete mVersionInfo;
if (mTargetFile)
delete mTargetFile;
if (mJarLocation)
delete mJarLocation;
if (mRegistryName)
delete mRegistryName;
if (mPatchedFile)
delete mPatchedFile;
if (mPatchFile)
delete mPatchFile;
}
PRInt32 nsInstallPatch::Prepare()
{
PRInt32 err;
PRBool deleteOldSrc;
if (mTargetFile == nsnull)
return nsInstall::INVALID_ARGUMENTS;
if (mTargetFile->Exists())
{
if (mTargetFile->IsFile())
{
err = nsInstall::SUCCESS;
}
else
{
err = nsInstall::FILE_IS_DIRECTORY;
}
}
else
{
err = nsInstall::FILE_DOES_NOT_EXIST;
}
if (err != nsInstall::SUCCESS)
{
return err;
}
err = mInstall->ExtractFileFromJar(*mJarLocation, mTargetFile, &mPatchFile);
nsFileSpec *fileName = nsnull;
nsVoidKey ikey( HashFilePath( nsFilePath(*mTargetFile) ) );
mInstall->GetPatch(&ikey, fileName);
if (fileName != nsnull)
{
deleteOldSrc = PR_TRUE;
}
else
{
fileName = mTargetFile;
deleteOldSrc = PR_FALSE;
}
err = NativePatch( *fileName, // the file to patch
*mPatchFile, // the patch that was extracted from the jarfile
&mPatchedFile); // the new patched file
if (err != nsInstall::SUCCESS)
{
return err;
}
PR_ASSERT(mPatchedFile != nsnull);
mInstall->AddPatch(&ikey, mPatchedFile );
if ( deleteOldSrc )
{
DeleteFileNowOrSchedule(*fileName );
}
return err;
}
PRInt32 nsInstallPatch::Complete()
{
if ((mInstall == nsnull) || (mVersionInfo == nsnull) || (mPatchedFile == nsnull) || (mTargetFile == nsnull))
{
return nsInstall::INVALID_ARGUMENTS;
}
PRInt32 err = nsInstall::SUCCESS;
nsFileSpec *fileName = nsnull;
nsVoidKey ikey( HashFilePath( nsFilePath(*mTargetFile) ) );
mInstall->GetPatch(&ikey, fileName);
if (fileName != nsnull && (*fileName == *mPatchedFile) )
{
// the patch has not been superceded--do final replacement
err = ReplaceFileNowOrSchedule( *mTargetFile, *mPatchedFile);
if ( 0 == err || nsInstall::REBOOT_NEEDED == err )
{
nsString tempVersionString;
mVersionInfo->ToString(tempVersionString);
char* tempRegName = mRegistryName->ToNewCString();
char* tempVersion = tempVersionString.ToNewCString();
err = VR_Install( tempRegName,
(char*) (const char *) nsNSPRPath(*mTargetFile),
tempVersion,
PR_FALSE );
delete [] tempRegName;
delete [] tempVersion;
}
else
{
err = nsInstall::UNEXPECTED_ERROR;
}
}
else
{
// nothing -- old intermediate patched file was
// deleted by a superceding patch
}
return err;
}
void nsInstallPatch::Abort()
{
nsFileSpec *fileName = nsnull;
nsVoidKey ikey( HashFilePath( nsFilePath(*mTargetFile) ) );
mInstall->GetPatch(&ikey, fileName);
if (fileName != nsnull && (*fileName == *mPatchedFile) )
{
DeleteFileNowOrSchedule( *mPatchedFile );
}
}
char* nsInstallPatch::toString()
{
char* buffer = new char[1024];
// FIX! sprintf( buffer, nsInstallResources::GetPatchFileString(), mPatchedFile->GetCString());
return buffer;
}
PRBool
nsInstallPatch::CanUninstall()
{
return PR_FALSE;
}
PRBool
nsInstallPatch::RegisterPackageNode()
{
return PR_FALSE;
}
PRInt32
nsInstallPatch::NativePatch(const nsFileSpec &sourceFile, const nsFileSpec &patchFile, nsFileSpec **newFile)
{
DIFFDATA *dd;
PRInt32 status = GDIFF_ERR_MEM;
char *tmpurl = NULL;
char *realfile = PL_strdup(nsNSPRPath(sourceFile)); // needs to be sourceFile!!!
nsFileSpec outFileSpec = sourceFile;
dd = (DIFFDATA *)PR_Calloc( 1, sizeof(DIFFDATA));
if (dd != NULL)
{
dd->databuf = (uchar*)PR_Malloc(BUFSIZE);
if (dd->databuf == NULL)
{
status = GDIFF_ERR_MEM;
goto cleanup;
}
dd->bufsize = BUFSIZE;
// validate patch header & check for special instructions
dd->fDiff = PR_Open (nsNSPRPath(patchFile), PR_RDONLY, 0666);
if (dd->fDiff != NULL)
{
status = gdiff_parseHeader(dd);
} else {
status = GDIFF_ERR_ACCESS;
}
#ifdef dono
#ifdef WIN32
/* unbind Win32 images */
if ( dd->bWin32BoundImage && status == GDIFF_OK ) {
tmpurl = WH_TempName( xpURL, NULL );
if ( tmpurl != NULL ) {
if (su_unbind( srcfile, srctype, tmpurl, xpURL ))
{
PL_strfree(realfile);
realfile = tmpurl;
realtype = xpURL;
}
}
else
status = GDIFF_ERR_MEM;
}
#endif
#endif
#ifdef XP_MAC
if ( dd->bMacAppleSingle && status == GDIFF_OK )
{
// create a tmp file, so that we can AppleSingle the src file
nsSpecialSystemDirectory tempMacFile(nsSpecialSystemDirectory::OS_TemporaryDirectory);
nsString srcName = sourceFile.GetLeafName();
tempMacFile.SetLeafName(srcName);
tempMacFile.MakeUnique();
// Encode!
// Encode src file, and put into temp file
FSSpec sourceSpec = sourceFile.GetFSSpec();
FSSpec tempSpec = tempMacFile.GetFSSpec();
status = PAS_EncodeFile(&sourceSpec, &tempSpec);
if (status == noErr)
{
// set
PL_strfree(realfile);
realfile = PL_strdup(nsNSPRPath(tempMacFile));
}
}
#endif
if (status != NS_OK)
goto cleanup;
// make a unique file at the same location of our source file (FILENAME-ptch.EXT)
nsString patchFileName = "-ptch";
nsString newFileName = sourceFile.GetLeafName();
PRInt32 index;
if ((index = newFileName.RFind(".")) > 0)
{
nsString extention;
nsString fileName;
newFileName.Right(extention, (newFileName.Length() - index) );
newFileName.Left(fileName, (newFileName.Length() - (newFileName.Length() - index)));
newFileName = fileName + patchFileName + extention;
} else {
newFileName += patchFileName;
}
outFileSpec.SetLeafName(newFileName); //????
outFileSpec.MakeUnique();
char *outFile = PL_strdup(nsNSPRPath(outFileSpec));
// apply patch to the source file
dd->fSrc = PR_Open ( realfile, PR_RDONLY, 0666);
dd->fOut = PR_Open ( outFile, PR_RDWR|PR_CREATE_FILE|PR_TRUNCATE, 0666);
if (dd->fSrc != NULL && dd->fOut != NULL)
{
status = gdiff_validateFile (dd, SRCFILE);
// specify why diff failed
if (status == GDIFF_ERR_CHECKSUM)
status = GDIFF_ERR_CHECKSUM_TARGET;
if (status == GDIFF_OK)
status = gdiff_ApplyPatch(dd);
if (status == GDIFF_OK)
status = gdiff_validateFile (dd, OUTFILE);
if (status == GDIFF_ERR_CHECKSUM)
status = GDIFF_ERR_CHECKSUM_RESULT;
if (status == GDIFF_OK)
{
*newFile = &outFileSpec;
if ( outFile != nsnull)
PL_strfree( outFile );
}
} else {
status = GDIFF_ERR_ACCESS;
}
}
#ifdef XP_MAC
if ( dd->bMacAppleSingle && status == GDIFF_OK )
{
// create another file, so that we can decode somewhere
nsFileSpec anotherName = outFileSpec;
anotherName.MakeUnique();
// Close the out file so that we can read it
PR_Close( dd->fOut );
dd->fOut = NULL;
FSSpec outSpec = outFileSpec.GetFSSpec();
FSSpec anotherSpec = anotherName.GetFSSpec();
status = PAS_DecodeFile(&outSpec, &anotherSpec);
if (status != noErr)
{
goto cleanup;
}
nsFileSpec parent;
outFileSpec.GetParent(parent);
outFileSpec.Delete(PR_FALSE);
anotherName.Copy(parent);
*newFile = &anotherName;
}
#endif
cleanup:
if ( dd != NULL )
{
if ( dd->fSrc != nsnull )
PR_Close( dd->fSrc );
if ( dd->fDiff != nsnull )
PR_Close( dd->fDiff );
if ( dd->fOut != nsnull )
{
PR_Close( dd->fOut );
}
if ( status != GDIFF_OK )
//XP_FileRemove( outfile, outtype );
newFile = NULL;
PR_FREEIF( dd->databuf );
PR_FREEIF( dd->oldChecksum );
PR_FREEIF( dd->newChecksum );
PR_DELETE(dd);
}
if ( tmpurl != NULL ) {
//XP_FileRemove( tmpurl, xpURL );
tmpurl = NULL;
PR_DELETE( tmpurl );
}
/* lets map any GDIFF error to nice SU errors */
switch (status)
{
case GDIFF_OK:
break;
case GDIFF_ERR_HEADER:
case GDIFF_ERR_BADDIFF:
case GDIFF_ERR_OPCODE:
case GDIFF_ERR_CHKSUMTYPE:
status = nsInstall::PATCH_BAD_DIFF;
break;
case GDIFF_ERR_CHECKSUM_TARGET:
status = nsInstall::PATCH_BAD_CHECKSUM_TARGET;
break;
case GDIFF_ERR_CHECKSUM_RESULT:
status = nsInstall::PATCH_BAD_CHECKSUM_RESULT;
break;
case GDIFF_ERR_OLDFILE:
case GDIFF_ERR_ACCESS:
case GDIFF_ERR_MEM:
case GDIFF_ERR_UNKNOWN:
default:
status = nsInstall::UNEXPECTED_ERROR;
break;
}
return status;
// return -1; //old return value
}
void*
nsInstallPatch::HashFilePath(const nsFilePath& aPath)
{
PRUint32 rv = 0;
char* cPath = PL_strdup(nsNSPRPath(aPath));
if(cPath != nsnull)
{
char ch;
char* filePath = PL_strdup(cPath);
PRUint32 cnt=0;
while ((ch = *filePath++) != 0)
{
// FYI: rv = rv*37 + ch
rv = ((rv << 5) + (rv << 2) + rv) + ch;
cnt++;
}
for (PRUint32 i=0; i<=cnt; i++)
*filePath--;
PL_strfree(filePath);
}
PL_strfree(cPath);
return (void*)rv;
}
/*---------------------------------------------------------
* gdiff_parseHeader()
*
* reads and validates the GDIFF header info
*---------------------------------------------------------
*/
static
int32 gdiff_parseHeader( pDIFFDATA dd )
{
int32 err = GDIFF_OK;
uint8 cslen;
uint8 oldcslen;
uint8 newcslen;
uint32 nRead;
uchar header[GDIFF_HEADERSIZE];
/* Read the fixed-size part of the header */
nRead = PR_Read (dd->fDiff, header, GDIFF_HEADERSIZE);
if ( nRead != GDIFF_HEADERSIZE ||
memcmp( header, GDIFF_MAGIC, GDIFF_MAGIC_LEN ) != 0 ||
header[GDIFF_VER_POS] != GDIFF_VER )
{
err = GDIFF_ERR_HEADER;
}
else
{
/* get the checksum information */
dd->checksumType = header[GDIFF_CS_POS];
cslen = header[GDIFF_CSLEN_POS];
if ( cslen > 0 )
{
oldcslen = cslen / 2;
newcslen = cslen - oldcslen;
PR_ASSERT( newcslen == oldcslen );
dd->checksumLength = oldcslen;
dd->oldChecksum = (uchar*)PR_MALLOC(oldcslen);
dd->newChecksum = (uchar*)PR_MALLOC(newcslen);
if ( dd->oldChecksum != NULL && dd->newChecksum != NULL )
{
nRead = PR_Read (dd->fDiff, dd->oldChecksum, oldcslen);
if ( nRead == oldcslen )
{
nRead = PR_Read (dd->fDiff, dd->newChecksum, newcslen);
if ( nRead != newcslen ) {
err = GDIFF_ERR_HEADER;
}
}
else {
err = GDIFF_ERR_HEADER;
}
}
else {
err = GDIFF_ERR_MEM;
}
}
/* get application data, if any */
if ( err == GDIFF_OK )
{
uint32 appdataSize;
uchar *buf;
uchar lenbuf[GDIFF_APPDATALEN];
nRead = PR_Read(dd->fDiff, lenbuf, GDIFF_APPDATALEN);
if ( nRead == GDIFF_APPDATALEN )
{
appdataSize = getlong(lenbuf);
if ( appdataSize > 0 )
{
buf = (uchar *)PR_MALLOC( appdataSize );
if ( buf != NULL )
{
nRead = PR_Read (dd->fDiff, buf, appdataSize);
if ( nRead == appdataSize )
{
if ( 0 == memcmp( buf, APPFLAG_W32BOUND, appdataSize ) )
dd->bWin32BoundImage = TRUE;
if ( 0 == memcmp( buf, APPFLAG_APPLESINGLE, appdataSize ) )
dd->bMacAppleSingle = TRUE;
}
else {
err = GDIFF_ERR_HEADER;
}
PR_DELETE( buf );
}
else {
err = GDIFF_ERR_MEM;
}
}
}
else {
err = GDIFF_ERR_HEADER;
}
}
}
return (err);
}
/*---------------------------------------------------------
* gdiff_validateFile()
*
* computes the checksum of the file and compares it to
* the value stored in the GDIFF header
*---------------------------------------------------------
*/
static
int32 gdiff_validateFile( pDIFFDATA dd, int file )
{
int32 result;
PRFileDesc* fh;
uchar* chksum;
/* which file are we dealing with? */
if ( file == SRCFILE ) {
fh = dd->fSrc;
chksum = dd->oldChecksum;
}
else { /* OUTFILE */
fh = dd->fOut;
chksum = dd->newChecksum;
}
/* make sure file's at beginning */
PR_Seek( fh, 0, PR_SEEK_SET );
/* calculate appropriate checksum */
switch (dd->checksumType)
{
case GDIFF_CS_NONE:
result = GDIFF_OK;
break;
case GDIFF_CS_CRC32:
if ( dd->checksumLength == CRC32_LEN )
result = gdiff_valCRC32( dd, fh, getlong(chksum) );
else
result = GDIFF_ERR_HEADER;
break;
case GDIFF_CS_MD5:
case GDIFF_CS_SHA:
default:
/* unsupported checksum type */
result = GDIFF_ERR_CHKSUMTYPE;
break;
}
/* reset file position to beginning and return status */
PR_Seek( fh, 0, PR_SEEK_SET );
return (result);
}
/*---------------------------------------------------------
* gdiff_valCRC32()
*
* computes the checksum of the file and compares it to
* the passed in checksum. Assumes file is positioned at
* beginning.
*---------------------------------------------------------
*/
static
int32 gdiff_valCRC32( pDIFFDATA dd, PRFileDesc* fh, uint32 chksum )
{
uint32 crc;
uint32 nRead;
crc = crc32(0L, Z_NULL, 0);
nRead = PR_Read (fh, dd->databuf, dd->bufsize);
while ( nRead > 0 )
{
crc = crc32( crc, dd->databuf, nRead );
nRead = PR_Read (fh, dd->databuf, dd->bufsize);
}
if ( crc == chksum )
return GDIFF_OK;
else
return GDIFF_ERR_CHECKSUM;
}
/*---------------------------------------------------------
* gdiff_ApplyPatch()
*
* Combines patch data with source file to produce the
* new target file. Assumes all three files have been
* opened, GDIFF header read, and all other setup complete
*
* The GDIFF patch is processed sequentially which random
* access is neccessary for the source file.
*---------------------------------------------------------
*/
static
int32 gdiff_ApplyPatch( pDIFFDATA dd )
{
int32 err;
XP_Bool done;
uint32 position;
uint32 count;
uchar opcode;
uchar cmdbuf[MAXCMDSIZE];
done = FALSE;
while ( !done ) {
err = gdiff_getdiff( dd, &opcode, OPSIZE );
if ( err != GDIFF_OK )
break;
switch (opcode)
{
case ENDDIFF:
done = TRUE;
break;
case ADD16:
err = gdiff_getdiff( dd, cmdbuf, ADD16SIZE );
if ( err == GDIFF_OK ) {
err = gdiff_add( dd, getshort( cmdbuf ) );
}
break;
case ADD32:
err = gdiff_getdiff( dd, cmdbuf, ADD32SIZE );
if ( err == GDIFF_OK ) {
err = gdiff_add( dd, getlong( cmdbuf ) );
}
break;
case COPY16BYTE:
err = gdiff_getdiff( dd, cmdbuf, COPY16BYTESIZE );
if ( err == GDIFF_OK ) {
position = getshort( cmdbuf );
count = *(cmdbuf + sizeof(short));
err = gdiff_copy( dd, position, count );
}
break;
case COPY16SHORT:
err = gdiff_getdiff( dd, cmdbuf, COPY16SHORTSIZE );
if ( err == GDIFF_OK ) {
position = getshort( cmdbuf );
count = getshort(cmdbuf + sizeof(short));
err = gdiff_copy( dd, position, count );
}
break;
case COPY16LONG:
err = gdiff_getdiff( dd, cmdbuf, COPY16LONGSIZE );
if ( err == GDIFF_OK ) {
position = getshort( cmdbuf );
count = getlong(cmdbuf + sizeof(short));
err = gdiff_copy( dd, position, count );
}
break;
case COPY32BYTE:
err = gdiff_getdiff( dd, cmdbuf, COPY32BYTESIZE );
if ( err == GDIFF_OK ) {
position = getlong( cmdbuf );
count = *(cmdbuf + sizeof(long));
err = gdiff_copy( dd, position, count );
}
break;
case COPY32SHORT:
err = gdiff_getdiff( dd, cmdbuf, COPY32SHORTSIZE );
if ( err == GDIFF_OK ) {
position = getlong( cmdbuf );
count = getshort(cmdbuf + sizeof(long));
err = gdiff_copy( dd, position, count );
}
break;
case COPY32LONG:
err = gdiff_getdiff( dd, cmdbuf, COPY32LONGSIZE );
if ( err == GDIFF_OK ) {
position = getlong( cmdbuf );
count = getlong(cmdbuf + sizeof(long));
err = gdiff_copy( dd, position, count );
}
break;
case COPY64:
/* we don't support 64-bit file positioning yet */
err = GDIFF_ERR_OPCODE;
break;
default:
err = gdiff_add( dd, opcode );
break;
}
if ( err != GDIFF_OK )
done = TRUE;
}
/* return status */
return (err);
}
/*---------------------------------------------------------
* gdiff_getdiff()
*
* reads the next "length" bytes of the diff into "buffer"
*
* XXX: need a diff buffer to optimize reads!
*---------------------------------------------------------
*/
static
int32 gdiff_getdiff( pDIFFDATA dd, uchar *buffer, uint32 length )
{
uint32 bytesRead;
bytesRead = PR_Read (dd->fDiff, buffer, length);
if ( bytesRead != length )
return GDIFF_ERR_BADDIFF;
return GDIFF_OK;
}
/*---------------------------------------------------------
* gdiff_add()
*
* append "count" bytes from diff file to new file
*---------------------------------------------------------
*/
static
int32 gdiff_add( pDIFFDATA dd, uint32 count )
{
int32 err = GDIFF_OK;
uint32 nRead;
uint32 chunksize;
while ( count > 0 ) {
chunksize = ( count > dd->bufsize) ? dd->bufsize : count;
nRead = PR_Read (dd->fDiff, dd->databuf, chunksize);
if ( nRead != chunksize ) {
err = GDIFF_ERR_BADDIFF;
break;
}
PR_Write (dd->fOut, dd->databuf, chunksize);
count -= chunksize;
}
return (err);
}
/*---------------------------------------------------------
* gdiff_copy()
*
* copy "count" bytes from "position" in source file
*---------------------------------------------------------
*/
static
int32 gdiff_copy( pDIFFDATA dd, uint32 position, uint32 count )
{
int32 err = GDIFF_OK;
uint32 nRead;
uint32 chunksize;
PR_Seek (dd->fSrc, position, PR_SEEK_SET);
while ( count > 0 ) {
chunksize = (count > dd->bufsize) ? dd->bufsize : count;
nRead = PR_Read (dd->fSrc, dd->databuf, chunksize);
if ( nRead != chunksize ) {
err = GDIFF_ERR_OLDFILE;
break;
}
PR_Write (dd->fOut, dd->databuf, chunksize);
count -= chunksize;
}
return (err);
}

View File

@@ -0,0 +1,79 @@
/* -*- 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 nsInstallPatch_h__
#define nsInstallPatch_h__
#include "prtypes.h"
#include "nsString.h"
#include "nsInstallObject.h"
#include "nsInstall.h"
#include "nsInstallFolder.h"
#include "nsInstallVersion.h"
class nsInstallPatch : public nsInstallObject
{
public:
nsInstallPatch( nsInstall* inInstall,
const nsString& inVRName,
const nsString& inVInfo,
const nsString& inJarLocation,
const nsString& folderSpec,
const nsString& inPartialPath,
PRInt32 *error);
nsInstallPatch( nsInstall* inInstall,
const nsString& inVRName,
const nsString& inVInfo,
const nsString& inJarLocation,
PRInt32 *error);
virtual ~nsInstallPatch();
PRInt32 Prepare();
PRInt32 Complete();
void Abort();
char* toString();
PRBool CanUninstall();
PRBool RegisterPackageNode();
private:
nsInstallVersion *mVersionInfo;
nsFileSpec *mTargetFile;
nsFileSpec *mPatchFile;
nsFileSpec *mPatchedFile;
nsString *mJarLocation;
nsString *mRegistryName;
PRInt32 NativePatch(const nsFileSpec &sourceFile, const nsFileSpec &patchfile, nsFileSpec **newFile);
void* HashFilePath(const nsFilePath& aPath);
};
#endif /* nsInstallPatch_h__ */

View File

@@ -0,0 +1,343 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Douglas Turner <dougt@netscape.com>
*/
#include "nsIXPInstallProgress.h"
#include "nsInstallProgressDialog.h"
#include "nsIAppShellComponentImpl.h"
#include "nsIServiceManager.h"
#include "nsIDocumentViewer.h"
#include "nsIContent.h"
#include "nsINameSpaceManager.h"
#include "nsIContentViewer.h"
#include "nsIDOMElement.h"
#include "nsINetService.h"
#include "nsIWebShell.h"
#include "nsIWebShellWindow.h"
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
static NS_DEFINE_IID( kAppShellServiceCID, NS_APPSHELL_SERVICE_CID );
static NS_DEFINE_IID( kNetServiceCID, NS_NETSERVICE_CID );
// Utility to set element attribute.
static nsresult setAttribute( nsIDOMXULDocument *doc,
const char *id,
const char *name,
const nsString &value ) {
nsresult rv = NS_OK;
if ( doc ) {
// Find specified element.
nsCOMPtr<nsIDOMElement> elem;
rv = doc->GetElementById( id, getter_AddRefs( elem ) );
if ( elem ) {
// Set the text attribute.
rv = elem->SetAttribute( name, value );
if ( NS_SUCCEEDED( rv ) ) {
} else {
DEBUG_PRINTF( PR_STDOUT, "%s %d: SetAttribute failed, rv=0x%X\n",
__FILE__, (int)__LINE__, (int)rv );
}
} else {
DEBUG_PRINTF( PR_STDOUT, "%s %d: GetElementById failed, rv=0x%X\n",
__FILE__, (int)__LINE__, (int)rv );
}
} else {
rv = NS_ERROR_NULL_POINTER;
}
return rv;
}
// Utility to get element attribute.
static nsresult getAttribute( nsIDOMXULDocument *doc,
const char *id,
const char *name,
nsString &value ) {
nsresult rv = NS_OK;
if ( doc ) {
// Find specified element.
nsCOMPtr<nsIDOMElement> elem;
rv = doc->GetElementById( id, getter_AddRefs( elem ) );
if ( elem ) {
// Set the text attribute.
rv = elem->GetAttribute( name, value );
if ( NS_SUCCEEDED( rv ) ) {
} else {
DEBUG_PRINTF( PR_STDOUT, "%s %d: SetAttribute failed, rv=0x%X\n",
__FILE__, (int)__LINE__, (int)rv );
}
} else {
DEBUG_PRINTF( PR_STDOUT, "%s %d: GetElementById failed, rv=0x%X\n",
__FILE__, (int)__LINE__, (int)rv );
}
} else {
rv = NS_ERROR_NULL_POINTER;
}
return rv;
}
nsInstallProgressDialog::nsInstallProgressDialog()
{
NS_INIT_REFCNT();
mWindow = nsnull;
mDocument = nsnull;
}
nsInstallProgressDialog::~nsInstallProgressDialog()
{
}
NS_IMPL_ADDREF( nsInstallProgressDialog );
NS_IMPL_RELEASE( nsInstallProgressDialog );
NS_IMETHODIMP
nsInstallProgressDialog::QueryInterface(REFNSIID aIID,void** aInstancePtr)
{
if (aInstancePtr == NULL) {
return NS_ERROR_NULL_POINTER;
}
// Always NULL result, in case of failure
*aInstancePtr = NULL;
if (aIID.Equals(nsIXPInstallProgress::GetIID())) {
*aInstancePtr = (void*) ((nsInstallProgressDialog*)this);
NS_ADDREF_THIS();
return NS_OK;
}
if (aIID.Equals(nsIXULWindowCallbacks::GetIID())) {
*aInstancePtr = (void*) ((nsIXULWindowCallbacks*)this);
NS_ADDREF_THIS();
return NS_OK;
}
if (aIID.Equals(kISupportsIID)) {
*aInstancePtr = (void*) (nsISupports*)((nsIXPInstallProgress*)this);
NS_ADDREF_THIS();
return NS_OK;
}
return NS_ERROR_NO_INTERFACE;
}
NS_IMETHODIMP
nsInstallProgressDialog::BeforeJavascriptEvaluation()
{
nsresult rv = NS_OK;
// Get app shell service.
nsIAppShellService *appShell;
rv = nsServiceManager::GetService( kAppShellServiceCID,
nsIAppShellService::GetIID(),
(nsISupports**)&appShell );
if ( NS_SUCCEEDED( rv ) )
{
// Open "progress" dialog.
nsIURL *url;
rv = NS_NewURL( &url, "resource:/res/xpinstall/progress.xul" );
if ( NS_SUCCEEDED(rv) )
{
nsIWebShellWindow *newWindow;
rv = appShell->CreateTopLevelWindow( nsnull,
url,
PR_TRUE,
newWindow,
nsnull,
this, // callbacks??
0,
0 );
if ( NS_SUCCEEDED( rv ) )
{
mWindow = newWindow;
NS_RELEASE( newWindow );
if (mWindow != nsnull)
mWindow->Show(PR_TRUE);
}
else
{
DEBUG_PRINTF( PR_STDOUT, "Error creating progress dialog, rv=0x%X\n", (int)rv );
}
NS_RELEASE( url );
}
nsServiceManager::ReleaseService( kAppShellServiceCID, appShell );
}
else
{
DEBUG_PRINTF( PR_STDOUT, "Unable to get app shell service, rv=0x%X\n", (int)rv );
}
return NS_OK;
}
NS_IMETHODIMP
nsInstallProgressDialog::AfterJavascriptEvaluation()
{
if (mWindow)
{
mWindow->Close();
}
return NS_OK;
}
NS_IMETHODIMP
nsInstallProgressDialog::InstallStarted(const char *UIPackageName)
{
setAttribute( mDocument, "dialog.uiPackageName", "value", nsString(UIPackageName) );
return NS_OK;
}
NS_IMETHODIMP
nsInstallProgressDialog::ItemScheduled(const char *message)
{
PRInt32 maxChars = 40;
nsString theMessage(message);
PRInt32 len = theMessage.Length();
if (len > maxChars)
{
PRInt32 offset = (len/2) - ((len - maxChars)/2);
PRInt32 count = (len - maxChars);
theMessage.Cut(offset, count);
theMessage.Insert(nsString("..."), offset);
}
setAttribute( mDocument, "dialog.currentAction", "value", theMessage );
nsString aValue;
getAttribute( mDocument, "data.canceled", "value", aValue );
if (aValue.EqualsIgnoreCase("true"))
return -1;
return NS_OK;
}
NS_IMETHODIMP
nsInstallProgressDialog::InstallFinalization(const char *message, PRInt32 itemNum, PRInt32 totNum)
{
PRInt32 maxChars = 40;
nsString theMessage(message);
PRInt32 len = theMessage.Length();
if (len > maxChars)
{
PRInt32 offset = (len/2) - ((len - maxChars)/2);
PRInt32 count = (len - maxChars);
theMessage.Cut(offset, count);
theMessage.Insert(nsString("..."), offset);
}
setAttribute( mDocument, "dialog.currentAction", "value", theMessage );
nsresult rv = NS_OK;
char buf[16];
PR_snprintf( buf, sizeof buf, "%lu", totNum );
setAttribute( mDocument, "dialog.progress", "max", buf );
if (totNum != 0)
{
PR_snprintf( buf, sizeof buf, "%lu", ((totNum-itemNum)/totNum) );
}
else
{
PR_snprintf( buf, sizeof buf, "%lu", 0 );
}
setAttribute( mDocument, "dialog.progress", "value", buf );
return NS_OK;
}
NS_IMETHODIMP
nsInstallProgressDialog::InstallAborted()
{
return NS_OK;
}
// Do startup stuff from C++ side.
NS_IMETHODIMP
nsInstallProgressDialog::ConstructBeforeJavaScript(nsIWebShell *aWebShell)
{
nsresult rv = NS_OK;
// Get content viewer from the web shell.
nsCOMPtr<nsIContentViewer> contentViewer;
rv = aWebShell ? aWebShell->GetContentViewer(getter_AddRefs(contentViewer))
: NS_ERROR_NULL_POINTER;
if ( contentViewer ) {
// Up-cast to a document viewer.
nsCOMPtr<nsIDocumentViewer> docViewer( do_QueryInterface( contentViewer, &rv ) );
if ( docViewer ) {
// Get the document from the doc viewer.
nsCOMPtr<nsIDocument> document;
rv = docViewer->GetDocument(*getter_AddRefs(document));
if ( document ) {
// Upcast to XUL document.
mDocument = do_QueryInterface( document, &rv );
if ( ! mDocument )
{
DEBUG_PRINTF( PR_STDOUT, "%s %d: Upcast to nsIDOMXULDocument failed, rv=0x%X\n",
__FILE__, (int)__LINE__, (int)rv );
}
}
else
{
DEBUG_PRINTF( PR_STDOUT, "%s %d: GetDocument failed, rv=0x%X\n",
__FILE__, (int)__LINE__, (int)rv );
}
}
else
{
DEBUG_PRINTF( PR_STDOUT, "%s %d: Upcast to nsIDocumentViewer failed, rv=0x%X\n",
__FILE__, (int)__LINE__, (int)rv );
}
}
else
{
DEBUG_PRINTF( PR_STDOUT, "%s %d: GetContentViewer failed, rv=0x%X\n",
__FILE__, (int)__LINE__, (int)rv );
}
return rv;
}

View File

@@ -0,0 +1,67 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Douglas Turner <dougt@netscape.com>
*/
#ifndef __nsInstallProgressDialog_h__
#define __nsInstallProgressDialog_h__
#include "nsIXPInstallProgress.h"
#include "nsISupports.h"
#include "nsISupportsUtils.h"
#include "nsCOMPtr.h"
#include "nsIWebShell.h"
#include "nsIWebShellWindow.h"
#include "nsIXULWindowCallbacks.h"
#include "nsIDocument.h"
#include "nsIDOMXULDocument.h"
class nsInstallProgressDialog : public nsIXPInstallProgress, public nsIXULWindowCallbacks
{
public:
nsInstallProgressDialog();
virtual ~nsInstallProgressDialog();
NS_DECL_ISUPPORTS
NS_IMETHOD BeforeJavascriptEvaluation();
NS_IMETHOD AfterJavascriptEvaluation();
NS_IMETHOD InstallStarted(const char *UIPackageName);
NS_IMETHOD ItemScheduled(const char *message);
NS_IMETHOD InstallFinalization(const char *message, PRInt32 itemNum, PRInt32 totNum);
NS_IMETHOD InstallAborted();
// Declare implementations of nsIXULWindowCallbacks interface functions.
NS_IMETHOD ConstructBeforeJavaScript(nsIWebShell *aWebShell);
NS_IMETHOD ConstructAfterJavaScript(nsIWebShell *aWebShell) { return NS_OK; }
private:
nsCOMPtr<nsIDOMXULDocument> mDocument;
nsCOMPtr<nsIWebShellWindow> mWindow;
};
#endif

View File

@@ -0,0 +1,67 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#include "nsInstallResources.h"
char* nsInstallResources::GetInstallFileString(void)
{
return "Installing: %s";
}
char* nsInstallResources::GetReplaceFileString(void)
{
return "Replacing %s";
}
char* nsInstallResources::GetDeleteFileString(void)
{
return "Deleting file: %s";
}
char* nsInstallResources::GetDeleteComponentString(void)
{
return "Deleting component: %s";
}
char* nsInstallResources::GetExecuteString(void)
{
return "Executing: %s";
}
char* nsInstallResources::GetExecuteWithArgsString(void)
{
return "Executing: %s with argument: %s";
}
char* nsInstallResources::GetPatchFileString(void)
{
return "Patching: %s";
}
char* nsInstallResources::GetUninstallString(void)
{
return "Uninstalling: %s";
}

View File

@@ -0,0 +1,45 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef __NS_INSTALLRESOURCES_H__
#define __NS_INSTALLRESOURCES_H__
class nsInstallResources
{
public:
static char* GetInstallFileString(void);
static char* GetReplaceFileString(void);
static char* GetDeleteFileString(void);
static char* GetDeleteComponentString(void);
static char* GetExecuteString(void);
static char* GetExecuteWithArgsString(void);
static char* GetPatchFileString(void);
static char* GetUninstallString(void);
};
#endif

View File

@@ -0,0 +1,359 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.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.
*
* 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.
*/
#include "nsSoftwareUpdate.h"
#include "nsSoftwareUpdateStream.h"
#include "nsInstallTrigger.h"
#include "nsIDOMInstallTriggerGlobal.h"
#include "nscore.h"
#include "nsIFactory.h"
#include "nsISupports.h"
#include "nsIScriptGlobalObject.h"
#include "nsIPref.h"
#include "nsRepository.h"
#include "nsIServiceManager.h"
#include "nsSpecialSystemDirectory.h"
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
static NS_DEFINE_IID(kIScriptObjectOwnerIID, NS_ISCRIPTOBJECTOWNER_IID);
static NS_DEFINE_IID(kIInstallTrigger_IID, NS_IDOMINSTALLTRIGGERGLOBAL_IID);
static NS_DEFINE_IID(kIInstallTrigger_CID, NS_SoftwareUpdateInstallTrigger_CID);
nsInstallTrigger::nsInstallTrigger()
{
mScriptObject = nsnull;
NS_INIT_REFCNT();
}
nsInstallTrigger::~nsInstallTrigger()
{
}
NS_IMETHODIMP
nsInstallTrigger::QueryInterface(REFNSIID aIID,void** aInstancePtr)
{
if (aInstancePtr == NULL)
{
return NS_ERROR_NULL_POINTER;
}
// Always NULL result, in case of failure
*aInstancePtr = NULL;
if ( aIID.Equals(kIScriptObjectOwnerIID))
{
*aInstancePtr = (void*) ((nsIScriptObjectOwner*)this);
AddRef();
return NS_OK;
}
else if ( aIID.Equals(kIInstallTrigger_IID) )
{
*aInstancePtr = (void*) ((nsIDOMInstallTriggerGlobal*)this);
AddRef();
return NS_OK;
}
else if ( aIID.Equals(kISupportsIID) )
{
*aInstancePtr = (void*)(nsISupports*)(nsIScriptObjectOwner*)this;
AddRef();
return NS_OK;
}
return NS_NOINTERFACE;
}
NS_IMPL_ADDREF(nsInstallTrigger)
NS_IMPL_RELEASE(nsInstallTrigger)
NS_IMETHODIMP
nsInstallTrigger::GetScriptObject(nsIScriptContext *aContext, void** aScriptObject)
{
NS_PRECONDITION(nsnull != aScriptObject, "null arg");
nsresult res = NS_OK;
if (nsnull == mScriptObject)
{
nsIScriptGlobalObject *global = aContext->GetGlobalObject();
res = NS_NewScriptInstallTriggerGlobal( aContext,
(nsISupports *)(nsIDOMInstallTriggerGlobal*)this,
(nsISupports *)global,
&mScriptObject);
NS_IF_RELEASE(global);
}
*aScriptObject = mScriptObject;
return res;
}
NS_IMETHODIMP
nsInstallTrigger::SetScriptObject(void *aScriptObject)
{
mScriptObject = aScriptObject;
return NS_OK;
}
static NS_DEFINE_IID(kPrefsIID, NS_IPREF_IID);
static NS_DEFINE_IID(kPrefsCID, NS_PREF_CID);
NS_IMETHODIMP
nsInstallTrigger::UpdateEnabled(PRBool* aReturn)
{
nsIPref * prefs;
nsresult rv = nsServiceManager::GetService(kPrefsCID,
kPrefsIID,
(nsISupports**) &prefs);
if ( NS_SUCCEEDED(rv) )
{
rv = prefs->GetBoolPref( (const char*) AUTOUPDATE_ENABLE_PREF, aReturn);
if (NS_FAILED(rv))
{
*aReturn = PR_FALSE;
}
NS_RELEASE(prefs);
}
else
{
*aReturn = PR_FALSE; /* no prefs manager. set to false */
}
//FIX!!!!!!!!!!
*aReturn = PR_TRUE;
return NS_OK;
}
NS_IMETHODIMP
nsInstallTrigger::StartSoftwareUpdate(const nsString& aURL, PRInt32 aFlags, PRInt32* aReturn)
{
nsString localFile;
CreateTempFileFromURL(aURL, localFile);
// start the download (this will clean itself up)
nsSoftwareUpdateListener *downloader = new nsSoftwareUpdateListener(aURL, localFile, aFlags);
*aReturn = NS_OK; // maybe we should do something more.
return NS_OK;
}
NS_IMETHODIMP
nsInstallTrigger::StartSoftwareUpdate(const nsString& aURL, PRInt32* aReturn)
{
nsString localFile;
CreateTempFileFromURL(aURL, localFile);
// start the download (this will clean itself up)
nsSoftwareUpdateListener *downloader = new nsSoftwareUpdateListener(aURL, localFile, 0);
*aReturn = NS_OK; // maybe we should do something more.
return NS_OK;
}
NS_IMETHODIMP
nsInstallTrigger::ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, PRInt32 aDiffLevel, const nsString& aVersion, PRInt32 aMode, PRInt32* aReturn)
{
return NS_OK;
}
NS_IMETHODIMP
nsInstallTrigger::ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, PRInt32 aDiffLevel, nsIDOMInstallVersion* aVersion, PRInt32 aMode, PRInt32* aReturn)
{
return NS_OK;
}
NS_IMETHODIMP
nsInstallTrigger::ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, nsIDOMInstallVersion* aVersion, PRInt32 aMode, PRInt32* aReturn)
{
return NS_OK;
}
NS_IMETHODIMP
nsInstallTrigger::ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, const nsString& aVersion, PRInt32 aMode, PRInt32* aReturn)
{
return NS_OK;
}
NS_IMETHODIMP
nsInstallTrigger::ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, const nsString& aVersion, PRInt32* aReturn)
{
return NS_OK;
}
NS_IMETHODIMP
nsInstallTrigger::ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, nsIDOMInstallVersion* aVersion, PRInt32* aReturn)
{
return NS_OK;
}
NS_IMETHODIMP
nsInstallTrigger::CompareVersion(const nsString& aRegName, PRInt32 aMajor, PRInt32 aMinor, PRInt32 aRelease, PRInt32 aBuild, PRInt32* aReturn)
{
return NS_OK;
}
NS_IMETHODIMP
nsInstallTrigger::CompareVersion(const nsString& aRegName, const nsString& aVersion, PRInt32* aReturn)
{
return NS_OK;
}
NS_IMETHODIMP
nsInstallTrigger::CompareVersion(const nsString& aRegName, nsIDOMInstallVersion* aVersion, PRInt32* aReturn)
{
return NS_OK;
}
// this will take a nsIUrl, and create a temporary file. If it is local, we just us it.
void
nsInstallTrigger::CreateTempFileFromURL(const nsString& aURL, nsString& tempFileString)
{
// Checking to see if the url is local
if ( aURL.EqualsIgnoreCase("file://", 7) )
{
tempFileString.SetString( nsNSPRPath(nsFileURL(aURL)) );
}
else
{
nsSpecialSystemDirectory tempFile(nsSpecialSystemDirectory::OS_TemporaryDirectory);
PRInt32 result = aURL.RFind("/");
if (result != -1)
{
nsString jarName;
aURL.Right(jarName, (aURL.Length() - result) );
PRInt32 argOffset = jarName.RFind("?");
if (argOffset != -1)
{
// we need to remove ? and everything after it
jarName.Truncate(argOffset);
}
tempFile += jarName;
}
else
{
tempFile += "xpinstall.jar";
}
tempFile.MakeUnique();
tempFileString.SetString( nsNSPRPath( nsFilePath(tempFile) ) );
}
}
/////////////////////////////////////////////////////////////////////////
//
/////////////////////////////////////////////////////////////////////////
nsInstallTriggerFactory::nsInstallTriggerFactory(void)
{
NS_INIT_REFCNT();
}
nsInstallTriggerFactory::~nsInstallTriggerFactory(void)
{
NS_ASSERTION(mRefCnt == 0, "non-zero refcnt at destruction");
}
NS_IMETHODIMP
nsInstallTriggerFactory::QueryInterface(const nsIID &aIID, void **aResult)
{
if (! aResult)
return NS_ERROR_NULL_POINTER;
// Always NULL result, in case of failure
*aResult = nsnull;
if (aIID.Equals(kISupportsIID)) {
*aResult = NS_STATIC_CAST(nsISupports*, this);
AddRef();
return NS_OK;
} else if (aIID.Equals(kIFactoryIID)) {
*aResult = NS_STATIC_CAST(nsIFactory*, this);
AddRef();
return NS_OK;
}
return NS_NOINTERFACE;
}
NS_IMPL_ADDREF(nsInstallTriggerFactory);
NS_IMPL_RELEASE(nsInstallTriggerFactory);
NS_IMETHODIMP
nsInstallTriggerFactory::CreateInstance(nsISupports *aOuter, REFNSIID aIID, void **aResult)
{
if (! aResult)
return NS_ERROR_NULL_POINTER;
*aResult = nsnull;
nsresult rv;
nsInstallTrigger *inst = new nsInstallTrigger();
if (! inst)
return NS_ERROR_OUT_OF_MEMORY;
if (NS_FAILED(rv = inst->QueryInterface(aIID, aResult)))
{
// We didn't get the right interface.
NS_ERROR("didn't support the interface you wanted");
}
return rv;
}
NS_IMETHODIMP
nsInstallTriggerFactory::LockFactory(PRBool aLock)
{
// Not implemented in simplest case.
return NS_OK;
}

View File

@@ -0,0 +1,72 @@
#ifndef __NS_INSTALLTRIGGER_H__
#define __NS_INSTALLTRIGGER_H__
#include "nscore.h"
#include "nsString.h"
#include "nsIFactory.h"
#include "nsISupports.h"
#include "nsIScriptObjectOwner.h"
#include "nsIDOMInstallTriggerGlobal.h"
#include "nsSoftwareUpdate.h"
#include "prtypes.h"
#include "nsHashtable.h"
#include "nsVector.h"
class nsInstallTrigger: public nsIScriptObjectOwner, public nsIDOMInstallTriggerGlobal
{
public:
static const nsIID& IID() { static nsIID iid = NS_SoftwareUpdateInstallTrigger_CID; return iid; }
nsInstallTrigger();
~nsInstallTrigger();
NS_DECL_ISUPPORTS
NS_IMETHOD GetScriptObject(nsIScriptContext *aContext, void** aScriptObject);
NS_IMETHOD SetScriptObject(void* aScriptObject);
NS_IMETHOD UpdateEnabled(PRBool* aReturn);
NS_IMETHOD StartSoftwareUpdate(const nsString& aURL, PRInt32 aFlags, PRInt32* aReturn);
NS_IMETHOD StartSoftwareUpdate(const nsString& aURL, PRInt32* aReturn);
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, PRInt32 aDiffLevel, const nsString& aVersion, PRInt32 aMode, PRInt32* aReturn);
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, PRInt32 aDiffLevel, nsIDOMInstallVersion* aVersion, PRInt32 aMode, PRInt32* aReturn);
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, nsIDOMInstallVersion* aVersion, PRInt32 aMode, PRInt32* aReturn);
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, const nsString& aVersion, PRInt32 aMode, PRInt32* aReturn);
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, const nsString& aVersion, PRInt32* aReturn);
NS_IMETHOD ConditionalSoftwareUpdate(const nsString& aURL, const nsString& aRegName, nsIDOMInstallVersion* aVersion, PRInt32* aReturn);
NS_IMETHOD CompareVersion(const nsString& aRegName, PRInt32 aMajor, PRInt32 aMinor, PRInt32 aRelease, PRInt32 aBuild, PRInt32* aReturn);
NS_IMETHOD CompareVersion(const nsString& aRegName, const nsString& aVersion, PRInt32* aReturn);
NS_IMETHOD CompareVersion(const nsString& aRegName, nsIDOMInstallVersion* aVersion, PRInt32* aReturn);
private:
void *mScriptObject;
void CreateTempFileFromURL(const nsString& aURL, nsString& tempFileString);
};
class nsInstallTriggerFactory : public nsIFactory
{
public:
nsInstallTriggerFactory();
~nsInstallTriggerFactory();
NS_DECL_ISUPPORTS
NS_IMETHOD CreateInstance(nsISupports *aOuter,
REFNSIID aIID,
void **aResult);
NS_IMETHOD LockFactory(PRBool aLock);
};
#endif

View File

@@ -0,0 +1,196 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#include "nsInstall.h"
#include "nsInstallUninstall.h"
#include "nsInstallResources.h"
#include "VerReg.h"
#include "prmem.h"
#include "nsFileSpec.h"
#include "ScheduledTasks.h"
extern "C" NS_EXPORT PRInt32 SU_Uninstall(char *regPackageName);
REGERR su_UninstallProcessItem(char *component_path);
nsInstallUninstall::nsInstallUninstall( nsInstall* inInstall,
const nsString& regName,
PRInt32 *error)
: nsInstallObject(inInstall)
{
if (regName == "null")
{
*error = nsInstall::INVALID_ARGUMENTS;
return;
}
mRegName.SetString(regName);
char* userName = (char*)PR_Malloc(MAXREGPATHLEN);
PRInt32 err = VR_GetUninstallUserName( (char*) (const char*) nsAutoCString(regName),
userName,
MAXREGPATHLEN );
mUIName.SetString(userName);
if (err != REGERR_OK)
{
*error = nsInstall::NO_SUCH_COMPONENT;
}
PR_FREEIF(userName);
}
nsInstallUninstall::~nsInstallUninstall()
{
}
PRInt32 nsInstallUninstall::Prepare()
{
// no set-up necessary
return nsInstall::SUCCESS;
}
PRInt32 nsInstallUninstall::Complete()
{
PRInt32 err = nsInstall::SUCCESS;
if (mInstall == NULL)
return nsInstall::INVALID_ARGUMENTS;
err = SU_Uninstall( (char*)(const char*) nsAutoCString(mRegName) );
return err;
}
void nsInstallUninstall::Abort()
{
}
char* nsInstallUninstall::toString()
{
char* buffer = new char[1024];
char* temp = mUIName.ToNewCString();
sprintf( buffer, nsInstallResources::GetUninstallString(), temp);
delete [] temp;
return buffer;
}
PRBool
nsInstallUninstall::CanUninstall()
{
return PR_FALSE;
}
PRBool
nsInstallUninstall::RegisterPackageNode()
{
return PR_FALSE;
}
extern "C" NS_EXPORT PRInt32 SU_Uninstall(char *regPackageName)
{
REGERR status = REGERR_FAIL;
char pathbuf[MAXREGPATHLEN+1] = {0};
char sharedfilebuf[MAXREGPATHLEN+1] = {0};
REGENUM state = 0;
int32 length;
int32 err;
if (regPackageName == NULL)
return REGERR_PARAM;
if (pathbuf == NULL)
return REGERR_PARAM;
/* Get next path from Registry */
status = VR_Enum( regPackageName, &state, pathbuf, MAXREGPATHLEN );
/* if we got a good path */
while (status == REGERR_OK)
{
char component_path[2*MAXREGPATHLEN+1] = {0};
strcat(component_path, regPackageName);
length = strlen(regPackageName);
if (component_path[length - 1] != '/')
strcat(component_path, "/");
strcat(component_path, pathbuf);
err = su_UninstallProcessItem(component_path);
status = VR_Enum( regPackageName, &state, pathbuf, MAXREGPATHLEN );
}
err = VR_Remove(regPackageName);
// there is a problem here. It looks like if the file is refcounted, we still blow away the reg key
// FIX!
state = 0;
status = VR_UninstallEnumSharedFiles( regPackageName, &state, sharedfilebuf, MAXREGPATHLEN );
while (status == REGERR_OK)
{
err = su_UninstallProcessItem(sharedfilebuf);
err = VR_UninstallDeleteFileFromList(regPackageName, sharedfilebuf);
status = VR_UninstallEnumSharedFiles( regPackageName, &state, sharedfilebuf, MAXREGPATHLEN );
}
err = VR_UninstallDeleteSharedFilesKey(regPackageName);
err = VR_UninstallDestroy(regPackageName);
return err;
}
REGERR su_UninstallProcessItem(char *component_path)
{
int refcount;
int err;
char filepath[MAXREGPATHLEN];
err = VR_GetPath(component_path, sizeof(filepath), filepath);
if ( err == REGERR_OK )
{
err = VR_GetRefCount(component_path, &refcount);
if ( err == REGERR_OK )
{
--refcount;
if (refcount > 0)
err = VR_SetRefCount(component_path, refcount);
else
{
err = VR_Remove(component_path);
DeleteFileNowOrSchedule(nsFileSpec(filepath));
}
}
else
{
/* delete node and file */
err = VR_Remove(component_path);
DeleteFileNowOrSchedule(nsFileSpec(filepath));
}
}
return err;
}

View File

@@ -0,0 +1,63 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef nsInstallUninstall_h__
#define nsInstallUninstall_h__
#include "prtypes.h"
#include "nsString.h"
#include "nsInstallObject.h"
#include "nsInstall.h"
class nsInstallUninstall : public nsInstallObject
{
public:
nsInstallUninstall( nsInstall* inInstall,
const nsString& regName,
PRInt32 *error);
virtual ~nsInstallUninstall();
PRInt32 Prepare();
PRInt32 Complete();
void Abort();
char* toString();
PRBool CanUninstall();
PRBool RegisterPackageNode();
private:
nsString mRegName; // Registry name of package
nsString mUIName; // User name of package
};
#endif /* nsInstallUninstall_h__ */

View File

@@ -0,0 +1,399 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.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.
*
* 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.
*/
#include "nsSoftwareUpdate.h"
#include "nsInstallVersion.h"
#include "nsIDOMInstallVersion.h"
#include "nscore.h"
#include "nsIFactory.h"
#include "nsISupports.h"
#include "nsIScriptGlobalObject.h"
#include "prprf.h"
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
static NS_DEFINE_IID(kIScriptObjectOwnerIID, NS_ISCRIPTOBJECTOWNER_IID);
static NS_DEFINE_IID(kIInstallVersion_IID, NS_IDOMINSTALLVERSION_IID);
nsInstallVersion::nsInstallVersion()
{
mScriptObject = nsnull;
NS_INIT_REFCNT();
}
nsInstallVersion::~nsInstallVersion()
{
}
NS_IMETHODIMP
nsInstallVersion::QueryInterface(REFNSIID aIID,void** aInstancePtr)
{
if (aInstancePtr == NULL)
{
return NS_ERROR_NULL_POINTER;
}
// Always NULL result, in case of failure
*aInstancePtr = NULL;
if ( aIID.Equals(kIScriptObjectOwnerIID))
{
*aInstancePtr = (void*) ((nsIScriptObjectOwner*)this);
AddRef();
return NS_OK;
}
else if ( aIID.Equals(kIInstallVersion_IID) )
{
*aInstancePtr = (void*) ((nsIDOMInstallVersion*)this);
AddRef();
return NS_OK;
}
else if ( aIID.Equals(kISupportsIID) )
{
*aInstancePtr = (void*)(nsISupports*)(nsIScriptObjectOwner*)this;
AddRef();
return NS_OK;
}
return NS_NOINTERFACE;
}
NS_IMPL_ADDREF(nsInstallVersion)
NS_IMPL_RELEASE(nsInstallVersion)
NS_IMETHODIMP
nsInstallVersion::GetScriptObject(nsIScriptContext *aContext, void** aScriptObject)
{
NS_PRECONDITION(nsnull != aScriptObject, "null arg");
nsresult res = NS_OK;
if (nsnull == mScriptObject)
{
res = NS_NewScriptInstallVersion(aContext,
(nsISupports *)(nsIDOMInstallVersion*)this,
nsnull,
&mScriptObject);
}
*aScriptObject = mScriptObject;
return res;
}
NS_IMETHODIMP
nsInstallVersion::SetScriptObject(void *aScriptObject)
{
mScriptObject = aScriptObject;
return NS_OK;
}
// this will go away when our constructors can have parameters.
NS_IMETHODIMP
nsInstallVersion::Init(PRInt32 aMajor, PRInt32 aMinor, PRInt32 aRelease, PRInt32 aBuild)
{
major = aMajor;
minor = aMinor;
release = aRelease;
build = aBuild;
return NS_OK;
}
NS_IMETHODIMP
nsInstallVersion::Init(const nsString& version)
{
PRInt32 errorCode;
PRInt32 aMajor, aMinor, aRelease, aBuild;
major = minor = release = build = 0;
errorCode = nsInstallVersion::StringToVersionNumbers(version, &aMajor, &aMinor, &aRelease, &aBuild);
if (NS_SUCCEEDED(errorCode))
{
Init(aMajor, aMinor, aRelease, aBuild);
}
return NS_OK;
}
NS_IMETHODIMP
nsInstallVersion::GetMajor(PRInt32* aMajor)
{
*aMajor = major;
return NS_OK;
}
NS_IMETHODIMP
nsInstallVersion::SetMajor(PRInt32 aMajor)
{
major = aMajor;
return NS_OK;
}
NS_IMETHODIMP
nsInstallVersion::GetMinor(PRInt32* aMinor)
{
*aMinor = minor;
return NS_OK;
}
NS_IMETHODIMP
nsInstallVersion::SetMinor(PRInt32 aMinor)
{
minor = aMinor;
return NS_OK;
}
NS_IMETHODIMP
nsInstallVersion::GetRelease(PRInt32* aRelease)
{
*aRelease = release;
return NS_OK;
}
NS_IMETHODIMP
nsInstallVersion::SetRelease(PRInt32 aRelease)
{
release = aRelease;
return NS_OK;
}
NS_IMETHODIMP
nsInstallVersion::GetBuild(PRInt32* aBuild)
{
*aBuild = build;
return NS_OK;
}
NS_IMETHODIMP
nsInstallVersion::SetBuild(PRInt32 aBuild)
{
build = aBuild;
return NS_OK;
}
NS_IMETHODIMP
nsInstallVersion::CompareTo(nsIDOMInstallVersion* aVersion, PRInt32* aReturn)
{
PRInt32 aMajor, aMinor, aRelease, aBuild;
aVersion->GetMajor(&aMajor);
aVersion->GetMinor(&aMinor);
aVersion->GetRelease(&aRelease);
aVersion->GetBuild(&aBuild);
CompareTo(aMajor, aMinor, aRelease, aBuild, aReturn);
return NS_OK;
}
NS_IMETHODIMP
nsInstallVersion::CompareTo(const nsString& aAString, PRInt32* aReturn)
{
return NS_OK;
}
NS_IMETHODIMP
nsInstallVersion::CompareTo(PRInt32 aMajor, PRInt32 aMinor, PRInt32 aRelease, PRInt32 aBuild, PRInt32* aReturn)
{
int diff;
if ( major == aMajor )
{
if ( minor == aMinor )
{
if ( release == aRelease )
{
if ( build == aBuild )
diff = EQUAL;
else if ( build > aBuild )
diff = BLD_DIFF;
else
diff = BLD_DIFF_MINUS;
}
else if ( release > aRelease )
diff = REL_DIFF;
else
diff = REL_DIFF_MINUS;
}
else if ( minor > aMinor )
diff = MINOR_DIFF;
else
diff = MINOR_DIFF_MINUS;
}
else if ( major > aMajor )
diff = MAJOR_DIFF;
else
diff = MAJOR_DIFF_MINUS;
*aReturn = diff;
return NS_OK;
}
NS_IMETHODIMP
nsInstallVersion::ToString(nsString& aReturn)
{
char *result=NULL;
result = PR_sprintf_append(result, "%d.%d.%d.%d", major, minor, release, build);
aReturn = result;
return NS_OK;
}
nsresult
nsInstallVersion::StringToVersionNumbers(const nsString& version, PRInt32 *aMajor, PRInt32 *aMinor, PRInt32 *aRelease, PRInt32 *aBuild)
{
PRInt32 errorCode;
int dot = version.Find('.', 0);
if ( dot == -1 )
{
*aMajor = version.ToInteger(&errorCode);
}
else
{
nsString majorStr;
version.Mid(majorStr, 0, dot);
*aMajor = majorStr.ToInteger(&errorCode);
int prev = dot+1;
dot = version.Find('.',prev);
if ( dot == -1 )
{
nsString minorStr;
version.Mid(minorStr, prev, version.Length() - prev);
*aMinor = minorStr.ToInteger(&errorCode);
}
else
{
nsString minorStr;
version.Mid(minorStr, prev, dot - prev);
*aMinor = minorStr.ToInteger(&errorCode);
prev = dot+1;
dot = version.Find('.',prev);
if ( dot == -1 )
{
nsString releaseStr;
version.Mid(releaseStr, prev, version.Length() - prev);
*aRelease = releaseStr.ToInteger(&errorCode);
}
else
{
nsString releaseStr;
version.Mid(releaseStr, prev, dot - prev);
*aRelease = releaseStr.ToInteger(&errorCode);
prev = dot+1;
if ( version.Length() > dot )
{
nsString buildStr;
version.Mid(buildStr, prev, version.Length() - prev);
*aBuild = buildStr.ToInteger(&errorCode);
}
}
}
}
return errorCode;
}
/////////////////////////////////////////////////////////////////////////
//
/////////////////////////////////////////////////////////////////////////
nsInstallVersionFactory::nsInstallVersionFactory(void)
{
NS_INIT_REFCNT();
}
nsInstallVersionFactory::~nsInstallVersionFactory(void)
{
NS_ASSERTION(mRefCnt == 0, "non-zero refcnt at destruction");
}
NS_IMETHODIMP
nsInstallVersionFactory::QueryInterface(const nsIID &aIID, void **aResult)
{
if (! aResult)
return NS_ERROR_NULL_POINTER;
// Always NULL result, in case of failure
*aResult = nsnull;
if (aIID.Equals(kISupportsIID)) {
*aResult = NS_STATIC_CAST(nsISupports*, this);
AddRef();
return NS_OK;
} else if (aIID.Equals(kIFactoryIID)) {
*aResult = NS_STATIC_CAST(nsIFactory*, this);
AddRef();
return NS_OK;
}
return NS_NOINTERFACE;
}
NS_IMPL_ADDREF(nsInstallVersionFactory);
NS_IMPL_RELEASE(nsInstallVersionFactory);
NS_IMETHODIMP
nsInstallVersionFactory::CreateInstance(nsISupports *aOuter, REFNSIID aIID, void **aResult)
{
if (aResult == NULL)
{
return NS_ERROR_NULL_POINTER;
}
*aResult = NULL;
/* do I have to use iSupports? */
nsInstallVersion *inst = new nsInstallVersion();
if (inst == NULL)
return NS_ERROR_OUT_OF_MEMORY;
nsresult result = inst->QueryInterface(aIID, aResult);
if (NS_FAILED(result))
delete inst;
return result;
}
NS_IMETHODIMP
nsInstallVersionFactory::LockFactory(PRBool aLock)
{
return NS_OK;
}

View File

@@ -0,0 +1,76 @@
#ifndef __NS_INSTALLVERSION_H__
#define __NS_INSTALLVERSION_H__
#include "nscore.h"
#include "nsString.h"
#include "nsIFactory.h"
#include "nsISupports.h"
#include "nsIScriptObjectOwner.h"
#include "nsIDOMInstallVersion.h"
#include "nsSoftwareUpdate.h"
#include "prtypes.h"
class nsInstallVersion: public nsIScriptObjectOwner, public nsIDOMInstallVersion
{
public:
static const nsIID& IID() { static nsIID iid = NS_SoftwareUpdateInstallVersion_CID; return iid; }
nsInstallVersion();
virtual ~nsInstallVersion();
NS_DECL_ISUPPORTS
NS_IMETHOD GetScriptObject(nsIScriptContext *aContext, void** aScriptObject);
NS_IMETHOD SetScriptObject(void* aScriptObject);
NS_IMETHOD Init(PRInt32 aMajor, PRInt32 aMinor, PRInt32 aRelease, PRInt32 aBuild);
NS_IMETHOD Init(const nsString& aVersionString);
NS_IMETHOD GetMajor(PRInt32* aMajor);
NS_IMETHOD SetMajor(PRInt32 aMajor);
NS_IMETHOD GetMinor(PRInt32* aMinor);
NS_IMETHOD SetMinor(PRInt32 aMinor);
NS_IMETHOD GetRelease(PRInt32* aRelease);
NS_IMETHOD SetRelease(PRInt32 aRelease);
NS_IMETHOD GetBuild(PRInt32* aBuild);
NS_IMETHOD SetBuild(PRInt32 aBuild);
NS_IMETHOD ToString(nsString& aReturn);
NS_IMETHOD CompareTo(nsIDOMInstallVersion* aVersion, PRInt32* aReturn);
NS_IMETHOD CompareTo(const nsString& aString, PRInt32* aReturn);
NS_IMETHOD CompareTo(PRInt32 aMajor, PRInt32 aMinor, PRInt32 aRelease, PRInt32 aBuild, PRInt32* aReturn);
static nsresult StringToVersionNumbers(const nsString& version, PRInt32 *aMajor, PRInt32 *aMinor, PRInt32 *aRelease, PRInt32 *aBuild);
private:
void *mScriptObject;
PRInt32 major;
PRInt32 minor;
PRInt32 release;
PRInt32 build;
};
class nsInstallVersionFactory : public nsIFactory
{
public:
nsInstallVersionFactory();
virtual ~nsInstallVersionFactory();
NS_DECL_ISUPPORTS
NS_IMETHOD CreateInstance(nsISupports *aOuter,
REFNSIID aIID,
void **aResult);
NS_IMETHOD LockFactory(PRBool aLock);
};
#endif

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,665 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.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.
*/
/* AUTO-GENERATED. DO NOT EDIT!!! */
#include "jsapi.h"
#include "nsJSUtils.h"
#include "nscore.h"
#include "nsIScriptContext.h"
#include "nsIJSScriptObject.h"
#include "nsIScriptObjectOwner.h"
#include "nsIScriptGlobalObject.h"
#include "nsIPtr.h"
#include "nsString.h"
#include "nsIDOMInstallVersion.h"
#include "nsIDOMInstallTriggerGlobal.h"
extern void ConvertJSValToStr(nsString& aString,
JSContext* aContext,
jsval aValue);
extern void ConvertStrToJSVal(const nsString& aProp,
JSContext* aContext,
jsval* aReturn);
extern PRBool ConvertJSValToBool(PRBool* aProp,
JSContext* aContext,
jsval aValue);
extern PRBool ConvertJSValToObj(nsISupports** aSupports,
REFNSIID aIID,
const nsString& aTypeName,
JSContext* aContext,
jsval aValue);
static NS_DEFINE_IID(kIScriptObjectOwnerIID, NS_ISCRIPTOBJECTOWNER_IID);
static NS_DEFINE_IID(kIJSScriptObjectIID, NS_IJSSCRIPTOBJECT_IID);
static NS_DEFINE_IID(kIScriptGlobalObjectIID, NS_ISCRIPTGLOBALOBJECT_IID);
static NS_DEFINE_IID(kIInstallTriggerGlobalIID, NS_IDOMINSTALLTRIGGERGLOBAL_IID);
NS_DEF_PTR(nsIDOMInstallTriggerGlobal);
/***********************************************************************/
//
// InstallTriggerGlobal Properties Getter
//
PR_STATIC_CALLBACK(JSBool)
GetInstallTriggerGlobalProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
{
nsIDOMInstallTriggerGlobal *a = (nsIDOMInstallTriggerGlobal*)JS_GetPrivate(cx, obj);
// If there's no private data, this must be the prototype, so ignore
if (nsnull == a) {
return JS_TRUE;
}
if (JSVAL_IS_INT(id)) {
switch(JSVAL_TO_INT(id)) {
case 0:
default:
return nsJSUtils::nsCallJSScriptObjectGetProperty(a, cx, id, vp);
}
}
else {
return nsJSUtils::nsCallJSScriptObjectGetProperty(a, cx, id, vp);
}
return PR_TRUE;
}
/***********************************************************************/
//
// InstallTriggerGlobal Properties Setter
//
PR_STATIC_CALLBACK(JSBool)
SetInstallTriggerGlobalProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
{
nsIDOMInstallTriggerGlobal *a = (nsIDOMInstallTriggerGlobal*)JS_GetPrivate(cx, obj);
// If there's no private data, this must be the prototype, so ignore
if (nsnull == a) {
return JS_TRUE;
}
if (JSVAL_IS_INT(id)) {
switch(JSVAL_TO_INT(id)) {
case 0:
default:
return nsJSUtils::nsCallJSScriptObjectSetProperty(a, cx, id, vp);
}
}
else {
return nsJSUtils::nsCallJSScriptObjectSetProperty(a, cx, id, vp);
}
return PR_TRUE;
}
//
// InstallTriggerGlobal finalizer
//
PR_STATIC_CALLBACK(void)
FinalizeInstallTriggerGlobal(JSContext *cx, JSObject *obj)
{
nsJSUtils::nsGenericFinalize(cx, obj);
}
//
// InstallTriggerGlobal enumerate
//
PR_STATIC_CALLBACK(JSBool)
EnumerateInstallTriggerGlobal(JSContext *cx, JSObject *obj)
{
return nsJSUtils::nsGenericEnumerate(cx, obj);
}
//
// InstallTriggerGlobal resolve
//
PR_STATIC_CALLBACK(JSBool)
ResolveInstallTriggerGlobal(JSContext *cx, JSObject *obj, jsval id)
{
return nsJSUtils::nsGenericResolve(cx, obj, id);
}
//
// Native method UpdateEnabled
//
PR_STATIC_CALLBACK(JSBool)
InstallTriggerGlobalUpdateEnabled(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsIDOMInstallTriggerGlobal *nativeThis = (nsIDOMInstallTriggerGlobal*)JS_GetPrivate(cx, obj);
JSBool rBool = JS_FALSE;
PRBool nativeRet;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if (nsnull == nativeThis) {
return JS_TRUE;
}
if (argc >= 0) {
if (NS_OK != nativeThis->UpdateEnabled(&nativeRet)) {
return JS_FALSE;
}
*rval = BOOLEAN_TO_JSVAL(nativeRet);
}
else {
JS_ReportError(cx, "Function UpdateEnabled requires 0 parameters");
return JS_FALSE;
}
return JS_TRUE;
}
//
// Native method StartSoftwareUpdate
//
PR_STATIC_CALLBACK(JSBool)
InstallTriggerGlobalStartSoftwareUpdate(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsIDOMInstallTriggerGlobal *nativeThis = (nsIDOMInstallTriggerGlobal*)JS_GetPrivate(cx, obj);
JSBool rBool = JS_FALSE;
PRInt32 nativeRet;
nsAutoString b0;
PRInt32 b1;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if (nsnull == nativeThis) {
return JS_TRUE;
}
if (argc >= 2)
{
// public int StartSoftwareUpdate(String url,
// int flag);
ConvertJSValToStr(b0, cx, argv[0]);
if(!JS_ValueToInt32(cx, argv[1], (int32 *)&b1))
{
JS_ReportError(cx, "2nd parameter must be a number");
return JS_FALSE;
}
if(NS_OK != nativeThis->StartSoftwareUpdate(b0, b1, &nativeRet))
{
return JS_FALSE;
}
*rval = INT_TO_JSVAL(nativeRet);
}
else if(argc >= 1)
{
// public int StartSoftwareUpdate(String url);
ConvertJSValToStr(b0, cx, argv[0]);
if(NS_OK != nativeThis->StartSoftwareUpdate(b0, &nativeRet))
{
return JS_FALSE;
}
*rval = INT_TO_JSVAL(nativeRet);
}
else
{
JS_ReportError(cx, "Function StartSoftwareUpdate requires 2 parameters");
return JS_FALSE;
}
return JS_TRUE;
}
//
// Native method ConditionalSoftwareUpdate
//
PR_STATIC_CALLBACK(JSBool)
InstallTriggerGlobalConditionalSoftwareUpdate(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsIDOMInstallTriggerGlobal *nativeThis = (nsIDOMInstallTriggerGlobal*)JS_GetPrivate(cx, obj);
JSBool rBool = JS_FALSE;
PRInt32 nativeRet;
nsAutoString b0;
nsAutoString b1;
nsAutoString b2str;
PRInt32 b2int;
nsAutoString b3str;
PRInt32 b3int;
PRInt32 b4;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if (nsnull == nativeThis) {
return JS_TRUE;
}
if(argc >= 5)
{
// public int ConditionalSoftwareUpdate(String url,
// String registryName,
// int diffLevel,
// String version, --OR-- VersionInfo version
// int mode);
ConvertJSValToStr(b0, cx, argv[0]);
ConvertJSValToStr(b1, cx, argv[1]);
if(!JS_ValueToInt32(cx, argv[2], (int32 *)&b2int))
{
JS_ReportError(cx, "3rd parameter must be a number");
return JS_FALSE;
}
if(!JS_ValueToInt32(cx, argv[4], (int32 *)&b4))
{
JS_ReportError(cx, "5th parameter must be a number");
return JS_FALSE;
}
if(JSVAL_IS_OBJECT(argv[3]))
{
JSObject* jsobj = JSVAL_TO_OBJECT(argv[3]);
JSClass* jsclass = JS_GetClass(cx, jsobj);
if((nsnull != jsclass) && (jsclass->flags & JSCLASS_HAS_PRIVATE))
{
nsIDOMInstallVersion* version = (nsIDOMInstallVersion*)JS_GetPrivate(cx, jsobj);
if(NS_OK != nativeThis->ConditionalSoftwareUpdate(b0, b1, b2int, version, b4, &nativeRet))
{
return JS_FALSE;
}
}
}
else
{
ConvertJSValToStr(b3str, cx, argv[3]);
if(NS_OK != nativeThis->ConditionalSoftwareUpdate(b0, b1, b2int, b3str, b4, &nativeRet))
{
return JS_FALSE;
}
}
*rval = INT_TO_JSVAL(nativeRet);
}
else if(argc >= 4)
{
// public int ConditionalSoftwareUpdate(String url,
// String registryName,
// String version, --OR-- VersionInfo version
// int mode);
ConvertJSValToStr(b0, cx, argv[0]);
ConvertJSValToStr(b1, cx, argv[1]);
if(!JS_ValueToInt32(cx, argv[3], (int32 *)&b3int))
{
JS_ReportError(cx, "4th parameter must be a number");
return JS_FALSE;
}
if(JSVAL_IS_OBJECT(argv[2]))
{
JSObject* jsobj = JSVAL_TO_OBJECT(argv[2]);
JSClass* jsclass = JS_GetClass(cx, jsobj);
if((nsnull != jsclass) && (jsclass->flags & JSCLASS_HAS_PRIVATE))
{
nsIDOMInstallVersion* version = (nsIDOMInstallVersion*)JS_GetPrivate(cx, jsobj);
if(NS_OK != nativeThis->ConditionalSoftwareUpdate(b0, b1, version, b3int, &nativeRet))
{
return JS_FALSE;
}
}
}
else
{
ConvertJSValToStr(b2str, cx, argv[2]);
if(NS_OK != nativeThis->ConditionalSoftwareUpdate(b0, b1, b2str, b3int, &nativeRet))
{
return JS_FALSE;
}
}
*rval = INT_TO_JSVAL(nativeRet);
}
else if(argc >= 3)
{
// public int ConditionalSoftwareUpdate(String url,
// String registryName,
// String version); --OR-- VersionInfo version
ConvertJSValToStr(b0, cx, argv[0]);
ConvertJSValToStr(b1, cx, argv[1]);
if(JSVAL_IS_OBJECT(argv[2]))
{
JSObject* jsobj = JSVAL_TO_OBJECT(argv[2]);
JSClass* jsclass = JS_GetClass(cx, jsobj);
if((nsnull != jsclass) && (jsclass->flags & JSCLASS_HAS_PRIVATE))
{
nsIDOMInstallVersion* version = (nsIDOMInstallVersion*)JS_GetPrivate(cx, jsobj);
if(NS_OK != nativeThis->ConditionalSoftwareUpdate(b0, b1, version, &nativeRet))
{
return JS_FALSE;
}
}
}
else
{
ConvertJSValToStr(b2str, cx, argv[2]);
if(NS_OK != nativeThis->ConditionalSoftwareUpdate(b0, b1, b2str, &nativeRet))
{
return JS_FALSE;
}
}
*rval = INT_TO_JSVAL(nativeRet);
}
else
{
JS_ReportError(cx, "Function ConditionalSoftwareUpdate requires 5 parameters");
return JS_FALSE;
}
return JS_TRUE;
}
//
// Native method CompareVersion
//
PR_STATIC_CALLBACK(JSBool)
InstallTriggerGlobalCompareVersion(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsIDOMInstallTriggerGlobal *nativeThis = (nsIDOMInstallTriggerGlobal*)JS_GetPrivate(cx, obj);
JSBool rBool = JS_FALSE;
PRInt32 nativeRet;
nsAutoString b0;
nsAutoString b1str;
PRInt32 b1int;
PRInt32 b2int;
PRInt32 b3int;
PRInt32 b4int;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if (nsnull == nativeThis) {
return JS_TRUE;
}
if(argc >= 5)
{
// public int CompareVersion(String registryName,
// int major,
// int minor,
// int release,
// int build);
ConvertJSValToStr(b0, cx, argv[0]);
if(!JS_ValueToInt32(cx, argv[1], (int32 *)&b1int))
{
JS_ReportError(cx, "2th parameter must be a number");
return JS_FALSE;
}
if(!JS_ValueToInt32(cx, argv[2], (int32 *)&b2int))
{
JS_ReportError(cx, "3th parameter must be a number");
return JS_FALSE;
}
if(!JS_ValueToInt32(cx, argv[3], (int32 *)&b3int))
{
JS_ReportError(cx, "4th parameter must be a number");
return JS_FALSE;
}
if(!JS_ValueToInt32(cx, argv[4], (int32 *)&b4int))
{
JS_ReportError(cx, "5th parameter must be a number");
return JS_FALSE;
}
if(NS_OK != nativeThis->CompareVersion(b0, b1int, b2int, b3int, b4int, &nativeRet))
{
return JS_FALSE;
}
*rval = INT_TO_JSVAL(nativeRet);
}
else if(argc >= 2)
{
// public int CompareVersion(String registryName,
// String version); --OR-- VersionInfo version
ConvertJSValToStr(b0, cx, argv[0]);
if(JSVAL_IS_OBJECT(argv[1]))
{
JSObject* jsobj = JSVAL_TO_OBJECT(argv[1]);
JSClass* jsclass = JS_GetClass(cx, jsobj);
if((nsnull != jsclass) && (jsclass->flags & JSCLASS_HAS_PRIVATE))
{
nsIDOMInstallVersion* version = (nsIDOMInstallVersion*)JS_GetPrivate(cx, jsobj);
if(NS_OK != nativeThis->CompareVersion(b0, version, &nativeRet))
{
return JS_FALSE;
}
}
}
else
{
ConvertJSValToStr(b1str, cx, argv[1]);
if(NS_OK != nativeThis->CompareVersion(b0, b1str, &nativeRet))
{
return JS_FALSE;
}
}
*rval = INT_TO_JSVAL(nativeRet);
}
else
{
JS_ReportError(cx, "Function CompareVersion requires 5 parameters");
return JS_FALSE;
}
return JS_TRUE;
}
/***********************************************************************/
//
// class for InstallTriggerGlobal
//
JSClass InstallTriggerGlobalClass = {
"InstallTriggerGlobal",
JSCLASS_HAS_PRIVATE,
JS_PropertyStub,
JS_PropertyStub,
GetInstallTriggerGlobalProperty,
SetInstallTriggerGlobalProperty,
EnumerateInstallTriggerGlobal,
ResolveInstallTriggerGlobal,
JS_ConvertStub,
FinalizeInstallTriggerGlobal
};
//
// InstallTriggerGlobal class properties
//
static JSPropertySpec InstallTriggerGlobalProperties[] =
{
{0}
};
//
// InstallTriggerGlobal class methods
//
static JSFunctionSpec InstallTriggerGlobalMethods[] =
{
{"UpdateEnabled", InstallTriggerGlobalUpdateEnabled, 0},
{"StartSoftwareUpdate", InstallTriggerGlobalStartSoftwareUpdate, 2},
{"ConditionalSoftwareUpdate", InstallTriggerGlobalConditionalSoftwareUpdate, 5},
{"CompareVersion", InstallTriggerGlobalCompareVersion, 5},
{0}
};
//
// InstallTriggerGlobal constructor
//
PR_STATIC_CALLBACK(JSBool)
InstallTriggerGlobal(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
return JS_FALSE;
}
//
// InstallTriggerGlobal class initialization
//
nsresult NS_InitInstallTriggerGlobalClass(nsIScriptContext *aContext, void **aPrototype)
{
JSContext *jscontext = (JSContext *)aContext->GetNativeContext();
JSObject *proto = nsnull;
JSObject *constructor = nsnull;
JSObject *parent_proto = nsnull;
JSObject *global = JS_GetGlobalObject(jscontext);
jsval vp;
if ((PR_TRUE != JS_LookupProperty(jscontext, global, "InstallTriggerGlobal", &vp)) ||
!JSVAL_IS_OBJECT(vp) ||
((constructor = JSVAL_TO_OBJECT(vp)) == nsnull) ||
(PR_TRUE != JS_LookupProperty(jscontext, JSVAL_TO_OBJECT(vp), "prototype", &vp)) ||
!JSVAL_IS_OBJECT(vp)) {
proto = JS_InitClass(jscontext, // context
global, // global object
parent_proto, // parent proto
&InstallTriggerGlobalClass, // JSClass
InstallTriggerGlobal, // JSNative ctor
0, // ctor args
InstallTriggerGlobalProperties, // proto props
InstallTriggerGlobalMethods, // proto funcs
nsnull, // ctor props (static)
nsnull); // ctor funcs (static)
if (nsnull == proto) {
return NS_ERROR_FAILURE;
}
if ((PR_TRUE == JS_LookupProperty(jscontext, global, "InstallTriggerGlobal", &vp)) &&
JSVAL_IS_OBJECT(vp) &&
((constructor = JSVAL_TO_OBJECT(vp)) != nsnull)) {
vp = INT_TO_JSVAL(nsIDOMInstallTriggerGlobal::MAJOR_DIFF);
JS_SetProperty(jscontext, constructor, "MAJOR_DIFF", &vp);
vp = INT_TO_JSVAL(nsIDOMInstallTriggerGlobal::MINOR_DIFF);
JS_SetProperty(jscontext, constructor, "MINOR_DIFF", &vp);
vp = INT_TO_JSVAL(nsIDOMInstallTriggerGlobal::REL_DIFF);
JS_SetProperty(jscontext, constructor, "REL_DIFF", &vp);
vp = INT_TO_JSVAL(nsIDOMInstallTriggerGlobal::BLD_DIFF);
JS_SetProperty(jscontext, constructor, "BLD_DIFF", &vp);
vp = INT_TO_JSVAL(nsIDOMInstallTriggerGlobal::EQUAL);
JS_SetProperty(jscontext, constructor, "EQUAL", &vp);
}
}
else if ((nsnull != constructor) && JSVAL_IS_OBJECT(vp)) {
proto = JSVAL_TO_OBJECT(vp);
}
else {
return NS_ERROR_FAILURE;
}
if (aPrototype) {
*aPrototype = proto;
}
return NS_OK;
}
//
// Method for creating a new InstallTriggerGlobal JavaScript object
//
extern "C" NS_DOM nsresult NS_NewScriptInstallTriggerGlobal(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn)
{
NS_PRECONDITION(nsnull != aContext && nsnull != aSupports && nsnull != aReturn, "null argument to NS_NewScriptInstallTriggerGlobal");
JSObject *proto;
JSObject *parent;
nsIScriptObjectOwner *owner;
JSContext *jscontext = (JSContext *)aContext->GetNativeContext();
nsresult result = NS_OK;
nsIDOMInstallTriggerGlobal *aInstallTriggerGlobal;
if (nsnull == aParent) {
parent = nsnull;
}
else if (NS_OK == aParent->QueryInterface(kIScriptObjectOwnerIID, (void**)&owner)) {
if (NS_OK != owner->GetScriptObject(aContext, (void **)&parent)) {
NS_RELEASE(owner);
return NS_ERROR_FAILURE;
}
NS_RELEASE(owner);
}
else {
return NS_ERROR_FAILURE;
}
if (NS_OK != NS_InitInstallTriggerGlobalClass(aContext, (void **)&proto)) {
return NS_ERROR_FAILURE;
}
result = aSupports->QueryInterface(kIInstallTriggerGlobalIID, (void **)&aInstallTriggerGlobal);
if (NS_OK != result) {
return result;
}
// create a js object for this class
*aReturn = JS_NewObject(jscontext, &InstallTriggerGlobalClass, proto, parent);
if (nsnull != *aReturn) {
// connect the native object to the js object
JS_SetPrivate(jscontext, (JSObject *)*aReturn, aInstallTriggerGlobal);
}
else {
NS_RELEASE(aInstallTriggerGlobal);
return NS_ERROR_FAILURE;
}
return NS_OK;
}

View File

@@ -0,0 +1,659 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.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.
*/
/* AUTO-GENERATED. DO NOT EDIT!!! */
#include "jsapi.h"
#include "nsJSUtils.h"
#include "nscore.h"
#include "nsIScriptContext.h"
#include "nsIJSScriptObject.h"
#include "nsIScriptObjectOwner.h"
#include "nsIScriptGlobalObject.h"
#include "nsIPtr.h"
#include "nsString.h"
#include "nsIDOMInstallVersion.h"
#include "nsIScriptNameSpaceManager.h"
#include "nsRepository.h"
#include "nsDOMCID.h"
extern void ConvertJSValToStr(nsString& aString,
JSContext* aContext,
jsval aValue);
extern void ConvertStrToJSVal(const nsString& aProp,
JSContext* aContext,
jsval* aReturn);
extern PRBool ConvertJSValToBool(PRBool* aProp,
JSContext* aContext,
jsval aValue);
extern PRBool ConvertJSValToObj(nsISupports** aSupports,
REFNSIID aIID,
const nsString& aTypeName,
JSContext* aContext,
jsval aValue);
void ConvertJSvalToVersionString(nsString& versionString, JSContext* cx, jsval* argument);
static NS_DEFINE_IID(kIScriptObjectOwnerIID, NS_ISCRIPTOBJECTOWNER_IID);
static NS_DEFINE_IID(kIJSScriptObjectIID, NS_IJSSCRIPTOBJECT_IID);
static NS_DEFINE_IID(kIScriptGlobalObjectIID, NS_ISCRIPTGLOBALOBJECT_IID);
static NS_DEFINE_IID(kIInstallVersionIID, NS_IDOMINSTALLVERSION_IID);
NS_DEF_PTR(nsIDOMInstallVersion);
//
// InstallVersion property ids
//
enum InstallVersion_slots {
INSTALLVERSION_MAJOR = -1,
INSTALLVERSION_MINOR = -2,
INSTALLVERSION_RELEASE = -3,
INSTALLVERSION_BUILD = -4
};
/***********************************************************************/
//
// InstallVersion Properties Getter
//
PR_STATIC_CALLBACK(JSBool)
GetInstallVersionProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
{
nsIDOMInstallVersion *a = (nsIDOMInstallVersion*)JS_GetPrivate(cx, obj);
// If there's no private data, this must be the prototype, so ignore
if (nsnull == a) {
return JS_TRUE;
}
if (JSVAL_IS_INT(id)) {
switch(JSVAL_TO_INT(id)) {
case INSTALLVERSION_MAJOR:
{
PRInt32 prop;
if (NS_OK == a->GetMajor(&prop)) {
*vp = INT_TO_JSVAL(prop);
}
else {
return JS_FALSE;
}
break;
}
case INSTALLVERSION_MINOR:
{
PRInt32 prop;
if (NS_OK == a->GetMinor(&prop)) {
*vp = INT_TO_JSVAL(prop);
}
else {
return JS_FALSE;
}
break;
}
case INSTALLVERSION_RELEASE:
{
PRInt32 prop;
if (NS_OK == a->GetRelease(&prop)) {
*vp = INT_TO_JSVAL(prop);
}
else {
return JS_FALSE;
}
break;
}
case INSTALLVERSION_BUILD:
{
PRInt32 prop;
if (NS_OK == a->GetBuild(&prop)) {
*vp = INT_TO_JSVAL(prop);
}
else {
return JS_FALSE;
}
break;
}
default:
return nsJSUtils::nsCallJSScriptObjectGetProperty(a, cx, id, vp);
}
}
else {
return nsJSUtils::nsCallJSScriptObjectGetProperty(a, cx, id, vp);
}
return PR_TRUE;
}
/***********************************************************************/
//
// InstallVersion Properties Setter
//
PR_STATIC_CALLBACK(JSBool)
SetInstallVersionProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
{
nsIDOMInstallVersion *a = (nsIDOMInstallVersion*)JS_GetPrivate(cx, obj);
// If there's no private data, this must be the prototype, so ignore
if (nsnull == a) {
return JS_TRUE;
}
if (JSVAL_IS_INT(id)) {
switch(JSVAL_TO_INT(id)) {
case INSTALLVERSION_MAJOR:
{
PRInt32 prop;
int32 temp;
if (JSVAL_IS_NUMBER(*vp) && JS_ValueToInt32(cx, *vp, &temp)) {
prop = (PRInt32)temp;
}
else {
JS_ReportError(cx, "Parameter must be a number");
return JS_FALSE;
}
a->SetMajor(prop);
break;
}
case INSTALLVERSION_MINOR:
{
PRInt32 prop;
int32 temp;
if (JSVAL_IS_NUMBER(*vp) && JS_ValueToInt32(cx, *vp, &temp)) {
prop = (PRInt32)temp;
}
else {
JS_ReportError(cx, "Parameter must be a number");
return JS_FALSE;
}
a->SetMinor(prop);
break;
}
case INSTALLVERSION_RELEASE:
{
PRInt32 prop;
int32 temp;
if (JSVAL_IS_NUMBER(*vp) && JS_ValueToInt32(cx, *vp, &temp)) {
prop = (PRInt32)temp;
}
else {
JS_ReportError(cx, "Parameter must be a number");
return JS_FALSE;
}
a->SetRelease(prop);
break;
}
case INSTALLVERSION_BUILD:
{
PRInt32 prop;
int32 temp;
if (JSVAL_IS_NUMBER(*vp) && JS_ValueToInt32(cx, *vp, &temp)) {
prop = (PRInt32)temp;
}
else {
JS_ReportError(cx, "Parameter must be a number");
return JS_FALSE;
}
a->SetBuild(prop);
break;
}
default:
return nsJSUtils::nsCallJSScriptObjectSetProperty(a, cx, id, vp);
}
}
else {
return nsJSUtils::nsCallJSScriptObjectSetProperty(a, cx, id, vp);
}
return PR_TRUE;
}
//
// InstallVersion finalizer
//
PR_STATIC_CALLBACK(void)
FinalizeInstallVersion(JSContext *cx, JSObject *obj)
{
nsJSUtils::nsGenericFinalize(cx, obj);
}
//
// InstallVersion enumerate
//
PR_STATIC_CALLBACK(JSBool)
EnumerateInstallVersion(JSContext *cx, JSObject *obj)
{
return nsJSUtils::nsGenericEnumerate(cx, obj);
}
//
// InstallVersion resolve
//
PR_STATIC_CALLBACK(JSBool)
ResolveInstallVersion(JSContext *cx, JSObject *obj, jsval id)
{
return nsJSUtils::nsGenericResolve(cx, obj, id);
}
//
// Native method Init
//
PR_STATIC_CALLBACK(JSBool)
InstallVersionInit(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsIDOMInstallVersion *nativeThis = (nsIDOMInstallVersion*)JS_GetPrivate(cx, obj);
JSBool rBool = JS_FALSE;
nsAutoString b0;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if (nsnull == nativeThis) {
return JS_TRUE;
}
if (argc >= 1) {
nsJSUtils::nsConvertJSValToString(b0, cx, argv[0]);
if (NS_OK != nativeThis->Init(b0)) {
return JS_FALSE;
}
*rval = JSVAL_VOID;
}
else {
JS_ReportError(cx, "Function init requires 1 parameters");
return JS_FALSE;
}
return JS_TRUE;
}
//
// Native method ToString
//
PR_STATIC_CALLBACK(JSBool)
InstallVersionToString(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsIDOMInstallVersion *nativeThis = (nsIDOMInstallVersion*)JS_GetPrivate(cx, obj);
JSBool rBool = JS_FALSE;
nsAutoString nativeRet;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if (nsnull == nativeThis) {
return JS_TRUE;
}
if (argc >= 0) {
if (NS_OK != nativeThis->ToString(nativeRet)) {
return JS_FALSE;
}
nsJSUtils::nsConvertStringToJSVal(nativeRet, cx, rval);
}
else {
JS_ReportError(cx, "Function toString requires 0 parameters");
return JS_FALSE;
}
return JS_TRUE;
}
//
// Native method CompareTo
//
PR_STATIC_CALLBACK(JSBool)
InstallVersionCompareTo(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsIDOMInstallVersion *nativeThis = (nsIDOMInstallVersion*)JS_GetPrivate(cx, obj);
JSBool rBool = JS_FALSE;
PRInt32 nativeRet;
nsString b0str;
PRInt32 b0int;
PRInt32 b1int;
PRInt32 b2int;
PRInt32 b3int;
nsIDOMInstallVersionPtr versionObj;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if (nsnull == nativeThis) {
return JS_TRUE;
}
if(argc >= 4)
{
// public int CompareTo(int major,
// int minor,
// int release,
// int build);
if(!JSVAL_IS_INT(argv[0]))
{
JS_ReportError(cx, "1st parameter must be a number");
return JS_FALSE;
}
else if(!JSVAL_IS_INT(argv[1]))
{
JS_ReportError(cx, "2nd parameter must be a number");
return JS_FALSE;
}
else if(!JSVAL_IS_INT(argv[2]))
{
JS_ReportError(cx, "3rd parameter must be a number");
return JS_FALSE;
}
else if(!JSVAL_IS_INT(argv[3]))
{
JS_ReportError(cx, "4th parameter must be a number");
return JS_FALSE;
}
b0int = JSVAL_TO_INT(argv[0]);
b1int = JSVAL_TO_INT(argv[1]);
b2int = JSVAL_TO_INT(argv[2]);
b3int = JSVAL_TO_INT(argv[3]);
if(NS_OK != nativeThis->CompareTo(b0int, b1int, b2int, b3int, &nativeRet))
{
return JS_FALSE;
}
*rval = INT_TO_JSVAL(nativeRet);
}
else if(argc >= 1)
{
// public int AddDirectory(String version); --OR-- VersionInfo version
if(JSVAL_IS_OBJECT(argv[0]))
{
if(JS_FALSE == ConvertJSValToObj((nsISupports **)&versionObj,
kIInstallVersionIID,
"InstallVersion",
cx,
argv[0]))
{
return JS_FALSE;
}
if(NS_OK != nativeThis->CompareTo(versionObj, &nativeRet))
{
return JS_FALSE;
}
}
else
{
ConvertJSValToStr(b0str, cx, argv[0]);
if(NS_OK != nativeThis->CompareTo(b0str, &nativeRet))
{
return JS_FALSE;
}
}
*rval = INT_TO_JSVAL(nativeRet);
}
else
{
JS_ReportError(cx, "Function compareTo requires 4 parameters");
return JS_FALSE;
}
return JS_TRUE;
}
/***********************************************************************/
//
// class for InstallVersion
//
JSClass InstallVersionClass = {
"InstallVersion",
JSCLASS_HAS_PRIVATE,
JS_PropertyStub,
JS_PropertyStub,
GetInstallVersionProperty,
SetInstallVersionProperty,
EnumerateInstallVersion,
ResolveInstallVersion,
JS_ConvertStub,
FinalizeInstallVersion
};
//
// InstallVersion class properties
//
static JSPropertySpec InstallVersionProperties[] =
{
{"major", INSTALLVERSION_MAJOR, JSPROP_ENUMERATE},
{"minor", INSTALLVERSION_MINOR, JSPROP_ENUMERATE},
{"release", INSTALLVERSION_RELEASE, JSPROP_ENUMERATE},
{"build", INSTALLVERSION_BUILD, JSPROP_ENUMERATE},
{0}
};
//
// InstallVersion class methods
//
static JSFunctionSpec InstallVersionMethods[] =
{
{"init", InstallVersionInit, 1},
{"toString", InstallVersionToString, 0},
{"compareTo", InstallVersionCompareTo, 1},
{0}
};
//
// InstallVersion constructor
//
PR_STATIC_CALLBACK(JSBool)
InstallVersion(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsresult result;
nsIID classID;
nsIScriptContext* context = (nsIScriptContext*)JS_GetContextPrivate(cx);
nsIScriptNameSpaceManager* manager;
nsIDOMInstallVersion *nativeThis;
nsIScriptObjectOwner *owner = nsnull;
static NS_DEFINE_IID(kIDOMInstallVersionIID, NS_IDOMINSTALLVERSION_IID);
result = context->GetNameSpaceManager(&manager);
if (NS_OK != result) {
return JS_FALSE;
}
result = manager->LookupName("InstallVersion", PR_TRUE, classID);
NS_RELEASE(manager);
if (NS_OK != result) {
return JS_FALSE;
}
result = nsRepository::CreateInstance(classID,
nsnull,
kIDOMInstallVersionIID,
(void **)&nativeThis);
if (NS_OK != result) {
return JS_FALSE;
}
// XXX We should be calling Init() on the instance
result = nativeThis->QueryInterface(kIScriptObjectOwnerIID, (void **)&owner);
if (NS_OK != result) {
NS_RELEASE(nativeThis);
return JS_FALSE;
}
owner->SetScriptObject((void *)obj);
JS_SetPrivate(cx, obj, nativeThis);
NS_RELEASE(owner);
return JS_TRUE;
}
//
// InstallVersion class initialization
//
nsresult NS_InitInstallVersionClass(nsIScriptContext *aContext, void **aPrototype)
{
JSContext *jscontext = (JSContext *)aContext->GetNativeContext();
JSObject *proto = nsnull;
JSObject *constructor = nsnull;
JSObject *parent_proto = nsnull;
JSObject *global = JS_GetGlobalObject(jscontext);
jsval vp;
if ((PR_TRUE != JS_LookupProperty(jscontext, global, "InstallVersion", &vp)) ||
!JSVAL_IS_OBJECT(vp) ||
((constructor = JSVAL_TO_OBJECT(vp)) == nsnull) ||
(PR_TRUE != JS_LookupProperty(jscontext, JSVAL_TO_OBJECT(vp), "prototype", &vp)) ||
!JSVAL_IS_OBJECT(vp)) {
proto = JS_InitClass(jscontext, // context
global, // global object
parent_proto, // parent proto
&InstallVersionClass, // JSClass
InstallVersion, // JSNative ctor
0, // ctor args
InstallVersionProperties, // proto props
InstallVersionMethods, // proto funcs
nsnull, // ctor props (static)
nsnull); // ctor funcs (static)
if (nsnull == proto) {
return NS_ERROR_FAILURE;
}
if ((PR_TRUE == JS_LookupProperty(jscontext, global, "InstallVersion", &vp)) &&
JSVAL_IS_OBJECT(vp) &&
((constructor = JSVAL_TO_OBJECT(vp)) != nsnull)) {
vp = INT_TO_JSVAL(nsIDOMInstallVersion::EQUAL);
JS_SetProperty(jscontext, constructor, "EQUAL", &vp);
vp = INT_TO_JSVAL(nsIDOMInstallVersion::BLD_DIFF);
JS_SetProperty(jscontext, constructor, "BLD_DIFF", &vp);
vp = INT_TO_JSVAL(nsIDOMInstallVersion::BLD_DIFF_MINUS);
JS_SetProperty(jscontext, constructor, "BLD_DIFF_MINUS", &vp);
vp = INT_TO_JSVAL(nsIDOMInstallVersion::REL_DIFF);
JS_SetProperty(jscontext, constructor, "REL_DIFF", &vp);
vp = INT_TO_JSVAL(nsIDOMInstallVersion::REL_DIFF_MINUS);
JS_SetProperty(jscontext, constructor, "REL_DIFF_MINUS", &vp);
vp = INT_TO_JSVAL(nsIDOMInstallVersion::MINOR_DIFF);
JS_SetProperty(jscontext, constructor, "MINOR_DIFF", &vp);
vp = INT_TO_JSVAL(nsIDOMInstallVersion::MINOR_DIFF_MINUS);
JS_SetProperty(jscontext, constructor, "MINOR_DIFF_MINUS", &vp);
vp = INT_TO_JSVAL(nsIDOMInstallVersion::MAJOR_DIFF);
JS_SetProperty(jscontext, constructor, "MAJOR_DIFF", &vp);
vp = INT_TO_JSVAL(nsIDOMInstallVersion::MAJOR_DIFF_MINUS);
JS_SetProperty(jscontext, constructor, "MAJOR_DIFF_MINUS", &vp);
}
}
else if ((nsnull != constructor) && JSVAL_IS_OBJECT(vp)) {
proto = JSVAL_TO_OBJECT(vp);
}
else {
return NS_ERROR_FAILURE;
}
if (aPrototype) {
*aPrototype = proto;
}
return NS_OK;
}
//
// Method for creating a new InstallVersion JavaScript object
//
extern "C" NS_DOM nsresult NS_NewScriptInstallVersion(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn)
{
NS_PRECONDITION(nsnull != aContext && nsnull != aSupports && nsnull != aReturn, "null argument to NS_NewScriptInstallVersion");
JSObject *proto;
JSObject *parent;
nsIScriptObjectOwner *owner;
JSContext *jscontext = (JSContext *)aContext->GetNativeContext();
nsresult result = NS_OK;
nsIDOMInstallVersion *aInstallVersion;
if (nsnull == aParent) {
parent = nsnull;
}
else if (NS_OK == aParent->QueryInterface(kIScriptObjectOwnerIID, (void**)&owner)) {
if (NS_OK != owner->GetScriptObject(aContext, (void **)&parent)) {
NS_RELEASE(owner);
return NS_ERROR_FAILURE;
}
NS_RELEASE(owner);
}
else {
return NS_ERROR_FAILURE;
}
if (NS_OK != NS_InitInstallVersionClass(aContext, (void **)&proto)) {
return NS_ERROR_FAILURE;
}
result = aSupports->QueryInterface(kIInstallVersionIID, (void **)&aInstallVersion);
if (NS_OK != result) {
return result;
}
// create a js object for this class
*aReturn = JS_NewObject(jscontext, &InstallVersionClass, proto, parent);
if (nsnull != *aReturn) {
// connect the native object to the js object
JS_SetPrivate(jscontext, (JSObject *)*aReturn, aInstallVersion);
}
else {
NS_RELEASE(aInstallVersion);
return NS_ERROR_FAILURE;
}
return NS_OK;
}

View File

@@ -0,0 +1,207 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.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.
*/
#include "jsapi.h"
#include "nscore.h"
#include "nsIScriptContext.h"
#include "nsString.h"
#include "nsInstall.h"
#include "nsWinProfile.h"
#include "nsJSWinProfile.h"
extern void ConvertJSValToStr(nsString& aString,
JSContext* aContext,
jsval aValue);
extern void ConvertStrToJSVal(const nsString& aProp,
JSContext* aContext,
jsval* aReturn);
extern PRBool ConvertJSValToBool(PRBool* aProp,
JSContext* aContext,
jsval aValue);
extern PRBool ConvertJSValToObj(nsISupports** aSupports,
REFNSIID aIID,
const nsString& aTypeName,
JSContext* aContext,
jsval aValue);
static void PR_CALLBACK WinProfileCleanup(JSContext *cx, JSObject *obj)
{
nsWinProfile *nativeThis = (nsWinProfile*)JS_GetPrivate(cx, obj);
delete nativeThis;
}
/***********************************************************************************/
// Native mothods for WinProfile functions
//
// Native method GetString
//
PR_STATIC_CALLBACK(JSBool)
WinProfileGetString(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsWinProfile *nativeThis = (nsWinProfile*)JS_GetPrivate(cx, obj);
nsString nativeRet;
nsAutoString b0;
nsAutoString b1;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if(nsnull == nativeThis)
{
return JS_TRUE;
}
if(argc >= 2)
{
// public int getString ( String section,
// String key);
ConvertJSValToStr(b0, cx, argv[0]);
ConvertJSValToStr(b1, cx, argv[1]);
nativeThis->getString(b0, b1, &nativeRet);
ConvertStrToJSVal(nativeRet, cx, rval);
}
else
{
JS_ReportError(cx, "WinProfile.getString() parameters error");
return JS_FALSE;
}
return JS_TRUE;
}
//
// Native method WriteString
//
PR_STATIC_CALLBACK(JSBool)
WinProfileWriteString(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsWinProfile *nativeThis = (nsWinProfile*)JS_GetPrivate(cx, obj);
PRInt32 nativeRet;
nsAutoString b0;
nsAutoString b1;
nsAutoString b2;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if(nsnull == nativeThis)
{
return JS_TRUE;
}
if(argc >= 3)
{
// public int writeString ( String section,
// String key,
// String value);
ConvertJSValToStr(b0, cx, argv[0]);
ConvertJSValToStr(b1, cx, argv[1]);
ConvertJSValToStr(b2, cx, argv[2]);
if(NS_OK != nativeThis->writeString(b0, b1, b2, &nativeRet))
{
return JS_FALSE;
}
*rval = INT_TO_JSVAL(nativeRet);
}
else
{
JS_ReportError(cx, "WinProfile.writeString() parameters error");
return JS_FALSE;
}
return JS_TRUE;
}
//
// WinProfile constructor
//
PR_STATIC_CALLBACK(JSBool)
WinProfile(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
return JS_FALSE;
}
/***********************************************************************/
//
// class for WinProfile
//
JSClass WinProfileClass = {
"WinProfile",
JSCLASS_HAS_PRIVATE,
JS_PropertyStub,
JS_PropertyStub,
JS_PropertyStub,
JS_PropertyStub,
JS_EnumerateStub,
JS_ResolveStub,
JS_ConvertStub,
WinProfileCleanup
};
static JSConstDoubleSpec winprofile_constants[] =
{
{0}
};
//
// WinProfile class methods
//
static JSFunctionSpec WinProfileMethods[] =
{
{"getString", WinProfileGetString, 2},
{"writeString", WinProfileWriteString, 3},
{0}
};
PRInt32
InitWinProfilePrototype(JSContext *jscontext, JSObject *global, JSObject **winProfilePrototype)
{
*winProfilePrototype = JS_InitClass( jscontext, // context
global, // global object
nsnull, // parent proto
&WinProfileClass, // JSClass
nsnull, // JSNative ctor
0, // ctor args
nsnull, // proto props
nsnull, // proto funcs
nsnull, // ctor props (static)
WinProfileMethods); // ctor funcs (static)
if(nsnull == *winProfilePrototype)
{
return NS_ERROR_FAILURE;
}
if(PR_FALSE == JS_DefineConstDoubles(jscontext, *winProfilePrototype, winprofile_constants))
return NS_ERROR_FAILURE;
return NS_OK;
}

View File

@@ -0,0 +1,25 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.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_JSWINPROTOTYPE_H__
#define __NS_JSWINPROTOTYPE_H__
PRInt32
InitWinProfilePrototype(JSContext *jscontext, JSObject *global, JSObject **winRegPrototype);
#endif

View File

@@ -0,0 +1,514 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.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.
*/
#include "jsapi.h"
#include "nscore.h"
#include "nsIScriptContext.h"
#include "nsString.h"
#include "nsInstall.h"
#include "nsWinReg.h"
#include "nsJSWinReg.h"
static void PR_CALLBACK WinRegCleanup(JSContext *cx, JSObject *obj);
extern void ConvertJSValToStr(nsString& aString,
JSContext* aContext,
jsval aValue);
extern void ConvertStrToJSVal(const nsString& aProp,
JSContext* aContext,
jsval* aReturn);
extern PRBool ConvertJSValToBool(PRBool* aProp,
JSContext* aContext,
jsval aValue);
extern PRBool ConvertJSValToObj(nsISupports** aSupports,
REFNSIID aIID,
const nsString& aTypeName,
JSContext* aContext,
jsval aValue);
static void PR_CALLBACK WinRegCleanup(JSContext *cx, JSObject *obj)
{
nsWinReg *nativeThis = (nsWinReg*)JS_GetPrivate(cx, obj);
delete nativeThis;
}
/***********************************************************************************/
// Native mothods for WinReg functions
//
// Native method SetRootKey
//
PR_STATIC_CALLBACK(JSBool)
WinRegSetRootKey(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsWinReg *nativeThis = (nsWinReg*)JS_GetPrivate(cx, obj);
JSBool rBool = JS_FALSE;
PRInt32 b0;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if(nsnull == nativeThis)
{
return JS_TRUE;
}
if(argc >= 1)
{
// public int setRootKey(PRInt32 key);
if(!JS_ValueToInt32(cx, argv[0], (int32 *)&b0))
{
JS_ReportError(cx, "Parameter must be a number");
return JS_FALSE;
}
if(NS_OK != nativeThis->setRootKey(b0))
{
return JS_FALSE;
}
*rval = JSVAL_VOID;
}
else
{
JS_ReportError(cx, "Function SetRootKey requires 1 parameters");
return JS_FALSE;
}
return JS_TRUE;
}
//
// Native method CreateKey
//
PR_STATIC_CALLBACK(JSBool)
WinRegCreateKey(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsWinReg *nativeThis = (nsWinReg*)JS_GetPrivate(cx, obj);
PRInt32 nativeRet;
nsAutoString b0;
nsAutoString b1;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if(nsnull == nativeThis)
{
return JS_TRUE;
}
if(argc >= 2)
{
// public int createKey ( String subKey,
// String className);
ConvertJSValToStr(b0, cx, argv[0]);
ConvertJSValToStr(b1, cx, argv[1]);
if(NS_OK != nativeThis->createKey(b0, b1, &nativeRet))
{
return JS_FALSE;
}
*rval = INT_TO_JSVAL(nativeRet);
}
else
{
JS_ReportError(cx, "WinReg.CreateKey() parameters error");
return JS_FALSE;
}
return JS_TRUE;
}
//
// Native method DeleteKey
//
PR_STATIC_CALLBACK(JSBool)
WinRegDeleteKey(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsWinReg *nativeThis = (nsWinReg*)JS_GetPrivate(cx, obj);
PRInt32 nativeRet;
nsAutoString b0;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if(nsnull == nativeThis)
{
return JS_TRUE;
}
if(argc >= 1)
{
// public int deleteKey ( String subKey);
ConvertJSValToStr(b0, cx, argv[0]);
if(NS_OK != nativeThis->deleteKey(b0, &nativeRet))
{
return JS_FALSE;
}
*rval = INT_TO_JSVAL(nativeRet);
}
else
{
JS_ReportError(cx, "WinReg.DeleteKey() parameters error");
return JS_FALSE;
}
return JS_TRUE;
}
//
// Native method DeleteValue
//
PR_STATIC_CALLBACK(JSBool)
WinRegDeleteValue(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsWinReg *nativeThis = (nsWinReg*)JS_GetPrivate(cx, obj);
PRInt32 nativeRet;
nsString b0;
nsString b1;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if(nsnull == nativeThis)
{
return JS_TRUE;
}
if(argc >= 2)
{
// public int deleteValue ( String subKey,
// String valueName);
ConvertJSValToStr(b0, cx, argv[0]);
ConvertJSValToStr(b1, cx, argv[1]);
if(NS_OK != nativeThis->deleteValue(b0, b1, &nativeRet))
{
return JS_FALSE;
}
*rval = INT_TO_JSVAL(nativeRet);
}
else
{
JS_ReportError(cx, "WinReg.DeleteValue() parameters error");
return JS_FALSE;
}
return JS_TRUE;
}
//
// Native method SetValueString
//
PR_STATIC_CALLBACK(JSBool)
WinRegSetValueString(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsWinReg *nativeThis = (nsWinReg*)JS_GetPrivate(cx, obj);
PRInt32 nativeRet;
nsAutoString b0;
nsAutoString b1;
nsAutoString b2;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if(nsnull == nativeThis)
{
return JS_TRUE;
}
if(argc >= 3)
{
// public int setValueString ( String subKey,
// String valueName,
// String value);
ConvertJSValToStr(b0, cx, argv[0]);
ConvertJSValToStr(b1, cx, argv[1]);
ConvertJSValToStr(b2, cx, argv[2]);
if(NS_OK != nativeThis->setValueString(b0, b1, b2, &nativeRet))
{
return JS_FALSE;
}
*rval = INT_TO_JSVAL(nativeRet);
}
else
{
JS_ReportError(cx, "WinReg.SetValueString() parameters error");
return JS_FALSE;
}
return JS_TRUE;
}
//
// Native method GetValueString
//
PR_STATIC_CALLBACK(JSBool)
WinRegGetValueString(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsWinReg *nativeThis = (nsWinReg*)JS_GetPrivate(cx, obj);
nsString* nativeRet;
nsAutoString b0;
nsAutoString b1;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if(nsnull == nativeThis)
{
return JS_TRUE;
}
if(argc >= 2)
{
// public int getValueString ( String subKey,
// String valueName);
ConvertJSValToStr(b0, cx, argv[0]);
ConvertJSValToStr(b1, cx, argv[1]);
if(NS_OK != nativeThis->getValueString(b0, b1, &nativeRet))
{
return JS_FALSE;
}
*rval = INT_TO_JSVAL(nativeRet);
}
else
{
JS_ReportError(cx, "WinReg.GetValueString() parameters error");
return JS_FALSE;
}
return JS_TRUE;
}
//
// Native method SetValue
//
PR_STATIC_CALLBACK(JSBool)
WinRegSetValue(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsWinReg *nativeThis = (nsWinReg*)JS_GetPrivate(cx, obj);
PRInt32 nativeRet;
nsAutoString b0;
nsAutoString b1;
// nsWinRegItem *b2;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if(nsnull == nativeThis)
{
return JS_TRUE;
}
if(argc >= 3)
{
// public int setValue ( String subKey,
// String valueName,
// nsWinRegItem *value);
ConvertJSValToStr(b0, cx, argv[0]);
ConvertJSValToStr(b1, cx, argv[1]);
// fix: this parameter is an object, not a string.
// A way needs to be figured out to convert the JSVAL to this object type
// ConvertJSValToStr(b2, cx, argv[2]);
// if(NS_OK != nativeThis->setValue(b0, b1, b2, &nativeRet))
// {
// return JS_FALSE;
// }
*rval = INT_TO_JSVAL(nativeRet);
}
else
{
JS_ReportError(cx, "WinReg.SetValue() parameters error");
return JS_FALSE;
}
return JS_TRUE;
}
//
// Native method GetValue
//
PR_STATIC_CALLBACK(JSBool)
WinRegGetValue(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsWinReg *nativeThis = (nsWinReg*)JS_GetPrivate(cx, obj);
nsWinRegValue *nativeRet;
nsAutoString b0;
nsAutoString b1;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if(nsnull == nativeThis)
{
return JS_TRUE;
}
if(argc >= 2)
{
// public int getValue ( String subKey,
// String valueName);
ConvertJSValToStr(b0, cx, argv[0]);
ConvertJSValToStr(b1, cx, argv[1]);
if(NS_OK != nativeThis->getValue(b0, b1, &nativeRet))
{
return JS_FALSE;
}
*rval = INT_TO_JSVAL(nativeRet);
}
else
{
JS_ReportError(cx, "WinReg.GetValue() parameters error");
return JS_FALSE;
}
return JS_TRUE;
}
//
// Native method InstallObject
//
PR_STATIC_CALLBACK(JSBool)
WinRegInstallObject(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
nsWinReg *nativeThis = (nsWinReg*)JS_GetPrivate(cx, obj);
nsInstall *nativeRet;
nsAutoString b0;
nsAutoString b1;
*rval = JSVAL_NULL;
// If there's no private data, this must be the prototype, so ignore
if(nsnull == nativeThis)
{
return JS_TRUE;
}
// public int installObject ();
nativeRet = nativeThis->installObject();
*rval = INT_TO_JSVAL(nativeRet);
return JS_TRUE;
}
//
// WinReg constructor
//
PR_STATIC_CALLBACK(JSBool)
WinReg(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
{
return JS_FALSE;
}
/***********************************************************************/
//
// class for WinReg
//
JSClass WinRegClass = {
"WinReg",
JSCLASS_HAS_PRIVATE,
JS_PropertyStub,
JS_PropertyStub,
JS_PropertyStub,
JS_PropertyStub,
JS_EnumerateStub,
JS_ResolveStub,
JS_ConvertStub,
WinRegCleanup
};
static JSConstDoubleSpec winreg_constants[] =
{
{ nsWinReg::HKEY_CLASSES_ROOT, "HKEY_CLASSES_ROOT" },
{ nsWinReg::HKEY_CURRENT_USER, "HKEY_CURRENT_USER" },
{ nsWinReg::HKEY_LOCAL_MACHINE, "HKEY_LOCAL_MACHINE" },
{ nsWinReg::HKEY_USERS, "HKEY_USERS" },
{0}
};
//
// WinReg class methods
//
static JSFunctionSpec WinRegMethods[] =
{
{"setRootKey", WinRegSetRootKey, 1},
{"createKey", WinRegCreateKey, 2},
{"deleteKey", WinRegDeleteKey, 1},
{"deleteValue", WinRegDeleteValue, 2},
{"setValueString", WinRegSetValueString, 3},
{"getValueString", WinRegGetValueString, 2},
{"setValue", WinRegSetValue, 3},
{"getValue", WinRegGetValue, 2},
{"installObject", WinRegInstallObject, 0},
{0}
};
PRInt32
InitWinRegPrototype(JSContext *jscontext, JSObject *global, JSObject **winRegPrototype)
{
*winRegPrototype = JS_InitClass( jscontext, // context
global, // global object
nsnull, // parent proto
&WinRegClass, // JSClass
nsnull, // JSNative ctor
0, // ctor args
nsnull, // proto props
nsnull, // proto funcs
nsnull, // ctor props (static)
WinRegMethods); // ctor funcs (static)
if(nsnull == *winRegPrototype)
{
return NS_ERROR_FAILURE;
}
if(PR_FALSE == JS_DefineConstDoubles(jscontext, *winRegPrototype, winreg_constants))
return NS_ERROR_FAILURE;
return NS_OK;
}

View File

@@ -0,0 +1,25 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.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_JSWINREG_H__
#define __NS_JSWINREG_H__
PRInt32
InitWinRegPrototype(JSContext *jscontext, JSObject *global, JSObject **winRegPrototype);
#endif

View File

@@ -0,0 +1,134 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Douglas Turner <dougt@netscape.com>
*/
#include "nsIXPInstallProgress.h"
#include "nsLoggingProgressNotifier.h"
#include "nsFileSpec.h"
#include "nsFileStream.h"
#include "nsSpecialSystemDirectory.h"
#include "nspr.h"
nsLoggingProgressNotifier::nsLoggingProgressNotifier()
{
NS_INIT_REFCNT();
}
nsLoggingProgressNotifier::~nsLoggingProgressNotifier()
{
}
NS_IMPL_ISUPPORTS(nsLoggingProgressNotifier, nsIXPInstallProgress::GetIID());
NS_IMETHODIMP
nsLoggingProgressNotifier::BeforeJavascriptEvaluation()
{
nsSpecialSystemDirectory logFile(nsSpecialSystemDirectory::OS_CurrentProcessDirectory);
logFile += "Install.log";
mLogStream = new nsOutputFileStream(logFile, PR_WRONLY | PR_CREATE_FILE | PR_APPEND, 0744 );
mLogStream->seek(logFile.GetFileSize());
return NS_OK;
}
NS_IMETHODIMP
nsLoggingProgressNotifier::AfterJavascriptEvaluation()
{
char* time;
GetTime(&time);
*mLogStream << nsEndl;
*mLogStream << " Finished Installation " << time << nsEndl << nsEndl;
PL_strfree(time);
mLogStream->close();
delete mLogStream;
mLogStream = nsnull;
return NS_OK;
}
NS_IMETHODIMP
nsLoggingProgressNotifier::InstallStarted(const char* UIPackageName)
{
if (mLogStream == nsnull) return -1;
char* time;
GetTime(&time);
*mLogStream << "---------------------------------------------------------------------------" << nsEndl;
*mLogStream << UIPackageName << nsEndl;
*mLogStream << "---------------------------------------------------------------------------" << nsEndl;
*mLogStream << nsEndl;
*mLogStream << " Starting Installation at " << nsAutoCString(time) << nsEndl;
*mLogStream << nsEndl;
PL_strfree(time);
return NS_OK;
}
NS_IMETHODIMP
nsLoggingProgressNotifier::ItemScheduled(const char* message )
{
return NS_OK;
}
NS_IMETHODIMP
nsLoggingProgressNotifier::InstallFinalization(const char* message, PRInt32 itemNum, PRInt32 totNum )
{
if (mLogStream == nsnull) return -1;
*mLogStream << " Item [" << (itemNum+1) << "/" << totNum << "]\t" << message << nsEndl;
return NS_OK;
}
NS_IMETHODIMP
nsLoggingProgressNotifier::InstallAborted()
{
if (mLogStream == nsnull) return -1;
char* time;
GetTime(&time);
*mLogStream << " Aborted Installation at " << time << nsEndl << nsEndl;
PL_strfree(time);
return NS_OK;
}
void
nsLoggingProgressNotifier::GetTime(char** aString)
{
PRExplodedTime et;
char line[256];
PR_ExplodeTime(PR_Now(), PR_LocalTimeParameters, &et);
PR_FormatTimeUSEnglish(line, sizeof(line), "%m/%d/%Y %H:%M:%S", &et);
*aString = PL_strdup(line);
}

View File

@@ -0,0 +1,55 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef nsLoggingProgressNotifier_H__
#define nsLoggingProgressNotifier_H__
#include "nsIXPInstallProgress.h"
#include "nsFileStream.h"
class nsLoggingProgressNotifier : public nsIXPInstallProgress
{
public:
nsLoggingProgressNotifier();
virtual ~nsLoggingProgressNotifier();
NS_DECL_ISUPPORTS
NS_IMETHOD BeforeJavascriptEvaluation();
NS_IMETHOD AfterJavascriptEvaluation();
NS_IMETHOD InstallStarted(const char* UIPackageName);
NS_IMETHOD ItemScheduled(const char* message );
NS_IMETHOD InstallFinalization(const char* message, PRInt32 itemNum, PRInt32 totNum );
NS_IMETHOD InstallAborted();
private:
void GetTime(char** aString);
nsOutputFileStream *mLogStream;
};
#endif

View File

@@ -0,0 +1,666 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.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.
*
* 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.
*/
#include "nscore.h"
#include "nsIFactory.h"
#include "nsISupports.h"
#include "nsIComponentManager.h"
#include "nsIServiceManager.h"
#include "nsCOMPtr.h"
#include "nspr.h"
#include "nsVector.h"
#include "VerReg.h"
#include "nsSpecialSystemDirectory.h"
#include "nsInstall.h"
#include "nsSoftwareUpdateIIDs.h"
#include "nsSoftwareUpdate.h"
#include "nsSoftwareUpdateRun.h"
#include "nsInstallTrigger.h"
#include "nsInstallVersion.h"
#include "ScheduledTasks.h"
#include "nsTopProgressNotifier.h"
#include "nsLoggingProgressNotifier.h"
#include "nsInstallProgressDialog.h"
#include "nsIAppShellComponent.h"
#include "nsIRegistry.h"
/* For Javascript Namespace Access */
#include "nsDOMCID.h"
#include "nsIServiceManager.h"
#include "nsINameSpaceManager.h"
#include "nsIScriptObjectOwner.h"
#include "nsIScriptGlobalObject.h"
#include "nsIScriptNameSetRegistry.h"
#include "nsIScriptNameSpaceManager.h"
#include "nsIScriptExternalNameSet.h"
#include "nsIEventQueueService.h"
#include "nsProxyObjectManager.h"
////////////////////////////////////////////////////////////////////////////////
// Globals
////////////////////////////////////////////////////////////////////////////////
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
static NS_DEFINE_IID(kIScriptObjectOwnerIID, NS_ISCRIPTOBJECTOWNER_IID);
static NS_DEFINE_CID(kComponentManagerCID, NS_COMPONENTMANAGER_CID);
static NS_DEFINE_IID(kIScriptNameSetRegistryIID, NS_ISCRIPTNAMESETREGISTRY_IID);
static NS_DEFINE_IID(kCScriptNameSetRegistryCID, NS_SCRIPT_NAMESET_REGISTRY_CID);
static NS_DEFINE_IID(kIScriptExternalNameSetIID, NS_ISCRIPTEXTERNALNAMESET_IID);
static NS_DEFINE_IID(kISoftwareUpdate_IID, NS_ISOFTWAREUPDATE_IID);
static NS_DEFINE_IID(kSoftwareUpdate_CID, NS_SoftwareUpdate_CID);
static NS_DEFINE_IID(kIInstallTrigger_IID, NS_IDOMINSTALLTRIGGERGLOBAL_IID);
static NS_DEFINE_IID(kInstallTrigger_CID, NS_SoftwareUpdateInstallTrigger_CID);
static NS_DEFINE_IID(kIInstallVersion_IID, NS_IDOMINSTALLVERSION_IID);
static NS_DEFINE_IID(kInstallVersion_CID, NS_SoftwareUpdateInstallVersion_CID);
static NS_DEFINE_IID(kProxyObjectManagerIID, NS_IPROXYEVENT_MANAGER_IID);
static NS_DEFINE_IID(kEventQueueServiceIID, NS_IEVENTQUEUESERVICE_IID);
nsSoftwareUpdate::nsSoftwareUpdate()
{
#ifdef NS_DEBUG
printf("XPInstall Component created\n");
#endif
NS_INIT_ISUPPORTS();
/***************************************/
/* Create us a queue */
/***************************************/
mInstalling = nsnull;
mJarInstallQueue = new nsVector();
/***************************************/
/* Add us to the Javascript Name Space */
/***************************************/
new nsSoftwareUpdateNameSet();
/***************************************/
/* Register us with NetLib */
/***************************************/
// FIX
/***************************************/
/* Startup the Version Registry */
/***************************************/
NR_StartupRegistry(); /* startup the registry; if already started, this will essentially be a noop */
nsSpecialSystemDirectory appDir(nsSpecialSystemDirectory::OS_CurrentProcessDirectory);
VR_SetRegDirectory( appDir.GetNativePathCString() );
/***************************************/
/* Stupid Hack to test js env*/
/***************************************/
// FIX: HACK HACK HACK!
#if 0
nsSpecialSystemDirectory jarFile(nsSpecialSystemDirectory::OS_TemporaryDirectory);
jarFile += "test.jar";
if (jarFile.Exists())
{
InstallJar(nsString(nsFileURL(jarFile)), "", "");
}
#endif
/***************************************/
/* Perform Scheduled Tasks */
/***************************************/
PR_CreateThread(PR_USER_THREAD,
PerformScheduledTasks,
nsnull,
PR_PRIORITY_NORMAL,
PR_GLOBAL_THREAD,
PR_UNJOINABLE_THREAD,
0);
/***************************************/
/* Create a top level observer */
/***************************************/
mTopLevelObserver = new nsTopProgressNotifier();
nsLoggingProgressNotifier *logger = new nsLoggingProgressNotifier();
RegisterNotifier(logger);
nsIProxyObjectManager *manager;
nsInstallProgressDialog *dialog = new nsInstallProgressDialog();
nsInstallProgressDialog *proxy;
nsISupports *dialogBase;
nsresult rv = dialog->QueryInterface(kISupportsIID, (void**)&dialogBase);
if (NS_SUCCEEDED(rv))
{
rv = nsServiceManager::GetService( NS_XPCOMPROXY_PROGID,
kProxyObjectManagerIID,
(nsISupports **)&manager);
if (NS_SUCCEEDED(rv))
{
// I am assuming that the thread that starts us up is the UI thread. this will/may break
// I need to make a generic way of getting at the UI event queue.
nsIEventQueueService *eventQService;
rv = nsServiceManager::GetService(NS_EVENTQUEUESERVICE_PROGID,
kEventQueueServiceIID,
(nsISupports **)&eventQService);
if (NS_SUCCEEDED(rv))
{
nsIEventQueue *eventQ;
eventQService->GetThreadEventQueue(PR_GetCurrentThread(), &eventQ);
PLEventQueue *plEventQ;
eventQ->GetPLEventQueue(&plEventQ);
rv = manager->GetProxyObject(plEventQ, nsIXPInstallProgress::GetIID(), dialogBase, PROXY_SYNC, (void**)&proxy);
if (NS_SUCCEEDED(rv))
{
RegisterNotifier(proxy);
}
}
}
}
if (dialog)
dialog->Release();
}
nsSoftwareUpdate::~nsSoftwareUpdate()
{
#ifdef NS_DEBUG
printf("*** XPInstall Component destroyed\n");
#endif
if (mJarInstallQueue != nsnull)
{
PRUint32 i=0;
for (; i < mJarInstallQueue->GetSize(); i++)
{
nsInstallInfo* element = (nsInstallInfo*)mJarInstallQueue->Get(i);
//FIX: need to add to registry....
delete element;
}
mJarInstallQueue->RemoveAll();
delete (mJarInstallQueue);
mJarInstallQueue = nsnull;
}
NR_ShutdownRegistry();
}
NS_IMPL_ADDREF( nsSoftwareUpdate );
NS_IMPL_RELEASE( nsSoftwareUpdate );
NS_IMETHODIMP
nsSoftwareUpdate::QueryInterface( REFNSIID anIID, void **anInstancePtr )
{
nsresult rv = NS_OK;
/* Check for place to return result. */
if ( !anInstancePtr )
{
rv = NS_ERROR_NULL_POINTER;
}
else
{
/* Initialize result. */
*anInstancePtr = 0;
/* Check for IIDs we support and cast this appropriately. */
if ( anIID.Equals( nsISoftwareUpdate::GetIID() ) )
{
*anInstancePtr = (void*) ( (nsISoftwareUpdate*)this );
NS_ADDREF_THIS();
}
else if ( anIID.Equals( nsIAppShellComponent::GetIID() ) )
{
*anInstancePtr = (void*) ( (nsIAppShellComponent*)this );
NS_ADDREF_THIS();
}
else if ( anIID.Equals( kISupportsIID ) )
{
*anInstancePtr = (void*) ( (nsISupports*) (nsISoftwareUpdate*) this );
NS_ADDREF_THIS();
}
else
{
/* Not an interface we support. */\
rv = NS_NOINTERFACE;
}
}
return rv;
}
NS_IMETHODIMP
nsSoftwareUpdate::Initialize( nsIAppShellService *anAppShell, nsICmdLineService *aCmdLineService )
{
nsresult rv;
rv = nsServiceManager::RegisterService( NS_IXPINSTALLCOMPONENT_PROGID, ( (nsISupports*) (nsISoftwareUpdate*) this ) );
return rv;
}
NS_IMETHODIMP
nsSoftwareUpdate::Shutdown()
{
nsresult rv;
rv = nsServiceManager::ReleaseService( NS_IXPINSTALLCOMPONENT_PROGID, ( (nsISupports*) (nsISoftwareUpdate*) this ) );
return rv;
}
NS_IMETHODIMP
nsSoftwareUpdate::RegisterNotifier(nsIXPInstallProgress *notifier)
{
// we are going to ignore the returned ID and enforce that once you
// register a notifier, you can not remove it. This should at some
// point be fixed.
(void) mTopLevelObserver->RegisterNotifier(notifier);
return NS_OK;
}
NS_IMETHODIMP
nsSoftwareUpdate::GetTopLevelNotifier(nsIXPInstallProgress **notifier)
{
*notifier = mTopLevelObserver;
return NS_OK;
}
NS_IMETHODIMP
nsSoftwareUpdate::InstallJar( const nsString& fromURL,
const nsString& localFile,
long flags)
{
nsInstallInfo *installInfo = new nsInstallInfo(fromURL, localFile, flags);
mJarInstallQueue->Add( installInfo );
RunNextInstall();
return NS_OK;
}
NS_IMETHODIMP
nsSoftwareUpdate::InstallPending(void)
{
if (mInstalling || mJarInstallQueue->GetSize() > 0)
{
return 1;
}
else
{
return 0;
}
}
NS_IMETHODIMP
nsSoftwareUpdate::InstallJarCallBack()
{
nsInstallInfo *nextInstall = (nsInstallInfo*)mJarInstallQueue->Get(0);
if (nextInstall != nsnull)
delete nextInstall;
mJarInstallQueue->Remove(0);
mInstalling = PR_FALSE;
return RunNextInstall();
}
nsresult
nsSoftwareUpdate::RunNextInstall()
{
if (mInstalling == PR_TRUE)
return NS_OK;
mInstalling = PR_TRUE;
// check to see if there is anything in our queue
if (mJarInstallQueue->GetSize() <= 0)
{
mInstalling = PR_FALSE;
return NS_OK;
}
nsInstallInfo *nextInstall = (nsInstallInfo*)mJarInstallQueue->Get(0);
if (nextInstall->IsMultipleTrigger() == PR_FALSE)
{
RunInstall( nextInstall );
}
else
{
; // should we do something different?!
}
return NS_OK;
}
/////////////////////////////////////////////////////////////////////////
//
/////////////////////////////////////////////////////////////////////////
static PRInt32 gSoftwareUpdateLock = 0;
nsSoftwareUpdateFactory::nsSoftwareUpdateFactory(void)
{
NS_INIT_ISUPPORTS();
}
nsSoftwareUpdateFactory::~nsSoftwareUpdateFactory(void)
{
}
NS_IMPL_ISUPPORTS(nsSoftwareUpdateFactory,kIFactoryIID)
NS_IMETHODIMP
nsSoftwareUpdateFactory::CreateInstance(nsISupports *aOuter, REFNSIID aIID, void **aResult)
{
if (aResult == NULL)
{
return NS_ERROR_NULL_POINTER;
}
*aResult = NULL;
nsSoftwareUpdate *inst = new nsSoftwareUpdate();
if (inst == NULL)
return NS_ERROR_OUT_OF_MEMORY;
nsresult result = inst->QueryInterface(aIID, aResult);
if (NS_FAILED(result))
{
*aResult = NULL;
}
NS_ADDREF(inst); // Are we sure that we need to addref???
return result;
}
NS_IMETHODIMP
nsSoftwareUpdateFactory::LockFactory(PRBool aLock)
{
if (aLock)
PR_AtomicIncrement(&gSoftwareUpdateLock);
else
PR_AtomicDecrement(&gSoftwareUpdateLock);
return NS_OK;
}
////////////////////////////////////////////////////////////////////////////////
// nsSoftwareUpdateNameSet
////////////////////////////////////////////////////////////////////////////////
nsSoftwareUpdateNameSet::nsSoftwareUpdateNameSet()
{
NS_INIT_REFCNT();
nsIScriptNameSetRegistry *scriptNameSet;
nsresult result = nsServiceManager::GetService(kCScriptNameSetRegistryCID,
kIScriptNameSetRegistryIID,
(nsISupports **)&scriptNameSet);
if (NS_SUCCEEDED(result))
{
scriptNameSet->AddExternalNameSet(this);
}
}
nsSoftwareUpdateNameSet::~nsSoftwareUpdateNameSet()
{
}
NS_IMPL_ISUPPORTS(nsSoftwareUpdateNameSet, kIScriptExternalNameSetIID);
NS_IMETHODIMP
nsSoftwareUpdateNameSet::InitializeClasses(nsIScriptContext* aScriptContext)
{
nsresult result = NS_OK;
result = NS_InitInstallVersionClass(aScriptContext, nsnull);
if (NS_FAILED(result)) return result;
result = NS_InitInstallTriggerGlobalClass(aScriptContext, nsnull);
return result;
}
NS_IMETHODIMP
nsSoftwareUpdateNameSet::AddNameSet(nsIScriptContext* aScriptContext)
{
nsresult result = NS_OK;
nsIScriptNameSpaceManager* manager;
result = aScriptContext->GetNameSpaceManager(&manager);
if (NS_SUCCEEDED(result))
{
result = manager->RegisterGlobalName("InstallVersion",
kInstallVersion_CID,
PR_TRUE);
if (NS_FAILED(result)) return result;
result = manager->RegisterGlobalName("InstallTrigger",
kInstallTrigger_CID,
PR_FALSE);
}
if (manager != nsnull)
NS_RELEASE(manager);
return result;
}
////////////////////////////////////////////////////////////////////////////////
// DLL Entry Points:
////////////////////////////////////////////////////////////////////////////////
extern "C" NS_EXPORT PRBool
NSCanUnload(nsISupports* aServMgr)
{
return PR_FALSE;
}
extern "C" NS_EXPORT nsresult
NSRegisterSelf(nsISupports* aServMgr, const char *path)
{
nsresult rv;
nsCOMPtr<nsIServiceManager> servMgr(do_QueryInterface(aServMgr, &rv));
if (NS_FAILED(rv)) return rv;
nsIComponentManager* compMgr;
rv = servMgr->GetService(kComponentManagerCID,
nsIComponentManager::GetIID(),
(nsISupports**)&compMgr);
if (NS_FAILED(rv)) return rv;
#ifdef NS_DEBUG
printf("*** XPInstall is being registered\n");
#endif
rv = compMgr->RegisterComponent( kSoftwareUpdate_CID,
NS_IXPINSTALLCOMPONENT_CLASSNAME,
NS_IXPINSTALLCOMPONENT_PROGID,
path,
PR_TRUE,
PR_TRUE );
if (NS_FAILED(rv)) goto done;
nsIRegistry *registry;
rv = servMgr->GetService( NS_REGISTRY_PROGID,
nsIRegistry::GetIID(),
(nsISupports**)&registry );
if ( NS_SUCCEEDED( rv ) )
{
registry->Open();
char buffer[256];
char *cid = nsSoftwareUpdate::GetCID().ToString();
PR_snprintf( buffer,
sizeof buffer,
"%s/%s",
NS_IAPPSHELLCOMPONENT_KEY,
cid ? cid : "unknown" );
delete [] cid;
nsIRegistry::Key key;
rv = registry->AddSubtree( nsIRegistry::Common,
buffer,
&key );
servMgr->ReleaseService( NS_REGISTRY_PROGID, registry );
}
rv = compMgr->RegisterComponent(kInstallTrigger_CID, NULL, NULL, path, PR_TRUE, PR_TRUE);
if (NS_FAILED(rv)) goto done;
rv = compMgr->RegisterComponent(kInstallVersion_CID, NULL, NULL, path, PR_TRUE, PR_TRUE);
done:
(void)servMgr->ReleaseService(kComponentManagerCID, compMgr);
return rv;
}
extern "C" NS_EXPORT nsresult
NSUnregisterSelf(nsISupports* aServMgr, const char *path)
{
nsresult rv;
nsCOMPtr<nsIServiceManager> servMgr(do_QueryInterface(aServMgr, &rv));
if (NS_FAILED(rv)) return rv;
nsIComponentManager* compMgr;
rv = servMgr->GetService(kComponentManagerCID,
nsIComponentManager::GetIID(),
(nsISupports**)&compMgr);
if (NS_FAILED(rv)) return rv;
#ifdef NS_DEBUG
printf("*** XPInstall is being unregistered\n");
#endif
rv = compMgr->UnregisterComponent(kSoftwareUpdate_CID, path);
if (NS_FAILED(rv)) goto done;
rv = compMgr->UnregisterComponent(kInstallTrigger_CID, path);
if (NS_FAILED(rv)) goto done;
rv = compMgr->UnregisterComponent(kInstallVersion_CID, path);
done:
(void)servMgr->ReleaseService(kComponentManagerCID, compMgr);
return rv;
}
extern "C" NS_EXPORT nsresult
NSGetFactory(nsISupports* serviceMgr,
const nsCID &aClass,
const char *aClassName,
const char *aProgID,
nsIFactory **aFactory)
{
if (aFactory == NULL)
{
return NS_ERROR_NULL_POINTER;
}
*aFactory = NULL;
nsISupports *inst;
if (aClass.Equals(kInstallTrigger_CID) )
{
inst = new nsInstallTriggerFactory();
}
else if (aClass.Equals(kInstallVersion_CID) )
{
inst = new nsInstallVersionFactory();
}
else if (aClass.Equals(kSoftwareUpdate_CID) )
{
inst = new nsSoftwareUpdateFactory();
}
else
{
return NS_ERROR_ILLEGAL_VALUE;
}
if (inst == NULL)
{
return NS_ERROR_OUT_OF_MEMORY;
}
nsresult res = inst->QueryInterface(kIFactoryIID, (void**) aFactory);
if (NS_FAILED(res))
{
delete inst;
}
return res;
}

View File

@@ -0,0 +1,77 @@
#ifndef nsSoftwareUpdate_h___
#define nsSoftwareUpdate_h___
#include "nsSoftwareUpdateIIDs.h"
#include "nsISoftwareUpdate.h"
#include "nscore.h"
#include "nsIFactory.h"
#include "nsISupports.h"
#include "nsString.h"
#include "nsVector.h"
class nsInstallInfo;
#include "nsIScriptExternalNameSet.h"
#include "nsIAppShellComponent.h"
#include "nsIXPInstallProgress.h"
#include "nsTopProgressNotifier.h"
class nsSoftwareUpdate: public nsIAppShellComponent, public nsISoftwareUpdate
{
public:
NS_DEFINE_STATIC_CID_ACCESSOR( NS_SoftwareUpdate_CID );
nsSoftwareUpdate();
virtual ~nsSoftwareUpdate();
NS_DECL_ISUPPORTS
NS_DECL_IAPPSHELLCOMPONENT
NS_IMETHOD InstallJar(const nsString& fromURL,
const nsString& localFile,
long flags);
NS_IMETHOD RegisterNotifier(nsIXPInstallProgress *notifier);
NS_IMETHOD InstallPending(void);
NS_IMETHOD InstallJarCallBack();
NS_IMETHOD GetTopLevelNotifier(nsIXPInstallProgress **notifier);
private:
nsresult RunNextInstall();
nsresult DeleteScheduledNodes();
PRBool mInstalling;
nsVector* mJarInstallQueue;
nsTopProgressNotifier *mTopLevelObserver;
};
class nsSoftwareUpdateNameSet : public nsIScriptExternalNameSet
{
public:
nsSoftwareUpdateNameSet();
virtual ~nsSoftwareUpdateNameSet();
NS_DECL_ISUPPORTS
NS_IMETHOD InitializeClasses(nsIScriptContext* aScriptContext);
NS_IMETHOD AddNameSet(nsIScriptContext* aScriptContext);
};
#define AUTOUPDATE_ENABLE_PREF "autoupdate.enabled"
#define AUTOUPDATE_CONFIRM_PREF "autoupdate.confirm_install"
#define CHARSET_HEADER "Charset"
#define CONTENT_ENCODING_HEADER "Content-encoding"
#define INSTALLER_HEADER "Install-Script"
#define MOCHA_CONTEXT_PREFIX "autoinstall:"
#define REG_SOFTUPDT_DIR "Netscape/Communicator/SoftwareUpdate/"
#define LAST_REGPACK_TIME "LastRegPackTime"
#endif

View File

@@ -0,0 +1,362 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#include "nsSoftwareUpdate.h"
#include "nsSoftwareUpdateRun.h"
#include "nsSoftwareUpdateIIDs.h"
#include "nsInstall.h"
#include "zipfile.h"
#include "nsRepository.h"
#include "nsIServiceManager.h"
#include "nsSpecialSystemDirectory.h"
#include "nsFileStream.h"
#include "nspr.h"
#include "jsapi.h"
#include "nsIEventQueueService.h"
static NS_DEFINE_IID(kISoftwareUpdateIID, NS_ISOFTWAREUPDATE_IID);
static NS_DEFINE_IID(kSoftwareUpdateCID, NS_SoftwareUpdate_CID);
static JSClass global_class =
{
"global", JSCLASS_HAS_PRIVATE,
JS_PropertyStub, JS_PropertyStub, JS_PropertyStub, JS_PropertyStub,
JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, JS_FinalizeStub
};
extern PRInt32 InitXPInstallObjects(JSContext *jscontext, JSObject *global, const char* jarfile, const char* args);
// Defined in this file:
static void XPInstallErrorReporter(JSContext *cx, const char *message, JSErrorReport *report);
static nsresult GetInstallScriptFromJarfile(const char* jarFile, char** scriptBuffer, PRUint32 *scriptLength);
static nsresult SetupInstallContext(const char* jarFile, const char* args, JSRuntime **jsRT, JSContext **jsCX, JSObject **jsGlob);
extern "C" void RunInstallOnThread(void *data);
///////////////////////////////////////////////////////////////////////////////////////////////
// Function name : XPInstallErrorReporter
// Description : Prints error message to stdout
// Return type : void
// Argument : JSContext *cx
// Argument : const char *message
// Argument : JSErrorReport *report
///////////////////////////////////////////////////////////////////////////////////////////////
static void
XPInstallErrorReporter(JSContext *cx, const char *message, JSErrorReport *report)
{
int i, j, k, n;
fputs("xpinstall: ", stderr);
if (!report)
{
fprintf(stderr, "%s\n", message);
return;
}
if (report->filename)
fprintf(stderr, "%s, ", report->filename);
if (report->lineno)
fprintf(stderr, "line %u: ", report->lineno);
fputs(message, stderr);
if (!report->linebuf)
{
putc('\n', stderr);
return;
}
fprintf(stderr, ":\n%s\n", report->linebuf);
n = report->tokenptr - report->linebuf;
for (i = j = 0; i < n; i++) {
if (report->linebuf[i] == '\t') {
for (k = (j + 8) & ~7; j < k; j++)
putc('.', stderr);
continue;
}
putc('.', stderr);
j++;
}
fputs("^\n", stderr);
}
///////////////////////////////////////////////////////////////////////////////////////////////
// Function name : GetInstallScriptFromJarfile
// Description : Extracts and reads in a install.js file from a passed jar file.
// Return type : static nsresult
// Argument : const char* jarFile - native filepath
// Argument : char** scriptBuffer - must be deleted via delete []
// Argument : PRUint32 *scriptLength
///////////////////////////////////////////////////////////////////////////////////////////////
static nsresult
GetInstallScriptFromJarfile(const char* jarFile, char** scriptBuffer, PRUint32 *scriptLength)
{
// Open the jarfile.
void* hZip;
*scriptBuffer = nsnull;
*scriptLength = 0;
nsresult rv = ZIP_OpenArchive(jarFile , &hZip);
if (rv != ZIP_OK)
return rv;
// Read manifest file for Install Script filename.
//FIX: need to do.
// Extract the install.js file to the temporary directory
nsSpecialSystemDirectory installJSFileSpec(nsSpecialSystemDirectory::OS_TemporaryDirectory);
installJSFileSpec += "install.js";
installJSFileSpec.MakeUnique();
// Extract the install.js file.
rv = ZIP_ExtractFile( hZip, "install.js", nsNSPRPath(installJSFileSpec) );
if (rv != ZIP_OK)
{
ZIP_CloseArchive(&hZip);
return rv;
}
// Read it into a buffer
char* buffer;
PRUint32 bufferLength;
PRUint32 readLength;
nsInputFileStream fileStream(installJSFileSpec);
(fileStream.GetIStream())->GetLength(&bufferLength);
buffer = new char[bufferLength + 1];
rv = (fileStream.GetIStream())->Read(buffer, bufferLength, &readLength);
if (NS_SUCCEEDED(rv))
{
*scriptBuffer = buffer;
*scriptLength = readLength;
}
else
{
delete [] buffer;
}
ZIP_CloseArchive(&hZip);
fileStream.close();
installJSFileSpec.Delete(PR_FALSE);
return rv;
}
///////////////////////////////////////////////////////////////////////////////////////////////
// Function name : SetupInstallContext
// Description : Creates a Javascript runtime and adds our xpinstall objects to it.
// Return type : static nsresult
// Argument : const char* jarFile - native filepath to where jar exists on disk
// Argument : const char* args - any arguments passed into the javascript context
// Argument : JSRuntime **jsRT - Must be deleted via JS_DestroyRuntime
// Argument : JSContext **jsCX - Must be deleted via JS_DestroyContext
// Argument : JSObject **jsGlob
///////////////////////////////////////////////////////////////////////////////////////////////
static nsresult SetupInstallContext(const char* jarFile,
const char* args,
JSRuntime **jsRT,
JSContext **jsCX,
JSObject **jsGlob)
{
JSRuntime *rt;
JSContext *cx;
JSObject *glob;
*jsRT = nsnull;
*jsCX = nsnull;
*jsGlob = nsnull;
// JS init
rt = JS_Init(8L * 1024L * 1024L);
if (!rt)
{
return -1;
}
// new context
cx = JS_NewContext(rt, 8192);
if (!rt)
{
return -1;
}
JS_SetErrorReporter(cx, XPInstallErrorReporter);
// new global object
glob = JS_NewObject(cx, &global_class, nsnull, nsnull);
// Init standard classes
JS_InitStandardClasses(cx, glob);
// Add our Install class to this context
InitXPInstallObjects(cx, glob, jarFile, args);
// Fix: We have to add Version and Trigger to this context!!
*jsRT = rt;
*jsCX = cx;
*jsGlob = glob;
return NS_OK;
}
///////////////////////////////////////////////////////////////////////////////////////////////
// Function name : RunInstall
// Description : Creates our Install Thread.
// Return type : PRInt32
// Argument : nsInstallInfo *installInfo
///////////////////////////////////////////////////////////////////////////////////////////////
PRInt32 RunInstall(nsInstallInfo *installInfo)
{
if (installInfo->GetFlags() == 0x00000001)
{
RunInstallOnThread((void *)installInfo);
}
else
{
PR_CreateThread(PR_USER_THREAD,
RunInstallOnThread,
(void*)installInfo,
PR_PRIORITY_NORMAL,
PR_GLOBAL_THREAD,
PR_UNJOINABLE_THREAD,
0);
}
return 0;
}
///////////////////////////////////////////////////////////////////////////////////////////////
// Function name : RunInstallOnThread
// Description : called by starting thread. It directly calls the C api for xpinstall,
// : and once that returns, it calls the completion routine to notify installation
// : completion.
// Return type : extern "C"
// Argument : void *data
///////////////////////////////////////////////////////////////////////////////////////////////
extern "C" void RunInstallOnThread(void *data)
{
nsInstallInfo *installInfo = (nsInstallInfo*)data;
char *scriptBuffer;
PRUint32 scriptLength;
JSRuntime *rt;
JSContext *cx;
JSObject *glob;
nsISoftwareUpdate *softwareUpdate;
nsresult rv = nsServiceManager::GetService( kSoftwareUpdateCID,
kISoftwareUpdateIID,
(nsISupports**)&softwareUpdate);
nsIXPInstallProgress *notifier;
if (NS_SUCCEEDED(rv))
{
softwareUpdate->GetTopLevelNotifier(&notifier);
}
else
{
return;
}
if(notifier)
notifier->BeforeJavascriptEvaluation();
nsString args;
installInfo->GetArguments(args);
rv = GetInstallScriptFromJarfile( nsAutoCString( installInfo->GetLocalFile() ),
&scriptBuffer,
&scriptLength);
if (NS_FAILED(rv) || scriptBuffer == nsnull)
{
goto bail;
}
rv = SetupInstallContext( nsAutoCString( installInfo->GetLocalFile() ),
nsAutoCString( args ),
&rt, &cx, &glob);
if (NS_FAILED(rv))
{
delete [] scriptBuffer;
goto bail;
}
// Go ahead and run!!
jsval rval;
JS_EvaluateScript(cx,
glob,
scriptBuffer,
scriptLength,
nsnull,
0,
&rval);
delete [] scriptBuffer;
JS_DestroyContext(cx);
JS_DestroyRuntime(rt);
if(notifier)
notifier->AfterJavascriptEvaluation();
bail:
softwareUpdate->InstallJarCallBack();
}

View File

@@ -0,0 +1,6 @@
#ifndef __NS_SoftwareUpdateRun_H__
#define __NS_SoftwareUpdateRun_H__
PRInt32 RunInstall(nsInstallInfo *installInfo);
#endif

View File

@@ -0,0 +1,162 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.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.
*
* 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.
*/
#include "nsSoftwareUpdateStream.h"
#include "nscore.h"
#include "nsFileSpec.h"
#include "nsVector.h"
#include "nsISupports.h"
#include "nsIServiceManager.h"
#include "nsIURL.h"
#include "nsINetlibURL.h"
#include "nsINetService.h"
#include "nsIInputStream.h"
#include "nsIStreamListener.h"
#include "nsISoftwareUpdate.h"
#include "nsSoftwareUpdateIIDs.h"
static NS_DEFINE_IID(kISoftwareUpdateIID, NS_ISOFTWAREUPDATE_IID);
static NS_DEFINE_IID(kSoftwareUpdateCID, NS_SoftwareUpdate_CID);
nsSoftwareUpdateListener::nsSoftwareUpdateListener(const nsString& fromURL, const nsString& localFile, long flags)
{
NS_INIT_REFCNT();
mFromURL = fromURL;
mLocalFile = localFile;
mFlags = flags;
mOutFileDesc = PR_Open(nsAutoCString(localFile), PR_CREATE_FILE | PR_RDWR, 0744);
if(mOutFileDesc == NULL)
{
mResult = -1;
};
mResult = nsServiceManager::GetService( kSoftwareUpdateCID,
kISoftwareUpdateIID,
(nsISupports**)&mSoftwareUpdate);
if (NS_FAILED(mResult))
return;
nsIURL *pURL = nsnull;
mResult = NS_NewURL(&pURL, fromURL);
if (NS_FAILED(mResult))
return;
mResult = NS_OpenURL(pURL, this);
}
nsSoftwareUpdateListener::~nsSoftwareUpdateListener()
{
mSoftwareUpdate->Release();
}
NS_IMPL_ISUPPORTS( nsSoftwareUpdateListener, kIStreamListenerIID )
NS_IMETHODIMP
nsSoftwareUpdateListener::GetBindInfo(nsIURL* aURL, nsStreamBindingInfo* info)
{
return NS_OK;
}
NS_IMETHODIMP
nsSoftwareUpdateListener::OnProgress( nsIURL* aURL,
PRUint32 Progress,
PRUint32 ProgressMax)
{
return NS_OK;
}
NS_IMETHODIMP
nsSoftwareUpdateListener::OnStatus(nsIURL* aURL,
const PRUnichar* aMsg)
{
return NS_OK;
}
NS_IMETHODIMP
nsSoftwareUpdateListener::OnStartBinding(nsIURL* aURL,
const char *aContentType)
{
return NS_OK;
}
NS_IMETHODIMP
nsSoftwareUpdateListener::OnStopBinding(nsIURL* aURL,
nsresult status,
const PRUnichar* aMsg)
{
switch( status )
{
case NS_BINDING_SUCCEEDED:
PR_Close(mOutFileDesc);
mSoftwareUpdate->InstallJar(mFromURL,
mLocalFile,
mFlags );
break;
case NS_BINDING_FAILED:
case NS_BINDING_ABORTED:
mResult = status;
PR_Close(mOutFileDesc);
break;
default:
mResult = NS_ERROR_ILLEGAL_VALUE;
}
return mResult;
}
#define BUF_SIZE 1024
NS_IMETHODIMP
nsSoftwareUpdateListener::OnDataAvailable(nsIURL* aURL, nsIInputStream *pIStream, PRUint32 length)
{
PRUint32 len;
nsresult err;
char buffer[BUF_SIZE];
do
{
err = pIStream->Read(buffer, BUF_SIZE, &len);
if (mResult == 0 && err == 0)
{
if ( PR_Write(mOutFileDesc, buffer, len) == -1 )
{
/* Error */
return -1;
}
}
} while (len > 0 && err == NS_OK);
return 0;
}

View File

@@ -0,0 +1,74 @@
/* -*- 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_SOFTWAREUPDATESTREAM_H__
#define _NS_SOFTWAREUPDATESTREAM_H__
#include "nsInstall.h"
#include "nscore.h"
#include "nsISupports.h"
#include "nsString.h"
#include "nsIURL.h"
#include "nsINetlibURL.h"
#include "nsINetService.h"
#include "nsIInputStream.h"
#include "nsIStreamListener.h"
#include "nsISoftwareUpdate.h"
static NS_DEFINE_IID(kInetServiceIID, NS_INETSERVICE_IID);
static NS_DEFINE_IID(kInetServiceCID, NS_NETSERVICE_CID);
static NS_DEFINE_IID(kInetLibURLIID, NS_INETLIBURL_IID);
static NS_DEFINE_IID(kIStreamListenerIID, NS_ISTREAMLISTENER_IID);
class nsSoftwareUpdateListener : public nsIStreamListener
{
public:
NS_DECL_ISUPPORTS
nsSoftwareUpdateListener(const nsString& fromURL, const nsString& localFile, long flags);
NS_IMETHOD GetBindInfo(nsIURL* aURL, nsStreamBindingInfo* info);
NS_IMETHOD OnProgress(nsIURL* aURL, PRUint32 Progress, PRUint32 ProgressMax);
NS_IMETHOD OnStatus(nsIURL* aURL, const PRUnichar* aMsg);
NS_IMETHOD OnStartBinding(nsIURL* aURL, const char *aContentType);
NS_IMETHOD OnDataAvailable(nsIURL* aURL, nsIInputStream *pIStream, PRUint32 length);
NS_IMETHOD OnStopBinding(nsIURL* aURL, nsresult status, const PRUnichar* aMsg);
protected:
virtual ~nsSoftwareUpdateListener();
private:
nsISoftwareUpdate *mSoftwareUpdate;
PRFileDesc *mOutFileDesc;
nsString mFromURL;
nsString mLocalFile;
long mFlags;
PRInt32 mResult;
};
#endif

View File

@@ -0,0 +1,169 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Douglas Turner <dougt@netscape.com>
*/
#include "nsIXPInstallProgress.h"
#include "nsTopProgressNotifier.h"
nsTopProgressNotifier::nsTopProgressNotifier()
{
mNotifiers = new nsVector();
}
nsTopProgressNotifier::~nsTopProgressNotifier()
{
if (mNotifiers)
{
PRUint32 i=0;
for (; i < mNotifiers->GetSize(); i++)
{
nsIXPInstallProgress* element = (nsIXPInstallProgress*)mNotifiers->Get(i);
delete element;
}
mNotifiers->RemoveAll();
delete (mNotifiers);
}
}
NS_IMPL_ISUPPORTS(nsTopProgressNotifier, nsIXPInstallProgress::GetIID());
long
nsTopProgressNotifier::RegisterNotifier(nsIXPInstallProgress * newNotifier)
{
return mNotifiers->Add( newNotifier );
}
void
nsTopProgressNotifier::UnregisterNotifier(long id)
{
mNotifiers->Set(id, NULL);
}
NS_IMETHODIMP
nsTopProgressNotifier::BeforeJavascriptEvaluation()
{
if (mNotifiers)
{
PRUint32 i=0;
for (; i < mNotifiers->GetSize(); i++)
{
nsIXPInstallProgress* element = (nsIXPInstallProgress*)mNotifiers->Get(i);
if (element != NULL)
element->BeforeJavascriptEvaluation();
}
}
return NS_OK;
}
NS_IMETHODIMP
nsTopProgressNotifier::AfterJavascriptEvaluation(void)
{
if (mNotifiers)
{
PRUint32 i=0;
for (; i < mNotifiers->GetSize(); i++)
{
nsIXPInstallProgress* element = (nsIXPInstallProgress*)mNotifiers->Get(i);
if (element != NULL)
element->AfterJavascriptEvaluation();
}
}
return NS_OK;
}
NS_IMETHODIMP
nsTopProgressNotifier::InstallStarted(const char* UIPackageName)
{
if (mNotifiers)
{
PRUint32 i=0;
for (; i < mNotifiers->GetSize(); i++)
{
nsIXPInstallProgress* element = (nsIXPInstallProgress*)mNotifiers->Get(i);
if (element != NULL)
element->InstallStarted(UIPackageName);
}
}
return NS_OK;
}
NS_IMETHODIMP
nsTopProgressNotifier::ItemScheduled( const char* message )
{
long rv = 0;
if (mNotifiers)
{
PRUint32 i=0;
for (; i < mNotifiers->GetSize(); i++)
{
nsIXPInstallProgress* element = (nsIXPInstallProgress*)mNotifiers->Get(i);
if (element != NULL)
if (element->ItemScheduled( message ) != 0)
rv = -1;
}
}
return rv;
}
NS_IMETHODIMP
nsTopProgressNotifier::InstallFinalization( const char* message, PRInt32 itemNum, PRInt32 totNum )
{
if (mNotifiers)
{
PRUint32 i=0;
for (; i < mNotifiers->GetSize(); i++)
{
nsIXPInstallProgress* element = (nsIXPInstallProgress*)mNotifiers->Get(i);
if (element != NULL)
element->InstallFinalization( message, itemNum, totNum );
}
}
return NS_OK;
}
NS_IMETHODIMP
nsTopProgressNotifier::InstallAborted(void)
{
if (mNotifiers)
{
PRUint32 i=0;
for (; i < mNotifiers->GetSize(); i++)
{
nsIXPInstallProgress* element = (nsIXPInstallProgress*)mNotifiers->Get(i);
if (element != NULL)
element->InstallAborted();
}
}
return NS_OK;
}

View File

@@ -0,0 +1,57 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Douglas Turner <dougt@netscape.com>
*/
#ifndef nsTopProgressNotifier_h__
#define nsTopProgressNotifier_h__
#include "nsIXPInstallProgress.h"
#include "nsVector.h"
class nsTopProgressNotifier : public nsIXPInstallProgress
{
public:
nsTopProgressNotifier();
virtual ~nsTopProgressNotifier();
long RegisterNotifier(nsIXPInstallProgress * newNotifier);
void UnregisterNotifier(long id);
NS_DECL_ISUPPORTS
NS_IMETHOD BeforeJavascriptEvaluation();
NS_IMETHOD AfterJavascriptEvaluation();
NS_IMETHOD InstallStarted(const char* UIPackageName);
NS_IMETHOD ItemScheduled(const char* message );
NS_IMETHOD InstallFinalization(const char* message, PRInt32 itemNum, PRInt32 totNum );
NS_IMETHOD InstallAborted();
private:
nsVector *mNotifiers;
};
#endif

View File

@@ -0,0 +1,144 @@
/* -*- 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.
*/
#include "nsWinProfile.h"
#include "nsWinProfileItem.h"
#include "nspr.h"
#include <windows.h>
/* Public Methods */
nsWinProfile::nsWinProfile( nsInstall* suObj, const nsString& folder, const nsString& file )
{
filename = new nsString(folder);
if(filename->Last() != '\\')
{
filename->Append("\\");
}
filename->Append(file);
su = suObj;
// principal = suObj->GetPrincipal();
// privMgr = nsPrivilegeManager::getPrivilegeManager();
// impersonation = nsTarget::findTarget(IMPERSONATOR);
// target = (nsUserTarget*)nsTarget::findTarget(INSTALL_PRIV);
}
nsWinProfile::~nsWinProfile()
{
delete filename;
}
PRInt32
nsWinProfile::getString(nsString section, nsString key, nsString* aReturn)
{
return nativeGetString(section, key, aReturn);
}
PRInt32
nsWinProfile::writeString(nsString section, nsString key, nsString value, PRInt32* aReturn)
{
nsWinProfileItem* wi = new nsWinProfileItem(this, section, key, value);
*aReturn = NS_OK;
if(wi == NULL)
return PR_FALSE;
su->ScheduleForInstall(wi);
return NS_OK;
}
nsString* nsWinProfile::getFilename()
{
return filename;
}
nsInstall* nsWinProfile::installObject()
{
return su;
}
PRInt32
nsWinProfile::finalWriteString( nsString section, nsString key, nsString value )
{
/* do we need another security check here? */
return nativeWriteString(section, key, value);
}
/* Private Methods */
#define STRBUFLEN 255
PRInt32
nsWinProfile::nativeGetString(nsString section, nsString key, nsString* aReturn )
{
int numChars;
char valbuf[STRBUFLEN];
char* sectionCString;
char* keyCString;
char* filenameCString;
/* make sure conversions worked */
if(section.First() != '\0' && key.First() != '\0' && filename->First() != '\0')
{
sectionCString = section.ToNewCString();
keyCString = key.ToNewCString();
filenameCString = filename->ToNewCString();
numChars = GetPrivateProfileString(sectionCString, keyCString, "", valbuf, STRBUFLEN, filenameCString);
*aReturn = valbuf;
delete [] sectionCString;
delete [] keyCString;
delete [] filenameCString;
}
return numChars;
}
PRInt32
nsWinProfile::nativeWriteString( nsString section, nsString key, nsString value )
{
char* sectionCString;
char* keyCString;
char* valueCString;
char* filenameCString;
int success = 0;
/* make sure conversions worked */
if(section.First() != '\0' && key.First() != '\0' && filename->First() != '\0')
{
sectionCString = section.ToNewCString();
keyCString = key.ToNewCString();
valueCString = value.ToNewCString();
filenameCString = filename->ToNewCString();
success = WritePrivateProfileString( sectionCString, keyCString, valueCString, filenameCString );
delete [] sectionCString;
delete [] keyCString;
delete [] valueCString;
delete [] filenameCString;
}
return success;
}

View File

@@ -0,0 +1,72 @@
/* -*- 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 nsWinProfile_h__
#define nsWinProfile_h__
#include "prtypes.h"
#include "nsInstall.h"
class nsWinProfile
{
public:
/* Public Fields */
/* Public Methods */
nsWinProfile( nsInstall* suObj, const nsString& folder, const nsString& file );
~nsWinProfile();
/**
* Schedules a write into a windows "ini" file. "Value" can be
* null to delete the value, but we don't support deleting an entire
* section via a null "key". The actual write takes place during
* SoftwareUpdate.FinalizeInstall();
*
* @return false for failure, true for success
*/
PRInt32 writeString( nsString section, nsString key, nsString value, PRInt32* aReturn );
/**
* Reads a value from a windows "ini" file. We don't support using
* a null "key" to return a list of keys--you have to know what you want
*
* @return String value from INI, "" if not found, null if error
*/
PRInt32 getString( nsString section, nsString key, nsString* aReturn );
nsString* getFilename();
nsInstall* installObject();
PRInt32 finalWriteString( nsString section, nsString key, nsString value );
private:
/* Private Fields */
nsString* filename;
nsInstall* su;
/* Private Methods */
PRInt32 nativeWriteString( nsString section, nsString key, nsString value );
PRInt32 nativeGetString( nsString section, nsString key, nsString* aReturn );
};
#endif /* nsWinProfile_h__ */

View File

@@ -0,0 +1,107 @@
/* -*- 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.
*/
#include "nsWinProfileItem.h"
#include "nspr.h"
#include <windows.h>
/* Public Methods */
nsWinProfileItem::nsWinProfileItem(nsWinProfile* profileObj,
nsString sectionName,
nsString keyName,
nsString val) : nsInstallObject(profileObj->installObject())
{
profile = profileObj;
section = new nsString(sectionName);
key = new nsString(keyName);
value = new nsString(val);
}
nsWinProfileItem::~nsWinProfileItem()
{
delete profile;
delete section;
delete key;
delete value;
}
PRInt32 nsWinProfileItem::Complete()
{
profile->finalWriteString(*section, *key, *value);
return NS_OK;
}
float nsWinProfileItem::GetInstallOrder()
{
return 4;
}
char* nsWinProfileItem::toString()
{
char* resultCString;
nsString* result;
nsString* filename = new nsString(*profile->getFilename());
result = new nsString("Write ");
result->Append(*filename);
result->Append(": [");
result->Append(*section);
result->Append("] ");
result->Append(*key);
result->Append("=");
result->Append(*value);
resultCString = result->ToNewCString();
delete result;
delete filename;
return resultCString;
}
void nsWinProfileItem::Abort()
{
}
PRInt32 nsWinProfileItem::Prepare()
{
return nsnull;
}
/* CanUninstall
* WinProfileItem() does not install any files which can be uninstalled,
* hence this function returns false.
*/
PRBool
nsWinProfileItem::CanUninstall()
{
return FALSE;
}
/* RegisterPackageNode
* WinProfileItem() installs files which need to be registered,
* hence this function returns true.
*/
PRBool
nsWinProfileItem::RegisterPackageNode()
{
return TRUE;
}

View File

@@ -0,0 +1,79 @@
/* -*- 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 nsWinProfileItem_h__
#define nsWinProfileItem_h__
#include "prtypes.h"
#include "nsSoftwareUpdate.h"
#include "nsInstallObject.h"
#include "nsWinProfile.h"
PR_BEGIN_EXTERN_C
class nsWinProfileItem : public nsInstallObject {
public:
/* Public Fields */
/* Public Methods */
nsWinProfileItem(nsWinProfile* profileObj,
nsString sectionName,
nsString keyName,
nsString val);
~nsWinProfileItem();
/**
* Completes the install:
* - writes the data into the .INI file
*/
PRInt32 Complete();
float GetInstallOrder();
char* toString();
// no need for special clean-up
void Abort();
// no need for set-up
PRInt32 Prepare();
/* should these be protected? */
PRBool CanUninstall();
PRBool RegisterPackageNode();
private:
/* Private Fields */
nsWinProfile* profile; // initiating profile object
nsString* section; // Name of section
nsString* key; // Name of key
nsString* value; // data to write
/* Private Methods */
};
PR_END_EXTERN_C
#endif /* nsWinProfileItem_h__ */

View File

@@ -0,0 +1,414 @@
/* -*- 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.
*/
#include "nsWinReg.h"
#include "nsWinRegItem.h"
#include <windows.h> /* is this needed? */
/* Public Methods */
nsWinReg::nsWinReg(nsInstall* suObj)
{
su = suObj;
// principal = suObj->GetPrincipal();
// privMgr = nsPrivilegeManager::getPrivilegeManager();
// impersonation = nsTarget::findTarget(IMPERSONATOR);
// target = (nsUserTarget*)nsTarget::findTarget(INSTALL_PRIV);
}
PRInt32
nsWinReg::setRootKey(PRInt32 key)
{
rootkey = key;
return NS_OK;
}
PRInt32
nsWinReg::createKey(nsString subkey, nsString classname, PRInt32* aReturn)
{
// resolvePrivileges();
nsWinRegItem* wi = new nsWinRegItem(this, rootkey, NS_WIN_REG_CREATE, subkey, classname, "null");
if(wi == nsnull)
{
// return (-1);
// *aReturn = SaveError( result );
return NS_OK;
}
su->ScheduleForInstall(wi);
return 0;
}
PRInt32
nsWinReg::deleteKey(nsString subkey, PRInt32* aReturn)
{
// resolvePrivileges();
nsWinRegItem* wi = new nsWinRegItem(this, rootkey, NS_WIN_REG_DELETE, subkey, "null", "null");
if(wi == nsnull)
{
// return (-1);
// *aReturn = SaveError( result );
return NS_OK;
}
su->ScheduleForInstall(wi);
return 0;
}
PRInt32
nsWinReg::deleteValue(nsString subkey, nsString valname, PRInt32* aReturn)
{
// resolvePrivileges();
nsWinRegItem* wi = new nsWinRegItem(this, rootkey, NS_WIN_REG_DELETE_VAL, subkey, valname, "null");
if(wi == nsnull)
{
// return (-1);
// *aReturn = SaveError( result );
return NS_OK;
}
su->ScheduleForInstall(wi);
return 0;
}
PRInt32
nsWinReg::setValueString(nsString subkey, nsString valname, nsString value, PRInt32* aReturn)
{
// resolvePrivileges();
nsWinRegItem* wi = new nsWinRegItem(this, rootkey, NS_WIN_REG_SET_VAL_STRING, subkey, valname, value);
if(wi == nsnull)
{
// return (-1);
// *aReturn = SaveError( result );
return NS_OK;
}
su->ScheduleForInstall(wi);
return 0;
}
PRInt32
nsWinReg::getValueString(nsString subkey, nsString valname, nsString** aReturn)
{
// resolvePrivileges();
// return nativeGetValueString(subkey, valname);
return NS_OK;
}
PRInt32
nsWinReg::setValue(nsString subkey, nsString valname, nsWinRegValue* value, PRInt32* aReturn)
{
// resolvePrivileges();
// fix: need to figure out what to do with nsWinRegValue class.
// nsWinRegItem* wi = new nsWinRegItem(this, rootkey, NS_WIN_REG_SET_VAL, subkey, valname, (nsWinRegValue*)value);
// if(wi == nsnull)
// {
// return (-1);
// *aReturn = SaveError(-1);
// return NS_OK;
// }
// su->ScheduleForInstall(wi);
return 0;
}
PRInt32
nsWinReg::getValue(nsString subkey, nsString valname, nsWinRegValue** aReturn)
{
// resolvePrivileges();
// return nativeGetValue(subkey, valname);
return NS_OK;
}
nsInstall* nsWinReg::installObject()
{
return su;
}
PRInt32
nsWinReg::finalCreateKey(PRInt32 root, nsString subkey, nsString classname, PRInt32* aReturn)
{
setRootKey(root);
*aReturn = nativeCreateKey(subkey, classname);
return NS_OK;
}
PRInt32
nsWinReg::finalDeleteKey(PRInt32 root, nsString subkey, PRInt32* aReturn)
{
setRootKey(root);
*aReturn = nativeDeleteKey(subkey);
return NS_OK;
}
PRInt32
nsWinReg::finalDeleteValue(PRInt32 root, nsString subkey, nsString valname, PRInt32* aReturn)
{
setRootKey(root);
*aReturn = nativeDeleteValue(subkey, valname);
return NS_OK;
}
PRInt32
nsWinReg::finalSetValueString(PRInt32 root, nsString subkey, nsString valname, nsString value, PRInt32* aReturn)
{
setRootKey(root);
*aReturn = nativeSetValueString(subkey, valname, value);
return NS_OK;
}
PRInt32
nsWinReg::finalSetValue(PRInt32 root, nsString subkey, nsString valname, nsWinRegValue* value, PRInt32* aReturn)
{
setRootKey(root);
*aReturn = nativeSetValue(subkey, valname, value);
return NS_OK;
}
/* Private Methods */
PRInt32
nsWinReg::nativeCreateKey(nsString subkey, nsString classname)
{
HKEY root, newkey;
LONG result;
ULONG disposition;
char* subkeyCString = subkey.ToNewCString();
char* classnameCString = classname.ToNewCString();
#ifdef WIN32
root = (HKEY)rootkey;
result = RegCreateKeyEx(root, subkeyCString, 0, classnameCString, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, nsnull, &newkey, &disposition);
if(ERROR_SUCCESS == result)
{
RegCloseKey( newkey );
}
#endif
delete [] subkeyCString;
delete [] classnameCString;
return result;
}
PRInt32
nsWinReg::nativeDeleteKey(nsString subkey)
{
HKEY root;
LONG result;
char* subkeyCString = subkey.ToNewCString();
#ifdef WIN32
root = (HKEY) rootkey;
result = RegDeleteKey( root, subkeyCString );
#endif
delete [] subkeyCString;
return result;
}
PRInt32
nsWinReg::nativeDeleteValue(nsString subkey, nsString valname)
{
#if defined (WIN32) || defined (XP_OS2)
HKEY root, newkey;
LONG result;
char* subkeyCString = subkey.ToNewCString();
char* valnameCString = valname.ToNewCString();
root = (HKEY) rootkey;
result = RegOpenKeyEx( root, subkeyCString, 0, KEY_WRITE, &newkey);
if ( ERROR_SUCCESS == result )
{
result = RegDeleteValue( newkey, valnameCString );
RegCloseKey( newkey );
}
delete [] subkeyCString;
delete [] valnameCString;
return result;
#else
return ERROR_INVALID_PARAMETER;
#endif
}
PRInt32
nsWinReg::nativeSetValueString(nsString subkey, nsString valname, nsString value)
{
HKEY root;
HKEY newkey;
LONG result;
DWORD length;
char* subkeyCString = subkey.ToNewCString();
char* valnameCString = valname.ToNewCString();
char* valueCString = value.ToNewCString();
length = subkey.Length();
#ifdef WIN32
root = (HKEY) rootkey;
result = RegOpenKeyEx( root, subkeyCString, 0, KEY_ALL_ACCESS, &newkey);
if(ERROR_SUCCESS == result)
{
result = RegSetValueEx( newkey, valnameCString, 0, REG_SZ, (unsigned char*)valueCString, length );
RegCloseKey( newkey );
}
#endif
delete [] subkeyCString;
delete [] valnameCString;
delete [] valueCString;
return result;
}
#define STRBUFLEN 255
nsString*
nsWinReg::nativeGetValueString(nsString subkey, nsString valname)
{
unsigned char valbuf[STRBUFLEN];
HKEY root;
HKEY newkey;
LONG result;
DWORD type = REG_SZ;
DWORD length = STRBUFLEN;
nsString* value;
char* subkeyCString = subkey.ToNewCString();
char* valnameCString = valname.ToNewCString();
#ifdef WIN32
root = (HKEY) rootkey;
result = RegOpenKeyEx( root, subkeyCString, 0, KEY_ALL_ACCESS, &newkey );
if ( ERROR_SUCCESS == result ) {
result = RegQueryValueEx( newkey, valnameCString, nsnull, &type, valbuf, &length );
RegCloseKey( newkey );
}
if(ERROR_SUCCESS == result && type == REG_SZ)
{
value = new nsString((char*)valbuf);
}
#endif
delete [] subkeyCString;
delete [] valnameCString;
return value;
}
PRInt32
nsWinReg::nativeSetValue(nsString subkey, nsString valname, nsWinRegValue* value)
{
#if defined (WIN32) || defined (XP_OS2)
HKEY root;
HKEY newkey;
LONG result;
DWORD length;
DWORD type;
unsigned char* data;
char* subkeyCString = subkey.ToNewCString();
char* valnameCString = valname.ToNewCString();
root = (HKEY) rootkey;
result = RegOpenKeyEx( root, subkeyCString, 0, KEY_ALL_ACCESS, &newkey );
if(ERROR_SUCCESS == result)
{
type = (DWORD)value->type;
data = (unsigned char*)value->data;
length = (DWORD)value->data_length;
result = RegSetValueEx( newkey, valnameCString, 0, type, data, length);
RegCloseKey( newkey );
}
delete [] subkeyCString;
delete [] valnameCString;
return result;
#else
return ERROR_INVALID_PARAMETER;
#endif
}
nsWinRegValue*
nsWinReg::nativeGetValue(nsString subkey, nsString valname)
{
#if defined (WIN32) || defined (XP_OS2)
unsigned char valbuf[STRBUFLEN];
HKEY root;
HKEY newkey;
LONG result;
DWORD length=STRBUFLEN;
DWORD type;
nsString* data;
nsWinRegValue* value = nsnull;
char* subkeyCString = subkey.ToNewCString();
char* valnameCString = valname.ToNewCString();
root = (HKEY) rootkey;
result = RegOpenKeyEx( root, subkeyCString, 0, KEY_ALL_ACCESS, &newkey );
if(ERROR_SUCCESS == result)
{
result = RegQueryValueEx( newkey, valnameCString, nsnull, &type, valbuf, &length );
if ( ERROR_SUCCESS == result ) {
data = new nsString((char*)valbuf);
length = data->Length();
value = new nsWinRegValue(type, (void*)data, length);
}
RegCloseKey( newkey );
}
delete [] subkeyCString;
delete [] valnameCString;
return value;
#else
return nsnull;
#endif
}
// PRBool
// nsWinReg::resolvePrivileges()
// {
// if(privMgr->enablePrivilege(impersonation, 1) &&
// privMgr->enablePrivilege(target, principal, 1))
// return TRUE;
// else
// return FALSE;
// }

View File

@@ -0,0 +1,103 @@
/* -*- 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_WINREG_H__
#define __NS_WINREG_H__
#include "nsWinRegEnums.h"
#include "nsWinRegValue.h"
#include "nscore.h"
#include "nsISupports.h"
#include "jsapi.h"
#include "plevent.h"
#include "nsString.h"
#include "nsFileSpec.h"
#include "nsVector.h"
#include "nsHashtable.h"
#include "nsSoftwareUpdate.h"
#include "nsInstallObject.h"
#include "nsInstallVersion.h"
#include "nsInstall.h"
class nsWinReg
{
public:
enum
{
HKEY_CLASSES_ROOT = 0x80000000,
HKEY_CURRENT_USER = 0x80000001,
HKEY_LOCAL_MACHINE = 0x80000002,
HKEY_USERS = 0x80000003
};
/* Public Fields */
/* Public Methods */
nsWinReg(nsInstall* suObj);
PRInt32 setRootKey(PRInt32 key);
PRInt32 createKey(nsString subkey, nsString classname, PRInt32* aReturn);
PRInt32 deleteKey(nsString subkey, PRInt32* aReturn);
PRInt32 deleteValue(nsString subkey, nsString valname, PRInt32* aReturn);
PRInt32 setValueString(nsString subkey, nsString valname, nsString value, PRInt32* aReturn);
PRInt32 getValueString(nsString subkey, nsString valname, nsString** aReturn);
PRInt32 setValue(nsString subkey, nsString valname, nsWinRegValue* value, PRInt32* aReturn);
PRInt32 getValue(nsString subkey, nsString valname, nsWinRegValue** aReturn);
nsInstall* installObject(void);
PRInt32 finalCreateKey(PRInt32 root, nsString subkey, nsString classname, PRInt32* aReturn);
PRInt32 finalDeleteKey(PRInt32 root, nsString subkey, PRInt32* aReturn);
PRInt32 finalDeleteValue(PRInt32 root, nsString subkey, nsString valname, PRInt32* aReturn);
PRInt32 finalSetValueString(PRInt32 root, nsString subkey, nsString valname, nsString value, PRInt32* aReturn);
PRInt32 finalSetValue(PRInt32 root, nsString subkey, nsString valname, nsWinRegValue* value, PRInt32* aReturn);
private:
/* Private Fields */
PRInt32 rootkey;
// nsPrincipal* principal;
// nsPrivilegeManager* privMgr;
// nsTarget* impersonation;
nsInstall* su;
// nsUserTarget* target;
/* Private Methods */
PRInt32 nativeCreateKey(nsString subkey, nsString classname);
PRInt32 nativeDeleteKey(nsString subkey);
PRInt32 nativeDeleteValue(nsString subkey, nsString valname);
PRInt32 nativeSetValueString(nsString subkey, nsString valname, nsString value);
nsString* nativeGetValueString(nsString subkey, nsString valname);
PRInt32 nativeSetValue(nsString subkey, nsString valname, nsWinRegValue* value);
nsWinRegValue* nativeGetValue(nsString subkey, nsString valname);
// PRBool resolvePrivileges();
};
#endif /* __NS_WINREG_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 nsWinRegEnums_h__
#define nsWinRegEnums_h__
typedef enum nsWinRegEnum {
NS_WIN_REG_CREATE = 1,
NS_WIN_REG_DELETE = 2,
NS_WIN_REG_DELETE_VAL = 3,
NS_WIN_REG_SET_VAL_STRING = 4,
NS_WIN_REG_SET_VAL = 5
} nsWinRegEnum;
typedef enum nsWinRegValueEnum {
NS_WIN_REG_SZ = 1,
NS_WIN_REG_EXPAND_SZ = 2,
NS_WIN_REG_BINARY = 3,
NS_WIN_REG_DWORD = 4,
NS_WIN_REG_DWORD_LITTLE_ENDIAN = 4,
NS_WIN_REG_DWORD_BIG_ENDIAN = 5,
NS_WIN_REG_LINK = 6,
NS_WIN_REG_MULTI_SZ = 7,
NS_WIN_REG_RESOURCE_LIST = 8,
NS_WIN_REG_FULL_RESOURCE_DESCRIPTOR = 9,
NS_WIN_REG_RESOURCE_REQUIREMENTS_LIST = 10
} nsWinRegValueEnum;
#endif /* nsWinRegEnums_h__ */

View File

@@ -0,0 +1,255 @@
/* -*- 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.
*/
#include "nsWinRegItem.h"
#include "nspr.h"
#ifdef WIN32
#include <windows.h> /* is this needed? */
#endif
/* Public Methods */
nsWinRegItem::nsWinRegItem(nsWinReg* regObj, PRInt32 root, PRInt32 action, nsString sub, nsString valname, nsString val)
: nsInstallObject(regObj->installObject())
{
reg = regObj;
command = action;
rootkey = root;
/* I'm assuming we need to copy these */
subkey = new nsString(sub);
name = new nsString(valname);
value = new nsString(val);
}
nsWinRegItem::~nsWinRegItem()
{
delete reg;
delete subkey;
delete name;
delete value;
}
PRInt32 nsWinRegItem::Complete()
{
PRInt32 aReturn = NS_OK;
switch (command)
{
case NS_WIN_REG_CREATE:
reg->finalCreateKey(rootkey, *subkey, *name, &aReturn);
break;
case NS_WIN_REG_DELETE:
reg->finalDeleteKey(rootkey, *subkey, &aReturn);
break;
case NS_WIN_REG_DELETE_VAL:
reg->finalDeleteValue(rootkey, *subkey, *name, &aReturn);
break;
case NS_WIN_REG_SET_VAL_STRING:
reg->finalSetValueString(rootkey, *subkey, *name, *(nsString*)value, &aReturn);
break;
case NS_WIN_REG_SET_VAL:
reg->finalSetValue(rootkey, *subkey, *name, (nsWinRegValue*)value, &aReturn);
break;
}
return aReturn;
}
float nsWinRegItem::GetInstallOrder()
{
return 3;
}
#define kCRK "Create Registry Key "
#define kDRK "Delete Registry key "
#define kDRV "Delete Registry value "
#define kSRV "Store Registry value "
#define kUNK "Unknown "
char* nsWinRegItem::toString()
{
nsString* keyString;
nsString* result;
char* resultCString;
switch(command)
{
case NS_WIN_REG_CREATE:
keyString = keystr(rootkey, subkey, nsnull);
result = new nsString(kCRK);
result->Append(*keyString);
resultCString = result->ToNewCString();
delete keyString;
delete result;
return resultCString;
case NS_WIN_REG_DELETE:
keyString = keystr(rootkey, subkey, nsnull);
result = new nsString(kDRK);
result->Append(*keyString);
resultCString = result->ToNewCString();
delete keyString;
delete result;
return resultCString;
case NS_WIN_REG_DELETE_VAL:
keyString = keystr(rootkey, subkey, name);
result = new nsString(kDRV);
result->Append(*keyString);
resultCString = result->ToNewCString();
delete keyString;
delete result;
return resultCString;
case NS_WIN_REG_SET_VAL_STRING:
keyString = keystr(rootkey, subkey, name);
result = new nsString(kSRV);
result->Append(*keyString);
resultCString = result->ToNewCString();
delete keyString;
delete result;
return resultCString;
case NS_WIN_REG_SET_VAL:
keyString = keystr(rootkey, subkey, name);
result = new nsString(kSRV);
result->Append(*keyString);
resultCString = result->ToNewCString();
delete keyString;
delete result;
return resultCString;
default:
keyString = keystr(rootkey, subkey, name);
result = new nsString(kUNK);
result->Append(*keyString);
resultCString = result->ToNewCString();
delete keyString;
delete result;
return resultCString;
}
}
PRInt32 nsWinRegItem::Prepare()
{
return NULL;
}
void nsWinRegItem::Abort()
{
}
/* Private Methods */
nsString* nsWinRegItem::keystr(PRInt32 root, nsString* subkey, nsString* name)
{
nsString* rootstr;
nsString* finalstr;
char* istr;
switch(root)
{
case (int)(HKEY_CLASSES_ROOT) :
rootstr = new nsString("\\HKEY_CLASSES_ROOT\\");
break;
case (int)(HKEY_CURRENT_USER) :
rootstr = new nsString("\\HKEY_CURRENT_USER\\");
break;
case (int)(HKEY_LOCAL_MACHINE) :
rootstr = new nsString("\\HKEY_LOCAL_MACHINE\\");
break;
case (int)(HKEY_USERS) :
rootstr = new nsString("\\HKEY_USERS\\");
break;
default:
istr = itoa(root);
rootstr = new nsString("\\#");
rootstr->Append(istr);
rootstr->Append("\\");
PR_DELETE(istr);
break;
}
finalstr = new nsString(*rootstr);
if(name != nsnull)
{
finalstr->Append(*subkey);
finalstr->Append(" [");
finalstr->Append(*name);
finalstr->Append("]");
}
delete rootstr;
return finalstr;
}
char* nsWinRegItem::itoa(PRInt32 n)
{
char* s;
int i, sign;
if((sign = n) < 0)
n = -n;
i = 0;
s = (char*)PR_CALLOC(sizeof(char));
do
{
s = (char*)PR_REALLOC(s, (i+1)*sizeof(char));
s[i++] = n%10 + '0';
s[i] = '\0';
} while ((n/=10) > 0);
if(sign < 0)
{
s = (char*)PR_REALLOC(s, (i+1)*sizeof(char));
s[i++] = '-';
}
s[i] = '\0';
reverseString(s);
return s;
}
void nsWinRegItem::reverseString(char* s)
{
int c, i, j;
for(i=0, j=strlen(s)-1; i<j; i++, j--)
{
c = s[i];
s[i] = s[j];
s[j] = c;
}
}
/* CanUninstall
* WinRegItem() does not install any files which can be uninstalled,
* hence this function returns false.
*/
PRBool
nsWinRegItem:: CanUninstall()
{
return FALSE;
}
/* RegisterPackageNode
* WinRegItem() installs files which need to be registered,
* hence this function returns true.
*/
PRBool
nsWinRegItem:: RegisterPackageNode()
{
return TRUE;
}

View File

@@ -0,0 +1,82 @@
/* -*- 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 nsWinRegItem_h__
#define nsWinRegItem_h__
#include "prtypes.h"
#include "nsSoftwareUpdate.h"
#include "nsInstallObject.h"
#include "nsWinReg.h"
PR_BEGIN_EXTERN_C
class nsWinRegItem : public nsInstallObject {
public:
/* Public Fields */
/* Public Methods */
nsWinRegItem(nsWinReg* regObj,
PRInt32 root,
PRInt32 action,
nsString sub,
nsString valname,
nsString val);
~nsWinRegItem();
PRInt32 Prepare(void);
PRInt32 Complete();
char* toString();
void Abort();
float GetInstallOrder();
/* should these be protected? */
PRBool CanUninstall();
PRBool RegisterPackageNode();
private:
/* Private Fields */
nsWinReg* reg; // initiating WinReg object
PRInt32 rootkey;
PRInt32 command;
nsString* subkey; // Name of section
nsString* name; // Name of key
void* value; // data to write
/* Private Methods */
nsString* keystr(PRInt32 root, nsString* subkey, nsString* name);
char* itoa(PRInt32 n);
void reverseString(char* s);
};
PR_END_EXTERN_C
#endif /* nsWinRegItem_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.
*/
#include "nsWinRegValue.h"
PR_BEGIN_EXTERN_C
PR_END_EXTERN_C

View File

@@ -0,0 +1,56 @@
/* -*- 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 nsWinRegValue_h__
#define nsWinRegValue_h__
#include "prtypes.h"
PR_BEGIN_EXTERN_C
struct nsWinRegValue {
public:
/* Public Fields */
PRInt32 type;
void* data;
PRInt32 data_length;
/* Public Methods */
nsWinRegValue(PRInt32 datatype, void* regdata, PRInt32 len)
{
type = datatype;
data = regdata;
data_length = len;
}
/* should we copy the regdata? */
private:
/* Private Fields */
/* Private Methods */
};
PR_END_EXTERN_C
#endif /* nsWinRegValue_h__ */

View File

@@ -0,0 +1,49 @@
#!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.
DEPTH=..\..
MAKE_OBJ_TYPE = EXE
PROGRAM = .\$(OBJDIR)\xpinstall.exe
OBJS = \
.\$(OBJDIR)\standalone.obj \
.\$(OBJDIR)\nsSimpleConsoleProgressNotifier.obj \
$(NULL)
LLIBS = \
$(DIST)\lib\xpinstall.lib \
$(DIST)\lib\raptorbase.lib \
$(DIST)\lib\xpcom32.lib \
$(LIBNSPR) \
$(NULL)
LINCS = \
-I$(PUBLIC)\xpcom \
-I$(PUBLIC)\xpinstall \
-I$(PUBLIC)\raptor \
$(NULL)
include <$(DEPTH)\config\rules.mak>
export:: $(PROGRAM)
$(MAKE_INSTALL) $(PROGRAM) $(DIST)\bin
clobber::
rm -f $(DIST)\bin\xpinstall.exe
$(PROGRAM):: $(OBJS) $(LLIBS)

View File

@@ -0,0 +1,75 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Douglas Turner <dougt@netscape.com>
*/
#include "nsIXPInstallProgressNotifier.h"
#include "nsSimpleConsoleProgressNotifier.h"
#include <stdlib.h>
#include <stdio.h>
nsSimpleConsoleProgressNotifier::nsSimpleConsoleProgressNotifier()
{}
nsSimpleConsoleProgressNotifier::~nsSimpleConsoleProgressNotifier()
{}
void
nsSimpleConsoleProgressNotifier::BeforeJavascriptEvaluation(void)
{
printf("Prior to evaluation of Install Script\n");
}
void
nsSimpleConsoleProgressNotifier::AfterJavascriptEvaluation(void)
{
printf("After evaluation of Install Script\n");
}
void
nsSimpleConsoleProgressNotifier::InstallStarted(const char* UIPackageName)
{
printf("Installing: %s\n", UIPackageName);
}
long
nsSimpleConsoleProgressNotifier::ItemScheduled(const char* message )
{
printf("Scheduled Item:\t%s\n", message);
return 0;
}
void
nsSimpleConsoleProgressNotifier::InstallFinalization(const char* message, long itemNum, long totNum )
{
printf("Item: %s\t(%ld of %ld) Installed.\n", message, itemNum, totNum );
}
void
nsSimpleConsoleProgressNotifier::InstallAborted(void)
{
printf("Installation aborted.\n");
}

View File

@@ -0,0 +1,47 @@
/* -*- 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 "License"); you 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.
*
* Contributors:
* Daniel Veditz <dveditz@netscape.com>
* Douglas Turner <dougt@netscape.com>
*/
#ifndef nsSimpleConsoleProgressNotifier_H__
#define nsSimpleConsoleProgressNotifier_H__
#include "nsIXPInstallProgressNotifier.h"
class nsSimpleConsoleProgressNotifier : public nsIXPInstallProgressNotifier
{
public:
nsSimpleConsoleProgressNotifier();
virtual ~nsSimpleConsoleProgressNotifier();
void BeforeJavascriptEvaluation(void);
void AfterJavascriptEvaluation(void);
void InstallStarted(const char* UIPackageName);
long ItemScheduled(const char* message );
void InstallFinalization(const char* message, long itemNum, long totNum );
void InstallAborted(void);
};
#endif

View File

@@ -0,0 +1,141 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* The contents of this file are subject to the Netscape Public License
* Version 1.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.
*/
#include <stdio.h>
#include "nsRepository.h"
#include "nsIServiceManager.h"
#include "nsCOMPtr.h"
#include "nsSpecialSystemDirectory.h"
#include "nscore.h"
#include "nspr.h"
#include "nsSimpleConsoleProgressNotifier.h"
/*********************************************
SoftwareUpdate
*********************************************/
#include "nsISoftwareUpdate.h"
#include "nsSoftwareUpdateIIDs.h"
static nsISoftwareUpdate *softwareUpdate= NULL;
static NS_DEFINE_IID(kFileLocatorIID, NS_IFILELOCATOR_IID);
static NS_DEFINE_IID(kFileLocatorCID, NS_FILELOCATOR_CID);
/*********************************************/
extern "C" void
NS_SetupRegistry()
{
// Autoregistration happens here. The rest of RegisterComponent() calls should happen
// only for dlls not in the components directory.
// Create exeDir/"components"
nsSpecialSystemDirectory sysdir(nsSpecialSystemDirectory::OS_CurrentProcessDirectory);
sysdir += "components";
const char *componentsDir = sysdir.GetCString(); // native path
if (componentsDir != NULL)
{
#ifdef XP_PC
/* The PC version of the directory from filePath is of the form
* /y|/moz/mozilla/dist/bin/components
* We need to remove the initial / and change the | to :
* for all this to work with NSPR.
*/
#endif /* XP_PC */
printf("nsComponentManager: Using components dir: %s\n", componentsDir);
#ifdef XP_MAC
nsComponentManager::AutoRegister(nsIComponentManager::NS_Startup, nsnull);
#else
nsComponentManager::AutoRegister(nsIComponentManager::NS_Startup, componentsDir);
#endif /* XP_MAC */
// XXX Look for user specific components
// XXX UNIX: ~/.mozilla/components
}
}
/***************************************************************************/
static void
xpinstall_usage(int argc, char *argv[])
{
fprintf(stderr, "Usage: %s [-f flags] [-a arguments] filename\n", argv[0]);
}
int
main(int argc, char **argv)
{
for (int i = 1; i < argc; i++)
{
if (argv[i][0] != '-')
break;
switch (argv[i][1])
{
case 'f':
if (argv[i][2] == '\0' && i == argc)
{
fputs("ERROR: missing path after -f\n", stderr);
xpinstall_usage(argc, argv);
return 1;
}
//foo = argv[i + 1];
i++;
break;
default:
fprintf(stderr, "unknown option %s\n", argv[i]);
xpinstall_usage(argc, argv);
return 1;
}
}
NS_SetupRegistry();
nsresult rv = nsComponentManager::CreateInstance(kSoftwareUpdateCID,
nsnull,
kISoftwareUpdateIID,
(void**) &softwareUpdate);
if (NS_SUCCEEDED(rv))
{
nsSimpleConsoleProgressNotifier *progress = new nsSimpleConsoleProgressNotifier();
softwareUpdate->RegisterNotifier(progress);
nsFileSpec jarFile(argv[i]);
nsFileURL jarFileURL(jarFile);
softwareUpdate->InstallJar( nsString( jarFileURL.GetAsString() ) ,
nsString( nsNSPRPath(jarFile) ),
0x00000001);
}
return rv;
}