Commit graph

2677 commits

Author SHA1 Message Date
Benoît Minisini
2670b8f0e9 [GB.FORM]
* NEW: You can now find IconView items by directly typing their name while 
  the control has the focus.


git-svn-id: svn://localhost/gambas/trunk@4578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-29 20:21:10 +00:00
Benoît Minisini
27f01d30ee [CONFIGURATION]
* NEW: Update VERSION text file.


git-svn-id: svn://localhost/gambas/trunk@4577 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-29 16:46:30 +00:00
Benoît Minisini
0fa9944088 [DEVELOPMENT ENVIRONMENT]
* BUG: In the open project dialog, setting the recent files sorting mode 
  now correctly takes the filter into account.

[WEBSITE MAKER]
* NEW: Add Randall Morgan in the authors list.

[INTERPRETER]
* BUG: In memory checking routines, take previous SIGSEGV and SIGBUS signal
  handlers into account now.


git-svn-id: svn://localhost/gambas/trunk@4576 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-29 16:43:01 +00:00
Benoît Minisini
219dc74e95 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix file information dialog.

[GB.QT4.EXT]
* BUG: Fix bad interactions between highlighting and undo management.


git-svn-id: svn://localhost/gambas/trunk@4575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-29 00:24:33 +00:00
Benoît Minisini
c5d7541492 [CONFIGURATION]
* NEW: Switch to version 3.1.


git-svn-id: svn://localhost/gambas/trunk@4574 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-28 22:06:36 +00:00
Benoît Minisini
7ecc12bfe8 [GB.GTK]
* BUG: Do not try to change the background color of menus. It breaks GTK+
  widget style like Ambiance.

[GB.WEB]
* BUG: Setting a Request value to NULL now works as expected.


git-svn-id: svn://localhost/gambas/trunk@4573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-28 21:55:19 +00:00
Benoît Minisini
e086cced60 [GB.FORM]
* BUG: GridView: All mouse button press events now move the current cell.

[GB.GTK]
* BUG: Try to handle the Menu event the same way as in gb.qt4.


git-svn-id: svn://localhost/gambas/trunk@4572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-26 09:06:54 +00:00
Benoît Minisini
af5d69a8b7 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix extra files and extra dependencies tables in the packager.

[GB.GTK]
* BUG: Fix TabStrip management.

[GB.QT4]
* NEW: Do not display translation warning anymore when choosing the "C" 
  translation. Just uninstall the current translation (if any) silently.


git-svn-id: svn://localhost/gambas/trunk@4571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-26 01:19:51 +00:00
Benoît Minisini
dbfb8c320e [GB.FORM.MDI]
* BUG: Fix ToolBar behaviour when none of its children has an action.

[GB.GTK]
* BUG: Fix container children management.

[GB.QT4]
* BUG: Fix ToolButton text and picture alignment.


git-svn-id: svn://localhost/gambas/trunk@4570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-25 20:11:50 +00:00
Benoît Minisini
e72192ec22 [DEVELOPMENT ENVIRONMENT]
* NEW: Update the alternate background color of all themes.

[COMPILER]
* NEW: Support for <%: ... %> and <%! ... %> syntaxes in WebPage.

[GB.EVAL.HIGHLIGHT]
* NEW: Update WebPage highlighting, and handle the new syntaxes.


git-svn-id: svn://localhost/gambas/trunk@4569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-24 12:25:59 +00:00
Benoît Minisini
2c42a71783 [COMPILER]
* NEW: New WebPage syntax for server-side comments: <%-- ... --%>.

[GB.FORM]
* BUG: Clicking inside a GridView now correctly gives it the focus.
* BUG: ButtonBox background is correctly drawn with gb.gtk.

[GB.GTK]
* BUG: Handle GTK+ events, but not Gambas posted routines when setting the
  application busy cursor.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for server-side comment syntax in WebPage highlight routine.


git-svn-id: svn://localhost/gambas/trunk@4568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-23 21:35:24 +00:00
Benoît Minisini
d7114efe9b [GB.DB]
* BUG: Result.Update() now does not emit an incorrect request when the 
  result has not been modified. It just does nothing.

