extension

IS Extendible program in C possible?

i am looking into making a C program which is divided into a Core and Extensions. These extensions should allow the program to be extended by adding new functions. so far i have found c-pluff a plugin framework which claims to do the same. if anybody has any other ideas or reference i can check out please let me know. ...

How to access the selection of xmlui targetlist from JSFL in Flash?

I have a simply xml ui: <dialog title="Select Symbol" buttons="accept, cancel"> <vbox> <targetlist id="target_symbol" height="300" width="400" required="true" class="movie clip" /> </vbox> </dialog> How can I get the result of once the user pressed accept ? I have somthing basic like: var doc = fl.getDocumentDOM(); var ...

How to distribute a PHP extension for use in a Shared Hosting Environment

I have a library written in C that gets distributed as a PHP extension, and my users are having problems accessing the library when running in a Shared Hosting environment. Previously (In PHP versions less that 5.2.5) our customers could simply use the dl() function and the full path to the library to access it. Since PHP 5.2.5 the dl(...

Getting an Uniform Type Identifier for a given extension

Hello, I'm trying to find some way in Cocoa to translate from file extensions to Uniform Type Identifiers. That is, I want to find some way of doing this: ".jpg" => "public.jpeg" ".html" => "public.html" ".ttf"=> "public.truetype-font" I've searched on the NSWorkspace docs but couldn't find anything. The closest I could get was: - (...

Magento: how to prefill values of a product's dropdown attribute

I'm building a Magento shop for a customer and would like to add an attribute to all products that functions as a dropdown list. Like the 'Manufacturer' attribute. However, instead of manually entering the list of values for the attribute I'd like the values to be populated from an external site. So, every time you create a new product ...

Firefox 3.x extensions: dialog "Save As" - choice opener, how open?

Is it possible to call Firefox Save As dialog ( chrome://mozapps/content/downloads/unknownContentType.xul ) with specifying URL? I found that class for this dialog stored in "nsHelperAppDlg.js" and called "nsUnknownContentTypeDialog", but i don't understand how to use it :( I want to create extension, that show firefox "save as" dialog...

saving data in chrome:// document

Hello, Im making firefox extension and I have a problem with variables. Extension works with file (chrome://myextension/content/document.html) opened in few tabs. I want it to store a value in each tab, so I decided to store it in one of the html objects, that have got "Object" id: data="foobar" node=gBrowser.contentDocument.getElementB...

C# ControlCollection Extension GetAllTextboxes

How could I get only the texboxes in a ControlCollection ? I try : public static IEnumerable<TextBox> TextBoxes(this ControlCollection controlCollection) { return (IEnumerable<TextBox>)controlCollection.Cast<Control>().Where(c => c is TextBox); } But I got the following error : Unable to cast object of type 'WhereEnumerableItera...

Where is extension being set?

I am coding in PHP on Apache, and I have access to two main areas on the Unix server. I have a personal directory and I have a project directory. I noticed that in the project directory there is a extension/module that I have access to automatically which I don't have in my personal directory (I can see it listed in phpinfo()). So I'm g...

Having problems loading PHP Driver for SQL Server 2008 Express

Hello all, I am trying to make use of the PHP driver for MS SQL Server version 1.0. I have everything setup but I think I am having trouble loading up the extension php_sqlsrv_ts.dll. I have gone to the command line and try this: C:\wamp\bin\php\php5.3.0>php.exe --re sqlsrv Exception: Extension sqlsrv does not exist C:\wamp\bin\php\p...

How can I create a JavaScript Blackberry Widget Extention?

In a recent blog post announcing Blackberry Widgets the following was said about getting Java library functionality in a Blackberry Widget (emphasis added by me): What if RIM doesn't provide me with the JavaScript API I am looking for? RIM will continue to add new JavaScript APIs for BlackBerry Widgets. Most will not requi...

Joomla Image Renedering extension with JFactory access

Is it possible to write an extension for joomla or use some existing plugin similar to jumi to be able to render for instance a png image but with full access to user data (with JFactory)? In other words today it's not a problem to create a php script that renders a public image based on parameters passed. But if I want to access user da...

Google Chrome Extension: is there any per-tab storage?

Is there any "per-tab" storage accessible by the toolstrips? ...

Making a C extension to Python that requires another extension

I have a couple of Python functions that I use to make game development with Pygame easier. I have them in a file called helper.py in my Python-path, so I can import them from any game I make. I thought, as an exercise to learn about Python extensions, to convert this module to C. My first problem is that I need to use functions from Pyg...

documentation for nss's ssl3ext.c

have anyone modified the ssl3ext.c before? this is an implementation of the server name indication, ssl/tls extension. Is there any documentation about this code? I need to understand and modify it.. ...

Identify Webserver & Script of a website

Hi All, I have got two simple questions How can I tell what server is a website on? I remember I used to read the HTTP Host Header to identify the type of server. Is there any tool to do it? 2a. A lot of the website have the page extension .html and you just know they are not html. How can I tell what programming language is behind ...

Creating a Firefox extension to edit "network.automatic-ntlm-auth.trusted-uris"

On the sharepoint site we're developing at work, people are able to log into the site using IE 7, but when prompted for the username and password on firefox 3, it doesn't matter how many times you try to log on, the username/pass window keeps popping up. If you click cancel it denies you access into the site. We've tried to fix the issue...

Temporary Storage in FireFox Extension

I've developed an extension that creates alot* of data during a browsing session. Think, 2 to 3 times the total HTTP traffic (images, HTML, etc.). Currently I'm just stashing all of this in a Javascript variable, but this obviously isn't tenable if the extension is going to get any serious usage. So, the question is, where should I st...

Can I access Gears from a Chrome extension?

Developing extensions for Google Chrome 4.x. I'd like to keep a couple of parameters persistent, and thought about using Google Gears' Database object - since it's always installed with Chrome.But I couldn't find any documentation that will tell me if it's possible. The only relevant sentence I could find was Data is stored using th...

why can't i access protected java method even thought i've extended the class?

Here's the documentation for the protected method: /** Converts jmusic score data into a MIDI Sequence */ protected javax.sound.midi.Sequence scoreToSeq(Score score) And I made this little class to extend the class that scoreToSeq method comes from: public class MidiSequence extends MidiSynth{ public Sequence getSequence(Score ...