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

2275 Коммитов

Автор SHA1 Сообщение Дата
jst%mozilla.jstenback.com 991fb4a1e7 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 2ea10607f7 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 64ad19a801 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 92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
ben%bengoodger.com 434b29d4a5 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 3f81286b90 Add PRUnichar cast.
Fixing mingw bustage.
Bug #233307
2004-02-11 03:00:01 +00:00
mvl%exedo.nl 4bc72bffba 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 505c634885 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 cddbd4384d 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 998ed2a503 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 5c676d4a47 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 de628eca3f 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 433c389ddf 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 474bdc807e 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 13d2be057d 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 dc0448aada tweak last checkin to allow a maximum popup pref of 0 2004-02-03 17:17:38 +00:00
danm-moz%comcast.net c841356cc4 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 bde0b60e2a 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 4f69ec2c2e 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 90431d8022 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 7d79d7ba8b 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 235aa40f32 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 1fdc80c982 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 2c2850d8c2 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 cf58c793cd 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 1d0beb15bf Use the correct free methods. r+sr=peterv via irc. 2004-01-25 14:53:21 +00:00
jst%mozilla.jstenback.com ce1edc1dc9 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 8bbabeb21c 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 01075e707f 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 2bddef83ba 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 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