hyatt%netscape.com
3646e122c1
Fix for 106153, avoid building a content model for XBL event handlers, r=bryner, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@107033 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 01:53:13 +00:00
brendan%mozilla.org
b27e4fa386
Store FastLoad dependency mtimes, and invalidate if any changes (106021, r=dveditz, sr=shaver).
...
git-svn-id: svn://10.0.0.236/trunk@106823 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 08:29:25 +00:00
jaggernaut%netscape.com
9e8f600926
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@106460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:44:19 +00:00
sspitzer%netscape.com
0af440900d
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
git-svn-id: svn://10.0.0.236/trunk@106283 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 21:01:43 +00:00
sspitzer%netscape.com
fe5a90ed8e
fix for blocker bug #106646 . hyatt's hack applied to the ContentReplaced() case.
...
sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@106282 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 20:39:40 +00:00
sspitzer%netscape.com
361b0285b1
fix for blocker bug #106646 , crash opening addressbook, compose, chatzilla, etc.
...
patch by hyatt. r=sspitzer, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@106277 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 18:27:25 +00:00
hyatt%netscape.com
b4376d8910
Fix for 106212, make ContentAppended work right with XBL insertion points. r=brendan, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@106255 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 07:31:18 +00:00
jst%netscape.com
450353a0af
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
...
git-svn-id: svn://10.0.0.236/trunk@106244 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 04:08:29 +00:00
dbaron%fas.harvard.edu
9ef49bf676
Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974
...
git-svn-id: svn://10.0.0.236/trunk@106235 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:21:53 +00:00
waterson%netscape.com
39c3e8852d
Bug 26104. Move broadcaster maintenance out of XUL element and into the document. r=shaver, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@106018 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 02:44:44 +00:00
waterson%netscape.com
1de1aeabae
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.
...
git-svn-id: svn://10.0.0.236/trunk@105957 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 20:48:52 +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
waterson%netscape.com
a8057d6717
Bug 100231. Use nsCheapVoidArray to save a word in nsXULElement. r=brendan,rjesup; sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@105658 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-18 03:47:32 +00:00
brendan%mozilla.org
25337f4028
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).
...
git-svn-id: svn://10.0.0.236/trunk@105136 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 02:46:18 +00:00
brendan%mozilla.org
22df31be87
Turn on FastLoad by default (68045, r=hyatt, sr=waterson).
...
git-svn-id: svn://10.0.0.236/trunk@104994 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 02:10:17 +00:00
mstoltz%netscape.com
44c4e93b04
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
git-svn-id: svn://10.0.0.236/trunk@104371 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 00:54:44 +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
harishd%netscape.com
1c4e4c74ec
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.
git-svn-id: svn://10.0.0.236/trunk@104152 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:08:17 +00:00
rjesup%wgate.com
20e4c8fea5
Bug 92575: Remaining mChildren nsAutoVoidArray changes. r=waterson, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@104001 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 22:21:37 +00:00
hewitt%netscape.com
2118ea4237
95127 - dispatchEvent() doesn't return a value, r=joki, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@103991 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:43:00 +00:00
gerv%gerv.net
ed9b258739
License changes, take 2. Bug 98089. mozilla/content/.
...
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu
f21726b0d5
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
git-svn-id: svn://10.0.0.236/trunk@103646 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 22:43:23 +00:00
hyatt%netscape.com
63305b2fff
Fix for 101177. r=pavlov, sr=ben
...
git-svn-id: svn://10.0.0.236/trunk@103595 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 22:20:46 +00:00
jst%netscape.com
8ceabb2e83
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
...
git-svn-id: svn://10.0.0.236/trunk@103389 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 01:07:53 +00:00
hyatt%netscape.com
a1d1c14ea3
Fix XUL popup listener to check for new contextmenu syntax. r/sr=hewitt,jst
...
git-svn-id: svn://10.0.0.236/trunk@103284 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:42:48 +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
alecf%netscape.com
a9e58e7c85
fix blocker 100312 - fix the XPIDL_MODULE lines so they aren't all content_xul
...
r=jag
git-svn-id: svn://10.0.0.236/trunk@103101 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 18:21:58 +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
dbaron%fas.harvard.edu
f25532bcbf
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
...
git-svn-id: svn://10.0.0.236/trunk@103044 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:59:30 +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
jaggernaut%netscape.com
937638062c
Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls
...
git-svn-id: svn://10.0.0.236/trunk@102907 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 05:37:29 +00:00
jaggernaut%netscape.com
9985dcc528
Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls.
...
git-svn-id: svn://10.0.0.236/trunk@102802 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 12:48:23 +00:00
timeless%mac.com
8dceacd894
Bugzilla Bug 98929 Implementation of Content-Language in HTTP
...
patch by drepper@cygnus.com r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@102759 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 21:12:23 +00:00
vidur%netscape.com
10d80cd1e9
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
...
git-svn-id: svn://10.0.0.236/trunk@102732 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 03:04:49 +00:00
alecf%netscape.com
7e8f1eff5d
add REQUIRES support to layou, content, gfx, gfx2, widget and modules/libpr0n b=98371 r=cls
...
git-svn-id: svn://10.0.0.236/trunk@102662 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 20:46:52 +00:00
sicking%bigfoot.com
1f749a9c7d
Implement TreeWalker in DOM2-traversal.
...
b=82625, r=fabian, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102520 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 09:30:03 +00:00
rjesup%wgate.com
3d0a34aaca
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
git-svn-id: svn://10.0.0.236/trunk@102430 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 19:16:03 +00:00
jst%netscape.com
b3062e8e60
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
...
git-svn-id: svn://10.0.0.236/trunk@102390 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 06:18:31 +00:00
brendan%mozilla.org
6d5f73866a
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).
...
git-svn-id: svn://10.0.0.236/trunk@102368 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 02:01:40 +00:00
jst%netscape.com
2de4e518a6
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
...
git-svn-id: svn://10.0.0.236/trunk@102267 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 04:20:54 +00:00
dbaron%fas.harvard.edu
9a632e0396
Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all.
...
git-svn-id: svn://10.0.0.236/trunk@102072 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu
5f0d92745b
Backing out unapproved checkin for bug 97227. a=brendan,blizzard
...
git-svn-id: svn://10.0.0.236/trunk@102064 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 03:45:20 +00:00
rpotts%netscape.com
d782201ee6
fixed typo from checkin for bug #97227
...
git-svn-id: svn://10.0.0.236/trunk@102057 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 02:30:34 +00:00
rpotts%netscape.com
3d787fbce9
bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously.
...
git-svn-id: svn://10.0.0.236/trunk@102039 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 21:47:45 +00:00
brendan%mozilla.org
31c89047ff
Patch to make FastLoad file removal clear state so file gets recreated by same session (68045, r=jrgm, sr=waterson, a=asa).
...
git-svn-id: svn://10.0.0.236/trunk@101877 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-28 07:08:36 +00:00
brendan%mozilla.org
61cb4c1923
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).
...
git-svn-id: svn://10.0.0.236/trunk@101821 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-27 05:41:53 +00:00
hyatt%netscape.com
4f51638ef4
Fix for 95475. r=jag, sr=ben, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@101788 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-25 02:01:08 +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
hyatt%netscape.com
83bb56dc40
Fix for 94943. r=jag, sr=blake
...
git-svn-id: svn://10.0.0.236/trunk@101382 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-18 01:04:47 +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