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

2374 Коммитов

Автор SHA1 Сообщение Дата
leon.zhang%sun.com a0b6278dce Bug 207936:[trunk] JA IME: cursor position is off before and after text is committed
r=sfraser sr=kin
2003-06-11 03:29:59 +00:00
varga%netscape.com 91245bd20d Fix for bug 208912. DOMParser produces documents with about:blank uri.
r=heikki, sr=peterv
2003-06-10 23:31:07 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
dbaron%dbaron.org 57174ecf3a Fix bustage on compilers with broken for loop scoping. b=125246 2003-06-08 00:36:08 +00:00
dbaron%dbaron.org 0a143da53b 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 7fdf91f08e 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
bsmedberg%covad.net 978e0a964c Bug 208111 - Remove nsIDocument::GetArena which is unused. r=sicking sr=peterv 2003-06-04 13:10:02 +00:00
jaggernaut%netscape.com 756d8ef907 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
bzbarsky%mit.edu 2d8c24058a 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 85fbe5da58 204386 r+sr=bz Allow setting Image.src to empty 2003-05-25 20:43:08 +00:00
timeless%mozdev.org bf84b28858 Bug 204405 warning: unused variable `PRUnichar nullChar' in nsNodeInfo::Equals
r=peterv sr=peterv
2003-05-23 22:00:31 +00:00
dwitte%stanford.edu 270d3909ca 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
kaie%netscape.com b902f313ef 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
bzbarsky%mit.edu b84cf009ec 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 59565080be 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 653e5df5d2 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 75ff60c62f 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 5cee333241 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
jst%netscape.com fba31f0405 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 0f98e1c43e 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 4a4f3ae709 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 9214f83b1a 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
jst%netscape.com ad6f529639 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
peterv%netscape.com f9585fa161 Part of fix for bug 203192 (Improvements to XSLT loading). r=sicking, sr=jst, a=asa. 2003-05-05 09:17:36 +00:00
cbiesinger%web.de 4a19167b35 204072 r+sr=bz a=sspitzer Cache IOService and imgILoader in nsImageLoadingContent 2003-05-02 19:21:00 +00:00
bzbarsky%mit.edu 47620b7255 Fix insertNode() to work right. Bug 135922, r=caillon, sr=peterv, a=asa 2003-04-26 01:14:42 +00:00
heikki%netscape.com 1dfcfb8f7c Bug 191800, move FIXptr and XPointer into xmlextras, r=harishd, sr=jst. 2003-04-23 00:07:37 +00:00
jst%netscape.com 8f24979ea4 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 352be220ed 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 7ac1abf691 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
bzbarsky%mit.edu ed10e15714 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 d18e1ae342 attempting to fix irix bustage by removing ^M 2003-04-20 03:14:09 +00:00
leon.zhang%sun.com 526c0515e9 Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser 2003-04-20 01:03:40 +00:00
bzbarsky%mit.edu de68c0523a 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
stephend%netscape.com fa120281ec 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
jst%netscape.com f1b9b87862 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 c2827fb6e7 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
mjudge%netscape.com 0ca43371c9 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 a453fa004c 191498 r=danm sr=fraser fixes caret jumping around containers. also fixes 192167 2003-04-17 21:08:44 +00:00
cbiesinger%web.de 91ae833035 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 0c3baccfc4 remove deprecated interfaces (bug 197121) 2003-04-17 19:42:27 +00:00
brade%netscape.com 63f5c9dd53 removing printf from previous checkin 2003-04-17 14:24:55 +00:00
brade%netscape.com 1f1cf0be8d 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 a064e8c50b removing old file; replaced with widget/public/nsIClipboardDragDropHooks.idl 2003-04-17 13:22:40 +00:00
brade%netscape.com fb3e924d63 changes for drag/drop/copy/paste hooks (bug 197121) r=pinkerton sr=smfr 2003-04-17 13:21:15 +00:00
brade%netscape.com bf11f4765e copy hooks (bug 197121) r=jfrancis, sr=smfr 2003-04-17 13:16:36 +00:00
bzbarsky%mit.edu fc176a0ffa 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
heikki%netscape.com e485f5fcdf 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
bzbarsky%mit.edu 97c2f70759 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
bryner%netscape.com 3a3ec0cbd5 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
sfraser%netscape.com 85cda34b61 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
roc+%cs.cmu.edu 3936b4c393 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 ab79cda8b9 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 36a26eca9c No need for two separate document viewer constructors. Bug 158804, r=peterv, sr=jst 2003-04-04 22:37:52 +00:00
sfraser%netscape.com 05e5f933f1 Forward-declare nsIPresShell in nsISelectionPrivate.h. 2003-04-04 02:36:12 +00:00
sfraser%netscape.com 28c61bb42b Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin. 2003-04-04 01:45:06 +00:00
sfraser%netscape.com 55a823d10e Fix bug 192611: nsIFrameSelection has a data member. r/sr=dbaron 2003-04-03 22:32:50 +00:00
heikki%netscape.com b6ee57a69a Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
seawood%netscape.com 80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
alecf%netscape.com c8aef61acf fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00
bzbarsky%mit.edu b4ecec8c75 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 ce3a0d97fb "Backing" changes back in since tree has reopened. 2003-04-02 03:19:50 +00:00
bzbarsky%mit.edu 429e0e4ded Backing all this out, since tree is closed. 2003-04-02 02:02:10 +00:00
bzbarsky%mit.edu 0aa30bfa1d Fix range.surroundContents() to not rearrange the content order. Bug 191625,
r=sicking, sr=peterv
2003-04-02 01:30:33 +00:00
hpradhan%hotpop.com 559976ba5f bug 199756 : Crash at nsDocument::GetPrincipal 2003-03-31 15:45:44 +00:00
jkeiser%netscape.com 595a99124d 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 b4cc5d4695 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
jst%netscape.com 6d5b687996 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
alecf%netscape.com cd15871e5d fix dumb mac bustage - cast sizeof() to PRUint32 2003-03-25 21:23:44 +00:00
alecf%netscape.com 6e81592fb4 oops, back out a checkin that wasn't supposed to land 2003-03-25 19:59:06 +00:00
akkana%netscape.com 149fc29880 145196: a warning fix from burpmaster@truffula.net and another one from me 2003-03-25 19:51:06 +00:00
alecf%netscape.com 8c50d0242a 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
timeless%mozdev.org 697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
bzbarsky%mit.edu a76184952a This warning was never supposed to get checked in... 2003-03-22 07:57:44 +00:00
jst%netscape.com 00db1bb01f Fixing silly placement of '||'. No code change. 2003-03-22 03:24:57 +00:00
peterlubczynski%netscape.com b5850784ea 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 07b7bbfa07 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 b6584a77fb 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 7546a28ccf Bug 139276, implement synchronous document.load(), r=jst, sr=darin. 2003-03-21 19:22:52 +00:00
alecf%netscape.com ecf24a2b78 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 9d9dd599e9 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
heikki%netscape.com 0ee437d7ac 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 56b2f64be1 rv is no longer used... (bug 83774) 2003-03-19 06:11:59 +00:00
bzbarsky%mit.edu 38989d3add 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 d776b1c008 Fix OS/2 bustage. Bug 83774. 2003-03-19 04:13:37 +00:00
bzbarsky%mit.edu 2c56e0638e 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
bzbarsky%mit.edu 13dcd19c90 More build system stuff for bug 83774. r=pavlov, sr=jst 2003-03-19 01:17:07 +00:00
bzbarsky%mit.edu d9626bd65a 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 6f9799a38d Error defs for bug 83774. r=pavlov, sr=jst 2003-03-19 01:11:23 +00:00
bzbarsky%mit.edu e274d4eb2d New files for bug 83774. r=pavlov, sr=jst 2003-03-19 01:08:22 +00:00
bzbarsky%mit.edu 596066a1d9 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
bzbarsky%mit.edu bdbb61ee9e 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
bzbarsky%mit.edu 1b837cdd65 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
bzbarsky%mit.edu 9161a95441 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
dbaron%dbaron.org 20ae0c288c No more experiments. Back to plain old macros. r+sr=roc b=196603 2003-03-16 04:51:56 +00:00
dbaron%dbaron.org 5966b88a27 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 c4811e9e52 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
bzbarsky%mit.edu b55d3bdb7f 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 3069e2548c 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
roc+%cs.cmu.edu 210e29411b Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz 2003-03-12 03:22:11 +00:00
roc+%cs.cmu.edu 84b91a597c Bug 195883. %-values are not valid for '-moz-opacity'. 2003-03-08 03:08:25 +00:00
heikki%netscape.com dadc4b1160 Bug 191327, make internalSubset not include delimiting brackets (was not defined in DOM 2 but is now defined in DOM 3 drafts). Also fix bug 191482, external entity definitions should be included in internal subset. r=harishd, jst, sr=peterv. 2003-03-07 23:40:51 +00:00
aaronl%netscape.com 20117a7edc Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz 2003-03-06 23:07:00 +00:00
dbaron%dbaron.org 10878a0640 Remove unused variable (fix warning). b=171830 2003-03-06 21:01:52 +00:00
dbaron%dbaron.org 2c149384ef Fix for bustage on older gcc. b=117316 2003-03-06 20:16:35 +00:00
dbaron%dbaron.org c3fb353790 Implement garbage collection of the rule tree to fix some cases of memory growth and to allow us to move towards style rule immutability. b=117316 r+sr=bzbarsky 2003-03-06 19:14:17 +00:00
dbaron%dbaron.org 636a18962f Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830 2003-03-06 19:07:22 +00:00
peterv%netscape.com bc210f1afe Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
sicking%bigfoot.com 9ed65880ca Bug 184159: Make scripts with for- and event-attributes not lock up the xml-contentsink.
r=peterv sr=jst
2003-03-04 12:12:48 +00:00
sfraser%netscape.com 395413772f Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf. 2003-02-28 05:47:36 +00:00
jst%netscape.com 1f6f27bce8 Fixing bug 182700. Make 'Copy Image Location' work for <input type=image> elements. r=timeless@myrealbox.com, sr=peterv@netscape.com 2003-02-27 01:38:20 +00:00
jst%netscape.com 819f27dd06 Fixing bug 191579. Make <script for='window' event='onload'> execute as inline script like it used to. r=bzbarsky@mit.edu, sr=peterv@netscape.com 2003-02-27 00:49:36 +00:00
ere%atp.fi 0658c7676a Bug 193929: HTML sanitizer ("simple html") should allow attached images
r=ducarroz, sr=jst
2003-02-26 13:47:36 +00:00
bzbarsky%mit.edu 6a0073db73 Sync up observer notifications between nsDocument and nsXULDocument. Bug
192130, r=dbaron, sr=jst
2003-02-23 18:49:45 +00:00
dbaron%dbaron.org e341c5f706 Make ProbePseudoStyleFor return null whenever :before and :after aren't displayed so that we don't try to reframe constantly in certain cases, preventing link clicking from working. b=188525 r+sr=bzbarsky 2003-02-23 17:28:25 +00:00
timeless%mozdev.org c6fb3f4dda Bug 193824 Remove unused globals from nsDocumentViewer.cpp
r=smontagu sr=alecf
2003-02-23 07:03:09 +00:00
bzbarsky%mit.edu a47e2fa451 Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
(parent sheet, parent rule, owning node, document).  Bug 167415, r+sr=dbaron
2003-02-23 04:44:41 +00:00
roc+%cs.cmu.edu 67a197918a Bug 191938. 'Dont print backgrounds' by setting background to white. also clean up unused params and make background-attachment:fixed work in printing/printpreview. r+sr=bzbarsky 2003-02-23 02:49:22 +00:00
roc+%cs.cmu.edu 1c6c3011c3 Bug 180921. Make nsDocumentViewer::Show call nsDocumentViewer::MakeWindow instead of duplicating code. Fixes a bug where subdoc view linkage was added to MakeWindow but not Show. r=jkeiser,sr=jst 2003-02-22 21:48:39 +00:00
bzbarsky%mit.edu 494a5203ff Removing nsIDocumentContainer -- it's unused and not planning to be used. Bug
193543, r=sicking, sr=jst
2003-02-22 19:54:11 +00:00
dbaron%dbaron.org d733f493e4 Fix Windows bustage. (Why doesn't gcc enforce correct const-ness?) 2003-02-22 17:51:47 +00:00
dbaron%dbaron.org 4b4f8625f1 Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky 2003-02-22 16:10:53 +00:00
dbaron%dbaron.org ea93b55cc8 Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser 2003-02-22 15:58:07 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
jkeiser%netscape.com bd4cc85eeb Make text drag work again (bug 193568), r=bryner@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2003-02-22 08:10:46 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
sicking%bigfoot.com dcc6361443 Bug 174713: Make XPath on HTML documents behave consistently and HTML-ish. This makes the XPath-functions name() and local-name() return upper-case names and makes nametests case-insensitive.
r=peterv sr=jst a=asa
2003-02-14 00:59:40 +00:00
dbaron%dbaron.org 2ce5068759 Backing out half of previous changes, since they're not necessary to fix the crash and I think they cause problems. 2003-02-07 03:21:27 +00:00
dbaron%dbaron.org e6b505fb3d Make observer notification in nsDocument and nsXULDocument happen in the same order (that of nsXULDocument), and make nsXULDocument more resistant to observer removal during notification in an attempt to fix crashes. b=192130 Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=jst a=asa 2003-02-07 03:15:41 +00:00
bzbarsky%mit.edu 4e17c8c0d3 Try to more gracefully handle unexpected destruction of stylesheet linking
nodes.  Bug 185808 (just fixes the crash, not the real problem).  r=sicking,
sr=jst, a=dbaron
2003-02-04 04:45:58 +00:00
bzbarsky%mit.edu 982224a610 Fix crash bug 191588. r=sicking, sr=jst, a=dbaron 2003-02-04 04:19:05 +00:00
bzbarsky%mit.edu 593090f503 Relanding 189384 since it seems Not Guilty. Still r=sicking/sr=jst/a=asa 2003-01-31 23:21:22 +00:00
bzbarsky%mit.edu 0ec80cf1ba Backing out 189384 to see whether this caused the Tp jump. 2003-01-31 14:28:50 +00:00
bzbarsky%mit.edu 0a5dfa0dba Make getElementsByTagName(NS) in XUL use content lists (perf, etc). Bug
189384, r=sicking, sr=jst, a=asa
2003-01-31 06:28:14 +00:00
blizzard%redhat.com a999059dd4 Bug #190079. Crasher. Check length of string before calling |Last| on it. r=jkeiser,sr=scc,a=roc 2003-01-23 04:12:58 +00:00
paper%animecity.nu a275d707af Fix for blocker Bug 190124 & Bug 190121. r=jkeiser, sr=blizzard, a=roc+moz. Send Pixel Units to GetPixelValue, not GetIntValue 2003-01-22 22:33:27 +00:00
pkw%us.ibm.com dc7050147a Bug 189859 - Checkin for Bug 173388 broke 64-bit builds on AIX.
r=harishd@netscape.com, sr=jst@netscape.com
2003-01-22 04:29:43 +00:00
peterv%netscape.com c1e3bc0d5e Fix for bug 186538 (Touching the ownerElement of an attribute through XPath generates a security error.). r=sicking, sr=jst. 2003-01-22 03:25:51 +00:00
jkeiser%netscape.com d73be72429 Move HTMLValue parsing methods to HTMLValue (bug 159757), r=bugmail@sicking.cc, sr=jst@netscape.com 2003-01-21 21:24:16 +00:00
dbaron%dbaron.org 03366794e8 Fix crash (and refix other crashes in a cleaner way) by making UndisplayedMap own references to content nodes, just like frames do. b=161304 r+sr=bzbarsky 2003-01-21 00:47:14 +00:00
caillon%returnzero.com 0ab3beee78 189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
r+sr=dbaron
2003-01-19 02:36:04 +00:00
dbaron%dbaron.org faa9a5b9f9 Reduce duplication of code between handling of top/right/bottom/left margin, border, and padding. b=189537 r+sr=bzbarsky 2003-01-18 15:58:49 +00:00
dbaron%dbaron.org 973f5e4a90 Fix inheritance of 'border-color' when the value inherited came from 'color' (the default). b=189402 r+sr=bzbarsky 2003-01-17 23:41:20 +00:00
cbiesinger%web.de b7a5577747 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203 2003-01-17 12:09:23 +00:00
caillon%returnzero.com 8d9098a65a Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
harishd%netscape.com ce8790d388 Ignore noxxx content when copy pasting into a plain text editor. b=97687, r=peterv, sr=heikki 2003-01-16 20:24:03 +00:00
dbaron%dbaron.org 5302be6eba Change |DEBUG_dbaron| to |DEBUG_dbaron_off| for stuff that I don't want to see anymore. 2003-01-16 19:21:23 +00:00
sicking%bigfoot.com e4a2e08be6 Bug 184697: Return an element-factory even for the unknown namespace to avoid crash.
r=harishd sr=heikki
2003-01-15 22:45:39 +00:00
jst%netscape.com 53dbf78a7a Fixing bug 161166. Freezing more DOM interfaces. r=harishd@netscape.com, sr=peterv@netscape.com 2003-01-14 23:05:52 +00:00
sicking%bigfoot.com b77d77180d Bug 179231: Give documents loaded through the syncloader the correct base-uri
r=peterv sr=bz
2003-01-14 22:36:57 +00:00
sicking%bigfoot.com 89c3e94d25 Bug 188729: Break refcounting-cycles during load.
r=peterv sr=bz
2003-01-14 22:32:18 +00:00
bryner%netscape.com 7567117773 Combine content and layout into a single library (bug 106161). r=dbaron, sr=jst. 2003-01-14 07:08:59 +00:00
bzbarsky%mit.edu bd79dbf27b Re-enable print preview gui stuff (which was mostly off) on GTK and Xlib
ports.  Bug 187125, patch by Roland.Mainz@informatik.med.uni-giessen.de (Roland
Mainz), r=smontagu, sr=rbs
2003-01-10 00:53:28 +00:00
aaronl%netscape.com b384a46582 Bug 98546. Fix word break detection to improve select by word where there is punctuation in the word. Also fixes 125172, double clicking in URL bar should select only part of URL. Also fixes bug 133312, word selection with accented letters. r=brade, sr=sfraser 2003-01-09 20:56:53 +00:00
sicking%bigfoot.com c75bd1b336 Bug 187611: Set the proper Content-Type of XSLT generated documents
r=peterv sr=jst
2003-01-09 15:45:45 +00:00
bryner%netscape.com 7f0488eb18 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
smontagu%netscape.com f3c37e67d5 Make XUL documents print. Bug 137526, Author=Roland.Mainz@informatik.med.uni-giessen.de, r=smontagu, sr=sfraser. 2003-01-09 00:22:16 +00:00
dbaron%dbaron.org 48544669f3 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag 2003-01-08 19:24:38 +00:00
sicking%bigfoot.com c134137876 Bug 186835: Hold off notifying that the transformation is finished until all stylesheets are loaded.
r=peterv sr=bz
2003-01-06 14:55:13 +00:00
bryner%netscape.com 8570a4ec8b removing dead/unused file. not part of the build. 2003-01-06 06:14:31 +00:00
bryner%netscape.com af9a5bd4d3 fix static build bustage on solaris (bug 187755). patch by Roland.Mainz@informatik.med.uni-giessen.de, r/sr=me. 2003-01-05 09:16:14 +00:00
harishd%netscape.com 6d74664081 Avoid the call to OpenHead and CloseHead with incorrect parserNode. b=182021, r=heikki, sr=jst 2003-01-03 23:17:22 +00:00
dbaron%fas.harvard.edu a34c46af22 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
seawood%netscape.com d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
kin%netscape.com c79b812413 Fix for bug # (drag and drop of links with icons is inconsistent)
Make dragging an image in a link behave just like dragging the text in a link. We now generate the drag data for links just like we do when dragging an existing selection.

r=brade@netscape.com  sr=sfraser@netscape.com
2002-12-20 15:37:03 +00:00
kin%netscape.com cbbe3f0fa1 Fix for bug #184858 (Find not finding all matches)
Modified |ContentIsInTraversalRange()| to return true if aContent is a textnode and contains one of the traversal range end points.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2002-12-19 19:36:18 +00:00
bratell%lysator.liu.se bbaeef586e Bug 173388 - Last checkin was r=harishd and sr=jst 2002-12-19 06:28:28 +00:00
bratell%lysator.liu.se 304c608514 Bug 173388 - Use TABs to seperate table cell when converting HTML -> Text (copying from a web page). 2002-12-19 06:22:55 +00:00
jkeiser%netscape.com 0dddb3aadc Remove 8 nested frames limit on framesets (bug 175270), patch by mkaply@us.ibm.com, r=jkeiser@netscape.com, sr=jst@netscape.com 2002-12-17 01:10:03 +00:00
rbs%maths.uq.edu.au 008e1e2517 Remiander of bug 169590. Hook a catch-all W3C entity converter and user-prefs for custom levels of entity-zation in the editor's '<HTML> Source' and 'Save As...' 2002-12-17 00:41:25 +00:00
sicking%bigfoot.com 74a253f620 Bug 182031: Try to get the prettyprinter to work reliably by fixing an uninitialized variable in the sync-loader.
r=jkeiser sr=peterv
2002-12-16 16:08:09 +00:00
bratell%lysator.liu.se 063f516f9b Bug 180996, fallout from the parser node landing in bug 177994 - nsParserNodes are not something one can hang on to. Instead read the interesting parts of them when they come in and then drop them. r=harishd, sr=jst 2002-12-14 06:16:56 +00:00
rbs%maths.uq.edu.au 5c9db7b7ec Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst 2002-12-13 22:12:10 +00:00
peterv%netscape.com 5a8680e480 Back out part of patch for bug 183999, which caused bug 185153. 2002-12-13 08:41:42 +00:00
peterv%netscape.com d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu 079a5898de Remove some nsISupportsArray usage in nsSelection in favor of nsCOMArray. Bug
184022, r=timeless, sr=peterv
2002-12-11 00:02:49 +00:00
caillon%returnzero.com 342abe6814 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
dbaron%fas.harvard.edu 3f07edc1de Fix build bustage inside |#ifdef DEBUG_dbaron|. (Not part of build.) 2002-12-06 04:42:49 +00:00
bzbarsky%mit.edu ba4f4326e5 Um.. spell PRUint16 right 2002-12-04 06:15:43 +00:00
bzbarsky%mit.edu 9bc3b262da Fix mac bustage 2002-12-04 06:13:56 +00:00
caillon%returnzero.com 02dff0ba15 Bug 177328: Update compareTreePosition to compareDocumentPosition as per the latest DOM3 Core WD: http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html#Node3-compareDocumentPosition
r=bzbarsky sr=jst
2002-12-04 05:18:39 +00:00
caillon%returnzero.com 0f9a81eb48 182702: Convert printing code to use nsIPrefBranch and nsIPrefService
r=rods sr=roc+moz
2002-12-04 02:03:17 +00:00
karnaze%netscape.com c94e939d58 bug 161644 - don't allow a first letter to be a block unless it is floating. sr=bzbarsky, r=dbaron. 2002-12-03 15:48:26 +00:00
bzbarsky%mit.edu fdd22598ca Fixing compiler warning. r=timeless. 2002-12-03 15:14:00 +00:00
bzbarsky%mit.edu 67bcecbb48 get rid of build warning for unused var. 2002-12-03 06:53:22 +00:00
bzbarsky%mit.edu fe53f95e60 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
peterv%netscape.com 54bc0d85bd Fix OS/2 bustage. 2002-11-30 09:45:19 +00:00
peterv%netscape.com cbbedba9d2 Bustage fix. 2002-11-30 00:27:09 +00:00
peterv%netscape.com 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
bzbarsky%mit.edu bbd244651a Handle null namespaces in getElementsByTagNameNS. Bug 181791, r=sicking, sr=jst 2002-11-26 01:13:27 +00:00
sicking%bigfoot.com 8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
sicking%bigfoot.com fb1fbfd6b3 fix bustage 2002-11-25 09:33:11 +00:00
sicking%bigfoot.com b615fa9010 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
rods%netscape.com c16e250910 Instead of at the end of of the PO it needs to be in the middel of reflow
where we bail out earlier, basically same fix different location
Bug 149710 r=dcone sr=jst
2002-11-22 13:06:58 +00:00
rods%netscape.com 0bf43fd793 The search for the selected frames was not looking in all the child lisst for each frame
Bug 181228 r=dcone sr=jst
2002-11-22 13:02:05 +00:00
bratell%lysator.liu.se 7994d30d0c Bug 165893 - use cached nsParserService pointer instead of looking up the service everywhere. r=jst, sr=bzbarsky 2002-11-22 12:20:05 +00:00
darin%netscape.com d9541f875d fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky 2002-11-22 07:40:16 +00:00
jfrancis%netscape.com 0c756dc3b3 fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin 2002-11-22 03:30:59 +00:00
jst%netscape.com abb472c248 Fixing bug 181351. Making NS_NewTextNode() return an nsITextContent pointer in stead of reaturning an nsIContent pointer to avoid having to QI the new text node to set it's value. r=caillon@returnzero.com, sr=bzbarsky@mit.edu 2002-11-22 01:11:33 +00:00
jst%netscape.com b129f6ff18 Fixing bug 181351. Making NS_NewTextNode() return an nsITextContent pointer in stead of reaturning an nsIContent pointer to avoid having to QI the new text node to set it's value. r=caillon@returnzero.com, sr=bzbarsky@mit.edu 2002-11-21 23:53:06 +00:00