Commit graph

1674 commits

Author SHA1 Message Date
Fabien Bodard
64efc7694f [GB.REPORT]
* BUG: Correct a critical bug in report.count...


git-svn-id: svn://localhost/gambas/trunk@3511 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-29 14:24:04 +00:00
Fabien Bodard
3de7c50ae9 [GB.REPORT]
* NEW: Count property is showed in the property tab
* NEW: New Class Reportsection that inherit reportvbox and add
  a property Text


git-svn-id: svn://localhost/gambas/trunk@3510 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-29 14:13:51 +00:00
Benoît Minisini
646ea9c60c [DEVELOPMENT ENVIRONMENT]
* NEW: Support for Forms that are MultiContainer. But such forms cannot 
  display the grid then.


git-svn-id: svn://localhost/gambas/trunk@3509 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-29 13:54:48 +00:00
Fabien Bodard
e26007b762 [GB.REPORT]
* BUG: The page arragement take virtual object into account to calculate 
  the sizeint...


git-svn-id: svn://localhost/gambas/trunk@3508 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 23:46:47 +00:00
Benoît Minisini
cc23be5f70 [DEVELOPMENT ENVIRONMENT]
* NEW: The Gambas 2 -> Gambas 3 project converter now replace CSng by 
  CSingle and CLng by CLong.


git-svn-id: svn://localhost/gambas/trunk@3507 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 23:22:46 +00:00
Fabien Bodard
b811db0463 [GB.REPORT]
* BUG: Change a const name


git-svn-id: svn://localhost/gambas/trunk@3506 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 23:14:05 +00:00
Fabien Bodard
0b893aabc2 [GB.REPORT]
* NEW: All the properties in report class are redirected to the 
current container
* OPT: some otpimization on the layout routine


git-svn-id: svn://localhost/gambas/trunk@3505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 21:58:03 +00:00
Benoît Minisini
f3c6b7bb23 [GB.GTK]
* BUG: Fix ComboBox.Add() when the position argument is specified.
* BUG: Fix ListBox.Add() when the position argument is specified.


git-svn-id: svn://localhost/gambas/trunk@3504 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 18:11:22 +00:00
Benoît Minisini
ead250f293 [GB.FORM]
* BUG: Fix ButtonBox on gb.gtk.

[GB.GTK]
* NEW: Style.TextBoxFrameWidth returns the frame width of a textbox.

[GB.QT4]
* NEW: Style.TextBoxFrameWidth returns the frame width of a textbox.


git-svn-id: svn://localhost/gambas/trunk@3502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 17:05:52 +00:00
Benoît Minisini
c22083ba44 [GB.DRAW]
* NEW: Draw.Arc() is a new method to draw arcs.

[GB.GTK]
* BUG: Draw.Ellipse() now correctly draws a pie when filling is enabled.
* NEW: Implement Draw.Arc().

[GB.QT4]
* NEW: Implement Draw.Arc().


git-svn-id: svn://localhost/gambas/trunk@3500 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-28 02:42:42 +00:00
Fabien Bodard
fa1b5badf4 [GB.REPORT]
* NEW: A new Resolution property... by default it's value is -1 
  and in this case use the paint device resolution.
* NEW: The Data property is activated, so now you can give to it result
  or collection.


git-svn-id: svn://localhost/gambas/trunk@3499 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-27 22:05:51 +00:00
Fabien Bodard
743faea673 [GB.REPORT]
* NEW: Now Report is multicontainer. Sections are reports part.


git-svn-id: svn://localhost/gambas/trunk@3498 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-26 22:44:35 +00:00
Matti
6a8e48f645 [EXAMPLES]
* NEW: Wizard: show how to move between the steps by code,
  and give some additional informations.


git-svn-id: svn://localhost/gambas/trunk@3497 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-26 20:03:56 +00:00
Benoît Minisini
ab91dc9d7c [DEVELOPMENT ENVIRONMENT]
* NEw: Add support for finnish language.

