Commit graph

155 commits

Author SHA1 Message Date
Fabien Bodard
466bab50c5 [GB.REPORT]
* BUG: Now the ReportImage layout work well
* NEW: The Autoresize is active


git-svn-id: svn://localhost/gambas/trunk@4262 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-30 22:12:22 +00:00
Fabien Bodard
4da1b1813b [GB.REPORT]
* OPT: Changes in the label layout
* NEW: The ReportImage have now a data event and a data property


git-svn-id: svn://localhost/gambas/trunk@4261 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-30 21:11:10 +00:00
Fabien Bodard
dd5a982bb1 [GB.REPORT]
* BUG: Correct the HBox and Label layout


git-svn-id: svn://localhost/gambas/trunk@4260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-29 22:25:30 +00:00
Fabien Bodard
817982c990 [GB.REPORT]
* NEW: a new property DataCount in ReportContainer that repeat the container 
  n time, and increment the internal index
* NEW: a new Event Data in ReportLabel
* NEW: a new Data property to return the data during the Data event.
* BUG: Some changes in the VSizeInt.


git-svn-id: svn://localhost/gambas/trunk@4259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-28 23:16:11 +00:00
Fabien Bodard
e57e77690f [GB.REPORT]
* BUG: All the fixed, objects are correctly taked into account during the sizehint.


git-svn-id: svn://localhost/gambas/trunk@4258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-11-27 11:20:34 +00:00
Benoît Minisini
e680d4fe9b [DEVELOPMENT ENVIRONMENT]
* BUG: The form editor now embeds controls in a container that depens on 
  the form family (a Panel for a Form, a ReportPanel for a Report).

[INTERPRETER]
* BUG: Fix loop management when big negative values are used.

[GB.REPORT]
* NEW: Add an icon for the ReportPanel control.


git-svn-id: svn://localhost/gambas/trunk@4206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-20 00:03:25 +00:00
Fabien Bodard
0a6e293d6f [GB.REPORT]
* OPT: Hide Key and Data properties, they are not usable for now



git-svn-id: svn://localhost/gambas/trunk@4204 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-17 10:06:11 +00:00
Fabien Bodard
dd3b7e9967 [GB.REPORT]
* NEW: Now an ignored control can be fixed ... welcome to the watermark !


git-svn-id: svn://localhost/gambas/trunk@4198 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-14 15:16:19 +00:00
Fabien Bodard
bf32589f4f [GB.REPORT]
* BUG: Some other arrange bug corrected ... now the pages match with elements to show.
* OPT: Some Code cleanning


git-svn-id: svn://localhost/gambas/trunk@4197 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-14 15:08:15 +00:00
Fabien Bodard
fb69096c63 [GB.REPORT]
* BUG: Now Horizontal arrangement really work and take ignored control into account


git-svn-id: svn://localhost/gambas/trunk@4196 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-14 13:59:05 +00:00
Fabien Bodard
e90e31e1ad [GB.REPORT]
* NEW: ReportPanel come back, it have 4 arrangement possibility (None, Vertical, Horizontal, Fill)
  Only the vertical arrangement allow to depoy new pages automatiquely.
* NEW: The Left and TOP properties now allow free placement on arrange.none or when the controle 
  have ignored property set to true. They support relative placement too.
* NEW: The ignore property now work well.




git-svn-id: svn://localhost/gambas/trunk@4195 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-14 12:37:19 +00:00
Fabien Bodard
6015d80967 [GB.REPORT]
* BUG: The arrangement really work now
* NEW: Left and Top properties allow relative position for ignored elements
* NEW: Fixed elements can be expanded



git-svn-id: svn://localhost/gambas/trunk@4194 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-14 07:58:39 +00:00
Fabien Bodard
efbabb65ca [GB.REPORT]
* BUG: Begin arrangement algorytm  correction



git-svn-id: svn://localhost/gambas/trunk@4193 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-13 17:23:12 +00:00
Radek Fryšták
1a08dc94c3 [DEVELOPMENT ENVIRONMENT]
* NEW: Update czech translation

[WEB SITE MAKER]
* NEW: Update czech translation

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

[GB.REPORT]
* NEW: Update czech translation

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

[GB.FORM]
* NEW: Update czech translation

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

[EXAMPLES]
* NEW: Update czech translation for GNUBoxWorld
* NEW: Update czech translation for CDPlayer
* BUG: Fix create CD-ROM class a to netbook without CD-ROM.



git-svn-id: svn://localhost/gambas/trunk@4147 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-24 19:14:42 +00:00
Benoît Minisini
c900daba16 [EXAMPLES]
* NEW: Fix video examples according to the last changes in gb.v4l.


git-svn-id: svn://localhost/gambas/trunk@4128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-14 15:30:30 +00:00
Jordi Sayol
54c5fdcbe8 [DEVELOPMENT ENVIRONMENT]
* NEW: Catalan translation updated.

[WIKI CGI SCRIPT]
* NEW: Updated Catalan translation.

[GB.REPORT]
* NEW: Updated Catalan translation.

[GB.DB.FORM]
* NEW: Updated Catalan translation.

[EXAMPLES]
* NEW: Updated WebBrowser Catalan translation.
* NEW: Updated TreeView Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@4090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-05 19:12:20 +00:00
Benoît Minisini
52552bd548 [DEVELOPMENT ENVIRONMENT]
* NEW: Add a project filter in the recent project list of the welcome 
  dialog.

[GB.REPORT]
* BUG: Fix a typo mistake in ReportVBox class.


git-svn-id: svn://localhost/gambas/trunk@4070 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-09-01 00:39:54 +00:00
Benoît Minisini
b452559b5d [INTERPRETER]
* BUG: When checking inheritance, ignore the case of the "_new" special 
  method name.

