Commit graph

1932 commits

Author SHA1 Message Date
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
Benoît Minisini
f78ee4abee [GB.DRAW]
* NEW: Draw.FillRect() uses the FillColor color by default now, not the 
  Background color.


git-svn-id: svn://localhost/gambas/trunk@3748 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-11 15:55:13 +00:00
Benoît Minisini
bf7bd78dda [EXAMPLES]
* BUG: Restore BeastScroll example.

[GB.SDL]
* BUG: Remove my mistake in the Draw.Image() method.


git-svn-id: svn://localhost/gambas/trunk@3747 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-11 13:08:59 +00:00
Benoît Minisini
15762e3fb2 [GB.IMAGE]
* NEW: Implement Image.PaintImage().

[GB.IMAGE.IO]
* NEW: Loaded image are returned in the preferred format, as specified by
  gb.qt4, gb.gtk or gb.sdl.

[GB.SDL]
* BUG: Do not define the foreground color before drawing an image. It seems
  useless, isn't it?
* BUG: Fix a case mistake in the "Deactivate" event.


git-svn-id: svn://localhost/gambas/trunk@3746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-11 00:57:03 +00:00
Benoît Minisini
c2ec9e856d [WEB SITE MAKER]
* NEW: Add new website files to the repository.


git-svn-id: svn://localhost/gambas/trunk@3745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-10 21:29:57 +00:00
Benoît Minisini
186afc6326 [DEVELOPMENT ENVIRONMENT]
* NEW: Replace Image.Draw() by Image.PaintImage() everywhere.

[WEB SITE MAKER]
* NEW: Some website updates.

[GB.GTK]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().

[GB.IMAGE]
* NEW: Image.DrawImage() is a new method that draws an image by ignoring
  the alpha channel.

[GB.IMAGE.IMLIB]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().

[GB.QT4]
* NEW: The Image.Draw() method has been renamed as Image.PaintImage().


git-svn-id: svn://localhost/gambas/trunk@3744 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-10 21:27:34 +00:00
Laurent Carlier
c529c78553 [GB.SDL]
* NEW: Use now defaut BGRA image format internally, should avoid conversion when
       using with a majority of gb.image.xxxx components.
* BUG: Add missing defaut Image format declaration.


git-svn-id: svn://localhost/gambas/trunk@3743 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-10 16:39:02 +00:00
Benoît Minisini
0a6ea29cbc [GB.IMAGE]
* NEW: Image.DrawRect() as been renamed as Image.PaintRect().


git-svn-id: svn://localhost/gambas/trunk@3742 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-09 11:45:33 +00:00
Benoît Minisini
e23dc7e456 [GB.IMAGE]
* OPT: Image.DrawAlpha() should be faster now.


git-svn-id: svn://localhost/gambas/trunk@3741 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-09 11:39:08 +00:00
Benoît Minisini
fdba373f80 [WEB SITE MAKER]
* NEW: New Website design

[GB.FORM]
* BUG: ScrollArea.ScrollX and ScrollArea.ScrollY properties are writable 
  now, as their ScrollView relatives.


git-svn-id: svn://localhost/gambas/trunk@3740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-09 08:16:28 +00:00