Commit graph

308 commits

Author SHA1 Message Date
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
d3c4d6a926 [GB.QT4]
* BUG: Try to make gb.qt4 compile with Qt 4.5.


git-svn-id: svn://localhost/gambas/trunk@2709 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-21 22:33:05 +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
0b11a86f44 [GB.QT4]
* BUG: TabStrip layout does not crash Qt 4.6 anymore, and is better. 
  TabStrip.ClientW and TabStrip.ClientH are now accurate when the TabStrip 
  is not visible.


git-svn-id: svn://localhost/gambas/trunk@2707 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-21 03:20:06 +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
Benoît Minisini
e3d5ee67bf [GB.QT4]
* NEW: Replace the previously removed symbolic links by the real source 
  files.


git-svn-id: svn://localhost/gambas/trunk@2687 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 11:56:12 +00:00
Benoît Minisini
8f485bff85 [GB.QT4]
* NEW: Remove other symbolic links to old gb.qt sources.


git-svn-id: svn://localhost/gambas/trunk@2686 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 11:54:40 +00:00
Benoît Minisini
00e5e772d1 [GB.QT4.EXT]
* NEW: Replace the previously removed symbolic links by the real source 
  files.


git-svn-id: svn://localhost/gambas/trunk@2685 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 11:53:22 +00:00
Benoît Minisini
2dd57d78b4 [GB.QT4.EXT]
* NEW: Remove old symbolic links to gb.qt.


git-svn-id: svn://localhost/gambas/trunk@2684 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 11:51:21 +00:00
Benoît Minisini
cf295781d9 [GB.QT4]
* NEW: Replace the previous symbolic links by the real source files from 
  gb.qt.


git-svn-id: svn://localhost/gambas/trunk@2680 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 01:46:32 +00:00
Benoît Minisini
f90a9f2a4c [GB.QT4]
* NEW: Remove symbolic links to gb.qt in the Gambas part.


git-svn-id: svn://localhost/gambas/trunk@2679 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 01:45:41 +00:00
Benoît Minisini
13fc414ca0 [GB.QT4]
* NEW: Copy the share directory from gb.qt.


git-svn-id: svn://localhost/gambas/trunk@2676 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 01:12:56 +00:00
Benoît Minisini
f2b2430749 [GB.QT4]
* NEW: Remove the "share" directory symbolic link.


git-svn-id: svn://localhost/gambas/trunk@2675 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-10 01:09:40 +00:00
Laurent Carlier
0eecb8bf12 small code cleanup
git-svn-id: svn://localhost/gambas/trunk@2668 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-07 21:56:56 +00:00
Laurent Carlier
64cba9faf9 [GB.QT4.OPENGL]
* BUG: Clear GlArea when it's shown for the first time to avoid garbage displaying.


git-svn-id: svn://localhost/gambas/trunk@2667 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-07 21:55:19 +00:00
Benoît Minisini
0a95ff227f [GB.QT4]
* BUG: TabStrip are made visible at creation again.


git-svn-id: svn://localhost/gambas/trunk@2666 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-07 02:06:01 +00:00
Benoît Minisini
ff0804b8b1 [DEVELOPMENT ENVIRONMENT]
* NEW: Welcome dialog was redesigned.
* BUG: Do not use the main window to display an error message if it is not 
  opened.

[INTERPRETER]
* BUG: Fix command-line arguments parsing again.

[GB.QT4]
* BUG: Some text alignment flags were not correctly detected.
* BUG: Cached DrawingArea should work as expected again.


git-svn-id: svn://localhost/gambas/trunk@2662 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-04 16:00:01 +00:00
Benoît Minisini
34ece710f0 [DEVELOPMENT ENVIRONMENT]
* NEW: Apply color theme to project treeview, property sheet and form 
  hierarchy window.

[INTERPRETER]
* NEW: gbr3 and gbx3 now interpret their command line the same way.
* NEW: The -L option now prints the license, and the -h option only print
  the interpreter usage.

[GB.GTK]
* BUG: As the Y-axis is top-down, positive angles must be clockwise in theme
  Paint class implementation.

[GB.QT4]
* BUG: As the Y-axis is top-down, positive angles must be clockwise in theme
  Paint class implementation.


git-svn-id: svn://localhost/gambas/trunk@2653 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-02-01 12:17:38 +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
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
667a8eda24 [GB.QT4]
* BUG: Fix compilation on Mac OS X and Linux.


git-svn-id: svn://localhost/gambas/trunk@2624 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-22 01:25:24 +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
5c7f33a54b [GB.QT4]
* BUG: Do not use Xor composition mode if Qt version is not >= 4.5.0.


git-svn-id: svn://localhost/gambas/trunk@2611 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-13 21:27:11 +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
96d7b36b7d [GB.GTK]
* NEW: Paint.TextExtents has been correctly implemented.

[GB.QT4]
* NEW: Paint.TextExtents has been correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2607 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-11 00:51:35 +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
Benoît Minisini
61997e8921 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new mascot to draw project directory icon.

[EXAMPLES]
* NEW: Some little changes in the Painting example.

[INTERPRETER]
* NEW: The component GB_INIT function now returns an integer that gives an 
  unloading order. The higher the returned number, the later the component 
  is unloaded. If GB_INIT returns -1, then the component shared library 
  will not be unloaded.
* NEW: Update GB_INIT functions in all components.

[GB.DRAW]
* BUG: Paint.Image() optional translation arguments are not inverted 
  anymore.

[GB.QT4]
* BUG: If Paint.LineWidth is zero, then nothing is stroked, as in gb.gtk.
* BUG: TabStrip is now correctly arranged when it has only one tab.


git-svn-id: svn://localhost/gambas/trunk@2605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-10 13:40:48 +00:00
Benoît Minisini
a07a868dbd [WIKI CGI SCRIPT]
* BUG: Correctly deals with class reimplementation for Gambas3 component 
  help pages.

[GB.GTK]
* NEW: Printer.Run() has been replaced by thwo methods: Printer.Configure()
  to configure the printer, and Printer.Print() to start printing.

[GB.NET]
* NEW: Starting some code cleanup in the component.

[GB.QT4]
* NEW: Printer.Run() has been replaced by thwo methods: Printer.Configure()
  to configure the printer, and Printer.Print() to start printing.
* NEW: Printer.OutputFile is a new property to set the path of the output
  file used for printing to a file.

