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

19 Коммитов

Автор SHA1 Сообщение Дата
Atul Varma f7ff6fdf66 Removed nsJSWeakRef. Since it only works w/ the version of the platform that it was compiled for and it's only really useful for debugging ubiquity core, I think it'll be more useful to include it as a separate addon that any extension developer can use (and that they can go through the trouble of finding the right .xpi for their OS/platform version).
This means that a binary xpcom component now only exists for OS X--nsUbiquityDesktopIntegration.
2009-04-03 13:56:19 -07:00
Atul Varma ba60ee4897 Removed the nsUbiquity binary component. Since we've already got a workaround for its unavailability that works pretty well, I figure it'll simplify the code and reduce divergent behavior enough that the benefits of removing it outweigh the costs. 2009-04-03 13:37:39 -07:00
Atul Varma 55124e31dd Removed evalInSandbox() from the nsIUbiquity interface.
--HG--
extra : rebase_source : 6584ad72aae7c1183edf7271f8ba51f514742129
2009-04-02 13:41:03 -07:00
Atul Varma 81e8b9644f Fixed a memory bug in weak refs; also, nsJSWeakRef::get() now returns null if the weakref doesn't exist rather than undefined. 2009-03-23 16:25:26 -07:00
Atul Varma f238af7418 Added a real implementation of nsIJSWeakRef. 2009-03-23 16:09:53 -07:00
Atul Varma dfd4a45f4b Added trivial implementation of weakref, but it's internally only implemented as a singleton. 2009-03-23 13:36:30 -07:00
Atul Varma 20b64a801f Added a shell of an implementation for JS weak references. The actual implementation work still needs to be done, right now a new unit test is failing until this is finished. 2009-03-23 13:05:53 -07:00
Atul Varma a84dae2230 Added two ridiculously hacky new functions to nsUbiquityDesktopIntegration: switchToLastApp() and clickAt(). 2009-02-08 11:04:31 -08:00
Atul Varma 43acac32a8 Added nsIUbiquityDesktopIntegration.unregisterGlobalHotkey(), and more error-checking code. 2009-02-07 14:21:12 -08:00
Atul Varma dbfb262419 Added a new nsIUbiquityDesktopIntegration interface and OS X implementation as a binary component, to provide platform-specific functionality for allowing Ubiquity to be used outside of Firefox. 2009-02-07 13:50:21 -08:00
Atul Varma c9b965570f This fixes #434, but it required adding a new method to nsUbiquity that I'm not sure mrbkap will like. I've removed the pre-compiled binaries for linux and windows for now because they're out of date; they'll need to be recompiled on their target systems. 2008-12-09 18:23:49 -08:00
Atul Varma 9b3bd84dc0 Removed nsIUbiquity.add() and nsIUbiquity.throwArg(), since they were intended for testing purposes. 2008-11-06 17:23:20 -08:00
Atul Varma 5149991519 Added a parameter to nsIUbiquity.evalInSandbox() that specifies the version of JavaScript to use, as a string. 2008-11-06 17:18:43 -08:00
Atul Varma 237888d87f the 'build-components' target now puts XPCOM binary objects in the appropriate platform directory of the ubiquity XPI. 2008-10-29 17:07:06 -07:00
Atul Varma 4661bb928c nsIUbiquity.evalInSandbox() now takes filename and line number parameters. 2008-10-29 00:35:31 -07:00
Atul Varma 74da7cfb5c nsIUbiquity.evalInSandbox() now accepts JS 1.7. 2008-10-28 15:18:49 -07:00
Atul Varma f85d8f99d1 Added nsIUbiquity.evalInSandbox() method and really basic implementation, which needs to be improved to take line numbers, filenames, etc. into account. 2008-10-28 15:15:57 -07:00
Atul Varma 28a0d7a7fd Added a throwArg() method and implementation to nsIUbiquity. Woot, it works\! 2008-10-28 11:50:09 -07:00
Atul Varma e13a7953f5 Added trivial XPCOM component and build script. 2008-10-28 11:13:42 -07:00