Commit graph

1941 commits

Author SHA1 Message Date
Benoît Minisini
b8009f6558 [GB.IMAGE]
* NEW: New Image.Debug static property. When set to TRUE, a debugging 
  message is displayed each time an image is converted to another format.
* NEW: Image.Format is now writable, so that you can convert images to a
  specific format. Not all conversions are supported.


git-svn-id: svn://localhost/gambas/trunk@3798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-26 00:13:38 +00:00
Benoît Minisini
d87d04273f [GB.V4L]
* BUG: Try to make gb.v4l compile with Linux kernel >= 2.6.38.


git-svn-id: svn://localhost/gambas/trunk@3797 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-25 22:31:16 +00:00
Benoît Minisini
492eb7f8e8 [GB.IMAGE.IMLIB]
* NEW: Paint.Image() has now the same interface than the same method in
  gb.image.


git-svn-id: svn://localhost/gambas/trunk@3796 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-25 22:23:22 +00:00
Fabien Bodard
61bd2b3f9a [EXAMPLES]
* NEW: A Gambas report example.



git-svn-id: svn://localhost/gambas/trunk@3795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-25 21:27:29 +00:00
Fabien Bodard
b68eeee4fd [GB.REPORT]
* BUG: Correct a bug on page generation


git-svn-id: svn://localhost/gambas/trunk@3794 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-25 20:38:11 +00:00
Fabien Bodard
679a28df5a [GB.REPORT]
* BUG: Fix a drawing default (Background and border was not on the same level)
* OPT: Remove some old files



git-svn-id: svn://localhost/gambas/trunk@3793 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-24 17:51:30 +00:00
Benoît Minisini
990845d3fa [GB.DESKTOP]
* NEW: DesktopWindow.GetIcon() is a new method that returns a window icon 
  from a specific size.
* BUG: Retrieving a big X11 window property (for example a window icon) 
  works correctly now.


git-svn-id: svn://localhost/gambas/trunk@3792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-24 01:00:46 +00:00
Benoît Minisini
8294a08cf7 [GB.QT4.EXT]
* NEW: Some Editor drawing fixes.


git-svn-id: svn://localhost/gambas/trunk@3791 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-23 00:50:55 +00:00
Benoît Minisini
7ff409763e [DEVELOPMENT ENVIRONMENT]
* NEW: Breakpoint toggle button is a normal button now, and is kept enabled
  even if a line cannot receive a breakpoint.
* BUG: Commenting a line does not mix up the breakpoint list anymore.


git-svn-id: svn://localhost/gambas/trunk@3790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-22 23:24:57 +00:00
Fabien Bodard
f059219bac [GB.REPORT]
* NEW: Now the report object have a preview/print dialog.
* OPT: Remove all the automation for the gambas3 RC




git-svn-id: svn://localhost/gambas/trunk@3789 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-22 22:03:11 +00:00
Benoît Minisini
ab7dd6ece3 [GB.GTK]
* BUG: Ensure that the popup is closed when destroying a combo-box. 
  Otherwise GTK+ becomes ill.

[GB.QT4.EXT]
* BUG: Don't fill global Editor pixmap cache with yellow color.


git-svn-id: svn://localhost/gambas/trunk@3788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-22 20:40:31 +00:00
Benoît Minisini
25e6212024 [GB.IMAGE]
* BUG: Fix the method signature of Image.DrawImage() and 
  Image.PaintImage().
* NEW: The X, Y arguments of Image.DrawImage() and Image.PaintImage() are 
  now optional, and zero by default.


git-svn-id: svn://localhost/gambas/trunk@3787 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-22 20:32:32 +00:00
Benoît Minisini
9911a92652 [DEVELOPMENT ENVIRONMENT]
* NEW: Slightly change the search dialog look.
* BUG: The packager does not put "Terminal=true" in all *.desktop files 
  anymore.

[COMPILER]
* BUG: Compilation of class headers keywords correctly works again.


git-svn-id: svn://localhost/gambas/trunk@3786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-22 16:52:59 +00:00
Benoît Minisini
ae2bb567e4 [COMPILER]
* BUG: Use form names in translation files now.


git-svn-id: svn://localhost/gambas/trunk@3785 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-20 22:46:00 +00:00
Benoît Minisini
450fc020dd [DEVELOPMENT ENVIRONMENT]
* BUG: Field property dialog works again.