[GB.DB.FORM]
* BUG: DataBrowser: Clicking on the delete button does not delete two 
  records anymore.
* BUG: DataBrowser: Saving a new record now correctly takes into account 
  the currently edited field.

[GB.GTK]
* BUG: Remove some debugging messages.


git-svn-id: svn://localhost/gambas/trunk@4567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-23 02:12:40 +00:00
Henrique
d861b8bf22 [DEVELOPMENT ENVIRONMENT]
* NEW: Update of Brazilian Portuguese translation.

git-svn-id: svn://localhost/gambas/trunk@4566 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-19 23:50:50 +00:00
Benoît Minisini
d278346779 [GB.GTK]
* BUG: GTK+ callbacks must return a gboolean, not a bool. The C++ compiler
  does not compile the same thing in both cases!


git-svn-id: svn://localhost/gambas/trunk@4565 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-19 02:19:06 +00:00
François Gallo
da79fa86de [GB.VB]
* BUG: fix compilation on Windows/Cygwin.

[GB.SIGNAL]
* BUG: fix compilation on Windows/Cygwin.


git-svn-id: svn://localhost/gambas/trunk@4564 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-18 19:21:52 +00:00
Benoît Minisini
81795aa4e8 [DEVELOPMENT ENVIRONMENT]
* BUG: The default vendor prefix is now "gambas3" and not "gambas", so that
  component packages are correctly named.


git-svn-id: svn://localhost/gambas/trunk@4563 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-18 14:58:09 +00:00
Benoît Minisini
8b5cefb7b6 [COMPILER]
* BUG: Disable parser debugging messages.


git-svn-id: svn://localhost/gambas/trunk@4562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-18 14:54:46 +00:00
Benoît Minisini
c29798ff3f [DEVELOPMENT ENVIRONMENT]
* NEW: Error messages now can be displayed in normal text editors.

[COMPILER]
* NEW: Initial support of WebPage compilation.


git-svn-id: svn://localhost/gambas/trunk@4561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-18 13:14:17 +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
Benoît Minisini
91556cac06 [DEVELOPMENT ENVIRONMENT]
* NEW: The debug window has a button to switch between "normal view" and 
  "symbol view". In "normal view", array and collection contents are
  displayed. If the object is not an array or a collection, then all
  non-hidden symbols are displayed. In "symbol view", all objects symbols 
  are displayed, whatever the object type is.

[INTERPRETER]
* NEW: The debugger now can display collection-like objects. An object can 
  be displayed like a collection if it has a Count property, is enumerable,
  has a _get special method taking a string, and has a Key property that 
  returns the key of the last enumerated element.

[GB.DEBUG]
* NEW: The debugger now can display collection-like objects. An object can 
  be displayed like a collection if it has a Count property, is enumerable,
  has a _get special method taking a string, and has a Key property that 
  returns the key of the last enumerated element.

[GB.FORM]
* BUG: GridView.Clear resets the height of all rows to the default value.


git-svn-id: svn://localhost/gambas/trunk@4558 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-17 02:05:31 +00:00
Benoît Minisini
4eb6ac2fa2 [INTERPRETER]
* NEW: INPUT now only read strings. It does not convert the read string 
  with Val() anymore.
* BUG: IIf() and [...] do not accept non-value datatypes (Class and 
  Function).
* NEW: Start supporting displaying Collection-like classes in the debugger.


git-svn-id: svn://localhost/gambas/trunk@4557 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-16 21:41:38 +00:00
François Gallo
146f0c41f7 [INTERPRETER]
* BUG: the exp10() function works on FreeBSD now. 



git-svn-id: svn://localhost/gambas/trunk@4556 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-16 15:47:19 +00:00
François Gallo
54c9745f4c [INTERPRETER]
* BUG: The exp10() function is temporarily removed
  from gbx on FreeBSD because of the BSD libc that
  doesn't have this one.

[GB.V4L]
* NEW: compile with success on FreeBSD