[GB.FORM]
* NEW: Start to implement the new IconView by mixing Fabien's code and 
  mine.
* New: ScrollArea.Tracking property has been implemented.
* NEW: ScrollArea now undestands mouse wheel events.

[GB.GTK]
* NEW: Style.FrameWidth returns the width of a sunken border.
* BUG: Draw.RichText() now correctly follows text alignment.
* BUG: UserContainer ClientX, ClientY, ClientWidth and ClientHeight 
  properties now return the accurate value.
* NEW: Rect.Adjust() is a new method to move rectangle borders.
* NEW: The DrawingArea.Merge property has been removed.
* NEW: Add ScrollView.Contents{W,H,Width,Height} synonymous properties.

[GB.QT4]
* NEW: Style.FrameWidth returns the width of a sunken border.
* BUG: Draw.RichText() now uses the foreground color as expected.
* NEW: Rect.Adjust() is a new method to move rectangle borders.
* NEW: The DrawingArea.Merge property has been removed.


git-svn-id: svn://localhost/gambas/trunk@3496 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-25 17:57:08 +00:00
Henrique
0c9e8ce935 [DEVELOPMENT ENVIRONMENT]
* NEW: Update of  Brazilian Portuguese translation.


git-svn-id: svn://localhost/gambas/trunk@3495 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-25 12:19:31 +00:00
Matti
9c56434efd [DEVELOPMENT ENVIRONMENT]
* NEW: Update of German translation



git-svn-id: svn://localhost/gambas/trunk@3494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-24 21:01:16 +00:00
Benoît Minisini
16492cc5ee [DEVELOPMENT ENVIRONMENT]
* BUG: The procedure list geets the focus again when it is opened.

[GB.FORM]
* NEW: ScrollArea is a new Container widget that is a DrawingArea with
  scrolling capabilities.

[GB.GTK]
* NEW: Style is new static class whose properties return global information
  about the current style. At the moment, you have Style.ScrollbarSize and
  Style.ScrollbarSpacing.
* BUG: Scrollbar sliders size now follows the PageStep property.

[GB.QT4]
* NEW: Style is new static class whose properties return global information
  about the current style. At the moment, you have Style.ScrollbarSize and
  Style.ScrollbarSpacing.


git-svn-id: svn://localhost/gambas/trunk@3493 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-24 14:37:11 +00:00
Matti
9e91468026 [EXAMPLES]
* NEW: Wizard example:little corrections to make text visible
* NEW: Wizard example: German translation


git-svn-id: svn://localhost/gambas/trunk@3492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-23 17:57:59 +00:00
Benoît Minisini
47a14db2a8 [DEVELOPMENT ENVIRONMENT]
* BUG: The project title translation is now correctly restored after the
  project has been cleaned up.


git-svn-id: svn://localhost/gambas/trunk@3491 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-23 16:18:33 +00:00
Benoît Minisini
399784bdf9 [GB.FORM]
* BUG: ValueBox.Text now returns the expected value in Currency mode.


git-svn-id: svn://localhost/gambas/trunk@3490 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-23 15:45:46 +00:00
Benoît Minisini
c943d7c3dd [GB.FORM]
* BUG: ButtonBox correctly raises the Change event again.


git-svn-id: svn://localhost/gambas/trunk@3489 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-22 01:50:17 +00:00
Benoît Minisini
b0c42307a1 [EXAMPLES]
* NEW: New Wizard example made by Mathias Ebermann.

[GB.FORM]
* BUG: ValueBox whose Type is Number does not block Tab and Shift+Tab keys 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@3488 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-22 01:38:33 +00:00
Benoît Minisini
6a805d3cdd [DEVELOPMENT ENVIRONMENT]
* NEW: Edison Henrique Andreassy has been added to the authors list.

[GB.FORM]
* BUG: ValueBox has been fixed.
* NEW: ValueBox, MaskBox and DateBox now have an Action property, so that
  they can be put inside a toolbar.
* OPT: Useless classes have been removed.

