alex%croczilla.com
049fc5de75
Landing of the XTF branch, bug#253225. XTF is the eXtensible Tag
...
Framework; see mozilla/content/xtf/readme.txt. r=bryner, sr=jst. Code
is not enabled by default (requires --enable-xtf configure option).
git-svn-id: svn://10.0.0.236/trunk@163386 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 20:59:53 +00:00
dbaron%dbaron.org
e8bca4edc1
Add function to nsContentUtils to report a localized error message to the error console, and use it from the three places that were doing pretty much the same thing. b=187007 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@162314 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 17:26:35 +00:00
jst%mozilla.jstenback.com
57e55d8a58
Fixing bug 248065. Make sure errors in nested scripts don't disrupt the containing script. r+sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@161580 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 16:50:12 +00:00
bzbarsky%mit.edu
392d455d0a
nsImageBoxFrame and nsTreeBodyFrame should use nsContentUtils::LoadImage (and
...
CanLoadImage). Bug 253627, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@160368 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 19:48:55 +00:00
bzbarsky%mit.edu
8ea9ce4fb8
Remove some knowledge about drag-drop innards from nsFrame.cpp by refactoring
...
shared code into utility methods in nsContentUtils. Use the new methods to fix up
nsContentAreaDragAndDrop to make it possible to drag image <objects> and image
inputs. Bug 251775 and bug 244859, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@160120 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-30 06:04:57 +00:00
tor%cs.brown.edu
c5c142199f
Bug 242234 - svg event attributes.
...
Original patch by sicking, r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@159662 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-22 16:38:05 +00:00
dbaron%dbaron.org
fe80e9ca1c
Send the stylesheet as the HTTP Referer header for images loaded from CSS stylesheets. b=249168 r=bzbarsky sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@159195 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:56:23 +00:00
peterv%propagandism.org
0a98e68e54
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
mvl%exedo.nl
c0b2e4667b
Make content policy api (nsIContentPolicy) not suck.
...
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@156366 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 18:34:18 +00:00
jst%mozilla.jstenback.com
74089032ff
Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
gerv%gerv.net
98831918fc
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
caillon%redhat.com
a7fb620639
Remove a bogo assert, and explicitly mention when exceptions are thrown here.
...
219506, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@154893 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 20:12:54 +00:00
jst%mozilla.jstenback.com
11e4581e68
Fixing bug 239953. Remove duplicated code in nsContentUtils. r=jonas@sicking.cc, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@154766 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:21:50 +00:00
bzbarsky%mit.edu
e7ad4f7000
Load background images from style instead of from painting. This makes us
...
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time. Bug
57607, r=pavlov, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +00:00
caillon%redhat.com
b3f9305d4c
Bug 86193
...
Add a preference allowing users to prevent sites from cancelling the contextmenu event, so right click will always bring up a context menu if the pref is set.
r=jst sr=bryner
git-svn-id: svn://10.0.0.236/trunk@153601 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 02:58:08 +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
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
caillon%returnzero.com
901c1795b6
Bug 226375
...
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers. Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
CVS: ----------------------------------------------------------------------
git-svn-id: svn://10.0.0.236/trunk@150910 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-06 00:36:01 +00:00
caillon%returnzero.com
34f81b2b3a
Ensure that content can always grab a security manager and namespace manager.
...
Bug 223373; r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148521 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:53:08 +00:00
caillon%returnzero.com
c1914505cb
Re-land patch for bug 83536, merging principal objects.
...
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu
c6ed9701dd
Fix up name resolution under forms to not find elements that are just
...
randomly in the document. Bug 148782, r=caillon, sr=jst
git-svn-id: svn://10.0.0.236/trunk@144869 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 02:07:55 +00:00
bzbarsky%mit.edu
aaad3da2bd
Make comment change requested by caillon in review that I forgot about
...
git-svn-id: svn://10.0.0.236/trunk@144555 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 09:23:32 +00:00
bzbarsky%mit.edu
baa52a02e7
DOM properties that return URIs should return absolute URIs when they
...
are accessed (even if the corresponding attribute value is a relative URI).
Bug 47534, r=caillon, sr=jst
git-svn-id: svn://10.0.0.236/trunk@144551 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 05:35:04 +00:00
jaggernaut%netscape.com
fd04e5bb85
Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt
...
git-svn-id: svn://10.0.0.236/trunk@143070 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 00:21:01 +00:00
jst%netscape.com
ff2baf6763
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
...
git-svn-id: svn://10.0.0.236/trunk@138570 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 00:49:36 +00:00
peterv%netscape.com
b92e5ede69
Fix for bug 186538 (Touching the ownerElement of an attribute through XPath generates a security error.). r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@136784 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 03:25:51 +00:00
caillon%returnzero.com
3519a9924e
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
git-svn-id: svn://10.0.0.236/trunk@134777 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 05:18:39 +00:00
peterv%netscape.com
d103a96ada
Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
bratell%lysator.liu.se
d252fe621f
Bug 165893 - avoid refetching the parser service all the time. r=jst@netscape.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@134097 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 13:39:20 +00:00
peterv%netscape.com
3f57e344ed
Fix for bug 163810 (Option Object created, own properties added, but Mozilla "forgets" them after some time.). r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@130147 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 13:40:53 +00:00
sicking%bigfoot.com
3ffbd92c7f
Bug 64945: XML Prettyprinting stage 1
...
r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@128818 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 06:57:25 +00:00
peterv%netscape.com
31de3f5600
Fix for bug 138295 (XML Loading on Mac fails on .childNodes of non-root nodes). r=mstoltz, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@126889 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 08:45:30 +00:00
sicking%bigfoot.com
c52d22c28d
Reenable same-origin checks. Patch by me and jst.
...
b=156452 r=peterv/sicking/jst sr=bz/jst a=chofmann
git-svn-id: svn://10.0.0.236/trunk@125447 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:53:28 +00:00
sicking%bigfoot.com
7ef44d6e76
Add same-origin checks in a few DOM methods. Patch by me and jst.
...
b=156452, r=jst/me, sr=bz, a=pending
git-svn-id: svn://10.0.0.236/trunk@125294 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 13:09:15 +00:00
sicking%bigfoot.com
f0e2529596
Add sameorigin checks to treewalker
...
b=156452, r=mstoltz, sr=jst, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@125233 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 19:25:27 +00:00
bzbarsky%mit.edu
7c94c072e9
Make content lists lazy. Bug 104603, r=jkeiser, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@124253 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 01:30:09 +00:00
caillon%returnzero.com
a57921536a
Bug 154401. Cannot paste HTML on clipboard into composition or editor windows.
...
r=bzbarsky, sr=kin
git-svn-id: svn://10.0.0.236/trunk@124121 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 21:05:00 +00:00
caillon%returnzero.com
fd710e312e
Speed up and move the helper functions in nsRange to nsContentUtils and make compareTreePosition() faster.
...
Bug 144014 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@124012 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 20:03:06 +00:00
harishd%netscape.com
2f67ab9c46
Strip leading/trailing spaces from img src attribute value that was preventing image rendering. b=87894, r=jkaiser, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@123108 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 23:23:12 +00:00
caillon%returnzero.com
d283e6e7a2
Bug 117707. Disabling most of the prefs in Edit>Prefs>Advanced>Scripts/Windows was causing real JS scripts to break because it used CAPS. Move the checks for these features into C++, with new prefs. Patch by doronr@naboonline.com (initial work) and caillon@returnzero.com. r=fabian sr=jst a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@118839 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 10:11:39 +00:00
dbaron%fas.harvard.edu
c43a97f1d5
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117353 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 23:54:46 +00:00
timeless%mac.com
69ae314807
Bug 106386 rid source of misspellings
...
r=db48x sr=blake a=asa
git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
dougt%netscape.com
1f7520e927
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527
...
git-svn-id: svn://10.0.0.236/trunk@105810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:59:33 +00:00
jst%netscape.com
7bc2777d1a
Fixing bug 83433, exposing DOM constructors and prototypes to JS. r/sr=rpotts@netcape.com, vidur@netscape.com, dbradley@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@99063 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 09:09:30 +00:00
harishd%netscape.com
eb02af6620
40072 - (patch provided by pollmann) Do not process METAs after FRAMESET. r=harishd sr=vidur
...
58809 - Handle numeric & hexadecimal entities correctly r=heikki sr=vidur
72249 - Per SGML endtag can contain whitespace between generic identifier and tagc. r=heikki sr=vidur
82971 - if the last character was a CR make sure to not lose that information. r=heikki sr=vidur
git-svn-id: svn://10.0.0.236/trunk@98721 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-05 22:20:34 +00:00
jst%netscape.com
9d299d36ce
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@94238 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 16:46:42 +00:00
heikki%netscape.com
610c029420
Checking in new files needed for layout split. Not part of the build yet.
...
git-svn-id: svn://10.0.0.236/trunk@87285 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 09:53:29 +00:00