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

735 Коммитов

Автор SHA1 Сообщение Дата
waterson%netscape.com e77ea45619 Bug 108775. Don't broadcast |id|, |ref|, or |persist| attributes. Avoid re-entrancy when restoring persisted attributes. r=jag, sr=hyatt 2001-11-10 00:03:53 +00:00
hyatt%netscape.com f4690036c5 Fix for 108389. r=jkeiser, sr=jst 2001-11-05 06:45:04 +00:00
hyatt%netscape.com fd10ca3854 The XUL content sink doesn't block the parser when loading stylesheets and hasn't for six months! Ack ack ack ack ack! Bug 102114. r=jag, sr=brendan 2001-11-03 23:41:10 +00:00
hyatt%netscape.com 7cb5af82cd Fix for 80147, use XUL prototype elements in anonymous content of XBL. r=dbaron, sr=jst 2001-11-03 10:12:20 +00:00
waterson%netscape.com 0d58cba810 Remove unused variable (no bug). r=dbaron, sr=hyatt 2001-11-03 02:23:20 +00:00
hyatt%netscape.com 3aa08fec1e Fix for 106153, avoid building a content model for XBL event handlers, r=bryner, sr=waterson 2001-11-02 01:53:13 +00:00
brendan%mozilla.org 1f2b9eb5f4 Store FastLoad dependency mtimes, and invalidate if any changes (106021, r=dveditz, sr=shaver). 2001-10-31 08:29:25 +00:00
jaggernaut%netscape.com 47f32d2efe Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 06:44:19 +00:00
sspitzer%netscape.com 2531184078 fix (again) for blocker bug #106646.
for ContentInserted() and ContentAppended(), we need to go forward through the observers.
for ContentRemoved() and ContentReplaced(), we need to go backward.

