Commit Graph

1586 Commits

Author SHA1 Message Date
warren%netscape.com
4a274d01f1 Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz 1999-11-12 06:13:13 +00:00
warren%netscape.com
925f33ebbc Switched to new nsIZipReader interface for Mac. 1999-11-12 06:12:14 +00:00
warren%netscape.com
1dec9a5ab3 Added 1999-11-12 05:58:46 +00:00
norris%netscape.com
3bef1cd94e * Modify nsIPref to support security policy work.
r=neeti@netscape.com
* Close security holes by tightening prefs.
r=mstoltz@netscape.com
1999-11-12 02:50:18 +00:00
sgehani%netscape.com
4d95211698 Added CRC checking for every item we extract. Fixes bug 17511. [r=mstoltz] 1999-11-11 22:08:08 +00:00
erik%netscape.com
97a4edf14f This is just a local .cvsignore file. Doesn't affect build. 1999-11-11 18:15:49 +00:00
warren%netscape.com
fb7ad57ff3 Added 1999-11-11 05:21:38 +00:00
jdunn%netscape.com
28bbc283d5 Add newline at end of file... HP requires it! 1999-11-11 03:14:37 +00:00
valeski%netscape.com
b474e20c80 default for keywords enabled field is false 1999-11-11 01:13:51 +00:00
valeski%netscape.com
d1048dde78 11869, r=dagley. added keyword related prefs (1 for enable/disable, and 1 for keyword URL). 1999-11-11 00:26:05 +00:00
sfraser%netscape.com
a2518d9e91 Fix warnings, bug 15588. r=ducarroz 1999-11-11 00:24:18 +00:00
nisheeth%netscape.com
ecf204e501 a=sdagley. Move over to new timing macros... 1999-11-10 03:41:09 +00:00
shaver%netscape.com
c73533acb7 - NS_ERROR_FACTORY_REGISTER_AGAIN for deferring registration of a module until
later in the autoreg cycle.
- teach native component loader about deferred components
- add nsIComponentLoader::registerDeferredComponents
- teach component manager about deferred components
- made nsID::Parse take a |const char *| instead of a simple |char *|.
- move release of XPTI singletons until _after_ shutting down the component
  manager to prevent re-initialization during JS component shutdown.
- category manager work: really delete from reg, start on enumeration
- use nsXPIDLCString instead of autoStringFree.
- fix nsRegistry to use allocator properly.
- cleaner memory management in nsFactoryEntry.
- capitalization fixed in nsIComponentLoader.idl
- clean up loader creation logic
- remove/disable lots of DEBUG_shaver noise
- added (disabled) warning about NSGetFactory usage
- move .so and .shlb higher up in the ValidDllExtensions list to marginally
  speed up registration.
