Commit graph

1847 commits

Author SHA1 Message Date
Benoît Minisini
2eb7394cb9 [GB.GTK]
* BUG: Application.MainWindow is writable now.


git-svn-id: svn://localhost/gambas/trunk@3588 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-21 15:53:55 +00:00
Benoît Minisini
cd44f9a7de [EXAMPLES]
* BUG: Fix the Blights example.

[GB.GTK]
* BUG: Workaround a GTK+ bug where drag & drop icon size must be a multiple 
  of eight pixels.
* NEW: Paint.DrawImage() has been implemented.


git-svn-id: svn://localhost/gambas/trunk@3587 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-21 01:32:14 +00:00
Benoît Minisini
4e709192c2 [EXAMPLES]
* NEW: Remove old Gambas 2 automation examples.


git-svn-id: svn://localhost/gambas/trunk@3586 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-20 23:21:21 +00:00
Benoît Minisini
b5abdc2478 [GB.FORM]
* NEW: the text of IconView items is now automatically ellipsized.

[GB.QT4]
* BUG: Rich text size is now computed with no default margin around the 
  text.


git-svn-id: svn://localhost/gambas/trunk@3585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-20 22:04:23 +00:00
Benoît Minisini
724ac370ce [DEVELOPMENT ENVIRONMENT]
* BUG: Add '+', '-', '*' and '/' as possible menu shortcuts.


git-svn-id: svn://localhost/gambas/trunk@3584 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-20 00:21:59 +00:00
Benoît Minisini
5435c55457 [GB.GTK]
* BUG: DrawingArea.Clear() now does nothing when the DrawingArea is not 
  cached.


git-svn-id: svn://localhost/gambas/trunk@3583 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-19 15:24:40 +00:00
Benoît Minisini
af624d1535 [GB.QT4]
* BUG: Do not use Qt4 message box standard buttons, because they are not 
  always translated.


git-svn-id: svn://localhost/gambas/trunk@3582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-19 15:03:32 +00:00
Benoît Minisini
4525d7f572 [DEVELOPMENT ENVIRONMENT]
* BUG: The procedure under the mouse is correctly highlighted while 
  scrolling the procedure list now.
* BUG: Files with an '@' character in their name should be correctly 
  handled when the project is under subversion.

[GB.GTK]
* NEW: Application.MainWindow is writable now.
* NEW: The application main window is not automatically defined anymore.
* NEW: Application exits now when the last visible window is closed.

[GB.QT4]
* BUG: Setting the margin of an auto-resized Label or TextLabel now 
  correctly update the control size.
* NEW: Application.MainWindow is writable now.
* NEW: The application main window is not automatically defined anymore.
* NEW: Application exits now when the last visible window is closed.


git-svn-id: svn://localhost/gambas/trunk@3581 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-19 02:21:34 +00:00
Matti
5c7c88166b [EXAMPLES]
* NEW: German translation of some more examples
* BUG: Barcode: made translatable, made strings translatable, changes to
  layout for translatability
* NEW: Painting: made translatable
* BUG: Sensor: made a string translatable
* BUG: GameOfLife: made translatable, typos corrected
* NEW: GNUBoxWorld: made strings translatable, help text completed
* BUG: RobotFindsKitten: ported to Gambas3, made strings translatable
* BUG: Snake: made translatable, made strings translatable, debugging
  message removed
* BUG: Solitaire: made a string translatable


git-svn-id: svn://localhost/gambas/trunk@3580 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-18 20:59:45 +00:00
Benoît Minisini
9d39ca8fb1 [GB.GTK]
* BUG: gb.gtk should compile again with older GTK+ versions.


git-svn-id: svn://localhost/gambas/trunk@3579 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-18 13:17:35 +00:00
Benoît Minisini
a6f491daa0 [DEVELOPMENT ENVIRONMENT]
* BUG: Underlined argument is visible again in function signature.


git-svn-id: svn://localhost/gambas/trunk@3578 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-17 00:31:08 +00:00
Benoît Minisini
9449651ebd [DEVELOPMENT ENVIRONMENT]
* NEW: An option to disable the automatic control structure completion.
* OPT: Use the new Stream.ReadLine() method to speed up the CSV file 
  import routine.

[INTERPRETER]
* NEW: ReadLine() is a new method of the Stream class, that read a text 
  line like LINE INPUT, but with an optional escape character.

[GB.FORM]
* BUG: The default event of an IconPanel is Click.


git-svn-id: svn://localhost/gambas/trunk@3577 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-16 22:01:35 +00:00
Laurent Carlier
cce05d7fda fix a typo in the project title: gbs2 -> gbs3
git-svn-id: svn://localhost/gambas/trunk@3576 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-16 15:02:01 +00:00
Benoît Minisini
d78946c270 [GB.GTK]
* NEW: TextArea.Undo() and TextArea.Redo() have been implemented.
* NEW: Standard shortcuts in TextArea for copy, cut, paste, select all, 
  undo & redo actions.


git-svn-id: svn://localhost/gambas/trunk@3575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-16 01:38:23 +00:00
Fabien Bodard
26b5f0236d [EXAMPLES]
* OPT: Some littles changes in the code.


git-svn-id: svn://localhost/gambas/trunk@3574 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-15 19:56:07 +00:00
Fabien Bodard
99e9365cf5 [EXAMPLES]
* BUG: The form close only when the esc key is pressed


git-svn-id: svn://localhost/gambas/trunk@3573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-15 19:33:42 +00:00
Benoît Minisini
1c14f33263 [EXAMPLES]
* NEW: Rename the "Array_of_Controls" example as "ArrayOfControls".


git-svn-id: svn://localhost/gambas/trunk@3572 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-14 19:27:16 +00:00
Matti
c133db3049 [EXAMPLES]
* NEW: Array_of_Controls (forgotten in rev. 3570)



git-svn-id: svn://localhost/gambas/trunk@3571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-14 19:17:48 +00:00
Matti
0a5ff28e04 [EXAMPLES]
* NEW: German translation of some more examples
* BUG: TextEdit: remove TextEdit1_Link, since it has been removed from
  gb.qt4.ext
* NEW: Add Array_of_Controls
* BUG: PictureDatabase: make strings translatable
* BUG: AnalogWatch: Port it to gb3



git-svn-id: svn://localhost/gambas/trunk@3570 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-14 18:55:14 +00:00
Benoît Minisini
f269a0071d [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new IconPanel container to implement the option dialog.

[GB.DRAW]
* BUG: Paint.DrawImage() width and height arguments are now optional.

[GB.FORM]
* NEW: IconView has support for right-to-left written languages.
* BUG: Setting the picture of an IconView item now correctly updates the
  IconView layout.
* NEW: IconPanel is a new multi-container based on an IconView.


git-svn-id: svn://localhost/gambas/trunk@3569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-14 13:31:52 +00:00
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