Commit graph

2156 commits

Author SHA1 Message Date
Benoît Minisini
cdf3c067a0 [DEVELOPMENT ENVIRONMENT]
* BUG: The create file dialog is now correctly refreshed the second time 
  it is opened.


git-svn-id: svn://localhost/gambas/trunk@3813 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-29 23:14:08 +00:00
Benoît Minisini
5f8041a0b1 [EXAMPLES]
* NEW: Some little fixes in DragNDrop example.

[GB.FORM]
* NEW: ListContainer.Select(Null) unselect the current selected item.

[GB.QT4.EXT]
* BUG: No glitch anymore when drawing Editor bottom.


git-svn-id: svn://localhost/gambas/trunk@3812 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-29 22:42:23 +00:00
Fabien Bodard
928d517e49 [EXAMPLE]
* OPT: Arrange the report example


git-svn-id: svn://localhost/gambas/trunk@3811 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-29 20:16:21 +00:00
Fabien Bodard
764f3aadeb [DEVELOPMENT ENVIRONMENT]
* OPT: Finish the Report Padding management

[GB.REPORT]
* BUG: Correct the padding string parsing

[EXAMPLE]
* BUG: Make the example working with the new padding property





git-svn-id: svn://localhost/gambas/trunk@3810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-29 20:08:15 +00:00
Benoît Minisini
fddfddb106 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix drawing of library items.

[EXAMPLE]
* NEW: Clean up the MusicPlayer example.
* NEW: The MusicPlayer example now uses the 'mp3info' and 'ogginfo' 
  commands to retrieve the length of the music.

[GB.FORM]
* NEW: Add a "volume" stock icon.

[GB.QT4.EXT]
* BUG: Fix management of Editor viewport size and scrollbars.


git-svn-id: svn://localhost/gambas/trunk@3809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-29 16:18:05 +00:00
Fabien Bodard
a649e1f683 [GB.REPORT]
* NEW: Individual Padding size
  padding string : possible value
  - value : x cm
  - sides : padding-left=xcm;padding-right=ycm;etc


git-svn-id: svn://localhost/gambas/trunk@3808 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-28 22:11:53 +00:00
Fabien Bodard
2e6be0790e [DEVELOPMENT ENVIRONMENT]
* NEW: Begin to add the padding management 
  (I just have to add the string management)



git-svn-id: svn://localhost/gambas/trunk@3807 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-28 22:08:59 +00:00
Matti
c669c6c18d [DEVELOPMENT ENVIRONMENT]
* NEW: Update of German Translation


git-svn-id: svn://localhost/gambas/trunk@3806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-28 19:21:46 +00:00
Benoît Minisini
98046e8d15 [DEVELOPMENT ENVIRONMENT]
* BUG: Creating MySQL tables works now.
* NEW: Use the 'MEMORY' MySQL table engine instead of 'HEAP'.

[GB.DB.MYSQL]
* NEW: Replace 'MEMORY' table engine by 'HEAP' when MySQL version is lower
  than 4.1.


git-svn-id: svn://localhost/gambas/trunk@3805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-28 12:37:39 +00:00
Benoît Minisini
68bdf71d6f [INTERPRETER]
* NEW: Class.New() is a new method that does the same thing as 
  Object.New(), but acts on a class object instead of using the class name.

[EXAMPLES]
* BUG: In Report example, do not raise an error if the connection is
  actually already opened.

[GB.REPORT]
* NEW: Use the Class.New() method to implement Report.Clone().
* NEW: Clean up the preview window.
* BUG: The zoom slider is now always synchronized with the current zoom 
  level.

[GB.QT4]
* BUG: Remove a debugging message.
* BUG: SvgImage now draws nothing if the SvgImage width or height is null.


git-svn-id: svn://localhost/gambas/trunk@3804 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-27 22:06:38 +00:00
Fabien Bodard
c7bbcedfff [EXAMPLES]
* OPT: Add an svg picture to the report example


git-svn-id: svn://localhost/gambas/trunk@3803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-27 21:40:43 +00:00
Fabien Bodard
ffe53d0454 [GB.REPORT)
* NEW: A new function 'Clone' that return a new instance of the current report


git-svn-id: svn://localhost/gambas/trunk@3802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-27 21:18:48 +00:00
Benoît Minisini
c6065417d5 [GB.GTK]
* BUG: SvgImage.Paint() now takes the current paint position and the size
  of the SVG image into account.


git-svn-id: svn://localhost/gambas/trunk@3801 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-27 21:10:38 +00:00
Benoît Minisini
5d63cf9d90 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix editor message tooltip position.
* BUG: The Report brush dialog now uses the IDE color dialog to select a 
  gradient color.

[EXAMPLES]
* NEW: Add a level selector menu in the GNUBoxWorld example, and change the
  look of some tiles.

[GB.GTK]
* NEW: SvgImage.Resize() is a new method to define the width and height of 
  the svg image in one shot.

[GB.QT4]
* NEW: SvgImage.Resize() is a new method to define the width and height of 
  the svg image in one shot.


git-svn-id: svn://localhost/gambas/trunk@3800 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-27 00:07:43 +00:00
Fabien Bodard
7c95de3349 [GB.V4L]
* BUG: Correct the configure file


git-svn-id: svn://localhost/gambas/trunk@3799 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-26 19:35:39 +00:00
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