145 Commits

Author SHA1 Message Date
don%netscape.com
3a21477635 Temporarily disabled CheckURI so the Manage Bookmarks dialog and other windows work again. Norris will fix the window.open problem later.
git-svn-id: svn://10.0.0.236/trunk@46298 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 04:25:14 +00:00
norris%netscape.com
1405f1b83a disable XPConnect security check, perhaps related to test failure. Getting reports of failures on Mac at least.
git-svn-id: svn://10.0.0.236/trunk@46231 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 22:29:56 +00:00
norris%netscape.com
21439ca75b Fix build breakage: full #include needed.
git-svn-id: svn://10.0.0.236/trunk@46229 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 21:26:56 +00:00
norris%netscape.com
74202f2741 Fix bug 13253.
Enable restrictions on use of Components array from web JavaScript.


git-svn-id: svn://10.0.0.236/trunk@46223 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 20:40:20 +00:00
norris%netscape.com
4e8768c593 * Add checks on urls formed from web scripts
* Make nsScriptSecurityManager implement nsXPCSecurityManager
* Fix unix warnings


git-svn-id: svn://10.0.0.236/trunk@46152 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 02:54:19 +00:00
shaver%netscape.com
75770de0d4 quell assignment-as-boolean warning
git-svn-id: svn://10.0.0.236/trunk@46047 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-05 05:28:28 +00:00
bruce%cybersight.com
7be3238b20 Use nsAllocator not new[] for char* data.
git-svn-id: svn://10.0.0.236/trunk@45888 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:15:03 +00:00
briano%netscape.com
6860ae4df4 Cleaned it up and eliminated the pointless #!gmake.
git-svn-id: svn://10.0.0.236/trunk@45556 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 23:27:16 +00:00
norris%netscape.com
336023621c added files: mozilla/caps/idl/nsICodebasePrincipal.idl, mozilla/caps/idl/nsICertificatePrincipal.idl, removed files: mozilla/caps/idl/nsIPrivilege.idl, mozilla/caps/idl/nsICapsSecurityCallbacks.idl, mozilla/caps/idl/nsITarget.idl, mozilla/caps/idl/nsICapsManager.idl, mozilla/caps/idl/nsIPrincipalArray.idl, mozilla/caps/idl/nsIPrincipalManager.idl, mozilla/caps/idl/nsIPrivilegeManager.idl
git-svn-id: svn://10.0.0.236/trunk@45419 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 02:03:02 +00:00
kipp%netscape.com
934ff6ffd5 Make it build on unix
git-svn-id: svn://10.0.0.236/trunk@45418 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:50:01 +00:00
norris%netscape.com
9a853c4260 nsIPrincipalManager.idl removed.
git-svn-id: svn://10.0.0.236/trunk@45415 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 01:34:11 +00:00
norris%netscape.com
0267b22c5c added files: mozilla/caps/src/nsSystemPrincipal.cpp
git-svn-id: svn://10.0.0.236/trunk@45390 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:58:46 +00:00
norris%netscape.com
be0abcdc20 removed files: mozilla/caps/src/jpermission.c, mozilla/caps/src/nsPrivilege.cpp, mozilla/caps/src/nsPrivilegeManager.cpp, mozilla/caps/src/nsPrivilegeTable.cpp, mozilla/caps/src/nsSystemPrivilegeTable.cpp, mozilla/caps/src/nsTarget.cpp, mozilla/caps/src/nsUserDialogHelper.cpp, mozilla/caps/src/nsUserTarget.cpp, mozilla/caps/src/nsCaps.cpp, mozilla/caps/src/admin.cpp, mozilla/caps/src/nsCCapsManager.cpp, mozilla/caps/src/nsPrincipalArray.cpp, mozilla/caps/src/nsPrincipalManager.cpp
git-svn-id: svn://10.0.0.236/trunk@45384 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:56:22 +00:00
norris%netscape.com
34b474302b Add all-powerful system principals. Remove some dead code from the build.
git-svn-id: svn://10.0.0.236/trunk@45380 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:35 +00:00
cyeh%netscape.com
c6342ee432 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people.
git-svn-id: svn://10.0.0.236/trunk@45379 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 00:54:34 +00:00
joki%netscape.com
9db6478cb3 Adding new flag to the security check calls out of the DOM generated JS files.
git-svn-id: svn://10.0.0.236/trunk@45348 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 14:23:55 +00:00
norris%netscape.com
3a6d863c13 * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments


git-svn-id: svn://10.0.0.236/trunk@45080 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 21:58:42 +00:00
beard%netscape.com
6ffeb216b5 Removed a potentially dangerous cast.
git-svn-id: svn://10.0.0.236/trunk@44971 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 03:00:19 +00:00
beard%netscape.com
eb4bc42679 wasn't calling __intialize/__terminate.
git-svn-id: svn://10.0.0.236/trunk@44968 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 02:58:35 +00:00
gagan%netscape.com
16f9ee173e Fixed some memory leaks showing up on bruce's log-
http://www.cybersight.com/~bruce/apprunner.mongo.19990827.log.


