122 Commits

Author SHA1 Message Date
gijskruitbosch%gmail.com
354a68501f Bug 361087 - remove the nsIXULPrototypeDocument interface
p=asqueella@gmail.com (Nickolay Ponomarev)
r+sr=bugmail@sicking.cc (Jonas Sicking)


git-svn-id: svn://10.0.0.236/trunk@217363 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 16:11:16 +00:00
bzbarsky%mit.edu
3f520eaa49 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@215130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:49:08 +00:00
darin%meer.net
c5374193b7 fixing upload to a file channel and the win32 vc6 build bustage (out with NS_NewRunnableMethod and in with NS_NEW_RUNNABLE_METHOD)
git-svn-id: svn://10.0.0.236/trunk@196281 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 22:49:04 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
beng%bengoodger.com
03078c1c8e 335561 - nsChromeProtocolHandler does not respect original URI. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@195488 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 00:24:19 +00:00
bsmedberg%covad.net
2b4f1b252b Bug 322965 (relanding) - Allow building xulrunner with --disable-xul, this fixes dynamic builds which didn't have the correct linker flags and combines passwordmgr/satchel in one XPCOM module since they have symbol dependencies
git-svn-id: svn://10.0.0.236/trunk@188171 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 20:23:24 +00:00
pavlov%pavlov.net
c07bd96bcb backing out bsmedberg's checkins for bug 322965 due to build bustage.
git-svn-id: svn://10.0.0.236/trunk@188142 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 04:54:07 +00:00
bsmedberg%covad.net
e62f9e6dbf Bug 322965 - Allow building XULRunner with --disable-xul, r=dougt (This also contains some bits of 299988, build gtkmozembed into libxul)
git-svn-id: svn://10.0.0.236/trunk@188105 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 19:27:00 +00:00
bsmedberg%covad.net
ffed3c8c1d Bug 221490 - Remove the extension-whitelist for giving chrome docs system privileges (privileges are now granted to all content files) patch by dveditz, r+a=me
git-svn-id: svn://10.0.0.236/trunk@175057 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-23 18:18:51 +00:00
bsmedberg%covad.net
e3fb25141c Bug 283488 - Reentrant getservice for chromeregistry if a contents.rdf cannot be parsed. r=shaver (This reintroduces code that I stripped in the chrome registry rework because I thought it was silly. Joel was right.)
git-svn-id: svn://10.0.0.236/trunk@169869 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 21:11:46 +00:00
bsmedberg%covad.net
b6fcc19b80 Bug 278534, try #2 - Make tooklit chrome registry use plaintext manifests instead of an RDF cache (get rid of contents.rdf!) r=darin/dveditz/ben
git-svn-id: svn://10.0.0.236/trunk@169615 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-22 21:49:45 +00:00
bsmedberg%covad.net
b28a40ed78 Backout bug 278534 due to tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@169510 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-20 01:47:13 +00:00
bsmedberg%covad.net
6a31331e77 Bug 278534 - Make a plaintext chrome registration file format to replace contents.rdf r/sr=darin+dveditz+ben
git-svn-id: svn://10.0.0.236/trunk@169492 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-19 15:35:36 +00:00
dbaron%dbaron.org
fec149b598 Back out 252703 due to Txul / Ts regression.
git-svn-id: svn://10.0.0.236/trunk@166124 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 02:13:20 +00:00
dbaron%dbaron.org
4152e1ae96 Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@166102 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 22:39:17 +00:00
gerv%gerv.net
9f207af4db Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@166101 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 22:27:03 +00:00
timeless%mozdev.org
07b37a65ca backing out bsmedberg's changes for Bug 264093 because they caused domwindows to leak and orange
git-svn-id: svn://10.0.0.236/trunk@163662 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 19:05:48 +00:00
bsmedberg%covad.net
371d3a1dc3 Bug 264093 - combine chrome registry and chrome protocol handler on one object r=darin
git-svn-id: svn://10.0.0.236/trunk@163658 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-13 17:14:13 +00:00
bsmedberg%covad.net
87947a0979 Merge bug 246014 from the aviary branch, splitting nsIXULChromeRegistry into a separate piece for seamonkey-only methods. Original Firefox patch r=bryner sr=ben seamonkey merge r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@162619 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 20:19:48 +00:00
darin%meer.net
90049a8e1d landing v1.1 patch for 257162 "core changes required to enable XULRunner functionality" r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@161861 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 18:59:07 +00:00
cbiesinger%web.de
cc1c6cbfd0 port some EqualsLiteral/AssignLiteral changes from rdf/chrome to chrome/,
a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@159580 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-21 12:48:36 +00:00
ben%bengoodger.com
2a9fa30584 make ConvertChromeURL return an error code when it cannot successfully convert a chrome URL rather than build a "wacky default" - remove some cruft too
git-svn-id: svn://10.0.0.236/trunk@155723 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 01:46:02 +00:00
bryner%brianryner.com
2db42987b1 Forgot one file as part of bug 218551. a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146635 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-08 21:26:29 +00:00
bryner%brianryner.com
978d05c917 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146614 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:50:21 +00:00
bryner%netscape.com
0c66a2052e Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
dbaron%dbaron.org
186eca206d Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136023 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:45:23 +00:00
bzbarsky%mit.edu
2cf8d6c802 Re-relanding part of the fix for bug 182124 to narrow down the source of the
perf impact.  r=rjc, sr=darin


