plugins

Catching exceptions thrown by plugin UserControl

I am writing a WinForms application that accepts dynamic user interface controls, in the form of plugins (think widgets). For this, the main function of each plugin returns a UserControl that is then added to the main form. Since my application doesn't have direct control over them, I would like to "sandbox" the plugins exception-wise s...

Forcing symbol export with MSVC

I have a application and several plugins in DLL files. The plugins use symbols from the application via a export library. The application links in several static libraries and this is where most of the symbols come from. This works fine as long as the application uses a symbol. If the symbol is not used there, I get linker errors when co...

Loading an object in ServletContext (application scope)

I would like to put two small constant objects (one TreeMap and one ArrayList) somewhere in the ServletContext of a Struts2 webapp (running under Tomcat 6), such that those objects may be accessible from any JSP, through the Application Scope. Under Struts1, I would have used one of those startup "plug-ins" (defined in struts-config.xml...

Visual Studio plug-ins : where should I store my tool's window last size and position ?

I have written a small plug in for Visual Studio 2005. It displays the name and the shortcuts of the last command you have used (nice for learning seldom used command's shortcuts). I display this information in a window that I manually dock between the project explorer and the property panel. The problem : every time I start Visual Stu...

What development plugins do you use for Firefox that you could not live without?

Just a couple weeks back one of my co-workers was using the Web Developer plugin for Firefox which I had never seen before, and I was wondering if there are any other great development plugins for Firefox that you cannot live without as a web developer. The ones I currently use are: Web Developer Firebug ColorZilla Edit: Please give a ...

Wordpress Category ID vs Eval Issue

Hi Ok this is a little complex. I am creating a plugin, and want to find the category ID from the Post page. That's the easy part. What makes it complex is I am doing it within an ob_start (started in a 'template_redirect' action) as I want to edit the full page before it is returned to the browser. Again that is easy enough from the ...

How does firefox know when an update is available for an extension (plugin)

I am in the process of creating my first firefox extension and am starting to think about deployment. There is a nice discussion about creating an template here and signing the extension here But later down the road ... how does firefox know that an extension has been updated? ...

A/B testing and stats solutions

I've been looking for a good testing framework for months, not finding anything, so I've just been building my own. This is what I want to do: - track arbitrary behaviors (e.g. # of photos viewed, # of comments posted) - track correlation between arbitrary variables and those behaviors (e.g, how do different versions of this prompt af...

How can I add a new button to the navigation pane (outlook bar) in Outlook 2003/2007?

Most of us are familiar with the "accordion-style" navigation bar on the left side of Outlook 2003. It has buttons like Calendar, Tasks, Mail, etc, and clicking on one of those buttons opens up a browser pane with the list of common folders in that section. Using C++ or Delphi, I'd like to write a plugin that adds a new section to the ...

Rails Authorization error

I'm currenty trying to integrate the rails-authorization plugin into a rails application. I've followed through the installation and setup steps but each time I try to use the permit "role" or permit? "role" functions, I get an error thrown up along the lines of 'const missing, User#RolesUser' which doesn't appear to have any use ...

"SVN Blame" plugin for VisualStudio

I found this question but the referenced options don't say anything about supporting "blame". What I'm looking for is an integrated way to ask "Who edited the line under the cursor last?". I know most/all SVN clients give this in some form but I'd like something that makes it easy enough that I can do it on a whim: "Humm, who wrote that...

Eclipse: How to ensure jar in plugin is given priority over other versions elsewhere?

I am developing an eclipse plugin which contains a specific version of Lucene. I need to generate a search index and deploy it so that it can be read by another application which uses the same version of Lucene. I recently upgraded eclipse to 3.4 and the search index is now not readable by the 2nd application. I see that eclipse 3.4 con...

Custom IntelliJ Idea Shortcuts - Plugin or Keymap?

I want to create a shortcut similar to Ctrl+Shift+T in Idea. Instead of switching between Class and Test, i want to switch between XModel, XView and XController based on the current tab (X). Should i create a plugin or is this achievable in Keymap? ...

Narrow a list of items as you type with javascript

I am trying to find a plugin or a solid way to narrow a list of items as a user types. Essentially there would be a list that is always visible containing product names for users to scroll through. At the bottom would be a form where you can type in the name of a product. As you type the list is narrowed down. I have been trying to fin...

Best way to build a Plugin system with Java

How would you implement a Plugin-system for your Java application? Is it possible to have an easy to use (for the developer) system which achieves the following: Users put their plugins into a subdirectory of the app The Plugin can provide a configuration screen If you use a framework, is the license compatible with commercial develop...

(Eclipse) How do I package third party plugins with my feature?

MyFeature consists of plugins a, b and c which depend on a third-party plugin d. How do I package MyFeature such that It contains d and can install it if it doesn't exist in the target workbench My plugins a, b and c can refer to a specific version of d even if higher or lower versions exist in the workbench The dependency requirements...

Wordpress Plugin to Generate non-numeric slug / permalink for posts without titles? (1 post)

I've been looking for this all over, and simply cannot find it. I have a blog that has no titles in its blog posts, but I'd like, for various usability reasons, to have the permalinks use the first few words from entries that do not have titles as the permalink slug. ie, if the post on sample.com/blog is Title: (no title) Content...

Eclipse plug-in development Unable to instantiate class due to java.lang.NoClassDefFoundError:

Title: Eclipse plug-in development Unable to instantiate class due to java.lang.NoClassDefFoundError: Trying to build an eclipse plugin but getting some runtime error.. I understand this is due to a class file that the code depends on and it is present at compile time but not found at runtime.... I'm not sure what I have to do to fix...

Eclipse XML formatter

Does anyone know of a free alternative to the built in Eclipse XML editor? The one that is packaged with the IDE has 2 major problems with formatting that my team and I have discovered when formatting: The formatter tries to parse escaped char's as though they were unescaped. e.g. ' & l t ;' is treated like '<' which causes the forma...

Good browser plugin to display TIFFs

Hi, I'm trying to develop a web version of an app we have that stores document images. However, a good portion of the images are tiff's, which IE can't natively display. Can anyone recommend a good plugin that will display them properly? ...