Commit graph

1691 commits

Author SHA1 Message Date
Benoît Minisini
4270d6f111 [GB.REPORT]
* BUG: Add debugging messages.

git-svn-id: svn://localhost/gambas/trunk@3474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 03:21:36 +00:00
Benoît Minisini
5ec2cf75d0 [GB.QT4]
* BUG: DrawingArea draws its border correctly again.


git-svn-id: svn://localhost/gambas/trunk@3473 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 03:15:09 +00:00
Benoît Minisini
1b7476c5b3 [GB.FORM]
* BUG: Fix MaskBox with no mask.


git-svn-id: svn://localhost/gambas/trunk@3472 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 02:32:01 +00:00
Benoît Minisini
16b3fb8a93 [GB.FORM]
* BUG: Fix the time part of the DateChooser.


git-svn-id: svn://localhost/gambas/trunk@3471 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 02:27:51 +00:00
Benoît Minisini
322c8249a4 [DEVELOPMENT ENVIRONMENT]
* BUG: Handle variant control properties as string properties.
* BUG: Try to deal with autocompletion of exported classes in component
  projects that use themselves.

[GB.FORM]
* BUG: Fix ButtonBox arrangement.
* NEW: ValueBox was completely redesigned. It supports now the following
  editing types: Number, Date, Time, DateTime, Currency & IPAddress.
* NEW: MaskBox.MaskChar has been removed. The mask char is now always a 
  space!
* NEW: MaskBox is more intelligent now with digit masks and cursor moves.
* NEW: DateChooser.ShowTime is a new property that let it edit times.
* NEW: DateBox.ShowTime is a new property that let it edit times.

[GB.GTK]
* BUG: Setting Control.Proxy to NULL works now.
* BUG: New controls are correctly arranged when they are inserted in their 
  parent container.
* BUG: UserControl._Arrangement has been implemented.
* BUG: UserControl.SetFocus has been removed.

[GB.QT4]
* BUG: UserControl.Arrangement is really an integer property.


git-svn-id: svn://localhost/gambas/trunk@3469 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 01:42:32 +00:00
Fabien Bodard
2ded7f368c [GB.REPORT]
OPT: Midway commit


git-svn-id: svn://localhost/gambas/trunk@3468 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-18 20:01:00 +00:00
Benoît Minisini
5a97c1d97d [GB.GTK]
* BUG: Find a reliable way of using "print to a file" printer when setting 
  the Printer.OutputFile property.


git-svn-id: svn://localhost/gambas/trunk@3467 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-17 22:57:26 +00:00
Benoît Minisini
20a5a8e549 [GB.GTK]
* BUG: Setting Printer.OutputFile now should automatically switch to the
  "print to a file" printer.


git-svn-id: svn://localhost/gambas/trunk@3466 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-17 22:41:29 +00:00
Fabien Bodard
9deaebf84d [DEVELOPMENT ENVIRONMENT]
* BUG: Finish to add necessary definition in the ide for ReportBrush


git-svn-id: svn://localhost/gambas/trunk@3465 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-17 19:12:08 +00:00
Benoît Minisini
fce4691c9f [DEVELOPMENT ENVIRONMENT]
* NEW: The about dialog has been redesigned.
* NEW: The system information tab in the about box now detects the current 
  desktop.

[GB.DESKTOP]
* NEW: The following desktops should be detected now: WindowMaker, 
  Enlighnement.

[GB.GTK]
* NEW: Support for screen available geometry.


git-svn-id: svn://localhost/gambas/trunk@3464 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-17 16:07:50 +00:00
Benoît Minisini
a25c1a2514 [INTERPRETER]
* BUG: Clean up variable padding and alignment.


git-svn-id: svn://localhost/gambas/trunk@3463 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-17 02:18:40 +00:00
Benoît Minisini
86c281809a [DEVELOPMENT ENVIRONMENT]
* BUG: Add "ReportBrush[" to the complex string properties list.
* BUG: Handle class names with one letter only in automatic completion.
* BUG: Do not automatically expand project tree view parent items when we
  have just collapsed it.
* BUG: Adding an added form to the subversion repository now adds its class 
  file too.
* NEW: Update compiler error message list.


