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

2513 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu ee414a23e5 location.host should be the host the jar was fetched from for jar: URIs. Bug
53124, r=darin, sr=jst
2004-04-24 16:09:31 +00:00
bryner%brianryner.com 4f8b5bf9d4 deCOMtaminate nsIScriptObjectPrincipal (bug 240745). This also fixes some code in nsCrypto.cpp that sems to have been mis-braced (I don't think it was working as intended). r+sr=jst. 2004-04-18 00:28:47 +00:00
gerv%gerv.net 692411203a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
varga%nixcorp.com 5026248834 Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner 2004-04-17 05:53:38 +00:00
darin%meer.net 25d84ac621 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2004-04-15 23:30:05 +00:00
jst%mozilla.jstenback.com 0f33d4efdd Removing extra space. 2004-04-15 23:16:30 +00:00
cbiesinger%web.de d4e1da55f3 Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
bzbarsky%mit.edu 81be8284a4 Add navigator.onLine. Bug 23435, r+sr=jst 2004-04-13 18:00:18 +00:00
danm-moz%comcast.net 2b5e158c88 popup blocker can detect form change events. bug 240285 r=bryner,jst 2004-04-13 01:51:19 +00:00
sicking%bigfoot.com f0b0915f53 Bug 238450: Implement nsIDOMSVGStylable and make class-selectors work for svg-elements.
r/sr=jst for classinfo changes
r=afri for the rest  (not part of build)
2004-04-12 23:48:42 +00:00
sicking%bigfoot.com 8af734bf75 Bug 238327: Implement the svg:style element.
Changes to svg-only files r=afri  (not part of build)
Changes to transformiix files r=peterv sr=jst
Changes to other files r/sr=jst
2004-04-12 23:21:42 +00:00
jst%mozilla.jstenback.com e978e5d6f0 Fixing bug 240309. Making JavaScript error/warning console debug messages be on a single line to simplify automated testing. r+sr=bzbarsky@mit.edu 2004-04-12 22:20:03 +00:00
jst%mozilla.jstenback.com 14b9ad2f10 Fixing bug 153830. Making alert(null) display "null" in the alert, in stead of nothing at all. r=caillon@aillon.org, sr=peterv@propagandism.org, a=asa@mozilla.org 2004-04-08 01:53:40 +00:00
jst%mozilla.jstenback.com 8e23487e7f Fixing bug 220408. Start using the JS_SetThreadStackLimit() API to tell the JS engine where our thread stack boudary is (or where we want it to be, rather). r+sr=brendan@mozilla.org, a=chofmann@mozilla.org 2004-04-07 17:07:36 +00:00
jst%mozilla.jstenback.com 0574c45e2d Fixing bug 224649. Patch by brendan@mozilla.org. Ensure that when setting an applet property, we actually set the property on the applet, and not on the DOM wrapper for the applet element. r+sr=jst@mozilla.jstenback.com, a=chofmann@mozilla.org 2004-04-02 05:11:44 +00:00
danm-moz%comcast.net 5076fd41dd popup blocker now allows windows to be opened on space and return key events, in case it was from a focused button. bug 239078 r=bzbarsky,jst a=chofmann 2004-04-01 23:00:44 +00:00
darin%meer.net ecb1ce6fe2 landing marco's patch for bug 238928 "domstubs.idl should not include nsAString.h" r=bsmedberg sr=jst a=dbaron 2004-04-01 19:44:17 +00:00
jst%mozilla.jstenback.com 581d42f4b2 Fixing bug 238218. Make sure the DOM branch callback is never called for a nsJSContext that's been deleted. r+sr=brendan@mozilla.org, a=chofmann@mozilla.org 2004-03-24 02:04:16 +00:00
neil%parkwaycc.co.uk ed8efd7d27 Bug 237726 DOMCI for XUL elements was missing nsIDOM3Node r/sr=jst a=chofmann 2004-03-19 00:37:50 +00:00
jst%mozilla.jstenback.com 611891eb6c Fixing typo in comment. 2004-03-17 00:41:11 +00:00
jst%mozilla.jstenback.com 2e147004eb Backing out the fix for bug 235457 since it made typing URLs, and autocomplete in the the URL bar not work. 2004-03-16 19:06:10 +00:00
jst%mozilla.jstenback.com 9216581021 Fixing bug 235457. Make new windows opened through window.open be opened on the context of the opener, and make caps not lie about when capabilities are enabled. r=danm-moz@comcast.net, r=caillon@aillon.org, sr=brendan@mozilla.org, a=dbaron@dbaron.org 2004-03-16 06:57:54 +00:00
jst%mozilla.jstenback.com c54549bc48 Fixing bug 237556. Exposing existing XPath functionality on ImageDocuments too. r+sr=peterv@propagandism.org, a=chofmann@mozilla.org 2004-03-15 23:07:12 +00:00
peterv%propagandism.org 9dcb8e8f56 Fix for bug 237124 (Make XULDocument.evaluate work from JS). r/sr=jst, a=chofmann. 2004-03-12 09:47:47 +00:00
bzbarsky%mit.edu 6e14fe93b7 Make sure to get notification callbacks from the loadgroup if the channel
doesn't have what we want.  Bug 33961, r=darin, sr=jst
2004-03-10 01:18:26 +00:00
danm-moz%comcast.net a611fa3da5 UniversalBrowserWrite privilege is required to alter visibility of menubar, toolbar, etc. bug 152256 r=caillon,jst 2004-03-09 00:45:41 +00:00
peterv%propagandism.org b22645514e Fix for bug 29152 (Cannot do formsigning - crypto.signText). r=kaie, sr=jst. 2004-03-06 15:52:44 +00:00
neil%parkwaycc.co.uk 23a67de0db Bug 205648 Support "context menu" key under gtk/gtk2 p=crispin@flowerday.cx r=blizzard sr=bryner 2004-03-06 15:00:38 +00:00
jst%mozilla.jstenback.com 05c3214f14 Fixing bug 141056. Prevent setting the location of a window from crashing when called w/o JS on the stack, and ensure XPInstall pushes the JS context onto the JS context stack before evaluating JS. r+sr=bzbarsky@mit.edu, r+st=jst@mozilla.jstenback.com 2004-03-03 18:13:00 +00:00
jst%mozilla.jstenback.com c117ac5511 Fixing comments. 2004-03-03 04:01:33 +00:00
jst%mozilla.jstenback.com 93c491505f Landing remaining part of bug 68215, this part fell off the patch wagon at some point... r+sr=brendan@mozilla.org 2004-03-03 00:20:31 +00:00
bryner%brianryner.com d6b0d386ee deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
jst%mozilla.jstenback.com 8ce6429c12 Backing out part of the fix for bug 233142 which wasn't essential for fixing that bug. This code caused bug 235730. 2004-02-27 01:05:52 +00:00
dbaron%dbaron.org a02bafd134 Fix case of opacity (mistake in previous checkin). b=93156 2004-02-24 18:59:51 +00:00
dbaron%dbaron.org fd7b04962f Change -moz-opacity to opacity. Create a mechanism for creating a second name for a CSS property and continue to support -moz-opacity. b=93156 r=bzbarsky sr=roc 2004-02-24 06:48:25 +00:00
bryner%brianryner.com 2099db9a17 fix --disable-xul bustage 2004-02-24 04:19:15 +00:00
bryner%brianryner.com c13cc68678 Merge jsdom and gklayout libraries (bug 232247). r=dbaron, sr=jst. 2004-02-24 03:22:35 +00:00
jst%mozilla.jstenback.com e0885ea97c Removing unused file. 2004-02-24 00:41:56 +00:00
jst%mozilla.jstenback.com f218d03481 Fixing bug 233142. Correct event default action prevention logic to match what we used to do before bug 226462 was fixed. r=bzbarsky@mit.edu, sr=bryner@brianryner.com. 2004-02-20 20:46:22 +00:00
darin%meer.net 8c818ed6c3 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
jst%mozilla.jstenback.com 2c3fed598d Fixing crash regression bug 234626. Add kungFuDeathGrips to functions in nsJSContext that execute JS (some already had them) to avoid having JSContexts die on us while they're still on the stack. r=caillon@aillon.org, sr=dbaron@dbaron.org, a=chofmann@mozilla.org 2004-02-18 02:17:32 +00:00
jst%mozilla.jstenback.com 08d1e6b907 Checking in for nallen@acm.org, bug 13350. Making the DOM branch callback code limit the ammount of time we allow Mozilla to spend in JS by time, in stead of limiting only by the number of executed branches. r=jst@mozilla.jstenback.com, sr=brendan@mozilla.org, a=chofmann@mozilla.org 2004-02-11 22:22:05 +00:00
jst%mozilla.jstenback.com 6ca4c1a78e Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2004-02-11 06:09:51 +00:00
bryner%brianryner.com b26298f7c2 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
ben%bengoodger.com 1f7e70b795 227796 - XPInstall InstallTrigger API changes - add a parameter to the install js object that supports an icon, also make the install FE parameterizable via a pref. r=bsmedberg, dveditz.
230768 - add the ability to make a window flash only a certain number of times in the taskbar. dom stuff r/sr=jst, widget changes r=danm, sr=bryner
2004-02-11 03:46:30 +00:00
cls%seawood.org 90a043bf86 Add PRUnichar cast.
Fixing mingw bustage.
Bug #233307
2004-02-11 03:00:01 +00:00
mvl%exedo.nl f008ef89d7 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
2004-02-10 18:22:23 +00:00
jst%mozilla.jstenback.com 8b6dc1c3ca Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
danm-moz%comcast.net 714d1b61c0 popup blocker once again tolerates window.open targeted to _self, _top, et.al. reinstatement of bug 177526 (rev 1.557) messed up by rev 1.605, now bug 232933 r=bzbarsky,caillon 2004-02-09 17:38:31 +00:00
danm-moz%comcast.net 6bebcda5c3 abort FireAbuseEvents if there's no top window. presumably the window is being closed. b=233443 r=bzbarsky,jst 2004-02-09 15:46:39 +00:00
alex.fritze%crocodile-clips.com 910659d1c9 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
2004-02-07 12:39:26 +00:00
hpradhan%hotpop.com 6da139214f Bug 193223 : Make the add() method on html option collections
more compatible with IE. r+sr=jst
2004-02-07 11:40:30 +00:00
bryner%brianryner.com d4f13c3ba7 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
dbaron%dbaron.org 1992d6919c 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 2004-02-04 06:10:56 +00:00
danm-moz%comcast.net e172db437a more tweaks to 1.636. rethink popup limit and give special status to click events. b=197919 r=bzbarsky. 2004-02-04 03:10:17 +00:00
danm-moz%comcast.net df33b45fc1 tweak last checkin to allow a maximum popup pref of 0 2004-02-03 17:17:38 +00:00
danm-moz%comcast.net a3cc308cb4 generally disallow popup windows spawned by event handlers, or too many simultaneous popups. bug 197919 r=bryner,jst 2004-02-03 02:22:54 +00:00
danm-moz%comcast.net 50658833c3 add methods to track whether window was opened as a popup. bug 197919 r=bryner,jst 2004-02-03 02:22:02 +00:00
bryner%brianryner.com 05a0e4f624 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. 2004-02-02 22:17:21 +00:00
jst%mozilla.jstenback.com 1804c4910c Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
bsmedberg%covad.net 34cd8e8bdf Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +00:00
jst%mozilla.jstenback.com 2971dd8ec6 Bringing these interfaces up to match the latest spec. Not part of the build. 2004-01-27 22:59:47 +00:00
caillon%returnzero.com 0249abad0f 232327 - Use valid JS in our javascript: URL wrapping around window._content
r=shaver sr=brendan
2004-01-27 19:51:31 +00:00
jst%mozilla.jstenback.com 29037989f5 Fixing bug 202636. Patch by psolanki@myrealbox.com. Adding document.referrer to all document types. r+sr=jst@mozilla.jstenback.com 2004-01-27 05:11:44 +00:00
jst%mozilla.jstenback.com a0c4716830 Fixing bug 147058. Changing the scope chain of non-XUL DOM nodes to match what IE and Nav<6.0. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-01-26 23:41:34 +00:00
caillon%returnzero.com 38a0107fab Use the correct free methods. r+sr=peterv via irc. 2004-01-25 14:53:21 +00:00
jst%mozilla.jstenback.com d62aed44c4 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +00:00
peterv%propagandism.org f3d91830fd Fix for bug 231870 (instanceof Event (well, any dom object) is broken - throws instead of returning false). r/sr=jst. 2004-01-23 17:07:57 +00:00
dbaron%dbaron.org 989a0a4d36 Make WEBSHELL printfs use clearer notation and add DOMWINDOW printfs, which will actually show some leaks. b=231384 r=bryner sr=brendan 2004-01-21 21:13:39 +00:00
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
peter%propagandism.org 80f86be21c 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 211c78f7ea 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 8ed72a0b23 Bug 217562 UMR in nsJSEventListener::HandleEvent after mContext->CallEventHandler
r=caillon sr=jst
2003-09-11 01:42:42 +00:00
bryner%brianryner.com 352e645b90 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 2994c4573e 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 c11c6acb17 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 c08e99a287 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 b825e2f01a 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 63cd8e61d6 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 f6be8fe74f 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 1bc71afe06 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 3aca1aa31a bug 212415 : crash while closing a javascript alert. r=peterv sr=jst 2003-08-01 03:40:24 +00:00
caillon%returnzero.com 422dde1351 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 95256ce645 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:35:53 +00:00
brendan%mozilla.org 32d941a463 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 66d4b0c70b 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 f1efc20ae6 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 faf8419fc6 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 9c22160a4b 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 ef99140d6d 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 f008bc2bad 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 5f4b130757 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 d195fa0dfc 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 20004e3489 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
cbiesinger%web.de 062cdda875 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 38297174ab 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 f32e4950ff 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 889a2b14ba 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 287a44d567 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 c6ec6b4801 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 3673fca7f7 Random already_AddRefed stuff. Bug 211380, r+sr=jst 2003-07-03 02:49:06 +00:00
bzbarsky%mit.edu 25471a836d 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 b72949a24b 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 3e43c932ff Bug 208460. Add domstubs.idl/h to Gecko SDK. r+sr=jst 2003-06-27 11:28:20 +00:00
bryner%netscape.com 3adf284116 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 7a62bf7ccd 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 405bfef028 Removing unnecessary initialization of static variables that only cause bloat. 2003-06-24 23:06:12 +00:00
jst%netscape.com 858f5237ff 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 2e8edec781 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 c0dd16f7be 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 0625b760d1 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 f802347f6c 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 7697eb2312 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 b4721ada59 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 e8d547f79d 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 d321341b7c 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 9d26d14af6 Grammatical error. It's is contractive; its is possessive. 2003-06-19 00:08:29 +00:00
caillon%returnzero.com fe0731d91e 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 5614718dd3 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 943b3a9adf 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 5df2312334 Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl 2003-06-16 11:17:18 +00:00
caillon%returnzero.com ba75de772b 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 b56a675840 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 ccf01a2786 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 8f112a4226 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 6934dc37a9 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 d9bf9afe54 #90459
r=sicking, sr=peterv
DOM support missing for ondblclick = functionname
2003-06-10 18:33:58 +00:00
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 5fecfd0995 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 50d6f000c7 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 5826d43c42 #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 60c47b5e6a 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 3830d50ebe Fixing typo in class name. 2003-05-31 05:39:14 +00:00
jst%netscape.com 117e64901e 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 5158d785de 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 e02248a811 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 9692d89194 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 c8633873f1 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 bfc4901088 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 ed99f57913 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 fd39a78a78 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 b4f676181d Backing out the fix for bug 148782 since it caused bug 204029. 2003-05-06 02:01:52 +00:00
mstoltz%netscape.com 0bd380d3ed 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 05096034d5 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 f34440c5b9 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 fc432e0bac 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 38a77eca7f 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 4e946a8184 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 c4e3948cd4 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 8583070500 Bug 191800, move FIXptr and XPointer into xmlextras, r=harishd, sr=jst. 2003-04-23 00:07:37 +00:00
brade%netscape.com 8cba3f4ccc bug 197121; fix QI (r=brian johnson, sr=sfraser) 2003-04-22 20:30:54 +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
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
sfraser%netscape.com 21628c40ad 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 f97e88226e 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 981b45ec02 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 5e2dd72a02 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 1bf2d254a1 command for drag/drop/copy/paste hooks (bug 197121) r=smfr sr=jst 2003-04-17 13:21:19 +00:00
danm%netscape.com 267ae767bc use new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-16 00:00:55 +00:00
danm%netscape.com 13971ba0bd new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-16 00:00:46 +00:00
danm%netscape.com 443851a97a new popupblocked domevent. bug 199705 r=jaggernaut,jst 2003-04-15 23:34:08 +00:00
sfraser%netscape.com 62124345af 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 1304af9cbc 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 990a577cca 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 5670078f56 Backing out fix for bug 201132 to fix smoketest blocker 201889.
sr=peterv
2003-04-14 12:30:19 +00:00
jst%netscape.com 1f736cbc83 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 a28c941ba9 Fix method types to keep Windows happy (__stdcall crap) 2003-04-12 04:22:16 +00:00
sfraser%netscape.com 482d4fbaa3 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 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
jst%netscape.com e025bc01b2 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 dc6bed353b Use const statics for greater good. Bug 201251, r=jst, sr=alecf 2003-04-09 00:52:48 +00:00
jst%netscape.com 0bd6c211c8 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 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
shliang%netscape.com 459e7e4277 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 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
seawood%netscape.com b983df21d3 Resurrect --disable-oji
Bug #197924 r=peterl sr=alecf
2003-03-25 06:54:52 +00:00
jst%netscape.com 90b56cebcb 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 f46fc13c0f 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 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
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
jst%netscape.com 151a1999f3 Fixing typo in comment. 2003-03-18 23:23:49 +00:00
jst%netscape.com 2908eed41b Removing unused variables. 2003-03-18 23:23:32 +00:00
dougt%netscape.com be629223b6 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 23167aaa78 Um, forgot these changes in my last checkin. 2003-03-14 07:38:26 +00:00
jst%netscape.com 67c60923e6 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 677d034a8d 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 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
jst%netscape.com a3dbc99032 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 645ef64e24 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 e6fcf9e508 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 dd648b44ac 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 5ce7765e26 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 3a317a5fc5 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 44c941eba1 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 e2875e8fee 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 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
jst%netscape.com 8c47e7f0e8 Whitespace changes, no 3-space indentation here\! 2003-02-18 05:41:48 +00:00
jst%netscape.com f3ecd77b54 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 7ea5f470c8 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