Commit graph

91 commits

Author SHA1 Message Date
Benoît Minisini
7bd330aa00 [INTERPRETER]
* NEW: "_operators" is a new interface that allows any native class to be
  used with most of arithmetic operators: +, -, *, /, Abs, =, <> at the 
  moment.
* NEW: The "_convert" interface now allows a class to be converted to any
  datatype, not just other classes.
* NEW: Str() and Print uses the "_convert" interface to print a localized
  string conversion of any object.

[GB.GSL]
* NEW: Use the new "_operators" interface so that complex numbers can be 
  handled by standard arithmetic operators.
* NEW: The Complex class now implements the "_convert" interface.


git-svn-id: svn://localhost/gambas/trunk@4908 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-08 14:35:58 +00:00
Benoît Minisini
8ad1afe673 [CONFIGURATION]
* NEW: Print disabled components individually.

[GB.QT4]
* BUG: ComboBox background color is correctly handled now.


git-svn-id: svn://localhost/gambas/trunk@4739 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-18 01:19:15 +00:00
Benoît Minisini
e2fac79ffb [CONFIGURATION]
* NEW: Replace the old "INCLUDES" directive by "xxx_CPPFLAGS" in all 
  Makefile.am files.

[GB.XML]
* BUG: Remove debugging flags from compilation flags.


git-svn-id: svn://localhost/gambas/trunk@4714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-04 16:45:14 +00:00
Benoît Minisini
09330f7501 [GB.GSL]
* BUG: Remove from the Test project the files that must not be present in
  the subversion repository.


git-svn-id: svn://localhost/gambas/trunk@4560 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-18 11:48:39 +00:00
Randall Morgan
5da2463da1 Just updating source while working
[GB.GSL]
* NEW: Updating development code.

git-svn-id: svn://localhost/gambas/trunk@4559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-17 17:18:54 +00:00
Randall Morgan
7dcd32d1b6 [GB.GSL]
* NEW: Added Test Suite Gambas Project to GSL Component.

git-svn-id: svn://localhost/gambas/trunk@4527 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-03 00:21:36 +00:00
Randall Morgan
98f3d19663 [GB.GSL]
* NEW: Change CPolynomial_SolveQuadratic and CPolynomial_SolveCubic to use
   values from internal data array. Also added Out of bounds error if the number of
   coefficients is incorrect for the called method.

git-svn-id: svn://localhost/gambas/trunk@4502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-23 22:47:36 +00:00
Randall Morgan
7a7544fa69 [GB.GSL]
* BUG: Commented out bad line of code that cause the component to fail to compile.

git-svn-id: svn://localhost/gambas/trunk@4500 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-22 10:59:08 +00:00
Randall Morgan
b87e4f1983 [GB.GSL]
* BUG: Fixed issue with incorrect return type in CPolynomial_SolveCudic and
   CPolynomial_SolveQuadratic methods.

git-svn-id: svn://localhost/gambas/trunk@4499 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-22 10:29:26 +00:00
Randall Morgan
48097fc1e4 [GB.GSL]
* BUG: Fixed error in GslComplex_Pow method declaration.

git-svn-id: svn://localhost/gambas/trunk@4495 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-21 07:50:48 +00:00
Randall Morgan
9319247693 [GB.GSL]
* NEW: Added Hypot3 function to GSL class.
   Added initial methods to CPolynomial class.

git-svn-id: svn://localhost/gambas/trunk@4494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-21 03:36:40 +00:00
Randall Morgan
4fe9db6123 [GB.GSL]
* NEW: Added Arg, Abs, Abs2, and LogAbs methods to Complex class.

git-svn-id: svn://localhost/gambas/trunk@4493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-20 11:05:11 +00:00
Randall Morgan
e9a68b8af2 [GB.GSL]
* BUG: Fixed filenames in file headers. 
   Renamed static *create_complex() in the complex class
   to GSLComplex_create() so that it could be used in other
   compenent files.

git-svn-id: svn://localhost/gambas/trunk@4488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-18 22:56:08 +00:00
Randall Morgan
a919a08cf0 [GB.GSL]
* BUG: Changed function prototypes in all files to use upper case variable names (xf) to (X)f.
   Moved frexp to c_gsl where it belongs.

git-svn-id: svn://localhost/gambas/trunk@4487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-18 22:06:10 +00:00
Randall Morgan
e575e091cf [GB.GSL]
* DEV: Experimenting with memory allocation for polynomial
   coefficients.

git-svn-id: svn://localhost/gambas/trunk@4486 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-17 19:29:08 +00:00
Randall Morgan
281b7de7c3 [GB.GSL]
* NEW: Added ComplexPolynomial and NewtonPolynomial class files.

git-svn-id: svn://localhost/gambas/trunk@4485 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-17 07:30:59 +00:00
Randall Morgan
1e80fe0d30 [GB.GSL]
* NEW: Testing Array data handling methods for Polynomial class.

git-svn-id: svn://localhost/gambas/trunk@4484 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-17 07:29:55 +00:00
Randall Morgan
eb4195403e [GB.GSL]
* NEW: Changed Frexp function to Static method.

git-svn-id: svn://localhost/gambas/trunk@4483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-17 06:18:41 +00:00
Randall Morgan
a8caa61c5b [GB.GSL]
* NEW: Added Frexp function to Complex Class.

git-svn-id: svn://localhost/gambas/trunk@4482 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-16 19:11:15 +00:00
Randall Morgan
cbca412899 [GB.GSL]
* NEW: Added skeleton Polynomial Class.

