Update of /cvsroot/ganc/web In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30872 Modified Files: download.php ganc.css index.php local_variables.php right_frame.php Added Files: documentation.php Removed Files: news.php Log Message: Moved 'news.php' to 'index.php' and added 'documentation.php' that is basically old 'index.php' --- NEW FILE: documentation.php --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Home - ganc</title> <link rel="Stylesheet" href="ganc.css" type="text/css" media="screen" /> <script src="scripts/x.js" type="text/javascript"></script> <script src="scripts/adjust-columns.js" type="text/javascript"></script> </head> <body> <!-- include some local_variables --> <?php include 'local_variables.php' ?> <?php $documentation_class="active" ?> <!---------------------------- Left frame -----------------------------> <div id="leftframe"> <div id="leftframe-content"> <!-- this id is necessary for the javascript --> <h2>Documentation</h2> <hr /> <p> ganc is a <strong>G</strong>nome-based <strong>A</strong>lgebraic <strong>N</strong>otation <strong>C</strong>alculator. <br /> Just a very very useful and simple algebraic calculator. But then again, not so simple. </p> <p> Have you ever done some simple calculation like adding a bunch of numbers. Then you made a mistake and all the numbers you'd typed so far got lost. Or maybe you finished, got your result and wondered if you made a mistake typing. Is the result correct? Well, I'm affraid the only way to know is do it again and hope you get the same result. </p> <p> Or maybe you were programing and wanted to transform that ugly hexadecimal or binary number into something more meaningful. Or viceversa. </p> <p>That's where ganc comes in. </p> <p> ganc has a very simple syntax. There's no learning curve. If you want to add two plus two you just type '2 + 2' and that's it! It can also handle more complicated stuff involving several expressions in the same line, functions, implicit product, variables, numbers in different bases, bitwise operations, logical operations, etc ... It even allows C-style in-line variable definition.<br /> </p> <p> The format for any expression entered in ganc is:<br /><br /> <strong>expression [:: format [, format, ...]]</strong> </p> <p> <em>expression</em> is just a regular mathematical expression. <br /> You can use operations such as: <ul> <li>arithmetics operators: <strong><pre>+ - * /</pre> </strong></li> <li>logical operators: <strong><pre>&& || != == > < >= <= </pre> </strong></li> <li>bitwise operators: <strong><pre>& | ~ ^| </pre></strong></li> <li>functions: <strong><pre>sin cos exp log ...</pre> </strong></li> </ul> </p> <p> <em>format</em> is one or more format identifiers separated by commas<br /> So far the only format identifiers supported are: <ul> <li><em>_number</em>: output will be expressed in base <em>number</em></li> <li><em>_</em>: write output result in base format: <em>number_base</em></li> </ul> </p> <p> Some examples of valid ganc expressions are: <table cellspacing="5"> <tr><td>2 + 2 * 3</td><td><em>precedence is handled adequately (= 8)<em></td></tr> <tr><td>sin 45</td><td><em>trigonometrical functions<em></td></tr> <tr><td>2 sin 45</td><td><em>implicit product</em></td></tr> <tr><td>a= 2 + 2 * 3</td><td><em>variable asignment</em></td></tr> <tr><td>2*a + 2a</td><td><em>variable use</em></td></tr> <tr><td>c= 2*b= a + 2a</td><td><em>in-line variable asignment (b=a + 2a and c= 2*(a + 2a))</em></td></tr> <tr><td>2 + 3; b= 1 - 2; 2b</td><td><em>several expressions at the same time</em></td></tr> <tr><td>1b5_16</td><td><em>hexadecimal number (base 16)</em></td></tr> <tr><td>3vgt_32; 1001_2</td><td><em>base 32 and binary</em></td></tr> <tr><td>23 :: _16</td><td><em>number 23 expressed in base 16</em></td></tr> <tr><td>f_16 & 1101_2</td><td><em>bitwise 'and' operation</em></td></tr> </table> <!-- <ul> <li><span>2 + 2 * 3</span><em>precedence is handled adequately (= 8)</em></li> <li><span>sin 45</span><em>trigonometrical functions</em></li> <li><span>2 sin 45</span><em>implicit product</em></li> <li><span>a= 2 + 2 * 3</span><em>variable asignment</em></li> <li><span>2*a + 2a</span><em>variable use</em></li> <li><span>c= 2*b= a + 2a</span><em>in-line variable asignment (b=a + 2a and c= 2*(a + 2a))</em></li> <li><span>2 + 3; b= 1 - 2; 2b</span><em>several expressions at the same time</em></li> <li><span>1b5_16</span><em>hexadecimal number (base 16)</em></li> <li><span>3vgt_32; 1001_2</span><em>base 32 and binary</em></li> <li><span>23 :: _16</span><em>number 23 expressed in base 16</em></li> <li><span>f_16 & 1101_2</span><em>bitwise 'and' operation</em></li> </ul> --> </p> <p> ganc also features a keypad so you don't have to type if you don't feel like it. You can achieve the same results just using your mouse. </p> </div> </div> <!---------------------------- Right frame -----------------------------> <?php include 'right_frame.php' ?> <!-------------------------------- Footer --------------------------------> <div id="footer"> <hr /> </div> </body> </html> Index: download.php =================================================================== RCS file: /cvsroot/ganc/web/download.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** download.php 4 Feb 2004 01:49:14 -0000 1.2 --- download.php 4 Feb 2004 02:39:08 -0000 1.3 *************** *** 29,41 **** </p> <ul> <li>Stable version <strong>0.7</strong>: ! <ul> ! <li>Source tarball: <a href="http://prdownloads.sourceforge.net/ganc/ganc-0.7.tar.gz?download">ganc-0.7.tar.gz</a></li> ! </ul> <li>Stable version <strong>0.6</strong>: ! <ul> ! <li>Source tarball: <a href="http://prdownloads.sourceforge.net/ganc/ganc-0.6.tar.gz?download">ganc-0.6.tar.gz</a></li> ! </ul> ! </li> <li>CVS at SourceForge.net: <ul> --- 29,41 ---- </p> <ul> + <li>Stable version <strong>0.8</strong>: + <a href="http://prdownloads.sourceforge.net/ganc/ganc-0.8.tar.gz?download">ganc-0.8.tar.gz</a></li> + <li>Stable version <strong>0.7</strong>: ! <a href="http://prdownloads.sourceforge.net/ganc/ganc-0.7.tar.gz?download">ganc-0.7.tar.gz</a></li> ! <li>Stable version <strong>0.6</strong>: ! <a href="http://prdownloads.sourceforge.net/ganc/ganc-0.6.tar.gz?download">ganc-0.6.tar.gz</a></li> ! <li>CVS at SourceForge.net: <ul> Index: ganc.css =================================================================== RCS file: /cvsroot/ganc/web/ganc.css,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ganc.css 4 Feb 2004 01:49:14 -0000 1.2 --- ganc.css 4 Feb 2004 02:39:08 -0000 1.3 *************** *** 84,88 **** /* emphasis inside list */ ul em { ! padding-left: 30%; /* padding-left: 12em;*/ } --- 84,88 ---- /* emphasis inside list */ ul em { ! /* padding-left: 30%; */ /* padding-left: 12em;*/ } Index: index.php =================================================================== RCS file: /cvsroot/ganc/web/index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.php 4 Feb 2004 01:49:14 -0000 1.2 --- index.php 4 Feb 2004 02:39:08 -0000 1.3 *************** *** 9,79 **** <body> <!-- include some local_variables --> ! <?php include 'local_variables.php' ?> ! <?php $home_class="active" ?> <!---------------------------- Left frame -----------------------------> <div id="leftframe"> ! <div id="leftframe-content"> <!-- this id is necessary for the javascript --> ! <h2>ganc</h2> <hr /> ! <p> ! ganc is a <strong>G</strong>nome-based <strong>A</strong>lgebraic <strong>N</strong>otation <strong>C</strong>alculator. <br /> ! Just a very very useful and simple algebraic calculator. But then again, not so simple. ! </p> ! <p> ! Have you ever done some simple calculation like adding a bunch of numbers. ! Then you made a mistake and all the numbers you'd typed so far got lost. ! Or maybe you finished, got your result and wondered if you made a mistake typing. ! Is the result correct? Well, I'm affraid the only way to know is do it again and ! hope you get the same result. ! </p> ! <p> ! Or maybe you were programing and wanted to transform that ugly hexadecimal or binary number into ! something more meaningful. Or viceversa. ! </p> ! <p>That's where ganc comes in. </p> ! <p> ! ganc has a very simple syntax. There's no learning curve. If you want to add two plus two ! you just type '2 + 2' and that's it! ! It can also handle more complicated stuff involving several expressions in the same line, ! functions, implicit product, variables, numbers in different bases, bitwise operations, ! logical operations, etc ... It even allows C-style in-line variable definition.<br /> ! Some examples of valid ganc expressions are: ! <table cellspacing="5"> ! <tr><td>2 + 2 * 3</td><td><em>precedence is handled adequately (= 8)<em></td></tr> ! <tr><td>sin 45</td><td><em>trigonometrical functions<em></td></tr> ! <tr><td>2 sin 45</td><td><em>implicit product</em></td></tr> ! <tr><td>a= 2 + 2 * 3</td><td><em>variable asignment</em></td></tr> ! <tr><td>2*a + 2a</td><td><em>variable use</em></td></tr> ! <tr><td>c= 2*b= a + 2a</td><td><em>in-line variable asignment (b=a + 2a and c= 2*(a + 2a))</em></td></tr> ! <tr><td>2 + 3; b= 1 - 2; 2b</td><td><em>several expressions at the same time</em></td></tr> ! <tr><td>1b5_16</td><td><em>hexadecimal number (base 16)</em></td></tr> ! <tr><td>3vgt_32; 1001_2</td><td><em>base 32 and binary</em></td></tr> ! <tr><td>23 :: _16</td><td><em>number 23 expressed in base 16</em></td></tr> ! <tr><td>f_16 & 1101_2</td><td><em>bitwise 'and' operation</em></td></tr> ! </table> ! <!-- ! <ul> ! <li><span>2 + 2 * 3</span><em>precedence is handled adequately (= 8)</em></li> ! <li><span>sin 45</span><em>trigonometrical functions</em></li> ! <li><span>2 sin 45</span><em>implicit product</em></li> ! <li><span>a= 2 + 2 * 3</span><em>variable asignment</em></li> ! <li><span>2*a + 2a</span><em>variable use</em></li> ! <li><span>c= 2*b= a + 2a</span><em>in-line variable asignment (b=a + 2a and c= 2*(a + 2a))</em></li> ! <li><span>2 + 3; b= 1 - 2; 2b</span><em>several expressions at the same time</em></li> ! <li><span>1b5_16</span><em>hexadecimal number (base 16)</em></li> ! <li><span>3vgt_32; 1001_2</span><em>base 32 and binary</em></li> ! <li><span>23 :: _16</span><em>number 23 expressed in base 16</em></li> ! <li><span>f_16 & 1101_2</span><em>bitwise 'and' operation</em></li> ! </ul> ! --> ! </p> ! <p> ! ganc also features a keypad so you don't have to type if you don't feel like it. You can achieve the same results ! just using your mouse. ! </p> ! <p> ! ganc adds the power and complexity of an algebraic calculator to the simplicity of a regular calculator. ! </p> </div> </div> --- 9,43 ---- <body> <!-- include some local_variables --> ! <?php ! include 'local_variables.php'; ! $home_class="active"; ! ?> <!---------------------------- Left frame -----------------------------> <div id="leftframe"> ! <div id="leftframe-content"> ! <h2>ganc - News</h2> <hr /> ! <ul class="news"> ! <li>3rd Feb 2004 <br /> ! <em>ganc-0.8 released</em></li> ! Brand new ganc release. <br /> ! With this version ganc becomes pure gtk2. <br /> ! It doesn't use readline and libzvt2 anymore so it should be a lot easier to install for a lot of people. And it looks way nicer thanks to the wonderful gtk2 widget GtkTextView. ! ! <li>13th Dec 2003 <br /> ! <em>ganc-0.7 released</em></li> ! A new hot release right out of the oven. Check it out in ! the download page. ! <li>21st Nov 2003<br /> ! <em>ganc's web page got updated</em></li> ! ganc's web page got a major makeover ! ! <li>19th Nov 2003<br /> ! <em>ganc goes on CVS</em></li> ! ganc's source code is in CVS!<br /> ! You can get it at SourceForge.net ! ! </ul> </div> </div> Index: local_variables.php =================================================================== RCS file: /cvsroot/ganc/web/local_variables.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** local_variables.php 17 Dec 2003 00:21:22 -0000 1.1 --- local_variables.php 4 Feb 2004 02:39:08 -0000 1.2 *************** *** 1,8 **** <!-- define local variables --> <?php ! $current_version="0.7"; $home_class=""; ! $news_class=""; $screenshots_class=""; $download_class=""; --- 1,8 ---- <!-- define local variables --> <?php ! $current_version="0.8"; $home_class=""; ! $documentation_class=""; $screenshots_class=""; $download_class=""; Index: right_frame.php =================================================================== RCS file: /cvsroot/ganc/web/right_frame.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** right_frame.php 4 Feb 2004 01:49:14 -0000 1.2 --- right_frame.php 4 Feb 2004 02:39:08 -0000 1.3 *************** *** 7,11 **** </p> <p class="<?php echo "$home_class" ?>"><a href="http://ganc.sourceforge.net">Home</a></p> ! <p class="<?php echo "$news_class" ?>"><a href="news.php">News</a></p> <p class="<?php echo "$screenshots_class" ?>"><a href="screenshots.php">Screenshots</a></p> <p class="<?php echo "$download_class" ?>"><a href="download.php">Download</a></p> --- 7,11 ---- </p> <p class="<?php echo "$home_class" ?>"><a href="http://ganc.sourceforge.net">Home</a></p> ! <p class="<?php echo "$documentation_class" ?>"><a href="documentation.php">Documentation</a></p> <p class="<?php echo "$screenshots_class" ?>"><a href="screenshots.php">Screenshots</a></p> <p class="<?php echo "$download_class" ?>"><a href="download.php">Download</a></p> --- news.php DELETED --- |