Commit graph

1704 commits

Author SHA1 Message Date
Benoît Minisini
9d1182ba1b [DEVELOPMENT ENVIRONMENT]
* BUG: Automatic control structure insertion is now more intelligent.


git-svn-id: svn://localhost/gambas/trunk@3541 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-05 03:13:47 +00:00
Benoît Minisini
1daab792db [DEVELOPMENT ENVIRONMENT]
* BUG: CoordBox correctly returns decimal value in american format.

[GB.GTK]
* BUG: Printer.Print() now does not display a flashing configuration dialog 
  anymore.
* BUG: Printed font now have the correct size.

[GB.REPORT]
* BUG: ReportLabel now uses Font.Height to compute its height, because 
  Paint.DrawText aligns according to Font.Height and not 
  Paint.TextExtents().


git-svn-id: svn://localhost/gambas/trunk@3540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-05 01:28:12 +00:00
Benoît Minisini
ec8fc7786b [GB.FORM]
* NEW: Define the proxy in FileView and DirView.


git-svn-id: svn://localhost/gambas/trunk@3539 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-04 10:13:27 +00:00
Benoît Minisini
4fc2e615d0 [GB.FORM]
* BUG: ScrollArea draws its border correctly in all cases now.
* BUG: IconView will not get the focus all the time anymore.

[GB.GTK]
* BUG: ScrollView.ScrollHeight returns the correct value now.


git-svn-id: svn://localhost/gambas/trunk@3538 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-04 10:05:59 +00:00
Benoît Minisini
35f0c88302 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the drawing of borders, background and brush in the Report form 
  editor.
* BUG: Fix the drawing of borders in the Report border dialog.

[GB.REPORT]
* BUG: Fix the spelling of the Background property.


git-svn-id: svn://localhost/gambas/trunk@3537 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-04 02:31:47 +00:00
Benoît Minisini
6f3aaa22fd [GB.GTK]
* BUG: Fix ScrollView scrollbar layout.


git-svn-id: svn://localhost/gambas/trunk@3536 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-04 01:06:08 +00:00
Benoît Minisini
5af06bc544 [EXAMPLES]
* BUG: Port the OnScreenDisplay example to Gambas 3.

[GB.FORM]
* BUG: IconView behaves correctly when its font changes.
* BUG: Fix some refresh bugs in the IconView.
* NEW: In ColorChooser, double-clicking on the pre-defined colors now 
  raises the Activate event.

[GB.GTK]
* BUG: Fix warnings when creating a Slider.

[GB.QT4]
* BUG: The TextArea text is not selected by default anymore.


git-svn-id: svn://localhost/gambas/trunk@3535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-04 01:03:52 +00:00
Benoît Minisini
13a4014491 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the Report brush dialog.
* OPT: Remove duplicated code between CReportBrush and the Report brush 
  dialog.
* BUG: Image Report brushes now take their image inside the project 
  directory.
* NEW: A new layout for the Report border dialog.


git-svn-id: svn://localhost/gambas/trunk@3534 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-03 00:46:49 +00:00
Benoît Minisini
175dd81c1b [GB.IMAGE]
* BUG: Fix the Image.Clear() method.


git-svn-id: svn://localhost/gambas/trunk@3533 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-02 21:54:03 +00:00
Fabien Bodard
b85bef34d7 [GB.REPORT]
* OPT: Changes ReportBrush and ReportBorder to match with the output
  of the ide border and brush editeur


git-svn-id: svn://localhost/gambas/trunk@3532 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-02 11:14:16 +00:00
Benoît Minisini
0eddc92a51 [DEVELOPMENT ENVIRONMENT]
* NEW: Finish and fix the CoordBox control.
* BUG: Fix the FReportBorderChooser dialog.
* BUG: Update the FReportBrushChooser dialog. There is a lot of duplicate 
  code with CReportBrush to fix yet.
* BUG: Correctly handle ReportCoord property with a CoordBox in the 
  property sheet.


git-svn-id: svn://localhost/gambas/trunk@3531 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-02 02:50:13 +00:00
Benoît Minisini
30a41008b6 [GB.QT4.EXT]
* NEW: Erasing the entire text of an Editor does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@3530 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-01 23:28:03 +00:00
Benoît Minisini
1a13bab4af [INTERPRETER]
* BUG: Error.Raise("") does not crash the interpreter anymore. It displays
  "Unknown error" instead.


git-svn-id: svn://localhost/gambas/trunk@3529 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-01 23:26:08 +00:00
Fabien Bodard
46d7ae4855 [GB.REPORT]
* BUG: Some bugs have been corrected in the arrangement process


git-svn-id: svn://localhost/gambas/trunk@3528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-01 15:44:02 +00:00
Fabien Bodard
aa1673056c [GB.REPORT]
* BUG: Some bugs in LabelSizeHints have been corrected
* New: a new example


git-svn-id: svn://localhost/gambas/trunk@3527 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-31 17:57:28 +00:00
Fabien Bodard
54d0e8b146 [DEVELOPMENT ENVIRONMENT]
* NEW: Begin to implement a CoordBox to replace the Coord Dialog.


git-svn-id: svn://localhost/gambas/trunk@3526 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-31 15:53:22 +00:00
Benoît Minisini
02ae50a0d4 [DEVELOPMENT ENVIRONMENT]
* BUG: Really fix the report size dialog.