git-svn-id: svn://localhost/gambas/trunk@4555 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-16 13:05:44 +00:00
Fabien Bodard
9240255f6e [EXAMPLES]
* BUG: Add gb.form to the dependencies, to allow the example to use GridView again.


git-svn-id: svn://localhost/gambas/trunk@4554 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-16 10:55:58 +00:00
Benoît Minisini
55bbad45cb [GB.FORM]
* NEW: GridView columns have two new properties: Alignment and Background.
* NEW: GridView.Sort and GridView.Ascending are two new properties to 
  define which column shows a sort symbol.
* NEW: GridView.Sorted is a new property to automatically handle column 
  clicks and display the sort symbol.


git-svn-id: svn://localhost/gambas/trunk@4553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-15 09:45:20 +00:00
Benoît Minisini
08fead2ea4 [INTERPRETER]
* NEW: INPUT returns the read string if it cannot be converted to any 
  number or date.


git-svn-id: svn://localhost/gambas/trunk@4552 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-14 12:26:37 +00:00
Benoît Minisini
1aed08a8e7 [DEVELOPMENT ENVIRONMENT]
* BUG: Activate proxy configuration.


git-svn-id: svn://localhost/gambas/trunk@4551 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-14 11:03:14 +00:00
Benoît Minisini
a5982b3d14 [INTERPRETER]
* BUG: RDir() now browse directories recursively even if the filter 
  argument is gb.File.


git-svn-id: svn://localhost/gambas/trunk@4550 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-14 02:11:36 +00:00
Benoît Minisini
ca8bc989dd [INTERPRETER]
* BUG: Fix the behaviour of INPUT so that it uses Val() again to convert 
  the values read from the stream.


git-svn-id: svn://localhost/gambas/trunk@4549 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-14 01:57:30 +00:00
Benoît Minisini
bd02074fed [GB.FORM]
* NEW: GridView[].EnsureVisible now keeps the left part of the cell always
  visible.
* BUG: The TableView editing field is now never larger than the TableView
  contents.


git-svn-id: svn://localhost/gambas/trunk@4548 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-14 01:34:14 +00:00
Benoît Minisini
f8dfe7d8de [GB.FORM]
* BUG: GridView: allow column width to be set to zero. In that case the 
  actual width is set to one pixel.


git-svn-id: svn://localhost/gambas/trunk@4547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-14 00:35:13 +00:00
Benoît Minisini
a551594bdc [GB.FORM]
* NEW: Add Left and Top synonymous properties to keep compatibility with 
  the old GridView.


git-svn-id: svn://localhost/gambas/trunk@4546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-14 00:28:28 +00:00
Benoît Minisini
fc62ec2a34 [INTERPRETER]
* BUG: INPUT does not leak memory anymore.


git-svn-id: svn://localhost/gambas/trunk@4545 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-13 02:39:10 +00:00
Benoît Minisini
f2c7ad7008 [DEVELOPMENT ENVIRONMENT]
* BUG: Help browser toolbar now uses the small font size defined in the 
  option dialog.
* BUG: Proxy configuration now allows all port numbers.


git-svn-id: svn://localhost/gambas/trunk@4544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-13 01:29:34 +00:00
Benoît Minisini
d584cf1121 [DEVELOPMENT ENVIRONMENT]
* NEW: Font size options has been renamed as "Default font size" and "Small
  font size". The small font size is now used for all toolbars.
* NEW: The help browser proxy can be configured.

[GB.FORM]
* NEW: The stock icon named "earth" has been renamed as "internet".

[GB.QT4]
* BUG: If a form is defined as being not visible, then using it as a 
  startup form won't show it.

[GB.QT4.WEBKIT]
* NEW: WebSettings.DefaultProxy is a new constant for using the default 
  proxy configuration.


git-svn-id: svn://localhost/gambas/trunk@4543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-12 01:48:49 +00:00
Benoît Minisini
e2dc7e9954 [INTERPRETER]
* BUG: Fix String.Left$() when the second argument is greater than the 
  string length.


git-svn-id: svn://localhost/gambas/trunk@4542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-11 14:26:52 +00:00
Benoît Minisini
032ac065b9 [GB.GTK]
* BUG: Draw checked menu item correctly.