git-svn-id: svn://localhost/gambas/trunk@3784 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-20 20:43:24 +00:00
Radek Fryšták
4e76f79643 [WEB SITE MAKER]
* NEW: Update in czech translation.


git-svn-id: svn://localhost/gambas/trunk@3783 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-20 18:12:57 +00:00
Benoît Minisini
a42c0951e0 [CONFIGURATION]
* BUG: Correctly detect architecture on MacOSX.


git-svn-id: svn://localhost/gambas/trunk@3782 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-20 14:34:47 +00:00
Benoît Minisini
baf2ac8e59 [DEVELOPMENT ENVIRONMENT]
* OPT: Draw editor cursor position outside of the editor, otherwise it 
  slows down editor refresh.

[WEBSITE MAKER]
* NEW: Support for new web site translations.

[GB.QT4.EXT]
* OPT: Do not draw Editor cursor position. It slows down editor refresh.
* OPT: Do not use Qt4 double-buffering, it slows down editor refresh a lot,
  especially with Oxygen theme. A dirty hack was needed for that.


git-svn-id: svn://localhost/gambas/trunk@3781 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-20 02:13:29 +00:00
Radek Fryšták
38414190ad [WEB SITE MAKER]
* NEW: Update in czech translation.

[WIKI CGI SCRIPT]
* NEW: Update in czech translation.

[DEVELOPMENT ENVIRONMENT]
* NEW: Update in czech translation.

[GB.FORM.MDI]
* NEW: Update in czech translation.

[GB.FORM]
* NEW: Update in czech translation.

[GB.DB.FORM]
* NEW: Update in czech translation.

[EXAMPLES]
* NEW: Check and finished in czech translation.
* BUG: Fix invalid attribute in BeastScroll


git-svn-id: svn://localhost/gambas/trunk@3780 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-19 15:47:20 +00:00
Benoît Minisini
feef2087a7 [COMPILER]
* BUG: Do not create debugger information for code generated by form files.
  Otherwise the debugger is confused.


git-svn-id: svn://localhost/gambas/trunk@3779 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-19 13:15:24 +00:00
Benoît Minisini
496143fd6c [DEVELOPMENT ENVIRONMENT]
* NEW: A button to reset the search list.
* NEW: The Gambas 2 project converter now works inside a temporary 
  directory, and make a backup copy of the converted project.
* NEW: The Gambas 2 project converter now correctly handle:
  - The changes in HSplit and VSplit Layout property.
  - The container Padding and Spacing properties.
  - The old ColorBox class.
  - The Scaled property.
  - OPEN instructions beginning with a TRY.
  - Lines of code having UTF-8 character inside.

[WEBSITE MAKER]
* NEW: News came back.
* NEW: Some design changes.

[GB.GTK]
* NEW: The HSplit/VSplit Layout property now can take a NULL array without
  raising an error and by ignoring it.

[GB.QT4]
* NEW: The HSplit/VSplit Layout property now can take a NULL array without
  raising an error and by ignoring it.

[GB.QT4.EXT]
* NEW: Some little drawing fixes in Editor.


git-svn-id: svn://localhost/gambas/trunk@3778 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-19 02:00:06 +00:00
Benoît Minisini
4accf2d633 [INTERPRETER]
* BUG: Do not crash anymore when an error is raised inside the constructor
  of the automatic instance of an auto-creatable class.


git-svn-id: svn://localhost/gambas/trunk@3777 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-18 13:57:46 +00:00
Benoît Minisini
5fe1d66dbd [DEVELOPMENT ENVIRONMENT]
* NEW: Move some source files.
* NEW: Handle single field property selection correctly.

[GB.DB.FORM]
* BUG: DataCombo can handle a non-numeric field now.

[GB.QT4.EXT]
* BUG: Editor that separate procedure with alternative backgrounds is now
  correctly refreshed when procedure limits change.


git-svn-id: svn://localhost/gambas/trunk@3776 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-17 23:50:38 +00:00
Benoît Minisini
3242f45b9f [DEVELOPMENT ENVIRONMENT]
* BUG: Handle "Fields" properties correctly  again.
* NEW: The table chooser dialog now knows the connection used by the data 
  control.
* BUG: Fix text property dialog layout.
* NEW: Draw the focus of welcome dialog buttons better.

[GB.QT4]
* BUG: Found a workaround for unwanted ScrollView scrollings during 
  arrangement. Not perfect yet, but hey, it's Qt's fault!

[GB.QT4.EXT]
* BUG: Fix a crash in the Editor internal routine that computes the current 
  procedure index.