git-svn-id: svn://localhost/gambas/trunk@4481 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-15 23:53:45 +00:00
Randall Morgan
5b0b2b84dd [GB.GSL]
* NEW: Added Set, Rect, and Polar Methods.
   Also moved THIS declaration to source file
   And declared complex_create() in header.

git-svn-id: svn://localhost/gambas/trunk@4480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-15 23:52:30 +00:00
Randall Morgan
bda63fc0d3 [GB.GSL]
* NEW: Alpha release of Complex Number class.

git-svn-id: svn://localhost/gambas/trunk@4479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-14 22:22:43 +00:00
Benoît Minisini
21dac9f92d [GB.GSL]
* BUG: Update Makefile.am with new source files.
* NEW: Add a complex dynamic constructor.
* NEW: Add a complex static constructor _call().
* NEW: Add Complex.Copy().
* NEW: Add Complex.ToString().


git-svn-id: svn://localhost/gambas/trunk@4478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-14 08:06:09 +00:00
Randall Morgan
d0757716c7 [GB.GSL]
* BUG: Uploaded bare minimum code for review.
   I still have a Null "THIS" Pointer in class methods. Hoping
   for some clarification from someone. Anyone? As to why
   this occurs in the GslComplex_Add method.

git-svn-id: svn://localhost/gambas/trunk@4477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-13 20:45:28 +00:00
Randall Morgan
227a73b645 [GB.GSL]
* BUG: Renamed IsINF to IsInf and IsNAN to IsNan for consistancy.

git-svn-id: svn://localhost/gambas/trunk@4462 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-08 13:21:31 +00:00
Randall Morgan
84587a6328 [GB.GSL]
* NEW: Added Class Constance.

git-svn-id: svn://localhost/gambas/trunk@4461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-06 23:56:51 +00:00
Randall Morgan
155824bde3 [GB.GSL]
* NEW: Added Complex method skeletons still under development.

git-svn-id: svn://localhost/gambas/trunk@4460 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-06 23:33:53 +00:00
Randall Morgan
05e5017371 [GB.GSL]
* BUG: Removed call to development file.

git-svn-id: svn://localhost/gambas/trunk@4459 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-06 17:39:31 +00:00
Benoît Minisini
985c1a742d [DEVELOPMENT ENVIRONMENT]
* NEW: Traditional Chinese translation made by Timothy Lin.
* BUG: Correctly take the project tabulation size in automatic structure
  completion.
* BUG: Fix the tips of the day language selection.

[EXAMPLES]
* NEW: New MineSweeper example made by Timothy Lin and slightly modified by
  me.

[GB.EVAL.HIGHLIGHT]
* BUG: 'undefined' is a javascript keyword.

[GB.FORM.DIALOG]
* NEW: Take the new Dialog.ShowHidden property into account.

[GB.QT4.EXT]
* BUG: Editor cursor is ensured to be visible when it is visible, not when
  it has just the focus.


git-svn-id: svn://localhost/gambas/trunk@4458 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-06 16:48:24 +00:00
Randall Morgan
e20f03d58d [GB.GSL]
* BUG: Fixed case in method name Log1p.

git-svn-id: svn://localhost/gambas/trunk@4457 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-06 15:32:52 +00:00
Randall Morgan
66f73016c3 [GB.GSL]
* BUG: Changed the name of the method LogLP to Log1p and Expml to Expm1.

git-svn-id: svn://localhost/gambas/trunk@4456 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-06 14:02:08 +00:00
Randall Morgan
b624cddc67 [GB.GSL]
* NEW: Added gsl_complex development files.

git-svn-id: svn://localhost/gambas/trunk@4455 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-06 13:59:56 +00:00
Randall Morgan
2aa0792aac [GB.GSL]
* BUG: Fixed error including development file.

git-svn-id: svn://localhost/gambas/trunk@4447 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-03 11:04:42 +00:00
Randall Morgan
a23643d289 [GB.GSL]
* NEW: Added IntPow() function to library.

git-svn-id: svn://localhost/gambas/trunk@4446 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-03 10:59:31 +00:00
Randall Morgan
49825cb556 [GB.GSL]
* BUG: Fixed return value for Fcpmb function.

git-svn-id: svn://localhost/gambas/trunk@4445 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-01 12:29:43 +00:00
Randall Morgan
da6d62931e [GB.GSL]
* NEW: Added additional elementary math function and number
  testing function.

git-svn-id: svn://localhost/gambas/trunk@4442 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 22:23:28 +00:00
Randall Morgan
7b0f463386 [GB.GSL]
* NEW: Added elementary math function and number
  testing function.

git-svn-id: svn://localhost/gambas/trunk@4441 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 11:55:38 +00:00
Benoît Minisini
999fe03898 [GB.GSL]
* BUG: Forgot one file yet.


git-svn-id: svn://localhost/gambas/trunk@4437 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 09:06:11 +00:00
Benoît Minisini
c40e7b38df [GB.GSL]
* BUG: Add missing files.


git-svn-id: svn://localhost/gambas/trunk@4436 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 09:02:42 +00:00
Benoît Minisini
14aed2a6e2 [DEVELOPMENT ENVIRONMENT]
* NEW: Add gb.gsl to the list of components.

[GB.GSL]
* BUG: Fix implementation and declaration of Gsl.IntPow2().


git-svn-id: svn://localhost/gambas/trunk@4430 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-30 01:50:18 +00:00
Benoît Minisini
d99b88d451 [GB.GSL]
* NEW: Skeleton for a new component based on the GNU Scientific Library. It
  will be developed by Randall Morgan.


git-svn-id: svn://localhost/gambas/trunk@4428 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-30 01:23:31 +00:00