git-svn-id: svn://localhost/gambas/trunk@4541 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-10 16:28:33 +00:00
Benoît Minisini
eb93325573 [COMPILER]
* BUG: Allow STATIC CONST again. I don't want to break existing code 
  finally...


git-svn-id: svn://localhost/gambas/trunk@4540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-10 14:32:37 +00:00
Benoît Minisini
dc1c62e014 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't save cursor position during a text selection.
* NEW: Update error messages.

[COMPILER]
* NEW: CONST cannot have the STATIC keyword anymore.

[GB.QT4.EXT]
* NEW: Editor: Do not highlight the current line when losing the focus.


git-svn-id: svn://localhost/gambas/trunk@4539 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-09 18:01:59 +00:00
Benoît Minisini
ffb418682b [DEVELOPMENT ENVIRONMENT]
* BUG: Many Shell$() calls were forgotten in the packager code.


git-svn-id: svn://localhost/gambas/trunk@4538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-08 01:52:18 +00:00
Benoît Minisini
9d6b4a0f0d [DEVELOPMENT ENVIRONMENT]
* BUG: Fix version requirements on components in the packager.

[INTERPRETER]
* OPT: A little optimization in LINE INPUT.

[GB.FORM]
* NEW: GridView: Setting the column width to -1 make it fit its contents.
* NEW: GridView: Double-clicking on the right limit of a column make it
  fit its contents.


git-svn-id: svn://localhost/gambas/trunk@4537 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-08 01:41:23 +00:00
Benoît Minisini
9e259995ea [INTERPRETER]
* OPT: Use mmap() to allocated the stack, not malloc(). Consequently, 
  calling functions recursively are now very fast.

[COMPILER]
* NEW: New FAST keyword.


git-svn-id: svn://localhost/gambas/trunk@4536 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-06 01:50:41 +00:00
Benoît Minisini
1b70498e49 [GB.FORM]
* BUG: GridView.Rows[].Selected now works correctly.
* NEW: GridView.Rows.Select and Unselect methods now selects (or unselects)
  one line if their second argument is omitted.


git-svn-id: svn://localhost/gambas/trunk@4535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-06 00:46:45 +00:00
Benoît Minisini
8dfb763782 [INTERPRETER]
* NEW: GOSUB can be recursive now, by saving the control variables, and
  restoring them on RETURN.

[COMPILER]
* NEW: GOSUB can be used on any top-level labels.


git-svn-id: svn://localhost/gambas/trunk@4534 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-04 23:43:07 +00:00
Benoît Minisini
6bd3a8a3a8 [COMPILER]
* BUG: GOTO works again.


git-svn-id: svn://localhost/gambas/trunk@4533 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-04 17:40:50 +00:00
Benoît Minisini
2f84e243e9 [COMPILER]
* BUG: Forgot to commit a file...


git-svn-id: svn://localhost/gambas/trunk@4532 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-04 17:39:08 +00:00
Benoît Minisini
e94477d0e1 [COMPILER]
* BUG: Use a dedicated control stack slot for each GOSUB subroutine.
* BUG: GOSUB labels now must be at top-level, and must be declared *after*
  the GOSUB call. Consequently, recursion is not possible anymore.


git-svn-id: svn://localhost/gambas/trunk@4531 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-04 09:13:59 +00:00
Benoît Minisini
1fc5a474de [INTERPRETER]
* NEW: New GOSUB instruction. You return from a GOSUB with the RETURN 
  instruction alone. Consequently, you cannot exit from a 'SUB' with it if
  there is a pending GOSUB. The GOSUB stack is only limited by the
  available memory.

[COMPILER]
* NEW: New GOSUB instruction.


git-svn-id: svn://localhost/gambas/trunk@4530 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-03 23:57:36 +00:00
Benoît Minisini
7de65428de [GB.FORM]
* NEW: Implement Title properties as synonymous of Text for row and column 
  headers.
* BUG: GridView.Rows[].Selected now works correctly when multiple selection 
  is enabled.


git-svn-id: svn://localhost/gambas/trunk@4529 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-03-03 12:18:30 +00:00