Commit graph

1784 commits

Author SHA1 Message Date
Benoît Minisini
bd1eca0749 [EXAMPLES]
* BUG: Only one instance of the text in the Printing example.


git-svn-id: svn://localhost/gambas/trunk@3627 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-28 14:58:56 +00:00
Benoît Minisini
bbd2dbeac8 [GB.GTK]
* BUG: Calling Draw.Begin() on a non-cached DrawingArea outside of the Draw
  event handler now raises an error instead of displaying GTK+ warnings and
  crashing.

[GB.QT4]
* BUG: Calling Draw.Begin() on a non-cached DrawingArea outside of the Draw
  event handler now raises an error instead of displaying Qt warnings and
  crashing.


git-svn-id: svn://localhost/gambas/trunk@3626 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-27 19:55:29 +00:00
Benoît Minisini
0a8e939976 [DEVELOPMENT ENVIRONMENT]
* NEW: The state of a component is now a string: "Stable", "NotFinished", 
  or "Experimental".
* NEW: Fix the state of many components.

[GB.PCRE]
* NEW: Some code cleanups.


git-svn-id: svn://localhost/gambas/trunk@3625 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-27 09:13:32 +00:00
Benoît Minisini
3c1b87fab0 [GB.DBUS]
* NEW: DBus.Debug is a new boolean static property. Warning about unhandled
  D-Bus messages are printed only if that property is TRUE.


git-svn-id: svn://localhost/gambas/trunk@3624 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-27 01:06:36 +00:00
Benoît Minisini
7022c9a755 [GB.INFO]
* NEW: Remove the gb.info component.


git-svn-id: svn://localhost/gambas/trunk@3623 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-27 00:41:47 +00:00
Benoît Minisini
99adaa18ef [WEB SITE MAKER]
* BUG: Fix the authors list.

[GB.QT4]
* NEW: Window.Type is deprecated now.

[GB.GTK]
* NEW: Window.Type is deprecated now.


git-svn-id: svn://localhost/gambas/trunk@3622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-26 22:27:00 +00:00
Radek Fryšták
f572378e50 [DEVELOPMENT ENVIRONMENT]
* NEW: Update czech authors list


git-svn-id: svn://localhost/gambas/trunk@3621 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-26 20:36:40 +00:00
Benoît Minisini
84a1dbbf7a [DEVELOPMENT ENVIRONMENT]
* BUG: Fix arrangement icons in form editor again.


git-svn-id: svn://localhost/gambas/trunk@3620 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-26 12:34:13 +00:00
Benoît Minisini
27f6db9ef3 [DEVELOPMENT ENVIRONMENT]
* NEW: Update some control icons.

[GB.FORM]
* BUG: Balloon takes desktop panels into account.
* NEW: Update some control icons.

[GB.QT4]
* BUG: Fix the order of message box buttons.
* BUG: Fix Frame Client properties.


git-svn-id: svn://localhost/gambas/trunk@3619 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-26 09:40:06 +00:00
Benoît Minisini
887d97f747 [GB.GTK]
* BUG: Frame background should work as expected now.


git-svn-id: svn://localhost/gambas/trunk@3618 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-26 01:24:18 +00:00
Benoît Minisini
cd23942d76 [GB.IMAGE]
* BUG: Correctly update the internal void flag of images.

[GB.FORM]
* BUG: Do not show the balloon if its window moves while it is hidden.
* BUG: Correctly define ScrollX and ScrollY ScrollArea properties when the
  scrollbars are hidden.


git-svn-id: svn://localhost/gambas/trunk@3617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-25 21:56:50 +00:00
Benoît Minisini
3e65064f11 [GB.GTK]
* BUG: Color cursors work now!


git-svn-id: svn://localhost/gambas/trunk@3616 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-25 14:05:56 +00:00
Benoît Minisini
64308a393a [GB.IMAGE]
* BUG: Take void images into account.


git-svn-id: svn://localhost/gambas/trunk@3615 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-25 00:26:22 +00:00
Benoît Minisini
188afde117 [EXAMPLES]
* BUG: Some little fixes.

[GB.FORM]
* NEW: Support for Xfce 4.6 icon themes.


git-svn-id: svn://localhost/gambas/trunk@3614 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-24 23:24:38 +00:00
Matti
c05f8563ea [EXAMPLES]
* OPT: Lighttable: moving of frames simplified


git-svn-id: svn://localhost/gambas/trunk@3613 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-24 21:23:35 +00:00
Benoît Minisini
9cdabac441 [GB.DEBUG]
* BUG: The debugger takes EINTR into account now when reading its input.


git-svn-id: svn://localhost/gambas/trunk@3612 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-24 15:41:38 +00:00
Benoît Minisini
28b380fdce [GB.QT4]
* BUG: Background colors of controls is drawn the way it should now.
* BUG: DrawingArea background takes the frame into account now.


git-svn-id: svn://localhost/gambas/trunk@3611 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-24 12:21:27 +00:00
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