From 0bc1701225dea1488719ee86a2603e3689c7ba2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Wed, 14 Jul 2010 16:33:29 +0000 Subject: [PATCH] [WIKI CGI SCRIPT] * NEW: New look for version specific documentation. [INTERPRETER] * NEW: Assign() has been removed, and replaced by Eval() with an expression beginning with the LET keyword. * NEW: New routines to read a value stored at a memory address: BoolPtr(), BytePtr(), ShortPtr(), IntPtr(), LongPtr(), SinglePtr(), FloatPtr() and PointerPtr(). [COMPILER] * NEW: The LET keyword can be used to write an assignment expression. Of course it is optional. [GB.EVAL] * NEW: The LET keyword can be used to evaluate an assignment. * NEW: The Expression.Compile() method does not take any argument anymore. git-svn-id: svn://localhost/gambas/trunk@3041 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- TODO | 1 - app/src/doc.cgi/.lang/.pot | 180 ++++++++++++++-------------- app/src/doc.cgi/.lang/fr.mo | Bin 6613 -> 6611 bytes app/src/doc.cgi/.lang/fr.po | 200 +++++++++++++++---------------- app/src/doc.cgi/.src/Main.module | 9 +- main/gbc/gbc_trans_code.c | 6 + main/gbx/gbx.c | 1 + main/gbx/gbx_class_info.c | 16 ++- main/gbx/gbx_exec_loop.c | 8 +- main/gbx/gbx_extern.c | 16 +++ main/gbx/gbx_extern.h | 3 +- main/gbx/gbx_subr.h | 1 + main/gbx/gbx_subr_extern.c | 20 ++++ main/gbx/gbx_subr_misc.c | 2 +- main/lib/eval/CExpression.c | 14 +-- main/lib/eval/CExpression.h | 3 +- main/lib/eval/eval.c | 10 +- main/share/gb_reserved_keyword.h | 42 ++----- main/share/gb_reserved_temp.h | 179 ++++++++++++++------------- 19 files changed, 379 insertions(+), 332 deletions(-) diff --git a/TODO b/TODO index 8e09ed5d1..7c8628d81 100644 --- a/TODO +++ b/TODO @@ -30,7 +30,6 @@ INTERPRETER - NInstr() -> Count the number of patterns. - If project compilation version < compiler version then => compile all - Catch kill signal to remove temporary files. -- Callback support - Sorting two or more arrays at the same time. - MOD with floats. - Make the error information associated with the current stack frame. diff --git a/app/src/doc.cgi/.lang/.pot b/app/src/doc.cgi/.lang/.pot index 683b65771..38ae5ac2c 100644 --- a/app/src/doc.cgi/.lang/.pot +++ b/app/src/doc.cgi/.lang/.pot @@ -19,7 +19,7 @@ msgid "Syntax" msgstr "" #: Main.module:728 -msgid "Examples" +msgid "Example" msgstr "" #: Main.module:746 @@ -38,361 +38,361 @@ msgstr "" msgid "Description" msgstr "" -#: Main.module:1329 +#: Main.module:1332 msgid "Contents" msgstr "" -#: Main.module:1434 +#: Main.module:1437 msgid "Gambas Documentation" msgstr "" -#: Main.module:1476 +#: Main.module:1479 msgid "Home" msgstr "" -#: Main.module:1660 +#: Main.module:1663 msgid "Previous" msgstr "" -#: Main.module:1670 +#: Main.module:1673 msgid "Next" msgstr "" -#: Main.module:1700 +#: Main.module:1703 msgid "Edit" msgstr "" -#: Main.module:1702 +#: Main.module:1705 msgid "Create" msgstr "" -#: Main.module:1707 +#: Main.module:1710 msgid "Rename" msgstr "" -#: Main.module:1712 +#: Main.module:1715 msgid "Undo" msgstr "" -#: Main.module:1717 +#: Main.module:1720 msgid "Refresh" msgstr "" -#: Main.module:1723 +#: Main.module:1726 msgid "Search" msgstr "" -#: Main.module:1724 +#: Main.module:1727 msgid "Administration" msgstr "" -#: Main.module:1762 +#: Main.module:1765 msgid "Documentation" msgstr "" -#: Main.module:1766 +#: Main.module:1769 msgid "History" msgstr "" -#: Main.module:1787 +#: Main.module:1790 msgid "Warning!" msgstr "" -#: Main.module:1791 +#: Main.module:1794 msgid "See english version" msgstr "" -#: Main.module:1798 +#: Main.module:1801 msgid "Comments on &1" msgstr "" -#: Main.module:2038 +#: Main.module:2041 msgid "This page is not translated." msgstr "" -#: Main.module:2045 +#: Main.module:2048 msgid "This page is not up to date." msgstr "" -#: Main.module:2063 +#: Main.module:2066 msgid "There is no comment on this page yet." msgstr "" -#: Main.module:2065 +#: Main.module:2068 msgid "This documentation page is not available." msgstr "" -#: Main.module:2128 +#: Main.module:2131 msgid "This symbol does not exist in version &1." msgstr "" -#: Main.module:2131 +#: Main.module:2134 msgid "This class does not exist in version &1." msgstr "" -#: Main.module:2134 +#: Main.module:2137 msgid "This component does not exist in version &1." msgstr "" -#: Main.module:2393 +#: Main.module:2396 msgid "DELETE ME" msgstr "" -#: Main.module:2456 +#: Main.module:2459 msgid "Save" msgstr "" -#: Main.module:2456 +#: Main.module:2459 msgid "Delete" msgstr "" -#: Main.module:2946 +#: Main.module:2949 msgid "New path" msgstr "" -#: Main.module:2948 +#: Main.module:2951 msgid "Rename children" msgstr "" -#: Main.module:3015 +#: Main.module:3018 msgid "This documentation page already exists." msgstr "" -#: Main.module:3075 +#: Main.module:3078 msgid "&1 - History" msgstr "" -#: Main.module:3166 +#: Main.module:3169 msgid "No change" msgstr "" -#: Main.module:3182 +#: Main.module:3185 msgid "Creation" msgstr "" -#: Main.module:3243 +#: Main.module:3246 msgid "User management" msgstr "" -#: Main.module:3254 +#: Main.module:3257 msgid "Create user" msgstr "" -#: Main.module:3256 +#: Main.module:3259 msgid "Edit user" msgstr "" -#: Main.module:3258 +#: Main.module:3261 msgid "Delete user" msgstr "" -#: Main.module:3265 +#: Main.module:3268 msgid "Name" msgstr "" -#: Main.module:3266 +#: Main.module:3269 msgid "Password" msgstr "" -#: Main.module:3267 +#: Main.module:3270 msgid "Confirm" msgstr "" -#: Main.module:3310 +#: Main.module:3313 msgid "Database management" msgstr "" -#: Main.module:3313 +#: Main.module:3316 msgid "Download database" msgstr "" -#: Main.module:3317 +#: Main.module:3320 msgid "Purge temporary files" msgstr "" -#: Main.module:3321 +#: Main.module:3324 msgid "Clear page cache" msgstr "" -#: Main.module:3349 +#: Main.module:3352 msgid "Please enter a user name." msgstr "" -#: Main.module:3351 +#: Main.module:3354 msgid "Passwords do not match." msgstr "" -#: Main.module:3353 +#: Main.module:3356 msgid "Please enter a password." msgstr "" -#: Main.module:3355 +#: Main.module:3358 msgid "User already exists." msgstr "" -#: Main.module:3359 +#: Main.module:3362 msgid "User '&1' created." msgstr "" -#: Main.module:3361 +#: Main.module:3364 msgid "Cannot create user '&1'. Error code #&2." msgstr "" -#: Main.module:3375 +#: Main.module:3378 msgid "User '&1' modified." msgstr "" -#: Main.module:3377 +#: Main.module:3380 msgid "Cannot edit user '&1'. Error code #&2." msgstr "" -#: Main.module:3386 +#: Main.module:3389 msgid "Cannot delete user 'gambas'. This user is reserved." msgstr "" -#: Main.module:3390 +#: Main.module:3393 msgid "User '&1' deleted." msgstr "" -#: Main.module:3392 +#: Main.module:3395 msgid "Cannot delete user '&1'. Error code #&2." msgstr "" -#: Main.module:3451 +#: Main.module:3454 msgid "The page cache has been cleared." msgstr "" -#: Main.module:3476 +#: Main.module:3479 msgid "Return to administration page" msgstr "" -#: Main.module:3489 +#: Main.module:3492 msgid "Search with Google" msgstr "" -#: Main.module:3552 +#: Main.module:3555 msgid "Classes" msgstr "" -#: Main.module:3756 +#: Main.module:3759 msgid "Date" msgstr "" -#: Main.module:3756 +#: Main.module:3759 msgid "User" msgstr "" -#: Main.module:3756 +#: Main.module:3759 msgid "Page" msgstr "" -#: Main.module:3789 +#: Main.module:3792 msgid "State" msgstr "" -#: Main.module:3956 +#: Main.module:3959 msgid "Symbols" msgstr "" -#: Main.module:3965 +#: Main.module:3968 msgid "This class reimplements" msgstr "" -#: Main.module:3967 +#: Main.module:3970 msgid "This class inherits" msgstr "" -#: Main.module:3973 +#: Main.module:3976 msgid "in" msgstr "" -#: Main.module:3989 +#: Main.module:3992 msgid "Static properties" msgstr "" -#: Main.module:3990 +#: Main.module:3993 msgid "Static methods" msgstr "" -#: Main.module:3992 +#: Main.module:3995 msgid "Constants" msgstr "" -#: Main.module:4009 +#: Main.module:4012 msgid "Properties" msgstr "" -#: Main.module:4010 +#: Main.module:4013 msgid "Methods" msgstr "" -#: Main.module:4011 +#: Main.module:4014 msgid "Events" msgstr "" -#: Main.module:4031 +#: Main.module:4034 msgid "This class is &1." msgstr "" -#: Main.module:4033 +#: Main.module:4036 msgid "" "This class can be used like an object by creating an hidden instance on " "demand." msgstr "" -#: Main.module:4037 +#: Main.module:4040 msgid "creatable" msgstr "" -#: Main.module:4040 +#: Main.module:4043 msgid "This class is static." msgstr "" -#: Main.module:4042 +#: Main.module:4045 msgid "This class is not creatable." msgstr "" -#: Main.module:4048 +#: Main.module:4051 msgid "This class acts like a &1 / &2 array." msgstr "" -#: Main.module:4048 +#: Main.module:4051 msgid "read" msgstr "" -#: Main.module:4048 +#: Main.module:4051 msgid "write" msgstr "" -#: Main.module:4050 +#: Main.module:4053 msgid "This class acts like a &1 array." msgstr "" -#: Main.module:4050 +#: Main.module:4053 msgid "read-only" msgstr "" -#: Main.module:4056 +#: Main.module:4059 msgid "This class is &1 with the &2 keyword." msgstr "" -#: Main.module:4056 +#: Main.module:4059 msgid "enumerable" msgstr "" -#: Main.module:4060 +#: Main.module:4063 msgid "This class can be used as a &1." msgstr "" -#: Main.module:4060 +#: Main.module:4063 msgid "function" msgstr "" -#: Main.module:4611 +#: Main.module:4614 msgid "Only in &1 version" msgstr "" -#: Main.module:4656 +#: Main.module:4659 msgid "There are &1 classes and &2 symbols in all Gambas components." msgstr "" diff --git a/app/src/doc.cgi/.lang/fr.mo b/app/src/doc.cgi/.lang/fr.mo index 915e6b8ab05a16f85ca51adea2fda82f51517165..8d649f70a298ecb8da81da05ab467f0115cb60ee 100644 GIT binary patch delta 1384 zcmXZcOGwmF6vy#1rZc|M^6hA5j-}?5miEHb6v+yD2o)^?gNn+9i^LX1{Ou{`BGN?> zLbyn2W5Qq{VzfyLBBF>uFroozQ$&$b6!!f!7ykIU_x|tyo^#K=n1B~u{|e^Nzn$X6 z0*o=B0FSU3r?DR2<7zBSjoFNPe;QS(KHQHFupED(0+uX|&EJg6=^w>H>_ly>A61EA zk4BirB$nYkR$y9M?1Qb&L#Xkys2vYEhfzBoaZaKVc!4_752%X$Kvg7xj*ch|RcSAe zhF*j)4#TJbRj7%zsM0lHkXpQS$~chFm8gdSmAKz|2UUUlsIwYF1&E+7(-i8=pAT;HU+~%BgumBUG*}rLnZJAb)+k(iv2`YBtS<;l!L0YUqVAK zf|!K$r~r+qi6KR2ZXk~O;4LbFrT-JSjL63A4=TY8tc6NZfrGdS8&H*LcJB`$#jtMF9XNqX zcm%VEZx?CQ;5b&`6V#=9he~K2xmT9V_I2rUQR7XhM8l|(cA>uObMMDc2}e=4eZuu) zs0uBhue1H&29|L<{dLsB`CL`)una4)3M1H!yYM!K@C7#F58RE_L>s_f)a9N>mb9-} zkAGdiUiA+$(7|s(J2;C(;BFK>Sm$WBJG|GTVeA9UsRe>qgS