git-svn-id: svn://localhost/gambas/trunk@3462 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-16 23:59:09 +00:00
Benoît Minisini
9bd5694c34 [GB.GTK]
* BUG: The Label and TextLabel are not incorrectly made visible anymore.
* NEw: Use '\t' instead of spaces to separate menu text from the shortcut.


git-svn-id: svn://localhost/gambas/trunk@3461 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-16 23:26:03 +00:00
Benoît Minisini
8bac2ad504 [INTERPRETER]
* BUG: Fix some conversion from Single to other datatypes.


git-svn-id: svn://localhost/gambas/trunk@3460 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-16 22:04:17 +00:00
Fabien Bodard
9cfcbde8c9 Pardon :)
git-svn-id: svn://localhost/gambas/trunk@3459 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-16 21:56:29 +00:00
Fabien Bodard
c99605490e [DEVELOPMENT ENVIRONMENT]
* NEW: The report border dialog have changed to use side independant
  size ans color.
* NEW: New dialog to edit ReportBrush, it support simple color, 
  Gradients, Images.
* OPT: The ReportBorder format string have changed to become mo flexible
  so all report made with it are unusable 


git-svn-id: svn://localhost/gambas/trunk@3458 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-16 20:31:24 +00:00
Fabien Bodard
cf9158da23 oups
git-svn-id: svn://localhost/gambas/trunk@3457 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-15 22:55:12 +00:00
Fabien Bodard
ab30f88d36 [GB.REPORT]
* OPT: Begin the changes on the report engine


git-svn-id: svn://localhost/gambas/trunk@3456 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-15 22:53:58 +00:00
Benoît Minisini
bd4d73f42b [INTERPRETER]
* BUG: Fix the READ instruction when reading null strings.


git-svn-id: svn://localhost/gambas/trunk@3455 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-15 01:04:32 +00:00
Benoît Minisini
33177a678a [COMPILER]
* BUG: Normal arrays of structures are not supported. Display an error 
  message instead of compiling something that crashes the interpreter.


git-svn-id: svn://localhost/gambas/trunk@3454 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-15 00:58:56 +00:00
Benoît Minisini
7998ec6dc3 [INTERPRETER]
* BUG: Support for MkPointer$().
* NEW: Embedded arrays of structures array write accessor has been 
  implemented.


git-svn-id: svn://localhost/gambas/trunk@3453 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-13 18:56:52 +00:00
Benoît Minisini
224775b68e [INTERPRETER]
* NEW: Support for Pointer arithmetic (addition and substraction).


git-svn-id: svn://localhost/gambas/trunk@3452 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-10 22:56:30 +00:00
Benoît Minisini
eb6f0cbb79 [INTERPRETER]
* BUG: Raise an error instead of crashing now when reading memory at a 
  forbidden address with a <type>@() function.


git-svn-id: svn://localhost/gambas/trunk@3451 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-09 00:28:49 +00:00
Benoît Minisini
e30aee9dbe [COMPILER]
* NEW: '\0' is a new string escape character for Chr$(0).

[GB.DRAW]
* NEW: Several Draw.Begin() and/or Paint.Begin() on the same device can be 
  safely imbricated.

[GB.EVAL]
* NEW: '\0' is a new string escape character for Chr$(0).

[GB.FORM]
* NEW: ButtonBox.Alignment is a new property to define the alignment of its
  internal TextBox.
* NEW: New syntaxes for the MaskBox mask:
  - '<' just after a mask character and just before a separator means that 
    the text before will be right-aligned.
  - '!' marks the default cursor position when the MaskBox gets the focus.


git-svn-id: svn://localhost/gambas/trunk@3450 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-08 01:17:55 +00:00
Benoît Minisini
9edec79f89 [GB.WEB]
* NEW: Do not compress PNG and JPEG responses.
* NEW: Automatically emit the "Vary: Accept-Encoding" header when sending a
  compressed response.


git-svn-id: svn://localhost/gambas/trunk@3449 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-07 15:09:48 +00:00
David Villalobos Cambronero
7e327f1619 [Examples]
* NEW: Added a new example to show how to use gb.mysql

git-svn-id: svn://localhost/gambas/trunk@3448 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-06 15:48:46 +00:00
Benoît Minisini
1cdef3b24f [GB.FORM]
* NEW: Redesign the syntax of the MaskBox.Mask property. It is now a LIKE
  regular expression (or almost).