[GB.REPORT]
* BUG: Fix some bad method overrides.


git-svn-id: svn://localhost/gambas/trunk@4067 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-31 02:35:54 +00:00
Benoît Minisini
63bc149a14 [DEVELOPMENT ENVIRONMENT]
* NEW: Use a MenuButton instead of a ComboBox to edit list properties.
* BUG: Inserting a new menu in the menu editor correctly selects it.
* BUG: The component property dialog does not crash anymore if there is no
  exported class in the project.

[GB.FORM]
* BUG: Fix mouse events handling in MenuButton controls whose MenuOnly 
  property is TRUE.

[GB.QT4]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@4052 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-28 01:07:50 +00:00
Fabien Bodard
6c52565a8b [GB.REPORT]
* NEW: the auto filling system is reactivated, and is near to work perfectly.
* NEW: The report label have now a key property.
* BUG: %any arrangement bugs corrected



git-svn-id: svn://localhost/gambas/trunk@4051 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 21:22:38 +00:00
Benoît Minisini
866c681682 [DEVELOPMENT ENVIRONMENT]
* NEW: Fix and enhance the Report brush chooser dialog.
* NEW: Use Color.Gradient instead of Color.Merge.

[GB.FORM.STOCK]
* BUG: Add two missing SVG files for stock icons.

[GB.IMAGE]
* NEW: Color.Gradient() is a new method that creates an intermediate color 
  between two others colors by using a RGB gradient.


git-svn-id: svn://localhost/gambas/trunk@4049 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 17:31:51 +00:00
Fabien Bodard
5b68aff097 [GB.REPORT]
*NEW: The Ignore property is now available. It allow to place an object anywhere
      relative to its parent container.
*BUG: The top padding/border and bottom are correctly taked into account for the autoresize computing
*BUG: Now the text is clipped




git-svn-id: svn://localhost/gambas/trunk@4047 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-27 14:49:54 +00:00
Benoît Minisini
9488c7aff7 [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion now displays hidden symbols if the class is 
  part of the current project.
* NEW: Support for *.tar.xz source archives.
* NEW: Underscores are now allowed inside a class name.
* BUG: Enabling or disabling tooltips in the option dialog does not crash
  anymore.

[INTERPRETER]
* NEW: Rename many virtual classes everywhere so that the documentation can
  easily extract the property name of the parent class from the virtual
  class name. For example, ".ApplicationArgs" is now ".Application.Args".


git-svn-id: svn://localhost/gambas/trunk@4028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 21:46:20 +00:00
Benoît Minisini
da7d1f8305 [DEVELOPMENT ENVIRONMENT]
* BUG: Display recursive error messages sent by the debugger correctly.

[GB.REPORT]
* BUG: Fix incorrect inheritances.


git-svn-id: svn://localhost/gambas/trunk@4017 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-20 01:31:42 +00:00
Jordi Sayol
52875ff96d [GB.REPORT]
* NEW: Add Catalan translation.



git-svn-id: svn://localhost/gambas/trunk@3914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-07-02 14:04:40 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
82ff4f2858 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for the Romanian language.


git-svn-id: svn://localhost/gambas/trunk@3551 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-08 21:53:40 +00:00
Benoît Minisini
1daab792db [DEVELOPMENT ENVIRONMENT]
* BUG: CoordBox correctly returns decimal value in american format.

[GB.GTK]
* BUG: Printer.Print() now does not display a flashing configuration dialog 
  anymore.
* BUG: Printed font now have the correct size.

[GB.REPORT]
* BUG: ReportLabel now uses Font.Height to compute its height, because 
  Paint.DrawText aligns according to Font.Height and not 
  Paint.TextExtents().


git-svn-id: svn://localhost/gambas/trunk@3540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-05 01:28:12 +00:00
Benoît Minisini
35f0c88302 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the drawing of borders, background and brush in the Report form 
  editor.
* BUG: Fix the drawing of borders in the Report border dialog.

[GB.REPORT]
* BUG: Fix the spelling of the Background property.


git-svn-id: svn://localhost/gambas/trunk@3537 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-04 02:31:47 +00:00
Benoît Minisini
5af06bc544 [EXAMPLES]
* BUG: Port the OnScreenDisplay example to Gambas 3.

[GB.FORM]
* BUG: IconView behaves correctly when its font changes.
* BUG: Fix some refresh bugs in the IconView.
* NEW: In ColorChooser, double-clicking on the pre-defined colors now 
  raises the Activate event.

[GB.GTK]
* BUG: Fix warnings when creating a Slider.

[GB.QT4]
* BUG: The TextArea text is not selected by default anymore.


git-svn-id: svn://localhost/gambas/trunk@3535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-04 01:03:52 +00:00
Fabien Bodard
b85bef34d7 [GB.REPORT]
* OPT: Changes ReportBrush and ReportBorder to match with the output
  of the ide border and brush editeur


git-svn-id: svn://localhost/gambas/trunk@3532 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-02 11:14:16 +00:00
Benoît Minisini
0eddc92a51 [DEVELOPMENT ENVIRONMENT]
* NEW: Finish and fix the CoordBox control.
* BUG: Fix the FReportBorderChooser dialog.
* BUG: Update the FReportBrushChooser dialog. There is a lot of duplicate 
  code with CReportBrush to fix yet.
* BUG: Correctly handle ReportCoord property with a CoordBox in the 
  property sheet.


git-svn-id: svn://localhost/gambas/trunk@3531 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-02 02:50:13 +00:00
Fabien Bodard
46d7ae4855 [GB.REPORT]
* BUG: Some bugs have been corrected in the arrangement process


git-svn-id: svn://localhost/gambas/trunk@3528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-02-01 15:44:02 +00:00