Граф коммитов

1633 Коммитов

Автор SHA1 Сообщение Дата
norris%netscape.com 008ce9cc6e * 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 0209cbde49 Added CRC checking for every item we extract. Fixes bug 17511. [r=mstoltz] 1999-11-11 22:08:08 +00:00
erik%netscape.com a07ac40a78 This is just a local .cvsignore file. Doesn't affect build. 1999-11-11 18:15:49 +00:00
warren%netscape.com a22efa2985 Added 1999-11-11 05:21:38 +00:00
jdunn%netscape.com 809996f6b4 Add newline at end of file... HP requires it! 1999-11-11 03:14:37 +00:00
valeski%netscape.com c86fde6f6b default for keywords enabled field is false 1999-11-11 01:13:51 +00:00
valeski%netscape.com c06e4dca57 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 f846e017a7 Fix warnings, bug 15588. r=ducarroz 1999-11-11 00:24:18 +00:00
nisheeth%netscape.com 6a7c8adf6c a=sdagley. Move over to new timing macros... 1999-11-10 03:41:09 +00:00
shaver%netscape.com 61511e23f5 - 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 311b18a2a2 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 5f446c2b3a Got Gayatri's JAR protocol working. (not in build yet) 1999-11-07 21:55:12 +00:00
dmose%mozilla.org 8535dda53e 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 42fc94a6ec 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 ece1ec5b6b 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 3237e6f610 Fixes for 16723 -- fix error returns from imglib. r=pnunn, a=chofmann. 1999-11-04 23:11:11 +00:00
dveditz%netscape.com 19d11419f5 Changing registry keys to a mozilla-centric name rather than netscape. 1999-11-03 07:36:03 +00:00
warren%netscape.com 813f9f7c13 Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
mstoltz%netscape.com 76f0f1959d Fixed windows breakage in standalone by adding a typedef 1999-11-03 00:41:20 +00:00
mstoltz%netscape.com 6bf8a92a61 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 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
akhil.arora%sun.com 0634b6ed95 17802 r=drapeau@eng.sun.com Workshop C++ 5.0 needs a cast 1999-11-02 22:57:58 +00:00
cls%seawood.org ed4e5a107e Use #elif not #elseif 1999-11-02 22:36:59 +00:00
ssu%netscape.com fcfc159540 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 abca066b9b 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 4cd7b17cd8 updating license boilerplate to xPL v1.1 1999-11-02 06:27:30 +00:00
tbogard%aol.net c9198a207c 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 85b058e941 taking a crack at some ports bustage. r=pnunn 1999-11-01 21:35:50 +00:00
warren%netscape.com a530adf79c Minor cleanup 1999-11-01 20:50:04 +00:00
brendan%mozilla.org fe51b61664 (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 cb39a72715 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 6716ef3790 Backed out change temporarily. 1999-10-30 22:03:46 +00:00
sgehani%netscape.com 9aa120d5cc 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 28183cec5b 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 7a865e6e16 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 b64f93a791 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 2d7031d390 Disabled some of my own debugging noise 1999-10-29 02:17:55 +00:00
braddr%puremagic.com d92727dc68 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 a1db4e901d 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 b49b3dbdce Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com b2ea5b4c45 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 bd9f6bb44d Ooops, maybe we do need one of those paths after all. r=floppy 1999-10-27 06:48:35 +00:00
sfraser%netscape.com 2795fbd65a 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 99c58b1613 Fixed Windows breakage from converting const nsZIpItem* to nsZipItem*. r=dveditz 1999-10-26 20:45:21 +00:00
mstoltz%netscape.com 5e7662a4fe 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 0afafa0cfd 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 cb86e2278a r=edburns@acm.org
author=idk@eng.sun.com
#16149
approver=edburns@acm.org
1999-10-26 01:29:09 +00:00
nisheeth%netscape.com 7a577bf456 Ongoing work to get macros for timing modules up and running. Not part of the build. 1999-10-25 20:59:35 +00:00
nisheeth%netscape.com 6b72cf112b Macros for doing performance analysis of modules in Mozilla. This file is not part of the build yet. 1999-10-25 05:29:20 +00:00
dp%netscape.com 94d79e100e bug#16742 Fixing delete on nsISupports. Thanks for patch from <heikki@citec.fi> Plus using IMPL_ and DECL_ macros and removing operating on refcnt directly. r=dp 1999-10-24 04:41:17 +00:00
beard%netscape.com 136dd6e802 fixing breakage by #undef BlockAllocCat 1999-10-23 00:21:17 +00:00
pnunn%netscape.com 124a51530e fix for mac bustage. pnunn. 1999-10-23 00:10:14 +00:00
beard%netscape.com 401e29d8e2 #include "xp_mcom.h" to fix link breakage. 1999-10-22 22:58:28 +00:00
pnunn%netscape.com d80c985844 To fix mac bustage. pnunn. 1999-10-22 22:48:04 +00:00
pnunn%netscape.com fc9a9125a8 bug#15585. r:neeti@netscape.com. Fix build warnings. 1999-10-22 21:04:28 +00:00
pnunn%netscape.com eea929ccce Bug#13505: r:neeti@netscape.com. Replace str()'s with nsCRT()'s & nspr()'s. 1999-10-22 21:03:52 +00:00
ramiro%fateware.com a426b260aa Removing the badly rotten MOZ_STRIP_NOT_EXPORTED hack. We now have a better
way to accomplish the same thing using linker version scripts.
r=cls@seawood.org
1999-10-22 07:11:43 +00:00
nisheeth%netscape.com 126807001a Fixing Unix warnings. r=harishd 1999-10-21 23:27:02 +00:00
pnunn%netscape.com 67cb0e41c1 bug#13505. Replacing str functions with nsCRT functions, nspr functions.
pnunn@netscape.com  r:jfrancis@netscape.com
1999-10-21 22:23:24 +00:00
ramiro%fateware.com ae10e8e968 Use "(NSINSTALL) -D" instead of direct "mkdir" r=shaver. 1999-10-21 21:35:37 +00:00
nisheeth%netscape.com 7c9206fdd1 Install util.lib to the dist directory in the libs phase rather than the install phase. 1999-10-21 21:31:26 +00:00
edburns%acm.org 17094bf7b2 Bug: 15606
r=shaver
approver=av

I would like to take the time to personally thank Mike Shaver for all the hard
work he has done to make this bugfix possible.
1999-10-21 21:09:21 +00:00
pierre%netscape.com 7ca4c54def Fix build bustage 1999-10-21 06:40:00 +00:00
pierre%netscape.com fc6e72a505 Enabled MOZ_PERF_METRICS in the Mac build: - updated DefinesMozilla.h - fixed stopwatch.cpp - created libutilIDL.mcp - added StopWatch exports to libutil.exp - added xpcom.shlb to libutil.mcp - added libutil.shlb to htmlparser.mcp, layout.mcp, webshell.mcp 1999-10-21 05:41:45 +00:00
pierre%netscape.com 39ae8f6c31 First Checked In. 1999-10-21 05:35:26 +00:00
sfraser%netscape.com 7163f27348 Removed an errant semicolon in a IID declaration. r=floppy moose 1999-10-21 03:45:20 +00:00
nisheeth%netscape.com 1725d06c16 Fixed warnings. Enabled code to build on UNIX. r=pollmann 1999-10-21 02:32:01 +00:00
nisheeth%netscape.com 533ca8450a Changes should not affect build. Ongoing work to make the stopwatch code build on Unix. 1999-10-20 18:43:34 +00:00
bienvenu%netscape.com f7e7c21145 fix memory leak of default pref dir file spec r=sspitzer 1999-10-20 18:42:30 +00:00
cls%seawood.org 09b1e957bf Use PRBool instead of bool as some compilers do not understand bool. Should fix a couple of SM-Ports tinderboxen.
r=sfraser a=mscott
1999-10-20 05:37:18 +00:00
dveditz%netscape.com 67f4926d52 reenabling 6986-fix for the mac, r-dougt 1999-10-19 23:17:54 +00:00
dp%netscape.com 906426ca6e Fixed warnings. r=pam nunn 1999-10-19 22:28:38 +00:00
nisheeth%netscape.com f485a1ad04 Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS. 1999-10-19 22:27:20 +00:00
dp%netscape.com 19dc10dde0 Converting implementations of QueryInterface() to the std one. This
fixes bugs in the previous implementation that caused unbalanced
refcounts and premature releases. Thanks for rpotts for the heads
up. r=pam nunn
1999-10-19 22:27:08 +00:00
pnunn%netscape.com 02e67cf46b clean up associated with bug#15817, gif decoder. r: dp@netscape.com.
Removing obsolete file.
1999-10-19 22:02:49 +00:00
pnunn%netscape.com 499713f584 bug# 16785. r: dp, valeski, neeti. Send mimetype info from channel to imglib.
If no decoder, sniff data stream for mime info.
1999-10-19 21:49:20 +00:00
pierre%netscape.com 47793978b5 added stopwatch.cpp to the mac build for nisheeth 1999-10-19 21:12:14 +00:00
norris%netscape.com 4f0537b0f7 7261 Connect XPConnect visibility filter to query principals
Reviewed by mstoltz.
1999-10-19 20:28:24 +00:00
sspitzer%netscape.com d5d6440019 other part of fix for #15235. fix send later. r=alecf 1999-10-19 01:24:25 +00:00
sspitzer%netscape.com 2e6d0a9384 fix for #16259, r=alecf. use the right line endings on the mac. now, instead of putting the LINEBREAK in every string, and then
writing every string to the stream, we do the line ending when we write to the stream.
1999-10-18 22:38:53 +00:00
shaver%netscape.com dbc2aa33d8 fix // comment in C file (r=brade) 1999-10-18 19:00:18 +00:00
dveditz%netscape.com 0b89917a3f stopgap for mysterious Mac bustage 1999-10-18 12:58:58 +00:00
dveditz%netscape.com d9bc09dc49 generate unique regkeys (6986) 1999-10-18 12:06:19 +00:00
dveditz%netscape.com a85e8b8eae hoping this fixes the mac bustage 1999-10-17 23:55:56 +00:00
shaver%netscape.com f1cf5c8338 fixing build by removing leftover #endif 1999-10-17 22:15:34 +00:00
dveditz%netscape.com b556814a7b Added NR_RegFlush (14909, required for 16283/16600); warning cleanup (15626) r=shaver 1999-10-17 21:47:53 +00:00
dveditz%netscape.com 89c765707b Added nsIRegistry::Flush (bug 16283, required for 16600), r=shaver 1999-10-17 21:45:53 +00:00
dveditz%netscape.com f0625af1ca expose libreg ability to delete named values in nsIRegistry. Patch from
Jonas Utterstr�m <jonas.utterstrom@vittran.norrnod.se>, r=dveditz
1999-10-15 06:47:58 +00:00
beard%netscape.com a23db2838f fixing image decoder leak. bug=15380, r=pnunn 1999-10-13 00:41:43 +00:00
norris%netscape.com 738bc18151 Fix 7254 Implement DOM security
Reviewed by mstoltz@netscape.com
1999-10-12 22:55:25 +00:00
waterson%netscape.com c7347c6be0 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 03:05:10 +00:00
evaughan%netscape.com dd8734ed83 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
nisheeth%netscape.com cd926e7dfe Changes not part of build. Added a debug trace macro that outputs to the console only when DEBUG_STOPWATCH is defined. 1999-10-11 23:30:45 +00:00
rpotts%netscape.com 9457969237 Removed 2 *extra* calls to NS_RELEASE in failure cases... 1999-10-10 06:58:42 +00:00
warren%netscape.com 91caa711bd Fixed refcounting problem and possible out-of-memory condition. r=kipp 1999-10-10 02:08:08 +00:00
dveditz%netscape.com 2b60c91417 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
edburns%acm.org 90b483f4ea Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=15902
Approved by: edburns@acm.org
Reviewed by: edburns@acm.org
Authored by: idk@eng.sun.com
1999-10-09 01:34:29 +00:00
edburns%acm.org ef97618fb9 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=15607
Approved by: av@netscape.com
Reviewed by: av@netscape.com

/**

 * This method queries the prefs for proxy information.

 * It has been tested and is known to work in the following three cases

 * when no proxy host or port is specified

 * when only the proxy host is specified

 * when only the proxy port is specified

 * This method conforms to the return code specified in

 * http://developer.netscape.com/docs/manuals/proxy/adminnt/autoconf.htm#1020923

 * with the exception that multiple values are not implemented.

 */

NS_IMETHODIMP nsPluginHostImpl::FindProxyForURL(const char* url, char* *result)
1999-10-09 01:18:02 +00:00
nisheeth%netscape.com a08e4f61df Not currently part of the build. Added a stack behind the save/restore timing macros. 1999-10-08 23:27:09 +00:00
warren%netscape.com b90a06a288 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00