* BUG: DateBox.Value works correctly again.

[GB.GTK]
* BUG: Popup windows work again.


git-svn-id: svn://localhost/gambas/trunk@3447 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-05 19:36:59 +00:00
Benoît Minisini
51de809d76 [GB.FORM]
* NEW: Change the meaning of mask characters.


git-svn-id: svn://localhost/gambas/trunk@3446 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-05 17:10:07 +00:00
Benoît Minisini
0f50806bb8 [GB.FORM]
* NEW: A new control, MaskBox, that is a TextBox with an optional mask.
* NEW: ButtonBox now uses a MaskBox.

[GB.GTK]
* BUG: TextBox.Selection.Length now returns the correct value.

[GB.QT4]
* BUG: TextBox.Selection.Start now returns the cursor position when nothing
  is selected.


git-svn-id: svn://localhost/gambas/trunk@3445 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-05 16:52:24 +00:00
Benoît Minisini
9f465f552d [GB.QT4]
* BUG: Control.HasFocus() now correctly follow the proxy chain.


git-svn-id: svn://localhost/gambas/trunk@3444 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-05 01:46:45 +00:00
Benoît Minisini
f0c601134e [DEVELOPMENT ENVIRONMENT]
* BUG: Automatic insertion of event handlers is not case sensitive anymore.
* BUG: Fix some symbol icons in automatic completion popup.

[GB.GTK]
* NEW: Key events now handle proxies.
* NEW: The events are now sent to the proxy first. This should be contrary, 
  but at least it does not break the IDE.

[GB.FORM]
* NEW: ButtonBox.Button is a new property that defines if the button should
  be visible or not.
 
[GB.QT4]
* NEW: Key events now handle proxies.
* NEW: SetFocus() now follows the proxy chain.
* NEW: The events are now sent to the proxy first. This should be contrary, 
  but at least it does not break the IDE.


git-svn-id: svn://localhost/gambas/trunk@3443 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-05 01:44:43 +00:00
Benoît Minisini
1f25fbd67a [GB.QT4]
* BUG: Remove some debugging messages.


git-svn-id: svn://localhost/gambas/trunk@3442 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-05 00:56:10 +00:00
Benoît Minisini
6a9a8b1fa0 [GB.GTK]
* NEW: Proxy recursion is allowed now. But it is not handle in keyboard 
  events yet.
* BUG: ComboBox does not crash anymore if deleted while there is a pending
  internal model update.
* BUG: Control.ScreenX and Control.ScreenY now return the correct values 
  for controls whose GTK+ widget has no window.

[GB.QT4]
* NEW: Proxy recursion is allowed now. But it is not handle in keyboard 
  events yet.
* BUG: Remove the now useless specific focus management of UserControl.


git-svn-id: svn://localhost/gambas/trunk@3441 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-05 00:55:18 +00:00
Benoît Minisini
7cf9cc6881 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't abort if there is a breakpoint with a bad line number stored
  in the project settings file.

[GB.GTK]
* BUG: SpinBox Value property should always be accurate now.
* BUG: Enter and Leave events are correctly raised again.
* BUG: Calling Menu.Children.Clear() or deleting a menu during a Menu Show
  event should not crash anymore.
* BUG: A parent menu does not raise the Click event anymore.

[GB.QT4]
* BUG: Calling Menu.Children.Clear() or deleting a menu during a Menu Show
  event should not crash anymore.

[GB.QT4.EXT]
* BUG: Getting the Editor.Text property now does not leave the current line
  uncolorized.


git-svn-id: svn://localhost/gambas/trunk@3440 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-04 16:10:07 +00:00
Benoît Minisini
c654cb202a [INTERPRETER]
* BUG: Correctly read and write floating point numbers starting with
  0.00000000...
* BUG: The Stat.Perm[] property correctly returns execution permissions 
  now.


git-svn-id: svn://localhost/gambas/trunk@3439 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-04 02:35:48 +00:00
David Villalobos Cambronero
1bed70c063 [DEVELOPMENT ENVIRONMENT]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@3436 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-03 14:03:12 +00:00
Benoît Minisini
da16512b50 [GB.GTK]
* BUG: The default maximum value of ScrollBar and Slider controls must be 
  100, not 99.


