Commit Graph

1881 Commits

Author SHA1 Message Date
Andreas Gal
20afe268df Use proper exported JS_PUBLIC_API function (follow-up for 581264). 2010-07-23 16:08:59 -07:00
Andreas Gal
a5591066f8 Don't use broken js_NewArrayObjectWithCapacity API (581264, r=bz,jst,dwitte). 2010-07-23 15:25:42 -07:00
Robert Sayre
1b744a7685 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Blake Kaplan
de74d9d8f4 Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst 2010-07-19 13:36:49 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Robert Sayre
38029f43fa Merge mozilla-central to tracemonkey. 2010-07-12 20:42:21 -07:00
Brandon Sterne
d00b64ec5d Bug 578182. CSP causing leaks due to repeated AddBoolPrefVarCache call from nsDocument constructor. r=dveditz 2010-07-12 20:12:32 -07:00
Mats Palmgren
2cc4e040ea Make it possible to drag a non-selectable node again. b=574596 r=dbaron 2010-07-12 22:24:25 +02:00
Robert Sayre
34b4182b78 Merge mozilla-central to tracemonkey. 2010-07-08 18:15:52 -07:00
Benjamin Smedberg
9c471dc851 Bug 577076 - Some chrome images are not loading properly (XUL scrollbars, profile manager icons, Fennec icons), r=bz 2010-07-08 16:26:54 -07:00
Robert Sayre
1ae649adc3 Merge mozilla-central to tracemonkey. 2010-07-06 11:05:39 -07:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Robert Sayre
70fc03b113 Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
Benjamin Smedberg
ab295cd35f Bug 576540 - nsContentUtils::Init is getting the image loader module, which is initializing the graphics module before they expect to be initialized. This breaks the chain by lazily initializing the image loader and image cache from contentutils, r=joe sr=bz
--HG--
extra : rebase_source : cb612418b6e4be90bace1e69f5ff9432496687f7
2010-07-02 17:15:52 -04:00
Timothy Nikkel
976046bf62 Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats 2010-07-02 14:11:04 -05:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Mark Banner
9fbcba7a6f Bustage fix from bug 578262 - fix disable-ipc bustage by ifdefing ipc-only items. (Bug 579984). 2010-07-19 21:24:41 +01:00
Zack Weinberg
76dbdde0f4 Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
2010-06-28 15:49:35 -07:00
Zack Weinberg
9c006a4ff7 Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron 2010-06-28 15:49:35 -07:00
Chris Jones
8474666a66 Bug 559534: Forward nsIXULWindow.chromeFlags to remote tabs. sr=bsmedberg 2010-07-19 13:33:33 -05:00
Chris Jones
d37c23f270 Bug 578262: Clean up style in and remove build warnings from new-ishly merged e10s code. r=bsmedberg
--HG--
rename : dom/ipc/ContentProcessChild.cpp => dom/ipc/ContentChild.cpp
rename : dom/ipc/ContentProcessChild.h => dom/ipc/ContentChild.h
rename : dom/ipc/ContentProcessParent.cpp => dom/ipc/ContentParent.cpp
rename : dom/ipc/ContentProcessParent.h => dom/ipc/ContentParent.h
rename : dom/ipc/ContentProcessProcess.cpp => dom/ipc/ContentProcess.cpp
rename : dom/ipc/ContentProcessProcess.h => dom/ipc/ContentProcess.h
rename : dom/ipc/PIFrameEmbedding.ipdl => dom/ipc/PBrowser.ipdl
rename : dom/ipc/PContentProcess.ipdl => dom/ipc/PContent.ipdl
2010-07-19 13:33:33 -05:00
Olli Pettay
09290d1c85 Bug 575374 - Optimize ::GetInnerHTML (part 2), r=jst
--HG--
extra : rebase_source : 6e1574ed157561540b74d9f19b61f6292a42367e
2010-07-19 13:35:02 +03:00
timeless@mozdev.org
bde8d8231d Bug 579298 warning: comparison between signed and unsigned integer expressions in SendSyncMessageToParent()
r=bent

--HG--
extra : rebase_source : 980ab566cc21a492ca8b616a3eb39514b02d910d
2010-07-18 04:26:38 +03:00
Craig Topper
b93dfec4ea Bug 578905 - Let nsRange methods from DOM interfaces use NS_IMETHODIMP on their implementations. r=bz 2010-07-17 18:24:50 +02:00
Michael Ventnor ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
d512b62fb4 Bug 566480 - Make dragging the menubar drag the window on GTK themes where that should work (and also fix GTK resize drags to initialize drag better). r=karlt,dbaron,enn,dao 2010-07-17 10:11:54 +02:00
Ms2ger@gmail.com
dcad0405ef Bug 577081 - nsAttrValue::ParseColor doesn't need a document parameter anymore. r=jst 2010-07-17 10:09:14 +02:00
timeless@mozdev.org
32ea0e50a5 Bug 565617 nsChannelPolicy::nsChannelPolicy() should initialize mLoadType
r=bsterne

