bryner%brianryner.com
a135ce4d60
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
2004-01-12 08:25:18 +00:00
jst%mozilla.jstenback.com
4ab234b8be
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
2004-01-09 23:54:21 +00:00
bsmedberg%covad.net
1f4ab81acd
Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
2004-01-07 13:37:00 +00:00
bsmedberg%covad.net
f0bfff2628
Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
2004-01-07 01:22:31 +00:00
bzbarsky%mit.edu
a98357b26a
Make HTMLButtonElement.type writable. Bug 228174, r+sr=jst
2004-01-06 17:22:08 +00:00
caillon%returnzero.com
d76a4d1dd0
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: ----------------------------------------------------------------------
2004-01-06 00:36:01 +00:00
caillon%returnzero.com
953d568daa
Bug 229437Report script errors to the console service ourselves when our script global object has no owner to report them to.Patch by Karsten D�sterloh <mnyromyr@tprac.de>r=caillon, sr=jst
2004-01-04 00:29:27 +00:00
danm-moz%comcast.net
61cf9dd147
DOMPopupBlockedEvent.popupWindowURI is now a resolved, absolute URI. bug 212460 r=bz,jst
2004-01-02 17:43:53 +00:00
peter%propagandism.org
79b0f21971
Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
2003-12-23 15:41:10 +00:00
jst%mozilla.jstenback.com
ac9e9761a9
Fixing bug 226462. Eliminating the aReverseReturnResult argument from nsIScriptContext::CallEventHandler(). r=caillon@aillon.org, sr=brendan@mozilla.org.
2003-12-21 18:01:19 +00:00
neil%parkwaycc.co.uk
4842365f8d
Bug 225207 Focused element is scrolled into view when switching tab r=caillon sr=bryner a=dbaron
2003-12-07 09:44:40 +00:00
caillon%returnzero.com
03071a1e34
Resolve named frames on the window object prior to resolving DOM classes. Fixes bug 222191, defining <frame name="sidebar"> and then referencing window.sidebar yields a sidebar object instead of the named frame window.
...
r=jst, sr=brendan, a=asa
2003-12-05 02:35:48 +00:00
jst%mozilla.jstenback.com
aea4add9fb
Fixing bug 227417. Make sure orphan nodes are wrapped in the right scope. r=caillon@aillon.org, sr=brendan@mozilla.org, a=dbaron@dbaron.org.
2003-12-04 02:13:55 +00:00
jst%mozilla.jstenback.com
3090cacb24
Fixing bug 226617. Don't tell XPConnect that there are pending exceptions when there aren't any. r=caillon@aillon.org, sr=brendan@mozilla.org, a=brendan@mozilla.org.
2003-12-02 22:14:48 +00:00
bzbarsky%mit.edu
66c8d5e630
Do not remove event listeners when leaving about:blank and going to a page with
...
the same security principal as the window opener. Makes it possible to set an
onload listener after calling window.open and have it actually fire. Bug
226416, r=danm, sr=jst, a=asa
2003-11-26 15:45:40 +00:00
jst%mozilla.jstenback.com
cbbb2023fe
Fixing bug 224549. Make sure JS errors are not dropped when JS is executed through nested calls through XPConnect. r=caillon@aillon.org, sr=brendan@mozilla.org, a=asa@mozilla.org
2003-11-21 19:48:35 +00:00
jst%mozilla.jstenback.com
a743394ec7
Re-landing fix related to regression bug 147811. Make declaring on* functions trigger the event listener registration code so that event handlers get registerd by simply declaring a global (or whatever the scope) function with the name of a event handler. r=caillon@aillon.org, sr=brendan@mozilla.org.
2003-11-18 01:59:51 +00:00
jst%mozilla.jstenback.com
aa19a080f5
Eliminating silly trailing whitespace.
2003-11-18 01:58:43 +00:00
jst%mozilla.jstenback.com
0e07a9b8fe
Backing out the last chance completely to fix orangeness until I figure out what the deal is...
2003-11-17 19:02:15 +00:00
jst%mozilla.jstenback.com
3553e6ad69
Attempting to fix orangeness...
2003-11-17 18:26:58 +00:00
jst%mozilla.jstenback.com
188fbccf27
Fix related to regression bug 147811. Make declaring on* functions trigger the event listener registration code so that event handlers get registerd by simply declaring a global (or whatever the scope) function with the name of a event handler. r=caillon@aillon.org, sr=brendan@mozilla.org.
2003-11-17 17:54:39 +00:00
caillon%returnzero.com
240c088368
Bug 225411; updating DOM 3 Core's Document.xml*
...
r+sr=jst
2003-11-14 11:10:11 +00:00
peter%propagandism.org
6ebcad9b9f
Part of fix for bug 219848 (Cannot programmatically (JavaScript) set value of HTMLInputElement) - don't do security checks when defining DOM classes. r=caillon, sr=jst.
2003-11-12 14:25:03 +00:00
jshin%mailaps.org
339f3e4e20
bug 44272 : make escape/unescape (in DOM) correctly work with the full range of Unicode chars. (by making it use JSengine version) (r=brendan/bz, sr=bz)
2003-11-11 17:59:54 +00:00
bzbarsky%mit.edu
f39bd1e34f
document.config has become document.domConfig to prevent backwards-compat
...
issues. Bug 222733, r+sr=jst
2003-11-08 19:30:30 +00:00
brendan%mozilla.org
4be366b3cf
Fix missing cx param problem (223041, r=caillon, sr=dbaron).
2003-11-03 04:26:55 +00:00
cbiesinger%web.de
18ceca3db3
bug 223151 nsJSProtocolHandler::Suspend and ::Resume not implemented
...
r+sr=bzbarsky
2003-10-30 21:23:15 +00:00
tor%cs.brown.edu
9d3e99b64f
Backout of bug 153586. a=asa
2003-10-27 17:00:38 +00:00
tor%cs.brown.edu
a2d2c84b23
Fixing build bustage from 153586. r+sr=jst, a=tor
2003-10-22 18:15:15 +00:00
bryner%brianryner.com
a0e219b348
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
2003-10-22 06:09:48 +00:00
caillon%returnzero.com
de3d3fbf61
Re-land patch for bug 83536, merging principal objects.
...
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
tor%cs.brown.edu
deda694a3a
Bug 153586 - add js callback to convert native string to unicode, use
...
for date.toLocale*String. r=jst, sr=brendan
2003-10-21 18:03:04 +00:00
peter%propagandism.org
e4ee7f28ee
Fix instanceof for DOM objects (patch in unrelated bug 162927), r=caillon, sr=jst.
2003-10-21 11:33:34 +00:00
dwitte%stanford.edu
814b640381
unfork the core cookie backend prefs, between mozilla & firebird. this makes the cookie backend GRE-friendly. it also breaks firebird, but that's their own fault. (a firebird fix will be landing shortly).
...
b=221078, r=caillon, sr=darin.
2003-10-16 20:54:29 +00:00
bzbarsky%mit.edu
ea82d181de
Don't fire window.onerror for strict JS warnings. Bug 220603 (and bug 63672
...
and company), patch by brendan, r=jst, sr=bzbarsky
2003-10-16 17:54:24 +00:00
bzbarsky%mit.edu
d50940452f
Adding support for DOM3 DOMStringList and DOMNameList. Bug 217159,
...
implementation by peterv, classinfo changes by me, r/sr=me on peterv's changes,
r/sr=peterv on my changes, r=caillon on the whole thing, sr=jst
2003-10-16 00:44:20 +00:00
darin%meer.net
325b3c6de7
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
2003-10-06 01:46:31 +00:00
dbaron%dbaron.org
ea45cbb522
Fix regression from bug 113173 checkin. b=221186 Patch from Brian Ryner <bryner@brianryner.com>. r+sr=bzbarsky
2003-10-04 17:39:44 +00:00
dbaron%dbaron.org
19a12727ec
Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky
2003-10-01 22:53:56 +00:00
bryner%brianryner.com
cd60efa8ac
Updating my email address
2003-09-29 06:04:02 +00:00
brendan%mozilla.org
08f08cbf57
Expose nsIScriptSecurityManager::SecurityCompareURIs for use by nsGlobalWindow::SetNewDocument, to avoid spurious window.open same-origin violation errors (220421, r=caillon, sr=bzbarsky).
2003-09-28 04:22:01 +00:00
jst%mozilla.jstenback.com
8aa7b563d2
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
2003-09-27 04:18:26 +00:00
bryner%brianryner.com
983bfe41ff
If we're in the middle of printing when window.close() is called, then defer closing the window until printing completes. This avoids tearing down the presentation while the print engine is still using it. Bug 172921, r=jkeiser, sr=dbaron.
2003-09-26 21:45:15 +00:00
peter%propagandism.org
72ada2d27f
Fix for bug 220080 (Wrong numeric code for DOM Level 2 errors). r=sicking, sr=jst.
2003-09-24 09:51:25 +00:00
uid502
6bed557bd4
Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron
2003-09-23 17:05:29 +00:00
peter%propagandism.org
7d12d5744c
Fix obvious error in the patch for bug 218462 to fix blocker bug 219769 (Mozilla and Firebird start in a zero height window). r/sr=jst pending.
2003-09-20 11:41:22 +00:00
jst%mozilla.jstenback.com
b22a1a0d3e
Giving nsScreen a facelift. Just code cleanup. r=bugmail@sicking.cc, sr=peterv@propagandism.org.
2003-09-19 21:06:52 +00:00
neil%parkwaycc.co.uk
11d7175c1d
Bug 206353 DOM Lists should be enumerable p=jst r=caillon sr=peterv
2003-09-19 08:43:14 +00:00
cls%seawood.org
bfca537521
Fix misc build issues for mingw gcc 3.3.1:
...
* Link non-component libs using -Wl,-enable-runtime-psuedo-relocs to workaround auto-import issues
* the last element of an enum cannot end with a comma
* PRUint16 is not interchangable with PRUnichar nor WCHAR
* cannot take the address of or call ::main() from another c++ function
* Functions declared within |class foo {};| block do not need extra |foo::| qualification
* GCC no longer implements <varargs.h>. Use <stdarg.h> instead
Bug #217009 sr=dbaron
2003-09-18 17:22:33 +00:00
caillon%returnzero.com
2b95a3b854
Bug 165653
...
mozilla/dom depends on mozilla/xpfe/components/sidebar (nsISideBar)
r=bryner@brianryner.com
sr=jst@netscape.com
2003-09-13 19:54:41 +00:00