Commit graph

444 commits

Author SHA1 Message Date
Benoît Minisini
ca37913578 [DEVELOPMENT ENVIRONMENT]
* BUG: Search string is correctly highlighted in all cases now.

[WEB SITE MAKER]
* NEW: German translation made by Stefan Lang.

[COMPILER]
* NEW: The 'New' keyword is now mandatory when declaring array variables 
  with dimensions. The IDE and component source code were modified 
  according to that change.

[GB.QT4.EXT]
* BUG: Search strings are correctly highlighted in editors with no syntax 
  highlighting.


git-svn-id: svn://localhost/gambas/trunk@2944 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-14 21:17:04 +00:00
Benoît Minisini
a1c3fa1617 [INTERPRETER]
* NEW: Change the semantic of Eof(). Now, if the stream is in blocking 
  mode, then Eof() will wait for the data before testing if something can 
  be read on the stream.
* BUG: Correctly initialize the stream flag that tells that data is always 
  available.

[COMPILER]
* BUG: Correctly raise an error when the INPUT or OUTPUT keywords are used
  with the PIPE instruction.

[GB.FORM]
* NEW: ColorChoose.ShowColorMap is a new property that allows to hide or 
  show the colormap.

[GB.QT4]
* BUG: Correctly disable Qt automatic completion in the ComboBox control.


git-svn-id: svn://localhost/gambas/trunk@2940 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-08 20:17:29 +00:00
Benoît Minisini
1727304958 [DEVELOPMENT ENVIRONMENT]
* NEW: Shift+Enter disables automatic insertion of control structure 
  instructions.

[GB.FORM]
* BUG: Use images instead of pictures to draw little arrows in SidePanel 
  and MenuButton controls, so that it works with gb.gtk.

[GB.GTK]
* BUG: Found a woarkaround for sometimes slow as hell GTK+ image scaling 
  algorithm.
* BUG: Embedded windows correctly raise Open, Show and Hide events again.

[GB.QT4]
* BUG: Fix a bug in CheckBox creation that corrupted memory.


git-svn-id: svn://localhost/gambas/trunk@2934 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-05 14:26:07 +00:00
Benoît Minisini
24f12621eb [DEVELOPMENT ENVIRONMENT]
* NEW: Code snippet configuration in the option dialog.
* NEW: Automatic insertion of control structures.

[GB.SETTINGS]
* NEW: The Settings class can now load settings files located inside the 
  project.

[GB.QT4.EXT]
* BUG: Selected text is now correctly deleted in block mode in the Editor 
  class.


git-svn-id: svn://localhost/gambas/trunk@2931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 21:22:50 +00:00
Benoît Minisini
98c0d81aad [CONFIGURATION]
* BUG: Fix the creation of the gbw3 symbolic link.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix an error in arrangement icon management.
* NEW: Merge all form editor toolbars.
* NEW: Support for code snippets. Type "fo" and TAB to see it. Not yet
  finished.

[INTERPRETER]
* NEW: Standard format for numbers now displays all the decimal digits.

[GB.QT4.EXT]
* BUG: Fix a possible crash in Editor selection management.


git-svn-id: svn://localhost/gambas/trunk@2929 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-03 11:46:02 +00:00
Benoît Minisini
d1873301d0 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the display of arrangement icons.
* OPT: Keep a reference on the root control is the form editor.
* BUG: Loading recent files should never crash anymore now.
* BUG: Start fixing project creation.

[INTERPRETER]
* BUG: Don't load a component if its name is the same as the main project.

[GB.QT4]
* BUG: Mouse buttons properties work again during a MouseRelease event.


git-svn-id: svn://localhost/gambas/trunk@2924 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-29 12:54:45 +00:00
Benoît Minisini
8d7b99daed [GB.FORM.STOCK]
* BUG: Forgot to add the .component file.


git-svn-id: svn://localhost/gambas/trunk@2923 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-28 21:39:06 +00:00
Benoît Minisini
dab2e24446 [DEVELOPMENT ENVIRONMENT]
* BUG: CTRL+F and CTRL+R now correctly takes the current selected text as 
  search string in all cases.

[GB.GTK]
* NEW: The DrawingArea.Transparent has been removed.

[GB.QT4]
* NEW: The DrawingArea.Transparent has been removed.
* NEW: Do not resize the width (or the height) of a control if the parent 
  container controls it during arrangement.
* BUG: Remove a debugging message.
* BUG: Try to make controls non-opaque as much as possible, so that styles 
  having gradients like Oxygen are correctly displayed.


git-svn-id: svn://localhost/gambas/trunk@2919 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-27 21:05:15 +00:00
Benoît Minisini
1c0a7fb168 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix some icons.
* NEW: Do not define a name for components that should not be visible in 
  the project property dialog.

[GB.FORM]
* BUG: Fix loading of stock icons.
* BUG: Fix the mapping of some Gnome icons.


git-svn-id: svn://localhost/gambas/trunk@2916 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 13:59:05 +00:00
Benoît Minisini
c4bba37392 [GB.FORM]
* NEW: Remove useless icons.

[GB.FORM.STOCK]
* NEW: This new components just store a default set of stock icons. It is
  loaded by gb.form only if needed.


git-svn-id: svn://localhost/gambas/trunk@2915 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 12:29:49 +00:00
Benoît Minisini
b011fb064d [GB.FORM]
* NEW: Remove stock icon.
* NEW: The default stock icon will be stored in another component.

git-svn-id: svn://localhost/gambas/trunk@2914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-26 11:29:45 +00:00
Benoît Minisini
2e8429a800 [GB.GTK]
* NEW: RadioButton.AutoResize is a new property that makes the RadioButton 
  horizontally fits its contents when set.
* NEW: CheckBox.AutoResize is a new property that makes the CheckBox 
  horizontally fits its contents when set.

[GB.QT4]
* NEW: RadioButton.AutoResize is a new property that makes the RadioButton 
  horizontally fits its contents when set.
* NEW: CheckBox.AutoResize is a new property that makes the CheckBox 
  horizontally fits its contents when set.


git-svn-id: svn://localhost/gambas/trunk@2906 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-21 01:25:19 +00:00
David Villalobos Cambronero
9fe247a5b3 [GB.FROM.MDI]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2903 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:08:02 +00:00
David Villalobos Cambronero
33b9fd2c74 [GB.FROM]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2902 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:05:55 +00:00
David Villalobos Cambronero
1d1aae770f [GB.DB.FORM]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2901 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 14:04:15 +00:00
Benoît Minisini
57aac2157c [DEVELOPMENT ENVIRONMENT]
* NEW: Search in current procedure has been implemented.
* OPT: The Hall Of Fame is now animated only if its tab is visible.

[WEB SITE MAKER]
* NEW: Added some example authors in the hall of fame.

[GB.DB.SQLITE2]
* BUG: Fix a memory leak when failing to open a database.

[GB.DB.SQLITE3]
* BUG: Fix a memory leak when failing to open a database.

[GB.FORM]
* BUG: The text in FontChooser relative size list is not wrapped anymore.

[GB.FORM.MDI]
* BUG: Some fixes in toolbar layouting.
* NEW: Some little design change in the toolbar configuration dialog.
* NEW: Toolbar separators are now automatically hidden if they are useless.

[GB.GTK]
* NEW: TextLabel.Wrap is a new property that tells if the text should be 
  wrapped. This property is set by default.

[GB.SDL.SOUND]
* BUG: The component now works correctly  with gb.qt4.

[GB.QT4]
* NEW: TextLabel.Wrap is a new property that tells if the text should be 
  wrapped. This property is set by default.



git-svn-id: svn://localhost/gambas/trunk@2899 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-20 01:21:07 +00:00
David Villalobos Cambronero
4c3cae8327 * NEW: Deleted some commented lines.
* NEW: Created the class _Maintenance, now you can: Analyze, Check, Checksum
  Repair and Optimize tables.

git-svn-id: svn://localhost/gambas/trunk@2895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-14 18:30:54 +00:00
Benoît Minisini
932253491b [DEVELOPMENT ENVIRONMENT]
* NEW: New search & replace dialog that replaces the old one. Browsing the 
  entire project and searching inside forms are not implemented yet.
* NEW: Remove the search feature inside the console window, as now the new
  search & replace dialog can do the job.

[GB.FORM]
* NEW: MenuButton.Arrow is a new property to define if the little arrow
  button has to be shown. If Arrow is FALSE, then clicking on the 
  MenuButton automatically opens the menu.


[GB.GTK]
* NEW: Window.Opacity is a new property for defining the opacity of a 
  window with an integer between 0 and 100. That works only if you run a
  composited desktop.

[GB.QT4]
* NEW: Window.Opacity is a new property for defining the opacity of a 
  window with an integer between 0 and 100. That works only if you run a
  composited desktop.


git-svn-id: svn://localhost/gambas/trunk@2885 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-12 01:27:33 +00:00
Benoît Minisini
2ab35d25e8 [DEVELOPMENT ENVIRONMENT]
* BUG: Dropping a picture on a Report form inserts a ReportImage now.
* BUG: Some fixes in arrangement icon drawing.
* OPT: Don't hide the console at program's end, if the console must remain 
  visible.
