8310 Commits

Author SHA1 Message Date
peterv%propagandism.org
ef61dfe756 Fix stupid error from fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r/sr=jst, a=choffman.
git-svn-id: svn://10.0.0.236/trunk@152719 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-12 16:40:40 +00:00
jst%mozilla.jstenback.com
3ca18f468e Fixing bug 206859. Don't allow drag & drop into file inputs. r=caillon@aillon.org, sr=bryner@brianryner.com, a=chofmann@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@152680 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 21:31:53 +00:00
bzbarsky%mit.edu
8acde66f7b Fix hang bug 232368. Patch by Mats Palmgren <mats.palmgren@bredband.net>,
r=bzbarsky, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@152660 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 07:47:06 +00:00
bzbarsky%mit.edu
886fd90b55 Fix bug 232798 -- make sure to set the link handler on the prescontext to null
when destroying the document viewer.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@152656 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:48:37 +00:00
jst%mozilla.jstenback.com
d28978604e Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@152654 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:09:51 +00:00
bryner%brianryner.com
7ace3321e6 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
jst%mozilla.jstenback.com
8380e41d46 Fixing regression bug 233753. Making document.createElement() create HTML elements again when called on an HTML document. r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
git-svn-id: svn://10.0.0.236/trunk@152634 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 02:22:43 +00:00
sicking%bigfoot.com
3ca6a33f19 Bug 232989: Fix crash due to bad refcounting in nsDOMAttribute
r+sr=bryner


git-svn-id: svn://10.0.0.236/trunk@152631 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 02:02:39 +00:00
sicking%bigfoot.com
15ec97ef25 Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@152621 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 00:09:59 +00:00
sicking%bigfoot.com
c819ca874e More bug 232480: Forgot to make nsGenericHTMLElement forward to it's new parentclass
r/sr=peterv


git-svn-id: svn://10.0.0.236/trunk@152609 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 20:04:57 +00:00
sicking%bigfoot.com
be3303fe00 Bug 232480: Make nsGenericHTMLElement inherit nsGenericContainerElement and kill the concept of leaf vs. container elements. Also remove unused argument to CopyInnerOf
r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@152607 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 19:36:43 +00:00
mvl%exedo.nl
94aeeaf580 Add a way to manually show a single blocked pop-up window. Pass the features of the window.open() call in DOMPopupBlockedEvent.
Bug 198846, r=danm, sr=jag


git-svn-id: svn://10.0.0.236/trunk@152603 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 18:22:23 +00:00
peterv%propagandism.org
f5e9d8fad4 Fix warnings.
git-svn-id: svn://10.0.0.236/trunk@152592 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 13:17:48 +00:00
peterv%propagandism.org
3e7ac82893 Fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@152589 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 10:58:13 +00:00
sicking%bigfoot.com
c702ec4334 Final patch for bug 195350. Make XUL use new nsAttrAndChildren class. Kill nsXULAttributeValue and nsXULAttributes in favour of nsAttrValue resp. nsDOMAttributeMap. Should fix a few bugs, improve performance and reduce bloat.
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@152585 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 09:08:06 +00:00
jst%mozilla.jstenback.com
854468a176 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
bzbarsky%mit.edu
38a6e197cd Make SVG use the normal attribute mapping codepath (via HasAttributeDependence)
by pushing the relevant helpers up to nsGenericElement..  Remove referrer code
in nsSVGDocument, since nsDocument handles that.  Bug 233370,
r=alex@croczilla.com, sr=jst


git-svn-id: svn://10.0.0.236/trunk@152562 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 20:48:20 +00:00
dbaron%dbaron.org
1f7a84c373 Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152541 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 06:55:14 +00:00
cbiesinger%web.de
0bd98a09ca Bug 84123 Image information is shown on title bar only after image is completely loaded
call UpdateTitleAndCharset in OnStartContainer, that's the earliest time at
which we have the image dimensions.
r=varga sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@152520 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-08 20:58:38 +00:00
dbaron%dbaron.org
eb0911d7d5 Fix one more out-of-bounds access to gLexTable. b=233399 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152517 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-08 19:43:50 +00:00
dbaron%dbaron.org
ecdc074868 Fix another case of out-of-bounds access of gLexTable. b=233399 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152516 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-08 19:22:47 +00:00
dbaron%dbaron.org
2b5b062b8e Fix crashes caused by out-of-bounds access to gLexTable and some other bugs. b=233399 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152510 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-08 07:29:42 +00:00
bzbarsky%mit.edu
97dc62f04e Fix bug 233197. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@152484 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 19:38:10 +00:00
alex.fritze%crocodile-clips.com
937a1cf846 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes


