Commit graph

1727 commits

Author SHA1 Message Date
Benoît Minisini
edb750d994 [GB.DRAW]
* NEW: CRect can be used as a function to create rectangles.
* NEW: Draw.ClipRect is a new property that returns or defines the clipping 
  rectangle. NULL means that the clipping is disabled.
* NEW: Paint.ClipRect is a new property that returns or defines the 
  clipping rectangle. NULL means that the clipping is disabled.

[GB.FORM]
* NEW: IconView uses the new ClipRect properties.


git-svn-id: svn://localhost/gambas/trunk@3568 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-13 23:03:20 +00:00
Benoît Minisini
01b28918b3 [GB.DRAW]
* NEW: Put the Rect class in the gb.draw component.

[GB.GTK]
* NEW: Remove the Rect class.
* BUG: Draw.Tile() works now.

[GB.QT4]
* NEW: Remove the Rect class.


git-svn-id: svn://localhost/gambas/trunk@3567 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-13 21:43:14 +00:00
Benoît Minisini
234470cdcf [DEVELOPMENT ENVIRONMENT]
* NEW: Redesign the option dialog with an IconView.

[GB.GTK]
* BUG: Control.Grab() now works as expected.
* BUG: Desktop.Screenshot() does not crash anymore, and works correctly
  when the screenshot is outside of the root window.

[GB.QT4]
* NEW: Remove the default item margin of ListView, TreeView and ColumnView.


git-svn-id: svn://localhost/gambas/trunk@3566 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-13 16:37:01 +00:00
Benoît Minisini
021b821122 [DEVELOPMENT ENVIRONMENT]
* BUG: Moving a folder or a file now works again when the project is not 
  under subversion.


git-svn-id: svn://localhost/gambas/trunk@3565 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-13 10:36:01 +00:00
Benoît Minisini
b9bdee89b5 [DEVELOPMENT ENVIRONMENT]
* BUG: Changing the form width or height from the property sheet works 
  correctly again.


git-svn-id: svn://localhost/gambas/trunk@3564 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-12 23:37:33 +00:00
Benoît Minisini
62ce9d905b [INTERPRETER]
* BUG: The SIGCHLD signal handler does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@3563 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-12 21:58:31 +00:00
Benoît Minisini
b7d101f636 [GB.IMAGE]
* NEW: Image.DrawAlpha() can work with images having different formats.


git-svn-id: svn://localhost/gambas/trunk@3562 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-12 18:59:14 +00:00
Benoît Minisini
bb9894be86 [GB.FORM]
* BUG: Message.Optional takes Message.Title into account.

git-svn-id: svn://localhost/gambas/trunk@3561 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-12 18:29:14 +00:00
Benoît Minisini
ffa2dcd210 git-svn-id: svn://localhost/gambas/trunk@3560 867c0c6c-44f3-4631-809d-bfa615b0a4ec 2011-02-12 18:28:23 +00:00
Benoît Minisini
10105e9feb [GB.IMAGE]
* NEW: Image.Format is a new property that returns the image internal 
  format as a string.
* BUG: Fix a possible crash that occurs when creating a temporary handle 
  needs a conversion.


git-svn-id: svn://localhost/gambas/trunk@3559 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-12 18:26:13 +00:00
Benoît Minisini
7ab5e8fe25 [GB.QT4.EXT]
* BUG: Remove the TextEdit Link event, that cannot work anymore.


git-svn-id: svn://localhost/gambas/trunk@3558 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-12 01:24:47 +00:00
Benoît Minisini
a3a5cbd125 [GB.DESKTOP]
* BUG: Desktop.FindWindow() should work correctly now.
* BUG: Reading X11 properties on 64 bits systems should work in all cases 
  now.


git-svn-id: svn://localhost/gambas/trunk@3557 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-12 01:18:32 +00:00
Benoît Minisini
526a704e32 [DEVELOPMENT ENVIRONMENT]
* NEW: Romanian translation made by Florin Iacob.


git-svn-id: svn://localhost/gambas/trunk@3556 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-11 23:34:15 +00:00
Benoît Minisini
f4b4816f4c [GB.DB.FORM]
* BUG: Use the Proxy property in data bound controls.

[GB.DESKTOP]
* BUG: Fix the reading of big X11 properties.


git-svn-id: svn://localhost/gambas/trunk@3554 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-11 22:16:43 +00:00
Benoît Minisini
3eda9c5098 [INTERPRETER]
* BUG: Fix the SIGCHLD management, so that KDE 4.6 file dialogs do not hang 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@3553 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-10 23:36:11 +00:00
Matti
b8f67cb808 [GB.FORM]
* NEW: Update of German translation

[EXAMPLES]
* NEW: German translation of some examples
* BUG: Collection: disable btnCreate after executing
* NEW: Timer: small layout changes for better readability
* BUG: DragNDrop: Port it to Gambas 3
* BUG: TextEdit: Correct ToolTips, make texts translatable
* BUG: TreeView: Correct gender symbols, layout changes, make texts
       translatable
* BUG: Database: small layout changes for translatability


git-svn-id: svn://localhost/gambas/trunk@3552 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-10 20:41:26 +00:00
Benoît Minisini
82ff4f2858 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the Romanian language.


git-svn-id: svn://localhost/gambas/trunk@3551 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-08 21:53:40 +00:00
Benoît Minisini
023f586d90 [DEVELOPMENT ENVIRONMENT]
* NEW: Update financial support list.


git-svn-id: svn://localhost/gambas/trunk@3549 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-08 01:54:15 +00:00
Benoît Minisini
8cb70ddf70 [GB.GTK]
* BUG: Key[] does not print GTK+ warning anymore when getting a null 
  string as argument.
* BUG: Mouse.Blank cursor works as expected now.


git-svn-id: svn://localhost/gambas/trunk@3547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-08 01:35:04 +00:00
Benoît Minisini
41b7b2a0f7 [GB.DEBUG]
* BUG: The debugger now correctly prints expression compilation errors.


git-svn-id: svn://localhost/gambas/trunk@3546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-07 01:58:19 +00:00
Benoît Minisini
845ae0ad6b [GB.GTK]
* BUG: MoveScaled works correctly for positions and sizes that are not a 
  multiple of Desktop.Scale.

[GB.QT4]
* BUG: MoveScaled works correctly for positions and sizes that are not a 
  multiple of Desktop.Scale.


git-svn-id: svn://localhost/gambas/trunk@3544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-06 01:31:59 +00:00
Benoît Minisini
5113ea759d [GB.FORM]
* BUG: Void IconView now are correctly refreshed.


git-svn-id: svn://localhost/gambas/trunk@3543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-06 00:52:22 +00:00
Benoît Minisini
960226de24 [GB.FORM]
* NEW: IconView.Picture has been implemented.
* BUG: IconView in single mode behave correctly when setting the Selected 
  property of an individual item.

[GB.GTK]
* BUG: Start to fix Draw.Tile().
* BUG: Menu event propagation has been fixed.


git-svn-id: svn://localhost/gambas/trunk@3542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-05 12:22:38 +00:00
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