* NEW: Support for symbolic links to source directories. Disabled at the 
  moment.
* BUG: Do not use gb.gtk.ext in project templates, it does not exist 
  anymore!

[INTERPRETER]
* BUG: RDir() with FollowLink argument set correctly search into symbolic 
  link to directories.

[GB.DESKTOP]
* BUG: Desktop.Width and Desktop.Height do not crash anymore if the 
  underlying desktop does not support standard freedesktop properties.


git-svn-id: svn://localhost/gambas/trunk@2852 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-04-02 12:34:21 +00:00
Fabien Bodard
7c0248c3f3 [GB.REPORT]
* BUG: Many correction on page generation


git-svn-id: svn://localhost/gambas/trunk@2848 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-31 21:49:44 +00:00
Fabien Bodard
0b2088fd06 [GB.REPORT]
* OPT: Boost the layout by remember the size when it have not to be changed
  5 sec for 10000 entry on my old machine.


git-svn-id: svn://localhost/gambas/trunk@2844 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-30 07:37:07 +00:00
Fabien Bodard
30582816c6 [GB.REPORT]
* NEW: Now the format property is taked into account, you need to use standard
  gambas formating string
* NEW: A boolean property UseField that tel to the report engine to change some
  macro value by theire values.


git-svn-id: svn://localhost/gambas/trunk@2843 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-29 13:50:18 +00:00
Fabien Bodard
b6d3061790 [GB.REPORT]
* NEW: Complete change of the way that label get datas
  Now you just give to the container to repeat a collection[] or a result
  and to the label a key and all will simply be done.
  The Container_data and Label_data events are removed, the label.index              
  property and the container.repeat property are removed too



git-svn-id: svn://localhost/gambas/trunk@2842 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-29 12:21:26 +00:00
Fabien Bodard
1e2fefee38 [GB.REPORT]
* NEW: Begin the change of ReportLabel, now when not text is set, reportlabel
  raise an event _Data to get it's text.
  PUBLIC SUB ReportLabel1_Data()
    LAST.Text = aMyArray[Last.Index]
  END
* New: Container are raised an event _Data when repeat is selected
  if Stop event is called in this event, the clone process is ended.
  PUBLIC SUB ReportVBox_Data()

    If Last.Index = $hResult.Count Then Stop Event

  END



git-svn-id: svn://localhost/gambas/trunk@2837 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-27 19:30:15 +00:00
Fabien Bodard
7162466e05 [GB.REPORT]
* OPT: Some tests on fields


git-svn-id: svn://localhost/gambas/trunk@2832 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-26 20:44:44 +00:00
Fabien Bodard
1514c00fd1 [GB.REPORT]
* NEW: ReportCloner is removed, and replaced by the new Repeat property in container
* BUG: The Clones are correctly located


git-svn-id: svn://localhost/gambas/trunk@2831 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-26 20:08:44 +00:00
Fabien Bodard
9816d96140 [GB.REPORT]
* NEW: Begin to add the repeat support to 
  the ReportContainer


git-svn-id: svn://localhost/gambas/trunk@2830 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-26 18:23:44 +00:00
Fabien Bodard
23433c4fe0 [GB.REPORT]
* BUG: Some corrections in the Label sizing
* BUG: Better management in picture size management... but still a problem on
  size when it is contained by a container with autoresize checked
* NEW: Buttons to autoresize and reinit the preview zoom



git-svn-id: svn://localhost/gambas/trunk@2829 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-26 16:41:57 +00:00
Fabien Bodard
8aff5e23a7 [GB.REPORT]
* BUG: Littles things


git-svn-id: svn://localhost/gambas/trunk@2825 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 17:01:31 +00:00
Fabien Bodard
54d231f0de [GB.REPORT]
* NEW: When the report is set at startup class a 
  a viewer is shown to display it.
* BUG: Now ReportImage take his size into account
* BUG: ReportLabel.Padding use the correct value 
  for painting
* NEW: if the device change of size, the layout is
  forced


git-svn-id: svn://localhost/gambas/trunk@2824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-25 16:55:55 +00:00
Benoît Minisini
9bd1adcf36 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the management of little arrangement icons in the form editor.


git-svn-id: svn://localhost/gambas/trunk@2810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-19 12:13:20 +00:00
Benoît Minisini
002d3bdb65 [GB.FORM]
* BUG: FileChooser.Reload() method should work as expected.


git-svn-id: svn://localhost/gambas/trunk@2809 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-19 02:15:45 +00:00
Benoît Minisini
67cdcabaf1 [DEVELOPMENT ENVIRONMENT]
* OPT: Refresh the property sheet only for the active form.

[GB.REPORT]
* BUG: The result of Paint.ClipExtents does not need to be scaled anymore.

[GB.QT4]
* BUG: Correctly apply the transformation matrix to Paint.PathExtens and
  Paint.ClipExtents.


git-svn-id: svn://localhost/gambas/trunk@2805 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-17 09:06:16 +00:00
Fabien Bodard
dd9faf0dc9 [GB.REPORT]
* OPT: some internal improvement on bad global variable using.


git-svn-id: svn://localhost/gambas/trunk@2802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-15 22:13:39 +00:00
Benoît Minisini
4551a94a74 [GB.REPORT]
* BUG: ReportBorder string syntax is simplified so that it matches the IDE 
  syntax. The "Solid" and "None" keyword do not have to be specified 
  anymore.

git-svn-id: svn://localhost/gambas/trunk@2798 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-15 00:21:17 +00:00
Fabien Bodard
83e105d8f8 [GB.REPORT]
* NEW: A new control Report.panel with the possibility to choose the arrangement
  mode (Vertical, horizontal, Fill)
* BUG: The image size is correctly registered at the image setting.

This line, and those below, will be ignored--

M    comp/src/gb.report/.project
M    comp/src/gb.report/.src/ReportImage.class
M    comp/src/gb.report/.src/ReportContainer.class
A    comp/src/gb.report/.src/Arrange.class
A    comp/src/gb.report/.src/ReportPanel.class
M    comp/src/gb.report/.src/ReportHBox.class
M    comp/src/gb.report/.src/Tests/FExample.class
M    comp/src/gb.report/.src/ReportVBox.class
M    comp/src/gb.report/.info
M    comp/src/gb.report/.list


git-svn-id: svn://localhost/gambas/trunk@2796 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-14 16:52:07 +00:00
Benoît Minisini
8f6bfa322d [DEVELOPMENT ENVIRONMENT]
* BUG: Virtual controls coordinates are correctly stored in *.form files 
  again.
* BUG: Manage the "%" unit of Report coordinates.
* BUG: Don't try to replace underscores in project names when creating 
  *.deb packages. It does not work, and apparently dpkg-buildpackage has no 
  problem with them.

[GB.GTK]
* NEW: Try to make the Paint class usabled during the Begin event.
* BUG: The Printer control can be used on all form families.

[GB.NET.CURL]
* OPT: Curl.Peek() now avoids a useless data copy.
* NEW: FtpClient.Debug and HttpClient.Debug are new properties that makes 
  the curl library verbose or not when the client is in used.
* NEW: FtpCLient.Exec() allows to run specific FTP commands.

[GB.QT4]
* NEW: Try to make the Paint class usabled during the Begin event.
* BUG: TrayIcons cannot be released twice anymore, which prevents a crash.
* BUG: The Printer control can be used on all form families.


git-svn-id: svn://localhost/gambas/trunk@2795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-13 18:27:51 +00:00
Fabien Bodard
6ab5b41046 [GB.REPORT]
* OPT: some littles corrections


git-svn-id: svn://localhost/gambas/trunk@2794 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-13 18:23:03 +00:00
Fabien Bodard
5a17a10a25 [GB.REPORT]
* BUG: Now the resolution is more correctly used for printing
  but all is not perfect yet.. there is some problem for the font size


git-svn-id: svn://localhost/gambas/trunk@2792 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-13 14:14:20 +00:00
Benoît Minisini
831d6e8e7d [GB.REPORT]
* NEW: Centralize the management of units inside the TSizeParse class, in a 
  more object-oriented way.


git-svn-id: svn://localhost/gambas/trunk@2787 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-11 00:02:00 +00:00
Benoît Minisini
8c53bab42d [CONFIGURATION]
* NEW: Try 'libtoolize --nonrecursive' in the 'reconf' script.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix the orthograph of the "License" word in english and french.

[GB.FORM]
* BUG: Define the _MultiContainer property of ToolPanel and Wizard.

[GB.GTK]
* BUG: ComboBox cannot raise its click event recursively anymore.

[GB.QT]
* BUG: ComboBox cannot raise its click event recursively anymore.


git-svn-id: svn://localhost/gambas/trunk@2786 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-10 21:51:36 +00:00
Benoît Minisini
6fdfa6d845 [DEVELOPMENT ENVIRONMENT]
* NEW: The property sheet row height takes the font size into account.
* BUG: Prevent an infinite recursion in icon selector.

[GB.CORBA]
* NEW: The component has been removed as it is apparently unused and 
  unmaintained.

[GB.GTK]
* BUG: Setting the Combo.Text property now raises the Click event.

[GB.QT4]
* BUG: Setting the Combo.Text property now raises the Click event.
* BUG: Setting the DrawingArea.Border property does not make it lose its
  static contents flag anymore.
