Commit Graph

282 Commits

Author SHA1 Message Date
Josh Aas
dc18091697 Add support for Cocoa NPAPI complex text input. This patch contains a TSM-based implementation for 32-bit builds, and an NSInputContext-based implementation for 64-bit builds. b=512886 r=smichaud sr=jst 2010-06-09 20:56:17 -04:00
Benoit Girard
22930b5f78 Implement InvalidatingCoreAnimation Drawing Model. b=559211 r=josh 2010-06-09 00:11:48 -04:00
Benoit Girard
da16c54e88 Don't paint OSX plug-ins with empty clip. b=568382 r=roc 2010-06-09 00:11:46 -04:00
Robert O'Callahan
1585ad342c Bug 568390. When a Mac plugin is instantiated, as well as showing the widget we need to explicitly invalidate our frame. r=josh 2010-06-01 11:38:40 +12:00
Josh Aas
03620e7281 Simple removal of a couple of scope levels in Mac OS X object frame event handling code. No bug. r=roc 2010-05-26 20:19:13 -04:00
Benoit Girard
fcb1e692fc Remove CGContextSaveGState from nsObjectFrame. This is now done in cairo_quartz_get_cg_context_with_clip. b=562742 r=jmuizelaar 2010-05-20 15:22:44 -04:00
Benoit Girard
5742a80a1b Use IOSurface for in-process CoreAnimation on OS X 10.6+ b=559259 r=josh. 2010-05-20 15:22:37 -04:00
Doug Turner
2225a94f11 Bug 564402 - slots #define in Qt, prevents Qt builds on trunk. r/sr=jst
--HG--
extra : rebase_source : 5f7ac6c449ea03e4be8ab6834d3f1880cb7d9c80
2010-05-11 16:32:17 -07:00
Mike Kristoffersen
86c80047ba Bug 564402 - slots #define in Qt, prevents Qt builds on trunk
--HG--
extra : rebase_source : 0dc2793cb28294addd9781bd9ca76a3e049ec110
2010-05-07 13:20:04 +02:00
Peter Van der Beken
abd7f913e0 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Josh Aas
2b2c2cb3e4 Fix bug in which we send a "blank" (memset to 0) Cocoa event to plugins. b=562997 r=roc 2010-05-03 19:59:27 -04:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Mats Palmgren
9fdc4d1c16 Invert CSS transforms for the mouse event coordinate sent to the plugin. Original fix by Victor <vik@dhtmlx.com>. b=539565 r=josh 2010-04-27 18:15:02 +02:00
Josh Aas
483533a0ce Focus event fixes for Cocoa NPAPI. b=559758 r=roc a=#developers 2010-04-25 16:58:03 -04:00
Josh Aas
e57fb03f84 Add support for NPCocoaEventWindowFocusChanged. b=555290 r=roc 2010-04-21 02:21:46 -04:00
Oleg Romashin
8563022a30 Bug 464966 - Add NPAPI Plugin support for Mozilla Qt. r=karlt
--HG--
extra : rebase_source : d86430f750bbedde12e779f0073369a3b05b2427
2010-04-20 21:49:34 +03:00
Benoit Girard
9897b0a83e Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones
--HG--
extra : rebase_source : 8cc45083e0b513902c467c8c89248474c21b7923
2010-04-20 10:52:19 -04:00
Benoit Girard
046173124b Backed out changeset 44ee6030f4b2 2010-04-19 02:57:22 -04:00
Benoit Girard
b6d069f2c9 Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones
--HG--
extra : rebase_source : 29f581f60c6db0e8945a5121cf2d7007b10a7433
2010-04-18 19:46:33 -04:00
Doug Turner
0e8798aedd Bug 556971 - Fix MOZ_USE_IMAGE_EXPOSE use of shared memory. r=jrmuizel 2010-04-15 22:33:50 -07:00
L. David Baron
78c4bdc4bd Use the appropriate color based on visitedness for the 'background-color' property. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
Josh Aas
c12f7f8878 Fix comment. 2010-03-31 13:51:25 -04:00
Josh Aas
24d5968b30 Send repeat key events to Cocoa NPAPI plugins. b=554753 r=smichaud r=roc 2010-03-25 20:14:56 -04:00
Benoit Girard
03c1f7cf9c Add support for the NPAPI Core Animation drawing model. b=497225 r=josh sr=roc 2010-03-23 20:51:11 -04:00
Robert O'Callahan
69610b8d43 Bug 546071. Compute view-to-widget offset for plugin views. r=mats
--HG--
extra : rebase_source : 483afc3b0d00f5fd6685f760b6ad358a94a7c9ba
2010-02-24 00:33:41 -08:00
Doug Turner
e342d43d13 Bug 550545 - The NPAPI ImageExpose event should be disabled when building for Qt. r=vlad
--HG--
extra : rebase_source : b66a81ba5a019e7da387eb81d4fd2454be196fe7
2010-03-10 15:01:46 -08:00
Robert O'Callahan
6a95e8500e Backed out changeset 78318b260f18 2010-03-05 20:05:33 +13:00
Robert O'Callahan
b752207ff1 Bug 546071. Compute view-to-widget offset for plugin views. r=mats 2010-02-24 00:33:41 -08:00
Mike Kristoffersen
abdb2aa82c Build bustage on Qt due to macro definition of malloc, realloc, etc. Most of this is just moving Qt #includes around. r=dougt
--HG--
extra : rebase_source : 9734e9e68754a6fc45bddbdc60bb5e898bb8cdb2
2010-03-04 13:51:42 -08:00
Steven Michaud
64dbfdb0b6 Bug 542068 - Wrong coordinates set on synthesized plugin events. r=josh 2010-03-02 10:59:01 -06:00
Oleg Romashin
afd6f98795 bug 544193 - Qt version for plugins embedding functionality required. r=mozbugz. 2010-02-10 22:48:20 +02:00
Doug Turner
c5fb72ab64 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Timothy Nikkel
582541daec Bug 542900. nsPluginInstanceOwner::Init should be calling AddScrollPositionListener. r=roc
--HG--
extra : rebase_source : 403e7ed117c743643d92bf67f1c15e8678c3458d
2010-01-28 18:03:52 -06:00
Timothy Nikkel
375930c3f5 Bug 488771. Stop nsIScrollPositionListener from inheriting from nsISupports. r=roc
--HG--
extra : rebase_source : bb93c56b3347bc8df7fd843f08e2d5dfc4f3071b
2010-01-28 18:03:42 -06:00
Benjamin Smedberg
6db43fb19a revert changeset f61e06c31086 (bug 542971) since it caused bug 543376. 2010-02-02 17:18:37 -08:00
Josh Aas
46d060dccd Get rid of nsPluginInstanceTag. Clarifies the plugin object hierarchy and makes it easier to get from one object to another. We avoid unnecessary null checks and strong references due to clarified lifetimes dependencies between objects. Makes all of this code less error-prone. b=542971 r=jst 2010-01-29 14:42:54 -05:00
Mats Palmgren
2b3d68789b Register the frame also when the widget already existed (re-instantiating a stopped plugin). b=542608 r=roc 2010-01-28 21:58:04 +01:00
Mats Palmgren
fa91c35561 Null-check the root pres context result. Unregister the plugin frame earlier, at Stop instead of Destroy time. b=521426 r=roc 2010-01-26 14:10:12 +01:00
Josh Aas
4347f70d5b Pointer to NP_CGContext should be NULL in Cocoa NPAPI event model. b=541018 r=smichaud 2010-01-24 01:00:39 -05:00
Steven Michaud
22d7ec9de0 Bug 525078 - Make plugin mouse up/down/dragging behavior conform to OS X practice and Cocoa NPAPI spec clarifications. r=josh 2010-01-22 14:57:04 -06:00
Doug Turner
a560ee17ef Bug 541259 - Kung Fu Death Grip Hildon specific methods. r=jst 2010-01-21 20:51:46 -08:00
Brad Lassey
f2c24e00f5 Bug 540795 - NotifyPluginEventObservers crashes. r=jst 2010-01-21 07:17:52 -08:00
Doug Turner
8818752309 Bug 540843 - Do not cache dom element in nsObjectFrame shm code. r=olli. Maemo only 2010-01-20 14:08:50 -08:00
Ben Turner
e0c2098adf Bug 535036 - '[OOPP] Flash hangs Firefox with IPC enabled when video is paused and process loses focus'. r=masayuki+jst, sr=jst. 2010-01-15 12:36:00 -08:00
Jim Mathies
3960d009a6 Bug 536369 - OOPP: Fix for mouse event serialization errors. r=bsmedberg. 2010-01-13 19:46:44 -06:00
Robert O'Callahan
5326dfa81a Bug 526394. Part 19: Remove view paramters from nsIScrollPositionListener. r=mats 2009-09-09 17:40:01 +12:00
Robert O'Callahan
4adad50c20 Bug 526394. Part 15: Convert various random chunks of layout code. r=mats 2009-09-03 16:26:00 +12:00
Robert O'Callahan
2a230d1af5 Bug 537309. Synthesize WM_*DBLCLK on NS_MOUSE_BUTTON_DOWN, not NS_MOUSE_DOUBLECLICK (since the latter fires on mouse-up). r=jmathies 2010-01-07 13:55:09 +13:00
Karl Tomlinson
e970532a99 b=526797 move expose event origin when possible to workaround Flash bug r=roc
--HG--
extra : rebase_source : 6d90440764dd906dabe2555defa5797d3f0cb9a4
2009-12-31 16:16:23 +13:00
Michael Wu
27fd1e717b Bug 273025 - "bad logic results in potential leak xor crash based on flow" (Improve GetURL/PostURL code, v4 (2/2)) [r+sr=jst] 2009-12-27 14:26:00 -06:00