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

4727 Коммитов

Автор SHA1 Сообщение Дата
Neil Deakin 8491400c96 Bug 511449, when a window is shown, update the system focus, as the focus may have been put into an about:blank page loaded beforehand, test by mstange, r=smaug 2009-10-16 10:32:05 -04:00
Serge Gautherie da24f0dedd Add |ok(true, ...);|.
Bug 483624 - Mochitest bugs/test_bug479143.html runs fine but needs to check/report success; (Av1).
r+sr=jst
2009-11-05 01:46:38 +01:00
Ben Turner 46834b0ee5 Add NPN_Evaluate and NPN_Push/PopPopupsEnabledState support 2009-10-13 10:54:41 -07:00
Benjamin Smedberg 960781ec85 Merge mozilla-central to electrolysis to pick up bug 515436. 2009-10-12 10:51:38 -04:00
Rich Walsh 2a2bea0133 [OS/2] Bug 516274 - fix plugin focus issues, r=pweilbacher 2009-10-12 11:10:38 +02:00
Boris Zbarsky c67f8e72a5 Add some much-needed documentation for getAnonymousNodes. No bug. 2009-10-11 22:45:00 -04:00
Karl Tomlinson de31404147 b=521376 remove XSynchronize from plugin process r=cjones 2009-10-12 12:54:49 +13:00
Takeshi Kurosawa 9987263299 Bug 521631 - remove SVGSVGElement::createSVGString. r=longsonr 2009-10-11 16:48:36 +01:00
Chris Jones f1b7dc69e2 nsDependentCString must be null-terminated, but byte buffers do not. temporary fix until we start using a "real" byte buffer 2009-10-09 01:24:46 -05:00
Ben Turner e95bb870a8 Remove testplugin for ipc, we can run the real one now. 2009-10-08 14:40:51 -07:00
Ben Turner e06629ffc5 Oops, revert bad changes 2009-10-08 12:23:04 -07:00
Ben Turner 64cfab94c4 Add threadsafety assertions to plugin code 2009-10-08 12:11:13 -07:00
Ben Turner 6d1571567b Oops, missed two 2009-10-08 11:45:20 -07:00
Ben Turner e512cd4cd8 Crash fixes, must initialize variants before returning true 2009-10-08 11:36:50 -07:00
Chris Jones 745fd38927 implement NPN_UserAgent, which was trickier than expected 2009-10-08 02:54:16 -05:00
Chris Jones f3992ab813 fix some simple crasher bugs 2009-10-08 00:49:30 -05:00
Dão Gottwald 0483e930c3 Bug 524533 - mozGetFileNameArray length out param should be optional. r=sicking 2009-10-28 08:01:22 +01:00
Ben Turner 423c5543dd Bug 516524 - Support NPRuntime across processes. r=bsmedberg. 2009-10-07 16:50:48 -07:00
Ben Turner 1458356fce Merge mozilla-central 2009-10-05 16:08:52 -07:00
Frederic Plourde 4f0745ce30 Bug 513990 - Add provisions to nsFrameLoader for reflow and resize events. r=bzbarsky 2009-10-05 07:52:19 -04:00
Markus Stange d113609b2f Bug 520494 - Implement the Cocoa print dialog in a way that works on 10.4. r=josh, r=rs
--HG--
rename : toolkit/locales/en-US/chrome/global/gnomeprintdialog.properties => toolkit/locales/en-US/chrome/global/printdialog.properties
2009-10-09 18:20:37 +13:00
Markus Stange 7ee5cecce4 Merge backout of bug 456646. 2009-10-09 18:15:34 +13:00
Markus Stange 94f4ccb97f Backed out changeset 8c4658f8f0dc, bug 456646 (Cocoa print dialog) - we can do better. 2009-10-09 18:14:31 +13:00
Taras Glek 387de8cf2e Backed out changeset e22bef491d84 2009-10-08 16:43:55 -07:00
Taras Glek d07c55d805 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz 2009-10-08 11:22:50 -07:00
Chris Jones 2151b59798 Merge backout 2009-10-02 18:09:39 -05:00
Chris Jones 708e2e04ae Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Daniel Holbert 176ee39664 Bug 474049: Add support for SMIL animation of CSS properties in SVG. r=birtles sr=roc 2009-10-02 14:37:25 -07:00
L. David Baron 87aaedc9a4 Fix spelling of synthetic in macro name. 2009-10-02 14:06:42 -07:00
Chris Jones f2df9d3504 bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Karl Tomlinson 3ed5b0a4b2 b=519896 NPN_InvalidateRect r=cjones 2009-10-01 17:09:21 +13:00
Ben Newman ab706d3f74 Bug 518003 - implement function to check whether element matches a CSS selector. r+sr=bzbarsky
--HG--
extra : rebase_source : 67a7867a5cca52c867a8ee7daeea1bd1e613f1bc
2009-09-30 15:17:14 -07:00
Boris Zbarsky 88806f4b54 Bug 514120. Don't bother looking for XBL bindings on non-XUL nodes in display:none subtrees. r=sicking,enn 2009-10-01 16:17:25 -04:00
Markus Stange 24f7463d0c Bug 456646 - Replace Carbon printing dialog with Cocoa one. r=josh, r=bsmedberg, sr=jst
--HG--
rename : toolkit/locales/en-US/chrome/global/gnomeprintdialog.properties => toolkit/locales/en-US/chrome/global/printdialog.properties
extra : rebase_source : 80b46470b496313b6994366cb953abed5bb0849e
2009-10-01 11:15:32 +13:00
Karl Tomlinson 6256ea2a09 b=519641 pass visual and colormap to plugin process r=cjones 2009-10-01 10:36:14 +13:00
Chris Jones f8a593bfbe update plugin process NPNetscapeFuncs interface (with stub impls) to the most recent NPAPI. 2009-09-29 13:50:11 -05:00
Chris Jones 4592c2c15d fix stupid bug in deserialization of NPWindow. X11 windowless plugins now work. 2009-09-25 15:35:03 -05:00
Chris Jones c83bd901e1 forward NPWindow.{x, y} properly. no windowless gfx yet, but closer. thanks=karlt 2009-09-25 11:16:44 -05:00
Chris Jones 39379cfc8a attempt to fix linux build 2009-09-25 00:17:29 -05:00
Chris Jones 13cbfa2955 pre-fix windows bustage. thanks=bent 2009-09-24 21:14:41 -05:00
Chris Jones 026f20f14d basic support for windowless X11 plugins. gfx not quite working yet 2009-09-24 21:03:59 -05:00
Benjamin Smedberg b30e208aa5 More plugin crash fixes: failure from NPP_Write doesn't actually destroy the stream, it just tells the browser to destroy the stream. NPP_NewStream resulting from NPN_GetURLNotify didn't have the notifyData field set correctly. Other minor logging and cleanup.
--HG--
extra : rebase_source : 932c0290a7c1779275266607d5e853d5c1994396
2009-09-23 19:00:23 -04:00
Ben Turner 9914a675f3 Merge mozilla-central 2009-09-23 13:14:34 -07:00
Ben Turner f726ffaf7b Bustage fix for linux 2009-09-23 00:48:28 -07:00
Ben Turner e79eab04e0 Finish up child-side NPRuntime. Now plugin-provided NPObjects should be totally supported. Browser-provided objects still unsupported. 2009-09-23 00:12:52 -07:00
Markus Stange c2055691da Bug 515003 - Rewrite native mouse event handling. Also add tests for native mouse events (bug 470845). r=josh, sr=roc 2009-09-23 14:31:37 +12:00
Benjamin Smedberg 2efdc3145d Fix streams to work. Be consistent about AStream* for pdata/ndata. Set up pdata before actually calling the constructor. Implement functions which were stubbed out without TODO comments. This passes the stream tests!
--HG--
extra : rebase_source : fb5dbbd43a1588efad83b80760b82f40ad1eff3f
2009-09-22 17:06:00 -04:00
Chris Jones 8d3e0640b8 bug 517977: require actor impls to override AllocPFoo/DeallocPFoo instead of PFooConstructor/PFooDestructor 2009-09-22 12:31:11 -05:00
Chris Jones 50ed6c02c5 bug 517923: support serializing ns*Strings that represent NULL, use this mechanism in PluginInstanceParent/PluginModuleChild. also add basic crash-handling to *Channel code and some NS_OVERRIDE annotations. 2009-09-21 21:02:15 -05:00
Benjamin Smedberg 7a91b6b1de Implement Plugin->Browser streams. In a very basic form the first plugin instantiation passes the new plugin stream tests, but subsequent instantiations don't: I think there's some shutdown/startup issue (the plugin is being unloaded, perhaps?) 2009-09-21 10:51:35 -04:00
Benjamin Smedberg 2056ffeb78 __FUNCTION__ is not a preprocess macro: it is a symbol which ends up being a const char* for the current function. You can't concatenate it with other stuff. 2009-09-21 11:46:38 -04:00
Benjamin Smedberg 54ae75f5f4 Merge mozilla-central into electrolysis to pick up new plugin tests. 2009-09-21 10:57:57 -04:00
Ben Turner 596ccf5e7a Merging mozilla-central once more to hopefully clear windows unit tests 2009-09-20 10:47:21 -07:00
Ben Turner 7935719c87 More nsresult -> bool fixes, and fix windows bustage from NPEvent stub impl. 2009-09-19 12:24:24 -07:00
Chris Jones ccac220704 fix more bustage related to nsresult-to-bool switch. committing initial (untested!) NPEvent forwarding caught in the crossfire 2009-09-18 20:19:11 -05:00
Vladimir Vukicevic d023bfc631 b=517557; remove --enable-canvas; r=ted 2009-09-18 16:48:35 -07:00
Benjamin Smedberg 379dcfab05 Fix up dom/plugins code for bug 516661 - no more nspluginsdefs.h! 2009-09-18 17:01:09 -04:00
Benjamin Smedberg 03bc0e116d Merge mozilla-central into Electrolysis. 2009-09-18 16:47:18 -04:00
Matin Movassate 1ba0cf09e4 Bug 507805: Support FileRequest API for reading Files. r/sr=sicking 2009-10-07 01:30:26 -07:00
Chris Jones 16c57e27c9 fix changes that busted ipc-test plugin 2009-09-17 20:49:04 -05:00
Chris Jones ad7cc03628 switch message handler nsresult return types to bool. appears to break test plugin, will be temporary 2009-09-17 18:09:20 -05:00
Ben Turner 151058edaa Landing the first part of NPRuntime support for plugin-side objects. Not hooked up yet. 2009-09-17 15:15:12 -07:00
Ben Newman a13534936f Bug 260264 - Popups from a Site that is in the "Allowed List" (whitelist) are blocked, starting with the n-th popup (dom.popup_maximum). r+sr=jst 2009-09-16 11:46:05 -07:00
liucougar 1c056a43ec Bug 396392. Don't change frozen nsIDOMRange interface, put the new methods on nsIDOMNSRange instead. r=roc 2009-11-04 07:39:43 +13:00
Blake Kaplan a03c404963 Bug 522430 - Don't hand out unexpected objects. r=jst sr=sicking 2009-10-20 17:22:16 -07:00
Vladimir Vukicevic 88afa1cc2e [webgl] Reland earlier-backed out patches, b=520708, b=520920, b=522201; r=me/mwsteele 2009-11-01 16:33:39 -08:00
Vladimir Vukicevic 51345f632c Revert previous commits due to weird talos crash. 2009-10-30 01:09:24 -07:00
Mark Steele 25a885d652 b=520920, update WebGL arrays to support views, r=vlad 2009-10-29 23:01:06 -07:00
Boris Zbarsky 9804e7b2dc Bug 523666. Make nsGenericHTMLFormElement::mForm an nsHTMLFormElement. r=sicking 2009-10-29 21:49:11 -04:00
Paul O’Shannessy e759e740d7 Bug 511503 - Need events for window focus / activation. r=Enn 2009-10-29 12:11:00 -07:00
Gijs Kruitbosch c888c1980e Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Olli Pettay 62344a3ec7 Bug 508479 - HTML5 Drag and Drop: Drop event on elements that are not drop targets, r=enn, sr=sicking 2009-10-29 13:11:02 +02:00
Johnny Stenback 4c40ecf75e Adding missing files from my previous commit. 2009-10-06 17:25:56 -07:00
Johnny Stenback 0f5b5ba5ba Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-10-06 17:09:16 -07:00
Boris Zbarsky 0b451e51ec Bug 519905. Avoid some QIs to nsWrapperCache. r=peterv 2009-10-05 19:16:22 -04:00
Ms2ger e138a2550c Bug 520353. querySelector(), querySelectorAll() and mozMatchesSelector() handle null and undefined incorrectly. r=bzbarsky 2009-10-05 19:16:22 -04:00
Robert O'Callahan 60a2f7d116 Bug 513144. Basic implementation of mozLoadFrom API. r=doublec
--HG--
extra : rebase_source : 71d04afaf21d268e3eddbb40e9894479698d1bfc
2009-09-15 14:30:44 +12:00
Matthew Gregan 466c733803 Bug 481057 - Fire MEDIA_ERR_DECODE errors when a decoding error occurs. r=chris.double, sr=roc
--HG--
extra : rebase_source : a07687f16726086dd425eef8907788019beebbe1
2009-09-22 12:08:13 +12:00
Neil Deakin dc9b8b8573 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Masayuki Nakano c673342285 Bug 517787 Clicking a partially off-screen link shouldn't scroll the page (again) r=enndeakin 2009-09-22 00:58:16 +09:00
Neil Deakin 2f68128a63 Bug 498799, use waitForFocus for test_focus.xul in various places 2009-09-18 13:02:44 -04:00
Vladimir Vukicevic c62e96b0c0 b=516213; Freshen WebGL implementation and enable on trunk (part 2); r=mwsteele,roc 2009-09-17 23:01:12 -07:00
Mark Steele b109b87a48 b=516213; freshen WebGL implementation and enable on trunk (part 1); r=vlad 2009-09-17 23:01:07 -07:00
Robert O'Callahan 1da8163981 Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Mark Steele fb27339c8b b=517717; fix up webGL array compat (rename WebGL*Array->Canvas); r=vlad 2009-09-20 14:33:40 -07:00
Josh Aas 2a7ea592aa Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Blake Kaplan 785911363a Merge tracemonkey to mozilla-central. 2009-09-16 16:15:59 -07:00
Ehsan Akhgari 1af2aae951 Bug 497032 - "ASSERTION: Oops! You're asking for a weak reference to an object that doesn't support that" on bankrate.com (geolocation on stack); r=sicking 2009-09-15 14:40:10 +04:30
Phil Ringnalda cbb05845ba Bug 515582 - Remove unused (and heinous) webservices strings, r+sr=jst 2009-09-13 16:05:55 -07:00
Neil Deakin 51b0e867e6 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-13 09:13:16 -04:00
Peter Van der Beken 113419688c Fix for bug 512645 (Only clamp nested timeouts). r=jst.
--HG--
extra : rebase_source : 556930c0c02258f75becabe58eadd202fdea59a1
2009-08-26 11:07:39 -07:00
Josh Aas ab17acd8b4 Cocoa event model: 1) fix spurious NPP_SetWindow calls 2) propagate event model immediately. b=527115 r=smichaud r=roc 2009-11-09 22:58:48 -05:00
Jonas Sicking 8f545535ea Bug 503481: Implement async attribute 2009-11-09 17:04:24 -08:00
Jonas Sicking d954edae7f Bug 527370: Rename some things in order to match the latest File API spec. Specifically FileRequest -> FileReader and .response -> .result. r=smaug sr=jst
--HG--
rename : content/base/public/nsIDOMFileRequest.idl => content/base/public/nsIDOMFileReader.idl
rename : content/base/src/nsDOMFileRequest.cpp => content/base/src/nsDOMFileReader.cpp
rename : content/base/src/nsDOMFileRequest.h => content/base/src/nsDOMFileReader.h
2009-11-09 12:05:16 -08:00
Nochum Sossonko df32b0ef6e Bug 491759 - Clear geolocation token when exiting private browsing; r=dougt,ehsan 2009-11-06 19:05:52 -05:00
Dave Townsend 22c6d8824b Bug 526635: Interfaces changed on the 1.9.2 branch with no IID rev. r=enn, r=vlad, r=josh, r=mak77, r=ted, r=roc 2009-11-06 11:31:22 -08:00
Olli Pettay 2d83c2550e Bug 448602 - Have a way to enumerate event listeners, r=bz
--HG--
extra : rebase_source : 77ed96b23db73ae78ed7f34ed231daf84fae1f54
2009-10-16 11:57:32 +03:00
Jesse Ruderman 52a69cd192 Add more crashtests 2009-10-15 14:22:11 -07:00
Blake Kaplan fc4b1187b7 Bug 509557 - Don't do a bunch of extra work and create a bunch of extra objects during window creation. 2009-08-18 21:02:05 -07:00
Martin McNickle fdb442917d Bug 515335. Distance calculation between 2 geocoordinates incorrect for points not on the equator. r=dougt.
--HG--
extra : rebase_source : 7f73773d16fb2ecee1f57e0c106b014c2f424de9
2009-09-10 07:47:32 -07:00