git-svn-id: svn://localhost/gambas/trunk@3775 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-17 16:47:31 +00:00
Benoît Minisini
4158120c43 [DEVELOPMENT ENVIRONMENT]
* NEW: New option to separate procedures by using an alternate background.
* NEW: Make the welcome dialog follow the new website design.
* BUG: Changing the style correctly updates the console now.
* BUG: Fix packager wizard layout.

[EXAMPLES]
* NEW: Print framerate by using the Window.Framerate property in the 
  GambasGears example.

[GB.QT4.EXT]
* NEW: New option to separate procedures by using an alternate background.


git-svn-id: svn://localhost/gambas/trunk@3774 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-17 08:28:23 +00:00
Benoît Minisini
b206846433 [DEVELOPMENT ENVIRONMENT]
* NEW: Try to simplify the search dialog interface.
* NEW: A confirmation is always asked when replacing all strings in the 
  search dialog.


git-svn-id: svn://localhost/gambas/trunk@3773 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-17 00:01:06 +00:00
Benoît Minisini
19ff910be8 [GB.SDL]
* BUG: Compute the framerate differently and more accurately.
* BUG: Framerate limitation is more accurate now.
* NEW: Window.Framerate property is a Float number now.
* NEW: Manage the WAIT instruction.
* NEW: The event loop can ignore input events, as requested by the WAIT
  instruction, when it is called with no argument.


git-svn-id: svn://localhost/gambas/trunk@3772 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-16 21:00:33 +00:00
Benoît Minisini
c4e08d4574 [DEVELOPMENT ENVIRONMENT]
* NEW: Use small font in editor toolbars.

[COMPILER]
* NEW: Compile form code before class code, so that error messages always 
  occur inside class code.
* BUG: Correctly handle errors when loading source files.

[GB.QT4.EXT]
* BUG: The cursor position is now correctly drawn with proportional fonts.


git-svn-id: svn://localhost/gambas/trunk@3771 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-16 13:25:46 +00:00
Benoît Minisini
0c678f3cba [DEVELOPMENT ENVIRONMENT]
* NEW: Little changes in Sapphire theme.
* BUG: Fix text editor toolbar tooltips.
* NEW: Support for C and C++ files.
* BUG: Support for procedure folding and unfolding shortcuts in the text 
  editor.
* NEW: A "Paste special" button in the code editor toolbar.

[GB.EVAL.HIGHLIGHT]
* NEW: C and C++ syntax hilighting.

[GB.FORM.MDI]
* BUG: Don't try to optimize Toolbar separators in design mode.

[GB.QT4.EXT]
* NEW: In Editor, highlight both matching braces now.


git-svn-id: svn://localhost/gambas/trunk@3770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-16 00:25:07 +00:00
Fabien Bodard
b947d1f8f9 [GB.REPORT]
* OPT: Continue to modify the preview dialog
* NEW: _Similar property is filled



git-svn-id: svn://localhost/gambas/trunk@3769 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-15 23:10:01 +00:00
Benoît Minisini
527e7782e5 [GB.QT4.EXT]
* OPT: Optimize Editor text layout for monospace fonts and lines with 
  Latin-1 characters only.


git-svn-id: svn://localhost/gambas/trunk@3768 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-15 22:49:15 +00:00
Fabien Bodard
a497d88491 [GB.REPORT]
* NEW: Begin to simplify the preview windows


git-svn-id: svn://localhost/gambas/trunk@3767 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-15 18:09:26 +00:00
Benoît Minisini
35c30d2a09 [GB.QT4.EXT]
* BUG: Fix Editor drawing problems with themes other than Oxygen.


git-svn-id: svn://localhost/gambas/trunk@3766 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-15 15:50:57 +00:00
Benoît Minisini
4fd522c25a [DEVELOPMENT ENVIRONMENT]
* NEW: Simplify the search dialog interface.
* NEW: Put the compress and uncompress actions in the toolbar.
* BUG: Do not try to display the current error is the active stack frame is
  not the current one.


git-svn-id: svn://localhost/gambas/trunk@3765 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-14 23:26:01 +00:00
Benoît Minisini
416df4a664 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the scan of exported classes that must not inherit themselves!


git-svn-id: svn://localhost/gambas/trunk@3764 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-13 23:37:54 +00:00
Laurent Carlier
28274d1b49 [GB.GTK]
* BUG: Fix building with gtk+ prior to 2.24.


