Commit graph

2757 commits

Author SHA1 Message Date
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
Benoît Minisini
b9b2d298a4 [GB.QT4.EXT]
* BUG: Editor cursor is ensured to be visible only if the editor has the 
  focus.


git-svn-id: svn://localhost/gambas/trunk@4452 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-05 16:07:57 +00:00
Benoît Minisini
fba595872f [GB.GTK]
* BUG: The TreeView/ListView/ColumnView Click event now should behave the
  same way as in gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@4451 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-05 15:08:50 +00:00
Benoît Minisini
c94933160f [GB.QT4]
* BUG: Drag & drop is allowed when the DragMove *or* the Drop events are 
  handled.


git-svn-id: svn://localhost/gambas/trunk@4450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-05 09:26:28 +00:00
Benoît Minisini
9855c33d97 [INTERPRETER]
* BUG: Make date formatting more consistent when the date part or the time 
  part is null.


git-svn-id: svn://localhost/gambas/trunk@4449 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-05 08:08:27 +00:00
Toni Rosa
6050b49b06 [GB.FORM]
* NEW: Update Catalan translation.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@4448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-03 18:33:57 +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
Benoît Minisini
2bbdb9a698 [INTERPRETER]
* BUG: Float and Single constants are now supported in native classes.


git-svn-id: svn://localhost/gambas/trunk@4444 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-01 01:51:29 +00:00
Benoît Minisini
2ea263af0d [CONFIGURATION]
* BUG: Fix the TEMPLATE directory broken by Randall.


git-svn-id: svn://localhost/gambas/trunk@4443 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-02-01 01:48:13 +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
72dbfb089a [GB.GTK]
* BUG: Fix Dialog.ShowHidden.


git-svn-id: svn://localhost/gambas/trunk@4440 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 10:34:24 +00:00
Benoît Minisini
8449b0b9b3 [GB.GTK]
* NEW: Dialog.ShowHidden is a new property to show or hide hidden files. It
  does not work on GTK+ at the moment. Is it a GTK+ bug?

[GB.QT4]
* NEW: Dialog.ShowHidden is a new property to show or hide hidden files.



git-svn-id: svn://localhost/gambas/trunk@4439 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 10:25:32 +00:00
Benoît Minisini
f7690d1afd [GB.GTK]
* BUG: Dialog.SelectDirectory() now correctly takes into account 
  Dialog.Path.