[GB.GTK]
* NEW: Setting GridView.Rows[].Height to -1 makes the row height fits its 
  contents.
* NEW: Setting GridView.Columns[].Width to -1 makes the column width fits 
  its contents.


git-svn-id: svn://localhost/gambas/trunk@3487 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-21 16:04:55 +00:00
Fabien Bodard
386250f0d9 [GB.REPORT]
* NEW: ReportControl Color and Brush properties, it define the color for
  Font.
* NEW: ReportLine color is defined by Color/Brush properties
* Bug: Now vertical arrangement work fine and fixed element are taked 
  into account
* NEW: X and Y properties that are alias for Left ans Top.
* NEW: ReportControl Background property that replace the old Brush One
  to define the background.


git-svn-id: svn://localhost/gambas/trunk@3486 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 22:24:06 +00:00
Benoît Minisini
a2133c1052 [GB.GTK]
* NEW: The Menu event is correctly raised even if there is no other mouse
  event handler.


git-svn-id: svn://localhost/gambas/trunk@3485 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 14:31:59 +00:00
Benoît Minisini
8a558e1484 [GB.GTK]
* BUG: Fix initial alignment of Label and TextLabel.


git-svn-id: svn://localhost/gambas/trunk@3484 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 13:41:59 +00:00
Benoît Minisini
45c48b1dfe [GB.GTK]
* BUG: GridView correctly receives the focus now.


git-svn-id: svn://localhost/gambas/trunk@3483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 13:38:39 +00:00
Benoît Minisini
055c920dc0 [GB.GTK]
* BUG: Windows receive all events now, not just keyboard events.


git-svn-id: svn://localhost/gambas/trunk@3480 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 12:19:56 +00:00
Benoît Minisini
e631b95850 [DEVELOPMENT ENVIRONMENT]
* NEW: Brasilian translation completed by Edison Henrique Andreassy.
* NEW: The translation dialog look has been redesigned.
* BUG: Translation import has been fixed.
* BUG: The translation of the project name is not lost anymore.

[GB.FORM]
* BUG: FileView.Current now returns really something only if the current
  item is actually selected.


git-svn-id: svn://localhost/gambas/trunk@3479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-20 01:25:46 +00:00
Benoît Minisini
a0fda592f3 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new "View" control group.

[GB.FORM]
* NEW: Put view controls under the group "View".
* NEW: ButtonBox now raises the Activate event.
* BUG: MaskBox does not hit RETURN and ENTER key anymore.
* NEW: DateChooser.ShowTime property was replaced by the DateChooser.Mode
  property. That property can take three values: DateChoose.DateOnly,
  DateChooser.DateTime and DateChooser.TimeOnly.
* NEW: DateBox.ShowTime property was replaced by the DateBox.Mode property,
  like DateChooser.
* NEW: DateBox now raises the Activate event.

[GB.GTK]
* NEW: Put view controls under the group "View".

[GB.QT4]
* NEW: Put view controls under the group "View".


git-svn-id: svn://localhost/gambas/trunk@3478 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 23:08:11 +00:00
Fabien Bodard
3af3b31bd8 [GB.REPORT]
* BUG: Some correction on the layout routines


git-svn-id: svn://localhost/gambas/trunk@3477 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 22:30:26 +00:00
Benoît Minisini
55c051bbb7 [DEVELOPMENT ENVIRONMENT]
* BUG: Property side panel is movable again while in debugging mode.

[GB.REPORT]
* BUG: A point is 1/72 inch. It is not relative to device resolution.
  Consequently, the font size must not be adjust to the device resolution.
* BUG: In the preview, use a copy of the report to send it to the printer.
  Otherwise the preview drawing will interfere with it.


git-svn-id: svn://localhost/gambas/trunk@3476 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 11:55:26 +00:00
Benoît Minisini
235a68261e [GB.REPORT]
* BUG: Preview is visible with gb.qt4 now.

git-svn-id: svn://localhost/gambas/trunk@3475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-19 03:28:36 +00:00
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