Commit graph

2601 commits

Author SHA1 Message Date
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
Benoît Minisini
1614dc978d [GB.FORM]
* NEW: Work continues on the new GridView.


git-svn-id: svn://localhost/gambas/trunk@4501 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-23 03:59:39 +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
Benoît Minisini
6d6a2cb0f4 [GB.FORM]
* NEW: Start to make a GridView control entirely in Gambas. Contrary to 
  its native implementations, it will be able to handle millions of lines
  without eating all memory.


git-svn-id: svn://localhost/gambas/trunk@4498 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-22 03:24:48 +00:00
Benoît Minisini
da3a564c43 [GB.DRAW]
* BUG: Rect class can be used as a fonction correctly now.


git-svn-id: svn://localhost/gambas/trunk@4497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-22 01:43:17 +00:00
Benoît Minisini
65e1200b53 [INTERPRETER]
* BUG: Constructors that receive too many arguments now correctly raise an 
  error.

[GB.DRAW]
* BUG: Accessing a temporarily closed drawing device now raises an error
  instead of crashing.


git-svn-id: svn://localhost/gambas/trunk@4496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-22 01:42:40 +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
Benoît Minisini
8468c9d503 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly handle libraries that depends on more than one component.


git-svn-id: svn://localhost/gambas/trunk@4492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-20 00:16:53 +00:00
Benoît Minisini
8b11d16ec3 [DEVELOPMENT ENVIRONMENT]
* NEW: Make project creation dialog and project save as dialog less 
  difficult to understand.

[GB.FORM]
* NEW: Wizard: Remove padding around contents when the wizard has no 
  border.


git-svn-id: svn://localhost/gambas/trunk@4491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-20 00:02:11 +00:00
Benoît Minisini
834ca97b78 [GB.DBUS]
* BUG: Fix DBusObserver matching rules handling.

[GB.GTK]
* NEW: Control.NoTabFocus is a new property that prevents a control from 
  being in the TAB key focus chain.

[GB.QT4]
* NEW: Control.NoTabFocus is a new property that prevents a control from 
  being in the TAB key focus chain.
* OPT: Make part of the internal widget structure optional to save a bit of
  memory when rarely used properties are not set.


git-svn-id: svn://localhost/gambas/trunk@4490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-19 21:13:50 +00:00
Benoît Minisini
a668911d1e [INTERPRETER]
* BUG: Convert the return value of a native function to a variant 
  automatically only if the function call is done by a "CALL" bytecode.
  Consequently the gb.signal component works again.



git-svn-id: svn://localhost/gambas/trunk@4489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-19 16:13:38 +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
Timothy Lin
e400db5f1f [EXAMPLES]
* BUG: MineSweeper: Do not process MouseUp event if the mouse is outside the object.


git-svn-id: svn://localhost/gambas/trunk@4476 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-13 15:21:06 +00:00
Benoît Minisini
8d3ba2dc15 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix a possible crash when the form editor gets a spurious resize 
  event whereas undo management has been uninitialized.
* NEW: Libraries now can have requirements exactly like components. This is
  taken into account by the project property dialog.

[ARCHIVER]
* NEW: Put the '.component' file inside archives, so that the IDE can 
  extract libraries requirements from the executable.

[GB.FORM]
* NEW: Add two pixels to the height of the TabPanel tabbar.


git-svn-id: svn://localhost/gambas/trunk@4475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 23:29:18 +00:00
Benoît Minisini
859a04ba8c [INTERPRETER]
* BUG: Fix enumeration abortion.


git-svn-id: svn://localhost/gambas/trunk@4474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 21:37:46 +00:00
Benoît Minisini
7a3021909e [INTERPRETER]
* BUG: Fix translatable string constants inheritance.


git-svn-id: svn://localhost/gambas/trunk@4473 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 19:53:40 +00:00
Benoît Minisini
e291d41edc [GB.GTK]
* BUG: The inner container of a UserContainer is now automatically its 
  proxy control.


git-svn-id: svn://localhost/gambas/trunk@4472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 16:37:55 +00:00
Benoît Minisini
f6ee863e0c [GB.QT4]
* BUG: The inner container of a UserContainer is now automatically its 
  proxy control.


git-svn-id: svn://localhost/gambas/trunk@4471 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 16:24:59 +00:00
Benoît Minisini
3d400f8be4 [DEVELOPMENT ENVIRONMENT]
* BUG: Revert r4468 changes.


git-svn-id: svn://localhost/gambas/trunk@4470 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 12:01:07 +00:00
Fabien Bodard
ca971d316d [DEVELOPMENT ENVIRONMENT]
Backup


git-svn-id: svn://localhost/gambas/trunk@4469 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 11:02:10 +00:00
Fabien Bodard
1e32912056 [DEVELOPMENT ENVIRONMENT]
* BUG: Update the FCreateFile Form


git-svn-id: svn://localhost/gambas/trunk@4468 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-12 09:17:13 +00:00
Benoît Minisini
9a0e045cd1 [INTERPRETER]
* BUG: Object.Call() does not try to convert the return value if there is
  no return value!


git-svn-id: svn://localhost/gambas/trunk@4467 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-11 19:12:32 +00:00
Benoît Minisini
2fa263b81f [INTERPRETER]
* BUG: Object.Call() returns its value correctly now.


git-svn-id: svn://localhost/gambas/trunk@4466 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-11 19:09:03 +00:00
Benoît Minisini
286db372b8 [DEVELOPMENT ENVIRONMENT]
* BUG: Changing the number of tabs of a Report works again.


git-svn-id: svn://localhost/gambas/trunk@4465 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-11 19:04:59 +00:00
Benoît Minisini
9e30b521c4 [INTERPRETER]
* NEW: Formatting a date with gb.GeneralDate now always prints the time.
* BUG: The time part of a formatted date is never automatically removed 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@4464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-11 08:37:48 +00:00
Benoît Minisini
b075a2e026 [INTERPRETER]
* NEW: Loading a library does not load its dependencies automatically 
  anymore. Now they behave like components, and the IDE will have to
  compute the dependencies.


git-svn-id: svn://localhost/gambas/trunk@4463 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-08 20:26:24 +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
Benoît Minisini
7b191a1c5d [INTERPRETER]
* BUG: Fix date formatting.


git-svn-id: svn://localhost/gambas/trunk@4454 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-05 19:30:30 +00:00
Benoît Minisini
1a6d492738 [INTERPRETER]
* NEW: System.Shell is a new property that allows to define the shell used
  by the Shell instruction. By default, this is '/bin/sh'.


git-svn-id: svn://localhost/gambas/trunk@4453 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-05 16:18:57 +00:00