355 Commits

Author SHA1 Message Date
pete%alphanumerica.com
3c4492f3e0 b=107823, r=ccarlen, sr=brendan
--pete


git-svn-id: svn://10.0.0.236/trunk@106886 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 00:11:15 +00:00
dougt%netscape.com
956ec6e34b Moving nsISimpleEnumerator interface to new idl file. 99136, r=alecf@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106716 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:07:28 +00:00
dougt%netscape.com
83b67a7071 Freeze nsIMemory interface bug 99151 r=rpotts@netscape.com, sr=brendan@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106295 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 00:09:22 +00:00
jaggernaut%netscape.com
9dba49d0db Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106250 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 06:13:52 +00:00
jaggernaut%netscape.com
5e2a1a7476 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106206 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 23:47:43 +00:00
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
seawood%netscape.com
a5686224c1 Remove use of additional dirs in VPATH as it causes problems in srcdir builds and the previous workarounds do not always work due to a bug in gcc's -MD.
Bug #105005 r=jag


git-svn-id: svn://10.0.0.236/trunk@105606 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 06:00:18 +00:00
seawood%netscape.com
836ab0e467 For directories that use additional VPATHs, change OBJ_SUFFIX instead of duplicating build rules. Turn off compiler dependencies when changing OBJ_SUFFIX because at least gcc < 3.0 has problems generating the correct dependencies when the basename of the srcfile does not match the basename of the object file.
Bug #105005


git-svn-id: svn://10.0.0.236/trunk@105493 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 09:31:58 +00:00
dougt%netscape.com
2367cd653a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
git-svn-id: svn://10.0.0.236/trunk@105458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:35:52 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
bryner%netscape.com
4852787003 removing depend:: clobber line... this was causing problems since export is now done before depend. r=cls.
git-svn-id: svn://10.0.0.236/trunk@104200 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 04:34:55 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
bryner%netscape.com
d3fdac2234 Fixing build bustage. r=brendan.
git-svn-id: svn://10.0.0.236/trunk@103387 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 00:44:22 +00:00
idk%eng.sun.com
a420243c8a fix for 57337 [libjar does not retrieve link information]
r  = dveditz@netscape.com
sr = brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@103378 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 23:33:23 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
darin%netscape.com
d9914fb477 fixes bug 99183 "JAR channel allocates and uses a monitor even though it is
accessed exclusively by the UI thread" r=dougt, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@103124 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 23:07:57 +00:00
jaggernaut%netscape.com
8a87c13848 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
alecf%netscape.com
e28607491e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
git-svn-id: svn://10.0.0.236/trunk@102999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:06:35 +00:00
darin%netscape.com
af57f84492 fixes bug 97528 "1200 urls created on startup about:blank" (take 2)
r=dp, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@102950 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:19:41 +00:00
darin%netscape.com
76c7355ac1 checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@102859 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 02:21:05 +00:00
alecf%netscape.com
d0766d027e add REQUIRES support to jpeg, sun-java, db, etc.. b=98371 r=cls
git-svn-id: svn://10.0.0.236/trunk@102664 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 20:48:38 +00:00
darin%netscape.com
29bd0e8f8d backing out patch for bug 97528 due to regression/smoketest-blocker bug 98838.
git-svn-id: svn://10.0.0.236/trunk@102624 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 00:42:50 +00:00
darin%netscape.com
66747c911f fixes bug 97528 "1200 urls created on startup about:blank"
r=dp, sr=dougt


git-svn-id: svn://10.0.0.236/trunk@102554 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 22:32:50 +00:00
dougt%netscape.com
6abd1d51a4 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@102449 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:13:11 +00:00
valeski%netscape.com
8db35965a8 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
cls%seawood.org
37a108b0dc Update REQUIRES so that we do not accidentally build using the system headers of jpeg,zlib,png,mng when we are supposed to be building using the Mozilla copies of these libraries.
Bug #97386 r=mcafee a=dbaron


git-svn-id: svn://10.0.0.236/trunk@101994 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 01:14:45 +00:00
cls%seawood.org
95f6d098e3 Update REQUIRES so that we do not accidentally build using the system headers of jpeg,zlib,png,mng when we are supposed to be building using the Mozilla copies of these libraries.
Bug #97386 r=mcafee a=dbaron


