Commit graph

1957 commits

Author SHA1 Message Date
Benoît Minisini
9b8cb32427 [EXAMPLES]
* NEW: Remove the Sensor example.


git-svn-id: svn://localhost/gambas/trunk@3600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 12:57:58 +00:00
Benoît Minisini
2387674156 [EXAMPLES]
* NEW: Remove the Gambas 2 DataReportExample example.


git-svn-id: svn://localhost/gambas/trunk@3599 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 12:45:09 +00:00
Benoît Minisini
c1fd8ae7f5 [GB.CAIRO]
* BUG: Should compile with cairo < 1.10 now.


git-svn-id: svn://localhost/gambas/trunk@3598 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 12:24:38 +00:00
Benoît Minisini
403658a211 [DEVELOPMENT ENVIRONMENT]
* NEW: New tips made by Radek Fryšták. The english needs to be fixed!
* BUG: The main window recent file menu now supports the new sort options.


git-svn-id: svn://localhost/gambas/trunk@3595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 11:49:03 +00:00
Benoît Minisini
f4b13d0535 [DEVELOPMENT ENVIRONMENT]
* BUG: Update welcome dialog sort popup menu correctly.


git-svn-id: svn://localhost/gambas/trunk@3594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 10:04:33 +00:00
Benoît Minisini
186c414c8a [DEVELOPMENT ENVIRONMENT]
* NEW: Group recent files by initial when sorted by name, and by directory 
  when sorted by path.


git-svn-id: svn://localhost/gambas/trunk@3593 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 10:02:05 +00:00
Benoît Minisini
c5d6ceeada [DEVELOPMENT ENVIRONMENT]
* BUG: Projects can be opened again.


git-svn-id: svn://localhost/gambas/trunk@3592 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 09:51:19 +00:00
Benoît Minisini
4b3bd4cddd [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the padding around project items.
* NEW: Recent projects can be sorted by date, path and name now.
* NEW: Sorting recent projects in the welcome dialog is now done through a
  popup menu.

[GB.FORM]
* BUG: DirView directories are now sorted with a natural comparison.


git-svn-id: svn://localhost/gambas/trunk@3591 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 08:42:31 +00:00
Benoît Minisini
ac03c9fc85 [GB.CAIRO]
* NEW: Cairo.ShowPage() and Cairo.CopyPage() have been implemented.
* NEW: New classes for implementing some Cairo surfaces: CairoPdfSurface, 
  CairoPsSurface and CairoSvgSurface.

[GB.IMAGE]
* BUG: When deleting an image, free the temporary handle before the owner 
  handle, because the temporary owner may want to access the data while 
  freeing it.


git-svn-id: svn://localhost/gambas/trunk@3590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 00:26:50 +00:00
Benoît Minisini
1628c4844b [GB.DRAW]
* BUG: Remove some now useless code.

[GB.FORM]
* BUG: Close the balloon, do not hide it. That way, it won't prevent the 
  program from exiting the event loop.

[GB.GTK]
* BUG: Windows are correctly deleted at event loop exit.


git-svn-id: svn://localhost/gambas/trunk@3589 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-21 16:17:32 +00:00
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