Commit graph

1967 commits

Author SHA1 Message Date
Benoît Minisini
23c4c30c4a [GB.QT4]
* BUG: Fix a compilation error.


git-svn-id: svn://localhost/gambas/trunk@3610 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-24 11:28:25 +00:00
Benoît Minisini
d9ca05d1b5 [GB.FORM.MDI]
* BUG: Fix Qt4 crash by delaying deletion of dragged toolbar elements.
* BUG: Fix the behaviour of the toolbar when items are dragged.
* BUG: FIx the look of the dragged items.
* NEW: Expander toolbar items are made visible in configuration mode.


git-svn-id: svn://localhost/gambas/trunk@3609 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-24 00:45:14 +00:00
Benoît Minisini
5a6a613e5c [GB.FORM]
* NEW: A new design for the DirChooser and FileChooser controls.
* NEW: DirChooser and FileChooser got a icon zoom slider, and some 
  shortcuts.


git-svn-id: svn://localhost/gambas/trunk@3608 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-23 18:23:18 +00:00
Benoît Minisini
a0cf1a5b01 [DEVELOPMENT ENVIRONMENT]
* BUG: Paste and Delete are now correctly disabled in the form editor when 
  the form is read-only.

[EXAMPLE]
* NEW: New Printing example.

[GB.DRAW]
* NEW: Paint.RichTextExtents() now take an optional width argument.
* NEW: Paint.DrawText() and Paint.DrawRichText() are two new methods to 
  directly draw text without using an intermediate path. They make 
  generated PDF and Postscript files smaller.

[GB.FORM]
* BUG: Setting ScrollArea.Border property correctly refreshes it now.
* BUG: ScrollArea contents is correctly clipped now.

[GB.GTK]
* BUG: gb.gtk now requires 'gtk+-unix-print-2.0' pkg-config library.
* BUG: Dialog.Font works correctly now.
* BUG: Relative font sizes are correctly interpreted in rich text now.
* BUG: TextArea shortcuts correctly ensure that the cursor is visible.
* BUG: Paint.DrawImage() works correctly now.


git-svn-id: svn://localhost/gambas/trunk@3607 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-23 15:49:56 +00:00
Benoît Minisini
be22b094d3 [GB.IMAGE.IMLIB]
* NEW: Image.Scroll() is a new method to scroll a part of the image.


git-svn-id: svn://localhost/gambas/trunk@3606 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-23 01:03:35 +00:00
Benoît Minisini
39fd816006 [GB.IMAGE.IMLIB]
* BUG: Image.Blur() and Image.Sharpen() now return new image. They do not
  work on the current image data, as they free the image data.


git-svn-id: svn://localhost/gambas/trunk@3605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 18:26:59 +00:00
Benoît Minisini
3922a7de26 [INTERPRETER]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@3604 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 18:05:34 +00:00
Benoît Minisini
09de992ae7 [INTERPRETER]
* NEW: String.Instr() and String.RInstr() now take a fourth argument, like 
  Instr() and RInstr(), so that case can be ignored during the search.


git-svn-id: svn://localhost/gambas/trunk@3603 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 17:59:07 +00:00
Benoît Minisini
40ff5f8ad2 [GB.GTK]
* BUG: Fix TextArea.EnsureVisible();
* OPT: Some optimizations and clean-up in gtextarea.cpp.


git-svn-id: svn://localhost/gambas/trunk@3602 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-22 17:57:33 +00:00
Benoît Minisini
3b081cdc5c [DEVELOPMENT ENVIRONMENT]
* NEW: Update authors list.

[EXAMPLES]
* BUG: Fix the use of boolean incrementation in DeepSpace example.


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