topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday November 29, 2025, 11:28 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Recent Posts

Pages: prev1 ... 3 4 5 6 7 [8] 9 10 11 12 13 ... 17next
176
Yes creating DLL by hand is possible and will work. Actually you only need write access when you add a plugin, remove a plugin or if fscript2 changed and it need to write a new version of the proxy. If you're not adding, removing or updating plugin you should be fine.

However I'd rather keep the proxy with the master DLL otherwise we could end up with various versions. There is very few code in them, but not none at all and it would be problematic if you needed to add new FARR API as I'd need to implement them in order to forward them and then all proxy would need to be modified. It is also important that they are located in a subfolder of fscript2 as they must be loaded AFTER fscript2 to be able to initialize correctly.

One way to solve it would be that FARR support some kind of proxy for DLL like a file that would point to the DLL to load instead or even better an API for FScript2 to allow it to load plugins. The alias wouldn't solve the write issue, but the API would. I wanted a version that works for every versions of FARR first so I went this path first.

We could wait a little to see if I can fix them that way and see the issues before moving to something else.

I'm already half crazy anyway ;)

177
I tried to reproduced it on XP SP3 as well, but couldn't, but it might be some subtle combination of installed plugins ? What plugins are you running ?





178
Thanks, your credits are very appreciated. It has been an epic fight to shape all that code into that proxy dll stuff ;)
179
I've completed a first beta version of fscript2. Too bad, I'm a build too late for NANY ;)

FScript2 is a new way to write plugins for FARR in javascript, vbscript, and possibly other active scripting languages. FScript did that but it had a number of shortcomings. In particular, it was difficult to maintain and especially to update. FScript2 should solve that.

What it does

FScript2 load all fscript plugins under one master DLL. Other than that FScript2 does the same thing that FScript does, but it does them so much more neatly ;) :

- This means that once FScript2 is installed, an fscript plugin can be as light as a single fscript.js.
- This should also make plugins much lighter in memory since there will be only one DLL that control all plugins.
- This also means that FScript2 will be updatable by DCUpdate so there won't be a need for plugins scripter to repackage their plugins with my latest DLL, which has caused a lot of issues as I fixed bugs progressively.

How to use it

FScript2 is compatible with FScript plugins. To allow an FScript2 plugin you must delete the fscript.dll from that plugin.

Copy FScript2 inside the plugin folder. FScript2 will try to detect plugins one folder under its installation folder : If you install it into 'plugins/Fscript2', it will scan every folder under the 'plugins' folder seeking for fscript.js files.

To enable thoses plugins to use FScript2, fscript.dll must be deleted inside each plugin. Folder that contains an fscript.dll file will be ignored.  This is a security and should help with the transition : If some plugin doesn't work with FScript2, restore its original dll, and everything will work again.

Launch FARR and it should load plugins as if they were natives FARR plugins.

Extra notes

FScript2 create proxy dll for each FScript2 plugins. They are very small 10k DLL, that forward all call to the DLL. Theses DLL are created inside the proxy folder inside the FScript2 folder. This means that, that folder must be writable, so that FScript2 enable plugins. If you have some warning telling you that some plugins can be copied, you might have to fix that.

Some FScript plugins doesn't seems to work, but I'm unsure if this came from the plugin or from Fscript2 as they do not seems to work correctly with Fscript either. I'll be very happy to have some report of what works and what doesn't. Retesting all fscript plugins with fscript2 is beyond what I can do, so testers are welcome.