* NEW: DrawingArea.Refresh now raises the Draw event when the 
  DrawingArea.Cached property is set. It allows to keep the drawing 
  routine at the same place for both cached and uncached cases.
* BUG: Hiding and showing again a cached DrawingArea works correctly again.

[GB.REPORT]
* BUG: Hide the ReportFrame from the control list.


git-svn-id: svn://localhost/gambas/trunk@2771 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-08 02:37:53 +00:00
Fabien Bodard
60a6595775 [GB.REPORT]
* BUG: Correction on the unit test


git-svn-id: svn://localhost/gambas/trunk@2767 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 20:32:48 +00:00
Benoît Minisini
98ad2ba515 [DEVELOPMENT ENVIRONMENT]
* NEW: Properties wose kind is ReportBorder are now managed.
* NEW: Border and Padding are taken into account when drawing Report forms.

[INTERPRETER]
* BUG: Thousand separators are taken into account when trying to convert a 
  string to an integer.
* BUG: String[].Exist() now correctly returns a boolean.

[GB.DRAW]
* NEW: Paint.Device and Draw.Device now return NULL if nothing is 
  currently drawn.

[GB.REPORT]
* NEW: Change the syntax of ReportBorder.ToString() and ReportBorder[].

[GB.QT4]
* BUG: Dialog.SelectColor() does not quit the event loop unexpectedly 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@2760 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-07 01:38:15 +00:00
Benoît Minisini
4d8107e567 [DEVELOPMENT ENVIRONMENT]
* NEW: Draw ReportImage controls.
* NEW: Handle new property kinds: ReportCoord, Image.

[INTERPRETER]
* BUG: Fix some misuse of signed char.

[GB.REPORT]
* BUG: Fix declarations of properties.
* NEW: Use the new ReportCoord property kind.
* NEW: Some little changes in the ReportBorder class.


git-svn-id: svn://localhost/gambas/trunk@2755 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-06 03:17:47 +00:00
Fabien Bodard
af5170614a [GB.REPORT]
* NEW: Now the report size is based on the scaling too.
* NEW: Begin to implement the repeat function


git-svn-id: svn://localhost/gambas/trunk@2754 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-05 22:11:56 +00:00
Benoît Minisini
21704dfb84 [CONFIGURATION]
* BUG: gcc on CygWin does not support the -fvisibilty flag.

[GB.FORM]
* NEW: DateChooser.SetDateColor method has been removed.
* NEW: DateChooser.Colors is a new read-only property that returns a 
  virtual object for managing the date colors. This object acts like an 
  array that associate colors to dates, and has a Clear() method to remove
  all defined colors.

[GB.FORM.MDI]
* BUG: Sorting worskpace tabs does not change the current tab anymore.


git-svn-id: svn://localhost/gambas/trunk@2746 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-05 00:44:13 +00:00
Benoît Minisini
5bc6075e96 [DEVELOPMENT ENVIRONMENT]
* NEW: Use KDE 4.4 translation files to update translations.
* NEW: Keep project treeview item expanded when double-clicking on it.

[GB.DESKTOP]
* NEW: Use the current development version of xdg-utils scripts.

[GB.PDF]
* BUG: Make gb.pdf compile with poppler 0.5.

[GB.QT4]
* BUG: Don't translate the brush before raising the DrawingArea Draw event.



git-svn-id: svn://localhost/gambas/trunk@2745 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-04 01:52:16 +00:00
Fabien Bodard
265b085a69 [GB.REPORT]
* OPT: Some cleaning


git-svn-id: svn://localhost/gambas/trunk@2743 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-03 21:12:24 +00:00
Fabien Bodard
ecd461b312 [GB.REPORT]
* New: Now the border selection is activate. You can select witch border you want
  to draw. The border is drawed inside the control.


git-svn-id: svn://localhost/gambas/trunk@2742 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-03 19:22:20 +00:00
Fabien Bodard
eeaefba04a [GB.REPORT]
* OPT: Now the ignore property really work. 
  and i've changed the drawbefore ans drawafter system


git-svn-id: svn://localhost/gambas/trunk@2741 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-02 20:02:11 +00:00
Fabien Bodard
4c647ffb96 [GB.REPORT]
* OPT: Continu to improve the border class


git-svn-id: svn://localhost/gambas/trunk@2740 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-02 19:39:13 +00:00
Fabien Bodard
84eb81efc9 [GB.REPORT]
* NEW: Now the Border is managed via a class


git-svn-id: svn://localhost/gambas/trunk@2739 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-02 18:22:59 +00:00
Fabien Bodard
7dbcf9be78 [GB.REPORT]
* OPT: Continue to replace all Object data type by more 
  specialized classes type


git-svn-id: svn://localhost/gambas/trunk@2738 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-01 21:30:44 +00:00
Fabien Bodard
abdea6811e [GB.REPORT]
* NEW: A new property ignore that allow an object to be
  ignored by the arragement routine. Example in test1


git-svn-id: svn://localhost/gambas/trunk@2737 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-01 21:24:36 +00:00
Fabien Bodard
e625d4a786 [GB.REPORT]
* OPT: Some minors changes and bugs corrections 


git-svn-id: svn://localhost/gambas/trunk@2736 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-01 21:22:41 +00:00
Fabien Bodard
df93c77178 [GB.REPORT]
* OPT: Now the units are internally converted into centimeter only at the layout time.
* NEW: ReportLine.LineWidth property and ControlFrame BorderWidth property are now strings,
  so they can gave different units.


git-svn-id: svn://localhost/gambas/trunk@2735 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-01 18:09:01 +00:00
Benoît Minisini
0b8dd6b4c6 [DEVELOPMENT ENVIRONMENT]
* NEW: Translation import is done in a new tab in the translation dialog.
* NEW: It is now possible to import translation files recursively.


git-svn-id: svn://localhost/gambas/trunk@2732 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-03-01 02:08:14 +00:00
Fabien Bodard
ad8ed0628e [GB.REPORT]
* OPT: the size, orientation properties are removed, now the page size is defined by the painting device.


git-svn-id: svn://localhost/gambas/trunk@2727 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-28 20:03:01 +00:00
Benoît Minisini
fffee54d40 [DEVELOPMENT ENVIRONMENT]
* NEW: Start to handle "Image" control properties.

[GB.DEBUG]
* OPT: The debugging callback is called again and again, even if there is 
  nothing sent by the debugger. So sleeping a little prevent from eating 
  the CPU.

[GB.REPORT]
* BUG: Use Float instead of Integer for coordinates arguments.
* NEW: Replace ReportImage.Path by ReportImage.Image.
* NEW: Clip the controls inside a dedicated procedure.


git-svn-id: svn://localhost/gambas/trunk@2726 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-28 17:26:00 +00:00
Benoît Minisini
4d949ed626 [GB.REPORT]
* BUG: Fix the child control clipping routine.
* BUG: Take control frame width into account when clipping.
* OPT: Use TControl class instead of Object class when possible.

[GB.QT4]
* BUG: Automatic clipping of painted DrawingArea should work correctly now.


git-svn-id: svn://localhost/gambas/trunk@2725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-28 01:39:42 +00:00
Benoît Minisini
cd5bf4cc70 [INTERPRETER]
* OPT: The blocking state of streams is cached now, so that the fcntl() 
  system call is less used.

[GB.FORM]
* BUG: Stock icons work correctly again.

[GB.QT4]
* NEW: When drawing on a DrawingArea, Draw and Paint dimension properties 
  always return the size of the DrawingArea, even if it is cached.
* BUG: DrawingArea contents is not assume to be static anymore. Resizing 
  them always send a full repaint event.


git-svn-id: svn://localhost/gambas/trunk@2724 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-27 22:08:04 +00:00
Fabien Bodard
d181359d0a [GB.REPORT]
* NEW: Now the report objects are drawed only in the clipping part.


git-svn-id: svn://localhost/gambas/trunk@2723 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-27 18:40:35 +00:00
Fabien Bodard
9c14a503ed [GB.REPORT]
* NEW: Return of the ReportImage and ReportSvgImage classes
* BUG: The ReportFrame Parent Class can not be instanciate any more
* OPT: The Line Drawing function work at same as the ide one
* BUG: No use of the printer class and use the Paint.ResolutionX.
* OPT: The report.resoltion property is removed.
* NEW: A new Line class and reportborder is removed.



git-svn-id: svn://localhost/gambas/trunk@2720 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-25 22:04:59 +00:00
Benoît Minisini
dd82d9f874 [GB.REPORT]
* BUG: A little fix in properties declaration.


git-svn-id: svn://localhost/gambas/trunk@2719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-25 13:45:49 +00:00
Benoît Minisini
9d9deaa6f1 [DEVELOPMENT ENVIRONMENT]
* BUG: Setting control position or size from the property sheet works 
  correctly again.

[GB.QT4]
* BUG: Non transparent DrawingAreas work again. Drawing in an intermediate
  pixmap instead seems to be faster than drawing directly on the internal 
  qt double-buffer. Why? I should see no difference!


git-svn-id: svn://localhost/gambas/trunk@2718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-25 12:04:34 +00:00
Benoît Minisini
dc168bd119 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for form family specific drawing routines.