git-svn-id: svn://localhost/gambas/trunk@3525 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-31 03:22:33 +00:00
Benoît Minisini
84d09b1bc1 [DEVELOPMENT ENVIRONMENT]
* BUG: Revert the last change in the report size dialog. The CSS-like 
  syntax is better. But correctly interprets it then!


git-svn-id: svn://localhost/gambas/trunk@3524 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-31 03:15:17 +00:00
Benoît Minisini
75b21f6a1e [GB.GTK]
* BUG: Fix inversion of column and row in many GridView properties and 
  methods. I hope all have been fixed!


git-svn-id: svn://localhost/gambas/trunk@3523 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 23:43:10 +00:00
Benoît Minisini
50b23be17a [DEVELOPMENT ENVIRONMENT]
* BUG: Use the menu editor only for GUI forms.


git-svn-id: svn://localhost/gambas/trunk@3522 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 20:58:46 +00:00
Fabien Bodard
308023afe8 [GB.REPORT]
* BUG: Now the Section Object know his report


git-svn-id: svn://localhost/gambas/trunk@3521 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 20:34:32 +00:00
Benoît Minisini
644e472c3f [GB.GTK]
* BUG: Menu events are propagated to the parent if they are not handled in 
  the child.


git-svn-id: svn://localhost/gambas/trunk@3520 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 19:58:21 +00:00
Benoît Minisini
c3d0079235 [GB.GTK]
* BUG: Default and cancel buttons shortcuts work correctly again.


git-svn-id: svn://localhost/gambas/trunk@3519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 19:31:50 +00:00
Fabien Bodard
87e3b668f9 [GB.REPORT]
* BUG: Correct a bug in the Report.Count property.
* BUG: Correct as bug in the layout function.
* NEW: Try to begin to implement the round corners


git-svn-id: svn://localhost/gambas/trunk@3518 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 18:52:36 +00:00
Benoît Minisini
a54b7b9a1a [GB.GTK]
* BUG: Setting TabStrip.Font property works like in gb.qt4 now.


git-svn-id: svn://localhost/gambas/trunk@3517 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 18:03:24 +00:00
Benoît Minisini
ea21ffff96 [DEVELOPMENT ENVIRONMENT]
* BUG: The support for non-GUI MultiContainer has been fixed.


git-svn-id: svn://localhost/gambas/trunk@3516 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 15:00:18 +00:00
Benoît Minisini
225cc63432 [GB.FORM]
* BUG: IconView keyboard management takes the orientation into account now.


git-svn-id: svn://localhost/gambas/trunk@3515 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 11:38:36 +00:00
Benoît Minisini
6744c067b9 [GB.FORM]
* BUG: ScrollArea.Scroll() now refreshes the view only if necessary.
* NEW: IconView items renaming has been implemented.
* NEW: IconView.Orientation is a new property to define how the control
  arrange and draw its icons.
* OPT: IconView refreshing has been optimized.

[GB.GTK]
* NEW: TextArea.Alignment has been implemented.
* BUG: Slider and ScrollBar controls now raise native events correctly.
* BUG: Font.RichTextWidth() now works like Draw.RichTextWidth().

[GB.QT4]
* NEW: TextArea.Alignment has been implemented.


git-svn-id: svn://localhost/gambas/trunk@3514 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 11:35:47 +00:00
Benoît Minisini
7f29aaf2ee [DEVELOPMENT ENVIRONMENT]
* BUG: Current edited line is not highlighted by force anymore after a 
  global search.

[GB.FORM]
* NEW: New IconView control entirely made in Gambas.
* NEW: ScrollArea.EnsureVisible() has been implemented.

[GB.GTK]
* NEW: Old IconView has been removed.
* BUG: Do not use the deprecated tooltip API anymore.
* NEW: TreeView, ColumnView and ListView SelectAll() method does not take 
  an argument anymore. It always select all items.
* NEW: TreeView, ColumnView and ListView UnselectAll() is a new method that
  unselect all items.
* BUG: Rect constructor has been fixed.
* BUG: Rect.Contains() method has been fixed.

[GB.IMAGE]
* NEW: Color.SetAlpha() is a new method that takes an integer color, change
  its alpha component, and return the modified integer color.

[GB.QT4]
* NEW: Old IconView has been removed.
* NEW: TreeView, ColumnView and ListView SelectAll() method does not take 
  an argument anymore. It always select all items.
* NEW: TreeView, ColumnView and ListView UnselectAll() is a new method that
  unselect all items.
* BUG: Rect constructor has been fixed.
* BUG: Rect.Contains() method has been fixed.
* BUG: Window default title is correctly converted from UTF-8.

[GB.QT4.EXT]
* NEW: Editor.HighlightAll is a new method to force the highlighting of the
  entire text.
* NEW: The Editor.Lines CollapseAll() and ExpandAll() methods were moved to
  the Editor class.


git-svn-id: svn://localhost/gambas/trunk@3513 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-30 00:55:59 +00:00
Benoît Minisini
0a6bc245f3 [GB.FORM]
* BUG: Restore french translation.


git-svn-id: svn://localhost/gambas/trunk@3512 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-01-29 15:35:40 +00:00
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