Try it
Get FScript2 here.
180
Official Announcements / Re: HAPPY NEW YEAR 2011 FROM EVERYONE AT DONATIONCODER!
« Last post by ecaradec on January 01, 2011, 09:44 AM »
Happy new year DC
181
General Software Discussion / Re: What is next best thing to FARR for Linux?
« Last post by ecaradec on December 25, 2010, 07:03 AM »
Gnome Do is a Quicksilver like keyboard launcher, it was originally mixed with with a dock ... It seems great, but I read rumors of bugs. I've never tried it though, so this is just rumors ;)
182
Don't rush mouser, I said something stupid, it's nice that farr can unload plugins but I need to unload plugins from my plugin... and it unload my plugin as well. I'm not sure this is the correct approach...
183
This is something I needed for fscript2, it's great that it already exists. I'm creating proxy plugins on the fly, so this is perfect ;) . However, it seems that it automatically run the 'aplugins' command, is there a way to reload plugins without showing them immediatly ?
184
FARR Plugins and Aliases / Re: Replacement plugin for Delicious bookmarks?
« Last post by ecaradec on December 19, 2010, 08:52 AM »
It pleased me that someone still used my delicious plugin (I've stopped using it myself as it was a demo project for fscript ) . I think we'll need to wait to see if something emerge as a leader ...
185
Thanks a lot,
He is actually the third one. I already have a daughter and a son, so I have some training.My girl friend is also a super efficient housekeeping. It helps...
186
N.A.N.Y. 2011 / NANY 2011 Pledge: A centralised and updatable version of FScript
« Last post by ecaradec on December 07, 2010, 07:08 AM »
Application NameFScript2
Version2.0
Short descriptionFScript2 that will be updatable and embeddable by default in FARR
Authorecaradec
NEW OFFICIAL THREAD:https://www.donation...ex.php?topic=25155.0

I've started working on a Fscript version that it will be updatable and embeddable by default in FARR. That version should also clean the mess of the multiples fscript dll stored everywhere.

My current idea about implementing it is to create a proxy dll for each plugin and to erase the current fscript.dll from current plugins. That way all the current plugins should be able to work under the new system without modification.

I'm not sure it qualify as a NANY pledge as it is more an extension of Fscript. I think that it would be helpful anyway. I'm also not sure, that I'll be done before the next year also. I hope to be done before the end of jan anyway because I'm going to have a little boy and I might be a little tired once he'll be there ;)

I might need some help from all of you when I'll be close to completion to test it with the various plugins.

187
General Software Discussion / Re: SMF or phpBB... that is the question?
« Last post by ecaradec on November 17, 2010, 11:27 AM »
I wouldn't recommend fluxbb from an administrator point of view : it is missing lot of useful features for managing threads (like moving posts, threads, renaming them )... and it lacks plugins desperatly : you have to basically code all antispam, captcha on your own before getting a relatively correct experience. I've been using it for 3+ years and I still don't like it.
188
N.A.N.Y. 2011 / Re: NANI 2011 : Help ecaradec decide which app to code
« Last post by ecaradec on November 14, 2010, 11:53 AM »
a browser extension


if you are still interested in a browser extension, i thought this idea was pretty good:
https://www.donation...ex.php?topic=24496.0
I'll pass on this one, I think I should have a look at an updatable fscript, before starting something else.
189
N.A.N.Y. 2011 / Re: NANI 2011 : Help ecaradec decide which app to code
« Last post by ecaradec on November 13, 2010, 09:55 AM »
I'll be happy to end up in a nightmare if it helps people in the end, but may be it's not a good fit for a nany project. Another thing I could do is have a look at the fscript problems (as speaking of nightmare ... ;), it seems to me that the interest for it has faded a bit, but may that's my interest that faded.
190
N.A.N.Y. 2011 / Re: NANI 2011 : Help ecaradec decide which app to code
« Last post by ecaradec on November 13, 2010, 09:50 AM »
What's is important to me is that people use it too... I'm pretty sure I can do the podcast downloader quickly because I have an stupid script that does it, but I'm not sure about how many people listen to podcast AND use google rssreader. I just realise that I didn't mentioned that it'll be for google rssreader (not any )... There is already downloaders, but none that synchronize with google rssreader.
191
N.A.N.Y. 2011 / NANI 2011 : Help ecaradec decide which app to code
« Last post by ecaradec on November 13, 2010, 09:28 AM »
I have two new ideas for NANY. I'm not sure they'll be ready for NANI, but I can try :

  • a RSSReader podcast downloader : I tag all my podcast with the tag podcast in rssreader, but there is no way to download them automatically all at once. I could also synchronize it with a usb key, or an mp3 player.
  • a browser extension that could remember all applications you download and install and reinstall them all at once silently (like allmyapps.com but it could works with applications on any website ) - I'm not even sure that this is possible, but I can try.

I'm not sure which one is more useful, if one inspire you more than the other, let me know.
192
Here is my own experience with text editors :

Any editor you choose will have shortcomings. Unlike many I think that VS is a good text editor. Most people who dismay it often doesn't even know it at all : it has macros, auto indenting, uppercase as a shortcuts, excellent tag navigation, and a very nice command line (my favorite command is 'of' which open any file in the project by it's name ).

