Commit Graph

2287 Commits

Author SHA1 Message Date
jst%mozilla.jstenback.com
bc10ea8a9c 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
e406e27d5c Fixing comments. 2004-03-03 04:01:33 +00:00
jst%mozilla.jstenback.com
2f61a3e5c3 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
ed98c9a308 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
jst%mozilla.jstenback.com
9ef5cffe6a 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
7b18819349 Fix case of opacity (mistake in previous checkin). b=93156 2004-02-24 18:59:51 +00:00
dbaron%dbaron.org
eafdebc6f0 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
7bce313a2b fix --disable-xul bustage 2004-02-24 04:19:15 +00:00
bryner%brianryner.com
078b6c6ce9 Merge jsdom and gklayout libraries (bug 232247). r=dbaron, sr=jst. 2004-02-24 03:22:35 +00:00
jst%mozilla.jstenback.com
f7bdb165fb Removing unused file. 2004-02-24 00:41:56 +00:00
jst%mozilla.jstenback.com
fdf949b6db 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
8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
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