[GB.QT4.WEBKIT]
* NEW: WebFrame.Print() is a new method to send a frame to an existing 
  printer object.
* NEW: Printer.OutputFile is a new property to set the path of the output
  file used for printing to a file.


git-svn-id: svn://localhost/gambas/trunk@2600 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-04 12:04:53 +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
Benoît Minisini
62ddf76303 [EXAMPLES]
* NEW: SVG drawing in Painting example has been enhanced.

[GB.GTK]
* BUG: Correctly detect file copy errors in the SvgImage.Save() method.

[GB.QT4]
* NEW: SvgImage.Load() has been implemented, and painting on a SvgImage 
  loaded from disk is now possible.
* BUG: Paint.TextExtents has been fixed to take into account negative top 
  and left extents.


git-svn-id: svn://localhost/gambas/trunk@2590 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-02 03:59:02 +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
a2fa1cc408 [GB.GTK]
* NEW: SvgImage.Width and SvgImage.Height are now Float properties.

[GB.QT4]
* NEW: The SvgImage class has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2584 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 21:32:45 +00:00
Benoît Minisini
d81bda1c5b [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly save ListBox having exactly 31 items defined from the IDE.

[INTERPRETER]
* BUG: Now when a method call fails when checking arguments, the arguments
  are correctly released.

[GB.QT4]
* NEW: The Window background picture is now drawn differently, and not 
  propagated anymore.


git-svn-id: svn://localhost/gambas/trunk@2582 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-01 14:55:13 +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
25df6dde6a [GB.GTK]
* BUG: Rotations must be counter-clockwise when the angle is positive.

[GB.QT4]
* BUG: Rotations must be counter-clockwise when the angle is positive.


git-svn-id: svn://localhost/gambas/trunk@2573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 22:48:43 +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
Benoît Minisini
d01028cc99 [GB.DRAW]
* BUG: Fix the Brush.Matrix property management.


git-svn-id: svn://localhost/gambas/trunk@2560 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 16:33:46 +00:00
Benoît Minisini
aaad5d823d [GB.QT4]
* NEW: Found a workaround to the non-antialiased clipping on X11 devices!


git-svn-id: svn://localhost/gambas/trunk@2558 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 16:13:23 +00:00
Benoît Minisini
6b0fd51325 [EXAMPLES]
* NEW: Cosmetic changes again in the Painting example.

[GB.DRAW]
* NEW: Paint.RelLineTo() is implemented by using Paint.LineTo().

[GB.GTK]
* NEW: Remove the implementation of Paint.RelLineTo().

[GB.QT4]
* NEW: Remove the implementation of Paint.RelLineTo().


git-svn-id: svn://localhost/gambas/trunk@2555 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 15:23:44 +00:00
Benoît Minisini
d036103823 [EXAMPLES]
* NEW: Add an example that shows how to use the new Paint class.


git-svn-id: svn://localhost/gambas/trunk@2547 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 12:12:09 +00:00
Fabien Bodard
e183563213 [GB.GTK]
* NEW: New function Paint.RelLineTo to draw line to positions
  relative to the current drawing position

[GB.QT4]
* NEW: New function Paint.RelLineTo to draw line to positions
  relative to the current drawing position



git-svn-id: svn://localhost/gambas/trunk@2546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 11:09:25 +00:00
Benoît Minisini
8bd9372f83 [GB.GTK]
* BUG: Fix the Paint.LineWidth, Paint.Dash and Paint.DashOffset properties.
  Now the dash positions and the dash offset are in line width units.

[GB.QT4]
* BUG: Paint.Begin correctly initializes the default line join style.
* BUG: Draw.Begin now fails if the device is being painted somewhere else.


git-svn-id: svn://localhost/gambas/trunk@2545 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 02:15:00 +00:00
Benoît Minisini
be7b2620de [GB.GTK]
* BUG: Paint.Arc() has been fixed.

[GB.QT4]
* BUG: Paint.Begin() now starts with a solid black brush.


git-svn-id: svn://localhost/gambas/trunk@2544 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-30 00:12:09 +00:00
Benoît Minisini
79e76072d1 [WIKI CGI SCRIPT]
* NEW: Pages under "/comp" whose name begins with "~" are normal pages.

[GB.DRAW]
* NEW: Paint.TextExtents has been removed. Use Paint.PathExtents just after 
  having done a Paint.Text.
* BUG: Paint.RadialGradient now takes a center, a radius, and a focal 
  point, like in SVG standard.

[GB.GTK]
* BUG: Paint.RadialGradient() should have been correctly implemented.

[GB.QT4]
* NEW: Link with the QtSvg module.
* BUG: Paint.RadialGradient() has been correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2543 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 23:18:43 +00:00
Benoît Minisini
8e7661d2c6 [GB.DRAW]
* BUG: Paint.RichText() has been removed.

[GB.GTK]
* BUG: Paint.Arc() draws in the same direction as in gb.qt4.
* BUG: Paint.RichText() has been removed.
* BUG: PaintBrush.Matrix now behaves the same as in gb.qt4.

[GB.QT4]
* NEW: Paint.Text() has been implemented.
* BUG: Paint.Begin() now initializes the underlying pen the same way as in 
  gb.gtk.


git-svn-id: svn://localhost/gambas/trunk@2542 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 21:42:40 +00:00
Benoît Minisini
71af715f2a [GB.GTK]
* BUG: Fix the Draw.Text() and Draw.RichText() functions when the alignment 
  argument is used.
* NEW: Paint.Text() and Paint.RichText() were implemented.
* NEW: Paint.LinearGradient() and Paint.RadialGradient() were implemented.

[GB.QT4]
* BUG: Paint.ArcTo() should take angles in radian now.


git-svn-id: svn://localhost/gambas/trunk@2540 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 18:08:06 +00:00
Benoît Minisini
e644006626 [WIKI CGI SCRIPT]
* BUG: Handle cyclic dependencies between components correctly.

[GB.DRAW]
* BUG: Handle brush origin by translating the brush transformation matrix.

[GB.GTK]
* NEW: Start implementing the Paint interface.
* NEW: DrawingArea.Painted is a new property. When set, the Paint interface 
  must be used inside the Draw event, instead of the old Draw interface.


git-svn-id: svn://localhost/gambas/trunk@2537 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 01:21:39 +00:00
Laurent Carlier
491b6fbbf7 [GB.OPENGL.QT4]
* BUG: Correctly initialize gb.opengl component.


git-svn-id: svn://localhost/gambas/trunk@2535 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-29 00:48:52 +00:00
Benoît Minisini
ea6ce6b566 [GB.QT4]
* NEW: Forgot the two new source files.


git-svn-id: svn://localhost/gambas/trunk@2531 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 01:22:13 +00:00
Benoît Minisini
774baa91f6 [DEVELOPMENT ENVIRONMENT]
* NEW: Do not apply the new DrawingArea.Painted property.

[GB.DRAW]
* NEW: The new Paint interface is now completed. Only its text part is
  rudimentary at the moment.

[GB.QT4]
* NEW: The Paint interface has been implemented on the following classes:
  Picture, Image, DrawingArea.
* NEW: DrawingArea.Painted is a new property. When set, the Paint interface 
  must be used inside the Draw event, instead of the old Draw interface.


git-svn-id: svn://localhost/gambas/trunk@2530 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 01:19:27 +00:00
Laurent Carlier
438c6be3ef [GB.QT4.OPENGL]
* BUG: Remove OpenGL detection, as QtOpenGL implies that GL files and support are presents.


git-svn-id: svn://localhost/gambas/trunk@2528 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-28 00:30:46 +00:00
Laurent Carlier
4918f83cdf [GB.QT4.OPENGL]
* NEW: Remove dependency with glew library, as the component use now the GL_INTERFACE api.


git-svn-id: svn://localhost/gambas/trunk@2524 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-27 23:13:08 +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
Benoît Minisini
ccfd94594f [GB.OPENGL.GLSL]
* BUG: Remove a Makefile.in file that must not be in the repository.

[GB.QT4]
* BUG: The ComboBox Click event now is raised correctly when setting the 
  Text property. 


git-svn-id: svn://localhost/gambas/trunk@2516 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 16:28:28 +00:00
Laurent Carlier
63d43018fa [GB.QT4.OPENGL]
* NEW: Add dependency to libglew, needed for gb.opengl component.



git-svn-id: svn://localhost/gambas/trunk@2508 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 09:56:17 +00:00
Benoît Minisini
93969ee0b3 [GB.QT4]
* BUG: Fix Error signal management in Embedded control.


git-svn-id: svn://localhost/gambas/trunk@2506 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 09:19:51 +00:00
Benoît Minisini
47d0aa711c [CONFIGURATION]
* NEW: Architecture detection.
* NEW: Updated libtool macros.

[DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the current procedure in the editor procedure popup.

[INTERPRETER]
* BUG: Alignment fixes for the ARM architecture.

[GB.DRAW]
* NEW: Start implementing the new Paint interface.

[GB.GTK]
* BUG: GridView.Clear is now correctly implemented.


git-svn-id: svn://localhost/gambas/trunk@2505 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-24 02:02:05 +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
0c1b17316e [DEVELOPMENT ENVIRONMENT]
* NEW: Syntax highlighting for help comments.
* NEW: Implement a wiki-like syntax inside help comments.

[GB.EVAL]
* NEW: Syntax highlighting for help comments.

[GB.QT4]
* NEW: The TextArea.Line and TextArea.Column properties has been 
  implemented.

[GB.QT4.EXT]
* NEW: Syntax highlighting for help comments in Editor.
* OPT: Editor view has been redesigned to inherit directly Q3ScrollView 
  instead of Q3GridView.
* BUG: The editor background color has no impact anymore on the editor 
  frame.


git-svn-id: svn://localhost/gambas/trunk@2494 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-14 03:45:22 +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
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
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
96b97d9f16 [EXAMPLES]
* BUG: Fix the use of Dialog.Filter in the Picture Database example.

[GB.GTK]
* BUG: Splitter works again.

[GB.QT4]
* BUG: The Dialog.Filter property works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2451 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-30 20:56:56 +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
Fabien Bodard
0b0df86bc6 [GB.QT4]
* NEW: Now in the tabstrip, the Align.Left and Align.Right Orientation
  are allowed.

[GB.GTK]
* NEW: Now in the tabstrip, the Align.Left and Align.Right Orientation
  are allowed.



git-svn-id: svn://localhost/gambas/trunk@2415 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-10 13:41:32 +00:00
Benoît Minisini
afef1f3472 [GB.QT4]
* BUG: Fix the crash after menu deletion.
* BUG: The menu bar is visible in all cases now the first time it is shown.


git-svn-id: svn://localhost/gambas/trunk@2395 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-19 13:34:21 +00:00
Benoît Minisini
25c43c72c4 [DEVELOPMENT ENVIRONMENT]
* NEW: Greek translation updated.

[INTERPRETER]
* BUG: Stopping watching a file descriptor inside a watching callback does 
  not crash the interpreter event loop anymore.

[GB.GTK]
* BUG: Do not crash when there is a keyboard event and no active control.
* BUG: Using the quality argument when saving a picture or an image does 
  not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2391 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-12 10:38:35 +00:00
Benoît Minisini
1a73e9a4dd [DEVELOPMENT ENVIRONMENT]
* NEW: Greek translation made by Alexandros Prekates.
* BUG: Non-versioned files or directories are not locked anymore so that 
  you can add it to the repository.

[INTERPRETER]
* BUG: Non-integer constants are correctly optimized and keep their 
  datatype.

[COMPILER]
* BUG: Non-integer constants are correctly compiled and keep their 
  datatype.


git-svn-id: svn://localhost/gambas/trunk@2385 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-10-04 23:32:14 +00:00
Benoît Minisini
5d3b569eff [GB.QT4]
* BUG: Fix the DrawingArea control when the Cached property is set.


git-svn-id: svn://localhost/gambas/trunk@2349 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-23 23:21:08 +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
a309dffd70 [GB.GTK]
* BUG: Fix input method handling.
* NEW: Application_KeyPress global event handler has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2335 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-14 01:50:48 +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
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
f0b39ad212 [DEVELOPMENT ENVIRONMENT]
* BUG: Image.Mirror() now works in place.

[GB.GTK]
* NEW: Color.LightForeground has been implemented.


git-svn-id: svn://localhost/gambas/trunk@2297 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-09-01 09:29:40 +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
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
5995c33772 [DEVELOPMENT ENVIRONMENT]
* BUG: Correctly initialize the "Show Tooltip" option when displaying the 
  preferences dialog.

[GB.QT.EXT]
* BUG: Editor.PosToColumn() correctly detects if the position if after the 
  end of the line now.


git-svn-id: svn://localhost/gambas/trunk@2281 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-28 15:12:22 +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
Laurent Carlier
32fe885dce [GB.QT4.WEBKIT]
* BUG: Component need at least Qt4 Webkit 4.5.0 to build.


git-svn-id: svn://localhost/gambas/trunk@2264 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-24 13:16:24 +00:00
Benoît Minisini
5bb47fc9aa [DEVELOPMENT ENVIRONMENT]
* NEW: Some little cosmetic changes.
* BUG: Do not use gb.UseLanguage anymore.

[INTERPRETER]
* NEW: The gb.UseLanguage and gb.Case constants have been removed.
* NEW: Array.Find() methods now take an optional argument that defines the 
  search start index.
* NEW: gb.Like is a new comparison mode that internally uses the LIKE 
  operator.


git-svn-id: svn://localhost/gambas/trunk@2260 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-22 12:17:31 +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
080f1d20b9 [GB.QT4.EXT]
* NEW: Editor.PosToColumn() and Editor.PosToLine() now return -1 when the 
  mouse cannot be mapped to a cursor position.


git-svn-id: svn://localhost/gambas/trunk@2256 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-21 20:52:17 +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
e5f3d190c7 [GB.QT4]
* BUG: The AutoResize property of Button and ToolButton now works 
  correctly.


git-svn-id: svn://localhost/gambas/trunk@2249 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-18 19:51:32 +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
Benoît Minisini
f65184802d [CONFIGURATION]
* NEW: Update copyright and license string in all source files.


git-svn-id: svn://localhost/gambas/trunk@2241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 10:41:51 +00:00
Benoît Minisini
ab8e67c2cc [GB.QT4]
* BUG: Fix the Dialog.Font property.


git-svn-id: svn://localhost/gambas/trunk@2238 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 07:42:06 +00:00
Benoît Minisini
8dbb8a1e2a [CONFIGURATION]
* BUG: Forgot to commit symbolic links to the "m4" directory.


git-svn-id: svn://localhost/gambas/trunk@2237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:51:28 +00:00
Benoît Minisini
96550473f7 [CONFIGURATION]
* NEW: Put custom autoconf macros in the "m4" directory.
* NEW: Drop libltdl.

[GB.IMAGE]
* NEW: Image.Resize() and Image.Mirror() has been put in common there.
* NEW: Image.Flip() has been removed.
* NEW: Image.Copy() and Image.Resize() now supports 24-bits images.

[GB.OPENGL]
* NEW: Depends on gb.image now.
* NEW: Texture images can have any format now.


git-svn-id: svn://localhost/gambas/trunk@2236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:07:48 +00:00
Laurent Carlier
d5a162df83 [GB.QT4]
* BUG: Add missing include to cstdio, fix snprintf() compilation error.


git-svn-id: svn://localhost/gambas/trunk@2234 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-13 12:23:41 +00:00
Benoît Minisini
9761b82d7b [DEVELOPMENT ENVIRONMENT]
* NEW: Try to lower the number of lines displayed in the GUI by removing 
  borders and using Separators instead.
* BUG: F11 should work correctly just after the IDE has been loaded now.

[EXAMPLES]
* NEW: In the PdfViewer example, zooming with the mouse wheel is now 
  smooth.

[GB.FORM.MDI]
* NEW: Remove one pixel padding in Workspace and Toolbar.

[GB.IMAGE]
* NEW: Color.Mix has been replaced by Color.Merge.

[GB.QT4]
* NEW: Remove useless Color methods and properties that are now defined in
  the gb.image component.

[GB.QT4.EXT]
* NEW: Editor has a new boolean property Border.


git-svn-id: svn://localhost/gambas/trunk@2227 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-08 23:01:59 +00:00
Benoît Minisini
37386a3258 [GB.QT4]
* NEW: Color.Mix has been replaced by Color.Merge.
* NEW: Separator now draws a line when one of its dimension is 1 pixel.

[GB.QT4.OPENGL]
* BUG: The component loads correctly now.


git-svn-id: svn://localhost/gambas/trunk@2226 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-08 22:34:19 +00:00
Benoît Minisini
cdc92a284c [GB.QT4]
* BUG: The TabStrip hack is actually needed.


git-svn-id: svn://localhost/gambas/trunk@2224 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-07 18:29:48 +00:00
Benoît Minisini
e57a6272d9 [GB.QT4]
* BUG: Splitter children arrangement is not delayed anymore.
* NEW: Remove TabStrip layout workaround, to see if it is really needed.
* BUG: Image.Save() does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@2221 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-07 15:57:33 +00:00
Benoît Minisini
80a20e2336 [EXAMPLES]
* NEW: Update the Console example with new buttons to send ^Z, ^D and ^C to 
  the child shell.

[INTERPRETER]
* BUG: Remove some warning messages.

[GB.QT4]
* BUG: Setting TextArea.Pos to TextArea.Length works correctly now.


git-svn-id: svn://localhost/gambas/trunk@2220 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-06 00:34:49 +00:00
Benoît Minisini
ee2d930fd8 [DEVELOPMENT ENVIRONMENT]
* NEW: Chinese translation updated.
* BUG: The import function of the translation dialog does not forget some 
  translations anymore.

[WICI CGI SCRIPT]
* NEW: Chinese translation updated.

[WEB SITE MAKER]
* NEW: Chinese translation updated.

[GB.DB.FORM]
* NEW: Chinese translation updated.

[GB.FORM]
* NEW: Chinese translation updated.

[GB.FORM.DIALOG]
* NEW: Chinese translation updated.

[GB.FORM.MDI]
* NEW: Chinese translation updated.

[GB.QT4]
* NEW: ComboBox.Sorted has been implemented.
* NEW: The welcome dialog animation is run only if the mouse is over it. 
  Gambas must be kind with slow CPUs.



git-svn-id: svn://localhost/gambas/trunk@2216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-04 23:58:51 +00:00
Benoît Minisini
9aadad1b08 [GB.QT4]
* BUG: Remove a file that should not be versioned.


git-svn-id: svn://localhost/gambas/trunk@2213 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-04 16:48:04 +00:00
Benoît Minisini
e862619957 [CONFIGURATION]
* NEW: Update libtool and configuration file to their last version.

[DEVELOPMENT ENVIRONMENT]
* BUG: The right translation columns in the translation dialog now keep 
  being visible after a language change.

[WEB SITE MAKER]
* NEW: Chinese translation made by Liang Wei.


git-svn-id: svn://localhost/gambas/trunk@2212 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-04 16:46:32 +00:00
Benoît Minisini
dc8e806ae7 [DEVELOPMENT ENVIRONMENT]
* NEW: Arabic translation updated.

[INTERPRETER]
* NEW: A new method in the interpreter API to read a value in memory and 
  store it in a Gambas value slot.

[GB.DB.ODBC]
* BUG: Fix a warning.


git-svn-id: svn://localhost/gambas/trunk@2206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-02 22:48:08 +00:00
Benoît Minisini
06282813f5 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix the project refreshing routine that made edited data files 
  read-only and unsaveable.

[WEB SITE MAKER]
* NEW: Arabic translation made by Daif Alotaibi.
* NEW: Support for right-to-left written languages.

[GB.DBUS]
* NEW: A new component to talk with D-Bus. But it cannot do anything at 
  the moment.

[GB.QT4]
* BUG: Expanded an item in a TreeView by code now shows the children as if 
  you did it by user interaction.


git-svn-id: svn://localhost/gambas/trunk@2197 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-30 21:42:46 +00:00
Benoît Minisini
c8de43925c [GB.QT4]
* BUG: Startup forms are shown automatically again.


git-svn-id: svn://localhost/gambas/trunk@2181 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-27 15:12:28 +00:00
Benoît Minisini
fba5d80c35 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the GridView[].RowSpan property in the find list to enhance its 
  look.
* BUG: Try to delay the help popup show, but it seems to fix nothing...
* NEW: An option in the project creation dialog that opens the newly 
  created project in another window.
* NEW: Double-clicking in a debug window gridview row now displays the 
  value inside a balloon. This way, very long values can be read entirely.
* NEW: The connection properties dialog allows to create or remove 
  databases.
* BUG: Fix the embedding of the output window.

[GB.DB.FORM]
* BUG: Prevent DataView rows from being too large.

[GB.QT4]
* BUG: Fix a stupid bug that sometimes made a window top-only unexpectedly.


git-svn-id: svn://localhost/gambas/trunk@2179 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-27 09:32:17 +00:00
Benoît Minisini
e8e807ee2b [CONFIGURATION]
* BUG: Fix the gb.qt4 configure.ac file so that it works with stupid 
  pkg-config configuration files.

[DEVELOPMENT ENVIRONMENT]
* NEW: An option to define the terminal emulator used by the IDE.
* NEW: Some unused icons were removed from the project.
* BUG: The project tree does not steal the focus anymore after a project 
  compilation.

[GB.NET.SMTP]
* BUG: Fix the UTF-8 encoding of mail subjects having a '?' character 
  inside.

[GB.QT4]
* BUG: Fix the global event filter so that setting Application.Tooltip to 
  False does not interfer with the global key event handler.


git-svn-id: svn://localhost/gambas/trunk@2174 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-26 12:38:20 +00:00
Benoît Minisini
d9c7ccd12c [EXAMPLES]
* NEW: The WebBrowser example was updated with an authentication dialog.

[GB.QT4.WEBKIT]
* NEW: Support for authentication, with the WebView.Auth.* properties and 
  the new Auth event. That event is raised when an authentication is 
  required. Then it is up to the application to fill the WebView.Auth.User
  and WebView.Auth.Password with the accurate informations.
* NEW: WebSettings is a new class to define some WebKit global settings. 
  Note that apparently setting the default fixed font does not work.
* NEW: WebView has a new Settings property, that allow to override some 
  global settings for a specific page.



git-svn-id: svn://localhost/gambas/trunk@2166 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-25 00:56:59 +00:00
Benoît Minisini
a510b0b4d1 [SCRIPTER]
* BUG: Make it compile again.

[GB.QT4.WEBKIT]
* NEW: WebFrame is a new class that recursively describes WebView frames.
* NEW: WebView.Frame is a new property that returns the WebView main frame.
* NEW: WebView.Current is a new property that returns the WebView current
  frame.


git-svn-id: svn://localhost/gambas/trunk@2159 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-24 13:05:24 +00:00
Benoît Minisini
e9b2023b8e [EXAMPLES]
* BUG: Fix the WebBrowser example.

[GB.QT4]
* BUG: TabStrip[].Delete works correctly again.

[GB.QT4.WEBKIT]
* NEW: WebView.Status is a new property to store the status bar message.
* NEW: WebView.Progress is a new property that returns the progress of the 
  page loading.
* NEW: Some WebView events were redesigned: the Load event is now raised
  only when the page has been loaded, and the Progress event is a new event
  that is raised during the load.


git-svn-id: svn://localhost/gambas/trunk@2158 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-24 08:22:04 +00:00
Benoît Minisini
7d5e0083d4 [GB.QT4.WEBKIT]
* BUG: Make it compile with Qt 4.4 by redirecting the Zoom property to the 
  TextZoom property.


git-svn-id: svn://localhost/gambas/trunk@2154 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-23 22:48:59 +00:00
Benoît Minisini
c43ce9eb34 [CONFIGURATION]
* BUG: Fix some test in configuration script that could be syntactically 
  incorrect in some situations.

[GB.GTK]
* NEW: TabStrip[].Children[] now returns a child of a specific TabStrip tab
  from its index.


git-svn-id: svn://localhost/gambas/trunk@2153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-23 22:42:39 +00:00
Benoît Minisini
6c773074e0 [EXAMPLES]
* NEW: The WebBrowser example now uses the qt4 webkit component.

[WIKI CGI SCRIPT]
* NEW: Add hungarian to the list of languages.

[GB.DESKTOP]
* BUG: Fix a 64-bit OS related bug when getting a window property.

[GB.QT4]
* NEW: TabStrip[].Children[] now returns a child of a specific TabStrip tab
  from its index.

[GB.QT4.WEBKIT]
* NEW: A new component that has one control, WebView, which is a full
  WebKit browser.



git-svn-id: svn://localhost/gambas/trunk@2150 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-23 16:53:06 +00:00
Benoît Minisini
8cb003abfb [DEVELOPMENT ENVIRONMENT]
* BUG: Enable form poup menu when clicking on a control in the form editor.
* BUG: Do not display backup files in the "Connection" project folder.

[WEB SITE MAKER]
* NEW: Add a link to the installation instructions for specific 
  distributions in the download page.

[GB.EVAL.HIGHLIGHT]
* BUG: In WebPage highlighting, allow the <% ... %> markups anywhere in the 
  page.

[GB.GTK]
* BUG: Change the way Desktop.Scale is calculated so that it returns the 
  same value whatever GUI component is used.

[GB.QT]
* BUG: Change the way Desktop.Scale is calculated so that it returns the 
  same value whatever GUI component is used.

[GB.QT4]
* BUG: Change the way Desktop.Scale is calculated so that it returns the 
  same value whatever GUI component is used.
* BUG: Workaround a bug in QT4 that prevented ScrollView for being arranged 
  in some cases.


git-svn-id: svn://localhost/gambas/trunk@2146 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-22 18:20:25 +00:00
Benoît Minisini
fa8ba3d4c1 [INTERPRETER]
* BUG: Raise a memory error when trying to allocate a too large 
  array.

[GB.GTK]
* BUG: Fix the management of cell spanning.

[GB.QT4]
* BUG: Fix the management of cell spanning.


git-svn-id: svn://localhost/gambas/trunk@2143 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-21 13:14:01 +00:00
Benoît Minisini
7b287f19eb [GB.GTK]
* NEW: GridView[].RowSpan and GridView[].ColumnSpan are two new properties 
  that allow a GridView cell to span on multiple rows or columns.
* BUG: The Indent property of containers is correctly initialized now.

[GB.QT4]
* NEW: GridView[].RowSpan and GridView[].ColumnSpan are two new properties 
  that allow a GridView cell to span on multiple rows or columns. Beware 
  that the feature was not implemented in gb.qt.


git-svn-id: svn://localhost/gambas/trunk@2142 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-21 10:54:53 +00:00
Benoît Minisini
f901433cbd [CONFIGURATION]
* BUG: Controls of components written in Gambas are correctly installed 
  now.

[DEVELOPMENT ENVIRONMENT]
* NEW: Component project controls icons are now store in the "Project" 
  section, not in the "Data" section anymore. Consequently they are not 
  stored in the project executable.
* BUG: Fix the activation of menu entries in the project treeview popups.
* NEW: New layout for the translation dialog.
* NEW: Remove many control icons and put them with their component project.


git-svn-id: svn://localhost/gambas/trunk@2140 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-20 15:53:19 +00:00
Benoît Minisini
7df43ef0f2 [DEVELOPMENT ENVIRONMENT]
* NEW: The connection editor now uses the new DataSource Connection 
  property.
* NEW: A button to copy the field names of a table in the clipboard.
* NEW: Change the layout of the connection editor.
* NEW: Enhance the list property editor.
* NEW: Use the new logo made by Fabien Bodard.
* NEW: Support for editing properties whose type is "Table" and 
  "Connection".
* NEW: Scroll the form editor when using the rectangular selection.
* BUG: Fix the project information displayed in the open project dialog.

[INTERPRETER]
* BUG: Fix a stupid bug that made the interpreter crash when a class was
  allocated at a negative memory address.
* BUG: Fix the conversion of strings into numbers, especially when 
  converting Long values.

[GB.DB.FORM]
* NEW: Redesign the controls so that DataSource can be assigned a specific
  connection.
* NEW: DataSource.Connection is a new property that allows to assign a
  specific Connection object to a DataSource. If a DataSource has no 
  connection assigned, it will use the connection of its parent DataSource.
  By default, the current connection (DB.Current) is used.
* NEW: Remove the DataSource.CacheSize property. Is it really useful?

[GB.NET.SMTP]
* NEW: Send the "Date:" header with any mail.


git-svn-id: svn://localhost/gambas/trunk@2137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-20 01:10:50 +00:00
Benoît Minisini
6e0837b430 [DEVELOPMENT ENVIRONMENT]
* NEW: Go back to the old way of drawing selected controls.
* NEW: Use the Indent property in the option and project properties 
  dialogs.

[GB.GTK]
* BUG: Fix the arrangement algorithm when the Indent property is set.

[GB.QT]
* BUG: Fix the arrangement algorithm when the Indent property is set.

[GB.QT4]
* BUG: Fix the arrangement algorithm when the Indent property is set.


git-svn-id: svn://localhost/gambas/trunk@2130 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-18 02:30:07 +00:00
Benoît Minisini
cfd564e4a8 [DEVELOPMENT ENVIRONMENT]
* NEW: Merge of the database manager CSV import dialog.
* NEW: When editing a connection, the database charset can be ignored, i.e. 
  string fields are assumed to be encoded in UTF-8.
* BUG: Be read-only when editing a system table or a SQL request.
* NEW: A new way of showing selected controls on forms. Maybe a little less 
  easier, but faster anyway.
* NEW: A new cool & useless animation on the welcome dialog.

[GB.DB]
* NEW: You can initialize a Connection object at creation by passing a 
  "database URL" to the constructor. For example: 
  "mysql://root@localhost/database" or "sqlite:///home/benoit/sqlite.db".
  This is not tested yet!
* NEW: Connection.IgnoreCharset is a new boolean property. It just stores
  the value, and do nothing with it. It's up to you to use the information
  later if you need.

[GB.DB.FORM]
* NEW: DataView does not extract Blob value anymore. It just displays 
  "BLOB" in the cell with a darker background.

[GB.GTK]
* NEW: Indent is new container boolean property. When set, an indentation 
  of Desktop.Scale pixels is added to the layout.

[GB.QT]
* NEW: Indent is new container boolean property. When set, an indentation 
  of Desktop.Scale pixels is added to the layout.

[GB.QT4]
* NEW: Indent is new container boolean property. When set, an indentation 
  of Desktop.Scale pixels is added to the layout.

[GB.QT4]
* OPT: Some optimizations in the Editor for very long lines. Fix a bug in 
  Qt that updated two lines when it was asked for one only.


git-svn-id: svn://localhost/gambas/trunk@2128 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-17 01:29:39 +00:00
Benoît Minisini
e5e537e27a [GB.QT4]
* BUG: Found a workaround to the QT4 bug that made it crash when 
  destroying a ProgressBar explicitely.


git-svn-id: svn://localhost/gambas/trunk@2124 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-15 08:08:40 +00:00
Benoît Minisini
49e0d1788d [DEVELOPMENT ENVIRONMENT]
* NEW: Database manager integration continues. Tables can be renamed.
  System tables are read-only. Bug fixes...

[GB.FORM]
* NEW: Predefined icon size are not proportional to Desktop.Scale anymore.
  This change may be rolled back in the future.
* NEW: Medium icon size is now 22 pixels instead of 24, because apparently 
  this is the size used by icon themes.

[GB.DB.FORM]
* NEW: DataSource.Reset now only resets the metadata associated with the
  DataSource table.
* NEW: DataSource.ResetAll() is a new static method that clears entirely
  the internal metadata cache.

[GB.QT4]
* BUG: GridView header is now correctly updated on a font or style change.
* BUG: Label, Button and ToolButton size is now correctly updated on a font 
  or style change.
* NEW: Message now tries to use the QT4 predefined buttons by using the 
  button names specified by the user.


git-svn-id: svn://localhost/gambas/trunk@2123 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-15 02:53:18 +00:00
Benoît Minisini
3ed7a93385 [INTERPRETER]
* BUG: When a component cannot be loaded, only show its name in the error 
  message, not the full path.

[GB.FORM.MDI]
* BUG: Keep the hide/show sequence of windows newly inserted into a 
  Worskpace. Otherwise the IDE becomes slow at startup!

[GB.QT4]
* BUG: Now message boxes return the accurate button index.



git-svn-id: svn://localhost/gambas/trunk@2122 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-14 23:25:52 +00:00
Benoît Minisini
9d74b5a151 [GB.QT4]
* BUG: Fix some controls that incorrectly resized their parent at creation.


git-svn-id: svn://localhost/gambas/trunk@2121 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-14 23:10:30 +00:00
Benoît Minisini
0ac184012a [DEVELOPMENT ENVIRONMENT]
* NEW: Database manager integration continues. You can create, edit and 
  remove tables now. You cannot rename them yet, nor modify their contents.
* BUG: Fix popup menu activation in text editor.
* NEW: Almost any character is allowed now in the name of directories 
  storing source files.

[GB.DB.FORM]
* NEW: DataSource.Reset() is a new method that clears the internal 
  metadata cache. That method is dynamic because it is intended to only
  reset the metadata associated with the DataSource. At the moment all the
  metadata is dropped.

[GB.FORM]
* NEW: TableView.Save() now returns a boolean that will tell you if the 
  Save event has been cancelled.
* BUG: TableView should manage arrow keys correctly if the current editor 
  is a read-only ComboBox.

[GB.FORM.MDI]
* OPT: Toolbars do no useless layout anymore when in design mode.

[GB.QT4]
* BUG: The Message class has been fixed.
* BUG: Fix the behaviour of TabStrip when all its page are hidden.


git-svn-id: svn://localhost/gambas/trunk@2115 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-14 02:24:54 +00:00
Benoît Minisini
d171dbfc3e [GB.GTK]
* NEW: GridView.Rows.HeaderHeight is a new name for
  GridView.Columns.Height.
* NEW: GridView.Columns.HeaderWidth is a new name for
  GridView.Rows.Width.

[GB.QT4]
* BUG: Remove the GridView.Rows[].Visible property and the
  GridView.Rows[].EnsureVisible method. Everything is done with Gambas
  code.
* NEW: GridView.Rows.HeaderHeight is a new name for
  GridView.Columns.Height.
* NEW: GridView.Columns.HeaderWidth is a new name for
  GridView.Rows.Width.
* BUG: ToolButton and Button with AutoResize set now will automatically 
  shrink to fit their contents.


git-svn-id: svn://localhost/gambas/trunk@2109 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-12 23:15:18 +00:00
Benoît Minisini
d3501bf140 [DEVELOPMENT ENVIRONMENT]
* NEW: Work continues on integrating the database manager.
* NEW: Some cosmetic changes in the way controls are drawing on the form
  editor.
* NEW: Panels with Border property set to None are now drawn with a light 
  border.
* BUG: Fix the "Show tab" button and menu.

[INTERPRETER]
* NEW: _attach is a new dynamic special method that is called when an 
  object is attached to or detached from its event observer. The first 
  argument of this method is the event observer, and the second argument 
  the event handler prefix.

[COMPILER]
* NEW: An expression can be a NEW instruction now. Beware that it does not 
  work inside braces.

[GB.DB]
* BUG: Fix an error message in the sqlite handler.

[GB.DB.FORM]
* NEW: DataSource.Table can now be any SQL query. The Filter property is 
  ignored in that case.
* BUG: Setting DataSource.Table to NULL correctly resets the DataSource and
  its children.
* NEW: DataView automatically adjusts the height of its rows to the 
  contents.
* NEW: DataSource.CacheSize is a new property to set the number of rows 
  stored in the internal DataSource cache. When this property is set to 
  zero, the cache size takes its default value (64 rows).

[GB.DB.SQLITE2]
* BUG: Fix a crash in datatype mapping.

[GB.DB.SQLITE3]
* BUG: Fix a crash in datatype mapping.

[GB.QT4]
* BUG: Window.AutoResize property works as expected now.
* OPT: Some optimizations in GridView.
* NEW: GridView.Rows[].Visible returns if a specific row is visible.
* NEW: GridView.Rows[].EnsureVisible ensures that a specific row is 
  visible.
* BUG: Draw.Style.Panel draws the same thing as a panel border now.
* BUG: Window.Closed always returns the accurate value now.


git-svn-id: svn://localhost/gambas/trunk@2108 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-12 21:49:13 +00:00
Benoît Minisini
d0d6425a54 [DEVELOPMENT ENVIRONMENT]
* BUG: Try to always enable only the right popup menu, and only that one. 
  But is sometimes fails at the moment.
* BUG: The completion list computes its height correctly now.
* NEW: Beginning of the database manager integration.
* BUG: When creating a new data file, ensure that the proposed name does 
  not exist.

[GB.GTK]
* NEW: Control.HasFocus is a new property that returns if a control has 
  the focus.

[GB.FORM]
* NEW: ButtonBox is a new control that is a TextBox with a button on its 
  right.
* NEW: Two new stock icons: 'computer' and 'server'.

[GB.QT4]
* NEW: Control.HasFocus is a new property that returns if a control has 
  the focus.


git-svn-id: svn://localhost/gambas/trunk@2106 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-11 00:45:49 +00:00
Benoît Minisini
a06bf489f4 [GB.QT.4.EXT]
* BUG: Fix the previous optimization.


git-svn-id: svn://localhost/gambas/trunk@2104 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 15:51:51 +00:00
Benoît Minisini
6f0cde9738 [GB.QT.EXT]
* OPT: Big optimization in Editor when displaying long lines.


git-svn-id: svn://localhost/gambas/trunk@2103 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 15:35:36 +00:00
Benoît Minisini
669a236b14 [DEVELOPMENT ENVIRONMENT]
* NEW: Use decimal units for file sizes.
* NEW: Some UI redesign in the translation dialog.

[GB.FORM]
* NEW: Use decimal units for file sizes.

[GB.QT4]
* BUG: Setting the width of a column to -1 in a ColumnView now correctly 
  adjust the column size.


git-svn-id: svn://localhost/gambas/trunk@2101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 14:31:40 +00:00
Benoît Minisini
f10e3056dd [DEVELOPMENT ENVIRONMENT]
* NEW: A menu for showing a specific tab of a MultiContainer.
* BUG: Fix a crash while scanning a class if the project is a component
  and if it is self-checked, which happens as soon as it is locally
  installed.

[GB.GTK]
* BUG: The Window.Sticky property now really returns a boolean.

[GB.QT]
* BUG: The Window.TopOnly and Window.Stacking properties now return the
  last value assigned as in gb.gtk. It does not try to get the value from
  the window manager, as the change may not be immediate.

[GB.QT4]
* BUG: The Window.TopOnly and Window.Stacking properties now return the
  last value assigned as in gb.gtk. It does not try to get the value from
  the window manager, as the change may not be immediate.
* BUG: The Window Open event is now raised for embedded windows that are
  shown implicitely because their parent were shown.

[GB.XML]
* BUG: Fix a memory leak in Xml.ToString().
* BUG: The encoding argument of Xml.ToString() is now taken into account.
* BUG: Xml.ToString() now uses the UTF-8 charset by default.


git-svn-id: svn://localhost/gambas/trunk@2099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 12:44:06 +00:00
Laurent Carlier
642ec04a97 [GB.QT4]
* BUG: Fix CDrawingArea.h building (Qt 4.5.2 change ?)


git-svn-id: svn://localhost/gambas/trunk@2098 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 12:37:14 +00:00
Benoît Minisini
a3d6ba73e5 [INTERPRETER]
* NEW: Do not use "boolean" anymore. Use "bool" instead.

[COMPILER]
* NEW: Do not use "boolean" anymore. Use "bool" instead.



git-svn-id: svn://localhost/gambas/trunk@2091 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-08 19:57:50 +00:00
Benoît Minisini
924e7e29d9 [DEVELOPMENT ENVIRONMENT]
* NEW: Operators are bold by default in themes now.
* NEW: Display the full project diff now in the project changes and in the 
  commit dialog.

[GB.QT4.EXT]
* NEW: The Editor now highlight braces differently.
* NEW: Read-only editors do not blink the cursor anymore.


git-svn-id: svn://localhost/gambas/trunk@2090 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-08 01:22:37 +00:00
Benoît Minisini
a9b83d8957 [GB.QT4]
* BUG: Better workaround of the previous menu bar bug.


git-svn-id: svn://localhost/gambas/trunk@2086 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-07 10:52:10 +00:00
Benoît Minisini
d523cd1011 [GB.QT4]
* BUG: Workaround a little Qt bug in menu bars when one of its menus has 
  been used as a popup.


git-svn-id: svn://localhost/gambas/trunk@2085 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-07 10:07:36 +00:00
Benoît Minisini
075fbab8fc [GB.DB]
* BUG: Correctly release field information when freeing a Result object.
* NEW: New unquoting function in the component API.

[GB.DB.SQLITE2]
* BUG: Prevent possible case mismatches when mapping SQLite datatypes.

[GB.DB.SQLITE3]
* BUG: Prevent possible case mismatches when mapping SQLite datatypes.
* BUG: Field default values are correctly returned now.


git-svn-id: svn://localhost/gambas/trunk@2084 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-07 09:17:48 +00:00
Benoît Minisini
f1162c3851 [GB.QT4]
* BUG: Fix a possible crash in timer management.


git-svn-id: svn://localhost/gambas/trunk@2082 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-07 00:07:34 +00:00
Benoît Minisini
cb01337b46 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix source file import.
* NEW: New menu entries for inserting HTLM and CSS files.
* BUG: Fix file chooser filter in the file creation dialog.
* BUG: Do not open read-only projects having the old source structure.

[GB.EVAL.HIGHLIGHT]
* NEW: A new component to centralize Editor highlighting routines.

[GB.QT4]
* BUG: Always defer ScrollView layout to prevent strange crashes.



git-svn-id: svn://localhost/gambas/trunk@2079 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-06 11:04:10 +00:00
Benoît Minisini
d3e5b89c50 [DEVELOPMENT ENVIRONMENT]
* BUG: Fix selection after a control has been changed into another one.
* NEW: Project file information dialog now displays the changes that 
  occurred on the file since the last commit.

[GB.QT4.EXT]
* BUG: Fix Editor string management, because now the QT4 QString class is
  less tolerant than the QT3 one.


git-svn-id: svn://localhost/gambas/trunk@2075 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-05 22:40:57 +00:00
Benoît Minisini
ca0292fd58 [DEVELOPMENT ENVIRONMENT]
* NEW: Change the CTRL+W shortcut to F12.
* BUG: Double-clicking on a control in the form editor now correctly moves 
  inside the event handler in all cases.
* NEW: Start enhancing the file information dialog.
* BUG: The file information dialog returns the accurate number of modules, 
  classes, and forms again.

[INTERPRETER]
* NEW: Mac OS X is a FreeBSD.

[GB.QT.EXT]
* BUG: Fix the undo and redo commands in the Editor when some text has been
  colorized.

[GB.QT4.EXT]
* BUG: Fix the undo and redo commands in the Editor when some text has been 
  colorized.


git-svn-id: svn://localhost/gambas/trunk@2074 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-04 23:54:00 +00:00
Benoît Minisini
47d7265f2b [GB.QT4]
* BUG: Fix modality of windows shown with ShowModal().


git-svn-id: svn://localhost/gambas/trunk@2071 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-04 14:04:31 +00:00