git-svn-id: svn://10.0.0.236/trunk@101936 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-29 03:29:44 +00:00
brendan%mozilla.org
6abf5e7f73 Bit checkin for bug 68045, r/sr=waterson&shaver, second attempt. It all works
for me on optimized and debug gcc2.96, rh7.1.

- Better failure codes from nsXULPrototypeScript::Deserialize.

- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Reader must close after the Writer or Updater,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.


git-svn-id: svn://10.0.0.236/trunk@101544 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 20:51:34 +00:00
dbaron%fas.harvard.edu
3485888237 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +00:00
blizzard%redhat.com
ac9d1a4c2e Back out brendan's checkin to try and get linux starting up again.
git-svn-id: svn://10.0.0.236/trunk@101334 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 19:45:11 +00:00
brendan%mozilla.org
cad980f881 - Better failure codes from nsXULPrototypeScript::Deserialize.
- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Writer or Updater must close after the Reader,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.


git-svn-id: svn://10.0.0.236/trunk@101289 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 09:52:55 +00:00
andreas.otte%primus-online.de
e9654a3ac3 bug 40670 [URL: resolution of protocol:/path] checking in the groundwork to have an easy fix if we ever decide to support these kind of deprecated relative urls. For that a new attribute URIType is added to nsIProtocolHandler and its implementations to store some protocol/scheme dependend information to have enough information to allow correct parsing. r=darin@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@100515 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 20:42:57 +00:00
dougt%netscape.com
d5f84a263b Fixing comment. r=me, sr=nobody
git-svn-id: svn://10.0.0.236/trunk@100173 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 01:35:28 +00:00
brendan%mozilla.org
f5bc62edea FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver.
git-svn-id: svn://10.0.0.236/trunk@100030 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-31 19:05:34 +00:00
mcafee%netscape.com
5fa57646e8 Changes to allow packaging of statically-linked build (87213). r=cathleen, sr=waterson, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@99935 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-26 03:18:42 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
pete%alphanumerica.com
63991fa7da Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete


git-svn-id: svn://10.0.0.236/trunk@99803 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 18:38:25 +00:00
cathleen%netscape.com
b1cb9925ca fixed bug 87004, for win static build, changed libjar and xpinstall to be
dynamic, updated static packager list, added build_static.pl, fixed static
component loader to handle no static component cases, updated and added
.cvsignore for extra files generated by static build


git-svn-id: svn://10.0.0.236/trunk@99603 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-19 22:43:14 +00:00
leaf%mozilla.org
a6cbc36650 merging zlib 1.1.3 from 0.9.2 branch to trunk, a=chofmann, bug 86323
git-svn-id: svn://10.0.0.236/trunk@98387 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 23:38:09 +00:00
dbaron%fas.harvard.edu
edea57a696 Remove nsCStringKey-related bustage fixes from this morning that are no longer needed. r=jaggernaut sr=waterson b=88411
git-svn-id: svn://10.0.0.236/trunk@98326 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 23:16:52 +00:00
scc%mozilla.org
2cf06ce406 fixing Solaris bustage
git-svn-id: svn://10.0.0.236/trunk@98289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 17:33:28 +00:00
waterson%netscape.com
18986ada3f Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs.
git-svn-id: svn://10.0.0.236/trunk@97613 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 20:21:49 +00:00
cls%seawood.org
88aedd461b Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
dougt%netscape.com
4b7b8b12ca Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko
git-svn-id: svn://10.0.0.236/trunk@96470 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 00:10:09 +00:00
ddrinan%netscape.com
8605f16b91 PCKS7 implementation for signed JS. Bug# 82227 r=mstoltz@netscape.com,sr=blizzard@mozilla.org,a=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@95840 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 23:22:25 +00:00
cls%seawood.org
d7c0465468 Add --disable-auto-deps option which causes the build system to not automatically generate dependencies on the fly. Also, fixes VPATH problem with non gcc-MD separate build phase |make depend|.
Bug #66529 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@95662 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 07:52:30 +00:00
mstoltz%netscape.com
c37cd5aa27 bug 78650, moved some #ifdefs so that printfs never happen in optimized builds.
patch by cls@seawood.org, r=mstoltz@netscape.com, dveditz@netscape.com


git-svn-id: svn://10.0.0.236/trunk@94963 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 06:43:03 +00:00