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

7956 Коммитов

Автор SHA1 Сообщение Дата
seawood%netscape.com 6934dc37a9 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
mkaply%us.ibm.com d9bf9afe54 #90459
r=sicking, sr=peterv
DOM support missing for ondblclick = functionname
2003-06-10 18:33:58 +00:00
dbaron%dbaron.org 7743fb4531 Add nsILink back to the QueryInterface implementation to fix :link matching LINK. b=208588 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron 2003-06-08 19:53:55 +00:00
dbaron%dbaron.org bb6b688862 Fix bugs with colors in tables in cases where some content comes before the start tag of BODY by rechecking the computed color of BODY more often. b=94688 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron 2003-06-08 19:52:22 +00:00
dbaron%dbaron.org eeb3dc21c5 Fix bustage on compilers with broken for loop scoping. b=125246 2003-06-08 00:36:08 +00:00
dbaron%dbaron.org 261b663630 VC++ doesn't seem to like empty arguments to macros. Fixing bustage. b=125246 2003-06-07 23:29:05 +00:00
dbaron%dbaron.org f3a00bc53b Put more information on the CSS properties in nsCSSPropList.h.
Use the property list in the tables for nsRuleNode::CheckSpecifiedProperties.
To reduce heap usage, redesign the storage of properties and values in nsCSSDeclaration to allocate all property-value pairs in a declaration block in a single allocation, and use temporary structures (like the old permanent structures) during parsing and modification.  Replace per-property switch statements in nsCSSDeclaration with table-based code to reduce code size.
b=125246  r+sr=bzbarsky
2003-06-07 22:14:42 +00:00
jst%netscape.com 0a39b232cd Fixing bug 207563. Make reparenting of wrapper for content nodes that are not part of a document work correctly. r=caillon@aillon.org, sr=peterv@netscape.com, a=brendan@mozilla.org, adt@netscape.com 2003-06-05 20:33:38 +00:00
mkaply%us.ibm.com 5826d43c42 #158610
r=pavlov, sr=jst
Add support for setting and querying lowsrc attribute so frontpage pic galleries work.
This does NOT make lowsrc work as it used to, it only adds it to the DOM
2003-06-04 13:15:37 +00:00
bsmedberg%covad.net ffb4c732c1 Bug 208111 - Remove nsIDocument::GetArena which is unused. r=sicking sr=peterv 2003-06-04 13:10:02 +00:00
timeless%mozdev.org 2da3e056b0 Bug 207603 nsXULDocument should CallGetService kXMLElementFactoryCID
r=peterv sr=peterv
2003-06-01 14:59:21 +00:00
ere%atp.fi 85bf83d3ee Fix for bug 207413: Midas: designMode = "on" fails for a newly created iframe
patch by jst
r=ere
sr=kin
2003-05-30 20:04:50 +00:00
brade%netscape.com a8005a1108 handle insertHTML and fix fontface to support 2-byte font strings; r=mkaply; sr=kin; bug=184509 2003-05-30 15:02:12 +00:00
brendan%mozilla.org 16e3b96ac1 Crash fix: Use the current proto-doc's global object, not the possibly-null window global, when compiling overlay out-of-line scripts (204935, r=ben, sr=jst). 2003-05-30 06:30:27 +00:00
jaggernaut%netscape.com 1decc3f74c Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt 2003-05-30 00:21:01 +00:00
mstoltz%netscape.com c90c1c37c5 Bug 180748 - call CheckLoadURI when loading remote scripts from XUL. r=heikki, sr=brendan 2003-05-29 23:22:21 +00:00
bryner%netscape.com 2373a382c8 Bug 197136, <button> elements should be Aqua bevel buttons for Cocoa. Add a new -moz-appearance value, button-bevel. Also, fixed a problem that caused the button in a file input control to change size when it was focused. r=pinkerton, sr=sfraser. 2003-05-29 22:39:05 +00:00
alecf%flett.org a08103427a big part of fix for bug 101995 - remove bookmarks dependency from nsHTMLDocument 2003-05-29 22:11:23 +00:00
jst%netscape.com 8d1af18041 Fixing build bustage. 2003-05-29 02:07:35 +00:00
jst%netscape.com 95eabc21fe Fixing bug 203345. Making image maps work correctly in XHTML documents. r=heikki@netscape.com, sr=bzbarsky@mit.edu 2003-05-29 00:53:03 +00:00
timeless%mozdev.org 173ae8e58e Bug 207336 Should nsXULDocument GetService kHTMLElementFactoryCID like everyone else?
r=bz sr=bz
2003-05-28 22:34:24 +00:00
timeless%mozdev.org 6dc35bde65 Bug 207330 nsHTMLDocument::TryChannelCharset should use do_GetService (like everyone else) to get @mozilla.org/intl/charsetalias;1
r=bz sr=bz
2003-05-28 22:34:22 +00:00
danm%netscape.com 9fcdb5a87e make wyciwyg urls unique across all documents. bug 172251 code=radha r=nisheeth,jst i'm just the monkey boy. 2003-05-28 22:12:16 +00:00
bryner%netscape.com 80c99af6d6 Fix some cases where the caret could be blinking in the URL bar but focus is actually elsewhere. Bug 89214, r=jkeiser, sr=jst. 2003-05-27 22:47:21 +00:00
bzbarsky%mit.edu 1e45eadc55 Make some static data const in content. Bug 204532, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:49:22 +00:00
cbiesinger%web.de 148959d202 patch by tenthumbs@cybernex.net r+sr=bz bug 206864
Incorrect comparison in content/html/style/src/nsCSSParser.cpp
2003-05-26 16:59:40 +00:00
cbiesinger%web.de e2194e13e1 204386 r+sr=bz Allow setting Image.src to empty 2003-05-25 20:43:08 +00:00
aaronl%netscape.com 5158d785de Bug 204777. Prevent backspace to send us back in history in general embedded case. r=brade, sr=sfraser 2003-05-25 19:39:21 +00:00
brendan%mozilla.org 1428c24d49 Share a system global and system principal among all chrome:-loaded prototype documents (204145, r=ben, sr=bryner). 2003-05-24 02:14:23 +00:00
timeless%mozdev.org 35cec56d18 Bug 205358 warning: comma at end of enumerator list (nsTabFocusModel)
r=aaronl sr=jst
2003-05-23 22:10:03 +00:00
timeless%mozdev.org ca067a2ebf Bug 204405 warning: unused variable `PRUnichar nullChar' in nsNodeInfo::Equals
r=peterv sr=peterv
2003-05-23 22:00:31 +00:00
caillon%returnzero.com 83c8e5d5fe 206835 - debug code should be #ifdef DEBUG
r=timeless sr=jst
2003-05-23 21:59:08 +00:00
dwitte%stanford.edu 149f719c00 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
brade%netscape.com 9b6df1f793 handle fontname and other commands which respond with non-cstrings; r=mkaply, sr=smfr, a=asa; bug 204053 2003-05-23 13:26:46 +00:00
varga%netscape.com 9ef054448d Fixing OS/2 bustage. 2003-05-23 13:04:24 +00:00
varga%netscape.com 1734eec58f Landing bookmarks changes.
Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa

The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.
2003-05-23 12:03:40 +00:00
kaie%netscape.com 6fcf190f3d b=200582 No line wrap for text without spaces in nsHTMLContentSerializer.cpp
r=jst sr=peterv a=asa
2003-05-23 05:59:56 +00:00
mkaply%us.ibm.com 30158ff255 #206317
r=ere, sr=jst, a=mkaply
Set a default content type to text/html when doing document.write()
2003-05-22 22:39:04 +00:00
brendan%mozilla.org c9f438916f Include primary package locale as well as chrome path in the FastLoad file, so locale-switching invalidates any incompatible file (189870, r=jrgm, sr=ben, a=asa). 2003-05-22 04:09:34 +00:00
roc+%cs.cmu.edu 2654a045b4 Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa 2003-05-22 01:46:13 +00:00
hpradhan%hotpop.com baa6f8458a bug 148636 : reduce memory usage in xbl when rendering with lots of form elements r=jkeiser sr=bryner a=asa 2003-05-21 03:14:47 +00:00
bzbarsky%mit.edu 4655878078 Quiet some silly warnings. Bug 72164, patch by Eric Lawrence
<elawrenc69@yahoo.com>, r+sr=bzbarsky, a=asa
2003-05-21 02:06:01 +00:00
jkeiser%netscape.com c8633873f1 Fix drag and drop to/from textarea and input (bug 194802), r=bryner@netscape.com, sr=jst@netscape.com, a=sspitzer@netscape.com 2003-05-21 00:42:32 +00:00
bzbarsky%mit.edu eba53292ac Fix parsing of |url()| to treat it like the URI "" instead of as an error. Bug
203256, r+sr=dbaron, a=brendan
2003-05-18 14:57:23 +00:00
bzbarsky%mit.edu f8491914bd Make font-size:larger and font-size:smaller smarter about interpolating and
extrapolating font sizes.  Bug 72164, patch by Eric Lawrence
<elawrenc69@yahoo.com>, r=bzbarsky, r+sr=dbaron, a=asa
2003-05-17 16:11:51 +00:00
caillon%returnzero.com 8cc6308bb7 205225 - document.createTreeWalker(null, ...) wasn't null checking.
r=sicking sr=jst a=asa
2003-05-17 13:57:16 +00:00
aaronl%netscape.com e21fcb29cd Bug 185846. Create ISimpleDOMText for accessibility API support of pieces of text smaller than a node. r=bolian, sr=alecf, a=asa 2003-05-17 09:00:57 +00:00
dbaron%dbaron.org a15b9f2cf4 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
dbaron%dbaron.org 474f773e17 Fix regression that text zoom was broken on text fields on Windows. b=205534 r+sr=roc a=asa 2003-05-14 22:37:57 +00:00
bryner%netscape.com db44c23515 Don't throw an exception if asked for nsIDOMPopupBlockedEvent properties on a non-popupblocked event. Bug 204138, r=danm, sr=jst, a=asa. 2003-05-14 22:05:50 +00:00
jkeiser%netscape.com a0e469fae9 Fix crash dragging bookmarks (bug 204781), bryner@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com, a=asa 2003-05-14 00:56:17 +00:00
jgaunt%netscape.com b9c5e27579 bug 201166 allow XBL elements to QI to base interfaces
r=bryner sr=jst a=asa
2003-05-13 23:27:33 +00:00
bryner%netscape.com 1f825a535d Fixes for a number of focus problems:
Bug 201996 (caret blinking in field, but can't type)
Bug 200735 (window is raised when opening link in a new tab)
Bug 203117 (unable to scroll view source window with keyboard)
Bug 194104 (focus is in last tab when opening new window with tabgroup)

Summary of the changes:
- Don't require a frame to be present for focus events.  This allows events like activate and deactivate to correctly update the focus controller even if the document hasn't been reflowed.
- General cleanup and adding of comments in nsEventStateManager::PreHandleEvent.  We now also reuse the event struct when firing focus/blur events to the content, document, and window.
- In nsHTMLElement::SetFocus() and Select(), make sure to set the focused window as well as the focused element, if the focus controller is inactive.
- Fixed handling of certain conditions in PresShell::CheckForFocus() where the results would be different depending on whether the parent or child document unsuppressed painting first.
- General cleanup in PresShell::HandleEvent() and HandleEventInternal().

r=jkeiser, sr=jst, a=sspitzer.
2003-05-12 07:11:16 +00:00
aaronl%netscape.com e6dfe63be4 Bug 204204. Crash in editor when shift-tabbing out of html editor. r=brade, sr=bryner, a=asa 2003-05-11 21:14:07 +00:00
mstoltz%netscape.com ea695f91ea Bug 204682 - do not allow document.domain to be set to the empty string. r=heikki, sr=darin, a=blizzard 2003-05-09 23:56:04 +00:00
jst%netscape.com fc4b955f7c Fixing bug 93015. Making sure image that start loading before the page is done loading get added to the documents load group to prevent the page's onload handler from running before the image's onload handler runs. r=pavlov@pavlov.net, sr=darin@netscape.com, a=sspitzer@netscape.com 2003-05-09 20:42:49 +00:00
brade%netscape.com 376c526961 api change to include event (similar to paste/drop hook); r=cmanske, sr=sfraser, a=asa bug=203365 2003-05-09 18:30:02 +00:00
brade%netscape.com a90acc180c api change to include event (similar to paste/drop hook); r=cmanske, sr=sfraser, a=asa 2003-05-09 18:26:47 +00:00
jst%netscape.com be265c3ef9 Fixing bug 194994. Make sure hidden iframes' die when leaving the page. r=bugmail@sicking.cc, sr=peterv@netscape.com, a=asa@mozilla.org 2003-05-09 01:42:13 +00:00
smontagu%netscape.com 1949eabc13 Don't do numeric substitution in Arabic text by default. Bug 181711, r+sr=rbs, a=asa. 2003-05-08 18:38:19 +00:00
bzbarsky%mit.edu 198273d647 Minor tweak to never match in an error case we better not be hitting anyway.
Bug 77519, r=glazou (who also posted the first patch version; r=me on the part
he did), sr=dbaron, a=sspitzer
2003-05-08 01:59:25 +00:00
jst%netscape.com 9c312baa16 Fixing bug 116598. Making document.lastModified = now() if the server doesn't send a last-modified header. This makes us compatible with IE. r=caillon@returnzero.com, sr=bzbarsky@mit.edu, a=asa@mozilla.org 2003-05-06 00:45:54 +00:00
jkeiser%netscape.com 6e2f34838f Fix crash when mouseovering things that disappear (bug 196012), r=peterl@netscape.com, sr=bryner@netscape.com, a=asa 2003-05-06 00:03:15 +00:00
darin%netscape.com a7a9655ce4 fixes bug 22994 "Mail reader allows spammers to set/get cookies to track web usage"
r=dwitte sr=dveditz a=sspitzer
2003-05-05 21:27:02 +00:00
peterv%netscape.com f652cc333c Part of fix for bug 203192 (Improvements to XSLT loading). r=sicking, sr=jst, a=asa. 2003-05-05 09:17:36 +00:00
bzbarsky%mit.edu bf7177a438 HTMLImageElement.complete should be true if the load failed (eg broken image).
Bug 190561, r=mstoltz, sr=jst, a=sspitzer
2003-05-03 02:32:43 +00:00
jkeiser%netscape.com 6d07316a09 Fix crash dragging stuff (bug 202843), r=sfraser@netscape.com, sr=bryner@netscape.com, a=asa 2003-05-03 01:29:41 +00:00
varga%netscape.com 05096034d5 Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
r=dbaron, sr=roc, a=sspitzer
2003-05-02 22:23:55 +00:00
cbiesinger%web.de a50a2af344 204072 r+sr=bz a=sspitzer Cache IOService and imgILoader in nsImageLoadingContent 2003-05-02 19:21:00 +00:00
bryner%netscape.com 18e7480ce6 Slight optimization to my last checkin - gotDragDelta is unnecessary, since pixelThresholdX is guaranteed to be set to a non-zero value the first time this block of code runs. Part of bug 201342, r=blizzard, sr=sfraser. 2003-05-02 19:10:18 +00:00
bryner%netscape.com 30a4978da7 Use system metrics when available, and observed platform behavior otherwise, for determining the threshold to begin a drag. Bug 201342, r=blizzard, sr=sfraser, a=sspitzer. 2003-05-02 18:20:38 +00:00
bryner%netscape.com 81f5df7ca4 Bug 159450 - only allow overlays to load from the same origin as the master document. Also, fix non-chrome overlays. Bug 159450, r=mstoltz, sr=ben, a=asa. 2003-05-02 18:15:30 +00:00
mstoltz%netscape.com 088ef80707 Bug 200691 - Add CheckLoadURI call to XBL loader to prevent remote XUL pages loading XBL bindings from file URLs. r=bryner, sr=heikki, a=asa 2003-05-01 02:41:45 +00:00
aaronl%netscape.com 72f1681e64 Bug 149654. Send accessibility events for DOM mutations, invalidate appropriate parts of accessibility cache based on DOM mutation events. Also fixes bug 74218, implement DOMSubtreeModified event. r=kyle, sr=jst 2003-04-28 10:24:52 +00:00
bzbarsky%mit.edu 2f525aab3e Fix insertNode() to work right. Bug 135922, r=caillon, sr=peterv, a=asa 2003-04-26 01:14:42 +00:00
bzbarsky%mit.edu 3e155b335e Make sure to flush reflows before trying to scroll so that frame coordinates
will be up-to-date.  Bug 186149, r=peterv, sr=jst, a=asa
2003-04-26 01:13:28 +00:00
jst%netscape.com 423e711bae Removing unused file that should have been removed with the checkin for bug 199399. 2003-04-25 07:15:05 +00:00
varga%netscape.com 0c1154f57d Fix for bug 160140. sort in xul treecol does not use locale sensitive sorting.
r=neil, sr=jag
2003-04-23 06:01:50 +00:00
heikki%netscape.com 5268e6a55c This change shouldn't have gone in. Anyway, this is not part of the build. 2003-04-23 00:09:18 +00:00
heikki%netscape.com 8583070500 Bug 191800, move FIXptr and XPointer into xmlextras, r=harishd, sr=jst. 2003-04-23 00:07:37 +00:00
jst%netscape.com 31af8ab2ca Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com 2003-04-22 21:57:25 +00:00
sfraser%netscape.com efcf8d6576 Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin. 2003-04-22 18:11:12 +00:00
harishd%netscape.com c566aae093 Checking in for kaie@netscape.com: Hacky fix to guarantee that HTML messages don't get eaten because of missing </title>. b=195020, r=harishd@netscape.com, sr=peterv@netscape.com 2003-04-22 17:27:29 +00:00
hpradhan%hotpop.com 2aa9cb3461 bug 145577: scrollHeight/scrollTop not supported on textareas r=jkeiser sr=jst 2003-04-22 03:38:16 +00:00
hpradhan%hotpop.com 1f9afea9ff bug 172298: onselect="this.select();" in textarea causes crash r=jkeiser sr= kin 2003-04-22 03:27:24 +00:00
bzbarsky%mit.edu de70a5e3b9 Make nsHTMLContentSink respond to BeginUpdate and EndUpdate even when not in
script, since the script could be running in some other frame/window.

Removes mInScript, since it's no longer used.  Bug 155504, r=heikki, sr=jst
2003-04-21 23:51:17 +00:00
varga%netscape.com 6da7d33496 Fix for bug 195481. Automatic image resize: Image status should be reflected in document title bar and Tab marker.
r=bz, sr=jag
2003-04-21 22:45:28 +00:00
bzbarsky%mit.edu 87bd10ccd6 Make sure to escape quotes properly in attribute values when serializing. Bug
197342, patch by brofield@jellycan.com (Brodie Thiesfield), r=bzbarsky, sr=heikki
2003-04-21 04:15:58 +00:00
bryner%netscape.com fe378f3ad2 attempting to fix irix bustage by removing ^M 2003-04-20 03:14:09 +00:00
leon.zhang%sun.com 78f946e42d Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser 2003-04-20 01:03:40 +00:00
bzbarsky%mit.edu 342965f108 Move document.lastModified up onto nsIDOMNSDocument; refactor the
RetrieveRelevantHeaders stuff a bit.  Bug 192366, patch by Pratik
<psolanki@netscape.net>, r=bzbarsky, sr=jst
2003-04-19 16:53:44 +00:00
varga%netscape.com b7fab9a9c3 Fix for bug 199178. Bookmarks folder in personal toolbar is empty
r=hyatt, sr=bryner
2003-04-19 08:40:32 +00:00
bryner%netscape.com e156255fec Fix a memory leak my last XBL checkin introduced. Removed unused nsIXBLBindingAttachedHandler and related code. Stopped using XPCOM interfaces for classes internal to nsXBLPrototypeBinding.cpp. r=jkeiser, sr=jst. 2003-04-19 06:32:08 +00:00
stephend%netscape.com 1191c55611 Bug 202346. Crash in nsImageLoadingContent::FireEvent global method. If there is no document, stop firing events. Patch by Boris Zbarsky <bzbarsky@mit.edu> r+sr=Johnny Stenback <jst@netscape.com> 2003-04-19 04:27:55 +00:00
sfraser%netscape.com b8238a708e Fix bug 200745 -- we were using the wrong event coords to start a drag. Fix the ESM to use the coords of the mouse down, not the mouse move, so that dragging small objects is easier. r=jkeiser, sr=bryner. 2003-04-19 00:46:28 +00:00
jst%netscape.com 3ce5ccf835 Fixing bug 111514. In an XHTML document served as application/xhtml+xml, |document| is not an HTML document object, but an XML document object. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-04-19 00:28:09 +00:00
sfraser%netscape.com f3456b4697 Bug 193053: drag and drop-related changes to allow for the dragging and copying of image bits, and to allow dragging into the file system. r=pinkerton/brade, sr=bryner/bz. 2003-04-18 20:20:04 +00:00
ere%atp.fi 7b3637442b Bug 90337: load chrome xbl bindings synchronously.
r=hyatt
sr=bzbarsky
2003-04-18 08:44:25 +00:00
bzbarsky%mit.edu cc6ec6a6e4 Make sure to always add base tag info before setting any other attributes. Bug
201998, r=jkeiser, sr=jst
2003-04-17 23:15:21 +00:00
mjudge%netscape.com cc27c616f7 163235 if we are collapsing selection to the beginning of the extended selection, set the "hint" to the right as a tie breaker. the opposite is true for collapsing forwards in the document. r=jfrancis sr=fraser. 2003-04-17 21:25:03 +00:00
mjudge%netscape.com eed22617af 191498 r=danm sr=fraser fixes caret jumping around containers. also fixes 192167 2003-04-17 21:08:44 +00:00
cbiesinger%web.de 1bdbf1e104 191346 patch by Roland.Mainz@informatik.med.uni-giessen.de r=jkeiser sr=roc+moz RFE: "No printers found" when Xprint not installed should be "Xprint not installed" / there should be only one print error dialog for "no printers found" instead of two 2003-04-17 20:17:01 +00:00
brade%netscape.com 6f7df21d4a remove deprecated interfaces (bug 197121) 2003-04-17 19:42:27 +00:00
heikki%netscape.com 509c1baca5 Bug 201131, provide an alternative, monospaced pretty print style, r=sicking, sr=jst. 2003-04-17 18:41:09 +00:00
brade%netscape.com 2bb6d944c3 removing printf from previous checkin 2003-04-17 14:24:55 +00:00
brade%netscape.com d03b36a364 browser changes for drag/drop/copy/paste hooks (bug 197121) r=pinkerton sr=smfr 2003-04-17 13:23:34 +00:00
brade%netscape.com 8e7da15071 removing old file; replaced with widget/public/nsIClipboardDragDropHooks.idl 2003-04-17 13:22:40 +00:00
brade%netscape.com 49cfb4c91a changes for drag/drop/copy/paste hooks (bug 197121) r=pinkerton sr=smfr 2003-04-17 13:21:15 +00:00
brade%netscape.com 466808a97f copy hooks (bug 197121) r=jfrancis, sr=smfr 2003-04-17 13:16:36 +00:00
bryner%netscape.com a9be8bd59f Fixing windows orange -- null-terminate the AttributeImpactArray or the while loop can keep going forever. 2003-04-17 02:50:58 +00:00
alecf%netscape.com 2e9a81bdd3 ok, reland bug 174802 after addressing jst's comments - gotta remember to check in from the right tree!
change to a table-based GetMappedAttributeImpact for footprint and performance wins
r=dbaron, sr=jst
2003-04-16 20:54:20 +00:00
alecf%netscape.com ab99b2472a argh, back myself out - I'm crashing on startup now! :( 2003-04-16 18:55:56 +00:00
alecf%netscape.com 47a1b65643 fix for bug 174802 - simplify GetMappedAttributeImpact, buy making a simple attribute->reflow style map and providing a single helper which walks the map
r=dbaron,sr=jst
2003-04-16 18:11:45 +00:00
bzbarsky%mit.edu 84a12b9277 Images that replace themselves with alt text should still respond to src
changes.  Bug 198435, r=roc+moz, sr=jst
2003-04-16 01:53:48 +00:00
danm%netscape.com c6b2395fbd new popupblocked domevent. also bring the world of ns_assertion home to DOMEvent's accessors and pseudo-subclass Init[...] methods. bug 199705 r=jaggernaut,jst 2003-04-16 00:00:50 +00:00
danm%netscape.com 13971ba0bd new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-16 00:00:46 +00:00
bryner%netscape.com aea212200b More XBL deCOMtamination (bug 194834). This checkin removes nsIXBLInsertionPoint and nsIAnonymousContentList. r=jkeiser, sr=jst. 2003-04-15 20:35:07 +00:00
heikki%netscape.com f97fe97caf Bug 186554 XMLSerializer does not serialize documentElement correctly. Extended document encoder API to make it possible to seriaalize a node. r=jfrancis, sr=bzbarsky. 2003-04-15 18:13:13 +00:00
roc+%cs.cmu.edu 3fd72b014a Bug 199024. The old way of detecting whether a scroll happened or not in DoWheelScroll doesn't work with smooth scrolling. r+sr=bzbarsky 2003-04-15 13:17:36 +00:00
bryner%netscape.com 93b5a67e30 Oops, meant to check this in as part of my last checkin. nsIBookmarksService.h is in the bookmarks module for phoenix. Fixing bustage. 2003-04-15 07:34:15 +00:00
dbaron%dbaron.org 43197a4800 Remove extraneous |inline| to fix bustage. 2003-04-15 04:19:27 +00:00
dbaron%dbaron.org 4a5e84bc92 Split nsCSSDeclaration.h and .cpp into separate files for the structs (nsCSSStruct.h and .cpp) and nsCSSDeclaration. b=201681 2003-04-15 03:07:34 +00:00
bryner%netscape.com 706a6534e0 fixing _more_ phoenix bustage - different REQUIRES for phoenix 2003-04-15 02:06:55 +00:00
bzbarsky%mit.edu 5df3b30a3b Make CreateContextualFragment know what document the fragment is destined for.
Fixes some issues with images and innerHTML.  Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst
2003-04-15 01:09:09 +00:00
jshin%mailaps.org 9a818b6356 bug 198598 Update the window title bar and doc. charset for nsMediaDocument
so that save/save as works correctly for non-8859-1 string. rename
ImageDocument.properties to MediaDocument.properties and move to
content/html/document/src. (r=cbiesinger for an earlier patch, sr=bzbarsky)
2003-04-13 00:40:26 +00:00
sfraser%netscape.com 0ea779d7ff Part of fix for bug 201400. r=aaronl, sr=me. 2003-04-12 03:12:59 +00:00
sfraser%netscape.com c708a0b885 Fix for bug 201400: move the "accessibility.browsewithcaret" pref observer to the nsEventStateManager, to remove it from the DOMWindowController. Patch by brade/sfraser, r=aaronl, sr=sfraser. 2003-04-12 03:03:27 +00:00
brendan%mozilla.org 36867f5dc9 Reduce seeks outside the FastLoad file's underlying stream buffer (195010,
r=ben, sr=bryner).

- Pass null scope objects into nsIScriptContext::Compile{EventHandler,Script}
when precompiling for brutal sharing.  The JS engine does not need a non-null
object parameter for static scope.  That parameter can be non-null only if it
helps the compiler "pre-bind" functions to the same scope object that they'll
be parented by when executing, but with brutal sharing, functions are
precompiled once and executed against many different scope objects.

- A problem in XUL FastLoad was that it would serialize master .xul document
out-of-line scripts (those included via script src= from non-overlay, "master"
.xul docs) far from the place in the FastLoad file where XUL prototype script
info was serialized for the <script src=> tag itself.  I fixed that so that,
unless the out-of-line script was previously serialized (by a different src=
reference from another .xul file), the OOL script data immediately follows the
proto-script info in the FastLoad file.

This required adding a SerializeOutOfLine method to nsXULPrototypeScript, which
restores symmetry by matching the existing DeserializeOutOfLine(Script) (note:
I dropped the redundant "Script" from the end of the latter method's name.  We
need SerializeOutOfLine to handle overlay OOL scripts.	They are serialized by
nsXULDocument::OnStreamComplete, because that code knows the difference between
an overlay and a master doc.  This removes all trace of FastLoad writing from
nsXULPrototypeScript::Compile -- FastLoad stuff didn't belong there, not only
because we now want to write master OOL scripts later, when walking the master
XUL prototype doc's element tree, but also for modularity reasons.  The caller
knows about FastLoad, nsXULPrototypeScript::Compile does just what its name
implies.

There are 132 seeks with the patch, only 49 of which dump the underlying file
stream's buffer, vs. 133 seeks without the patch, 87 of which dump the buffer.

- Nit-picked some comments to fit in 80 columns, and made other cosmetic fixes.

- Implicated the nsXULDocument::mIsWritingFastLoad flag from the useXULCache
"is the XUL cache enabled?" flag, so other places that test mIsWritingFastLoad
don't have to query whether the cache is enabled.

- Added METERING synchronous meter-dumping to /tmp/bufstats, only ifdef
DEBUG_brendan, in netwerk/base/src/nsBufferedStreams.cpp.

- Added the deferred seek optimization from the first patch in bug 195010 to
nsFastLoadFile.cpp.

- Fixed nsFastLoadFileReader so it overrides readSegments as well as read.
This catches up with the interface extension made to nsIInputStream to add
readSegments.  The nsFastLoadFileReader extends nsBinaryInputStream, which is
a concrete class, and overrides Read in order to snoop on *all* bytes read.
It does this in order to demultiplex documents interleaved when the FastLoad
file was written.

But since the readSegments move into nsIInputStream.idl, certain primitives
in nsBinaryStream.cpp, e.g., nsBinaryInputStream::ReadCString, have used
ReadSegments, not Read, to consume parts of the underlying stream (to read
the C string's chars, in that example), and the FastLoad file implementation
has not accounted for those bytes.

- Added a new method to nsIFastLoadFileControl and its impls: hasMuxedDocument.
 This is needed when serializing master XUL doc OOL scripts, because we must
not serialize twice, and any OOL script that other XUL docs can include via
script src= could already be in the FastLoad mux.

/be
2003-04-12 01:34:11 +00:00
bryner%netscape.com 4d3b825ffa 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.
2003-04-11 00:56:27 +00:00
dbaron%dbaron.org bc6cee4639 Remove lines that do nothing except leak. r+sr=bzbarsky 2003-04-10 23:26:36 +00:00
sfraser%netscape.com afc1777e87 Clean up nsContentAreaDragDrop::BuildDragData to fix dragging of unselected elements, dragging of <area> elements, and to prepare for putting native image data into drags. Part of changes in 193053, r=pinkerton, sr=kin. 2003-04-10 21:21:15 +00:00
sfraser%netscape.com d61e2195a4 Fix bug 201257 -- clean up use of nsIControllerCommandManager by editor:
Renaming nsIControllerCommandManager to nsIControllerCommandTable to reduce confusion.
Moving the immutability flag from the nsBaseCommandController to the nsControllerCommandTable.
Renaming the 'refcon' on nsIControllerContext to 'context', and giving nsIControllerContext an Init() method that optionally takes a command table.
Fixing the editor and composer module code to create pre-filled nsIControllerCommandTables as services, and the controller constructors to create singleton command tables with do_GetService.
r=brade, sr=alecf.
2003-04-10 18:44:03 +00:00
dbaron%dbaron.org 4ab9a6c815 Two separate directories create a content.xpt file. b=201323 r=seawood sr=jst 2003-04-09 21:16:39 +00:00
roc+%cs.cmu.edu 62c01e75cb Bug 201299. Make lazy scrollbars more selective to avoid XUL tree and listbox problems. r+sr=bzbarsky 2003-04-09 11:17:42 +00:00
bzbarsky%mit.edu 75e0758f2a Some random code cleanup:
1)  Make SetContentSink and SetParserFilter not claim to return stuff
2)  Clean up nsIParser to use NS_IMETHOD_() where needed.  Sync up with nsParser
3)  Removed some never-used code

Bug 40149, r=harishd, sr=jst
2003-04-08 21:23:34 +00:00
roc+%cs.cmu.edu f2dc5c2442 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron 2003-04-08 20:50:57 +00:00
hpradhan%hotpop.com f7dbb93f11 bug 196829 : Removed unused DoFragment() methods from parser and contentsinks r=harishd sr=jst 2003-04-05 07:19:09 +00:00
bzbarsky%mit.edu fdcc28ae82 CSSLoader should check content policy. Bug 190653, r=mvl, sr=peterv 2003-04-04 23:57:06 +00:00
bzbarsky%mit.edu 21e537be09 No need for two separate document viewer constructors. Bug 158804, r=peterv, sr=jst 2003-04-04 22:37:52 +00:00
seawood%netscape.com 977c4f3aaa Remove unneeded xp_path.h reference
Bug #171883
2003-04-04 08:26:27 +00:00
sfraser%netscape.com 4debc47b21 Forward-declare nsIPresShell in nsISelectionPrivate.h. 2003-04-04 02:36:12 +00:00
sfraser%netscape.com a5a80015e1 Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin. 2003-04-04 01:45:06 +00:00
peterlubczynski%netscape.com 6280191bdc Fixing bug 200058, standalone images and plugins leak (the whole document leaks), r=jst sr=bz 2003-04-04 00:26:33 +00:00
heikki%netscape.com faacfeb21d Backing out makefile changes in svg to fix build bustage. 2003-04-03 23:03:19 +00:00
sfraser%netscape.com 3d94154251 Fix bug 192611: nsIFrameSelection has a data member. r/sr=dbaron 2003-04-03 22:32:50 +00:00
heikki%netscape.com ab50b51081 Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
harishd%netscape.com 743d738ebc Hack fix: Close the head context before loading a linked style sheet because the CSSLoader can sometimes call ContinueParsing on the parser even if the parser is not blocked and that causes the sink to go crazy. b=197015, r=heikki@netscape.com, sr=jst@netscape.com 2003-04-03 18:32:58 +00:00
alecf%netscape.com 0f990bca7b fix for bug 199503 - consolidate layout atoms into the main layout atom lists
sr=bryner, r=jag
2003-04-02 23:02:40 +00:00
seawood%netscape.com de59dbee4b Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
heikki%netscape.com 645bfc7c34 Bug 169980, document.load should add its document to the parent document's loadgroup so that if we leave the current page the load will be aborted aotomatically, r=harishd, sr=darin. 2003-04-02 21:44:39 +00:00
locka%iol.ie 819aed17ad Attempt to fix pedantic bustage caused by checkin for b=191023 2003-04-02 14:31:43 +00:00
locka%iol.ie 1c626b1053 Attempt to fix pedantic bustage caused by checkin for b=191023 2003-04-02 13:59:09 +00:00
locka%iol.ie 918254340f Remove references to webshell and make HTML document more tolerant when supplied with a null docshell. b=191023 r=heikki@netscape.com sr=jst@netscape.com 2003-04-02 11:18:00 +00:00
alecf%netscape.com a09a98f6d9 fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00
rbs%maths.uq.edu.au d3d1c3934f Remove unused code, b=199704, r=peterv, sr=jst 2003-04-02 04:05:36 +00:00
bzbarsky%mit.edu 4cd5722271 Make sure not to call LoadImage before LoadImageWithChannel for standalone
images.  Bug 121084; also fixes bug 34165.  r=pavlov, sr=jst
2003-04-02 03:27:20 +00:00
bzbarsky%mit.edu 09fa9aa380 "Backing" changes back in since tree has reopened. 2003-04-02 03:19:50 +00:00
bzbarsky%mit.edu a855c02802 Backing all this out, since tree is closed. 2003-04-02 02:02:10 +00:00
bzbarsky%mit.edu 646f42f2fc Remove some more redundant code -- nsXMLDocument handles this fine. Bug
200071, r=sicking, sr=jst
2003-04-02 01:37:01 +00:00
bzbarsky%mit.edu 5c7258dfc2 Fix range.surroundContents() to not rearrange the content order. Bug 191625,
r=sicking, sr=peterv
2003-04-02 01:30:33 +00:00
jst%netscape.com 8f126a887a Removing unused nsresult rv. 2003-04-02 00:09:20 +00:00
axel%pike.org 2f3d5baa00 bug 199484, xml pretty printing regressed, fix the contract ID for XSLT document transformer, r/sr=peterv 2003-04-01 19:50:42 +00:00
timeless%mozdev.org 1b60d09a7b Bug 199768 document.referrer is empty
patch by keeda@hotpop.com r=sicking sr=peterv a=asa
2003-03-31 20:58:02 +00:00
hpradhan%hotpop.com 71085bc721 bug 199756 : Crash at nsDocument::GetPrincipal 2003-03-31 15:45:44 +00:00
jkeiser%netscape.com e6dd75348e Fix onclick=form.submit(); onsubmit=return false to submit again (bug 192170), r=alexsavulov@netscape.com, sr=bzbarsky@mit.edu, a=asa 2003-03-27 15:59:31 +00:00
jkeiser%netscape.com 73fbdcf647 Allow raw ParseIntValue to work with negative values (bug 198677), r=smontagu@netscape.com, sr=jst@netscape.com 2003-03-27 15:38:12 +00:00
jst%netscape.com 14882c9d0c Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
shliang%netscape.com 4caa9a491b 112789 - disabled radio elements should not get focus. patch largely by neil@parkwaycc.co.uk. r=shuehan, neil, sr=jag. 2003-03-26 02:55:19 +00:00
sicking%bigfoot.com 7df4697aa3 Missed removing this in the landing of bug 185797. r=Pike sr=peterv 2003-03-26 01:34:11 +00:00
jst%netscape.com 8163e8fac9 Checking in dbradley@netscape.com's fix for bug 198995. Make sure we default to the default charset if the server gives us one we don't know. r=jst@netscape.com, sr=peterv@netscape.com 2003-03-26 01:26:38 +00:00
sicking%bigfoot.com d28b0c5b97 Compiled XSLT stylesheets. Improves speed, implements forwards-compatible-parsing and handling of unknown extension-elements. Also fixes some random edgecasebugs such as recursive merged named-attribute-sets and empty strings in copy-of.
Patch mainly by sicking, but large parts also by Pike and peterv.

Tracker is bug 185797. r=Pike/sicking rs=peterv.
2003-03-26 01:10:14 +00:00
dbaron%dbaron.org 2f896de2a2 Fix leak of mValue. b=199184 r=jkeiser sr=jst 2003-03-25 23:59:26 +00:00
alecf%netscape.com 0019d826a7 fix dumb mac bustage - cast sizeof() to PRUint32 2003-03-25 21:23:44 +00:00
alecf%netscape.com 644eda36e7 oops, back out a checkin that wasn't supposed to land 2003-03-25 19:59:06 +00:00
akkana%netscape.com 38c2d42204 145196: a warning fix from burpmaster@truffula.net and another one from me 2003-03-25 19:51:06 +00:00
alecf%netscape.com 925955c81d landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
varga%netscape.com 906bfa1fa3 Landing bookmarks branch. Everything except mozilla/xpfe
Bug 196756 - Meta bug for major architectural changes in bookmarks code
r=jag, sr=bryner
2003-03-25 04:44:31 +00:00
kyle.yuan%sun.com db0d6932fa Bug 197152 AccDoAction failed with menuitem that has command (not oncommand) attribute
r=bryner, sr=jag
move command tag support from individual frames to nsXULElement
2003-03-25 03:15:37 +00:00
roc+%cs.cmu.edu d48c2c89f7 Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin 2003-03-24 05:29:45 +00:00
timeless%mozdev.org 965ba28bb1 Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
bryner%netscape.com 2e125db44a Move editor's key event listener, xbl commands, and typeahead find into the system event group. This allows event listeners in content to reliably cancel key events. Bug 54035, r=jkeiser and aaronl, sr=hyatt and kin. 2003-03-24 04:00:58 +00:00
jfrancis%netscape.com b8893ea45e fix for 187955: improvements to html fragment sink and paste code. Fixes problems seen with "Create table From Selection" and also with CF_HTML paste.
r=brade; sr=kin
2003-03-23 20:45:47 +00:00
dbaron%dbaron.org 9cf85cc264 Make mkaply's bustage fix a little safer. 2003-03-22 18:34:57 +00:00
mkaply%us.ibm.com 38c8983879 Ports bustage - someone please correct me if I have done something horribly wrong 2003-03-22 14:31:19 +00:00
bzbarsky%mit.edu 468c1fa6b5 This warning was never supposed to get checked in... 2003-03-22 07:57:44 +00:00
jst%netscape.com cbafad0cf7 Fixing silly placement of '||'. No code change. 2003-03-22 03:24:57 +00:00
peterlubczynski%netscape.com c8c6f4afa4 Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 03:20:23 +00:00
peterlubczynski%netscape.com 262f4c8d0a Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 02:22:03 +00:00
alecf%netscape.com 16af458ceb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
heikki%netscape.com 7e8034bc24 Bug 139276, implement synchronous document.load(), r=jst, sr=darin. 2003-03-21 19:22:52 +00:00
alecf%netscape.com 64a8a63888 argh fix darwin bustage.. :( 2003-03-21 16:06:20 +00:00
alecf%netscape.com b7bb5e49db just one theory on the Ts slowdown, before I back myself out completely 2003-03-21 13:31:34 +00:00
alecf%netscape.com aa169d6a58 augh! how did I miss these files?!
more for bug 195262
2003-03-21 06:52:12 +00:00
alecf%netscape.com c4ea07bc53 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
bzbarsky%mit.edu 16a1e92185 Load images even if we're not associated with any document, for now, so that
drag/drop and copy/paste of images work.  Bug 198428, r=timeless, sr=jst
2003-03-21 01:31:43 +00:00
bzbarsky%mit.edu 97462add5b Fix crash when viewing standalone images if images are blocked in mailnews.
Bug 198301, r=jkeiser, sr=jst
2003-03-20 02:03:13 +00:00
heikki%netscape.com 9f2a5f1a56 Bug 182323, implemented XPointer spec, we now support the framework, shorthand syntax, element, fixptr, xpath1 and xmlns schemes, and provide a proprietary API from scripts, r=sicking, sr=peterv. 2003-03-19 23:45:42 +00:00
bzbarsky%mit.edu 111c4443bd rv is no longer used... (bug 83774) 2003-03-19 06:11:59 +00:00
bzbarsky%mit.edu d17939cf9e Trying to make Tp go down. Switch back to the old way of doing load events. 2003-03-19 05:38:33 +00:00
bzbarsky%mit.edu c4e4f41b64 Fix OS/2 bustage. Bug 83774. 2003-03-19 04:13:37 +00:00
bzbarsky%mit.edu 1bfea66b89 Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
type="image"> into the content nodes and out of nsImageFrame.  r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
heikki%netscape.com 682635ca4f Bug 198127, change cursor when on expander, r+sr=bzbarsky. 2003-03-19 01:22:01 +00:00
bzbarsky%mit.edu 47c8df57e8 More build system stuff for bug 83774. r=pavlov, sr=jst 2003-03-19 01:17:07 +00:00
bzbarsky%mit.edu 62e28677dd Build system changes for bug 83774. Enables the new code, but doesn't use it
yet.  r=pavlov, sr=jst
2003-03-19 01:16:16 +00:00
bzbarsky%mit.edu 1cc4b7f6fe Error defs for bug 83774. r=pavlov, sr=jst 2003-03-19 01:11:23 +00:00
bzbarsky%mit.edu 91df3ce52c New files for bug 83774. r=pavlov, sr=jst 2003-03-19 01:08:22 +00:00
bryner%netscape.com 992925cbe8 Fix stuck tabbing through imagemaps (bug 124789) by tracking the focused frame separately from the focused content node in this case. r=jkeiser, sr=bzbarsky. 2003-03-19 00:44:17 +00:00
heikki%netscape.com 836e3cd192 Bug 197966, minus sign did not change to plus when unexpanded, patch from sicking, r=jkeiser, sr=bzbarsky. 2003-03-19 00:32:46 +00:00
bryner%netscape.com 94b9b8c9d4 Fix stuck tabbing through imagemaps (bug 124789) by tracking the focused frame separately from the focused content node in this case. r=jkeiser, sr=bzbarsky. 2003-03-18 23:41:44 +00:00
mkaply%us.ibm.com 2ea5161b4a #198036
r=blizzard, sr=kin 
Uninitialized variable
2003-03-18 22:18:10 +00:00
bzbarsky%mit.edu d4f92ec6cf Fix crash on having a <xul:listbox> in a plain XML document. Bug 197234,
r=sicking, sr=jst
2003-03-18 21:18:26 +00:00
brade%netscape.com 5ae765b5e6 use member command manager; r/sr=dbaron; bug 197583 2003-03-18 14:47:17 +00:00
bzbarsky%mit.edu ae79a333c6 s/floorf/floor/. Fixes solaris/AIX/whatever bustage 2003-03-18 08:29:00 +00:00
bzbarsky%mit.edu a7e315a7dd Add math.h too 2003-03-18 06:48:04 +00:00
bzbarsky%mit.edu e0dac4f4b6 Fix build bustage -- looks like not all platforms have round(). r=timeless 2003-03-18 06:45:57 +00:00
bzbarsky%mit.edu f46e288da3 Bug 160550 -- implement -moz-hsl() (CSS3 hsl() colors). Implement the parsing end of
-moz-rgba() and -moz-hsla(); the GFX end is bug 147017.  r+sr=dbaron
2003-03-18 05:43:12 +00:00
bzbarsky%mit.edu c53fa07cb2 Don't parse "string" values for text-align till we actually support them in
layout... Bug 197771, r+sr=dbaron
2003-03-18 05:25:37 +00:00
bzbarsky%mit.edu 91b905b643 Random CSS parser cleanup -- nsCOMPtr, nsCOMArray, remove unused methods, etc.
Bug 197512, r+sr=dbaron
2003-03-18 05:21:30 +00:00
bzbarsky%mit.edu d3743a35e8 Fix regression bug 197823 -- scrolling state restoration broken during history
navigation if URL includes anchor name.  Remove unnecessary and deleterious
flush. r+sr=dbaron
2003-03-18 04:09:24 +00:00
bzbarsky%mit.edu 74bc4b1058 AddDoctypeDecl should not enforce "doctype" being uppercase. Bug 197331, patch
by bugzilla@jellycan.com (Brodie Thiesfield), r=harishd, sr=jst
2003-03-17 23:24:27 +00:00
bzbarsky%mit.edu 1dcb88ac02 IsJavascript should handle leading spaces. Bug 197345, patch by
bugzilla@jellycan.com (Brodie Thiesfield), r=brade, sr=bzbarsky
2003-03-17 23:18:57 +00:00
sspitzer%netscape.com 1ac3480345 a (knock on wood) safe fix for (at least) two bugs:
#195011, Dismissing Junk Mail Log dialog crashes Mozilla [@ nsEventListenerManager::HandleEvent]
#137191, Infinite recursion near nsEventStateManager::TabIntoDocument

really the same issue:  guard against tabbing into a sub document, popping back out, and tabbing back in recursively.

r=aaronl, sr=bryner.
2003-03-17 23:08:36 +00:00
bzbarsky%mit.edu 7acdbf095e Make imgRequestProxy hold a weak ref to its listener, to prevent reference
cycles.  Bug 196797, r=pavlov, sr=jst
2003-03-17 16:09:02 +00:00
varga%netscape.com 728e626e5d Fix for bug 196485. Remove duplicate tokenizing method.
r=jag, sr=bryner
- nsTreeUtils::TokenizeProperties is the method used by both tree view implementations
2003-03-17 09:40:13 +00:00
bzbarsky%mit.edu c8bfe97f4b Make the CSS parser not throw on attempts to parse lengths with unknown units
(bug 197212).  Also fixes a few build warnings and finally removes
NS_CSS_PARSER_DROP_DECLARATION (bug 88423).  r+sr=dbaron
2003-03-17 03:58:06 +00:00
bryner%netscape.com b633cf5785 fix some more crashes related to bug 196337. r=blake, sr=hewitt. 2003-03-17 03:57:51 +00:00
bzbarsky%mit.edu dd3abec593 Avoid possible double-delete of CSS declaration. Bug 196271, r+sr=dbaron 2003-03-17 03:46:17 +00:00
bzbarsky%mit.edu f2b7f6eacc Make all CSSStyleSheets have a useful mDocument so that they can pass change
notifications properly.  Parent sheets are responsible for keeping their kids'
mDocument pointers up-to-date.  Bug 194543, r=dbaron, sr=peterv
2003-03-17 03:44:02 +00:00
varga%netscape.com 64e423f079 Fix for bug 139290. Interaction between windows leads to doubled bookmarks.
r=bryner, sr=jag
- cache the open state of container instead of quering the data source every time
2003-03-16 11:29:02 +00:00
dbaron%dbaron.org 91b0ef2163 No more experiments. Back to plain old macros. r+sr=roc b=196603 2003-03-16 04:51:56 +00:00
dbaron%dbaron.org 2bf5dd9ad7 Well, the OS/2 compiler does not like the cool way of doing this, so on to the ugly way... b=197277 2003-03-16 01:34:48 +00:00
dbaron%dbaron.org 81663f91b3 Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277 2003-03-16 01:13:23 +00:00
dbaron%dbaron.org a45c413c18 Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277 2003-03-16 01:12:32 +00:00
dbaron%dbaron.org aaebee1f47 Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277 2003-03-16 01:03:20 +00:00
dbaron%dbaron.org 90f15a2a13 Ensure that CalcStyleDifference populates the new context with all of the structs present on the old context to ensure that the PeekStyleData optimization is valid. Avoid copy-and-pasted code. b=196603 r+sr=roc 2003-03-16 00:20:21 +00:00
dbaron%dbaron.org c453e56d44 Oops! nsStyleSVG never had a GetStyleStructID method. b=196603 2003-03-15 21:54:49 +00:00
dougt%netscape.com be629223b6 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
jst%netscape.com 67c60923e6 Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com 2003-03-14 07:00:53 +00:00
jkeiser%netscape.com e5056bee26 Make .selectedIndex = -1 clear select (bug 195773), r=peterv@netscape.com, sr=jst@netscape.com 2003-03-14 06:18:20 +00:00
bzbarsky%mit.edu a079ea6c41 The time for this line hath not yet come. Fix build bustage. 2003-03-14 02:29:55 +00:00
bzbarsky%mit.edu 3c1739e1d7 Make :target work for history loads too. Bug 197277, r+sr=dbaron 2003-03-14 01:16:31 +00:00
rginda%netscape.com 41d8df3c94 bug 170585, Scriptable streams are broken; r=darinf, sr=dougt
update to readdata caller
2003-03-13 21:24:37 +00:00
heikki%netscape.com 6c04511830 Bug 185873, remove bad CSS rule that made us print only the first page of a pretty printed XML document, r=sicking, sr=dbaron. 2003-03-13 19:54:17 +00:00
bzbarsky%mit.edu 1772da5eb5 Remove some style-data-clearing functions that no one uses and that don't do
the right thing anyway.  Bug 169989, r+sr=dbaron
2003-03-13 18:58:54 +00:00
dbaron%dbaron.org 72fc01e4d8 Make HTMLDocumentColorRule immutable. b=196795 r+sr=bzbarsky 2003-03-13 15:30:32 +00:00
dbaron%dbaron.org 5e4a305ea0 Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky 2003-03-13 15:29:36 +00:00
bzbarsky%mit.edu 98a2c50cf4 Fix bug 197090; foo.style.background="" would throw instead of just doing
nothing.  r+sr=dbaron
2003-03-12 21:54:50 +00:00
bryner%netscape.com cf7dcf25dc Don't need to stabilize mRefCnt to 1 in nsStyleContext dtor (bug 196956). r/sr=dbaron. 2003-03-12 05:19:43 +00:00
bryner%netscape.com f53211b6ca fixing ports bustage 2003-03-12 05:03:35 +00:00
bryner%netscape.com 7ce4b290a0 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser. 2003-03-12 04:57:33 +00:00