24 May 2013 23:14
Feature request: Read a component's .info file for help in the IDE
Tobias Boege <taboege <at> gmail.com>
2013-05-24 21:14:52 GMT
2013-05-24 21:14:52 GMT
Hi, it is said in [0] that the IDE can access an .info file of a project to get documentation out of it. I tried this with gb.openssl which I documented in its source code. It did not work since it's a component and not a project. As the gambas-devels may already know, I have a bunch of scripts to extract these comments and merge them into existing .info files. This works properly meanwhile. Consequently, I'd like to see the IDE display the help comments in a *component's* .info file. Is that possible? Regards, Tobi [0] http://gambasdoc.org/help/doc/helpcomments?v3 ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
Additionally, I'm not even a cryptography novice, so I encourage anyone with
knowledge of this matter to look at the code and report any (security)
problem (but not too much, please).
At least, the test cases (see attachment) work correctly and without crash
or memory leak (on non-Linux platforms, I can't promise anything, though;
there may trigger some assert()s!) and the design seems future-proof.
You basically have two classes which work somewhat alike: Digest and Cipher.
One gets access to an algorithm by giving its name to the array accessors:
Digest["md5"].Hash("some string")
et voila.
The conversion between the string "md5" and the actual hashing function is
done by libcrypto itself. The names are *not* provided by my component. You
can get a full list of all supported algorithm names in the Digest.List:
RSS Feed