[GB.REPORT]
* NEW: Enhance the definition of ReportLabel hidden properties.
* NEW: Create a optionally exported Align class.
* NEW: Add properties definitions to the ReportLine class.

[GB.QT4]
* NEW: DrawingArea.Transparent is a new property to make it transparent.
* BUG: TabStrip should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-25 03:27:10 +00:00
Benoît Minisini
56cb9e876e [INTERPRETER]
* BUG: Allow a dynamic class to inherit a native static class without 
  crashing.

[GB.FORM]
* OPT: Try to do a little less file browsing when loading stock icons.


git-svn-id: svn://localhost/gambas/trunk@2716 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-24 23:47:46 +00:00
Fabien Bodard
f96f4798bc [GB.REPORT]
* BUG: now the property expand is a boolean


git-svn-id: svn://localhost/gambas/trunk@2714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-23 20:57:51 +00:00
Benoît Minisini
c644455a2e [DEVELOPMENT ENVIRONMENT]
* NEW: Working on report form support. Report forms now can be created and 
  edited. Symbol auto-completion is not implemented.
* NEW: The toolbox is updated according to the current edited form family.
* BUG: Menu are correctly saved again.
* NEW: Component help is implemented in the project property dialog.

[GB.GTK]
* BUG: Menu are containers.

[GB.GUI]
* BUG: The *.component file has been fixed.

[GB.REPORT]
* BUG: Control public constants are almost correctly defined now, and 
  inheritance is used.

[GB.QT4]
* BUG: Menu are containers.
* BUG: The text of hidden TabStrip tabs is not lost anymore.



git-svn-id: svn://localhost/gambas/trunk@2713 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-23 03:21:43 +00:00
Fabien Bodard
f96419b69a [GB.REPORT]
* OPT: Begin to add hidden properties for IDE integration



git-svn-id: svn://localhost/gambas/trunk@2711 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-22 07:40:46 +00:00
Benoît Minisini
92f9cd2940 [DEVELOPMENT ENVIRONMENT]
* NEW: Similar controls are now identified by the _Similar hidden property.
* NEW: The "Provides" tab has been removed from the project property 
  dialog, as everything is now defined by control hidden properties.

[GB.GTK]
* BUG: Fix control hidden properties.

[GB.FORM]
* NEW: Update the component to the new declaration scheme.

[GB.QT4]
* BUG: Fix control hidden properties.

[GB.QT4.EXT]
* NEW: Remove the Drawing class, and the Draw.Drawing() method.
* BUG: Fix control hidden properties.


git-svn-id: svn://localhost/gambas/trunk@2710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-22 02:33:47 +00:00
Benoît Minisini
9c39e31fb5 [DEVELOPMENT ENVIRONMENT]
* NEW: Support for report form continues. Controls declaration has moved 
  from *.component files to the following Control hidden properties: 
  _Family, _Group, _IsControl, _IsContainer, _IsMultiContainer, _IsVirtual, 
  _IsForm. And to the following Form hidden properties: _HiddenControls.
  The wiki control documentation will be updated soon.

[COMPILER]
* NEW: Do not print a warning for a missing self-referenced *.list file.
* NEW: The '-L' is a new command-line option to print the license. The '-h'
  now only prints help.

[INFORMER]
* BUG: Support for boolean public constants.

[GB.DB.FORM]
* NEW: Update control declarations to the new scheme.

[GB.FORM]
* NEW: Update control declarations to the new scheme.

[GB.GTK]
* NEW: Update control declarations to the new scheme.

[GB.QT4]
* NEW: Update control declarations to the new scheme.


git-svn-id: svn://localhost/gambas/trunk@2708 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-21 18:15:16 +00:00
Benoît Minisini
fb331bac8f [GB.GTK]
* NEW: UserControl.SetFocus() now automatically gives the focus to the 
  first child that can receive it.

[GB.QT4]
* NEW: UserControl.SetFocus() now automatically gives the focus to the 
  first child that can receive it.
* BUG: Reparenting a top-level window does not give it a minimal size 
  anymore.


git-svn-id: svn://localhost/gambas/trunk@2699 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-15 19:59:29 +00:00
Benoît Minisini
eba1d9c405 [DEVELOPMENT ENVIRONMENT]
* OPT: Cache the welcome Gambas SVG logo in an image for faster redrawing.
* NEW: Start defining new control hidden properties in all components: 
  _IsControl, _Group, _Family, _IsVirtual, _IsContainer, _IsMultiContainer.

[EXAMPLES]
* NEW: Use new Paint methods in the Painting example.

[INTERPRETER]
* BUG: Instr() and RInstr() correctly handle non-ASCII characters.

[GB.DRAW]
* NEW: Support for Paint.RichText and Paint.RichTextExtents.

[GB.GTK]
* BUG: Rich text relative font sizes are now correctly handled.
* NEW: Implement Paint.RichText and Paint.RichTextExtents.

[GB.QT4]
* NEW: Implement Paint.RichText and Paint.RichTextExtents.


git-svn-id: svn://localhost/gambas/trunk@2698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-14 01:16:27 +00:00
Fabien Bodard
1fb60a6413 [GB.REPORT]
* NEW: Some improvement on the example


git-svn-id: svn://localhost/gambas/trunk@2696 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-13 05:21:51 +00:00
Fabien Bodard
59d8e112e0 [GB.REPORT]
* BUG: CReportBrush is renammed to ReportBrush


git-svn-id: svn://localhost/gambas/trunk@2695 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-12 13:03:28 +00:00
Fabien Bodard
8804d44fca [GB.REPORT]
* NEW: Now all the filling properties are replaced with
  special function that return a CReportBrush class to the 
  Object Brush Property


git-svn-id: svn://localhost/gambas/trunk@2694 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-12 12:35:01 +00:00
Fabien Bodard
9b48791621 [GB.REPORT]
* NEW: The properties ForeColor, BackColor, FillColor are now not present
    They are replaced by Style, BorderColor, Border, Color, gradient, Image.
 * NEW: a new widget named ReportLIne


git-svn-id: svn://localhost/gambas/trunk@2693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-11 19:27:10 +00:00
Fabien Bodard
3e2384d52a [GB.REPORT]
* BUG: accelerate drawing


git-svn-id: svn://localhost/gambas/trunk@2692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-11 13:44:15 +00:00
Fabien Bodard
823dd35bc8 [GB.REPORT]
* BUG: do not use the wrong textextend information for the text
  measure. 


git-svn-id: svn://localhost/gambas/trunk@2691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 15:01:24 +00:00
Fabien Bodard
03ad4fd2bc [GB.REPORT]
* NEW: the paint class is used everywhere, and the zoom property is renamed
  Scale and use the paint.scale function.


git-svn-id: svn://localhost/gambas/trunk@2690 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 14:47:31 +00:00
Benoît Minisini
6bfa9b5fe2 [CONFIGURATION]
* NEW: Remove the gb.qt and gb.qt.kde components.

[DEVELOPMENT ENVIRONMENT]
* NEW: Work on report form support continues.
* BUG: Do not crash if there is a compilation error and the IDE cannot open 
  the source file.

[GB.DB]
* NEW: The Find() and Edit() methods of the Connection class now works 
  correctly if the ORDER BY clause is used alone in the request argument.

[GB.QT]
* NEW: This component has been removed.

[GB.QT.EXT]
* NEW: This component has been removed.

[GB.QT.OPENGL]
* NEW: This component has been removed.

[GB.QT.KDE]
* NEW: This component has been removed.

[GB.QT.KDE.HTML]
* NEW: This component has been removed.


git-svn-id: svn://localhost/gambas/trunk@2683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 01:58:50 +00:00
Benoît Minisini
a759a7817d [DEVELOPMENT ENVIRONMENT]
* NEW: Start working on report form support.
* BUG: Correctly refresh the hierarchy window when a form is reloaded.

[GB.IMAGE]
* BUG: The Color[].Saturation property now works correctly.

[GB.FORM.MDI]
* BUG: Fix the layout of toolbar without handle.


git-svn-id: svn://localhost/gambas/trunk@2673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-08 15:59:30 +00:00
Benoît Minisini
f306c0a5fb [DEVELOPMENT ENVIRONMENT]
* NEW: Sort project tree view with natural sort.
* NEW: Sort procedure combo-box with natural sort.

[GB.DB.FORM]
* BUG: Setting a "SELECT" request to the DataSource.Table property should 
  work in all cases now.

[GB.FORM.MDI]
* NEW: Vertical toolbar layout is more clever.

[GB.GTK]
* BUG: Modal windows are really modal.
* BUG: Try to prevent a possible crash in event management.

[GB.GTK.EXT]
* NEW: This component has been removed.


git-svn-id: svn://localhost/gambas/trunk@2669 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-07 23:10:41 +00:00
Benoît Minisini
49ad535836 [GB.GTK]
* BUG: Popup menus now grab events correctly.

[INTERPRETER]
* BUG: Clean up usage help messages for gbx3 and gbr3.

[GB.FORM]
* NEW: FileView now sorts files by using natural sort.


git-svn-id: svn://localhost/gambas/trunk@2658 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-03 02:30:37 +00:00
Benoît Minisini
fd13cc710e [COMPILER]
* NEW: Be more clever when detecting hexdecimal or binary numbers.

