Commit graph

2036 commits

Author SHA1 Message Date
Benoît Minisini
5e91ded94f [INTERPRETER]
* BUG: Fix the use of boolean in the interpreter API.
* NEW: Change the GB.New() API signature, and update all components 
  accordingly.


git-svn-id: svn://localhost/gambas/trunk@3846 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-16 02:16:22 +00:00
Benoît Minisini
ca20032a15 [DEVELOPMENT ENVIRONMENT]
* OPT: Do not refresh the search list when the bottom panel is hidden.
* NEW: Support for Lithuanian language.


git-svn-id: svn://localhost/gambas/trunk@3844 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-16 00:48:37 +00:00
Benoît Minisini
a3198eeb09 [DEVELOPMENT ENVIRONMENT]
* NEW: Disable kill buttons correctly in database editor window.

[GB.FORM]
* BUG: Fix a possible crash in TableView when the editor control is moved.

[GB.QT4]
* NEW: The GridView Change event is raised when there is no current row 
  now.


git-svn-id: svn://localhost/gambas/trunk@3843 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-14 22:21:23 +00:00
Benoît Minisini
975d5ad5fb [GB.QT4]
* BUG: GridView does not raise the Scroll event if there is actually no
  scrolling at all.


git-svn-id: svn://localhost/gambas/trunk@3842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-14 15:19:51 +00:00
Benoît Minisini
e113b8f639 [GB.QT4]
* BUG: GridView Scroll event is now raised correctly when moving the 
  scroll bars.


git-svn-id: svn://localhost/gambas/trunk@3841 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-14 15:03:58 +00:00
Benoît Minisini
2d49356d86 [DEVELOPMENT ENVIRONMENT]
* BUG: DataComboMulti controls (and other that are drawn with a ComboBox) 
  can be added on a form again.


git-svn-id: svn://localhost/gambas/trunk@3840 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-14 14:34:08 +00:00
Benoît Minisini
7ead23fc59 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix property sheet editor position.
* BUG: Table properties can be cleared with the DELETE or BACKSPACE key.
* BUG: Do not use natural sort to sort the procedure list, so that special
  methods come first.
* BUG: The current procedure should be visible now when opening the 
  procedure list.
* NEW: New IDE logo, with some orange inside. :-)

[GB.DB.FORM]
* BUG: Fix the "Bad Row index" error when there is no current row in the 
  DataView control.

[GB.QT4]
* BUG: GridView now raise the Scroll event immediately and correctly.

[GB.QT4.EXT]
* BUG: Try to fix the Editor method ensuring that the current position is 
  visible.


git-svn-id: svn://localhost/gambas/trunk@3839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-14 14:28:07 +00:00
Benoît Minisini
bad51945c1 [GB.FORM]
* BUG: ScrollArea and IconView controls now take the Enabled property into 
  account.

[GB.GTK]
* BUG: gb.gtk compiles with older version of GTK+ again.

[GB.IMAGE]
* NEW: Color.Desaturate() is a new method that desaturates a color.


git-svn-id: svn://localhost/gambas/trunk@3837 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-09 08:39:46 +00:00
Benoît Minisini
c0f0c292ff [GB.GTK]
* NEW: GridView.ScrollWidth and GridView.ScrollHeight are two new 
  properties that return the GridView contents size.
* BUG: Fix TextBox minimum height.
* BUG: Keyboard support of GridView is the same as in gb.qt4 now.
* BUG: Remove a warning message in GridView code.

[GB.QT4]
* BUG: Fix GridView ClientWidth and ClientHeight properties, so that they
  return the GridView visible size.
* NEW: GridView.ScrollWidth and GridView.ScrollHeight are two new 
  properties that return the GridView contents size.


git-svn-id: svn://localhost/gambas/trunk@3836 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-07 00:54:21 +00:00
Radek Fryšták
502c2926e6 [DEVELOPMENT ENVIRONMENT]
* NEW: Update Czech translation

[GB.FORM]
* NEW: Update Czech translation

[GB.REPORT]
* NEW: Czech translation


