Natural Docs

I recently discovered this project (opensource) thanks to a post in SEPY feature requests. Natural Docs is an open-source, extensible, multi-language documentation generator.
It has native support for C#, Perl and ActionScript2 (PHP, Python, etc. has basic support).
It seems a really valid project, the problem (for me) actually is that is doesn’t support javadoc, even if I read on its forum that he’s planning to support it in the future.
Natural Docs requires Perl 5.05 or higher to run. If you’re using Linux or Mac OS X, you should already have it. If you’re using Windows and haven’t installed it yet, you can get ActiveState’s ActivePerl for free.
There are free versions available for many other platforms as well.

Download Version 1.34 from sourceforge.net site

Charset handling proposal in AMFPHP

Patrick Mineault makes a proposal for the charset handling in AMFPHP

[..] that should put an end to problems with Unicode and native character set handling between PHP and Flash, a problem that has palgued AMFPHP for a long time

To use charset handling in the new CVS version, you will need to call the setCharsetHandler function from your gateway.php file, like this:

$gateway->setCharsetHandler("iconv", "latin1", "latin1");

Detail for setCharsetHandler method: setCharsetHandler(string mode, string phpCharset, string sqlCharset) The mode can be: 1. none (don’t do anything) 2. iconv (uses the iconv libray for reencoding) 3. mbstring (uses the mbstring library for reencoding) 4. recode (uses the recode library for reencoding) 5. utf8_decode (uses the XML function utf8_decode and encode for reencoding – ISO-8859-1 only) I haven’t tested it already, but I’m sure this is a great step toward a solution of the charset problem!

http://www.amfphp.org/wiki/doku.php?id=charset_issue

Javascript quick reference

I was reading Christian Cantrell‘s weblog and i found a very useful link which display in the left sidebar of your firefox browser the javascript reference (css, dom, xsl, html, unicode tools).
In order to use check it out by saving this URL as a bookmark, and checking the ‘view in sidebar’ option in it’s properties: http://lachy.id.au/dev/mozilla/sidebar/sidebar.xul
Also very very useful the unicode tools

http://lachy.id.au/dev/mozilla/sidebar/sidebar.xul

Yet another Encryption Software?

Today I received an email claiming a new Flash encryption software, Sintrix Flash Encrypt v1.0. It pretends to be the best encryption software, for these reasons: – Flash Encrypt not only uses Obfuscation but also attacks the Decompiler itself. In most cases, Flash Encrypted files are not even readable by Decompilers yet they still play perfectly in a Flash Player. Flash Encrypt makes it so that the Flash Decompiler can not even open the SWF file giving you 100% protection – What makes Flash Encrypt stand out as the leader of any Flash protection is the fact that Flash Encrypt has a full staff of people continuously searching, identifying, and finding ways to defeat decompile software as it is released and then getting it to you the customer via auto-updates. No matter how popular the decompile software, no matter how big or small, Flash Encrypt will defeat it and give your ActionScript protection from theft. Below are some of the Decompile Software packages that Flash Encrypt currently defeats. Imperator FLA, Eltima Flash Decompiler, Action Script Viewer, Sothink SWF Decompiler and more. Actually it comes in 2 versions: Home Edition for $49.99 and Corporate Edition for $149.99.
I will take it a try with the trial version, even if i read on the download note that the demo version comes without the main encryption engine. This demo is only to give you minor protection and give you the basic idea of the look and feel of Flash Encrypt. Should I spend 149.99 and I cannot test its encryption engine before?? This is not good at all!

http://www.sintrix.com/flash-encrypt.html

Comment, Comment Everywhere

Commenting lines, commenting multilines, uncommenting lines ect..
If you’re a SE|PY user you probalby know that actually there are 2 different menu items for commenting/uncommenting code (and also 2 different key shortcuts).
I received different requests for change this thing. Some people ask me to make a unique shortcut/menu for commenting and uncommenting code, and also make 2 different way of add comment (one for ‘//’ comment and the other for ‘/*’ comment).
In this way, if you hit “comment” on a line:
_root.gotoAndStop(1);
it will become
// _root.gotoAndStop(1);

and, if you hit again on “comment” with the selection in the same line it will turn back to _root.gotoAndStop(1);
No problem in fact with single line selection.. but if you hit “comment” on a multiline selection like:
_root.gotoAndStop(1); //play();
another_line();
what should be the result?
1st solution:
Detect line by line, if line is commented then uncomment it, otherwise comment line //_root.gotoAndStop(1);
play
();
//another_line();
or 2nd solution Detect first line of the selection, if this line is commented, then try to uncomment all the lines in selection, otherwise comment every line of selection
//_root.gotoAndStop(1);
//play();
//another_line();

there is also a discussion in the developement mailing list, I’m not completely sure which is the best solution, even i prefer the second one.. I would like to know your opinion

SEPY 1.0.6.3 testing version

I just uploaded a new version on the sourceforge site (1.0.6.3).
With this version I started with some testing on various features I would like to use in the version 2 of SEPY.
In fact I left the old XML based system for internationalization in order to start using python gettext and wxPython i18n support. It also has been added a feature in the preference panel (under autocompletion tab) which allow user to define the builtin classpath used by the program It’s a testing version, for this reason pay attention with it and please report to me problems.

P.S. Actually there are is english, french and italian translation (because this is only for testing purposes), if you’re interested on how to had your language support i will write the steps for install more languages