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

2445 Коммитов

Автор SHA1 Сообщение Дата
jst%mozilla.jstenback.com c000ae86e8 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 d0f309943a 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 274ef7cd49 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 0054bbcacd Make HTMLButtonElement.type writable. Bug 228174, r+sr=jst 2004-01-06 17:22:08 +00:00
caillon%returnzero.com 319d92fa7d 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 70d68cfda0 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 dee2c852f5 DOMPopupBlockedEvent.popupWindowURI is now a resolved, absolute URI. bug 212460 r=bz,jst 2004-01-02 17:43:53 +00:00
peter%propagandism.org 166c671ee0 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 7e67f9acfc 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 b07923af53 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 0b43f2b8d3 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 0a79c1c753 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 12b93eb3b7 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 5c88437dde 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 eb5b664f33 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 4567068ce8 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 2a18a27687 Eliminating silly trailing whitespace. 2003-11-18 01:58:43 +00:00
jst%mozilla.jstenback.com 130e3a7fb9 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 a7aa3e0ea7 Attempting to fix orangeness... 2003-11-17 18:26:58 +00:00
jst%mozilla.jstenback.com 8438c81f3b 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 9f20544ef1 Bug 225411; updating DOM 3 Core's Document.xml*
r+sr=jst
2003-11-14 11:10:11 +00:00
peter%propagandism.org 436704d8fe 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 eabe319067 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 293e392517 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 7809adca33 Fix missing cx param problem (223041, r=caillon, sr=dbaron). 2003-11-03 04:26:55 +00:00
cbiesinger%web.de f591a66ba4 bug 223151 nsJSProtocolHandler::Suspend and ::Resume not implemented
r+sr=bzbarsky
2003-10-30 21:23:15 +00:00
tor%cs.brown.edu 7d206cb287 Backout of bug 153586. a=asa 2003-10-27 17:00:38 +00:00
tor%cs.brown.edu 8a4e0b84cd Fixing build bustage from 153586. r+sr=jst, a=tor 2003-10-22 18:15:15 +00:00
bryner%brianryner.com 605cc06382 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 66caced69a 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 6f00139216 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 52d9d9c07a 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 b0c03defea 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 627dcc5a9d 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 af8ee5b35d 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 77642ae698 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 bf913fbdb6 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 5cce92dc2a 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 b74d8438f9 Updating my email address 2003-09-29 06:04:02 +00:00
brendan%mozilla.org 4038563cd9 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 5037b2a4a2 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 82310bc4ec 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 61afd54127 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 1cfabd35d3 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
peter%propagandism.org b9a143b82f 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 8121fe6614 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 eb23361546 Bug 206353 DOM Lists should be enumerable p=jst r=caillon sr=peterv 2003-09-19 08:43:14 +00:00
cls%seawood.org 19d1d413c2 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 96e5f2e4df 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
peter%propagandism.org 55f0b2a1a0 Fix for bug 218756 (Update to latest DOM Level 3 XPath specification). r=Pike, sr=jst. 2003-09-13 17:04:15 +00:00
timeless%mozdev.org 9658f79cee Bug 217896 ASSERTION: nsMemoryImpl::Alloc of 0: 'size' in GlobalWindowImpl::Unescape
r=caillon sr=jst
2003-09-11 01:42:53 +00:00
timeless%mozdev.org 950bc1f396 Bug 217562 UMR in nsJSEventListener::HandleEvent after mContext->CallEventHandler
r=caillon sr=jst
2003-09-11 01:42:42 +00:00
bryner%brianryner.com 2406bc1ed4 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:05:34 +00:00
timeless%mozdev.org 323f01b140 Bug 217886 frame structure gets lost in builds since 20030826
patch by mpconnor@rogers.com r=bz sr=bz a=brendan
2003-09-04 02:23:20 +00:00
caillon%returnzero.com f8e8aed8a7 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +00:00
cls%seawood.org 1b51ba858c Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
caillon%returnzero.com 31b1b87388 Bug 215895.
Debugger shows nsDOMClassInfo.cpp as a loaded script.
r=jst@netscape.com
sr=brendan@mozilla.org
a=asa@mozilla.org
2003-08-14 23:45:45 +00:00
bryner%brianryner.com e85dd2b8a9 Fix focus not being restored correctly after unminimizing a window on Win32 (bug 212556). r=ere@atp.fi, sr=jst@netscape.com, a=asa. 2003-08-12 06:43:48 +00:00
brendan%mozilla.org b7cdb7debb Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +00:00
hyatt%mozilla.org ecfebf6684 Patch the remaining places that use _content to also support _main, r=brendan, sr=ben 2003-08-04 21:52:22 +00:00
hpradhan%hotpop.com 2ad76c90d0 bug 212415 : crash while closing a javascript alert. r=peterv sr=jst 2003-08-01 03:40:24 +00:00
caillon%returnzero.com a9e2dece76 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu 5fa37ec6f3 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:35:53 +00:00
brendan%mozilla.org 4fa5213a91 Big dynamic footprint win via script filename caching, plus line number fix for strict/const diags (see http://bugzilla.mozilla.org/attachment.cgi?id=127130&action=view for detailed checkin comments; 208030, r/rs=shaver, r=rginda on the jsd change, r=jst on the dom change). 2003-07-26 22:37:11 +00:00
caillon%returnzero.com cbfa9bcf5a Bug 213912
If getting the a chrome document's principal fails, handle the error and clean up the navigator object's holder.
r+sr=bzbarsky@mit.edu
2003-07-26 08:16:44 +00:00
jaggernaut%netscape.com 95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
cbiesinger%web.de bb37693039 147679 GetFromMIMEType on Windows only gets one extension and needs rethinking r=bzbarsky sr=darin
this merges nsIMIMEService::GetFromType and GetFromExtension
2003-07-25 16:48:00 +00:00
caillon%returnzero.com 91b7c60bee Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2003-07-24 05:15:20 +00:00
jaggernaut%netscape.com 4e7c966d11 Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron 2003-07-24 04:53:13 +00:00
jaggernaut%netscape.com 83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
jst%netscape.com 2fbeba1cf6 Fixing bug 212231. Make errors returned from document.open() not cause silent failures. r=caillon@aillon.org, sr=bzbarsky@mit.edu. 2003-07-14 21:58:59 +00:00
jst%netscape.com b06767c9e3 Fixing bug 212560. Patch by kw1u@yahoo.com, r=caillon@aillon.org, sr=bzbarsky@mit.edu. 2003-07-14 21:06:21 +00:00
jaggernaut%netscape.com 2d7ed90a69 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
cbiesinger%web.de 0838577bf0 212532 patch by riceman+bmo@mail.rit.edu r=biesi,caillon sr=bz
Getting window.history returns null after the first attempt (bug 209866 regression)
2003-07-12 21:23:40 +00:00
bzbarsky%mit.edu e6028a883c Add correct line number reporting to errors from XBL fields and handlers. Make
it possible to pass a url and line number to CompileEventHandler in general.
Bug 127567, r=bryner, sr=brendan
2003-07-11 22:54:36 +00:00
caillon%returnzero.com 7cca283eb4 Bug 212218
Start supporting bits and pieces of the additions to |Document| in DOM Level 3 Core.
r=jst@netscape.com sr=bzbarsky@mit.edu
2003-07-11 22:32:25 +00:00
jst%netscape.com 328cc422fa Fixing bug 211719. Making window.opener replaceable. r=caillon@aillon.org, sr=bzbarsky@mit.edu. 2003-07-09 00:48:25 +00:00
varga%netscape.com 8334a1dd99 Fix for bug 202393. Add DOM class info for nsIXULTreeBuilder.
r=pike, sr=peterv
2003-07-08 21:10:52 +00:00
cbiesinger%web.de 7d10504897 78919 part 1. r=bzbarsky, sr=darin. This adds an |hasDefaultHandler| attribute
to nsIMIMEInfo that should be used to check if a default application is available
for this mimeinfo.
2003-07-08 13:52:46 +00:00
bzbarsky%mit.edu 8ccbeba048 Random already_AddRefed stuff. Bug 211380, r+sr=jst 2003-07-03 02:49:06 +00:00
bzbarsky%mit.edu 0b0c3f7646 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
jst%netscape.com a5c2555ac1 Checking in patch from tenthumbs@cybernex.net to fix bug 202543. Eliminating useless assertions and speeding things up a bit. r=bzbarsky@mit.edu, sr=jst@netscape.com. 2003-07-01 05:11:46 +00:00
aaronl%netscape.com dbeb84f9c9 Bug 208460. Add domstubs.idl/h to Gecko SDK. r+sr=jst 2003-06-27 11:28:20 +00:00
bryner%netscape.com ea46c1aca6 Remove #include "nsIScriptContext.h" from nsPIDOMWindow.h, because this (among other things) creates a dependency on js headers, which is breaking Camino. Bug 210704, r+sr=jst. 2003-06-26 00:41:23 +00:00
danm%netscape.com b6c4ce13d2 also check for popup window abuse in the internal Open method. bug 210560 r=brendan,jst 2003-06-25 23:38:45 +00:00
jst%netscape.com 466b9c1182 Removing unnecessary initialization of static variables that only cause bloat. 2003-06-24 23:06:12 +00:00
jst%netscape.com 95456a72e1 Fixing bug 210141. Don't make external global properties be readonly. r=axel@pike.org, sr=bzbarsky@mit.edu. 2003-06-24 21:47:33 +00:00
jst%netscape.com abefba9053 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com 2003-06-24 21:43:01 +00:00
caillon%returnzero.com fd98991136 210451 - Implement getting Node.textContent (see the DOM3 WD)
r+sr=jst@netscape.com
2003-06-24 21:39:39 +00:00
jst%netscape.com 6815579e4d Fixing bug 203179. Make String.prototype.localeCompare be locale aware. r=smontagu@netscape.com, sr=bzbarsky@mit.edu. 2003-06-24 21:09:57 +00:00
bzbarsky%mit.edu 3906cefb0c Make XBL methods and properties report useful line numbers and urls so that the
JS errors/warnings in the JS console point to the right place.  Bug 127567,
r=bryner, sr=alecf
2003-06-24 01:20:40 +00:00
bzbarsky%mit.edu 0b4e64910c Trying to fix orange. We were only setting the out param in cases when we
tried to allocate the object for these three objects...
2003-06-21 09:36:03 +00:00
caillon%returnzero.com 4e226fa4ff I just noticed a few potential crashes with my patch for bug 209866. Fixes those and a few minor cleanup issues. No bug for this patch. r+sr=bzbarsky on IRC 2003-06-21 07:15:32 +00:00
caillon%returnzero.com 008f94e6a2 Bug 209866 - Use nsRefPtr for non-COM refcounted members in GlobalWindowImpl and NavigatorImpl
r=sicking, sr=jst
2003-06-20 23:51:46 +00:00
mstoltz%netscape.com 6fc28b1bac Bug 184618 - allow scripts to close a script-generated window even if its opener has been set to null. r=heikki, sr=jst. 2003-06-20 22:44:33 +00:00
stephend%netscape.com e66ea98b97 Grammatical error. It's is contractive; its is possessive. 2003-06-19 00:08:29 +00:00
caillon%returnzero.com b2badfa9f7 Bug 163645 - User defined properties of window.navigator are not remembered when a new page is loaded.
Enable this for websites within the same domain only.
Also, fixes CheckSameOriginPrincipal to just check the principals, and not care whether we have anything on the JS stack.
r=mstoltz, sr=jst
2003-06-18 23:48:57 +00:00
alecf%flett.org b7fa256d74 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
bzbarsky%mit.edu f55576240c unescape() needs to convert from UTF-16 to page encoding properly, instead of
just using ToNewCString().  Bug 200984, r=smontagu, waldemar, sr=jst
2003-06-17 01:09:41 +00:00
aaronl%netscape.com fccde7c7eb Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl 2003-06-16 11:17:18 +00:00
caillon%returnzero.com 2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
caillon%returnzero.com c0d2e93d73 Bug 209133
Make |Node| from script recognize constants defined in nsIDOM3Node.
Move DOM3 constants over to nsIDOM3Node.
Update the names and values to reflect the latest draft of the DOM 3 Core (Last Call)

r=timeless sr=jst
2003-06-12 02:54:16 +00:00
alecf%flett.org 2751c6b097 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +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
seawood%netscape.com b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
mkaply%us.ibm.com 3bee9239aa #90459
r=sicking, sr=peterv
DOM support missing for ondblclick = functionname
2003-06-10 18:33:58 +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 8c39557c8a Fixing bug 147270. Making window.document and other properties enumerable. r=peterv@netscape.com, sr=brendan@mozilla.org 2003-06-04 21:33:15 +00:00
aaronl%netscape.com 2a2c2b833e Bug 207487. No accessible name using label for xul <textbox> element. r=kyle, sr=alecf 2003-06-04 20:57:39 +00:00
mkaply%us.ibm.com ff0ac05a9a #158610
r=pavlov, sr=jst
Add support for setting and querying lowsrc attribute so frontpage pic galleries work.
This does NOT make lowsrc work as it used to, it only adds it to the DOM
2003-06-04 13:15:37 +00:00
jst%netscape.com fada4df823 Fixing bug 158049. Patch by brendan@mozilla.org and myself. Make sure property existence can't be checked for across origins. r=caillon@aillon.org, sr=brendan@mozilla.org, heikki@netscape.com 2003-05-31 18:43:48 +00:00
jst%netscape.com 983515751e Fixing typo in class name. 2003-05-31 05:39:14 +00:00
jst%netscape.com dd01342a24 Fixing bug 205474. Making window.open() (and other ways to target things into existing windows) not reuse already closed windows. r=caillon@aillon.org, sr=bzbarsky@mit.edu 2003-05-29 00:48:35 +00:00
aaronl%netscape.com ef71f3a441 Bug 204777. Prevent backspace to send us back in history in general embedded case. r=brade, sr=sfraser 2003-05-25 19:39:21 +00:00
jst%netscape.com 9bc3e2570f Fixing regression bug 206026. Reverting the evaluation context of javascript: URL's to always be the context of the page where the URL is loaded. r=mstoltz@netscape.com, sr=brendan@mozilla.org, a=rjesup@wgate.com 2003-05-21 23:51:03 +00:00
jst%netscape.com bf2a9b11c9 Fixing regression bug 205989. Making sure we don't parse the result of evaluating a javascript: URL if network traffic was stopped from the JS in the URL. 2003-05-21 21:37:25 +00:00
jkeiser%netscape.com d484da106e Fix drag and drop to/from textarea and input (bug 194802), r=bryner@netscape.com, sr=jst@netscape.com, a=sspitzer@netscape.com 2003-05-21 00:42:32 +00:00
peterlubczynski%netscape.com 0d84602408 Fixing smoketest blocker bug 205817, Flash doesn't load because javascript: url gets canceled, patch by jst, r=peterl, sr=darin 2003-05-15 19:38:35 +00:00
jst%netscape.com bcf771645d Fixing bug 130265. Don't stop current network activity when loading javascript: URL's unless the URL results in data to parse. r=adamlock@netscape.com, sr=darin@netscape.com, a=asa@mozilla.org 2003-05-15 01:23:26 +00:00
jst%netscape.com 72ec343461 Fixing bug 202994. Make sure the proper security check is done when converting the result of a JS expression in a javascript: URL to a string. r=mstoltz@netscape.com, sr=brendan@mozilla.org, a=asa@mozilla.org 2003-05-12 22:23:52 +00:00
jst%netscape.com 66cb4f83eb Backing out the fix for bug 148782 since it caused bug 204029. 2003-05-06 02:01:52 +00:00
mstoltz%netscape.com 4ccdb6f4c5 Bug 159424 - Don't clear scope of global object when loading the first document in a window, if the document has the same origin as the calling script. r=heikki, sr=jst, a=asa 2003-05-05 20:55:37 +00:00
varga%netscape.com 7967318ca3 Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
r=dbaron, sr=roc, a=sspitzer
2003-05-02 22:23:55 +00:00
ere%atp.fi abb7fc1211 Bug 201242: When minimize and then restore, two carets appear in a mail compose window
Patch by bryner and me
r=bryner
sr=jst
a=sspitzer
2003-04-29 18:24:28 +00:00
jst%netscape.com d9d2d1abdf Fixing bug 148782. Don't let images or form controls named 'submit' shadow the method form.submit. r=caillon@returnzero.com, sr=peterv@netscape.com, a=sspitzer@netscape.com 2003-04-28 19:27:40 +00:00
caillon%returnzero.com cb881d2d31 Bug 155748 - "Can't use a global variable named 'parent'"
r=bzbarsky sr=jst a=asa
2003-04-26 03:27:21 +00:00
peterlubczynski%netscape.com 76c4556089 Fixing 169951, crash caused by plugin calling window.close() from an event because we destroy the frame tree and plugin's native window. This fix puts that destruction caused by a window.close() from Javascript on a PLEvent. r=jkeiser sr=jst, a=asa 2003-04-25 22:24:37 +00:00
bryner%netscape.com 3fa0490fb2 Adding some frozen interfaces to the sdk that should have been there already. Bug 203170, r=dougt, sr=alecf, a=asa. 2003-04-24 21:32:11 +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
brade%netscape.com e9240a3195 bug 197121; fix QI (r=brian johnson, sr=sfraser) 2003-04-22 20:30:54 +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
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
sfraser%netscape.com 581ad0afe8 Fix window.find() to start searching in the window it was called on, not the focussed frame. Part of bug 118657, r=mstolz, sr=jst. 2003-04-19 00:49:11 +00:00
roc+%cs.cmu.edu c699b9d44d Bug 198987. Fix regression by making pageXScroll and pageYScroll return 0 and succeed even when there's no scrolling view. r+sr=bzbarsky 2003-04-18 13:52:49 +00:00
jst%netscape.com 690a8cef27 Fixing bug 201132. Always use the JSPrincipals from the target object when compiling event handlers, never use the principals of the global object in which the event handler is compiled. Also make sure we never use the principals that are precompiled into cloned Functions, always get the principal from the Function's scope in such cases. r=mstoltz@netscape.com (and heikki@netscape.com), sr=brendan@mozilla.org 2003-04-17 20:21:00 +00:00
seawood%netscape.com fd2883713e Implement mozcomps static build variant.
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner
2003-04-17 19:19:42 +00:00
brade%netscape.com 795af22455 command for drag/drop/copy/paste hooks (bug 197121) r=smfr sr=jst 2003-04-17 13:21:19 +00:00
danm%netscape.com 4d9279dc54 use new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-16 00:00:55 +00:00
danm%netscape.com c8a9092ebc new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-16 00:00:46 +00:00
danm%netscape.com 2d8fc2dad9 new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-15 23:34:08 +00:00
sfraser%netscape.com d5e2e8f4ac Fix regressions from bug 201560: forward/back reversal on key presses, and an annoying assertion. r=dbradley/brade, sr=peterv. 2003-04-15 19:55:10 +00:00
roc+%cs.cmu.edu de942543e3 Bug 198987. Prevent smooth scrolling rounding small partial increments down to 0. Add scrollMaxX/scrollMaxY properties to JS window object so mailnews can use a more robust way to detect when the message is scrolled to the bottom of its window. r=bzbarsky,sr=jst 2003-04-15 13:40:46 +00:00
sfraser%netscape.com 28fca3442e Fix for bug 201822 -- recursion crash when using backspace key to go Back. patch by bryner, r=pavlov, sr=me. a=jj for checkin. 2003-04-14 16:10:47 +00:00
varga%netscape.com cc78e0c6cd Backing out fix for bug 201132 to fix smoketest blocker 201889.
sr=peterv
2003-04-14 12:30:19 +00:00
jst%netscape.com c2949137a8 Fixing bug 201132. Always use the JSPrincipals from the target object when compiling event handlers, never use the principals of the global object in which the event handler is compiled. r=mstoltz@netscape.com (and heikki@netscape.com), sr=brendan@mozilla.org 2003-04-13 04:05:29 +00:00
sfraser%netscape.com 430da523f7 Fix method types to keep Windows happy (__stdcall crap) 2003-04-12 04:22:16 +00:00
sfraser%netscape.com 2ce89db51a Fix bug 201560: reimplement the DOM window controller using shared controller code, and a singleton nsIControllerCommandTable. This reduces the number of string compares when updating commands, and is cleaner. Include some string cleanup in SetCursor() to reduce codesize. r=brade/jkeiser, sr=jst. 2003-04-12 03:08:23 +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
jst%netscape.com 4918397165 Fixing bug 200038. Fixing bogus assertion triggerd in venkman. r=heikki@netscape.com, sr=peterv@netscape.com 2003-04-09 04:40:20 +00:00
bzbarsky%mit.edu f742557433 Use const statics for greater good. Bug 201251, r=jst, sr=alecf 2003-04-09 00:52:48 +00:00
jst%netscape.com 37596c703c Fixing bug 199465. Make the DOM shutdown code flush the XUL cache to ensure that everything is unrooted before the final JS GC is run. r=dbradley@netscape.com, sr=brendan@mozilla.org 2003-04-02 21:24:50 +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
shliang%netscape.com 6fb1258807 195924, 195921, 195928 - popup blocking changes to use whitelisting only and provide info dlg when popup first encountered. r=danm, sr=jag. 2003-03-26 02:03:13 +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
seawood%netscape.com d056fe18d0 Resurrect --disable-oji
Bug #197924 r=peterl sr=alecf
2003-03-25 06:54:52 +00:00
jst%netscape.com 320062efa6 Fixing bug 199033. Taking out code that was needed for full-page plugins when they didn't have a document associated with them, that was recently fixed, so now this code is no longer needed. r=peterlubczynski@netscape.com, sr=bzbarsky@mit.edu 2003-03-25 00:17:27 +00:00
jst%netscape.com df96f79656 Fixing regression bug 198433. option.text not settable any more. r=fabian@imajes.info, sr=bzbarsky@mit.edu 2003-03-21 21:27:17 +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
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
jst%netscape.com 295fae128d Fixing typo in comment. 2003-03-18 23:23:49 +00:00
jst%netscape.com a5e7d80b2c Removing unused variables. 2003-03-18 23:23:32 +00:00
dougt%netscape.com 0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
jst%netscape.com 493648b372 Um, forgot these changes in my last checkin. 2003-03-14 07:38:26 +00:00
jst%netscape.com 0b5cb41238 Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com 2003-03-14 07:00:53 +00:00
jst%netscape.com 8cd096d01e Fixing bug 156871. Making history.go() work like history.go(0). r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-13 07:12:11 +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
jst%netscape.com 0ded6db4d9 Fixing bug 196895. Don't assume aIsUndefined is non-null. Patch by dbradley@netscape.com, r=jst@netscape.com, sr=alecf@netscape.com 2003-03-11 22:24:02 +00:00
hpradhan%hotpop.com 59fa9e599d bug 196404 : setting document.location.href while showing about:blank broken r=radha sr=dbaron 2003-03-11 04:31:44 +00:00
radha%netscape.com c3cbae6131 Fix for bug #162128. Find a usable base uri for urls loaded through javascript.
r=jst sr=darin.
2003-03-05 22:23:47 +00:00
jst%netscape.com 0e4c40e508 Fixing bug 125318. Making window.self replaceable. r=fabian@imajes.info, sr=peterv@netscape.com 2003-02-27 00:54:49 +00:00
peterlubczynski%netscape.com d1b6c0d64d Fixing the DOM navigator.mimeType array to be able to test for installed helper applications, bug 58811, patch by bzbarsky@mit.edu r=peter, sr=jst 2003-02-26 23:54:55 +00:00
mstoltz%netscape.com ce91c3fdca Bug 163549 - Remove History.goURI(). Patch by mstoltz & jst. r=alecf/mstoltz. sr=heikki. 2003-02-25 01:40:18 +00:00
danm%netscape.com f2d773dbfd suppress processing of blur events with filepicker showing. bug 68454 r=bryner,kmcclusk,jst 2003-02-24 20:15:59 +00:00
dbaron%dbaron.org e59e36a0ee Replace the broken (since it can return destroyed data) ResolveStyleContextAndGetStyleData with GetXBLBindingURL. b=193847 r+sr=bzbarsky 2003-02-23 17:20:15 +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
jst%netscape.com 1eb16f6978 Whitespace changes, no 3-space indentation here\! 2003-02-18 05:41:48 +00:00
jst%netscape.com 11dd5320d2 Fixing part of bug 192837. Freezing most remaining DOM HTML interfaces and also nsIDOMStyleSheetList. r=harishd@netscape.com, sr=peterv@netscape.com, a=asa@mozilla.org 2003-02-18 00:20:16 +00:00
jst%netscape.com 1a0c20c6bb Fixing bug 193710. Fix crash in the DOM event handling code where it was passing a bad stack pointer to the JS engine. r=peterv@netscape.com, sr=brendan@mozilla.org, a=dbaron@dbaron.org 2003-02-17 22:38:55 +00:00
jst%netscape.com c735423014 Fixing bug 189494. Making window.frames replaceable. r=fabian@guisset.org, sr=peterv@netscape.com, a=asa@mozilla.org 2003-02-14 01:59:52 +00:00
jst%netscape.com a6d625072c Fixing regression bug 191916. Making classes of eTypeExternalConstructor constructable again, we can't use the DOMJSClass_Construct() hook directly from a JS function, it must be used only as a construct hook on instances of the JS class nsDOMClassInfo::sDOMJSClass. r=bugmail@sicking.cc, sr=peterv@netscape.com, a=asa@mozilla.org 2003-02-06 00:38:22 +00:00
nisheeth%netscape.com cc8dffbfcc Fix for bug 191377. r=peterv, sr=heikki, a=asa. window.open("") was not opening a blank window. This was a regression from the fix to bug 174628. 2003-02-01 00:39:31 +00:00
nisheeth%netscape.com 861f7bc62c Backout last checkin because it did not have any log message. 2003-02-01 00:35:45 +00:00
nisheeth%netscape.com bbfad7145e *** empty log message *** 2003-02-01 00:24:14 +00:00
peterv%netscape.com 5afb6de03a Fix for bug 91557 (constructor property of DOM Object instances return incorrect constructor). r=sicking, sr=jst, a=asa. 2003-01-31 12:10:13 +00:00
nisheeth%netscape.com 510bd13eac Fix for bug 174628. r=darin, sr=jst, a=asa. Only escape non-ASCII characters in url passed to nsGlobalWindow::InternalLoad(). 2003-01-27 22:02:44 +00:00
peterv%netscape.com cf33cabd99 Backing out part of fix for bug 91557 to fix smoketest blocker 190064. 2003-01-22 15:39:44 +00:00
peterv%netscape.com f88e30a75d Fix for bug 91557 (constructor property of DOM Object instances return incorrect constructor). sr=jst, sr=brendan. 2003-01-22 03:22:35 +00:00
timeless%mozdev.org cfdbf03787 Bug 189736 Move early return failure cases to the beginning of nsDOMClassInfo::Init()
r=sicking sr=jst
2003-01-22 03:18:41 +00:00
varga%netscape.com ad976ff996 Fix possible binary compatibility issues introduced by fix for bug 73322.
sr=bz
2003-01-18 17:55:27 +00:00
varga%netscape.com 874f920e11 Landing pref based, automatic image resizing.
Disabled by default.
r=jst, sr=jag
2003-01-18 10:17:58 +00:00
darin%netscape.com 685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
peterv%netscape.com 1ee3336d5a Fix for bug 188500 (Some DOM classes do not resolve). r=sicking, sr=jst. 2003-01-17 15:16:33 +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
mkaply%us.ibm.com 8e455da2c0 No bug - OS/2 only - add #ifdef so OS/2 returns OS/2 for platform 2003-01-15 23:10:56 +00:00
dougt%netscape.com 6508e0713e move nsTraceMalloc out of XPCOM. Factory out stackwalking code into new files. 189221 r=chak, 186585 r=blythe sr=dbaron. Most of this patch was contributed by seawood. 2003-01-15 20:40:06 +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
bryner%netscape.com ad197350de fixing win32 bustage 2003-01-09 07:50:15 +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
kin%netscape.com 872ded6605 Fix for bug #88049: Support .selectionStart & friends for textareas
Patch by petejc@optonline.net and kin@netscape.com

  mozilla/content/html/content/src/nsHTMLInputElement.cpp
  mozilla/content/html/content/src/nsHTMLTextAreaElement.cpp
  mozilla/dom/public/idl/html/nsIDOMNSHTMLTextAreaElement.idl
  mozilla/layout/html/forms/src/nsTextControlFrame.cpp
  mozilla/layout/html/forms/src/nsTextControlFrame.h

Re-implemented selectionStart, selectionEnd, setSelectionRange() and various

utility methods in nsTextControlFrame to support multi-line text widgets.


r=jkeiser@netscape.com  sr=sfraser@netscape.com
2003-01-09 06:06:17 +00:00
dbaron%dbaron.org 098bd15103 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:35:36 +00:00
jst%netscape.com 50771e7d42 Fixing bug 158370. Newly created windows not fully usable in JS when running in some embedded apps. r=harishd@netscape.com, sr=peterv@netscape.com 2003-01-06 22:37:54 +00:00
hpradhan%hotpop.com a0f7e77d37 bug 186509 r=caillon sr=jst 2003-01-05 06:34:53 +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
caillon%returnzero.com dfad9c362b Removing unused decl. r=timeless. I forgot to remove this with my fix for 175197, and it wasn't removed per my review comment to 183234. 2002-12-24 21:40:41 +00:00
aaronl%netscape.com 600e0c73e6 Bug 183234. Checking in patch for jst. Crash in nsDOMWindowController when F7 key pressed. r=aaronl, sr=peterv 2002-12-20 08:00:08 +00:00
peterv%netscape.com 74352f1e02 Fix for bug 180709 (Update Mozilla to the DOM Level 2 HTML PR). r=sicking, sr=jst. 2002-12-17 13:29:39 +00:00
jst%netscape.com e2f8a3ab91 Fixing bug 183604. Making the DOM code reuse the timer for interval timeouts in stead of creating a new timeout every time. r=caillon@returnzero.com, sr=peterv@netscape.com 2002-12-12 22:37:07 +00:00
caillon%returnzero.com 4fc0180afb Bug 179269 - New page opens which should display tabular data. Error message in new page instead of data.
Fix contributed by Harshal <keeda@hotpop.com>
r=caillon sr=jst
2002-12-12 15:48:30 +00:00
jst%netscape.com f729673363 Fixing bug 184209. Don't access timeout's past the point where they are released in a situation when the release might have deleted the timeout. r=dbradley@netscape.com, sr=rpotts@netscpae.com 2002-12-11 00:03:34 +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
mstoltz%netscape.com 16beb8a149 adding an include to fix bustage 2002-12-04 02:51:47 +00:00
mstoltz%netscape.com b37c501c58 Bug 32571 - add disabling pref and JS console message to window.close security check. r=heikki, sr=jst. 2002-12-04 01:55:56 +00:00
caillon%returnzero.com b7fdd3b2a7 178291 - using window.fullScreen causes scripts to stop.
r=mstoltz sr=jst
2002-12-03 06:08:08 +00:00
jst%netscape.com dfc3a21a75 Renaming member variables in nsTimeoutImpl from 'foo' to 'mFoo'. rs=brendan@mozilla.org 2002-11-28 01:35:45 +00:00
jst%netscape.com aa20bdfceb Fixing bug 178810. Original idea for the fix proposed by keeda@hotpop.com, complete fix written by me. Fix reference counting goofup that is triggerd by timeouts that run while a timeout is executing (due to a bug that lets timeouts fire while modal windows are open). r=peterv@netscape.com, sr=brendan@mozilla.org 2002-11-28 01:04:18 +00:00
caillon%returnzero.com 67da011039 175197 - Caching the window's prefs so we don't need to constantly re-fetch the service, move the calls to use the new prefs API in the process.
r/sr=sicking,jst,alecf
2002-11-25 23:21:25 +00:00
sicking%bigfoot.com 8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
jst%netscape.com 447d7e11ca Checking in keeda@hotpop.com's fix for bug 179461. Partially implement IE's select.options.add() method. No support for the optional second argument yet. r=caillon@returnzero.com, sr=jst@netscape.com 2002-11-20 22:36:36 +00:00
bryner%netscape.com f8464e5fff Fixing mac build bustage. 2002-11-09 01:49:31 +00:00
bryner%netscape.com 8beac694e3 Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst. 2002-11-09 00:25:25 +00:00
rpotts%netscape.com edd519ef65 bug #174404 (sr=jst). forgot to check this file in with the rest of the patch... 2002-11-09 00:15:42 +00:00
brade%netscape.com cf20089514 extend the api for Midas functionality (bug 177700, r=akkana, sr=jst) 2002-11-07 15:38:35 +00:00
blakeross%telocity.com de604cfe77 170705 - accessing "navigator.cookieEnabled" produces "uncaught exception." r=hyatt sr=bryner 2002-11-06 20:53:52 +00:00
caillon%returnzero.com 53f34d33c0 177526 - Don't block calls to window.open() that don't actually pop open new windows.
r=jkeiser sr=bzbarsky
2002-11-06 20:48:58 +00:00
bryner%netscape.com 9b996ca00d Fix fullscreen mode on Linux to use the fullscreen hint, rather than manually sizing the window (bug 176640). Move the existing implementation of fullscreen mode from nsGlobalWindow to nsBaseWidget, so that it can be overridden in the gtk widget implementation. r=blizzard, sr=hewitt. 2002-11-06 09:35:13 +00:00
bzbarsky%mit.edu e5fafcae33 Use the right contractid for the pref service. Bug 178062, r=brendan,
sr=alecf
2002-11-06 03:14:47 +00:00
dveditz%netscape.com 27878120f5 Don't fire popup blocked event if we decide to open the content in an existing named window (bug 174765 refinement)
r=danm, sr=jag, a=roc
2002-11-01 05:20:07 +00:00
caillon%returnzero.com ed9ed0c560 Prevent access to compareTreePosition and friends from script.
bug 176135
r/sr=bzbarsky,jst a=roc+moz
2002-10-30 04:51:37 +00:00
dveditz%netscape.com 54a4cd8e0d Backend changes to support popup blocking whitelists. No Mozilla UI yet but used by Phoenix. bug 174765 r=danm,sr=jag,a=brendan 2002-10-25 02:31:12 +00:00
mstoltz%netscape.com c66a28d655 Bug 32571 - Don't allow scripts from content to close windows with a null opener.
r=heikki, sr=jst, a=dbaron.
2002-10-25 01:08:29 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
hyatt%netscape.com c20f1e2f17 Fix code inside a phoenix ifdef. NPOB. 2002-10-08 19:07:29 +00:00
caillon%returnzero.com 5ba9439c07 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
hyatt%netscape.com 8c527dcd7e #ifdefs for phoenix. NPOB. 2002-10-08 03:30:26 +00:00
av%netscape.com 72909869a0 Bug 104298 -- clean up in plugin module, r=serge, r=bnesse, sr=beard 2002-10-03 21:31:41 +00:00
caillon%returnzero.com 9061952afd Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
r=dbaron sr=jst
2002-09-26 03:46:50 +00:00
caillon%returnzero.com ddd0a89dfb Typo fix. r=peterv sr=bzbarsky (bug 170782) 2002-09-26 02:45:43 +00:00
aaronl%netscape.com d618542d85 Bug 167921 - allow web pages to use preventDefault so that typeaheadfind doesn't interfere with them. r=kyle, sr=brendan. Also fixes bug 165315 - typeaheadfind shouldn't hardcode kbd shortcuts, bug 77704 - add accelerator for find prev (also added menu item). Also fixes bug 167783 - ctrl+g for typeaheadfind after repeating characters. Also fixes bug 168408 - backspace after bad character typed should do the right thing, but don't add bad characters to buffer. Also fixes bug 71832 - add F3 for find next (also shift+F3). Bug 157669 - Alt+D to select location bar (IE keyboard compatibility), r=sgehani, sr=hewitt 2002-09-24 22:46:50 +00:00
bryner%netscape.com 8a61d3e8ba Stop incorrectly notifying window watcher that a window is active when its focus controller is deactivated. This was contributing to a crash because a window was set as active after it had been unregistered, leaving window watcher with a dangling pointer. Bug 167233, r=danm, sr=alecf. 2002-09-24 03:05:27 +00:00
dbaron%fas.harvard.edu 56b82cf05d Fix leak of nsDOMEvent (and thus nsPresContext) caused by the presence of frames or iframes by avoiding early return so we don't skip necessary manual refcounting. b=160268 r=peterv sr=jst 2002-09-20 22:58:40 +00:00
jkeiser%netscape.com 99559fac4a Back out bug 163593 (superceded by bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-09-13 21:18:15 +00:00
danm%netscape.com 997fa879e8 backing out Txul-regression-causing popup window manager. bug 167929 2002-09-12 01:16:59 +00:00
danm%netscape.com c0d5889aff moving most of the popup window abuse check to WindowCreator. bug 166442 r=jag,jst,timeless 2002-09-11 02:22:25 +00:00
nhotta%netscape.com 30d3952982 Changed to use uconv util function to do the unescape which
checks for valid UTF-8 and fallback to the doc charset,
bug 161479, r=shanjian, sr=jst, a=dbaron.
2002-09-08 15:08:45 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com fae89c4077 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
bryner%netscape.com 11659c8e1c Bug 141295 and 153681 - fix some timing problems with initial focus. Make sure that window watcher's activeWindow accurately reflects the last window to receive an NS_ACTIVATE. Remove the GetFocusController API from nsIDocument, since the focus controller can now be obtained for the entire lifetime of the document by using GetContainer(). Cleaned up some methods on nsEventStateManager/nsIEventStateManager that were virtual for no reason. r=danm, sr=jst. 2002-09-06 00:19:58 +00:00
sicking%bigfoot.com 443bb6d0bc Bug 64945: XML Prettyprinting stage 1
r=peterv sr=jst
2002-09-04 06:57:25 +00:00