git-svn-id: svn://localhost/gambas/trunk@3835 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-06 07:16:54 +00:00
Benoît Minisini
5eab844287 [GB.DB.FORM]
* BUG: Fix the initial scrolling position of the DataView control.

[GB.FORM]
* NEW: TableView behaviour takes into account the new way of getting the 
  GridView cell coordinates.

[GB.GTK]
* NEW: GridView ClientX and ClientY properties have been fixed.
* NEW: GridView cells X and Y properties now return the coordinates of the 
  cell relative to the full client area.
* BUG: The GridView row header width is correctly updated now.

[GB.QT4]
* NEW: GridView cells X and Y properties now return the coordinates of the 
  cell relative to the full client area.


git-svn-id: svn://localhost/gambas/trunk@3834 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-06 01:55:48 +00:00
Benoît Minisini
d68809630f [INTERPRETER]
* BUG: Always translate the True and False string dynamically.

[GB.DB.FORM]
* OPT: Try to minimize refresh when DataSource.Connection is set.
* BUG: DataView editor font is correct now.

[GB.QT4]
* OPT: Changing the number of rows or columns of a GridView does not 
  trigger a useless refresh anymore.
* OPT: Moving the cursor of a GridView in multiple selection mode does not
  trigger a full update anymore.


git-svn-id: svn://localhost/gambas/trunk@3833 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-05 08:54:21 +00:00
Matti
62473f99f6 [EXAMPLES]
* BUG: Set focus to glaPresentation after help message
  (otherwise space key doesn't work)


git-svn-id: svn://localhost/gambas/trunk@3832 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-04 19:14:13 +00:00
Benoît Minisini
00b45e6e77 [GB.QT4]
* BUG: Some bug fixes in utility windows.


git-svn-id: svn://localhost/gambas/trunk@3831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-03 23:18:54 +00:00
Benoît Minisini
9e1f391608 [EXAMPLES]
* NEW: Add an help message in the PDFPresentation example to explain how to 
  use it.


git-svn-id: svn://localhost/gambas/trunk@3830 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-03 20:28:27 +00:00
Benoît Minisini
a1cba31779 [EXAMPLES]
* BUG: In 3DWebCam example, use SLEEP instead of WAIT inside the Draw event
  otherwise we get infinite recursion.


git-svn-id: svn://localhost/gambas/trunk@3829 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-03 19:38:56 +00:00
Matti
2f14315d70 [EXAMPLES]
* NEW: German translation of some more examples, a few small changes



git-svn-id: svn://localhost/gambas/trunk@3828 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-03 18:41:29 +00:00
Benoît Minisini
170443ca1e [GB.FORM]
* NEW: In FileChooser, ask for overwriting existing files when 
  uncompressing an archive.
* BUG: Don't display the uncompress menu in DirChooser.


git-svn-id: svn://localhost/gambas/trunk@3827 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-03 08:57:07 +00:00
Benoît Minisini
d433b0172d [EXAMPLES]
* NEW: Some little fixes (icons mainly) in several examples.

[INTERPRETER]
* NEW: Two new interpreter APIs to set and get the value of an object
  property.

[GB.DEBUG]
* BUG: Fix a warning message.

[GB.FORM]
* BUG: Setting FileView Foreground and Background properties now work as
  expected.
* BUG: IconView takes its Background and Foreground properties into 
  account now.

[GB.GTK]
* NEW: Control Background and Foreground properties are now automatically
  applied to the proxy.

[GB.QT4]
* NEW: Control Background and Foreground properties are now automatically
  applied to the proxy.


git-svn-id: svn://localhost/gambas/trunk@3826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-02 00:46:00 +00:00
Benoît Minisini
c57a4f7df9 [GB.QT4]
* NEW: Do not disable Glib event loop support on KDE. It takes CPU and 
  memory, but Phonon needs it apparently to use PulseAudio.


git-svn-id: svn://localhost/gambas/trunk@3825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-01 15:34:34 +00:00
Benoît Minisini
c682e455db [DEVELOPMENT ENVIRONMENT]
* BUG: Found a workaround for the buggy Ubuntu global menu.

[EXAMPLES]
* NEW: Some little changes there and there.

[GB.QT4.WEBKIT]
* BUG: The Auth event works again.
* BUG: Website icon downloading and Icon events are more reliable.


git-svn-id: svn://localhost/gambas/trunk@3824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-01 15:25:31 +00:00
Benoît Minisini
6168c847b8 [GB.QT4]
* BUG: Use widget style to draw separators whose width and height are
  greater than one pixel.


git-svn-id: svn://localhost/gambas/trunk@3823 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-01 12:31:24 +00:00
Benoît Minisini
075ded4dee [GB.IMAGE]
* NEW: Image.DrawImage() and Image.PaintImage() now takes a destination 
  width and height arguments. But using them to stretch the source image is
  not supported. Only gb.image.imlib, gb.gtk and gb.qt4 implement that
  feature.


git-svn-id: svn://localhost/gambas/trunk@3822 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-01 02:54:51 +00:00
Benoît Minisini
2d63e26b55 [GB.IMAGE.IMLIB]
* BUG: Image.PaintImage() got back the scaling feature.


git-svn-id: svn://localhost/gambas/trunk@3821 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-01 01:04:37 +00:00
Benoît Minisini
a096aa1670 [DEVELOPMENT ENVIRONMENT]
* NEW: Text editor now tries to detect HTML files with no HTML extension.
* BUG: Closing the translation dialog when displaying a file having no
  translated strings yet does not incorrectly remove the translation file 
  anymore.

[EXAMPLES]
* NEW: ReportExample has been redesigned. It got a combo-box to select 
  which database driver to use.

[GB.GTK]
* BUG: MouseWheel events can be cancelled now.
* BUG: Setting the ComboBox.List property of a read-only ComboBox now
  automatically selects the first element as in gb.qt4.

[GB.REPORT]
* NEW: gb.report is translatable now.
* NEW: The preview window has been redesigned and enhanced.

[GB.QT4]
* BUG: MouseWheel events can be cancelled now.

[GB.QT4.EXT]
* NEW: In Editor, [Alt]+[Home] and [Alt]+[End] now moves to the previous or 
  next line having the same indentation. This is useful to search the 
  beginning or the end of a structure control, as soon as the code is 
  correctly indented of course!
* BUG: Setting Editor.Highlight property now correctly updates the Editor
  margin.


git-svn-id: svn://localhost/gambas/trunk@3820 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-01 00:59:45 +00:00
Fabien Bodard
bb6c67caaf [GB.REPORT]
* BUG: Correct the Size int procedure of images
* NEW: Add a button to compute all the page on Preview form


git-svn-id: svn://localhost/gambas/trunk@3819 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-30 22:34:54 +00:00
Fabien Bodard
fd46efdac8 [GB.REPORT]
* NEW: The report viewer use a progressive layout that speed up the display 
  of the viewer windows.
* NEW: ReportSvgImage have new property Stretch. If true the image take the
  Width/Height size else it have a proportional size
* NEW: ReportImage have new property Stretch. If true the image take the
  Width/Height size else it have a proportional size


git-svn-id: svn://localhost/gambas/trunk@3818 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-30 21:32:54 +00:00
Benoît Minisini
c9e5ef8993 [ARCHIVER]
* BUG: Ignore "core" file when creating an executable.


git-svn-id: svn://localhost/gambas/trunk@3816 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-30 12:53:09 +00:00
Benoît Minisini
2293d2fb2f [DEVELOPMENT ENVIRONMENT]
* BUG: Fix drawing of void ReportSvgImage and other painted custom 
  controls.

[EXAMPLES]
* BUG: Fix ReportExample example.


git-svn-id: svn://localhost/gambas/trunk@3815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-30 12:48:05 +00:00
Benoît Minisini
443077a44f [DEVELOPMENT ENVIRONMENT]
* NEW: Support for ReportSvgImage.
* NEW: Support for "SvgImage" property kind.

[GB.REPORT]
* NEW: ReportSvgImage Path property has been replaced by the Image 
  property, which takes a SvgImage object directly.


git-svn-id: svn://localhost/gambas/trunk@3814 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-04-30 01:16:37 +00:00
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