git-svn-id: svn://10.0.0.236/trunk@152468 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 12:39:26 +00:00
hpradhan%hotpop.com
f2e907a312 Bug 193223 : Make the add() method on html option collections
more compatible with IE. r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@152467 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 11:40:30 +00:00
jst%mozilla.jstenback.com
c9137dbff8 Fixing regression bug 233191. Make sure we fire the correct document notifications when inserting/appending children to a DOM node through the DOM APIs. r=mscott@mozilla.org, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@152406 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 02:26:10 +00:00
jst%mozilla.jstenback.com
637405526a Fixing bug 197427. Making insertBefore, appendChild, replaceChild, and removeChild() work correctly on XUL elements by sharing the implementation with nsGenericElement. r=jonas@sicking.cc, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@152361 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 06:48:30 +00:00
bryner%brianryner.com
e6a225b469 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152326 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 01:57:10 +00:00
tingley%sundell.net
9e2b131e64 bug 232854: RemoveBroadcastListenerFor wasn't removing listeners properly.
r=varga sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@152322 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 01:08:07 +00:00
dbaron%dbaron.org
60f1d41bd5 Improve serialization of new margin/padding properties (and fix CSS parsing errors). b=74880 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152320 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 00:19:19 +00:00
dbaron%dbaron.org
15b5f0db41 Relanding changes for bug 74880.
git-svn-id: svn://10.0.0.236/trunk@152282 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 08:16:19 +00:00
dbaron%dbaron.org
b98ae4dff3 Backing out part of changes to see which part is causing performance problem. b=74880
git-svn-id: svn://10.0.0.236/trunk@152281 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 08:03:40 +00:00
dbaron%dbaron.org
6b800e75e5 Implement -moz-margin-start, -moz-margin-end, -moz-padding-start, and -moz-padding-end and cascade them correctly. Use them in html.css to improve default styles for lists in RTL documents. b=74880 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152274 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 06:10:56 +00:00
dbaron%dbaron.org
b7508c936c Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r=roc sr=bryner
git-svn-id: svn://10.0.0.236/trunk@152252 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 00:11:59 +00:00
jst%mozilla.jstenback.com
534a59157f Checking in patch from psolanki@myrealbox.com for bug 232417. DeCOMtaminating nsIHTMLDocument. r+sr=jst@mozilla.jstenback.com
git-svn-id: svn://10.0.0.236/trunk@152244 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 23:23:10 +00:00
danm-moz%comcast.net
bfc01cab83 that doesn't seem to be the problem. restoring over last revision.
git-svn-id: svn://10.0.0.236/trunk@152235 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 20:07:39 +00:00
danm-moz%comcast.net
a45460e442 disabling last checkin in an attempt to pin down the Tp regression
git-svn-id: svn://10.0.0.236/trunk@152228 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 17:16:05 +00:00
danm-moz%comcast.net
e16397f155 add accessor and mutator for event currently being handled. bug 197919 r=bryner,jst
git-svn-id: svn://10.0.0.236/trunk@152195 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 02:22:01 +00:00
dbaron%dbaron.org
fb65dd6f85 Make debugging code compile on gcc. Fix warnings. b=232711 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@152183 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 22:42:29 +00:00
bryner%brianryner.com
5b5cd321a4 Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152182 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 22:17:21 +00:00
sicking%bigfoot.com
c47b780108 Bug 231199: Make hashing of mapped-attributes be case sensitive to improve performance, and enable possible codesharing with xul and svg in the future.
r=peterv sr=jst


git-svn-id: svn://10.0.0.236/trunk@152180 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-02 22:00:36 +00:00
hpradhan%hotpop.com
a4965da921 remove unused variable, fix warning (follow up to checkin for bug 229575)
git-svn-id: svn://10.0.0.236/trunk@152141 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 12:17:19 +00:00
hpradhan%hotpop.com
d2ecf20783 bug 232731 : misc cleanup in printing code
git-svn-id: svn://10.0.0.236/trunk@152139 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 12:10:57 +00:00
bryner%brianryner.com
018aeefc0d More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152137 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 10:09:07 +00:00
bryner%brianryner.com
b4581d93cf Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@152127 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-31 22:41:40 +00:00
dbaron%dbaron.org
2151f1ea5d Add missing CPP_THROW_NEW to fix HP-UX bustage. b=195350
git-svn-id: svn://10.0.0.236/trunk@152101 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 23:26:29 +00:00
sicking%bigfoot.com
7835aafcaf Doh! This is what i ment to do. (Bug 195350)
git-svn-id: svn://10.0.0.236/trunk@152097 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 22:26:24 +00:00
sicking%bigfoot.com
8ece73371f More bug 195350 work. Try to improve performance and reduce mallocs by letting buffer for mapped attributes be inline allocated.
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@152096 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 22:08:23 +00:00
jst%mozilla.jstenback.com
6629ad58f7 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
neil%parkwaycc.co.uk
c8f1704c27 Don't retarget events that are bubbling back out of content anonymous to the original target b=196755 r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@152032 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 21:14:53 +00:00