[GB.EVAL]
* NEW: Be more clever when detecting hexdecimal or binary numbers.

[GB.FORM]
* BUG: In DateChooser, switching to February works now, when there is 28 
  days in February and the current day is greater or equal than 29.


git-svn-id: svn://localhost/gambas/trunk@2651 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-31 20:32:12 +00:00
Benoît Minisini
0665d5f720 [CONFIGURATION]
* BUG: Configuration summary should be printed correctly again.
* NEW: README file was updated.

[INTERPRETER]
* BUG: The Error information should not be lost anymore during error 
  propagation through constructors.
* NEW: Natural comparison is now always language-aware.

[GB.QT4]
* BUG: TextArea selection methods work correctly now.
* BUG: TreeView.Count and ColumnView.Count now return the number of items 
  in the view like in gb.gtk, not just the number of root items.


git-svn-id: svn://localhost/gambas/trunk@2643 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-27 03:28:06 +00:00
Benoît Minisini
6f2a3f43a5 [INTERPRETER]
* NEW: gb.Text has been deprecated, and a warning is printed each time it 
  is used now. Use gb.IgnoreCase instead.
* NEW: Natural string comparison and sorting were implemented. Use the 
  gb.Natural constant for that.


git-svn-id: svn://localhost/gambas/trunk@2640 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-25 17:53:58 +00:00
Benoît Minisini
24b651b14f [DEVELOPMENT ENVIRONMENT]
* NEW: Creating and removing records is now possible in the database 
  table editor.
* BUG: Procedures whose name is enclosed between braces are now displayed 
  correctly in the editor procedure combo-box.
* BUG: Backup files are not taken into account anymore where generating
  unique names for new files.

[GB.DB.FORM]
* NEW: DataView.Editable is a new property to define if a DataView is 
  editable.
* NEW: DataBrowser.Editable is a new property to define if a DataBrowser is 
  editable.

[GB.FORM]
* NEW: Less padding in Balloons.
* NEW: ButtonBox has a new Border property.

[GB.QT4]
* NEW: TextArea.ToPos(), TextArea.ToLine() and TextArea.ToColumn() methods 
  were implemented.
* OPT: TextArea is now based on the QPlainTextEdit widget.
* BUG: Do not let GridView raise too many Scroll events.


git-svn-id: svn://localhost/gambas/trunk@2638 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-25 12:10:58 +00:00
Peter Landgren
983da1e59d [GB.FORM.DIALOG]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2636 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 16:25:31 +00:00
Peter Landgren
ae99ef9732 [GB.DB.FORM]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2635 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 16:24:12 +00:00
Peter Landgren
c58d8b1c13 [GB.FORM]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2634 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 16:17:58 +00:00
Peter Landgren
22b2627a33 [GB.FORM.MDI]
* NEW: Swedish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2633 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 16:14:31 +00:00
Benoît Minisini
6abb6b9690 [GB.DB.FORM]
* BUG: Clicking on a void DataView does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2630 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 15:03:44 +00:00
Benoît Minisini
8c8859b165 [CONFIGURATION]
* BUG: Fix the compilation and installation order of sub-directories.

[INTERPRETER]
* BUG: Never display newlines inside error message, the debugger does not 
  like them.

[GB.FORM]
* BUG: Right and bottom SidePanels now shrink as expected when their parent 
  container has no arrangement.

[GB.GTK]
* BUG: When a modal window is running, only it can be closing from the 
  window manager close button.


git-svn-id: svn://localhost/gambas/trunk@2629 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-24 14:23:51 +00:00
Benoît Minisini
a1635a40a5 [GB.DB.MYSQL]
* NEW: Search include and library files in /opt/local for Mac OS X.

[GB.OPENGL]
* NEW: Search include and library files in /opt/local for Mac OS X. But it 
  does not compile yet.

[GB.QT4]
* NEW: Make the component compile on Mac OS X with the qt4-mac port. The
  Embedder and TrayIcon classes now do nothing.
* BUG: The compilation now uses the C++ flags, not the C flags anymore!



git-svn-id: svn://localhost/gambas/trunk@2622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-21 16:46:21 +00:00
Benoît Minisini
927a153b22 [DEVELOPMENT ENVIRONMENT]
* BUG: Always correctly round control coordinates in the form editor when 
  the form Scaled property is set.

[GB.FORM]
* BUG: Clicking inside the FontChooser style ListBox now always works 
  correctly.

[GB.GTK]
* BUG: Setting the Control.Tracking property should work correctly in all 
  cases now.
* BUG: Prevent a crash when creating an Image or a Picture with incorrect
  constructor arguments.

[GB.IMAGE.EFFECT]
* BUG: Use accurate compilation flags.

[GB.NET]
* BUG: Clear the CR / NL input conversion flags when initializing a serial 
  port.

[GB.QT4]
* BUG: Setting MovieBox Path property to NULL does not fail anymore.
* BUG: Do not try to reparent a window in its Show() method when it is 
  already visible.


git-svn-id: svn://localhost/gambas/trunk@2618 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-20 00:52:50 +00:00
Benoît Minisini
18882cf487 [DEVELOPMENT ENVIRONMENT]
* NEW: JavaScript files with "*.js" extension are highlighted.

[GB.EVAL.HIGHLIGHT]
* NEW: JavaScript highlighting routine.

[GB.QT4.EXT]
* BUG: Editor now correctly handles highlighting of help comments spanning 
  on multiple lines.
* NEW: Editor highlights only the matching bracket or parenthesis, not the 
  current one anymore.


git-svn-id: svn://localhost/gambas/trunk@2608 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-11 21:14:40 +00:00
Benoît Minisini
0421ced0fe [EXAMPLES]
* NEW: The ImageViewer example now uses the Paint class.

[INTERPRETER]
* NEW: Class.Symbols now returns a string array of all class public 
  symbols.
* NEW: Component.IsLoaded is a new static method to check if a specific 
  component has been loaded.
* NEW: Components.Load has been removed.

[GB.GTK]
* NEW: Cairo requirements have been added to the configure.ac file.
* NEW: The Container.Children.Clear method has been implemented.

[GB.GUI]
* NEW: Add gb.image requirement in the gb.gui component file.

[GB.QT4]
* BUG: DrawingArea scrollbars are correctly displayed again.
* BUG: DrawingArea internal cache is correctly resized with the control.


git-svn-id: svn://localhost/gambas/trunk@2606 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-10 23:00:31 +00:00
Fabien Bodard
09916d0a4b [GB.REPORT]
* NEW: Begin to convert gb.report to use the paint class


git-svn-id: svn://localhost/gambas/trunk@2603 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-08 20:37:00 +00:00
David Villalobos Cambronero
426dfa33d1 [GB.FORM]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2602 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-04 14:32:55 +00:00
Benoît Minisini
4650ed69c3 [DEVELOPMENT ENVIRONMENT]
* BUG: Better support for controls having a "_DrawWith" property.
* BUG: Do not translate the name of menu properties in the menu editor.
* NEW: A new menu entry for putting the entire project under version 
  control if the project parent directory is already under version control.

[EXAMPLE]
* NEW: The text extend in the Painting example now use a temporary path to
  display the text extents accurately.

[WIKI CGI SCRIPT]
* NEW: A new syntax to make images floating to the left or to the right.

[GB.DB.FORM]
* BUG: DataView can be created outside of a DataSource without crashing.

[GB.GTK]
* NEW: Use better rsvglib APIs in SvgImage.

[GB.NET]
* NEW: UpdSocket has now a Timeout property.

[GB.QT4]
* BUG: DrawingArea and other containers are drawn correctly again when 
  they have a border.


git-svn-id: svn://localhost/gambas/trunk@2595 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-03 17:09:57 +00:00
Fabien Bodard
5a319b4eb5 [GB.GTK]
* NEW: implement Paint.TextExtents

[GB.QT4]
* NEW: implement Paint.TextExtents



git-svn-id: svn://localhost/gambas/trunk@2585 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 22:19:11 +00:00
Benoît Minisini
dab9c93bbe [WIKI CGI SCRIPT]
* BUG: Fix a HTML markup mistake.

[GB.GTK]
* BUG: The Printer.Page property starts from 1 and not 0 anymore.

[GB.GUI]
* BUG: Add Printer control to the *.component file.

[GB.QT4]
* BUG: The Printer.Page property starts from 1 and not 0 anymore.
* BUG: Add Printer control to the *.component file.


git-svn-id: svn://localhost/gambas/trunk@2580 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 11:54:16 +00:00
Benoît Minisini
32d0b2e12c [GB.GTK]
* NEW: Printer implementation was completed.

[GB.FORM]
* NEW: Some control icons were updated.

[GB.QT4]
* NEW: Printer class implementation.

[GB.QT4.EXT]
* NEw: The Printer class was removed.


git-svn-id: svn://localhost/gambas/trunk@2579 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 02:12:35 +00:00
Benoît Minisini
e5107e258e [EXAMPLES]
* NEW: Add a module that includes a function that generates all example
  source text files directly from the Gambas source file in the Painting
  example.
* NEw: Some fixes in the source code of the Painting example.

