Commit Graph

12637 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
4976df8890 Fixing build bustage 2007-07-03 12:15:26 -07:00
bzbarsky@mit.edu
bdded13f7c Propagate the principal responsible an image load all the way to
CanLoadImage/LoadImage in nsContentUtils, and use it for security checks
there.  Bug 310165, r=sicking, sr=dbaron
2007-07-03 11:45:39 -07:00
Olli.Pettay@helsinki.fi
4936825549 Add tests also for blur event (bug 238987) 2007-07-03 09:27:28 -07:00
gavin@gavinsharp.com
a60fe167e5 Bug 253851: wait for background image loads before firing onload (match behavior of IE/Safari/Opera), r+sr=dbaron 2007-07-03 06:59:02 -07:00
Olli.Pettay@helsinki.fi
c4f362e8c7 Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz 2007-07-03 06:37:32 -07:00
Olli.Pettay@helsinki.fi
da6f6b0061 back out bug 238987 2007-07-03 05:37:00 -07:00
peterv@propagandism.org
13008c2c6d Fix for bug 386495 (Javascript is not disabled when designMode is on). r/sr=jst. 2007-07-03 04:54:41 -07:00
Olli.Pettay@helsinki.fi
5c3a599079 Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz 2007-07-03 04:49:40 -07:00
roc+@cs.cmu.edu
f89a82a7f6 Bug 386548. Remove nsTextTransformer. r+sr=mats 2007-07-02 16:36:59 -07:00
enndeakin@sympatico.ca
3cac4d61c3 Bug 327920, issue with determining uri variable in query template syntax,r+sr=peterv 2007-07-02 14:40:56 -07:00
peterv@propagandism.org
c1f26cd35e Fix for bug 326337 (XMLHttpRequest.responseXML permission denied if document.domain set). r=jst, sr=bz. 2007-07-02 06:20:01 -07:00
longsonr@gmail.com
ed77976fba Bug 385905 - Collection of minor things. Mainly fixes coding style and indenting in SVG content. Simplifies one NS_NewSVGPoint call and changes one frame QueryInterface to use CallQueryInterface. r=jwatt,sr=tor 2007-07-02 02:54:11 -07:00
dbaron@dbaron.org
086900c009 Fix leak of nsJSRuntime due to unbalanced calls of HoldScriptObject (with null argument). b=386294 r+sr=jst 2007-06-29 20:06:04 -07:00
dbaron@dbaron.org
9b3e00551c Add nsCycleCollector_shouldBeFreed calls for elements. b=385549 r+sr=jst 2007-06-29 20:00:51 -07:00
enndeakin@sympatico.ca
271e5c520d Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:39:50 -07:00
enndeakin@sympatico.ca
95deb19d78 Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
6c59f4a6d3 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz 2007-06-29 12:04:45 -07:00
peterv@propagandism.org
76a2c4d37f Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
0f0097ffc5 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
51dda63979 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
sharparrow1@yahoo.com
4e5da46ad5 Bug 385937: Remove nsIBlender. rs=pavlov 2007-06-27 12:06:09 -07:00
tor@cs.brown.edu
76ef425384 Bug 375846 - implement feConvolveMatrix filter primitive. r=longsonr, sr=roc 2007-06-27 12:02:58 -07:00
dbaron@dbaron.org
c28a83eb37 Move NOTIFY_OBSERVERS to the end of nsBindingManager::ContentRemoved (and avoid early returns so we get to it). b=382376 Patch by Daniel Holbert <dholbert@mozilla.com>. r=bzbarsky sr=sicking 2007-06-26 21:51:37 -07:00
Olli.Pettay@helsinki.fi
58218f2b53 wasn't going to check in this 2007-06-26 21:25:27 -07:00
Olli.Pettay@helsinki.fi
7a515960c9 Bug 385315, Remove unused parameters from XML/XBL/RDFContentSink::FlushText, r+sr=peterv 2007-06-26 21:22:35 -07:00
dveditz@cruzio.com
56a9050dc7 bug 381264 nix 'track' method; r=biesi, sr=sicking 2007-06-26 02:28:38 -07:00
Olli.Pettay@helsinki.fi
7821b6c9c1 Bug 385082, make nsDOMEvents ccollectable (to fix leak in wordpress.com), r+sr=peterv 2007-06-26 01:21:42 -07:00
vladimir@pobox.com
27adfe5287 b=385584, crash with toDataURL on large canvas, r=stuart 2007-06-25 09:24:19 -07:00
tor@cs.brown.edu
8c5ecf9cb8 Bug 305859 - em and ex units not implemented for SVGLength.
Patch by taken.spc@gmail.com, r=longsonr, sr=tor
2007-06-25 09:12:35 -07:00
kherron@fmailbox.com
a746e1c886 Disabling two tests by request of Christian Biesinger. Related to bug 382113. 2007-06-24 17:52:06 -07:00
cbiesinger@web.de
75a42fd777 bug 382113 make the test pass for now (mark it as todo). will be reenabled
once the additional patch from the bug is checked in.
2007-06-23 07:31:37 -07:00
cbiesinger@web.de
aece5fe57c bug 382113 set LOAD_DOCUMENT_URI for <object> loads that load a document
so that things like onload events work correctly
r+sr=bz
2007-06-23 01:44:27 -07:00
mats.palmgren@bredband.net
18256f6d26 Don't ref-count nsIScrollableViewProvider. b=385286 r+sr=roc 2007-06-23 00:39:40 -07:00
mats.palmgren@bredband.net
d02f9373bf Fix offsetLeft/Top regression for rel.pos. elements with a table(cell) offset parent. b=384419 r+sr=roc 2007-06-23 00:39:04 -07:00
asqueella@gmail.com
1ad08b1c7a tests for bugs 336359/336682 - WHATWG online/offline events
r+sr=jst
2007-06-21 12:10:03 -07:00
tor@cs.brown.edu
3bf4b46c55 Bug 385096 - make sure component transfer filter functions call base Init.
r=jwatt, sr=roc
2007-06-21 08:09:43 -07:00
sharparrow1@yahoo.com
6cc6875547 Bug 382092: Simple canvas cleanups. r+sr=vlad 2007-06-20 22:01:21 -07:00
jwatt@jwatt.org
f8ae555c59 Fixing bug 385218. Remove nsISVGSVGElement. r+sr=tor@acm.org 2007-06-20 14:56:03 -07:00
timeless@mozdev.org
cdb488901b Bug 383901 having two different gNameSpaceManagers is confusing (at least to debuggers)
r=bz sr=bz
2007-06-19 22:23:50 -07:00
bzbarsky@mit.edu
0eb40f4042 Make the ranges used by find code able to span anonymous content. Bug 384706,
r+sr=sicking
2007-06-18 20:01:03 -07:00
jonas@sicking.cc
50513d81cc Backing out previous checkin since leaks went up 2007-06-18 16:21:28 -07:00
sayrer@gmail.com
dd79d4341b bug 384507. nsContentSink.h contains static non-member functions and globals. r+sr=jst 2007-06-18 15:44:11 -07:00
jonas@sicking.cc
d53f4d97f7 Bug 348156: Don't rely on UnbindFromTree to break cycles since that puts us in an inconsistent state. r/sr=jst 2007-06-18 15:27:27 -07:00
Olli.Pettay@helsinki.fi
57208eb367 Bug 384663, r+sr=bz 2007-06-18 08:43:40 -07:00
kherron@fmailbox.com
fd55a81c64 Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv. 2007-06-17 06:50:50 -07:00
kherron@fmailbox.com
10d7931b24 Bug 380668 - Extra newlines added after a meta element that already has them before and after. Patch by Ryan Jones <sciguyryan@gmail.com>. r+sr=bzbarsky. 2007-06-17 04:41:03 -07:00
kherron@fmailbox.com
3ef7e96849 Bug 381329 - Build fails with GCC-4.3 due to extra semi-colons and '-pedantic' flag. Patch by Art Haas <ahaas@airmail.net>. r+sr=roc. 2007-06-16 12:53:59 -07:00
enndeakin@sympatico.ca
e7e0ff1269 Bug 321171, See if this fixes build errors on Windows/Linux 2007-06-15 08:30:28 -07:00
enndeakin@sympatico.ca
78a410c31c Bug 321171 - support XML sources in XUL templates, r=smaug,sr=peterv CVS: ---------------------------------------------------------------------- 2007-06-15 08:03:44 -07:00
enndeakin@sympatico.ca
281a052101 Bug 378173, template removes content incorrectly with multiple queries, r=smaug,sr=peterv 2007-06-15 07:00:18 -07:00
bzbarsky@mit.edu
d7b47663a4 Don't allow loads to start in a docshell that's firing the unload event. Alsodon't allow document.open of the document in that docshell. Bug 371360,r=biesi, sr=jst 2007-06-14 11:18:05 -07:00
peterv@propagandism.org
1423e531e9 Fix for bug 384440 (txHandlerTable leaks). r/sr=sicking. 2007-06-14 09:54:34 -07:00
mats.palmgren@bredband.net
af93a34b6b Second attempt at mochitests for bug 375003. 2007-06-13 18:21:13 -07:00
mats.palmgren@bredband.net
8e2a241b4b Disabling tests for bug 375003 for now to fix orange. 2007-06-13 17:38:54 -07:00
mats.palmgren@bredband.net
4805e0ce39 Fix offsetLeft/Top for nested tables and clientLeft/Top for some elements with non-zero margins. b=375003 r+sr=roc 2007-06-13 17:08:10 -07:00
jonas@sicking.cc
5d6d0f52ff Bug 379959: Add checks to loadBindingDocument. r/sr=jst 2007-06-12 14:56:06 -07:00
jst@mozilla.org
23003dea8f Fixing bug 383424. Make the context pusher use the owner document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2007-06-12 14:16:58 -07:00
peterv@propagandism.org
021a3b60fc Mochitest for bug 343870. 2007-06-11 06:17:44 -07:00
peterv@propagandism.org
32b1b96921 Fix for bug 383951 (nsXMLContentSink:: ReportError should ignore NS_ERROR_HTMLPARSER_INTERRUPTED). r/sr=bz. 2007-06-11 03:15:17 -07:00
peterv@propagandism.org
b9ab4744f2 Fix for bug 343870 (Line breaks normalized twice). r/sr=bz. 2007-06-11 02:15:23 -07:00
vladimir@pobox.com
094107ca69 trying to figure out what's going on on the linux reftest tinderbox 2007-06-10 19:49:49 -07:00
bzbarsky@mit.edu
d479536899 Remove duplicated "is this an event attr?" code. Bug 383714, patch by RyanJones <sciguyryan@gmail.com>, r+sr=bzbarsky 2007-06-10 12:27:57 -07:00
mats.palmgren@bredband.net
2580b17d8a Redirect 'contextmenu' events targetted at 'window' to the root content element. b=380818 r+sr=jst 2007-06-08 04:54:16 -07:00
gavin@gavinsharp.com
218738d375 Bug 381031: make JS1.8 the default for <xul:script>, and add a JSVERSION_LATEST #define to simplify future changes, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=brendan 2007-06-07 15:50:12 -07:00
bzbarsky@mit.edu
4c062a36e2 Make the about:blank documents created by CreateAboutBlankContentViewer havethe same encoding as real about:blank documents (that is, UTF-8). Bug 380383,r+sr=jst 2007-06-07 00:13:04 -07:00
roc+@cs.cmu.edu
c71327187f Not Really Part Of The Build. Update nsLineBreaker interface to allow aSink to be null, in which case the computed linebreaks are just discarded. We use this to optimize cases where no breaking is enabled and the results of linebreaking are not required. Also exposes IsSpace and IsComplexChar methods that the linebreaker specification relies on. Renamed CJK stuff to ComplexChar because it's going to include Thai and probably other languages. 2007-06-06 21:17:55 -07:00
roc+@cs.cmu.edu
2bfebe1bc6 Bug 380538. Allow both ononline and onoffline to be specified in the body element. patch by Chris Double, r=Olli.Pettay,sr=jonas 2007-06-06 20:28:04 -07:00
bzbarsky@mit.edu
42abf7a12f Ignore mutations in anonymous content when deciding whether to reclone <use>targets. Bug 380101, r=tor, sr=peterv 2007-06-06 13:01:56 -07:00
bzbarsky@mit.edu
6dfd7347b4 When serializing a <q> as plaintext, put in quotes even if we're not doingformatted output. Bug 378407, r=glazman, sr=sicking 2007-06-05 12:24:55 -07:00
bzbarsky@mit.edu
25b1740402 Don't react to changes in anonymous content subtrees. Bug 383137, r+sr=sicking 2007-06-04 20:29:50 -07:00
bzbarsky@mit.edu
f5f6fbc39c Add an API to observe all loads in a CSSLoader. Change XML prettyprinting tonot start layout till after the prettyprinter stylesheet is loaded, so we don'treflow and reconstruct the whole thing twice. Bug 380612, r+sr=sicking 2007-05-30 18:42:48 -07:00
jonas@sicking.cc
607f8caad0 Bug 373756. Don't execute XBL ctors on the last EndUpdate if there were queued ctors when we got the first BeginUpdate. Patch by bz. r/sr=me 2007-05-30 18:36:06 -07:00
roc+@cs.cmu.edu
bc2c8b9809 Not (Really) Part Of The Build. Fix embarrassing error in nsLineBreaker... 2007-05-30 17:06:31 -07:00
roc+@cs.cmu.edu
ff7447834d Fixing bustage 2007-05-30 15:36:30 -07:00
roc+@cs.cmu.edu
cf38be799a Bug 174397. Support getClientRects and getBoundingClientRect on DOM elements. r=jonas,dbaron; sr=tor, plus help from Anne van Kesteren and Martijn Wargers 2007-05-30 15:32:54 -07:00
roc+@cs.cmu.edu
18223fc22d Not part of the build. Change nsLineBreaker so that breaks at element boundaries are always governed by the white-space property on the element that's the nearest common ancestor of the DOM nodes on each side of the break point --- fixes bug 382289. Also, pass NBSP through to textruns so that whitespace trimming doesn't trim NBSP. Also, count trimmed spaces correctly when updating mClusterCount. 2007-05-30 15:27:27 -07:00
jonas@sicking.cc
a8a2928a3a Bug 366417: Set up scriptloader in the nsDocument ctor to ensure that the blocker-count stays in sync with the notification depth. r/sr=bz 2007-05-30 13:43:41 -07:00
vladimir@pobox.com
cc19120042 dummy commit to kick unit test tinderboxes 2007-05-30 04:02:18 -07:00
bclary@bclary.com
7798f66122 Bug 382182 - script tag should support version 1.8, r=jonas,sr=brendan 2007-05-29 22:55:55 -07:00
roc+@cs.cmu.edu
314e02012b Bug 372970. Implement navigator.offlineResources. patch by Dave Camp, r+sr=jst 2007-05-29 02:45:30 -07:00
neil@parkwaycc.co.uk
975c75417a Bug 380364 Fix regressions from bug 236546 r+sr=jst 2007-05-25 13:47:30 -07:00
peterv@propagandism.org
417638f1b9 Fix for bug 375063 (Leaking nsJSContexts and nsXBLDocGlobalObjects at shutdown). r/sr=jst. 2007-05-25 09:05:42 -07:00
Olli.Pettay@helsinki.fi
b9a6965dbe Bug 381153, r+sr=roc 2007-05-25 03:09:29 -07:00
longsonr@gmail.com
d357f77ee4 Bug 381777 - filters crash browser. r+sr=sr=tor 2007-05-25 02:50:02 -07:00
jonas@sicking.cc
0a47e8baa7 Fix yet more regressions from the don't-flag-clone-xul-nodes-indocument landing. b=380872 r/sr=bz 2007-05-24 17:28:20 -07:00
peterv@propagandism.org
22935dfbc9 Try to fix leak regression and tinderbox orange from bug 368774. 2007-05-24 13:50:21 -07:00
peterv@propagandism.org
38e0fa4575 Followup to bug 368774, fix bustage the right way. 2007-05-24 11:39:49 -07:00
peterv@propagandism.org
c0c65da495 Temporary bustage fix. 2007-05-24 07:28:40 -07:00
peterv@propagandism.org
98955fbcad Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
roc+@cs.cmu.edu
197e7e6d0b Backing out to fix bustage :-( 2007-05-23 22:16:52 -07:00
roc+@cs.cmu.edu
e138eb3816 Bug 336959. Reland update to use Pango for linebreaking of Thai and CJK text on Linux. patch by Theppitak Karoonboonyanan, r+sr=roc 2007-05-23 20:16:16 -07:00
bent.mozilla@gmail.com
5c7024b338 Bug 380846 - "Make the build system friendlier for XULRunner apps and extensions." r=bsmedberg. Adds confvars.sh files for all major apps and makefiles.sh for all extensions. 2007-05-23 13:08:44 -07:00
bzbarsky@mit.edu
6a49a8fccf SVG Load events shouldn't need a presshell to fire. Bug 380417, r=jwatt andsmaug, sr=tor 2007-05-23 13:05:53 -07:00
bzbarsky@mit.edu
e1a7b2b6ef Make sure we flush out content before we try to set up the plug-in, sincethat's going to perform DOM access that can flush. Bug 377070, r+sr=biesi 2007-05-23 12:53:31 -07:00
tor@cs.brown.edu
56af31dc01 Bug 381622 - complete cairo removal from svg. r+sr=roc 2007-05-23 08:42:12 -07:00
enndeakin@sympatico.ca
335aceb277 Bug 381078, hang with recursive template, testcase is part of bug 378893, r=smaug,sr=jonas 2007-05-23 05:33:47 -07:00
jwatt@jwatt.org
604300c6e7 Fixing bug 381447. nsSVGLengthList::mCtxType is always set to nsSVGUtils::X. r+sr=tor@acm.org 2007-05-23 01:38:54 -07:00
roc+@cs.cmu.edu
5cf44de899 Backing out due to bustage. 2007-05-22 21:26:42 -07:00
roc+@cs.cmu.edu
daa8d1177d Bug 336959. Use Pango to break lines for CJK and Thai. r+sr=roc, patch by Theppitak Karoonboonyanan. 2007-05-22 21:06:20 -07:00
vladimir@pobox.com
bac6142c81 b=353144, new throws in canvas, r=stuart 2007-05-22 20:58:19 -07:00
sharparrow1@yahoo.com
5749eaf63e Bug 365189 document.width/document.height flush layout too late. r+sr=roc. 2007-05-22 20:52:53 -07:00
roc+@cs.cmu.edu
a56819194e Not Part Of The Build. Update nsTextFrameThebes whitespace handling; allow line breaking only at the end of a run of whitespace. 2007-05-22 16:45:47 -07:00
jonas@sicking.cc
4108fb711b Bug 380872: Bind nodes in insertion points directly under <children>. r/sr=bz 2007-05-22 15:41:32 -07:00
Olli.Pettay@helsinki.fi
7861277e76 Bug 378776, windows bustage 2007-05-22 15:08:36 -07:00
Olli.Pettay@helsinki.fi
da84b4a799 Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz 2007-05-22 14:45:03 -07:00
Olli.Pettay@helsinki.fi
0a6d3668cd Bug 380674, Move nsTObserverArray from content/* to xpcom/*, r=bsmedberg 2007-05-22 12:39:14 -07:00
jonas@sicking.cc
d8633e02b4 Bug 380872: Forgot to address bzs review comment to remove this assertion. r/sr=bz 2007-05-21 17:08:05 -07:00
mrbkap@gmail.com
6a241398b2 Don't assume that the parser is still enabled after we've returned to the event loop. bug 380590, r+sr=sicking 2007-05-21 15:40:59 -07:00
jonas@sicking.cc
0b6e5dff7a Bug 380872: Call BindToTree on anonymous children too when BindToTree is called on an element. r/sr=bz 2007-05-21 15:26:48 -07:00
jonas@sicking.cc
941dc3b4c4 Bug 53901: Make sure to also release controllers when unbinding xul elements from the DOM. r/sr=bz 2007-05-21 15:22:51 -07:00
tor@cs.brown.edu
734eed5f0c Build bustage fix (380757). 2007-05-21 15:13:56 -07:00
tor@cs.brown.edu
c3f20a0396 Bug 380757 - switch svg filters to thebes. r=jwatt, sr=roc 2007-05-21 14:41:53 -07:00
roc+@cs.cmu.edu
b7f3dc0143 Bug 381130. Small changes to layout to fix an inline reflow bug and add a new API to nsLineLayout to support tab stops. r+sr=dbaron 2007-05-20 20:44:26 -07:00
Olli.Pettay@helsinki.fi
6575fbf571 Bug 380716, Crash [@ nsContentUtils::ContentIsDescendantOf], r+sr=jst 2007-05-18 03:23:45 -07:00
mats.palmgren@bredband.net
b426f797d9 Move nsIDocShellTreeItem::childOffset to nsDocShell and remove all uses except internally by nsDocShell (it should be removed eventually). b=376562 r=Olli.Pettay sr=bzbarsky 2007-05-17 20:49:14 -07:00
mrbkap@gmail.com
9669228ea9 Update our child counts if notifying on our children caused more updates. bug 376761, r=bzbarsky sr=sicking 2007-05-17 16:54:35 -07:00
bzbarsky@mit.edu
54d9fbc29a Attach bindings via addBinding even to nodes not in a document. Bug 380990, r+sr=sicking 2007-05-17 11:31:31 -07:00
Olli.Pettay@helsinki.fi
ee6550ec40 Bug 380911, Remove nsRecycled.h, r+sr=bz 2007-05-16 13:37:35 -07:00
gavin@gavinsharp.com
d43420f5f7 Revert unintentional change from bug 374723, r=dolske 2007-05-16 11:59:32 -07:00
benjamin@smedbergs.us
7a23b59d17 Bug 319934 - Prevent shutdown crashes by having XMLHttpRequest objects hold the layout module alive, r+sr=dbaron 2007-05-16 10:05:47 -07:00
gavin@gavinsharp.com
19ca63911e Bug 374723: re-design password manager API and implement in JS rather than C++, patch by Justin Dolske <dolske@mozilla.com>, r=mconnor, r=me 2007-05-16 03:02:45 -07:00
bzbarsky@mit.edu
fcd6592fc2 Fix bug introduced into collapsing of long PIs and comments. Bug 379683followup, r+sr=sicking. 2007-05-15 19:52:30 -07:00
bzbarsky@mit.edu
26ddd49bca Push the new content on the stack before calling BindToTree, since someBindToTree implementations apparently flush out the sink (!). Bug 372323,r+sr=sicking. 2007-05-15 19:21:55 -07:00
jonas@sicking.cc
9a9515bed6 Bug 53901: Don't set is-in-doc flag on cloned XUL nodes. r/sr=jst 2007-05-15 18:13:47 -07:00
ginn.chen@sun.com
a334324e77 Bug 357969 container xul element which doesn't have a xbl def under a deck frame has no accessible objectpatch by nian.liu at sun.com r=surkov.alexander sr=neil 2007-05-15 02:46:06 -07:00
Olli.Pettay@helsinki.fi
e46f507021 Remove rest of nsIDOMEventReceivers, Bug 363089, r+sr=jst 2007-05-15 01:50:33 -07:00
cbiesinger@web.de
9b8503bb13 Bug 370195 – sql device for the offline cachepatch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest) 2007-05-14 13:09:20 -07:00
Olli.Pettay@helsinki.fi
23a27d0393 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:29:22 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu
95764e882c Put content types and charsets on the text/plain parts of the form submissionfor multipart POST submissions. Bug 116346, patch by David Nesting<david@fastolfe.net>, r=bzbarsky, sr=sicking 2007-05-13 21:00:49 -07:00
bzbarsky@mit.edu
5b2ec7d443 Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -07:00
bzbarsky@mit.edu
64d30dda04 Make use of the wonders of inline-block to produce a much smaller DOM for XMLprettyprinting (fewer nodes, fewer frames, etc). Speeds up prettyprinting by afactor of 2 or so over here, with a 25% memory usage decrease. Bug 379683,r+sr=sicking 2007-05-13 20:00:14 -07:00
asqueella@gmail.com
1cafc60b98 Bug 331991 - Save as "Web Page, Complete" for HTML should include meta charset or encode all non-ASCII characters as entitiesp=Ryan Jones <sciguyryan@gmail.com>r=glazou, sr=peterv 2007-05-13 09:44:06 -07:00
asqueella@gmail.com
53f5456ba7 Bug 362043 - XMLHttpRequest should set a charset in the Content-Type request headerp=Ryan Jones <sciguyryan@gmail.com>r+sr=peterv 2007-05-13 09:41:46 -07:00
Olli.Pettay@helsinki.fi
dc641fc5d4 Bug 369644, make mouseover/out handle native anonymous content properly, r=jst, sr=sicking 2007-05-13 06:59:00 -07:00
peterv@propagandism.org
cf3c4a0ecf Fix for bug 324871 (UserData can cause reference cycles). r/sr=sicking. 2007-05-12 08:36:28 -07:00
bugzilla@standard8.demon.co.uk
f855a4e01a Part of bug 366673 Remove remaining contents.rdf from Suiterunner (stop using installed-chrome.txt) - content/xslt/tests/buster/jar.mn fix. r/sr=sicking 2007-05-12 03:45:43 -07:00
Olli.Pettay@helsinki.fi
3c2b2f46ce Bug 378390, Use a bit to track whether the binding manager has a pointer to an element, r+sr=peterv 2007-05-11 11:34:12 -07:00
Olli.Pettay@helsinki.fi
f29b4e2b1b backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
e8ff68b577 windows bustage fix 2007-05-11 04:33:17 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
dbaron@dbaron.org
ce027d98d6 Remove eCSSUnit_Proportional and eStyleUnit_Proportional, which were used only for a removed feature. b=333352 r+sr=bzbarsky 2007-05-10 23:00:26 -07:00
jonas@sicking.cc
36cb23b6c1 Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-10 13:21:12 -07:00
jst@mozilla.org
bdfbc4a316 Backing out Jonas' last changes due to tinderbox orange, per Jonas' request. 2007-05-09 17:42:33 -07:00
jonas@sicking.cc
ccae61e56a Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-09 16:33:28 -07:00
Olli.Pettay@helsinki.fi
07850bc536 xpcshell testcases for Bug 378247, p=Alex Vincent 2007-05-09 03:48:21 -07:00
bzbarsky@mit.edu
a78167f98d Store the charset we had when we were written into when document.open()happens. Then restore that as the document charset when loading from a wyciwygchannel, instead of just claiming to be UTF-16. Bug 255820, r+sr=jst 2007-05-08 19:47:58 -07:00
Olli.Pettay@helsinki.fi
0e0bf94150 Bug 379763, Need way to determine if a given element has an event handler of a certain type r+sr=jst 2007-05-08 14:13:13 -07:00
jonas@sicking.cc
1c214cc3a2 back out last patch since leaks went through the roof 2007-05-07 18:03:08 -07:00
jonas@sicking.cc
9179b005a4 Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987 2007-05-07 16:45:25 -07:00
bzbarsky@mit.edu
5e66b80452 Make the sync loader handle streams that close on EOF (e.g. data: URLs). Bug379957, r=biesi, sr=peterv 2007-05-07 15:11:53 -07:00
bzbarsky@mit.edu
2931d10719 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron 2007-05-04 23:47:09 -07:00
bzbarsky@mit.edu
5a139c8a8d Propagate a stylesheet's principal to the URI and Image CSSValues derived fromthat sheet. Bug 377091, r+sr=dbaron 2007-05-02 18:15:53 -07:00
masayuki@d-toybox.com
3d8a57b83a Bug 378752 Mnemonic of Menu doesn't work if an editor has focus and IME is on r+sr=roc 2007-05-02 08:34:35 -07:00
joshmoz@gmail.com
48cbd7d72e Remove nsINativeScrollbar and nsNativeScrollbarFrame. patch by Colin Barrett. b=379319 r=enn sr=dbaron 2007-05-02 00:46:50 -07:00
bzbarsky@mit.edu
32d3d359f4 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
0677644242 Don't throw from attribute sets if we can't find a script global to compile anevent handler attribute on. This happens; just don't compile it. Bug 379120,r+sr=peterv 2007-05-01 12:08:08 -07:00
bzbarsky@mit.edu
e83c55e645 Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron 2007-05-01 10:15:08 -07:00
mats.palmgren@bredband.net
7af6f06f71 Make nsWindow methods assume the caller holds a strong ref on 'this'. b=378273 r+sr=roc 2007-04-29 17:46:47 -07:00
gavin@gavinsharp.com
78b03c6869 Bug 233643: clone XUL element prototype inline style rules before they can be modified by script 2007-04-29 10:58:52 -07:00
gavin@gavinsharp.com
daff80acb4 Bug 377295: remove dependence on the binding constructor running before onload for the test from bug 366770, r=martijn 2007-04-29 10:29:19 -07:00
dbaron@dbaron.org
394f44d6ff Reduce #include dependencies on style system headers: reduce what nsRuleData.h pulls in. b=379089 r+sr=bzbarsky 2007-04-28 09:01:24 -07:00
asqueella@gmail.com
8b13adb4c2 Bug 375909 - nsCanvasRenderingContext2d incorrectly calculates some coordinates (has appunits * appunits, not appunits/appunits)p=Jeremy Lea <reg@freebsd.org>r+sr=roc 2007-04-27 07:45:21 -07:00
tor@cs.brown.edu
469ca7336a Bug 378508 - convert svg gradients to thebes. r=longsonr, sr=roc 2007-04-27 07:28:39 -07:00
asqueella@gmail.com
f6efd70be4 378327 - minor cleanup/simplification of ForwardReferences code in nsXULDocument- move AddForwardReference and ResolveForwardReferences from nsIXULDocument tonsXULDocument, make them non-virtual.- make mForwardReferences an nsTArray<nsAutoPtr<nsForwardReference> > insteadof nsAutoVoidArray.r=smaug, sr=roc 2007-04-27 07:15:25 -07:00
longsonr@gmail.com
e1a49a1bec Bug 378857 - Simplify clipPath frame access to units. r=tor,sr=roc 2007-04-27 01:42:51 -07:00
bzbarsky@mit.edu
1a863b611c Fix long-standing XBL bug where we didn't update insertion points correctly insome cases. Bug 375299, r+sr=sicking 2007-04-26 21:06:45 -07:00
bzbarsky@mit.edu
ff1caef5dc Don't unblock onload on the document if we no longer have a parser. Bug375051, r=mbkap, sr=sicking 2007-04-26 21:05:08 -07:00
bzbarsky@mit.edu
a11e2edb3f Flush tags before calling StartLayout; otherwise we might end updouble-constructing frames for whatever content we hadn't notified on yet. Bug378559, r+sr=sicking 2007-04-26 11:57:58 -07:00
enndeakin@sympatico.ca
446a76e214 Bug 377423, MemoryElements not removed from the pool properly, fixes topcrash, r=peterv,sr=sicking 2007-04-26 06:03:55 -07:00
ted.mielczarek@gmail.com
467c001632 bug 373181 - onload doesn't fire for XHTML documents that contain a script tag (Firefox's RSS preview is broken) - add mochikit test. r=sicking 2007-04-26 04:39:15 -07:00
bzbarsky@mit.edu
24c328d268 Fix the vertical scrollbar guessing in nsHTMLScrollFrame to do better for aninitial reflow if we're doing that initial reflow a ways into the documentload. Bug 378480, r+sr=roc 2007-04-25 19:29:21 -07:00
jruderman@hmc.edu
9a4a508274 Remove bogus assertions. Bug 344888, r+sr=tor. 2007-04-25 17:24:28 -07:00
asqueella@gmail.com
f9b2a89c07 Bug 368700 - Using TLDs in document.domain should not be allowedp=Wladimir Palant <trev.moz@adblockplus.org>r=bz, sr=dveditz 2007-04-25 13:48:28 -07:00
bzbarsky@mit.edu
3cfe7cdfcc Don't drop the old sheet when "rel" changes from one value that contains"stylesheet" to anoher. Bug 360746, r+sr=sicking 2007-04-25 11:48:18 -07:00
peterv@propagandism.org
f61971e016 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
bzbarsky@mit.edu
1bd6d423f6 Back out. This actually hurts Tp2, the mac reftests are _still_ orange 2007-04-24 00:33:58 -07:00
bzbarsky@mit.edu
484674884d Another peformance test for bug 378480. Will back out in a few cycles. 2007-04-23 22:46:11 -07:00
Olli.Pettay@helsinki.fi
78227c5b37 Bug 378369, Crash [@ nsEventListenerManager::FixContextMenuEvent] when firing contextmenu event in display: none iframe, r+sr=jst 2007-04-23 20:13:52 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
longsonr@gmail.com
5a09e35207 Bug 378023 - Fix build warnings compiling nsSVGGlyphFrame. r+sr=tor 2007-04-23 01:39:54 -07:00
bzbarsky@mit.edu
d4cb1b7d7b Set the status bar before actually handling the DOM event. That way if theevent is canceled, we'll still show the right status bar text. Bug 40838,patch by Florian Quèze <f.qu@queze.net, r=smaug, sr=bzbarsky 2007-04-23 00:31:21 -07:00
sayrer@gmail.com
f21ac0b126 bug 378336. nsCanvasRenderingContext2D::GetInputStream uses wrong allocator. r+sr=roc 2007-04-22 21:11:04 -07:00
Olli.Pettay@helsinki.fi
74bd5a6654 Bug 378247, nsXTFElementWrapper::PostHandleEvent no longer checks NOTIFY_HANDLE_DEFAULT, p=ajvincent@gmail.com, r=me, sr=bz 2007-04-21 00:35:37 -07:00
bzbarsky@mit.edu
dd9c587591 Followup to bug 84582 to restore the old error-handling behavior here. Fixesone of the reftests. 2007-04-20 16:43:28 -07:00
bzbarsky@mit.edu
c585c92179 Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
enndeakin@sympatico.ca
f7b1a69686 Bug 377663, <titlebar> should move popup if inside one instead of the window, r+sr=roc 2007-04-20 03:56:49 -07:00
Olli.Pettay@helsinki.fi
8df77090be Bug 378102, Remove nsIDOMEventReceiver::HandleEvent r+sr=jst 2007-04-19 16:20:29 -07:00
neil@parkwaycc.co.uk
1e5179b1b2 Bug 377577 Allow templates to generate arbitrarily nested treeitems r=Enn sr=roc 2007-04-19 12:27:11 -07:00
Olli.Pettay@helsinki.fi
87770d8f70 Bug 373998, Use inner global window as the event target in the event target chain, but outer global as DOM event target, r+sr=jst 2007-04-17 02:18:36 -07:00
philringnalda@gmail.com
55c09af394 Bug 370561 - Make nsIFormSubmitObserver scriptable, patch by Justin Dolske <dolske@mozilla.com>, r+sr=jst 2007-04-16 21:06:12 -07:00
tor@cs.brown.edu
b3c5a03a7b Bug 376929 - Remove direct use of cairo from SVG path generation.r=jwatt, sr=roc 2007-04-16 13:57:09 -07:00
sayrer@gmail.com
d7d1c2bc07 Bug 311681 xhtml tests pass now that we have an incremental XML content sink. 2007-04-16 08:53:04 -07:00
sayrer@gmail.com
0ce8af1698 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00
Olli.Pettay@helsinki.fi
f8dc235d9d Bug 350334, Core XBL widgets used in web pages can't listen to their own events, r+sr=jst+sicking 2007-04-15 09:28:53 -07:00
masayuki@d-toybox.com
9737b98f68 Bug 358899 [Cocoa] Improve nsIKBStateControl implementation r=josh+ere+masaki.katakai+roc, sr=roc 2007-04-15 06:43:55 -07:00
sayrer@gmail.com
51fd920a47 Bug 368994. Move mochitests near the code they test, round 6. r=bzbarsky 2007-04-14 10:46:36 -07:00
neil@parkwaycc.co.uk
41bb6169ac Bug 376802 Use one global tooltip listener instead of creating one for each XUL element that needs one r=Smaug sr=jst 2007-04-12 13:59:01 -07:00
martijn.martijn@gmail.com
9f26445a44 Mochikit test for bug 371724, r=sayrer 2007-04-12 09:10:42 -07:00
enndeakin@sympatico.ca
ff764a00c6 Bug 362906, assertion when root node in a template isn't XUL, r=smaug,sr=sicking 2007-04-12 08:55:54 -07:00
enndeakin@sympatico.ca
c3b7befff3 Bug 368721, issues with conditions on simple rules in templates,r=smaug,sr=sicking 2007-04-12 08:47:44 -07:00
bzbarsky@mit.edu
4ea7f3126e Adding testcase. 2007-04-11 23:40:27 -07:00
enndeakin@sympatico.ca
708500fbb3 Bug 375681, missed this file, add what-wg drag events, r=smaug,sr=roc 2007-04-11 22:56:13 -07:00
enndeakin@sympatico.ca
8b6667e253 Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc 2007-04-11 21:37:39 -07:00
bzbarsky@mit.edu
65e1a1fadf Don't block the parser on scripts we'll never execute. Bug 371743, r+sr=sicking 2007-04-11 13:18:11 -07:00
joshmoz@gmail.com
a96b0154ec Draw native scrollbars using nsITheme on Mac OS X. Don't use a cocoa control. Fixes a whole host of clipping and visibility bugs and bugs 339447, 369293, 370439. r=josh sr=roc 2007-04-10 17:25:11 -07:00
peterv@propagandism.org
5be4000455 Fix for bug 372713 (Add cycle collection to RDF datasources). r=bsmedberg, sr=dbaron. 2007-04-10 15:05:41 -07:00
bzbarsky@mit.edu
51ae229c59 Make sure to end our update before we decrement mSink->mInNotification. Bug373669, r+sr=sicking 2007-04-06 17:20:09 -07:00
mats.palmgren@bredband.net
8086139084 Workaround a docshell bug by searching the child list instead of indexing with GetChildOffset(). b=162283 r=Olli.Pettay sr=roc 2007-04-04 15:21:33 -07:00
enndeakin@sympatico.ca
1bc747f685 Bug 376428, don't parse onpageshow/onpagehide as events on xul elements, fixes regression in update window, r=sr=sicking 2007-04-04 11:31:56 -07:00
longsonr@gmail.com
600eebbc4b Bug 375696 - target attribute ignored on links. r=jwatt,sr=tor 2007-04-03 01:59:11 -07:00
enndeakin@sympatico.ca
532ad7a5c9 Bug 366478 - consolidate lists of onX event attributes, r=smaug,jwatt,sr=sicking 2007-04-02 10:17:36 -07:00
Olli.Pettay@helsinki.fi
7060971da5 Bug 373483, Crash [@ nsHTMLButtonElement::PostHandleEvent] when right-clicking on the button in this testcase, r+sr=jst 2007-04-02 09:13:45 -07:00
Olli.Pettay@helsinki.fi
2ac9d63c5d Bug 374547, regression: unable to repeat xbl bound element inside another with the same binding r=jst,sr=bz 2007-04-01 05:19:44 -07:00
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
longsonr@gmail.com
86ec89aeff Bug 373624 - Support transparent as a gradient and filter stop-color. r=jwatt,sr=tor 2007-03-29 01:59:06 -07:00
bzbarsky@mit.edu
78dbcf82f4 Don't look for random JS contexts; if our target doesn't have one, just bailout. Bug 349467, r=peterv, sr=jst 2007-03-28 13:37:03 -07:00
bzbarsky@mit.edu
5c510e3130 Adding test, bug 371375. 2007-03-28 13:25:20 -07:00
longsonr@gmail.com
86bb049926 Bug 374882. r+sr=tor 2007-03-28 01:54:39 -07:00
roc+@cs.cmu.edu
f21e61b37c Bug 374988. MSVC doesn't pack PRPackedBool bitfields properly, and PRBool field:1 means that the value for 'true' is -1, so use PRUint32 instead. r+sr=sicking 2007-03-27 20:57:36 -07:00
dbaron@dbaron.org
a7d9802f77 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
dbaron@dbaron.org
20ccc7a91d Remove GetKey callbacks from nsDoubleHashtable users. b=374906 r=bsmedberg 2007-03-27 08:34:14 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
masayuki@d-toybox.com
8eb84cfb3e Bug 236546 newlines not added when copying table into clipboard with CTRL+mouse. patch by Jeff Schiller<codedread@gmail.com> r+sr=jst 2007-03-27 08:10:23 -07:00
jwatt@jwatt.org
c82c6a087a Fixing bug 372098. HTML links with target="" should use the base target. r=Olli.Pettay@gmail.com, sr=jonas@sicking.cc 2007-03-26 06:19:33 -07:00
Olli.Pettay@helsinki.fi
cf1ccace7f 375196, r+sr=roc 2007-03-25 22:38:22 -07:00
asqueella@gmail.com
782392a877 Bug 371123 - XMLHttpRequest should trigger content policies
p=Wladimir Palant <trev@gtchat.de>r=jst, sr=sicking
2007-03-24 22:35:39 -07:00
asqueella@gmail.com
bde08ec16b fix bug 369828 - html/svg:style sheets don't work in XUL documents(the fix is to special-case these elements in nsXULDocument::ResumeWalkand manually call UpdateStylesheet on them after the element and its subtreeis fully constructed and inserted into the document)r=bz, sr=peterv 2007-03-24 22:20:29 -07:00
asqueella@gmail.com
b8c797ca40 Bug 373614 - remove nsIXULContentSink interface, use the underlying class directly.r=smaug, sr=roc 2007-03-24 22:02:10 -07:00
Olli.Pettay@helsinki.fi
056e66fd0c Bug 288392, DOMSubtreeModified event, r=peterv, sr=jst 2007-03-24 05:18:02 -07:00
Olli.Pettay@helsinki.fi
31ed919c5c Bug 359113, Crashes [@ nsEventStateManager::ShiftFocusInternal], r+sr=jst 2007-03-24 04:47:28 -07:00
roc+@cs.cmu.edu
29a2c959bb No bug. A variety of fixes to fix various reftest failures. Not Part Of The Build. 2007-03-24 04:07:36 -07:00
Olli.Pettay@helsinki.fi
a04e1d18ae Bug 374584, r=peterv, sr=jst 2007-03-24 03:53:07 -07:00
mats.palmgren@bredband.net
662ee970c3 Fix comment nit. b=374229 r=emaijala sr=roc 2007-03-24 02:48:17 -07:00
mats.palmgren@bredband.net
a8f510b62f Only assert that we have a non-null frame if this event requires a frame. b=374229 r=emaijala sr=roc 2007-03-24 02:45:01 -07:00
roc+@cs.cmu.edu
9878eceb62 Bug 333659. nsLineBreaker fixes. Not Part Of The Build, used by new-textframe only. 2007-03-22 16:45:02 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00