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
bsmedberg%covad.net
ffb4c732c1
Bug 208111 - Remove nsIDocument::GetArena which is unused. r=sicking sr=peterv
2003-06-04 13:10:02 +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
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
e2194e13e1
204386 r+sr=bz Allow setting Image.src to empty
2003-05-25 20:43:08 +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
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
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
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
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
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
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
cbiesinger%web.de
a50a2af344
204072 r+sr=bz a=sspitzer Cache IOService and imgILoader in nsImageLoadingContent
2003-05-02 19:21:00 +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
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
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
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
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
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
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
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
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
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
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
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
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
21e537be09
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
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
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
seawood%netscape.com
de59dbee4b
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +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
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
5c7258dfc2
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
71085bc721
bug 199756 : Crash at nsDocument::GetPrincipal
2003-03-31 15:45:44 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
roc+%cs.cmu.edu
f295b9b118
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
7770b1327a
Bug 195883. %-values are not valid for '-moz-opacity'.
2003-03-08 03:08:25 +00:00
heikki%netscape.com
d6f0927520
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
c616086a0c
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
6eaafb20bc
Remove unused variable (fix warning). b=171830
2003-03-06 21:01:52 +00:00
dbaron%dbaron.org
bbd740e83c
Fix for bustage on older gcc. b=117316
2003-03-06 20:16:35 +00:00
dbaron%dbaron.org
811d5b0d7a
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
3c6ce196c4
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
b3d575fd9b
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
552cae4e4f
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
e1e801b951
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
725c515f9a
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
5a942f3362
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
7f22515440
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
a70c8f7d03
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
1d38d9f953
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
f7ac602489
Bug 193824 Remove unused globals from nsDocumentViewer.cpp
...
r=smontagu sr=alecf
2003-02-23 07:03:09 +00:00
bzbarsky%mit.edu
9694162f77
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
77e5c960ef
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
049cf112e1
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
fd31cdadcb
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
339c5f31f7
Fix Windows bustage. (Why doesn't gcc enforce correct const-ness?)
2003-02-22 17:51:47 +00:00
dbaron%dbaron.org
c32b76ad84
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
d6bc81b26f
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
754d904cda
Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
2003-02-22 15:34:38 +00:00
jkeiser%netscape.com
d4ce4ad061
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
cc390fbe51
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
d915628044
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
4d2b4d8944
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
62f5d31530
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
5f043adbeb
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
5981fafd32
Fix crash bug 191588. r=sicking, sr=jst, a=dbaron
2003-02-04 04:19:05 +00:00
bzbarsky%mit.edu
e74f70b957
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
1c21fd05e2
Backing out 189384 to see whether this caused the Tp jump.
2003-01-31 14:28:50 +00:00
bzbarsky%mit.edu
b52430703f
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
0aa8f598b5
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
fe1b894080
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
6b95e3eeb4
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
8bafc7b18a
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
1d2826cc52
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
c51fe8f39d
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
6134063f7b
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
ca6fed7a33
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
4817759703
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
23130b6148
remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203
2003-01-17 12:09:23 +00:00
caillon%returnzero.com
ead3cd7ea8
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
21f6a2b528
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
286bcaf5be
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
c74b42823e
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
5b63e8c3de
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
f0650ae67f
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
e2fba48cdb
Bug 188729: Break refcounting-cycles during load.
...
r=peterv sr=bz
2003-01-14 22:32:18 +00:00
bryner%netscape.com
db12bec6c1
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
d87fde2b51
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
f703f5398e
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
52976da3d1
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
26d5c6ff25
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
867f4b6534
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
329252c847
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
f58ff0e965
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
c13a6fab5c
removing dead/unused file. not part of the build.
2003-01-06 06:14:31 +00:00
bryner%netscape.com
a24a77f7c5
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
69c7f655f1
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
0a31e6afb5
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
4588fb970a
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
788936f264
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
dae38bc08b
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
792c14ce68
Bug 173388 - Last checkin was r=harishd and sr=jst
2002-12-19 06:28:28 +00:00
bratell%lysator.liu.se
1e5147f82c
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
eca7f55f35
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
504ac4b45e
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
970fe59212
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
6b08e514d2
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
c7e2c76219
Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst
2002-12-13 22:12:10 +00:00
peterv%netscape.com
3feddf0516
Back out part of patch for bug 183999, which caused bug 185153.
2002-12-13 08:41:42 +00:00
peterv%netscape.com
eef263b19e
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu
a2bf27cfb4
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
58177694ed
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
f260bf1d61
Fix build bustage inside |#ifdef DEBUG_dbaron|. (Not part of build.)
2002-12-06 04:42:49 +00:00
bzbarsky%mit.edu
8739316360
Um.. spell PRUint16 right
2002-12-04 06:15:43 +00:00
bzbarsky%mit.edu
e25163073f
Fix mac bustage
2002-12-04 06:13:56 +00:00
caillon%returnzero.com
2dfcddf813
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
d84dcb7bfa
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
22356ecce3
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
362bf5cd8b
Fixing compiler warning. r=timeless.
2002-12-03 15:14:00 +00:00
bzbarsky%mit.edu
d22acb835e
get rid of build warning for unused var.
2002-12-03 06:53:22 +00:00
bzbarsky%mit.edu
c815579255
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
cf2f43d2c9
Fix OS/2 bustage.
2002-11-30 09:45:19 +00:00
peterv%netscape.com
20ca8a4ff2
Bustage fix.
2002-11-30 00:27:09 +00:00
peterv%netscape.com
23b10864c8
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
2002-11-29 23:44:07 +00:00
bzbarsky%mit.edu
fb49963b7a
Handle null namespaces in getElementsByTagNameNS. Bug 181791, r=sicking, sr=jst
2002-11-26 01:13:27 +00:00
sicking%bigfoot.com
8fa4129fc1
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
sicking%bigfoot.com
c1b0f2d62c
fix bustage
2002-11-25 09:33:11 +00:00
sicking%bigfoot.com
f04a4ebeb7
Bug 181808: Use macros to declare and implement nsIDocumentObserver
...
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
rods%netscape.com
b5e31d9566
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
63bf52851b
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
36efaff0e4
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
9b3557c713
fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky
2002-11-22 07:40:16 +00:00
jfrancis%netscape.com
309efe79a5
fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin
2002-11-22 03:30:59 +00:00
jst%netscape.com
1102bd7ce7
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
1a0100f695
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
kin%netscape.com
3ce45e2b5c
Fix for bug #176251 (Problems with nsContentIterator PRE traversal)
...
content/base/public/nsIContentIterator.h
content/base/src/nsContentIterator.cpp
content/base/src/nsGeneratedIterator.cpp
content/build/nsContentCID.h
content/build/nsContentModule.cpp
embedding/components/find/src/nsFind.cpp
layout/html/style/src/nsFrameContentIterator.cpp
- Removed MakePre() and MakePost() from the nsIContentIterator interface.
- Traversal must now be specified at time of creation.
- Fixed nsContentIterator Init() methods so that they correctly calculate
mFirst and mLast.
- Modified PositionAt() to check if the node is in the traversal range.
r=jfrancis@netscape.com sr=sfraser@netscape.com
2002-11-21 15:07:49 +00:00
rbs%maths.uq.edu.au
9cfc8750a9
.innerHTML wasn't recovering and this was causing consumers such as View Selection Source to lose it, b=165686, r=jst, sr=bzbarsky
2002-11-20 01:47:06 +00:00
bzbarsky%mit.edu
4d094c04fc
Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
2002-11-20 00:44:26 +00:00
harishd%netscape.com
78cd0a1375
Temp. patch to fix DOM TO TEXT CONVERSION. r=jst
2002-11-19 21:47:13 +00:00