[GB.GTK]
* BUG: Paint.Text() now aligns the text to the base line when no bounding
  rectangle is specified.

[GB.QT4]
* BUG: Paint.Text() now aligns the text to the base line when no bounding
  rectangle is specified.


git-svn-id: svn://localhost/gambas/trunk@2569 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 21:55:35 +00:00
Laurent Carlier
9c40bbac3f [CONFIGURATION]
* BUG: Add --install glag to autoreconf, that fix creation of config files,
  also add build-dist script to create a lighter tar.bz2 archive of the
  repository.



git-svn-id: svn://localhost/gambas/trunk@2519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-26 21:30:35 +00:00
Fabien Bodard
3bc2b33d1b [GB.CHART]
* BUG: Replace the obsolete BackColor ans ForeColor by BackGround ans ForeGround


git-svn-id: svn://localhost/gambas/trunk@2502 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-23 18:41:44 +00:00
Benoît Minisini
f4139e1c7b [DEVELOPMENT ENVIRONMENT]
* NEW: Display help on local variables in automatic completion.
* NEW: Enhance the help wiki syntax. Links in uppercase are supposed to be 
  language keywords. And lines beginning with "+" are titles.

[WIKI CGI SCRIPT]
* NEW: Online help pages now stay in the cache during one week.

[EXAMPLES]
* BUG: The HighlightEditor example now uses Qt4.

[GB.EVAL]
* BUG: Help comments are correctly highlighted in all cases now.

[GB.FORM]
* BUG: Balloons are drawn correctly again.

[GB.QT4.EXT]
* BUG: Many bug fixes in Editor rendering.


git-svn-id: svn://localhost/gambas/trunk@2495 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-15 00:06:54 +00:00
Benoît Minisini
fb73954f71 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the signature of project symbols in the popup help.

[GB.WEB]
* BUG: Remove the Response.Cache property. HTTP caching headers are more 
  complex than I thought first.

[GB.QT4]
* BUG: Background and Foreground colors should now be handled correctly in 
  all controls.

[GB.QT4.EXT]
* BUG: The background color of the Editor control has been fixed, but it 
  has the same problem as the TextBox control one: the frame is not drawn 
  differently from the inside.


git-svn-id: svn://localhost/gambas/trunk@2492 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-13 15:17:03 +00:00
Benoît Minisini
23db05d0f2 [DEVELOPMENT ENVIRONMENT]
* BUG: Some fixes in help on project symbols.
* BUG: F2 (Find definition) now uses the help browser to display help on 
  classes and symbols.
* NEW: A new button in the help browser to modify the current 
  documentation page, by opening an external web browser for that.

[GB.EVAL]
* NEW: System.Datatypes is a new property that return a list of all native 
  datatypes.

[GB.WEB]
* NEW: Start implementing some HTTP cache management in the Response class.


git-svn-id: svn://localhost/gambas/trunk@2483 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-12 02:58:12 +00:00
Benoît Minisini
20bfee43f4 [DEVELOPMENT ENVIRONMENT]
* OPT: Use a TextLabel to represent a WebView in the form editor.
* BUG: Fix help browser zoom.

[WIKI CGI SCRIPT]
* NEW: A new Url option (nocache) to prevent HTML caching.
* NEW: gb.qt4 documentation is automatically redirected to the old gb.qt 
  one. And the gb.gtk and gb.gui documentation are redirected to gb.qt4, 
  then gb.qt. Links are correctly converted too.

[GB.DB.FORM]
* BUG: The Color.Mix method has been renamed as Color.Merge. Fix that.

[GB.QT4.WEBKIT]
* NEW: NewFrame is a new event raised by the WebView control when it 
  creates a new frame.
* BUG: The Click event now works, and has one argument that indicates which 
  frame changes its URL.


git-svn-id: svn://localhost/gambas/trunk@2479 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 17:45:23 +00:00
Fabien Bodard
e60cca87f9 [GB.FORM]
* BUG: Now some of the mouse events are fired 
  (down, up, drag, wheel)


git-svn-id: svn://localhost/gambas/trunk@2475 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-11 10:26:02 +00:00
Benoît Minisini
68741c58a9 [GB.WEB]
* BUG: Manage Response.Begin and Response.End recursively when the reponse 
  is buffered.


git-svn-id: svn://localhost/gambas/trunk@2474 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-10 15:38:01 +00:00
Benoît Minisini
4f3f7a6291 [DEVELOPMENT ENVIRONMENT]
* BUG: The signature popup does not steal the focus anymore.
* BUG: The table chooser dialog has been fixed.
* BUG: The ".connection" directory is now put under version control when 
  created.

[GB.DB.FORM]
* BUG: Clicking on the first row of a DataView in creation state now works 
  correctly.
* BUG: Serial fields are now correctly managed by DataControl controls.


git-svn-id: svn://localhost/gambas/trunk@2469 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-09 23:48:55 +00:00
Benoît Minisini
76275850fb [DEVELOPMENT ENVIRONMENT]
* NEW: The IDE now uses the WebKit component to display an online help 
  directly into the automatic completion popup. The online help management
  is quick and dirty at the moment.
* NEW: The option dialog is being redesigned. Not finished yet...
* NEW: Some cosmetic changes in the user control that displays the 
  information about a project. Not perfect yet.

[WIKI CGI SCRIPT]
* NEW: The wiki now sends the "Last-Modified", "Expires" and 
  "Cache-Control: max-age" headers with the HTML pages.
* NEW: Adding "?help" to an URL returns the page for the IDE online help.

[INTERPRETER]
* BUG: Try to stop breaking strict aliasing rules. This way the interpreter 
  should behave better on ARM architecture.
* BUG: Remove a possible crash when calling a constructor.

[GB.DRAW]
* NEW: The deprecated properties Draw.ForeColor and Draw.BackColor have 
  been removed.

[GB.NET]
* BUG: Do not watch the SerialPort file descriptor for reading if there is 
  no Read event handler.

[GB.QT4.WEBKIT]
* NEW: WebSettings.Cache.Path is a new property to define the directory 
  used for storing the disk cache contents. If this property is not 
  defined, no cache will be used.
* NEW: WebView.Cached is a new property to tell if the web browser will use
  the disk cache. The WebSettings.Cache.Path *must* be defined before 
  setting that property.
* NEW: WebView.HTML is not read-only anymore.


git-svn-id: svn://localhost/gambas/trunk@2460 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-07 17:14:32 +00:00
Benoît Minisini
afe086185e [DEVELOPMENT ENVIRONMENT]
* NEW: Take the new organization of constructor arguments into account.

[INTERPRETER]
* NEW: Change the way arguments are consumed by inherited constructors 
  again. Now mandatory and optional arguments are consumed separately.
  Mandatory arguments of all constructors are consumed first, and then
  optional arguments if possible.

[GB.FORM]
* NEW: Take the new organization of constructor arguments into account.


git-svn-id: svn://localhost/gambas/trunk@2453 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-01 04:06:21 +00:00
Benoît Minisini
056094e27e [DEVELOPMENT ENVIRONMENT]
* BUG: Revert constructor arguments where it is needed.

[WIKI CGI SCRIPT]
* NEW: Display the CC-BY-SA logo on all pages.

[GB.FORM]
* BUG: Revert constructor arguments where it is needed.

[GB.GTK]
* NEW: SpinBox.Border is a new boolean property to remove the frame around 
  SpinBox.

[GB.QT4]
* NEW: SpinBox.Border is a new boolean property to remove the frame around 
  SpinBox. Beware that most of Qt4 style do not implement them!


git-svn-id: svn://localhost/gambas/trunk@2449 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 04:30:37 +00:00
Benoît Minisini
ab390c3410 [DEVELOPMENT ENVIRONMENT]
* BUG: Running a request now supports non-SELECT requests.
* BUG: Workaround for the DB.Quote() function that does not support 
  PostgreSQL schemas.

[GB.DB.FORM]
* BUG: The DataSource request is now really case unsensitive.
* NEW: Writing DataSource.Table property now raises an error when the 
  request fails.

[GB.DB.POSTGRESQL]
* NEW: Support for PostgreSQL schemas.


git-svn-id: svn://localhost/gambas/trunk@2438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-25 02:38:13 +00:00
Benoît Minisini
77acecbca7 [DEVELOPMENT ENVIRONMENT]
* BUG: The make executable dialog options are correctly refreshed depending 
  on whether the project is a component or not.
* BUG: Removing a source file removes correctly the translation file from 
  version control too now.

[EXAMPLES]
* BUG: The hour hand follows the minutes now in the Clock example.

[INTERPRETER]
* BUG: The thousand separator is only printed between digits now.

[GB.QT4]
* BUG: Fix the definition of TabStrip properties.

[GB.GTK]
* BUG: Fix the definition of TabStrip properties.


git-svn-id: svn://localhost/gambas/trunk@2420 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-15 13:53:37 +00:00
Fabien Bodard
e922f76f32 [GB.CHART]
* BUG: Now the gb.chart is structured as a gambas3 source.
 It does not make gbi3 crash anymore, neither IDE


git-svn-id: svn://localhost/gambas/trunk@2417 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-13 21:22:12 +00:00
Fabien Bodard
1c58eac6af [GB.REPORT]
* BUG: Now the gb.report is structured as a gambas3 source.
 It does not make gbi3 crash anymore, neither IDE