git-svn-id: svn://10.0.0.236/trunk@135859 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 16:26:59 +00:00
bzbarsky%mit.edu
9f1c84eb30 And backing bug 182124 yet again... why is comet the _only_ tinderbox showing
the problem?


git-svn-id: svn://10.0.0.236/trunk@135121 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 12:42:50 +00:00
bzbarsky%mit.edu
9bee87fcca relanding bug 182124 since it looks like comet was just noise and the other Ts
boxes that cycled with this show no problems...


git-svn-id: svn://10.0.0.236/trunk@135112 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:40:14 +00:00
bzbarsky%mit.edu
e69b0ba88c Backing out bug 182124 because I think it caused Ts to go up...
git-svn-id: svn://10.0.0.236/trunk@135109 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 04:35:37 +00:00
bzbarsky%mit.edu
d1a0c8d1d1 Chrome protocol handler should not munge URIs on channel open (and remove some
workarounds around that behavior).  Bug 182124, r=rjc, sr=darin


git-svn-id: svn://10.0.0.236/trunk@135096 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 03:29:27 +00:00
ccarlen%netscape.com
f6ddd4190b Bug 181641 - On Mach-0 build, cannot launch if theme was installed into profile with CFM build. Fixes this by fixing the general problem of failure due to missing theme jars. Patch to nsChromeRegistry.cpp by ccarlen, r=ben/sr=brendan. Patch to nsChromeProtocolHandler.cpp by brendan, r=ccarlen/sr=ben.
git-svn-id: svn://10.0.0.236/trunk@134780 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 06:08:57 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
alecf%netscape.com
b9b46541a9 fix bug 162741 - revamp chrome registry interface in preparation for bug 160000 - switch lots of public APIs over to ACString, etc.
r=bryner, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@127711 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 18:12:51 +00:00
alecf%netscape.com
7ce57677ba more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
r=bnesse, sr=dveditz, a=asa


git-svn-id: svn://10.0.0.236/trunk@125651 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:30:04 +00:00
ben%netscape.com
181a218f38 [Chrome FastLoad]
Add a comment describing the meaning of error code return values from nsXULPrototypeCache::GetPrototype.
r=hyatt, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@120644 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 03:00:20 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48: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
darin%netscape.com
2dc26f5426 fixes bug 99410 "further res protocol cleanup" r=dougt, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@103253 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 01:32:16 +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
dp%netscape.com
7045611501 bug# 97528 Eliminating the extra Clone() on chrome urls. Plus
optimizing nsChromeRegistry::Canonify() to only SetSpec() if there is
a change. r=brendan,hyatt sr=waterson


git-svn-id: svn://10.0.0.236/trunk@102349 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 00:45:16 +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
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
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
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
scc%mozilla.org
90f810b66a bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23: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