plugins

Can an appdomain be restricted to one directory?

I am developing a plugin host. The plugins should have as little trust as they need, however I want to have the possibility for a plugin to read and write files. Can the AppDomain where the assembly will be loaded be restricted to have access to only one directory for reading and writing? Other options and ways to go about this are als...

How to write little plugin in xcode for Apple Motion?

Hey. I want to write a little plugin in xcode which reads lights position in opened Apple Motion graphic scene. Anybody can tell me where i should start? What project in xcode, what library i need and what should i do to read sth from Apple Motion? Thx! ...

Is it easy to develop a simple Firefox plugin (JS injection)

Hello everyone! So I was just wondering if it was easy to develop a very simple Firefox plugin where you could click a button, and it would execute some Javascript code! Please note that I have never developed any kind of plugin for firefox, I just want to know if that is an easy task to do (like less than an hour) I would also like to...

Is there a way to create subdatabases as a kind of subfolders in sql server?

I am creating an application where there is main DB and where other data is stored in secondary databases. The secondary databases follow a "plugin" approach. I use SQL Server. A simple installation of the application will just have the mainDB, while as an option one can activate more "plug-ins" and for every plug-in there will be a new...

Javascript plugins design pattern like jQuery

Could someone write down a very simple basic example in javascript to conceptualize (and hopefully make me understand) how the jQuery plugin design pattern is done and how it works? I'm not interested in how creating plugin for jQuery (so no jQuery code here at all). I'm interested in a simple explanation (maybe with a bit of Javascript...

<plugin> not a function

Hi, I've been trying to solve this mystery almost 2 hours, this is giving me a headache. I tried 2 plug-ins already and I'm always getting "* is not a function". My code is exactly like examples so I don't know why it's not working. <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>asd</title> <scri...

How to call function that inside JQuery Plugin From outside the plugin?

hi, i am using textarea elastic plugin JQuery. this is the plugin (function(jQuery){ jQuery.fn.extend({ elastic: function() { // We will create a div clone of the textarea // by copying these attributes from the textarea to the div. var mimics = [ 'paddingTop', 'paddingRight', ...

jQuery DataTables plugin -- adding a custom option select filter

Anyone know how to add a custom option select filter to a jQuery DataTable? Basically, like this example page but instead of having min/max text fields... change them to select options. ...

Plugin architecture in C using libdl

I've been toying around, writing a small IRC framework in C that I'm now going to expand with some core functionality - but beyond that, I'd like it to be extensible with plugins! Up until now, whenever I wrote something IRC related (and I wrote a lot, in about 6 different languages now... I'm on fire!) and actually went ahead to implem...

PHP IDE with Integrated Web Server

Note: This is not another "What is the best PHP IDE?" question. I'm looking for a PHP IDE with a specific feature, namely an integrated / embedded (php enabled) web server; ideally with xdebug pre-bundled. I already know that Aptana 1.5 has this functionality (and some older versions of Zend Studio as well), but Aptana 1.5 hasn't been ...

Should I include the binary in a Rails plugin or not?

Hello. I'm trying to roll out a little Rails plugin that is basically is just a wrapper to a 7zip archiver. Should I include the 7zip binaries for windows, mac and linux with it or explain to user that it's a dependency and they need to get it working. I know it's not that difficult to install a 7zip, but what is the best practice in...

Problem with Google Web Toolkit Maven Plugin

I got an error following the PetClinic GWT application in less then 30 minutes Any idea? SOLVED after delete the C:\Users\user.m2 directory C:\Users\user\Desktop\petclinic>mvn -e gwt:run + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [IN...

Where to search for jQuery plug-ins for specific functionality?

Is there a jQuery plug-in clearing house or repository? How do you find the functionality you are looking for? My search in particular is to display events on a timeline and to do faceted searching, but I get no where from the clutter that is returned by my searches. ...

Getting all the classes in project and their packages from CodeRush extension

I've spent some time trying to find a way CodeRush could add using when it finds undeclared element that is in the fact class name with no using added. The solution suggested in this answer to my question (Refactor_resolve) does not work (bugged?). In a process I found out that writing plug-ins for CodeRush is easy, so I decided to code...

How do I append to the end of the comments array in WordPress?

I'm trying to include something at the end of the comments array for a WordPress plugin. I currently have add_filter('comments_array', 'my_function'), where my_function($comments='') is something along the lines of: my_function($comments='') { echo 'something'; return $comments; } I obviously can't return the comments first, and...

How to display given contents in View when developing Eclipse Plugin?

e.g. I'd like to show one given string(not fixed one) in one view of my Eclipse plugin,how to do it?thx. [email protected] ...

Phantom project in an Eclipse plugin

I am trying to put all the projects in the combo, but I get "External Plugin Libraries" as shown in the picture below. How am I getting this as project which I don't have. How do I get rid of it? ...

Robust C# Plugin System

I am writing a tool which communicates with more than one version control system, either subversion or clearcase, and has various utilities which can be plugged into it. I though of using MEF to load the version control providers, and utiilities, both of which have interfaces definied for them. I've started to use MEF for this. But if l...

Best practice to modularise a large Grails app?

Hi all, A Grails app I'm working on is becoming pretty big, and it would be good to refactor it into several modules, so that we don't have to redeploy the whole thing every time. In your opinion, what is the best practice to split a Grails app in several modules? In particular I'd like to create a package of domain classes + relevant s...

JQuery selfbuild plugin question - default value is overwritten.

Hi jQuery ninjas. I need your help. I have made a really clean and simple example to illustrate my problem. I have build my own jquery plugin: (function($) { $.fn.setColorTest = function(options) { options = $.extend($.fn.setColorTest.defaults,options); return this.each(function() { $(this).css({ 'color': options.color}...