git-svn-id: svn://localhost/gambas/trunk@2416 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-13 15:16:44 +00:00
Benoît Minisini
21090a933b [DEVELOPMENT ENVIRONMENT]
* NEW: Add support for Ukrainian language.

[GB.FORM]
* NEW: The ColorChooser has a new toggle button to enable the grid when 
  selecting a color. The SHIFT key has the same effect.


git-svn-id: svn://localhost/gambas/trunk@2404 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-01 14:20:58 +00:00
David Villalobos Cambronero
4cd6305871 [GB.MYSQL]
* NEW: Raise an error when the set is empty in the _Result.Create method.

git-svn-id: svn://localhost/gambas/trunk@2387 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-05 17:12:52 +00:00
David Villalobos Cambronero
342b4ce5c5 [GB.MYSQL]
* NEW: Added the _Result class to handle some resultsets.

git-svn-id: svn://localhost/gambas/trunk@2381 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-02 19:22:42 +00:00
Benoît Minisini
443f820d38 [DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion works again as before.
* BUG: Translation statistics are correctly refreshed if you open the 
  translation dialog twice.
* BUG: French translation of compiler error messages are back.
* NEW: Project files that are not handled by subversion are automatically 
  detected now, and a menu allows to add them manually.

[GB.FORM]
* BUG: DirView works again when displaying the file system root.

[GB.INFO]
* BUG: Fix the use of the old Open syntax.


git-svn-id: svn://localhost/gambas/trunk@2368 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-28 22:58:23 +00:00
Benoît Minisini
c17951fcd3 [DEVELOPMENT ENVIRONMENT]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[INTERPRETER]
* BUG: The &/ operator keeps only one slash if both the last character of 
  the left string and the first character of the right string is a slash.
* NEW: 'Begins' is a new string operator that checks if the beginning of a 
  string is equal to another string.
* NEW: 'Ends' is a new string operator that checks if the end of a string 
  is equal to another string.
* BUG: Errors raised by Eval() are correctly displayed again.
* NEW: The 'Like' operator has a new pattern: '{x,y,...}' tests if a 
  string matches one of the strings between square brackets, each one being
  separated by a comma.

[GB.DB.FORM]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.DESKTOP]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.GTK]
* BUG: Modal windows do not block mouse, keyboard, enter and leave events 
  anymore.

[GB.FORM]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.FORM.MDI]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.

[GB.WEB]
* BUG: Use the new Begins and Ends operators instead of Like where it was 
  necessary or faster.


git-svn-id: svn://localhost/gambas/trunk@2365 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-27 09:28:52 +00:00
David Villalobos Cambronero
630dc8fd68 [GB.MYSQL]
* NEW: Added the Add sub to the _Event class.
* NEW: Added the Modify sub to the _Event class.
* NEW: Added the Delete sub to the _Event class.
* NEW: Try to optimize some lines.

git-svn-id: svn://localhost/gambas/trunk@2352 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-24 21:11:41 +00:00
Benoît Minisini
26ab06c228 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new Read/Write syntax.

[INTERPRETER]
* NEW: New Read/Write syntax.
* NEW: IsVariant() returns if its argument is a Variant.

[COMPILER]
* NEW: New Read/Write syntax.
* NEW: Support for the old read syntax.

[WIKI CGI SCRIPT]
* NEW: Allow query arguments ("?v3" for example) inside wiki links.
* NEW: New look for the table of contents.
* BUG: Non-translated pages display again.

[GB.WEB]
* NEW: Use the new Read/Write syntax.


git-svn-id: svn://localhost/gambas/trunk@2344 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-20 17:32:12 +00:00
David Villalobos Cambronero
668cb89c57 [GB.MYSQL]
* NEW: Added the KillProcess to the MySQL class.

git-svn-id: svn://localhost/gambas/trunk@2343 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-18 19:41:57 +00:00
Benoît Minisini
429b36408e [CONFIGURATION]
* BUG: Forgot to recursively compile gb.image.imlib in the top-level 
  Makefile.am file.

[DEVELOPMENT ENVIRONMENT]
* NEW: All controls have a new "Public" property that tells the compiler 
  to declare this control public.
* NEW: Runtime and compilation errors are now display inside a balloon.
* BUG: Fix the use of old Gambas 2 Open syntax.

[WIKI CGI SCRIPT]
* NEW: New look. No blue anymore!
* NEW: All pages under the '/comp' path now can be switched between 2.0 and 
  3.0 version.
* BUG: Many fixes in links including the version number.
* NEW: An administration button to force a refresh of all pages the next 
  time they are requested.
* NEW: Alt+Shift+S is a shortcut for saving page on Firefox.
* NEW: Inherited symbols are now displayed before other symbols in a class 
  description.

[GB.GTK]
* BUG: Changing the value of the Sorted property in TreeView, ColumnView,
  ListView and ListBox does not crash anymore.

[GB.QT4]
* BUG: Do not use the menu focus hack when showing a window. The current 
  active control loses its focus otherwise.
* BUG: Enumerating Window.Controls works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2340 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-17 23:32:55 +00:00
Benoît Minisini
b73c99d385 [GB.GTK]
* NEW: Thanks to an hack based on a global event handler, disabled controls 
  now answer events like in gb.qt.


git-svn-id: svn://localhost/gambas/trunk@2333 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-12 23:42:11 +00:00
Benoît Minisini
2bdd0617d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Saving and renaming tables having indexes works in all cases now.
* BUG: The "..." button of the property sheet works again.
* BUG: The IDE title is correctly updated when the project version changes.

[GB.DB.FORM]
* BUG: The DataView control now is correctly refreshed when its underlying 
  connection is changed.

[GB.GTK]
* NEW: GridView.Data.WordWrap and GridView[].WordWrap are two new 
  properties that defines if the cell text must be automatically wrapped.
* NEW: The BackColor and ForeColor properties of GridView.Data and 
  GridView[] have been removed.

[GB.QT4]
* NEW: GridView.Data.WordWrap and GridView[].WordWrap are two new 
  properties that defines if the cell text must be automatically wrapped.
* NEW: The BackColor and ForeColor properties of GridView.Data and 
  GridView[] have been removed.


git-svn-id: svn://localhost/gambas/trunk@2331 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-11 23:56:56 +00:00
Benoît Minisini
11906ba89a [DEVELOPMENT ENVIRONMENT]
* NEW: Renaming a control now automatically renames the identifier in the 
  source code.

[INTERPRETER]
* NEW: Split() now takes a 5th optional argument that tells if escape 
  characters should be kept in the returned strings.
* NEW: CVariant() is a new function that converts its argument into a 
  Variant.

[COMPILER]
* NEW: CVariant() is a new function that converts its argument into a 
  Variant.

[GB.FORM]
* NEW: SidePanel, DirChooser, FileChooser and FileView Settings property
  now use the new Settings storage facilities and return a Variant[].

[GB.GTK]
* NEW: The Settings and Layout properties of HSplit and VSplit now return 
  an Integer[] instead of a String.
* BUG: The name property of newly created menus is correctly initialized
  now.

[GB.QT4]
* NEW: The Settings and Layout properties of HSplit and VSplit now return 
  an Integer[] instead of a String.

[GB.SETTINGS]
* NEW: The settings file format has changed. Now collections and arrays can
  be stored and retrieved.


git-svn-id: svn://localhost/gambas/trunk@2329 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-10 19:30:41 +00:00
Benoît Minisini
026c739f3d [DEVELOPMENT ENVIRONMENT]
* NEW: New control property type "Menu", for properties that receive a 
  popup menu name.
* NEW: New paste button with a menu in the code editor.

[GB.FORM]
* NEW: A new control, MenuButton, that is a ToolButton with a little arrow
  and a popup menu attached.

[GB.FORM.MDI]
* BUG: Some fixes in shortcut editing in the shortcut configuration dialog.
* BUG: The toolbar configuration works correctly again.

[GB.IMAGE.IMLIB]
* BUG: Image.Blur() and Image.Sharpen() now have the same signature as 
  their counterpart in gb.image.effect.
* BUG: Image.Draw() works correctly now.

[GB.QT4]
* BUG: Do not quit the application while a message box is displayed.
* BUG: Window.Center() works correctly now.
* BUG: Do not delay ScrollView contents layouting, otherwise it is done 
  when the widget is visible, which is not pretty.


git-svn-id: svn://localhost/gambas/trunk@2319 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-08 12:22:03 +00:00
Benoît Minisini
d189a2031f [GB.FORM]
* NEW: The ColorChooser control has a working color picker now.

[GB.GTK]
* NEW: Desktop.Grab() has been renamed as Desktop.Screenshot(). It now 
  takes four optional parameters to grab only a part of the screen.
* NEW: Control.Grab() has been renamed as Control.Screenshot().
* NEW: Control.Grab() is now a method that grab the keyboard, the mouse 
  pointer, and that runs an event loop until a mouse button is clicked, or
  the ESC key is pressed.

[GB.QT4]
* NEW: Desktop.Grab() has been renamed as Desktop.Screenshot(). It now 
  takes four optional parameters to grab only a part of the screen.