I don't like it for php, javascript and web stuff in general : so I use VIM then. The editing stuff in VIM are incredibly superior to VS. It has a very simple extension system which means lot's of plugins. The modal behavior is what really makes VIM powerful, because that way you have many more free keys for shortcuts. What I use the most : vertical selection, vertical edition, switching files with ease, macros, grep with quickfind window, 'go file' to follow includes. I often google for one liner for sorting lines, deleting stuff under some special cases. The default configuration of VIM is very bad although, it's only good if you're going to use it to edit one file at a time. I switched to VIM because I wanted to have a pure text editor where everything was accessible without the mouse. I find that hunt and pick with the mouse is not very efficient.

It has a price though : My coworkers often makes fun of me because I have shortcuts for absolutly everything (thanks to FARR ;)...

I tried emacs, but I don't like it, it's just an editor with really weird and long to type commands and you have a learn a whole ecosystem to use it truely. The shortcuts doesn't make sense to me either. I tried several times, I can't use it. It has some good thing still : it can open really huge files with syntax coloration without lag (vim lag horribly ), it can fold big files and store fragments into other files transparently, it has more powerful plugins too.

VIM is really my favorite for php, javascript and ruby. VS is my favorite for anything C++, C#. As anything, some things aren't done in the same way of all editors, you have to adapt your style. I also tried various scintilla editors (they often offer too few functionnalities beyond just the scintillarea control ), E (way too java and slow ), notepad2 and notepad++ (nice, but not as good as VIM ).

Only VIM, emacs and VS can filter and open file by their name only by using keyboard (that's the function I care the most about ) and this is what mattered to me in the end.

It reminds me of the classical learning curve of text editors  : http://blogs.msdn.co...learning-curves.aspx
193
Announce Your Software/Service/Product / Re: Bvckup
« Last post by ecaradec on October 18, 2010, 08:39 AM »
I've been running bvckup for a few days, and I must say that I'm very impressed by everything about it, including communication, design, technological posts around, even the "follow us on twitter" box with it's No weather or health reports, No lunch menus, No retweets, Concise and always on-topic promise AND the software which is has definitly solved my local backup issue.

It would be great if it had some history, just in case I delete something on a side by mistake to be able to get it back that way. I would happily pay for it when you release it.
194
Living Room / Re: I have a very hard announcement to make
« Last post by ecaradec on October 14, 2010, 07:16 AM »
You've made a lot to bring warmth to DC and at so many places over the internet app. It's ok to move away from times to times, enjoy your life and the people around you. This is the most important thing in life. Sometimes building things for others is just painful, because you just forget the love you have for it. You're doing the right decision if you feel like this right now.

I hope you'll be ok wherever you go next, and if you change your mind, come back, we'll be happy to see you again.
195
Developer's Corner / Re: My experience with developing a freemium browser add-on
« Last post by ecaradec on October 06, 2010, 06:37 PM »
The article really resonate with me, I leave a comment on the blog but it hasn't been moderated for the moment (or the spam filter throw it )

The perceived value of product has to be rather high compared to free stuff, so people are willing to buy. I think this is the issue here.

196
General Software Discussion / AllMyApps
« Last post by ecaradec on October 05, 2010, 10:12 AM »
I just discovered http://allmyapps.com. This is a application download website that has only silent installs. The best thing is that you can create a account, select all the applications you use and install them all at once unattended. This is super great if you need to reinstall a PC.  :-*
197
Thanks mouser, I hope I'll do better the next time,

I will pursue working on it a little bit anyway, I've found a way to detect the size of the flash more reliably by reading the header of the swf. This is something that can't be done by simple extensions.

I would like to try to conserve the ratio of games, it's not always correct depending of the resolution of the game (I have no solution for this right now )

I will also make extension package instead of an installer, so that I could upload them to extension websites, and it could be a little bit easier to install.
198
I actually add it but it's not full screen... The issue is that flash games are not performant enough to play full screen without switching the resolution. I might do a special build if you want to try ;)
199
Yes it was nice to try that, it was totally worth it ...
200
SwiffOut is free now : you can get it as http://swiffout.com -  :-* It was fun to sell it, but it doesn't sell enough to really worth the effort. If you really like it a donation is still welcome of course.
Pages: prev1 ... 3 4 5 6 7 [8] 9 10 11 12 13 ... 17next