git-svn-id: svn://10.0.0.236/trunk@44793 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 08:36:49 +00:00
alecf%netscape.com
dd81e64c24 remove libcaps dependancy on libxp by using PL/PR routines instead of XP_*
git-svn-id: svn://10.0.0.236/trunk@44744 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 04:09:41 +00:00
mccabe%netscape.com
0d087a7447 Spam caps subtree to replace declarations of IDL-defined interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO macro.
git-svn-id: svn://10.0.0.236/trunk@44018 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-21 20:22:27 +00:00
arielb%netscape.com
e2de3f1c3d this should be it, sorry, again
git-svn-id: svn://10.0.0.236/trunk@43805 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 11:44:52 +00:00
arielb%netscape.com
9b273907c6 this should be it, sorry
git-svn-id: svn://10.0.0.236/trunk@43802 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 10:59:55 +00:00
arielb%netscape.com
12b3a3a79c this may do it, reset the project paths, if anyone has any other ideas why this is breaking, please let me know
git-svn-id: svn://10.0.0.236/trunk@43801 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 10:39:12 +00:00
arielb%netscape.com
c447be6d2c i may have screwed up adding the files through camelot, this should be more thorough
git-svn-id: svn://10.0.0.236/trunk@43800 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 09:57:40 +00:00
arielb%netscape.com
d0569113c8 added files: mozilla/caps/src/nsJSPrincipals.cpp, mozilla/caps/src/nsScriptSecurityManager.cpp
git-svn-id: svn://10.0.0.236/trunk@43799 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 09:53:15 +00:00
arielb%netscape.com
ad40dbfcd5 includes updates to codbase matching security checks currently turned off
but in place.  redefined the script security manager in caps and it is
now generating codebase principals.


git-svn-id: svn://10.0.0.236/trunk@43798 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 09:51:02 +00:00
arielb%netscape.com
de6ec53a99 added JavaScript shlbs to target paths
git-svn-id: svn://10.0.0.236/trunk@43797 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-20 09:44:41 +00:00
arielb%netscape.com
f96a17b9c8 adding functionality to security
git-svn-id: svn://10.0.0.236/trunk@42712 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 22:29:02 +00:00
arielb%netscape.com
89a92838d2 removing public directory for good. fixed up nsPrivilegeManager.cpp
git-svn-id: svn://10.0.0.236/trunk@42706 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 21:04:16 +00:00
arielb%netscape.com
251a1383ad removed files: mozilla/caps/src/nsZip.c, mozilla/caps/src/nsZig.cpp, mozilla/caps/src/nsLoadZig.c
git-svn-id: svn://10.0.0.236/trunk@42669 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 21:42:47 +00:00
arielb%netscape.com
f5d498bbba removed zip support from caps module. from now on all that stuff will
be used by libjar.  should also remove a lot of memory leaks reported on
nsZip


git-svn-id: svn://10.0.0.236/trunk@42668 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 21:40:33 +00:00
arielb%netscape.com
788241b16c Fix to bug 11330 and some changes to reduce warnings in linux builds
git-svn-id: svn://10.0.0.236/trunk@42661 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 19:59:31 +00:00
briano%netscape.com
560cfafde5 Fixed the missing EOF newline problem.
git-svn-id: svn://10.0.0.236/trunk@42624 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 03:01:30 +00:00
sspitzer%netscape.com
d13e711412 fix the port bustages. use ZLIB_LIBS and not -lz. r=briano.
git-svn-id: svn://10.0.0.236/trunk@42617 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 02:15:37 +00:00
sspitzer%netscape.com
239f6089d8 fix for run time bustage. r=briano
git-svn-id: svn://10.0.0.236/trunk@42586 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 00:10:14 +00:00
arielb%netscape.com
e7f72f60e5 added files: mozilla/caps/src/nsSecurityManagerFactory.cpp
git-svn-id: svn://10.0.0.236/trunk@42571 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 22:56:57 +00:00
norris%netscape.com
c312ad6e18 didn't go through on windows, this is arielb's checkin
git-svn-id: svn://10.0.0.236/trunk@42565 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 22:50:11 +00:00
arielb%netscape.com
a12b820894 added a new and improved factory to caps module. fixed some bugs and
cleared some warnings.  also move some methods of privilege manager to
principal manager.


git-svn-id: svn://10.0.0.236/trunk@42563 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 22:44:35 +00:00
sspitzer%netscape.com
50ef97bffc fix warnings
git-svn-id: svn://10.0.0.236/trunk@42311 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 19:47:10 +00:00
briano%netscape.com
4225fcf54f Added a newline to the EOF to fix the Unix native compiler builds.
git-svn-id: svn://10.0.0.236/trunk@41798 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 06:40:28 +00:00
briano%netscape.com
47f43e10da Cleaned it up.
git-svn-id: svn://10.0.0.236/trunk@41797 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 06:40:06 +00:00
briano%netscape.com
60feb77b7e Added a newline to the EOF to fix the Unix native compiler builds.
git-svn-id: svn://10.0.0.236/trunk@41794 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 06:33:08 +00:00
jband%netscape.com
51d427d2b1 fixing runtime crash for arielb - was shadowing a member with a local in the ctor
git-svn-id: svn://10.0.0.236/trunk@41778 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-02 01:44:18 +00:00
arielb%netscape.com
62f4cc08c2 i guess the removal of the dir didn't go through, hope this doesn't mean
the build will bust


git-svn-id: svn://10.0.0.236/trunk@41772 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 21:49:06 +00:00
arielb%netscape.com
576dedd032 add a principal manager to caps api. everything is now xpidled so
i removed the public directory from the module.


git-svn-id: svn://10.0.0.236/trunk@41771 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-01 21:26:02 +00:00
briano%netscape.com
6ba54119ec Added a newline the the end of file to make the native Unix compilers happy.
git-svn-id: svn://10.0.0.236/trunk@41493 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:55:50 +00:00
arielb%netscape.com
5b5124ff1a xpidling and updating nsTarget object. should resolve build errors on
SeaMonkey Ports


git-svn-id: svn://10.0.0.236/trunk@41439 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 05:43:26 +00:00
briano%netscape.com
684f6b2907 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568.
git-svn-id: svn://10.0.0.236/trunk@41354 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 23:27:44 +00:00