git-svn-id: svn://localhost/gambas/trunk@4438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 09:18:41 +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
f5472efbbe [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the form editor grid horizontal position.

[INTERPRETER]
* NEW: IsNan() is a new function that returns if a floating point value is
  not a number.
* NEW: IsInf() is a new function that returns +1 if a floating point value 
  is +Inf, -1 if it is -Inf, and 0 if it is a normal number.
* NEW: Swap$() is a new function that swaps a string.
* NEW: The MkBool$(), MkShort$(), MkInt$()... functions come back!

[COMPILER]
* NEW: +Inf and -Inf are two new keywords for representing the 
  corresponding special floating values.


git-svn-id: svn://localhost/gambas/trunk@4435 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 02:33:01 +00:00
Randall Morgan
a21d553f87 [GB.GSL]
* FIX: Reverting back to 4430 to solve issue
with mistaken template files.

git-svn-id: svn://localhost/gambas/trunk@4434 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 00:24:54 +00:00
Benoît Minisini
671da87a23 [GB.QT4]
* BUG: DrawingArea: Fix crash when setting the Cached property to True, 
  then to False.


git-svn-id: svn://localhost/gambas/trunk@4433 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 00:14:32 +00:00
Randall Morgan
db617dac0a [GB.GSL] * FIX: Reverting back to 4430 to solve issue
with mistaken template files.

git-svn-id: svn://localhost/gambas/trunk@4432 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-31 00:05:08 +00:00
Randall Morgan
f1a965045e [GB.GSL] * NEW: Initial commit of working code. Currently
only basic math functions.

git-svn-id: svn://localhost/gambas/trunk@4431 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-30 23:09:00 +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
3586159eb8 [CONFIGURATION]
* NEW: Support for gb.gsl.


git-svn-id: svn://localhost/gambas/trunk@4429 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-30 01:28:49 +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
Benoît Minisini
0a9b6abe82 [DEVELOPMENT ENVIRONMENT]
* NEW: More support for WebPage.

[COMPILER]
* NEW: Start supporting WebPage.


git-svn-id: svn://localhost/gambas/trunk@4427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-28 09:55:55 +00:00
Benoît Minisini
3ad16e0b5d [GB.WEB]
* NEW: URL: Remove the URL dynamic class. It's brain-fucking.
* NEW: URL: Add two new static methods, SetQuery() and UnsetQuery() to set
  and unset a field inside the URL query.


git-svn-id: svn://localhost/gambas/trunk@4426 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-28 08:52:23 +00:00
Benoît Minisini
9a3fae3f5d [GB.QT4]
* BUG: DrawingArea: Visible property now works correctly when the Cached
  property is set.


git-svn-id: svn://localhost/gambas/trunk@4425 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-28 03:11:55 +00:00
Benoît Minisini
30b81e80ab [CONFIGURATION]
* BUG: Update TEMPLATE directory so that it works as expected.


git-svn-id: svn://localhost/gambas/trunk@4424 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-28 02:29:08 +00:00
Benoît Minisini
736ccb775c [GB.DESKTOP]
* BUG: Desktop.Width and Desktop.Height are not overridden anymore.


git-svn-id: svn://localhost/gambas/trunk@4423 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-28 01:22:00 +00:00
Benoît Minisini
a89ad95046 [GB.QT4.EXT]
* BUG: Editor: Fix cursor management when the file end is folded.


git-svn-id: svn://localhost/gambas/trunk@4422 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-28 00:51:53 +00:00
Benoît Minisini
5c43a87220 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix handling of null String[] properties.
* NEW: Starting WebPage support.
* BUG: Fix filters in the file creation dialog.

[EXAMPLES]
* BUG: Fix the DragNDrop example.

[WIKI CGI SCRIPT]
* NEW: @index now can sort pages by ignoring a prefix but by displaying the
  full page title anyway in the index.

[GB.FORM]
* NEW: FileChoose got a new Margin property, that adds a margin around the 
  FileChooser controls when set.

[GB.WEB]
* NEW: Url is a new class that aims at handling URLs. Not finished yet!
* NEW: Url.Encode() and Url.Decode() now replace CGI.Encode() and 
  CGI.Decode().


git-svn-id: svn://localhost/gambas/trunk@4421 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-26 22:50:19 +00:00
Benoît Minisini
499f25ef56 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new Invert arrangement property.
* BUG: Fix background and foreground color buttons order in the icon 
  editor.
* BUG: Do not allow to add source files in the data directory, and data 
  files in the source directory.

[GB.FORM]
* NEW: FileChooser.ShowFile is a new property to hide or show the textbox
  that displays the file name.

[GB.GTK]
* NEW: Containers now have a new Invert property, that revert horizontal
  arrangements.

[GB.QT4]
* NEW: Containers now have a new Invert property, that revert horizontal
  arrangements.


git-svn-id: svn://localhost/gambas/trunk@4420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-24 17:46:35 +00:00
Benoît Minisini
332b751cd6 [CONFIGURATION]
* BUG: Explicitely use /bin/bash in the make-component script.


git-svn-id: svn://localhost/gambas/trunk@4419 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-24 02:58:44 +00:00
Benoît Minisini
dcaad26de1 [CONFIGURATION]
* NEW: Update the TEMPLATE directory and its script.


git-svn-id: svn://localhost/gambas/trunk@4418 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-24 01:06:49 +00:00
Benoît Minisini
d161440134 [DEVELOPMENT ENVIRONMENT]
* BUG: Add a limit to the history size.

[GB.FORM.STOCK]
* BUG: Do not require gb.gtk, so that compilation does not fail if gb.gtk 
  is not available.


git-svn-id: svn://localhost/gambas/trunk@4417 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-23 19:28:38 +00:00
Benoît Minisini
dcd6a9e147 [GB.IMAGE]
* BUG: Image.Colorize() now takes the color brightness into account.


git-svn-id: svn://localhost/gambas/trunk@4416 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-23 10:59:29 +00:00
Benoît Minisini
96c50f1600 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix some crash in database manager when removing fields or index.
* BUG: Fix position history.
* NEW: Add a history popup menu.

[INTERPRETER]
* NEW: The Html$() function now converts unicode non-breaking space (code 
  160) in a " " entity.

[GB.GTK]
* BUG: Now raise an error when using text-box methods on read-only 
  combo-boxes.
* NEW: GTK+ 2.16 is now required.


git-svn-id: svn://localhost/gambas/trunk@4415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-22 13:13:25 +00:00
Benoît Minisini
62c2a02cb6 [GB.DBUS]
* BUG: Fix memory leaks in DBus error management.


git-svn-id: svn://localhost/gambas/trunk@4414 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-21 20:10:45 +00:00
Benoît Minisini
34f24c3991 [INTERPRETER]
* BUG: Fix the Param array accessor, that returns a specific extra argument
  from its index.

[GB.DBUS]
* BUG: Fix DBus method call when the method returns nothing. If there is an
  error, it is correctly raised.


git-svn-id: svn://localhost/gambas/trunk@4413 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-21 03:19:38 +00:00
Benoît Minisini
3415d05b28 [GB.GTK+]
* BUG: Try to be compatible with GTK+ <= 2.16.


git-svn-id: svn://localhost/gambas/trunk@4412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-20 23:21:52 +00:00
Benoît Minisini
81d31c9033 [GB.FORM]
* BUG: Fix ValueBox in design mode.

[GB.GTK]
* BUG: Correctly handle GotFocus and LostFocus events for proxies.

[GB.QT4]
* BUG: Correctly handle GotFocus and LostFocus events for proxies.
* BUG: Correctly handle Menu events for proxies.


git-svn-id: svn://localhost/gambas/trunk@4411 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-20 08:17:18 +00:00
Benoît Minisini
67f024a12d [GB.GTK]
* BUG: Make gb.gtk compile with GTK+ versions older than 2.18.


git-svn-id: svn://localhost/gambas/trunk@4410 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-20 00:00:15 +00:00
Benoît Minisini
6227c5ecf2 [INTERPRETER]
* OPT: Optimize IIf() when its two last arguments have the same datatype.


git-svn-id: svn://localhost/gambas/trunk@4409 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-01-19 02:53:09 +00:00