git-svn-id: svn://localhost/gambas/trunk@3763 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-13 16:38:11 +00:00
Laurent Carlier
2e414857c3 Fix some building with make CXXFLAGS+="-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
See http://developer.gnome.org/gtk3/3.0/gtk-migrating-2-to-3.html



git-svn-id: svn://localhost/gambas/trunk@3762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-13 08:20:00 +00:00
Benoît Minisini
a742115ed9 [DEVELOPMENT ENVIRONMENT]
* BUG: Display compiler error message the same way as interpreter runtime
  error messages.


git-svn-id: svn://localhost/gambas/trunk@3761 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-13 00:11:00 +00:00
Laurent Carlier
7c5d8a4e94 Fix building with make CFLAGS+="-DGTK_DISABLE_SINGLE_INCLUDES"
See http://developer.gnome.org/gtk3/3.0/gtk-migrating-2-to-3.html


git-svn-id: svn://localhost/gambas/trunk@3760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 22:57:32 +00:00
Benoît Minisini
319036d197 [GB.QT4]
* BUG: TextLabel with AutoResize set takes the WordWrap property into 
  account correctly now.


git-svn-id: svn://localhost/gambas/trunk@3759 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 22:38:32 +00:00
Benoît Minisini
350c5d8cef [DEVELOPMENT ENVIRONMENT]
* BUG: Refresh project after the project property dialog has been 
  validated.
* NEW: Display runtime error in a tooltip instead of a balloon.


git-svn-id: svn://localhost/gambas/trunk@3758 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 22:32:32 +00:00
Benoît Minisini
8cea2d489f [GB.QT4.EXT]
* BUG: Remove the StaticContents Qt flag from the Editor control. Maybe it
  will fix the refresh bug some people have.


git-svn-id: svn://localhost/gambas/trunk@3757 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 20:13:55 +00:00
Benoît Minisini
3c60bae2b6 [DEVELOPMENT ENVIRONMENT]
* OPT: Optimize detection of the current procedure.

[GB.QT4.EXT]
* BUG: Cursor moves better on folded procedures in Editor.
* OPT: Some little optimizations in Editor view.


git-svn-id: svn://localhost/gambas/trunk@3756 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 20:00:49 +00:00
Benoît Minisini
0fd1a693dc [DEVELOPMENT ENVIRONMENT]
* NEW: Display cursor position inside editors, and not in the toolbar 
  anymore.

[GB.QT4]
* OPT: Do not trigger arrangement if setting the visibility of a control 
  has no effect.

[GB.QT4.EXT]
* NEW: Editor can display the cursor position inside itself.


git-svn-id: svn://localhost/gambas/trunk@3755 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 12:49:16 +00:00
Benoît Minisini
1a223dc2f7 [GB.DRAW]
* NEW: Paint.AntiAlias is a new property that defines if antialiasing is 
  used for drawing. It should be TRUE by default.


git-svn-id: svn://localhost/gambas/trunk@3754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 11:07:22 +00:00
Benoît Minisini
f4ab13c337 [DEVELOPMENT ENVIRONMENT]
* NEW: Ability to replace strings while browsing the entire project.

[GB.IMAGE]
* BUG: Image.Resize() works with 24-bits image again.

[GB.QT4]
* BUG: GridView correctly honors the WordWrap cell property for rich text.


git-svn-id: svn://localhost/gambas/trunk@3753 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 10:19:05 +00:00
Benoît Minisini
2448f7b8e5 [GB.GTK]
* BUG: Setting the font of a editable ComboBox now works as expected.


git-svn-id: svn://localhost/gambas/trunk@3752 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 00:54:48 +00:00
Benoît Minisini
68942fb66b [GB.GTK]
* BUG: Setting TextArea.Line to a negative value now moves the cursor to 
  the beginning of the text.
* BUG: Setting TextArea.Line to a too big value now moves the cursor to 
  the end of the text.


git-svn-id: svn://localhost/gambas/trunk@3751 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-12 00:38:43 +00:00
Benoît Minisini
d3ed46eace [DEVELOPMENT ENVIRONMENT]
* NEW: Some error are ignored when using instant watch.


git-svn-id: svn://localhost/gambas/trunk@3750 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-11 23:35:48 +00:00
Benoît Minisini
9a48eaa569 [DEVELOPMENT ENVIRONMENT]
* NEW: Display instant watch with a custom tooltip instead of a balloon so
  that it is less intrusive.


git-svn-id: svn://localhost/gambas/trunk@3749 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-11 23:34:37 +00:00