* NEW: Control.Grab() has been renamed as Control.Screenshot().
* NEW: Control.Grab() is now a method that grab the keyboard, the mouse 
  pointer, and that runs an event loop until a mouse button is clicked, or
  the ESC key is pressed.


git-svn-id: svn://localhost/gambas/trunk@2317 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-06 15:57:54 +00:00
Benoît Minisini
33b1d29dfa [DEVELOPMENT ENVIRONMENT]
* NEW: New procedure list popup in the code editor.
* BUG: Keep case of "Exclude" and "Requires" component properties.
* BUG: Images edited by an external program are correctly watched again.

[GB.IMAGE]
* NEW: Color is a now a true class that replaced the old ColorInfo class.
* NEW: Color class component properties are both readable and writable now.
* NEW: Color.Color is a property that returns the color value from the
  color components defined in the Color object.


git-svn-id: svn://localhost/gambas/trunk@2315 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-06 01:21:35 +00:00
Benoît Minisini
4aefbacb48 [DEVELOPMENT ENVIRONMENT]
* BUG: In the "Requires" tab of the project property dialog, requirements 
  are not incorrectly converted to lower case anymore.

[COMPILER]
* BUG: Fix symbol tables that sometimes didn't work correctly when storing 
  symbols having non-ASCII characters.

[GB.FORM]
* BUG: ButtonBox.Length property now returns the length of the ButtonBox 
  text. That fixes the crash in the ColorChooser control.
* BUG: Balloon corners are correctly drawn again.
* NEW: Some cosmetic changes in the ColorChooser control.

[GB.IMAGE.IMLIB]
* BUG: Images now always have an alpha channel.


git-svn-id: svn://localhost/gambas/trunk@2313 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-05 20:54:36 +00:00
Benoît Minisini
a893f16465 [DEVELOPMENT ENVIRONMENT]
* BUG: Pressing the Escape key should hide panels *and* give the focus back
  to the active file correctly.

[INTERPRETER]
* BUG: Fix an uninitialized value in the date formatting routine.

[GB.DB.FORM]
* NEW: DataSource now raises a Change event when its current record changes
  or is refreshed.

[GB.NET]
* BUG: Fix an uninitialized value in SerialPort class, when retrieving the 
  port signal status.


git-svn-id: svn://localhost/gambas/trunk@2307 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-02 23:17:05 +00:00
Benoît Minisini
ac548e8734 [CONFIGURATION]
* BUG: Compile files with maximum optimization correctly.

[DEVELOPMENT ENVIRONMENT]
* BUG: Remove The Form_Close event handler in the FHelp form. It did 
  stupid things indirectly.

[WIKI CGI SCRIPT]
* NEW: Enhancements to support 2.0 and 3.0 descriptions on the same page.

[GB.FORM]
* NEW: Enhance the ColorChooser control.

[GB.FORM.MDI]
* BUG: Fix the Toolbar layout algorithm.

[GB.IMAGE]
* BUG: Image.Colorize() works again.

[GB.IMAGE.EFFECT]
* NEW: This component includes image filtering and effect routines. This is 
  the old gb.image component from Gambas 2. Everything is not working 
  correctly at the moment.

[GB.QT4]
* NEW: Color.LightForeground returns the light foreground color used for
  drawing separators and plain panel borders.
* BUG: Prevent crashes coming from the fact that Qt deletes child widgets 
  before emiting the destroy signal on the parent.


git-svn-id: svn://localhost/gambas/trunk@2296 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-01 01:14:13 +00:00
Laurent Carlier
52c3d34315 [GB.FORM]
* BUG: Update to new gb.image API (replaced Maketransparent with Transparent)


git-svn-id: svn://localhost/gambas/trunk@2294 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-31 17:27:01 +00:00
Benoît Minisini
9b05d386e2 [DEVELOPMENT ENVIRONMENT]
* BUG: Ignore error messages from the debugger if one is currently 
  displayed.
* BUG: Browse examples is more reliable now.
* NEW: Fix the Image.Stretch() method that does not take three arguments
  anymore.

[GB.GTK]
* NEW: Image.Stretch() Smooth paramter has been removed. Stretching an 
  image is always smooth now.

[GB.FORM]
* NEW: Fix the Image.Stretch() method that does not take three arguments
  anymore.

[GB.IMAGE.IMLIB]
* NEW: Imlib image cache is disabled.
* NEW: Image.Rotate() returns a smoothly rotated image.
* NEW: Image.Stretch() returns a smoothly stretched image.
* NEW: Image.Blur() blurs an image.
* NEW: Image.Sharpen() sharpens an image.
* NEW: Image.Draw() blends an image into another one.

[GB.QT4]
* NEW: Image.Stretch() Smooth paramter has been removed. Stretching an 
  image is always smooth now.


git-svn-id: svn://localhost/gambas/trunk@2283 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-29 23:26:44 +00:00
Benoît Minisini
ccf2a2c99f [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new Separator property of ToolBar and SidePanel.

[GB.DB.FORM]
* NEW: DataView.Border is a new property to define if the border of the
  DataView is visible or not.

[GB.FORM]
* NEW: SidePanel.Separator is a new property that displays a separator 
  beside the panel when set to True.

[GB.FORM.MDI]
* NEW: ToolBar.Separator is a new property that displays a separator under 
  the toolbar when set to True.


git-svn-id: svn://localhost/gambas/trunk@2280 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-28 14:56:35 +00:00
David Villalobos Cambronero
4e5cfe3092 [GB.FORM.MDI]
* NEW: Spanish translation updated.

git-svn-id: svn://localhost/gambas/trunk@2279 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-26 15:04:23 +00:00
Benoît Minisini
8bb2091ab0 [CONFIGURATION]
* BUG: Fix the Makefile.am files of /main/lib sub-directories.

[DEVELOPMENT ENVIRONMENT]
* NEW: Now you can define the available control substitutions of your 
  component in the project property dialog.
* NEW: Now you can modify local variables, global variables and any field 
  in debugger windows while debugging.

[INTERPRETER]
* NEW: Support for local and global variable assignment.

[GB.DEBUG]
* NEW: The debugger can assign values to expressions, local and global 
  variables now.

[GB.EVAL]
* NEW: Support for local and global variable assignment.

[GB.FORM]
* NEW: TableView.NoKeyboard is a new property to disable the automatic 
  keyboard navigation.

(GB.QT4]
* NEW: Disable the Glib event loop.
* NEW: Do not automatically proceed events after a modal dialog is closed.


git-svn-id: svn://localhost/gambas/trunk@2265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 14:19:32 +00:00
Benoît Minisini
dad1cff347 [GB.QT4]
* NEW: Window without borders now ask to not be managed by the window 
  manager. Consequently, they are not activated when shown, and do not get 
  the focus.


git-svn-id: svn://localhost/gambas/trunk@2259 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-22 10:11:25 +00:00
Benoît Minisini
6efb184d9a [DEVELOPMENT ENVIRONMENT]
* NEW: Controls whose width (or height) is 1 will always be 1 pixel wide 
  (or high), regardless of the value of Desktop.Scale.
* NEW: Put the property sheet and the hierarchy tree inside the tabstrip.
* BUG: Replace Image.Flip() by Image.Mirror() in the welcome dialog.

[COMPILER]
* BUG: "Ambiguous braces" error message was incorrect, and has been 
  replaced by "Ambigous brackets".

[GB.IMAGE]
* NEW: Remove Image.Transform().

[GB.FORM.MDI]
* BUG: The default value of Workspace.ButtonPosition is Align.Right.

[GB.QT4]
* NEW: If the width (or height) argument of Control.MoveScaled() or 
  Control.ResizeScaled() is zero, then the effective width (or height) will 
  be 1 pixel.
* NEW: Do not activate windows whose type is ToolTip, Notification, 
  DragAndDrop or Desktop in the Show() method.
* BUG: Wait a little before activating windows, so that they do not stay in 
  the foreground.


git-svn-id: svn://localhost/gambas/trunk@2255 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 19:43:40 +00:00
Benoît Minisini
a5b5e01aa7 [DEVELOPMENT ENVIRONMENT]
* BUG: In the menu editor, shortcuts are now correctly saved in all cases.

[GB.FORM.MDI]
* NEW: Ctrl+PgUp and Ctrl+PgDown are two new shortcuts to move to the 
  previous or next tab in the Workspace control.


git-svn-id: svn://localhost/gambas/trunk@2246 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-18 09:10:49 +00:00
Benoît Minisini
dba4051fb0 [DEVELOPMENT ENVIRONMENT]
* NEW: Brakpoint tab has been redesigned.
* BUG: Unchecking the gb.db component in a project having Connection 
  objects does not crash anymore when refreshing the project tree.

[INTERPRETER]
* BUG: Setting a breakpoint on the startup class works again.

[GB.DEBUG]
* BUG: Setting a breakpoint on the startup class works again.

[GB.FORM]
* BUG: Fix the use of the new Image.Mirror() function.

[GB.IMAGE]
* NEW: Image.Transform() is a just a test. Do not use it.

[GB.QT4]
* BUG: When a debugger event has been received, do not manipulate the GUI 
  if the application object has not been created yet.


git-svn-id: svn://localhost/gambas/trunk@2244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 22:36:54 +00:00