mhammond%skippinet.com.au
311e841004
NS_CreateJSArgv takes a JSContext
...
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@181842 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-09 08:50:19 +00:00
mhammond%skippinet.com.au
b88a09274a
* nsContentUtils::GetEventArgName -> GetEventArgNames, so onerror event
...
is compiled with correct names
* nsIScriptContext->CompileEventHandler takes an array of names rather
than 1.
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@181532 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 02:05:45 +00:00
mhammond%skippinet.com.au
de95cd0001
shaver insists the attribute be "script-type" (and offered to argue with
...
Brendan about it :)
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@181454 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-02 23:16:35 +00:00
mhammond%skippinet.com.au
c27dc527ee
* Introduce nsIJSArgArray interface, to allow a native JS argv pointer to
...
be passed. Matching component that supports the new interface and
nsIArray. Thus js->js calls can avoid any nsISupports conversion
overhead. Every JS specific event firer uses this.
* New NS_SL_* macros to make it easy for objects that use an array
of nsIScriptContext objects.
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@181433 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-02 13:24:41 +00:00
mhammond%skippinet.com.au
4f85bbbde6
Merge patch from https://bugzilla.mozilla.org/show_bug.cgi?id=299205
...
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@181025 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-27 03:05:54 +00:00
mhammond%skippinet.com.au
d5b1eb8ffc
* Have a bash at adding a "default script language" to nsIContent.
...
* When merging overlays, use the default script language specified
in the overlay for attributes, and eagerly compile them if the language
is not the nodes default.
* Remove mLangID from nsIXULPrototypeAttribute.
* nsIScriptGlobalObject::EnsureScriptEnvironment(PRUint32 aLangID) to
allow a global to set itself up for a new language.
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@180644 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-20 12:40:41 +00:00
mhammond%skippinet.com.au
e7f5eb6c2c
Revert some of the "script binding" work I did into a model closer to the
...
existing one
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@180485 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 08:59:31 +00:00
mhammond%skippinet.com.au
24fcf91e8b
Update comments.
...
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@180013 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 08:49:36 +00:00
mhammond%skippinet.com.au
9f1a2fb890
Serialize mLangID in nsXULPrototypeNode
...
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179940 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-10 02:53:58 +00:00
mhammond%skippinet.com.au
617c48e981
* XUL cache now includes the language ID with the void * script object it
...
saves.
* Fast-load file saves the language ID to the fast-load stream, then
delegates the serialization to nsIScriptContext.
* scripttype="..." can be specified at the root of any XUL object. This is
stored in the nsXULPrototypeElement so overlay loading honours the default
script language in the originating document.
* nsXULPrototypeScript now stored the language ID, not the nsIScriptContext.
* The few existing GC assumptions have been abstracted to nsILanguageRuntime
so no nsIScriptContext need be available. This still needs more thought.
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179888 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 02:36:24 +00:00
mhammond%skippinet.com.au
6de824369b
Remove declaration of unimplemented HookupObserver(nsIContent* aElement);
...
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179885 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 02:30:48 +00:00
mhammond%skippinet.com.au
073d37c91b
Fix the language detection code to a saner model, closer to how it was
...
before I got my hands on it.
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179883 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 02:24:55 +00:00
mhammond%skippinet.com.au
68e2b8db54
Remove the experimental token; it is no longer used.
...
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179882 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 02:19:11 +00:00
mhammond%skippinet.com.au
af5f73dfe5
Fix the way the script context is created and remove old cruft I meant to
...
remove before.
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179881 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 02:15:37 +00:00
mhammond%skippinet.com.au
84537357fe
Assert that we are not being setup with an unknown script language.
...
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179880 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 02:14:25 +00:00
mhammond%skippinet.com.au
42c056116c
Remove unnecessary #include
...
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179879 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 02:12:39 +00:00
mhammond%skippinet.com.au
ac160c0518
Print a warning where we still assume js.
...
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179878 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 02:11:58 +00:00
mhammond%skippinet.com.au
e98645ca9c
Tweaks to the language context management for events.
...
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179786 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 05:51:22 +00:00
mhammond%skippinet.com.au
b831717c1a
Add an NS_ERROR that we are temporarily ignoring the script args. Now I
...
just need to work out how to make it fire!
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179762 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 01:42:37 +00:00
mhammond%skippinet.com.au
e7a4ad7042
First checkin on the road to making the DOM language agnostic.
...
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179648 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-05 00:18:30 +00:00
(no author)
a25f799ab5
This commit was manufactured by cvs2svn to create branch
...
'DOM_AGNOSTIC_BRANCH'.
git-svn-id: svn://10.0.0.236/branches/DOM_AGNOSTIC_BRANCH@179603 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-03 00:08:09 +00:00
vladimir%pobox.com
3b0b47cc1a
b=306088, followup check for partial parse of a number, a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@179591 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 23:32:36 +00:00
scott%scott-macgregor.org
889117a431
Bug #285076 --> XUL Template Builder isn't working with Dynamic overlays
...
nsXULContentBuilder::CreateContents should fire content appended notifications.
sr=bz
git-svn-id: svn://10.0.0.236/trunk@179577 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 21:30:20 +00:00
vladimir%pobox.com
3a56a7a80e
b=306881, fix canvas pattern repeat, r=stuart
...
git-svn-id: svn://10.0.0.236/trunk@179576 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 21:16:22 +00:00
vladimir%pobox.com
5b5004a42f
b=306088, simplify nssvgtransformlist::setvaluestring, r=tor
...
git-svn-id: svn://10.0.0.236/trunk@179570 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 20:24:24 +00:00
peterv%propagandism.org
f5f85d2946
Fix for bug 298064 (nsContentUtils::GetDocumentFromCaller() is broken.). r=jst, sr=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@179553 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 18:02:51 +00:00
neil%parkwaycc.co.uk
ac317dee9f
Bug 306686 Make / start FAYT even when it's Shift+7 also make menus and xbl agree on the legal modifier token delimiters p=dainis_jonitis@swh-t.lv r=bz sr=me
...
git-svn-id: svn://10.0.0.236/trunk@179538 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-02 15:54:27 +00:00
bzbarsky%mit.edu
fd42ca7d92
Restore disabled state for all form controls. Bug 306616, r+sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@179484 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 18:58:31 +00:00
aaronleventhal%moonset.net
de3ac57bf0
Bug 305833. Context menu on bookmark right click is dead. r=mats, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@179478 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 18:18:08 +00:00
allan%beaufour.dk
c03c593368
Ooops, part of bug 306620 sneaked in together with the checkin for bug 306614
...
git-svn-id: svn://10.0.0.236/trunk@179475 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 17:07:12 +00:00
allan%beaufour.dk
af331a6879
fieldset should not match :enabled/:disabled. Bug 306614, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@179474 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 16:49:36 +00:00
bryner%brianryner.com
052ff22919
Fix for crashes in document.addBinding():
...
- Don't allow the old binding to go away as we insert the new binding into the chain.
- When swapping the nsXBLInsertionPoint array for a content node, remove any entries from the old list that are also in the new list, so that we don't delete them.
Bug 296375, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@179458 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 04:38:29 +00:00
pavlov%pavlov.net
f576800073
adding support for toDataURL and toDataURLAs on canvas. bug 245684. patches from Brett Wilson <brettw@gmail.com>. r=me, sr=vlad
...
git-svn-id: svn://10.0.0.236/trunk@179437 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 22:16:51 +00:00
mats.palmgren%bredband.net
06ad257375
Implement HTML4 align=middle according to spec. Correct the DOM attribute value mapping for some of the other values as well. b=192077 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@179347 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 22:46:45 +00:00
scott%scott-macgregor.org
7f703fae26
Bug #282103 --> minor dynamic overlay improvements.
...
Add IDL documentation stating that it's ok to pass in a null observer to LoadOverlay
Make sure .Init() succeeds on our hashtables, otherwise return an out of memory error code.
r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@179344 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 21:57:01 +00:00
bzbarsky%mit.edu
d3e53a63c2
Add support for :valid, :invalid, :in-range, and :out-of-range pseudo-classes.
...
Bug 302462, patch by Allan Beaufour <allan@beaufour.dk >, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179340 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 20:56:46 +00:00
mats.palmgren%bredband.net
d2f4f17e49
Fix the IsFocusable() check for XUL frames. b=305840 r=aaronleventhal sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@179335 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 20:22:55 +00:00
bzbarsky%mit.edu
00bdd69268
Make sure kepress handlers are not affected by Caps Lock state. Bug 295228,
...
patch by Dainis Jonitis <Dainis_Jonitis@swh-t.lv >, r=neil, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179325 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 18:13:48 +00:00
bzbarsky%mit.edu
1812f65d2f
Implement :enabled and :disabled CSS pseudo-classes. Bug 84400, patch by Allan
...
Beaufour <allan@beaufour.dk >, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179280 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 03:31:47 +00:00
cbiesinger%web.de
36b464860c
Bug 306260 call methods of the direct base class, instead of
...
nsGenericHTMLElement
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@179190 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-29 11:06:19 +00:00
dbaron%dbaron.org
874d8e8784
Back out most of the rest of bug 304462.
...
git-svn-id: svn://10.0.0.236/trunk@179160 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-28 16:45:39 +00:00
dbaron%dbaron.org
38837cf82d
Back out part of bug 304462 until I can figure out bug 306210.
...
git-svn-id: svn://10.0.0.236/trunk@179156 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-28 05:18:55 +00:00
bzbarsky%mit.edu
049e52625b
Fix comment per my review comments. Bug 305640.
...
git-svn-id: svn://10.0.0.236/trunk@179124 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-27 05:16:06 +00:00
dbaron%dbaron.org
c0f10d9c21
Give popup blocked events a message constant. b=304462 r+sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@179107 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 21:38:38 +00:00
aaronleventhal%moonset.net
b326dc4b07
Bug 305840. Focus problems with XUL textbox, causing problems in findbar, help and address bar because of exception thrown. Patch by Mats Palmgren. r=aaronleventhal, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@179069 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 18:45:23 +00:00
bzbarsky%mit.edu
41e3f72519
Limit xbl:implements a tad. Bug 299518, r=jst, sr=shaver
...
git-svn-id: svn://10.0.0.236/trunk@179051 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 14:47:35 +00:00
mozilla.mano%sent.com
f9b3f554d6
backing out patch i didn't mean to checkin in v1.592 of this file
...
git-svn-id: svn://10.0.0.236/trunk@179037 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 10:15:31 +00:00
tor%cs.brown.edu
bb85419dbd
Bug 282579 - Implement <svg:textPath>. As a side effect, this removes
...
the gdi+ text highlighting code. r=afri
git-svn-id: svn://10.0.0.236/trunk@179022 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 02:49:52 +00:00
jwatt%jwatt.org
367f62b614
Build bustage fix from 302103 - new files had DOS line endings
...
git-svn-id: svn://10.0.0.236/trunk@179013 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 23:19:33 +00:00
tor%cs.brown.edu
0a8a03a216
Build bustage fix from 302103.
...
git-svn-id: svn://10.0.0.236/trunk@179001 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 21:57:31 +00:00