git-svn-id: svn://localhost/gambas/trunk@3435 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-03 13:08:14 +00:00
Benoît Minisini
7546deb921 [GB.SETTINGS]
* BUG: Do not crash in Settings.ReadWindow().


git-svn-id: svn://localhost/gambas/trunk@3434 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-03 12:59:33 +00:00
Benoît Minisini
15d0fbcb9c [DEVELOPMENT ENVIRONMENT]
* BUG: Symbol icons are all visible again in the completion popup.
* NEW: A source language different from the one used in the source code can
  be used in the translation dialog.

[GB.FORM]
* NEW: Bookmark edition has been redesigned and enhanced.


git-svn-id: svn://localhost/gambas/trunk@3433 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-03 12:25:56 +00:00
Benoît Minisini
f097f0a10b [INTERPRETER]
* BUG: Fix Format$().


git-svn-id: svn://localhost/gambas/trunk@3432 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-02 20:08:49 +00:00
Fabien Bodard
0c60323dbc [GB.FORM]
* NEW: initial import of the iconview widget



git-svn-id: svn://localhost/gambas/trunk@3431 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-02 19:44:18 +00:00
Benoît Minisini
2b432beca0 [DEVELOPMENT ENVIRONMENT]
* BUG: Error raised inside form generated code are correctly displayed 
  again.

[INTERPRETER]
* NEW: The GB.Every() API now takes a pointer argument that will be passed
  to the callback.


git-svn-id: svn://localhost/gambas/trunk@3430 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-02 18:24:50 +00:00
Benoît Minisini
3ead02082c [DEVELOPMENT ENVIRONMENT]
* BUG: Don't show '$' in the dependencies combo-box of the component 
  property dialog.

[INTERPRETER]
* NEW: GB.Every() is a new API that allows a component to call a callback
  regularly. Useful for polling something for example.


git-svn-id: svn://localhost/gambas/trunk@3429 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-02 17:09:54 +00:00
Benoît Minisini
61acd2084d [DEVELOPMENT ENVIRONMENT]
* BUG: Update component dependencies correctly when converting a Gambas 2 
  project.
* BUG: Extern function declarations are now taken into account by the
  contextual help system.
* BUG: Clicking on a link to a project declaration in an help window works
  correctly now.

[GB.GTK]
* BUG: DrawingArea.NoBackground works in all cases now.
* BUG: Dialog.OpenFile() works correctly again now.


git-svn-id: svn://localhost/gambas/trunk@3428 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-02 13:14:21 +00:00
Benoît Minisini
2eb5d8b8ca [GB.GTK]
* NEW: Rect is a new class that represents a Rectangle. It has some useful
  methods like Contains, Union or Intersection.

[GB.QT4]
* NEW: Rect is a new class that represents a Rectangle. It has some useful
  methods like Contains, Union or Intersection.


git-svn-id: svn://localhost/gambas/trunk@3427 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-02 00:39:08 +00:00
Benoît Minisini
f8f707c81c [DEVELOPMENT ENVIRONMENT]
* BUG: Disable "Replace" and "Replace all" buttons in the search dialog 
  while the project is running.


git-svn-id: svn://localhost/gambas/trunk@3426 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-01 23:34:49 +00:00
Benoît Minisini
f5b97ba80f [GB.GTK]
* BUG: Reparenting a GridView directly or indirectly should work correctly 
  now.


git-svn-id: svn://localhost/gambas/trunk@3425 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-01 22:30:16 +00:00
Benoît Minisini
e4f5513ca0 [GB.SETTINGS]
* BUG: Settings.Read() on a Window tries to not put the titlebar outside of
  the available desktop geometry.


git-svn-id: svn://localhost/gambas/trunk@3424 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-01 20:53:06 +00:00
Benoît Minisini
8793112d29 [GB.QT4]
* BUG: The Move() method now correctly works on top-level windows.

[GB.SETTINGS]
* NEW: Support for multiple screens and desktop layout when saving or 
  loading window geometry in a setting file.


git-svn-id: svn://localhost/gambas/trunk@3423 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-01 20:49:21 +00:00
Benoît Minisini
caefe95103 [GB.GTK]
* BUG: Settings the text of a transparent Label or TextLabel having no text
  works correctly now.


git-svn-id: svn://localhost/gambas/trunk@3422 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-01 19:03:36 +00:00