--HG--
extra : rebase_source : 6204cc0c59e0896eab5996f85f136fb0523dd447
2010-07-07 17:22:25 +03:00
Olli Pettay
8a92c7d461 Bug 581325 - Less nsCOMPtr usage in BindToTree, r=bz 2010-07-27 21:39:13 +03:00
Neil Deakin
904a84dffc Bug 552982, Part 3: support panel levels, r=mats 2010-07-27 09:38:03 -04:00
Peter Van der Beken
54a3679793 Part 6 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - pass the wrapper cache to WrapNative. r=jst.
--HG--
extra : rebase_source : 06db2c01b59630cd47c6d9d4f2302bf952233897
2010-05-10 20:53:05 +02:00
Peter Van der Beken
c872db9372 Part 4 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make GetNamedItem return the wrapper cache. r=jst.
--HG--
extra : rebase_source : 584b74ed06c59bbf08c20e3a8a3b10dd7d540592
2010-05-09 21:41:19 +02:00
Peter Van der Beken
76cf6809a4 Part 3 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - make GetNodeAt return nsIContent*. r=jst.
--HG--
extra : rebase_source : 4653ed3c0f67141bbace1b1973db4aca4b4d908d
2010-05-09 21:33:00 +02:00
Olli Pettay
abf43f852b Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Boris Zbarsky
29f6154921 Bug 579744. Extract the actual content type from the attribute value before using it as a type hint for the channel. r=jst 2010-07-22 17:33:38 -04:00
Boris Zbarsky
cde30a5919 Bug 581007. We might not have an ownerDocument. r=jst 2010-07-22 17:33:37 -04:00
Masayuki Nakano
660981e020 Bug 389372 - Contenteditable node is still editable without focus; r=ehsan,masayuki,roc sr=jst a=blocking-2.0:betaN+ 2010-07-22 12:22:44 -04:00
wfernandom2004@gmail.com
d5782a9534 Bug 578276 - websocket test suite is pretty flaky, r=smaug, a=benjamin
--HG--
extra : rebase_source : 73af3b9a4c48ed1ac89895412bc9868156d6f12e
2010-07-21 19:05:56 +03:00
Olli Pettay
8d289f0549 Bug 580094 - Few SetInnerHTML micro optimizations , r=jst, a=benjamin
--HG--
extra : rebase_source : d23e9583ef631e1a93d6aece9c3543c4b23ed9c2
2010-07-21 19:03:21 +03:00
Masayuki Nakano
d7540e477b backout the previous my check-ins 2010-07-22 11:11:34 +09:00
Masayuki Nakano
742e98c291 Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst 2010-07-22 08:46:52 +09:00
Craig Topper
6ad94d826e Bug 577438 Part 3: Make TreeWalker use new tree walking functions. r=sicking 2010-07-21 15:05:23 -07:00
Craig Topper
5b63b9520a Bug 577438 Part 2: Make NodeIterator use new tree walking functions. r=sicking 2010-07-21 15:05:20 -07:00
Craig Topper
b9673b8709 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Brandon Sterne
d6c74984ec Bug 475530 - X-Frame-Options w/ redirect to about:blank, r=jst 2010-07-21 08:51:09 -07:00
Boris Zbarsky
93922db9e1 Bug 578696 part 11. Stop holding strong refs when calling ContentRemoved and remove the now-unused IMPL_STRONGREF_MUTATION_NOTIFICATION macro. r=sicking 2010-07-21 11:37:41 -04:00
Boris Zbarsky
235296fdf0 Bug 578696 part 10. Stop holding strong refs when calling ContentInserted. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
998b474e42 Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
8cfe0849e3 Bug 578696 part 8. Stop holding strong refs when calling AttributeChanged. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
39c6f594bb Bug 578696 part 7. Stop holding strong refs when calling AttributeWillChange. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
ae9e1bc03c Bug 578696 part 6. Stop holding strong refs when calling CharacterDataChanged. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
76ef6dec31 Bug 578696 part 5. Stop holding strong refs when calling CharacterDataWillChange. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
b8256cdb51 Bug 578696 part 4. Stop holding strong refs when calling NodeWillBeDestroyed. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
fc02cf625f Bug 578696 part 3. Stop holding strong refs when calling ParentChainChanged. r=sicking 2010-07-21 11:33:31 -04:00
Boris Zbarsky
b891fc7b78 Bug 578696 part 1. Create new macros to notify nsTObserverArray observers without holding strong refs. No behavior changes yet. r=sicking 2010-07-21 11:33:31 -04:00
Johnny Stenback
b26e56fce3 Fixing bug 580445. Fix loop condition and remove extra null check. r=jonas@sicking.cc 2010-07-20 20:29:25 -07:00
Peter Van der Beken
8ac29c76fa Part 2 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsHTMLOptionElement in nsHTMLOptionCollection instead of nsIDOMHTMLOptionElement. r=jst.
--HG--
extra : rebase_source : 0dab994cd3bfbc72b7b876876b89b138cb3290f1
2010-05-09 20:32:57 +02:00
Peter Van der Beken
8c1a0bae2b Part 1 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsDOMAttribute in nsDOMAttributeMap instead of nsIDOMNode. r=jst.
--HG--
extra : rebase_source : d9a660d478412545c7f1717b034b04d419111757
2010-04-19 17:41:39 +02:00
Markus Stange
b5159a8bd0 Bug 392188 - Add a XUL attribute called "clickthrough" that determines whether an element accepts mouse events when it's in a background window. r=smaug 2010-07-16 14:50:28 +02:00
Robert O'Callahan
e98a518e3c Bug 564991. Part 34: Make sure that ThebesLayerBuffers are always allocated as similar surfaces to the widget surface, whenever possible. r=cjones 2010-07-16 09:08:10 +12:00
Vivien Nicolas
e5affe632f Bug 568818 - sendSyncMessage fails with 'SyntaxError: JSON.parse' if one of the listeners did not return a value [r=smaug] 2010-07-15 16:33:35 +02:00
Henri Sivonen
e985ea0186 Bug 560256 - Ignore document.write() from external scripts when there is no proper insertion point. r=jonas. 2010-06-19 09:38:41 +03:00
Dão Gottwald
a2e4b780ff Backed out changeset adaf0592cdfa 2010-07-15 12:37:32 +02:00
Vivien Nicolas
886f83302e Bug 568818 - sendSyncMessage fails with 'SyntaxError: JSON.parse' if one of the listeners did not return a value [r=smaug] 2010-07-15 09:46:36 +02:00
Zack Weinberg
63f91528d4 Bug 558235 part 2: Kill CSS2PropertiesTearoff. r=dbaron 2010-07-14 13:58:56 -07:00
Peter Van der Beken
ba965ac95d Backout 249ee5a4b51d, f3003a80bf28 and 1b4359586ce5 to fix leak.
--HG--
extra : rebase_source : effdeb6ac33a5a065689ca5c3f8f6da249eb6375
2010-07-14 15:45:11 +02:00
Robert Sayre
7846424f94 Merge 2010-07-14 06:00:55 -07:00
Peter Van der Beken
b7843c8de4 Part 2 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsHTMLOptionElement in nsHTMLOptionCollection instead of nsIDOMHTMLOptionElement. r=jst. 2010-05-09 20:32:57 +02:00
Peter Van der Beken
7fa945a5b8 Part 1 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - store nsDOMAttribute in nsDOMAttributeMap instead of nsIDOMNode. r=jst. 2010-04-19 17:41:39 +02:00
Benjamin Smedberg
a249678c04 Final merge and landing of bug 568691 and dependent bugs to mozilla-central on a CLOSED TREE.
* bug 568691, register XPCOM components statically using manifests. r=mossop, with some test and build stuff r=vlad,sdwilsh
* bug 573557, rename categories with spaces to use hypens. r=jst
* bug 573739, Don't get the private browsing service during layout module initialization, r=ehsan

