Commit graph

2055 commits

Author SHA1 Message Date
Matti
f348ccd2bb [EXAMPLES]
* NEW: Lighttable: Menu added for opening a new folder


git-svn-id: svn://localhost/gambas/trunk@3872 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-06 20:25:58 +00:00
Benoît Minisini
21d716670c [DEVELOPMENT ENVIRONMENT]
* BUG: When loading a Gambas 2 project, GridView.Data BackColor and 
  ForeColor properties are correctly converted.


git-svn-id: svn://localhost/gambas/trunk@3871 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-04 01:54:38 +00:00
Benoît Minisini
2fbf67cb29 [CONFIGURATION]
* NEW: Update FSF address in every source file.


git-svn-id: svn://localhost/gambas/trunk@3870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-03 00:51:09 +00:00
Benoît Minisini
60a53306c3 [INTERPRETER]
* BUG: Recursive release of pending objects at program's end is more robust 
  now.


git-svn-id: svn://localhost/gambas/trunk@3869 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-03 00:19:33 +00:00
Benoît Minisini
9d69842038 [GB.NET.CURL]
* NEW: Support for the https protocol in the HTTP client.


git-svn-id: svn://localhost/gambas/trunk@3868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-02 16:09:04 +00:00
Benoît Minisini
b921eb888f [DEVELOPMENT ENVIRONMENT]
* BUG: Don't fail when there is no IDE settings file yet.


git-svn-id: svn://localhost/gambas/trunk@3867 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-31 09:34:33 +00:00
Benoît Minisini
e376955f63 [DEVELOPMENT ENVIRONMENT]
* BUG: Classes coming from libraries are correctly taken into account in
  automatic completion now.
* BUG: Fix the layout of the help window the first time it is shown.
* NEW: The recent files list should be correctly refreshed now if another 
  Gambas instance updates it.

[WEB SITE MAKER]
* NEW: Update for Gambas 2.23.1.

[WIKI CGI SCRIPT]
* BUG: The front page now is correctly version dependant.
* BUG: Do not add "v3" at the end of a link that has "v2" explicitely.

[INTEPRETER]
* NEW: Stream.Lines is a new property that allows to enumerate a stream 
  line by line until end of stream is reached.

[GB.SETTINGS]
* NEW: The Settings.Path property has been renamed as Settings.DefaultDir.
* NEW: Now Settings.Path returns the path of the settings file on the disk.
* BUG: Use a lock to prevent simultaneous writings of the same settings 
  file.

[GB.QT4.EXT]
* BUG: Fix how the cursor is ensured to be visible in the Editor class.


git-svn-id: svn://localhost/gambas/trunk@3866 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-27 18:46:56 +00:00
Radek Fryšták
39ad971855 [WEB SITE MAKER]
* NEW: Czech translation update

[GB.REPORT]
* NEW: Czech translation update

[GB.FORM.DIALOG]
* NEW: Czech translation update

[GB.FORM]
* NEW: Czech translation update


git-svn-id: svn://localhost/gambas/trunk@3859 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-25 18:21:45 +00:00
Benoît Minisini
b1c1b88222 [DEVELOPMENT ENVIRONMENT]
* BUG: In the procedure list, finding a procedure by typing its name 
  correctly scrolls the list.


git-svn-id: svn://localhost/gambas/trunk@3858 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-23 19:44:55 +00:00
Benoît Minisini
08b88056cf [EXAMPLES]
* NEW: A new example based on the GNU Scientific Library, made by Juergen 
  Zdero and modified by me.


git-svn-id: svn://localhost/gambas/trunk@3857 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-22 18:10:53 +00:00
Benoît Minisini
085f879256 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix keyboard handling in editor procedure list.

[WEB SITE MAKER]
* NEW: Activate the Gambas 3 download button.

[WIKI CGI SCRIPT]
* NEW: Use a combo-box now for selecting the current version.

[GB.GTK]
* BUG: Remove some debugging stuff in the Printer class.

[GB.FORM]
* NEW: Add an "open in file manager" action in FileChooser and DirChooser
  controls, when the gb.desktop component is loaded.


git-svn-id: svn://localhost/gambas/trunk@3856 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-22 15:07:53 +00:00
Benoît Minisini
968df3d531 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix focus problem with FileChooser controls.
* BUG: Symbolic links can be deleted from the project tree now.

[GB.FORM]
* BUG: FileChooser control does not force focus anymore.
* NEW: Setting the focus on FileChooser explicitely gives the focus to 
  the file name textbox.


git-svn-id: svn://localhost/gambas/trunk@3854 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-21 01:48:43 +00:00
Benoît Minisini
11bd91c838 [DEVELOPMENT ENVIRONMENT]
* BUG: Virtual controls are correctly saved again in form files.
* BUG: Debugger windows are now visible in the taskbar, so that they can be 
  restored after having been minimized.


git-svn-id: svn://localhost/gambas/trunk@3853 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-20 09:45:49 +00:00
Benoît Minisini
2c56b9c2f7 [DEVELOPMENT ENVIRONMENT]
* NEW: Custom controls icons are more readable.
* BUG: Fix crash with key navigation in the procedure popup.


git-svn-id: svn://localhost/gambas/trunk@3852 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-18 23:41:59 +00:00
Benoît Minisini
ca6844fcb5 [INTERPRETER]
* BUG: Compiles correctly when libffi is not installed.


git-svn-id: svn://localhost/gambas/trunk@3851 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-18 23:28:25 +00:00
Benoît Minisini
784228d13d [INTERPRETER]
* NEW: System.GetExternSymbol() is a new static method that returns the 
  value of an external symbol located in a shared library.


git-svn-id: svn://localhost/gambas/trunk@3850 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-18 15:02:49 +00:00
Benoît Minisini
add4c38506 [GB.QT4.EXT]
* BUG: Editor now correctly handle widget styles.


git-svn-id: svn://localhost/gambas/trunk@3849 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-18 14:44:11 +00:00
Radek Fryšták
6100c085de [DEVELOPMENT ENVIRONMENT]
* NEW: Czech translation update


git-svn-id: svn://localhost/gambas/trunk@3848 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-17 21:31:56 +00:00
Benoît Minisini
3ad7066db3 [DEVELOPMENT ENVIRONMENT]
* NEW: Virtual controls now have virtual X and Y properties.


git-svn-id: svn://localhost/gambas/trunk@3847 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-17 00:43:40 +00:00
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