Commit Graph

1574 Commits

Author SHA1 Message Date
Ben Turner
62534891fc Merge mozilla-central 2009-10-05 16:08:52 -07:00
Frederic Plourde
d746c06ac8 Bug 513990 - Add provisions to nsFrameLoader for reflow and resize events. r=bzbarsky 2009-10-05 07:52:19 -04:00
Markus Stange
1db2aff813 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
49505be9f8 Merge backout of bug 456646. 2009-10-09 18:15:34 +13:00
Markus Stange
8efbc0ba13 Backed out changeset 8c4658f8f0dc, bug 456646 (Cocoa print dialog) - we can do better. 2009-10-09 18:14:31 +13:00
Taras Glek
c7f069ab70 Backed out changeset e22bef491d84 2009-10-08 16:43:55 -07:00
Taras Glek
4c56f842c8 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz 2009-10-08 11:22:50 -07:00
Chris Jones
d215e057fe Merge backout 2009-10-02 18:09:39 -05:00
Chris Jones
08de77b6a4 Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Daniel Holbert
50268f016b 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
7e2aee0cc5 Fix spelling of synthetic in macro name. 2009-10-02 14:06:42 -07:00
Chris Jones
3e5fef214c 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
1187b43b45 b=519896 NPN_InvalidateRect r=cjones 2009-10-01 17:09:21 +13:00
Ben Newman
c68af46729 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
b0047bd1a2 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
5506bd72d5 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
1ab026f529 b=519641 pass visual and colormap to plugin process r=cjones 2009-10-01 10:36:14 +13:00
Chris Jones
afed1a0211 update plugin process NPNetscapeFuncs interface (with stub impls) to the most recent NPAPI. 2009-09-29 13:50:11 -05:00
Chris Jones
0ae3b43203 fix stupid bug in deserialization of NPWindow. X11 windowless plugins now work. 2009-09-25 15:35:03 -05:00
Chris Jones
09dd02217f forward NPWindow.{x, y} properly. no windowless gfx yet, but closer. thanks=karlt 2009-09-25 11:16:44 -05:00
Chris Jones
0151e59e0a attempt to fix linux build 2009-09-25 00:17:29 -05:00
Chris Jones
22800f56d8 pre-fix windows bustage. thanks=bent 2009-09-24 21:14:41 -05:00
Chris Jones
0531f8f96b basic support for windowless X11 plugins. gfx not quite working yet 2009-09-24 21:03:59 -05:00
Benjamin Smedberg
7464979f8c 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
29c6cc37ec Merge mozilla-central 2009-09-23 13:14:34 -07:00
Ben Turner
b4b02694d7 Bustage fix for linux 2009-09-23 00:48:28 -07:00
Ben Turner
fb65d976a0 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
7251aeec3a 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
3e1cc1bae2 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
4c587f8e45 bug 517977: require actor impls to override AllocPFoo/DeallocPFoo instead of PFooConstructor/PFooDestructor 2009-09-22 12:31:11 -05:00
Chris Jones
d484a65e38 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
b64d353fd6 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
b492f5cb54 __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
8aab401dc1 Merge mozilla-central into electrolysis to pick up new plugin tests. 2009-09-21 10:57:57 -04:00
Ben Turner
66a36315ce Merging mozilla-central once more to hopefully clear windows unit tests 2009-09-20 10:47:21 -07:00
Ben Turner
eb6738b7b5 More nsresult -> bool fixes, and fix windows bustage from NPEvent stub impl. 2009-09-19 12:24:24 -07:00
Chris Jones
fcd45719e6 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
411b62d064 b=517557; remove --enable-canvas; r=ted 2009-09-18 16:48:35 -07:00
Benjamin Smedberg
0b4ab180ee Fix up dom/plugins code for bug 516661 - no more nspluginsdefs.h! 2009-09-18 17:01:09 -04:00
Benjamin Smedberg
d44f878b56 Merge mozilla-central into Electrolysis. 2009-09-18 16:47:18 -04:00
Matin Movassate
4bb47ecb1e Bug 507805: Support FileRequest API for reading Files. r/sr=sicking 2009-10-07 01:30:26 -07:00
Chris Jones
8c37ed70aa fix changes that busted ipc-test plugin 2009-09-17 20:49:04 -05:00
Chris Jones
03947f0bf3 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
5927a0e5fb Landing the first part of NPRuntime support for plugin-side objects. Not hooked up yet. 2009-09-17 15:15:12 -07:00
Johnny Stenback
9d74609659 Adding missing files from my previous commit. 2009-10-06 17:25:56 -07:00
Johnny Stenback
123b209635 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
6476afe861 Bug 519905. Avoid some QIs to nsWrapperCache. r=peterv 2009-10-05 19:16:22 -04:00
Ms2ger
4985076329 Bug 520353. querySelector(), querySelectorAll() and mozMatchesSelector() handle null and undefined incorrectly. r=bzbarsky 2009-10-05 19:16:22 -04:00
Robert O'Callahan
4679add97d Bug 513144. Basic implementation of mozLoadFrom API. r=doublec
--HG--
extra : rebase_source : 71d04afaf21d268e3eddbb40e9894479698d1bfc
2009-09-15 14:30:44 +12:00
Matthew Gregan
f202e48bf0 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
22715396a4 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
7a8364995b 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
f0c1f6396a Bug 498799, use waitForFocus for test_focus.xul in various places 2009-09-18 13:02:44 -04:00
Vladimir Vukicevic
371933ca83 b=516213; Freshen WebGL implementation and enable on trunk (part 2); r=mwsteele,roc 2009-09-17 23:01:12 -07:00
Mark Steele
aa9ed3207a b=516213; freshen WebGL implementation and enable on trunk (part 1); r=vlad 2009-09-17 23:01:07 -07:00
Robert O'Callahan
6de615de1b 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
f010e409f2 b=517717; fix up webGL array compat (rename WebGL*Array->Canvas); r=vlad 2009-09-20 14:33:40 -07:00
Josh Aas
923b0e293c Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Blake Kaplan
afba815d74 Merge tracemonkey to mozilla-central. 2009-09-16 16:15:59 -07:00
Ehsan Akhgari
d37177b787 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
2d028b8e45 Bug 515582 - Remove unused (and heinous) webservices strings, r+sr=jst 2009-09-13 16:05:55 -07:00
Neil Deakin
02a7469b05 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-13 09:13:16 -04:00
Olli Pettay
7e40ce018a 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
62dedaf641 Add more crashtests 2009-10-15 14:22:11 -07:00
Blake Kaplan
439954f9eb 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
401e2afc0b 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
Neil Deakin
a5bfe49767 Bug 503943, back out mouse capture patch, CLOSED TREE 2009-09-10 12:11:41 -04:00
Neil Deakin
2ca788ce33 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-10 08:51:36 -04:00
Neil Deakin
d4ae4f35be Bug 514230, fix up to not refer to elements by id but by reference, also fixes the case when full keyboard access is used because tabs are now focusable, r=smaug 2009-09-08 07:24:20 -04:00
Benjamin Smedberg
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Neil Deakin
182e77dd7b Bug 513450, page info unfocuses after cursor keys when caret browsing in on, caused because caret browsing preference shouldn't be checked in chrome documents, r=smaug 2009-09-03 15:30:06 -04:00
Mark Steele
0a322165de b=513156; update Canvas 3D to implement WebGL (still disabled by default via configure); r=vlad 2009-09-02 17:47:49 -07:00
Boris Zbarsky
4f2bc6392e Disabling test that makes bogus assumptions about DOM behavior 2009-09-02 13:38:49 -04:00
Martin McNickle
6b80772d36 Bug 513658 - Deprecate isReady() in geolocation provider. r=dougt
--HG--
extra : rebase_source : a4ce9d11548b9f09521caf3ced073f6015c2542d
2009-09-02 09:47:33 -07:00
Doug Turner
05d0192370 [Bug 513342] crash while browsing to and from a geolocation page. r=blassey 2009-09-01 12:48:46 -07:00
Johnny Stenback
8127d8695e Backed out changeset 105d89f1a33b due to test failures. 2009-08-31 15:03:53 -07:00
Johnny Stenback
29b20051c6 Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-08-31 14:35:58 -07:00
Ehsan Akhgari
74c093fdce Bug 513567 - Not enough arguments in nsISocketTransport.close in GPSDProvider.shutdown; r=dougt 2009-08-31 07:29:20 +04:30
Doug Turner
b3d4d4adda [Bug 462192] move initialization code out of nsGeolocationService constructor. r=olli 2009-08-28 10:40:27 -07:00
Jason Duell
7b9643e8c3 Necko init patch, with modeline fixes 2009-08-18 12:05:15 -07:00
Benjamin Smedberg
b407807f12 Bug 517207 - Implement NPN_GetValue, r?bent. I use separate messages for each getvalue property instead of an integer/enumeration and a variant because for each message, the type returned is static: this avoids a lot of dynamic checking for correct enumeration values and variant types. r=bent 2009-09-15 16:33:24 -04:00
Benjamin Smedberg
16ebf43c77 Actually implement the geturl/posturl functions on the child-side plugin host. 2009-09-15 15:48:18 -04:00
Ben Turner
cce28b953f Further fixes for unions 2009-09-14 19:26:17 -07:00
Ben Turner
7c57ab02d5 Add simple tests for NPIdentifiers in testplugin 2009-09-14 15:35:02 -07:00
Ben Turner
d21caee81e Add support for NPIdentifiers to oop plugins 2009-09-14 13:01:31 -07:00
Benjamin Smedberg
3c02ab3b1b The functions which accept a NPP instance parameter don't need the special shim: just make them static functions on PluginModuleParent. This leaves only the following functions which will need special treatment in the Mozilla plugin host:
* NP_Initialize
* NP_GetEntryPoints
* NP_Shutdown
* NP_GetPluginVersion
* NP_GetValue
* NPP_New
* NP_GetMIMEDescription
2009-09-14 14:56:23 -04:00
Benjamin Smedberg
0c3c67bde3 Fix Windows build bustage from the NPN_GetURLNotify patch. 2009-09-11 13:52:53 -04:00
Benjamin Smedberg
79d7e994f0 Implement NPN_GetURLNotify/NPN_PostURLNotify/NPP_URLNotify. Still without any tests! 2009-09-08 17:22:50 -04:00
Chris Jones
e20692ab9b add discriminated union types to IPDL 2009-09-10 23:55:03 -05:00
Ben Turner
c6ad60ed4d Remove 'Protocol' suffix from IPDL-generated files 2009-09-09 15:59:06 -07:00
Ben Turner
dccb0805dd Rename remaining protocols
--HG--
rename : dom/ipc/ContentProcess.ipdl => dom/ipc/PContentProcess.ipdl
rename : dom/ipc/IFrameEmbedding.ipdl => dom/ipc/PIFrameEmbedding.ipdl
rename : ipc/test-harness/Test.ipdl => ipc/test-harness/PTest.ipdl
rename : ipc/testshell/TestShell.ipdl => ipc/testshell/PTestShell.ipdl
rename : ipc/testshell/TestShellCommand.ipdl => ipc/testshell/PTestShellCommand.ipdl
2009-09-09 15:00:14 -07:00
Benjamin Smedberg
09ee5262ac PPluginStream is badly named: there is going to be a PPluginStream, but it's not this!
--HG--
rename : dom/plugins/PluginStreamChild.cpp => dom/plugins/BrowserStreamChild.cpp
rename : dom/plugins/PluginStreamChild.h => dom/plugins/BrowserStreamChild.h
rename : dom/plugins/PluginStreamParent.cpp => dom/plugins/BrowserStreamParent.cpp
rename : dom/plugins/PluginStreamParent.h => dom/plugins/BrowserStreamParent.h
rename : dom/plugins/PPluginStream.ipdl => dom/plugins/PBrowserStream.ipdl
2009-09-09 10:04:09 -04:00
Chris Jones
9b4c68bafb bug 515242: finish FE support for actor types specified to be in "any" state (by adding State.ANY). fix IPDL handling of carriage return, remove them from new code 2009-09-09 01:58:08 -05:00
Ben Turner
fd54229708 Rename plugin protocols and fix up usage
--HG--
rename : dom/plugins/NPP.ipdl => dom/plugins/PPluginInstance.ipdl
rename : dom/plugins/NPAPI.ipdl => dom/plugins/PPluginModule.ipdl
rename : dom/plugins/NPObject.ipdl => dom/plugins/PPluginScriptableObject.ipdl
rename : dom/plugins/NPBrowserStream.ipdl => dom/plugins/PPluginStream.ipdl
rename : dom/plugins/NPPInstanceChild.cpp => dom/plugins/PluginInstanceChild.cpp
rename : dom/plugins/NPPInstanceChild.h => dom/plugins/PluginInstanceChild.h
rename : dom/plugins/NPPInstanceParent.cpp => dom/plugins/PluginInstanceParent.cpp
rename : dom/plugins/NPPInstanceParent.h => dom/plugins/PluginInstanceParent.h
rename : dom/plugins/NPAPIPluginChild.cpp => dom/plugins/PluginModuleChild.cpp
rename : dom/plugins/NPAPIPluginChild.h => dom/plugins/PluginModuleChild.h
rename : dom/plugins/NPAPIPluginParent.cpp => dom/plugins/PluginModuleParent.cpp
rename : dom/plugins/NPAPIPluginParent.h => dom/plugins/PluginModuleParent.h
rename : dom/plugins/NPObjectChild.cpp => dom/plugins/PluginScriptableObjectChild.cpp
rename : dom/plugins/NPObjectChild.h => dom/plugins/PluginScriptableObjectChild.h
rename : dom/plugins/NPObjectParent.cpp => dom/plugins/PluginScriptableObjectParent.cpp
rename : dom/plugins/NPObjectParent.h => dom/plugins/PluginScriptableObjectParent.h
rename : dom/plugins/NPBrowserStreamChild.cpp => dom/plugins/PluginStreamChild.cpp
rename : dom/plugins/NPBrowserStreamChild.h => dom/plugins/PluginStreamChild.h
rename : dom/plugins/NPBrowserStreamParent.cpp => dom/plugins/PluginStreamParent.cpp
rename : dom/plugins/NPBrowserStreamParent.h => dom/plugins/PluginStreamParent.h
2009-09-08 23:31:35 -07:00
Benjamin Smedberg
21fc0c7806 Revert accidental commit of printf-debugging code in the test plugin. 2009-09-08 16:05:12 -04:00
Benjamin Smedberg
2d9e19df05 Implement browser streams (NPStream from the plugin host to the plugin). Unfortunately, there aren't any tests for this stuff at all. Various related APIs like NPN_GetURLNotify are not yet implemented and will require changes to the protocol structure (you have to be able to associate a browser stream with a notify request through NPStream->notifyData). 2009-08-18 16:20:03 -04:00
Ben Turner
0f1d5c36a0 Force child processes to close and wait for them on shutdown 2009-09-02 17:18:27 -07:00
Ben Turner
99f1c34f15 Rework ipcshell to become xpcshell 2009-08-28 16:16:19 -07:00
Benjamin Smedberg
187a34a633 Merge mozilla-central into Electrolysis 2009-08-26 12:15:27 -04:00
Ben Turner
b5348a3322 Fix build bustage 2009-08-25 16:39:30 -07:00