This initial merge does not include some work planned to land imminently:
* The extension manager still restarts. I need to solve a problem re-reading default preferences from extensions.
* MOZ_OMNIJAR is broken: there is a patch which I need to update in bug 568691.
* I will concurrently land a mobile-browser fix for component registration, but it may require some additional packaging changes.
2010-07-01 14:26:25 -04:00
Bobby Holley
8db50ef764 Bug 575377 - Loading forever on pages with multipart image/motion jpeg streams.r=bzbarsky 2010-07-01 10:42:58 -07:00
wfernandom2004@gmail.com
4f2270ce12 Bug 575293 - Fire the close event on WS when establishing the connection fails, r=smaug
--HG--
extra : rebase_source : 04d8d8db2ebc6174757357de109c30c0fdb24bfd
2010-07-01 19:35:57 +03:00
wfernandom2004@gmail.com
e875574fed Bug 575701 - build warning in nsDOMEventTargetWrapperCache.cpp
--HG--
extra : rebase_source : 7a70347e3eda412bb64020fd23a29c6cae1e17c2
2010-07-01 19:34:51 +03:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
c71e024222 Bug 574457 - Back out the functional changes from revision 0327e126ea24, bug 569644, because of 100ms (20%) Ts regression on Linux/Mac. This leaves the nsIContentUtils helper function, but restores the plugin host category entry munging. 2010-06-29 16:56:13 -04:00
Benjamin Smedberg
c16cf0f0c5 Fix a bunch of test failures caused by typos or other issues from bug 568691. 2010-06-27 14:03:05 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Ms2ger
27a3b29543 Implement the figure element. r=jst+timeless+ehsan (Bug 573356) 2010-06-23 10:08:56 -07:00
Ivan Enderlin ext:(%2C%20Mounir%20Lamouri%20%3Cmounir.lamouri%40gmail.com%3E%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
4164b0645e Implement the mark element. r=jonas+timeless (Bug 485377) 2010-06-23 10:08:56 -07:00
Ginn Chen
709634168d Bug 569319 typedef caused mangled name mismatch for AddIDTargetObserver r=bz 2010-06-23 17:31:35 +08:00
Benjamin Smedberg
5cab25b52b Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Benjamin Smedberg
ed3a49c9a2 Address review comments from bug 568691 comment 13/14/17:
* rename mozilla::Module struct entries to be clearer
* change Module documentation so that the last entry is { NULL } in all cases (the compiler will 0-expand the structure)
* remove NS_XPCOM_COMPONENT_REGISTRY_FILE
* add MOZ_MEDIA/MOZ_OGG/MOZ_WAVE/MOZ_WEBM ifdefs to nsHTMLMediaElement.h and nsContentUtils.cpp
2010-06-21 12:46:26 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Olli Pettay
41b6035eee Bug 568955 - Optimize nsDOMEvent::SetEventType, r=sicking
--HG--
extra : rebase_source : e98c945ce5e7b494bd2046efd6dc7b8379fabc51
2010-06-22 21:12:12 +03:00
Johnny Stenback
660ac78445 Merge of backout of fix for bug 572609. CLOSED TREE 2010-06-21 22:41:52 -07:00
Johnny Stenback
b5ac9ee398 Backed out changeset 82a21d443b5e 2010-06-21 22:39:53 -07:00
Johnny Stenback
63e3022e0d Fixing bug 572614. Eliminate double hash lookups in document.getElementById(). r=jonas@sicking.cc 2010-06-21 19:59:37 -07:00
Johnny Stenback
6268e31519 Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-21 19:58:50 -07:00
Olli Pettay
5cac785da5 Bug 573422 - WebSocket .URL should be .url, r=sicking
--HG--
extra : rebase_source : 4dd3004568043ce8c3ec7e16f116de2639e3d6ee
2010-06-21 22:56:03 +03:00
Ehsan Akhgari
15f38d3100 Bug 365805 - Copy/paste lists should not add #; r=jst 2010-06-21 15:56:18 -04:00
Benjamin Smedberg
9045c05660 Bug 568691 part A - register static and binary components using data tables rather than programmatic nsIComponentRegistrar methods. This part contains the important needs-review bits of the change: part B contains the mechanical changes to each module in order to actually get a working build. Part C will contain changes necessary to register JS components from .manifest files 2010-06-10 14:11:11 -04:00
Benjamin Smedberg
80b423e0a0 Bug 569644 - Query the plugin host directly when searching for MIME types, rather than using Gecko-Content-Viewer category manager registration, r=bz 2010-06-10 12:42:16 -04:00
Olli Pettay
8f81d70abb Bug 566024 - Add a 'global' messageManager, r=jst 2010-06-10 12:26:19 +03:00
Dão Gottwald
b314909c2e Backed out changeset db6f8068e9a5 2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg 2010-06-29 17:14:36 +02:00
Felipe Gomes
6a58c784dc Bug 555081 - Add support for titlebar mouse interaction and address missing aero features. r=jmathies, smaug, vlad. 2010-06-28 01:04:05 -05:00
wfernandom2004@gmail.com
abe089666e Bug 572975, bug 573227, websocket fixes, r=smaug
--HG--
extra : rebase_source : d9b5160666ce18344abb47634fa94405c9c2d070
2010-06-28 00:09:29 +03:00
Olli Pettay
9beb7327ce Bug 574089 - Optimize ::GetInnerHTML
--HG--
extra : rebase_source : 02293c479066a5edaa6343778421da55b84a69f7
2010-06-27 00:59:32 +03:00