- added nsDll::GetRegistryLocation API
- properly export nsSupportsArray.h
- capitalization fixes in nsIEnumerator.idl
- added deferral to nsSample.js
1999-11-10 00:28:34 +00:00
cls%seawood.org
dcb3aa39d9 Replaced NO_SECURITY ifdef with MOZ_SECURITY one. This causes pref_VerifyLockFile to always return PR_TRUE rather than linking against the dummy secfree library. This replacement also removed the last dependency upon that dummy library so it will no longer be built (next patch). 1999-11-09 23:13:53 +00:00
warren%netscape.com
8fe0bb36a6 Got Gayatri's JAR protocol working. (not in build yet) 1999-11-07 21:55:12 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
sfraser%netscape.com
94b89b30ae Fixes for 16723 -- fix error returns from imglib. Remove and re-add files to project to fix the case of the filenames. r=pnunn, a=chofmann. 1999-11-04 23:11:48 +00:00
sfraser%netscape.com
26e2b11922 Fixes for 16723 -- fix error returns from imglib. r=pnunn, a=chofmann. 1999-11-04 23:11:11 +00:00
dveditz%netscape.com
acfa4a526a Changing registry keys to a mozilla-centric name rather than netscape. 1999-11-03 07:36:03 +00:00
warren%netscape.com
d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
mstoltz%netscape.com
1a3e4d06d0 Fixed windows breakage in standalone by adding a typedef 1999-11-03 00:41:20 +00:00
mstoltz%netscape.com
54b6d77584 Created helper class nsZipRead to hold read state information. That way
one nsJAR can support multiple input streams. r=norris
1999-11-02 23:46:09 +00:00
cls%seawood.org
bee74e223b Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
akhil.arora%sun.com
fae6e4dc39 17802 r=drapeau@eng.sun.com Workshop C++ 5.0 needs a cast 1999-11-02 22:57:58 +00:00
cls%seawood.org
a2f7e7231c Use #elif not #elseif 1999-11-02 22:36:59 +00:00
ssu%netscape.com
69202f5e38 fixing redness on mac tinderbox. #else if doesn't work. Changed it to #elseif 1999-11-02 21:50:07 +00:00
sgehani%netscape.com
96dca78493 Fixed bugs 10540, 9148. Libjar now reads teh central directory headers as opposed to the local file headers. This enables us to glean permissions informationand restore file mode upon extraction. A side-effect is the bug 10540 fix where the Install.Execute() API now works on Linux since we restore the execute bits in temporarily extracted files. [r=ssu] 1999-11-02 20:37:28 +00:00
dmose%mozilla.org
677de53d84 updating license boilerplate to xPL v1.1 1999-11-02 06:27:30 +00:00
tbogard%aol.net
10ded258a5 Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt 1999-11-01 21:43:56 +00:00
dveditz%netscape.com
5507660e26 taking a crack at some ports bustage. r=pnunn 1999-11-01 21:35:50 +00:00
warren%netscape.com
145f9f9dea Minor cleanup 1999-11-01 20:50:04 +00:00
brendan%mozilla.org
f81d5969c6 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
sgehani%netscape.com
3715eaa957 Fixing static targets to be usable by MIW once again: removed new nsJARInputStream from the static targets. For real this time... 1999-10-30 22:18:31 +00:00
sgehani%netscape.com
24ea07ca57 Backed out change temporarily. 1999-10-30 22:03:46 +00:00
sgehani%netscape.com
0d281eb610 Fixing static targets to be usable by MIW once again: removed new nsJARInputStream from the statis targets. 1999-10-30 21:56:51 +00:00
pnunn%netscape.com
535c166f53 part of fix for bug#15817. r: akkana. strong suggestion by kipp. Do the right
thing in image container destructor.
1999-10-29 18:53:03 +00:00
pnunn%netscape.com
9ad24b2e07 fix for bug#17076. r: akkana. Puts data stream mime check before component
loading instead of after a component load failure.
1999-10-29 18:51:09 +00:00
sspitzer%netscape.com
c614d3d7c0 fix for #8717. performance is good enough to bump this back to 500.
still more work to be done, as this is a per-server pref now, I think.
1999-10-29 04:49:41 +00:00
kipp%netscape.com
82071e4e95 Disabled some of my own debugging noise 1999-10-29 02:17:55 +00:00
braddr%puremagic.com
ea13be0a26 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
sspitzer%netscape.com
b14d0a9695 fix for #17285 and #17397. r=mscott.
properly migrate pop and nntp servers from 4.x that were not on the default ports (110 and 119, respectively).
also, set the default port pref to be -1, so that if we don't set the port, it gets set to -1.
1999-10-27 22:44:34 +00:00
braddr%puremagic.com
341c8b0054 Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com
55276cc3c4 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
sfraser%netscape.com
b69e416652 Ooops, maybe we do need one of those paths after all. r=floppy 1999-10-27 06:48:35 +00:00
sfraser%netscape.com
7ffbbb77c5 Another teeny project fix -- remove obsolete lib/xp paths in the two static targets (which are not built anyway). r=moose 1999-10-27 06:44:44 +00:00
mstoltz%netscape.com
efcdcfd4ad Fixed Windows breakage from converting const nsZIpItem* to nsZipItem*. r=dveditz 1999-10-26 20:45:21 +00:00
mstoltz%netscape.com
08143e312c Added GetInputStream function to nsJAR in order to extract files into memory rather than to disk. Created nsJARInputStream to carry this data. Most of the code for this change went into nsZipArchive, which now handles either file output or output to memory. bug=16077 r=dveditz 1999-10-26 19:43:26 +00:00
sgehani%netscape.com
6dcf3ee43a Fixes bug 17190: extract only core_*/* files to obtain the XPInstall engine run by the Install Wizard. [r=cathleen] 1999-10-26 02:08:56 +00:00
edburns%acm.org
20c9689bd6 r=edburns@acm.org
author=idk@eng.sun.com
#16149
approver=edburns@acm.org
1999-10-26 01:29:09 +00:00