sr=hyatt
2001-10-25 21:01:43 +00:00
sspitzer%netscape.com 216b702610 fix for blocker bug #106646. hyatt's hack applied to the ContentReplaced() case.
sr=hyatt.
2001-10-25 20:39:40 +00:00
sspitzer%netscape.com 39bcf97d00 fix for blocker bug #106646, crash opening addressbook, compose, chatzilla, etc.
patch by hyatt.  r=sspitzer, sr=alecf
2001-10-25 18:27:25 +00:00
hyatt%netscape.com 6cd0b0948b Fix for 106212, make ContentAppended work right with XBL insertion points. r=brendan, sr=waterson 2001-10-25 07:31:18 +00:00
jst%netscape.com 2c8e09cceb Fixing bug 106571. We can live w/o storing a nsINameSpace pointer in our XUL and XML elements (which saves us 4 bytes for every XML (read XBL) element and for the XUL slots), also remove the accessors from the interface nsIXMLContent, and remove some unused code in nsXULContentUtils. r=dbaron@netscape.com, sr=waterson@netscape.com 2001-10-25 04:08:29 +00:00
dbaron%fas.harvard.edu f56bfe4127 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
waterson%netscape.com 5ad3c54b5f Bug 26104. Move broadcaster maintenance out of XUL element and into the document. r=shaver, sr=hyatt 2001-10-23 02:44:44 +00:00
waterson%netscape.com 6c181dbff0 Bug 68871. Permit partial sharing of XUL attributes, remove unused fields from nsXULElement and nsXULElement::Slots. Tag teamed with shaver@mozilla.org, r=shaver; sr=hyatt. 2001-10-22 20:48:52 +00:00
dougt%netscape.com da7e1268bd nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
waterson%netscape.com f46742f973 Bug 100231. Use nsCheapVoidArray to save a word in nsXULElement. r=brendan,rjesup; sr=jst 2001-10-18 03:47:32 +00:00
brendan%mozilla.org 9685f7c7e7 Include chrome directory in FastLoad file after XUL FastLoad File Version number, so several installs can take turns running with a given profile, throwing away one another's FastLoad files rather than using bad data saved by the last run (103992, r=sfraser, sr=shaver). 2001-10-11 02:46:18 +00:00
brendan%mozilla.org 0bf39d4052 Turn on FastLoad by default (68045, r=hyatt, sr=waterson). 2001-10-10 02:10:17 +00:00
mstoltz%netscape.com fa4e5530e9 Bug 18553, better fix which should cause fewer problems. Clear event listeners
before every document load, including the first, except when setNewDocument
is called from document.open. r=heikki, sr=jst
2001-10-02 00:54:44 +00:00
jaggernaut%netscape.com fdc4078bc4 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 2001-09-29 08:28:41 +00:00
harishd%netscape.com 99bd737981 96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
r=dp,shanjian,sfraser, sr=rpotts.
2001-09-28 23:08:17 +00:00
rjesup%wgate.com e889d20e76 Bug 92575: Remaining mChildren nsAutoVoidArray changes. r=waterson, sr=jst 2001-09-27 22:21:37 +00:00
hewitt%netscape.com b293c5b0b5 95127 - dispatchEvent() doesn't return a value, r=joki, sr=hyatt 2001-09-27 21:43:00 +00:00
gerv%gerv.net 2b0c9d0438 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu 687a4abbe8 Add a document.contentType attribute to allow getting the MIME type of
the current document from JS.  The rest is moving around stuff to deal
with nsIDocument already declaring GetContentType.  bug 73847, r=peterv,
sr=jst
2001-09-24 22:43:23 +00:00
hyatt%netscape.com d70813d39d Fix for 101177. r=pavlov, sr=ben 2001-09-23 22:20:46 +00:00
jst%netscape.com 7c86ba2445 Fixing bug 100795. Removign the method load() from HTML documents, implement it only on XML documents since the name 'load' blocks existing global functions named 'load' from being called from event handlers in the document (since document.load is found before window.load in the scope of event handlers). HTMLDocument.load and XULDocument.load were never implemented any way. r=heikki@netscape.com, sr=vidur@netscape.com 2001-09-21 01:07:53 +00:00
hyatt%netscape.com a6c0c4319b Fix XUL popup listener to check for new contextmenu syntax. r/sr=hewitt,jst 2001-09-20 07:42:48 +00:00
jaggernaut%netscape.com e25262c61f One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
alecf%netscape.com 75f90bba49 fix blocker 100312 - fix the XPIDL_MODULE lines so they aren't all content_xul
r=jag
2001-09-18 18:21:58 +00:00
jaggernaut%netscape.com 3826eb9902 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
dbaron%fas.harvard.edu 1c9cca516b Allow declarations in style attribute to be surrounded by braces in quirks mode. Rename ParseDeclarations to ParseStyleAttribute since that's what it does. b=99554 r=hixie,glazman sr=attinasi 2001-09-17 23:59:30 +00:00
alecf%netscape.com cf9912aa80 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
jaggernaut%netscape.com efc8c209fb Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2001-09-14 05:37:29 +00:00
jaggernaut%netscape.com e055a4a2a4 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2001-09-12 12:48:23 +00:00
timeless%mac.com 812249a0d1 Bugzilla Bug 98929 Implementation of Content-Language in HTTP
patch by drepper@cygnus.com r=peterv sr=jst
2001-09-11 21:12:23 +00:00
vidur%netscape.com 261f2d1a98 Fix for bug 98815. Implement DOM Level 3 namespace methods for prefix and URI lookup. The implementation of these may be changed later if we get rid of the nsINameSpace interface. r=heikki, sr=jst 2001-09-11 03:04:49 +00:00
alecf%netscape.com 898cb5872f add REQUIRES support to layou, content, gfx, gfx2, widget and modules/libpr0n b=98371 r=cls 2001-09-10 20:46:52 +00:00
sicking%bigfoot.com 1f02d9bfd3 Implement TreeWalker in DOM2-traversal.
b=82625, r=fabian, sr=jst
2001-09-07 09:30:03 +00:00
rjesup%wgate.com be7d4d271c Bug 92575: voidarray->autovoidarray changes in content/*, minus mChildren
changes in nsXULContentSink.cpp and nsGenericElement.cpp as per jst.
  r=hyatt r=pierre sr=jst
2001-09-06 19:16:03 +00:00
jst%netscape.com 2e791b1e6d Fixing leaks introduced by my fix for 91241. Breaking circular namespace manager -> XUL element factory -> namespace manager reference that kept one namespace manager and one XUL and XML element factory alive. sr=jband@netscape.com 2001-09-06 06:18:31 +00:00
brendan%mozilla.org 89eda00ed2 Don't cache chrome scripts unless their master document URL is chrome too (we need the prototype cache to root the script objects; 98207, sr=jband&waterson, a=asa). 2001-09-06 02:00:39 +00:00
jst%netscape.com 836da25092 Fixing bug 91241. Don't use the service manager to get the element factory everty time it's needed, cache it per namespace id, we spent about 0.9% of startup getting the element factory service. r=dp@netscape.com, sr=rpotts@netscape.com 2001-09-05 04:20:54 +00:00
dbaron%fas.harvard.edu 5b59398348 Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all. 2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu d8d01abd1a Backing out unapproved checkin for bug 97227. a=brendan,blizzard 2001-08-31 03:45:20 +00:00
rpotts%netscape.com 022d326a33 fixed typo from checkin for bug #97227 2001-08-31 02:30:34 +00:00
rpotts%netscape.com 2766427125 bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously. 2001-08-30 21:47:45 +00:00
brendan%mozilla.org 5dda99474c Patch to make FastLoad file removal clear state so file gets recreated by same session (68045, r=jrgm, sr=waterson, a=asa). 2001-08-28 07:08:36 +00:00
brendan%mozilla.org b4e3daeaa4 Path to make FastLoad file removal work on non-Unix systems (must close any streams on it first; 68045, r/sr=jrgm/shaver, a=asa). 2001-08-27 05:41:53 +00:00
hyatt%netscape.com 1e28dfba99 Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +00:00
brendan%mozilla.org b365808864 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.
2001-08-21 20:51:34 +00:00
hyatt%netscape.com a11f4a407c Fix for 94943. r=jag, sr=blake 2001-08-18 01:04:47 +00:00
blizzard%redhat.com 8449d6469f Back out brendan's checkin to try and get linux starting up again. 2001-08-17 19:45:11 +00:00
brendan%mozilla.org 525a387cf2 - 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.
2001-08-17 09:52:55 +00:00
bryner%netscape.com 67f6aa83cb Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
peterv%netscape.com 02a2c4b736 Fix for bug 73936 (xsl:include/xsl:import/document() doesn't work). r=Pike/sicking, sr=jst. 2001-08-02 20:29:20 +00:00
dbaron%fas.harvard.edu fab011903b Fix optimized-only bustage from fastload landing. 2001-07-31 21:37:07 +00:00
dbaron%fas.harvard.edu 05121de1c2 Fix optimized-only bustage from fastload landing. 2001-07-31 20:37:26 +00:00
brendan%mozilla.org 8c7c819206 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com c14d9c09a1 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
heikki%netscape.com 850dc2325c Bug 82022, xml-stylesheet PI in XUL without href stopped layout. r=harishd, sr=vidur. 2001-07-24 18:08:52 +00:00
jaggernaut%netscape.com 4d73a251ab Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00
saari%netscape.com 192a6ccda0 fixing 77675, windows stealing focus from each other. r=bryner, sr=hyatt 2001-07-20 08:14:44 +00:00
valeski%netscape.com c4f90087de 91365. r=dougt, sr=hyatt. nsIScriptGlobalObject->GetContext() can legitimately return NS_OK *and* a nsnull outparam. Various callsites were not respecting the nsnull out param and this patch gracefully handles those cases. 2001-07-19 05:48:49 +00:00
waterson%netscape.com 289010101f Fix debug-only gcc-2.7.2.3 build bustage. 2001-07-18 21:43:49 +00:00
jst%netscape.com 86ec54ba62 Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-07-18 07:48:12 +00:00
dbaron%fas.harvard.edu bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
jaggernaut%netscape.com 03ab87e4a1 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
vidur%netscape.com 59a48b8d8a Fix for bug 81253. We now sniff upto the first 2k of the first buffer of any HTML stream, looking for a META tag with charset information. If charset information is found, we use it for unicode conversion. This deals with the bulk of cases where we used to do a reload based on charset information in the document. In the worst case (if charset information exists but isn't found during sniffing) we fall back to the reload case. This fix improves initial page load performance for pages with a charset. Degradation in performance for pages loaded out of the cache is still being investigated. r=harishd, sr=waterson 2001-06-29 22:56:58 +00:00
jst%netscape.com caa2d5ba7b Fixing bug 81669. Implement nsXULComment::CreateComment(), patch by Fabian Guisset (hidday@geocities.com), r=peterv@netscape.com, sr=jst@netscape.com 2001-06-29 00:48:35 +00:00
dbaron%fas.harvard.edu 688519fb0c Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
cls%seawood.org 80f526179f 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
2001-06-18 22:10:38 +00:00
attinasi%netscape.com 4ae45576ff Disable Quirk ruels for XUL documents by setting the compatibility mode to Standard. b=83495 r=dbaron sr=hyatt a=blizzard 2001-06-06 23:34:17 +00:00
jst%netscape.com 1cd97cb8ad Removing debugging code that was forgotten in when landing the XPCDOM branch. Harmless checkin. 2001-05-26 07:49:01 +00:00
jst%netscape.com e168e4d5d2 Fixing bug 81928 which caused errors in JS executed in XUL files to be silently ignored. The problem was that nsJSContext::GetGlobalObject() was relying on the global object in a context to be a XPConnect wrapped object, but this was not the case when XUL files loaded prototype scripts. r=brendan@mozilla.org, sr=jband@netscape.com, a=blizzard@mozilla.org. 2001-05-26 07:44:19 +00:00
jst%netscape.com f72e19a2c3 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
jst%netscape.com 969db0be6e Removing GetNewListenerManager() from nsIDOMEventReceiver since it's not needed any more, no real code changes. r=pollmann@netscape.com, rs=vidur@netscape.com 2001-05-17 06:04:04 +00:00
vidur%netscape.com 0e7720e206 Fix for bug 18843. Dynamically added SCRIPT elements are now processed through a per-document script loader. Script execution that originally occured in the content sinks is now done by the script loader. r=heikki sr=jst 2001-05-17 05:54:16 +00:00
blakeross%telocity.com c55b7dc6c5 Making link dnd work again (part of 79793). r=ben sr=jst 2001-05-12 05:01:22 +00:00
jst%netscape.com adf1d8320a Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 16:46:42 +00:00
scc%mozilla.org e40df0d961 bug #75504; sr=jband. simple fixes correcting where people inappropriately applied |getter_AddRefs| 2001-05-03 10:09:59 +00:00
heikki%netscape.com de729c41c3 Bugs 67887, 67893, 67882, 68185, 73160, 77923. Added support for XHTML base href and target attributes, meta http-equiv and link href. Fixed the blank page bug when xml-stylesheet PI did not contain href attribute. Fixed getElementById() to not match XHTML name attribute. This fix also includes some minor cleanup. r=nisheeth, sr=vidur. 2001-04-30 23:35:09 +00:00
heikki%netscape.com a0844e5329 Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur. 2001-04-26 19:33:12 +00:00
heikki%netscape.com 9b41a83193 Bug 76641, back out baseURI property in the Node interface to fix binary compatibility. baseURI property is implemented in a different way on the DOM conversion branch, so baseURI will get back when the branch lands. This fix by jst, r=heikki, sr=brendan, a=chofmann. 2001-04-24 00:04:11 +00:00
dr%netscape.com 39003ffb2a 64313 (Implement cmd_copyLink, cmd_copyImageLocation, cmd_copyImageContents). Implement the commands, hook them up in the navigator and mailnews frontends, provide hooks for embedding. r=hyatt, sr=waterson 2001-04-18 06:06:31 +00:00
erik%netscape.com 8f4d4ceb18 bug 75066; author=simon@softel.co.il; r=jst; sr=erik; diffs from IBM bidi
project (e.g. Arabic, Hebrew)
2001-04-12 23:35:24 +00:00
pete%alphanumerica.com 0261e02ae6 fix for bug #74381
http://bugzilla.mozilla.org/show_bug.cgi?id=74381

 r=pollmann@netscape.com, sr=jst@netscape.com

--pete
2001-04-12 01:05:42 +00:00
hyatt%netscape.com a6009e9791 Adding support for advancing and rewinding the focus using the command dispatcher. r=saari, sr=jst 2001-04-11 03:05:42 +00:00
darin%netscape.com 41efbc6217 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
hyatt%netscape.com d4bd1d807b Fix for 75039. sr=waterson 2001-04-07 01:57:21 +00:00
sfraser%netscape.com aaf58ddf27 Fix for XUL assertions when loading browser windows. sr=hyatt 2001-04-06 01:02:17 +00:00
dr%netscape.com 1e5778c91c fix for 61187 (nsIController ignores COM identity rules), contributed by MarkH@ActiveState.com, r=dr, sr=brendan 2001-04-05 02:45:17 +00:00
sfraser%netscape.com 687359c2ed Fix for 74143, change nsIController to use DOMStrings. sr=hyatt, r=kin 2001-04-04 23:48:03 +00:00
waterson%netscape.com 9558d5bb62 Bug 68213. Require users of nsFixedSizeAllocator to specify object size at Free() time to avoid 8 byte overhead per allocation. r=harishd, brendan, shaver, hyatt; sr=scc 2001-04-04 05:00:08 +00:00
dr%netscape.com 67e9986689 fix for 72010 (contrib by alex.fritze@crocodile-clips.com). r=dr, sr=hyatt 2001-04-03 20:42:41 +00:00
scc%mozilla.org c355507eda landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
pollmann%netscape.com 19b315986e Bug 65609: (DOM) Allow form elements inside a subtree to find their parent when the subtree is appended/inserted. r=nisheeth@netscape.com, sr=jst@netscape.com 2001-04-02 00:45:52 +00:00
disttsc%bart.nl 96f5f6cf31 Add "gfx2" and "imglib2" to REQUIRES lines in Makefile.in for MOZ_TRACK_MODULE_DEPS builds (e.g. senna) 2001-03-30 10:39:06 +00:00
sfraser%netscape.com dd1969b96d Fix for bug 72578 -- add ability to retrieve controllers by ID from an nsIControllers. r=kin, sr=hyatt 2001-03-30 03:20:56 +00:00
heikki%netscape.com 2f7d5496ae Bug 72522, implemented DOM Level 3 baseURI property (node interface). r=harishd, sr=jst. 2001-03-30 02:15:21 +00:00
cls%seawood.org 703015f4d7 Change netwerk/mime to use MODULE=mimetype to remove avoid confusion with mailnews/mime . Update necessary REQUIRES.
Bug #68381 r=jag
2001-03-26 23:40:28 +00:00
blakeross%telocity.com 7b5a59b32d Removing non-compliant text/xul mimetype, replacing with application/vnd.mozilla.xul+xml (28237, patch by gerv@gerv.net). r=blake sr=hyatt 2001-03-25 16:49:38 +00:00
waterson%netscape.com cf9c004fa1 Bug 71530. Implement RDF outliner. Break nsXULTemplateBuilder into two subclasses: nsXULContentBuilder and nsXULOutlinerBuilder. Explode helper classes into separate files. Fix ownership and communication between nsXULElement, nsXULDocument, and nsXULTemplateBuilder. r=hyatt, sr=ben 2001-03-23 10:56:18 +00:00
jst%netscape.com c2940dd311 Fixing bugs 64523, 50018, 57626, 59024, 61413 and probably others, making the document and form JS engine resolve hooks find what they're supposed to find, and nothing more, making the element-by-name and element-by-id lookup in the document be hashtable based to avoid walking the whole DOM tree over and over again when resolving names on the document object and also on form objects. This is an order of magnitude speedup for pages that contain a large number of form controls, such as hotmail and aol mail. Also did a bunch of cleanup here n' there. r=pollmann@netscape.com, sr=vidur@netscape.comI. 2001-03-22 08:51:52 +00:00
hyatt%netscape.com 3718b9dfae Fix for 71740. r=jag, sr=shaver. 2001-03-21 08:15:12 +00:00
hyatt%netscape.com 302548554a Fix for 72345. r=jag, sr=shaver,scc 2001-03-19 23:56:28 +00:00
waterson%netscape.com 3501b8cb7f Bug 71421. Always check for null script object from CompileScript(). r=mstoltz, sr=brendan 2001-03-19 22:22:24 +00:00
joki%netscape.com ee2eb43f20 Fix 49120 (Force event handler compilation when properties accessed from JS) and 53640 (Fix event capture to work starting from text nodes) r:peterv, sr:jst 2001-03-13 11:37:16 +00:00
valeski%netscape.com a8e9bc5bd5 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2001-03-13 02:02:05 +00:00
Peter.VanderBeken%pandora.be c9f797564b Expose Reset from nsIDocument. r=jag, sr=jst. 2001-03-12 06:39:27 +00:00
Peter.VanderBeken%pandora.be ede8756d78 Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst. 2001-03-10 21:02:12 +00:00
mkaply%us.ibm.com 80976649ba #70961
r=jst, sr=erik
DOM changes to implement the dir attribute (document.dir) needed for Bidi
2001-03-10 00:50:54 +00:00
brendan%mozilla.org ceac8904de Recognize application/x-javascript (70439, r=timeless, sr=waterson). 2001-03-09 00:53:26 +00:00
hyatt%netscape.com 4a16cd01f6 Fix for 68478. r=blake, sr=alecf 2001-03-05 23:28:07 +00:00
jst%netscape.com 35a2ad68f0 Fixing bug 69840. Implementing XULDocument.createProcessingInstruction(). r=jag, sr=ben@netscape.com 2001-02-25 00:00:52 +00:00
disttsc%bart.nl 744785129a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
mkaply%us.ibm.com 825b986a4e OS/2 TB break
Need PR_STATIC_CALLBACK
2001-02-22 04:47:26 +00:00
waterson%netscape.com 2cd62f503b Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan. 2001-02-22 03:01:34 +00:00
waterson%netscape.com 4b594dfe63 First checked in; not yet part of the build. 2001-02-21 01:13:03 +00:00
waterson%netscape.com 0c9ae9b94a Bug 39054, redux. Hack around problem (?) with XBL child nodes: we'll just query for the list of real kids up front. Also, need to break 'AddSubtreeToDocument()' into pre- and post-order steps. r=hyatt, sr=brendan 2001-02-20 01:05:34 +00:00
heikki%netscape.com fa72c631ce Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com 2001-02-19 21:50:04 +00:00
waterson%netscape.com e3455f87dc Backing out changes for 39054, which caused several template regressions. 2001-02-13 19:22:56 +00:00
waterson%netscape.com bf8a4eb521 Bug 39054. Make XUL templates work properly inside XBL. r=hyatt,alecf; sr=ben 2001-02-13 07:04:55 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 69415757ab Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
hyatt%netscape.com 8d353f7cfa Fix for 67435. sr=ben 2001-02-07 07:45:36 +00:00
pollmann%netscape.com acc42b588c Bug 42892: Split FlushPendingNotifications in to content and content+frames cases (speed up content list access), r=jst@netscape.com, sr=vidur@netscape.com 2001-02-06 05:46:46 +00:00
heikki%netscape.com 0d215946ad Bugs 53615 and 51815. XHTML title element did not change window title, and textarea did not have default text. r=harishd, sr=vidur. 2001-02-03 01:16:20 +00:00
hyatt%netscape.com 90b8800096 Fix for 55292, r=ben, sr=brendan 2001-02-02 00:54:47 +00:00
gagan%netscape.com cded3e2f30 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2001-01-31 01:33:03 +00:00
hyatt%netscape.com 086bf919ba Impl getAnonymousElementByAttr, r=jst, sr=ben 2001-01-27 00:43:54 +00:00
dbaron%fas.harvard.edu ec5e79e673 Change the way nsDocument stores its children by replacing separate nsVoidArrays for prolog and epilog with a single nsISupportsArray that also holds the root element. Using this change, simplify many of the child handling methods in nsDocument (and fix some bugs in them). Since nsDocument no longer uses prolog and epilog, remove AppendToProlog and AppendToEpilog from nsIDocument. b=47850 r=jst@netscape.com sr=vidur@netscape.com 2001-01-25 14:19:38 +00:00
darin%netscape.com 6bfaf3912c Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2001-01-23 22:10:34 +00:00
ben%netscape.com 4c4aa35276 bug 56719, support deep merging for XUL overlays; 57108, remove the hidden form
from all XUL documents and remove the document.controls collection that
referenced hidden form's elements collection. r=waterson@netscape.com,
a=hyatt@netscape.com
2001-01-10 01:08:23 +00:00
dbaron%fas.harvard.edu 12d46e3f6a Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=brendan@mozilla.org 2000-12-17 16:02:58 +00:00
vidur%netscape.com 01bf191f42 Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst 2000-12-12 21:58:13 +00:00
hyatt%netscape.com da4450ca46 Fixing linux build bustage 2000-12-10 09:47:05 +00:00
hyatt%netscape.com 3bf852974a Adding support for box objects to XML and HTML. Reduced size of XUL content nodes by
4 bytes. r=jst@netscape.com, a=ben@netscape.com
2000-12-10 09:18:57 +00:00
alecf%netscape.com deff2e336c #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz
2000-11-17 20:54:21 +00:00
disttsc%bart.nl 5371547095 Moving nsIContentViewer over from webshell to docshell, converting from .h to .idl. Needed for bug 46200, r=moa=adam@netscape.com, a=alecf 2000-11-09 20:30:35 +00:00
alecf%netscape.com 03014b4ce6 fix for #58103 - implement nsXULDocument::CreateRange()
sr=waterson
2000-11-09 00:32:27 +00:00
heikki%netscape.com da42f8f899 Bug 59389, eliminate nsIContent::IsSynthetic(). r=jst, a=vidur. 2000-11-08 00:42:42 +00:00
hyatt%netscape.com e0c292d77e Fix for 54203. r=saari, a=brendan 2000-11-04 08:21:20 +00:00
waterson%netscape.com 375ed41613 Bug 56713. Rework bulletproofing that sspitzer and I put in aeons ago: text nodes can wind up at the top level in an overlay. In this case we'll just ignore them instead of completely bailing, which'd put us into a bad state the next time around. r=hyatt, sr=brendan 2000-10-29 17:58:21 +00:00
warren%netscape.com 4189314fdb Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
waterson%netscape.com 82b4ab1f0d Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt 2000-10-09 03:08:41 +00:00
jst%netscape.com d8314c08e0 Forgot these files in my last checkin. 2000-10-07 11:56:09 +00:00
hyatt%netscape.com 6bff3e832f Attempting to plug the leak. I assume I'm allowed to check in leak fixes. 2000-09-27 23:27:13 +00:00
jst%netscape.com 50cb267dc7 Redoing how 'replaceable' properties on DOM objects are resolved to be compatible with 4.x, with this change named frames in framesets override 'replaceable' properties so that window.toolbar (or any replaceable property) in a frameset document with a frame named 'toolbar' actually resolves to the frame, and not the native toolbar. r/a=brendan, r=rpotts&scc 2000-09-22 10:18:07 +00:00
hyatt%netscape.com 957c151659 48758. r=ben,saari, a=waterson 2000-09-22 05:02:20 +00:00
kandrot%netscape.com db0b0031f0 Fix for 370k of bloat.
r=waterson
2000-09-15 06:52:17 +00:00
hyatt%netscape.com b13684d2e9 Fix for bad contractid. r=rayw 2000-09-15 06:39:29 +00:00
saari%netscape.com 9e1940cb6f fix for 49975. r=pinkerton and hyatt 2000-09-15 06:28:26 +00:00
rayw%netscape.com d39d9e6d59 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
waterson%netscape.com f7f68ebaf4 Tune arena sizes, per news://news.mozilla.org/39BEC105.5090206%40netscape.com. 2000-09-14 23:11:40 +00:00
mjudge%netscape.com a2fa9edcb5 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
jst%netscape.com 0031679c0b Fixing nsbeta3+ bug 52572. Updating the DOM intefaces in mozilla to match the current DOM Level 2 PR. r=kandrot@netscape.com 2000-09-14 05:19:00 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
scc%mozilla.org a48ea31a0c if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 04:50:55 +00:00
pinkerton%netscape.com 1cf18fcdf2 use NS_LITERAL_STRING 2000-09-07 23:18:38 +00:00
dveditz%netscape.com 05d632dff6 Turning on JS strict option in debug builds, a/r=brendan, bug 50645 2000-09-07 10:51:59 +00:00
hyatt%netscape.com e40ff5451b Fix for 51263. r=ben 2000-09-07 08:26:03 +00:00
hyatt%netscape.com 98a7a1f1b4 loadBindingdoc, r=ben 2000-09-05 07:29:01 +00:00
Peter.VanderBeken%pandora.be ec2cf7fc4a Fix XSLT hooks (Preparation for bug #42228). r=jst@netscape.com, a=waterson@netscape.com. 2000-09-02 15:35:19 +00:00
vidur%netscape.com 4a41eee18d Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
jst%netscape.com ef147e7941 Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com 2000-08-31 00:36:31 +00:00
waterson%netscape.com 4142dd5c93 Bug 50499. Fix FMM that was caused by DOM string changes. r=bruce 2000-08-30 04:21:06 +00:00
vidur%netscape.com b96c318a90 Fix for bug 43902. The DOM glue now streamlines the Get/SetProperty methods for the window class. Window.location and title and document.title are now part of the idlc interfaces, rather than special-cased. r=jst@netscape.com 2000-08-29 00:14:23 +00:00
beard%netscape.com d82bda6a5b GetElementAt(), QueryInterface() -> QueryElementAt(). r=waterson 2000-08-26 05:30:45 +00:00
hyatt%netscape.com ab26aa6249 Fix for 50044, 47861, 47471, r=ben 2000-08-25 07:01:53 +00:00
cltbld%netscape.com 66688455a5 Fixing solaris, AGAIN. jst,mcafee 2000-08-23 22:26:35 +00:00
jst%netscape.com b3a4ade60d DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
hyatt%netscape.com 072ffea226 Fix for 49150, r=ben 2000-08-23 07:18:58 +00:00
hyatt%netscape.com c73e081e36 fix for 49835, r=danm 2000-08-22 22:53:46 +00:00
warren%netscape.com 1c8511e78c Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
mstoltz%netscape.com 88846ce93b Fixing 41876 r=hyatt, also 48724, 49768, and crasher in nsBasePrincipal.cpp, r=jtaylor 2000-08-22 02:06:52 +00:00
hyatt%netscape.com a00ee62e70 49012 fix, r=danm 2000-08-21 22:23:15 +00:00
warren%netscape.com 64a99efec0 Bug 46864 - Embedding needs a name attribute on nsIRequest. 2000-08-21 08:23:54 +00:00
scc%mozilla.org 50902d01b6 fixing code that relied on implicit string construction 2000-08-19 22:46:00 +00:00
hyatt%netscape.com 3f0db1da77 Fix for 48187, r=danm 2000-08-17 22:44:01 +00:00
hyatt%netscape.com c60a2f7d07 First-stage fix for dogfood bug 49012. r=ben 2000-08-17 08:11:11 +00:00
waterson%netscape.com dd700db4af Bug 44480. Demote 'width' and 'height' attributes from NSDocument to NSHTMLDocument and XULDocument; make nsHTMLDocument's implementation use the <body> element's frame (instead of the <html> element's frame) to determine metrics. r=jst 2000-08-16 01:04:52 +00:00
hyatt%netscape.com 6c68a00e3d Fix for 21890 and numerous other bugs. r=pierre, waterson, jst, attinasi, brendan 2000-08-12 06:28:02 +00:00
warren%netscape.com 4af572e4c1 Bug 46711. Removed nsAutoString travisty from nsStringKey. Introduced nsCStringKey. Made them both share the underlying string when possible. r=waterson 2000-08-10 06:19:37 +00:00
hyatt%netscape.com 592cd5eaac Plug leak in cache for XBL docs. 2000-08-06 04:57:24 +00:00
heikki%netscape.com 92966bfe9e Bugs 38399, 40889. r=jst. 2000-07-28 21:49:42 +00:00
hyatt%netscape.com 1436977acc Fix for 46129. r=waterson,attinasi,pierre 2000-07-28 09:36:14 +00:00
sfraser%netscape.com 3e016210e2 Fix for nsbeta2+ bug 31134 -- paste in edit menu not enabled correctly. Add a new command set for clipboard-related menu items, and fire it on Copy. Also ensure that UpdateCommands("focus") gets called on window activation, and when unfocussing a wiget in page. r=hyatt, saari 2000-07-14 22:06:31 +00:00
waterson%netscape.com ad2c431234 Fix silly leak that dbaron found with leaksoup. r=jack,a=lumpy. 2000-07-06 04:27:10 +00:00
BlakeR1234%aol.com 81543e9ee7 Fix for 42204, a=trudelle 2000-06-29 03:15:05 +00:00
vidur%netscape.com d690a7d2b9 Fix for bug 38349. Implemented nsIDOMNode::CloneNode() and ImportNode() for XML and HTML documents as part of finishing out our DOM1 and DOM2 implementations. Cleanup of DOMImplementation::createDocument. r=jst 2000-06-21 23:56:52 +00:00
vidur%netscape.com 19aa4a879d Fix for bug 9392. document.plugins now aliases to window.navigator.plugins. r=nisheeth 2000-06-21 00:53:26 +00:00
ben%netscape.com a62dc4a525 fix for 41657, r=waterson, hyatt 2000-06-20 05:43:52 +00:00
vidur%netscape.com 07473b6e07 Work for bug 33475 - completion of Document related DOM Level 2 support. Load() no longer takes extra unused argument. r=jst,nisheeth 2000-06-17 01:47:02 +00:00
axel%pike.org 49a4f2644d Code cleanup, XSL->MOZ_XSL, r=nisheeth, a=waterson 2000-06-14 07:35:26 +00:00
scc%mozilla.org 55650a35b3 fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms 2000-06-12 23:52:31 +00:00
rginda%netscape.com c17389789e implement document.height/width for xul documents (copy/paste from nsDocument.cpp) for bug 41638
r=danm
2000-06-08 00:51:13 +00:00